Commit graph

5119 commits

Author SHA1 Message Date
Hypolite Petovan f813183fcf [twitter] Valid post body can be empty 2022-07-09 17:40:56 -04:00
Hypolite Petovan 347792bf74 [various] Remove unused uid parameter in Item::newURI 2022-07-09 15:51:41 -04:00
Hypolite Petovan 6822079a03 [twitter] Add logging for error conditions in twitter_fetchtimeline() 2022-07-03 11:40:59 -04:00
Tobias Diekershoff ed1de0cd18
Merge pull request #1271 from MrPetovan/bug/fatal-errors
[cookienotice] Fix wrong type-hint in hook function cookienotice_page_end
2022-07-03 14:46:26 +02:00
Hypolite Petovan aa16591b9f [cookienotice] Fix wrong type-hint in hook function cookienotice_page_end
- Fix "Argument 2 passed to cookienotice_page_end() must be of the type array, string given" error
2022-07-03 08:37:53 -04:00
Tobias Diekershoff 4c58a99e4f
Merge pull request #1270 from MrPetovan/bug/fatal-errors
[cookienotice] Fix wrong type-hint in hook function cookienotice_page_content_top
2022-07-03 06:31:08 +02:00
Hypolite Petovan ff0c7ac104 [cookienotice] Fix wrong type-hint in hook function cookienotice_page_content_top
- Fix "Argument 2 passed to cookienotice_page_content_top() must be of the type array, string given" error
2022-07-03 00:26:55 -04:00
Hypolite Petovan fe4982d51b
Merge pull request #1269 from Quix0r/rewrites/type-hints-double-single-001
Changed type-hints and changed double-quotes to single
2022-06-30 12:26:01 -04:00
Roland Häder 2fc719f720
2nd parameter is not a body 2022-06-30 17:44:07 +02:00
Roland Häder 06b15a6ed0
Changes:
- added missing type-hints
- avoided local variables
- added some documentation
- changed double-quotes to single
2022-06-30 13:33:22 +02:00
Tobias Diekershoff c0c15644a3
Merge pull request #1268 from MrPetovan/bug/fatal-errors
[various] Fix hook function type-hints
2022-06-27 06:40:50 +02:00
Hypolite Petovan 90dec95b6e [various] Fix hook function type-hints
- Address https://friendica.xyz/display/adf174d5-1562-b8d8-53d7-ffd690518338
2022-06-26 19:36:45 -04:00
Tobias Diekershoff de4c972501
Merge pull request #1267 from nupplaphil/feat/woodpecker
Use labels for woodpecker continuous deployments
2022-06-26 15:57:18 +02:00
Philipp Holzer ed3184fd0b
Use labels for woodpecker continuous deployments 2022-06-26 15:45:58 +02:00
Philipp Holzer df8cc5d6c3
Merge pull request #1266 from MrPetovan/bug/fatal-errors
[qcomment] Fix wrong type hint for footer hook function
2022-06-25 11:06:39 +02:00
Hypolite Petovan 88739fcb70 [qcomment] Fix wrong type hint for footer hook function
- Address https://github.com/friendica/friendica/issues/11630#issuecomment-1166188409
2022-06-25 04:58:59 -04:00
Hypolite Petovan 3c5d0dc0cd
Merge pull request #1265 from Quix0r/rewrites/double-quotes-single
Rewrites/double quotes single
2022-06-24 18:49:05 -04:00
Roland Häder 02d4a560a1
Changes:
- added type-hint + intval() (@MrPetovan)
- also changed `if (!$foo == '')` to `if ($foo != '')`
- added some spaces for better readability
2022-06-24 23:35:20 +02:00
Roland Häder 3ab46781b1
Changes:
- if a <addon>_module() function is empty, it is more a statement and not a
  real function
