1620 Commits

Author SHA1 Message Date
Giuseppe Criscione
e74c0f26e4 Use sprintf() in PHP::encodeData() 2020-12-24 14:36:37 +01:00
Giuseppe Criscione
4eb9d9e67f Merge branch 'master' into 2.0 2020-12-24 14:27:44 +01:00
Giuseppe Criscione
6c7bda1f73 Fix PHP::encodeData() failing to check if __set_state() method exists when __call() is implemented 2020-12-24 14:23:51 +01:00
Giuseppe Criscione
f290b3a731 Use sprintf() in exception messages 2020-12-24 01:19:38 +01:00
Giuseppe Criscione
823dc967fd Remove unneeded calls to Admin::instance() 2020-12-22 23:50:35 +01:00
Giuseppe Criscione
19318fdfaf Fix Formwork::loadConfig() not loading defaults before YAML parsing 2020-12-22 01:27:59 +01:00
Giuseppe Criscione
7e02e60eee Remove Admin::registry() and Admin::log() 2020-12-21 18:59:38 +01:00
Giuseppe Criscione
9fe9c76015 Return HTTP data and headers as DataGetter and files as Collection 2020-12-20 15:24:19 +01:00
Giuseppe Criscione
61a3ce8168 Add DataGetter::fromGetter() 2020-12-20 15:11:29 +01:00
Giuseppe Criscione
276e4af753 Add DataGetter::isEmpty() 2020-12-20 15:11:08 +01:00
Giuseppe Criscione
4a3d238f11 Sort class imports 2020-12-20 01:37:42 +01:00
Giuseppe Criscione
e247713c17 Remove Field 2020-12-20 01:31:15 +01:00
Giuseppe Criscione
afa05205db Move namespace Formwork\Core one level up 2020-12-20 01:25:51 +01:00
Giuseppe Criscione
1907e94da3 Update ignored paths in Updater 2020-12-20 01:21:23 +01:00
Giuseppe Criscione
0a06ec5ac4 Add admin prefix to admin translations 2020-12-20 01:16:10 +01:00
Giuseppe Criscione
409e75e62b Add Date::formatDateTimeAsDistance() and Date::formatTimestampAsDistance() 2020-12-20 00:55:21 +01:00
Giuseppe Criscione
6f207fff39 Add russian translation for date durations 2020-12-19 23:10:07 +01:00
Giuseppe Criscione
ad18415703 Move fields from admin to system 2020-12-19 22:36:19 +01:00
Giuseppe Criscione
46f89d014c Move TranslatedException to Formwork\Exceptions 2020-12-19 22:24:39 +01:00
Giuseppe Criscione
b2c1f9f9a2 Use getCurrent() and setCurrent() from system translation also in admin 2020-12-19 21:59:59 +01:00
Giuseppe Criscione
6a80100571 Remove Languages::getTranslation() 2020-12-19 21:58:27 +01:00
Giuseppe Criscione
7e1d7541c1 Add Translations::getCurrent() and Translations::setCurrent() 2020-12-19 21:57:53 +01:00
Giuseppe Criscione
ed35e8f984 Add helpers property to Template 2020-12-19 20:00:25 +01:00
Giuseppe Criscione
851261962a List backup and cache directories in the repository 2020-12-19 16:00:48 +01:00
Giuseppe Criscione
614c27e819 Update .gitignore 2020-12-19 15:59:59 +01:00
Giuseppe Criscione
e8fd64b838 Update .htaccess 2020-12-19 15:57:29 +01:00
Giuseppe Criscione
450180c134 Remove AdminTrait 2020-12-19 15:49:08 +01:00
Giuseppe Criscione
87928b0aef Fix Backup controller 2020-12-19 15:44:49 +01:00
Giuseppe Criscione
fee6a40eef Avoid using AdminTrait in controllers 2020-12-19 15:44:18 +01:00
Giuseppe Criscione
58b8de8be7 Avoid using methods from AdminTrait in admin views 2020-12-19 15:34:43 +01:00
Giuseppe Criscione
9e79bbe3f7 Fix TranslatedException::getTranslatedMessage() 2020-12-19 12:43:54 +01:00
Giuseppe Criscione
9900db55cc Add login layout 2020-12-19 12:42:16 +01:00
Giuseppe Criscione
3ecb59f56c Rename AdminTrait::label() to AdminTrait::translate() 2020-12-19 00:33:51 +01:00
Giuseppe Criscione
d0117795d7 Move error page to view 2020-12-19 00:28:12 +01:00
Giuseppe Criscione
52ffae1b9f Use admin layout in admin views 2020-12-19 00:22:01 +01:00
Giuseppe Criscione
be75915aae Extract views and template logic to a new View class 2020-12-19 00:19:19 +01:00
Giuseppe Criscione
37a9e2f3f8 Decouple fields language from admin translation 2020-12-18 16:24:23 +01:00
Giuseppe Criscione
990ac85aed Extract scheme logic from templates one and normalize structure 2020-12-18 15:46:58 +01:00
Giuseppe Criscione
ec2a08ac35 Fix newUser modal 2020-12-18 15:32:44 +01:00
Giuseppe Criscione
7e96b073f9 Remove strtotime() fallback from Date::toTimestamp() 2020-12-18 15:12:31 +01:00
Giuseppe Criscione
769242343c Move date formatting logic to Formwork\Utils\Date 2020-12-18 15:09:07 +01:00
Giuseppe Criscione
3d755b1737 Move some translation data from admin to system 2020-12-18 14:51:19 +01:00
Giuseppe Criscione
943c0bb1f2 Add Languages::getTranslation() 2020-12-18 14:48:38 +01:00
Giuseppe Criscione
37fe4d482f Move translation logic from admin to system 2020-12-18 14:44:17 +01:00
Giuseppe Criscione
38a8cedb0d Add Formwork::languages() 2020-12-18 14:38:53 +01:00
Giuseppe Criscione
eed737d0ec Add tag to make code editors recognize the return type ofSingletonTrait::instance() 2020-12-17 21:04:55 +01:00
Giuseppe Criscione
67a57b7561 Fix method call in editor view 2020-12-16 22:11:12 +01:00
Giuseppe Criscione
83d2b69169 Remove deprecated features 2020-12-16 22:08:07 +01:00
Giuseppe Criscione
29e1ea9366 Use a Config getter instead of Formwork::option() 2020-12-16 21:53:21 +01:00
Giuseppe Criscione
2355a7c317 Move classes from Formwork\Admin\Utils to Formwork\Utils 2020-12-16 19:44:35 +01:00