Commit graph

37401 commits

Author SHA1 Message Date
Hypolite Petovan
323765110c Enable calendar export for public_calendar = true 2023-01-14 10:39:18 -05:00
Hypolite Petovan
45a6888647 Update tests after removing App dependency from hook calls 2023-01-14 10:38:38 -05:00
Hypolite Petovan
e73adde5fb Remove App dependency from Hook::callSingle
- This was causing a circular dependency with the logger_instance hook
2023-01-14 10:38:37 -05:00
Hypolite Petovan
79d1506694
Merge pull request #12671 from annando/lock-config
Added default config for the lock driver
2023-01-14 09:50:38 -05:00
Hypolite Petovan
2d555b60dd
Merge pull request #12670 from annando/fix-avatar-cache
Ensure to reset the avatar paths when deleting avatar cache
2023-01-14 09:47:21 -05:00
Michael
6f95654592 Added default config for the lock driver 2023-01-14 14:44:49 +00:00
Michael
3e3f2555dc Ensure to reset the avatar paths when deleting avatar cache 2023-01-14 13:10:43 +00:00
Hypolite Petovan
91ff24b0e4
Merge pull request #12663 from nupplaphil/sec/xss_404
Security: Use htmlspecialchars() for user input in Arguments class
2023-01-13 13:57:41 -05:00
Hypolite Petovan
aac18ca5bd
Merge pull request #21 from MrPetovan/imgbot
[ImgBot] Optimize images
2023-01-13 11:21:34 -05:00
ImgBotApp
9b820807a2
[ImgBot] Optimize images
*Total -- 255.34kb -> 242.82kb (4.9%)

