Commit Graph

155 Commits

Author SHA1 Message Date
Michael 4930e77eb3 We are now setting the corresponding worker id 2022-07-21 07:05:38 +00:00
Michael d4a536137d database.sql updated, standards fixed 2022-07-21 05:42:53 +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 9f24a4b60e
Fixed documentation/SQL dump with ./bin/console dbstructure dump 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 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 92a1d14e5e
Updated documentation and SQL dump, according to woodpecker tests 2022-06-18 16:02:33 +02: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 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 c608d85707 Updated database description 2022-05-02 05:17:42 +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
Hypolite Petovan 7ce97459d4 Deprecated the notify table/classes 2022-03-14 07:56:20 -04: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 92a71f8c27 Store wekk/month&halfyear usage / number of posts 2022-02-06 20:03:19 +00: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
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 f5786a8f4f
set intro::duplex deprecated because of no usage 2021-10-21 21:57:24 +02:00
Philipp ed184bd592
Set intro.blocked to deprecated 2021-10-21 21:56:46 +02:00
Michael 6d0f6babe3 Mandatory index added 2021-10-19 01:55:24 +00: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
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 6e79da0b0c The uri-id is now in all contact tables 2021-07-09 07:09:33 +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 c3cfc443ae Handling of special characters 2021-06-14 12:38:42 +00:00
Michael 7106106f11 Formatted index list 2021-06-14 12:15:10 +00:00
Michael 3d74d0a49c Updated documentation 2021-06-14 08:54:57 +00:00
Michael 96f07c7288 Indexes and foreign keys added 2021-06-14 08:53:37 +00:00
Michael 2cd0c1d30d Trailing whitespace removed 2021-06-14 06:10:11 +00:00
Michael fd30df7300 Pad the header 2021-06-14 05:58:51 +00:00
Michael 4095e6c9be Pad the lengths of the columns 2021-06-14 05:33:47 +00:00
Michael a827f948c8 Reversed "null" 2021-06-14 05:14:09 +00:00
Michael 31db9dbef7 Added default value "NULL" 2021-06-14 05:08:01 +00:00
Michael 84ab5d6159 Updates database structure documentation 2021-06-13 20:33:50 +00:00
Michael e561cad844 "participation" is removed since it is unused 2021-02-02 06:28:51 +00:00
Michael 76705664cd Remove the unused tables 2020-08-03 18:26:23 +00:00
Hypolite Petovan 34463f37e4 Rename contact table column to ffi_keyword_denylist 2020-06-07 11:24:52 -04:00
Hypolite Petovan da09215db8 [Database] Version 1333
- Exchange profile.pdesc for profile.about
2020-02-09 02:35:46 -05:00
Hypolite Petovan 8e2910976f Remove usage of profile.gender 2020-01-27 23:00:18 -05:00
Hypolite Petovan 4e6dd7dd5f Update db cache table documentation 2018-03-04 23:13:19 -05:00
Adam Magness ac374f7773 Review updates 2018-01-20 07:48:22 -05:00
Adam Magness 20a16b0b35 Update docs
changelog, install and doc folder
2018-01-20 07:48:22 -05:00
Michael 4c104a6cc2 Added table definition 2018-01-12 23:25:30 +00:00
Hypolite Petovan ebbf6089b4 Add database doc about the new oembed.maxwidth field 2018-01-10 19:25:08 -05:00
rabuzarus 9db936013c add registered-users to the db docu 2018-01-08 14:57:50 +01:00
Hypolite Petovan eeee65136c Remove obsolete fserver and ffinder db table doc 2017-12-06 23:11:06 -05:00
Hypolite Petovan fe93029914 Remove unused table documentation 2017-12-06 18:27:55 -05:00
Michael 0695fa699c Removed "service class" functionality 2017-10-18 21:44:27 +00:00
Michael fda4cd6001 Changed documentation 2017-06-17 19:13:40 +00:00
Michael 611d3e3f5d Added documentation 2017-06-06 17:41:01 +00:00
Michael 286b2da7a9 Added documentation and renamed function 2017-06-06 17:25:28 +00:00
Michael 55c39a80fa Description added 2017-04-29 12:19:49 +00:00
Michael fa14096ea8 Added documentation 2017-04-29 08:11:54 +00:00
Alexandre Alapetite 6b250d3ae9 Merge branch 'develop' into MySQL5.7 2017-04-16 15:16:58 +02:00
Michael f399a1914f Removed documentation 2017-04-13 05:08:12 +00:00
Alexandre Alapetite d2901dcb00 Fix for MySQL 5.7+
https://github.com/friendica/friendica/issues/2786

Only tested on Ubuntu 16.10 with MySQL 5.7.17.

https://dev.mysql.com/doc/refman/8.0/en/timestamp-initialization.html

https://dev.mysql.com/doc/refman/8.0/en/sql-mode.html#sqlmode_no_zero_date
As of MySQL 5.7.4, NO_ZERO_DATE is deprecated.

Patch based on the following search & replace (and then reverting some
changes in libraries):

```sh
grep -l '= "0000-00-00"' -r . | xargs sed -i -e "s/= \"0000-00-00\"/=
'0000-00-00'/g"

grep -l "0000-00-00" -r . | xargs sed -i -e "s/0000-00-00/0001-01-01/g"

grep -l "!= '0001-01-01'" -r . | xargs sed -i -e "s/!= '0001-01-01'/>
'0001-01-01'/g"

grep -l " === '0001-01-01'" -r . | xargs sed -i -e "s/ === '0001-01-01'/
<= '0001-01-01'/g"

grep -l " == '0001-01-01'" -r . | xargs sed -i -e "s/ == '0001-01-01'/
<= '0001-01-01'/g"

grep -l "strpos(\$dob, '0000-') === 0" -r . | xargs sed -i -e
"s/strpos(\$dob, '0000-') === 0/strpos(\$dob, '0000-') === 0 ||
strpos(\$dob, '0001-') === 0/g"

grep -l 'array("", "0001-01-01")' -r . | xargs sed -i -e 's/array("",
"0001-01-01")/array("", "0000-00-00", "0001-01-01")/g'

grep -l "\$dob = '0000-'" -r . | xargs sed -i -e "s/\$dob =
'0000-'/\$dob = '0001-'/g"
```
2017-04-11 23:00:45 +02:00
Hypolite Petovan bc407080d2 ping.php performance: improve documentation and formatting 2016-10-28 22:14:51 -04:00
Michael Vogel 19d820a9c4 Added fcontact doc 2016-07-10 14:08:27 +02:00
Michael Vogel c7373dcec4 author-id/owner-id: Post update function/added database documentation 2016-06-23 21:15:54 +02:00
Michael Vogel 16b92af71f Retraction do work as well 2016-03-17 12:24:23 +01:00
Michael Vogel 56cb6cc897 Removed just more old diaspora function calls. 2016-03-14 20:53:44 +01:00