Commit graph

23 commits

Author SHA1 Message Date
Kijin Sung
73695ccdd2 For backward compatibility, allow both GET and POST if an action does not specify method 2021-04-12 22:21:58 +09:00
Kijin Sung
62d9befb0d Support custom classes in module.xml 2021-04-12 21:03:03 +09:00
Kijin Sung
325ace58e0 Reorganize method/route parser order 2020-10-27 21:39:36 +09:00
Kijin Sung
c920f6dca4 Refine default allowed methods 2020-10-27 21:38:26 +09:00
Kijin Sung
c9cf1a5bc5 Allow both GET and POST for actions that aren't proc 2020-10-27 20:43:15 +09:00
Kijin Sung
12a8671065 Fix #1424 incorrect handling of multi-method (GET|POST) actions 2020-10-19 13:56:46 +09:00
Kijin Sung
13ea096cd4 Remove use_ssl attribute from module.xml 2020-07-03 00:50:14 +09:00
Kijin Sung
e1df71bc38 Separate common methods into BaseParser class 2020-06-29 11:31:11 +09:00
Kijin Sung
1bb7248e3e Add tests for Router::getURL() and Router::parseURL() 2020-06-22 00:52:51 +09:00
Kijin Sung
67d4217052 Set default language if lang_type is not available 2020-06-22 00:04:08 +09:00
Kijin Sung
c8a6b8de79 Support global routes 2020-06-18 16:36:27 +09:00
Kijin Sung
5fa72f8629 Add 404 error handler and update permission data structure 2020-06-18 14:13:23 +09:00
Kijin Sung
b5740052fc Move SSL redirection logic to Context::init() 2020-06-17 22:25:40 +09:00
Kijin Sung
a814b4e334 Improve parsing of route definitions and deleted vars 2020-06-17 12:33:21 +09:00
Kijin Sung
7ac27fffce Reorganize type shortcuts 2020-06-16 23:24:47 +09:00
Kijin Sung
a2bd361737 Implement route priority 2020-06-16 21:33:26 +09:00
Kijin Sung
bf8d2c8b09 Improve handling of multiple routes per action 2020-06-13 11:48:58 +09:00
Kijin Sung
522e3af8c1 Remove unnecessary 'i' modifier in variable regexp 2020-06-13 01:38:23 +09:00
Kijin Sung
1bf5b4c240 Change syntax for specifying multiple routes for the same action 2020-06-13 00:37:59 +09:00
Kijin Sung
f02c4aa4c4 Remove object return type declaration for compatibility with PHP < 7.2 2020-06-12 23:53:09 +09:00
Kijin Sung
eb2c9d0aed Spaces to tabs 2020-06-12 23:49:33 +09:00
Kijin Sung
2d1a7ec432 Add ability to parse routes into regexp 2020-06-12 23:19:23 +09:00
Kijin Sung
7cf17bc43f Implement SimpleXML parsers for info.xml and module.xml 2020-06-12 22:41:18 +09:00