justcool393
360cff7e8f
add post bypass checking perm
2022-10-20 17:51:29 -05:00
Aevann1
3c3950adb0
change video tags
2022-10-20 22:26:43 +02:00
justcool393
cb35480ee6
sanitize: replace cuneiform ban with an overline ban
2022-10-20 09:44:32 -05:00
Snakes
9b81bc8a9d
WPD: expand post title editing to JL2+.
2022-10-20 10:42:52 -04:00
Aevann1
e16ebf8749
fix 500 error
2022-10-20 00:28:07 +02:00
Aevann1
e4fb158125
update the WPD app
2022-10-19 23:42:27 +02:00
Aevann1
9efc0f0a68
unify email regex
2022-10-19 12:39:03 +02:00
Aevann1
887ab766a5
fix 500 error when resetting password
2022-10-19 11:36:13 +02:00
Snakes
94e130febd
Fix video filesize check for patrons.
2022-10-18 22:15:57 -04:00
Aevann1
b81eceead5
fix prev commit
2022-10-18 19:25:28 +02:00
justcool393
8a8efeaf75
ratelimiting: add 1/second to post ratelimit
2022-10-18 06:51:08 -05:00
Aevann1
465160dbe6
dont include SITE_FULL in post urls
2022-10-18 13:09:53 +02:00
Aevann1
cdfece62cf
decrease y'all seeing eye's price from 10k to 1k
2022-10-18 12:31:50 +02:00
Aevann1
001ff55980
small change to post_rate_limit (cuz it catches failed submissions)
2022-10-18 12:21:10 +02:00
Snakes
599cab7365
PCM: temporarily re-enable awards; some cleanup.
2022-10-17 21:55:07 -04:00
justcool393
39545e556f
WPD: disable /logged_out on .co, fixing infinite loop
...
WPD: fix bad asset link
WPD: redirect on migration login and failed migration login
2022-10-17 19:11:50 -05:00
justcool393
d07a6cbc08
remove bot mentions
2022-10-17 14:44:44 -05:00
justcool393
95f4f42ed2
syntax
2022-10-17 14:34:23 -05:00
justcool393
30b51135c4
another one
2022-10-17 14:32:47 -05:00
justcool393
edc3b0c84e
co to tv
2022-10-17 14:32:05 -05:00
Aevann1
44fca7f086
ripbozo
2022-10-17 21:13:33 +02:00
justcool393
0e840a4ddb
add r/Drama to reddit notifications
2022-10-17 12:46:30 -05:00
Aevann1
80c5ed8428
fix slur filter
2022-10-17 19:18:51 +02:00
Aevann1
bf859b0e3a
sneed
2022-10-17 18:58:15 +02:00
Aevann1
ae7bc6dd9f
change name
2022-10-17 18:46:42 +02:00
Aevann1
9204b8bebd
remove rarely-seen slur filters
2022-10-17 10:32:58 +02:00
Aevann1
f292069c3e
small adjustment to glowop
2022-10-16 20:27:37 +02:00
Snakes
dca21741c3
Discord removal: fix syntax error, asst'd cleanup.
2022-10-16 09:03:08 -04:00
justcool393
aa508fc076
remove discord
2022-10-16 05:42:52 -07:00
justcool393
be055d1d82
fix "52yr ago" bug
2022-10-15 23:57:55 -07:00
justcool393
32a4693da9
fix a couple of potentially rare 500s
2022-10-15 14:35:24 -07:00
justcool393
60284daa8e
replace all of the duplicated age strings with make_age_string
2022-10-15 11:11:43 -07:00
Snakes
ed2b6938ba
Amend 35fd90c9c: calc_users gets g but not g.agent.
2022-10-15 07:33:25 -04:00
Snakes
35fd90c9ca
Amend c95e33831: even fewer globals than expected.
2022-10-15 07:27:26 -04:00
Snakes
c95e33831c
Check for globals in calc_users; fix error pages.
2022-10-15 07:23:29 -04:00
Aevann1
f2225e700a
change MAX_IMAGE_SIZE_BANNER_RESIZED_MB into MAX_IMAGE_SIZE_BANNER_RESIZED_KB
2022-10-15 12:37:55 +02:00
Aevann1
4f8f8db54f
reduce allowed size for banners/sidebar/badges from 1MB to 0.5MB
2022-10-15 12:13:23 +02:00
Aevann1
6465982580
decouple v.last_active from the calc_users
2022-10-15 12:08:14 +02:00
justcool393
39aa59a37a
add g.is_api_or_xhr so we can use it where we want to give API output
...
* also use v.client for strict API clients
2022-10-15 02:11:36 -07:00
Aevann1
0d0cde1d2b
fix prev commit
2022-10-15 09:33:58 +02:00
Aevann1
c24851dbb3
only calculate users when we actually need them
2022-10-15 09:31:24 +02:00
Snakes
683d562058
Fix pruning of {SITE}_loggedin/out dicts.
...
For the past week, we noticed a gradual increase in CPU usage and
request times. Use of a sampling profiler revealed the time waas spent
in serializing/deserializing data stored in Redis. In particular, the
user counter dicts were filtered for calculation of the loggedin/out
counters, but the filtered versions were never stored.
To make concurrency safe, we still filter on every request, but at
least the resting data will eventually be appropriately filtered,
and this data is non-critical regardless.
2022-10-14 17:41:26 -04:00
justcool393
419ed61dd3
discord ids as constants
2022-10-14 11:46:39 -07:00
Aevann1
afd11e376f
fix 500 error
2022-10-14 19:15:29 +02:00
Aevann1
77312317f3
get rid of Boolean columns for permenant awards
2022-10-14 18:59:49 +02:00
justcool393
36b370dd14
use comment length for snappy, not post
2022-10-14 06:19:47 -07:00
justcool393
2dd74d3acd
don't constantly check for reposts when it's obvious there can't be one
...
we currently spam the /is_repost api on every single character change in the URL box even though there is no way these URLs would ever be submitted to the site
introducing a frankly conservative limit to where we start actually pinging both the api and (on the backend) the database for reposts may help in some cases
the current constant was chosen by taking the length of "http://" and adding 2 to it
2022-10-14 03:27:45 -07:00
Aevann1
948bd21f9b
Revert "minor change in sorting_and_time"
...
This reverts commit 3a3cb0da4d
.
2022-10-13 18:21:26 +02:00
Aevann1
3a3cb0da4d
minor change in sorting_and_time
2022-10-13 18:21:00 +02:00
Aevann1
9f24a8ddc5
remove annoyance
2022-10-13 14:02:31 +02:00