Commit graph

58 commits

Author SHA1 Message Date
conory
5f563af984 사용하는 언어에 언어코드가 없을 경우 다른 언어에서 찾아 가져오기
번역되지않은 문장이 있는 경우 달랑 언어코드만을 출력하지말고, 다른 언어로 대체하기 (영어 우선)
2016-03-02 23:53:49 +09:00
Kijin Sung
34a86defb6 Fix #321 incorrect display of objects in debugPrint() 2016-03-02 09:40:14 +09:00
Kijin Sung
0b339a9450 Fix #277 Incorrect priority when loading old lang files 2016-02-24 10:37:16 +09:00
Kijin Sung
bfe6be6535 Never allow warnings to be printed before headers 2016-02-16 16:35:29 +09:00
Kijin Sung
231e7100a1 Fix duplicate namespace in IpFilter class call 2016-02-16 11:48:16 +09:00
Kijin Sung
2c7f220445 Do not exit in Debug shutdown handler 2016-02-16 11:43:03 +09:00
Kijin Sung
588fefc88f Add slow queries, triggers, and widgets to debug comment output 2016-02-16 11:33:54 +09:00
Kijin Sung
516479cf20 Migrate addon, trigger, and widget logging functions to Debug class 2016-02-16 11:01:45 +09:00
Kijin Sung
0947bafa66 Add unit tests for the Debug class 2016-02-15 16:11:00 +09:00
Kijin Sung
283a1a73bc Convert paths in error message relative to RX_BASEDIR 2016-02-15 14:36:21 +09:00
Kijin Sung
7c4fc37dd3 Make debug log filename configurable 2016-02-15 14:28:57 +09:00
Kijin Sung
e1d85ffb22 Record debug entries in error log 2016-02-14 20:08:11 +09:00
Kijin Sung
51f985c215 Only use error handler and slowlog when debugging is enabled 2016-02-13 11:29:09 +09:00
Kijin Sung
6b4d69bcc2 Remove old debug constants 2016-02-13 11:19:13 +09:00
Kijin Sung
e04efdd03e Do not display meaningless debug information 2016-02-13 10:40:40 +09:00
Kijin Sung
373305ab6b Initial implementation of debug panel on web page 2016-02-13 01:33:06 +09:00
Kijin Sung
ac8460d782 Finalize debug data format and allow all statistics to be collected 2016-02-12 21:31:38 +09:00
Kijin Sung
8394afce74 Minor adjustments 2016-02-12 20:33:05 +09:00
Kijin Sung
d63900547e Replace debug comment with new system 2016-02-12 16:35:10 +09:00
Kijin Sung
3648b8f156 Do not disable debugging inside the debugger 2016-02-12 14:45:23 +09:00
Kijin Sung
18ff40eae6 Miscellaneous fixes 2016-02-12 14:43:48 +09:00
Kijin Sung
664695553b Add default error, exception, and shutdown handlers 2016-02-12 14:14:55 +09:00
Kijin Sung
a26b17d012 The default URL is always defined 2016-02-12 11:20:45 +09:00
Kijin Sung
b7c921bd0a Add DateTime::formatTimestamp() method using the internal timezone 2016-02-12 09:09:03 +09:00
Kijin Sung
aaa3e25ad5 Implement more precise timezone handling in edge cases 2016-02-11 21:27:36 +09:00
Kijin Sung
646159e679 Set use_mobile_view to 'true' if previous setting does not exist at all 2016-02-10 09:33:24 +09:00
Kijin Sung
605fdec1a2 Allow sitelock immediately after install (#160) 2016-02-08 22:00:17 +09:00
Kijin Sung
a499aa0d1f Fix inconsistent capitalization of Rhymix 2016-02-08 16:31:10 +09:00
Kijin Sung
8a7f509a1a Separate XML lang parser into its own class 2016-02-08 15:46:48 +09:00
Kijin Sung
95bafb094b Clean up config juggling routines 2016-02-08 15:39:28 +09:00
Kijin Sung
ede85adf24 Automatically create old config file if it does not exist 2016-02-06 12:49:46 +09:00
Kijin Sung
3b641c1774 Do not leave out any custom configuration 2016-02-06 12:41:12 +09:00
Kijin Sung
5afefc063c Merge branch 'develop' into pr/new-config-format
Conflicts:
	classes/context/Context.class.php
2016-02-05 19:37:10 +09:00
Kijin Sung
58df8ae7f5 Fix parsing of XML lang files with 3 or more levels of hierarchy 2016-02-05 17:54:39 +09:00
Kijin Sung
497d3f2d22 Fix compatibility with code that uses lang arrays as objects 2016-02-05 15:39:55 +09:00
Kijin Sung
9895699591 Decode IDNA when importing default URL 2016-02-05 14:50:47 +09:00
Kijin Sung
e28856bfbb Update DB classes to use new config format 2016-02-05 14:46:55 +09:00
Kijin Sung
a36bc03970 Simplify FTP configuration using new format 2016-02-04 16:10:52 +09:00
Kijin Sung
c27da2ed24 Port all time-related functions to new timezone handling system 2016-02-04 09:39:09 +09:00
Kijin Sung
d5ba13d7e1 Improve internal timezone handling 2016-02-04 09:11:56 +09:00
Kijin Sung
0b1fa79f43 Update installer to use new config format 2016-02-03 15:39:58 +09:00
Kijin Sung
28af7b95cf Do not attempt to save new config if loading failed 2016-02-03 11:31:33 +09:00
Kijin Sung
0fba6ea226 Miscellaneous fixes to new config handling 2016-02-03 11:16:49 +09:00
Kijin Sung
ff3600b63c Add default configuration and converter 2016-02-02 21:15:31 +09:00
Kijin Sung
343ad39b79 Add method to get real IP from CloudFlare headers 2016-02-02 09:30:00 +09:00
Kijin Sung
409ab63276 Add IpFilter class that can handle CIDR, IPv6, wildcard ranges 2016-02-02 09:14:31 +09:00
Kijin Sung
0012bb296e Add basic exception class 2016-02-01 20:11:46 +09:00
Kijin Sung
56f4bdaa09 Also autoload common lang files when requested 2016-02-01 15:04:46 +09:00
Kijin Sung
61e1108afb Autoload plugin when language translation is requested 2016-02-01 14:23:53 +09:00
Kijin Sung
693fce7601 Allow plugin name in language keys 2016-02-01 13:43:14 +09:00