796 Commits

Author SHA1 Message Date
Giuseppe Criscione
5b62587256 Update Options::updateOptions() 2020-11-08 16:48:03 +01:00
Giuseppe Criscione
d2ac224407 Add missing attributes to fields 2020-11-08 16:03:04 +01:00
Giuseppe Criscione
2b17b8d518 Use Field::isDisabled() and Field::isRequired() in field views 2020-11-08 16:02:45 +01:00
Giuseppe Criscione
99b8ab02bb Rewrite Validator class and add several methods to Field 2020-11-08 15:29:31 +01:00
Giuseppe Criscione
f526f1db36 Add ValidationException 2020-11-08 15:27:33 +01:00
Giuseppe Criscione
901ecfcff6 Rename variables for consistency in Fields::find() and Fields::toArray() 2020-11-08 15:23:26 +01:00
Giuseppe Criscione
efae07d411 Recognize Field instances in Fields::__construct() and handle them properly 2020-11-08 15:21:46 +01:00
Giuseppe Criscione
25f79bfa58 Fix Users controller triggering deprecation warnings 2020-11-08 15:09:36 +01:00
Giuseppe Criscione
2577d5d16c Fix password hash being always unset in User::__construct() 2020-11-08 15:08:27 +01:00
Giuseppe Criscione
1cba75a7dc Extract SingletonTrait from Admin and Formwork classes 2020-11-07 16:45:43 +01:00
Giuseppe Criscione
46907ca880 Add explicit Admin::users() and Admin::translation() 2020-11-05 19:50:33 +01:00
Giuseppe Criscione
772f0f6fd4 Cleanup code 2020-11-05 19:43:56 +01:00
Giuseppe Criscione
38f9d478e9 Deprecate User::get() and User::has() 2020-11-05 19:41:40 +01:00
Giuseppe Criscione
1be9e5b00b Rewrite data fields as properties in User class 2020-11-05 19:39:43 +01:00
Giuseppe Criscione
f962a90397 Always load cache 2020-11-05 16:00:32 +01:00
Giuseppe Criscione
1a8800ab59 Use random_int() instead of rand() and mt_rand() 2020-11-05 00:52:46 +01:00
Giuseppe Criscione
14c35bfc75 Throw an exception when an uploaded file cannot be moved 2020-11-05 00:46:58 +01:00
Giuseppe Criscione
17233d6368 Check filename and path lengths in Uploader::move() 2020-11-05 00:43:52 +01:00
Giuseppe Criscione
46ece4b758 Update lint scripts in package.json 2020-11-05 00:30:59 +01:00
Giuseppe Criscione
57f6bac50c Remove .eslintignore 2020-11-05 00:30:56 +01:00
Giuseppe Criscione
6cac9ed286 Prevent click and drop on file inputs when their forms are submitted 2020-11-05 00:23:43 +01:00
Giuseppe Criscione
5e710de74f Display a spinner when files are being uploaded 2020-11-05 00:04:56 +01:00
Giuseppe Criscione
e387126ffc Add HTMLFormElement.requestSubmit() polyfill 2020-11-04 23:18:33 +01:00
Giuseppe Criscione
4aa126c943 Use form.requestSubmit() instead of form.submit() to trigger properly events 2020-11-04 23:12:02 +01:00
Giuseppe Criscione
5f5d75b120 Use FileSystem::normalizePath() and FileSystem::joinPaths() when possible 2020-11-04 16:57:30 +01:00
Giuseppe Criscione
729a75004a Add missing type declarations 2020-11-03 19:14:01 +01:00
Giuseppe Criscione
6496b69c36 Fix coding style with PHP-CS-Fixer 2020-11-03 18:48:04 +01:00
Giuseppe Criscione
6190b05f56 Remove incompatible parent from Avatar class 2020-11-02 22:54:19 +01:00
Giuseppe Criscione
c165a7b2fd Use DataGetter::hasMultiple() in admin controllers 2020-11-02 19:05:00 +01:00
Giuseppe Criscione
93bc402845 Add return types 2020-11-02 18:35:32 +01:00
Giuseppe Criscione
8ec5398aef Update npm packages 2020-10-31 15:24:47 +01:00
Giuseppe Criscione
9d4ba91b2e Invalidate cache also when system options are changed 2020-10-31 11:31:00 +01:00
Giuseppe Criscione
604bc09c94 Fix undefined variable in Pages::delete() 2020-10-31 11:28:16 +01:00
Giuseppe Criscione
ac44b714a3 Avoid using hasOwnProperty() directly on instances 2020-10-27 13:03:27 +01:00
Giuseppe Criscione
b795efa419 Fix wrong ecmaVersion in .eslintrc 2020-10-27 13:00:31 +01:00
Giuseppe Criscione
7f241617df Add lint:css and lint:js scripts to package.json 2020-10-27 12:59:52 +01:00
Giuseppe Criscione
d49d92a472 Add eslint npm package 2020-10-27 12:58:56 +01:00
Giuseppe Criscione
2b4f5bc1e9 Update npm packages 2020-10-27 12:30:53 +01:00
Giuseppe Criscione
aa11233fc9 Avoid using FileSystem::scan() and FileSystem::scanRecursive() 2020-10-27 12:29:00 +01:00
Giuseppe Criscione
512fe03664 Update npm packages 2020-10-16 11:45:18 +02:00
Giuseppe Criscione
f110e9babc Update npm packages 2020-09-23 17:07:57 +02:00
Giuseppe Criscione
1a2de79ab6 Update npm packages 2020-08-28 12:41:21 +02:00
Giuseppe Criscione
a153968b49 Update npm packages 2020-07-19 19:06:54 +02:00
Giuseppe Criscione
8273fbddcd Fix errors occurring when Change slug command is not available 2020-06-25 12:18:36 +02:00
Giuseppe Criscione
791e1174ec Restore Markdown list continuation 2020-06-25 12:12:54 +02:00
Giuseppe Criscione
3b7dadedee Update npm packages 2020-06-25 12:03:16 +02:00
Giuseppe Criscione
45fe6df88a Update npm packages 2020-06-11 21:33:30 +02:00
Giuseppe Criscione
ad62128e5f Improve text contrast 2020-06-11 21:30:51 +02:00
Giuseppe Criscione
daf32b2e36 Fix wrongly detected changes in forms 2020-06-11 21:21:48 +02:00
Giuseppe Criscione
6070191fd5 Fix errors occurring with image inputs 2020-06-11 21:17:40 +02:00