byte[]
6ef394a024
fix related images query
2020-05-28 21:04:35 -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[]
64428907f5
somewhat fix random ordering
2020-05-28 19:55:02 -04:00
byte[]
76b6297a8a
fix tags indexing error after batch update
2020-05-28 18:59:43 -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[]
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[]
7b36f99c09
set samesite attribute to lax on all cookies to fix warnings
2020-05-26 17:37:49 -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[]
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[]
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[]
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[]
b54704fba5
#44 unwrap tag reversions from transaction
2020-05-06 10:40:23 -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
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[]
a97006fd9c
fixes #109 : add ability to delete channels
2020-05-02 12:27:50 -04:00
byte[]
7cfb390e05
add workaround for broken gif seeking in ffmpeg
2020-05-02 02:12:54 -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[]
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[]
44b004f9ec
fixes #80 : broken presence check on tag_id param
2020-04-30 00:38:47 -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[]
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[]
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
byte[]
1ef368c286
prevent crash on gallery_id query in filter, fixes #99
2020-04-29 22:44:03 -04:00
Luna D
551fed5b0d
generate slightly better jpeg thumbs
2020-04-29 22:31:55 -04:00
byte[]
feb9d513ea
you missed one
2020-04-27 23:42:16 -04:00
Luna D
f2f6e6dad6
pubsub thing
2020-04-27 23:23:36 -04:00
Luna D
9a4381c0a2
fix template warning
2020-04-27 23:23:30 -04:00
Luna D
3d16c4d4c0
validate user link format ( #93 )
2020-04-19 15:21:00 -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[]
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
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[]
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[]
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[]
8dae60de92
require spaces around textual search operators, fixes #37
2020-03-31 13:27:53 -04:00
byte[]
f6f29840ca
add sane maximum value to relative date parser, fixes #43
2020-03-31 13:14:16 -04:00
byte[]
2b99afb746
update tumblr IP ranges per AS2635 prefix report; fixes #38
2020-03-31 13:03:32 -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
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
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
Luna D
67ac0318f7
this check seems redundant
2020-03-03 15:38:59 -05:00
Luna D
bd768088c2
static pages permission
2020-03-03 14:29:14 -05:00
Luna D
8378e07bb8
remove auth from notification read
2020-03-03 13:54:47 -05:00
Luna D
bb4cbdb089
Merge pull request #42 from derpibooru/Damaged-API-user-profiles
...
This will add the endpoint to the API.
2020-03-03 12:29:23 +01:00
Byron Mulvogue
7a164944b4
Fixed user.avatar failure. Ran mix format.
2020-03-03 11:23:53 +00:00
Luna D
22dfb51e56
mix format
2020-03-03 11:43:54 +01:00
Byron Mulvogue
0ae05b97b2
Forgot to prepend to the avatar_url path
2020-03-03 05:23:44 +00:00
Byron Mulvogue
297e0909d6
This will add the endpoint to the API.
2020-03-03 03:49:02 +00:00
Luna D
3fdae6b99c
that was not necessary
2020-02-22 11:31:57 -05: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
Nebbie Zebbie
c7208a3098
Fix moderators not being able to unstick topics
2020-02-21 07:24:45 +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
Luna D
9c7bbc127b
fix assistants not being able to do user links
2020-02-17 12:21:19 -05:00
byte[]
2c9b27aee0
prepopulate tq on tags pagination
2020-02-10 22:41:41 -05:00
byte[]
e4e20033e7
fix misc pagination issues
2020-02-10 22:26:45 -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
Nebbie Zebbie
0a93da7952
Make dupe reports pagination preserve params
2020-02-10 21:38:21 +00:00
byte[]
edc127e46c
change topic notification line
2020-02-06 18:08:04 -05:00
byte[]
25ea2013c6
add missing eos token to force dase parser to backtrack
2020-02-06 18:01:22 -05: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[]
f664be4f85
preload tags on update failure
2020-02-06 17:27:26 -05:00
byte[]
9ea7980e3f
hex upgrades
2020-02-06 17:24:41 -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[]
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
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[]
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[]
9241a08bce
fix #23
2020-01-26 18:10:09 -05:00
SomewhatDamaged
c972f00cdc
Featured image hiding ( #24 )
...
* Featured image hiding
This makes sure the Featured Image on the front page obeys user hiding.
* Optimized
Took the `hidden=1` check out of the `WHERE` clause.
* proper anti join
Co-authored-by: liamwhite <liamwhite@users.noreply.github.com>
2020-01-26 18:04:30 -05:00
byte[]
f558e76cc8
thanks for the tip!
2020-01-23 12:32:31 -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[]
dd915aa477
fix documentation
2020-01-22 08:51:27 -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[]
4c4dc4b5ce
deleted by could be nil
2020-01-18 23:12:40 -05:00
SomewhatDamaged
feefc2e5a7
Fix to allow users to include deleted images again ( #22 )
...
This used to be allowed in the old searching with the `deleted` param for all users.
This should correctly add back the ability (using the new `del` param) to specify `del=1` for any user/API search, but correctly block them from doing the more specialized "staff only" searching.
2020-01-14 06:54:15 -05:00
byte[]
3315c60789
prevent setInterval calls from queueing
2020-01-13 08:14:16 -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[]
6294c94704
more complete tokenization of urls with internal parentheses
2020-01-11 13:57:58 -05:00
byte[]
3ac8687c18
allow get-based reverse searching
2020-01-11 13:51:14 -05:00
byte[]
ed44160603
run formatter
2020-01-10 23:20:19 -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[]
d362304d2d
samesite=lax for persistent session
2020-01-07 10:43:16 -05:00
SomewhatDamaged
035b887f53
Somewhat damaged patch 1 ( #20 )
...
* Add new route
Adding route for
`/api/v1/json/posts/:id`
* Adding route controller
Adding route for
`/api/v1/json/posts/:id`
2020-01-07 10:35:24 -05:00
SomewhatDamaged
e918375c83
Somewhat damaged patch 1 ( #19 )
...
* Fix for module placement
Correcting my own mistake when I first made these routes
* Correcting module location
* Correcting module location
* Fix
Fixes a potential crash when no posts are returned.
2020-01-07 02:02:49 -05:00
byte[]
0c5e0d7fa7
fix pagination error
2020-01-07 01:14:06 -05:00
SomewhatDamaged
24b9863699
Featured image API route ( #18 )
...
* Add route
`/api/v1/json/features`
Shows current featured image
* Add route
`/api/v1/json/features`
Shows current featured image.
* Removed binding
* Moving this file to a more appropriate name.
* Correctly named and placed
Correctly named and placed to match its module name
* Updated per review
* Changed as per review
Renamed to `PhilomenaWeb.Api.Json.FeaturedController`
Moved to `lib/philomena_web/controllers/api/json/featured_controller.ex`
* Updated route
Route `/api/v1/json/images/featured` now uses `PhilomenaWeb.Api.Json.FeaturedController`
* like this
Co-authored-by: liamwhite <liamwhite@users.noreply.github.com>
2020-01-05 20:09:45 -05:00
byte[]
a98e268195
use iolist
2020-01-05 13:12:01 -05:00
byte[]
816e54fa12
use the range appropriately
2020-01-05 13:05:39 -05:00
byte[]
af97bd1717
fix graph height calculation
2020-01-05 13:03:43 -05:00
byte[]
75b15a59b7
add upload graph to stats page
2020-01-05 12:55:10 -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[]
11e908ef14
batch tagger should resolve aliases and implications
2020-01-03 10:43:41 -05:00
SomewhatDamaged
8e39c06940
Fix for distance ( #16 )
...
* Fix for distance
Fixes the `distance` to search not being passed through to `ImageReverse.images()`
`set_scraper_cache` passes the `distance` through into `params`
`create` normalizes and inserts the result into the params passed to `ImageReverse.images()`
`normalize_dist` checks if there is a `distance` set, adds a leading 0 to it (to account for values like `.5`, which would crash `Float.parse()`), and turns it back into a well-formatted string for `ImageReverse.images()`
* Fixed space
2020-01-03 10:37:20 -05:00
byte[]
efb28184a3
allow blockquote cite context to consume all markup
2020-01-02 19:57:46 -05:00
byte[]
7ee6bf379f
apparently that was necessary
2020-01-02 19:00:47 -05:00
SomewhatDamaged
ae5bfe14e4
Add /forums API Endpoints ( #14 )
...
* Adding routes for /forums
Adding routes for new /forums endpoints
* New API Routes
`/forum`
`/forum/:forum_id`
* Add New API Routes
`/forums/:forum_id/topics/:topic_id/`
`/forums/:forum_id/topics/:topic_id/:post_id`
* Adds New API Routes
`/forums/:forum_id/topics`
`/forums/:forum_id/topics/:topic_id`
* Forum JSON formatter
* Updated
Correctly filters out things that should not be shown.
* Added topic JSON filter
* Added correct pagination
* Spacing and neatened
* Cleaned up
Consolidated queries and neatened up spacing.
Fixed name
* Removed unneeded aliases
* Cleaned up
Consolidated queries
Fixed spacing
Removed unneeded aliases
* Cleaned up
Spacing
* Cleaned up
spacing
* Depluralized
* Cleaned up
Removed space
* Removed extra spaces
* Removed extra spaces
* Removed extra spaces
* Removed preloads
* Cleaned up
Grouped clauses
* Consolodated further
* Cleaned up preloads
* Cleaned up
Preloads
consolidated clauses
grouped clauses
* Cleaned up
removed `id`
`locked`
* Removed topic_id
Not useful since the API client should already know it.
* More consolodation of terms
* Add total post count
* Removed unneeded variable
* Last cleanup, I swear.
2020-01-02 17:47:12 -05:00
byte[]
ab94b2f547
correctly tokenize double-hyphen em dashes
2020-01-02 16:03:13 -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
byte[]
2e7937cbc3
ensure commission items are sorted by price
2020-01-01 21:36:06 -05:00
byte[]
e6f1885476
fix vote wipe mechanism
2020-01-01 18:29:49 -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[]
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[]
44f2ebdbb6
this is not called boost_factor anymore
2020-01-01 01:18:40 -05:00
byte[]
e3e143e2c6
more comprehensive datetime parsing fix
2020-01-01 01:00:34 -05:00
byte[]
975531c42c
that was the wrong fix
2019-12-31 23:48:31 -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[]
7000be9865
add parameter recoder to api tag controller
2019-12-31 23:22:35 -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
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
SomewhatDamaged
9b22d2719a
Adding /api/v1/json/comment/:id endpoint ( #13 )
...
* Add `/api/v1/json/comment/:id` endpoint
* Add controller for `/api/v1/json/comment/:id`
Add controller for `/api/v1/json/comment/:id` endpoint
* Fixes permissions
Now will show `403 forbidden` if a comment on a deleted image is requested.
* Fixed endpoint schema
Now conforms to endpoint schema
* Permission adjustment
Will prevent `user_id` and `author` from leaking in the event the image is `hidden_from_users`
* Permission lockout
Lockout of all data if destroyed.
* Lockout on destroyed_content
Return 404 when `comment.destroyed_content`
* Refactored for neatness
2019-12-31 18:25:11 -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
SomewhatDamaged
6ccb3f645a
Corrects failure and redirect to main page ( #12 )
...
This stops a bug I noticed when a slug that doesn't match is given. This will correctly 404 rather than redirecting to front page.
2019-12-31 09:01:14 -05:00
byte[]
f5bd8e7614
add deletion/duplicate handling to api
2019-12-31 00:10:50 -05:00
byte[]
3d629bf157
add at sign to link ending characters
2019-12-31 00:01:51 -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[]
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[]
982adb9ba5
reindex image after replacement
2019-12-30 18:33:20 -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[]
f278362fda
break compile time dependencies inside the search parser
2019-12-30 16:14:57 -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[]
dd5d553c0d
include intensity data in image api response
2019-12-30 09:18:38 -05:00
byte[]
330e4ffb26
award overflow
2019-12-30 09:05:17 -05:00
byte[]
9be71b512d
load comment replies when the comment is hidden and when the image is merged
2019-12-30 08:58:56 -05:00
byte[]
aacd3e31b7
don't allow duplicate reports to have identical source and target
2019-12-30 08:42:00 -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[]
dfaee1e34d
mask ip6 spec to /64
2019-12-30 07:36:23 -05:00
byte[]
38c4e35bb7
bans view changes
2019-12-30 07:30:39 -05:00
byte[]
9ed5652aad
Break precedence for newlines
2019-12-30 07:18:49 -05:00
byte[]
fa2024764c
change failure rules
2019-12-29 20:39:30 -05:00
byte[]
9b4cefa642
fix wrong recursion rule and allow / at link ends
2019-12-29 20:28:12 -05:00
byte[]
7a4d47db2f
more aggressively prevent intraword markup matches
2019-12-28 14:43:00 -05:00
byte[]
ed40f5a35a
actually allow closing markup to match
2019-12-28 13:13:50 -05:00
byte[]
92e7a8bf17
additionally forbid opening markup to come before a space
2019-12-28 13:07:32 -05:00
byte[]
92f2a45df6
even more precedence
2019-12-28 12:58:05 -05:00
byte[]
f6e22e20a5
precedence
2019-12-28 12:07:06 -05:00
byte[]
5c7d21e397
fix for excessively slow vp8 encoding and tag bug
2019-12-28 10:47:04 -05:00
byte[]
8ce960a796
more parser fixes
2019-12-28 10:15:24 -05:00
byte[]
c8f9b63556
self closing img tag
2019-12-27 23:37:17 -05:00
byte[]
7f0ac2f68f
fix tokenization rules for links
2019-12-27 23:35:43 -05:00
byte[]
41ea1f6b71
fix first_seen_at propagation
2019-12-27 23:27:37 -05:00
byte[]
a352a0cc0a
remove debug code
2019-12-27 22:04:05 -05:00
byte[]
8cb1bd3847
rewrite it again
2019-12-27 21:35:02 -05:00
byte[]
1225aced41
load tags before body is processed
2019-12-26 18:58:52 -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[]
a1a1eaeb77
various parser fixes
2019-12-26 10:09:38 -05:00
SomewhatDamaged
e23cb11b6e
Fix for full image spoiling ( #11 )
...
Sets the correct `class` for hiding images.
2019-12-26 10:03:45 -05:00
byte[]
689ce5cd5a
change rules for bracketed links
2019-12-26 00:39:57 -05:00
byte[]
4976ddb743
remove erroneously committed inspects
2019-12-26 00:06:08 -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[]
567459bf48
avatars
2019-12-25 13:32:24 -05:00
byte[]
0981a1ba0b
dynamic config
2019-12-25 11:56:19 -05:00
byte[]
860de7615f
more info should be expanded by default
2019-12-25 09:21:50 -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[]
18798d2e99
ensure the authenticated user is never persisted as a further safeguard against API CSRF
2019-12-24 12:15:30 -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
Joey
f1b1f03e02
Add Public Relations as secondary role option (aka more self-snowflaking)
2019-12-24 00:54:16 -06:00
byte[]
b2724c0de8
samesite session
2019-12-23 19:20:24 -05:00
byte[]
20c521e67b
tor plug
2019-12-23 13:57:14 -05: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[]
44a59aa67b
admin: allow changing tags on deleted images, fix dupe report accepting
2019-12-23 09:46:48 -05:00
byte[]
f847c560b1
prevent post deletion from jumping back to the first page
2019-12-23 09:25:11 -05:00
byte[]
1435149d32
admin badge user list
2019-12-23 09:23:25 -05:00
byte[]
991cab61bf
Revert "more aggressive preloading"
...
This reverts commit 556cd39afd
.
2019-12-22 22:13:36 -05:00
byte[]
25d867a213
fix svg download link showing as png
2019-12-22 19:10:25 -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
a39adcb9d5
in retrospect it was a terrible idea
2019-12-22 17:52:38 -05:00
Luna D
116179e3ec
how did that even happen
2019-12-22 17:45:29 -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[]
187178cdd4
account for the fact that the image index is delayed
2019-12-22 16:09:17 -05:00
byte[]
039db5a329
fix offset calculation
2019-12-22 16:05:41 -05:00
byte[]
4bf223fe1a
find index fix
2019-12-22 16:02:27 -05:00
byte[]
20bc8c1416
more careful with image tags
2019-12-22 10:06:10 -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[]
5d6c1d97c1
autocomplete="off" for tag editor
2019-12-22 09:20:28 -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[]
7abb5921b9
add order by statement to gallery list
2019-12-21 17:57:29 -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[]
878b923a20
copy comments when images are merged
2019-12-21 16:37:13 -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[]
0dab6a76e5
remove superfluous jason encode
2019-12-21 14:51:43 -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[]
3874d569b4
admin comment and post query fixes
2019-12-21 14:31:32 -05:00
byte[]
c7c831c901
fix warning
2019-12-21 13:42:55 -05:00
byte[]
d081f06422
avoid double rendering when the response is already an error
2019-12-21 13:42:21 -05:00
byte[]
823834e5c1
fix poll voting permissions
2019-12-21 10:22:13 -05:00
byte[]
9272cccf01
remove spurious inspect call
2019-12-21 10:15:05 -05:00
byte[]
3ff1b1ad6e
fix admin post/comment search
2019-12-21 10:14:01 -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[]
9cef212ed2
fix warning in conversation controller
2019-12-21 09:46:58 -05:00
byte[]
edc2b0c5d3
fix permissions
2019-12-21 09:36:30 -05:00
Joey
7ac0d821da
Add query to enable 'our conversations' functionality
2019-12-20 22:41:21 -06:00
byte[]
ca1150230d
prevent posting without presenting a _ses cookie
2019-12-20 20:30:14 -05:00
byte[]
3a364bde61
explicitly halt the pipeline
2019-12-20 20:08:53 -05:00
byte[]
5e99152837
stop casting for now and just spawn off
2019-12-20 20:08:18 -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[]
31e7727648
allow assistants to moderate images
2019-12-20 17:30:31 -05:00
byte[]
2ef4bdbbad
2fa layout
2019-12-20 16:29:29 -05:00
byte[]
81800cf83d
support per_page parameter
2019-12-20 16:12:47 -05:00
byte[]
cf46e9bba4
don't hide embeds
2019-12-20 15:57:20 -05:00
byte[]
b5f3f98b9c
fix bad match
2019-12-20 14:06:55 -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[]
be55b65063
preload deleted by in post list
2019-12-20 13:20:26 -05:00
byte[]
6c3515799b
add invalid filter guard to user query compiler
2019-12-20 13:05:39 -05:00
byte[]
46602460ea
rearrange plugs
2019-12-20 12:44:45 -05:00
byte[]
a7d9386af8
mod faves page
2019-12-20 12:26:38 -05:00
byte[]
04673984f8
implement terms query in evaluator
2019-12-20 12:05:28 -05:00
byte[]
ffdddb3f68
guard against invalid complex filters
2019-12-20 11:58:41 -05:00
byte[]
08e95e0a01
include recent artwork in interactions
2019-12-20 11:55:16 -05:00
byte[]
8d5aad56f6
forum titles, better tag disjunction
2019-12-20 10:33:39 -05:00
byte[]
e922f9a94b
add missing links
2019-12-20 10:05:34 -05:00
byte[]
79579a07af
string safety
2019-12-20 09:51:50 -05:00
byte[]
058f3840e4
less obtrusive title for image pages
2019-12-20 09:44:05 -05:00
byte[]
a03e0c3dde
add missing sort to notifications page
2019-12-20 09:35:49 -05:00
byte[]
0c5860c457
ensure that site notices are live when selected
2019-12-20 09:22:39 -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[]
e33be9c8de
sleep first, then request
2019-12-19 23:14:14 -05: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[]
b4fbec1f66
more stringent on user indexing
2019-12-19 20:33:24 -05:00
byte[]
632ec78f0b
four large thumbs
2019-12-19 20:23:44 -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
3bf4372f0f
fix error in Profile.UserLinksController
2019-12-19 17:59:16 -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[]
ae476b45d8
fix warnings
2019-12-19 15:13:15 -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[]
eeacf9ee14
untangle compile time dependencies in views
2019-12-19 14:32:12 -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[]
3097411dd7
don't show comments from images which are hidden
2019-12-19 10:34:03 -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