Commit Graph

37980 Commits

Author SHA1 Message Date
Tobias Diekershoff 3a98b958d3
Merge pull request #13327 from MrPetovan/bug/field-value-escape
Remove escaping exception for form field values
2023-08-02 20:14:50 +02:00
Tobias Diekershoff bf2c19b2e0
Merge pull request #13328 from MrPetovan/bug/escape-username
Escape HTML in system messages and in display names for inclusion in syndication link tags
2023-08-02 20:13:20 +02:00
Hypolite Petovan cc7fce3d36 Escape HTML in display names for inclusion in syndication link tags
- Thanks to Laura Pîrcălăboiu for the report
2023-08-02 16:59:46 +02:00
Hypolite Petovan f984e385c8 Escape HTML in system messages
- Thanks to Laura Pîrcălăboiu for the report
2023-08-02 16:59:08 +02:00
Hypolite Petovan ecfbf317ae Fix reference to username field in Contact::updateSelfFromUserID
- Profile isn't updated with the display name in the account settings
2023-08-02 16:58:14 +02:00
Hypolite Petovan 6f9e15ea57 Remove escaping exception for form field values
- This could allow code injection from a malicious query leading to a form page
- Thanks to Laura Pîrcălăboiu for the report
2023-08-02 16:30:48 +02:00
Hypolite Petovan 13cb8bb395
Merge pull request #13325 from annando/video
Improvements for Youtube posts via API
2023-08-01 23:54:23 +02:00
Michael 7ad8894871 Improvements for Youtube posta via API 2023-08-01 14:27:56 +00:00
Hypolite Petovan 737422330a
Merge pull request #13323 from annando/relay
Improvements for relays like relay.fedi.buzz
2023-07-30 20:53:14 +02:00
Michael 639d160c24 Improvements for relais like relay.fedi.buzz 2023-07-30 17:46:37 +00:00
Hypolite Petovan 91effb3576
Merge pull request #13321 from nupplaphil/bug/redis
Make InstanceManager strategy naming convention case insensitive.
2023-07-29 16:04:45 +02:00
Philipp 367d9149aa
test 2023-07-29 13:51:03 +02:00
Philipp 6bcf5cb823
Make InstanceManager strategy naming convention case insensitive. 2023-07-29 13:20:02 +02:00
Philipp 06df62a2b5
Fix Woodpecker 2023-07-28 20:12:25 +02:00
Hypolite Petovan 4073400bfb
Merge pull request #13298 from nupplaphil/feat/strategies
[Hook] Introduce some more strategies
2023-07-28 19:50:37 +02:00
Philipp e231907b3c
add opensocial as location for db-based execution 2023-07-28 19:07:29 +02:00
Philipp 8ee58aaf18
try making php-lint faster.. 2023-07-28 19:02:08 +02:00
Philipp bed13f71bd
use default_key 2023-07-28 18:55:06 +02:00
Philipp 5291401de0
rename woodpecker "pipeline" to "steps" 2023-07-28 17:45:31 +02:00
Philipp 0c6efe50c3
Remove unused parameter 2023-07-28 17:39:13 +02:00
Philipp acf52a9783
Added a lot of constants :-) 2023-07-28 17:39:13 +02:00
Philipp 9ff89a970a
Rename NAME to constant 2023-07-28 17:39:12 +02:00
Philipp bbfec06a3d
Add "getName()" test 2023-07-26 21:44:31 +02:00
Philipp 9f18222a06
Unify "Capability" 2023-07-26 21:44:31 +02:00
Hypolite Petovan 8835cd6c3b
Merge pull request #13313 from haheute/frio-alignment
fix frio alignment
2023-07-26 21:19:06 +02:00
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