conory
adf067e557
오타로 Context::addHtmlFooter()시 줄바꿈되지 않은 문제 수정
2020-08-04 01:10:45 +09:00
Kijin Sung
5f8ceafdf6
Merge branch 'develop' into next
2020-07-11 11:48:41 +09:00
Kijin Sung
c3c57e582c
Fix #1348 apply xpressengine/xe-core#2148
2020-07-10 02:05:53 +09:00
Kijin Sung
143600306d
Clean up editor module
2020-07-09 16:37:04 +09:00
Kijin Sung
dfc1082c85
Add UA::getLocale()
2020-07-05 20:21:44 +09:00
Kijin Sung
5985ca5b6b
Merge branch 'develop' into next
2020-07-05 00:09:26 +09:00
Kijin Sung
03f8081550
Send application/json content-type with JSON responses
2020-07-04 19:08:17 +09:00
Kijin Sung
68f428edd7
Fix getUrl() not resetting existing params when called with an array
2020-07-04 00:29:58 +09:00
Kijin Sung
67dfb3c282
Remove optional SSL
2020-07-03 00:41:59 +09:00
Kijin Sung
9fdcd86f1d
Add XMLRPCParser class to parse XE-compatible XML requests
2020-07-03 00:03:58 +09:00
Kijin Sung
84b7e9f8eb
Enable router with JSON requests
2020-07-02 16:42:12 +09:00
Kijin Sung
96950161f1
Use Context::getResponseMethod() to decide the response format
2020-07-02 16:28:15 +09:00
Kijin Sung
dd603639e0
Allow JSON requests with actual JSON payload
2020-07-02 16:13:31 +09:00
Kijin Sung
54375d16ad
Fix incorrect URL in admin header
2020-07-02 14:29:18 +09:00
Kijin Sung
ad5169bc7a
Remove legacy DB classes and XML query parser classes
2020-06-30 12:20:12 +09:00
Kijin Sung
92ff69591f
Use new parser to create all tables
2020-06-26 13:51:22 +09:00
Kijin Sung
e9bec851f9
Fix forms with empty actions
2020-06-20 15:50:22 +09:00
Kijin Sung
a6318436c2
Adjust argument priority
2020-06-19 11:33:21 +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
85fcc79457
Reorganize data exchange format between Context and Router
2020-06-18 20:06:59 +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
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
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
Kijin Sung
480635d131
Fix relative URLs in form actions and other HTML attributes
2020-06-17 18:38:26 +09:00
Kijin Sung
ca183c89a0
Fix missing variables
2020-06-16 20:55:06 +09:00
Kijin Sung
e83e82f8d3
Update Context::getUrl() to use Router
2020-06-14 20:31:57 +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
f01fb9ae42
Merge branch 'develop' into next
2020-06-12 10:28:36 +09:00
Kijin Sung
494e0ee028
Clean up usage of is_countable()
2020-06-08 20:35:54 +09:00
Min-Soo Kim
67a9aba082
Check is_countable in the DB.class.php
2020-06-07 23:03:52 +09:00
Min-Soo Kim
a641b3103a
is_countable?!
2020-06-07 22:56:21 +09:00
Kijin Sung
a5f7d25b32
Fix Object::getObjectVars()
2020-05-21 21:00:01 +09:00
Kijin Sung
4f1264dee5
Merge pull request #1292 from kijin/pr/object-cleanup
...
모듈 클래스 인스턴스를 직접 생성할 수 있도록 개선
2020-05-20 21:34:41 +09:00
Kijin Sung
14ad62e869
Fix incorrect use of curly braces in legacy classes
2020-05-19 20:52:44 +09:00
Kijin Sung
052930a6d4
Replace some usages of getModel(), getController(), etc. with getInstance()
2020-05-18 21:45:44 +09:00
Kijin Sung
abedfbb55c
Implement getInstance() for module classes
2020-05-18 21:20:38 +09:00
Kijin Sung
fda343afd1
Set $this->user only once
2020-05-18 20:41:57 +09:00
Kijin Sung
564563f56c
Clean up constructors and other method signatures
2020-05-18 20:37:16 +09:00
Kijin Sung
2cbfd4500c
Remove error_return_url more efficiently
2020-05-18 19:54:05 +09:00
Kijin Sung
586f010f55
Allow passing an array of keys/values to getUrl()
...
getUrl()을 호출할 때 파라미터 이름과 파라미터 값을 풀어서 각각의 파라미터로
넘길 필요 없이, 하나의 연관배열로 넘길 수 있도록 허용합니다.
$args = array(
'mid' => $mid,
'document_srl' => $document_srl,
);
getUrl($args);
이 문법을 사용하면 맨 앞에 빈 문자열을 넘겼을 때와 마찬가지로 기존의 URL
파라미터들은 모두 초기화됩니다. 즉 아래와 동일한 효과입니다.
getUrl('', 'mid', $mid, 'document_srl', $document_srl);
기존의 URL 파라미터들을 남겨놓으려면 기존 방식대로 풀어서 써야 합니다.
2020-05-18 19:41:06 +09:00
Kijin Sung
12f603feee
Fix #1288 support meta keywords and description per domain
2020-05-17 21:38:37 +09:00