Commit Graph

358 Commits

Author SHA1 Message Date
deae47972e Gemfile.lock 2025-01-27 21:33:12 -06:00
Cinder
a0b51e40bc
[Users] Rework login pages and increase password requirements (#825) 2024-12-14 17:37:53 -08:00
Cinder
c8a1cfb5fe
[Gems] Update rexml and ruby-lsp-rails (#739) 2024-08-28 08:49:57 -07:00
Cinder
b852254ad0
[Seeding] Rewrite the seeding script (#676) 2024-07-20 08:30:21 -07:00
Earlopain
59f5fda98f
[Gems] Back to rack 3 again
The issue has already been fix upstream
2024-05-10 11:02:03 +02:00
Earlopain
643cbff636
[Gems] Back to rack 2 again, for now
https://github.com/Shopify/pitchfork/issues/117
Needs https://github.com/rack/rack/pull/2062
2024-05-09 15:24:05 +02:00
Earlopain
2c60ec69c8
[Prod] Replace unicorn with pitchfork
pitchfork is a unicorn fork with some things removed and some things added.
We don't need any of these things so it should be an easy replace.
There is no worker-killer for pitchfork, it is however trivial to implement ourselves.

unicorn is pretty much dead. The author implies as much in the various readme updates
he made. It also doesn't work with rack 3 and I doubt a new release will even be made.
If it will, it highly likely won't be on rubygems.
2024-05-07 21:54:25 +02:00
Earlopain
0996a981d0
[Gems] Bump request_store
Has a bugfix that may be relevant
2024-05-04 15:07:32 +02:00
Earlopain
5f6fa2b83d
[JS/Gems] Bump packages/gems 2024-04-28 11:07:10 +02:00
Earlopain
e002cc165f
[Gems] Bump RuboCop 2024-04-28 11:05:37 +02: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
0b47770c49
[Prod] Add Datadog
Let's see how this one works out. Cute logo
2024-04-09 20:16:29 +02:00
Earlopain
bbccfdccd7
[Gems] Bump ruby-lsp 2024-04-04 22:09:12 +02:00
Earlopain
e4799d9f83
[Prod] Dump NewRelic
Need to look into alternatives
2024-03-23 20:52:31 +01:00
Earlopain
674df5582e
[Gems] Bump dotenv to v3 2024-02-17 12:46:44 +01:00
Earlopain
52bec3dbc6
[Gems] Bump sidekiq-unique-jobs
This impacts the admin dashboard only
2024-02-12 19:45:09 +01:00
Earlopain
682f809f0e
[Gems] Pin Rack to ~> 2.0
Unicorn is lacking support and mishandles cookies (and probably a bunch of other stuff as well)
2024-01-27 20:21:27 +01:00
Earlopain
a7228612a2
[Rails] Update to 7.1
Run `app:update`, fix the one deprecation warning
2024-01-25 22:05:29 +01:00
Earlopain
d3bee95caa
[Gems] Bump gems 2024-01-25 21:28:28 +01:00
Earlopain
fa9fb531f7
[Docker] Add a devcontainer
This removes the need for all the ruby-lsp setup stuff.

ruby-lsp will try to install the debug gem which contains native code, add that to the gemfile so it doesn't cause trouble.

I'm probably going to remove the rubocop/test compose services at some point. With devcontainers you are just able to run the commands directly.
2024-01-12 20:50:24 +00:00
Earlopain
a0a0d8db13
[Docker] Replace solargraph with ruby-lsp
It just works.
Requires a bit of a workaround for the .rubocop.yml env setup currently in use but thats alright.
The companion ruby-lsp-rails doesn't do much right now but I imagine that to become quite powerful in the future.
2024-01-11 23:16:03 +01:00
Earlopain
4106787487
[Gems] Remove explicit dependecy on resolv
It's a default gem and as such not needed there
2023-12-17 20:28:10 +01:00
Earlopain
c62f36e107
[JS/Gems] Bump packages/gems 2023-12-03 16:21:30 +01:00
Earlopain
6bb4c272cc
[Gems] Bump rubocop 2023-12-03 15:36:37 +01:00
Earlopain
f8098721ec
[Misc] Remove memoist gem dependency
The author has passed away and  some functionality is broken with recent
ruby versions already. We only use a subset of it, so it's easy to replace.

Some places:
* Didn't even use it
* Used it but the method was already cached through memcached
* Just don't need it

Some places I question if it is needed but I'll just leave them there
since I don't want to benchmark
2023-11-08 22:21:11 +01:00
Earlopain
691b67f0e7
[Gems] Pin rails to the minor version
Rails minor updates are basically like major ones, without removing
deprecations but all the potential bugs that come with a major update.
Make a concious decision to update to these new versions.
2023-10-15 19:24:53 +02:00
Earlopain
2620ea983e
[Wiki] Better diffing view 2023-10-15 13:08:28 +02:00
Earlopain
3a58ac0938
Switch to OpenSearch (#550)
Run the following commands to import data into OpenSearch:

Post.document_store.create_index!
PostVersion.document_store.create_index!
Post.document_store.import
PostVersion.document_store.import

* Add opensearch client

* Add url param to force use opensearch

* Switch import method over to opensearch

* Index to opensearch as well

* Add option to gradually roll out os

* Index os with separate queue

* Move os post creation to job as well

* Exclusively use the OpenSearch client

* Stop enqueuing OsIndexUpdateJob

* Remove remaining elasticsearch code

Bump faraday since v2 is no longer blocked
2023-10-02 18:57:07 +02:00
Earlopain
0bd651c08b
[Elasticsearch] Remove elasticsearch-model gem
This should be the bulk of the work to integrate with opensearch-ruby
2023-09-16 15:52:05 +02:00
Earlopain
17b9797657
[Misc] Remove elasticsearch-rails gem
There is no counterpart for OpenSearch.
`elasticsearch-model` needs to go too but that is more involved than
just removing something that only facilitates logging in dev.

This was responsible for
* displaying the time elasticsearch queries took per request
* logging the search parameters being sent to elasticsearch per query

The implementation isn't that complex and I could roll something myself but
considering that I haven't sought that information out by now I'll just don't.
Logging queries is trivial since we craft these manually ourselves.
2023-09-12 20:23:35 +02:00
Earlopain
f7286ccce3
[JS/Gems] Bump packages/gems
Also moves the vue-loader fix from my personal account to the org
2023-08-12 13:47:37 +02:00
Earlopain
7adac7b250
[Gems] Bump rubocop/regenerate todo
987 files inspected, 6509 offenses detected, 6224 offenses autocorrectable
2023-08-01 19:32:24 +02:00
Earlopain
ed268ddf02
[Gems] Bump bundler
This is the default version shipped with ruby atm so no need to install it
2023-05-26 20:17:48 +02:00
Earlopain
05b100f8da
[Cleanup] Remove Cache.hash
Rails already handles long keys for us
2023-05-19 22:14:34 +02:00
Earlopain
eb8e402152
[Gems] Update to sidekiq 7
Moves the redis handling into the cache class because of a naming
conflict with redis-client which is now being pulled in by sidekiq
2023-04-15 20:43:37 +02:00
Earlopain
46eca3cb97
[Gems] Remove pry-byebug 2023-04-15 17:08:37 +02:00
Earlopain
8f66cecb3f
[Gems] Bump rubocop and solargraph 2023-04-15 16:13:19 +02:00
Earlopain
6eeacde1da
[Gems] Bump DText
This imports 3 years of commits from Danbooru. See #487
2023-04-09 15:50:43 +02:00
Earlopain
94efeddf04
[JS/Gems] Bump packages/gems
Also regenerates rubocop-todo
2023-03-10 10:23:58 +01:00
Earlopain
3553987b6d
[Gems] Add rubocop-erb 2023-02-23 13:22:26 +01:00
Earlopain
1f6d674177
[Gems] Bump rubocop to latest version 2023-02-22 20:18:47 +01:00
Earlopain
a5df59da89
Merge pull request #467 from e621ng/dependabot/bundler/globalid-1.1.0
Bump globalid from 1.0.0 to 1.1.0
2023-02-03 20:05:09 +01:00
dependabot[bot]
6091824b6d
Bump globalid from 1.0.0 to 1.1.0
Bumps [globalid](https://github.com/rails/globalid) from 1.0.0 to 1.1.0.
- [Release notes](https://github.com/rails/globalid/releases)
- [Commits](https://github.com/rails/globalid/compare/v1.0.0...v1.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-03 18:31:06 +00:00
dependabot[bot]
228ea04cdb
Bump rack from 2.2.4 to 2.2.6.2
Bumps [rack](https://github.com/rack/rack) from 2.2.4 to 2.2.6.2.
- [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.4...v2.2.6.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-03 18:31:06 +00:00
Earlopain
8b28393596
[Misc] Move to org 2023-01-23 20:43:56 +01:00
Earlopain
00b976cde3
Bump dtext_rb 2023-01-11 18:38:55 +01:00
Earlopain
9c9a19b0ea
[Cleanup] Remove x64-mingw32 platform 2022-12-17 17:04:40 +01:00
Earlopain
e262f06a93
[Cleanup] Remove NoteSanizier
Notes are formatted using dtext only. Even though the existance of this
class suggests that some html elements are allowed, it doesn't actually do anything.
Link relativization also didn't work, same with dtext colors.
2022-12-17 17:00:27 +01:00
Kira
34bf4873b6 [Gems] Update NR gem as well 2022-12-14 23:01:00 -08:00
Kira
89095724de [Gems] Update more gems 2022-12-14 22:59:12 -08:00