Commit graph

10423 commits

Author SHA1 Message Date
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
Tobias Diekershoff
eeadc00e83 bump VERSION to 2022.12 2022-12-20 06:48:39 +01:00
Michael
e733adcaae Issue 12419: Quickhack to make GoToSocial work 2022-12-19 21:21:06 +00:00
Michael
d39f4014e4 Fix delivery problems with "reachable" test 2022-12-19 19:41:04 +00:00
Philipp
20374ab5a2
Merge pull request #12447 from MrPetovan/bug/12441-profile-contacts
Retrieve contact records for the page visitor in several modules
2022-12-19 17:14:43 +01:00
Philipp
c9f92f41fb
Merge pull request #12479 from MrPetovan/bug/deprecated
Fix several Deprecated notices
2022-12-19 17:13:12 +01:00
Hypolite Petovan
f2188835e7 Add logging and default value when JSON encode->decode fails in JsonLD::compact
- Address part of https://github.com/friendica/friendica/issues/12011#issuecomment-1357768936
2022-12-19 10:22:05 -05:00
Hypolite Petovan
06ea61f0ed Provide default value for system.banner config key
- Address part of https://github.com/friendica/friendica/issues/12011#issuecomment-1357768936
2022-12-19 10:17:57 -05:00
Hypolite Petovan
6a17223289 Ward against null value in language key of item array in Mastodon\Status object
- Address part of https://github.com/friendica/friendica/issues/12011#issuecomment-1357768936
2022-12-19 10:11:12 -05:00
Hypolite Petovan
b1b0bfc280 Don't compute system.update_interval when it's -1 (disabled)
- Address part of https://github.com/friendica/friendica/issues/12011#issuecomment-1357768936
2022-12-19 10:05:21 -05:00
Hypolite Petovan
eb9af005f0 Fix module instantiation in Profile\Index module
- Address https://github.com/friendica/friendica/issues/11992#issuecomment-1357441775
2022-12-19 09:50:42 -05:00
Hypolite Petovan
29330a4205 Remove DI dependency in Profile\Status module 2022-12-19 09:50:42 -05:00
Hypolite Petovan
9da21bf680 Remove fallback contact query from Model\Contact::photoMenu
- Correct contact is now supplied to the method
2022-12-19 09:50:18 -05:00
Hypolite Petovan
2d9633a595 Retrieve contact records for the page visitor in Profile\Common module 2022-12-19 09:50:18 -05:00
Hypolite Petovan
472bde99a4 Retrieve contact records for the page visitor in Contact\Contacts module 2022-12-19 09:50:17 -05:00
Hypolite Petovan
fca1abbafe Retrieve contact records for the page visitor in Profile\Contacts module 2022-12-19 09:50:17 -05:00
Hypolite Petovan
36a8962333 Remove DI dependency in Contact\Hovercard module 2022-12-19 09:50:17 -05:00
Hypolite Petovan
7458721f9f Remove DI dependency in Profile\Common module 2022-12-19 09:50:16 -05:00
Hypolite Petovan
a633532475 Remove DI dependency in Contact\Contacts module 2022-12-19 09:50:16 -05:00
Hypolite Petovan
cef408c842 Remove DI dependency in Module\Profile\Contacts 2022-12-19 09:50:16 -05:00
Michael Vogel
8f22b4f33d
Update src/Model/GServer.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2022-12-19 15:22:21 +01:00
Michael
feb74b4d9a Don't perform a delivery to failing servers 2022-12-19 09:30:56 +00:00
Tobias Diekershoff
86a486f62b
Merge pull request #12472 from MrPetovan/bug/12466-profile-photos-aside
Remove VCard for owner in Profile\Photos module
2022-12-19 07:38:13 +01:00
Tobias Diekershoff
9d38671ec9
Merge pull request #12471 from MrPetovan/bug/12468-bbcode-img-code
Skip literal text in ActivityPub\Transmitter::removePictures
2022-12-19 07:03:31 +01:00
Tobias Diekershoff
b4db8fe8d2
Merge pull request #12469 from MrPetovan/bug/12462-tos-rules
Skip blank lines in Tos module
2022-12-19 06:58:42 +01:00
Hypolite Petovan
5392bafbb4 Remove VCard for owner in Profile\Photos module
- Remove unused remote contact retrieval
- Remove contact list from aside for non-owner visitors
2022-12-18 23:52:33 -05:00
Hypolite Petovan
2372e50e3b Skip literal text in ActivityPub\Transmitter::removePictures 2022-12-18 23:32:52 -05:00
Hypolite Petovan
39607b20e2 Convert custom profile field URL values to rel="me" links 2022-12-18 23:24:59 -05:00
Hypolite Petovan
76e9c4daa2 Fix link to profile page in custom profile fields settings
- Previous link was leading to conversations
2022-12-18 22:49:49 -05:00
Hypolite Petovan
07f7585e40 Remove DI dependency in Profile\Profile module 2022-12-18 22:49:18 -05:00
Hypolite Petovan
1cc0c1148e Skip blank lines in Tos module 2022-12-18 22:16:41 -05:00
Michael
e057b39f68 Issue 12185: Problems adding contacts 2022-12-18 15:43:35 +00:00
Philipp
40777d08c1
Merge pull request #12459 from MrPetovan/bug/12454-link-preview-translation
Add missing t() call in Settings\Display module
2022-12-18 09:26:04 +01:00
Michael
1899c53516 API: Fix interoperability between Friendica and Mastodon part 2022-12-18 06:30:32 +00:00
Hypolite Petovan
52e3126cba Add missing t() call in Settings\Display module 2022-12-18 01:04:04 -05:00
Hypolite Petovan
9718484f9e Remove DI dependency in Settings\Display module 2022-12-18 01:04:04 -05:00
Hypolite Petovan
c7e53cb9b4 Use account-user-view entry to instantiate Api\Mastodon\FollowRequest objects
- Address https://github.com/friendica/friendica/issues/11993#issuecomment-1354395861
2022-12-18 01:03:37 -05:00
Hypolite Petovan
43aa9cddc5 Trim terms of service rules before turning them to an array 2022-12-17 21:13:52 -05:00
Michael
ed520a3f39 Fix image grid in shared Friendica posts 2022-12-17 22:07:14 +00:00
Hypolite Petovan
cdf180c58d Add new calendar.default_view pconfig key 2022-12-17 12:20:43 -05:00
Hypolite Petovan
83e34ef8e7 Move first_day_of_week pconfig key to calendar category 2022-12-17 12:20:14 -05:00
Hypolite Petovan
c69705d34e
Merge pull request #12446 from annando/preview-image
Fix: Images must not be removed on preview
2022-12-17 01:25:13 -05:00
Michael
2e6ab0e312 Fix: Images must not be removed on preview 2022-12-17 05:48:09 +00:00