Commit graph

17305 commits

Author SHA1 Message Date
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
e9bec851f9 Fix forms with empty actions 2020-06-20 15:50:22 +09:00
Kijin Sung
3a13b51068 Add basic structure of unit test for Router 2020-06-19 14:20:30 +09:00
Kijin Sung
fda931ede0 Fix unit tests to match expected behavior 2020-06-19 13:54:37 +09:00
Kijin Sung
f82a0417cd Add experimental support for short URLs for POST requests 2020-06-19 13:48:16 +09:00
Kijin Sung
4a433fa536 Support short URLs for module 2020-06-19 13:47:57 +09:00
Kijin Sung
f8a47bbabb Improve error handling when module.xml doesn't exist 2020-06-19 13:47:14 +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
358832922e Fix incorrect global route detection 2020-06-19 11:14:10 +09:00
Kijin Sung
9372ee4cce Change some internal methods to protected in ModuleHandler 2020-06-18 21:20:23 +09:00
Kijin Sung
99f36f56a6 Change unnecessary ModuleModel instance method calls to static calls in ModuleObject 2020-06-18 21:08:16 +09:00
Kijin Sung
41e02eb89a General cleanup of ModuleHandler init() 2020-06-18 21:04:44 +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
7e47c1cb8a Fix duplicate cache key 2020-06-18 14:14:29 +09:00
Kijin Sung
5fa72f8629 Add 404 error handler and update permission data structure 2020-06-18 14:13:23 +09:00
Kijin Sung
e20c06bf00 Replace $_GET in ModuleHandler with router results 2020-06-18 13:48:41 +09:00
Kijin Sung
6286fd3397 Display 404 error if a route cannot be found 2020-06-18 13:25:16 +09:00
Kijin Sung
527e16c924 Merge branch 'next' into next-router 2020-06-18 13:17:28 +09:00
Kijin Sung
4cd548cd58 Merge branch 'develop' into next 2020-06-18 13:16:38 +09:00
Kijin Sung
8ab971f696 Improve #1321 2020-06-18 13:10:32 +09:00
Kijin Sung
c164f506bb Fix #1324 extra_vars not saved when editing widget page 2020-06-18 12:14:52 +09:00
Kijin Sung
4c7e3dea82 Return more detailed information from router 2020-06-18 11:23:20 +09:00
Kijin Sung
f8ea38c22d Remove vid handling code from HTMLDisplayHandler 2020-06-18 10:38:49 +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
Min-Soo Kim
83ce4a8099
Countable or not, in communication view. (#1321)
* 커뮤니케이션 모듈 내용 중 null 이 반환되는 가능성이 있는 부분 예외 상황 대응

https://github.com/rhymix/rhymix/pull/1309 연관
2020-06-17 23:00:14 +09:00
Kijin Sung
221f30484f Fix regexp for detecting valid mid/act/module 2020-06-17 22:54:22 +09:00
Kijin Sung
31c38c03a9 Cleanup unnecessary module instances in ModuleHandler 2020-06-17 22:40:01 +09:00
Kijin Sung
85c2f87f13 Move some security measures from ModuleHandler to Context 2020-06-17 22:31:22 +09:00
Kijin Sung
b5740052fc Move SSL redirection logic to Context::init() 2020-06-17 22:25:40 +09:00
Min-Soo Kim
588f7a6df8
에디터 스킨 스타일 추가 수정 (미세 수정) (#1320)
#1308 에 대한 추가 수정입니다.
2020-06-17 21:29:08 +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
480635d131 Fix relative URLs in form actions and other HTML attributes 2020-06-17 18:38:26 +09:00
Kijin Sung
3bbb175cd1 Fix missing action_forward in integration_search module 2020-06-17 16:56:55 +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
5dcb0d332b Extend action_forward feature to include route info 2020-06-17 15:52:06 +09:00
BJRambo
ea381a46c6 import a file config, check if it is a object and run clone 2020-06-17 14:56:57 +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
Kijin Sung
ca183c89a0 Fix missing variables 2020-06-16 20:55:06 +09:00