50 Commits

Author SHA1 Message Date
Giuseppe Criscione
e76cd501ca Cleanup JavaScript 2019-04-27 14:14:07 +02:00
Giuseppe Criscione
ed2092bca2 Remove deprecated jQuery positional selectors 2019-04-26 14:36:40 +02:00
Giuseppe Criscione
266341b5ca Remove deprecated jQuery event shorthands 2019-04-26 14:32:14 +02:00
Giuseppe Criscione
c25e565098 Add dropdowns component 2019-04-19 18:49:05 +02:00
Giuseppe Criscione
6c9b699d05 Add type attribute to all buttons 2019-04-19 15:38:32 +02:00
Giuseppe Criscione
93ae7c2e23 Cleanup JavaScript 2019-03-16 21:05:18 +01:00
Giuseppe Criscione
6ba50d282c Add keyboard shortcut for link command 2019-03-16 18:16:57 +01:00
Giuseppe Criscione
6090951f36 Add slug modal to Pages editor 2019-03-16 16:03:33 +01:00
Giuseppe Criscione
6c9b2e6c19 Fix modals 2019-03-16 15:28:00 +01:00
Giuseppe Criscione
30037f1293 Fix persistent tooltip when button is disabled after click 2018-10-14 16:32:42 +02:00
Giuseppe Criscione
7eb3823cc3 Add comments next to JavaScript key codes 2018-10-14 13:40:42 +02:00
Giuseppe Criscione
683c0dabe8 Fix JavaScript with ESLint 2018-10-14 13:25:58 +02:00
Giuseppe Criscione
d7c2f6a2e9 Use explicit $.attr() when dealing with data-* attributes 2018-10-14 12:55:26 +02:00
Giuseppe Criscione
3544ed795d Avoid using .find() instead of jQuery $() with context argument 2018-10-14 01:25:52 +02:00
Giuseppe Criscione
1a2e28eafe Use image picker when inserting an image from editor toolbar 2018-10-14 01:16:59 +02:00
Giuseppe Criscione
f475ba3a91 Confirm image picker selection on double click on thumbnail 2018-10-14 00:19:45 +02:00
Giuseppe Criscione
a1e37ee9e8 Cleanup JavaScript 2018-10-13 22:00:19 +02:00
Giuseppe Criscione
c219acad3c Fix notification spacing issues when page is scrolled 2018-10-12 14:03:53 +02:00
Giuseppe Criscione
1fbc17dd55 Use HTTP status 400 instead of 403 when CSRF token is not valid 2018-10-11 16:34:16 +02:00
Giuseppe Criscione
afd3333e71 Fix Backup button remaining disabled after failed backup 2018-09-22 14:27:15 +02:00
Giuseppe Criscione
7bcc6f33d1 Add Backup button to Dashboard 2018-09-18 22:30:27 +02:00
Giuseppe Criscione
df5dc5130f Use data-command attribute instead of id or class to bind click events 2018-09-18 20:55:55 +02:00
Giuseppe Criscione
835d46e7a3 Cleanup JS 2018-09-18 18:02:56 +02:00
Giuseppe Criscione
96466eece4 Fix Page Editor textarea always being focused after saving/reloading 2018-09-13 16:05:46 +02:00
Giuseppe Criscione
dc5f531143 Retain cursor position in Pages Editor after saving/reloading 2018-09-12 13:09:37 +02:00
Giuseppe Criscione
cdc538acec Add Updater feature to automatically download new releases from GitHub repository (#4)
* Add remote request methods to `FileSystem` class

* Add `Updater` class

* Fix extraction path in `Updater` class

* Merge branch 'master' into feature/updater

* Fix coding style with PHP-CS-Fixer

* Update .gitignore

* Add `cleanupAfterInstall` option to `Updater` class

* Add `Updater::latestRelease()` method

* Use `version_compare()` to check if Formwork is up-to-date

* Use more specific exception classes in `Updater`

* Update language strings

* Add `Updates` controller

* Add Options > Updates tab

* Fix incorrect version name displayed after update

* Rename `FileSystem::retrieve()` to `FileSystem::fetch()`

* Fix wrong function calls

* Use `Registry` object in `Updater` class

* Move archive URI in `Updater::$release` property

* Fix code to work after last merge commit

* Fix coding style with PHP-CS-Fixer

* Cleanup code
2018-09-11 22:32:41 +02:00
Giuseppe Criscione
39fcc99bc4 Add range field type 2018-09-07 15:49:59 +02:00
Giuseppe Criscione
bebc4244d8 Add keyboard shortcut to all views with Save command 2018-09-06 18:40:52 +02:00
Giuseppe Criscione
1d1f173cb6 Fix JS whitespace 2018-09-04 15:46:24 +02:00
Giuseppe Criscione
8e4d633dd6 Fix Formwork.Utils.uriPrependBase() returning multiple slashes 2018-09-04 15:39:09 +02:00
Giuseppe Criscione
35879393a5 Cleanup JS 2018-09-04 14:59:46 +02:00
Giuseppe Criscione
029f9b8872 Add Pages editor keyboard shortcuts for bold, italic and save commands 2018-07-24 00:27:16 +02:00
Giuseppe Criscione
3b983e056a Make notifications disappear by clicking on them (closes #3) 2018-07-23 22:24:40 +02:00
Giuseppe Criscione
6e65c48a6a Fix inline if statements 2018-07-14 16:37:00 +02:00
Giuseppe Criscione
29779ac0c4 Fix incorrect poisition of chart tooltips in Firefox 2018-07-14 13:23:04 +02:00
Giuseppe Criscione
9e1d96fa5a Move tooltip offset calculation from Utils.offset to tooltip.js 2018-07-14 13:18:17 +02:00
Giuseppe Criscione
0f1f9f2ec5 Make children pages sortable 2018-07-10 15:28:33 +02:00
Giuseppe Criscione
642e65f942 Add images modal empty state labels 2018-07-08 22:22:56 +02:00
Giuseppe Criscione
70e143bfa2 Fix Admin forms behavior with input[type=files]
* Changes in file inputs are now detected when leaving the page
* Text of file input labels is now restored when removing files
2018-07-08 16:03:00 +02:00
Giuseppe Criscione
1aa6b7c8c6 Use data-overflow-tooltip attribute instead of .overflow-title class 2018-07-07 00:01:15 +02:00
Giuseppe Criscione
24a052091a Use app tooltips instead of system ones 2018-07-06 23:39:28 +02:00
Giuseppe Criscione
0b5a56bb98 Avoid script tag use to initialize Formwork.Form component 2018-07-02 01:17:29 +02:00
Giuseppe Criscione
ca265a51fd Move notifications to meta tag 2018-07-02 00:32:08 +02:00
Giuseppe Criscione
faa91d5489 Move csrf-token from data-csrf-token attribute of body to meta tag 2018-07-02 00:04:42 +02:00
Giuseppe Criscione
ae118460f7 Major Admin .js refactor
* Fix global namespace pollution.
* Improve files organization.
* Refactor following best practices.
2018-07-01 23:28:18 +02:00
Giuseppe Criscione
17278c31d7 Change sortable pages behavior for better usability 2018-06-21 11:31:38 +02:00
Giuseppe Criscione
21b54f3b92 Use single quotes in strings in .js files whenever possible 2018-06-17 12:43:57 +02:00
Giuseppe Criscione
caeefe0cf4 Rename .no-reorder to .not-sortable for consistency 2018-06-17 11:28:05 +02:00
Giuseppe Criscione
270d6fc793 Fix hard tabs 2018-06-16 17:49:27 +02:00
Giuseppe Criscione
d3e591f7c9 Initial commit 2018-06-16 16:41:58 +02:00