/images/default/gotosocial.svg -- 7.94kb -> 4.95kb (37.69%)
/images/default/plume.png -- 18.09kb -> 12.91kb (28.64%)
/images/default/corgidon.png -- 34.83kb -> 32.17kb (7.65%)
/images/default/koyuspace.png -- 1.12kb -> 1.08kb (4.34%)
/images/friendica-maskable.svg -- 0.39kb -> 0.39kb (1.49%)
/images/friendica-maskable-512.png -- 5.15kb -> 5.08kb (1.4%)
/mods/fpostit/friendica.svg -- 0.42kb -> 0.42kb (1.38%)
/images/friendica.svg -- 0.42kb -> 0.42kb (1.38%)
/images/friendica-banner.jpg -- 91.27kb -> 90.38kb (0.97%)
/images/diaspora-banner.jpg -- 83.38kb -> 82.77kb (0.73%)
/images/default/hometown.png -- 12.31kb -> 12.26kb (0.38%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2023-01-13 16:15:03 +00:00
Philipp
a31d5ae7b1 Security: Use htmlspecialchars() for user input in Arguments class 2023-01-13 09:23:16 -05:00
Hypolite Petovan
0ad246f910 Drop UpdateContact worker task if contact is blocked
# Conflicts:
#	src/Worker/UpdateContact.php
2023-01-13 09:23:01 -05:00
Hypolite Petovan
ee8e70e20e Drop UpdateGServer worker task if domain is blocked
# Conflicts:
#	src/Model/GServer.php
2023-01-13 09:21:43 -05:00
Hypolite Petovan
fab06c32e6 Add UriInterface-enabled isUriBlocked method in Util\Network 2023-01-13 09:20:14 -05:00
Hypolite Petovan
69f97649d2 Add UriInterface-enabled cleanUri method in Model\GServer
- Tests!
2023-01-13 09:20:09 -05:00
Michael
24208ef125 Fix: Forum posts from some contacts weren't distributed 2023-01-13 09:19:10 -05:00
Michael
0c8e0a033d Improved handling of forum mentions 2023-01-13 09:18:47 -05:00
Michael
91aaf74402 Distribute forum comments only via the forum 2023-01-13 09:16:31 -05:00
Philipp
0530755332
Security: Use htmlspecialchars() for user input in Arguments class 2023-01-12 20:24:39 +01:00
Hypolite Petovan
a7d0355849
Merge pull request #12659 from DanielSiepmann/12658-fix-feed-urls-with-whitespace
Properly handle feed item urls with surrounding whitespace
2023-01-12 07:57:30 -05:00
Hypolite Petovan
8e9b3234f4
Merge pull request #12657 from annando/display-blocked
Mode depending control for the behaviour with blocked contacts
2023-01-12 07:48:44 -05:00
Daniel Siepmann
6633b0af4b
Properly handle feed item urls with surrounding whitespace
Some feeds might have whitespace around the URLs of each item.
This can't be handled by parse_url.
Therefore the incoming url is trimmed to not contain any surrounding
whitespace for proper handling.

Relates: #12658
2023-01-12 13:47:57 +01:00
Michael
8a902afde5 Updated messages.po - again 2023-01-12 07:06:24 +00:00
Michael
6cdafb6b63 Fix "Undefined constant Friendica\Content\Conversation::PARCEL_DIASPORA" 2023-01-12 06:57:31 +00:00
Michael
5b8752edd9 Updated messages.po 2023-01-12 06:35:49 +00:00
Michael
f542211189 Mode depending control for the behaviour with blocked contacts 2023-01-12 06:25:55 +00:00
Hypolite Petovan
ec54b303c5
Merge pull request #12655 from annando/fix-communication
Fix: Forum posts from some contacts weren't distributed
2023-01-11 17:04:41 -05:00
Michael
53e8b21ca3 Fix: Forum posts from some contacts weren't distributed 2023-01-11 21:55:32 +00:00
Hypolite Petovan
8596902abd
Merge pull request #12653 from nupplaphil/bug/config_revert_null
Revert Cache delete() behavior to stable version
2023-01-11 16:06:28 -05:00
Philipp
fef10e8a57
Improve encapsulation 2023-01-11 22:00:29 +01:00
Philipp
11a8bd17e3
Assure that deleted cat/keys are working as expected
- A deleted cache-key would delete a merged cache-key as well
- Deleting a key in the Model results in reloading the config to assure any value from underlying files
2023-01-11 21:53:34 +01:00
Philipp
fd882abd80
Revert Cache delete() behavior to stable version 2023-01-11 21:10:59 +01:00
Philipp
eda65296f5
Merge pull request #12635 from MrPetovan/task/12629-contact-threads-tab
Replace remaining mentions of "Status" by "Conversations" or "Posts"
2023-01-11 19:50:38 +01:00
Hypolite Petovan
9f902571b7 Update main translation file after changing strings 2023-01-11 09:01:30 -05:00
Hypolite Petovan
5c8cd8fdd6 Replace remaining mentions of "Status" by "Conversations" or "Posts" 2023-01-11 09:01:29 -05:00
Hypolite Petovan
d0648b10ef Convert Content\Nav to dynamic object
- Remove DI dependency in Module\Apps
2023-01-11 09:01:24 -05:00
Michael Vogel
f17d1f359f
Merge pull request #12647 from MrPetovan/bug/12607-image-user-theme
Enable profile user theme on single photo display
2023-01-11 07:44:57 +01:00
Hypolite Petovan
120b78e30a Enable profile user theme on single photo display 2023-01-10 20:40:35 -05:00
Philipp
1fc7d5ae85
Merge pull request #12645 from MrPetovan/bug/warnings
Replace HTML regular expression by HTML::extractCharset in ParseUrl::getSiteInfo
2023-01-10 19:23:52 +01:00
Hypolite Petovan
3966b58965 Only show line number if it's provided in System::callstack
- Address https://github.com/friendica/friendica/issues/12488#issuecomment-1377373973
2023-01-10 10:41:20 -05:00
Hypolite Petovan
3fcafd1d50 Replace HTML regular expression by HTML::extractCharset in ParseUrl::getSiteInfo
- Address https://github.com/friendica/friendica/issues/12488#issuecomment-1374537440
2023-01-10 10:36:59 -05:00
Hypolite Petovan
5e2b655b43 Add implementation of HTTP Media Type
- Add charset extraction from DOMDocument
- TESTS!
2023-01-10 10:36:58 -05:00
Hypolite Petovan
f4b5d22396
Merge pull request #12644 from annando/improve-ignore
Improve the ignore behaviour
2023-01-10 09:05:48 -05:00
Michael
20a2cec0b0 Moved permission assigning / simplified block check 2023-01-10 05:59:25 +00:00
Philipp
4eea80bdd9
Merge pull request #12642 from MrPetovan/bug/fatal-errors
Address a few Fatal Errors
2023-01-09 23:14:05 +01:00
Hypolite Petovan
14e4c0db8e Check image property is set in Object\Image
- Property was either an object or null, strict comparison with "false" was inaccurate
- Address https://github.com/friendica/friendica/issues/12486#issuecomment-1374888800
2023-01-09 16:06:22 -05:00
Hypolite Petovan
b77f3a7525 Check for URI ID existence in Post\Media::insert
- Address https://github.com/friendica/friendica/issues/12486#issuecomment-1374538325
2023-01-09 16:06:22 -05:00
Hypolite Petovan
4d5d8e5b64 Add line number to output in System::callstack 2023-01-09 16:06:22 -05:00
Hypolite Petovan
670b518875 Include other unique key column in condition in Model\Tag:store
- Address https://github.com/friendica/friendica/issues/12486#issuecomment-1372640002
2023-01-09 16:06:22 -05:00
Michael
194b84141d Updated messages.po 2023-01-09 17:29:42 +00:00