Roman Chvanikov
e0bb655773
Add RenameInstanceChat migration
3 years ago
faried nawaz
22b2451edd
migration: add on_delete: :delete_all to hashtags object_id fk
3 years ago
Mark Felder
4ecf6ceea6
Enforce user.notification_settings is NOT NULL
3 years ago
Alexander Strizhakov
3ec1dbd922
Let pins federate
- save object ids on pin, instead of activity ids
- pins federation
- removed pinned_activities field from the users table
- activityPub endpoint for user pins
- pulling remote users pins
3 years ago
Mark Felder
5b8cceba09
Fix migration in cases where database name has a hyphen
3 years ago
Mark Felder
0faf8dbef8
Simplify migration
3 years ago
Ivan Tashkinov
6531eddf36
[ #3213 ] `hashtags`: altered `name` type to `text`. `hashtags_objects`: removed unused index. HashtagsTableMigrator: records_per_second calculation fix. ActivityPub: hashtags-related options normalization.
3 years ago
Mark Felder
83301fe61a
Add field to user schema for controlling disclosure of client details
3 years ago
Ivan Tashkinov
d1c6dd97aa
[ #3213 ] Partially addressed code review points.
migration rollback task changes, hashtags-related config handling tweaks, `hashtags.data` deletion (unused).
3 years ago
hyperion
8d4e0342e1
Update priv/repo/migrations/20190501125843_add_fts_index_to_objects.exs, priv/repo/optional_migrations/rum_indexing/20190510135645_add_fts_index_to_objects_two.exs files
3 years ago
Ivan Tashkinov
108e90b18e
[ #3213 ] Explicitly defined PKs in hashtags_objects and data_migration_failed_ids. Added "pleroma.database rollback" task to revert a single migration.
3 years ago
Alexander Strizhakov
6c987c7670
fix and delete purge activities duplicates
3 years ago
Egor Kislitsyn
793fc77b16
Add active user count
3 years ago
Alexander Strizhakov
87c468f009
use correct versions for oban migrations
3 years ago
Alexander Strizhakov
0e48c80d7f
start oban app in migrations and mix tasks
3 years ago
Alexander Strizhakov
02dbf1c51d
use explicitly oban migration version
3 years ago
Mark Felder
d2382ab5f4
Update Oban to 2.3.4
3 years ago
Mark Felder
2c0fe2ea9e
Remove toggle_confirmation; require explicit state change
Also cosmetic changes to make the code clearer
3 years ago
Mark Felder
d36182c088
Change user.confirmation_pending field to user.is_confirmed
3 years ago
Mark Felder
a59e32f1dd
Add copyright header
3 years ago
Mark Felder
860b5c7804
Change user.deactivated field to user.is_active
3 years ago
Mark Felder
f7e59c28ed
Change user.approval_pending field to user.is_approved
3 years ago
Mark Felder
12c8ce481c
Bump Copyright year
3 years ago
Mark Felder
fb47e83adc
Add ConfigDB migration
3 years ago
Ivan Tashkinov
f5f267fa76
[ #3213 ] Refactoring of HashtagsTableMigrator.
3 years ago
Ivan Tashkinov
3e4d84729a
[ #3213 ] Prototype of data migrations functionality / HashtagsTableMigrator.
3 years ago
Haelwenn (lanodan) Monnier
c4439c630f
Bump Copyright to 2021
grep -rl '# Copyright © .* Pleroma' * | xargs sed -i 's;Copyright © .* Pleroma .*;Copyright © 2017-2021 Pleroma Authors <https://pleroma.social/ >;'
3 years ago
Ilja
6284e8f4b2
Add development section
* I cretaed a folder 'development'
* I split up the file dev.md into three parts and moved it to this folder
* index.md
* authentication_authorization.md
* mrf.md
* I also moved ap_extensions.md
* I created a new file setting_up_pleroma_dev.md
3 years ago
Ivan Tashkinov
0d521022fe
[ #3213 ] Removed PK from hashtags_objects table. Improved hashtags_transfer mix task (logging of failed ids).
3 years ago
Alex Gleason
7b44605cb8
Migration to confirm previously-logged-in users
3 years ago
Haelwenn
3966add048
Revert "Merge branch 'features/hashtag-column' into 'develop'"
This reverts merge request !2824
3 years ago
Alexander Strizhakov
065009a57a
remove PurgeExpiredActivity from Oban db config
3 years ago
Ivan Tashkinov
e369b1306b
Added Hashtag entity and objects-hashtags association with auto-sync with `data.tag` on Object update.
3 years ago
Haelwenn (lanodan) Monnier
acb03d591b
Insert text representation of hashtags into object["hashtags"]
Includes a new mix task: pleroma.database fill_old_hashtags
3 years ago
Ivan Tashkinov
62bf4a1292
[ #2353 ] Virtually never-expiring OAuth tokens (new and already issued ones).
3 years ago
Ilja
70e4b86250
Make notifs view work for reports
* These are the first small steps for issue 2034 "Reports should send a notification to admins".
* I added a new type of notification "pleroma:report" to the the database manually (a migration will need to be written later)
* I added the new type to the notification_controller
* I made the view return the notification. It doesn't include the report itself (yet)
3 years ago
Alexander Strizhakov
10528344c7
remove PurgeExpiredActivity from Oban db config
3 years ago
Alexander Strizhakov
8d218ebaf5
Moving some background jobs into simple tasks
- fetching activity data
- attachment prefetching
- using limiter to prevent overload
3 years ago
Mark Felder
8bacdc3680
Change user.discoverable field to user.is_discoverable
3 years ago
Mark Felder
9968b7efed
Change user.locked field to user.is_locked
3 years ago
Alexander Strizhakov
3cb9c88837
migration and warning for RemoteIp plug rename
3 years ago
Egor Kislitsyn
4f3a633745
Add `backups` table
3 years ago
lain
1ae39441e6
Migrations: Nullify old unique index on users.uri
3 years ago
lain
90fee49c52
User search: Once again, change uri handling.
They can indeed be non-unique.
3 years ago
rinpatch
7bc561127d
Revert citext user URI migration
URI paths are not actually case-insesitive, which caused migration issues
on a number of databases.
Closes #2188
3 years ago
lain
1e0f3f8514
User search: Make uri matches case insensitive.
3 years ago
Maksim
c74fad9e06
Apply 1 suggestion(s) to 1 file(s)
3 years ago
rinpatch
0b5e72ecf0
Remove `:managed_config` option.
In practice, it was already removed half a year ago, but the description
and cheatsheet entries were still there.
The migration intentionally does not use ConfigDB.get_by_params, since
this will break migration code as soon as we add a new field is added
to ConfigDB.
Closes #2086
3 years ago
Maksim Pechnikov
3e53ab4e98
added notification constraints
3 years ago
Alexander Strizhakov
65f4e37ee1
remove old workers in oban migrations
3 years ago