Commit graph

477 commits

Author SHA1 Message Date
Kijin Sung
59f14d8a3f Import DB parser classes from previous private project 2020-06-22 11:00:18 +09:00
Kijin Sung
1bb7248e3e Add tests for Router::getURL() and Router::parseURL() 2020-06-22 00:52:51 +09:00
Kijin Sung
60247f7d53 Separate route cache by rewrite level 2020-06-22 00:04:25 +09:00
Kijin Sung
67d4217052 Set default language if lang_type is not available 2020-06-22 00:04:08 +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
b5740052fc Move SSL redirection logic to Context::init() 2020-06-17 22:25:40 +09:00
Kijin Sung
65df40ad9f Merge branch 'next' into next-router 2020-06-17 21:12:57 +09:00
Kijin Sung
00246165b3 Merge branch 'develop' into next 2020-06-17 21:09:41 +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
7ac27fffce Reorganize type shortcuts 2020-06-16 23:24:47 +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
BJRambo
3006bfe598 Cleanup code like 99d1633a69 2020-06-15 19:33:54 +09:00
BJRambo
99d1633a69 Cleanup code 2020-06-15 19:30:06 +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
BJRambo
32bbdb0d50 Simplify unnecessary inspection operations 2020-06-14 20:27:03 +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
BJRambo
ce4f6133cc Add comment to uploadImage funtion 2020-06-14 15:05:06 +09:00
BJRambo
6516984dc0 do not use Curl and send more that two message, create a group to improve text message.
* messages 혹은 $options->to 으로 넘어오는 전화번호의 갯수의 의해 문자를 2건 이상 전송할 경우 무조건 그룹메세지를 통해 전송하도록 고침.
* static선언하는 메소드들을 전부 static선언을 지움
* 최종 요청을 FileHandler::getRemoteResource() 으로 처리하도록 고침
2020-06-14 14:53:48 +09:00
BJRambo
a925f68871 Add to image upload for SolAPI driver 2020-06-13 21:43:06 +09:00
BJRambo
8c4e300f1a Add SolAPI driver for SMS 2020-06-13 20:19:45 +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
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
b706f2f6ab Add support for the generic mid/act URL pattern 2020-06-13 00:27:23 +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
e6c61c4042 Support module-defined routes 2020-06-12 23:38:01 +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