Commit graph

427 commits

Author SHA1 Message Date
Michael 90349d14e1 Chaning wording 2020-12-02 14:55:57 +00:00
Michael b2dadf0f92 Use a combined unique index 2020-12-02 00:34:10 +00:00
Michael b047d31a4f Added logging and default config value 2020-12-01 23:46:50 +00:00
Michael 61ecdf789c Fix table structure 2020-12-01 22:21:44 +00:00
Michael 2aa302c570 New class for handling delayed posts 2020-12-01 22:11:29 +00:00
Michael bb823c323b Configuration for the priority of the notification for expired messages 2020-11-30 21:40:55 +00:00
Michael Vogel 1e22c9f5eb
Apply suggestions from code review
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2020-11-29 17:09:51 +01:00
Michael 7ab63d2106 Store the protocol of the received message 2020-11-29 09:01:51 +00:00
Hypolite Petovan f0d6f8c45e
Merge pull request #9597 from annando/api-endpoints
API: Mastodon endpoints added as "unimplemented"
2020-11-26 09:34:36 -05:00
Michael db5cd6e66c API: Mastodon endpoints added as "unimplemented" 2020-11-26 07:02:31 +00:00
Michael 818c064c0a The notifications parameters are now simplified 2020-11-25 19:56:39 +00:00
Michael e4e9a20ac8 Don't transmit to archived inboxes 2020-11-23 19:25:22 +00:00
Michael 1bc76fdb6d Watchdog mode to check if the daemon is running 2020-11-20 19:50:08 +00:00
Michael deae47cbfd Increasing version number 2020-11-20 00:22:56 +00:00
Michael 190e0ff913 Moved table 2020-11-20 00:17:32 +00:00
Michael adc49724dd Use "int" 2020-11-20 00:05:25 +00:00
Michael e673da536c tinyint 2020-11-20 00:02:00 +00:00
Michael d5cc466603 Mediumint 2020-11-19 23:52:07 +00:00
Michael cd4a2bce9c Trying "tinyint" 2020-11-19 23:39:18 +00:00
Michael b2e7a9cc5c Trying "int" 2020-11-19 23:28:10 +00:00
Michael 2255a5d41a Foreign key for verb 2020-11-19 23:21:31 +00:00
Michael c07573e25f Test for failed test 2020-11-19 16:15:00 +00:00
Michael cbfea67ba6 Improved key length 2020-11-19 09:47:59 +00:00
Michael 3af5f6b8ee Some more foreign keys added 2020-11-19 06:26:30 +00:00
Michael a2c652bef5 No "not null" 2020-11-18 00:31:05 +00:00
Michael 4c78ac3ce2 Avoid foreign key problem 2020-11-18 00:24:38 +00:00
Michael 317921e51c Changed order 2020-11-17 23:45:16 +00:00
Michael 5668192f38 Moved table definition 2020-11-17 22:49:55 +00:00
Michael eaa58da25b New table "post-user" and more foreign keys 2020-11-17 22:33:44 +00:00
Hypolite Petovan c98da63041 [Database version 1375] Add update method to populate missing item.thr-parent values 2020-11-14 10:11:26 -05:00
Hypolite Petovan 5e76def1ff Clarify item.parent-uri use in database field comment 2020-11-14 10:08:50 -05:00
Roland Häder 32e9a4d4d7
Some fixes:
- varbinary() is not needed when clear-text words like 'xmpp' are used for them,
  it also hinders using external tools like Adminer/phpMyAdmin to search for
  them as e.g. Adminer wraps a HEX() call (SQL) around `k` and `cat` (see table
  `pconfig`)
- added missing UPDATE::SUCCESS

