Snakes
612fd44298
Fix cli.py running in wrong working directory.
...
Previously, cli.py ran in <repo-root>/files. However, our relative
paths assume the working directory is <repo-root>. This resulted in
sanitize.render_emoji L153 to improperly return false when checking
for the presence of 'files/assets/images/emojis/{emoji}.webp',
leading to emojis in notifications sent by cli.py-invoked tasks to
not be rendered to HTML.
2022-06-19 05:28:07 -04:00
Snakes
26686a65ec
Finish adding admin home cards.
2022-06-19 04:55:44 -04:00
gooseman
1559cdfc1e
Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost
2022-06-19 00:18:24 -07:00
gooseman
cde860da55
update admin panel with snakes template thing
2022-06-19 00:18:14 -07:00
Snakes
eb8b85eb09
Exclude drafts from edit limit.
2022-06-19 02:10:37 -04:00
Snakes
e5193cbd46
Fix mention sanitize when `g.v` not present.
...
This bug was discovered when lottery.check_if_end_lottery_task was
failing due to a stack trace thru end_lottery session < badge_grant
< send_repeatable_notifications < sanitize L208. In particular, when
`flask cron` (helpers/cron.py) executes, it does not set g.v, whereas
this code previously assumed that g.v : (None + User) and did not
check for its presence.
2022-06-18 21:22:04 -04:00
Aevann1
214d863ff3
Merge branch 'frost' of https://github.com/Aevann1/Drama into frost
2022-06-19 01:55:47 +02:00
Aevann1
f1f30635b2
hide deleted posts and comments from userpages (frequently requested)
2022-06-19 01:55:45 +02:00
Snakes
27b6055d6e
Exclude JL3 from edit_post limit (megathreads &c).
2022-06-18 18:24:59 -04:00
Aevann1
193615a441
make sure thumbnails are always lower than 8 MB
2022-06-18 23:11:53 +02:00
Aevann1
668cfdc90a
made it not possible to edit posts/comments older than a week
2022-06-18 22:53:10 +02:00
Aevann1
eba4452d79
fix 500 error
2022-06-18 22:41:00 +02:00
Aevann1
dc8f230ae4
fix 500 error
2022-06-18 22:11:50 +02:00
Aevann1
dde19f7d85
fix 500 error related to variables
2022-06-18 19:50:03 +02:00
Aevann1
5520447d55
make modmail messages use the files refactor
2022-06-18 19:41:24 +02:00
Aevann1
8eaacff14b
switch "chaptraphouse.club" with "rdrama.lol"
2022-06-18 18:32:43 +02:00
Aevann1
b34dd88560
remove legacy code in video upload (thx @everyone)
2022-06-18 18:23:10 +02:00
Aevann1
22557b62fb
Merge branch 'frost' of https://github.com/Aevann1/Drama into frost
2022-06-18 18:20:39 +02:00
Aevann1
b017dedd24
fix bug in image preview in /submit
2022-06-18 18:20:36 +02:00
Aevann1
378bfc76ba
fdMerge branch 'frost' of https://github.com/Aevann1/Drama into frost
2022-06-18 16:13:56 +00:00
Aevann1
453d83856e
add .press tld
2022-06-18 18:07:57 +02:00
Aevann1
ccdabcba29
allow uploading of all types of files (using lain.la)
...
+ allow multiple file upload in bios and messaging admins
2022-06-18 17:53:34 +02:00
Aevann1
56f8cf793e
give visible bots a body column (so their comments are searchable)
...
+ don't sanitize zoz/longpostbot/aj comments
2022-06-18 17:37:01 +02:00
Aevann1
9622f7e093
sneed
2022-06-18 14:00:02 +00:00
Aevann1
8d83c6944b
readjust ricardo3
2022-06-18 15:27:04 +02:00
Aevann1
31b0bd5b68
readjuct ricardo3 again
2022-06-18 15:22:03 +02:00
Aevann1
088e98ed1b
readjuct ricardo3
2022-06-18 15:21:03 +02:00
Aevann1
efb17ad0ee
sneed
2022-06-18 08:00:02 +00:00
Aevann1
0245938959
sneed
2022-06-18 06:31:01 +00:00
Aevann1
89a85a8ec0
remove weird trailing tabs
2022-06-18 04:13:55 +02:00
Aevann1
7387616100
move all of wholesome award to translate
2022-06-18 04:11:27 +02:00
Aevann1
712bb52392
fix 500 error on /settings/gumroad
2022-06-18 03:59:33 +02:00
Aevann1
76ac00f04b
convert 1 part of wholesome award on inferior browsers to translate + clean up awards.css
2022-06-18 03:53:25 +02:00
Aevann1
c609e98ba5
move ricardo from top-left to translate
2022-06-18 03:39:50 +02:00
Aevann1
f60db1598d
replace "g.db.query" on pkeys with the much more efficient "g.db.get"
2022-06-18 02:57:23 +02:00
Aevann1
c42cb538aa
add a button for PCM to print marseybux
2022-06-18 02:35:27 +02:00
Aevann1
ecf37a58f1
sneed
2022-06-18 00:00:01 +00:00
Aevann1
82cede6e1a
more gif modal bullshit
2022-06-18 01:57:02 +02:00
Aevann1
8c137fef2b
verify cloudflare
2022-06-18 01:22:56 +02:00
Aevann1
96d7df327f
Revert "CF verification"
...
This reverts commit 62644f452f
.
2022-06-18 01:19:42 +02:00
Aevann1
62644f452f
CF verification
2022-06-18 01:18:06 +02:00
Aevann1
80852cc395
specify encoding when reading text files
2022-06-18 00:19:18 +02:00
Aevann1
28fa03669d
use f-string
2022-06-18 00:14:27 +02:00
Aevann1
0b0e3454f8
Fix replacement of link with itself (stolen from themotte)
2022-06-18 00:10:19 +02:00
Aevann1
91f343f662
Merge branch 'frost' of https://github.com/Aevann1/Drama into frost
2022-06-18 00:03:25 +02:00
Aevann1
c01d53aa0d
make mentioning case-insensitive again
2022-06-18 00:03:23 +02:00
Aevann1
bf181f083f
sneed
2022-06-17 22:00:01 +00:00
Aevann1
50135ce159
Merge branch 'frost' of https://github.com/Aevann1/Drama into frost
2022-06-17 22:42:34 +02:00
Aevann1
17144cd98e
Added mentions to the markdown preview (stolen from themotte)
2022-06-17 22:42:31 +02:00
Snakes
c46f785229
Loosen auth requirement on /directory.
2022-06-17 16:38:30 -04:00