clragon
e304030e8a
[WikiPages] Add editing tag category ( #920 )
...
Co-authored-by: Donovan Daniels <hewwo@yiff.rocks>
2025-02-26 05:02:53 -08:00
clragon
8136799546
[UserFeedbacks] Restore deleted user feedbacks from staff notes ( #859 )
2025-02-03 09:00:20 -08: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
Cinder
a0b51e40bc
[Users] Rework login pages and increase password requirements ( #825 )
2024-12-14 17:37:53 -08:00
Cinder
4883912e93
[Security] Implement read only mode ( #821 )
2024-12-08 19:28:31 -08: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
Donovan Daniels
6f296e8e01
[Posts] Add back comment disabling ( #749 )
2024-10-28 13:56:22 -07:00
Donovan Daniels
5ef9c55c7d
[UserFeedbacks] Add deleted record count to feedback summaries ( #743 )
2024-09-07 14:28:07 -07:00
Donovan Daniels
ab0453120a
[WikiPages] Redirect back to wiki when editing/fixing tag ( #705 )
2024-09-02 07:40:41 -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
852129269b
[Tickets] Refactor viewing access and add JSON API ( #664 )
...
resolves #657
2024-07-28 18:12:41 -07:00
Tarrgon
1425332c0b
[Replacements] Allow janitor+ to auto approve submitted replacements ( #650 )
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
0346f86ac7
[Artists] Convert is_active into proper deletion ( #660 )
2024-07-20 11:45:36 -07:00
Donovan Daniels
b28bb5c99f
[ForumTopics] Fix page number mismatch ( #675 )
...
Fixes an issue introduced in #674 .
2024-07-20 09:23:26 -07:00
Sindrake
727df848f7
[NewsUpdates] Enable API endpoint for index
...
Also cleaned up some auto-correctable style issues.
2024-07-15 14:01:12 -07:00
Donovan Daniels
af0036db6b
[Forums] Clean up permission checks ( #674 )
2024-07-14 13:14:09 -07:00
Donovan Daniels
d9f6653e02
[Posts] Overhaul destroyed posts ( #672 )
2024-07-13 17:05:50 -07:00
Earlopain
58f9a18915
[Tests] Improve/Add tests around network requests
2024-04-27 13:57:51 +02:00
Earlopain
b058077cf0
[Misc] Add a method that returns the base url for network requests
...
This makes it easier to stub in tests.
Also add a method to the iqdb proxy to say if it is enabled or not and use it everywhere.
2024-04-26 15:57:56 +02:00
Donovan Daniels
0f8ec1de53
[Notes] Remove note previews, replace with dtext previews
2024-04-18 05:31:25 -05:00
Donovan Daniels
b2c4fffdb5
[Tests] Fix post expunge note/post update count test
2024-04-06 08:12:01 -05:00
Earlopain
d9a055d058
[Users] Redirect to name changes when name is invalid
...
The more or less unintrusive message has been there for a few months now.
Start forcing a name change when accessing through a browser, ignore api for now
2024-04-05 17:33:09 +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
979e2e4d5f
[Tests] Add basic tests for takedowns
...
Would have ccaught the breakage from frozen string literals
2024-03-17 19:16:01 +01:00
Earlopain
7c03dddc56
[Pools] Fix exception on the ordering page
...
Broken through 0381653e80
2024-02-27 18:37:22 +01:00
Earlopain
e0b52c13af
[PostVersions] Fix display of unchanged locked tags
...
2352bf54f6 (r139054663)
2024-02-26 12:48:58 +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
6c623496a2
[Users] Stop using has_mail bitflag
2024-02-23 17:18:22 +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
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
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
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
Earlopain
1fed677a45
[Tickets] Make response mandatory
2024-01-14 12:36:37 +01:00
Earlopain
acae76a907
[Dmails] Change http verb from post to put for marking as read
...
That's what mark_all_as_read should have been from the start and
what I should have put mark_as_read to as well
2023-12-18 20:03:38 +01:00
Earlopain
18f8f99730
[Dmails] Don't mark as read on show for API requests
2023-12-17 20:08:44 +01:00
Earlopain
f477141c63
[Dmails] Add route to mark single dmail read
2023-12-17 20:06:10 +01:00
Earlopain
16014a438f
[Dmails] Partially enable api
...
Basically everything except sending
2023-12-17 19:55:13 +01:00
Donovan Daniels
10e9304f17
[ForumPosts] Check for existence of topic & category ( #524 )
...
* [ForumPosts] Check for existence of topic & category
* [Tests] Add invalid topic category_id test
* Tweak how it is getting validated
If the category doesn't exist there's not point in doing anything further
* Move response assert before the other one
Should always be that way. If the response doesn't have the expected format
the assert will for sure fail and produce a confusing error message
---------
Co-authored-by: Earlopain <14981592+Earlopain@users.noreply.github.com>
2023-12-04 18:03:11 +01:00
Earlopain
b68fcd8148
[Admin] Fix editing email validation
2023-12-03 15:53:33 +01:00
Earlopain
499d447352
[Users] Fix custom css
...
The constraint applies to all user routes, which includes `custom_style`.
Also fixes a constant redefinition warning in the console when doing `reload!`
2023-09-07 21:08:55 +02:00
Earlopain
c51029ea1e
[ModActions] Stop logging name changes
...
These are not mod actions, anybody can do that. Only log when admins
force change names.
Don't show old/new names, we already don't show that on user profiles.
2023-09-04 23:02:14 +02:00
Earlopain
1dfd0bdbad
[Tests] Fix wiki page revert after previous commit
...
Yet another CurrentUser issue
2023-06-11 12:48:00 +02:00
Earlopain
7ba84504b5
[Users] Better fix for setting ip on login for banned users
2023-06-08 13:11:54 +02:00
Earlopain
86c28ef180
[Users] Don't update last ip on session create
...
This updates the ip of banned users which is undesirable.
The initialization in the user class interferes with tests and
is not actually needed. The controller already does this.
2023-06-06 20:12:02 +02:00
Earlopain
f5f29f8673
[Tests] Remove workaround for bcrypt slowdown
...
81a1b4b544
says this was done to make tests significantly faster, I'm
not seeing any slowdown with this change though. The real culprit was
probably the MX lookups.
2023-06-06 19:52:02 +02:00
Earlopain
44485e90fd
[Misc] Show a better error message when not authorized
...
This previously just showed that an unexpected error occured which
isn't very helpful.
See #509
2023-05-07 15:00:26 +02:00
Earlopain
b58865149f
[IQDB] Remove xhr handling
2023-05-07 14:03:57 +02:00
Earlopain
b48de755fc
[Admin] Fix unable to edit users with duplicate emails
...
Also fixes a mistake in showing the email edit box
2023-04-30 13:10:43 +02:00