rhymes
10efa25c0a
Add missing presence validators to models ( #10495 )
...
* Add missing presence validator for Tag
* Add missing presence validators to Follow
* Add missing presence validators to ProfileField
* Add missing presence validators to Comment
* Add missing presence validators to Profile
* Add missing presence validators to Organization
* Add missing presence validators to Badge
* Add missing presence validators to Webhook::Endpoint
* Add missing presence validators to NotificationSubscription
* Add missing presence validators to PodcastEpisode
* Add missing presence validators to Sponsorship
* Add missing presence validators to PollOption
* Add missing presence validators to Poll
* Add missing presence validators to Article
* Add missing presence validators to EmailAuthorization
* Add missing presence validators to AuditLog
* Add missing presence validators to DataUpdateScript
* Add missing presence validators to User
* Add missing presence validators to SiteConfig
* Fix specs
2020-10-01 16:15:32 +02:00
rhymes
5a2cae4fbb
Rubocop: enable and fix new Rails cops ( #9537 )
...
* Enable new Rails/* cops and use autocorrect on them
* Fixed Rails/PluckInWhere leftovers
* Fix Rails/DefaultScope
* Enable and fix Rails/PluckId
* Fix manual mistake with forcing autocorrection on Rails/PluckId
* Apply PR feedback to remove Rails/PluckId inline disables
* Apply PR feedback to get rid of Rails/PluckInWhere inline
2020-07-29 11:14:19 +02:00
rhymes
582d32393c
Small ActiveRecord optimizations: begone race conditions and hello bulk insert ( #8436 )
...
* Replace PollSkips find_or_create_by with create_or_find_by
* Use insert_all to add users to a channel in bulk
* Use bulk insert for DataUpdateScript and set private what shall be private
* oops
2020-06-15 17:57:14 +02:00
rhymes
c7503fd0b1
Fix scripts startup check for development mode ( #6520 )
...
* Fix scripts startup check for dev mode
* Update doc
2020-03-09 17:15:21 +01:00
rhymes
2fcdb9bcaa
Use DataUpdateScript.scripts_to_run? in development ( #6309 )
2020-02-26 13:34:16 -05:00
rhymes
cf11268949
Add logging to data scripts runner ( #6201 )
2020-02-25 13:41:43 -05:00
Molly Struve
65eba740ab
Document DataUpdateScripts, Add to Deploy Process, Add Development Check ( #6068 ) [deploy]
2020-02-14 11:45:27 -05:00
Molly Struve
0bfbd9bb1f
Set Up Framework For Running Data Update Scripts ( #6025 ) [deploy]
2020-02-13 10:48:23 -05:00