Signed-off-by: Roland Häder <roland@mxchange.org>
2020-11-14 15:29:41 +01: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 Vogel 55f26218af
Merge pull request #9500 from MrPetovan/bug/9326-owner-view-blocked
[dbstructure 1373] Replace contact.blocked with user.blocked in owner-view
2020-11-08 08:45:12 +01:00
Hypolite Petovan 254b5ae07a [dbstructure 1373] Replace contact.blocked with user.blocked in owner-view
- It was falsely reporting blocked users as unblocked since we don't block the public self contact
2020-11-08 02:35:55 -05:00
Michael 43749c3069 The "attach" field is now deprecated 2020-11-07 08:22:59 +00:00
Michael c030275815 API: accounts and trends 2020-10-31 22:32:26 +00:00
Michael e548d647aa New table for attached media files 2020-10-29 05:20:26 +00:00
Michael 592ac53ffc Worker priority / no shadow worker 2020-10-24 08:05:03 +00:00
Michael 7efd01880c Define a maintenance window 2020-10-17 12:39:42 +00:00
Michael 5a685427ac Post expiry: Limit for deletions 2020-10-17 08:16:17 +00:00
Michael Vogel dbea9a4d50
Merge pull request #9419 from MrPetovan/task/9127-network-min_id-max_id
Move network module to src/
2020-10-14 05:54:38 +02:00
Hypolite Petovan 5abe069cba Remove Widget::accounts in favor of Widget::accounttypes 2020-10-13 22:30:40 -04:00
Philipp Holzer 970d384bdc
Add env mappings 2020-10-13 20:02:24 +02: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 ae6b380362
Merge pull request #9373 from nupplaphil/task/server_env
Introduce possibility for mapping $_SERVER variables to config-cache values
2020-10-08 15:00:31 -04:00
Philipp Holzer ccfb17151b
small improvements 2020-10-06 20:56:20 +02:00
Philipp Holzer d39ee428f0
Introduce "static/env.config.php" for environment variable mapping to config cache entries
- Added new database.port config value (used for MYSQL_PORT)
- Removed now obsolete db environment variable functionality
- Added functionality to load env variables (overwrites DB based cached)
2020-10-06 20:43:29 +02:00
Michael 6c3ffb75a6 Issue 9366: filter account types on the network page 2020-10-05 16:48:28 +00:00
Michael 427881c437 Default values for settings / use lowercase 2020-10-01 21:14:26 +00:00
Michael 7a50ec4815 Only update public contacts that are in use 2020-09-27 11:55:31 +00:00
Michael c0ddcfb0cd Hide own contacts 2020-09-26 18:01:10 +00:00
Michael b522f20702 Issue 9268: Don't show posts from followers on community page 2020-09-26 09:09:56 +00:00
Michael 93cd85595c Added foreign key 2020-09-22 07:19:44 +00:00
Michael 338ddf45b1 We now store the causer-id in the items 2020-09-22 05:36:01 +00:00
Hypolite Petovan a852455d0e Merge remote-tracking branch 'friendica/stable' into develop
# Conflicts:
#	composer.lock
2020-09-20 15:32:58 -04:00
Philipp Holzer c9e510d4fd
Use getmypid() as dependency (improve testing) 2020-09-19 20:28:01 +02:00
Michael 38635b1544 Issue 8961: Move default value for site settings to settings.config.php 2020-09-19 17:52:11 +00:00
Michael 86592daaa1 Include more field in the fulltext search 2020-09-19 10:45:11 +00:00
Michael dfeae25e6d Issue 9231: Speed up full text search 2020-09-19 08:26:50 +00:00
Hypolite Petovan 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
Michael efb461583b Move default setting to the configuration file 2020-09-16 06:08:30 +00:00
Michael 55e169db49 Configurable list of domains to ignore redirects 2020-09-16 04:56:37 +00:00
Hypolite Petovan e23f3a645a Add profile page aliases to routes 2020-09-12 09:09:15 -04:00
Michael e4c0c30086 Issue 8961: Rearranged config defaults 2020-09-09 16:58:58 +00: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 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
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 6acf660ebd New model class "host" 2020-09-02 19:19:00 +00:00
Michael 247d87c4e5 Added "manually-approve" to the owner-view 2020-09-02 03:18:04 +00:00
Michael cbf1e5c699 New field "manually-approve" for contact table 2020-09-02 03:02:50 +00:00
Michael 7be6fbf652 API: Support for the "directory" endpoint 2020-09-01 19:29:39 +00:00
Michael f9152ce140 Worker: Fetch jobs for multiple workers 2020-08-29 09:03:50 +00:00
Michael dfea3ee3d6 Configuration if the database is opened with persistent connections 2020-08-27 10:59:14 +00:00
Michael 355284841a Optionally display the resharer as icon 2020-08-26 12:33:17 +00:00
Michael 104c4bd734 More foreign keys added, one removed 2020-08-26 05:32:47 +00:00
Michael 88eee2b9c1 Another foreign key added 2020-08-24 21:03:00 +00:00
Michael 89fbc6bb8d Foreign keys added 2020-08-24 20:06:06 +00:00
Michael e02e1d1785 Enable inbox for the system account 2020-08-23 04:14:02 +00:00
Hypolite Petovan 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
Michael cbdaf6298a New foreign key for the "photo" table 2020-08-21 18:37:58 +00:00
Michael 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
Hypolite Petovan 11701e2cd3
Merge pull request #9022 from annando/adjust-frequency
Automatically adjust feed poll frequencies
2020-08-17 16:09:44 -04:00
Michael df75a24dc7 Use config value to trigger automated rating 2020-08-16 21:38:26 +00:00
Michael 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
Michael 1f9b365f3b Issue 9015: Reducing load of remote systems 2020-08-15 20:05:08 +00:00
Michael 71d9037970 Some further cleaning up 2020-08-15 12:06:18 +00:00
Michael 24b5396b1d Using a view for the network page 2020-08-15 11:31:34 +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
Michael d153db44ac Periodically run an "optimize table" command for cache tables 2020-08-04 12:24:24 +00:00
Michael 76705664cd Remove the unused tables 2020-08-03 18:26:23 +00:00
Michael 4c089a1f87 "gcign" is removed 2020-07-31 17:58:25 +00:00
Michael 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
Hypolite Petovan 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
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
Michael 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
Hypolite Petovan 0a71495fa4 Add new admin debug module for ActivityPub 2020-07-20 00:39:17 -04:00
Michael 59bebe7bcf Post update added 2020-07-19 10:03:33 +00:00
Michael b50f91b3e1 Merge remote-tracking branch 'upstream/develop' into failed 2020-07-19 01:18:35 +00:00
Michael 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
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
Michael Vogel af6f6d4957 Fix speed issues with the network page 2020-07-10 00:22:26 +02: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
Hypolite Petovan 530ff51898 Rename system config value to db_log_index_denylist 2020-06-07 11:24:56 -04:00
Hypolite Petovan 34463f37e4 Rename contact table column to ffi_keyword_denylist 2020-06-07 11:24:52 -04:00
Michael 62217735f0 Use webfinger in apcontact fetch 2020-06-04 21:55:14 +00:00
Michael e379698227 Issue 8675: reduce requests of foreign pages 2020-06-01 21:52:31 +00:00
Michael 3258216e8d Add "uri-id" to the "thread" table 2020-05-28 21:44:55 +00:00
Michael db907c2ff8 Issue 8700: Resolvable activities 2020-05-27 19:05:33 +00:00
Michael a77b7793a8 Rearranged table order 2020-05-22 05:06:55 +00:00
Michael 95b4f35a12 Improved server detection / gsid introduced 2020-05-22 04:19:32 +00:00
Michael 929455bd01 Update the "vid" 2020-05-19 20:28:27 +00:00
Michael d7f0ffdbc1 Issue 8458: Display big emojis
Fixes #8458
2020-05-17 16:55:54 +00:00
Michael 4d4678ceb6 New experimental database configurations 2020-05-17 09:03:56 +00:00
Michael 9a1de3100d Rearranged dbstructure 2020-05-15 12:17:13 +00:00
Michael 7a82171bfe The "term" table is removed 2020-05-15 06:50:20 +00:00
Michael 3e6451f41f removed foreign key to avoid update errors 2020-05-11 05:48:24 +00:00
Michael ecdf3b798b True foreign keys for the Permissionset 2020-05-10 15:43:43 +00:00
Michael 7f55e1b2bc We now support real foreign keys 2020-05-10 14:55:03 +00:00
Michael 5fe6a2dfcd We now store verbs in a new side table 2020-05-09 15:38:40 +00:00
Michael 1dd4879197 Item view is working 2020-05-06 15:19:06 +00:00
Michael acb44f82c7 Merge branch 'fix-fatal' into item-view 2020-05-06 05:14:18 +00:00
Michael 59675c4f0b Merge remote-tracking branch 'upstream/develop' into no-term2 2020-05-05 15:44:24 +00:00
Michael 2ee14bf5fe Merge remote-tracking branch 'upstream/develop' into post-delivery-data 2020-05-05 14:08:29 +00:00
Hypolite Petovan df7eb7fcc5
Merge pull request #8576 from annando/new-participation
Diaspora participations are now stored as activities
2020-05-05 09:29:04 -04:00
Michael 84e3892955 Merge remote-tracking branch 'upstream/develop' into post-delivery-data 2020-05-05 13:16:01 +00:00
Michael b261df14af Updated database versions 2020-05-04 15:23:45 +00:00
Michael 1912729b90 Tests with item views 2020-05-04 14:33:41 +00:00
Michael 875d6b36e9 File and category aren't using "term" anymore 2020-05-03 15:13:40 +00:00
Michael 1a4beaf061 post update function added 2020-05-02 21:27:37 +00:00
Michael 098ba4a667 "item-delivery-data" is now "post-delivery-data" 2020-05-02 19:34:02 +00:00
Michael 00035f7ba0 Notifications are now storing the uri-id as well 2020-05-02 13:12:11 +00:00
Michael 2a1cdfa36b Diaspora participations are now atored as activities 2020-05-02 08:52:11 +00:00
Michael ac2957c4dd Some more "term" to "tag" conversion 2020-05-01 10:57:32 +00:00
Michael 2b8dabcd95 API search is now done via "tag" as well 2020-05-01 09:41:17 +00:00
Michael 88931e5053 Post update functionality for tags 2020-04-30 06:09:57 +00:00
Michael 8c44f535b7 Merge remote-tracking branch 'upstream/develop' into write-tags 2020-04-29 02:38:33 +00:00
Michael 881c9bbd70 Increased db version number 2020-04-28 19:46:59 +00:00
Michael 6febbef060 Corrected view 2020-04-28 19:15:42 +00:00