1330 Commits

Author SHA1 Message Date
Giuseppe Criscione
c98bb5833f Update Composer packages 2020-12-11 17:22:36 +01:00
Giuseppe Criscione
ac87d0a665 Update npm packages 2020-12-11 17:21:28 +01:00
Giuseppe Criscione
aa62c50b7b Encode empty arrays inline in PHP::encodeData() 2020-12-11 16:57:15 +01:00
Giuseppe Criscione
40f806d43b
Merge pull request #63 from getformwork/feature/improved-cache-serialization
Avoid serialization when possible by encoding data to PHP files (takes advantage of OPcache)
2020-12-11 16:41:54 +01:00
Giuseppe Criscione
6ba7b29430 Add Response::__set_state() 2020-12-10 23:06:17 +01:00
Giuseppe Criscione
f91d31f81d Use PHP parser instead of serialize() in FilesCache 2020-12-10 23:05:38 +01:00
Giuseppe Criscione
7bc54191d0 Add PHP parser class 2020-12-10 23:05:36 +01:00
Giuseppe Criscione
9702314c64 Remove superfluous argument 2020-12-10 23:02:04 +01:00
Giuseppe Criscione
cc929b4100
Merge pull request #60 from getformwork/feature/path-class
Add `Path` class to handle path manipulation
2020-12-10 19:41:27 +01:00
Giuseppe Criscione
febb34b6e0
Merge branch 'master' into feature/path-class 2020-12-10 19:41:16 +01:00
Giuseppe Criscione
90ce39ef81 Match backslash in Page::__construct() 2020-12-10 19:33:22 +01:00
Giuseppe Criscione
a36a2c67d3 Fix normalization after trimming separators in Uri::make() 2020-12-10 16:50:25 +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
914da11c2d Add Arr::isAssociative() 2020-12-08 13:43:45 +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
Giuseppe Criscione
d61f4aae64 Move DatePicker dayLabels, monthLabels and todayLabel to labels property 2020-12-03 19:41:42 +01:00
Giuseppe Criscione
1e4242f2fc Add missing type declarations 2020-12-01 21:33:08 +01:00
Giuseppe Criscione
70fcffe90e Use escapeAttr helper in admin views 2020-12-01 20:13:44 +01:00
Giuseppe Criscione
c864e98d46 Add escapeAttr helper 2020-12-01 20:10:31 +01:00
Giuseppe Criscione
ba99f6dfd6 Always escape attributes with HTML::attribute() 2020-12-01 20:09:28 +01:00
Giuseppe Criscione
001dfe2e51 Add Str::escapeAttr() 2020-12-01 20:08:25 +01:00
Giuseppe Criscione
d84f771c5d Replace strtotime() with Date::toTimestamp() 2020-12-01 15:49:23 +01:00
Giuseppe Criscione
d80b3dd751 Improve validation in Validator::validateDate() 2020-12-01 15:48:39 +01:00
Giuseppe Criscione
d88f79fbfb Add Date class 2020-12-01 15:46:12 +01:00
Giuseppe Criscione
561649be2b Fix tooltips.js altering title attributes outside document body 2020-11-30 22:20:36 +01:00
Giuseppe Criscione
163550295e Move JSON encoding to controllers 2020-11-30 19:05:26 +01:00
Giuseppe Criscione
cbc4848766 Load scripts in login and register views 2020-11-30 18:59:16 +01:00
Giuseppe Criscione
0c54e930bd Move <script> tags before </body> 2020-11-30 18:57:47 +01:00
Giuseppe Criscione
9dcad3b53b Fix js error in pages without sidebar 2020-11-30 18:52:26 +01:00
Giuseppe Criscione
161d6f2c1a Update npm packages 2020-11-30 18:47:24 +01:00
Giuseppe Criscione
8a421622b2
Merge pull request #56 from getformwork/feature/dark-color-scheme
Add dark color scheme
2020-11-30 18:42:55 +01:00
Giuseppe Criscione
d6231c366b
Merge pull request #58 from getformwork/feature/json-parser
Add JSON parser (wrapper around `json_encode()` and `json_decode()`)
2020-11-30 02:01:05 +01:00
Giuseppe Criscione
2da402305e Update Composer packages 2020-11-30 02:00:02 +01:00
Giuseppe Criscione
1a7e63b167 Support PHP >= 7.3.5 2020-11-30 01:58:19 +01:00
Giuseppe Criscione
afd5b39c9e Fix FileSystem::moveDirectory() ignoring $overwrite argument on recursion 2020-11-28 17:18:36 +01:00
Giuseppe Criscione
8f5328de06 Fix FileSystem::isVisible() failing for empty paths 2020-11-28 17:16:26 +01:00
Giuseppe Criscione
55ad5e1a1a Update default avatar 2020-11-28 16:19:07 +01:00
Giuseppe Criscione
080c4e1d8a Avoid retaining in memory unmodified copies of images 2020-11-28 16:05:42 +01:00
Giuseppe Criscione
4723af893e Use SHA-256 hashes instead of SHA-1 2020-11-28 16:04:52 +01:00
Giuseppe Criscione
8b50172620 Add File Creation Mask to Options > Info 2020-11-28 15:38:35 +01:00
Giuseppe Criscione
4c9807d8ba Explicitly handle the mode of created files and directories 2020-11-27 16:36:03 +01:00