1
1
Fork 0
Commit graph

759 commits

Author SHA1 Message Date
8db0e090d7 Merge remote-tracking branch 'upstream/develop' into json-ld 2022-07-16 09:33:24 +00:00
8cc362fb8b Improved JSonLD parsing 2022-07-16 09:25:12 +00:00
74c5c66cb5
Add docs 2022-07-13 00:27:39 +02:00
d74e57ef2c
include suggested changes 2022-07-13 00:23:12 +02:00
a910fd8864
Split DBStructure & View to avoid DB-calls and dependencies for basic operations
- new "Definition" classes vor DB and Views
- new "Writer" classes to create SQL definitions for DB and Views
- DBStructure & View are responsible to execute DB-querys
2022-07-12 23:40:31 +02:00
4164cdacf5
Changes:
- added type-hints
- added documentation
2022-06-25 16:48:37 +02:00
a2afb101cd Fix off-by-one error in Message ID header count check in Util\Emailer 2022-06-25 05:35:24 -04:00
82bb36e13d
Changes:
- Made Item::guidFromUri()'s $host parameter optional (allowing null)
- added some type-hints
- added documentation
- this may fix reported issue in #11630
2022-06-24 03:17:57 +02:00
657a8a7cb5
Changes:
- documented null value
- two ' to much!
2022-06-23 17:30:17 +02:00
fd8f4269ff
Reformatted code 2022-06-23 17:30:17 +02:00
5699b03e8d
Changes:
- added some nodes to OpenSearch descriptor
- still no UTF-8 encoding!
- added some type-hints
2022-06-23 17:30:16 +02:00
57e741f2cf
More type-hints added 2022-06-23 17:30:15 +02:00
182c3db9b8
Changes:
- added type-hints
- added missing documentation
2022-06-23 17:30:15 +02:00
69a68be800
Added some missing type-hints 2022-06-23 17:30:13 +02:00
7eefb9aed8
Changed:
- empty() is maybe superflous here, still I would prefer a code style that is
  written explicitly and not rely on "magic casting"
2022-06-22 18:57:01 +02:00
15d8341d9a
Converted multiple single-comment (//) to multi-line comment block (/* */) 2022-06-22 18:06:35 +02:00
eb231bc548
Fixed: ?? didn't work here as bool won't be seen as null 2022-06-22 17:09:53 +02:00
d5441da49a
Fixed:
- TypeError: "Argument 1 passed to Friendica\Util\XML::escape() must be of the
  type string, null given, called in src/Util/XML.php line 171
2022-06-22 16:20:26 +02:00
feec96cbc4
Return empty array on error (I hope it works this way). 2022-06-22 14:36:47 +02:00
74ab7648c6
Changes:
- addHubLink()'s 2nd parameter is DOMElement
- added more type-hints
- converted double-quotes to single
2022-06-22 14:36:46 +02:00
12add2fb64
$data can turn into bool here 2022-06-22 14:36:46 +02:00
08f55f0358
Ops, forgot to rename these, too. 2022-06-22 14:36:46 +02:00
84bfc37bf1
Changes:
- added more type-hints
- added missing documentation
2022-06-22 14:36:45 +02:00
5fe428d3e4
Fixed:
- PHPUnit\Framework\Error\Notice:  Undefined index: language in /.../src/Util/EMailer/MailBuilder.php on line 122
2022-06-21 13:47:40 +02:00
44a9ec9b17
Rewrite:
- avoid having array|string for $table to have a "string" type-hint for $table
- you now have to do it for yourself by giving 'schema.table' as parameter
2022-06-21 13:47:38 +02:00
f1867463a0
Changes:
- added more type-hints
2022-06-21 13:47:37 +02:00
3e522ed512
Fixed:
- prevent NULL from being handled over to XML::escape()
- still I wonder that an object can be? It is a string-only accepting method
2022-06-21 01:42:37 +02:00
b6fa022a73
Changes:
- added type-hints
- added some documentation
- marked some generic methods to be moved to Util\Strings class instead
2022-06-20 23:50:24 +02:00
a0c8fc6d6e
Changes:
- added more type-hints
2022-06-20 02:48:02 +02:00
bff57bb030
Changes:
- added type-hints
- added returned type-hints in interface (I checked all)
2022-06-19 14:00:31 +02:00
33768ea1c6 Some fixes:
- $gsid's default value cannot sadly be 0, it now must be null to allow some
  code work
- added some more type-hints
- documented a bit more
2022-06-17 17:18:31 +02:00
dd54e52575 MrPetovan brought the right one up:
> Since this is depending on remote systems, the log can quickly fill with unactionable messages.
2022-06-17 17:18:31 +02:00
6035de6883
Continued:
- added more type-hints
- also cannot return FALSE when array is set
2022-06-16 19:06:41 +02:00
3444c29b0b Avoid warning "Undefined namespace prefix" 2022-05-21 06:04:34 +00:00
f6167b4cfd New function to exit the program 2022-05-18 02:13:54 +00:00
4016a576d5 Log the execution time 2022-05-17 20:47:23 +00:00
f8d929d94e Ensure to set the network timeout 2022-05-14 09:53:12 +00:00
4b5a743645 Handle timeout 2022-05-14 05:38:01 +00:00
0f0b649e8d Replace unparse function 2022-05-11 11:06:14 +00:00
020ba7a4ed The function is now usable for all formats 2022-05-11 06:58:26 +00:00
695e3d8b61 Simplifiy the split 2022-05-11 06:55:02 +00:00
47808ab0e9 Issue 11487: IDN support added 2022-05-11 06:34:25 +00:00
510dacf4df Escape BBCode tag parsing avoidance tags when processing abstracts
- Improve documentation for related methods
2022-05-07 22:19:50 -04:00
40aa67f8be Bulk transmission for AP posts 2022-05-02 05:15:27 +00:00
9eafcf8484 Update contact when the avatar hadn't been found 2022-04-28 16:46:52 +00:00
990eea2c4e We now store uncommon endpoints 2022-04-25 13:45:03 +00:00
4eecf733e1
Merge pull request #11389 from nupplaphil/feat/http_client_arg
Introduce explicit HttpClient "Accept" parameter
2022-04-08 15:05:40 -04:00
3033f79529
head fixings 2022-04-08 20:48:57 +02:00
04866195b4
Remove accept parameter for head/post again 2022-04-03 19:33:09 +02:00
5290f0cd51 Improved handling of invalid links 2022-04-03 07:31:42 +00:00