Commit graph

418 commits

Author SHA1 Message Date
Philipp
7c4c409060
Change key-value table
- Make "k" as primary key
- Added "updated_at"
2022-12-29 22:36:08 +01:00
Philipp
9a10bb4295
Add key-value table 2022-12-29 21:38:47 +01:00
Michael
5298cd73b3 We now store the violation as well 2022-12-25 10:44:06 +00:00
Michael
8a7d08ae28 Category added 2022-12-24 13:57:43 +00:00
Michael
4c945850f4 Reports: The reporting contact id is added 2022-12-24 08:03:37 +00:00
Michael
a0faca9eaf Updated database version 2022-12-20 07:00:10 +00:00
Michael
ca8a89ed1c Use reshare with Diaspora like with ActivityPub 2022-12-13 23:19:19 +00:00
Michael
bf7df13855 Add more BlurHash to avoid not being able to display some picture 2022-12-11 09:56:30 +00:00
Hypolite Petovan
818cdf83ca [Database version 1500] Remove obsolete table fcontact 2022-12-05 00:00:50 -05:00
Michael
d5e005f90d [Database version 1498] New table "diaspora-contact" for Diaspora contacts (duh)
- Remove duplicated "author-uri-id" keys in view declarations
2022-12-05 00:00:49 -05:00
Michael
a5be5b27e3 Support Blurhash 2022-12-04 13:29:21 +00:00
Michael
f905220923 New field to show the day of the last activity 2022-11-30 22:34:50 +00:00
Michael
f31e617f5d Contact suggestions are now cached 2022-11-30 05:59:27 +00:00
Michael
8eca961aeb Added status to the report 2022-11-29 19:50:12 +00:00
Michael
8b41d62a88 API: Speed improvements 2022-11-29 18:45:30 +00:00
Michael
437419bbd9 Updated database.sql 2022-11-28 20:22:08 +00:00
Michael
c00004f6ea API: Tredning statuses added 2022-11-28 09:30:41 +00:00
Michael
a6ff817f47 Update added 2022-11-23 21:47:47 +00:00
Michael
91949f0292 Allow anonymous reports 2022-11-14 23:27:46 +00:00
Hypolite Petovan
6df187478d Fixed wrong reference to user.expire in Model\User::getActorName
- Update field documentation to prevent further confusion
2022-11-14 17:02:41 -05:00
Hypolite Petovan
5d9ce80007 [Database version 1489] Add new report database tables 2022-11-14 12:10:37 -05:00
Michael
df8644c59c Performance improvements in public timeline 2022-11-08 21:48:42 +00:00
Tobias Diekershoff
a98d321376 add the homepage_verified field to the profile table and the owner-view 2022-11-07 11:15:55 +01:00
Michael
f8f0dfa91a Detect linked posts and add them as quote 2022-10-16 21:37:05 +00:00
Michael
aeb4645ba6 New field "quote-uri-id" for quoted posts 2022-10-10 22:39:30 +00:00
Michael
36668dfdb1 Merge remote-tracking branch 'upstream/2022.09-rc' into duplicates 2022-09-21 03:46:25 +00:00
Michael Vogel
e5c24f33f0 The fcontact table is now updated in the background to improve performance 2022-09-18 15:40:44 +02:00
Michael
79b64cc44f Detect and remove contact duplicates 2022-09-16 05:00:06 +00:00
Michael
a0b99f61ea Use the cached activity function 2022-09-07 19:46:24 +00:00
Michael
da658cbf1d Delete the cache entry when the post is changed or deleted 2022-09-06 21:51:47 +00:00
Michael
6eb9dff807 Pagecache for frequently fetched pages 2022-09-06 06:04:41 +00:00
Michael
144547009b All URL fields are now binary and longer 2022-09-04 07:54:01 +00:00
Michael
3e2c684319 Some more index / fatal erros fixed 2022-08-16 11:23:47 +00:00
Michael
bb52e5a804 Cascade on author deletion 2022-08-16 04:18:29 +00:00
Michael
5b3145d7ce Several performance improvements 2022-08-15 13:23:01 +00:00
Michael
5c5ae00370 Improved performance when updating contacts 2022-08-13 09:01:48 +00:00
Michael
d9aee0b3ea Conversation entries will now be stored asynchronous if possible 2022-08-10 09:28:18 +00:00
Michael
87a945b295 More prevention of double processing of the same content 2022-08-06 17:06:55 +00:00
Michael
6c7dfd6958 New table to control the fetching process 2022-08-01 04:48:49 +00:00
Michael
b6da15557b The post-reason / protocol is now filled in most cases 2022-07-31 15:54:35 +00:00
Michael
86105635ca Improved message handling / new activity relay handling 2022-07-27 17:39:00 +00:00
Michael
51cc1f679f Added trust / isActivityGone 2022-07-24 14:26:06 +00:00
Michael
5d6eb4670a We now store the conversation as well 2022-07-23 13:58:14 +00:00
Michael
7eb410bed7 Conversation/context is now stored 2022-07-23 06:52:43 +00:00
Michael
4930e77eb3 We are now setting the corresponding worker id 2022-07-21 07:05:38 +00:00
Michael
1d13574225 Fetching of missing posts is reworked 2022-07-21 05:16:14 +00:00
Michael
ce38e63399 Add and delete entries 2022-07-18 14:03:49 +00:00
Michael
2f462ffa16 Store incoming posts in a queue 2022-07-18 03:31:00 +00:00
Philipp
0223c030a9
Improve 2 factor usage 2022-06-25 23:04:00 +02:00
Roland Häder
8c38265b37
Changes:
- `url` to `varbinary(1024)`
 - `preview` to `varbinary(512)`

