Commit graph

38105 commits

Author SHA1 Message Date
Michael Vogel
5c8708f4c9
Merge pull request #13308 from MrPetovan/bug/13216-toggle-mobile-local
Rework Module\ToggleMobile to check for local links
2023-07-26 20:26:48 +02:00
Hannes Heute
8cc9471a7b added class in the mobile menu, too 2023-07-26 19:59:08 +02:00
Philipp
8ed94037d5
Move PConfig to strategies 2023-07-26 19:18:23 +02:00
Philipp
58f56c7d7d
Move KeyValuePairStorage to strategies 2023-07-26 19:18:09 +02:00
Philipp
f2c02a79b9
Move Cache to strategies 2023-07-26 19:17:43 +02:00
Hank Grabowski
b0fe1927d5 Fix Mastodon API bookmark, mute, pin, reblog EPs temporarily by checking if blog in post func 2023-07-26 19:12:24 +02:00
Hank Grabowski
7a556d1588 Fix Mastodon API fav/unfav temporarily by checking if blog in post func 2023-07-26 19:12:24 +02:00
Hank Grabowski
532a46d188 Change selectOriginal post to return earliest post from non-0 user
I believe the earliest entry not being uid=0 should be the original post of a reshared post
2023-07-26 19:12:23 +02:00
Hank Grabowski
8d9e0b4eae Fix Mastodon API Reshared statuses are a stub w/content in reblog field 2023-07-26 19:12:23 +02:00
Hypolite Petovan
8c06f96531 Rework Module\ToggleMobile to check for local links
- Remove dependency on DI class
- Remove dependency on request/session superglobals
- Remove dependency on App class
2023-07-26 19:11:39 +02:00
Hypolite Petovan
148c1c7e1a Add new BaseUrl->isLocalUri and BaseUrl->isLocalUrl methods
- Deprecate Util\Network->isLocalLink to reduce dependency on DI class
2023-07-26 19:11:39 +02:00
Hannes Heute
e53b875e79 fix frio alignment 2023-07-26 19:09:31 +02:00
Roland Häder
3111c2fd5c
Renamed to 'public' after feedback 2023-07-26 10:20:14 +02:00
Michael Vogel
f1da323b07
Merge pull request #13307 from MrPetovan/bug/13240-event-private
Fix item.private value in Model\Event::getItemArrayForId
2023-07-26 07:38:21 +02:00
Hypolite Petovan
e73a94e7d6
Merge pull request #13309 from annando/api-upload
API: Description added at picture upload
2023-07-26 06:31:00 +02:00
Michael Vogel
0ecdb0252a
Merge pull request #13305 from MrPetovan/bug/13304-item-drop-args
Restore `item/drop/{item_id}` route in mod/item
2023-07-25 23:38:45 +02:00
Michael
9e434c15dc API: Description added at picture upload 2023-07-25 21:27:12 +00:00
Hypolite Petovan
e468870e87 Fix item.private value in Model\Event::getItemArrayForId
- The $event array doesn't have a `private` key because the event table doesn't have a `private` field.
2023-07-25 22:48:37 +02:00
Hypolite Petovan
7e8a44c15b Remove duplicate fields in Model\Event::getItemArrayForId
- Fix formatting in Model\Event
2023-07-25 22:47:27 +02:00
Hypolite Petovan
592e829347 Fix wrong field name in Model\Mail 2023-07-25 22:44:03 +02:00
Hypolite Petovan
e5b887b462
Merge pull request #13306 from annando/buffer
Fix v1/instance endpoint to make Buffer work
2023-07-25 22:20:36 +02:00
Michael
8d49ea29d2 Fix v1/instance endpoint to make Buffer work 2023-07-25 20:14:26 +00:00
Hypolite Petovan
00ddc9cfd7 Restore item/drop/{item_id} route in mod/item 2023-07-25 20:16:18 +02:00
Philipp
51b128c678
Merge pull request #13303 from MrPetovan/bug/warnings
Remove useless call to gethostbyname()
2023-07-25 20:13:16 +02:00
Hypolite Petovan
bb98046846 Remove useless call to gethostbyname()
- This function doesn't return a falsy value even when no IP address was able to be retrieved for the given host name
- Address https://github.com/friendica/friendica/issues/13157#issuecomment-1638505285
2023-07-25 15:37:33 +02:00
Tobias Diekershoff
28d55c8c5d
Merge pull request #13302 from annando/gotosocial
Fix JsonLD parsing problems with GoToSocial
2023-07-25 07:08:39 +02:00
Michael
407e6389b3 Fix JsonLD parsing problems with GoToSocial 2023-07-25 04:33:55 +00:00
Tobias Diekershoff
98e50a49f0
Merge pull request #13299 from annando/issue-13020
Issue 13020: Fix OAuth connection with Buffer
2023-07-24 06:38:02 +02:00
Michael
6fd4839441 Reformatted code 2023-07-23 20:20:46 +00:00
Michael
61af2e8006 Issue 13020: Fix OAuth connection with Buffer 2023-07-23 20:05:10 +00:00
Hypolite Petovan
4a5abd1527
Merge pull request #13294 from annando/restricted-access
The access to the profile and the list of followers/followings can now be restricted
2023-07-23 21:00:22 +02:00
Michael
db1dc143f1 Merge remote-tracking branch 'upstream/develop' into restricted-access 2023-07-23 14:30:43 +00:00
Michael
9e726eadee Coded reformatted 2023-07-23 14:27:08 +00:00
Michael
60c7bc90e6 Removed unneeded check 2023-07-23 13:59:01 +00:00
Hypolite Petovan
aee420152f
Merge pull request #13246 from nupplaphil/feat/addons
Introduce dynamic hook loading
2023-07-23 06:58:46 -04:00
Michael
f0563df991 Fix notice 2023-07-22 16:00:09 +00:00
Michael
15eb840792 Merge remote-tracking branch 'upstream/develop' into restricted-access 2023-07-22 12:38:03 +00:00
Tobias Diekershoff
8cfac0b02a
Merge pull request #13295 from annando/issue-13289
Issue 13289: Ignore unsupported networks
2023-07-22 13:38:18 +02:00
Michael
7538f6a346 Issue 13289: Ensure to not respect deactivated connector networks 2023-07-22 10:49:42 +00:00
Michael
579b7065bd full instead of limited 2023-07-22 01:40:21 +00:00
Philipp
ede8896721
Make PHP-CS happy 2023-07-21 22:47:09 +02:00
Philipp
cba656383e
Adhere feedback
- rename hooks.config.php to strategies.config.php
- change all corresponding classes and tests
2023-07-21 22:42:24 +02:00
Michael
26aa38341f The access to the profile and the list of followers/followings can now be restricted 2023-07-21 07:06:55 +00:00
Michael
d84866cf8c Merge remote-tracking branch 'upstream/develop' into develop 2023-07-18 05:06:28 +00:00
Philipp
e659a03140
Apply suggestions from code review
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2023-07-17 20:20:21 +02:00
Roland Häder
bcd2b1c523
Fixed:
- allow administrator to choose whether the blocklist is published under
  `/about` or later any other API (e.g. common is
  `/api/v1/instance/domain_blocks`).
2023-07-17 15:01:47 +02:00
Hypolite Petovan
54033b5e5a
Merge pull request #13285 from annando/more-privacy
Unified BBCode conversion, improved proxy functionality
2023-07-17 08:00:53 -04:00
Philipp
d440b9a63f
Restore LoggerInterface import 2023-07-17 01:56:13 +02:00
Philipp
3a0c18713e
Remove unused ProfilerLogger factory 2023-07-17 01:41:02 +02:00
Philipp
447f9daa9f
Fix PHP-CS 2023-07-17 01:19:37 +02:00