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 |
|
James Smith
|
570245df76
|
trim existing model paths and destroy duplicates
|
2023-06-13 16:11:08 +01:00 |
|
James Smith
|
21c5b6b5bb
|
Remove extraneous destination_exists problems
|
2023-06-12 09:05:39 +01:00 |
|
James Smith
|
1ffdb76227
|
lint: move constant outside loop
|
2023-05-10 17:16:34 +01:00 |
|
 Don EiseleandJames Smith
|
2d3ae49ff0
|
Update db/data/20230308006000_move_collection_tag_into_object.rb
Co-authored-by: James Smith <james@floppy.org.uk>
|
2023-03-16 08:08:18 -05:00 |
|
Don Eisele
|
814b15383c
|
In progress: Moving collections from tag to first-class object
|
2023-03-08 14:54:40 -06:00 |
|
Don Eisele
|
a425123743
|
if scale_factor doesn't exist on objects, don't break when removing it
|
2023-02-23 00:45:50 -06:00 |
|
James Smith
|
91bd8a0d9e
|
add data migration for scale factor
moving into note
|
2023-02-21 18:08:33 +00:00 |
|
James Smith
|
dc416ff600
|
add data migration to add new renderer settings
|
2022-12-14 23:13:10 +00:00 |
|
James Smith
|
a3c32e1930
|
lint: don't use find_by_x
|
2022-12-12 16:38:50 +00:00 |
|
James Smith
|
921934adf2
|
create default admin user
|
2022-06-14 22:47:37 +01:00 |
|