Commit Graph
124 Commits
Author SHA1 Message Date
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 04e9cf1189 lint 2024-08-01 12:59:56 +01:00
James Smith 30f287c315 switch to polymorphic branch of federails 2024-08-01 11:31:49 +01:00
James Smith 33d7b08932 add data migration to create federails actors for existing users 2024-07-31 13:55:58 +01:00
Matthew 84318e8f2f Initial federails integration commit 2024-07-31 10:45:35 +01:00
James Smith b7c9ec0583 lint 2024-07-26 12:04:59 +01:00
James Smith 88c12b21f1 move default collection pagination setting into code 2024-07-26 11:57:28 +01:00
James Smith 4529da5c43 fix taggable migration on MariaDB
using solution from https://github.com/mbleigh/acts-as-taggable-on/issues/978
2024-07-26 11:55:41 +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 b485bfb547 remove DB unique index for library path
because now it can be null
2024-07-04 13:32:55 +01:00
James Smith 15296c1f45 add s3 configuration fields to database 2024-07-04 13:30:54 +01:00
James Smith 23d35d4c72 add storage service identifier to library 2024-07-01 15:51:12 +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 ef2423d8c7 add column for shrine file data 2024-06-25 14:11:49 +01:00
James Smith 7134e0b543 add translations for account lock messages 2024-06-13 11:06:24 +01:00
James Smith c056d80189 Lock login for an hour after 5 failed attempts 2024-06-13 11:04:23 +01:00
James Smith bdbbfabbc1 add interface_language field to User 2024-04-23 12:15:13 +01:00
James Smith f04744b44a drop delayed job table 2024-04-18 12:32:15 +01:00
James Smith a9e2cec41b add reset password timestamp to user table for devise/recoverable 2024-04-10 23:33:00 +01:00
James Smith 7f0fa87fbf add "remember me" option at login 2024-04-10 23:23:22 +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 c8cd089413 add reset password token to user table 2024-03-22 15:00:27 +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 f18979ee8d remove admin flag from user model 2024-03-21 14:54:06 +00:00
James Smith 7c70619713 convert existing admin boolean flag to role 2024-03-21 14:39:16 +00:00
James Smith 5a950d181e add basic rolify models and database config 2024-03-21 14:38:18 +00:00
James Smith 0f7a4b0a86 lint spacing fix 2024-03-06 12:16:38 +00:00
James Smith eb01397837 add flipper gem for feature flagging 2024-03-06 12:16:37 +00:00
James Smith 9c9444d8ca fix or disable some migration rubocop issues 2024-02-28 13:47:17 +00:00
James Smith 3b7d22167f intentionally and precisely disable some rubocop rules for individual lines 2024-02-28 13:34:54 +00:00
James Smith 593c744720 lint: add unique indexes to DB 2024-02-28 13:12:36 +00:00
James Smith be92df4e42 add user file list settings, to control display of model file lists 2024-02-09 14:37:25 +00:00
James Smith be5a1dca59 add ModelFile#presupported_version field and associations 2024-02-09 11:45:18 +00:00
James Smith ead58a36cd make Problem data migration fail safe 2024-02-05 11:12:15 +00:00
James Smith 87c44e71b9 update dumped schemas 2024-02-05 10:49:45 +00:00
James Smith 24a6753156 add ignored field to Problem 2024-01-31 13:54:48 +00:00
James Smith af9e59765d add license field to database 2024-01-27 14:53:57 +00:00
James Smith 8cef2185d2 add problem settings to User model with default severities 2024-01-22 13:28:55 +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 ac32cd3089 change all objects to IDs in jobs
to allow soft-failure if an object is missing by the time it's processed
2023-08-24 22:19:00 +01:00
James Smith 2c0c06a0ff update schema 2023-08-05 22:11:42 +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 478c847a93 remove printed flag from DB 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 919c3b42db add acts_as_favoritor to store printed status 2023-08-05 22:06:10 +01:00