Commit graph

425 commits

Author SHA1 Message Date
b522f20702 Issue 9268: Don't show posts from followers on community page 2020-09-26 09:09:56 +00:00
93cd85595c Added foreign key 2020-09-22 07:19:44 +00:00
338ddf45b1 We now store the causer-id in the items 2020-09-22 05:36:01 +00:00
a852455d0e Merge remote-tracking branch 'friendica/stable' into develop
# Conflicts:
#	composer.lock
2020-09-20 15:32:58 -04:00
c9e510d4fd
Use getmypid() as dependency (improve testing) 2020-09-19 20:28:01 +02:00
38635b1544 Issue 8961: Move default value for site settings to settings.config.php 2020-09-19 17:52:11 +00:00
86592daaa1 Include more field in the fulltext search 2020-09-19 10:45:11 +00:00
dfeae25e6d Issue 9231: Speed up full text search 2020-09-19 08:26:50 +00:00
ba23d3af9e
Merge pull request #9213 from annando/new-relay-server
Changed name for the sample relay server
2020-09-16 05:23:58 -04:00
efb461583b Move default setting to the configuration file 2020-09-16 06:08:30 +00:00
55e169db49 Configurable list of domains to ignore redirects 2020-09-16 04:56:37 +00:00
e23f3a645a Add profile page aliases to routes 2020-09-12 09:09:15 -04:00
e4c0c30086 Issue 8961: Rearranged config defaults 2020-09-09 16:58:58 +00:00
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
ee8689cc89 Merge branch 'bug/phpinfo-accessible-hotfix' into develop
# 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:06:14 -04:00
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
cd3d4ae4e6 API: New entity "status" 2020-09-03 18:57:18 +00:00
6acf660ebd New model class "host" 2020-09-02 19:19:00 +00:00
247d87c4e5 Added "manually-approve" to the owner-view 2020-09-02 03:18:04 +00:00
cbf1e5c699 New field "manually-approve" for contact table 2020-09-02 03:02:50 +00:00
7be6fbf652 API: Support for the "directory" endpoint 2020-09-01 19:29:39 +00:00
f9152ce140 Worker: Fetch jobs for multiple workers 2020-08-29 09:03:50 +00:00
dfea3ee3d6 Configuration if the database is opened with persistent connections 2020-08-27 10:59:14 +00:00
355284841a Optionally display the resharer as icon 2020-08-26 12:33:17 +00:00
104c4bd734 More foreign keys added, one removed 2020-08-26 05:32:47 +00:00
88eee2b9c1 Another foreign key added 2020-08-24 21:03:00 +00:00
89fbc6bb8d Foreign keys added 2020-08-24 20:06:06 +00:00
e02e1d1785 Enable inbox for the system account 2020-08-23 04:14:02 +00:00
9923e17aed
Merge pull request #9044 from annando/avatar-stuff
Some stuff with contact avatars
2020-08-22 14:08:20 -04:00
Adam Clark
fd8ca41210 Fix-up comment regarding various cache options for APCu 2020-08-21 14:02:06 -07:00
cbdaf6298a New foreign key for the "photo" table 2020-08-21 18:37:58 +00:00
2b13fc8efe Fix the network view 2020-08-19 19:10:30 +00:00
Michael Vogel
b5cca1ab93 Some small performance tweaks (indexes) 2020-08-18 12:50:18 +02:00
11701e2cd3
Merge pull request #9022 from annando/adjust-frequency
Automatically adjust feed poll frequencies
2020-08-17 16:09:44 -04:00
df75a24dc7 Use config value to trigger automated rating 2020-08-16 21:38:26 +00:00
e5fecbb406 Remove unused "rating" functionality 2020-08-16 18:55:06 +00:00
Michael Vogel
45c12e7716 Some performance tweeks 2020-08-16 13:57:56 +02:00
1f9b365f3b Issue 9015: Reducing load of remote systems 2020-08-15 20:05:08 +00:00
71d9037970 Some further cleaning up 2020-08-15 12:06:18 +00:00
24b5396b1d Using a view for the network page 2020-08-15 11:31:34 +00:00
e64dcc5b5b Remove obsolete modules common and allfriends
- Delete obsolete Model\GContact class
2020-08-06 22:59:10 -04:00
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
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
d153db44ac Periodically run an "optimize table" command for cache tables 2020-08-04 12:24:24 +00:00
76705664cd Remove the unused tables 2020-08-03 18:26:23 +00:00
4c089a1f87 "gcign" is removed 2020-07-31 17:58:25 +00:00
cc85bc4156 Replace "gcontact" with "contact" - imroved suggestions 2020-07-30 14:08:32 +00:00
Michael Vogel
74bc3de472
Merge pull request #8931 from MrPetovan/task/2020-performance-improvements
Various performance improvements
2020-07-28 07:15:02 +02:00
1d0cd7328b Add dispatch data caching in App\Router
- Add new cache key "routerDispatchData"
- Update Dice dependencies since Router constructor signature changed
2020-07-27 02:33:08 -04:00
d7b5674476 Move mod/lockview to Module\PermissionTooltip
- Add explicit type parameter to lockview() in main.js
2020-07-27 01:58:53 -04:00
18617f6c48 Fetch followers/followings of contacts 2020-07-26 07:34:33 +00:00
Michael Vogel
398e65d66b
Merge pull request #8911 from MrPetovan/task/curl_DI
Introduce "HTTPRequest" class
2020-07-25 09:50:20 +02:00
nupplaPhil
0a421064a5 Introduce interface "IHTTPRequest" (rely on abstractions, not on concrete implementations) 2020-07-21 03:17:05 -04:00
0a71495fa4 Add new admin debug module for ActivityPub 2020-07-20 00:39:17 -04:00
59bebe7bcf Post update added 2020-07-19 10:03:33 +00:00
b50f91b3e1 Merge remote-tracking branch 'upstream/develop' into failed 2020-07-19 01:18:35 +00:00
1532f0d529 New field "failed" for gserver, gcontact and contact 2020-07-19 01:15:57 +00:00
Michael Vogel
9f1d1db1ee Database performance updates 2020-07-18 17:49:10 +02:00
27deb4d188 Module classes splitted 2020-07-13 09:45:45 +00:00
2a1e6e1a74 Support Nodeinfo2 2020-07-12 21:53:17 +00:00
Michael Vogel
af6f6d4957 Fix speed issues with the network page 2020-07-10 00:22:26 +02:00
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
530ff51898 Rename system config value to db_log_index_denylist 2020-06-07 11:24:56 -04:00
34463f37e4 Rename contact table column to ffi_keyword_denylist 2020-06-07 11:24:52 -04:00
62217735f0 Use webfinger in apcontact fetch 2020-06-04 21:55:14 +00:00
e379698227 Issue 8675: reduce requests of foreign pages 2020-06-01 21:52:31 +00:00
3258216e8d Add "uri-id" to the "thread" table 2020-05-28 21:44:55 +00:00
db907c2ff8 Issue 8700: Resolvable activities 2020-05-27 19:05:33 +00:00
a77b7793a8 Rearranged table order 2020-05-22 05:06:55 +00:00
95b4f35a12 Improved server detection / gsid introduced 2020-05-22 04:19:32 +00:00
929455bd01 Update the "vid" 2020-05-19 20:28:27 +00:00
d7f0ffdbc1 Issue 8458: Display big emojis
Fixes #8458
2020-05-17 16:55:54 +00:00
4d4678ceb6 New experimental database configurations 2020-05-17 09:03:56 +00:00
9a1de3100d Rearranged dbstructure 2020-05-15 12:17:13 +00:00
7a82171bfe The "term" table is removed 2020-05-15 06:50:20 +00:00
3e6451f41f removed foreign key to avoid update errors 2020-05-11 05:48:24 +00:00
ecdf3b798b True foreign keys for the Permissionset 2020-05-10 15:43:43 +00:00
7f55e1b2bc We now support real foreign keys 2020-05-10 14:55:03 +00:00
5fe6a2dfcd We now store verbs in a new side table 2020-05-09 15:38:40 +00:00
1dd4879197 Item view is working 2020-05-06 15:19:06 +00:00
acb44f82c7 Merge branch 'fix-fatal' into item-view 2020-05-06 05:14:18 +00:00
59675c4f0b Merge remote-tracking branch 'upstream/develop' into no-term2 2020-05-05 15:44:24 +00:00
2ee14bf5fe Merge remote-tracking branch 'upstream/develop' into post-delivery-data 2020-05-05 14:08:29 +00:00
df7eb7fcc5
Merge pull request #8576 from annando/new-participation
Diaspora participations are now stored as activities
2020-05-05 09:29:04 -04:00
84e3892955 Merge remote-tracking branch 'upstream/develop' into post-delivery-data 2020-05-05 13:16:01 +00:00
b261df14af Updated database versions 2020-05-04 15:23:45 +00:00
1912729b90 Tests with item views 2020-05-04 14:33:41 +00:00
875d6b36e9 File and category aren't using "term" anymore 2020-05-03 15:13:40 +00:00
1a4beaf061 post update function added 2020-05-02 21:27:37 +00:00
098ba4a667 "item-delivery-data" is now "post-delivery-data" 2020-05-02 19:34:02 +00:00
00035f7ba0 Notifications are now storing the uri-id as well 2020-05-02 13:12:11 +00:00
2a1cdfa36b Diaspora participations are now atored as activities 2020-05-02 08:52:11 +00:00
ac2957c4dd Some more "term" to "tag" conversion 2020-05-01 10:57:32 +00:00
2b8dabcd95 API search is now done via "tag" as well 2020-05-01 09:41:17 +00:00
88931e5053 Post update functionality for tags 2020-04-30 06:09:57 +00:00
8c44f535b7 Merge remote-tracking branch 'upstream/develop' into write-tags 2020-04-29 02:38:33 +00:00
881c9bbd70 Increased db version number 2020-04-28 19:46:59 +00:00
6febbef060 Corrected view 2020-04-28 19:15:42 +00:00
f5886db3e2 New view for searching tags 2020-04-27 20:32:25 +00:00
7d111e2a6f Duplicated fields renamed 2020-04-25 07:29:02 +00:00
efa1351ac6 Cleaned up user table order in query 2020-04-24 21:14:03 +00:00
1c980c5b29 The workerqueue is now using a view as well 2020-04-24 18:50:36 +00:00
89dcab774d Prticipation is now a view as well 2020-04-24 17:55:49 +00:00
57009d30c4 There is now a pending view 2020-04-24 15:42:43 +00:00
a5aa43469b Some more places with owner-view 2020-04-24 13:41:11 +00:00
c4f7f3e26e And some more view calls added 2020-04-24 12:59:19 +00:00
4181eb37f5 More joins replaced by view calls 2020-04-24 11:55:46 +00:00
02aed490e2 Owner-view added 2020-04-24 11:04:50 +00:00
b50aaf87d7 Some more code standards 2020-04-24 05:39:30 +00:00
bc1efdaf53 Code standards 2020-04-24 05:37:06 +00:00
c3aa2730de Improved definition style 2020-04-23 07:02:18 +00:00
63ebbb8a16 We now can define views 2020-04-23 06:19:44 +00:00
43b8bdea07
Merge pull request #8520 from annando/term2tag
We now store tags in "tag"
2020-04-22 22:56:07 -04:00
Michael Vogel
ee098277b9
Merge pull request #8530 from MrPetovan/task/8498-move-poke-to-src
Move poke module to src/
2020-04-21 05:56:59 +02:00
7f04aea8b1 Move poke module to src/
- Add new route contact/<cid>/poke and update all references
- Rework template with form field includes
- [frio] Enable modal behavior
2020-04-20 11:47:08 -04:00
87aebe6af5 Default value 2020-04-19 16:43:37 +00:00
0f2215bc17 Hybrid mode for non resolvable contacts 2020-04-18 16:00:06 +00:00
5d34a90d67 Store mentioned contacts in another way 2020-04-18 14:41:26 +00:00
3ce9386cb1 Improved body scanning, increased length 2020-04-18 10:05:30 +00:00
db657b0149 We now store the tags in two separate tables 2020-04-17 06:35:20 +00:00
67a67200a7 Storing mentions in Diaspora and AP 2020-04-13 23:54:28 +00:00
552fd98657 The "sign" table had been removed 2020-04-13 16:27:40 +00:00
771fe881ef Use 20 maximum feed items as default 2020-03-22 15:22:48 +00:00
04eef79be0 Merge remote-tracking branch 'upstream/2020.03-rc' into loops 2020-03-22 15:00:14 +00:00
f2638ca65b Remove extraneous relation on item-content.id 2020-03-22 10:28:13 -04:00
f50a39d19d Remove extraneous relation on item-activity.id 2020-03-22 10:04:30 -04:00
bc069c8ebf Prevent endless loops and long running feed processing 2020-03-22 13:05:35 +00:00
82589a29cd Fix 8401: Don't let dbstructure think that it needs to update the table 2020-03-11 20:49:23 +00:00
c261457b03 Store the interaction date as well. 2020-03-10 22:04:03 +00:00
f27900ad78 Reduce the load of "gfollower" 2020-03-10 21:10:59 +00:00
37376fa715 Issue 8371: Improvements for picture permissions 2020-03-08 13:16:59 +00:00
d6905e29cf Query the same contact only once a month 2020-03-07 05:31:03 +00:00
9adf09be51 Don't delete and recreate the rows over and over again 2020-03-06 13:51:36 +00:00
bd77556b49 New table for relations between global contacts - will replace glink in the future 2020-03-06 08:08:49 +00:00
d63e903d9f Changed template for direction 2020-03-03 21:29:51 +00:00
af6db65961 Store the push/pull direction in the conversation table 2020-03-03 08:01:04 +00:00
dc9ea15bb1 Updated field description 2020-03-02 20:48:26 +00:00
ca1b92bb34 Support unlisted public posts 2020-03-02 07:57:23 +00:00
1a8110234f Move /settings/display module to src/ 2020-02-20 05:37:06 -05:00
Philipp
09961a07e4
Merge pull request #8297 from MrPetovan/task/8285-api-events
[API] Add new api/friendica/events endpoint
2020-02-16 21:07:44 +01:00
Philipp
da124af6ed
Merge pull request #8293 from MrPetovan/task/5562-community-pagination
Improve community pagination
2020-02-16 19:38:49 +01:00
e0d03615bc Add node-wide default items per page config 2020-02-16 13:04:26 -05:00
d3b3f716f8 [API] Add new endpoint api/friendica/events 2020-02-16 12:07:39 -05:00
3bd1f3a836 No more gender 2020-02-16 10:55:18 +00:00
682fb7e4e2 Move community module to src/
- Use boundaries pagination instead of number pages
- Trim down community update module output
- Part of https://github.com/friendica/friendica/issues/4090
2020-02-16 04:41:22 -05:00
Michael Vogel
e80d68ba53
Merge pull request #8261 from MrPetovan/task/8251-use-about-for-pdesc
Use profile.about for profile description
2020-02-10 23:36:59 +01:00
2ec3a97393
Merge pull request #8263 from annando/remote-follow
New page for remote follow requests
2020-02-09 17:53:13 -05:00
2eebeeaa32 New page for remote follow requests 2020-02-09 17:04:35 +00:00
nupplaPhil
7d714319c8
Add license info at Friendica PHP files 2020-02-09 16:34:23 +01:00
da09215db8 [Database] Version 1333
- Exchange profile.pdesc for profile.about
2020-02-09 02:35:46 -05:00
a3028e69aa
Merge pull request #8211 from nupplaphil/task/mod_crepair
Move mod/crepair to src/Module/Contact/Repair
2020-02-01 08:28:29 -05:00
96b9619608
Merge pull request #8210 from nupplaphil/task/mod_fsuggest
Move mod/fsuggest to src/Module/SuggestFriend
2020-01-31 18:43:32 -05:00
nupplaPhil
048bb014d8
Move CRepair to Contact Advanced route 2020-02-01 00:37:11 +01:00
nupplaPhil
c5653d30f3
add regex for route 2020-02-01 00:22:56 +01:00
nupplaPhil
f565d590f6
Move mod/crepair to src/Module/Contact/Repair 2020-02-01 00:20:50 +01:00
dad530802f
Merge pull request #8209 from nupplaphil/task/mod_worker
Move mod/worker to src\Module\Worker
2020-01-31 18:12:36 -05:00
nupplaPhil
34f4aedb87
Move mod/fsuggest to src/Module/SuggestFriends 2020-01-31 23:50:46 +01:00
nupplaPhil
17389de261
Move mod/worker to src\Module\Worker 2020-01-31 22:38:49 +01:00
dd24b3bac0 Move api/profile/show to src/Module
- Update API documentation
- Update BaseApi::format to include headers by format
2020-01-29 23:31:37 -05:00
c2b8c65104
Merge "notification" routes 2020-01-28 23:21:24 +01:00
dd8d9d7c70
Fix ignore notification 2020-01-28 22:47:15 +01:00
82f8794215
Undo Hotfix: add missing route for ignore/discard 2020-01-28 22:36:44 +01:00
288192a7ef
Hotfix: add missing route for ignore/discard 2020-01-28 22:35:00 +01:00
bd910342df Add custom emojis Mastodon API endpoint 2020-01-28 08:14:48 -05:00
4260b94fec
Move mod/noscrape to Module\Noscrape 2020-01-26 23:43:47 +01:00
46c4bfe580 Restore base profile URL behavior
- Add new profile-specific route
2020-01-26 14:21:20 -05:00
Philipp
09de4a5b47
Merge pull request #8156 from MrPetovan/task/7817-custom-fields-part-2
New custom profile fields feature part 2: Feature switcheroo
2020-01-24 20:17:52 +01:00
0f932ae723
Notify => Notification
Notifs => Notifications
2020-01-24 18:32:38 +01:00
2171cc8a32 [Database] Structure version 1332
- Deprecated several fields in profile table
2020-01-22 19:42:36 -05:00
6857d24995 [Database] Structure version 1331
- Add profile_field table
2020-01-22 19:42:33 -05:00
d1be68b754 Move Module\Profile to Module\Profile\Index
- Move /profiles to Module\Settings\Profile\Index
2020-01-22 19:42:32 -05:00
e59a9fbef7
Add explicit contact route 2020-01-23 00:31:22 +01:00
fa6c33d3ac
Move mod/notifications to Module\Notification 2020-01-22 23:18:14 +01:00
0d1befdf2d Move /profile_photo to Module\Settings\Profile\Photo 2020-01-20 07:27:12 -05:00
d5a473abda
Shorten "PConfiguration" to "PConfig" again, since the Wrapper is gone 2020-01-19 22:23:44 +01:00
cb80108957
Shorten "Configuration" to "Config" again, since the Wrapper is gone 2020-01-19 21:29:36 +01:00
2838635d64
Move L10n class from L10n subdir to Core (replacing old wrapper) 2020-01-19 16:31:30 +01:00
bfae6766bf
Implement Hook::callAll('storage_instance') call for addons and add a description for it.
- Remove implicit Dice usage
- Add concrete instance creating
- Adding Hook call for addon instance creating
- Updating doc for Hook
- Updating tests
2020-01-10 13:22:03 +01:00
d6fab6b06b
making update really work ... 2020-01-10 13:21:59 +01:00
08edeae2f9
Make Storage testable & add tests
- Making StorageManager dynamic (DI::facStorage())
- Making concrete Storage dynamic (DI::storage())
- Add tests for Storage backend and failure handling
- Bumping Level-2/Dice to "dev-master" until new release
- Using Storage-Names instead of Storage-Classes in config (includes migration)
2020-01-10 13:21:57 +01:00
bad50d31c0 Added index for performance considerations 2020-01-05 12:48:18 +00:00
30a4b0eafb Merge remote-tracking branch 'upstream/develop' into item-notification 2020-01-04 22:53:06 +00:00
4bfd0abec7 New "UserItem" class, new notification type field 2020-01-04 12:21:42 +00:00
52c5b0e0f3 Remove unused BBCode::scaleExternalImage parameters
- Remove now obsolete system.no_view_full_size config key
2020-01-02 20:44:15 -05:00
933085c626 Add missing constructor parameter to User\Cookie in dependencies.config 2020-01-01 10:56:56 -05:00
c1dbb25656
Creating interfaces for Config/PConfig & fix tests 2019-12-29 20:18:19 +01:00
25847c4c71
Merge pull request #8022 from nupplaphil/task/mod_hcard
Move mod/hcard to src\Module\HoverCard
2019-12-28 21:42:01 -05:00
4d545825f0
optimize usage of arguments 2019-12-28 15:28:17 +01:00
eeb78d2d29
Move mod/hcard to src\Module\HoverCard 2019-12-27 22:53:09 +01:00
aa5771cf3e
Move Login/Logout/TwoFactor to bundled submodule "Security" 2019-12-27 22:19:28 +01:00
d30e8665e1
Move mod/openid to src\Module\OpenId 2019-12-27 22:16:40 +01:00
94954c810b
Merge pull request #7996 from annando/poco-cleanup
The PoCo-Workers had been split
2019-12-24 05:13:36 -05:00
00756737b5 Merge branch 'master' 2019.12 into develop 2019-12-23 20:03:47 +01:00
90408b9d49 Discover directory type 2019-12-21 13:48:20 +00:00
Philipp
5197833c55
Merge pull request #7930 from MrPetovan/task/7887-api-followers-request
Add POST follow request Mastodon API endpoint
2019-12-18 22:12:52 +01:00
1075bfb189 Issue 7659: Udate the "user-contact" value with the "contact" values 2019-12-17 07:10:55 +00:00
533f07e874 Issue 6867: Only display direct mentions in the corresponding API endpoint 2019-12-15 13:14:55 +00:00
6e4a428c73
Merge pull request #7907 from nupplaphil/task/reduce_app_deps
Cleanup Session/Authentication
2019-12-14 09:53:40 -05:00
2d47952921 Add POST follow request Mastodon API endpoint 2019-12-11 08:25:44 -05:00
1c69dda2e1
Merge pull request #7926 from annando/api-instance
API: Added endpoints /instance and /instance/peers
2019-12-11 04:07:49 -05:00