Commit graph

487 commits

Author SHA1 Message Date
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
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
18617f6c48 Fetch followers/followings of contacts 2020-07-26 07:34:33 +00:00
Michael
ebcf757244 database.sql updates 2020-07-19 10:04:50 +00: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
64f3dd419c Updated database description 2020-05-29 02:19:58 +00:00
Michael
a77b7793a8 Rearranged table order 2020-05-22 05:06:55 +00:00
Michael
07bad22fa4 Database structure updated 2020-05-22 05:00:55 +00:00
Michael
451138453a Updated database definition 2020-05-16 20:59:42 +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
7a8d9689e5 Database description updated 2020-05-09 16:30:03 +00:00
Michael
5725784055 Update database definition, cleaned code 2020-05-05 15:47:35 +00:00
Michael
59675c4f0b Merge remote-tracking branch 'upstream/develop' into no-term2 2020-05-05 15:44:24 +00:00
Michael
2ee14bf5fe Merge remote-tracking branch 'upstream/develop' into post-delivery-data 2020-05-05 14:08:29 +00:00
Michael
b261df14af Updated database versions 2020-05-04 15:23:45 +00:00
Michael
6b1b052308 Updated database version in sql file 2020-05-04 14:42:24 +00:00
Michael
098ba4a667 "item-delivery-data" is now "post-delivery-data" 2020-05-02 19:34:02 +00:00
Michael
2a1cdfa36b Diaspora participations are now atored as activities 2020-05-02 08:52:11 +00:00
Michael
881c9bbd70 Increased db version number 2020-04-28 19:46:59 +00:00
Michael
749c2ce4ab Updated database description 2020-04-24 15:44:41 +00:00
Michael
6011598bc2 Database definition updated 2020-04-24 13:43:07 +00:00
Michael
63ebbb8a16 We now can define views 2020-04-23 06:19:44 +00:00
Michael
552fd98657 The "sign" table had been removed 2020-04-13 16:27:40 +00:00
Michael
c261457b03 Store the interaction date as well. 2020-03-10 22:04:03 +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
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
530ecb27cf Updated database.sql 2020-03-02 20:31:16 +00: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
nupplaPhil
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
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
a483ea8acb Increasing database version number 2019-08-21 21:11:37 +00:00
Michael
5a1a5a54dc Delivery count now counts the failed delivery attempts as well 2019-08-20 07:39:13 +00:00
Michael
41a1c1c3e6 Fetch items by given uri 2019-07-18 06:11:02 +00:00
Jeroen De Meerleer
01dc0c031c There are no dead nodes anymore 2019-07-09 09:23:36 +02:00
Hypolite Petovan
fe8a53425a
Revert "Changed unavailable to in a relation" 2019-07-08 15:55:08 -04:00
Jeroen De Meerleer
98b6764bfd Fixed DB_UPDATE_VERSION in database.sql
thanks @nupplaphil
2019-07-08 08:11:53 +02:00
Michael
ef5be9668f New fields in contact table / don't update on probe 2019-07-04 04:08:55 +00:00
Michael
1d7154a7d1 Update the gcontact entry when the public contact entry has changed 2019-07-02 09:06:48 +00:00
Michael
0a15222576 Collect data about used protocols for delivery 2019-06-28 09:03:58 +00:00
Michael
c66927a12b Updated database sql description 2019-05-05 10:40:02 +00:00
Michael
28f316b7e4 Replace the legacy DFRN connection process with AP 2019-05-02 13:05:31 +00:00
Michael
e268b50890 Updated database structure file 2019-04-09 05:50:51 +00:00
Michael
911ad99e61 Table definition removed 2019-04-05 19:27:32 +00:00
Michael
87cdbfcee4 Updated database.sql 2019-03-26 21:38:15 +00:00
Michael
55325f191b Merge remote-tracking branch 'upstream/develop' into ap-delivery-failure 2019-03-26 21:36:46 +00:00
Michael
198e150ba8 Archive inboxes after 5 days of delivery failures 2019-03-25 21:51:32 +00:00
Hypolite Petovan
b8ec0e5e34 Database Structure version 1305
- Limit term_type index size
2019-03-25 01:05:14 -04:00
Hypolite Petovan
3f474d2941 Database Structure version 1305
- Add term_type index to term table
2019-03-23 19:18:15 -04:00
Philipp Holzer
c9a7b8334a
Adding to database.sql too 2019-03-01 09:27:56 +01:00
Hypolite Petovan
7720b62799 Change workerqueue.parameter to mediumtext for lisibility 2019-01-23 09:07:01 -05:00
fabrixxm
736bcae3e8 update database.sql 2019-01-21 10:01:18 -05:00
Hypolite Petovan
4d26c9de03 Database Structure version 1292
- Add two fields to item-delivery-data table
2019-01-21 09:32:40 -05:00
fabrixxm
e5c2d4e2f8 Add Database storage backend
This storage store files data in a separate database table
2019-01-21 09:11:33 -05:00
fabrixxm
06157c2ab0 Update database.sql 2019-01-21 09:03:41 -05:00
Michael
5554448162 Now storing the "manually approve" data / fix update routine 2019-01-14 06:36:08 +00:00
Michael
6aef4aea0e Updated database.sql 2018-11-16 20:21:33 +00:00
Michael
8d0f4710a4 Signed Diaspora posts should now be stored more reliable 2018-10-15 21:42:55 +00:00
Michael
efad4936b0 OStatus contacts are now automatically converted to AP 2018-10-13 18:13:01 +00:00
Michael
46f77f3486 Detect the object type 2018-10-07 20:36:15 +00:00
Hypolite Petovan
d019a87ecc Update version to 2018.12-dev 2018-09-23 19:02:11 -04:00
Michael Vogel
edcd0a3744 Issue 4960: Ignoring and blocking of contacts should work again (#5657)
* Issue 4960: Ignoring and blocking of contacts should work again

* Renamed functions

* This function should be renamed as well.

* We now have a frontend to block and ignore public contacts

* Hide some parts for public contacts

* Removed notices, public contact is now accessible from dirfind as well

* We now show contact conversations and contact posts

* We now use a new conversation mode

* The update functionality is disabled until it will work completely

* Fixing tabs chaos

* Update after posts on the contacts page will now work

* Show connect link
2018-08-25 09:48:00 -04:00
Michael Vogel
276abfaba6 Issue 5158: Ignore all threads, even public ones (#5588)
* Issue 5158: Ignore all threads, even public ones

* Remove some notice

* Now it really should work

* Using "defaults"
2018-08-08 22:32:11 +02:00
Michael Vogel
fa46e97f27 We now store the uri data in a separate table (#5560)
* We now have a item-uri table

* Fixing line endings

* New item uri table

* Rescued ItemURI.php file

* Reverting some git problem

* Corrected the dbstructure file

* Updated database.sql / we now store content in the new id fields
2018-08-05 13:09:59 +02:00
Michael Vogel
986106a8f7 Item storage: Permissions aren't stored in the items anymore (#5495)
* The permission set is now used for item permissions

* Check for allow_cid, ... is superfluous. Checking for "private" is enough

* We query the permissionset

* Permissions are displayed correctly

* Changed index

* We don't store the permissions in the item table anymore

* Permission fields are now deprecated

* Reversed ...
2018-07-25 19:14:55 -04:00
Michael Vogel
ec49d004e3 We now store the item delivery data in a separate table (#5413)
* We now store the item delivery data in a separate table

* Reorganized table structure
2018-07-19 17:56:52 -04:00
Michael Vogel
5af9596dde New item field "Post-type" and new table "permissionset" (#5408)
* "post-type" replaces "bookmark" and "type"

* Removed some more type

* Added index to permission set

* The permission set is now stored

* The permission set is now removed upon expiry

* Post update now stores the permission set

* New file

* Permissions are now sorted

* Changed documentation
2018-07-19 09:52:05 -04:00
Michael Vogel
d3a2ed85fe Next item structure works (#5380)
* Use "LEFT JOIN" to always fetch the item. Needed for update routines.

* New conversion routine that now covers every item

* Post update is now activated

* We now use a hash based upon RIPEMD-320 for content and activity

* The hash doesn't contain the plink anymore

* Legacy item fields are now "null"able

* New hash function for a server unique item hash

* Introduction of the legacy mode (usage of old item fields)

* Code simplification

* We don't need the "uri" fields anymore in item-activity and item-content

* Use the "created" and not the "received" date for the hash

* Avoiding several notices

* Some more warnings removed

* Improved uri-hash / Likes on Diaspora are now getting a creation date

* Corrected the post update version

* Ensure an unique uri-hash

* Don't delete orhaned item data at the moment

* Partly reworked, due to strange behaviour

* Some more parts reworked

* Using the uri currently seems to be more reliable

* Using the uri here as well

* Use the hash values again

* Grouped item fields in different categories

* Notices again

* use the gravity (we always should)

* Added hint for disabled post updates

* Notices ...

* Issue #5337: Personal notes are displayed again

* Use the gravity again
2018-07-15 14:36:20 -04:00