Commit graph

709 commits

Author SHA1 Message Date
Michael 2433fee461 Changes after code review 2022-05-05 12:23:44 +00:00
Michael ab42fd88a4 Changed index for the categories 2022-05-05 08:45:32 +00:00
Michael 2a4b5b4cb4 New index 2022-05-05 08:40:50 +00:00
Michael f6218427a4 Use the uri-id to fetch the contact 2022-05-03 21:51:56 +00:00
Michael fdf8002df1 Update database.sql 2022-05-03 08:26:38 +00:00
Michael c608d85707 Updated database description 2022-05-02 05:17:42 +00:00
Michael a2452b33eb Add missing fields to collection 2022-04-29 10:13:23 +00:00
Michael d3de2497bc Use gsid for the network name 2022-04-29 07:47:24 +00:00
Michael d44641e58c Fetch avatar by id 2022-04-29 07:30:13 +00:00
Michael 990eea2c4e We now store uncommon endpoints 2022-04-25 13:45:03 +00:00
Michael ac08bc1362 Enhanced database comment 2022-04-24 00:20:06 +00:00
Michael 060597f619 Store the tag type for the post targets 2022-04-23 11:39:19 +00:00
Michael 834844573b We can now store incoming questions 2022-04-20 06:28:02 +00:00
Michael 75bc4eccb7 Display featured posts for contacts 2022-04-07 21:52:25 +00:00
Michael 612e91b603 Added description 2022-04-06 15:02:21 +00:00
Michael a1dd299eb3 Preparations for "featured" posts 2022-04-06 13:34:11 +00:00
Michael c0b3c527d6 Added processing of incoming block notices 2022-04-05 19:14:29 +00:00
Michael 61abc6377d Preparation for "Featured" collection added 2022-04-04 23:07:44 +00:00
Michael 8c34c3b8ae Don't display Peertube groups as forums 2022-03-24 11:30:32 +00:00
Hypolite Petovan 7ce97459d4 Deprecated the notify table/classes 2022-03-14 07:56:20 -04:00
Tobias Diekershoff 79bc863831 bump Friendica version to 2022.05-dev again 2022-03-07 14:10:57 +01:00
Tobias Diekershoff f660c38944 bump Friendica version to 2022.03 2022-03-07 14:08:21 +01:00
Michael d019ef57d2 Database version increased, code simplified 2022-02-15 15:44:44 +00:00
Michael e394143148 Private forums are now working via ActivityPub 2022-02-12 18:38:36 +00:00
Michael 85eab6ebee New field for groups that are connected with forums 2022-02-09 19:44:10 +00:00
Michael 9a764516d0 Use the "contact-type" instead of "forum" or "prv" 2022-02-09 06:52:16 +00:00
Michael 2fdd33f504 Updated database.sql 2022-02-06 20:05:29 +00:00
Michael 92a71f8c27 Store wekk/month&halfyear usage / number of posts 2022-02-06 20:03:19 +00:00
Hypolite Petovan 34ca5958a8 [Database version 1449] Coalesce null values in post-content.body field of post-user-view view 2022-01-29 02:45:12 -05:00
Michael 29be22ee6a Display interaction data for Diaspora accounts 2021-12-30 22:11:52 +00:00
Michael f7e859ec2c API: Set "dismissed" instead of "seen" 2021-12-28 20:38:18 +00:00
Philipp Holzer 6ca5668ac1
Migrate distributed cache config value 2021-12-14 10:14:24 +01:00
Philipp Holzer 583ce63ac7
Bump version string to 2021.12-rc 2021-11-28 12:51:20 +01:00
Michael 8211cef49d Coding standards, changed database version 2021-11-22 07:39:40 +00:00
Michael 214a0524dd Merge remote-tracking branch 'upstream/develop' into api-status 2021-11-22 07:33:25 +00:00
Michael 670bbe58a1 API: The status is now an object 2021-11-22 07:28:02 +00:00
Hypolite Petovan fd0d17df31 [Database version 1444] Add "hidden" field to user-contact table
- This is a user-specific field
2021-11-21 18:59:37 -05:00
Michael a911e8eefd Changed field description 2021-11-07 17:04:02 +00:00
Michael d7502848fa Updated database documentation 2021-11-07 16:10:47 +00:00
Philipp Holzer 5350e0852d
Add hostname to Process entity 2021-11-06 20:21:01 +01:00
Philipp Holzer f5786a8f4f
set intro::duplex deprecated because of no usage 2021-10-21 21:57:24 +02:00
Philipp Holzer b4572a5293
Update DB version 2021-10-21 21:56:46 +02:00
Philipp Holzer ed184bd592
Set intro.blocked to deprecated 2021-10-21 21:56:46 +02:00
Michael 3781b34272 PROFILE_PHOTOS is mostly removed and replaced 2021-10-19 19:15:28 +00:00
Michael 6d0f6babe3 Mandatory index added 2021-10-19 01:55:24 +00:00
Philipp Holzer d470a6a981
Push DB Version 2021-10-18 23:32:49 +02:00
Philipp Holzer b5d994394e
Fixing PUBLIC usage, Fixing DB-View, Creating tests 2021-10-18 23:32:45 +02:00
Michael f1d3f60499 Remove "fcontact" from suggestions 2021-10-17 20:19:02 +00:00
Michael 948450c24b Changed field description 2021-10-11 17:21:29 +00:00
Michael 13827edd2c New photo field "photo-type" as preparation for banners 2021-10-11 14:21:10 +00:00
Michael d30dc52101 Access contact avatars by guid 2021-10-04 06:13:52 +00:00
Hypolite Petovan 9935e8e711 Remove event.adjust field
- It was confusing and introduced complexity that wasn't worth the unclear gain
2021-10-03 13:42:32 -04:00
Michael e938dc1fef Updated "database.sql" 2021-10-02 11:59:03 +00:00
Michael 2926282f8d More fields added to "user-contact" 2021-09-13 14:20:20 +00:00
Michael 84666a314a Rearranged fields 2021-09-13 08:22:11 +00:00
Michael 7c2913488c Remove deprecated fields 2021-09-12 21:02:29 +00:00
Michael 0a01f0443e Deprecated fields 2021-09-12 20:50:03 +00:00
Michael b170dd765d Insert and update some more fields 2021-09-10 20:53:10 +00:00
Michael a4b0ab90b1 Insert a user-contact for every contact 2021-09-10 13:05:16 +00:00
Michael e28a4265c5 API: First steps to support subscriptions 2021-08-15 00:30:41 +00:00
Michael ce46ab2573 The Matrix and XMPP address is now transported via AP as well 2021-08-10 23:49:09 +00:00
Michael bee04f86ee Matrix addresses can be entered in the profile 2021-08-09 01:39:09 +00:00
Michael 6ea3d4aa61 Added API calls, removed fields 2021-07-29 10:34:31 +00:00
Michael 2951243b07 Preparation for delayed posts 2021-07-28 22:22:00 +00:00
Michael c1f849c389 Unneeded legacy DFRN table removed 2021-07-22 07:11:26 +00:00
Michael 6668066099 The legacy OAuth server is removed 2021-07-20 17:41:04 +00:00
Michael 3a5523820c Legacy DFRN transport layer is removed 2021-07-15 13:28:32 +00:00
Michael d267ba999c We now use the new account-user-view (and fixed the function name) 2021-07-11 09:39:34 +00:00
Michael 58b84ca01d Public id added 2021-07-11 03:06:46 +00:00
Michael f1e4d30898 New view chat combines all contact tables 2021-07-10 21:55:03 +00:00
Michael 07d2dfcd60 Some more "convertForUriId" replacements 2021-07-10 12:58:48 +00:00
Michael 6e79da0b0c The uri-id is now in all contact tables 2021-07-09 07:09:33 +00:00
Michael dfe1d53342 Moved database structure 2021-07-08 19:16:23 +00:00
Michael 901c3f4855 we now have got an uri-id field for the contact table 2021-07-08 18:59:58 +00:00
Michael 178bc543e3 New founction to count threads 2021-07-08 17:32:41 +00:00
Michael f29bd23ea8 New function to convert BBCode for a given ID 2021-07-08 13:47:46 +00:00
Michael aed5e4cc96 New struture for post related links 2021-07-05 18:45:49 +00:00
Michael e2dc36a691 AP: Support "discoverable" 2021-06-30 05:40:11 +00:00
Michael fe07dc828b Fix noscrape publishing and pulling, added header 2021-06-17 11:23:32 +00:00
Michael 24cc82f396 API: (hopefully) improves speed of the public timeline 2021-06-12 15:19:56 +00:00
Michael 3f0937dd42 API: Show activity notifications 2021-06-01 05:51:03 +00:00
Michael 32d0d45adf Issue 10287: Don't show ignored and blocked posts 2021-05-24 10:51:21 +00:00
Michael 6fe916a390 API: improved mail handling 2021-05-22 13:37:04 +00:00
Michael 49207a8624 Added scope check 2021-05-16 07:37:11 +00:00
Michael 04c95f2441 added line break 2021-05-13 15:26:17 +00:00
Michael b18073d5a8 Repurposed OAuth frontend handling, store the scope 2021-05-13 14:58:55 +00:00
Michael 9dd21bda6d OAuth login prototype 2021-05-11 06:19:23 +00:00
Michael 585d283ff9 Preparation for Oauth client registration 2021-05-09 22:23:21 +00:00
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