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