Commit graph

247 commits

Author SHA1 Message Date
Kijin Sung
39757ea3db Implement force sender for SMS 2016-11-12 16:21:58 +09:00
Kijin Sung
ddc0da173a Minor adjustments to make configuration easier 2016-11-12 15:17:32 +09:00
Kijin Sung
270555d982 Fix missing trim while splitting content 2016-11-06 21:55:35 +09:00
Kijin Sung
d321a3e1c9 Fix missing subject when forced to send via SMS 2016-11-06 21:31:56 +09:00
Kijin Sung
aab6bd6d48 Minor changes to support unit testing via dummy 2016-11-06 20:54:46 +09:00
Kijin Sung
a92c77655f Improve error handling 2016-11-04 20:48:31 +09:00
Kijin Sung
50e3dc4574 Add dummy SMS driver and use it as the default 2016-11-04 20:34:50 +09:00
Kijin Sung
582374295d Refactor SMS classes to use a common spec format 2016-11-04 20:26:12 +09:00
Kijin Sung
af89fc432a Add sender_key to CoolSMS configuration 2016-11-04 17:12:46 +09:00
Kijin Sung
fc1c2b866a Fix incorrect return type in docblock 2016-11-04 16:24:38 +09:00
Kijin Sung
4bafdd77a5 Improve whitespace handling when sending split messages 2016-11-04 15:40:31 +09:00
Kijin Sung
21317a3dc0 Implement mixing multiple attachments with multiple parts 2016-11-04 15:33:32 +09:00
Kijin Sung
8c5e34edea Add more comments to recipient handling part of code 2016-11-04 14:59:43 +09:00
Kijin Sung
903571fc63 Send subsequent parts of a split MMS as LMS 2016-11-04 14:57:09 +09:00
Kijin Sung
d2e95fa8e9 Normalize newline characters in content 2016-11-04 14:45:11 +09:00
Kijin Sung
0b01c52d98 Implement delayed sending of SMS 2016-11-04 14:40:17 +09:00
Kijin Sung
bffe96456d Remove debugging code 2016-11-04 11:56:26 +09:00
Kijin Sung
22cc4cf1c7 Limit to 1000 recipients per request via CoolSMS 2016-11-04 11:55:58 +09:00
Kijin Sung
c341a14a0a Implement sending to multiple recipients via CoolSMS 2016-11-04 11:52:23 +09:00
Kijin Sung
06e9a40ef6 Implement splitting long message into multiple SMS or LMS 2016-11-04 11:37:03 +09:00
Kijin Sung
80fc8a0bd5 Add forceSMS() and common methods to check length of messages 2016-11-03 22:17:35 +09:00
Kijin Sung
21f6e5f25c Initial implementation of SMS class and CoolSMS driver 2016-11-03 21:27:26 +09:00
Kijin Sung
760bd01ec4 Fix #621 incorrect incr/decr of key group versions in Redis cache 2016-10-27 21:53:59 +09:00
Kijin Sung
371233c98c Add proper JSON headers to Woorimail API request 2016-10-22 21:34:55 +09:00
Kijin Sung
4f52122a3c Fix #593 incorrect result from checkCSRF() in GET+JSON request 2016-09-25 12:35:50 +09:00
Kijin Sung
cf6c5f727e Add option to control error logging 2016-09-14 13:13:29 +09:00
Kijin Sung
910f7220e6 Import cryptographic signature functions from XE 1.8.23 2016-08-02 16:30:33 +09:00
Kijin Sung
c71b90b2d6 Fix error when writing an empty file 2016-07-18 21:34:53 +09:00
Kijin Sung
273c95b449 Fix error when loading XML lang file with simplexml_load_file() 2016-07-12 23:35:44 +09:00
Kijin Sung
55547c56e4 Do not use safe_overwrite if target directory is not writable 2016-07-11 11:14:00 +09:00
Kijin Sung
07d97242ec Unify lang and locale config files 2016-07-03 23:58:11 +09:00
Kijin Sung
63b6ac9e37 Set the default umask automatically upon install 2016-07-03 21:48:09 +09:00
Kijin Sung
f0e6b818af Add method to recommend the best umask for the current server environment 2016-07-03 21:42:47 +09:00
Kijin Sung
480e27b55d Apply permissions before moving temp file into place 2016-07-03 21:25:05 +09:00
Kijin Sung
ce878bcaf6 Merge branch 'develop' into pr/umask 2016-07-03 21:21:17 +09:00
Kijin Sung
a15095dd00 Use umask consistently 2016-07-03 20:46:22 +09:00
Kijin Sung
ce594eece7 Throw user warnings when a file operation fails dangerously 2016-07-03 17:30:46 +09:00
Kijin Sung
2dddc982a7 Treat user warnings as same as PHP warnings 2016-07-03 17:27:59 +09:00
Kijin Sung
866b709f36 Merge pull request #535 from kijin/pr/ua-improvement
User-Agent 감지 기능 개선
2016-06-26 17:55:46 +09:00
Kijin Sung
976fa799f3 Add more edge cases and tests, always default to Mozilla/X.X 2016-06-26 17:25:59 +09:00
Kijin Sung
2086c73295 Change detection order of Opera/Konq/Chrome/Safari 2016-06-26 17:07:05 +09:00
Kijin Sung
38b3db1238 Rename OS X to macOS (official name change since Sierra) 2016-06-26 15:41:07 +09:00
Kijin Sung
c9c4d7cda1 Improve filename encoding for miscellaneous old browsers 2016-06-25 21:37:35 +09:00
Kijin Sung
c3fe8d265b Move RFC5987 encoding function to UA class 2016-06-25 21:22:32 +09:00
Kijin Sung
8fe8c9203e Improve browser detection
- Distinguish iOS from Mac OS X
- Better detection of Android default browser and webview
- Detect Chrome and Firefox on iOS
- Detect common search robots
2016-06-25 20:59:14 +09:00
Kijin Sung
8f3a9db69a Call clearstatcache() after write operations 2016-06-23 17:29:32 +09:00
Kijin Sung
30106b7fc4 Use atomic rename to safely overwrite frequently accessed files 2016-06-23 00:00:48 +09:00
Kijin Sung
6791208ae1 Prevent function arguments from being exposed in the error log
Also: Produce backtrace when a regular error occurs
Also: Remove unnecessary check for DEBUG_BACKTRACE_IGNORE_ARGS
(This is not necessary in PHP > 5.3.6)
2016-06-15 17:03:32 +09:00
Kijin Sung
7484b67b3a Fix error in Woorimail driver when the recipient's name is empty 2016-06-15 16:48:16 +09:00
Kijin Sung
6f527cc2ad Merge pull request #521 from kijin/pr/allow-id-in-html
사용자가 작성한 HTML 콘텐츠 중 일부 id 속성을 허용
2016-06-08 16:35:55 +09:00