Aevann1
f966262b97
Merge branch 'frost' of https://github.com/Aevann1/Drama into frost
2022-06-07 11:18:12 +02:00
Aevann1
d761fc27cd
Revert "Make CARP_ID's flair uneditable by others."
...
This reverts commit c2266985b7
.
2022-06-07 11:18:09 +02:00
Snakes
70b96162a7
Fix banned domain info leak in modlog.
2022-06-06 22:18:56 -04:00
Snakes
dece3fd460
Add user title coin cost parameter.
2022-06-06 19:02:23 -04:00
Aevann1
4aeb438c6b
extend removal notifs from only me to all Lvl3 jannies
2022-06-06 07:50:38 +02:00
Aevann1
282f8d885c
Merge branch 'frost' of https://github.com/Aevann1/Drama into frost
2022-06-06 07:42:21 +02:00
Aevann1
b2ec368a7e
give me a better discord role
2022-06-06 07:42:19 +02:00
Snakes
7556fe8988
Add lottershe badge logic, badge helper.
2022-06-06 00:07:38 -04:00
Aevann1
43dbcadc6b
add me into jannycord
2022-06-05 17:05:43 +02:00
Snakes
0e0a8d391b
Amend 20b136909: string comparison bug.
...
Fixes logic which failed because user_id was a string which I
improperly treated as an integer for comparisons.
2022-06-04 23:58:03 -04:00
Snakes
c2266985b7
Make CARP_ID's flair uneditable by others.
...
This is a kludge solution that sticks special case logic in places
it shouldn't be. However, community management demands necessitate it
quickly. Of the three ways to change a flair (customtitle), this
prevents using flairlocks and admin flair editing on the user with
CARP_ID. Only the user himself may change his flair through settings.
2022-06-04 23:34:44 -04:00
Snakes
843ff51ace
Make post rate limit site-specific.
2022-06-02 22:10:59 -04:00
Snakes
379ae664a3
Make PIN_LIMIT a per-site constant.
2022-06-02 19:45:33 -04:00
outruncolors
dfd521b652
Add quantity field to purchasing tickets / Make Chapose the beneficiary ( #302 )
...
* Add quantity field to purchasing tickets
* Remove height requirement for div (manlets seething)
2022-06-02 19:19:49 -04:00
float-trip
58c4b62163
Some fixes ( #300 )
...
* Narrow emoji_regex
* Fix mirrored pat emojis
* Fix ban icon on posts/comments
2022-06-02 19:18:10 -04:00
Snakes
df3127785a
Rename 'shit emojis.json' for sanity.
2022-06-02 05:15:41 -04:00
Snakes
1d49012c16
Revise 16587cdf7cf5, expand assetcache.
...
Assetcache: now supports js/userpage.js & js/userpage_v.js.
The three userpage*.html templates now implement it.
Revising gift messages 16587cdf7cf5:
- routes/users.py: Deduplicate code, more descriptive var name.
- templates/userpage.html: Move post-tax gift line below reasons
box. Ultimately just an aesthetic change.
2022-06-01 00:11:23 -04:00
Ubuntu
453d5f57a3
added a gift message to go with coin and bux transfers
2022-06-01 00:10:33 -04:00
Snakes
49622b3268
Lottery: add admin participants listing.
2022-05-31 23:20:39 -04:00
outruncolors
c2f598a17f
Move lottery to own page ( #296 )
2022-05-30 22:40:38 -04:00
Snakes
04a878a8c4
Make betting polls respect can_gamble.
2022-05-30 08:13:11 -04:00
Snakes
e32a4bda48
Add set/unset nsfw on comment to modlog.
2022-05-30 08:00:16 -04:00
Snakes
75758dd511
Feeds: make RSS valid, part trois.
...
Hopefully finishes the RSS fix saga. This one done in-house rather
than by patch, as 5d6d4f9ca0
and 29fdc774a9
had been.
This final change ensures the <updated> tag is always used, even
for un-edited posts. This appears to pass the W3C Validator using
local test data. We shall see how it behaves with data on prod.
2022-05-30 07:27:52 -04:00
Snakes
29fdc774a9
Feeds: make valid, part deux.
...
Continuation of 5d6d4f9ca0
. Again, h/t to our friends at WPD
for providing a patch.
2022-05-30 06:58:42 -04:00
Snakes
81e19b1aed
Add can_gamble user setting.
...
Users now have a toggleable can_gamble setting which disables their
ability to use all chance-based gains on the site: viz. slots,
blackjack, the lottery, and treasure chests.
This only applies on invocation of commands that start gambling
games, so it should cause no bugs when toggled with e.g. active
blackjack games.
This was added for the benefit of users with actual problems with
gambling, be they past addiction or religious conviction. All future
gambling features are humbly requested to respect it.
2022-05-30 05:32:45 -04:00
Snakes
5d6d4f9ca0
Feeds: make RSS valid.
...
Patch provided via c/o tejmar of WPD.
Intended to fix the invalid RSS format which caused issues when
using the feeds with Discord and Telegram.
2022-05-30 04:30:57 -04:00
Snakes
1f4c3ea6b0
Lottery: increase short-term ratelimit.
2022-05-30 00:31:48 -04:00
Snakes
5b6ba1ac82
Merge remote-tracking branch 'mccoxmaul/add-lottershe' into frost
2022-05-29 23:52:04 -04:00
Aevann1
de539ab7e5
fixed a bug that caused 500 errors when jannies left the input area for days empty when they chudded someone
...
also removed some useless code for checking admin status on alts (why did I add this)
2022-05-30 05:30:32 +02:00
Aevann1
e5dbc9bfdd
made it so ALL comments on ghosted posts are ghosted too, this includes the hidden poll comments
...
that way, the poll voters will be hidden and we can have anonymous polls
context: https://rdrama.net/votes?link=t3_2007526
2022-05-30 05:26:52 +02:00
Aevann1
27d81f6506
for rdrama.net, made it so the weekly chart always start before the site got made, and added variable chart width to accomodate that
2022-05-30 05:16:48 +02:00
Outrun Colors, LLC
9f384bf548
Remove extraneous route logic
2022-05-29 22:12:13 -05:00
Aevann1
b2c011a7ba
Give me a notification whenever one of the other jannies removes a post or comment
2022-05-30 05:01:03 +02:00
Aevann1
aff30db1fe
make sure the post/comment for which someone was banned is linked everywhere (for convenience)
2022-05-30 04:55:51 +02:00
Outrun Colors, LLC
b9dc28e6d1
Don't show lotteries on the sister sites
2022-05-29 20:43:16 -05:00
Outrun Colors, LLC
a0cc7e1cf6
Move more stuff to proper location
2022-05-29 19:49:14 -05:00
Aevann1
ecb4a56047
fixed global variable bug in /stats
2022-05-30 01:01:40 +02:00
Aevann1
3e472c74e0
Removed "make admin" on rdrama.net
2022-05-29 20:36:51 +02:00
Snakes
0a73083e8a
Add settings toggle for UI animations.
2022-05-29 03:08:28 -04:00
Outrun Colors, LLC
562202b38d
Reorganize route logic
2022-05-29 01:06:39 -05:00
Outrun Colors, LLC
bef0b0ff6d
Add participants and field updating
2022-05-29 01:01:45 -05:00
Outrun Colors, LLC
1a55a7670e
Send notifications to winners and losers
2022-05-28 23:23:20 -05:00
Outrun Colors, LLC
469c39dca6
Configure admin section and purchasing a ticket full flow
2022-05-28 22:33:44 -05:00
Outrun Colors, LLC
cf7ee615e6
Add skeleton for route interactions
2022-05-28 19:02:35 -05:00
Outrun Colors, LLC
4eb9095ae5
Initial connection of front-end to back-end.
2022-05-28 18:26:30 -05:00
Aevann1
6584919d41
sdf
2022-05-28 22:25:28 +02:00
Aevann1
851eff0f18
sdf
2022-05-28 19:50:48 +02:00
Aevann1
709c756660
fds
2022-05-28 16:55:22 +02:00
Aevann1
cd2380fb33
fds
2022-05-28 04:20:31 +02:00
Aevann1
1d0da9df3c
sfd
2022-05-28 02:46:44 +02:00
Aevann1
4e5f7935dd
dfs
2022-05-28 02:30:07 +02:00
Aevann1
4c112b1edb
dsf
2022-05-27 23:31:02 +02:00
HappyDOGE
d6b4c3b166
Added offline service worker (serves a static webpage when no internet connection is present) ( #285 )
...
based
2022-05-27 21:23:01 +02:00
Aevann1
384afb125a
fsd
2022-05-27 17:28:30 +02:00
Aevann1
66b3efab36
award refactor
2022-05-27 01:08:23 +02:00
Aevann1
02e9d2f2b5
fsd
2022-05-26 23:08:31 +02:00
Aevann1
13fcc1881a
dfsfds
2022-05-26 23:07:06 +02:00
Aevann1
758a30e166
fsd
2022-05-26 22:53:24 +02:00
Aevann1
d4f7f5497b
fds
2022-05-26 22:49:36 +02:00
Aevann1
630996faee
gfd
2022-05-26 22:31:08 +02:00
Aevann1
8ba5f07bb6
sdf
2022-05-26 22:17:09 +02:00
Aevann1
0ac85b3192
fsd
2022-05-26 22:14:47 +02:00
Aevann1
f72015382a
crgd is a king
2022-05-26 22:04:39 +02:00
Aevann1
f7dea74b37
fds
2022-05-26 21:19:33 +02:00
Aevann1
1e8c00f6fe
fsd
2022-05-26 21:15:24 +02:00
Aevann1
957cf5ba8f
dfs
2022-05-26 20:09:44 +02:00
Aevann1
c5ace85f9b
fsd
2022-05-26 17:57:24 +02:00
Aevann1
163267c88c
Revert "Add Y'all Seein' Eye award."
...
This reverts commit a0f441a67d
.
2022-05-26 02:51:42 +02:00
Aevann1
acc4e3503f
Merge branch 'frost' of https://github.com/Aevann1/Drama into frost
2022-05-26 01:46:40 +02:00
Aevann1
32bc1b3c2a
afsfds
2022-05-26 01:46:38 +02:00
Snakes
a0f441a67d
Add Y'all Seein' Eye award.
...
Adds award to enable viewing profile visitors for non-mops and
non-patrons. This commit should encompass all frontend, backend, and
database changes necessary. Perhaps usable as a model for other
user upgrade flag awards.
2022-05-25 19:44:34 -04:00
Aevann1
a749a7eea9
fds
2022-05-26 01:43:42 +02:00
Aevann1
7c858c6439
fds
2022-05-26 01:42:34 +02:00
Aevann1
b254fd77cb
fsd
2022-05-26 01:25:51 +02:00
Aevann1
c8c6ec6eea
dsf
2022-05-26 00:08:16 +02:00
Aevann1
1c6ca7c9e0
fds
2022-05-26 00:02:54 +02:00
Aevann1
60058c5130
fsd
2022-05-26 00:02:18 +02:00
Aevann1
8d1c9d710d
fsd
2022-05-25 23:25:23 +02:00
Snakes
6784ccdd27
loggedin: Order by JL, TS desc.
2022-05-25 16:37:02 -04:00
Aevann1
50b995d3a0
fds
2022-05-25 22:16:26 +02:00
Aevann1
195148da1e
sfd
2022-05-25 21:45:34 +02:00
Aevann1
94151bf2d6
fsd
2022-05-25 21:45:03 +02:00
Aevann1
c213451722
fdsfdsxc
2022-05-25 20:44:43 +02:00
Aevann1
386db76c10
crgd is a king
2022-05-25 20:29:22 +02:00
Aevann1
162bf9dad7
no more g.timestamp y'all couldn't behave
2022-05-25 17:42:04 +02:00
Snakes
42d810a5e7
Leaderboard: fix user join for ea48c46b0f
.
...
After ea48c46b0f
adds the leaderboard table for most blocked user,
it appeared that the user profile links did not appear correctly.
As such, it was necessary to join on the appropriate information.
This has been (mostly) resolved, excluding the removal of profile
picture because profile_url has logic in Python.
If someone knows SQLAlchemy better than I do, please redo this and
add the profile pictures back into the template. However, I got tired
of fighting with the ORM when I already knew the damn query.
2022-05-25 06:09:13 -04:00
Snakes
ea48c46b0f
Leaderboard: add 'Most Blocked' hiscores.
2022-05-25 05:24:31 -04:00
Snakes
1c7458e111
Sanitize: modularize normalize_url, fix streamable.
...
Originally prompted by https://rdrama.net/post/18459/-/1984609 which
noticed that streamable.com/e/ links as posts would have another e/
added to them. This was in spite of logic in posts.py api_is_repost
and submit_post designed to specifically counteract this.
Proximal cause was a copypasta'd url.replace(...) chain which
caused the mistake before the streamable-specific logic had a chance
to avoid making it.
Solution: remove the streamable replacement from the chained statement
and create `helpers.normalize_url(url)` to get rid of the copypasta.
2022-05-25 04:43:16 -04:00
Aevann1
b2de1dca52
upload mp3
2022-05-25 01:26:50 +02:00
Aevann1
9af50ae9b3
jannies can now block ppl
2022-05-24 22:43:49 +02:00
Aevann1
2b9dcb0c6a
users here now
2022-05-24 22:19:18 +02:00
Aevann1
bbd851210e
fds
2022-05-24 17:32:49 +02:00
Aevann1
0bd15d3914
burgers?
2022-05-23 21:00:14 +02:00
Snakes
62c85cd314
Fix admiggers assets CF purge requests.
2022-05-23 01:04:59 -04:00
Aevann1
649f8d5323
vdffsd
2022-05-23 00:45:04 +02:00
Aevann1
f0dec0d06d
Merge branch 'frost' of https://github.com/Aevann1/Drama into frost
2022-05-23 00:21:13 +02:00
Aevann1
0a74a98ec5
big ass commit
2022-05-23 00:15:29 +02:00
Aevann1
112a2679cc
fsd
2022-05-22 22:05:44 +02:00
Aevann1
9bc310a6a4
sfd
2022-05-22 19:23:52 +02:00
Aevann1
ee9b5f2bcd
g
2022-05-22 18:15:40 +02:00