Commit graph

610 commits

Author SHA1 Message Date
byte[]
075d947755 add missing track_total_hits for ES7 compat 2020-05-06 11:26:24 -04:00
liamwhite
6bbe358dd1
Elasticsearch 7 upgrade (#113)
* initial upgrade to elasticsearch 7

* fix stat page error

* i am an idiot

* fix es not creating new indexes

* more complete removal of doc_type

Co-authored-by: Luna D <cod7777@yandex.ru>
2020-05-04 08:19:42 -04:00
liamwhite
af9e779c59
Renaming (#112)
* First (not-yet-working) attempt at self-renaming

* Actually working renames

* last_renamed_at

* Prevent renaming while banned

* Move username changing from controller to model

* Username change logging

* Rate limiting for username changes

* username -> name and format

* add UBQ

* modify interval

Co-authored-by: Joey <joeyponi@gmail.com>
2020-05-02 18:17:55 -04:00
byte[]
d03c1d7e5b fixes #76: filter public conversion route 2020-05-02 12:58:11 -04:00
byte[]
a97006fd9c fixes #109: add ability to delete channels 2020-05-02 12:27:50 -04:00
byte[]
56ad635154 fixes #34: add scraper to replace box 2020-05-01 23:02:20 -04:00
byte[]
1f5f5ce104 fixes #70: improve visibility of adult streams 2020-05-01 22:50:54 -04:00
byte[]
2df7e1c2f8 fixes #69: livestream channel search 2020-05-01 22:33:40 -04:00
byte[]
8f59092082 fixes #77: restore cross-page gallery organization 2020-05-01 15:51:28 -04:00
byte[]
4be21fc592 #77: order the gallery list in a more sensible way 2020-05-01 14:10:10 -04:00
byte[]
d1783cdeb8 fixes #45: add poll administration options 2020-04-30 17:24:24 -04:00
byte[]
406c7dd74b fixes #97: add new route for changing anonymity status of upload 2020-04-30 00:14:14 -04:00
byte[]
feb9d513ea you missed one 2020-04-27 23:42:16 -04:00
Luna D
9a4381c0a2 fix template warning 2020-04-27 23:23:30 -04:00
David Joseph Guzsik
72f53d378d
Persist checked state of art categories across commission pages (#90) 2020-04-18 20:15:45 -04:00
Michael Pinnegar
ba76ede87d
Disable image scraper fetch when there is no text (#92)
*Modified fetch to be disabled on pageload. Javascript enables it
after the user has entered some text. Re-disables it if the text goes
to zero, or the image upload button has been used.
2020-04-18 20:14:40 -04:00
Luna D
1836fef402
webm takes ungodly amounts of time to process 2020-04-10 17:23:23 +00:00
Nebbie Zebbie
d56c5f2caa Prepopulate default dupe report states selection in pagination 2020-04-07 02:57:34 +00:00
byte[]
658472f16b fix advert blurriness issue 2020-04-03 14:08:37 -04:00
byte[]
3579429ac1 add 32px border around TOTP QR, fixes #71 2020-04-02 14:45:06 -04:00
Luna D
04ec46bc5b
you forgot it here 2020-04-02 09:54:21 +00:00
byte[]
904bada39e wilson 2020-04-01 00:42:46 -04:00
byte[]
0b0a5b1b42 fix markup errors 2020-03-30 20:12:25 -04:00
byte[]
21df6bc307 fixes #52 and #53 2020-03-29 18:36:24 -04:00
SomewhatDamaged
ac12462bec
Adding text editing bars to report and new topic (#60) 2020-03-27 11:46:36 -04:00
byte[]
43b5e069e6 link to correct location, fixes #46 2020-03-26 13:47:30 -04:00
Nebbie Zebbie
c0edd49ec6 Fix incorrect syntax on commission query preservation 2020-03-10 23:31:03 +00:00
Nebbie Zebbie
19dfe17a58 Revert "Prepopulate q on reports pagination"
Apparently in this place, empty q param is desired. This reverts commit 932eff86cd.
2020-03-10 23:14:16 +00:00
Nebbie Zebbie
da7982d2dd Preserve commission map parameter in commission search 2020-03-10 23:03:58 +00:00
Nebbie Zebbie
932eff86cd Prepopulate q on reports pagination 2020-03-10 22:55:15 +00:00
Nebbie Zebbie
d69410d97e Prepopulate rq on reports pagination 2020-03-10 22:47:18 +00:00
Nebbie Zebbie
3cbd80abc8 Fix query preserving where it's actually used (staff) 2020-02-21 02:32:08 +00:00
Nebbie Zebbie
4ff514b4d6 Preserve query in reports search 2020-02-20 21:08:07 +00:00
Nebbie Zebbie
0b0ebc1745 Preserve query in user search 2020-02-20 19:17:50 +00:00
byte[]
2c9b27aee0 prepopulate tq on tags pagination 2020-02-10 22:41:41 -05:00
Nebbie Zebbie
0a93da7952 Make dupe reports pagination preserve params 2020-02-10 21:38:21 +00:00
byte[]
8cb8e303a7 fix price listing inconsistency 2020-02-06 17:51:22 -05:00
byte[]
cdab7a5a61 one more 2020-02-06 17:42:09 -05:00
byte[]
dbc5291f89 abolish single quoted attributes 2020-02-06 17:40:25 -05:00
byte[]
58374d9604 fix single quotes in header dropdown 2020-02-06 17:34:10 -05:00
byte[]
3922e31c12 quotes 2020-02-06 17:32:35 -05:00
byte[]
18e932560d validate commission base price to be present, example image in directory listing to be present 2020-02-06 17:24:41 -05:00
Joey
4c0b440f58 Replace mention of Google Reader, as it was discontinued seven years ago 2020-02-02 22:56:45 -06:00
byte[]
39d53ee763 fix mandatory descriptions for filters, missing public option 2020-02-01 10:57:57 -05:00
byte[]
f8e5feb24c fix dnp editing 2020-02-01 10:45:44 -05:00
Nebbie Zebbie
7cee5f38ee Image hide reason changing 2020-01-31 23:50:50 +00:00
Nebbie Zebbie
d35b7a2b0e Allow repairing deleted images 2020-01-31 20:10:15 +00:00
byte[]
9241a08bce fix #23 2020-01-26 18:10:09 -05:00
byte[]
dd915aa477 fix documentation 2020-01-22 08:51:27 -05:00
byte[]
4c4dc4b5ce deleted by could be nil 2020-01-18 23:12:40 -05:00
byte[]
85a903a191 remove spurious inspect line 2020-01-12 11:52:05 -05:00
byte[]
ce534b7962 propagate cookies correctly into form values 2020-01-11 14:35:02 -05:00
byte[]
b1381de587 create gallery with the specified image as the cover 2020-01-11 14:27:18 -05:00
byte[]
d184ee0817 copy and customize filters 2020-01-11 14:24:30 -05:00
byte[]
858ddcc8ec add missing syntax toolbar to conversation creation form 2020-01-11 14:03:25 -05:00
byte[]
3ac8687c18 allow get-based reverse searching 2020-01-11 13:51:14 -05:00
byte[]
4ac63f9f4e use HTML escaping in RSS template, fixes #21 2020-01-10 12:43:56 -05:00
Nebbie Zebbie
9c45046669 Make tag change pagination remember added param 2020-01-07 22:26:54 +00:00
byte[]
0c5e0d7fa7 fix pagination error 2020-01-07 01:14:06 -05:00
byte[]
75b15a59b7 add upload graph to stats page 2020-01-05 12:55:10 -05:00
Jeremy Tan Jie Rui
c4e6a988d4 Don't put UTF-8 in search URL (#15)
Also fix TeX-style quoting
2020-01-01 22:09:53 -05:00
Luna D
0f4a231357
and also reposition "rankings" button 2020-01-01 17:52:06 -05:00
byte[]
574ff7d1d3 missing link to add listing item 2020-01-01 13:56:09 -05:00
byte[]
0da19674d1 reenable async commenting 2020-01-01 12:27:20 -05:00
byte[]
fb33238f72 fix error in search parser when using 0 for day/month, fix link to search syntax page on search form 2019-12-31 23:44:28 -05:00
byte[]
b9ad5643dc stop generating enormous gif thumbnails for videos 2019-12-31 23:11:23 -05:00
Nebbie Zebbie
d783417608 Apply search param remembering for pagination fix to ban search too 2020-01-01 00:59:14 +00:00
byte[]
7473b92309 fix channel creation errors 2019-12-31 19:54:19 -05:00
byte[]
f8f34c8245 update sort fields list 2019-12-31 17:21:06 -05:00
byte[]
4c82c90cea discard old parser 2019-12-31 14:56:38 -05:00
byte[]
1c6387e847 further fixes to the dnp template 2019-12-30 23:03:44 -05:00
Nebbie Zebbie
5ee81ea85e Fix tag search so that it's preserved across pages 2019-12-31 01:23:04 +00:00
byte[]
45048d5015 validate that emails look like emails 2019-12-30 19:07:02 -05:00
byte[]
a5966ae287 allow admins to create dnp entries on arbitrary tags 2019-12-30 19:04:19 -05:00
byte[]
7503e48591 show hidden links on tag page, hidden status on profile page 2019-12-30 18:56:29 -05:00
byte[]
210aff26ab show image id in duplicate report cells 2019-12-30 18:39:02 -05:00
byte[]
0c7f13932b add deleted toggle to main search form 2019-12-30 18:32:24 -05:00
byte[]
330e4ffb26 award overflow 2019-12-30 09:05:17 -05:00
byte[]
bf5158b60e poll votes admin 2019-12-30 08:32:41 -05:00
byte[]
2427d8d87c suppress diff table if reports list is empty 2019-12-30 07:55:59 -05:00
byte[]
4342978483 hides, vote tampering 2019-12-30 07:50:02 -05:00
byte[]
38c4e35bb7 bans view changes 2019-12-30 07:30:39 -05:00
byte[]
f443aa5386 fix a bunch of navigation weirdness 2019-12-26 17:43:32 -05:00
byte[]
81b37e42ff add faster textile parser backend 2019-12-26 00:03:27 -05:00
byte[]
37836b2c30 more admin permissions 2019-12-25 16:10:56 -05:00
byte[]
567459bf48 avatars 2019-12-25 13:32:24 -05:00
byte[]
860de7615f more info should be expanded by default 2019-12-25 09:21:50 -05:00
Joey
f1b1f03e02 Add Public Relations as secondary role option (aka more self-snowflaking) 2019-12-24 00:54:16 -06:00
byte[]
7b97a40ec8 add disable-with to dupe report form 2019-12-23 09:54:26 -05:00
byte[]
c76f28dc0b add tags to image target 2019-12-23 09:50:39 -05:00
byte[]
1435149d32 admin badge user list 2019-12-23 09:23:25 -05:00
Luna D
a39adcb9d5
in retrospect it was a terrible idea 2019-12-22 17:52:38 -05:00
Luna D
7caafd976e
re-add mod scratchpad by blatantly copy-pasting 2019-12-22 17:17:20 -05:00
Luna D
c14d0b6f34
re-add rankings to mobile layout 2019-12-22 16:47:52 -05:00
byte[]
d2916e2a9b various filters fixes 2019-12-22 16:47:16 -05:00
byte[]
b7ee2f9c50 render errors for invalid searches 2019-12-22 16:25:52 -05:00
byte[]
20bc8c1416 more careful with image tags 2019-12-22 10:06:10 -05:00
byte[]
5d6c1d97c1 autocomplete="off" for tag editor 2019-12-22 09:20:28 -05:00
byte[]
81b5a58fab tag change mass reversion 2019-12-22 00:09:01 -05:00
byte[]
c8747a0523 hide featured image if it is hit by the filter 2019-12-21 17:19:27 -05:00
byte[]
a3b3a38fef galleries fixes 2019-12-21 17:15:16 -05:00
byte[]
f0d4bbea12 add missing error_tag for tag_input 2019-12-21 16:18:56 -05:00
byte[]
4332ca76c5 more constraint validation, allow anonymous users to edit settings 2019-12-21 14:56:54 -05:00
byte[]
e1be291698 Merge remote-tracking branch 'origin/hide-staff-tools' 2019-12-21 14:48:50 -05:00
byte[]
905203ea7e not logging views anymore 2019-12-21 14:48:23 -05:00
byte[]
6047983498 fix unnecessary extra https: in watched rss 2019-12-21 09:55:23 -05:00
byte[]
6677e318b8 add admin option to edit user links directly from profile page 2019-12-21 09:54:13 -05:00
byte[]
d24c97dad8 add related button to image page 2019-12-20 18:07:02 -05:00
byte[]
3cd51526d9 add related endpoint and controller 2019-12-20 18:02:03 -05:00
Luna D
5596a462f5
less shit code 2019-12-20 17:37:50 -05:00
Luna D
7b5fd947f9
hide staff tools 2019-12-20 17:35:46 -05:00
byte[]
2ef4bdbbad 2fa layout 2019-12-20 16:29:29 -05:00
byte[]
cf46e9bba4 don't hide embeds 2019-12-20 15:57:20 -05:00
byte[]
a7d9386af8 mod faves page 2019-12-20 12:26:38 -05:00
byte[]
e922f9a94b add missing links 2019-12-20 10:05:34 -05:00
byte[]
40debb9634 add viewport meta hook 2019-12-20 09:19:43 -05:00
Eliot Partridge
d79f453758
Add canonical link for search engine deduplication 2019-12-20 00:00:53 -06:00
byte[]
e0e0d3c84d branding 2019-12-19 23:09:47 -05:00
byte[]
48eda4ff5d poll votes 2019-12-19 22:41:19 -05:00
byte[]
ad849e8bb8 readd ignored tag list 2019-12-19 20:23:44 -05:00
Luna D
85f70f88af
do more permissions 2019-12-19 19:00:09 -05:00
Luna D
6c137fbad2
fix condition 2019-12-19 17:45:31 -05:00
Luna D
a179d032c2
change the appearance of the 2FA badge 2019-12-19 17:45:09 -05:00
Luna D
45e3d2801d
*D (only deleted, no merges) search opt 2019-12-19 17:39:34 -05:00
byte[]
091fafd5e2 add back sort option for oldest comments first 2019-12-19 15:11:44 -05:00
byte[]
96892f7dbd untypo class name 2019-12-19 14:34:34 -05:00
byte[]
3ae6994de7 fix incomplete theme-color meta 2019-12-19 10:59:36 -05:00
byte[]
b6d60e8c43 meta property not meta name 2019-12-19 10:51:13 -05:00
byte[]
83c62732c4 use og:description 2019-12-19 10:48:30 -05:00
byte[]
5c4131c09b opengraph fixes 2019-12-19 10:43:07 -05:00
byte[]
c01ef54a71 avoid showing massive spoiler boxes in forums 2019-12-19 02:02:08 -05:00
byte[]
391c754a42 fix lingering galleries bugs 2019-12-19 01:51:21 -05:00
byte[]
db61882a51 don't show comments on hidden images 2019-12-19 01:20:31 -05:00
byte[]
fe746dac0f channel creation 2019-12-18 12:01:33 -05:00
byte[]
722fc17b41 make buttons on report page less useless 2019-12-17 19:48:51 -05:00
byte[]
8cb3e33714 allow users to reveal hidden images, moderators to index deleted images 2019-12-17 19:42:50 -05:00
byte[]
b423f8f201 record initial source change on upload 2019-12-17 14:06:32 -05:00
byte[]
6d105ffc53 image uploader tampering 2019-12-17 13:53:41 -05:00
byte[]
d8b425bdf6 tag detail page 2019-12-17 13:12:58 -05:00
byte[]
e2496cd43b mod profiles tag/source changes 2019-12-17 12:56:03 -05:00
byte[]
8a37696915 add new button for mod notes 2019-12-17 12:33:16 -05:00
byte[]
0fa10103f8 display mod notes on profiles and such 2019-12-17 12:29:18 -05:00
byte[]
3aa730a325 copy tags on dupe merge 2019-12-17 12:13:05 -05:00
Luna D
2f3efe701e use correct fa tag 2019-12-17 10:59:14 -05:00
byte[]
7b1a98291b don't try to render a name if the deleter is nil 2019-12-17 01:58:27 -05:00
byte[]
8b220775bb more admin tools 2019-12-17 00:44:24 -05:00
byte[]
c45a2a16d9 admin donations 2019-12-16 22:24:40 -05:00
byte[]
13765ca7da link requires a to: kw 2019-12-16 21:30:47 -05:00
byte[]
598f46215e profile details 2019-12-16 21:26:43 -05:00
byte[]
8f445e49f9 batch tagging 2019-12-16 17:11:16 -05:00
byte[]
9f690218f2 show error tag for duplicate upload 2019-12-16 16:24:30 -05:00
byte[]
dafb048302 don't error if no tag is given 2019-12-16 15:56:13 -05:00
byte[]
70b077e4e7 add reindex and delete buttons 2019-12-16 13:49:53 -05:00
byte[]
a09d0d0a18 also filter inclusion on dropdown; explicit not found message 2019-12-16 01:15:59 -05:00
byte[]
a74e7e9170 image mod tools 2019-12-16 00:25:06 -05:00
byte[]
d5a7653393 data-theme should follow the theme 2019-12-15 21:35:07 -05:00
byte[]
af1781dcd0 fix warnings 2019-12-15 21:24:23 -05:00
byte[]
f8431cb1c2 admin users and roles 2019-12-15 21:21:14 -05:00
byte[]
299e0cf923 admin mod notes 2019-12-15 17:52:51 -05:00
byte[]
e37ab2849e badges and awards 2019-12-15 15:02:13 -05:00
byte[]
2a6b596765 admin forums 2019-12-15 12:54:27 -05:00
byte[]
b14dbf46b5 admin pages 2019-12-15 12:33:37 -05:00
byte[]
42e1d29cd4 read -> show 2019-12-15 11:33:43 -05:00
byte[]
b1828ff68a adverts 2019-12-14 21:54:16 -05:00
byte[]
482f1dfe5e tag aliasing and image editing 2019-12-14 18:07:29 -05:00
byte[]
4f3390f728 tag description and implication editing 2019-12-14 16:18:49 -05:00
byte[]
2eb39b43aa fix staff buttons 2019-12-14 15:15:35 -05:00
byte[]
e5266db21e add loader plugs 2019-12-14 14:46:50 -05:00
byte[]
ff854fce73 Merge remote-tracking branch 'origin/staff-tools' 2019-12-14 13:31:28 -05:00
byte[]
56ce4c74bc site notices 2019-12-14 13:28:04 -05:00
Luna D
8cdbb9a07d
remove accidental dot 2019-12-14 13:10:27 -05:00
Luna D
782baba324
topic hiding / restoring 2019-12-14 13:03:11 -05:00
byte[]
5871920c14 ban id and time field refactor 2019-12-14 12:50:30 -05:00
Luna D
37be32f2b2
finish topic moving 2019-12-14 11:43:26 -05:00
Luna D
ffed45269b
unfinished topic moving 2019-12-14 11:10:33 -05:00
Luna D
375a5c6de1
topic stick, lock, total shitcode 2019-12-13 18:31:42 -05:00
byte[]
8196271976 show error tags first; signifiy staff metadata updates; remove pagination from watched images section 2019-12-13 14:56:52 -05:00
byte[]
6337b23dbe misc additions, 'ban this sucker' buttons 2019-12-13 14:26:43 -05:00
byte[]
fefb91644b fingerprint bans 2019-12-13 14:06:08 -05:00
byte[]
304d5486d6 subnet bans 2019-12-13 13:50:35 -05:00
byte[]
f044ab6d3e guess that doesn't work 2019-12-13 12:16:54 -05:00
byte[]
4063f84b6b user bans + ban messages for users 2019-12-13 12:14:34 -05:00
byte[]
51d5bede72 preserve sort field and direction in header search box 2019-12-12 21:19:07 -05:00
byte[]
47cd24e506 calculate pagination info correctly 2019-12-12 17:15:59 -05:00
byte[]
aa4af5a2e6 admin dnp queue 2019-12-12 16:44:50 -05:00
byte[]
3a55001ec2 this is supposed to be a span 2019-12-12 10:54:41 -05:00
byte[]
d851e8cf62 various fixes:
line-heights
ability to edit filters
fix tag parameter decoding again
better error_tag message
2019-12-12 10:51:44 -05:00
byte[]
54be9dfa5d routing, control flow and whitespace fixes 2019-12-11 23:41:33 -05:00
byte[]
6293c6d45d Merge remote-tracking branch 'origin/staff-tools' 2019-12-11 23:22:03 -05:00
byte[]
1df63cc102 put lock message in warning block 2019-12-11 23:18:57 -05:00
byte[]
7ca81137d7 add lock message to topic page 2019-12-11 23:18:57 -05:00
byte[]
6108dbab3f better error for anonymous interaction attempt 2019-12-11 23:18:57 -05:00
Luna D
02808f6168
i would assume this also belongs here? 2019-12-11 19:01:00 -05:00
Luna D
4e5a29e6fb
post hiding, destroying, and a few fixes 2019-12-11 18:58:00 -05:00
Luna D
ba874ab4dd
fix post edit icon 2019-12-11 18:04:53 -05:00
Luna D
7e39998eb3
move 2019-12-11 17:39:43 -05:00
Luna D
5101bd31f2
comment destroying (css wip) 2019-12-11 17:21:14 -05:00
Hugo Locurcio
4616372e99
Fix various typos using codespell
Command used:

    codespell -wi3 **/* --ignore-words-list "dur,fave,fo,receipient,te"
2019-12-11 21:42:18 +01:00
byte[]
840a852b68 fix error on profile page 2019-12-10 21:58:16 -05:00
byte[]
cb6d2dff78 add watcher count to tag on current user's profile 2019-12-10 19:59:43 -05:00