Commit graph

571 commits

Author SHA1 Message Date
Michael ef43aa1a4d Added database definition 2021-04-26 10:00:05 +00:00
Michael 688e056ad1 "post-reason" ends double usage of "post-type" 2021-04-07 06:02:06 +00:00
Michael 5666866812 Trending tags are now sort by different users 2021-03-11 19:59:42 +00:00
Michael d30ec1eb58 More indexes / performance for "pinned" improved 2021-03-10 13:25:37 +00:00
Michael 1e56cee2c5 Issue 9906: Hopefully finally fixes the speed issues 2021-03-09 21:21:33 +00:00
Michael d78345e694 Issue 9968: Avoid blocking update calls 2021-03-06 16:52:36 +00:00
Michael 470a47647a Small performance improvements, new view for future use 2021-03-06 05:47:49 +00:00
Michael 0277c55c43 Fix slow queries 2021-03-01 22:08:33 +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 1c13a08d52 Updated database.sql 2021-02-21 13:14:17 +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 abf7cbcc45 Updated database.sql 2021-02-20 20:51:08 +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 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 5f3c00271a Updated database.sql 2021-02-14 22:05:00 +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 91ecbb1754 Updated database.sql 2021-02-09 17:11:52 +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 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
Michael 30cc806c60 Added database.sql 2021-01-30 22:43:50 +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 57ed388f9a Updated database.sql 2021-01-28 22:52:05 +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 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 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 90349d14e1 Chaning wording 2020-12-02 14:55:57 +00:00
Michael bd4dc10588 Ensure that the database.sql contains "if exists" 2020-12-02 08:50:45 +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 Vogel 1e22c9f5eb
Apply suggestions from code review
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2020-11-29 17:09:51 +01:00
Michael 0b99c0d98f Updated database.sql 2020-11-29 09:03:19 +00:00
Michael 818c064c0a The notifications parameters are now simplified 2020-11-25 19:56:39 +00:00
Michael 12e234656c Updated database.sql 2020-11-24 06:26:26 +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 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 682b9c24f8 Update database.sql with the latest structure changes 2020-11-15 11:42:46 -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 e548d647aa New table for attached media files 2020-10-29 05:20:26 +00:00
Michael c03698953c Added database.sql 2020-10-05 16:50:38 +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 4a15c5fcfe Welcome 2020.12-dev 2020-09-20 15:40:56 -04:00
Michael 7fba4145ed Updated database.sql 2020-09-19 12:53:20 +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 247d87c4e5 Added "manually-approve" to the owner-view 2020-09-02 03:18:04 +00:00
Michael c8069eda0c New field "manually-improved" 2020-09-02 03:06:44 +00:00
Michael 104c4bd734 More foreign keys added, one removed 2020-08-26 05:32:47 +00:00
Michael 9113b7e393 database.sql added 2020-08-24 20:09:03 +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 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