Commit graph

314 commits

Author SHA1 Message Date
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
Hypolite Petovan
41062eb7e4 Add new purge contacts option to admin server blocklist
- Move adding a server domain pattern to the blocklist in a separate module to allow reviewing the list of known servers that would be affected
2021-11-06 01:36:53 -04:00
Hypolite Petovan
02e08d5fbc Use router parameters in Diaspora\Receive 2021-10-26 14:56:47 -04:00
Michael
b2c2283817 separate parameter values for different functionalities 2021-10-04 18:04:41 +00:00
Hypolite Petovan
a9bb53b021 [frio] Fix event time display 2021-10-03 13:42:32 -04:00
Hypolite Petovan
c84d4104e8 Add missing Module\Photo route for post-media id with no customsize 2021-10-03 07:58:52 -04:00
Hypolite Petovan
5112dd06f2 Add missing Module\Photo route for contact avatar 2021-10-03 07:48:46 -04:00
Hypolite Petovan
f426a5bd98 Fix regular expression in the user avatar photo routes 2021-10-03 07:37:30 -04:00
Hypolite Petovan
8cb0bb5deb Switch uid with nickname in user picture URLs
- Keep previous URL scheme fallback as remote contact avatar URLs pointing to local user avatar URLs need to update
2021-10-02 19:06:59 -04:00
Hypolite Petovan
222333f64f Remove contact drop feature
- Feature was confusing, sometimes ineffective and overall overlapping with unfollow/block
2021-10-02 16:04:28 -04:00
Michael
afa611bd50 The media class moved 2021-10-02 19:31:27 +00:00
Michael
2408ac8227 Merge remote-tracking branch 'upstream/develop' into contact-media 2021-10-02 18:35:43 +00:00
Hypolite Petovan
72fae04e97 Add revoke follow feature
- Add new follow revoke module
- Add new hooks: revoke_follow, support_follow, support_revoke_follow
- Add link in contact page action menu
2021-10-02 14:01:46 -04:00
Michael
c3554ac0f4 "Video" is replaced by a "Media" tab in contact and profile 2021-10-02 15:09:43 +00:00
Michael
e28a4265c5 API: First steps to support subscriptions 2021-08-15 00:30:41 +00:00
Michael
ed0b300113 Fix update_network for forums 2021-08-06 04:01:26 +00:00
Michael
88e276843e Using "post" when deleting, fixing deleting 2021-08-02 19:18:44 +00:00
Michael
f87e41e206 Scheduled posts are now listed and can be deleted 2021-08-02 17:03:06 +00:00
Michael
ec5ed0cf46 Placeholder page for scheduled posts 2021-08-02 12:10:03 +00:00
Michael
01197f66e5 Improved docs 2021-07-30 22:43:11 +00:00
Michael
6ea3d4aa61 Added API calls, removed fields 2021-07-29 10:34:31 +00:00
Philipp
e19b9824cd
Allow setting & saving storages per type 2021-07-24 19:00:58 +02:00
Philipp
97bafb3a59
Extract Storage admin section to own page 2021-07-24 19:00:58 +02:00
Michael
9a3a4def3d "hovercard" is "hcard" 2021-07-23 12:38:29 +00:00
Michael
ec08784aa3 API: Added dummy endpoint for featured tags 2021-07-21 05:22:56 +00:00
Michael
b5f59d5be0 API: Support for deprecated API endpoints and OAuth removal 2021-07-20 20:48:37 +00:00
Michael
9947b2e6e3 Fix warning "class 'Friendica\Module\Objects' not found" 2021-07-19 23:14:16 +00:00
Michael
f62f82df75 Move ActivityPub endpoints to an AP class 2021-07-17 20:28:46 +00:00
Michael
209d4d0d6a DFRN endpoints moved, changelog entry added 2021-07-16 14:45:29 +00:00
Michael
96809b3fdd API: Improved avatar handling 2021-06-24 07:08:38 +00:00
Michael
4206c5d363 API: some more endpoints added 2021-06-03 04:47:02 +00:00
Michael
081652e09a Wrong class path 2021-05-21 18:00:03 +00:00
Michael
db8b0b9666 The next mail endpoint is done 2021-05-20 04:39:45 +00:00
Michael
70259965df API: Support for private mails 2021-05-19 21:56:50 +00:00
Michael
1c7d1c7c47 New endpoint "verify_credentials" added 2021-05-19 09:35:08 +00:00
Michael
c9110e03e1 API: Search endpoint 2021-05-17 22:22:51 +00:00
Michael
14c1f7167a API: We now can upload photos 2021-05-16 09:56:02 +00:00
Michael
f001f52e39 API: Fix relationships 2021-05-15 15:02:15 +00:00
Michael
78dab01696 "UpdateCredentials" dummy added (currently not working) 2021-05-15 12:13:03 +00:00
Michael
6a5083d918 Fixed message, relationships endpoint added 2021-05-15 10:55:41 +00:00
Michael
b34ee320b0 API: Many item related endpoints added 2021-05-15 10:08:47 +00:00
Michael
45c2cc3887 API: Account actions 2021-05-14 21:51:32 +00:00
Michael
3aa883f1e3 API: List handling, dummy endpoints 2021-05-13 21:15:32 +00:00
Michael
6ca42512e9 OAuth connections now have to be ackknowledged 2021-05-12 06:50:27 +00:00
Michael
82003bbe47 Login prototype 2021-05-11 06:30:20 +00:00
Michael
585d283ff9 Preparation for Oauth client registration 2021-05-09 22:23:21 +00:00
Michael
1c6e915514 Media is now supported as well 2021-05-09 12:59:23 +00:00
Michael
cc5d4db6a3 Notifications are now supported as well 2021-05-09 11:50:05 +00:00
Michael
5bb5c44bd9 API: added account related endpoints 2021-05-09 09:35:51 +00:00
Michael
7d6ff10bf4 Some added comments on routes 2021-05-08 20:22:08 +00:00
Michael
3bbf543d25 API: Some more endpoints 2021-05-08 19:21:52 +00:00
Michael
054f6dedc1 /followes and /following is supported 2021-05-08 11:46:24 +00:00
Michael
d842a4ff87 Suggestions are now supported as well 2021-05-08 11:03:50 +00:00
Michael
4fdc1ae13a "/statuses/id" is now supported 2021-05-08 05:55:06 +00:00
Michael
9300395c6e "verify_credentials" is now partially supported 2021-05-08 02:52:44 +00:00
Michael
d39983c8b7 We now support lists as well 2021-05-08 02:21:01 +00:00
Michael
dd38cc330f API: We now support two more timeline api endpoints 2021-05-07 21:28:48 +00:00
Balázs Úr
054c301ef0 Update copyright 2021-03-29 08:40:20 +02:00
Michael Vogel
5e98a38ac9
Merge pull request #10027 from MrPetovan/task/9950-improve-maintenance-page
Improve maintenance page
2021-03-10 20:19:55 +01:00
Hypolite Petovan
0bba4f12ca
Remove now unused /maintenance route 2021-03-10 13:14:52 -05:00
Hypolite Petovan
2d91db9e76 Add /.well-known/security.txt route and module 2021-03-10 09:58:48 -05:00
Hypolite Petovan
3859b7ba10 Move /parse_url module to /parseurl
- Update oexchange module to use BBCode::embedURL instead of a self-request
- Remove mod/parse_url.php file
- Restrict ParseUrl module to authenticated users
2021-02-18 09:06:27 -05:00
Hypolite Petovan
15e9f219e7 Add new item/{id}/follow module and POST route
- It is meant to replace mod/subthread
2021-01-31 17:36:18 -05:00
Hypolite Petovan
b31fc3bfa9 Move GET starred/{id} to POST item/{id}/star 2021-01-31 14:21:57 -05:00
Hypolite Petovan
6d31c11e57 Move GET item/ignore/{id} to POST item/{id}/ignore 2021-01-31 12:56:44 -05:00
Hypolite Petovan
151db1104a Move GET /like/{id} to POST /item/{id}/activity/{verb} 2021-01-31 08:41:04 -05:00
Hypolite Petovan
188f7b0eb0 Move GET pinned/{id} to POST item/{id}/pin 2021-01-30 18:42:23 -05:00
Michael Vogel
199f72ee3c
Merge pull request #9823 from MrPetovan/task/9677-2fa-remember-device
Add "Remember this device" feature to two factor authentication
2021-01-27 22:32:08 +01:00
Extarys
5d1d7dfbe5 style: R::GET alignment, cause it's beautiful 2021-01-25 00:04:56 -05:00
Extarys
b2d0d9200e add route for webmanifest 2021-01-24 23:47:59 -05:00
Hypolite Petovan
5a949911ba Add trusted browsers user setting module
- Add trusted browsers help section
2021-01-23 05:42:59 -05:00
Michael
db5cd6e66c API: Mastodon endpoints added as "unimplemented" 2020-11-26 07:02:31 +00:00
Hypolite Petovan
388c0b69d6 Split admin/users into 6 separate modules
- They now feature working pagination
2020-11-08 12:53:12 -05:00
Michael
c030275815 API: accounts and trends 2020-10-31 22:32:26 +00:00
Hypolite Petovan
5abe069cba Remove Widget::accounts in favor of Widget::accounttypes 2020-10-13 22:30:40 -04:00
Hypolite Petovan
4d15cc01e2 Move network module to src/
- Update ForumManager to use a base URL
- Split network module into Conversation\Network and Search\Filed modules
- Implement boundaries pager in network module
- Allow no selection in filter widgets
2020-10-13 07:52:13 -04:00
Hypolite Petovan
e23f3a645a Add profile page aliases to routes 2020-09-12 09:09:15 -04:00
Hypolite Petovan
fb7f7435c0 Merge branch 'bug/phpinfo-accessible-hotfix' into 2020.09-rc
# Conflicts:
#	src/Module/Admin/DBSync.php
#	src/Module/Admin/Logs/Settings.php
#	src/Module/Admin/Themes/Details.php
#	src/Module/Admin/Themes/Embed.php
2020-09-08 14:07:46 -04:00
Hypolite Petovan
2ce15cae1a Use router parameters in Admin modules
- Remove 10 @TODO tags

