Commit Graph

442 Commits (ce85db41a30d95555bbd44d8931c4a3a357938d8)

Author SHA1 Message Date
Egor Kislitsyn 4ea1a61b00
Merge branch 'develop' into refactor/following-relationships
5 years ago
Ivan Tashkinov ee04fbc35a [#1304]. Post-merge fixes. Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into 1304-user-info-deprecation
5 years ago
Ivan Tashkinov c6fdfbc4f1 Merge remote-tracking branch 'remotes/upstream/develop' into 1304-user-info-deprecation
5 years ago
Ivan Tashkinov e8843974cb [#1304] Moved remaining fields from User.Info to User.
5 years ago
Ariadne Conill 34754938ba add missing migration to drop websub table
5 years ago
rinpatch 39e996528c Fix a migration wiping user info of users that don't have any mutes
5 years ago
Maksim Pechnikov 66b5d0ff55 add Markers /api/v1/markers
5 years ago
Ivan Tashkinov 10ff01acd9 [#1304] Moved all non-mutes / non-blocks fields from User.Info to User. WIP.
5 years ago
Egor Kislitsyn 8ad015ef64
Skip deactivated users in followers import
5 years ago
Egor Kislitsyn 059005ff82
Replace `user.following` with Pleroma.FollowingRelationship
5 years ago
Egor Kislitsyn 2c7ff32e5b
Add `thread_visibility` to migrations
5 years ago
Egor Kislitsyn 761ad0b48e
Split CreateFollowingRelationships to multiple migrations
5 years ago
Egor Kislitsyn 6291eaa590 Update CreateFollowingRelationships
5 years ago
rinpatch 32808208be Enable `mix format` for migrations
5 years ago
Egor Kislitsyn 12ebeef130
Add CreateFollowingRelationships migration
5 years ago
rinpatch ee88afb2e2 Fix muted notification migration only working with a schema
5 years ago
rinpatch 125f96e706 Fix the use of queries with a schema in a migration
5 years ago
rinpatch fefbd31c6e Move local keys out of `user.info`
5 years ago
eugenijm 8249924485 Mastodon API: Add `pleroma.unread_conversation_count` to the Account entity
5 years ago
rinpatch 1fba66178d Merge branch 'develop' into cleanup/drop-subscription-table-if-exists
5 years ago
rinpatch 81b4243173 Remove subscription_notifications table if it existed
5 years ago
rinpatch e9d1aa75d5 Revert subscription refactoring.
5 years ago
Roman Chvanikov b4b147000c Merge develop
5 years ago
rinpatch a21584556f Update oban to 0.8.1
5 years ago
Roman Chvanikov 76c3e290fc Merge develop
5 years ago
kaniini 17142a3720 Merge branch 'feature/delivery-tracking' into 'develop'
5 years ago
rinpatch ac4a748fad Disallow NULLs in deliveries
5 years ago
Roman Chvanikov 0bd2b85edb Separate Subscription Notifications from regular Notifications
5 years ago
rinpatch 769fb778d4 Track object/create activity fetches
5 years ago
Ivan Tashkinov e890ea7e82 [#1149] Added Oban job for "activity_expiration". Merged remote-tracking branch 'remotes/upstream/develop' into 1149-oban-job-queue
5 years ago
Maxim Filippov 37dd3867bb Log admin/moderator actions
5 years ago
lain cc6c0b4ba6 Merge remote-tracking branch 'origin/develop' into sixohsix/pleroma-post_expiration
5 years ago
Ivan Tashkinov c34126f89c Merge remote-tracking branch 'remotes/upstream/develop' into 1149-oban-job-queue
5 years ago
rinpatch 05e7d0a438 Add an index on object likes
5 years ago
Ivan Tashkinov 256ff09aa8 [#1149] Merge remote-tracking branch 'remotes/upstream/develop' into 1149-oban-job-queue
5 years ago
lain 560dbad538 Merge remote-tracking branch 'origin/develop' into pleroma-conversations
5 years ago
Ivan Tashkinov 267262491e Merge remote-tracking branch 'remotes/upstream/develop' into 1149-oban-job-queue
5 years ago
lain f88560accd Conversations: Add recipient list to conversation participation.
5 years ago
Ivan Tashkinov 23d279e03e [#1149] Replaced RetryQueue with oban-based retries.
5 years ago
Mike Verdone 666514194a Add activity expirations table
5 years ago
Roman Chvanikov 9bca70b10a Merge develop
5 years ago
Egor Kislitsyn 64a946643e Merge remote-tracking branch 'pleroma/develop' into feature/addressable-lists
5 years ago
Roman Chvanikov c729883936 Merge branch 'develop' into feature/digest-email
5 years ago
Alexander Strizhakov e7c39b7ac8 Feature/1072 muting notifications
5 years ago
Roman Chvanikov eae991b06a merge develop
5 years ago
Egor Kislitsyn 182f7bbb11 Merge branch 'develop' into feature/addressable-lists
5 years ago
Alex S 936050257d saving following_address for existing users
5 years ago
Alex S f8786fa6f2 adding following_address field to user
5 years ago
Roman Chvanikov 371d39e160 Merge develop
5 years ago
Roman Chvanikov efefee8241 Split alters rather than work with indexes
5 years ago
Roman Chvanikov 291d95dcc3 Fix migration
5 years ago
Maksim 85c7916c94 [#1033] Fix database migrations
5 years ago
Roman Chvanikov 657277ffc0 Resolve conflicts
5 years ago
Alex S 982cad0268 support for config groups
5 years ago
Alexander Strizhakov c2ca1f22a2 it is changed in compile time
5 years ago
Sergey Suprunenko a7d956d383 Remove unused imports and aliases from migration
5 years ago
Roman Chvanikov 01fe5abad1 Resolve conflicts
5 years ago
Egor Kislitsyn 17004a0f1a Create index on `activities.local`
5 years ago
Roman Chvanikov b1b1a270e8 Fix conflict
5 years ago
Egor Kislitsyn 9ce928d823 Merge remote-tracking branch 'pleroma/develop' into feature/addressable-lists
5 years ago
kaniini 94d12a79c4 Merge branch 'hotfix/add-in_reply_to_index' into 'develop'
5 years ago
Mark Felder 6ef145b4fc Merge branch 'develop' into feature/digest-email
5 years ago
rinpatch cfc3c62b2f Add missing tag index on objects
5 years ago
rinpatch be56801dda Add index on inReplyTo for objects
5 years ago
Roman Chvanikov ce47017c89 Merge develop
5 years ago
William Pitcock 5fbbc57c1b add migration to add notification settings to user accounts
5 years ago
Egor Kislitsyn f333041a0a Merge remote-tracking branch 'pleroma/develop' into feature/addressable-lists
5 years ago
lain 022e6e4b44 RUM: Remove vacuum analyze from migration
5 years ago
Egor Kislitsyn 557f0e33a7 Merge remote-tracking branch 'pleroma/develop' into feature/addressable-lists
5 years ago
Egor Kislitsyn f2936e0a07 Add `ap_id` to List
5 years ago
lain 412a3d8a0f Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into rum-index
5 years ago
Sergey Suprunenko e2b3a27204 Add Reports to Admin API
5 years ago
William Pitcock f3971cbde3 thread visibility function: fix use of no longer used author variable
5 years ago
William Pitcock 71fa7eeb6f thread visibility function: significantly improve efficiency
5 years ago
William Pitcock 12f45e2a89 update migration
5 years ago
William Pitcock 75ce6adcff migration: only care about Create activities
5 years ago
William Pitcock 958b4cfde9 migrations: add function to see if a thread can be satisfied
5 years ago
lain f1e67bdc31 Search: Add optional rum indexing / searching.
5 years ago
Egor Kislitsyn 5e2b491276 Merge remote-tracking branch 'pleroma/develop' into feature/disable-account
5 years ago
Sachin Joshi 7701a4c841 Make irreversible field default to false in filters
5 years ago
lain 01c45ddc9e Search: Use RUM index.
5 years ago
Roman Chvanikov b6b5b16ba4 Merge develop
5 years ago
lambda 238dd72fad Merge branch 'conversations_three' into 'develop'
5 years ago
Egor Kislitsyn 1557b99beb Merge remote-tracking branch 'pleroma/develop' into feature/disable-account
5 years ago
Maksim 1040caf096 fix format
5 years ago
lain 0e37fddd5a Search: Add fts index on objects table.
5 years ago
lain 45f790becc Merge remote-tracking branch 'origin/develop' into conversations_three
5 years ago
Roman Chvanikov 0f0cc2703b Merge develop
5 years ago
rinpatch f8f6af4cc1 Fix MigrateOldBookmarks migration crashing on deleted activities
5 years ago
Alex S 229ce6abbc migration without using old field name
5 years ago
Alex S 58711a79d0 removing useless transaction
5 years ago
Alex S 6322c1e123 migration optimization
5 years ago
Alex S 324c9c8ab5 migrate user.bookmarks to separate table
5 years ago
Alex S 73d01857e3 bookmarks in separate table
5 years ago
Roman Chvanikov 2359ee38b3 Set digest emails to false by default
5 years ago
Roman Chvanikov 8add119444 Add User.list_inactive_users_query/1
6 years ago
Roman Chvanikov 371a4aed2c Add User.Info.email_notifications
6 years ago
Egor Kislitsyn db4badc6aa move user disable into deactivation
6 years ago
Egor Kislitsyn 0f2f7d2cec Merge remote-tracking branch 'pleroma/develop' into feature/disable-account
6 years ago
lain de57094fca Participations: Add sort index.
6 years ago
lain 280172f6f6 Conversations: Create or bump on inserting a dm.
6 years ago
lain d1da6b155a Conversation: Add Conversations and Participations.
6 years ago
lambda e5d553aa45 Merge branch 'feature/767-multiple-use-invite-token' into 'develop'
6 years ago
Sadposter be8350baa2
Merge branch 'develop' into feature/user-status-subscriptions
6 years ago
Ivan Tashkinov bffddf5e31 [#923] Merge remote-tracking branch 'remotes/upstream/develop' into twitter_oauth
6 years ago
Alex S 012bb5dcc9 renaming expire_at -> expires_at
6 years ago
eugenijm fc92a0fd8d Added limits and media attachments for scheduled activities.
6 years ago
eugenijm 7bf622ce73 Add scheduled activities
6 years ago
Alex S 47b07cec49 token -> invite renaming
6 years ago
Alex S 0484f3a8b1 generating tokens with mix
6 years ago
Sadposter ffac2593ea
Add index on subscribers
6 years ago
Ivan Tashkinov 45765918c3 [#923] Merge remote-tracking branch 'remotes/upstream/develop' into twitter_oauth
6 years ago
Alex S 86f90c0a54 adding indexes to oauth_tokens table
6 years ago
Haelwenn (lanodan) Monnier b2f3a40e53
Revert awfully long migration from 568e34858
6 years ago
Ivan Tashkinov 642075b1a9 [#923] Enabled binding of multiple OAuth provider accounts to single user.
6 years ago
Ivan Tashkinov 20e0f36605 Merge remote-tracking branch 'remotes/origin/develop' into twitter_oauth
6 years ago
lambda 21ff78cd40 Merge branch 'replies-count' into 'develop'
6 years ago
eugenijm 568e348588 Increment replies_count on replies (MastoAPI)
6 years ago
rinpatch 9725c93cea Add an id index to notifications
6 years ago
rinpatch e59cfa7cac modify the migrations to use naive_datetime_usec
6 years ago
rinpatch cbc4a76b43 Fix filter migration
6 years ago
Ivan Tashkinov e17a9a1f66 [#923] Nickname & email selection for external registrations, option to connect to existing account.
6 years ago
Ivan Tashkinov 40e9a04c31 [#923] Registration validations & unique index on [:user_id, :provider].
6 years ago
Ivan Tashkinov 26b6354095 [#923] Support for multiple (external) registrations per user via Registration.
6 years ago
Ivan Tashkinov aacbf0f570 [#923] OAuth: prototype of sign in / sign up with Twitter.
6 years ago
Egor Kislitsyn eb84de0143 allow users to disable their own account
6 years ago
eugenijm 8a1e0c9bee Added migration to update existing user note counters
6 years ago
eugenijm 85734c0d49 Added migration for setting default tags in existing users records
6 years ago
Ivan Tashkinov b227ccab82 Fixed `scopes` of apps / authorizations / tokens from apps initially created with space-delimited `scope`.
6 years ago
Egor bff9eb5ef7 Reports
6 years ago
Ivan Tashkinov bc4f77b10b [#468] Merged `upstream/develop`, resolved conflicts.
6 years ago
Ivan Tashkinov 949e35e26d [#468] OAuth scopes-related data migration simplification.
6 years ago
Ivan Tashkinov 063baca5e4 [#468] User UI for OAuth permissions restriction. Standardized storage format for `scopes` fields, updated usages.
6 years ago
Karen Konou ac72b578da Merge branch 'develop' into feature/thread-muting
6 years ago
Karen Konou 6a150de3bd Add unique index and unique constraint check, uniqueness test fails
6 years ago
Ivan Tashkinov 4ad843fb9d [#468] Prototype of OAuth2 scopes support. TwitterAPI scope restrictions.
6 years ago
Karen Konou 98ec578f4d Merge branch 'develop' into feature/thread-muting
6 years ago
Karen Konou c43f414a79 Somehow fixed the repo insert [skip-ci]
6 years ago
Karen Konou 77448de492 ugghhhh
6 years ago
Karen Konou f4ff4ffba2 Migration and some boilerplate stuff
6 years ago
Maxim Filippov f1b72bfb70 Split hide_networ only for local users
6 years ago
kaniini d120aa63f0 Merge branch 'fix-dm-index' into 'develop'
6 years ago
Maxim Filippov c48aba3c2a Fix SQL
6 years ago
lain f3c8b02d65 Massage index until it actually does the stuff we want.
6 years ago
Maxim Filippov cd6606b7f6 Initialize hide_network with false
6 years ago
Maxim Filippov 16ce129e38 Split hide_network into hide_followers & hide_followings (fixed)
6 years ago
kaniini 486749064f Revert "Merge branch 'feature/split-hide-network' into 'develop'"
6 years ago
kaniini 0a82a7e6d6 Merge branch 'feature/split-hide-network' into 'develop'
6 years ago
href b3b0855456 Merge branch '534_federation_targets_reachability' into 'develop'
6 years ago
lambda a43a1c6d4e Revert "Merge branch 'spc-fix-3' into 'develop'"
6 years ago
kaniini 4d3655c479 Merge branch 'spc-fix-3' into 'develop'
6 years ago
Maxim Filippov 50d6183893 Split hide_network into hide_followers & hide_followings
6 years ago
Ivan Tashkinov d3f9e6f6fe [#534] Merged `upstream/develop`.
6 years ago
Ivan Tashkinov 9560abea10 [#534] Refactoring / tweaks per MR review.
6 years ago
Haelwenn (lanodan) Monnier cda1470e02
[MastoAPI][GlitchAPI] Add bookmarks
6 years ago
William Pitcock 15d12a69a4 add activities likes index, fixes favorites API call
6 years ago
href 4a13bb75bd
Change webpush endpoint to unlimited varchar
6 years ago
kaniini 4df71cd88b Merge branch 'classic-flakeids' into 'develop'
6 years ago
href a3ba72d978
Fix clippy with one/five lines
6 years ago
href e02b19d1d7
Fix postgres activity_visibility when running in autovacuum
6 years ago
Ivan Tashkinov f161a92cb1 [#534] Initial implementation of unreachable federation targets retirement.
6 years ago
lain ab03f81219 Fix info ids.
6 years ago
href 9ba6e1fabe
FlakeId: chain alter statements
6 years ago
href e67bd93d90
Flake: migrate pinned_activities in jsonb
6 years ago
href a92c43bc4b
Clippy!
6 years ago
href 465fb4327d
Lock activities/users table during flake migration.
6 years ago
href 28d77e373c
Flake Ids for Users and Activities
6 years ago
Michael Loftis 98cbeae49c slightly changes definition so that autovacuum works paralell safe too
6 years ago
lain b108aeee08 Make use of the indices.
6 years ago
lain bd6c12592e Add migration to fix spc users.
6 years ago
Ivan Tashkinov 79e44042bc [#477] User trigram index adjustment.
6 years ago
Ivan Tashkinov fc965f982c [#477] Added FTS index for `users`. Fixed failing test.
6 years ago
lain 04735db193 Build the index concurrently.
6 years ago
lain 5027f82cde Add activity visibility index.
6 years ago
lambda 94d8f1ab30 Merge branch '394_user_tags' into 'develop'
6 years ago
Ivan Tashkinov 7b19487389 [#394] Added `users.tags` and admin routes to tag and untag users. Added tests.
6 years ago
Egor Kislitsyn 4944498133 Merge branch 'develop' into feature/compat/push-subscriptions
6 years ago
lain 4996fb07d8 Genereate uuids for existing info fields.
6 years ago
Martin Kühl d94ee5cd50 Mastodon API: Support push subscription CRUD
6 years ago
William Pitcock c9f6eb9a41 user: implement dynamic refresh of profiles (gets rid of need for fix_ap_users task)
6 years ago
kaniini 76c67a41c1 Merge branch 'develop' into 'feature/staff-discovery-api'
6 years ago
kaniini 1c9e539b47 Merge branch 'feature/mastodon_api_2.4.x' into 'develop'
6 years ago
William Pitcock cf5d1302aa migrations: add is_moderator index for users table
6 years ago
William Pitcock 1a70d41f8e migrations: add index creation migration and recipients_to/cc removal migration
6 years ago
William Pitcock 038139d641 migrations: drop filler migration
6 years ago
William Pitcock 40ea07cd2f migrations: add migration to fill in recipients_to/recipients_cc fields
6 years ago
William Pitcock 81673b8136 activity: add recipients_to and recipients_cc fields
6 years ago
Haelwenn (lanodan) Monnier 6e030129fb
[MastodonAPI] Add filters
6 years ago
lambda 13440a80e1 Merge branch 'feature/invites' into 'develop'
6 years ago
William Pitcock 4f589998ee activitypub: support filtering activities by whether or not they are a reply (closes #109)
6 years ago
Henry Jameson f42ffbe9a8 Initial invites support + tests.
6 years ago
lambda 564c73ab24 Merge branch 'feature/list-streaming' into 'develop'
6 years ago
eal 29c9c8d93b Extract host from ap_id, add index
6 years ago
eal 5d3fdbc082 MastoAPI: Add streaming for lists.
6 years ago
lambda f3a71f2986 Merge branch 'feature/lists' into 'develop'
6 years ago
eal a8369db4f2 MastoAPI: add lists.
6 years ago
lain 1d4bbec6b3 Fix User search.
6 years ago
lain 94c1f28ba4 Modify sort index for activities.
6 years ago
lain 0abd8a6bad Fix migration.
7 years ago
lain b56bb88c02 Drop index for 'local', it confuses the query planner.
7 years ago
lain bd4926288e Speed up follower query.
7 years ago
lain 1d1271ca1e Add index for user follower address.
7 years ago
lain f48bc5c3e1 Make User.following a postgres array.
7 years ago
Lain Iwakura 4a13b84887 Add recipients field to activities.
7 years ago
Lain Iwakura 50dca016f2 Add count index for local users.
7 years ago
Roger Braun ccde03285d add sort index for activities
7 years ago
Roger Braun 9e60de695d Fix migration for empty db.
7 years ago
Roger Braun 6bf261589f Update activities in own migration.
7 years ago
Roger Braun 20b8b87743 Update in chunks.
7 years ago
Roger Braun f1d27a5fbb Add actor column to activities.
7 years ago
Roger Braun 9af560083f Use more efficient user note count update query.
7 years ago
Roger Braun 29c261e75b Drop superflous index.
7 years ago
Roger Braun 9f417fd5e9 Speed up deletion and related queries.
7 years ago
Roger Braun 6af164f27b Add password reset.
7 years ago
Roger Braun 62ca2617cd Add tag index.
7 years ago
Roger Braun 78485e24ac Fixup old migrations.
7 years ago
Roger Braun f0257c7516 Add fts search index.
7 years ago
Roger Braun 07b694814e Optimize conversation fetching.
7 years ago
Roger Braun 61adf676d5 Add basic mastodon notification support.
7 years ago
Roger Braun 2a298d70f9 Add very basic oauth and mastodon api support.
7 years ago
Roger Braun 396c32a6da Add follower_address to users, add on generation.
7 years ago
Roger Braun 5e17e04144 Make user timelines faster for users with few statuses.
7 years ago
Roger Braun 07cee92cd4 Add correct index.
7 years ago
Roger Braun 9cf38d6796 Use more efficient queries.
7 years ago
Roger Braun 3d714f85a8 Drop the general index on activities.
7 years ago
Roger Braun fb78773112 Make longer bios possible.
7 years ago
Roger Braun 47684c2a2c Make email and nickname case insensitive.
7 years ago
Roger Braun ff2945dfdc Index users by ap_id.
7 years ago
Roger Braun 56bacc90d1 Fix specs, add local marker to actitivies.
7 years ago
Roger Braun b9d1fc05b2 Actually make index unique.
7 years ago
Roger Braun 2f093db051 Ensure we have no duplicate ap ids.
7 years ago
Roger Braun e8a311ecff Add user and hub to websub client subscriptions.
8 years ago
Roger Braun c5fa682c31 Refactor, add beginnings of websub client subscriptions.
8 years ago
Roger Braun 43d7a4b2cf Add basic fields to support remote users.
8 years ago
Roger Braun cc330421fd Better activities in ostatus.
8 years ago
Roger Braun d7e3b72c6a Add avatar objects to user, fix specs.
8 years ago
Roger Braun 03c6148bb3 Add user registration changeset.
8 years ago
Roger Braun 40eb0e4c24 Add index to objects.
8 years ago
Roger Braun 9a8850eb9e Basic status creation and retrieval.
8 years ago
Roger Braun 8de523c8ae Basic AP objects.
8 years ago
Roger Braun 66f536ecba Add user schema.
8 years ago
Roger Braun a93f3421a7 Phoenix skeleton
8 years ago