1
1
Fork 0
Commit graph

395 commits

Author SHA1 Message Date
3395f56036 Add Unicode support to autolink regular expression
- Explicitly exclude non-breaking spaces from URLs as \s doesn't include them
2019-05-19 18:51:55 -04:00
6f3019ecdd Revert PR 7158 since it breaks umlauts 2019-05-19 09:34:49 +00:00
8fb9722cdc Replace htmlspecialchars_decode with html_entity_decode in XML::unescape
- Replace htmlspecialchars with htmlentities in XML::escape
- This allows for converting all entities from Diaspora messages to regular characters
2019-05-18 13:15:51 -04:00
87b98b8249 Sending direct messages via AP does work now - receiving is pending 2019-05-14 17:50:45 +00:00
eef85584c2 AP: Parsing of messages from Pleroma should work now again 2019-04-26 06:17:37 +00:00
af92f46a2d Workaround for systems who don't use a correct context in ActivityPub 2019-04-25 13:30:30 +00:00
1480380af6
Basepath Hardening 2019-04-14 16:17:58 +02:00
03e149270b
bugfix 2019-04-14 14:40:26 +02:00
1dd1684885
Hardening save method in BaseURL 2019-04-10 20:38:39 +02:00
40c075cf47
BaseURL hardening 2019-04-09 08:48:04 +02:00
edd4f06ad0
Adding tests 2019-04-09 08:31:18 +02:00
318a3ca785
Create own base URL class which holds the whole base url business logic 2019-04-09 08:31:16 +02:00
6f94e51ba6 Add Strings::sanitizeFilePathItem method 2019-03-31 21:39:19 -04:00
55325f191b Merge remote-tracking branch 'upstream/develop' into ap-delivery-failure 2019-03-26 21:36:46 +00:00
198e150ba8 Archive inboxes after 5 days of delivery failures 2019-03-25 21:51:32 +00:00
d78598b64e
Fixing basepath issue 2019-03-25 09:39:33 +01:00
23654ce566
Added Update checks
- Logging
- Console
- Admin overview
2019-03-24 22:51:30 +01:00
49def0dc27
Adding ConfigFileSaver and tests 2019-03-24 13:47:35 +01:00
fa31bb6dde
remove basepath and hostname from admin panel and add update path 2019-03-24 13:47:31 +01:00
383a6715c3
Added first version of ConfigCacheSaver 2019-03-23 19:34:54 +01:00
d03dedee63 Set Timezone to 'UTC' for every Logger (Develop) 2019-03-22 23:14:48 -04:00
f63956851b Adding Logger Tests 2019-03-22 23:13:26 -04:00
aee348fa02 Adding Logger Tests 2019-03-22 23:13:26 -04:00
7bebb03f95 Fix php doc 2019-03-22 23:13:25 -04:00
eec4ee3fed Rename & Testfix 2019-03-22 23:13:25 -04:00
cc8a6c85ae typo 2019-03-22 23:13:24 -04:00
7658916540 Added StreamLoggerTest 2019-03-22 23:13:24 -04:00
81ba5376d0 Added StreamLogger and ProfilerLogger 2019-03-22 23:13:23 -04:00
22f1983cc0 cleanup sysloglogger 2019-03-22 23:11:14 -04:00
25b6db6aca Moving Profiling to class 2019-03-22 23:07:39 -04:00
4810ca570f Refactored Logging environment (cleaned up) 2019-03-22 23:00:38 -04:00
21158e7699 Syslog - Disabling 2019-03-22 22:55:46 -04:00
d712d36814 Adding UID and Level To String mapping 2019-03-22 22:52:46 -04:00
ae40963507 Code cleanup 2019-03-22 22:52:46 -04:00
ec59e538fc Adding ident 2019-03-22 22:52:46 -04:00
9c5e0ae415 Adding SyslogLogger 2019-03-22 22:52:45 -04:00
0aab620d32 Enable remote authentication with HTTP Signatures 2019-03-19 06:44:51 +00:00
a876c20850 Use HTTP-Signature to authenticate when fetching photos. 2019-03-18 22:33:20 +00:00
0c738c4f8b Exclude punctuation from domain in autolinker regular expression 2019-03-17 19:37:26 -04:00
8f96e383a7
Remove new lines from domain name part of autolinker regular expression in Util\Strings
- Fixes issue where the autolinker would include the next paragraph is a pathless URL was followed by new lines.
2019-03-11 14:37:56 -04:00
184b51ec56 Move autolink regex in Util\Strings 2019-03-09 23:25:53 -05:00
d40cbdce32 Remove unnecessary @throws tag in Util\Network 2019-03-08 22:39:08 -05:00
a911baf8e5 Avoid transmitting a deletion message when we don't have a key 2019-03-04 06:52:43 +00:00
888e2ce2a9 Added forgotten "use" 2019-03-03 07:05:57 +00:00
3237dab1a4 Added warning about an empty key 2019-03-03 07:01:11 +00:00
0b2cdf5d26 Issue 6395: Don't log details to avoid memory issues 2019-02-28 09:07:24 +00:00
2b53784094
Reuse existing Strings::getRandomHex function 2019-02-27 18:32:25 +01:00
8c1db51a76 Improve Logger calls
- Replace various deprecated Logger::log calls
- Reassign log level for verbose log calls
2019-02-23 17:32:11 -05:00
1917f04153 Rewrite Term class
- Move term type constants from TERM_* to Term::*
- Move term object type constants from TERM_OBJ_* to Term::OBJECT_TYPE_*
- Add Term::isType() method
- Add Strings::startsWith()  method
2019-02-23 17:32:11 -05:00
1a0398a5b3
Merge pull request #6723 from nupplaphil/issue/6658-worker_id
Adding worker ID to log
2019-02-23 08:38:08 -05:00
3aae84edd1
[rendertime] Timing problem during addon config read 2019-02-23 01:24:08 +01:00
ee37632695
Adding worker id & functionname to worker logs 2019-02-22 20:10:27 +01:00
466f7a0ee5
adding test 2019-02-20 17:20:17 +01:00
107293bd61
Fixing rendertime 2019-02-20 17:12:40 +01:00
1df19d3553
Merge pull request #6697 from annando/memory-jsonld
Avoid memory issue in exception of JSON-LD parser
2019-02-19 09:40:01 +01:00
4facd1dfdb Avoid memory issue in exception 2019-02-19 07:49:27 +00:00
5e5c39b0e1
Refactored DependencyFactory for Profiler 2019-02-17 21:12:12 +01:00
c36a0eabdb
fixing reset() 2019-02-17 10:34:48 +01:00
3d07774509
removed wrong log-output 2019-02-17 01:57:59 +01:00
88fd871844
refactoring & test fixing 2019-02-17 01:18:21 +01:00
6d73dcbe3d
Adding composer & tests 2019-02-17 00:03:38 +01:00
0a7861da65
Dependency of callstack moved one layer up 2019-02-16 23:17:10 +01:00
5e6e1a8025
Introducing Profiler 2019-02-16 23:11:30 +01:00
b79bd63231
move isDirectoryUsable to System 2019-02-05 22:30:18 +01:00
6a9d73f7d9
Refactoring ConfigCacheLoader methods 2019-02-05 22:27:57 +01:00
4af0119b73
3) Introducing ConfigFactory 2019-02-03 22:22:04 +01:00
d7e35b5802
Making the processor name more explicit 2019-01-28 18:41:29 +01:00
26af96f31a
improving code 2019-01-28 18:26:35 +01:00
9fe1da5f94
Double backslash 2019-01-28 12:35:14 +01:00
88e2cc9fa2
removing array prefix (compatibility) 2019-01-28 11:35:08 +01:00
a5e12f53e8
Logger Unique ID 2019-01-28 11:21:48 +01:00
b90c8c6346 Logger: Display the correct file, function and line number 2019-01-24 14:23:42 +00:00
Michael Vogel
6e7ca479d6
Merge pull request #6508 from nupplaphil/logger_enh
Adding an explicit FriendicaProcessor
2019-01-24 11:15:57 +01:00
7634663970
Adding an explicit FriendicaProcessor 2019-01-24 08:13:44 +01:00
64847e7cc8 Fix types in doc blocks/prototypes 2019-01-23 09:06:58 -05:00
0c19c4c75d Fix missing reference to 'data' key in Util\Crypto
- Fix doc blocks
2019-01-23 09:06:57 -05:00
ce177f22c8 Fix doc blocks and return value type 2019-01-21 11:36:01 -05:00
7f2dc40601 Fix potential bugs without expected behavior change
- Fix uninitialized variables
- Fix potentially not set variables
- Fix wrong parameter default value
- Fix method scope
- Fix missing return value
2019-01-21 11:04:19 -05:00
ad9c67663d Move Contact::Page_* constants to User::PAGE_FLAGS_* 2019-01-21 10:55:37 -05:00
9e0be97703 Bugfixing legacy loglevel 2019-01-21 10:54:41 -05:00
4a95ca280d Remove unused code
- Remove commented code
- Remove unused/immediately overwritten variables
- Remove extraneous parameters
- Remove unreachable code
- Remove duplicate array keys
2019-01-21 10:48:40 -05:00
cb3f09ae4f Refactor namespaces
- Remove unused use statements
- Add required use statements
- Escape global classes
2019-01-21 10:43:42 -05:00
3282ce5389 Fix PHPDoc comments project-wide 2019-01-21 10:35:51 -05:00
2e602afd3e Add Monolog 2019-01-21 10:10:40 -05:00
2f49c4a058 Revert "Add monolog" 2019-01-21 10:08:09 -05:00
fabrixxm
c3c0332536 return default mimetype for unknown extensions 2019-01-21 10:00:47 -05:00
df230126c9 skipStackFramesCount to 1 to skip static method 2019-01-21 09:59:11 -05:00
45bde8fef1 Adding more information in case of warning (or dev) 2019-01-21 09:59:11 -05:00
6150c2fa9c Bugfixing 2019-01-21 09:59:11 -05:00
7f7ed16dc2 Log format 2019-01-21 09:59:09 -05:00
8f9c0fe149 Adding Develop and normal Logging instances 2019-01-21 09:59:08 -05:00
55e54bb950 Replace deprecated Addon::callHooks with Hook::callAll
- Update documentation
2019-01-21 09:50:56 -05:00
895b3abf32 Remove/replace killme() with *exit() 2019-01-21 09:49:17 -05:00
ce37e981cb This fixes a problem when the URL is too long 2019-01-16 22:34:57 +00:00
ae2a8b796c Avoid a notice in HTTP signature check, preparation for authentication 2019-01-15 06:31:12 +00:00
9bec202232 Adding the date to signed get requests as well 2019-01-14 16:33:23 +00:00
2f2184cf12 Date check added for HTTP signatures 2019-01-14 16:03:13 +00:00
aa4aaf1971 Enable communication with Peertube 2019-01-14 12:10:11 +00:00
c1dec50248 Avoiding some notices 2019-01-13 18:03:13 +00:00
8b5b66838d Issue 6438: Avoid fatal error 2019-01-13 16:00:27 +00:00