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
byte[]
ea3d40375f
reverse the optgroups
2019-12-19 01:38:20 -05:00
byte[]
db61882a51
don't show comments on hidden images
2019-12-19 01:20:31 -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[]
417504b4c1
add missing preload
2019-12-18 10:06:43 -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[]
722fc17b41
make buttons on report page less useless
2019-12-17 19:48:51 -05:00
byte[]
2a6976c184
Fix warnings
2019-12-17 19:44:26 -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
byte[]
10707cd92d
autoclose reports when reportable item is deleted
2019-12-17 11:45:22 -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[]
fee56de1d7
use the actual assign
2019-12-17 01:52:15 -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[]
a3e4706597
track usages
2019-12-16 21:49:17 -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[]
02b7fdec31
convert rows to json
2019-12-16 18:14:22 -05:00
byte[]
d42fc44494
fix permissions
2019-12-16 17:50:15 -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[]
03301168c7
add connection: close to proxy request
2019-12-16 15:34:21 -05:00
byte[]
7ee4934e8f
page titles
2019-12-16 14:24:38 -05:00
byte[]
70b077e4e7
add reindex and delete buttons
2019-12-16 13:49:53 -05:00
byte[]
a28d233751
ensure options are loaded
2019-12-16 13:28:17 -05:00
byte[]
a09d0d0a18
also filter inclusion on dropdown; explicit not found message
2019-12-16 01:15:59 -05:00
byte[]
c70e2e48d1
more careful gallery search
2019-12-16 01:07:10 -05:00
byte[]
3012de58b6
less special casing of literal, require del_open not be followed by a greater than sign to allow it to be replaced as an arrow
2019-12-16 00:59:25 -05:00
byte[]
2c2ad9ee82
allow link bodies to contain bracketed literals
2019-12-16 00:36:35 -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[]
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[]
f5996dc084
fix order
2019-12-15 18:35:56 -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[]
627dfbefdb
be stricter about boolean optimization
2019-12-15 11:19:34 -05:00
byte[]
8a7ca9dbcb
don't try to redirect when there is no tag to redirect
2019-12-15 10:36:26 -05:00
byte[]
62885b51df
actually count correctly
2019-12-15 10:09:43 -05:00
byte[]
1fbe3bd555
ensure flash is fetched
2019-12-14 22:25:11 -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
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[]
642ded69a5
misc fixes
2019-12-13 13:52:57 -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