Commit Graph

9506 Commits (e6ce4edbd88dc5492fbf8d3b79e94d3080145ca2)

Author SHA1 Message Date
justcool393 e6ce4edbd8 templates: remove redundant badge_remove template
templates: fix badge admin template when removing a badge
2022-10-29 01:08:29 -05:00
Aevann1 f0c8af3ec7 remove all chained non-breaking spaces 2022-10-29 04:27:09 +02:00
Aevann1 eb1af8a69f remove some chained non-breaking spaces 2022-10-29 04:21:06 +02:00
justcool393 6c6a578439 stickies: use permission constant on submission.html 2022-10-28 20:54:39 -05:00
Aevann1 6b0fe97a85 remove using invisible character as spacing 2022-10-29 03:31:25 +02:00
Aevann1 7915d9f0aa fix bugs resulting from fdd608532b 2022-10-29 03:26:46 +02:00
Aevann1 d1f01d2dd7 remove some spacing insanity in login/signup pages 2022-10-29 03:01:59 +02:00
Aevann1 aec78a3b05 get rid of all header classes 2022-10-29 02:55:49 +02:00
Aevann1 efc390e0c0 get rid of some header classes 2022-10-29 02:52:11 +02:00
Aevann1 de8be8dd0e get rid of <pre> being used as vertical spacing 2022-10-29 02:47:48 +02:00
Aevann1 edbbc5b672 convert the last remaining 2 <a> tags without href 2022-10-29 02:00:27 +02:00
Aevann1 5719688178 use tabs, not spaces 2022-10-29 01:39:31 +02:00
Aevann1 fdd608532b add type="button" to all <button> tags 2022-10-29 01:35:14 +02:00
Aevann1 5eb2eb5035 remove role="button" from all <a> tags 2022-10-29 01:32:31 +02:00
Aevann1 2019f68217 same as last commit 2022-10-29 01:31:39 +02:00
Aevann1 11ad9a4a0a remove role="button" from button tags 2022-10-29 01:28:17 +02:00
Aevann1 582a29232b convert all <a> tags without a href, except 2 in award_modal.html 2022-10-29 01:27:38 +02:00
Aevann1 a33680dc22 convert more <a> tags to <button> tags 2022-10-29 01:09:06 +02:00
Aevann1 6c32916f1a convert more <a> tags to <button> tags 2022-10-29 00:51:10 +02:00
Aevann1 b66f9fdb0a convert 1 a tag to a button, and change native button css 2022-10-29 00:30:28 +02:00
Aevann1 86beaad37c remove unused shit in profile template 2022-10-29 00:26:06 +02:00
Aevann1 649fc2414d disable adding admins on WPD 2022-10-29 00:14:59 +02:00
Aevann1 067a83b1b1 remove 2 weird role="button" 2022-10-28 22:19:05 +02:00
Aevann1 f41b09cc07 small change to /admin/app 2022-10-28 22:13:58 +02:00
Aevann1 062e2523b5 change some <a> tags to <button> 2022-10-28 22:08:37 +02:00
justcool393 f5b40ebbbc leaderboard: qol: link to relevant user pages for posts and comments 2022-10-28 12:36:18 -07:00
justcool393 b9b084ca1e fix more templating errors 2022-10-28 12:36:18 -07:00
justcool393 efd63b8666 leaderboards: show user as last row if not in lb 2022-10-28 12:36:18 -07:00
justcool393 3aac8f1f24 leaderboard: fix some templating bugs i introduced 2022-10-28 12:36:18 -07:00
justcool393 8873171f5c leaderboards: refactor leaderboards to their own class
right now, leaderboards are complex enough that they ought to be upgraded to at least a second class thing.
this commit provides an *okay* implementation of a per-request leaderboard
there are many things to be done, including caching, persistence, etc
i don't like this like 80 parameter __init__ but it's what i've got without overengineering it imo
this is potentially already overdoing it
2022-10-28 12:36:18 -07:00
justcool393 0258bfb356 i've done it... i've really done it 🥲
i've made the leaderboard code less crap all around
to those who wrote this old code
i forgive you
2022-10-28 12:36:18 -07:00
justcool393 09c3ac2b65 jinja2 doesn't has getattr but we can subscript apparently
weird but ok
2022-10-28 12:36:18 -07:00
justcool393 ad58490dd0 call the leaderboard, not LEADERBOARDS and also do it correctly 2022-10-28 12:36:18 -07:00
justcool393 db587a2501 i forgot a bloody comma ok 2022-10-28 12:36:18 -07:00
justcool393 0b61a83270 this leaderboard code is affecting my mental sanity
idk maybe this'll fix it it's 1 am who knows anything about coding anymore
2022-10-28 12:36:18 -07:00
justcool393 67768bf44d fix prev commit 2022-10-28 12:36:18 -07:00
justcool393 b2cfabf244 i don't think the person who worked on either this template or the leaderboard python function has ever thought about the idea of code reuse
(make this template smaller by 3/4ths)
2022-10-28 12:36:18 -07:00
Aevann1 aadd054bc3 remove role="button" from button HTML tags 2022-10-28 21:30:08 +02:00
Aevann1 4a43bc239d remove formatting buttons (useless bloat) 2022-10-28 21:09:56 +02:00
Aevann1 6271588056 small cosmetic change 2022-10-28 19:59:56 +02:00
Aevann1 5d9ddcc0f4 fix quoting on selection 2022-10-28 01:19:44 +02:00
Aevann1 1a35e2ec6a refactor banned domains 2022-10-28 00:37:29 +02:00
Aevann1 2937872035 minor grammar change 2022-10-27 17:43:48 +02:00
Aevann1 98bae12134 show the time on which ppl blocked/followed the hole 2022-10-27 17:38:54 +02:00
Aevann1 8e84e3893e same as last commit 2022-10-27 17:38:39 +02:00
Aevann1 28cf9b66f9 minor grammer change + delete unused template 2022-10-27 17:37:40 +02:00
Aevann1 35ea423f35 cosmetic change 2022-10-27 10:38:11 +02:00
Snakes d626ae7f6b
Add login required signup blurb for rDrama. 2022-10-26 20:10:21 -04:00
Aevann1 b9d7b4e027 sneed 2022-10-26 16:33:50 +02:00
Snakes f42d861cae
Add entry to journoid banner. 2022-10-26 01:33:58 -04:00