Cinder
ba18a9d7b5
[Seeding] Always enable mascots ( #826 )
2024-12-18 07:21:05 -08:00
Cinder
a0b51e40bc
[Users] Rework login pages and increase password requirements ( #825 )
2024-12-14 17:37:53 -08:00
Cinder
b852254ad0
[Seeding] Rewrite the seeding script ( #676 )
2024-07-20 08:30:21 -07:00
Earlopain
d01c8c131d
[Misc] Replace httparty with faraday
...
We already pull in faraday from opensearch-ruby.
httparty hasn't had a release in a while and it printing warnings on ruby 3.3
2024-04-27 23:01:10 +02:00
Earlopain
64259a0b4e
[Docker] Handle network errrors during seeding
...
Closes #629
2024-04-05 13:24:58 +02:00
Earlopain
de4068ade8
[Tests] Clear elasticsearch before tests run
...
Previously they were only created if they didn't exist.
Data from previous test runs was still present.
2023-09-08 19:17:47 +02:00
Earlopain
f722dbb4c3
[Docker] Tentative fix for intermittent CI test failures
...
Elastic indicies aren't ready sometimes. I don't know where they are
created, but it seems to be too late. Move creation into the seeds file
and execute it in all environments.
Calling create_index! multiple times is fine, this is important because
the seeds file should be idempotent
2023-05-15 13:58:41 +02:00
Earlopain
637422031d
[Docker] Fix db seeding skipping forum category id sequence
...
Fixes #489
There's no need to explicitly create by id. It will always be 1 regardless.
2023-03-23 19:36:54 +01:00
Earlopain
1600ecdf77
[Mascots] Drop safe_mode_only column
...
Replaced in b58707fab2
2023-02-22 19:37:10 +01:00
Earlopain
cc2a395b37
[Docker] Add seeding for mascots
...
Will only work after deploy, because of the added field in the API response
2022-10-20 18:52:07 +02:00
Earlopain
0de7135df9
[Docker] Clean up seeding script
2022-10-20 18:39:45 +02:00
Earlopain
d13dc9cad4
[Docker] Set the posts to seed amount through env
...
Most of the time I don't need 100, especially when I'm `down -v` constantly.
This is a switch to easily lower that.
2022-01-05 13:44:36 +01:00
Earlopain
eb1f432fc5
Merge branch 'master' into style-changes
2021-06-02 14:28:22 +02:00
Earlopain
a023c2806e
[Tests] Fix forum post/topic tests
2021-05-14 15:04:03 +02:00
Earlopain
ed8a25b8a5
[Seeding] Add post approve flag to admin/system user
2021-05-01 13:24:20 +02:00
Earlopain
2a15947696
[Seeding] Fix uploader not being set
...
This broke seeding altogether, introduced in a28466bd
2021-04-30 23:50:22 +02:00
Earlopain
4b27ebb6f9
[Seeding] Fix system user not being promoted
2021-04-30 23:46:28 +02:00
Earlopain
731d9c3e9d
[Seeding] Set correct tag categories and add sources/desc
2021-04-05 16:14:24 +02:00
Earlopain
d46deaaefc
[Seeding] Get post data from live site
2021-04-05 15:23:02 +02:00
Sasquire
8e355b6b89
Fix issues with seeder script failing
...
Fixes the problems described in issue 188
2020-03-04 17:00:04 -05:00
Kira
f5bf733c86
Fix email verification being a user level
...
Having a distinct level for user verification proved to be rather
problematic for code flow and introduced an extra level below
blocked. Since it makes the account unusable until activated
it made sense to use an extra field and stop messing with user
levels explicitly.
This should also make tests a lot easier to deal with because it
doesn't require any changing of the user level.
2019-09-23 16:16:45 -07:00
Kira
fffe6b1c19
Fix test fixtures and seeds
2019-09-09 12:58:18 -07:00
Kira
3b1ca778f9
Add seeds
...
Blatantly stolen from Liam.
2019-07-19 04:23:31 -07:00
evazion
fcec99405c
Fix failure in rake db:migrate
on fresh install ( #3443 ).
...
Create the DanbooruBot account in db/seeds.rb instead of in an
initializer. Move the old db/seeds.rb to db/populate.rb.
Fixes a bug introduced in e2eb45a
. Creating DanbooruBot in an
initializer was wrong because in a fresh install the users table doesn't
exist yet. This caused `rake db:migrate` to fail.
2017-12-21 12:08:08 -06:00
r888888888
e70c2a3085
remove references to tag subscriptions
2017-11-17 13:45:17 -08:00
Type-kun
ca2adac3f0
Include user with every level/privilege in seeds.rb
2017-06-14 18:33:54 +05:00
r888888888
4b24a5cb7e
update to rails 4.2.5.1, add debugging info for tracking slow queries
2016-02-23 16:34:33 -08:00
r888888888
f02f72fac1
implement saved searches, move user boolean settings to bitprefs
2014-06-18 16:16:27 -07:00
r888888888
e2a38ebc17
fixes #1284
2013-04-21 11:36:43 -07:00
r888888888
7a747e9ac0
fixes #1371 , additional fixes to seed script
2013-04-19 15:21:43 -07:00
r888888888
2dfa616f33
fixes #1350 , better db:seed script
2013-04-16 20:23:02 -07:00
小太
cba839ba76
Kill trailing whitespace in ruby files
2013-03-19 23:10:10 +11:00
albert
086e70db54
Fixes #361
2013-01-22 14:41:16 -05:00
albert
964f74d6cd
fixes
2012-09-21 15:41:05 -04:00
albert
a7267cf00b
fixed tests
2011-10-16 01:40:42 -04:00
albert
abbaf7f7ec
more randomized seed data
2011-09-16 15:39:08 -04:00
albert
72bfac3d90
prevent the creation of users with empty string email addresses
2011-09-11 17:48:30 -04:00
albert
3395c97c65
fixed comment hiding
2011-09-11 16:40:58 -04:00
albert
c8afd34d15
added ip addr search
2011-07-29 18:04:50 -04:00
albert
a16dfdf0dd
fixes
2011-07-09 03:32:18 -04:00
albert
085995126c
changes
2011-07-03 19:12:31 -04:00
Albert Yi
9bb07046cd
initial
2010-02-04 15:08:49 -05:00