1079 Commits

Author SHA1 Message Date
Giuseppe Criscione
3d2ff8de74 Fix colors and shadows inconsistencies 2020-11-09 19:50:16 +01:00
Giuseppe Criscione
19c446ada5 Release 1.10.1 1.10.1 2020-11-09 14:08:11 +01:00
Giuseppe Criscione
fb1dc1bbd7 Fix value disappearing from template select in New Page modal 2020-11-09 14:03:08 +01:00
Giuseppe Criscione
8dfaa9b716 Fix pages list toggle expanding all children lists 2020-11-09 13:48:08 +01:00
Giuseppe Criscione
81dce00b21 Release 1.10.0 1.10.0 2020-11-08 17:43:58 +01:00
Giuseppe Criscione
3d00dea595 Update npm packages 2020-11-08 17:30:04 +01:00
Giuseppe Criscione
9cea79d9d7 Fix spinner wrongly displayed on submit in empty files input 2020-11-08 17:26:34 +01:00
Giuseppe Criscione
c3b01f135b Avoid adding languages to data property of Site class 2020-11-08 17:11:46 +01:00
Giuseppe Criscione
fa835fbd0a Update user scheme 2020-11-08 16:54:25 +01:00
Giuseppe Criscione
b3be707662 Update Users::profile() and Users::updateUser() 2020-11-08 16:54:08 +01:00
Giuseppe Criscione
b316ddc595 Add DataSetter::remove() 2020-11-08 16:49:12 +01:00
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
cb3e155a8f Make LanguageCodes::$codes a constant 2020-11-06 12:15:32 +01:00
Giuseppe Criscione
d3fe8e8834 Add content property to Page to restore access from get() 2020-11-06 12:03:19 +01:00
Giuseppe Criscione
49e928f137 Deprecate FileSystem::create() 2020-11-05 20:16:24 +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
dab06de70c Fix return types 2020-11-05 11:40:42 +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
d1a023d4a2 Add FileSystem::MAX_PATH_LENGTH and FileSystem::MAX_NAME_LENGTH 2020-11-05 00:31:48 +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
18c973a96b Fix Page::reload() not setting some properties to null 2020-11-04 23:10:08 +01:00
Giuseppe Criscione
5f5d75b120 Use FileSystem::normalizePath() and FileSystem::joinPaths() when possible 2020-11-04 16:57:30 +01:00
Giuseppe Criscione
91f7c3fcba Add FileSystem::joinPaths() 2020-11-04 15:59:04 +01:00
Giuseppe Criscione
e0c1b2df03 Deprecate FileSystem::normalize() 2020-11-04 15:54:18 +01:00
Giuseppe Criscione
af878bdb67 Add FileSystem::normalizePath() variant which does not force trailing slashes 2020-11-04 15:52:54 +01:00
Giuseppe Criscione
db30178af6 Normalize duplicated slashes with FileSystem::Uri() 2020-11-04 15:45:07 +01:00
Giuseppe Criscione
4166402045 Add Str::wrap() 2020-11-03 22:18:43 +01:00
Giuseppe Criscione
729a75004a Add missing type declarations 2020-11-03 19:14:01 +01:00
Giuseppe Criscione
5fcbc48e6f Remove superfluous PHPDoc 2020-11-03 18:58:12 +01:00
Giuseppe Criscione
6496b69c36 Fix coding style with PHP-CS-Fixer 2020-11-03 18:48:04 +01:00