Commit Graph

1313 Commits

Author SHA1 Message Date
0aaf8a595c update footer software name for new update 2025-02-08 22:07:48 -06:00
e2b00f7f37 remove Discord and Subscribestar from navbar and routes 2025-01-28 09:13:26 -06:00
bf9125cbd9 Merge branch 'master' into master2 2025-01-27 19:32:41 -06:00
Cinder
0db551db62
[Misc] Add a subscribestar static page (#856) 2025-01-26 06:26:23 -08:00
459d22ee38 make no results message configurable 2025-01-18 12:34:24 -06:00
7b8a85420d and by rebranding i mean just renaming the project.
dont see a need to change anything code-wise
2025-01-17 12:23:48 -06:00
edshot99
01d9e47d0a Merge branch 'master' into master2 2025-01-16 19:56:41 -06:00
clragon
29b98e5002
[StaffNotes] Add updating and deleting (#823) 2025-01-12 19:28:32 -08:00
Donovan Daniels
32a1367cfe
[Users] Consolidate password confirmation into singular route (#813) 2024-12-18 06:02:02 -08:00
edshot99
6a7b40483a Merge branch 'master' into master2 2024-12-09 20:30:53 -06:00
Cinder
4883912e93
[Security] Implement read only mode (#821) 2024-12-08 19:28:31 -08:00
edshot99
b62770fa3d create adult_content configuration option 2024-11-14 18:54:56 -06:00
edshot99
0d5984af63 Merge branch 'master' into master2 2024-11-13 11:32:46 -06:00
edshot99
81add14565 make the guest warning ('Over 18?') configurable 2024-11-13 00:08:08 -06:00
Tarrgon
cf94b1b827
[DangerZone] Allow admins to hide pending posts for a specified amount of hours (#760) 2024-11-10 20:22:14 -08:00
edshot99
4928747b83 add transcript support
it could be possible to load closed captions and subtitles from the transcript div via javascript, but I hate javascript so perhaps some other time.
2024-11-10 13:58:15 -06:00
edshot99
cd5c55e35e revert changes 2024-11-06 22:14:25 -06:00
edshot99
6051f187ea rubocop 2024-11-03 23:11:43 -06:00
edshot99
e93888814f adjust footer for correct software name ('running e621ng' instead of website name) 2024-11-03 18:27:32 -06:00
edshot99
92e1fadd20 mp4 uploads
mostly referenced from Donovan's fork:
336fd469b2
2024-10-31 16:47:53 -05:00
edshot99
b7fee5fe2f add title support 2024-10-30 18:52:53 -05:00
edshot99
64105b0d4e remove Discord page and related. not going to be using discord_joiner 2024-10-28 12:49:33 -05:00
Donovan Daniels
237f79eabe
[AvoidPosting] Bug fixes and cleanup (#706) 2024-08-04 12:35:46 -07:00
Donovan Daniels
8a3e70e5ca
[AvoidPosting] Integrate the avoid posting list into the site (#582) 2024-08-03 14:15:26 -07:00
Donovan Daniels
b3b16759c4 [PostSets/Pools] Handle metatag additions when set/pool is full (#669) 2024-07-28 18:12:41 -07:00
Donovan Daniels
4a0a0c2f93
[UserFeedbacks] Add ability to soft delete feedbacks (#670) 2024-07-21 10:58:40 -07:00
Donovan Daniels
d9f6653e02
[Posts] Overhaul destroyed posts (#672) 2024-07-13 17:05:50 -07:00
Sindrake
c186b4ee2f [PostFlags] Add a new flag for banned content 2024-07-12 18:07:31 -07:00
Earlopain
e4a5764d0b
[Prod] Inline the memory calculation
`Pitchfork::MemInfo` is not public. This also fixes the numbers being off by
a factor of 1024 since pitchfork returns kB, while unicorn-worker-killer used to handle bytes.

Add the amount of requests done after the worker get killed for memory reasons
2024-05-08 16:35:11 +02:00
Earlopain
401866b68a
[Prod] Simplify implementation of worker killer
Credits to byroot for pointing me in this direction
2024-05-07 21:54:25 +02:00
Earlopain
4c58f4988f
[Prod] Share pitchfork config
Somewhat exercise the custom logic during development
2024-05-07 21:54:25 +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
d835d55c54
[Misc] Increase faraday open_timeout
This was previously mistyped which made it fall back to the default of 60 seconds.
Apparently 5 is not enough since there are a few errors on prod for this
2024-05-06 19:14:34 +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
Donovan Daniels
0f8ec1de53
[Notes] Remove note previews, replace with dtext previews 2024-04-18 05:31:25 -05:00
Earlopain
0a35264ad8
[Prod] Ignore pg errors during rack requests
These are handled at the application level
2024-04-15 19:55:41 +02:00
Earlopain
f328836895
[Prod] Change how Datadog is enabled
This works fine here (filled in through dockers .env injection)
but on prod the application doesn't know about the API key
2024-04-09 20:52:33 +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
e3fdc5d61b
[Pools] Fix discrepancy between index page count and actual page count
One was using `user.per_page`, the other config.posts_per_page. Consolidate this
logic to `paginate_posts` to make it more obvious what's going on.
2024-04-04 22:52:49 +02:00
Earlopain
3f3fd0ab4f
[Misc] Revert april fools stuff 2024-04-03 14:39:09 +02:00
Earlopain
c1aa5f95b1
[Misc] Add optout for april fools
Close #630
2024-04-01 12:24:33 +02:00
Earlopain
e4799d9f83
[Prod] Dump NewRelic
Need to look into alternatives
2024-03-23 20:52:31 +01:00
Earlopain
93d759671c
[Misc] Fix webpacker compilation of files only required with require.context
I don't believe this is intentional behaviour but it's also not getting any udpates anymore
This at least makes it work
2024-03-03 12:20:22 +01:00
Earlopain
fc7d84affd
[RuboCop] Enable Style/FrozenStringLiteralComment
This reduces allocations on the posts page by about 5%, from basic testing
2024-02-25 18:15:55 +01:00
Earlopain
56e849695b
[Cleanup] Remove readonly only
Since its introduction 3 years ago, it got used once I believe
I can't even say if this properly works anymore.

If something like that is actually desired in the future, it should just be a whitelist instead
2024-02-23 16:48:56 +01:00
Donovan Daniels
6b2b2cfc14
[DMails] Add marking as unread (#620)
* [DMails] Add marking as unread

* Tweak wording to be same as "Mark all as read", dmail capitalization
2024-02-23 16:39:59 +01:00
Earlopain
1a7df4a497
[Misc] Use libvips provided color profile 2024-02-04 16:42:43 +01:00
Earlopain
f5fcd8a53b
[Rails] Set load_defaults to 7.1 2024-01-30 16:18:26 +01:00
Earlopain
86d44b5b67
[Rails] Enable the remaining 7.1 framework defaults 2024-01-30 16:16:10 +01:00
Earlopain
b00f7145c0
[Rails] Enable some new framework defaults
Others require a deploy first (like caching stuff) or need more thought (like serialization changes)
2024-01-27 13:49:57 +01:00