Commit Graph

358 Commits

Author SHA1 Message Date
Kira
1c17ca2641 [Gems] Update gems 2022-12-14 22:55:45 -08:00
Earlopain
934c8e3b87
[Docker] Run daily maintenance
Remove whenever, it's not used in prod. Prod uses systemd timers.
This executes the daily task on container startup. My PC isn't going to
run when this would execute 99% of the time.
2022-12-09 18:16:53 +01:00
Earlopain
a34c2217b6 [Tests] Use factory_bot_rails and clean up test_helper requires 2022-11-25 19:56:14 +01:00
Earlopain
32112d9e42
[Tests] Remove unused mock_redis 2022-11-25 14:33:58 +01:00
Earlopain
55d020877f
[Tests] Replace FFaker with FactoryBot sequences 2022-11-25 14:33:02 +01:00
Earlopain
c9f65608de
[Tests] Replace timecop with native Rails method
Also removes it at a bunch of places where it's not needed
2022-11-25 14:32:56 +01:00
Earlopain
044901ab44
[Gems] Lock sidekiq to v6
sidekiq-unique-jobs is incompatible with sidekiq 7, but doesn't prevent the upgrade.
2022-11-25 09:13:30 +01:00
Earlopain
dd3fb80b8c
Merge remote-tracking branch 'origin/master' into rails-7 2022-10-23 19:35:57 +02:00
Earlopain
179a948cf2
[Docker] Add solargraph to the image, and a few more things
* Allow modifying .env without git complainging about changes to commit
* Require COMPOSE_PROFILE=solargraph for solargraph to be included in the image
* Set required vscode settings for solargraph to correctly work in docker
* Clean up .solargraph.yml. All these removed values are the default
* Disable autocomplete in the rails console
* Add a compose service to run rubocop

* Upddate rubocop config