# Conflicts:
#	src/Module/Admin/DBSync.php
#	src/Module/Admin/Themes/Details.php
#	src/Module/Admin/Themes/Embed.php
2020-09-08 12:27:15 -04:00
Michael
cd3d4ae4e6 API: New entity "status" 2020-09-03 18:57:18 +00:00
Michael
7be6fbf652 API: Support for the "directory" endpoint 2020-09-01 19:29:39 +00:00
Michael
e02e1d1785 Enable inbox for the system account 2020-08-23 04:14:02 +00:00
Hypolite Petovan
e64dcc5b5b Remove obsolete modules common and allfriends
- Delete obsolete Model\GContact class
2020-08-06 22:59:10 -04:00
Hypolite Petovan
18cd4f7412 Add new contact/{id}/contacts[/{type}] route and module
- Rework contact pages tabs
- Add constants for active contact page tab
2020-08-06 22:59:09 -04:00
Hypolite Petovan
71db6ab613 Add Module\Profile\Common class
- Add Common tab in profile contacts templates
- Add routing to new module
2020-08-04 23:03:54 -04:00
Hypolite Petovan
d7b5674476 Move mod/lockview to Module\PermissionTooltip
- Add explicit type parameter to lockview() in main.js
2020-07-27 01:58:53 -04:00
Hypolite Petovan
0a71495fa4 Add new admin debug module for ActivityPub 2020-07-20 00:39:17 -04:00
Michael
27deb4d188 Module classes splitted 2020-07-13 09:45:45 +00:00
Michael
2a1e6e1a74 Support Nodeinfo2 2020-07-12 21:53:17 +00:00
Hypolite Petovan
7a5afc10bb Implement Twitter contact endpoints
- Implement /followers/ids
- Implement /followers/list
- Reimplement /friends/ids
- Reimplement /friends/list
- Update API reference
- Remove obsolete tests
2020-06-09 08:36:46 -04:00