Commit graph

1149 commits

Author SHA1 Message Date
anubis2814
60211fdd8d Update src/Content/GroupManager.php
Co-authored-by: Philipp <admin+Github@philipp.info>
2023-06-05 08:40:12 -04:00
anubis2814
a7cce4013c New group button 2023-06-05 08:40:11 -04:00
Michael
b5a1f13d7c New BBCode constant for Bluesky 2023-06-05 04:31:19 +00:00
Hypolite Petovan
3385147f25 Replace "forum" by "group" in the rest of the code 2023-06-02 13:52:41 -04:00
Michael
649bbaa4c3 Separate section for contacts without any relationship 2023-05-30 09:00:29 +00:00
Hypolite Petovan
4f7740264e Replace "group" with "circle" in the rest of the code
- Remaining mentions already mean "forum"
2023-05-27 22:01:45 -04:00
Michael
5966f0cc62 Function moved to the "Strings" class 2023-05-26 14:26:55 +00:00
Michael
7e03072082 "getStyledURL" is now public 2023-05-26 07:17:09 +00:00
Michael
7d4b11b450 Preparation to add Bluesky 2023-05-21 17:19:39 +00:00
Philipp
7d58286cd9
Merge pull request #13144 from MrPetovan/bug/12683-tagcloud-link
Update tag cloud link to conversations
2023-05-20 17:42:38 +02:00
Hypolite Petovan
c5e4e342bb Update tag cloud link to conversations 2023-05-20 10:20:01 -04:00
Hypolite Petovan
c10a1f3568 Support special characters in category widget links 2023-05-20 10:10:14 -04:00
Hypolite Petovan
ccf94c5424
Merge pull request #13107 from annando/unify-link
Unifiy the creation of photo links
2023-05-18 08:01:56 -04:00
Hypolite Petovan
ff80e46eb0 Fix magic links in contact photo menu
- They were using a URL format obsolete for years
2023-05-17 19:53:22 -04:00
Michael
1010443031 Simplify image url 2023-05-17 20:30:45 +00:00
Michael
8b264c38fe Unify the heading levels 2023-05-17 08:17:23 +00:00
Michael
e13a31c4fe Ensure that the baseurl return value is a string 2023-05-11 08:13:19 +00:00
Michael
45c1d74750 The Emojipicker is added to Frio for new posts 2023-05-04 10:54:29 +00:00
Hypolite Petovan
e29e802b7c Fix link to user category in label
- Improve documentation of Content\Item->determineCategoriesTerms
2023-04-27 22:50:43 -04:00
Michael
69e4254dcc Merge remote-tracking branch 'upstream/develop' into audience 2023-04-23 21:20:01 +00:00
Michael
f0d8b109fe Preparation for Tumblr 2023-04-18 19:30:28 +00:00
Michael
bb3ec3807c Harmonize Youtube/Vimeo-Link behaviour 2023-04-18 06:02:58 +00:00
Michael
78b969cb19 Store "audience" and "attributedTo" data 2023-04-14 17:21:20 +00:00
Michael
d1af85b27f Handle exception on "head" / missing class variable added 2023-04-11 02:11:39 +00:00
Michael
db85180d1e Fix more standards 2023-04-06 19:55:41 +00:00
Michael
2f7e22c4f7 Fix code standards 2023-04-06 19:53:52 +00:00
Michael
e807da9d66 Media elements added 2023-04-05 20:08:53 +00:00
Michael
88cc788c9b Fixed NPF, new OAuth library added 2023-04-04 22:21:27 +00:00
Michael
ed875a80f7 Merge remote-tracking branch 'upstream/2023.03-rc' into npf2 2023-04-03 21:46:01 +00:00
Michael
6957c3e5c8 Deactivated not working stuff 2023-04-02 19:53:58 +00:00
Philipp
47802fbebd
Make more strings plural :) 2023-04-02 11:34:38 +02:00
Philipp
4ce6721c27
Extract liker phrase in own method 2023-04-02 11:29:38 +02:00
Philipp
83212252fd
Make likes singular/plural translatable 2023-04-02 11:29:38 +02:00
Michael
63d0c88c5a Deactivate the attributes 2023-04-02 09:09:55 +00:00
Michael
0c7be66d79 No call by reference anymore 2023-04-01 23:17:39 +00:00
Michael
70092a1aff Reworked parser 2023-04-01 21:51:30 +00:00
Michael
5f683df711 Nested blocks 2023-03-29 14:54:43 +00:00
Michael
459a7099ca Improved NPF 2023-03-28 05:25:33 +00:00
Michael
c4c80ed3cc Merge remote-tracking branch 'upstream/2023.03-rc' into npf2 2023-03-27 06:42:24 +00:00
Michael
aca4b2eaae Added support for "Tumblr Neue Post Format" 2023-03-27 06:40:22 +00:00
Josh Soref
765891f070 spelling: widget
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 20:04:18 -04:00
Josh Soref
7c5815f14e spelling: trimmed
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 20:04:18 -04:00
Josh Soref
23e1c0bb71 spelling: search
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 20:04:18 -04:00
Josh Soref
afad4f13e8 spelling: subscribed
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:14:16 -04:00
Josh Soref
67bd994456 spelling: representing
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:14:16 -04:00
Josh Soref
74ed755311 spelling: recursively
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:14:16 -04:00
Josh Soref
33f2e933e2 spelling: possibility
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:14:16 -04:00
Josh Soref
3218db1f10 spelling: needn't
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:14:15 -04:00
Josh Soref
3f6549d9a8 spelling: forums
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:23 -04:00
Josh Soref
532403ad15 spelling: formatted
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:23 -04:00
Josh Soref
fbc6832978 spelling: explanations
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:23 -04:00
Josh Soref
3d21742fbb spelling: everything
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:23 -04:00
Josh Soref
a20cb0fe98 spelling: encapsulated
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:23 -04:00
Josh Soref
aadaea7566 spelling: embed
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:23 -04:00
Josh Soref
a0680e01ea spelling: embarrassed
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:23 -04:00
Josh Soref
7e28db4523 spelling: count
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:22 -04:00
Michael
8a55ce2415 Set different permissions for comments via API 2023-03-24 20:39:11 +00:00
Michael
df6cda8a4d Issue 11513: Non public replies on public posts should now work 2023-03-23 22:25:48 +00:00
Michael
9f11d189c8 Issue 12842: Use BBCode elements that are Markdown agnostic 2023-03-21 20:32:34 +00:00
Michael
7e6ba0b4d2 Tests added 2023-03-21 04:20:03 +00:00
Michael
0f9099dec6 Issue 12701: Fix Markdown problems with Quotes 2023-03-20 21:33:39 +00:00
Michael
b7288b2bfd Merge remote-tracking branch 'upstream/2023.03-rc' into remove-tab 2023-03-20 04:16:52 +00:00
Michael
f65c71a25b Restructured replacements 2023-03-20 04:10:35 +00:00
Michael
12d2de2c93 Remove tabs if followed by new lines (or vice versa) 2023-03-19 20:16:41 +00:00
Hypolite Petovan
1ce438e964 Rework new lines around list BBCode
- Remove blanket new lines remover in HTML::toBBCode
- Add test to ensure the commutativity of the markups
2023-03-18 23:35:51 -04:00
Hypolite Petovan
200bdb55ba Normalize [ul] and [ol] BBCode output to <ul> and <ol> HTML tags 2023-03-18 23:35:51 -04:00
Michael
e73d1e13c2 Issue 12870: Support for zmg elements from Hubzilla 2023-03-18 07:05:38 +00:00
Michael
d058275723 Some tests added / ensure to have paragraphs 2023-03-17 17:40:22 +00:00
Michael
dfaf3eee6b Only add paragraphs if needed 2023-03-17 12:33:13 +00:00
Michael
1146fca2cd HTML: Use paragraphs instead of double line breaks 2023-03-17 06:10:56 +00:00
Michael
2a752b37b1 The function "getAttachedData" is replaced by a simplified functionality 2023-03-13 05:04:55 +00:00
Michael
e0fe3bf77d Fix plaintext function by partly reverting function removal 2023-03-06 18:00:58 +00:00
Michael
699be97ea1 Reformatted code 2023-03-06 06:15:30 +00:00
Michael
aea3ed4548 Code is reformatted 2023-03-05 21:46:45 +00:00
Michael
eafe54f2dd The function "getAttachedData" has been removed 2023-03-05 21:22:22 +00:00
Michael
5f6503a73f Editing/removing of attached pictures is now possible via web 2023-02-27 07:47:31 +00:00
Michael
08ba9e4183 Fix emoji activities 2023-02-21 21:07:41 +00:00
Philipp
cb106f40ca
Remove $ssl_state variable 2023-02-19 12:25:24 +01:00
Philipp
f0c29edcde
Adapt BaseURL calls to new UriInterface 2023-02-18 21:12:21 +01:00
Michael
608b5a37a4 Activities are now displayed as Emojis 2023-02-18 06:56:03 +00:00
Michael
ba4860b787 Avoid local network communication / invalid url requests 2023-01-27 05:55:45 +00:00
Michael
b46f18bdf9 Fix reply via API / fix missing variable 2023-01-25 10:16:24 +00:00
Hypolite Petovan
b4cbe4250e Remove Text\BBCode::scaleExternalImage
- Image size is a CSS concern, not a PHP one
2023-01-23 20:40:20 -05:00
Hypolite Petovan
7e618856ab Replace deprecated use of "self" in callables
- Address part of https://github.com/friendica/friendica/issues/12011#issuecomment-1383147421
2023-01-21 14:25:21 -05:00
Michael
f542211189 Mode depending control for the behaviour with blocked contacts 2023-01-12 06:25:55 +00: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
Hypolite Petovan
5e2b655b43 Add implementation of HTTP Media Type
- Add charset extraction from DOMDocument
- TESTS!
2023-01-10 10:36:58 -05:00
Michael
cd3dbad2a8 Fix some warnings on item creation 2023-01-09 15:55:35 +00:00
Michael
50e43c530e Posts from contacts can now be collapsed 2023-01-08 17:40:05 +00:00
Michael Vogel
d5bc6d0006
Apply suggestions from code review
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2023-01-07 19:54:13 +01:00
Michael
f5fd99f7ea Unbneeded strlen removed 2023-01-07 18:51:28 +00:00
Michael
9a1a406c03 Preview of attached links work again 2023-01-04 21:52:02 +00:00
Michael
d1a951f0ac Post processing centralized 2023-01-04 06:52:40 +00:00
Michael
0d56f156f7 Code cleanup for mod/item.php 2023-01-04 05:44:52 +00:00
Hypolite Petovan
1874a32728 Happy New Year 2023! 2023-01-01 09:36:24 -05:00
Hypolite Petovan
a1070f4818 Turn fake link spans into full-fledged buttons 2022-12-27 21:47:35 -05:00
Michael
e05cbf46e1 Activity "Read" is now stored 2022-12-26 08:41:40 +00:00
Hypolite Petovan
91c4ab2359 Add new xpathQuote and checkRelMeLink methods to Content\Text\HTML class
- Add tests for both methods
2022-12-23 02:41:22 -05:00
Michael
de1c0f4c13 Don't display Diaspora reshares 2022-12-20 19:25:57 +00:00
Michael
4db4d1843d Merge remote-tracking branch 'upstream/develop' into diaspora-reshare 2022-12-20 06:58:36 +00:00
Hypolite Petovan
39607b20e2 Convert custom profile field URL values to rel="me" links 2022-12-18 23:24:59 -05:00
Michael
8397ccf37c Merge remote-tracking branch 'upstream/2022.12-rc' into diaspora-reshare 2022-12-17 12:27:35 +00:00
Hypolite Petovan
d609d70bd2 Exclude [attachment] from tag search 2022-12-16 20:06:37 -05:00
Hypolite Petovan
2497817c2a Ward against empty siteinfo in Text\BBCode::embedURL
- Address https://github.com/friendica/friendica/issues/11994#issuecomment-1349593196
2022-12-15 23:33:02 -05:00
Michael
f013c92487 Only search for empty quoted reshares (Diaspora type) 2022-12-13 23:26:58 +00:00
Michael
ca8a89ed1c Use reshare with Diaspora like with ActivityPub 2022-12-13 23:19:19 +00:00
Michael
539ac4f2b8 Fix "part" calculation for splitted posts 2022-12-10 21:23:21 +00:00
Michael
870fd1a52b ID added for list of images in a post 2022-12-10 19:08:56 +00:00
Michael
498a957009 The appearanxe of the link preview is now configurable 2022-12-07 07:02:04 +00:00
Hypolite Petovan
3b3192933d Ensure null values aren't processed in Content\Text\Markdown::toBBCode
- Address part of https://github.com/friendica/friendica/issues/12011#issuecomment-1335124938
2022-12-03 04:20:27 -05:00
Hypolite Petovan
84b2a35e05 Add new public_calendar additional feature
- This gives anonymous access to public events
2022-12-01 08:06:07 -05:00
Michael
85f57e69fa Issue 12191: We can now follow and unfollow tags via API 2022-11-28 03:29:43 +00:00
Hypolite Petovan
0ec7238da4 Fix null value passed to string functions deprecation notices
- Address part of https://github.com/friendica/friendica/issues/12011#issuecomment-1321796513
2022-11-25 08:13:05 -05:00
Hypolite Petovan
77e87da441 Create /profile/{nickname}/photos route
- Create new Profile\Photos\Index module class
- Update most references of the legacy /photos/{nickname} route
2022-11-20 17:15:07 -05:00
Tobias Diekershoff
eec48057dc
Merge pull request #12221 from MrPetovan/bug/warnings
Fix various PHP 8 deprecations
2022-11-20 08:21:06 +01:00
Hypolite Petovan
6f93ee7e49 Fix various PHP 8 deprecations 2022-11-19 19:15:47 -05:00
Hypolite Petovan
24804eb042 Hide non-functional mass deletion feature in search view 2022-11-19 17:16:01 -05:00
Michael
ec92f7a81c Fix memory issue on displaying conversations 2022-11-16 04:57:46 +00:00
Philipp
584e7a7e6d
Remove trailing slash in update_ calls 2022-11-15 20:11:38 +01:00
Michael
5b70df63de Avoid link parsing problems in front of "share" elements 2022-11-12 11:20:26 +00:00
Hypolite Petovan
4a626ef101 Create new Contact\Redir module class
- Move /redir route to /contact/redir
2022-11-08 20:12:23 -05:00
Hypolite Petovan
18f54f4425 New area "moderation"
- Moved several admin pages to the moderation area
- ACL still is checking for administrator credentials
2022-11-08 02:28:42 -05:00
Michael
664071a0b1 Quoted reshares containing quoted reshares should now look fine 2022-11-07 20:44:20 -05:00
Philipp
f13c91b320
Move mod/cal.php and mod/events.php to Module 2022-11-07 19:52:24 +01:00
Roland Häder
3bdc20df15
Changed:
- added type-hints as follow-up commit to #12130
2022-11-07 19:18:34 +01:00
Michael
210200d330 Use different parser modes for Mastodon and Twitter-API 2022-11-06 20:02:43 +00:00
Michael
56ac879c92 Issue 2657: Mentions will now be recognized by clients 2022-11-06 05:43:34 +00:00
Michael
9fa3df3cbf "arrat" to "array" 2022-11-05 22:39:15 +00:00
Michael
aa2b4e15a3 Issue 11846: Fix client behaviour when following hash tags 2022-11-05 22:35:35 +00:00
Michael
4dd2d7ebab Transmit the quoted part in the source 2022-11-05 16:25:04 +00:00
Philipp
87291e30a4
Found some more follow-links 2022-10-31 20:58:34 +01:00
Hypolite Petovan
58d6e7e2bb Create Contact\Unfollow module class 2022-10-31 15:31:44 -04:00
Hypolite Petovan
5de8fe3a48 Fix unfollowing not showing on contact page
- Deleted contact rows kept the relationship status which would keep showing
- Deleting contact rows would also not update the corresponding user-contact record
2022-10-31 15:30:23 -04:00
Michael
f569ccbbc2 Code is simplyfied 2022-10-29 22:55:39 +00:00
Michael
3c169b534e Improved handling of native quotes 2022-10-29 22:11:39 +00:00
Michael
deccea0228 More functions moved to content class 2022-10-27 05:44:44 +00:00
Michael
c65fff6f93 Some more improvements for posts with shares 2022-10-26 17:00:55 +00:00
Hypolite Petovan
a7e9457ef2
Merge pull request #12061 from annando/share-rework
The "share" handling is improved
2022-10-25 09:04:16 -04:00
Hypolite Petovan
2555596158
Merge pull request #12055 from nupplaphil/feat/usersess_decorator
Extend `IHandleUserSessions` from `IHandleSessions` and adapt classes
2022-10-25 07:52:23 -04:00
Michael
1a0b63659b Merge remote-tracking branch 'upstream/develop' into share-rework 2022-10-25 08:31:01 +00:00
Michael
f54a886a5e The "share" handling is improved 2022-10-25 06:37:23 +00:00
Philipp
f03c5c7f89
implement feeback 2022-10-25 08:07:42 +02:00
Roland Häder
bf9f09182e
Changes:
- added some missing type-hints
- no need for local array `$t` (changed to "anonymous" varriant)
- formatted some arrays
2022-10-24 20:32:24 +02:00
Philipp
b5bc1b0844
Extend IHandleUserSessions from IHandleSessions and adapt classes 2022-10-23 20:41:17 +02:00
Philipp
7b3caca276
Update src/Content/Widget.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2022-10-21 19:35:34 +02:00
Philipp
44a9683008
Move "submanage" Session value into own methods 2022-10-21 19:35:34 +02:00
Philipp
cafb23f8f0
Reduce parentheses 2022-10-21 19:35:34 +02:00
Philipp
d76a2b6ad6
Move DI dependency for Content\Item class 2022-10-21 19:35:32 +02:00
Philipp
37ff477b55
Move DI dependency for App\Conversation class 2022-10-21 19:35:32 +02:00