Michael
842a4bb904
Changed function name
2022-10-25 12:40:22 +00:00
Michael
f54a886a5e
The "share" handling is improved
2022-10-25 06:37:23 +00:00
Roland Häder
26e0469de7
Merge branch 'develop' into rewrite/gravity-constants
2022-10-18 16:34:40 +02:00
Michael
018858934b
The priority is now a class constant
2022-10-17 05:49:55 +00:00
Roland Häder
da66730e4f
Rewrite:
...
- moved constants GRAVITY_* from boot.php to Friendica\Model\Item
- also rewrote some array initialization:
From:
````
<?php
$arr = [];
$arr['foo'] = "FOO";
````
To:
````
<?php
$arr['foo'] = "FOO";
````
- added a few type-hints
2022-10-15 00:44:06 +02:00
Michael
028de0e228
Quote of quotes are visually improved
2022-10-10 12:30:07 +00:00
Michael
0d3aa681b4
The quote functionality is simplified
2022-10-09 21:16:36 +00:00
Michael
48182a95fb
Improve quote share ("message_id" added)
2022-10-06 21:50:20 +00:00
Michael
8347f0144b
Fix log message
2022-10-03 11:42:50 +00:00
Michael
5127784acb
Recursively check if the thread supports Diaspora
2022-10-03 11:04:57 +00:00
Michael
7395ae22f7
Issue 11952: Avoid to send AP related comments to Diaspora
2022-10-03 10:40:16 +00:00
Michael
c3d478aeed
Improved logger calls
2022-09-04 09:22:15 +00:00
Michael
f7be610629
Fix logger warmings/errors
2022-09-03 13:32:41 +00:00
Michael
757a5c2de9
Loglevels are adjusted
2022-08-30 19:45:30 +00:00
Michael
4e3102bfb3
Diaspora: Don't check the author signature when author = parent author
2022-08-22 09:54:29 +00:00
Michael
531085890a
Fetch the parent only - thread parents only on reshares
2022-08-17 19:39:20 +00:00
Roland Häder
cfa575b8e5
Changes:
...
- added missing type-hints
- added documentation
- removed parameter $baseURL while it can be locally get the same way but
lesser parameter
- used ActivityNamespace::SALMON_ME
- changed double-quotes to single
2022-08-12 14:01:40 +02:00
Michael
b6da15557b
The post-reason / protocol is now filled in most cases
2022-07-31 15:54:35 +00:00
Michael
0971bcf165
Make the tests happy
2022-07-29 16:05:04 +00:00
Roland Häder
37bda3e5fb
Changes:
...
- fixed wrong type-hint uid => int
- added returned type-hint
- added some documentation
- formatted arrays a bit
2022-07-29 00:08:38 +02:00
Michael
b63ad63c29
Config for receiver / fix fatals
2022-07-28 21:16:42 +00:00
Hypolite Petovan
650e05bcb5
Merge pull request #11758 from Quix0r/fixes/wrong-variable-name
...
Fixed variable name + used empty()
2022-07-20 07:55:38 -04:00
Roland Häder
4b5ae32ec6
Changes:
...
- ops, fixed variable name (thanks to @annando)
- also used empty() for an empty array (and false/null)
2022-07-20 11:54:28 +02:00
Michael Vogel
fc52296a77
Merge branch 'develop' into diaspora
2022-07-20 08:12:30 +02:00
Michael
138a15404f
Fix processing of incoming Diaspora messages
2022-07-20 05:38:53 +00:00
Roland Häder
1fbda27aad
Changes:
...
- rewrote a lot local variables to an array and returned it instead of an
anonymous array
- added more debug/warning logging in case something went wrong -> lesser guessing! ;-)
- changed double-quote to single
2022-07-20 01:08:15 +02:00
Roland Häder
2ef0566ba5
Fixed:
...
- "Undefined variable: contact in .../src/Protocol/Diaspora.php on line 4097
Trying to access array offset on value of type null in .../src/Protocol/Diaspora.php on line 4097"
- see https://github.com/friendica/friendica/issues/11632#issuecomment-1189465336
2022-07-19 23:46:09 +02:00
Michael
2ddf37f32d
Emergency fixes to fix a bunch of fatal errors
2022-07-17 11:47:12 +00:00
Roland Häder
7cbb818c93
Set type-hint for parameter $data to SimpleXMLElement as $fields in dispatch()
...
is the same and being handled over.
2022-06-18 05:19:24 +02:00
Roland Häder
89302d0843
Some outside code relies on returned "false"
2022-06-18 05:06:18 +02:00
Roland Häder
aaf5c323b6
Fixed indenting
2022-06-18 05:04:14 +02:00
Roland Häder
adb4aea6ad
Changes:
...
- added some type-hints
- replaced most double-quotes (only Diaspora.php, later more) with single
- added some documentation
- normalized indenting in Diaspora.php (I hope I got all?)
2022-06-18 05:03:10 +02:00
Roland Häder
a770634b95
Ops, wrong type
2022-06-17 17:18:31 +02:00
Roland Häder
36d56a4041
Continued:
...
- changed back to 'return false;' as other methods heavily rely on false instead
of an empty array as pointed out by @heluecht@pirati.ca
- $fetched_contact should be initialized as an empty array, let's not make this
code more crazier than it already is (see APContact::getByURL())
2022-06-17 17:18:31 +02:00
Roland Häder
605e7d55b3
Continued:
...
- added more type-hints
- some methods in Diaspora returned void but integer was documented so I
changed it to -1 to have a proper type-hint
2022-06-17 17:18:31 +02:00
Michael
62367923e0
Fix several notices
2022-04-11 18:57:30 +00:00
Philipp
04866195b4
Remove accept parameter for head/post again
2022-04-03 19:33:09 +02:00
Philipp
e299fc67c8
Introduce "accept_header" as specific argument to the http client
2022-04-02 21:16:53 +02:00
Philipp
73c3b21665
Move ACCEPT constants to own "enum" class
2022-04-02 20:26:11 +02:00
Michael
1fae0123ec
Some more "accept" parameters are added
2022-03-29 06:24:20 +00:00
Michael
fb13890341
Added parameter values
2022-03-12 15:27:56 +00:00
Michael
56cd98b38b
Further improved logging
2022-03-12 07:48:31 +00:00
Michael
c1bb1cf0fc
Improved logging
2022-03-12 07:34:30 +00:00
Michael
5a16a424ac
Issue 11309: improved check for wanted posts
2022-03-12 07:08:10 +00:00
Michael
f264923cad
Issue 11309: Check if a post is wanted
2022-03-11 14:00:05 +00:00
Hypolite Petovan
52f5d924b7
Replace remaining instances of DBA::update('contact') with Contact::update()
...
- This was breaking the synchronisation between the contact and user-contact tables
2022-02-24 09:35:54 -05:00
Michael
29d83c0ffb
Block communication with Diaspora for communities
2022-02-15 07:08:02 +00:00
Michael
b857c26999
Use "account-type" instead of "page-flags"
2022-02-09 05:56:12 +00:00
Michael
ad526f5ad2
set the post-type to "poll" for incoming poll posts
2022-01-23 05:50:39 +00:00
Philipp
322b7c856c
Merge pull request #11129 from urbalazs/copyright-2022
...
Update copyright
2022-01-02 09:45:35 +01:00