1
1
Fork 0
Commit graph

683 commits

Author SHA1 Message Date
a66bb09b40 Moved function to Arrays.php 2021-11-08 22:10:07 +00:00
cfac13790b "escapeTags" is finally removed 2021-11-07 09:18:25 +00:00
1219a4d00e Issue 10947: Send correct accept-header for AP 2021-11-03 19:06:07 +00:00
516018861e Merge remote-tracking branch 'upstream/develop' into error-handling 2021-10-31 05:25:39 +00:00
4236a9a105 Improved http error handling 2021-10-29 23:21:07 +00:00
22663c4ae5
Move Introspection to Logger package 2021-10-29 12:37:22 +02:00
409d909d0f
Restructure HTTPClient for new paradigm 2021-10-28 20:01:03 +02:00
184f6cc255
Restructure Logger to new paradigm 2021-10-28 20:01:02 +02:00
58eea1adaa
Cleanup namespaces 2021-10-26 22:11:10 +02:00
b216317477
Refactoring Core class structures ... 2021-10-26 22:11:09 +02:00
ab83d0dd27
Restructure (P)Config to follow new paradigm 2021-10-26 22:11:06 +02:00
68046573a4
Restructure Cache to follow new paradigm 2021-10-26 22:11:06 +02:00
a497bd3a3d Merge remote-tracking branch 'upstream/develop' into logging 2021-10-22 06:06:39 +00:00
096dacf0fd Manually expand ACLs coming from non-permissionset tables
- Return early if parameter is empty in ACLFormatter->expand
- Address https://github.com/friendica/friendica/issues/10756#issuecomment-949049195
2021-10-21 18:56:43 -04:00
f6faae5bb1 Replace deprecated log calls 2021-10-20 18:53:52 +00:00
ab17fbf6b2 Unneeded "ProxyUtils" renamed to "Proxy" 2021-10-05 20:18:19 +00:00
a31a64827f Display the current timezone in date time picker fields 2021-10-03 13:42:32 -04:00
6db211568a Remove most calls to date_default_timezone_* calls
- It was wrongly used to set the node-wide ot user-specific timezone
- It is now fully managed from the App object
- Add a static variable to DateTimeFormat maintain the convenient local() method
2021-10-03 13:42:31 -04:00
fabrixxm
eadcc8dc93 Handle reading empty file in ReversedFileReader
fix #10766
2021-09-27 12:14:19 +02:00
7f7f0eb10c Improve compacting error logging in Util\JsonLD
- Exceptions thrown by friendica/json-ld are nested and their string representation shows all the exception chain
2021-09-22 23:09:46 -04:00
840d9823d4 Log unexpected value 2021-09-22 03:25:01 +00:00
7ac76639c5 AVoid warning when fetching page data 2021-09-22 02:41:24 +00:00
27e4586597
Move path determination logic into the ConfigFactory 2021-09-12 13:44:29 +02:00
5702944116
Add the possibility to use a different configuration directory 2021-09-11 14:33:26 +02:00
bdb5aa6bd9 Make the proxy functionality optional 2021-09-09 12:40:19 +00:00
13a91e63aa
Rename DI::httpRequest() into DI::httpClient() 2021-08-25 21:54:54 +02:00
505100bdd7
Rename HTTPRequestOptions to HTTPClientOptions 2021-08-25 21:45:15 +02:00
0cafa871f1
Use HTTPRequestOptions constants for HTTPClient::get() 2021-08-25 21:31:30 +02:00
aad7bac686
Use HTTPRequestOptions constants for HTTPClient::post() 2021-08-25 21:31:30 +02:00
befd5c860d
Fix headers (string to array) and make sure the signature doesn't change 2021-08-25 14:22:43 +02:00
2356221aba
Fixup HTTP headers for httpClient requests 2021-08-25 14:22:43 +02:00
65ca164487
A lot of Fixings 2021-08-20 21:35:14 +02:00
06371d29a6
Cleanup 2021-08-20 20:03:42 +02:00
26401e88b8
IHTTPResult::getContentType is now a string again 2021-08-20 19:58:42 +02:00
803c1d71de
Fix IHTTPResult::getHeader()
- Now returns a string array, like expected
- Fix usages
- Fix dataset
2021-08-20 19:58:42 +02:00
3c074ab315
HTTPRequest: Replace getInfo() with new parameter 'content_length' 2021-08-20 19:58:42 +02:00
dee1899628
Fix IHTTPResult::getHeader/s()
- Split functionality "getHeader()" and "getHeaders()" analog to IMessageInterface::getHeader/s()
- Fix functionality at various places - Adapt CurlResultTest
2021-08-20 19:58:42 +02:00
fabrixxm
3766204b05 Fix code standard 2021-08-20 11:09:35 +02:00
fabrixxm
7f695197aa Fix review points
- Fix headers hierarchy
- Improve accessibility:
 	- set mouse pointer
	- make rows focusable
	- open on key press
	- add tooltip with "title"
	- add role and aria attributes
- Rename `ParsedLog` to `ParsedLogLine`
- Add docs to `ReversedFileReader`'s implementation of `Iterator`'s methods
- Add docs to `ParsedLogIterator`'s implementation of `Iterator`'s methods
- Remove unnecessary comment
- Add more test for parsing log lines and fix some edge cases
- Fix function name in snake-case to camelCase
- Remove `DIRECTORY_SEPARATOR`
2021-08-20 11:02:18 +02:00
fabrixxm
dd2abc7aff Fix code standard 2021-08-19 15:20:25 +02:00
fabrixxm
ec4f53d56f Add DI to ParsedLogIterator, replace constructors with fluent api 2021-08-19 14:56:51 +02:00
fabrixxm
84fa668845 Fix code formatting 2021-08-19 14:55:33 +02:00
fabrixxm
5b9aeeeca9 Add search and filter to log view 2021-08-19 14:55:33 +02:00
fabrixxm
9368f5445d Display structured logs in admin
Tries to parse log lines and to display info in a table.
Additional JSON data is parsed and displayed clicking on a row.

File reading and line parsing is handled in iterators, to avoid to keep
too much data in memory.
Search and filter should be trivial to add.
Log file is read backward to display log events newest first.
A "tail" functionality should be easy to implement.
2021-08-19 14:55:33 +02:00
51ebb1541a
- Revert HTTPSignature change 2021-08-16 23:27:42 +02:00
5dcdf2322e
Split IStorage and ISelectableStorage and make their behaviour homogenous 2021-08-16 23:27:41 +02:00
5056376902 We need to create a vapid public and private key 2021-08-15 12:57:29 +00:00
8b6ace6629 Don't continue when key couldn't be created 2021-08-15 06:45:48 +00:00
e28a4265c5 API: First steps to support subscriptions 2021-08-15 00:30:41 +00:00
Michael Vogel
f7f79a240a Are the tests happy? 2021-08-12 15:12:41 +02:00