Commit graph

303 commits

Author SHA1 Message Date
Michael
0e2c2cd0e0 API: Support new tag endpoints 2022-11-27 19:22:41 +00:00
Philipp
50316bbb80
Move Browser & Upload to own namespace 2022-11-27 01:34:59 +01:00
Philipp
051253a745
Move FileBrowser to own namespace & Bugfix album usage 2022-11-27 01:34:58 +01:00
Philipp
d0b16b2fc1
Move mod/fbrowser to src\Modules\Attachment|Photos\Browser 2022-11-26 22:26:30 +01:00
Michael
92807d86a3 API: Enable edit 2022-11-25 19:35:40 +00: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
Hypolite Petovan
5f074bc4e7 Add support for Mastodon /authorize_interaction route
- It is used by Fedifind to follow people who set their Webfinger address in their Twitter bio
2022-11-19 19:55:01 -05:00
Philipp
00883c9dcb
Move mod/editpost.php to src\Module\Post\Edit 2022-11-15 22:32:46 +01:00
Philipp
584e7a7e6d
Remove trailing slash in update_ calls 2022-11-15 20:11:38 +01:00
Philipp
3259bd17dc
Move mod/(update_)display.php to src\Module 2022-11-15 00:57:47 +01:00
Philipp
5c05a3b0f6
Move mod/display.php "feed-item" to a src\Module\Item\Feed.php 2022-11-15 00:52:58 +01:00
Hypolite Petovan
cb0fde5d7d Create new OStatus\Subscribe module class
- Move route from /ostatus_subscribe to /ostatus/subscribe
2022-11-14 13:48:47 -05:00
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
Philipp
815d8975e6
Rename Match to MatchInterests because PHP8-lint rejects "match" 2022-11-09 22:36:02 +01:00
Philipp
75360f3b8c
Move mod/mod/msearch & mod/match to src/Module 2022-11-09 22:17:50 +01: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
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
f13c91b320
Move mod/cal.php and mod/events.php to Module 2022-11-07 19:52:24 +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
8124dedbf6 Create new Post/Share module class 2022-11-04 13:02:01 -04:00
Hypolite Petovan
8ec5d10bf4 Add new Contact/Suggestions module class 2022-11-04 07:57:00 -04:00
Hypolite Petovan
1ba9a65fd8 Add new Post/Tag/Add module class
- Convert GET to POST
2022-11-03 22:26:48 -04: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
Hypolite Petovan
eb22f6732b
Improve alignment in static/routes.config.php 2022-11-02 15:16:25 +01: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
Philipp
baa97febef
hopefully last feedback :) 2022-11-01 00:09:30 +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
437472d0a6
Move Follow to Contact namespace 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
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
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
Michael Vogel
08ead52433
Merge pull request #11763 from tobiasd/marcor-newapi
new event APIs
2022-09-24 21:18:20 +02:00
Hypolite Petovan
cacfc6ec92 Enable POST route for /filerm module
- This prevents a costly page empty page render when calling the module asynchronously
2022-09-11 02:36:06 -04:00
pankraz
bd02340162 new event APIs 2022-08-13 23:28:19 -04:00
Hypolite Petovan
4a885a13a6 Remove poke feature 2022-08-09 14:55:55 -04:00
Hypolite Petovan
49394aedeb Add password length limit if using the Blowfish hashing algorithm
- Add new page to reset a password that would be too long
- Add support for pattern parameter in field_password
2022-08-01 12:12:18 -04:00
Hypolite Petovan
e11d3cfeb0 Add upload feature for domain pattern block list
- Add new /admin/blocklist/server/import route
- Add form on domain pattern blocklist index page
2022-07-27 11:54:50 -04:00
Hypolite Petovan
7d7a5a65e9 Add download feature for domain block list
- Add new /blocklist/domain/download route
- Add link on /friendica page
2022-07-27 11:54:50 -04:00
Philipp
b67e488236
adaptions 2022-06-26 10:13:32 +02:00
Philipp
0223c030a9
Improve 2 factor usage 2022-06-25 23:04:00 +02:00
Michael
d665b78ea8 Fix forced updates on the display page 2022-06-07 17:34:19 +00:00
Michael
19772f29f3 API: Support for markers added 2022-06-06 21:38:59 +00:00
Hypolite Petovan
967c438312 Enclose account settings panels in separate forms
- This prevents auto-filled password fields to abort settings save
- Move single-use settings/nick_set template HTML to settings/account
2022-04-24 08:36:53 -04:00
Hypolite Petovan
64330f9895 Move /settings to src/ 2022-04-24 01:21:48 -04:00
Michael
9b646dad97 API: We can now display polls 2022-04-22 19:24:22 +00:00
Michael
f34b7b91fa API: New Mastodon endpoints added 2022-04-21 19:58:56 +00:00
Michael
d7df0825db We now offer an endpoint for featured posts 2022-04-08 21:25:31 +00:00
Michael
5d497f9962 API: Enable picture upload via Tusky again 2022-03-30 20:33:46 +00:00
Michael
85fce09b1a API: Adds missing route for "conversation/show/id" 2022-03-20 12:06:39 +00:00
Hypolite Petovan
1ae7cac236 Move mod/ping to module class 2022-03-14 07:57:41 -04:00
Hypolite Petovan
b7cee324b0 Add legacy notification endpoint for deprecated Notify entity
- Add dependencies to Notifications\Notification module class
2022-03-14 07:56:21 -04:00
Michael
bf5c8a2c43 API: several fixes to the Twitter/Statusnet API 2022-02-25 19:16:40 +00:00
Michael
95f085b7ac API: The legacy API finally moved 2022-01-15 21:38:19 +00:00
Philipp
20934d73b0
Add missing Twitter API routes for IDs 2022-01-08 21:53:19 +01:00
Philipp
322b7c856c
Merge pull request #11129 from urbalazs/copyright-2022
Update copyright
2022-01-02 09:45:35 +01:00
Balázs Úr
e56a53647b Update copyright 2022-01-02 08:27:47 +01:00
Michael
b7a460485a API: Direct Messages moved to new place 2021-12-16 22:44:50 +00:00
Philipp
e92a97ae2a
Remove deprecated /worker route 2021-12-12 20:59:43 +01:00
Michael
477b8a91db Added endpoint 2021-11-29 06:09:28 +00:00
Michael
222b35684d API: Added more functions, fixed function names 2021-11-28 13:34:00 +00:00
Michael
e381ca6ba0 Added group update 2021-11-27 22:25:40 -05:00
Michael
b15d3a2523 API: Next bunch of functions transformed 2021-11-27 22:25:36 -05:00
Philipp
e852623c4f
Merge pull request #11030 from MrPetovan/bug/11029-add-remove-group
Add backward compatibility with user contacts in Module\Group
2021-11-27 12:37:18 +01:00
Michael
0de9ae913b API: moved several lists 2021-11-26 21:48:13 +00:00
Hypolite Petovan
a26322b4c2 Replace args call with parameter from router in Module\Group 2021-11-26 09:48:05 -05:00
Michael
9c61bd3ffc Lists and tweet search moved 2021-11-25 11:16:47 +00:00
Michael
b723b2f178 Moved routes 2021-11-25 06:06:57 +00:00
Michael
44555cddb8 More functions moved 2021-11-25 06:00:58 +00:00
Michael
c4d52feea5 Many API calls moved 2021-11-24 23:03:34 +00:00
Hypolite Petovan
204b077353 Move contact profile GET actions to separate module class 2021-11-21 19:22:41 -05:00
Hypolite Petovan
974b750d6d Move contact profile module to its own class 2021-11-21 19:22:39 -05:00
Hypolite Petovan
197c77f43d Move contact conversation to its own module class 2021-11-21 19:21:58 -05:00
Hypolite Petovan
eacfcc69c1 Move contact posts to their own module class
- Remove duplicated check for local_user() in Module\Contact
- [frio] Fix display issue for search items where the More button and icon would show but be inactive
2021-11-21 19:21:39 -05:00
Michael
c30d3a5e7f header route fixed 2021-11-19 05:59:24 +00:00
Michael
6ea426178a API: moved classes / unified user array creation 2021-11-16 23:21:40 +00:00
Michael
66db55f0cd
Some more API functions moved 2021-11-14 23:21:54 +01:00
Michael
293775ab4a Photo delete is moved as well 2021-11-10 23:31:42 +00:00
Michael
02210f285b API: some more converted functions 2021-11-10 23:07:46 +00:00
Michael
1518ad33ad API: Classes moved to the correct places according to their origin 2021-11-10 07:31:39 +00:00
Michael
b6943aff36 API call rate_limit_status moved 2021-11-09 21:41:37 +00:00
Michael
b4fc1da045 Allow "POST" for all "DELETE" calls as well. 2021-11-09 06:56:40 +00:00
Michael
f5b47fccce API: spme Functionality is transferred to new places 2021-11-08 21:35:41 +00:00
Hypolite Petovan
7c145accdd
Improve formatting in routes definition file 2021-11-08 05:31:18 -05:00
Michael
789361de5f The API is now using the router 2021-11-08 07:23:18 +00:00