772 Commits

Author SHA1 Message Date
Giuseppe Criscione
25a532aa42 Move schemes scope from templates to pages 2021-01-03 15:17:50 +01:00
Giuseppe Criscione
e65e561513 Move scheme retrieval logic to Schemes 2021-01-02 17:08:53 +01:00
Giuseppe Criscione
a83f19b614 Remove AdminView class 2020-12-26 15:57:28 +01:00
Giuseppe Criscione
9bf558acb3 Rename date.hour_format to date.time_format 2020-12-26 15:30:15 +01:00
Giuseppe Criscione
0a06ec5ac4 Add admin prefix to admin translations 2020-12-20 01:16:10 +01:00
Giuseppe Criscione
ad18415703 Move fields from admin to system 2020-12-19 22:36:19 +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
58b8de8be7 Avoid using methods from AdminTrait in admin views 2020-12-19 15:34:43 +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
52ffae1b9f Use admin layout in admin views 2020-12-19 00:22:01 +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
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
67a57b7561 Fix method call in editor view 2020-12-16 22:11:12 +01:00
Giuseppe Criscione
29e1ea9366 Use a Config getter instead of Formwork::option() 2020-12-16 21:53:21 +01:00
Giuseppe Criscione
e75d546efa Move admin classes from admin/src to formwork/src/Admin 2020-12-16 18:05:01 +01:00
Giuseppe Criscione
3f2ec38083 Update npm packages 2020-12-16 14:34:56 +01:00
Giuseppe Criscione
ce751dd279 Add details to @deprecated tags 2020-12-14 16:26:58 +01:00
Giuseppe Criscione
a23fb90826 Create browsing context for preview links to avoid always opening a new tab 2020-12-14 14:32:57 +01:00
Giuseppe Criscione
0f17a9410d Rename Page::id() to Page::name() 2020-12-13 23:18:29 +01:00
Giuseppe Criscione
4001902397 Export admin view helpers to separate file 2020-12-13 17:40:36 +01:00
Giuseppe Criscione
f29980116c Add parentheses after __METHOD__ for consistency 2020-12-13 16:26:06 +01:00
Giuseppe Criscione
68234623c8 Deprecate the possibility to return an array or a string with MimeType::toExtension() 2020-12-13 16:06:49 +01:00
Giuseppe Criscione
5bfb2ccf16 Add focus styles to editor 2020-12-12 23:06:32 +01:00
Giuseppe Criscione
cf7135d4d7
Merge pull request #65 from getformwork/feature/duration-input
Add duration field
2020-12-12 20:04:49 +01:00
Giuseppe Criscione
7a02f7e961 Allow leading zeros for decimal numbers in DurationInput 2020-12-12 19:54:33 +01:00
Giuseppe Criscione
ca438fa3b7 Use blur event intead of change 2020-12-12 19:32:21 +01:00
Giuseppe Criscione
f51223db2f Remove leading zeros in DurationInput 2020-12-12 18:45:54 +01:00
Giuseppe Criscione
2275d2df48 Fix Utils.toSafeInteger() not converting to integer values 2020-12-12 18:44:25 +01:00
Giuseppe Criscione
18a42858a7 Rename display option to intervals in DurationInput 2020-12-12 15:58:29 +01:00
Giuseppe Criscione
90f3c19457 Add intervalNames argument to secondsToInterval() 2020-12-12 15:45:27 +01:00
Giuseppe Criscione
239029cfb2 Add duration strings to French translation 2020-12-12 15:16:43 +01:00
Giuseppe Criscione
00566b51a2 Make sure duration input value is always a safe integer 2020-12-12 14:56:31 +01:00
Giuseppe Criscione
d406b9d1c9 Fix Validator::parse() precision issues in casting to numeric types 2020-12-12 12:39:29 +01:00
Giuseppe Criscione
2f39580a45 Use duration fields in system options 2020-12-12 00:33:25 +01:00
Giuseppe Criscione
95f7cf6c97 Add duration field 2020-12-12 00:33:23 +01:00
Giuseppe Criscione
ac87d0a665 Update npm packages 2020-12-11 17:21:28 +01:00
Giuseppe Criscione
e2b35200c9 Fix SemVer::fromString() for PHP < 7.4 2020-12-08 19:26:31 +01:00
Giuseppe Criscione
0c41fd446e
Merge pull request #59 from getformwork/feature/updater-semver-parsing
Add SemVer parsing to ensure no future BC breaks occur with Updater
2020-12-08 17:39:25 +01:00
Giuseppe Criscione
60ce9c34dc Add date() and datetime() helpers to views 2020-12-07 22:43:53 +01:00
Giuseppe Criscione
49a30d28c4 Move view helpers to View::helpers() 2020-12-07 22:40:46 +01:00
Giuseppe Criscione
a9e8ad90cf Simplify Statistics::getChartData() 2020-12-06 16:58:51 +01:00
Giuseppe Criscione
c208789b43
Merge pull request #62 from getformwork/feature/improved-date-formats
Improve date formats handling
2020-12-06 16:45:36 +01:00
Giuseppe Criscione
bbf0446d38
Merge pull request #61 from getformwork/feature/stricter-date-parsing
Make date parsing stricter deprecating the use of invalid formats
2020-12-06 16:45:21 +01:00
Giuseppe Criscione
bb2c9217e5 Update AbstractController::defaults() 2020-12-06 16:39:00 +01:00
Giuseppe Criscione
716671ea6c Add formatToPattern(), patternToFormat(), formatDateTime() and formatTimestamp() to DateFormats class 2020-12-06 16:39:00 +01:00
Giuseppe Criscione
be55596b96 Add date.weekdays.long to translations 2020-12-06 16:39:00 +01:00
Giuseppe Criscione
42e728a090 Rewrite DatePicker formatting function 2020-12-06 16:38:56 +01:00