Earlopain
43ade626e0
[AIBUR] Fix ModActions for implications and on alias reject
2024-02-15 16:58:47 +01:00
Earlopain
feb205204b
Merge pull request #596 from DonovanDMC/forum-post-vote-fix
...
[ForumPosts] Fix voting buttons
2024-02-14 19:46:09 +01:00
Earlopain
860084b68c
[Tests] Skip more flakiness
...
https://github.com/e621ng/e621ng/actions/runs/7905570941/job/21578501986
2024-02-14 19:23:10 +01:00
Donovan Daniels
0702b4fd19
[AIBUR] Link to forum post & show votes in show
action ( #601 )
...
* [AIBUR] Link to forum post & show votes in `show` action
* Use strict locals, they are pretty cool
Also clarify the purpose of the new parameter
* Only show voting box when any votes are present
Looks weird otherwise
* Move the list into the partial
* Remove voting link on show page
* Uniform display on forum/show page
Display the votes inline, like on forum posts
---------
Co-authored-by: Earlopain <14981592+Earlopain@users.noreply.github.com>
2024-02-14 19:17:54 +01:00
Earlopain
5759cc4103
Merge pull request #615 from Sindrake/forum-topic-background
...
[ForumTopics] Fix deleted topic row colors
2024-02-14 16:37:36 +01:00
Earlopain
a28a346a20
[ForumTopics] Consistently use is-hidden over is-deleted
2024-02-14 16:33:02 +01:00
Donovan Daniels
b89fc1428e
[Comments] Add "Post Uploader" to search options ( #598 )
...
* [Comments] Add "Post Uploader" to search options
* Use block with where_user
2024-02-14 16:10:45 +01:00
Cinder
8bd98d2e8c
[Dmails] Increase title input length ( #612 )
...
* [Dmails] Increase title input length
* Fix remaining rubocop things
2024-02-14 15:51:27 +01:00
Earlopain
52bec3dbc6
[Gems] Bump sidekiq-unique-jobs
...
This impacts the admin dashboard only
2024-02-12 19:45:09 +01:00
Earlopain
8112e57329
[Tests] Skip flaky pagination test on CI
2024-02-04 16:51:13 +01:00
Earlopain
85191c9507
[Misc] Fully ignore log folder
...
Rails actually rotates logs in test now _I think_, so you get files like test.log.0 which aren't ignored
2024-02-04 16:44:22 +01:00
Earlopain
1a7df4a497
[Misc] Use libvips provided color profile
2024-02-04 16:42:43 +01:00
Sindrake
3a3b7b2a82
[ForumTopics] Fix deleted topic row colors
2024-02-01 12:17:27 -08: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
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
1c53597178
Merge branch 'master' into rails-7.1
2024-01-27 14:05:08 +01:00
Donovan Daniels
e32718dd3d
[PostSets] Fix excluding all root level parameters ( #603 )
2024-01-27 13:52:35 +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
Earlopain
79427ef36c
[Rails] Enable raise_on_missing_callback_actions
for dev/test
2024-01-26 22:43:24 +01:00
Earlopain
e10f308728
Merge pull request #600 from Sindrake/comment-visibility-fix
...
[Comments] Fix the show_hidden_comments setting
2024-01-26 16:52:46 +01:00
Sindrake
2b3c9c3a10
[Comments] Fix the show_hidden_comments setting
2024-01-26 07:45:55 -08:00
Earlopain
fe5434e157
[Comments] Fix own hidden comments visible on index if show_hidden_comments == false
2024-01-26 16:38:52 +01:00
Earlopain
278233078d
[JS] Bump packages
2024-01-25 22:57:53 +01:00
Earlopain
db5bdabae2
[Docker] Bump to alpine 3.19
...
Let's get this out of the way if stuff needs to be rebuild anyways
2024-01-25 22:06: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
10e3f1662a
[Posts] Fix fav buttons in the sidebar
2024-01-25 18:51:51 +01:00
Earlopain
0fad5d5659
[Comments] Fix exception when searching by poster_id
...
Caused by 2c832dc633
poster_id requires a join and these columns weren't fully qualified.
2024-01-25 18:47:26 +01:00
Donovan Daniels
4eaffca71e
[ForumPosts] Fix voting buttons
...
* Fix all buttons disappearing when voting on one post
* Fix clicking outside of `i` element failing to vote
2024-01-23 18:54:01 -06:00
Earlopain
2c832dc633
[Comments] Show hidden sticky comments to Janitors
2024-01-22 19:26:00 +01:00
Earlopain
9ec5ab3e1d
[Comments] Simplify hidden
method
...
Instead of having the cognitive load of checking if this is indeed the inverse of `visible`, just wrap it all in sql not
I'd love to have rails take care of this but haven't found something for that
2024-01-22 19:20:40 +01:00
Earlopain
c4bd8e961f
[Comments] Simplify should_see?
2024-01-22 18:57:44 +01:00
Earlopain
23fcee2356
[Comments] Allow janitor to sticky
2024-01-22 17:52:48 +01:00
Donovan Daniels
465a91a69f
[PostVersions] Allow searching for only uploads ( #595 )
...
* [PostVersions] Allow searching for only uploads
* include_blank: true
2024-01-22 17:30:42 +01:00
Cinder
f5aa020ad3
[Tickets] Add warnings to the comment report form ( #588 )
...
* [Tickets] Add warnings to the comment report form
* [Tickets] Add warnings to blip and forum reports
* Indent
2024-01-21 20:10:43 +01:00
Earlopain
5252153b73
Merge pull request #591 from Sindrake/post-type-in-info
...
[Posts] Show file type in the post sidebar
2024-01-21 19:51:38 +01:00
Earlopain
15728b2862
Merge pull request #593 from Sindrake/belarussian-fix
...
[Users] Update Belarussian welcome message
2024-01-21 19:50:30 +01:00
Earlopain
1b982f64e1
[PostVersions] Downcase tag query
...
Allows searches like `Hi_res` to function
2024-01-21 17:56:47 +01:00
Earlopain
ae96db548e
[Cleanup] Avoid nested methods
...
These are redefined every time the enclosing method is called
2024-01-21 17:55:11 +01:00
Earlopain
dd7106ed2d
[Discord] Add a report for AIBURs
2024-01-21 17:28:46 +01:00
Sindrake
048da4ea92
[Users] Update Belarussian welcome message
2024-01-19 17:51:23 -08:00
Sindrake
8d96a5194a
[Posts] Show file type in the post sidebar
2024-01-16 04:07:22 -08:00
Earlopain
7826b72835
[Docker] Default to running as root
...
Previous setups will already contain folders created as root. Making a different user the default
will break these setups. So just make it opt-in instead.
2024-01-15 08:59:56 +00:00
Earlopain
f8d54b65bb
[Tests] Fix CI
...
Previous commits made docker run as a different user than root.
Unfortunately the checkout action creates the files as root, regardless of what
user might actually be running. As such, docker commands need to be run as
root as well to not run into permission issues when creating the `tmp` folder for example.
This basically reverts 2de0ebb5b8
for CI but since that was intended for local development its not a big deal
2024-01-14 20:49:30 +00:00
Earlopain
5a1e833e7e
[Docker] Set default for UID/GID in Dockerfile as well
...
We can't rely on this being set by using compose, since CI as an example just does `docker build .`
2024-01-14 20:13:08 +00:00
Earlopain
b0b5e2a7a7
Merge pull request #576 from DonovanDMC/post-sets-missing-postids
...
[PostSets] require post_ids[] for adding/removing posts
2024-01-14 21:08:21 +01:00
Donovan Daniels
8f8feac8aa
[Artists] Show error when changing notes with locked wiki page ( #580 )
...
* [Artists] Show error when changing notes with locked wiki page
* [Tests] Add tests for editing artists with locked wiki pages
2024-01-14 21:01:01 +01:00
Earlopain
10156208ac
[Docker] Start only a single service for the devcontainer
...
Doesn't pull the other stuff in which greatly increases startup performance and reliability
2024-01-14 18:36:16 +01:00
Earlopain
2de0ebb5b8
[Docker] Allow running as different user
2024-01-14 16:30:49 +00:00