45 Commits

Author SHA1 Message Date
Andy Miller
7135c34005 sanity checks for JS fetch errors
Signed-off-by: Andy Miller <rhuk@mac.com>
2025-09-03 18:32:58 -06:00
Andy Miller
377da15ec1 fix for broken GPM + fix for intermitten ajax error
Signed-off-by: Andy Miller <rhuk@mac.com>
2025-09-03 18:22:47 -06:00
Djamil Legato
72116dcbca Fixed notifications that would not be remembered as hidden + various improvements 2020-12-21 15:29:42 -08:00
Djamil Legato
296ded003a Added modal to confirm updating Grav as well as cool down counter before enabling Update button (fixes #1257) 2020-11-18 16:17:18 -08:00
Djamil Legato
4516674112 Added logic to allow hiding notifications (x) on the current page 2019-02-13 11:08:58 -08:00
Djamil Legato
8316219e88 Removed shadow from top notification bar 2019-02-11 16:40:23 -08:00
Djamil Legato
9f89ad46dc Fixed filter parameter and ensure refreshing notifications calls for notifications feeds only 2019-02-11 16:33:50 -08:00
Djamil Legato
b520c799ec Rewrote JS to use new single-ajax-call feeds for notification/blog posts 2019-02-11 16:27:35 -08:00
Djamil Legato
cb42f8e98c Use type translation for updates available in the notification 2018-12-06 11:08:47 -08:00
Djamil Legato
7477ab66d5 Fixed notifications titles not html escaped (fixes #1272) 2018-03-10 13:17:33 -08:00
Djamil Legato
e0f9fd2ee8 Fixed fetch issue throwing error when request not completed and while unloading the page (fixes #1301) 2017-07-10 15:35:12 -07:00
Djamil Legato
bd8369fde9 Do not attempt to fetch any notification if settings are disabled (fixes #942) 2017-03-17 07:58:29 -07:00
Flavio Copes
ec2821183a Only show reinstall option if the latest release is installed 2017-02-26 16:54:47 +01:00
Flavio Copes
3d040a3f8a Disable reinstall for symlinked packages. Fix issue when no updates are available 2017-02-20 21:36:55 +01:00
Flavio Copes
0c91ca5757 Added an option to reinstall a plugin/theme already installed #984 2017-02-19 19:16:03 +01:00
Djamil Legato
a50e269793 Better error handling for Feed when unable to connect 2016-09-18 16:03:53 -07:00
Djamil Legato
8e483f101b Fix for newsfeed widget URI 2016-09-14 16:34:58 -07:00
Flavio Copes
6c188a222c Fix notifications with html issue in feed 2016-08-26 18:13:10 +02:00
Flavio Copes
988f4a0389 [WIP] Notifications (#599)
Adds a new notifications feature to the Admin plugin. It will now lookup notifications which are set up on getgrav.org and will inform users, and also alert for new updates and provide awareness on various topics.

Also fixes issue with Array field in `value_only` mode, improperly displaying the key when novalue was set, and fixes issue with drag handlers in Array not showing/hiding properly (#950)

Updated FontAwesome to 4.6.3
2016-08-11 19:17:02 +02:00
Flavio Copes
5852eb59da Check for null payload before going on, refs #526 2016-07-15 17:09:15 +02:00
Flavio Copes
99bc525095 Translate some missing string, fix #629 2016-06-10 15:10:24 +02:00
Flavio Copes
a378267baf Use Mout instead of lodash, remove it 2016-05-09 20:34:31 +02:00
Flavio Copes
00f23a67db Push minified js 2016-05-09 14:38:10 +02:00
Flavio Copes
50ae5a5459 Fix #572 UI issue with update button on package page 2016-05-09 14:25:29 +02:00
Flavio Copes
f1e31d626d Fix #575 When auto check for updates is disabled, hide update button if not triggered manually 2016-05-09 09:54:34 +02:00
Flavio Copes
5b2449f015 "Uniquify" array 2016-05-09 09:50:53 +02:00
Djamil Legato
98226a3cae Cleanup 2016-04-29 11:03:28 -07:00
Djamil Legato
6e68fd9e02 Fixed proper display version of updatable plugins when in details page 2016-04-29 11:02:01 -07:00
Djamil Legato
4ee0f5b071 Fixed wrongly displayed update bar from plugins/themes details page 2016-04-27 10:16:06 -07:00
Djamil Legato
69459ec611 Fixed toggler for stable/testing channel 2016-04-20 15:59:46 -07:00
Djamil Legato
575560ff1d Minor tweak 2016-04-20 13:07:41 -07:00
Djamil Legato
a2a5e6397c Added logic to handle Testing / Stable channels 2016-04-18 14:46:41 -07:00
Andy Miller
bae94fa945 changed order of update button for Firefox compatibility 2016-04-02 18:07:57 -06:00
Flavio Copes
6d25af2de9 When updating packages, show update instead of install. Separate modal twig, use common code 2016-03-11 12:53:31 +01:00
Flavio Copes
81dd8dd7bc Drop old buttons 2016-03-11 10:59:45 +01:00
Flavio Copes
03c644c597 Merge branch 'develop' into feature/admin-gpm-dependencies 2016-03-11 10:10:13 +01:00
Flavio Copes
baa6ffe51b Handle dashboard update button with modal, update all themes and plugins when triggered 2016-03-10 22:10:47 +01:00
Flavio Copes
b99f6c5f92 Fix linting issue 2016-03-10 18:27:51 +01:00
Djamil Legato
d5a8622ed8 Revamped of content HTML / CSS so it's not position absolute anymore 2016-03-09 14:00:44 -08:00
Flavio Copes
852bbe840c Handle the update all plugins / themes buttons 2016-03-09 22:05:34 +01:00
Flavio Copes
d9ffd603ea More groundwork to allow installing multiple packages at once 2016-03-09 21:19:13 +01:00
Flavio Copes
7c3b39022a Use the add package form for updating too 2016-03-09 18:08:23 +01:00
Djamil Legato
1c3c875c66 Moved the wrong button for Grav Updates 2016-03-08 13:01:27 -08:00
Djamil Legato
630c4dd5c1 Moved Update button as first child of paragraph 2016-03-08 12:52:17 -08:00
Djamil Legato
35fa588438 Reworked Admin JS with ES6 2016-02-01 11:27:34 -08:00