Commit Graph

199 Commits

Author SHA1 Message Date
Matias Griese
ec93b823ca Use Url:post() to get the $_POST variable (allows common security checks/filtering for the POST data) 2018-09-17 09:54:27 +03:00
Andy Miller
7c135b110e Fix redirect after failed login 2018-09-04 11:03:32 -06:00
Andy Miller
0962f77abd Switched to new Grav Yaml class 2018-08-22 12:45:39 -06:00
Matias Griese
d07d07e30f Fix admin login redirects for multisite setups 2018-05-23 09:27:26 +03:00
Matias Griese
41565f83d9 Admin login now uses login plugin events (with option admin: true) 2018-05-10 20:04:14 +03:00
Matias Griese
59effd57af Moved 2FA authentication to login plugin 2018-05-10 10:34:56 +03:00
Matias Griese
12cf325518 Code cleanup 2018-05-10 10:14:18 +03:00
Andy Miller
38c660f2ca Added option to use old-style ‘new tab’ page preview + fixed #1930 2018-03-20 11:05:11 -06:00
Andy Miller
116f3609ef Added new and improved Admin Preview 2018-03-11 15:23:25 -06:00
Andy Miller
860ef9616d increased indent level and default 4 chars indent 2018-03-08 17:11:10 -07:00
Andy Miller
e2c7a005cb Fixed default lang translation #1361 2018-03-01 16:52:06 -06:00
Andy Miller
2283e15774 Support minimum PHP version in resource upgrades 2018-02-18 14:13:09 -07:00
Andy Miller
1cf8fc4ae4 sort languages #1303 2018-01-04 12:27:02 -07:00
Andy Miller
1b97769ea5 Logout is one step now 2017-12-01 16:08:52 -07:00
Andy Miller
4311b80eec minor improvements 2017-08-31 12:46:51 -06:00
Andy Miller
7957381889 Fixed issue with login class reference 2017-08-28 21:45:41 -06:00
Andy Miller
87d4c28b4a Added rate limiting for login and forgot password 2017-08-28 14:24:48 -06:00
Andy Miller
0c11df8f67 Code cleanup 2017-08-28 14:01:57 -06:00
Andy Miller
fff5091311 More progress on 2fa 2017-08-26 18:36:17 -06:00
Andy Miller
8ca011dcd6 initial commit at dedicated page 2017-08-26 18:25:34 -06:00
Andy Miller
ef8d143f12 optimizations for 2fa process 2017-08-26 11:48:34 -06:00
Andy Miller
7705ac7477 2FA logic optimization 2017-08-26 11:10:41 -06:00
Andy Miller
13601eee94 Custom local renderer 2017-08-25 17:58:29 -06:00
Andy Miller
92dd08eb4a harcoded name 2017-08-25 16:30:00 -06:00
Andy Miller
8658466e8d two factor authentication essental elements 2017-08-25 16:20:57 -06:00
Andy Miller
2f363e2de6 Added ability to set temporary admin messages 2017-08-16 10:59:22 -06:00
THoenig
ecb5ee7d40 Make all existing information available on page creation (#1175) 2017-08-02 17:09:27 -06:00
Flavio Copes
9060e02c55 Fix data call 2017-06-06 17:44:30 +02:00
Andy Miller
2a1867da49 Added Admin::getPageMedia() method 2017-05-31 17:11:46 -06:00
Flavio Copes
1b39ccf05d Set pagination to 20 2017-05-31 19:37:44 +02:00
Andy Miller
97cf523c85 lower any mimetypes 2017-05-27 09:04:17 -06:00
Andy Miller
c0465509da Add metadata to medialist + cleanup 2017-05-26 17:51:36 -06:00
Andy Miller
a9182e1563 Updates to use non @2 name in filename 2017-05-26 16:15:49 -06:00
Flavio Copes
7502ab5cf8 Merge media picker changes 2017-05-26 15:14:27 +02:00
Flavio Copes
4c4b166c17 Move common media functionality from pro 2017-05-26 14:30:37 +02:00
Andy Miller
3e92bbed73 Use new Utils::getPagePathFromToken() method 2017-05-20 22:21:34 -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
f5285ec2b9 Fix for hard-coded 1000 in new folder name - https://github.com/getgrav/grav/issues/1386 2017-03-26 19:46:02 -07:00
Andy Miller
96bba05217 Added Tribly to "official" status 2017-03-10 16:53:01 -07:00
Flavio Copes
47beb2d5a6 Auto lint 2017-02-26 19:36:01 +01:00
Flavio Copes
c7256134ba [WORK IN PROGRESS] First draft of a Tools menu with direct install (#990)
* First draft of a Tools menu with direct install

* Basic styling

* Translate GPM messages

* Basic frontend validation

* Fix form action path

* Added lang strings for offical_gpm_only toggle
2017-02-22 13:34:21 -07:00
Flavio Copes
2c58db3418 Allow to see plugins and themes list without internet connection. Also add a more helpful message in the "add" view. re https://github.com/getgrav/grav/issues/1008 2017-01-22 15:50:37 +01:00
Flavio Copes
63c83d785c Fix #857 login to admin with permission inherited from group 2016-11-08 16:42:57 +01:00
Andy Miller
f361addd60 Feature/admin fragmentation (#856)
* Separated Admin Controller into a generic and extendable Base controller. Added Autoload for properly loading classes

* Implemented custom class loader to force lowercase

* Removed composer autoloader for classes

* Updates

* Ability to pass custom upload URL for files

* Added new onAdminCanSave event for 3rd party plugins

* Moved files upload GC in onOutputGenerated event

* Cleanup

* Moved autoloader so it is always registering

* Fixed onOutputGenerated event location

* Moved `taskRemoveFileFromBlueprint`,  `taskRemoveMedia `, `canEditMedia` methods to admin base controller

* Allow to globally define `blueprint_type` and `file_url_remove` for the file field

* Moved `isMultilang()` into base controller

* Properly generate thumbnails in proportions for file fields

* Simplified execute restrictions with blacklist
2016-11-07 09:54:10 -07:00
Andy Miller
4dbeb5ab57 Added getRouteDetails() method 2016-10-26 17:52:26 -06:00
Djamil Legato
02eeca78e8 Support for Premium Resources (#809)
* Initial premium preparation for licenses and gpm handling

* Premium styling

* Removed unused import

* Synced CSS

* Updated selectize
2016-10-13 10:13:18 -07:00
Flavio Copes
0b42f8e34c Add an onAdminData event to allow plugins to add additional blueprints data 2016-10-04 16:51:41 +02:00
Andy Miller
1ea0a54903 Added new onAdminCreatePageFrontmatter event - https://github.com/getgrav/grav-plugin-admin/pull/781 2016-09-30 08:58:26 -06:00
Andy Miller
5176e5b3ff Use cache/tmp fallback rather than just cache/ 2016-09-08 08:56:48 -06:00