Commit Graph

2506 Commits

Author SHA1 Message Date
Andy Miller
43c8d7fac7 Prepare for release 2017-05-22 14:35:03 -06:00
Andy Miller
3e92bbed73 Use new Utils::getPagePathFromToken() method 2017-05-20 22:21:34 -06:00
Andy Miller
c237bff1e3 Only process thumbs when needed 2017-05-20 22:20:36 -06:00
Djamil Legato
5b30a3d83c Cleanup and loading thumbs from cache when available 2017-05-19 13:02:26 -07:00
Andy Miller
4ffcf836a1 Generate thumbnails if enabled 2017-05-19 13:40:48 -06:00
Djamil Legato
8dfcbac012 Filepicker field now renders thumbnail previews of the selected value on load 2017-05-19 10:47:34 -07:00
Andy Miller
0693352e9a Merge branch 'develop' of https://github.com/getgrav/grav-plugin-admin into develop
# Conflicts:
#	CHANGELOG.md
2017-05-19 11:43:11 -06:00
Andy Miller
1809f70e52 Fix for undefined include_metadata 2017-05-19 11:41:05 -06:00
Flavio Copes
bf0900fb52 Allow taxonomy field to just list one or more specific taxonomies if the taxonomies field is filled in the blueprint 2017-05-17 14:02:00 +02:00
Flavio Copes
0085d67715 Changelog 2017-05-17 14:00:34 +02:00
AvantaR
d96741a6da Remove save button and save location notification when filename isn't set (#1116) 2017-05-17 13:58:04 +02:00
Andy Miller
124134ecb6 Prepare for release 1.5.0-rc.1 2017-05-16 13:31:18 -06:00
Flavio Copes
aea835a136 Changelog 2017-05-16 17:34:10 +02:00
Dávid Szabó
bc011c25c3 Feature custom page options (#1104)
* Add slug util function

* Add custom add modals support
2017-05-16 17:31:57 +02:00
Andy Miller
c30accdea4 Updated changelog and recompiled SCSS 2017-05-15 17:06:40 -06:00
Alexis Piéplu
5d0d299572 Re-organise pages-list items to fix (#871) (#1102)
* Re-organise pages-list items to fix (#871)

* Remove useless comment (#871)
2017-05-15 17:03:06 -06:00
Andy Miller
7464677c34 Added prev/next to page edit view #1112 2017-05-15 17:02:37 -06:00
Dávid Szabó
2af9052f1e Add previous and next button when editing page (#1112)
* Add previous and next button when editing page

* Add scss utilities

* Hide prev and next button on mobile
2017-05-15 16:43:57 -06:00
Andy Miller
f5c14b684f Stop crashing on iterable data 2017-05-15 15:08:26 -06:00
Andy Miller
422aff070c Refator duplicate field_name code 2017-05-15 14:49:18 -06:00
Andy Miller
cde4ac5f7b More flexible removing of extra media files 2017-05-15 14:48:58 -06:00
Andy Miller
ac9b6e5ce5 Added optional include_metadata to file field 2017-05-15 14:48:15 -06:00
Andy Miller
904d1e6928 Missing uses throwing class not found errors 2017-05-15 14:47:26 -06:00
Andy Miller
640d9ac374 Fixed issue with theme always getting set as type 2017-05-15 14:47:00 -06:00
Matias Griese
8b2fceef8e Add support for a single array field in the forms 2017-05-15 20:24:08 +03:00
Andy Miller
4f6afedba8 Updated changelog 2017-05-12 12:54:08 -06:00
Flavio Copes
55d708ceaf Compile CSS & fill changelog 2017-05-12 13:41:39 +02:00
paulmassen
52c144556f Fix tabs inside blueprint overlapping above content (#1115)
When adding a tabs fields with tab, margin-top: -2rem causes the new tabs to overlap with content above.

![css](https://cloud.githubusercontent.com/assets/12809352/25991216/d0a8618a-3702-11e7-93bf-b51f095d11cd.png)
2017-05-12 13:23:02 +02:00
Djamil Legato
f6c1150cb5 Fixed issue when switching lang prompting for unsaved changes when untrue 2017-05-11 14:39:03 -07:00
Andy Miller
98897ad766 Revert "Bugfix: Save in wrong lang when multiple tabs open (#1101)"
This reverts commit 424e8400f9.
2017-05-10 15:20:47 -06:00
Dávid Szabó
9a75de3143 Add min and max to list field (#1113)
* Add min and max to list field

* Recompiled JS

* Updated CHANGELOG
2017-05-09 16:08:45 -07:00
Andy Miller
fa80b5302a Fixed scrollbar issue in "Expert" 2017-05-09 16:48:57 -06:00
Andy Miller
6903d42cc6 Removed horizontal padding in editor 2017-05-09 16:41:03 -06:00
Flavio Copes
b0021dedf9 Move pro nav bar to partial 2017-05-09 15:46:55 +02:00
Flavio Copes
779c480a76 Fix #1110 Language toggle button in admin top bar visible also in fullscreen mode 2017-05-09 15:46:31 +02:00
David Côté-Tremblay
424e8400f9 Bugfix: Save in wrong lang when multiple tabs open (#1101)
* Bugfix: Save in wrong lang when multiple tabs open

English and french in this PR are used only for example purposes.

When you have multiple tabs opened in different languages, it often cause to ovewrite the french contents with the english contents (or vice-versa, or according to your specific language configuration).

How to reproduce the bug :

1. Open a tab and edit a page in french
2. In another tab, open the same page in english then save
3. Return to the french tab and save
4. **The english contents got overwrited by the french contents**

This patch makes the use of the language code in URL instead of the session when editing a page, preventing to overwrite the contents of another page while power-editing with many tabs in different languages.

* Remove unused scopes about the session language
2017-05-06 11:01:31 -06:00
Flavio Copes
d9c787681f Drop unused method
Was introduced in
https://github.com/getgrav/grav-plugin-admin/commit/988f4a0389cbd89f402f
d50d298aee88b9d79d71 without actual usage
2017-05-06 16:46:21 +02:00
Flavio Copes
7ff311b8a1 Fix 1039 Default to config file slug if translation is missing, otherwise use translation also in the tab title, not just in the page heading 2017-05-01 19:03:27 +02:00
Andy Miller
8a95cfadd8 css fixes 2017-04-29 10:52:07 -06:00
Andy Miller
917979e4ac fixed z-index issues again 2017-04-29 10:41:26 -06:00
Flavio Copes
8c94b39bea 🎨Add month+date indication to the stats graph to avoid confusion when there are days without visits 2017-04-29 17:21:57 +02:00
Djamil Legato
e0cb130bf0 Fixed issue with file picker where the selected file preview wouldn't show 2017-04-28 15:47:51 -07:00
Andy Miller
3b4a73726e Fixed some z-index issues 2017-04-28 15:03:04 -06:00
Andy Miller
db60cfecf5 updated changelog 2017-04-28 15:02:36 -06:00
Dávid Szabó
bc0bf6b3d9 Fix fullscreen editor (#1093) 2017-04-28 13:50:16 -06:00
Philippe
e1f0786fb0 Added an option for opening frontend pages in a new tab, in a separate tab (always the same) or in the current tab. (#1096) 2017-04-28 13:49:20 -06:00
Andy Miller
e5d1e60234 Revert "Admin fields improvements (#1083)"
This reverts commit b6c7ad0fd5.

# Conflicts:
#	CHANGELOG.md
2017-04-26 10:15:27 -06:00
Andy Miller
0b3dbaacdf Revert "Fix selectize.html.twig for empty value (#1092)"
This reverts commit 4e88ec9379.
2017-04-26 10:14:24 -06:00
Benny
4e88ec9379 Fix selectize.html.twig for empty value (#1092) 2017-04-26 10:09:55 -06:00
Flavio Copes
553ff0788f base.html.twig now extends base-root.html.twig 2017-04-26 10:50:31 +02:00