Commit graph

807 commits

Author SHA1 Message Date
Joey
184583a07f
Fix broken link in profile about me box (closes #131) (#132) 2020-06-08 22:46:25 -04:00
Joey
c8b33f0ff6
Add Philomena Contrib Sec Role, Staff Page Visibility Toggle (#130)
* Add Philomena Contributor to secondary roles list

* Visibility toggle
2020-06-07 22:32:04 -04:00
byte[]
417305e43c filter fixes 2020-06-06 21:56:07 -04:00
byte[]
9294e54771 Filter updates 2020-06-06 21:03:17 -04:00
byte[]
7f55c63303 reject discourage from list 2020-06-03 21:40:42 -04:00
byte[]
5dfd8f5b60 ensure CB is assigned 2020-06-03 21:26:38 -04:00
byte[]
ec1a999913 normal uses variance, not sd 2020-06-03 21:18:39 -04:00
byte[]
7160433c33 update methods 2020-06-03 21:10:38 -04:00
byte[]
6ef394a024 fix related images query 2020-05-28 21:04:35 -04:00
byte[]
d7f5cbcb77 fixes #124, uploads not blocked for DNP 2020-05-28 20:35:52 -04:00
byte[]
64428907f5 somewhat fix random ordering 2020-05-28 19:55:02 -04:00
byte[]
a73f270ca6 fixes #123, block DNP creation without linked tag 2020-05-28 18:46:52 -04:00
Nebbie Zebbie
506099189f Make profile tag change pagination remember added param 2020-05-27 21:53:13 -06:00
byte[]
a2d9dcb51b robots config 2020-05-27 20:21:17 -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[]
98db6a1ca2 mix format 2020-05-27 13:01:35 -04:00
byte[]
7b36f99c09 set samesite attribute to lax on all cookies to fix warnings 2020-05-26 17:37:49 -04:00
byte[]
9a67e5109a visual denoise in tag layout 2020-05-21 13:32:42 -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[]
09db15b29b fix ecto brain damage 2020-05-20 01:13:34 -04:00
byte[]
033fac01e9 fixes #119: link associated streams to artist tags 2020-05-13 14:17:04 -04:00
byte[]
53ad9dd139 unique tags in autocomplete 2020-05-10 06:41:57 -04:00
byte[]
41f144b32b use stronger hash function for anonymous names 2020-05-10 06:20:21 -04:00
byte[]
a656f64225 fixes #116: hidden images appear in navigation 2020-05-07 23:58:21 -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[]
075d947755 add missing track_total_hits for ES7 compat 2020-05-06 11:26:24 -04:00
byte[]
ef21b7c7d0 return of the stats page 2020-05-06 11:12:18 -04:00
byte[]
6f9955bac1 fixes #114, channel visibility routing error 2020-05-04 22:34:10 -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[]
4b86e783ef you have to halt the plug pipeline explicitly 2020-05-04 03:18:36 -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
SomewhatDamaged
3e7ee76fe2
Api create image (#105)
* added new method (POST) to /api/v1/json/images

* Cleaned up debug

* added require_authorization plug, fixed up issues with image_controller

* make user do work

* Fixed inefficient function use

* added api fingerprinting

* more robust

* corrected holdover from merging files
2020-05-01 00:40:57 -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[]
44b004f9ec fixes #80: broken presence check on tag_id param 2020-04-30 00:38:47 -04:00
byte[]
0b8cad77dd fixes #104: show aliases in autocomplete 2020-04-30 00:18:47 -04:00
byte[]
406c7dd74b fixes #97: add new route for changing anonymity status of upload 2020-04-30 00:14:14 -04:00
byte[]
4abd5acd53 prevent page gaps from appearing where they are not supposed to, fixes #98 2020-04-29 23:49:19 -04:00
byte[]
be520b1d7c unsubscribe users from privileged topics when their role is updated, fixes #30 2020-04-29 23:05:19 -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
Luna D
fb08f555f4
reindex image on source update (#94) 2020-04-19 15:05:42 -04:00
byte[]
63c89d2faf fix double send on registration 2020-04-18 20:28:01 -04:00
byte[]
e159c01bef fix broken case clause 2020-04-18 20:25:08 -04:00
Dan Schultzer
051a204d55
Add TOTP support in the invalidation session plug (#87) 2020-04-18 20:19:07 -04:00
David Joseph Guzsik
72f53d378d
Persist checked state of art categories across commission pages (#90) 2020-04-18 20:15:45 -04:00
Nick
79d8ed8a1c
Prevent compromised passwords from being used (#89)
* prevent compromised passwords from being used

* formatting consistency

* run mix format and hardcode api url

* more formatting

* remove unnecessary string upcase
2020-04-18 20:15:18 -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
byte[]
11cac54ba0 mix format 2020-04-11 20:28:28 -04:00
Dan Schultzer
36cbdff953
Fix plug issue (#86) 2020-04-11 19:47:23 -04:00
Dan Schultzer
e5f0e473d9
Add plug to handle invalidated Pow session tokens (#36)
* Add plug to handle invalidated Pow session tokens

* Add token signing

* Refactor for tests
2020-04-11 14:54:55 -04:00
Nick
d247e01347
Properly handle failed captchas after XHR post (#85)
* handle form posts and xhr posts differently on captcha failure

* formatting
2020-04-11 14:23:55 -04:00
Luna D
1836fef402
webm takes ungodly amounts of time to process 2020-04-10 17:23:23 +00:00
byte[]
5f9e9d98a6 api relevance sorting, fixes #83 2020-04-08 11:11:58 -04:00
byte[]
603c8d4867 add ranch connection drainer 2020-04-07 00:21:44 -04:00
Nebbie Zebbie
d56c5f2caa Prepopulate default dupe report states selection in pagination 2020-04-07 02:57:34 +00:00
byte[]
d09d77c0cd more careful checking of parameter values, fixes #75 2020-04-05 11:56:53 -04: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[]
3bb4a4ce56 whoops 2020-03-31 11:45:51 -04:00
byte[]
1c12c010fa mix format 2020-03-31 11:39:11 -04:00
byte[]
c8b0d9ca3d add avatars to post and comment json views 2020-03-31 11:38:01 -04:00
byte[]
724b3a97b1 add edit timestamp, edit reason to post and comment json 2020-03-31 11:09:44 -04:00
Neil McAlister
051a819c9c
Add timestamps to the API's comment view (#67)
* Add timestamps to the API's comment view

* Change property name to created_at
2020-03-31 11:04:06 -04:00
byte[]
0b0a5b1b42 fix markup errors 2020-03-30 20:12:25 -04:00
liamwhite
723bfa213f
Use JSON views for API (#64)
* AwardJson, LinkJson, UserJson to views

* FilterJson -> view

* ForumJson -> view

* TopicJson -> view

* PostJson -> view

* TagJson -> view

* CommentJson -> view

* GalleryJson -> view
2020-03-29 21:11:38 -04:00
SomewhatDamaged
196c5e14b6
API additions for user interactions on single images (#63)
* API additions for user interactions on single images

* removed ability to render without supplying interactions
2020-03-29 20:51:35 -04:00
liamwhite
b1de5389eb
Change ImageJson to view (#62) 2020-03-29 19:39:36 -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
SomewhatDamaged
44a20a7888
Adjusted to suit standard (#58) 2020-03-27 01:07:24 -04:00
byte[]
43b5e069e6 link to correct location, fixes #46 2020-03-26 13:47:30 -04:00
byte[]
b20217925b ensure reports are reindexed when merged, fixes #51 2020-03-26 13:42:11 -04:00
byte[]
bc87b287e0 fixes commission counter updates (#56) 2020-03-26 13:18:45 -04:00
SomewhatDamaged
84ac9d27d7
Adds /api/v1/json/filters endpoints (#55)
* Adds /api/v1/json/filters endpoint

* Modified as per discussion

* Using Repo.paginate properly now

* Added total count to output
2020-03-25 11:32:25 -04:00
Luna D
da5135bc11
mix format 2020-03-13 09:21:17 -04:00
Luna D
1983a736f3 reverse badge sorting order 2020-03-13 10:17:43 +01:00
SomewhatDamaged
7ddd8b8ec4
New /filters/:id API endpoint (#48)
* New /filters/:id API endpoint

* Fix to use can? permissions

* Fixes requested
2020-03-12 12:53:25 -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
byte[]
37a2d014cd fix permission error 2020-03-05 02:04:21 -05:00