Commit graph

1028 commits

Author SHA1 Message Date
Hypolite Petovan
03bebf57c5 Replace "forum" by "group" in database comments 2023-06-02 13:52:41 -04:00
Hypolite Petovan
0a738c8ce3 [Database version 1520] Reset user.parent-uid to null if it is set to zero 2023-05-29 18:55:00 -04:00
Michael
1129e8f17d Merge remote-tracking branch 'upstream/develop' into parent-view 2023-05-29 06:53:02 +00:00
Michael
a42ddafbbb Ensure to store user-contact / display contact relations 2023-05-29 06:41:07 +00:00
Michael
89b6c4c73f Increased performance when fetching the parent 2023-05-28 22:04:02 +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
Hypolite Petovan
4f6e02357a Replace "group" with "circle" in database comments
- Table names "group" and "group_member" are unchanged
2023-05-27 17:28:21 -04:00
Philipp
948217da51
Apply suggestions from code review
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2023-05-04 18:27:44 +02:00
Philipp
bbe6554bb0
Introduce settings for overriding php.ini values 2023-05-04 17:48:13 +02:00
Michael
25636c2442 Issue 13058: BasicAuth can now be disabled 2023-04-30 11:53:32 +00:00
Michael
4c81a7ab91 Don't search for contacts on blocked or failed systems 2023-03-28 05:33:14 +00:00
Josh Soref
55dafd4023 spelling: link
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 20:04:07 -04:00
Josh Soref
a5eb8bb206 spelling: interacts
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 20:04:07 -04:00
Josh Soref
2613c3411b spelling: dfrn
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 20:03:51 -04:00
Josh Soref
d2f9593777 spelling: unknown
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:14:16 -04:00
Josh Soref
b1ae2eee61 spelling: language
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:14:15 -04:00
Josh Soref
9394b1f83c spelling: including
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:23 -04:00
Josh Soref
1087e36a63 spelling: expiry
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:23 -04:00
Josh Soref
f83fb1deb7 spelling: addresses
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:22 -04:00
Josh Soref
c65e8d03b5 spelling: abandoned
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:22 -04:00
Hypolite Petovan
241a512589 Ensure FactorySession->create returns an object no matter what
- Rename redundant method name createSession
- Add exception logging
2023-03-18 23:36:07 -04:00
Michael
04b2d2339e Improved config description / use the delete command 2023-03-18 21:34:15 +00:00
Michael
a151cf450a Blocked servers can now be deleted 2023-03-18 19:41:41 +00:00
Hypolite Petovan
baac993090 [Database 1517] Increase the size of the process.hostname field 2023-03-12 03:02:46 -04:00
Hypolite Petovan
dffd28cf20 Remove addon table from DB structure
- It isn't used anymore in favor of a Config key
2023-02-21 09:07:19 -05:00
Hank Grabowski
9c9abd4400 Merge branch 'develop' into dislike-for-mastodon-endpoints 2023-02-20 15:52:09 -05:00
Hank Grabowski
155e3a701e Add DislikedBy Mastodon compatible endpoint in the Friendica API space 2023-02-20 15:51:17 -05:00
Hank Grabowski
c235bf299e Add Mastodon format compatible (un)dislike endpoint in Friendica API space 2023-02-20 15:33:36 -05:00
Hank Grabowski
41b5ec0262 Merge branch 'develop' into mastodon-instance-v2-implementation 2023-02-20 13:22:37 -05:00
Hypolite Petovan
33a8d2bc3d
Merge pull request #12814 from nupplaphil/bug/config_multi_serialize
Fix multiple serialized values
2023-02-20 11:54:18 -05:00
Philipp
c233c666fb
Update db-version 2023-02-20 17:23:22 +01:00
Michael
bd0348b53c Config to enable the optimizing of all tables 2023-02-20 14:46:58 +00:00
Hank Grabowski
0451f2dfa1 Add Mastodon Instance V2 API endpoint /api/v2/instance 2023-02-20 07:51:20 -05:00
Michael
11513519ce Config option to process the "view" activity 2023-02-20 06:41:28 +00:00
Michael
608b5a37a4 Activities are now displayed as Emojis 2023-02-18 06:56:03 +00:00
Michael
7b871f3ecd Merge remote-tracking branch 'upstream/develop' into c2s-post 2023-02-13 19:20:18 +00:00
Michael
edb1ce0417 C2S: Posting is now possible 2023-02-12 14:18:03 +00:00
Philipp
513ef03421
Revert node.config.php into Config table 2023-02-10 14:06:22 +01:00
Philipp
6db89adc04
Re-Add Config table 2023-02-10 14:06:22 +01:00
Michael
101b3c9703 First implementation of ActivityPub C2S 2023-01-29 14:41:14 +00:00
Michael
d76963944a More configs moved to key values 2023-01-22 13:40:08 +00:00
Hypolite Petovan
16e1c8f893
Merge pull request #12690 from annando/statistics
Nodeinfo data has moved to key values
2023-01-18 08:37:20 -05:00
Michael
73e163100c Nodeinfo data has moved to key values 2023-01-18 05:04:37 +00:00
Hypolite Petovan
c7e944e793
Merge pull request #12680 from nupplaphil/feat/addon_logger
Introduce new Hook logic
2023-01-17 16:37:03 -05:00
Michael
259fe7fcf2 Merge remote-tracking branch 'upstream/develop' into blocked-server 2023-01-17 19:25:09 +00:00
Michael
356a2a9a5a News "blocked" field on the gserver table 2023-01-17 17:25:19 +00:00
Philipp
f609e38600
Introduce new Hook logic
- InstanceManager for computing strategies and to allow decorators
- Adapting Core\Logger to use it
2023-01-16 22:20:33 +01:00
Philipp
a6fb683bcd
Remove BasePath dependency from App\Mode 2023-01-15 16:17:07 +01:00
Michael
6f95654592 Added default config for the lock driver 2023-01-14 14:44:49 +00:00
Hypolite Petovan
5c8cd8fdd6 Replace remaining mentions of "Status" by "Conversations" or "Posts" 2023-01-11 09:01:29 -05:00
Michael
b0aa4eb4b7 Update routine to transfer the blockem list to collapsed 2023-01-08 18:59:07 +00:00
Michael
480d9f53c3 Added "collapsed" list 2023-01-08 18:28:19 +00:00
Michael
50e43c530e Posts from contacts can now be collapsed 2023-01-08 17:40:05 +00:00
Michael
c3d836db63 OStatus: Fix PubSubHubBub subscription 2023-01-08 09:41:54 +00:00
Michael
aa3dc7c40c Add configuration 2023-01-07 21:28:21 +00:00
Michael
24c32cff0d Merge remote-tracking branch 'upstream/develop' into diaspora-item 2023-01-07 19:52:23 +00:00
Michael
d86045058e Diaspora: Photos are now transmitted separately 2023-01-07 15:11:34 +00:00
Philipp
cdd57275eb
Some improvements
- Move $_SERVER into ConfigFileManager constructor
- Rename "creatConfigFileLoader" to "createConfigFileManager"
- Rename variable "loader" to "manager" in all tests
2023-01-06 01:03:00 +01:00
Philipp
13b234d279
Use addons config entries instead of the addon table 2023-01-04 21:55:51 +01:00
Philipp
cd11088cc4
Move 'addon' table into config 2023-01-04 21:55:51 +01:00
Philipp
1e574d5383
Refactor IManageConfigValues interface 2023-01-03 14:22:04 +01:00
Philipp
b871e1d264
Introduce lightweight Config model 2023-01-03 14:22:02 +01:00
Philipp
0f91d1cbde
Introduce ConfigFileManager for config files 2023-01-03 14:22:02 +01:00
Michael
360614d2cf Merge remote-tracking branch 'upstream/develop' into inbox-gsid 2023-01-01 15:25:28 +00:00
Hypolite Petovan
1874a32728 Happy New Year 2023! 2023-01-01 09:36:24 -05:00
Michael
06403f1546 License updated 2023-01-01 07:52:28 +00:00
Michael
e21db0fe6d The inbox-status can now be archived for a whole server 2022-12-31 23:42:00 +00:00
Michael
8e397b5849 Changes after review 2022-12-31 16:20:18 +00:00
Michael
259b99e6e9 Bulk delivery added for all protocols 2022-12-31 12:19:34 +00:00
Philipp
00eaa99eb3
Make updated_at not nullable, it should get set at the creation as well 2022-12-30 17:15:15 +01:00
Philipp
0d6a4c8951
fix SQL 2022-12-29 23:27:36 +01:00
Philipp
86f80af432
Rename Interface 2022-12-29 22:37:12 +01:00
Philipp
7c4c409060
Change key-value table
- Make "k" as primary key
- Added "updated_at"
2022-12-29 22:36:08 +01:00
Philipp
47764387b3
Introduce Key-Value Pair storage provider 2022-12-29 21:53:56 +01:00
Philipp
9a10bb4295
Add key-value table 2022-12-29 21:38:47 +01:00
Hypolite Petovan
5c332af844
Merge pull request #12527 from nupplaphil/feat/request_id
Introduce Request::getRequestId()
2022-12-26 16:07:35 -05:00
Philipp
4f1bb0d274
Use X-REQUEST-ID for Error pages 2022-12-26 21:18:05 +01:00
Philipp
10864e50c7
Adapt Logger\Introspection
- Create an interface
- Add it as constructor parameter
2022-12-26 21:18:04 +01:00
Michael
5298cd73b3 We now store the violation as well 2022-12-25 10:44:06 +00:00
Michael
8a7d08ae28 Category added 2022-12-24 13:57:43 +00:00
Michael
4c945850f4 Reports: The reporting contact id is added 2022-12-24 08:03:37 +00:00
Michael
a0faca9eaf Updated database version 2022-12-20 07:00:10 +00:00
Michael
4db4d1843d Merge remote-tracking branch 'upstream/develop' into diaspora-reshare 2022-12-20 06:58:36 +00: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
83e34ef8e7 Move first_day_of_week pconfig key to calendar category 2022-12-17 12:20:14 -05:00
Michael
5041e92937 Merge remote-tracking branch 'upstream/2022.12-rc' into diaspora-reshare 2022-12-14 09:19:41 +00:00
Michael
ca8a89ed1c Use reshare with Diaspora like with ActivityPub 2022-12-13 23:19:19 +00:00
Hypolite Petovan
d26b0ed5a2
Merge pull request #12407 from HankG/friendica-api-photo-endpoint-updates
Friendica api photo endpoint updates
2022-12-13 17:14:48 -05:00
Hank Grabowski
4fc01c93ce Add photo album show endpoint that lists photos in an album 2022-12-13 14:16:08 -05:00
Hank Grabowski
e1823c7138 Add Photo Album index endpoint to Friendica API 2022-12-13 13:28:34 -05:00
Michael
7dfe517c77 Redirect in a different way 2022-12-12 11:24:20 +00:00
Michael
afd1dba774 Issue 12338: Use redirect for "about" and "about/more" 2022-12-11 19:50:10 +00:00
Hypolite Petovan
a79be5e697 Add Clock classes to deal with "now" times in tests
- [Composer] Add psr/clock dependency
2022-12-11 10:12:23 -05:00
Michael
bf7df13855 Add more BlurHash to avoid not being able to display some picture 2022-12-11 09:56:30 +00:00
Hypolite Petovan
818cdf83ca [Database version 1500] Remove obsolete table fcontact 2022-12-05 00:00:50 -05:00
Hypolite Petovan
ce69026964 [Database version 1499] Create new paradigm classes for Diaspora Contact
- Switch table fcontact for dcontact in views
2022-12-05 00:00:50 -05:00
Michael
d5e005f90d [Database version 1498] New table "diaspora-contact" for Diaspora contacts (duh)
- Remove duplicated "author-uri-id" keys in view declarations
2022-12-05 00:00:49 -05:00
Hypolite Petovan
10154e532e
Merge pull request #12326 from nupplaphil/feat/route_about
Add /about route
2022-12-04 09:43:19 -05:00
Philipp
b3ca1e2bfb
Merge pull request #12325 from annando/blurhash
API: Support Blurhash
2022-12-04 15:25:33 +01:00
Philipp
1a8722c1f6
Add /about route 2022-12-04 14:47:31 +01:00
Michael
a5be5b27e3 Support Blurhash 2022-12-04 13:29:21 +00:00
Michael
e5a531d3b5 Simplify "last-activity" handling 2022-12-04 07:17:26 +00:00
Michael
1d8c9276f3 Issue 10518: "last-activity" instead of "login_date" 2022-12-04 07:03:11 +00:00
Hypolite Petovan
34f21b40f4 Move missing POST part of Profile\Photos from mod/photos 2022-12-01 17:57:29 -05:00
Hypolite Petovan
b83526ad0b Tighten profile restriction feature
- Prevent feed access to restricted profiles
- Rework display of restricted profiles with a redirect to the profile/restricted route
- Normalize permission checking with IHandleUserSession->isAuthenticated
- Remove unusable "nocache" parameter in feed module because session isn't initialized
- Reword setting name and description
2022-12-01 08:03:35 -05:00
Michael
f905220923 New field to show the day of the last activity 2022-11-30 22:34:50 +00:00
Michael
f31e617f5d Contact suggestions are now cached 2022-11-30 05:59:27 +00:00
Michael
8eca961aeb Added status to the report 2022-11-29 19:50:12 +00:00
Michael
8b41d62a88 API: Speed improvements 2022-11-29 18:45:30 +00:00
Michael
437419bbd9 Updated database.sql 2022-11-28 20:22:08 +00:00
Michael
de76e860ad API: Added trending links 2022-11-28 20:19:57 +00:00
Michael
c00004f6ea API: Tredning statuses added 2022-11-28 09:30:41 +00:00
Michael
6b36bd893b API: Trending tags are added 2022-11-28 07:08:01 +00:00
Michael
85f57e69fa Issue 12191: We can now follow and unfollow tags via API 2022-11-28 03:29:43 +00:00
Michael
a6d060b0e4 Merge remote-tracking branch 'upstream/develop' into api-tags 2022-11-28 02:13:20 +00:00
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
Michael
a6ff817f47 Update added 2022-11-23 21:47:47 +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
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
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
Hypolite Petovan
2a4985cd46 Fix database connection with sockets
- Reformat Database\Database.php file
- Reformat and fix spelling in static/defaults.config.php file
2022-11-19 19:15:43 -05:00
Hypolite Petovan
e354f48765
Merge pull request #12200 from annando/ignore-view
"View" activities are now ignored
2022-11-17 15:28:34 -05:00
Michael
cdbfa34066 "View" activities are now ignored 2022-11-17 20:01:32 +00: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
Michael
91949f0292 Allow anonymous reports 2022-11-14 23:27:46 +00:00
Hypolite Petovan
6df187478d Fixed wrong reference to user.expire in Model\User::getActorName
- Update field documentation to prevent further confusion
2022-11-14 17:02:41 -05: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
Hypolite Petovan
5d9ce80007 [Database version 1489] Add new report database tables 2022-11-14 12:10:37 -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
Michael
df8644c59c Performance improvements in public timeline 2022-11-08 21:48:42 +00:00
Michael
246021fdfa Store the source of incoming posts 2022-11-08 11:53:09 -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