Commit graph

2446 commits

Author SHA1 Message Date
Hypolite Petovan
eb6b03b555 Add new OStatus\PortableContacts module class
- Retain existing route /poco for backward compatibility
- Remove unsupported links to /poco/{nickname} route
2022-11-14 13:48:46 -05:00
Hypolite Petovan
a1a0b6512c Create new OStatus\PubSub module class
- Retain previous route /pubsub for backward compatibility
2022-11-14 13:48:46 -05:00
Hypolite Petovan
a8759a9b86 Create new OStatus\PubSubHubBub module class
- Retaining the same /pubsubhubbub route to keep backward compatibility
2022-11-14 13:48:45 -05:00
Hypolite Petovan
63fc315ea0 Add support for Mastodon /reports API call 2022-11-14 12:22:54 -05:00
Hypolite Petovan
eedde86a37 Remove superfluous property declaration in Settings\UserExport
- Address https://github.com/friendica/friendica/issues/11992#issuecomment-1312417007
2022-11-12 08:37:42 -05:00
Hypolite Petovan
863977da66 Fix constructor parameters in Module\Settings\RemoveMe
- Address https://github.com/friendica/friendica/issues/11992#issuecomment-1311162326
2022-11-10 22:36:54 -05:00
Hypolite Petovan
71ab9e13f2 Flatten arbitrary contact structure in constructor of FormattedNavNotification 2022-11-10 10:41:02 -05:00
Philipp
6d7cfc8450
whops .. wrong legacy endpoint 2022-11-09 22:39:36 +01:00
Philipp
815d8975e6
Rename Match to MatchInterests because PHP8-lint rejects "match" 2022-11-09 22:36:02 +01:00
Philipp
7c66073e4b
Add license 2022-11-09 22:29:43 +01:00
Philipp
75360f3b8c
Move mod/mod/msearch & mod/match to src/Module 2022-11-09 22:17:50 +01:00
Hypolite Petovan
e6ada08e1b Delete mod/settings.php and its reference 2022-11-09 06:26:08 -05:00
Hypolite Petovan
5916544bc8 Move settings/features to src/Module 2022-11-09 06:26:08 -05:00
Hypolite Petovan
45c4439119 Move settings/connectors to src/Module 2022-11-09 06:26:05 -05:00
Hypolite Petovan
33d1df3c6d Move settings/addons to src/Module 2022-11-09 06:25:41 -05:00
Hypolite Petovan
3226b00995 Move settings/oauth to src/Module
- Add settings_content() permission checks to Module\BaseSettings
- Transform application token deletion GET links to POST forms to keep a single OAuth module class
2022-11-09 06:25:22 -05: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
a68c790c64 Create new Settings\RemoveMe module class
- Moved route from /removeme to /settings/removeme
- Combined templates into one
2022-11-08 18:33:54 -05:00
Michael
df8644c59c Performance improvements in public timeline 2022-11-08 21:48:42 +00:00
Hypolite Petovan
99d54dc711 Restore Item\Source module functionality 2022-11-08 11:53:09 -05:00
Hypolite Petovan
0a20566199 Replace remaining occurrences of admin/users route by moderation/users 2022-11-08 04:26:11 -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
Hypolite Petovan
c7dbe0b610 Create new OStatus\Repair module class
- Create corresponding template file
2022-11-07 21:44:18 -05:00
Philipp
bb97776dfb
The last PHPCS error .. 2022-11-07 20:35:07 +01:00
Philipp
d524f55e3e
Reduce error-throws :-) 2022-11-07 20:34:05 +01:00
Philipp
a81708091f
Make PHPCS happy 2022-11-07 20:32:55 +01:00
Philipp
2da2ac6826
make PHP CS happy? 2022-11-07 20:28:08 +01:00
Philipp
78a8ed6fe7
adhere feedback 2022-11-07 20:21:11 +01:00
Philipp
f13c91b320
Move mod/cal.php and mod/events.php to Module 2022-11-07 19:52:24 +01:00
Philipp
89fde911f9
Fix possible security issue 2022-11-07 19:52:13 +01:00
Michael Vogel
e6a5c172ce
Merge pull request #12131 from MrPetovan/task/4090-move-mod-salmon
Move mod/salmon.php to src/Module
2022-11-07 14:55:02 +01:00
Hypolite Petovan
7c7fc624f3
Fix code standards in Module\OStatus\Salmon 2022-11-07 07:54:12 -05:00
Tobias Diekershoff
028d823d96 add a help text to the profile settings indicating how to verify the homepage, or that the homepage is verified 2022-11-07 11:15:55 +01:00
Tobias Diekershoff
c8636db9f6 When the profile is updated, let the Worker verify the homepage link 2022-11-07 11:15:55 +01:00
Hypolite Petovan
ec02664773 Add new OStatus\Salmon module class
- Add module instanciation in Module\DFRN\Notify
2022-11-06 20:42:05 -05:00
Hypolite Petovan
bd9292fe19 Convert static methods to dynamic in Module\DFRN\Notify 2022-11-06 20:38:33 -05:00
Hypolite Petovan
d5b29b1c61 Add follow/unfollow link to the contact actions menu 2022-11-06 19:03:21 -05:00
Michael
210200d330 Use different parser modes for Mastodon and Twitter-API 2022-11-06 20:02:43 +00:00
Michael
1d7d8788bd Support "fedifinder" to import contacts 2022-11-06 10:05:54 +00:00
Tobias Diekershoff
4b5c6994b2
Merge pull request #12122 from annando/issue-2657
Issue 2657: Mentions will now be recognized by clients
2022-11-06 09:13:45 +01:00
Tobias Diekershoff
174151d4d0
Merge pull request #12124 from annando/issue-11832
Issue 11832: Avoid error when fetching group members
2022-11-06 09:12:22 +01:00
Michael
92813dd2e4 Issue 11832: Avoid error when fetching group members 2022-11-06 06:42:33 +00:00
Michael
bc7d21183d Issue 11831: Activate "notify on new post" via API 2022-11-06 06:11:22 +00:00
Michael
40fb820aef Unused use removed 2022-11-06 06:00:19 +00:00
Michael
56ac879c92 Issue 2657: Mentions will now be recognized by clients 2022-11-06 05:43:34 +00:00
Michael
db12814f3b Improved url detection 2022-11-05 22:32:56 +00:00
Michael
70d0f087b7 Issue 12096: Improve account search 2022-11-05 22:08:28 +00:00
Hypolite Petovan
198d38545d
Remove trailing spaces from Module\Post\Share 2022-11-04 14:14:00 -04:00
Hypolite Petovan
8124dedbf6 Create new Post/Share module class 2022-11-04 13:02:01 -04:00
Philipp
119f9d9d27
Merge pull request #12094 from MrPetovan/task/hide-reply-counts-ping
Remove non-top-level posts from notification labels when network sort order is "received"
2022-11-04 18:00:15 +01:00
Hypolite Petovan
8ec5d10bf4 Add new Contact/Suggestions module class 2022-11-04 07:57:00 -04:00
Hypolite Petovan
811e144e9e Move viewcontact_template and contact_template to contact/ folder 2022-11-04 07:03:55 -04:00
Hypolite Petovan
6c745c8522 Remove non-top-level posts from notification labels when network sort order is "received"
- These posts don't alter the network view in this sort order and so are distracting with no actionable benefits
2022-11-04 06:42:38 -04:00
Hypolite Petovan
8092bfe277 Remove dependency on DI in Notifications\Ping module 2022-11-04 06:42:38 -04:00
Hypolite Petovan
da3041a4d4 Add new Conversation\Network::getTimelineOrderBySession method 2022-11-04 06:42:37 -04:00
Hypolite Petovan
fa123bd765 Rename Repository\Notify->NotifyOnDesktop to shouldShowOnDesktop
- New name better reflect the behavior
2022-11-04 06:42:37 -04:00
Hypolite Petovan
1ba9a65fd8 Add new Post/Tag/Add module class
- Convert GET to POST
2022-11-03 22:26:48 -04:00
Michael
a89f235044 Merge remote-tracking branch 'upstream/develop' into issue-12097 2022-11-03 20:15:53 +00:00
Michael Vogel
a20c6e3216
Apply suggestions from code review
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2022-11-03 21:13:03 +01:00
Michael
0f9e2b6da4 Issue 12097: Notify for each new user registration 2022-11-03 19:59:33 +00:00
Hypolite Petovan
e0dc7a471e Create Post/Tag/Remove module class and route
- Fix tag name parameter in single tag removal link in mod/photos
- Remove "/post" from backend routes as it was preventing sessions from working in this module. No existing module had a route starting with "/post".
2022-11-03 00:27:08 -04:00
Hypolite Petovan
4ab260042c Create new User\Import module class
- Merge Core\UserImport class in Module class
2022-11-02 11:27:31 -04:00
Philipp
7c4a7bff2e
Move new events routes to calendar routes 2022-11-02 15:16:24 +01:00
Philipp
2c90ab69d6
Move event export to src/Module/Events/Export 2022-11-02 15:16:23 +01:00
Hypolite Petovan
2c7a60eb0e Replace remaining "follow" route instances to "contact/follow" 2022-11-01 09:41:39 -04:00
Michael
1f1c2d8ca6 (Hopefully) query performance improvements 2022-11-01 08:45:25 -04:00
Philipp
41565326e3
Make CS happy 2022-10-31 21:03:58 +01:00
Philipp
8f62278703
Rename $action because of PR before 2022-10-31 21:00:23 +01:00
Philipp
82cd6ff91d
Fixing the non-auto follow process ... 2022-10-31 20:58:37 +01:00
Philipp
eb9da2967e
Fixups ... hopefully the last one :-/ 2022-10-31 20:58:37 +01:00
Philipp
87291e30a4
Found some more follow-links 2022-10-31 20:58:34 +01:00
Philipp
b5d01337d9
Move Follow to /contact namespace 2022-10-31 20:58:27 +01:00
Philipp
3554894577
Fixup post 2022-10-31 20:56:44 +01:00
Philipp
437472d0a6
Move Follow to Contact namespace 2022-10-31 20:56:43 +01:00
Philipp
0e47d5b0aa
make CS happy 2022-10-31 20:56:43 +01:00
Philipp
8e6f676719
Move mod/follow to src/Modules 2022-10-31 20:56:41 +01:00
Hypolite Petovan
58d6e7e2bb Create Contact\Unfollow module class 2022-10-31 15:31:44 -04:00
Hypolite Petovan
a1e6e13a9f Move remote follow module to profile folder 2022-10-31 15:31:43 -04:00
Hypolite Petovan
3020dfbeeb Rename auto_request.tpl form action template variable 2022-10-31 15:30:23 -04:00
Hypolite Petovan
969b4f991e Create Profile\Attachment\Upload module class
- Add missing response type in AjaxUpload initializition
2022-10-31 14:57:25 -04:00
Hypolite Petovan
39765e6018 Create Profile\Photos\Upload class 2022-10-30 14:20:01 -04:00
Hypolite Petovan
9561910e83 Create Profile\UnkMail module class 2022-10-30 10:49:47 -04:00
Michael
f44c9e7975 Accepting contact request does finally work per Mastodon API 2022-10-29 19:04:29 +00:00
Roland Häder
5306bb3e31
Changes:
- added more missing type-hints (checked them in body of the method)
- reformatted code a little (code-style)
- moved '/.well-known/host-meta' to constant Probe::HOST_META
2022-10-25 20:25:13 +02: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
Philipp
f03c5c7f89
implement feeback 2022-10-25 08:07:42 +02:00
Hypolite Petovan
dc2d96a502 Fix condition for follows export
- Select follows instead of followers
- Filter out archived contacts
2022-10-24 18:21:10 -04:00
Hypolite Petovan
142b399c84 Reformat Module\Settings\UserExport
- Import IHandleUserSessions and DbaDefinition object in constructor
- Convert remaining double quotes to single quotes
- Convert static methods to dynamic to use class properties
- Remove unused POST permission from route
2022-10-24 18:14:59 -04:00
Philipp
b5bc1b0844
Extend IHandleUserSessions from IHandleSessions and adapt classes 2022-10-23 20:41:17 +02:00
Tobias Diekershoff
b72d727a06
Merge pull request #12051 from Quix0r/hotfix/one-dollar-to-much
Hotfix: One `$` to much ...
2022-10-23 16:25:46 +02:00
Roland Häder
e8fe0c52e7
Hotfix: One $ to much ... 2022-10-23 13:15:34 +02:00
Philipp
b4b9f426db
Fix missing/wrong IHandleUserSessions usages 2022-10-23 11:32:43 +02:00
Philipp
a9963dc54b
Remove Core\Session 2022-10-21 19:36:42 +02:00
Philipp
44a9683008
Move "submanage" Session value into own methods 2022-10-21 19:35:34 +02:00
Philipp
22198ea495
UserSession class [6] - Refactor src/Module/ files without DI 2022-10-21 10:25:07 +02:00
Philipp
bf39b5a948
Fix messages.po issue 2022-10-21 10:19:13 +02:00
Philipp
eecc456e0c
UserSession class [5] - Refactor src/Module/ files with DI 2022-10-20 22:59:39 +02:00
Michael
d3e167c77c All references to boot.php are now removed 2022-10-19 20:38:25 +00:00
Michael
d47d78f2d4 old boot.php functions replaced in src/module (4) 2022-10-19 09:23:12 -04:00
Hypolite Petovan
956f196f7c Align pConfig calls in Module\Settings\Display 2022-10-19 09:20:48 -04:00