justcool393
b7a24f6fa1
errors: don't do anything with the user
...
this is an evil context to have a user in do not change this
or i will find you whatever country you're from
2022-11-30 13:07:29 -06:00
justcool393
46f2b805ef
config: fix _SETTINGS dict and stray signups
2022-11-30 13:03:46 -06:00
justcool393
69a44baea7
settings: convert all to snek_case
2022-11-30 12:26:07 -06:00
justcool393
d395bcab69
logging: create somewhat sane logging
2022-11-30 12:09:31 -06:00
justcool393
0106a4e340
antispam: under siege mode
2022-11-30 11:37:35 -06:00
justcool393
b59e4cadaa
login: don't allow logged in users to attempt to login
2022-11-30 10:49:15 -06:00
Aevann1
836d3bfd98
include v in errors if possible
2022-11-30 15:21:12 +02:00
Aevann1
abe07e7754
this is retarded
2022-11-30 13:35:57 +02:00
justcool393
c0f1b875d0
chat: ratelimit chat lol
...
apparently we haven't done that xdd
2022-11-29 19:36:09 -06:00
justcool393
c315a2a259
amend previous
2022-11-29 19:31:28 -06:00
justcool393
883be4019c
kofi: fix kofi 500
2022-11-29 19:30:33 -06:00
justcool393
db31fc17de
ratelimits: turn off autocheck so we can init
...
required app context globals
2022-11-29 19:29:06 -06:00
justcool393
f2411415dd
fix missing required context variables on 429 and remove flex tape
2022-11-29 19:12:43 -06:00
justcool393
20459a59dd
flex tape patch
2022-11-29 18:06:16 -06:00
Aevann1
de8a45412b
fix /icon.webp
2022-11-30 01:56:11 +02:00
justcool393
11059d1665
move calc users to context processor ( #31 )
...
jinja more like i can't think of anything witty
Co-authored-by: justcool393 <justcool393@gmail.com>
Reviewed-on: #31
Co-authored-by: justcool393 <justcool393@noreply.fsdfsd.net>
Co-committed-by: justcool393 <justcool393@noreply.fsdfsd.net>
2022-11-29 23:50:32 +00:00
Aevann
9893ede920
fix browserconfig.xml ( #30 )
...
Co-authored-by: Aevann1 <randomname42029@gmail.com>
Reviewed-on: #30
2022-11-29 23:19:03 +00:00
Snakes
9fcdd65d38
PCM: improve Kippy's inflationary ergonomics.
2022-11-29 17:18:33 -05:00
justcool393
65236df78a
don't read multiple times etc
2022-11-29 16:11:07 -06:00
justcool393
80466f3150
chat: fix cache commit and stuff idk
2022-11-29 16:02:43 -06:00
justcool393
5056f09380
chat: fix 500 on some... weird... state... i think?
...
cache: get out of jinja templates
chat: threshold is now a const
2022-11-29 15:49:23 -06:00
Snakes
0dd7809b49
Sort banned_domains deterministically.
2022-11-29 16:24:13 -05:00
justcool393
03e7b4c6a2
events: initialize event_v properly
2022-11-29 14:35:28 -06:00
justcool393
67bfe5a5bd
remove unnecessary `str()`
2022-11-29 14:29:27 -06:00
geese_suck
a3fa96242c
holiday event manager (actually works now edition) ( #22 )
...
Co-authored-by: Snakes <duolsm@outlook.com>
Co-authored-by: justcool393 <justcool393@gmail.com>
Reviewed-on: #22
Co-authored-by: geese_suck <deandre.williams@geese-suck.us>
Co-committed-by: geese_suck <deandre.williams@geese-suck.us>
2022-11-29 20:20:26 +00:00
Aevann1
ed5b3dc4bb
remove ruckus.webp
2022-11-29 07:25:17 +02:00
justcool393
c47dae86ec
remove unused g attribute
2022-11-28 21:51:36 -06:00
Snakes
c762c84bde
worldcup2022: retain backwards compat on URL.
2022-11-28 22:39:51 -05:00
Aevann1
3e42918afb
minor background dedup
2022-11-29 05:37:56 +02:00
Snakes
d6680a29a3
Rename events.py and related to 'special'.
...
For @geese-suck's namespace conflict.
2022-11-28 22:36:20 -05:00
Aevann1
bf1da34dae
Revert "marseys table is way way too large to use javascript for sorting, you would've known that if u had tested"
...
This reverts commit fe0da05415
.
2022-11-29 05:22:59 +02:00
Snakes
2304876348
Fix emoji search after Marsey caching revert.
2022-11-28 22:18:16 -05:00
Aevann1
261abe3161
archives - add additional route for ease of use
2022-11-29 05:08:26 +02:00
Aevann1
8182be4730
minor syntax change for no reason
2022-11-29 03:53:30 +02:00
Aevann1
ff2503ce4b
fix 500 error
2022-11-29 03:47:54 +02:00
Aevann1
be8be13a01
move pinned comment ordering to SQLAlchemy
2022-11-29 02:04:06 +02:00
Aevann1
c0d91c9e71
fix last commit (i cant do this without coffee help me)
2022-11-29 01:48:16 +02:00
Aevann1
b6c45c4208
make going to the reddit version of archived posts easier
2022-11-29 01:45:52 +02:00
Aevann1
3d1c16044a
use abort instead of sending raw text lol
2022-11-29 01:38:41 +02:00
justcool393
8506c46306
wpd: remove special front page logic
2022-11-28 16:55:16 -06:00
Aevann1
f15350b2a8
fix subreddit links in archives
2022-11-29 00:12:39 +02:00
justcool393
fbcd089852
fix rare 401-302-401-302-429 loop
2022-11-28 13:41:08 -06:00
Snakes
a6d933333a
worldcup2022: don't double count wager on win.
2022-11-28 08:20:32 -05:00
Aevann1
3183e0a28e
dont allow ppl to use transparent theme without background
2022-11-28 08:11:07 +02:00
Aevann1
fe0da05415
marseys table is way way too large to use javascript for sorting, you would've known that if u had tested
2022-11-28 06:59:35 +02:00
Aevann1
0fd8157fa6
move CSP to nginx-level
2022-11-28 04:19:59 +02:00
Aevann1
4656fa0b8d
pin posts by pizza/impassionata/TGTW automatically for 1 hour
2022-11-28 04:07:06 +02:00
Aevann1
e8b4ef24ea
restore loop.index in voters.html
2022-11-28 03:52:58 +02:00
Aevann1
1475383549
fix stray piece of code i used in testing
2022-11-28 03:50:00 +02:00
Aevann1
89816775aa
fix 500 error ????
2022-11-28 03:48:53 +02:00
Aevann1
73a78f0e97
add pagination to simps/haters/simps for/hates lists and remove loop.index
2022-11-28 03:45:20 +02:00
Aevann1
d0047dcc5a
include users who have more than 30 days to be unbanned/unchhuded in /banned and /chuds for accountability
2022-11-28 03:32:01 +02:00
Aevann
ca8c8297c5
sort pinned top-level comments by most recent first
2022-11-28 01:16:49 +02:00
Aevann
4b8387a01c
dont count votes as real if made by alt
2022-11-28 01:16:49 +02:00
Aevann
053ef9fd66
fix error on votes on localhost
2022-11-28 01:16:49 +02:00
Snakes
8eb50d8bf9
worldcup2022: add winnings column to leaderboard.
...
There is probably a more compact way to write this SQL. I don't know
what it is. But it works and should be reasonably efficient.
2022-11-27 18:05:08 -05:00
Aevann
5d49821e7a
use https whenever u can
2022-11-28 00:53:37 +02:00
Snakes
7551add5d8
Unify admin badge page listings source.
2022-11-27 17:02:18 -05:00
Snakes
427f54175c
WPD: constantify badge whitelist, extend set.
2022-11-27 16:49:20 -05:00
justcool393
0c9d0d1bcd
world cup leaderboard 2022 ( #23 )
...
insert witty PR message here
a temporary lb for worldcup stuff
Co-authored-by: justcool393 <justcool393@gmail.com>
Reviewed-on: #23
Co-authored-by: justcool393 <justcool393@noreply.fsdfsd.net>
Co-committed-by: justcool393 <justcool393@noreply.fsdfsd.net>
2022-11-27 19:59:53 +00:00
justcool393
5a1224ddc7
fix shadowbanned and nonexistent users in marseys table
2022-11-27 11:13:23 -06:00
justcool393
767cc467bb
marseys: cache marseys and emojis and fun stuff ( #15 )
...
Co-authored-by: justcool393 <justcool393@gmail.com>
Reviewed-on: #15
Co-authored-by: justcool393 <justcool393@noreply.fsdfsd.net>
Co-committed-by: justcool393 <justcool393@noreply.fsdfsd.net>
2022-11-27 16:59:36 +00:00
justcool393
77bdb6e87f
themes: add glitter bg category per joan request
2022-11-27 10:15:15 -06:00
Aevann
d45fd6e645
fix designed hats being duplicated
2022-11-27 03:45:28 +02:00
Aevann1
4e4e649dc9
remove carp exception in /followers since we have pages now
2022-11-27 03:27:06 +02:00
Aevann1
c42a0e6a20
Revert "Revert "Revert "fix session bug" - pls for the love of god visit localhost after making a commit""
...
This reverts commit e6a328fc3a
.
2022-11-27 03:01:02 +02:00
Aevann1
84b6f43cf6
Revert "fix missing loggedin_counter and loggedout_counter"
...
This reverts commit 14828bd9f4
.
2022-11-27 03:00:32 +02:00
Aevann1
a46b62db0b
add pages to /followers /following /blockers and order them all by most recent first
2022-11-27 02:59:20 +02:00
justcool393
14828bd9f4
fix missing loggedin_counter and loggedout_counter
2022-11-26 18:55:26 -06:00
justcool393
e6a328fc3a
Revert "Revert "fix session bug" - pls for the love of god visit localhost after making a commit"
...
This reverts commit b7efa6ddd3
.
2022-11-26 18:45:12 -06:00
Aevann1
b7efa6ddd3
Revert "fix session bug" - pls for the love of god visit localhost after making a commit
...
This reverts commit fcdad601fb
.
2022-11-27 02:43:10 +02:00
Aevann1
395e136cd4
order user blocks by most recent first
2022-11-27 02:36:09 +02:00
justcool393
ffb79a1bb2
literally one line lmao
2022-11-26 18:33:55 -06:00
justcool393
fcdad601fb
fix session bug
2022-11-26 18:33:04 -06:00
Aevann1
a44bc53f3a
limited designed hats loserboard to rdrama.net
2022-11-27 02:27:33 +02:00
Aevann1
575a5080bd
unpaywall profile views
2022-11-27 02:20:54 +02:00
Aevann1
61612e7be3
fix missing "+ 1"
2022-11-27 02:19:50 +02:00
Aevann1
641926b425
restore diff messages to debug an issue
2022-11-27 02:16:08 +02:00
Aevann1
daa9d9c80b
Revert "calc users: log so we can find the root of this problem"
...
This reverts commit ba6e4721d3
.
2022-11-27 01:10:38 +02:00
Aevann1
14b2b9328a
Revert "don't want to crash on our precious logging code"
...
This reverts commit 992e4a0d1c
.
2022-11-27 01:08:44 +02:00
Aevann1
27bb38c0d5
Revert "the request is prolly boned anyway, let's help friends help me :)"
...
This reverts commit cfffbc61a0
.
2022-11-27 01:08:27 +02:00
justcool393
a56633c3b1
api: manual revert of e1f785c370
(by @Aevann1's request)
2022-11-26 15:25:00 -06:00
justcool393
6c5070f24d
fix 155a5b40c9
2022-11-26 15:19:10 -06:00
Aevann1
155a5b40c9
excise niggabit's solution for now
2022-11-26 23:04:42 +02:00
justcool393
0ff034b01b
add typing to a bunch of routes
2022-11-26 15:00:16 -06:00
Aevann1
15c7add942
fix bug
2022-11-26 22:54:17 +02:00
justcool393
19b73f8e7e
api: fix some missing imports
2022-11-26 14:46:49 -06:00
justcool393
e1f785c370
Merge branch 'docs' into 'master'
2022-11-26 14:40:32 -06:00
justcool393
ae50cc2772
const: rename constants from LIMIT to MINIMUM
...
the new name is much much clearer
2022-11-26 14:20:44 -06:00
Aevann1
bb153e541d
Revert "you posts: constantify truescore requirement"
...
This reverts commit 1b721126a2
.
2022-11-26 22:09:07 +02:00
justcool393
1b721126a2
you posts: constantify truescore requirement
2022-11-26 13:39:31 -06:00
Aevann1
d624dbe2de
fix this https://rdrama.net/post/125682
2022-11-26 08:11:00 +02:00
Aevann1
8a80616f84
insanely ghetto solution to long back-and-forth chains in notifs
2022-11-26 07:52:37 +02:00
Aevann1
4eb66e5802
fix login redir bug
2022-11-26 07:38:59 +02:00
Aevann1
a641acaf8f
use sets instead of lists in some statements
2022-11-26 06:52:47 +02:00
Nekobit
f59f641331
Merge branch 'docs' of fsdfsd.net:nekobit/rDrama into docs
2022-11-25 23:31:49 -05:00
Nekobit
dea8c3f7e3
docs: Remove unneccesary imports; @auth_desired
2022-11-25 23:30:49 -05:00
Aevann1
b3c47f5598
tell ppl how much Truescore they need to see /h/chudrama
2022-11-26 06:22:09 +02:00
Aevann1
bcbf524fbe
make sure stickied child comments are always at the top place they can be
2022-11-26 06:01:20 +02:00
justcool393
cfffbc61a0
the request is prolly boned anyway, let's help friends help me :)
2022-11-25 20:57:24 -06:00