Cinder
0eb02c6728
[UI] Redesign the navigation menu ( #840 )
2025-01-20 07:14:42 -08:00
Donovan Daniels
4ff4c3718e
[DText] Explicitly set when color is allowed in preview ( #665 )
2024-07-20 10:19:40 -07: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
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
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
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
Earlopain
839ad27782
[Header] Render navbar <menu>s outside the partials
2023-03-03 16:22:51 +01:00
Earlopain
f6b53dd0d3
Merge branch 'moderator-role'
2023-01-11 17:05:37 +01:00
Earlopain
9afc1949fa
[CSS] Clean up duplicate table classes
...
width: 100% is already part of the class.
Remove duplicate classes .table/.striped and exclusivly use the more common one.
Add this class to PostReportReasons/Help, which were missing it.
2022-12-29 16:36:33 +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
bd563562b0
[Forms] Replace dtext_field with custom simple_form input
2022-08-05 18:39:13 +02:00
Earlopain
f7e6985c82
[Forms] Insert autocomplete through a shortcut property
2022-07-13 21:12:37 +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
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
5a88be7d2d
[Cleanup] Remove spam detection
...
Checked for is_gold, which doesn't work anyways
2022-03-05 16:05:53 +01:00
Earlopain
047b2db41e
Merge branch 'master' into dtext-overflow
2021-11-18 18:07:04 +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
Kira
490179d0ea
[Tickets] Prevent reporting dmails the user did not receive
2021-08-12 06:45:52 -07:00
Kira
9955de0cf9
Merge branch 'master' of github.com:zwagoth/e621ng
2021-04-02 21:53:44 -07:00
Kira
82ec5b537f
[Views] Fix params usage for bad bots causing exceptions
2021-04-01 19:20:32 -07:00
Earlopain
9b7c4db852
[Template] Don't explicitly add app_name in every title
...
- Use a helper function to add it to every title (except the root path
which is just the app_name)
- Remove useless set_title function in application_controllerller
2021-03-21 16:58:35 +01:00
Kira
d90765278e
[Dmail] Dmail debugging
2020-09-06 07:28:30 -07:00
Kira
36af053218
Fix voting and remove some dead .js files
2020-02-21 21:40:37 -08:00
Kira
07740125d5
Dmail mark all read
2020-02-21 21:40:37 -08:00
Kira
b295518a28
Progress on removal of remote: true calls
2020-02-21 21:40:37 -08:00
Kira
6af481d38f
Improve flexibility of dtext class
...
Remove div scoping from the dtext class to allow for future inline
DText as an option.
Rename class to make it slightly more obvious what the class is
and what it is accomplishing. `prose` seemed too vague.
2019-09-22 12:16:46 -07:00
Kira
e99794fa2e
Fix dmail and user record forms
2019-09-13 16:04:03 -07:00
evazion
0f96f4afb0
autocomplete: add username autocompletion sitewide.
2019-08-13 03:19:44 -07:00
Kira
9fa294ba31
Convert gold -> privileged for user level
2019-06-29 08:45:58 -07:00
Kira
21a077d8e1
Route help pages to help system.
2019-03-26 22:27:07 -07:00
Kira
b5db278311
Test and bring tickets closer to completion
...
Add links to report items to all of the reportable areas of the
site.
Fix a lot of errors surrounding views and bad expectations from
the old codebase.
Change how dmails can be viewed to match the old logic. This prevents
users from creating links to their own dmails that can be shared with
moderators, and instead forces them to be reported.
Sets are still not implemented, so the reporting area for them has
not been tested or revised. That will happen at a later phase when
sets go in.
2019-03-14 19:10:33 -07:00
evazion
47e26419d3
nav menu: add html ids to secondary nav menu links ( #3844 ).
2018-08-27 20:57:59 -05:00
Albert Yi
6fa0ae2cf1
Migrate assets to use Webpacker
2018-07-27 15:24:05 -07:00
r888888888
e47e1f4e4c
conditionally hide spam/ham links
2017-09-14 13:44:14 -07:00
r888888888
b944b642b8
akismet integration
2017-09-14 13:37:36 -07:00
evazion
7cb7c2fbab
Remove ruby DText implementation ( #3206 ).
2017-07-19 16:48:42 -05:00
evazion
5605f0fe0b
Fix #3185 : Dmail Show View incorrectly using class instead of ID.
2017-06-25 10:39:49 -05:00
evazion
0652b907a9
dmails: inline search form on /dmails page.
2017-04-29 11:50:26 -05:00
evazion
d1216f260e
dmails: add search[title_matches] param.
2017-04-29 11:50:25 -05:00
evazion
27d6025425
dmails: convert search form to simple form.
2017-04-29 11:50:25 -05:00
r888888888
8a57d38f38
remove statement about responding in automated messages
2017-02-24 10:36:45 -08:00
evazion
b1af644f67
dmails: send automated dmails from Danbooru.config.system_user.
...
Sends automated dmails from `Danbooru.config.system_user`, rather than
whichever user is performing the action happens to be (usually User.admins.first).
Also adds a notice in the view that the dmail was automated.
2017-02-23 22:51:17 -06:00
evazion
865211b0b5
dmails: remove unused edit
template and update
route.
2017-02-23 22:51:17 -06:00
evazion
2d8a7ed93b
/dmails: add help:dmail link to subnavbar.
2017-02-23 22:51:17 -06:00
evazion
d852f98e4f
/dmails: remove unused search[owner_id]
param.
...
/dmails is restricted to viewing dmails for CurrentUser only (due to
Dmail.visible in the index action). Remove owner_id from subnavbar links
in /dmails, and don't support it in /dmails?search[owner_id], since it
doesn't actually do anything.
Also removes related dead methods and fixes tests that didn't test owner_id properly.
2017-02-23 22:51:17 -06:00
evazion
bdf3366bcf
Link IP addresses to IP searches.
2017-01-12 09:15:14 +00:00