Aevann1
c100ed415c
increase edit_post ratelimit so it doesnt fuck with drafts
2022-06-09 20:09:18 +02:00
Aevann1
63c16a867a
make the ratelimit for editing much lower to cut
...
down on mass overwriting
2022-06-09 18:10:25 +02:00
Aevann1
cea253a52c
don't notify me anymore of carp posts
2022-06-09 15:29:13 +02:00
Snakes
b94e71450f
Add un-holing to hole report command.
2022-06-09 02:42:52 -04:00
Snakes
995375decc
Refactor reddit mentions, move to cron.
...
The reddit mentions system contained much duplicated code and was
grafted onto the post thumbnail pipeline to achieve semi-regular
invocation. Instead, we now run it through the new cron system,
and the duplicate code has been refactored out.
2022-06-07 10:42:24 -04:00
Snakes
152315f73e
cron: Move charts from static to helper.
2022-06-07 08:31:24 -04:00
Aevann1
d431ae1ecd
re-prioitize effortposts (with a lot of links) in the frontpage
2022-06-07 13:26:39 +02:00
Aevann1
aaeb09fd91
add me to WPD discord too
2022-06-07 12:55:50 +02:00
Aevann1
1bce1c273f
no more 500 error
2022-06-07 12:32:48 +02:00
Aevann1
4a1e6cc726
a 500 error is much better than an XSS, bro
2022-06-07 12:03:51 +02:00
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
Aevann1
236ce22c52
fsd
2022-05-22 18:14:32 +02:00
Aevann1
969d1898b5
vid refactor
2022-05-22 18:13:19 +02:00
Aevann1
0af46237f6
stripper
2022-05-22 12:26:59 +02:00
Aevann1
53dd9056b8
fsd
2022-05-22 12:23:02 +02:00
Aevann1
8807ed0d13
fds
2022-05-22 10:58:42 +02:00
Snakes
23d93b2f19
Fix Snappy post pinning condition.
...
Recently, caa81452f4
relaxed the condition for Snappy pinning a post
from `body.startswith(':#marseypin:')` to the same sans trailing colon.
I believe this was intended to allow :marseypin2: to also lead to post
pinning. However, the amusing, though incorrect, side effect is that
:marseypinkcat: and :marseypinochet: can now also lead to Snappy pins.
This has been remedied by explicitly defining the two conditions we
want rather than hoping all :marseypin [sic] are about pinning.
2022-05-22 00:36:45 -04:00
Aevann1
2cfd7c74a0
fds
2022-05-20 21:00:13 +02:00
Aevann1
a83a72ca95
fsd
2022-05-20 16:51:14 +02:00
Aevann1
f4ac063354
sfd
2022-05-20 16:48:13 +02:00
Aevann1
5548160912
fsd
2022-05-20 00:56:53 +02:00
Snakes
b7594e2cd2
Merge remote-tracking branch 'upstream/frost' into birthgay-staging
2022-05-19 18:32:17 -04:00
Aevann1
b3740dca14
gf
2022-05-20 00:00:24 +02:00
Snakes
c789f6923e
Merge remote-tracking branch 'upstream/frost' into birthgay-staging
2022-05-19 17:59:35 -04:00
Aevann1
db3ed7961f
idk
2022-05-19 20:36:26 +02:00
Aevann1
3e2af45a59
fds
2022-05-19 19:58:18 +02:00
Snakes
289a00c302
Lootboxes: remove notification to Carp.
2022-05-18 17:33:40 -04:00
Aevann1
ef0046f091
fsd
2022-05-18 21:29:07 +02:00
Snakes
f0c9a354e9
Implement better double XP infrastructure.
...
Double XP now has a constant for unixtime to start. Logic around
DXP is designed to only apply to votes made after DOUBLE_XP_ENABLED.
This prevents an exploit in the old implementation where spam voting/
unvoting a post made prior to the DXP start could farm 300 DC/hr/alt.
Also it's more maintainable and comports with the coin_delta changes
to prevent self-vote coin changes.
2022-05-18 00:54:05 -04:00
Snakes
b51ab09b27
Lootboxes: re-enable for birthgay, improve.
...
Re-enable lootboxes in const.py, and update their contents in
awards.py. Additionally, improve appearance in shop.
Upon purchasing a lootbox, users now receive a message informing
them of the contents thereof.
Lootbox backend now properly uses CARP_ID (and checks for the
existence thereof correctly).
Also, minor changes to how const.py whitelists awards.
2022-05-17 22:10:04 -04:00
Aevann1
c80dcaf706
sfd
2022-05-17 18:16:56 +02:00
Aevann1
0e8a2ad1c8
sdf
2022-05-17 18:03:59 +02:00
Aevann1
ed7e4c61c1
fds
2022-05-16 21:42:34 +02:00
Aevann1
19863e8c1a
sfd
2022-05-16 21:41:19 +02:00
Snakes
32416e71fa
Fix /stats distinct user count fields.
...
The COUNT(*) performance optimization in b71ae6cc74
was a bit
overzealous and wound up breaking four fields in /stats intended to
count distinct users who performed certain activities. These fields
were returned to their original implementation.
2022-05-14 17:24:55 -04:00
Aevann1
9df5e30d66
sdf
2022-05-14 19:13:20 +02:00
Aevann1
7278e65362
fds
2022-05-14 16:12:51 +02:00
Aevann1
709e6b75e6
fsd
2022-05-14 16:04:14 +02:00
Aevann1
ed0d225554
sfd
2022-05-14 15:11:11 +02:00
Aevann1
caa81452f4
sf
2022-05-13 14:38:14 +02:00
float-trip
9be2264a65
Fix profile CSS on localhost ( #260 )
2022-05-12 16:21:55 +02:00
DrTransmisia
04aefc2462
worst asymptotic behavior ( #259 )
...
* ditched the log search in favor of the polynomial search otherwise poor carp can't search for xis boyfriend marseysamhyde querying "hyde" and instead of properly tag it ["sam", "hyde"] I had to ditch the search alg made in the image of G-d
* le new line
* anton-d on all dramaverse
2022-05-11 19:49:27 +02:00
Aevann1
837d90bfa5
fsdgfdfg
2022-05-10 14:14:28 +02:00
Aevann1
fac797006e
sf
2022-05-10 14:14:09 +02:00
Aevann1
9bd8fcbd1c
sf
2022-05-10 09:20:49 +02:00
Aevann1
eb803788e7
Merge branch 'frost' of https://github.com/Aevann1/Drama into frost
2022-05-10 03:12:13 +02:00
DrTransmisia
99eeb3ee4b
Bussysussy ( #256 )
...
* improved static emojis descriptions and file readability
* perf improv. 2
* some minor tweaks
* final tweaks to js and mobile css
* very final
2022-05-10 02:58:57 +02:00
Aevann1
bfc50ee469
sf
2022-05-09 17:29:44 +02:00
Aevann1
db2a8236db
af
2022-05-09 16:07:29 +02:00
Aevann1
b71ae6cc74
sf
2022-05-09 13:21:49 +02:00
Aevann1
7ddd5ec76a
sfd
2022-05-09 11:32:55 +02:00
Aevann1
5fddfae64c
sf
2022-05-09 11:08:26 +02:00
Aevann1
71890a2dd1
sfd
2022-05-09 10:47:35 +02:00
Aevann1
051b35a028
sf
2022-05-09 04:16:28 +02:00
Aevann1
f1458c091f
sfd
2022-05-09 03:37:50 +02:00
TLSM
c7ba75516b
Switch to marsey.cat for Snappy /u/. ( #251 )
...
* Switch to marsey.cat for Snappy /u/.
camas is down, replacing it with search.marsey.cat.
Note that when looking for existing Snappy comments to test against,
it appears that something else with Snappy generation is broken.
Ex: /post/66263/-/1876803 puts an entire post URL in the author field.
This commit makes no attempt to fix this. TODO for later.
* Fix Snappy body /u/ extracting author from post URL.
Following up on 1137996f0fe7:
Issue was that author was being extracted from post.url, not href.
Given that the relevant code section is specifically for /u/s in the
body text of the submission, this was a problem.
2022-05-09 01:50:39 +02:00
Aevann1
1a2869e256
sfd
2022-05-08 07:30:15 +02:00
Aevann1
666870e0a3
fsd
2022-05-08 07:14:24 +02:00
TLSM
6656edeefc
Refactor admig logic, fix banners path. ( #250 )
...
Made the logic of the recent admig upload thread fixes (arguably)
more Pythonic, or at least less verbose.
Also, the banners path was replaced with a duplicate of the sidebars
path during the copypasta. This has been remedied.
2022-05-08 07:01:49 +02:00
Aevann1
af6d359496
fgd
2022-05-08 06:21:05 +02:00
Aevann1
dd94e3ea84
fds
2022-05-08 06:18:27 +02:00
Aevann1
eafc895724
fsd
2022-05-08 06:17:50 +02:00
Aevann1
9541e3db47
sfd
2022-05-08 06:10:33 +02:00
Aevann1
206a4c81a2
sfd
2022-05-08 06:07:12 +02:00
Aevann1
1431522173
gf
2022-05-07 10:20:22 +02:00
Aevann1
9ac5dc6462
fsd
2022-05-07 08:09:51 +02:00
Aevann1
028563ad7d
bgd
2022-05-07 08:04:14 +02:00
Aevann1
1b86af8def
fg
2022-05-07 07:28:51 +02:00
Aevann1
f2039d7713
sfd
2022-05-07 06:13:19 +02:00
Aevann1
ca61569b44
nv
2022-05-06 06:55:15 +02:00
Aevann1
bb515cb0e8
Merge branch 'frost' of https://github.com/Aevann1/Drama into frost
2022-05-05 23:12:11 +02:00
Aevann1
79f3412aae
Merge branch 'bussy_refactor' of https://github.com/DrTransmisia/rDrama into frost
2022-05-05 23:12:07 +02:00
Doctor Steven Transmisia
e526a4fd1c
re-factoring emoji system\n\nnow should be less CPU intesive although most of the load seems to come from the img loading itself and it is not address in this commit
2022-05-05 15:47:47 +02:00
TLSM
a0cfc7bf1c
Add admin status git revision. ( #244 )
...
Adds a line in admin_home which displays the currently active git
revision. Current methodology is via manually parsing files in .git.
Consider revising if the application ever has access to `git` shell,
which would obviate some minor security concerns around directory
traversal attacks.
2022-05-05 10:46:20 +02:00
Aevann1
6b10d097a2
mn
2022-05-05 01:09:46 +02:00
Aevann1
46e391b5a7
fsd
2022-05-04 23:32:30 +02:00
Aevann1
53702d5f13
dup
2022-05-04 05:14:14 +02:00
Aevann1
a9c86604a0
fsd
2022-05-04 02:54:46 +02:00
Aevann1
93c0bbff60
sdf
2022-05-04 02:47:06 +02:00
Aevann1
29d15769f4
dsf
2022-05-04 02:42:44 +02:00
Aevann1
08f3c88b86
fds
2022-05-03 23:19:24 +02:00
Aevann1
2132703204
fds
2022-05-03 21:59:54 +02:00
Aevann1
095e5cb0af
sanitize
2022-05-03 21:07:15 +02:00
Aevann1
a31d0598cc
fix
2022-05-03 06:59:47 +02:00
Aevann1
5e2da5673c
fsd
2022-05-03 06:28:42 +02:00
Aevann1
47d01ed00b
vb
2022-05-03 04:15:35 +02:00
Aevann1
65b3a5d375
fsd
2022-05-03 03:39:20 +02:00
Aevann1
96ea758ed9
sfd
2022-05-03 03:37:51 +02:00
Aevann1
a6f6e64246
fhg
2022-05-02 21:32:15 +02:00
Aevann1
df90e71f20
fsd
2022-05-02 21:30:12 +02:00
Aevann1
8b24faf9fd
sdf
2022-05-02 20:56:10 +02:00
Aevann1
f9a142a889
sfd
2022-05-02 20:54:53 +02:00
Aevann1
dbe0bf076e
tre
2022-05-02 20:50:43 +02:00
TLSM
63d344c2d0
Add badge quantity and rarity to /badges. ( #238 )
...
Implements feature request to know how many of each badge exists and
to have a 'rarity', a la Steam or PSN badges, relative to number of
non-lurker users.
Because Postgres `COUNT()`s are notoriously costly, /badges has been
memoized for 1hr to avoid a DOS target.
2022-05-02 20:14:06 +02:00
TLSM
d1e2926ca3
Fix comment self-upvote removal UI bug. ( #236 )
...
Fixes minor UI bug when removing self-upvote on a comment. Previous
behavior, starting from a new comment:
- Initial state: score 1 from self-upvote, upvote button shows
highlighted as `color: var(--primary)`.
- Click on upvote button to remove self-upvote → button
unhighlights, score displays as 0.
- [reload page]
- Score displays as 0, but button is highlighted.
- Click on upvote button → button unhighlights, score displays
as -1. [If you reload the page now, state is score 0 &
highlighted; no change in serverside votes.]
- Click on upvote again → button highlights, score displays as 0.
- [reload page]
- Score displays as 1, button is highlighted.
Direct cause is `templates/comments.html @ L115-117`. I checked
`api_comment`, though, and it adds a vote on new comments, and that
state change propagates to the template's parameters before it renders,
so I believe the only time this triggers is specifically when a user
has removed their self-upvote. Bug is fixed when testing with L115-117
removed. Is there some other edge case it was meant to solve?
Secondary bugfix: Removing a self-upvote _costs_ you a coin & a
truescore point. I think this is one of the few ways to get negative
dramacoin. I chose to fix it by having self-votes and self-unvotes not
change coins/truecoins. The alternative of having new comments & posts
give the user +1 coin/truecoin would modify site behavior, and you'd
retroactively owe some powerusers thousands of DC & truescore.
2022-05-02 20:12:28 +02:00
Aevann1
60481a175b
sfd\
2022-05-02 20:07:17 +02:00
Aevann1
4d7e79bef3
6yutg
2022-05-02 04:11:01 +02:00
Aevann1
c636f08732
sdgf
2022-05-02 04:00:14 +02:00
Aevann1
5a7d019cdd
sfd
2022-05-02 03:54:07 +02:00
Aevann1
9eeb214a24
fsd
2022-05-02 03:45:22 +02:00
Aevann1
f59286b202
fsd
2022-05-02 03:41:08 +02:00
Aevann1
56ea11ea28
sfd
2022-05-02 00:59:28 +02:00
Aevann1
0d08156cf9
fsd
2022-05-02 00:59:08 +02:00
Aevann1
195ea385e3
gfd
2022-05-02 00:56:19 +02:00
Aevann1
94e6eb1ef6
sdf
2022-05-02 00:28:51 +02:00
Aevann1
a4b0565b5a
sfd
2022-05-01 23:48:53 +02:00
Aevann1
bc2a20cd4b
sfd
2022-05-01 23:44:38 +02:00
outruncolors
0ff7bdc28a
Added doubledown and insurance functionality ( #235 )
...
* Added doubledown functionality
* Add insurance
2022-05-01 20:24:01 +02:00
Aevann1
039c121055
fds
2022-05-01 02:54:17 +02:00
Aevann1
394402c0c1
fsd
2022-05-01 02:53:24 +02:00
Aevann1
d08a6010c8
dfs
2022-04-29 21:19:54 +02:00
Aevann1
aefb322952
fds
2022-04-29 17:22:31 +02:00
Aevann1
e73fcbd56a
sfd
2022-04-29 17:17:14 +02:00
Aevann1
2d4cf226e4
fds
2022-04-29 16:52:00 +02:00
Aevann1
b7ba495555
sfd
2022-04-29 16:48:13 +02:00
Aevann1
08ed7b044b
fds
2022-04-29 16:47:34 +02:00
Aevann1
4ee8d15e2a
fds
2022-04-29 16:47:03 +02:00
Aevann1
6856eb0dd0
sdf
2022-04-29 16:44:21 +02:00
Aevann1
49751bc6d8
fsd
2022-04-29 16:43:21 +02:00
Aevann1
9353f6507c
fds
2022-04-29 16:41:35 +02:00
Aevann1
9ba2593f4f
fsd
2022-04-29 16:39:56 +02:00
Aevann1
8d732b8f7b
fsd
2022-04-29 16:02:52 +02:00
Aevann1
e5014b4cf4
fsd
2022-04-29 02:02:00 +02:00
Aevann1
43563ec143
sfd
2022-04-28 03:02:37 +02:00
Aevann1
d961ffc913
fds
2022-04-28 02:04:01 +02:00
Aevann1
20f925afb7
fds
2022-04-28 01:09:39 +02:00
Aevann1
9499cde2aa
fsd
2022-04-28 00:38:03 +02:00
Aevann1
43751ccde2
vdx
2022-04-26 16:18:57 +02:00
Aevann1
5a49be1d47
fsd
2022-04-26 15:40:37 +02:00
Aevann1
ab83d60730
fds
2022-04-26 15:01:05 +02:00
Aevann1
a11c37f7be
fd
2022-04-26 14:59:28 +02:00
Aevann1
5c1f253e0b
dfs
2022-04-26 02:38:52 +02:00
Aevann1
43366f4a28
fds
2022-04-26 02:26:27 +02:00
Aevann1
a895faefe5
fsd
2022-04-26 00:48:28 +02:00
Aevann1
0f05bf3f94
fsd
2022-04-26 00:28:20 +02:00
Aevann1
5c21180705
Revert "vxc"
...
This reverts commit 4d0c7ba456
.
2022-04-25 23:59:12 +02:00
Aevann1
f306d76373
sfd
2022-04-25 23:16:32 +02:00
Aevann1
09e15a1961
fds
2022-04-25 23:15:02 +02:00
Aevann1
3b3c0927f3
fsd
2022-04-25 23:10:55 +02:00
Aevann1
1b849c57c1
fds
2022-04-25 23:04:50 +02:00
Aevann1
1bdfb1afdf
fsd
2022-04-25 22:31:30 +02:00
Aevann1
ad47e9524a
dfs
2022-04-25 21:52:30 +02:00
Aevann1
0ed35ce69f
vxc
2022-04-25 21:42:35 +02:00
Aevann1
4d0c7ba456
vxc
2022-04-25 18:38:06 +02:00
Aevann1
e60fe0bcd6
gf
2022-04-25 16:51:40 +02:00
Aevann1
4a782549c8
dfs
2022-04-24 23:09:21 +02:00
Aevann1
0cbd70a8d6
fad
2022-04-24 22:39:37 +02:00
Aevann1
b554065c49
vcx
2022-04-24 19:30:05 +02:00
pqpetq
fd80fe6313
fixes and additions ( #230 )
...
* Update posts.py
* Update readme.md
* Update requirements.txt
* Update requirements.txt
Co-authored-by: Aevann1 <59999695+Aevann1@users.noreply.github.com>
2022-04-24 15:22:12 +02:00
Aevann1
457a717075
fds
2022-04-24 00:09:25 +02:00
Aevann1
8dde3965aa
fds
2022-04-24 00:06:45 +02:00
Aevann1
d026174472
fds
2022-04-23 00:48:01 +02:00
Aevann1
68add1eb36
fds
2022-04-23 00:07:58 +02:00
Aevann1
be49ed862f
fds
2022-04-22 22:08:52 +02:00
Aevann1
80346a6377
fds
2022-04-22 17:45:26 +02:00
Aevann1
6b97488355
fds
2022-04-22 17:08:42 +02:00
Aevann1
bc762ff06c
fsd
2022-04-22 17:05:34 +02:00
Aevann1
088d510da6
fsd
2022-04-22 16:51:40 +02:00
Aevann1
f30b97d513
fds
2022-04-22 16:15:17 +02:00
Aevann1
ac4da7516d
fsdfds
2022-04-22 15:23:56 +02:00
Aevann1
031d9c52e0
fds
2022-04-21 18:10:15 +02:00
Aevann1
df793e5347
fsd
2022-04-20 21:25:19 +02:00
Aevann1
3e0348833e
fds
2022-04-20 19:34:27 +02:00
Aevann1
cb847ecd4f
hg
2022-04-20 19:13:27 +02:00
Aevann1
bd6349d448
Revert "RESTORE CACHE"
...
This reverts commit 3d193357ef
.
2022-04-19 22:22:24 +02:00
Aevann1
3d193357ef
RESTORE CACHE
2022-04-19 22:21:47 +02:00
Aevann1
9f89e8a0aa
fsd
2022-04-19 21:14:09 +02:00
Aevann1
aa498d89c7
gfd
2022-04-19 21:13:36 +02:00
Aevann1
f940f4bcb7
fds
2022-04-19 20:28:19 +02:00
Aevann1
c2815804c9
gf
2022-04-19 20:19:12 +02:00
Aevann1
c60adf958a
sfd
2022-04-19 19:50:13 +02:00
Aevann1
e1e45982fb
fsa
2022-04-18 23:18:02 +02:00
Aevann1
f3743d717d
fds
2022-04-18 23:11:30 +02:00
Aevann1
0705e96770
fds
2022-04-18 20:45:18 +02:00
Aevann1
cf886f13d1
fds
2022-04-18 20:38:26 +02:00
Aevann1
1e49e260cc
fsd
2022-04-18 20:30:25 +02:00
Aevann1
0e74b54424
fsd
2022-04-18 20:25:14 +02:00
Aevann1
521eb16db7
fds
2022-04-18 19:51:39 +02:00
Aevann1
0f05a76522
fds
2022-04-18 00:16:02 +02:00
Aevann1
8214e2c6f9
fds
2022-04-18 00:13:37 +02:00
Aevann1
9c0441aef9
fsd
2022-04-17 23:46:29 +02:00
Aevann1
78ea56837f
fds
2022-04-17 22:20:40 +02:00
Aevann1
e048b691f1
dfs
2022-04-17 19:16:15 +02:00
Aevann1
ce2ffbd0e9
fds
2022-04-17 19:04:11 +02:00
Aevann1
7c18a97d56
fds
2022-04-17 16:59:18 +02:00
Aevann1
1f5fa278d0
fsd
2022-04-17 11:23:42 +02:00
Aevann1
270e789dec
fds
2022-04-16 19:01:46 +02:00
Aevann1
9685acd421
fds
2022-04-16 19:01:40 +02:00
Aevann1
6406fdd89a
fsd
2022-04-16 18:59:52 +02:00
Aevann1
bd2d8539f7
fds
2022-04-16 18:57:44 +02:00
Aevann1
9551f7a548
fsd
2022-04-16 18:55:36 +02:00
Aevann1
e96c9a49cb
fsd
2022-04-16 17:07:44 +02:00
Aevann1
62bfc5e629
fsd
2022-04-16 17:05:33 +02:00
Aevann1
2e07356b3e
vdvg
2022-04-16 01:21:30 +02:00
Aevann1
6a8eff8393
fds
2022-04-16 01:19:27 +02:00
Aevann1
99cb01d9fc
fdsfds
2022-04-15 18:28:08 +02:00
Aevann1
75be2dea76
fds
2022-04-15 17:35:56 +02:00
Aevann1
a1d7849798
fds
2022-04-15 17:35:11 +02:00
Aevann1
2abddddc30
fsd
2022-04-15 17:05:19 +02:00
Aevann1
43006ba440
fds
2022-04-15 17:03:02 +02:00
Aevann1
6abaa2975a
fds
2022-04-14 20:42:48 +02:00
Aevann1
752c974c72
fsd
2022-04-14 19:31:45 +02:00
Aevann1
543b9a73cb
rfds
2022-04-14 19:20:00 +02:00
Aevann1
f53342d733
Merge branch 'frost' of https://github.com/Aevann1/Drama into frost
2022-04-14 18:26:43 +02:00
Aevann1
348d698239
fds
2022-04-14 18:26:41 +02:00
reality500
5d6885e5bf
Add logged_out redirect ( #227 )
2022-04-14 00:54:32 +02:00
Aevann1
25a130f593
fds
2022-04-13 16:19:18 +02:00
Aevann1
579e81de2a
site settings
2022-04-12 21:05:50 +02:00
Aevann1
8098f4c4f7
fsd
2022-04-12 19:32:53 +02:00
Aevann1
17852d30e6
fart mode
2022-04-12 19:29:52 +02:00
Aevann1
ec661f4115
gfd
2022-04-12 18:52:18 +02:00
Aevann1
a87a94ce60
fdsfds
2022-04-12 16:59:37 +02:00
Aevann1
81b6dff3bb
fds
2022-04-11 18:39:04 +02:00
Aevann1
ce7ae3dbd3
fds
2022-04-11 13:25:58 +02:00
Aevann1
51ebba5bca
gf
2022-04-10 20:42:58 +02:00
Aevann1
bc092b8011
sfd
2022-04-10 18:43:39 +02:00
Aevann1
95fd9c3912
fds
2022-04-10 18:37:40 +02:00
Aevann1
c0c0b3a134
fsd
2022-04-10 18:27:27 +02:00
Aevann1
de6dbead0d
dsf
2022-04-10 17:28:31 +02:00
Aevann1
49c1db511d
gfd
2022-04-10 16:56:38 +02:00
Aevann1
231a55ea49
fds
2022-04-10 16:05:39 +02:00
Aevann1
e6c0044d35
fart
2022-04-10 02:37:45 +02:00
Aevann1
a334aa815e
fsd
2022-04-10 02:11:06 +02:00
Aevann1
575a3f3712
warning
2022-04-10 02:05:15 +02:00
Aevann1
3b513d0841
gfd
2022-04-10 01:41:36 +02:00
Aevann1
30833f8130
fsd
2022-04-10 01:12:59 +02:00
Aevann1
15a02cf3cd
fds
2022-04-10 01:07:03 +02:00
Aevann1
ef8068e644
fsd
2022-04-09 18:52:25 +02:00
Aevann1
26736b1324
fds
2022-04-08 04:56:10 +02:00
Aevann1
ee7d2a6afa
fds
2022-04-07 03:20:52 +02:00
Aevann1
2dc99c8d18
fds
2022-04-07 03:18:46 +02:00
Aevann1
77175051ac
gd
2022-04-07 01:50:32 +02:00
Aevann1
858c53e8e4
fd
2022-04-07 00:54:09 +02:00
Aevann1
1dd380e864
gdf
2022-04-07 00:37:25 +02:00
Aevann1
cc2b6eb006
fsd
2022-04-05 21:08:06 +02:00
Aevann1
f1fdeb866c
fsd
2022-04-05 20:41:54 +02:00
Aevann1
9a75ddee97
dogecore
2022-04-05 17:50:56 +02:00
Aevann1
eca7f466df
fsd
2022-04-05 17:04:15 +02:00
Aevann1
a607febc10
sfd
2022-04-05 15:32:27 +02:00
Aevann1
f833729224
fds
2022-04-05 15:31:40 +02:00
Aevann1
2d9da9f1a3
fds
2022-04-05 01:14:49 +02:00
Aevann1
0c2e181d2a
fds
2022-04-05 01:12:00 +02:00
Aevann1
4c2f7d5667
fsd
2022-04-04 23:15:25 +02:00
Aevann1
ceaceffcd6
sfd
2022-04-04 23:14:21 +02:00
Aevann1
8ad6fd509f
gd
2022-04-04 22:53:37 +02:00
Aevann1
bec149c6ec
fds
2022-04-04 22:00:06 +02:00
Aevann1
7a2cd0decc
dfs
2022-04-04 21:27:51 +02:00
Aevann1
b2a73302ec
fds
2022-04-04 21:27:43 +02:00
Aevann1
2c4d793f2b
sfd
2022-04-04 21:27:27 +02:00
Aevann1
2ac5369a2c
fds
2022-04-04 21:24:22 +02:00
Aevann1
3496d095b2
fds
2022-04-04 21:12:39 +02:00
Aevann1
cc9236fb88
wtf
2022-04-04 21:08:06 +02:00
Aevann1
4d60fcf0f0
gdf
2022-04-04 21:00:17 +02:00
Aevann1
08471bd35d
fds
2022-04-04 20:59:14 +02:00
Aevann1
7156f216e4
sdf
2022-04-04 20:57:35 +02:00
Aevann1
6acd03e103
fds
2022-04-04 20:54:16 +02:00
Aevann1
bd72392448
fds
2022-04-04 20:52:20 +02:00
Aevann1
b09bbde529
fsd
2022-04-04 20:51:57 +02:00
Aevann1
d4c9761e03
fdfs
2022-04-04 20:51:44 +02:00
Aevann1
6135f2a3c3
fds
2022-04-04 20:51:32 +02:00
Aevann1
02f5dc4065
fsd
2022-04-04 20:51:15 +02:00
Aevann1
396dcc748d
fds
2022-04-04 20:49:55 +02:00
Aevann1
12e0c794e4
fds
2022-04-04 20:48:46 +02:00
Aevann1
6fab5f144e
fsd
2022-04-04 20:48:08 +02:00
Aevann1
e291d43640
fds
2022-04-04 20:47:00 +02:00
Aevann1
1f836769fc
fds
2022-04-04 20:39:35 +02:00
Aevann1
9aadc6736d
sfd
2022-04-04 20:38:03 +02:00
Aevann1
5ff7d64c84
devrama
2022-04-04 20:36:41 +02:00
Aevann1
16316ec88f
fds
2022-04-04 20:32:03 +02:00
Aevann1
1ef60af223
fds
2022-04-04 20:31:04 +02:00
Aevann1
9e9873ffbf
sfd
2022-04-04 20:29:21 +02:00
Aevann1
ee15466121
fds
2022-04-04 20:27:32 +02:00
Aevann1
be2cea3ea9
devrana
2022-04-04 20:25:34 +02:00
Aevann1
36f7449365
fds
2022-04-04 19:55:35 +02:00
Aevann1
1135096166
sdf
2022-04-04 19:54:34 +02:00
Aevann1
02f8729c5f
devrama
2022-04-04 19:52:14 +02:00
Aevann1
0b326f7bd5
gdf
2022-04-04 19:29:52 +02:00
Aevann1
6ca83dcc6c
fds
2022-04-04 12:34:49 +02:00
Aevann1
df442ee2fe
fds
2022-04-04 04:34:35 +02:00
Aevann1
82a749e9e3
sdf
2022-04-04 04:01:06 +02:00
Aevann1
889a8948c4
fsd
2022-04-04 03:41:20 +02:00
Aevann1
83749285c5
less go
2022-04-04 03:41:15 +02:00
Aevann1
5868b07412
dfs
2022-04-04 03:27:08 +02:00
Aevann1
aaf7d680e4
fds
2022-04-04 03:26:48 +02:00
Aevann1
bfa2b44630
fds
2022-04-04 03:24:48 +02:00
Aevann1
7845461293
fds
2022-04-04 03:21:36 +02:00
Aevann1
60128ea50f
fds
2022-04-04 03:20:09 +02:00
Aevann1
24d77fc3b7
fds
2022-04-04 03:19:02 +02:00
Aevann1
f56873c40b
fds
2022-04-04 03:18:30 +02:00
Aevann1
4517505b53
fsd
2022-04-04 03:14:14 +02:00
Aevann1
7def94f50e
fsd
2022-04-04 03:10:47 +02:00
Aevann1
4927bba558
fds
2022-04-04 03:03:13 +02:00
Aevann1
48f26e7e27
fs
2022-04-04 03:02:03 +02:00
Aevann1
55e4580707
fds]
2022-04-04 03:00:50 +02:00
Aevann1
4b4d78b35c
fds
2022-04-04 02:59:22 +02:00
Aevann1
4215e3079d
fds
2022-04-04 02:56:16 +02:00
Aevann1
9b43806911
sdf
2022-04-04 02:55:00 +02:00
Aevann1
5214f81d49
fds
2022-04-04 02:54:53 +02:00
Aevann1
3a6c785d03
fsd
2022-04-04 02:51:46 +02:00
Aevann1
f93309a875
sdf
2022-04-04 02:49:40 +02:00
Aevann1
b0fc109f30
fds
2022-04-04 02:49:12 +02:00