Commit graph

840 commits

Author SHA1 Message Date
Luna D
f4b7cc5f5f
fix error when changing name to existing one (fixes philomena-dev/philomena#45) 2020-10-21 20:39:16 +02:00
Luna D
cc571a38c2
bump app upload limit to 125MB 2020-10-21 20:10:11 +02:00
byte[]
d1093a80b0 fix twitter scraper again 2020-09-28 17:47:45 -04:00
byte[]
014cb025fd keep old slug when title is changed 2020-09-28 00:16:19 -04:00
byte[]
c7cd7f3af3 propagate aliases to non-image tag list entries 2020-09-27 23:03:53 -04:00
byte[]
de8622b470 fix twitter scraper 2020-09-27 11:08:43 -04:00
byte[]
a955a67b24 recalculate size on processing (derpibooru/philomena#206) 2020-09-27 00:46:38 -04:00
byte[]
02cbecb193 remove comment edit time limit (philomena-dev/philomena#26) 2020-09-27 00:09:39 -04:00
byte[]
9fbff24bd7 fix alias replacement (philomena-dev/philomena#22) 2020-09-26 23:52:25 -04:00
byte[]
54e775a6c6 fix tag slug double encoding (derpibooru/philomena#203) 2020-09-20 10:00:20 -04:00
Raptorshy
9d0d622fbd Allow moderators to edit commissions
Fixes #194
2020-09-15 16:27:50 -04:00
byte[]
35d80bcf9c don't lex closing bbcode as part of a link (furbooru/philomena#36) 2020-09-14 21:20:17 -04:00
byte[]
aefc79eb8e add explicit list of underscore-safe namespaces (furbooru/philomena#28) 2020-09-14 20:25:40 -04:00
byte[]
7736cb041f don't automatically tag 'featured image' (furbooru/philomena#33) 2020-09-14 20:20:10 -04:00
byte[]
ff5c01ce07 adjust counters during wipes (derpibooru/philomena#197) 2020-09-14 19:25:31 -04:00
liamwhite
653fd0a4af
hCaptcha (#19) 2020-09-12 13:43:16 -04:00
byte[]
45402bd44f add body type tag category 2020-09-12 11:45:35 -04:00
byte[]
5287cf0430 forum pages without polls have no active poll 2020-09-10 13:05:37 -04:00
byte[]
5c87e62179 fix changeset error on commission item creation 2020-09-10 12:54:19 -04:00
byte[]
cc0077d78f prevent double deletions 2020-09-10 12:02:01 -04:00
byte[]
993265d2bc unused 2020-09-10 01:15:42 -04:00
byte[]
39ce0ae4fd require http clients to handle errors 2020-09-09 23:12:54 -04:00
byte[]
11276b2339 re-add merge notification 2020-09-09 22:47:35 -04:00
byte[]
659f694fae mix format 2020-09-09 22:37:07 -04:00
David Joseph Guzsik
9a8b5a7ea7 Fix being able to vote on polls past their end date (#13) 2020-09-09 22:36:40 -04:00
byte[]
4e227f1252 consider all translucent values to be transparent for palette generation 2020-09-08 01:49:07 -04:00
byte[]
f2c1dbab0b correctly return error on gallery unique constraint 2020-09-07 23:47:19 -04:00
byte[]
c1d54de22a fix changeset error when uploading avatar 2020-09-07 23:39:30 -04:00
byte[]
ea0c9a8650 copy subscriptions on merge instead of moving 2020-09-07 19:35:19 -04:00
byte[]
90830d361b propagate hiding user on reports 2020-09-07 14:52:52 -04:00
byte[]
cdc142592a require tag to exist on user link creation 2020-09-06 16:23:24 -04:00
byte[]
0d359ee81e add tag alias validations 2020-09-06 14:19:21 -04:00
byte[]
6670b050a1 ensure comments are reindexed after image changes state 2020-09-06 13:38:30 -04:00
byte[]
ccc788a9da ensure subscriptions are carried over on merge 2020-09-06 13:30:28 -04:00
byte[]
2ae0ef2a83 fix column default 2020-09-06 13:07:27 -04:00
byte[]
2913da2692 remove Repo.isolated_transaction/2 2020-09-06 12:39:53 -04:00
byte[]
da1e6a145d properly transactionalize image hiding and merging 2020-09-06 12:37:31 -04:00
byte[]
4dcb2958d3 Squashed commit of the following:
commit 8ea9cff4af46e24c38020652cedeff72957354fb
Author: byte[] <byteslice@airmail.cc>
Date:   Sun Sep 6 01:29:24 2020 -0400

    remove remaining serializable aside hiding related

commit 99ccf06264db6319ece2a896a104031447447a5f
Author: byte[] <byteslice@airmail.cc>
Date:   Sun Sep 6 01:20:40 2020 -0400

    interactions: remove serializable

commit a63bef06a6962368f69cf83afbc3c44f2467618c
Author: byte[] <byteslice@airmail.cc>
Date:   Sun Sep 6 01:16:27 2020 -0400

    users: remove serializable

commit 8053229f6fab507c29a40f0e22dd9cab7971e34f
Author: byte[] <byteslice@airmail.cc>
Date:   Sun Sep 6 01:11:14 2020 -0400

    user_links: remove serializable

commit 9b058add825b0a876a91a1cf2b1b22dc34066e42
Author: byte[] <byteslice@airmail.cc>
Date:   Sun Sep 6 01:09:33 2020 -0400

    topics: remove serializable

commit cd9ea908c34f72c0120fca1c4d581540db60db98
Author: byte[] <byteslice@airmail.cc>
Date:   Sun Sep 6 01:05:23 2020 -0400

    tags: remove serializable

commit c7563fef8fc905c32a0727a4b104222227a6bafa
Author: byte[] <byteslice@airmail.cc>
Date:   Sun Sep 6 01:02:22 2020 -0400

    static_pages: remove serializable

commit 3da661bdd1aec74e4ac5b69ec21124bc1ebc6fb4
Author: byte[] <byteslice@airmail.cc>
Date:   Sun Sep 6 01:00:15 2020 -0400

    posts: remove serializable

commit 18a50a4e5bed1ab6e4e6c13c3051a21ae7e8fbb0
Author: byte[] <byteslice@airmail.cc>
Date:   Sun Sep 6 00:55:55 2020 -0400

    poll_votes: remove serializable

commit 7d946ef23d7b27877d4bf0fb6a4db4ae64a9ffab
Author: byte[] <byteslice@airmail.cc>
Date:   Sun Sep 6 00:51:49 2020 -0400

    galleries: remove serializable

commit d8c35a0934e5394b092b050e071abdada4bdb640
Author: byte[] <byteslice@airmail.cc>
Date:   Sun Sep 6 00:42:43 2020 -0400

    conversations: remove serializable

commit 079e6dca6c8064867f2c0f90f351ea83c0f12b75
Author: byte[] <byteslice@airmail.cc>
Date:   Sun Sep 6 00:38:28 2020 -0400

    comments: remove serializable

commit 00ae38bad566fb6badeccceac2e394e65ec9428e
Author: byte[] <byteslice@airmail.cc>
Date:   Sun Sep 6 00:37:15 2020 -0400

    commissions: remove serializable

commit b3c4a4b13671ca73c58080b090dd6165552c87d6
Author: byte[] <byteslice@airmail.cc>
Date:   Sun Sep 6 00:17:12 2020 -0400

    bans: remove serializable

commit 8be9fe913ff1f6264b899e96ee38fa52032b8bda
Author: byte[] <byteslice@airmail.cc>
Date:   Sun Sep 6 00:02:44 2020 -0400

    badges: remove serializable

commit 162adda185f705b9749774c4af8c7d8db0d89790
Author: byte[] <byteslice@airmail.cc>
Date:   Sat Sep 5 23:56:51 2020 -0400

    adverts: remove serializable
2020-09-06 01:30:53 -04:00
byte[]
56487e3933 allow assistants to edit user links (derpibooru/philomena#176) 2020-09-05 23:14:29 -04:00
byte[]
f0ccdea54c allow moderators to add new streams 2020-09-05 23:04:04 -04:00
byte[]
6915d2ed45 add button for mods to unlock account (derpibooru/philomena#173) 2020-09-05 22:53:55 -04:00
byte[]
fefd73f3bd remove unused columns from wipe 2020-08-31 20:51:22 -04:00
byte[]
2347d018ca fix tumblr scrapes for text posts 2020-08-28 13:51:26 -04:00
byte[]
75de5f867d use elastic multi search API for specific pages 2020-08-23 16:53:25 -04:00
byte[]
3fce31b658 separate search definition building from search execution 2020-08-23 15:47:42 -04:00
byte[]
42d03ef548 count safe tag correctly in set intersection 2020-08-22 23:58:18 -04:00
Luna D
017890642f senior staff 2020-08-18 10:04:17 -04:00
byte[]
23bd821838 add release conf for performing migrations 2020-08-17 18:49:44 -04:00
byte[]
aef3cd399b fix multiple counting bug on tag batch update (derpibooru/philomena#158) 2020-08-14 21:04:12 -04:00
byte[]
1a76cc484c flatten gallery fields; preparation for removal of nested documents from index 2020-08-14 01:24:14 -04:00
byte[]
cf72729ae7 fix twitter scraper 2020-08-13 18:46:42 -04:00
liamwhite
d1c893248d
Search navigation (#14)
* return hits from elasticsearch and add in sort param to templates

* use returned hits from elasticsearch for navigation

* mix format

* fix gallery pagination

* add missing fields to search help dropdown

* unused variable
2020-08-13 11:32:35 -04:00
byte[]
539eb223ff Fix all but one dialyzer warning 2020-08-11 19:15:32 -04:00
byte[]
3ba38edf0b add irreversible admin-only action to permanently delete an image file 2020-08-05 14:23:11 -04:00
byte[]
90a16b3317 fix twitter scraper 2020-08-05 13:59:22 -04:00
liamwhite
98f4166ea8
Replace Pow with generated Phoenix auth (#10) 2020-07-28 16:56:26 -04:00
byte[]
f4b9a0902d also forbid directional marks 2020-07-23 16:29:08 -04:00
byte[]
2535be8a81 forbid all unicode spaces in tag names 2020-07-23 16:26:16 -04:00
byte[]
656059541d unbreak twitter scraper 2020-07-22 20:24:50 -04:00
byte[]
296912f866 remove more zero width characters from tag names 2020-07-22 10:39:16 -04:00
byte[]
799edcb50f add missing source url validation 2020-07-13 23:51:50 -04:00
byte[]
b97073ee18 reintroduce transaction and add impossible condition to first element of reduce step 2020-07-13 23:44:45 -04:00
byte[]
4e70124f36 fix twitter scraper 2020-07-08 00:26:58 -04:00
byte[]
c65f27a1ff mix format 2020-07-06 14:12:18 -04:00
byte[]
41b3078da8 fix apng encoding 2020-07-06 14:10:35 -04:00
byte[]
be10ad4663 add computed duration field 2020-07-06 14:00:02 -04:00
byte[]
78d94dfe84 also allow large scrapes 2020-07-06 09:04:24 -04:00
byte[]
49f0476ad8 allow uploading larger files 2020-07-06 08:56:23 -04:00
byte[]
d0e0f3dc00 fix twitter scraper 2020-06-23 21:26:12 -04:00
byte[]
b33dece707 replace deprecated libvpx option quality with deadline 2020-06-22 12:56:08 -04:00
byte[]
f81b68bc71 fixes #143, reindex alias when removed 2020-06-16 13:10:52 -04:00
byte[]
c885d1dd6b fixes #144, remove zwnj from tag names 2020-06-16 12:47:18 -04:00
byte[]
282aa5f6c2 change event name 2020-06-15 20:14:05 -04:00
byte[]
cec8b605a8 add additional live events 2020-06-15 19:57:33 -04:00
byte[]
9294e54771 Filter updates 2020-06-06 21:03:17 -04:00
byte[]
35ba4087fa mix format 2020-06-06 13:28:46 -04:00
Wren
485d8be3b3 disallow tag self-aliasing 2020-06-06 12:13:31 -04:00
byte[]
7160433c33 update methods 2020-06-03 21:10:38 -04:00
byte[]
fd9ea4a991 fix artist dnp validation 2020-05-29 16:08:43 -04:00
byte[]
abd441fb4d mix format 2020-05-28 22:14:32 -04:00
byte[]
d71cefe877 further boosts to encoding speed 2020-05-28 22:14:27 -04:00
byte[]
843398cead fix error on gallery search 2020-05-28 21:16:51 -04:00
byte[]
5baf95f6de improve video encoding speed 2020-05-28 20:55:58 -04:00
byte[]
d7f5cbcb77 fixes #124, uploads not blocked for DNP 2020-05-28 20:35:52 -04:00
byte[]
91ebd70966 fix svg previewing 2020-05-28 19:55:18 -04:00
byte[]
76b6297a8a fix tags indexing error after batch update 2020-05-28 18:59:43 -04:00
byte[]
3440a2d4a2 reliable queueing for thumbnail generation 2020-05-27 19:29:23 -04:00
byte[]
cc4103fcea stop spawning off for advert updates 2020-05-27 17:14:22 -04:00
byte[]
dd7aca809a add exq 2020-05-27 17:04:55 -04:00
byte[]
98db6a1ca2 mix format 2020-05-27 13:01:35 -04:00
byte[]
51518e8f02 stackoverflow lied to me 2020-05-27 12:31:31 -04:00
byte[]
781eda345c increase muxq again 2020-05-26 17:30:35 -04:00
byte[]
60d75a9a4f add cluster init per pow-auth/pow_site#10 2020-05-22 11:53:49 -04:00
byte[]
10dc8f2c21 use msvg for svg analysis 2020-05-21 18:20:51 -04:00
byte[]
3ba3eb87b3 add unsplit application to tree 2020-05-21 14:44:04 -04:00
byte[]
1e0f5468b1 add libcluster 2020-05-21 14:25:55 -04:00
byte[]
3141db8bf2 mix format 2020-05-20 14:23:57 -04:00
byte[]
7fca37741b replace use of hackney in scraper with mint 2020-05-20 14:18:13 -04:00
byte[]
fd5116187b remove spaces from filtergraph 2020-05-19 19:19:53 -04:00
byte[]
2e3dafe08e update mediatools to 9a61482, add cachebuster to dockerfile 2020-05-18 23:11:15 -04:00
byte[]
6810b9a947 skip scraper verification per benoitc/hackney#624 2020-05-18 08:50:12 -04:00
byte[]
c59fdc7252 update mediatools to b36a7c3 2020-05-16 13:49:06 -04:00
byte[]
7b02ccde64 underscore unused variable 2020-05-14 18:08:43 -04:00
byte[]
2683dddb4c require mediastat for video processing, increase muxq 2020-05-14 17:18:14 -04:00
byte[]
033fac01e9 fixes #119: link associated streams to artist tags 2020-05-13 14:17:04 -04:00
byte[]
64dd6d061c fixes #118, alias channel associated tags too 2020-05-13 14:09:22 -04:00
byte[]
84d784d33a move reindex logic to context for reports, image creation 2020-05-07 23:15:43 -04:00
byte[]
a1b8ed9d33 move search, textile, date parser to app namespace 2020-05-07 22:43:40 -04:00
byte[]
8e9d6285e4 move textile renderer to web namespace 2020-05-07 22:19:08 -04:00
byte[]
00415b062c hoist ImageNavigator, ImageScope, ImageSorter to web namespace 2020-05-07 22:10:54 -04:00
byte[]
1168ba86f6 move IP/FP updaters to web namespace 2020-05-07 22:03:10 -04:00
byte[]
7e7c0c7ec9 fixes #115, add staff forum thread renaming 2020-05-06 22:58:03 -04:00
byte[]
ef21b7c7d0 return of the stats page 2020-05-06 11:12:18 -04:00
byte[]
b54704fba5 #44 unwrap tag reversions from transaction 2020-05-06 10:40:23 -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
byte[]
6d673a4fed fix schema def 2020-05-02 20:41:26 -04:00
byte[]
46ab13261c first ecto migration, add sources table per #101 2020-05-02 20:38:47 -04:00
byte[]
ca8c9fe636 don't wait for completion 2020-05-02 18:30:11 -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[]
7cfb390e05 add workaround for broken gif seeking in ffmpeg 2020-05-02 02:12:54 -04:00
byte[]
8fca87859c format 2020-04-30 17:26:34 -04:00
byte[]
d1783cdeb8 fixes #45: add poll administration options 2020-04-30 17:24:24 -04:00
byte[]
7b49f8d978 fixes #96: add tag blacklist 2020-04-30 16:34:35 -04:00
Luna D
f5e249aa39 fix uploader change error 2020-04-30 15:27:00 -04:00
byte[]
22bd05350d mark reports as opened when claimed and unclaimed 2020-04-30 14:43:23 -04:00
byte[]
d2c9975870 fixes #103: allow moderators to edit and create posts in locked topics 2020-04-30 00:24:13 -04:00
byte[]
406c7dd74b fixes #97: add new route for changing anonymity status of upload 2020-04-30 00:14:14 -04:00
byte[]
1e794b11d8 fixes #106: prevent renaming the default filter 2020-04-29 23:35:05 -04:00
byte[]
d82bb4f33f fixes #74: only reencode the image when there is no choice to fix the orientation 2020-04-29 23:29:05 -04:00
byte[]
be520b1d7c unsubscribe users from privileged topics when their role is updated, fixes #30 2020-04-29 23:05:19 -04:00
Luna D
551fed5b0d generate slightly better jpeg thumbs 2020-04-29 22:31:55 -04:00
Luna D
f2f6e6dad6 pubsub thing 2020-04-27 23:23:36 -04:00
Luna D
3d16c4d4c0
validate user link format (#93) 2020-04-19 15:21:00 -04:00
byte[]
8d9f6fc3d3 more deployment changes 2020-04-07 12:00:55 -04:00
Nick
7c1f5c5095
Derive DNP types from reasons (#81)
* derive dnp types from reasons

* improve styling
2020-04-07 00:52:14 -04:00
liamwhite
ae6640e9d3
image upload mime validation - shows you what it thinks the mime type is (#79) 2020-04-07 00:22:03 -04:00
byte[]
603c8d4867 add ranch connection drainer 2020-04-07 00:21:44 -04:00
byte[]
be83699e65 tweak vp8 encoder settings 2020-04-02 21:45:21 -04:00
byte[]
e9a1ccad1f limit threadcount in video processing stage 2020-04-02 16:38:43 -04:00
byte[]
2b99afb746 update tumblr IP ranges per AS2635 prefix report; fixes #38 2020-03-31 13:03:32 -04:00
byte[]
7ace92c651 fix gallery ordering bug... 2020-03-29 23:52:53 -04:00
byte[]
2dc36ee36e add logger 2020-03-29 23:17:28 -04:00
byte[]
bd401cf967 attempt non-atomic update for gallery ordering 2020-03-29 23:04:30 -04:00
byte[]
21df6bc307 fixes #52 and #53 2020-03-29 18:36:24 -04:00
byte[]
bc87b287e0 fixes commission counter updates (#56) 2020-03-26 13:18:45 -04:00
byte[]
37a2d014cd fix permission error 2020-03-05 02:04:21 -05:00
Luna D
67ac0318f7
this check seems redundant 2020-03-03 15:38:59 -05:00
Luna D
22dfb51e56 mix format 2020-03-03 11:43:54 +01:00
Luna D
d5337eb75a
more appropriate comment fix 2020-02-22 10:31:30 -05:00
Luna D
29dd045202
hotfix comment creation with locked comments 2020-02-22 05:45:17 -05:00
Nebbie Zebbie
fcd57a575a Fix assistants not being able to view/edit user links when they should 2020-02-22 02:14:15 +00:00
Luna D
9c7bbc127b
fix assistants not being able to do user links 2020-02-17 12:21:19 -05:00
Nebbie Zebbie
8f7a9b7c50 Make image [un]hiding wipe thumb target pre-transfer and not need source 2020-02-10 22:32:00 +00:00
byte[]
edc127e46c change topic notification line 2020-02-06 18:08:04 -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
byte[]
14e6439ea7 run formatter 2020-02-01 11:04:11 -05:00
byte[]
39d53ee763 fix mandatory descriptions for filters, missing public option 2020-02-01 10:57:57 -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[]
8128d48e8f deletion_reason ngram 2020-01-30 10:48:51 -05:00
byte[]
85e0cadf33 PUT mapping 2020-01-30 10:39:45 -05:00
byte[]
c2d26029ae more comprehensive fix 2020-01-22 09:12:37 -05:00
byte[]
f47e9f5e05 fix apparent author query 2020-01-22 09:01:10 -05:00
byte[]
63b2a146ec add topic_position to searchable fields list 2020-01-22 08:47:09 -05:00
Nebbie Zebbie
134b684bdd Allow user link editing to wipe tag 2020-01-21 08:24:08 +00:00
byte[]
ed44160603 run formatter 2020-01-10 23:20:19 -05:00
byte[]
47fcec86ea fix inability to delete comment contents 2020-01-03 14:36:57 -05:00
byte[]
e5549cf8ed remove .bak file created by optipng bug
https://sourceforge.net/p/optipng/bugs/74/
2020-01-03 11:54:05 -05:00
byte[]
e6f1885476 fix vote wipe mechanism 2020-01-01 18:29:49 -05:00
byte[]
df3467df7b update image size after optimization 2020-01-01 12:13:07 -05:00
byte[]
bdee305936 fix unintentional inactivation of local storage settings 2020-01-01 11:05:44 -05:00
byte[]
d406e1ee1c fix duration scale 2019-12-31 23:15:49 -05:00
byte[]
b9ad5643dc stop generating enormous gif thumbnails for videos 2019-12-31 23:11:23 -05:00
byte[]
7473b92309 fix channel creation errors 2019-12-31 19:54:19 -05:00
byte[]
4c82c90cea discard old parser 2019-12-31 14:56:38 -05:00
byte[]
7503e48591 show hidden links on tag page, hidden status on profile page 2019-12-30 18:56:29 -05:00
byte[]
b18a1370a5 reject associated duplicate reports when deleting 2019-12-30 18:37:41 -05:00
byte[]
31b1704847 mark image as generating thumbnails when replaced or repaired 2019-12-30 18:34:59 -05:00
byte[]
0c7f13932b add deleted toggle to main search form 2019-12-30 18:32:24 -05:00
byte[]
907e030b3a break compile time dependencies in schema helpers 2019-12-30 16:22:24 -05:00
byte[]
0f3cb295a3 break compile time dependencies in query compilers 2019-12-30 16:02:25 -05:00
byte[]
5163da171b allow the parser to determine the right type for the default field 2019-12-30 14:49:55 -05:00
byte[]
aacd3e31b7 don't allow duplicate reports to have identical source and target 2019-12-30 08:42:00 -05:00
byte[]
dfaee1e34d mask ip6 spec to /64 2019-12-30 07:36:23 -05:00
byte[]
5c7d21e397 fix for excessively slow vp8 encoding and tag bug 2019-12-28 10:47:04 -05:00
byte[]
41ea1f6b71 fix first_seen_at propagation 2019-12-27 23:27:37 -05:00
byte[]
54ed9b5c43 fix gallery navigation again 2019-12-26 18:00:44 -05:00
byte[]
f443aa5386 fix a bunch of navigation weirdness 2019-12-26 17:43:32 -05:00
byte[]
625ed5a594 fix conversation read marking 2019-12-26 10:16:37 -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[]
481e29fd50 explicitly set the app dir 2019-12-25 13:47:00 -05:00
byte[]
0981a1ba0b dynamic config 2019-12-25 11:56:19 -05:00
byte[]
179906a9cf ensure first_seen_at is propagated 2019-12-25 08:48:44 -05:00
SomewhatDamaged
68c3d035b3 Update to streamline Wilson score generation (#10)
* Update to streamline Wilson score generation

If an image's `upvotes` are 0, their Wilson score will be so minuscule as to be several (around 12) orders of magnitude before you see anything but zeros (assuming 0 `upvotes` and 1 `downvotes`). This will simply remove the calculation from such and make them fall to the default: 0

* Update elasticsearch_index.ex

Co-authored-by: liamwhite <liamwhite@users.noreply.github.com>
2019-12-25 03:49:56 -05:00
byte[]
dd84e8631b use more correct uri encoding method 2019-12-25 03:49:40 -05:00
byte[]
d9340371e5 expand list of allowed sort fields 2019-12-24 20:18:31 -05:00
byte[]
1990e384da fix random endpoint and ensure search_records/4 is the only search_records exported 2019-12-24 18:09:35 -05:00
byte[]
398721a75f fix navigation 2019-12-24 16:44:58 -05:00
byte[]
c3c6278766 grant tag change reversion to moderators 2019-12-24 16:42:55 -05:00
byte[]
b7039af339 require that the queryable is always given 2019-12-24 16:17:32 -05:00
byte[]
620f316db8 break compile time dependencies for elasticsearch index usage 2019-12-24 16:14:42 -05:00
byte[]
cff7b9386f remove deprecated replace_all_except_primary_key 2019-12-24 12:09:47 -05:00
byte[]
15864ab742 api search controllers 2019-12-24 03:26:06 -05:00
byte[]
44a59aa67b admin: allow changing tags on deleted images, fix dupe report accepting 2019-12-23 09:46:48 -05:00
byte[]
991cab61bf Revert "more aggressive preloading"
This reverts commit 556cd39afd.
2019-12-22 22:13:36 -05:00
byte[]
f9b810d5d1 fix searching for deleted posts 2019-12-22 18:45:49 -05:00
byte[]
556cd39afd more aggressive preloading 2019-12-22 18:42:07 -05:00
Luna D
7caafd976e
re-add mod scratchpad by blatantly copy-pasting 2019-12-22 17:17:20 -05:00
byte[]
d2916e2a9b various filters fixes 2019-12-22 16:47:16 -05:00
byte[]
c92fd79868 provide defaults for gallery description and spoiler warnings 2019-12-22 10:04:04 -05:00
byte[]
d6592efa0e correctly set last_replied_to_at in topics 2019-12-22 09:33:07 -05:00
byte[]
e2923e8ad7 format=rgb32 for png thumbs 2019-12-22 09:19:43 -05:00
byte[]
4ff67c02d9 require yuv420 for video transcoding 2019-12-22 08:52:03 -05:00
byte[]
81b5a58fab tag change mass reversion 2019-12-22 00:09:01 -05:00
byte[]
563172f283 use main profile instead of high444 2019-12-21 23:57:59 -05:00
byte[]
15c268817c update counter too 2019-12-21 20:31:25 -05:00
byte[]
a3b3a38fef galleries fixes 2019-12-21 17:15:16 -05:00
byte[]
878b923a20 copy comments when images are merged 2019-12-21 16:37:13 -05:00
byte[]
4332ca76c5 more constraint validation, allow anonymous users to edit settings 2019-12-21 14:56:54 -05:00
byte[]
3874d569b4 admin comment and post query fixes 2019-12-21 14:31:32 -05:00
byte[]
edc2b0c5d3 fix permissions 2019-12-21 09:36:30 -05:00
byte[]
d24c97dad8 add related button to image page 2019-12-20 18:07:02 -05:00
byte[]
31e7727648 allow assistants to moderate images 2019-12-20 17:30:31 -05:00
byte[]
0d8e1c5ceb auto ip bans 2019-12-20 13:58:06 -05:00
Luna D
1b238f465f
description editing permission 2019-12-20 13:29:12 -05:00
byte[]
6c3515799b add invalid filter guard to user query compiler 2019-12-20 13:05:39 -05:00
byte[]
0c5860c457 ensure that site notices are live when selected 2019-12-20 09:22:39 -05:00
byte[]
e33be9c8de sleep first, then request 2019-12-19 23:14:14 -05:00
byte[]
48eda4ff5d poll votes 2019-12-19 22:41:19 -05:00
Luna D
85f70f88af
do more permissions 2019-12-19 19:00: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[]
eeacf9ee14 untangle compile time dependencies in views 2019-12-19 14:32:12 -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[]
ea3d40375f reverse the optgroups 2019-12-19 01:38:20 -05:00
byte[]
db1787aa45 various scraper fixes 2019-12-18 18:51:02 -05:00
byte[]
d6e89a1449 batched updater for user profile info 2019-12-18 14:32:21 -05:00
byte[]
fe746dac0f channel creation 2019-12-18 12:01:33 -05:00
byte[]
d7d9743a7e add missing application to list 2019-12-18 11:18:16 -05:00
byte[]
70b6c7ab17 channel updaters 2019-12-18 11:12:48 -05:00
byte[]
570319de97 correctly cast creation time 2019-12-17 21:32:33 -05:00
byte[]
3818a0e0d1 automatic user link verifier 2019-12-17 20:35:07 -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[]
3aa730a325 copy tags on dupe merge 2019-12-17 12:13:05 -05:00
byte[]
10707cd92d autoclose reports when reportable item is deleted 2019-12-17 11:45:22 -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[]
598f46215e profile details 2019-12-16 21:26:43 -05:00
byte[]
8f445e49f9 batch tagging 2019-12-16 17:11:16 -05:00
byte[]
03301168c7 add connection: close to proxy request 2019-12-16 15:34:21 -05:00
byte[]
70b077e4e7 add reindex and delete buttons 2019-12-16 13:49:53 -05:00
byte[]
a74e7e9170 image mod tools 2019-12-16 00:25:06 -05:00
byte[]
6c3dd03270 no limit 2019-12-15 22:45:15 -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[]
62885b51df actually count correctly 2019-12-15 10:09:43 -05:00
byte[]
b1828ff68a adverts 2019-12-14 21:54:16 -05:00
byte[]
bc6965485a more straightforward usage of array_replace 2019-12-14 20:41:53 -05:00
byte[]
b62a723efe count correctly 2019-12-14 18:12:00 -05:00
byte[]
482f1dfe5e tag aliasing and image editing 2019-12-14 18:07:29 -05:00
byte[]
b7c8b95003 more aliasing prep 2019-12-14 17:07:43 -05:00
byte[]
05c427e013 already had that one 2019-12-14 16:27:06 -05:00
byte[]
7a1cc312f3 more permissions 2019-12-14 16:26:05 -05:00
byte[]
993658ce0e fix permissions 2019-12-14 16:23:35 -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
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[]
fefb91644b fingerprint bans 2019-12-13 14:06:08 -05:00
byte[]
304d5486d6 subnet bans 2019-12-13 13:50:35 -05:00
byte[]
4063f84b6b user bans + ban messages for users 2019-12-13 12:14:34 -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[]
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[]
6293c6d45d Merge remote-tracking branch 'origin/staff-tools' 2019-12-11 23:22:03 -05:00
Luna D
4e5a29e6fb
post hiding, destroying, and a few fixes 2019-12-11 18:58:00 -05:00
Luna D
5101bd31f2
comment destroying (css wip) 2019-12-11 17:21:14 -05:00
byte[]
d4d4ee0e2d various fixes:
add base line-height: 1.5em
add appropriate placeholder color to inputs
show number of faves on fave index
link to correct location in watched images list on activity page
don't show pagination info when there are no results
don't create a source history entry if the source wasn't changed
2019-12-10 19:41:29 -05:00
Luna D
a2b3817d5a
comment hiding 2019-12-10 15:29:48 -05:00
Luna D
b6d4c38979
fix permission 2019-12-10 12:17:13 -05:00
Luna D
2d9d32af81
reveal anon 2019-12-10 11:57:01 -05:00
byte[]
2fcfa3a344 also allow merge 2019-12-09 20:38:55 -05:00
byte[]
ca3afb26fd ensure moderators can see duplicate report tab 2019-12-09 20:36:58 -05:00
byte[]
2c1725f20a correctly count user links 2019-12-09 20:29:44 -05:00
byte[]
2a1ceb421e use correct changeset 2019-12-09 20:24:44 -05:00
byte[]
7d247b777f admin user links 2019-12-09 20:21:49 -05:00
byte[]
687db1b98d duplicate reports 2019-12-08 23:41:35 -05:00
byte[]
13d971a0c1 admin reports: claim, close 2019-12-08 22:16:13 -05:00
byte[]
92dd6e1edb Merge remote-tracking branch 'origin/staff-tools' 2019-12-08 21:40:10 -05:00
byte[]
402c2eae90 add redis host for docker env, fixes #3 2019-12-08 18:34:18 -05:00
Luna D
b7e07b099a
use correct permissions 2019-12-08 17:03:26 -05:00
byte[]
21d9202347 fixes for banned users 2019-12-08 15:13:01 -05:00
byte[]
179d8a27d9 images in report queue 2019-12-08 13:22:38 -05:00
byte[]
ccd5c6aae1 fix copypasta error 2019-12-08 13:01:25 -05:00
byte[]
9f6ac9753d fix warnings 2019-12-08 12:48:39 -05:00
byte[]
181931cf67 admin reports 2019-12-08 12:45:37 -05:00
byte[]
d887ba0f94 Add proper transforms to comment query compiler 2019-12-08 11:07:20 -05:00
byte[]
ef0eee0105 validation fixes, make navigate endpoint use * as query if none given 2019-12-08 10:00:54 -05:00
byte[]
f645869d28 use awarded_on for sort 2019-12-08 01:11:16 -05:00
byte[]
f9f6518d97 image hiding 2019-12-07 23:53:18 -05:00
byte[]
0d48fc59b2 staff tools for ips 2019-12-07 20:49:28 -05:00
byte[]
c8e63adc22 add role map to users 2019-12-07 19:57:37 -05:00
byte[]
8a4b6d3b0a add roles and filter preload 2019-12-07 19:49:05 -05:00
byte[]
3e4cad2c7d fix warning 2019-12-07 18:25:21 -05:00
byte[]
cf28d6e915 fixes for private messages 2019-12-07 18:24:37 -05:00
byte[]
5cdc647208 add 'search posts' button to topic header 2019-12-07 11:32:04 -05:00
byte[]
ae189bafce avatar uploading 2019-12-07 11:26:45 -05:00
byte[]
8a8281eaba refactor processor architecture 2019-12-07 00:49:20 -05:00
byte[]
b89e9c464f don't allow posting in locked topics 2019-12-06 18:25:05 -05:00
byte[]
2a9cbb0ff0 Merge remote-tracking branch 'origin/staff-tools' 2019-12-06 17:57:26 -05:00
byte[]
4475b7f095 actually use NDT diff... 2019-12-06 17:41:56 -05:00
byte[]
26d203f54c force comparison with NDT 2019-12-06 17:37:45 -05:00
byte[]
3d66ff432a update topic last reply date 2019-12-06 17:36:08 -05:00
byte[]
b56485f13a static page versions 2019-12-06 12:59:17 -05:00
byte[]
6329b01e38 hide/spoiler/watch from tag dropdown 2019-12-06 12:12:55 -05:00
byte[]
ae6e282424 post editing 2019-12-06 10:14:25 -05:00
byte[]
d22ab9aa58 tentative comment editing 2019-12-06 09:43:01 -05:00
byte[]
76de12d69d post versions 2019-12-06 08:58:34 -05:00
byte[]
8d08c42331 delegate attribution correctly 2019-12-05 22:11:52 -05:00
byte[]
0c976851ed fix various things 2019-12-05 22:05:21 -05:00
byte[]
9fc04b9b71 primitive history viewing 2019-12-05 21:46:51 -05:00
byte[]
2a338d86c7 allow users to edit their profile description 2019-12-05 19:36:45 -05:00
Luna D
cb4c956079
permission checks 2019-12-05 14:31:29 -05:00
byte[]
a3187ae150 update stats counters when specific actions are taken 2019-12-05 14:23:26 -05:00
byte[]
c070b515c0 channel subscriptions 2019-12-04 23:27:40 -05:00
byte[]
885488d40e galleries 2019-12-04 23:12:49 -05:00
byte[]
c918e4f7ab gallery show page 2019-12-04 19:53:31 -05:00
byte[]
dfe1e3b57e gallery routes 2019-12-04 19:11:31 -05:00
Luna D
7c6a189dab
no this isnt rails 2019-12-04 18:23:03 -05:00
Luna D
00373f44b2
simplify 2019-12-04 18:21:12 -05:00
Luna D
accc9b5304
actual working counters i think 2019-12-04 18:15:54 -05:00
byte[]
015abf068b add tag changes to tag, profile 2019-12-04 17:10:35 -05:00
byte[]
413c19a97d handle aliases in tag input 2019-12-04 16:42:13 -05:00
byte[]
b36ef1dd23 commission item routes 2019-12-04 12:14:41 -05:00