Added some, removed some, ordered alphabetically.
Before: 844 files inspected, 6871 offenses detected, 6095 offenses autocorrectable
After: 844 files inspected, 8024 offenses detected, 7538 offenses autocorrectable
Most of the new offences are because of Style/StringLiterals (1312)
2022-10-18 23:35:18 +02:00
Earlopain
fbc06182cc
[Rails] Update to 7 and run app:update 2022-10-10 13:22:35 +02:00
Earlopain
668a004f08
[Gems] Bump dtext_rb 2022-09-28 19:03:50 +02:00
Kira
b4672dadee [Gems] Bump gems 2022-07-13 19:44:55 -07:00
Earlopain
7331b9a5de
[Cleanup] Remove unused packages 2022-06-12 20:58:18 +02:00
Earlopain
57f711bb4d
Merge branch 'master' into ruby-3 2022-05-28 15:45:25 +02:00
dependabot[bot]
2fddda22b4
Bump rack from 2.2.3 to 2.2.3.1
Bumps [rack](https://github.com/rack/rack) from 2.2.3 to 2.2.3.1.
- [Release notes](https://github.com/rack/rack/releases)
- [Changelog](https://github.com/rack/rack/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rack/rack/compare/2.2.3...2.2.3.1)

---
updated-dependencies:
- dependency-name: rack
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-27 19:14:47 +00:00
Kira
42578e58a5 [Gems] Add missing gems needed for prod config.
It seems like active_mailer loads these even if they aren't used.
2022-05-26 15:51:05 -07:00
Earlopain
eff1500059
[Cleanup] Remove some unusted dev/test gems 2022-05-26 19:23:25 +02:00
Earlopain
b05a8a5a51
[Cleanup] Replace ruby-imagespec with Vips::Image
ImageSpec is also capable of providing sizes for flash, but that isn't
exactly relevant anymore
2022-05-26 18:10:20 +02:00
dependabot[bot]
c1845c6800
Bump sinatra from 2.1.0 to 2.2.0
Bumps [sinatra](https://github.com/sinatra/sinatra) from 2.1.0 to 2.2.0.
- [Release notes](https://github.com/sinatra/sinatra/releases)
- [Changelog](https://github.com/sinatra/sinatra/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sinatra/sinatra/compare/v2.1.0...v2.2.0)

---
updated-dependencies:
- dependency-name: sinatra
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-19 04:58:12 +00:00
dependabot[bot]
4b7f806062
Bump nokogiri from 1.13.4 to 1.13.6
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.13.4 to 1.13.6.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.13.4...v1.13.6)

---
updated-dependencies:
- dependency-name: nokogiri
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-19 02:50:01 +00:00
Kira
bcc14fdd55 [Gems] Update rails 2022-04-28 07:57:55 -07:00
Earlopain
87235d6e92
[Ruby] Update to 3.1
net-smtp is no longer bundled by default
Webrick is no longer bundled by default, new rails projects are created
with puma in the gemfile
2022-04-25 21:27:09 +02:00
Earlopain
e45e9023d4
[Bundler] Update to 2.3.12
This is currently the lastest version. The currently used version prints
a deprecation warning everytime with ruby 3
2022-05-19 12:04:58 +02:00
Earlopain
326bf9594f
[Cleanup] Remove mock services 2022-05-19 12:04:56 +02:00
Earlopain
3de690961d
[Cleanup] Remove unused gems and tables/columns 2022-04-07 19:17:33 +02:00
Earlopain
a80c9af67f
[Uploads] Improve invalid file ext error reporting 2022-03-21 16:50:17 +01:00
Kira
820ed764e9 [GEMS] More gem updates. 2022-03-03 02:56:03 -08:00
Kira
d16f5715da [GEMS] Bump gems 2022-03-03 02:46:10 -08:00
Kira
e2a86cd38a [Gems] Bump gems 2021-12-29 10:08:15 -08:00
Kira
f25f357f10 [Gems] Update gems 2021-08-26 18:24:49 -07:00
Kira
79b5ed8483 [Gems] Update gems try 2 2021-08-26 17:27:20 -07:00
Kira
3ce5c4224a Revert "[Gems] Update gems"
This reverts commit 533b60eb5e.
2021-08-26 17:26:25 -07:00
Kira
533b60eb5e [Gems] Update gems 2021-08-26 17:23:19 -07:00
Kira
e018c35e74 [Gems] Update gems 2021-08-12 07:16:18 -07:00
Kira
3f7e9e22f7 [Gems] Update gems 2021-05-05 15:32:14 -07:00
Kira
c46e9a182d [Gems] Update gems 2021-04-02 20:29:38 -07:00
Kira
5c40a7986a [Gems] Update gems 2021-02-25 12:08:09 -08:00
Kira
048e5d7182 [Rails] Update to rails 6
Fix sidekiq initializer
2021-02-25 12:08:09 -08:00
Kira
8f60e79ec7 [Gems] Update dtext gem 2021-01-17 12:47:35 -08:00
Kira
aff0f5f2da [Gems] Update gems + fix cache deprecation 2020-10-01 08:12:04 -07:00
Kira
1d62f390d9 [Gems] Update gems 2020-09-11 11:39:57 -07:00
Kira
95d5c89419 Revert "Revert "[Gems] Update gems""
This reverts commit a2b318e6a4.
2020-09-05 08:10:27 -07:00
Kira
a2b318e6a4 Revert "[Gems] Update gems"
This reverts commit f8fa160914.
2020-09-05 07:56:41 -07:00
Kira
f8fa160914 [Gems] Update gems 2020-09-05 05:13:08 -07:00
Kira
233ba01fce Update gems and JS 2020-07-18 06:36:16 -07:00
Kira
e90d9110c1 [Gems] Update gems 2020-06-24 13:25:51 -07:00
Kira
f2b7fd194a [Gems] Bump gems 2020-06-16 19:42:12 -07:00
Kira
fff272689a [Gems] Update gems 2020-06-12 21:52:16 -07:00
Kira
f15fd57379 Update gems 2020-05-22 01:23:05 -07:00
Kira
70ff62dc73 [DText] New dtext version - Fix wiki links with anchors 2020-05-22 00:27:15 -07:00
Kira
3b957795b8 Update gems 2020-04-08 09:40:01 -07:00
Kira
9e3bcd8add Update gems 2020-03-19 23:31:19 -07:00
Kira
fa1e505d4c Update dtext parser for anchors 2020-03-07 08:42:19 -08:00
Kira
377425b6f5 Update gems 2020-02-26 02:02:37 -08:00
Kira
52bf44cc8f Revert "Fetch post counts instead of relying on the estimate"
This reverts commit e50094f588.
2020-01-23 08:56:59 -08:00
Kira
e50094f588 Fetch post counts instead of relying on the estimate 2020-01-23 08:53:56 -08:00
Kira
da00094cf3 Update gemfile 2020-01-02 10:24:33 -08:00
Kira
803e38f5cb Update gems
And remove code that uses session.id
2019-12-28 04:33:09 -08:00
Kira
f85c7e0932 Bump dtext_rb again 2019-11-27 18:22:51 -08:00
Kira
f41abb3a51 Bump dtext version 2019-11-27 18:19:59 -08:00
Kira
a0693e883f Bump dtext version 2019-11-27 17:46:30 -08:00
Kira
eb0541e680 Update gems 2019-11-24 05:23:09 -08:00
Kira
36822ef773 Bump dtext_rb again 2019-11-04 15:59:15 -08:00
Kira
263e3af620 Fix code dtext elements 2019-11-04 15:21:25 -08:00
Kira
4ec91b68ca Bump dtext_rb for nested inline fix 2019-10-31 11:52:21 -07:00
Kira
177abcda61 Bump dtext version 2019-10-25 05:53:32 -07:00
Kira
8e80df77ff Update gems
This also removes the sprockets based asset pipeline because it
isn't being used, and it was causing startup exceptions.
2019-10-22 21:26:35 -07:00
Kira
ba570fc01e Bump dtext gem version 2019-10-22 20:34:36 -07:00
Kira
d15d783d1d Update gems 2019-10-06 04:40:54 -07:00
Kira
93859e6c45 Bump dtext version 2019-10-06 04:33:14 -07:00
Kira
6b9e5c292b Add expanded section support 2019-09-22 13:50:50 -07:00
Kira
3d7f1532f2 Send mail using mailgun 2019-09-13 12:46:44 -07:00
Kira
532e2c1e04 Update to rails 6 2019-08-28 21:50:40 -07:00
dependabot[bot]
bf24527b94
Bump nokogiri from 1.10.3 to 1.10.4
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.10.3 to 1.10.4.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.10.3...v1.10.4)

Signed-off-by: dependabot[bot] <support@github.com>
2019-08-21 05:27:19 +00:00
Kira
a1dc709594 Update all the gems. Game over YEAH! 2019-08-10 05:02:15 -07:00
Kira
e60cc2a46f Remove unused gems 2019-08-10 04:56:05 -07:00
Kira
1fdc3926df Update webpacker and fix a bunch of broken things with it 2019-08-03 20:25:22 -07:00
Kira
749fc84a39 Update lockfile with new dtext parser version 2019-05-07 14:26:21 -07:00
Kira
8f4c2e85e7 Use updated dtext and deferred posts 2019-05-01 13:17:08 -07:00
Kira
f72b9fd1e1 Add RequestStore gem 2019-04-30 04:46:40 -07:00
Kira
11f64ce743 Add Draper for decorators 2019-04-14 02:30:01 -07:00
Kira
e62099af44 A whole boatload of elasticsearch changes
Makes index job unique to account for changes to update triggering.
Fixes instances of mixed SQL and ES searches with tag_matches.
Adds utility methods for exists? and count_only ES searches.
Adds comment_bumped_at for comments page usage.
Adds random seeding capability.
Fixes random searches not working correctly.
Fixes status:active.
2019-03-28 14:04:01 -07:00
byte
d1aa2e69f5 add post index 2019-03-24 08:45:44 -04:00
Kira
22a077a2dd Convert delayed_jobs to activejob
Add sidekiq and create jobs for the majority of delayed actions.

Temporary hookup of sidekiq UI in routes for testing purposes.
2019-02-17 19:28:40 -08:00
Kira
dbf46d3522 Initial setup script changes as required by danbooru. 2019-01-31 12:27:40 -08:00
Albert Yi
26aff41738 update gems + yarn 2019-01-30 14:04:33 -08:00
Albert Yi
77b42310eb update gems 2018-12-12 11:20:22 -08:00
Albert Yi
0508b127fd continue refactoring savedsearch 2018-11-15 12:06:13 -08:00
Albert Yi
df02eb7951 eliminate listbooru references 2018-11-12 18:02:49 -08:00
Albert Yi
683b45c031 update dtext gem 2018-10-22 13:48:50 -07:00
Albert Yi
e87a135928 update dtext gem 2018-10-22 12:02:09 -07:00
evazion
d3c135ec72 Downloads::File#http_get_streaming: clean up retry logic.
Replace handrolled retry logic with retriable gem (already pulled in by another gem).
2018-09-18 09:44:15 -05:00
Albert Yi
881c76c788 update readme, remove sprockets gem 2018-08-01 15:34:15 -07:00
Albert Yi
6fa0ae2cf1 Migrate assets to use Webpacker 2018-07-27 15:24:05 -07:00
r888888888
344c46ed00 add mock recommender service for development, add user-context recommended posts 2018-07-21 14:02:57 -07:00
Albert Yi
f1ca252b3c wip 2018-05-11 10:52:03 -07:00
Albert Yi
99012ff342 fix tests 2018-05-09 11:59:51 -07:00
Albert Yi
79ea6f7e6c Add Docker and Travis config files to enable CI tests
Also fixes some Rails 6.0 deprecation warnings
2018-05-09 09:56:38 -07:00
evazion
18c40b0d60 Fix #3678: "Access denied" when adding commentary. 2018-04-27 18:32:15 -05:00
Albert Yi
c4a4394ea0 update gems (fixes #3665) 2018-04-25 14:35:52 -07:00