James Smith
|
67be9981b6
|
remove use of Problem#unscoped
|
2025-02-27 10:19:45 +00:00 |
|
James Smith
|
bdf9a40164
|
add data migration to downcase all existing public IDs
|
2025-01-21 16:53:15 +00:00 |
|
James Smith
|
6dd588a1a4
|
re-add block parameters for Ruby 3.3 compat
This was changed for the new `it` in Ruby 3.4, but linuxserver images
can't use 3.4 yet, so we re-add the parameter name (as it) for 3.3.
|
2025-01-15 11:48:42 +00:00 |
|
James Smith
|
3f65dd8988
|
replace single-arg block parameters with it
|
2025-01-08 10:06:14 +00:00 |
|
James Smith
|
fc04e79a37
|
#actor changed to #federails_actor
|
2024-12-09 15:38:33 +00:00 |
|
James Smith
|
b4ebe8a6a0
|
clear out stuck problems
|
2024-11-18 15:55:10 +00:00 |
|
James Smith
|
34228ac2a0
|
generate public IDs for users
|
2024-10-21 13:55:43 +01:00 |
|
James Smith
|
62bdfbf9f0
|
allow validation skipping on file attachment
|
2024-10-18 13:59:48 +01:00 |
|
James Smith
|
8e5ffcc0a3
|
Fix default role name migration
|
2024-10-17 22:49:04 +01:00 |
|
James Smith
|
f96320add8
|
fix destination exists problem removal
|
2024-10-17 22:20:35 +01:00 |
|
James Smith
|
1b32ba1d9e
|
fix activity backfill
resolves #2934
|
2024-10-13 21:53:51 +01:00 |
|
James Smith
|
4f1e4f1d12
|
lazily create federails actors
resolves #2906 by removing the creation during migration step, which is vulnerable to code changes.
|
2024-10-10 14:40:26 +01:00 |
|
James Smith
|
4f1c1514b3
|
Fix activity data migration
resolves #2816
|
2024-10-01 22:14:14 +01:00 |
|
James Smith
|
745ac6febc
|
create actor if missing
|
2024-10-01 16:17:49 +01:00 |
|
James Smith
|
1c78366720
|
fix error with missing actor in backfill activities
resolves #2816
|
2024-10-01 16:16:17 +01:00 |
|
James Smith
|
fb2416f105
|
remove keypair generation data task
too damn slow
|
2024-09-26 18:58:54 +01:00 |
|
James Smith
|
9ac2feb227
|
generate key pairs for existing actors
|
2024-09-26 17:40:41 +01:00 |
|
James Smith
|
77f92f5fe3
|
Merge incorrectly duplicated roles
|
2024-09-23 15:50:36 +01:00 |
|
James Smith
|
e42f34c56e
|
move activity backfill to after permission-related DB changes
resolves #2643
|
2024-09-10 09:39:54 +01:00 |
|
James Smith
|
d6a64a89e2
|
don't overwrite public IDs
|
2024-09-05 19:35:42 +01:00 |
|
James Smith
|
0a504548fd
|
speed up public ID migration
|
2024-09-05 19:34:46 +01:00 |
|
James Smith
|
c639fe0ff4
|
fix data migration public IDs
|
2024-09-05 12:30:14 +01:00 |
|
James Smith
|
cbe410a438
|
add public_id fields to relevant models and generate IDs
|
2024-09-05 12:30:12 +01:00 |
|
James Smith
|
3fdf0dd73f
|
rename assign_default_permissions
|
2024-09-02 10:11:33 +01:00 |
|
James Smith
|
cd244970d7
|
safe-traversal for role renames
|
2024-08-30 17:13:53 +01:00 |
|
James Smith
|
c4eae3c070
|
rename viewer role to member
|
2024-08-30 17:13:53 +01:00 |
|
James Smith
|
02213b615c
|
rename "editor" role to "moderator" for clarity
|
2024-08-30 17:13:52 +01:00 |
|
James Smith
|
d6e360c6ed
|
add default permissions for all existing objects
|
2024-08-30 14:47:06 +01:00 |
|
James Smith
|
4607c42f43
|
Reorder data migration to avoid error
|
2024-08-06 16:09:30 +01:00 |
|
James Smith
|
b3c0028966
|
make backfill task get correct models
|
2024-08-05 14:23:24 +01:00 |
|
James Smith
|
77bb4e3093
|
backfill last 20 creation activities on migration
|
2024-08-05 11:19:14 +01:00 |
|
James Smith
|
9073cb6227
|
create actors for more followable classes
|
2024-08-02 11:28:58 +01:00 |
|
James Smith
|
33d7b08932
|
add data migration to create federails actors for existing users
|
2024-07-31 13:55:58 +01:00 |
|
James Smith
|
90632d020f
|
move all user default settings into SiteSettings constants, not migrations
|
2024-07-16 17:25:36 +01:00 |
|
James Smith
|
61544d3457
|
disable attachment refresh during bulk migration
|
2024-06-26 16:01:41 +01:00 |
|
James Smith
|
a841bc75af
|
set Shrine metadata for all files
|
2024-06-25 14:13:28 +01:00 |
|
James Smith
|
da31c49371
|
don't validate on save when migrating admin user first use token
|
2024-04-09 15:04:19 +01:00 |
|
James Smith
|
5b337e247b
|
set reset password token to a known value for first use
for both new admin users, and old ones.
|
2024-03-22 15:04:15 +00:00 |
|
James Smith
|
4df72fe21f
|
swallow invalid SQL error if admin flag is already gone somehow
|
2024-03-21 14:54:07 +00:00 |
|
James Smith
|
7c70619713
|
convert existing admin boolean flag to role
|
2024-03-21 14:39:16 +00:00 |
|
James Smith
|
ead58a36cd
|
make Problem data migration fail safe
|
2024-02-05 11:12:15 +00:00 |
|
James Smith
|
ac6c1a3301
|
lint: use find_each instead of all.each in ActiveRecord models
|
2023-10-10 19:54:04 +01:00 |
|
James Smith
|
4526c403d0
|
handle missing printed field in data migration
This will happen if db:setup is used rather than a piece-by-piece migration
|
2023-08-05 22:08:01 +01:00 |
|
James Smith
|
f913e220a4
|
use a data migration to move printed flag into a favorite
|
2023-08-05 22:06:47 +01:00 |
|
James Smith
|
e509fe49cb
|
Create admin user on app start, not in data migration
|
2023-07-06 10:31:45 +01:00 |
|
James Smith
|
ecbb208b5a
|
explicitly check both names and slugs for duplication in data migration
increase timestamp on migration to allow recovery of previously-broken nightly installs (i.e. mine)
|
2023-06-29 09:02:26 +01:00 |
|
James Smith
|
b6cd38f52a
|
make creator and collection names and slugs unique
resolves #1301
|
2023-06-28 21:45:23 +01:00 |
|
James Smith
|
01a8f4db22
|
create slugs for all existing models, creators, and collections
|
2023-06-18 09:47:19 +01:00 |
|
James Smith
|
64836030ce
|
add data migration to generate slugs
|
2023-06-17 23:27:33 +01:00 |
|
James Smith
|
5e0470fdbd
|
DRY up path separator trimming into a string extension
|
2023-06-13 22:01:29 +01:00 |
|