Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/db
AgeCommit message (Collapse)Author
2022-10-31Ensure pod urls are always lowercaseBenjamin Neff
otherwise pods can exist multiple times with mixed case
2022-10-31Cleanup duplicate pods in databaseBenjamin Neff
The unique index doesn't work when the port is `NULL`. So use `-1` instead for when using the default ports (80/443), as if we would use the real ports, we could still have both 80 and 443 in the database at the same time.
2022-07-20Merge branch 'next-minor' into developBenjamin Neff
2022-07-20Fix deprecation warnings for rails 6.0Benjamin Neff
2022-02-28Remove /user/auth_token route, this was a leftover from the chatBenjamin Neff
Also remove authentication_token from database
2021-11-23Merge branch 'next-minor' into developBenjamin Neff
2021-11-23Migrate remote_photo_path and cleanup old photo uploadsBenjamin Neff
If the migration contains a new remote_photo_path migrate all photos of the old person to this path. If the person was local before, cleanup old uploaded files of the photos. closes #8314
2021-10-25Merge branch 'next-minor' into developBenjamin Neff
2021-10-25Store signatures of AccountMigrations if the old person is localBenjamin Neff
That way it can be re-used when sending the AccountMigrations to other pods again if a message for the migrated account is received. fixes #7902 closes #8309
2021-10-01Merge branch 'next-minor' into developBenjamin Neff
2021-10-01Fix namespace for LineLength ruleBenjamin Neff
closes #8303
2021-02-13Merge pull request #8206 from denschub/lowercase-tagsDennis Schubert
Enforce lowercase tags and migrate existing uppercase tags for Postgres.
2021-02-13Enforce lowercase tags and migrate existing uppercase tags for Postgres.Dennis Schubert
2020-11-30Enforce GUID being present for notificationsJonne Haß
2020-01-22Merge branch 'develop' into apiJonne Haß
2019-10-19Remove the JSXC/Prosody integration.Dennis Schubert
As per discussion on https://discourse.diasporafoundation.org/t/removing-diaspora-s-current-chat-integration/2718, nobody raised serious concerns or objections. Given future plans, we do not think having an unfinished implementation of something that likely will not get finished in the current form is worth it. So let's get rid of it.
2019-07-04Merge branch 'next-minor' into developBenjamin Neff
2019-07-04Migrate pending profile photos and fix upload to unpend profile photosBenjamin Neff
fixes #8043 closes #8044
2019-07-02Remove commentable functionality from photosBenjamin Neff
This is not (and as far as I know, was never) used. If we want to make standalone photos commentable, we can always add it back, but it would also need to change federation for it to work, because comments support only posts there. But for now it makes the code cleaner and easier to remove it.
2019-05-12Don't encrypt the OTP secretBenjamin Neff
It doesn't add any security to have this encrypted, but it adds complexity for podmins, because they need to backup the key. closes #8014
2019-05-11fix old photos without a remote_photo_path or remote_photo_nameJonne Haß
closes #8012
2019-04-29Two factor authentication (#7751)lislis
2019-04-26migrate authorizations scopes column to textJonne Haß
2018-12-31Notifications API Endpoint and unit test completeHank Grabowski
2018-12-28Speed up public stream and remove obsolete indexesCSammy
closes #7944
2018-10-08Remove facebook integrationBenjamin Neff
Facebook removed the API and facebook integration is broken now, so lets remove it. closes #7874
2018-06-16migrate hy users to hyeJonne Haß
closes #7822
2018-05-03Add completed_at to account_migrationscmrd Senya
Use completed_at datetime field as an indication of a performed migration closes #7805
2018-05-03Add unique index to poll participations on author_id and poll_idcmrd Senya
Previously we had only a Rails validation which ensured poll participation uniqueness but this adds uniqueness control to the database level, so that uniqueness is guaranteed even when changing data with avoiding Rails validations. closes #7798
2018-04-12Remove flag for contacts visible to each otherBenjamin Neff
This feature only worked on the same pod and was more confusing than useful.
2017-10-18Cleanup empty signaturesBenjamin Neff
Some relayables from redmatrix and hubzilla have empty signatures. They are invalid and break therefore the user data export. closes #7644
2017-10-17Clean up invalid contacts from the DBcmrd Senya
Cleans invalid contacts where the referenced user was deleted from the DB or where the referenced person owner was deleted from the DB. closes #7632
2017-10-17Cleanup relayables where the signature is missingBenjamin Neff
When we should have the signature but don't have it, the user data export fails. There are a few comments from back in 2011 where the signature is missing. Also some podmins maybe messed with signatures in their database, which would also break the exports now. closes #7637
2017-10-17Delete people with invalid diaspora IDs (friendica with path)Benjamin Neff
closes #7630
2017-09-29Delete invalid oEmbed caches with binary titlesBenjamin Neff
There are a few old oEmbed caches which have the title saved in binary (because they contain Chinese characters). This fails with `ActionView::Template::Error ("å" from ASCII-8BIT to UTF-8)`. Since I found only very old OEmbed caches with this problem (newest from 2012), I think we can just remove these. When I create a new oEmbed cache for the same URL it creates it without `!binary`. closes #7620
2017-09-29Create refereces modelBenjamin Neff
2017-09-18Cleanup invalid polls without status messageBenjamin Neff
closes #7614
2017-09-18Cleanup invalid likes without targetBenjamin Neff
2017-09-18Remove "string" column from "ppid" tableBenjamin Neff
This was added by accident in 4e18f3849dcc5d36bda93e68b597b869735d5517. closes #7598
2017-09-17Remove rails_admin_histories tableBenjamin Neff
This was a leftover from rails_admin which was removed in #7440. closes #7597
2017-09-17Add `# frozen_string_literal: true` to all filesBenjamin Neff
2017-08-26Merge migrations from before 0.6.0.0 to 0000_create_schema.rbBenjamin Neff
closes #7580
2017-08-26Remove root_guid from reshares when post is deletedBenjamin Neff
And cleanup old reshares with deleted root posts closes #7578
2017-08-15Account migration model and message supportcmrd Senya
This commit introduces support for AccountMigration federation message receive. It covers the cases when the new home pod for a user is remote respective to the recepient pod of the message. It also allows to initiate migration locally by a podmin from the rails console. This will give the pods a possibility to understand the account migration event on the federation level and thus future version which will implement migration will be backward compatible with the pods starting from this commit.
2017-08-14Reset stuck exportsBenjamin Neff
2017-08-13Add missing unique indexes from #7234Benjamin Neff
2017-08-13Cleanup invalid aspects and set unique indexBenjamin Neff
2017-08-13Add missing indexesBenjamin Neff
See #7234
2017-08-13Remove diaspora_handle from AccountDeletions and add unique indexBenjamin Neff
2017-08-12Fix rubocop cop namespace for ExtraSpacingBenjamin Neff