justcool393
aa272729f1
default ratelimit and default ratelimit slower
2022-11-13 00:43:47 -06:00
justcool393
80d7d5281d
ratelimit_user() wrapper
2022-11-13 00:07:15 -06:00
Aevann1
31e6ca0889
fix pinned comments logic
2022-11-12 13:33:18 +02:00
Aevann1
f9b673e33d
allowing adding bets via edit
2022-11-12 12:30:05 +02:00
Aevann1
3f17624de6
validate poll options body_html length
2022-11-12 12:27:05 +02:00
justcool393
b1924e0cdf
don't bother try checking invalid urls
2022-11-11 23:40:17 -06:00
justcool393
9f4d62d305
:)
2022-11-11 04:19:44 -06:00
justcool393
0cf37cfe5f
fix for worker timeout
2022-11-11 04:19:44 -06:00
justcool393
0c7eab0def
:pepodrool:
2022-11-11 04:19:43 -06:00
justcool393
f5912bb4cc
we don't need bloody bs4 to get a bloody title
2022-11-11 04:19:43 -06:00
Snakes
439b73d6ae
Make explicit submission flag behavior.
...
Main intention is to allow API users (bots) to benefit from the
defaults typically enforced clientside, and to generally be clearer
about what values do what.
2022-11-11 00:23:03 -05:00
Aevann1
fd3edf51c9
minor bool change
2022-11-11 06:46:14 +02:00
Aevann1
254798d0d4
fix 500 error in WPD/PCM
2022-11-11 06:43:02 +02:00
Aevann1
c066227d2b
remove pizza autovote
2022-11-09 23:27:16 +02:00
Snakes
4f0f4412c0
Fix /submit not testing `ghost` as boolean.
2022-11-09 16:24:35 -05:00
Aevann1
6694585434
make ghost threads free again
2022-11-09 21:19:29 +02:00
justcool393
26549a6e66
remove logged out routes ( #433 )
...
* remove /logged_out/ routes
* update sitemap, remove users route, and update header
* cloudflare cookie
* only mess with the cookie whenever we desire auth
* sitemap: (small) improvements
sitemap: fix little bug i introduced
sitemap: fix login redirects for /id/ routes
* sitemap: remove duplicate entry
* contact is auth desired
* imports: don't import what we don't need and bind late to the db
* praying to god this works
* keep yourself safe
* oh i actually need to commit and push lol
* import Sub
* t
* refix cache purger
2022-11-09 00:35:24 -05:00
Aevann1
d616086dbd
fix logic for duplicate posts in localhost
2022-11-07 01:48:37 +02:00
justcool393
0b3fae81d6
's
2022-11-03 02:16:01 -05:00
justcool393
6d636e4e42
use charge_account everywhere
2022-11-01 00:25:19 -05:00
Aevann1
cc473795bf
make banned domains case insensitive
2022-10-31 16:33:11 +02:00
Aevann1
b9c482712a
constantify file extensions
2022-10-30 16:55:43 +02:00
justcool393
b9f2a7123e
actions: move pizzashill autovotes to actions
2022-10-30 01:03:23 -05:00
Aevann1
d7091c4799
force posts by PERMA-chudded users to go to /h/chudrama
2022-10-30 00:17:16 +02:00
Aevann1
227d074da7
remove redundant "noreferrer"
2022-10-29 23:46:35 +02:00
justcool393
35e2128dec
get: use function to get voted and blocked properties ( #425 )
...
* get: comments and posts: use get function from get.py
* fix prev commit
* move filter to correct place
* fix error and also log so i can figure out what's wrong
* comments: add some more trace logging
* should_keep_func always acts as return True if None is passed in
* remove logging code
2022-10-28 19:13:37 -05:00
Aevann1
b816973f38
ignore subdomains in banned_domains logic
2022-10-28 20:12:40 +02:00
Aevann1
94d1a7d98d
fix
2022-10-28 19:13:24 +02:00
Aevann1
8999a6ea29
fix
2022-10-28 19:08:52 +02:00
Aevann1
834516cd51
fix prev commit
2022-10-28 00:42:32 +02:00
Aevann1
1a35e2ec6a
refactor banned domains
2022-10-28 00:37:29 +02:00
Aevann1
ad358650e1
remove retarded bullshit I wasn't consulted about
2022-10-27 19:53:08 +02:00
Aevann1
8795ecfb58
fix thumbnails
2022-10-26 16:34:33 +02:00
Aevann1
883ab31cc9
Describe what Poor Mode does
2022-10-25 20:20:43 +02:00
Aevann1
fbeac461ca
refactor poorcel mode
2022-10-25 18:07:44 +02:00
Aevann1
3b16c8f3e3
close image files after ur done
2022-10-25 17:41:23 +02:00
gooseman
8b98eabbb9
simultaneous hosts
2022-10-24 15:28:43 -07:00
justcool393
ec1affcf85
posts: add MasterLawlz specific actions
2022-10-23 12:01:00 -05:00
Aevann1
7733449169
fix 500 error
2022-10-21 13:30:32 +02:00
justcool393
8fe73cb68e
refactor blackjack a bit
2022-10-20 19:28:05 -05:00
justcool393
360cff7e8f
add post bypass checking perm
2022-10-20 17:51:29 -05:00
Aevann1
465160dbe6
dont include SITE_FULL in post urls
2022-10-18 13:09:53 +02:00
Aevann1
3e7b37ec35
dont redirect to a repost for chadmins
2022-10-18 12:26:44 +02:00
Aevann1
44fca7f086
ripbozo
2022-10-17 21:13:33 +02:00
Snakes
2efe5d1522
Fix changelog channel messaging on draft publish.
2022-10-16 13:49:24 -04:00
justcool393
4b2ce3b7a0
use perms constant for unclub_post
2022-10-16 03:41:54 -07:00
justcool393
f4af073253
fix 17 potential 500s
2022-10-16 02:51:42 -07:00
justcool393
32a4693da9
fix a couple of potentially rare 500s
2022-10-15 14:35:24 -07:00
Snakes
616e15ebb9
Fix posting/commenting from API.
...
The rework to v.client meant that `is_bot` on Submission and Comment
would attempt to be populated with a ClientAuth object when submitted
by a bot other than Snappy or bbbb. SQLAlchemy requires an actual
boolean, not just a truthy value.
2022-10-15 10:11:14 -04: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