2022-06-24 23:35:16 +02:00
Roland Häder e895b55f6d
Cleaned up 2022-06-23 17:28:15 +02:00
Roland Häder 6c84c9dfc9
Changes:
- made variable $uriId camel-case
2022-06-23 16:04:54 +02:00
Roland Häder 52d971ceab
Wrong type-hint 2022-06-23 12:05:14 +02:00
Roland Häder def2389b57
Wrong type-hint + renamed $b -> $body 2022-06-23 07:54:20 +02:00
Roland Häder 93267b5b83
Fixed wrong type-hint + "imported" class 2022-06-23 07:45:59 +02:00
Roland Häder 43c0e689f9
Wrong type-hint + renamed $b -> $body 2022-06-23 07:42:35 +02:00
Roland Häder 4239112dec
Ops 2022-06-23 07:37:12 +02:00
Roland Häder 37f3f0e621
Wrong types, why call $b so often ... 2022-06-23 07:34:57 +02:00
Roland Häder af994b4818
Ops, wrong type 2022-06-23 07:28:19 +02:00
Roland Häder a2760cb1d1
Re-formatted a bit 2022-06-23 07:27:10 +02:00
Roland Häder 04df7f6e05
Changes:
- added more type-hints
- cleaned up some files (curly braces, spaces)
2022-06-23 07:17:00 +02:00
Roland Häder a1e17968d1
leistungsschutzrecht_is_member_site() returns boolean value 2022-06-23 06:26:42 +02:00
Roland Häder 0ecd772958
Changes:
- added some type-hints
- changed double-quotes to singl
- cleaned up file (e.g. wrong place for curly braces)
2022-06-23 06:21:07 +02:00
Roland Häder 3bda8dfa32
Changes:
- changed more double-quotes to single
- cleaned up js_upload/file-uploader/server/php.php a lot
- added some type-hints
2022-06-23 06:09:29 +02:00
Roland Häder 28cdecea93
Changes:
- changed more double-quotes to single
- `include` is not a function
2022-06-23 05:53:10 +02:00
Roland Häder be9d786ef9
Ops, we need this back! :-( 2022-06-23 05:50:12 +02:00
Roland Häder b9f330fa18
Changed:
- removed discouraged ?>
- changed double-quotes to single
2022-06-23 01:48:01 +02:00
Hypolite Petovan 4603ca00e6
Merge pull request #1264 from Quix0r/fixes/empty-array-get-info-from-url
Images::getInfoFromURL[Cached]() will both return empty arrays ...
2022-06-22 13:32:31 -04:00
Roland Häder f7ba4848bc
Changes:
- ops, my bad that I misunderstood @MrPetovan here and maybe me having a cold :-/
- also made $contactId camel-case
2022-06-22 19:01:50 +02:00
Roland Häder 7d171c9787
Converted more double-quotes to single 2022-06-22 19:01:45 +02:00
Roland Häder 07307823ca
Changed more double-quotes to single 2022-06-22 18:55:48 +02:00
Roland Häder 04466968dc
Let's avoid local variables 2022-06-22 18:19:52 +02:00
Roland Häder d39717a2d5
Converted more double-quotes to single 2022-06-22 18:19:11 +02:00
Roland Häder b1b26062fc
Images::getInfoFromURL[Cached]() will both return empty arrays on error and that needs to be reflected here, too. 2022-06-22 17:20:11 +02:00
Hypolite Petovan 4e825fe621
Merge pull request #1263 from loma-one/develop
Complement the gif emoji
2022-06-19 07:14:09 -04:00
loma-one bb913f81a3 Merge branch 'loma-one-patch-1' into develop 2022-06-19 09:46:30 +02:00
loma-one b4aae7fab3 Supplement emoji
Complete the fediverse, commercial emoji & close the name by :
2022-06-19 08:57:40 +02:00
loma-one 631ad78efc
Add files via upload 2022-06-18 08:53:09 +02:00
Hypolite Petovan 62a49c3c63
Merge pull request #1262 from loma-one/patch-3
Duplicates merged
2022-06-15 13:02:44 -04:00
loma-one dc5e218526
Update unicode_smilies/unicode_smilies.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2022-06-15 18:42:25 +02:00
loma-one ab71c7b80b
Update unicode_smilies/unicode_smilies.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2022-06-15 18:42:15 +02:00