Commit graph

244 commits

Author SHA1 Message Date
Michael 15162b4027 New table "post-thread-user" 2021-01-31 18:32:22 +00: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
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 8643603f8b Fix "Item couldn't be fetched." 2021-01-17 10:04:47 +00:00
Michael 2b1d0b9db8 "selectForUser" and "" selectFirstForUser" is now moved to Post 2021-01-16 22:37:27 +00:00
Michael f4addd337d New database version, fixes to empty field list 2021-01-14 22:51:44 +00:00
Michael bf563a1a39 Store the server transport protocol 2021-01-10 19:08:23 -05:00
Michael 7f56e2e7a9 Improve photo loading speed 2020-12-26 18:51:36 +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 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 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
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 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
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 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 6c3ffb75a6 Issue 9366: filter account types on the network page 2020-10-05 16:48:28 +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
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
Michael 6acf660ebd New model class "host" 2020-09-02 19:19:00 +00:00
Michael cbf1e5c699 New field "manually-approve" for contact table 2020-09-02 03:02:50 +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 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
Michael Vogel 45c12e7716 Some performance tweeks 2020-08-16 13:57:56 +02:00
Michael 24b5396b1d Using a view for the network page 2020-08-15 11:31:34 +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 18617f6c48 Fetch followers/followings of contacts 2020-07-26 07:34:33 +00: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 Vogel af6f6d4957 Fix speed issues with the network page 2020-07-10 00:22:26 +02: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 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 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 59675c4f0b Merge remote-tracking branch 'upstream/develop' into no-term2 2020-05-05 15:44:24 +00: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 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 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 f5886db3e2 New view for searching tags 2020-04-27 20:32:25 +00:00
Michael 63ebbb8a16 We now can define views 2020-04-23 06:19:44 +00:00
Michael 87aebe6af5 Default value 2020-04-19 16:43:37 +00:00
Michael 0f2215bc17 Hybrid mode for non resolvable contacts 2020-04-18 16:00:06 +00:00
Michael 5d34a90d67 Store mentioned contacts in another way 2020-04-18 14:41:26 +00:00
Michael 3ce9386cb1 Improved body scanning, increased length 2020-04-18 10:05:30 +00:00
Michael db657b0149 We now store the tags in two separate tables 2020-04-17 06:35:20 +00:00
Michael 67a67200a7 Storing mentions in Diaspora and AP 2020-04-13 23:54:28 +00:00
Michael 552fd98657 The "sign" table had been removed 2020-04-13 16:27:40 +00:00
Hypolite Petovan f2638ca65b Remove extraneous relation on item-content.id 2020-03-22 10:28:13 -04:00
Hypolite Petovan f50a39d19d Remove extraneous relation on item-activity.id 2020-03-22 10:04:30 -04:00
Michael 82589a29cd Fix 8401: Don't let dbstructure think that it needs to update the table 2020-03-11 20:49:23 +00:00
Michael c261457b03 Store the interaction date as well. 2020-03-10 22:04:03 +00:00
Michael f27900ad78 Reduce the load of "gfollower" 2020-03-10 21:10:59 +00:00
Michael 37376fa715 Issue 8371: Improvements for picture permissions 2020-03-08 13:16:59 +00:00
Michael d6905e29cf Query the same contact only once a month 2020-03-07 05:31:03 +00:00
Michael 9adf09be51 Don't delete and recreate the rows over and over again 2020-03-06 13:51:36 +00:00
Michael bd77556b49 New table for relations between global contacts - will replace glink in the future 2020-03-06 08:08:49 +00:00
Michael af6db65961 Store the push/pull direction in the conversation table 2020-03-03 08:01:04 +00:00
Michael dc9ea15bb1 Updated field description 2020-03-02 20:48:26 +00:00
Michael ca1b92bb34 Support unlisted public posts 2020-03-02 07:57:23 +00:00
Michael 3bd1f3a836 No more gender 2020-02-16 10:55:18 +00: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
nupplaPhil 7d714319c8
Add license info at Friendica PHP files 2020-02-09 16:34:23 +01:00
Hypolite Petovan da09215db8 [Database] Version 1333
- Exchange profile.pdesc for profile.about
2020-02-09 02:35:46 -05:00
Hypolite Petovan 2171cc8a32 [Database] Structure version 1332
- Deprecated several fields in profile table
2020-01-22 19:42:36 -05:00
Hypolite Petovan 6857d24995 [Database] Structure version 1331
- Add profile_field table
2020-01-22 19:42:33 -05:00
Philipp Holzer d6fab6b06b
making update really work ... 2020-01-10 13:21:59 +01:00
Michael bad50d31c0 Added index for performance considerations 2020-01-05 12:48:18 +00:00
Michael 4bfd0abec7 New "UserItem" class, new notification type field 2020-01-04 12:21:42 +00:00
Michael 90408b9d49 Discover directory type 2019-12-21 13:48:20 +00:00
Michael 1075bfb189 Issue 7659: Udate the "user-contact" value with the "contact" values 2019-12-17 07:10:55 +00:00
Michael 533f07e874 Issue 6867: Only display direct mentions in the corresponding API endpoint 2019-12-15 13:14:55 +00:00
Michael 911a854255 APContact: Added follower count, following count and count of posts 2019-12-11 00:05:50 +00:00
Hypolite Petovan f2c31ef1c0
Merge pull request #7828 from nupplaphil/task/move_enotify
Remove unnecessary code in "include/enotify"
2019-11-09 16:48:26 -05:00
Philipp Holzer f9e3ff4b55
Remove unnecessary hash function.
- Was introduced for getting the last inserted ID before "lastInstertID()" was possible
- See b821399f00 (diff-a8e86a3c07531e66a3b0b4c8b4b07879R148)
2019-11-09 21:50:52 +01:00
Michael ed58af25a5 show pinned items 2019-11-07 06:53:18 +00:00
Michael cf56992444 We can now pin our own posts 2019-11-07 05:39:15 +00:00
Philipp Holzer a94c4fc440
Revert "Add not null/default value for ACL in fields"
This reverts commit 1f535016 due incompatible combination
2019-10-28 21:59:55 +01:00
Philipp Holzer 1f535016d4
Add not null/default value for ACL in fields 2019-10-28 21:47:43 +01:00
Michael 0d32a8674b Update the "unsearchable" field in the "self" contact 2019-09-19 03:54:54 +00:00
Michael a483ea8acb Increasing database version number 2019-08-21 21:11:37 +00:00
Michael e430b074ce Fix table structure definition 2019-08-21 06:18:32 +00:00
Michael 5a1a5a54dc Delivery count now counts the failed delivery attempts as well 2019-08-20 07:39:13 +00:00
Hypolite Petovan d7fdb42488 Database Structure Version 1320
- Add 2fa_app_specific_password
2019-07-22 07:39:28 -04:00
Michael 41a1c1c3e6 Fetch items by given uri 2019-07-18 06:11:02 +00:00
Philipp Holzer 92fb0a82ca
Dynamic config loading
- Move settings, defaults and dbstructure to directory 'static'
- Dynamic loading of config files (after the static loading)
- Filter out '-sample.config.php' and '-sample.ini.php' files
- Remove unnecessary ConfigFileManager
- Move ConfigFileLoader to Utils
- Add tests for multi-loading for INI, config and sample-filtering
2019-07-16 20:16:43 +02:00
Renamed from config/dbstructure.config.php (Browse further)