Commit graph

1116 commits

Author SHA1 Message Date
Michael
f5f18518da Frio: Improved display of disabled activities 2023-11-07 21:25:00 +00:00
Michael
5b2b73da92 Moved empty post detection 2023-11-05 23:05:33 +00:00
Michael
ec16e7c0e6 Configuration for the number of languages 2023-11-05 20:18:01 +00:00
Michael
5ae0331993 Use the post language for the language detection / config for quality 2023-11-05 19:18:10 +00:00
Michael
7c0b5be70f Accept relay posts based on the selected user languages 2023-11-03 22:54:29 +00:00
Raroun
1ede164450
Merge branch 'friendica:2023.09-rc' into Leftovers-from-PR-#13339 2023-11-01 08:21:50 +01:00
Raroun
cb7643a74e
Update settings.config.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2023-11-01 07:30:44 +01:00
Michael
7371070cde Issue 13511: Ensure stattic community user settings 2023-10-29 19:43:44 +00:00
Raroun
4d4f352ed9 Update settings.config.php 2023-10-27 11:35:02 +02:00
Michael
a1947d2bb1 Improved asynchronous message procession 2023-10-25 20:16:36 +00:00
Michael
1c67be8db0 Improve the performance of API timeline calls 2023-10-18 08:11:36 +00:00
Michael
fce82deabc Merge remote-tracking branch 'upstream/2023.09-rc' into channel-improvements 2023-10-14 19:06:35 +00:00
Michael
be394b573d Channels: Larger fields, better error handling 2023-10-14 18:39:35 +00:00
Hypolite Petovan
e6855d3125 Refactor Delegation modules
- Remove dependency on DI
- Group translation labels in template variables
- Reformat tempate code
2023-10-14 14:15:40 -04:00
Hypolite Petovan
eb583330df Remove obsolete Factory\Api\Mastodon\Error->logError method and related dependencies 2023-10-11 09:44:03 -04:00
Michael
ed24d06e0c Now there are user defined channels 2023-10-05 19:10:20 +00:00
Michael
e7d65f2d12 Merge remote-tracking branch 'upstream/develop' into user-defined-channels 2023-09-30 18:44:12 +00:00
Michael
5e1c292927 Configuration for the maximum number of post engagement entries 2023-09-26 16:00:06 +00:00
Hypolite Petovan
960171c4e0 Remove dependency on super-globals in Module\Api\ApiResponse
- Updated DI dependencies to reflect the new parameters
- Updated tests to reflect the new parameters
2023-09-24 07:08:16 -04:00
Michael
9f23bee6e4 User defined channels can now base on circles/channels 2023-09-24 00:45:07 +00:00
Michael
a8a9f93e09 Special search keywords added 2023-09-22 10:28:00 +00:00
Michael
508d84b2b7 Use full text search 2023-09-21 23:27:05 +00:00
Michael
42e22ed91b Channel frontend added 2023-09-20 21:39:05 +00:00
Michael
d68572ea44 Channels can now be created by users 2023-09-19 09:05:28 +00:00
Michael
b00c2070d7 Use channels for non public content 2023-09-17 19:28:38 +00:00
Michael
e731ea58d5 Remove unneeded indexes 2023-09-16 04:23:44 +00:00
Michael
e038890bb7 Fix the erratic page update behaviour 2023-09-16 04:21:59 +00:00
Michael
229e7dcee5 Channel visibility rules can now be set for each contact 2023-09-12 10:55:33 +00:00
Michael
c836b0ee8d Basic functionality for seeing reports 2023-09-10 08:00:44 +00:00
Michael
8c9e4c46a0 "cascade" for "post-engagement" / fixes for "report" definition 2023-09-10 03:47:06 +00:00
Michael
013aee01f5 Network, Channels and Community are children of timeline 2023-09-09 09:14:36 +00:00
Michael
9cbd0c34a7 Language specific median calculations / collection 2023-09-08 05:06:27 +00:00
Michael
c1895e7f85 Fixes the score calculation concerning the relation-cid / cid interaction 2023-09-07 12:34:46 +00:00
Michael
6c42371d37 Simplified context definitions 2023-09-03 18:57:30 +00:00
Michael
7fd1f1424a Improved language detection 2023-09-03 08:44:17 +00:00
Michael
508be7a742 Channels in your language 2023-09-03 05:23:49 +00:00
Michael
e68f781f9d The language is now stored as well 2023-09-03 04:20:09 +00:00
Michael
30d10c60d2 Channels for audio, video and images 2023-09-02 15:52:53 +00:00
Michael
fdaff43039 Use the owner, not the author 2023-09-02 14:19:52 +00:00
Michael
ca32134830 Use activitites and remove unused config 2023-09-02 13:56:54 +00:00
Michael
b5a2fb5492 Changed defaults.config.php 2023-09-01 22:32:41 +00:00
Michael
5c166be3fc Channels are a new way to see different content 2023-09-01 21:56:59 +00:00
Michael
35995633ae Calculate the interaction score 2023-08-30 19:17:42 +00:00
Michael Vogel
06a1db4f24
Merge pull request #13375 from MrPetovan/bug/empty-timeline
Fix user moderation conditions in network-thread-view and network-item-view
2023-08-28 06:44:20 +02:00
Hypolite Petovan
6fa7c23bb9 [Database 1529] Add author baseurl to post-user-view
- Explicit the contact.baseurl and contact.gsid caveat
2023-08-25 09:30:23 -04:00
Hypolite Petovan
b659aa5c0f Fix user moderation conditions in network-thread-view and network-item-view
- This was causing the network timeline to be empty if all the top-level authors were blocked or ignored
2023-08-25 09:30:05 -04:00
Hypolite Petovan
76cc8eaff8 [Database 1528] Add expected index for foreign key user-gserver.gsid 2023-08-21 08:07:10 -04:00
Hypolite Petovan
544ce206d7 [vier] Add mute author server link in photo menu 2023-08-20 14:27:43 -04:00
Hypolite Petovan
156e3fa101 [Database 1527] Add required gsid fields to post-user-view, post-thread-user-view, post-view and post-thread-view 2023-08-20 14:27:40 -04:00
Hypolite Petovan
a670d478f8 Add user settings page to manage remote server settings 2023-08-20 14:27:09 -04:00
Hypolite Petovan
4c6334ea13 [frio] Add Mute Author Server button to post actions 2023-08-20 14:27:09 -04:00
Hypolite Petovan
9bbb55b2bb [Database 1526] Add new user-gserver table
- Add Entity, Collection, Factory and Repository classes for it
2023-08-20 14:27:03 -04:00
Hypolite Petovan
38f04616d2 [Database 1525] Deprecate profile.name in favor of user.username 2023-08-20 14:00:01 -04:00
Michael
12d6080a48 Added another context 2023-08-20 12:13:25 +00:00
Michael
f59e11281c Issue 12815: JsonLD parsing problems with data-integrity 2023-08-20 05:57:39 +00:00
Hypolite Petovan
5d7985dcff Move default header image credits to static/defaults.config.php 2023-08-17 07:28:32 -04:00
Hypolite Petovan
9c23a4511d
Merge pull request #13291 from Quix0r/features/config-blocklist-published
Configuration key added to publish/hide blocklist
2023-08-12 11:31:42 +02:00
Michael Vogel
a6449da557
Merge pull request #13310 from MrPetovan/bug/13217-mirroring-blocked
Prevent post mirroring by blocked users
2023-08-05 20:27:17 +02:00
Hypolite Petovan
33b8680dfd [Database 1524] Fix contact-user.remote_self field type from boolean to integer
- Move MIRROR_* constants to LocalRelationship entity
- Convert boolean LocalRelationship->isRemoteSelf field to integer LocalRelationship->remoteSelf
2023-08-02 21:53:10 +02:00
Hypolite Petovan
d0a2357fbd Add constants for the Fetch Further Information field 2023-08-02 21:53:09 +02:00
Hypolite Petovan
762bd7a847 Add support for Unix domain sockets to Redis in setting defaults
- Add support for port = 0 in Redis driver
2023-08-02 20:43:28 +02:00
Philipp
acf52a9783
Added a lot of constants :-) 2023-07-28 17:39:13 +02:00
Philipp
9f18222a06
Unify "Capability" 2023-07-26 21:44:31 +02:00
Philipp
8ed94037d5
Move PConfig to strategies 2023-07-26 19:18:23 +02:00
Philipp
58f56c7d7d
Move KeyValuePairStorage to strategies 2023-07-26 19:18:09 +02:00
Philipp
f2c02a79b9
Move Cache to strategies 2023-07-26 19:17:43 +02:00
Roland Häder
3111c2fd5c
Renamed to 'public' after feedback 2023-07-26 10:20:14 +02:00
Michael
407e6389b3 Fix JsonLD parsing problems with GoToSocial 2023-07-25 04:33:55 +00:00
Hypolite Petovan
aee420152f
Merge pull request #13246 from nupplaphil/feat/addons
Introduce dynamic hook loading
2023-07-23 06:58:46 -04:00
Michael
7538f6a346 Issue 13289: Ensure to not respect deactivated connector networks 2023-07-22 10:49:42 +00:00
Philipp
cba656383e
Adhere feedback
- rename hooks.config.php to strategies.config.php
- change all corresponding classes and tests
2023-07-21 22:42:24 +02:00
Roland Häder
bcd2b1c523
Fixed:
- allow administrator to choose whether the blocklist is published under
  `/about` or later any other API (e.g. common is
  `/api/v1/instance/domain_blocks`).
