Aevann1
739268774f
sneed
2022-08-01 02:41:12 +02:00
Aevann1
71748f22c2
sneed
2022-07-30 15:41:00 +02:00
Snakes
bc98d86c42
LGB: fix welcome message typo.
2022-07-29 22:11:12 -04:00
Aevann1
9838b01032
sneed
2022-07-30 01:23:33 +02:00
Aevann1
68c07b77bb
move site_settings.json out of the repo
2022-07-30 00:14:25 +02:00
Aevann1
684a804e6e
sneed
2022-07-30 00:07:08 +02:00
Snakes
0539609d61
Restrict abuse from young accounts.
2022-07-29 15:55:12 -04:00
Snakes
390acb66e0
cron.py: fix missing import, preserve /h/changelog.
...
Multiple closely related issues:
- When sub_inactive_purge_task was moved to cron.py, a number of
imports were not added. Notably, missing helpers/alerts.py.
This led to hole inactivity deletions not taking place.
- However, this proved useful: the hole it's been trying to delete
the past few days was /h/changelog. This has now been excluded
from deletion.
- Finally, the missing import would've meant the monthly procoins
disbursement would fail when it runs in a couple days. This has
likewise been fixed.
2022-07-29 15:12:56 -04:00
Aevann1
347604c433
make non-jannies unable to ping more than 3 ppl
2022-07-29 15:23:34 +02:00
Aevann1
aee293c72c
disable cumroad in deux
2022-07-23 16:33:26 +02:00
Aevann1
6a26672a8f
edit cumroad link
2022-07-23 16:31:19 +02:00
Aevann1
bcda8a9a5a
LGB enable gumroad
2022-07-23 16:29:49 +02:00
Aevann1
59faca9892
refine pronouns
2022-07-23 15:35:45 +02:00
Aevann1
6dd37ba757
fix previous commit
2022-07-23 15:03:59 +02:00
Aevann1
05837c5b08
fix previous commit
2022-07-23 15:03:30 +02:00
Aevann1
583767aa6f
stop notif spam on WPD
2022-07-23 15:02:36 +02:00
Aevann1
ed36803842
allow uppercase on pronouns
2022-07-23 14:41:49 +02:00
Aevann1
aa644fd208
allow a third pronoun if total character count is 11 or lower
2022-07-23 08:48:32 +02:00
Snakes
4723332e07
LGB: disable wordle.
2022-07-23 02:22:45 -04:00
Snakes
ed40fd9d76
Amend 2ccb50504: HOLE_OST -> HOLE_COST.
2022-07-22 15:43:34 -04:00
Aevann1
15073496c6
Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost
2022-07-22 03:18:23 +02:00
Aevann1
2ccb505045
fix sneks accidentially adding pronouns and houses to deux
2022-07-22 03:18:20 +02:00
Snakes
be1023f734
cron.py bugs: missing import; lottery edge case
2022-07-21 14:28:52 -04:00
Snakes
0fe1e57ecd
Fix cfa6c13ea: cron.py missing import.
2022-07-21 14:11:04 -04:00
Snakes
eb55a6cc01
LGB: disable country club.
2022-07-19 21:50:08 -04:00
Snakes
b4fdf248ef
LGB: disable profile bio, banner, song.
2022-07-19 21:20:52 -04:00
Snakes
d06ea7d349
LGB: disable markup commands.
2022-07-19 21:20:52 -04:00
Snakes
3225a2a3d4
LGB: disable awards, badges.
2022-07-19 19:59:39 -04:00
Snakes
82de9657e9
Fix commenting 500 from blackjack.py.
...
Apparently the blackjack code didn't have the global constants.
And was breaking everything when checking `FEATURES`.
2022-07-18 05:05:48 -04:00
Snakes
001caf0c98
LGB: Add static /kb/ route; two static pages.
2022-07-18 04:39:21 -04:00
Snakes
be983504b7
LGB: disable gambling.
2022-07-18 03:47:17 -04:00
Snakes
eef6c25b0b
LGB: Permission block, follow, voters visibility.
2022-07-18 03:17:45 -04:00
Snakes
0c43deeee6
FEATURES: pronouns, kys, chat, house, /vote perm.
2022-07-18 02:43:20 -04:00
Snakes
8f7d05d62d
Refactor feature flags to dict.
...
In anticipation of adding about a dozen more features flags to support
work for LGB, PIN_ENABLED and PROCOINS_ENABLED have been moved to the
FEATURES dict in const.py. More generally looking to create a unified
interface for logically-related constants, perhaps to support e.g.
later moving these settings from hardcoded constants to data.
2022-07-18 01:10:01 -04:00
Snakes
c4e8755a8d
LGB: const settings, welcome message.
2022-07-17 23:59:20 -04:00
Aevann1
8af9b8a339
wipe cringetopia
2022-07-18 04:46:03 +02:00
Aevann1
91fe866f47
fix comment sorting
2022-07-18 04:08:43 +02:00
Aevann1
4058e2adce
revert what I did with the slur regex
2022-07-17 21:17:46 +02:00
Aevann1
1998536e4e
fix previous commit
2022-07-17 19:19:48 +02:00
Aevann1
565b5c842a
fix fag slur filter
2022-07-17 19:18:52 +02:00
Aevann1
1fbefa7f69
fix wpd reddit mention spam
2022-07-17 19:14:01 +02:00
Aevann1
5703425418
improve slur regex
2022-07-17 07:24:53 +02:00
Aevann1
0b77e3f039
sneed
2022-07-16 20:37:07 +02:00
Aevann1
18ac7981ed
fix snappy gambling
2022-07-16 03:54:50 +02:00
Aevann1
8bd7bd0ff8
fix nitter regex
2022-07-15 15:45:57 +02:00
Aevann1
636e5e1254
fix camas.unddit.com
2022-07-15 15:27:45 +02:00
Aevann1
8da96d40f7
replace search.marsey.cat with camas.unddit.com
2022-07-15 15:00:51 +02:00
Snakes
a98f5e5706
PCM: raise pin limit to 10 for Kippy.
2022-07-14 21:21:20 -04:00
Aevann1
c56f3951e1
make roll command neater
2022-07-14 16:43:05 +02:00
Snakes
a217f76bad
Deux: sidebar, sidebar thread; restrict holes.
2022-07-14 02:19:59 -04:00
Snakes
88108594ad
Implement Deux login with rDrama challenge.
2022-07-13 20:36:04 -04:00
Aevann1
7243ed408f
allow "I" as the first pronoun
2022-07-13 23:43:46 +02:00
Aevann1
a7c5ad6045
change carp's id on lgbdropthet from 17 to 18
2022-07-13 23:37:15 +02:00
Aevann1
86717e37b2
refactor changelog
2022-07-13 23:03:11 +02:00
Aevann1
f5bacd8938
Revert "log ppl into deux automatically"
...
This reverts commit 86f7e627ea
.
2022-07-13 20:33:31 +02:00
Aevann1
86f7e627ea
log ppl into deux automatically
2022-07-13 20:14:07 +02:00
Aevann1
b2de11cb1a
add "pins" toggle to the frontpage
2022-07-13 19:31:35 +02:00
Aevann1
e3d2d24d94
fix this https://chapotraphouse.club/post/85005/chadblack2-soymad-soycry-soymad-black-man/2294928?context=8#context
2022-07-13 18:48:53 +02:00
Aevann1
aa4ab5b217
sneed
2022-07-13 17:16:53 +02:00
Aevann1
df096e7cc4
add #roll
2022-07-13 15:06:59 +02:00
Aevann1
f7c2befeed
allow deux jannies to add badges
2022-07-13 14:56:30 +02:00
Aevann1
f585597401
make deuxrama use rdrama's snappy quotes
2022-07-13 14:55:28 +02:00
Aevann1
dcc63c7834
add more image validation (to fix this https://chapotraphouse.club/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/2298173?context=8#context )
2022-07-12 22:30:00 +02:00
Aevann1
fb73fa0612
add target="_blank" to all external urls
2022-07-12 22:29:27 +02:00
Aevann1
3a97dac234
fix PCM reddit notifs
2022-07-12 21:26:07 +02:00
Aevann1
2a95c25675
allow @bbbb to vote
2022-07-12 21:23:37 +02:00
Aevann1
afa2f68804
change pronouns required format from 1-5 to 2-5
2022-07-12 20:28:07 +02:00
Aevann1
7a80ceef59
fix PCM reddit mentions
2022-07-12 02:47:46 +02:00
Aevann1
5ed43762aa
fix reddit notif spam
2022-07-12 00:55:40 +02:00
Aevann1
802952a555
relax slur filter on non-rdrama sites
2022-07-11 22:18:22 +02:00
Aevann1
0ee6566c21
tweak spider exclusion
2022-07-11 20:43:44 +02:00
Aevann1
bab105223b
make snappy archive youtube videos too
2022-07-11 19:45:07 +02:00
Snakes
c385e12f9d
Minor fix for pronouns logic.
2022-07-11 13:34:46 -04:00
Aevann1
6428dd08c5
add pronouns
2022-07-11 18:46:08 +02:00
Aevann1
c504b76329
fix this https://chapotraphouse.club/h/schizocel/post/84780/-/2289248?context=8#context
2022-07-11 16:09:13 +02:00
Aevann1
bf1fec7918
remove ban_reason when unbanning users
2022-07-11 14:35:28 +02:00
Aevann1
70ea10eaf6
rename chudrama to deuxrama
2022-07-11 14:25:27 +02:00
Aevann1
b5d9db86d1
refactor comment commands
2022-07-11 14:14:18 +02:00
Aevann1
bd323d2bb9
add 2 more trusted domains
2022-07-11 13:55:19 +02:00
Aevann1
e3ca369392
fix the id of the first user
2022-07-11 12:19:43 +02:00
Aevann1
a9e355c804
sneed
2022-07-11 11:52:59 +02:00
Aevann1
4c2cb82f48
change deux' assets
2022-07-10 22:27:56 +02:00
Aevann1
9c3976a622
make new users follow carp automatically v2
2022-07-10 18:23:32 +02:00
Aevann1
2ddbcaa254
change agendaposter phrase for chudrama
2022-07-10 16:37:05 +02:00
Aevann1
fe959573ec
fix 500 errors
2022-07-10 16:29:47 +02:00
Aevann1
2a1efff78b
repost new posts in WPD in discord
2022-07-10 16:25:42 +02:00
Aevann1
bb59cd0476
minor logic tweaks
2022-07-10 16:21:16 +02:00
Aevann1
9ea0f46250
tweaking offsite mentions a little
2022-07-10 15:02:24 +02:00
Aevann1
74a39109e9
fix WPD bugs
2022-07-10 14:05:12 +02:00
Aevann1
59844e8232
fix chudrama bugs
2022-07-10 13:57:18 +02:00
Aevann1
870a0f7084
fix 500 errors
2022-07-10 11:32:53 +02:00
Aevann1
c214d4b7cc
change sorting logic for WPD
2022-07-10 11:29:55 +02:00
Snakes
095b0229a2
LGB: Rename holes; make hole sidebar Drama-like.
2022-07-09 08:01:44 -04:00
Snakes
b47e9c7e18
Fix bot ID constants for CT, WPD, LGB.
...
seed-db.sql in a8fe49f232
was changed to no longer have a System
user to support the notifications rework. The default IDs in const.py
were updated to reflect this. However, CT/WPD/LGB had user IDs from
the pre-rework SQL yet were using default IDs. The constants were
updated to reflect the state on prod.
Strangely, LGB has no user id #2 . I have no idea why, but the
constants accurately reflect this fact.
2022-07-09 07:11:05 -04:00
Snakes
16125b419b
LGB: Disable Snappy Marseys; Snappy empty behavior.
2022-07-09 07:11:05 -04:00
Snakes
fde2d5ca11
LGB: Use static default pfp.
2022-07-09 07:11:05 -04:00
Aevann1
ec3b4357cf
refactor sorting and time filter
2022-07-09 12:32:49 +02:00
Aevann1
382df30e1f
show ALL timestamps in user's timezone + move scripts to the bottom of HTML templates to mimic rocketloader's behavior on localhost (for testing)
2022-07-09 10:35:47 +02:00
Snakes
02e096e5af
LGB: add custom emoji list.
2022-07-09 00:32:48 -04:00
Aevann1
a8fe49f232
kitchen sink commit, all over the place
2022-07-08 21:03:04 +02:00
Aevann1
c380848d47
remove leftover code from ill-fated joinedload attempt
2022-07-08 20:28:56 +02:00
Aevann1
ad1273995d
notifications rework
2022-07-08 20:06:54 +02:00
Aevann1
cfa6c13eaa
move 2 cron functions from routes files to .cron
2022-07-08 18:21:39 +02:00
Aevann1
b617321529
move all env-getting to .const
2022-07-08 18:21:13 +02:00
Aevann1
1549508e49
make :marseyunpettable: unpettable
2022-07-08 17:39:54 +02:00
Aevann1
e34f1a1c15
Revert "testing bandwidth"
...
This reverts commit d6559471b7
.
2022-07-08 17:13:37 +02:00
Aevann1
d6559471b7
testing bandwidth
2022-07-08 17:05:08 +02:00
Aevann1
c23366843e
fix 500 error on posting
2022-07-08 14:40:07 +02:00
Aevann1
18385f80a1
make snappy only comment on drafts when they're published
2022-07-08 13:44:17 +02:00
Snakes
894011335b
PCM: hole price- Kippy indecisive.
2022-07-07 23:43:48 -04:00
Snakes
c7467419b9
PCM: change hole cost.
2022-07-07 23:37:37 -04:00
Snakes
6ad935e12a
Permission flags UI visibility; start PERMS dict.
...
Original work started for WPD and LGB, who wish to restrict flags
visibility in the UI based on admin_level. To support this change and
upcoming changes, `const.PERMS: string -> int` was created.
Potentially targetting a future design where Permissions is a proper
business object integrated with the User model; however, for now just
looking toward getting admin_level magic numbers centralized.
This commit applies PERMS to: create_hole, flags visibility in UI,
flag removal in UI & backend. Flag visibility in Comment & Submission
json_raw methods is unaffected to avoid needing a user object to
build the JSON.
2022-07-06 23:45:33 -04:00
Aevann1
470b046702
compile regext outside of routes
2022-07-06 13:49:13 +02:00
Aevann1
4ba413eaa9
Revert "Revert "remove all joinedload bullshit I added""
...
This reverts commit 4057711c83
.
2022-07-06 13:08:11 +02:00
Aevann1
4057711c83
Revert "remove all joinedload bullshit I added"
...
This reverts commit c8d5eb0f57
.
2022-07-06 12:58:44 +02:00
Snakes
b66bfdcab9
sanitize.with_sigalrm_timeout: functools.wrap fix.
2022-07-06 05:01:48 -04:00
official-techsupport
548030fcf1
fix exceptions in sanitize leaving SIGALRM on
2022-07-06 04:46:00 -04:00
Aevann1
c8d5eb0f57
remove all joinedload bullshit I added
2022-07-04 09:04:14 +02:00
Aevann1
1115c1a574
fix reddit domain replacement
2022-07-04 05:08:33 +02:00
Aevann1
35e2e12e24
OPs can now rehole their posts
2022-07-04 04:19:43 +02:00
Aevann1
faa4f993f2
increase the price of progressivestack from 1000 to 1500
2022-07-04 04:06:28 +02:00
Aevann1
e60c4d46fe
Revert "testing bandwidth"
...
This reverts commit cc3137d730
.
2022-07-04 04:02:34 +02:00
Aevann1
c0c5057ab9
make reddit_domain_regex work with user profiles too
2022-07-04 03:12:28 +02:00
Aevann1
cc3137d730
testing bandwidth
2022-07-04 03:08:13 +02:00
Aevann1
a6b7fed2fc
minor logic change in /@username
2022-07-03 14:12:33 +02:00
Aevann1
8917427323
fix snytax error
2022-07-03 13:59:39 +02:00
Aevann1
ed86ec1c14
more query optimization v3
2022-07-03 13:56:40 +02:00
Aevann1
3e87b20ed0
more query optiimzation v2
2022-07-03 13:30:54 +02:00
Aevann1
72884713ac
more quert optimization
2022-07-03 13:21:58 +02:00
Aevann1
6c8bcc0bda
fix long emojis
2022-07-03 10:00:42 +02:00
Aevann1
1f0f0ef0be
messing with joins
2022-07-03 08:12:53 +02:00
Aevann1
c8b4838157
unmessing with queries
2022-07-03 06:34:29 +02:00
Aevann1
91951ed142
messing with relationships
2022-07-03 06:27:48 +02:00
Aevann1
076fad1108
fix 403 errors on unrelated text
2022-07-03 05:42:15 +02:00
Aevann1
e121523a42
fix accidential greentext in reddit mentions
2022-07-03 04:13:25 +02:00
Aevann1
3bfe9e984b
don't allow URLs with '\\' in them
2022-07-03 04:03:40 +02:00
Aevann1
587b864e0a
re-enable pins
2022-07-03 04:00:29 +02:00
Aevann1
bce4c13043
kitchen sink commit, all over the place
2022-07-02 12:44:05 +02:00
Aevann1
6ec0d25034
strip sanitized text
2022-07-02 12:12:52 +02:00
Aevann1
b6ca73a0c5
testing
2022-07-02 11:30:17 +02:00
Aevann1
bc41bb5584
testing, pls ignore
2022-07-02 11:29:01 +02:00
Aevann1
d0d15c319a
Poll rework ( #312 )
...
* poll rework
* forgot to do joinedload on comments
* Fix logic errors with voting, SQL syntax.
Kitchen sink commit from review of poll-rework changes:
1. Fix seed-db.sql syntax error.
2. Fix SQL patch file duplication of *submissions* tables rather
than one set of submissions and one for comments.
3. Start makeshift SQL patch folder, since this is a large change
that contributors may wish to apply to their local instances.
4. Fix checkbox (non-`exclusive`) polls being unable to be
unchecked. For consistency with `exclusive` polls, they should.
5. Fix changing the option of an `exclusive` poll when both
exclusive and non-exclusive options are present in one comment/
post causing the non-exclusive options to become unchecked.
(which, by my reading of SQLAlchemy `Query.one_or_none()`
really could break quite badly in some cases).
* link relationships with their counterparts
* small modification to poll unchecking
Co-authored-by: TLSM <duolsm@outlook.com>
2022-07-02 08:48:04 +02:00
Aevann1
83228249ad
fix marseyschizochadseethecapylovepat
2022-07-02 03:38:32 +02:00
Aevann1
77c1f96383
remove empty anchor tags
2022-07-02 02:54:59 +02:00
Aevann1
28786342dc
fix snappy archiving images
2022-07-02 02:25:58 +02:00
Aevann1
f56be06eb8
add hole pinning
2022-07-02 01:11:48 +02:00
Aevann1
9ffc3015e2
testing
2022-07-01 20:09:56 +02:00
Aevann1
e8f5827c5e
more testing
2022-07-01 15:34:11 +02:00
Aevann1
1676572f09
test
2022-07-01 15:15:44 +02:00
Aevann1
5bbd14ebd6
testing
2022-07-01 15:11:41 +02:00