Commit graph

39 commits

Author SHA1 Message Date
Kijin Sung
8c161bc28d Various fixes to improve PHP 8.0 compatibility
- XmlParser 클래스가 PHP 내장 클래스가 되어버려서 XeXmlParser로 변경
- 함수나 파라미터의 형태가 맞지 않아서 치명적인 오류 나는 곳 수정
- undefined 변수 및 배열 키 다수 수정 (치명적인 오류는 아님)
- 계속 수정중...
2020-10-31 00:25:26 +09:00
Kijin Sung
9752c2ed61 Fix #1432 incorrect redirect in widget document edit popup 2020-10-21 23:57:37 +09:00
Kijin Sung
54375d16ad Fix incorrect URL in admin header 2020-07-02 14:29:18 +09:00
Kijin Sung
6e6aa6401d Detect the index action in Router 2020-07-01 15:17:19 +09:00
Kijin Sung
e4d40af5ec Add missing end marker to router regexp 2020-06-30 20:26:01 +09:00
Kijin Sung
60247f7d53 Separate route cache by rewrite level 2020-06-22 00:04:25 +09:00
Kijin Sung
2abeaba75d Fix indentation (spaces -> tabs) 2020-06-21 18:11:15 +09:00
Kijin Sung
075f1d935d Add exclusion list for modules like socialxe 2020-06-21 17:49:33 +09:00
Kijin Sung
4a433fa536 Support short URLs for module 2020-06-19 13:47:57 +09:00
Kijin Sung
ba0f29c9b3 Improve module detection and argument handling 2020-06-19 12:47:29 +09:00
Kijin Sung
a6318436c2 Adjust argument priority 2020-06-19 11:33:21 +09:00
Kijin Sung
e17ddbbdb1 Remove nonsense import 2020-06-18 20:08:30 +09:00
Kijin Sung
85fcc79457 Reorganize data exchange format between Context and Router 2020-06-18 20:06:59 +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
4c7e3dea82 Return more detailed information from router 2020-06-18 11:23:20 +09:00
Kijin Sung
c7949e11db Fix 404 error when document_srl is the only part of the URL 2020-06-18 10:38:36 +09:00
Kijin Sung
f92fc9c980 Use action_forward to register standalone routes from all modules 2020-06-17 16:56:42 +09:00
Kijin Sung
a08ec31f2b Remove unnecessary variables from route 2020-06-17 12:37:19 +09:00
Kijin Sung
a814b4e334 Improve parsing of route definitions and deleted vars 2020-06-17 12:33:21 +09:00
Kijin Sung
bb3d1f08a1 Allow standalone routes from other modules to be used 2020-06-17 00:18:10 +09:00
Kijin Sung
2feba015f4 Store found routes in cache for fast lookup of similar arguments 2020-06-16 23:52:13 +09:00
Kijin Sung
c0c11a42ff Separate _getBestMatchingRoute() from _insertRouteVars() 2020-06-16 23:30:37 +09:00
Kijin Sung
1f11dbe41f Fix priority detection when priority is 0 2020-06-16 21:36:54 +09:00
Kijin Sung
a2bd361737 Implement route priority 2020-06-16 21:33:26 +09:00
Kijin Sung
f227617fa9 Fix actions from other modules not being recognized 2020-06-14 20:46:01 +09:00
Kijin Sung
5869201023 More fixes to XE compatible routes 2020-06-14 20:31:41 +09:00
Kijin Sung
d0b0790beb Reorganize rules and conditions 2020-06-14 20:24:31 +09:00
Kijin Sung
d582b712db Minor cleanup 2020-06-14 20:08:56 +09:00
Kijin Sung
df003ec7e8 Improve handling of XE-compatible global routes 2020-06-14 19:31:33 +09:00
Kijin Sung
bf8d2c8b09 Improve handling of multiple routes per action 2020-06-13 11:48:58 +09:00
Kijin Sung
7fc3d83888 Generate mid/act URLs, too 2020-06-13 01:45:33 +09:00
Kijin Sung
607de73a76 Implement reverse generation of URLs 2020-06-13 01:38:45 +09:00
Kijin Sung
b706f2f6ab Add support for the generic mid/act URL pattern 2020-06-13 00:27:23 +09:00
Kijin Sung
e6c61c4042 Support module-defined routes 2020-06-12 23:38:01 +09:00
Kijin Sung
f0b8836595 Fix short URL for category 2020-06-12 20:20:30 +09:00
Kijin Sung
a680f89326 Adjust some parts of Context class for better integration with Router 2020-06-12 14:54:05 +09:00
Kijin Sung
baddbd3cba Support XE-compatible rewrite rules 2020-06-12 14:16:36 +09:00
Kijin Sung
1cd3cfc7d9 Support different rewrite levels for XE compatibility 2020-06-12 13:24:01 +09:00