justcool393
db9b37de40
type hints for get functions :)
2022-10-12 02:22:13 -07:00
justcool393
96879894af
remove 417 (use 409) and reword 418 msg
2022-10-12 02:00:18 -07:00
justcool393
5377472146
show correct max video size
2022-10-12 01:53:23 -07:00
justcool393
ca7fa50419
remove 414 and change 413 msgs
...
* use 413 for videos and put explanatory text there
* add style text for 413 as well
2022-10-12 01:52:08 -07:00
Snakes
166e33dc38
Clarify architecture of sort_objects.
2022-10-12 04:05:26 -04:00
Aevann1
2aa281e8c8
refactor sorting again (untested)
2022-10-12 09:03:28 +02:00
Aevann1
925ec12141
more shadowban refactor
2022-10-12 08:53:32 +02:00
Aevann1
81b2e04ff7
Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost
2022-10-12 08:40:04 +02:00
justcool393
dcd875c40c
max image and video size are constants now
...
* the error pages still need to be fixed
2022-10-11 23:27:17 -07:00
Aevann1
e1ee9a69e4
refactor seeing shadowbanned shit (untested)
2022-10-12 08:24:30 +02:00
Aevann1
318a20250c
Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost
2022-10-12 08:10:15 +02:00
Aevann1
b1abd33835
refactor sorting
2022-10-12 08:10:11 +02:00
Snakes
baf0386d8c
PCM: re-enable gambling.
2022-10-12 02:08:20 -04:00
justcool393
501fbbf5d3
move antispam code to actions
2022-10-11 22:34:55 -07:00
Aevann1
0cb2a56f5c
fix last commit
2022-10-11 19:28:08 +02:00
Aevann1
a9dd6bf1e7
add a media check
2022-10-11 19:26:38 +02:00
Aevann1
b544171449
store the fullpath in the media table
2022-10-11 19:20:15 +02:00
Aevann1
466867afd1
Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost
2022-10-11 18:41:12 +02:00
Aevann1
e3a3cbd358
add "hot" comment sorting
2022-10-11 18:41:09 +02:00
justcool393
63215b8888
move messages to constant file and also remove special logic for PCM, instead opting to modify the constant instead
2022-10-11 08:40:19 -07:00
Aevann1
06c858b6cf
fix 500 error
2022-10-11 15:43:57 +02:00
Aevann1
998b966f2b
remove unnecessary shit in wrappers
2022-10-11 15:19:55 +02:00
justcool393
01138ab592
bypass read only mode perm
2022-10-11 00:54:02 -07:00
justcool393
456dd43bba
replace "if not FEATURES" with wrapper
2022-10-11 00:33:23 -07:00
justcool393
ab2ab2ddf9
improve wrappers so they can be used with others
2022-10-11 00:33:23 -07:00
justcool393
940f815f84
loudly tell users they can't do this while suspended
2022-10-10 23:15:09 -07:00
justcool393
75e593da00
Revert "feature required wrapper"
...
This reverts commit 8700bcc5ee
.
2022-10-10 02:54:47 -07:00
Aevann1
30813fc719
Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost
2022-10-10 11:06:32 +02:00
Aevann1
00b045c464
tweak env again
2022-10-10 11:06:27 +02:00
justcool393
f872f734ec
constantify a bunch of things
...
* sign up follow id is now a thing (if not specified will just msg carp instead)
* notification thread id is also a constant now
* blackjackbtz id is a constant, used for i think special PM handling
2022-10-09 23:37:42 -07:00
justcool393
8700bcc5ee
feature required wrapper
2022-10-09 23:16:05 -07:00
justcool393
1111932b8c
remove weird random check if it's an issue we can readd it
2022-10-09 13:13:55 -07:00
justcool393
6d5dcaec9a
fix long post bot lol
2022-10-09 09:40:20 -07:00
justcool393
a9064e7828
newline at eof
2022-10-09 06:52:41 -07:00
justcool393
56e800fd9d
move basedbot to actions as well
2022-10-09 06:49:08 -07:00
justcool393
64cd774390
ree
2022-10-09 06:29:58 -07:00
justcool393
63c7fe0c29
move zozbot and longpostbot into the actions helpers
2022-10-09 06:28:18 -07:00
justcool393
87fd8ee57a
comment sanity checks and constantization
...
* make HTML body length a constant and use it
* abort before uploads and other tasks if comment level is too deep
* what a nightmare of two functions, please do better next time
2022-10-09 05:54:46 -07:00
justcool393
8ea52ba95c
constantify comment body length limit and transfer limit
2022-10-09 00:20:28 -07:00
Aevann1
b515b8bd15
change DOMAIN env var to SITE (for consistency)
2022-10-08 04:06:55 +02:00
Aevann1
cbbcbd570a
Revert "fix WPD"
...
This reverts commit 6750a156fd
.
2022-10-08 03:19:16 +02:00
Aevann1
6750a156fd
fix WPD
2022-10-08 03:14:54 +02:00
Aevann1
2a638f71c3
Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost
2022-10-08 02:44:06 +02:00
Aevann1
cfd4b6399f
use mailgun again
2022-10-08 02:44:02 +02:00
Aevann1
aa8e7055fb
rework env vars a bit
2022-10-08 02:43:04 +02:00
Snakes
7ea61f423d
PCM: disable gambling; extend FEATURES['GAMBLING'].
2022-10-07 20:31:46 -04:00
justcool393
48384ba8e5
convert a couple of the old constantified permissions to the new system
...
i don't want to break something so i'm keeping one of them for now but it just links
2022-10-07 01:50:20 -07:00
justcool393
26fbf726a4
remove unused permission
2022-10-06 23:24:00 -07:00
justcool393
e372158729
Merge branch 'frost' into permissions-refactor
2022-10-06 19:05:42 -07:00
Aevann1
01071a20e8
add banner_thread to PCM
2022-10-07 03:32:08 +02:00