Commit graph

511 commits

Author SHA1 Message Date
Michael
5f48d6497e Fix slow queries 2021-03-01 22:19:47 +00:00
Hypolite Petovan
9c0549128b Make frio the default theme 2021-03-01 10:20:44 -05:00
Michael
99a145f7cf Fixes several database errors, removes "relation" handling 2021-02-25 05:13:49 +00:00
Michael
e3c690dca1 Use "pdo_emulate_prepares" by default 2021-02-24 05:54:49 +00:00
Michael
dc18ba33f0 Fix PR #9949 2021-02-23 05:42:37 +00:00
Michael
1792046a4f post/thread views are renamed, search bugs fixed 2021-02-22 19:47:08 +00:00
Michael
eb07089088 More missing indexes 2021-02-21 16:43:06 +00:00
Michael
dacf36d05a Another missing index 2021-02-21 15:27:00 +00:00
Michael
454fbc8ad7 Queries without indexes 2021-02-21 10:37:15 +00:00
Michael
d78cf95495 Added index, join order fixed 2021-02-21 05:28:27 +00:00
Michael
bb59ca4de8 Added mistakenly removed field 2021-02-20 21:33:21 +00:00
Michael
92a8a399de Improved indexes, avoiding SQL errors, improving speed 2021-02-20 20:07:25 +00:00
Michael
abcbbd2ec1 Merge remote-tracking branch 'upstream/develop' into no-item 2021-02-19 06:59:45 +00:00
Michael
c247d5fbeb The item table is now completely removed 2021-02-19 06:30:38 +00: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
7de03eb13f [Database version 1402] Rework parsed_url table
- Allow arbitrary-sized URL
- Use URL hash for primary key instead of truncated URL, requires table truncation pre update
- Add expires field
2021-02-18 08:49:33 -05:00
Michael
312c01a517 Several speed improvements (magiclink, caching, indexes) 2021-02-17 18:59:19 +00:00
Michael
60a6dfa23c Fix several database issues 2021-02-16 22:04:03 +00:00
Michael
649901f3ea Network update does work now again 2021-02-15 17:34:31 +00:00
Michael
1778e57baf Missing field in view 2021-02-15 06:14:53 +00:00
Michael
36357e790e "id" is now post-user-id 2021-02-14 18:33:15 +00:00
Michael
07c07ec499 More "item" traces removed 2021-02-14 09:43:27 +00:00
Michael
ce6ad1aa73 Get rid of the "item" table, enhanced "post" tables 2021-02-13 19:56:03 +00:00
Michael
cb92f1334f Rearranged field definition 2021-02-09 17:10:45 +00:00
Michael
f1377ce7fb Issue 9906: Improved view speed 2021-02-09 16:35:01 +00:00
Michael
ab5a447bc2 The "thread" table isn't used anymore 2021-02-08 07:48:36 +00:00
Michael
5e846dd7c2 The thread table is replaced by post-thread and post-thread-user 2021-02-04 05:51:25 +00:00
Michael
e561cad844 "participation" is removed since it is unused 2021-02-02 06:28:51 +00:00
Michael
df24c0daeb User-Item table is replaced 2021-02-02 05:45:57 +00:00
Michael
b26157e6e3 Update function for "post-user-notification" 2021-02-01 20:11:25 +00:00
Michael
be3dfb4ffe Merge remote-tracking branch 'upstream/develop' into post-thread-user 2021-02-01 19:31:39 +00:00
Michael
4c1812a1eb Improved notification description 2021-02-01 11:09:23 +00:00
Michael
8c9346fc12 New table "post-user-notification" 2021-02-01 10:31:38 +00:00
Michael
08317036e7 List of deprecated fields is checked 2021-02-01 07:06:01 +00:00
Michael
c1d99d6c4c Most user-item traces removed 2021-01-31 23:37:34 +00: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
Michael
ac03399a90 Merge remote-tracking branch 'upstream/develop' into post-thread-user 2021-01-31 18:33:02 +00:00
Michael
15162b4027 New table "post-thread-user" 2021-01-31 18:32:22 +00: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
c3398511b4 New table "post-content" 2021-01-30 22:03:53 +00:00
Hypolite Petovan
9a4128a5c8
Merge pull request #9873 from annando/post-user
New "post-user" structure, new update  functionality
2021-01-28 19:32:17 -05:00
Michael
9a9674d5fb New "post-user" structure, new update functionality 2021-01-28 22:45:54 +00: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
Hypolite Petovan
b633d75e6c [Database version 1394] Add 2fa_trusted_browser table 2021-01-23 05:42:58 -05:00
Michael
d2ea3eabfb Replace legacy file/category handling 2021-01-21 07:16:41 +00:00
Michael
a773a72eaa The "icid" field is deprecated 2021-01-19 23:26:24 +00:00
Michael
b892db0cf3 All item selects are now done by the post class 2021-01-19 07:23:01 +00:00
Michael
2d0443a109 Avoid duplicates in post-view 2021-01-18 22:26:17 +00:00
Michael
f9430175c6 Avoid multiple lines in post-view, added thread view 2021-01-18 07:10:04 +00:00
Michael
4157db5473 "item" is replaced by "post-view" / postupdate check added 2021-01-17 20:32:13 +00:00
Michael
608d3b2b32 The view can be made simpler 2021-01-17 10:14:38 +00:00
Michael
8643603f8b Fix "Item couldn't be fetched." 2021-01-17 10:04:47 +00:00
Michael
d6052d309c Make the group member be "LEFT JOIN" 2021-01-16 23:46:57 +00:00
Michael
d0174b57dd Add group id 2021-01-16 23:14:37 +00:00
Michael
2b1d0b9db8 "selectForUser" and "" selectFirstForUser" is now moved to Post 2021-01-16 22:37:27 +00:00
Michael
3ab4e20fe6 Some more fields that will be needed for the user query 2021-01-15 11:46:57 +00:00
Michael
4cc52cef6b Added "blocked" fields 2021-01-15 11:31:24 +00:00
Michael
a19e411000 User-Item is not needed 2021-01-15 09:13:18 +00:00
Michael
f4addd337d New database version, fixes to empty field list 2021-01-14 22:51:44 +00:00
Michael
49d9cbb627 Rearrangements, adding user-item 2021-01-14 21:32:59 +00:00
Michael
8e12dd1658 Post view works now, "file" handling improved 2021-01-14 14:45:40 +00:00
Michael
ca16a4892b The item view is completed, unneeded fields removed 2021-01-13 07:23:57 +00:00
Michael
122ad0af14 Merge remote-tracking branch 'upstream/develop' into item-view 2021-01-12 21:14:28 +00:00
Michael
bf563a1a39 Store the server transport protocol 2021-01-10 19:08:23 -05:00
Michael
df135c31fe Merge remote-tracking branch 'upstream/develop' into no-frontend-worker 2021-01-07 10:44:12 +00:00
Michael
e42939a2e3 Delete sleeping database processes 2021-01-06 23:04:25 +00:00
Michael
e944e5d7a2 Added description 2021-01-05 22:23:46 +00:00
Michael
7e89bf5af8 Wait for child being ready 2021-01-05 10:18:25 +00:00
Michael
a81ac835a1 The frontend worker is removed 2021-01-01 23:05:26 +00:00
Michael
7f56e2e7a9 Improve photo loading speed 2020-12-26 18:51:36 +00:00
Michael
d09a3c78ac Changed description 2020-12-20 15:31:25 +00:00
Michael
d755bbae8f Remove unneeded configutation 2020-12-20 08:56:32 +00:00
Michael
a49a35f459 Centralized fetching of the default avatar 2020-12-07 06:43:43 +00:00
Michael
9f96f3ef34 Moved updating personal contacts to updatecontact 2020-12-04 05:53:11 +00:00
Michael
8d999f54d0 Check and add a server 2020-12-03 22:32:51 +00:00
Michael
8cbe2f025b Updates database version 2020-12-03 15:50:14 +00:00
Michael
0c9a0ce64e Merge remote-tracking branch 'upstream/develop' into worker-command 2020-12-03 15:48:46 +00:00
Michael
edbdfbae6b workerqueue now has a "command" field 2020-12-03 15:47:50 +00:00
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
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
ccfb17151b
small improvements 2020-10-06 20:56:20 +02:00
Philipp
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
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