645 Commits

Author SHA1 Message Date
Giuseppe Criscione
47322973be Cleanup code 2019-05-25 23:21:04 +02:00
Giuseppe Criscione
f4ee683fb6 Throw an exception on template helpers called outside rendering context 2019-05-25 23:17:17 +02:00
Giuseppe Criscione
4c8ca2d69f Fix HTTPResponse::headers() mistakenly caching result 2019-05-25 23:16:42 +02:00
Giuseppe Criscione
2f55e1944e Remove File::__call() 2019-05-25 23:15:10 +02:00
Giuseppe Criscione
54c1c47101 Remove Formwork::__call() 2019-05-25 23:14:47 +02:00
Giuseppe Criscione
ce55653dbd Update composer.json 2019-05-25 21:55:58 +02:00
Giuseppe Criscione
f7e0022cef Use null coalescing operator 2019-05-25 19:27:40 +02:00
Giuseppe Criscione
e39819fa64 Add visibility to const 2019-05-25 19:26:40 +02:00
Giuseppe Criscione
65ee72b713 Remove compatibility code 2019-05-25 19:24:23 +02:00
Giuseppe Criscione
34aecc0a8e Support PHP >= 7.1.3 2019-05-25 19:22:40 +02:00
Giuseppe Criscione
551539aea3 Remove Metadatum::__call() 2019-05-24 20:27:56 +02:00
Giuseppe Criscione
9e1f9919b3 Rename Metadatum::namespace() to Metadatum::prefix() 2019-05-24 20:24:23 +02:00
Giuseppe Criscione
1ccf748f2c Store loaded languages in Site instead of Formwork 2019-05-24 20:10:29 +02:00
Giuseppe Criscione
35c5b2b04d
Merge pull request #33 from getformwork/feature/template-renderer
Add closure-based template Renderer
2019-05-24 17:27:33 +02:00
Giuseppe Criscione
46a268affc Extract loadOptions, loadSite and loadCache in Formwork class 2019-05-24 17:14:59 +02:00
Giuseppe Criscione
6429859589 Update Chartist.js 2019-05-24 17:03:37 +02:00
Giuseppe Criscione
0e1fd5e579 Update npm packages 2019-05-24 17:01:30 +02:00
Giuseppe Criscione
9a639d1285 Fix npm vulnerabilities 2019-05-15 19:46:13 +02:00
Giuseppe Criscione
ae34ad3dd1 Update composer.lock 2019-05-15 00:49:45 +02:00
Giuseppe Criscione
ae29a111a9 Use Renderer::load() to load views in AbstractController 2019-05-14 16:10:54 +02:00
Giuseppe Criscione
7f1961eeed Use Renderer::load() to insert templates and load controllers 2019-05-14 16:05:43 +02:00
Giuseppe Criscione
7ed745333a Reorder and change some methods visibility in Template and Layout 2019-05-14 15:57:54 +02:00
Giuseppe Criscione
9f518cbf56 Add Renderer class 2019-05-14 15:54:43 +02:00
Giuseppe Criscione
41bf263560 Release 0.12.0 0.12.0 2019-05-13 13:29:18 +02:00
Giuseppe Criscione
ac749bd131 Transfer repository 2019-05-13 13:03:58 +02:00
Giuseppe Criscione
7deb3446df Update npm packages 2019-05-13 12:56:59 +02:00
Giuseppe Criscione
7c5e910ac0 Cleanup code 2019-05-13 12:55:49 +02:00
Giuseppe Criscione
822615a988 Add the possibility to redirect to browser preferred language 2019-05-13 12:51:31 +02:00
Giuseppe Criscione
a72286ec32 Add HTTPNegotiation class 2019-05-13 12:45:25 +02:00
Giuseppe Criscione
2e09531ebb Fix missing label in array fields 2019-05-13 12:34:56 +02:00
Giuseppe Criscione
e645cd7eed Revert instance check on $resource in Formwork::run() from 7c63eba 2019-05-13 01:30:17 +02:00
Giuseppe Criscione
20a6e37bf6 Rename languages option to languages.available 2019-05-12 23:51:38 +02:00
Giuseppe Criscione
0ac44b1eeb Add canonical route to index page 2019-05-11 23:04:10 +02:00
Giuseppe Criscione
a4316239c6 Add the possibility to set a canonical route for pages 2019-05-11 22:28:24 +02:00
Giuseppe Criscione
d92723eaea Add Router::rewrite() to rewrite current route with new params 2019-05-11 21:54:35 +02:00
Giuseppe Criscione
c7e99c590b Add Router::rewriteRoute() 2019-05-11 21:53:42 +02:00
Giuseppe Criscione
3c80935edc Store currently matched route to Router::$route 2019-05-11 21:52:41 +02:00
Giuseppe Criscione
a31f8e5895 Add robots meta tag to Admin views 2019-05-09 14:24:43 +02:00
Giuseppe Criscione
904adc7bed Add Metadata and Aliases fields to site options 2019-05-09 14:07:16 +02:00
Giuseppe Criscione
6ea4404fb4 Add array field type 2019-05-08 22:29:28 +02:00
Giuseppe Criscione
f7d921a68d Use site defaults when updating options 2019-05-08 19:43:32 +02:00
Giuseppe Criscione
65bb8973e5 Add array type hints 2019-05-08 12:27:09 +02:00
Giuseppe Criscione
7e07200d3f Fix Field::isEmpty() evaluating fields with false value empty 2019-05-08 11:56:47 +02:00
Giuseppe Criscione
b6bd7fbe3f Use underscores in frontmatter keys for consistency 2019-05-07 22:22:39 +02:00
Giuseppe Criscione
5779534b5f Fix Validator::validateTags() not resetting keys after filtering 2019-05-07 18:23:34 +02:00
Giuseppe Criscione
73db65f1cb Add placeholders to Options and User Profile views 2019-05-07 18:21:28 +02:00
Giuseppe Criscione
45f2dabbc8 Add placeholder to tags field in blog posts 2019-05-07 17:45:55 +02:00
Giuseppe Criscione
a87b9d2371 Add placeholder support for tags field 2019-05-07 17:42:27 +02:00
Giuseppe Criscione
5fbe3e1dfc Add placeholder support for text-based fields 2019-05-07 17:36:48 +02:00
Giuseppe Criscione
fdb8110a75 Remove HTTPRequest::postDataFromRaw() 2019-05-07 17:11:47 +02:00