Commit Graph

9 Commits (5d75799afaacb5b530d9abdb7464db779d3fcbe0)

Author SHA1 Message Date
Matt Jankowski 05f9e39b32
Fix `RSpec/VerifiedDoubles` cop ()
Matt Jankowski c42591356d
Fix `RSpec/DescribedClass` cop ()
Nick Schonning 84cc805cae
Enable Style/FrozenStringLiteralComment for specs ()
Nick Schonning 669f6d2c0a
Run rubocop formatting except line length ()
Claire 225c6582d1
Add tests for BootstrapTimelineService ()
Eugen Rochko daccc07dc1
Change auto-following admin-selected accounts, show in recommendations ()
ThibG 3a4d994c40 Fix BootstrapTimelineService crashing when bootstrapped accounts are invalid ()
* Add test to handle suspended and missing users in BootstrapTimelineService

* Fix BootstrapTimelineService crashing when bootstrapped accounts are invalid
Eugen Rochko cb5b5cb5f7
Slightly reduce RAM usage ()
* No need to re-require sidekiq plugins, they are required via Gemfile

* Add derailed_benchmarks tool, no need to require TTY gems in Gemfile

* Replace ruby-oembed with FetchOEmbedService

Reduce startup by 45382 allocated objects

* Remove preloaded JSON-LD in favour of caching HTTP responses

Reduce boot RAM by about 6 MiB

* Fix tests

* Fix test suite by stubbing out JSON-LD contexts
Eugen Rochko 7d7844a47f Default follows for new users ()
When a new user confirms their e-mail, bootstrap their home timeline
by automatically following a set of accounts. By default, all local
admin accounts (that are unlocked). Can be customized by new admin
setting (comma-separated usernames, local and unlocked only)