as the previous once (half length) were not enough in real-life scenarios
2022-06-19 23:09:29 +02:00
Roland Häder
2512449751
Incremented again 2022-06-19 15:36:16 +02:00
Roland Häder
96954e2b18
Size "mediumint" wasn't enough:
https://digitalcourage.video/static/webseed/5a039eb2-9fbc-441d-a772-59ae3ee65c15-1080.mp4 has 6758472669 Bytes

So let's go REALLY big.
2022-06-19 15:36:15 +02:00
Roland Häder
5a553df7d8
Incremented database version 2022-06-19 14:41:36 +02:00
Roland Häder
5f6943b008
Changes:
- MySQL index on BLOB/TEXT can only be partial (e.g.: `column`(length))
2022-06-19 10:50:06 +02:00
Roland Häder
8aaf99c61d
Sizes increased for:
- video files that have sizes var being int allowes
- URLs that might be longer (e.g. magnet: URLs) than varbinary(511) allows
2022-06-18 15:31:47 +02:00
Michael
7e747b2f41 API: Speed improvements when fetching posts 2022-06-10 18:49:03 +00:00
Michael
19772f29f3 API: Support for markers added 2022-06-06 21:38:59 +00:00
Michael
d242332aa4 Add the notify type to the notification query 2022-06-05 15:02:03 +00:00
Michael
57b8708425 Issue 11566: More detailled notification configuration 2022-06-05 11:41:08 +00:00
Michael
4108704ee3 Fix: Only public posts can be pinned 2022-06-04 06:11:32 +00:00
Michael
4daae255d8 Performance: Avoid queries where there is no media or category 2022-05-16 17:06:58 +00:00
Michael
324cce7a19 Issue 11472: Store the "edit" history 2022-05-15 20:21:56 +00:00
Michael
a662245c74 We now store the receivers as well 2022-05-13 05:52:05 +00:00
Michael
a943dbb420 Introducing the "failed" counter 2022-05-12 06:54:58 +00:00
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
40aa67f8be Bulk transmission for AP posts 2022-05-02 05:15:27 +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
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
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
Philipp
322b7c856c
Merge pull request #11129 from urbalazs/copyright-2022
Update copyright
2022-01-02 09:45:35 +01:00
Balázs Úr
e56a53647b Update copyright 2022-01-02 08:27:47 +01: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
6ca5668ac1
Migrate distributed cache config value 2021-12-14 10:14:24 +01:00
Michael
8211cef49d Coding standards, changed database version 2021-11-22 07:39:40 +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
Philipp
5350e0852d
Add hostname to Process entity 2021-11-06 20:21:01 +01:00
Philipp
f5786a8f4f
set intro::duplex deprecated because of no usage 2021-10-21 21:57:24 +02:00
Philipp
b4572a5293
Update DB version 2021-10-21 21:56:46 +02:00
Philipp
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
d470a6a981
Push DB Version 2021-10-18 23:32:49 +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
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
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
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
b18073d5a8 Repurposed OAuth frontend handling, store the scope 2021-05-13 14:58:55 +00:00
Michael
82003bbe47 Login prototype 2021-05-11 06:30:20 +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
8685e5ca32 Reworked media handling 2021-04-26 06:50:12 +00:00
Michael
688e056ad1 "post-reason" ends double usage of "post-type" 2021-04-07 06:02:06 +00:00
Balázs Úr
054c301ef0 Update copyright 2021-03-29 08:40:20 +02: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
5f48d6497e Fix slow queries 2021-03-01 22:19:47 +00:00
Michael
99a145f7cf Fixes several database errors, removes "relation" handling 2021-02-25 05:13:49 +00:00
Michael
dc18ba33f0 Fix PR #9949 2021-02-23 05:42:37 +00:00