77 Commits

Author SHA1 Message Date
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
dbd131037b Display file size next to uploaded file names 2018-10-13 13:46:06 +02:00
Giuseppe Criscione
8c6772953c Improve pages list columns sizing 2018-10-12 15:03:56 +02:00
Giuseppe Criscione
79a4f0a769 Slightly reduce sidebar width to have more room for content 2018-10-12 14:58:30 +02:00
Giuseppe Criscione
f990a9f8ae Improve users list appearance espacially for small screen sizes 2018-10-12 14:44:48 +02:00
Giuseppe Criscione
2227a1ee79 Show a no-drop cursor and light red background when page reordering is not possible 2018-10-12 14:13:22 +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
231136f0d4 Add required and disabled attributes support to fields 2018-10-09 23:20:03 +02:00
Giuseppe Criscione
1c6f5b0be8 Fix wrong CSS property 2018-10-07 11:59:03 +02:00
Giuseppe Criscione
688a9fb4fd Use monospace font for values in Options > Info 2018-09-27 14:37:29 +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
c8902ab0e6 Cleanup SCSS 2018-09-14 12:38:44 +02:00
Giuseppe Criscione
9f461b4ee5 Fix incorrect icons in Pages Editor files list 2018-09-14 12:28:11 +02:00
Giuseppe Criscione
cd2e454b11 Add new notification types info and warning 2018-09-13 16:57:06 +02:00
Giuseppe Criscione
3386b996dc Update icon font 2018-09-13 16:20:15 +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
a91ffc1dd7 Fix tabs wrapping 2018-09-12 11:20:31 +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
114eae00bf Add Admin Errors controller 2018-09-11 17:26:02 +02:00
Giuseppe Criscione
a7b64e0fa5 Add Attributes component to pages.editor view (#6) 2018-09-09 19:45:53 +02:00
Giuseppe Criscione
26df0fc30e Fix long notification text overflow 2018-09-07 18:54:00 +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
f987571b9f Fix vertical scrollbar always visible in IE/Edge 2018-08-29 17:24:53 +02:00
Giuseppe Criscione
92f579432a Add box shadow to pages list items when sorting pages 2018-08-02 15:13:07 +02:00
Giuseppe Criscione
7fe51eb7e0 Remove inline styles in User view 2018-08-01 20:48:14 +02:00
Giuseppe Criscione
1906d9b2b7 Add Preview button to Pages editor 2018-07-24 16:36:18 +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
e6a5b8ec04 Add .button-link class 2018-07-24 00:14:56 +02:00
Giuseppe Criscione
3b983e056a Make notifications disappear by clicking on them (closes #3) 2018-07-23 22:24:40 +02:00
Giuseppe Criscione
a36383c69d Cleanup SCSS 2018-07-18 17:34:54 +02:00
Giuseppe Criscione
d67c103536 Improve togglegroup fields appearance 2018-07-16 12:06:31 +02:00
Giuseppe Criscione
e93e6007cb Change icon size in files lists 2018-07-16 11:55:30 +02:00
Giuseppe Criscione
fefde21291 Add @mixin icon to Admin SCSS 2018-07-16 11:50:22 +02:00
Giuseppe Criscione
06126158ee Fix togglegroup field type margin-bottom 2018-07-16 00:36:55 +02:00