Commit Graph

11067 Commits

Author SHA1 Message Date
Earlopain
9f796049a3
[Tests] Remove a rails bug workaround
Fixed sometime in the last 5 years
2024-02-22 16:44:19 +01:00
Earlopain
0bed93d8b6
[JS] Switch back to upstream vue-loader
rails/ujs > 7.1 contains the same thing that this fork fixes.
The amount of complains was low enough that I didn't bother fixing it
so there's no reason to continue to work around with vue-loader
2024-02-20 15:59:14 +01:00
Earlopain
066c7559c2
[Users] Add a not about the sensitivity of api keys 2024-02-19 20:18:56 +01:00
Earlopain
b18e921174
[Posts] Show a nicer error message on upload if redis is down 2024-02-19 16:32:58 +01:00
Earlopain
bab944ba95
[Users] Remove API limits column
Hardy useful, breaks user profiles if redis is down
2024-02-19 16:22:18 +01:00
Earlopain
674df5582e
[Gems] Bump dotenv to v3 2024-02-17 12:46:44 +01:00
Earlopain
c9fa546fb3
[Cleanup] Remove deny_transitives from tag alias approve!
Passing true would error because the error class doesn't exist.
BURs check this condition right before.
2024-02-17 12:12:39 +01:00
Earlopain
16de61c044
[Help] Sort entries by their displayed title 2024-02-15 20:11:44 +01:00
Earlopain
069a009dde
[Cleanup] Refactor help pages
The code wasn't very easy to follow. Uses the hip new normalized method from Rails 7.1
Adds some barebones tests
2024-02-15 20:05:36 +01:00
Earlopain
192fb2c1ed
[Discord] Fix counts for AIBUR report 2024-02-15 17:00:31 +01:00
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