Commit Graph

256 Commits

Author SHA1 Message Date
Tarrgon
09b46b0766
[Comments] Fix an error on the index page caused by hidden comments (#837) 2025-02-03 10:26:44 -08:00
Tarrgon
2f237e00ef
[Comments] Show direct link comments to the creator regardless of settings (#788) 2024-11-25 07:38:13 -08:00
Donovan Daniels
6f296e8e01
[Posts] Add back comment disabling (#749) 2024-10-28 13:56:22 -07:00
Earlopain
3f3fd0ab4f
[Misc] Revert april fools stuff 2024-04-03 14:39:09 +02:00
Earlopain
e2d289baca
[Misc] Add this years april fools joke
I'm so sorry
2024-03-31 13:41:13 +02: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
Earlopain
fe5434e157
[Comments] Fix own hidden comments visible on index if show_hidden_comments == false 2024-01-26 16:38:52 +01:00
Earlopain
2c832dc633
[Comments] Show hidden sticky comments to Janitors 2024-01-22 19:26:00 +01:00
Earlopain
23fcee2356
[Comments] Allow janitor to sticky 2024-01-22 17:52:48 +01:00
Earlopain
d4f72baf5f
[Comments] Disable the button on submit
Should hopefully do something against the constant double-submits
2023-12-17 20:11:59 +01:00
Donovan Daniels
fd5b491694
[UserWarnable] Fix warning_user_id never being set (#541)
* [UserWarnable] fix `warning_user_id` never being set
I know `update` & `update_columns` function differently, but I feel the difference isn't needed

* [UserWarnable] Add inline user and timestamp

* lint

* Move warning info into partial

Also removes the user/timestamp as that is redundant for now

* Fix unmarking

* Tweak fixer script

---------

Co-authored-by: Earlopain <14981592+Earlopain@users.noreply.github.com>
2023-12-04 20:19:49 +01:00
Earlopain
83f160e3a9
[Comments] Move recent count into constant 2023-10-15 18:01:23 +02:00
Donovan Daniels
115c140cc2
[Posts] Make comment_disabled not hide comments (#546)
* [Posts] Make comment_disabled not hide comments

* [VoteManager] Disallow voting on locked/disabled comments

* [Comments] Disable editing/hiding disabled & locked comments

* Tweaking

* Allow hiding when comments locked
* Don't allow mods to vote when comments locked
* Change wording from disabled to locked everywhere

---------

Co-authored-by: Earlopain <14981592+Earlopain@users.noreply.github.com>
2023-09-05 17:27:05 +02:00
Earlopain
4f3be1955e
[Notes] Add back ability to search by post note updater 2023-08-31 17:38:09 +02:00
Earlopain
8ec4027d58
[Cleanup] Use actual characters instead of html entities
Converts almost all, except a few were they make sense like nbsp
2023-08-06 18:07:15 +02:00
Earlopain
cc379af5eb
[Search] Add custom input type for users
Automatically adds name/id search
2023-08-04 20:46:59 +02:00
Earlopain
8e7914aad8
[Search] Add the submit button automatically 2023-05-07 13:06:00 +02:00
Earlopain
7fbc561cb1
[Cleanup] Remove .tn class
Translation notes are not a thing on e6
2023-04-09 16:35:07 +02:00
faucet
befc223c3f
[Comments] Include blanks for some fields in comments search 2023-03-17 03:37:16 +00:00
Earlopain
839ad27782
[Header] Render navbar <menu>s outside the partials 2023-03-03 16:22:51 +01:00
Earlopain
f629e394ca
[Search] Add search fields that only show when they have a value
Also add it to a few places I could quickly find that can make use of this.
2023-02-18 17:53:12 +01:00
Earlopain
665f432e17
[Users] Allow moderators to handle tickets 2022-11-28 16:21:40 +01:00
Earlopain
50e0a49385
[Tickets] Show correct error when submitting with empty reason
Also constistently use qtype instead of type.
2022-11-27 17:21:22 +01:00
Earlopain
9f6f33fd02
[Comments] Fix deleted posts not having a thumbnail
They now correctly have the deleted image, like presumably all other previews
2022-10-16 19:11:59 +02:00
Earlopain
5139aaf4db
[Cleanup] Refactor user warnable code 2022-09-26 20:15:35 +02:00
Earlopain
33681a71ee
[Comments] Fix group_by=comment not marking hidden comments red 2022-09-25 13:19:14 +02:00
Earlopain
bd563562b0
[Forms] Replace dtext_field with custom simple_form input 2022-08-05 18:39:13 +02:00
Earlopain
87500a4f01
[Forms] Use a custom form builder
This will  make it possible to write some custom logic and use it everywhere,
like generating submit buttons with text depending on the model state
2022-07-13 20:48:14 +02:00
Earlopain
93cd28c0e1
[Posts] Change comment locked to disabled
Instead of just preventing new comments hide everything completly.
2022-05-16 15:53:39 +02:00
Earlopain
2f5b55a0bc
[Comments] Hide a few buttons on sticky 2022-05-16 14:42:44 +02:00
Earlopain
6d3f272e90
[Posts] Allow locking comment sections 2022-05-16 14:20:11 +02:00
Earlopain
dd194122a0
[Comments] Refactor showing the reply button 2022-05-16 13:34:25 +02:00
Earlopain
a92147b434
[Search] Add hideable search to a few places 2022-04-02 21:23:36 +02:00
Earlopain
212d6e3727
[Search] Automatically set values from url search params
Setting them every time manually is cumbersome, and a few places didn't even do it.
This also adds a shorthand for setting the autocomplete attribute
2022-04-02 21:23:28 +02:00
Earlopain
4895e0b321
[Search] Move forms into partial 2022-04-02 21:22:55 +02:00
Earlopain
711caaaf4c
[Misc] Clean up dtext_field usage
Also rename `name` to `label`
2022-03-05 20:54:12 +01:00
Earlopain
55e1ad77b9
[Comments] Move update notice out of dtext container
This prevents zalgo overflowing into the update notice text.
Other update notices are already correctly positioned
2022-02-20 16:52:28 +01:00
Earlopain
a8276c4775
[Comments] Prevent moving comments to other posts 2022-01-09 17:53:17 +01:00
Zwagoth
8877fcf7f5
Merge pull request #343 from zwagoth/ip-search
Enhance IP searching capabilities
2022-01-02 17:36:27 -05:00
Earlopain
047b2db41e
Merge branch 'master' into dtext-overflow 2021-11-18 18:07:04 +01:00
Earlopain
2bf48d3236
[Votes] Allow ordering by ip and limiting timeframe 2021-11-17 18:09:45 +01:00
Earlopain
609c1b4b8f
[IpSearch] Add ip searching capabilities and link to them 2021-11-17 18:09:45 +01:00
Earlopain
bad4340e15
[DText] Prevent zalgo from overflowing
Deeply nested sections still exceed the expected width.
2021-11-17 17:53:11 +01:00
bitWolfy
db8cf6cb74 [UI] Add formatting buttons to DText inputs 2021-10-31 20:30:37 -07:00
Earlopain
d9f7bec1ee
[Comments] Remove atom feed 2021-10-02 12:13:27 +02:00
Kira
1feee5e9a5 [Admin] Allow marking content as having earned a user a warning/ban 2021-04-16 15:39:32 -07:00
Kira
9955de0cf9 Merge branch 'master' of github.com:zwagoth/e621ng 2021-04-02 21:53:44 -07:00
Kira
7d86a9bb6d [Comments] Highlight targeted comment on page 2021-04-02 21:50:18 -07:00
Kira
82ec5b537f [Views] Fix params usage for bad bots causing exceptions 2021-04-01 19:20:32 -07:00
Kira
0af1cea993 [Comments] Fix exception when viewing comment on destroyed posts 2021-04-01 18:53:20 -07:00