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
...
Can't be run in a trnasaction.
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'
...
Conversations once more.
See merge request pleroma/pleroma!1119
5 years ago
Egor Kislitsyn
1557b99beb
Merge remote-tracking branch 'pleroma/develop' into feature/disable-account
5 years ago
Maksim
1040caf096
fix format
...
Modified-by: Maksim Pechnikov <parallel588@gmail.com>
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
...
removing old field from db, after bookmarks migration
6 years ago
Alex S
58711a79d0
removing useless transaction
6 years ago
Alex S
6322c1e123
migration optimization
...
changelog wording
6 years ago
Alex S
324c9c8ab5
migrate user.bookmarks to separate table
6 years ago
Alex S
73d01857e3
bookmarks in separate table
6 years ago
Roman Chvanikov
2359ee38b3
Set digest emails to false by default
6 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'
...
Feature/767 multiple use invite token
See merge request pleroma/pleroma!1032
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
...
# Conflicts:
# docs/config.md
# test/support/factory.ex
6 years ago
Alex S
012bb5dcc9
renaming expire_at -> expires_at
...
keyword style change
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
...
# Conflicts:
# mix.exs
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'
...
Increment replies_count (MastoAPI)
Closes #756
See merge request pleroma/pleroma!974
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'
...
Massage index until it actually does the stuff we want.
See merge request pleroma/pleroma!772
6 years ago
Maxim Filippov
c48aba3c2a
Fix SQL
6 years ago
lain
f3c8b02d65
Massage index until it actually does the stuff we want.
...
Also makes the index a lot smoler.
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'"
...
This reverts merge request !733
6 years ago
kaniini
0a82a7e6d6
Merge branch 'feature/split-hide-network' into 'develop'
...
Split hide_network into hide_followers & hide_followings
See merge request pleroma/pleroma!733
6 years ago
href
b3b0855456
Merge branch '534_federation_targets_reachability' into 'develop'
...
[#534 ] Unreachable federation targets retirement
Closes #534
See merge request pleroma/pleroma!703
6 years ago
lambda
a43a1c6d4e
Revert "Merge branch 'spc-fix-3' into 'develop'"
...
This reverts merge request !682
6 years ago
kaniini
4d3655c479
Merge branch 'spc-fix-3' into 'develop'
...
Spc fix 3
See merge request pleroma/pleroma!682
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
...
Fixes #552
6 years ago
kaniini
4df71cd88b
Merge branch 'classic-flakeids' into 'develop'
...
Flake Ids for Users and Activities
Closes #450
See merge request pleroma/pleroma!645
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.
...
The previous migration actually created values for the key "id", including the
quotes. This one should fill out all missing ids.
Closes #511
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.
...
Indices in postgresql rely on operators, so they won't be used if you use only functions.
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'
...
[#394 ] User tags
Closes #394
See merge request pleroma/pleroma!508
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
...
# Conflicts:
# lib/pleroma/application.ex
# lib/pleroma/plugs/oauth_plug.ex
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'
...
# Conflicts:
# lib/pleroma/web/nodeinfo/nodeinfo_controller.ex
6 years ago
kaniini
1c9e539b47
Merge branch 'feature/mastodon_api_2.4.x' into 'develop'
...
Add/Fix Mastodon endpoints for 2.4.3 compatibility
See merge request pleroma/pleroma!266
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'
...
Invites
Closes #108
See merge request pleroma/pleroma!208
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'
...
MastoAPI: Add streaming for lists.
See merge request pleroma/pleroma!183
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'
...
Mastodon List API
See merge request pleroma/pleroma!138
6 years ago
eal
a8369db4f2
MastoAPI: add lists.
6 years ago
lain
1d4bbec6b3
Fix User search.
...
Now uses a trigram based search. This is a lot faster and gives better
results. Closes #185 .
6 years ago
lain
94c1f28ba4
Modify sort index for activities.
...
This prevents a problem that made the local timeline very slow when
there were few posts.
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.
...
Also do some very basic checks for AP message insertion.
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.
...
This still isn't optimal, but at least it isn't super slow.
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.
...
Indices should be more specific as the general index can lead to
slower queries because postgres can't estimate the specificity of
jsonb indexes very well.
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.
8 years ago
Roger Braun
56bacc90d1
Fix specs, add local marker to actitivies.
8 years ago
Roger Braun
b9d1fc05b2
Actually make index unique.
8 years ago
Roger Braun
2f093db051
Ensure we have no duplicate ap ids.
8 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