2023-07-17 15:01:47 +02:00
Philipp
3a0c18713e
Remove unused ProfilerLogger factory 2023-07-17 01:41:02 +02:00
Philipp
93af6f0564
Add tests for InstanceManager and remove Decorator hook logic (avoid complex Dice logic) 2023-07-17 00:10:15 +02:00
Philipp
ddeef9387f
improve hooks.config.php 2023-07-16 18:43:36 +02:00
Philipp
89a31e43b2
Fix license check 2023-07-16 18:43:35 +02:00
Philipp
14b76e48f0
Introduce dynamic hook loading
- Dynamically load addon files
- Dynamically load hooks
- Rewrite Logger-logic to use new hook logic (Monolog is working again)
2023-07-16 18:43:35 +02:00
Michael
8bb33dccd1 Unified BBCode conversion, improved proxy functionality 2023-07-15 20:12:08 +00:00
Michael
52c062adb6 Fix "Cannot add or update a child row: a foreign key constraint fails" 2023-07-11 07:43:53 +00:00
Michael
c822d5fa94 Fix "Cannot drop index 'last-editor-uid': needed in a foreign key constraint" 2023-07-10 20:50:16 +00:00
Hypolite Petovan
c312d11dab Add Report Create module
WIP
2023-07-09 18:32:43 -04:00
Hypolite Petovan
76de49a25c Add fields to Report entity
- Add clock dependency to Moderation\Factory\Report
- Change DateTime field to DateTimeImmutable to satisfy Clock return type
- Add category, status and resolution constants
2023-07-09 18:32:42 -04:00
Hypolite Petovan
f20caf4c3a Refactor DI out from Module\Friendica 2023-07-08 22:24:03 -04:00
Roland Häder
9f1c93eb91
Changes:
- renamed 'api_mastodon_banner' to 'mastodon_banner' and moved it to 'api'
  configuration group
2023-07-03 19:55:47 +02:00
Roland Häder
c5a52271df
Added:
- config key 'config', 'api_mastodon_banner', see discussion at https://b65.me.in/display/67fef576-1564-a27a-405e-c17705255720
- the administrator can now customize it for Mastodon contacts
- credits goes to @betamax65@b65.me.in
2023-07-03 14:59:26 +02:00
Michael
0da2391c49 Fix warnings because of missing field 2023-06-23 21:27:34 +00:00
Michael
4c3f2441f7 Display the contact alias if the URL is no HTTP link 2023-06-18 16:49:38 +00:00
Hypolite Petovan
3385147f25 Replace "forum" by "group" in the rest of the code 2023-06-02 13:52:41 -04:00
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