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
83a931343e
uncomment rss feed
2022-07-08 18:21:20 +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
c01a1ea08b
cache bust badges
2022-07-08 17:11:59 +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
a4b2a69689
make "more comments" button work on the whole chain
2022-07-08 14:19:35 +02:00
Aevann1
18385f80a1
make snappy only comment on drafts when they're published
2022-07-08 13:44:17 +02:00
Aevann1
461e822314
change style of tables in midnight theme
2022-07-08 13:20:55 +02:00
Aevann1
f350a681d9
remove weird space before "admin tools"
2022-07-08 13:15:25 +02:00
Aevann1
b9d6f796a3
return 404 on shadowbanned comments when linking to them
2022-07-08 13:13:59 +02:00
Aevann1
747ccf5dab
don't count deleted posts and comments
2022-07-08 13:07:27 +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
a3f94a77f3
Fix comment /votes/ 500 when no upvoters.
2022-07-07 19:53:28 -04:00
Snakes
c25ab027a0
Add link to new canary location.
2022-07-07 03:31:32 -04:00
Aevann1
278ec3dab4
Revert "make "text-danger" less hostile on the eyes"
...
This reverts commit 0371ee6c7c
.
2022-07-07 07:29:18 +02:00
Aevann1
887d521f4a
Merge branch 'frost' of https://github.com/Aevann1/Drama into frost
2022-07-07 07:14:41 +02:00
Aevann1
7cd1e4bf8f
give chadmins marseybux
2022-07-07 07:14:39 +02: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
742a3698ea
fix my vote being above OP's vote
2022-07-06 13:00:28 +02:00
Aevann1
4057711c83
Revert "remove all joinedload bullshit I added"
...
This reverts commit c8d5eb0f57
.
2022-07-06 12:58:44 +02:00
Aevann1
364c8eca4f
Merge branch 'frost' of https://github.com/Aevann1/Drama into frost
2022-07-06 12:56:43 +02:00
Aevann1
05b70969e5
trying to fix WPD's issue
2022-07-06 12:56:39 +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
Snakes
bf1a983f5e
PCM: swap banner asset.
2022-07-05 15:23:42 -04:00
Snakes
fa850ba69a
PCM: swap banner; fix asset_siteimg logic.
2022-07-04 18:40:04 -04:00
Snakes
425e6860ac
Remove vestigial email field from /contact.
2022-07-04 15:33:05 -04:00
Snakes
95f9fbfab1
Add searching for "exact phrases" to search.
2022-07-04 04:19:41 -04:00
Aevann1
67dff25a5a
fix previous commit
2022-07-04 09:05:14 +02:00
Aevann1
c8d5eb0f57
remove all joinedload bullshit I added
2022-07-04 09:04:14 +02:00
Aevann1
82821a16c2
tweak my autoupvoting shit
2022-07-04 07:42:46 +02:00
Aevann1
09be0394cd
fix this https://chapotraphouse.club/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/2244925?context=8#context
2022-07-04 06:07:51 +02:00
Aevann1
6ba9c6b796
Revert "add bootstrap tooltips to gif modal"
...
This reverts commit 93173cb74a
.
2022-07-04 05:55:48 +02:00
Aevann1
93173cb74a
add bootstrap tooltips to gif modal
2022-07-04 05:53:53 +02:00
Aevann1
3356504b78
sneed
2022-07-04 05:50:01 +02:00
Aevann1
037d41f5d5
fix /sidebar page not visible on mobile
2022-07-04 05:48:02 +02:00
Aevann1
1136683a14
actually fix the followers pages
2022-07-04 05:41:44 +02:00
Aevann1
4ccead8439
Revert "refactor "view more comments""
...
This reverts commit 68da93ec02
.
2022-07-04 05:37:48 +02:00
Aevann1
d517baebdc
Revert "make "view more" button neater"
...
This reverts commit cae656186a
.
2022-07-04 05:35:10 +02:00
Aevann1
b55d17859e
Revert "make the timeout 2 seconds for the button"
...
This reverts commit c222d36366
.
2022-07-04 05:35:00 +02:00
Aevann1
63ae3c8ad7
fix emoji preview
2022-07-04 05:13:53 +02:00
Aevann1
1115c1a574
fix reddit domain replacement
2022-07-04 05:08:33 +02:00
Aevann1
1528d91ea3
fix quoting comments
2022-07-04 05:06:43 +02:00
Aevann1
2f2d858f24
fix first part of this https://chapotraphouse.club/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/2242248?context=8#context
2022-07-04 05:03:10 +02:00
Aevann1
9d0b53ad54
fix /followers and /following being empty
2022-07-04 04:59:24 +02:00
Aevann1
ed02d7572a
rename "frontpage" to "main feed" in move_hole mod action
2022-07-04 04:54:03 +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
72013dcb43
fix 500 error
2022-07-04 03:05:26 +02:00
Aevann1
978c3eb880
fix this https://chapotraphouse.club/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/2242521?context=8#context
2022-07-04 03:04:33 +02:00
Snakes
35ff2d1f25
Fix preview of user pats with -_ in name.
2022-07-03 20:12:22 -04:00
Snakes
5407f4ed7f
Lottershe icon back to navbar.
2022-07-03 14:33:31 -04:00
Snakes
9e1a3be278
Fix DMs improperly treating all users as blocked.
...
The changes to helpers/get.py @ get_user(...) in a6b7fed2fc
resulted
in `is_blocking` no longer being present on all User objects retrieved
via `get_user`. This triggered a latent identifier shadow where the
property method `User.is_blocking` on the User model caused checks for
blocks on objects retrieved via `get_user` to always return True.
Notably: when the get_user return value left `is_blocking` unset and
thus implied False, the following expression yielded True due to the
presence of the first-class function at the same identifier:
hasattr(user, 'is_blocking') and user.is_blocking
2022-07-03 13:55:25 -04:00
Snakes
ed42f14a77
Fix frontlist failing on pin expiry.
...
Proximate cause of 500 error on frontpage is that `Query` has no
such method `remove(...)`. Merely removing the line can't guarantee
identical logic, but I'm not quite clear if explicit removal from the
Query pseudo-collection is necessary, or if the final `pins` variable
after `Query.all()` will be appropriately filtered. It appears to
work right in practice, and the risk of expired pins persisting for
one extra pageload for only one user seems relatively minor.
2022-07-03 13:04:13 -04: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
9607cb7a55
fix 500 error
2022-07-03 13:58:46 +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
b1bfa255bb
make flairs on WPD actually readable
2022-07-03 12:23:12 +02:00
Aevann1
eef026be1e
don't query comments we won't use
2022-07-03 12:20:43 +02:00
Aevann1
c222d36366
make the timeout 2 seconds for the button
2022-07-03 12:15:55 +02:00
Aevann1
cae656186a
make "view more" button neater
2022-07-03 12:15:15 +02:00
Aevann1
57e424af5b
revert the "defer" thing
2022-07-03 12:10:04 +02:00
Aevann1
dc675fb23f
fix showing new comments
2022-07-03 12:09:00 +02:00
Aevann1
cda162704e
fix nav fontsize in userpage_comments
2022-07-03 12:05:27 +02:00
Aevann1
68da93ec02
refactor "view more comments"
2022-07-03 11:11:18 +02:00
Aevann1
45437997c8
show log timestamp in local timezone
2022-07-03 10:38:19 +02:00
Aevann1
c8a83b6b1f
fix timestamps on profile page
2022-07-03 10:19:49 +02:00
Aevann1
6c8bcc0bda
fix long emojis
2022-07-03 10:00:42 +02:00
Aevann1
a49325ba14
defer all scripts (this won't change anything for us since we use rocketloader, but it will fix javascript on localhost)
2022-07-03 09:42:33 +02:00
Aevann1
3245656787
show timestamps in the user timezone
2022-07-03 09:41:25 +02:00
Aevann1
40182f5f4d
show the body of the poll option in the vote page
2022-07-03 08:38:43 +02:00
Aevann1
47cf14c741
decrease the font on "saved posts" "saved comments" etc
2022-07-03 08:36:49 +02:00
Aevann1
f79fb803ae
fix 500 error
2022-07-03 08:16:26 +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
367348c8b2
Merge branch 'frost' of https://github.com/Aevann1/Drama into frost
2022-07-03 05:42:24 +02:00
Aevann1
076fad1108
fix 403 errors on unrelated text
2022-07-03 05:42:15 +02:00
Snakes
cd43f314ba
Fix profile nav wrapping mobile.
2022-07-02 23:40:45 -04:00
Aevann1
6c5b5a5314
add a "subscribed" tab in ur profile page to show posts u subscribed to
2022-07-03 04:43:49 +02:00
Aevann1
ab2d9b492d
add "warm" sorting - exact same as hot but pinned posts are shown in their normal positions instead of the top
2022-07-03 04:40:57 +02:00
Aevann1
e121523a42
fix accidential greentext in reddit mentions
2022-07-03 04:13:25 +02:00
Aevann1
a8c4c7bcc5
order child comments by upvotes
2022-07-03 04:10:02 +02:00
Aevann1
3bfe9e984b
don't allow URLs with '\\' in them
2022-07-03 04:03:40 +02:00
Aevann1
32a35c7066
Merge branch 'frost' of https://github.com/Aevann1/Drama into frost
2022-07-03 04:00:32 +02:00
Aevann1
587b864e0a
re-enable pins
2022-07-03 04:00:29 +02:00
Snakes
33815d8365
Add badge for Checkmark award users.
2022-07-02 21:34:32 -04:00
Aevann1
386bfa1f3b
fix 500 error
2022-07-02 13:02:03 +02:00
Aevann1
7d6e66b6f6
disallow glowie and golden marseys from being faked (again)
2022-07-02 12:47:14 +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
a37e6cc50f
upvote more holes
2022-07-02 12:03:10 +02:00
Aevann1
b0d4465183
add child comments to joinedload
2022-07-02 11:59:26 +02:00
Aevann1
7cb95ee2ca
delete migration cod
2022-07-02 11:58:16 +02:00
Aevann1
667a195270
migrating
2022-07-02 11:52:18 +02:00
Aevann1
5b8b53e312
fix 500 error
2022-07-02 11:47:49 +02:00
Aevann1
3e1ac91b66
fix 500 error
2022-07-02 11:47:35 +02:00
Aevann1
855fc20a2a
testing
2022-07-02 11:46:51 +02:00
Aevann1
24484df55c
testing
2022-07-02 11:38:09 +02:00
Aevann1
29b91a3b8a
fds
2022-07-02 11:33:53 +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
890b21923e
remove unnecessary relationships
2022-07-02 08:54:34 +02:00
Aevann1
7db7abc3ab
fix 500 error
2022-07-02 08:52:11 +02:00
Aevann1
1a0b2b6813
fix 500 errors
2022-07-02 08:51:19 +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
gooseman
671588d41c
(((cachebust)))
2022-07-01 21:20:11 -07:00
Aevann1
83228249ad
fix marseyschizochadseethecapylovepat
2022-07-02 03:38:32 +02:00
Aevann1
b26839a616
cachebust fireworks.js
2022-07-02 03:18:01 +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
100677c1bb
fix 500 error
2022-07-02 01:18:41 +02:00
Aevann1
9f124e2c8d
Merge branch 'frost' of https://github.com/Aevann1/Drama into frost
2022-07-02 01:11:51 +02:00
Aevann1
f56be06eb8
add hole pinning
2022-07-02 01:11:48 +02:00
Snakes
fd73684329
Fix ext-link icon positioning on iOS.
2022-07-01 19:09:49 -04:00
Aevann1
fe22eefe41
make CTRL+Enter work in /create_hole page
2022-07-02 00:55:31 +02:00
Snakes
f3b71f604e
Fix ext-link positioning.
2022-07-01 18:43:50 -04:00
Aevann1
9e2c307838
making the icon look whiter
2022-07-02 00:36:27 +02:00
geese-suck
a8a6b8e774
aevann change his mind like woman changing clothes
2022-07-01 15:30:08 -07:00
gooseman
650ba96f61
forgot 2 cachebust
2022-07-01 14:40:48 -07:00
gooseman
ca344927c1
works maybe idk i didnt test it lol
2022-07-01 14:38:27 -07:00
Aevann1
3801189188
fix
2022-07-01 23:24:58 +02:00
Aevann1
d59f346f0b
1 less request, 1 less transaction, 1 less query
2022-07-01 23:10:48 +02:00
Aevann1
bc12edb5b9
add exception for chadmins
2022-07-01 22:22:10 +02:00
Aevann1
f10a858ea8
fix cron
2022-07-01 22:16:45 +02:00
Aevann1
25e594d673
Revert "no longer stop reposts from being posted"
...
This reverts commit 19e6e7f4d9
.
2022-07-01 20:29:12 +02:00
Aevann1
7a682d95c6
fix 500 error
2022-07-01 20:19:21 +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
a917537c5f
testing bandwidth
2022-07-01 15:28:22 +02:00
Aevann1
1676572f09
test
2022-07-01 15:15:44 +02:00
Aevann1
5bbd14ebd6
testing
2022-07-01 15:11:41 +02:00
Aevann1
5c6ce5e1d7
try to figure out what caused bandwidth spike
2022-07-01 14:09:41 +02:00
Aevann1
2fd8e88ceb
try fixing inbound bandwidth
2022-07-01 13:32:01 +02:00
Aevann1
2c54180ddc
remove print statement I forgot
2022-07-01 13:28:00 +02:00
Aevann1
ae837e50a3
try fixing insane inbound bandwidth
2022-07-01 13:27:37 +02:00
Aevann1
c2b892af04
search comments within a specific thread
2022-07-01 13:11:23 +02:00
Aevann1
503494f4af
make glowmarsey and goldmarsey outline a little smaller
2022-07-01 12:42:55 +02:00
Aevann1
4a8dbecefd
Merge branch 'frost' of https://github.com/Aevann1/Drama into frost
2022-07-01 12:41:36 +02:00
Aevann1
fe173398fc
make me autoupvote posts in /h/slackernews and /h/space
2022-07-01 12:41:26 +02:00
Snakes
613af40ddf
PCM: Swap sidebar image.
2022-07-01 04:15:39 -04:00
Snakes
1b9237ceaf
Add assetcache.asset_siteimg, has_logo.
...
Commit began by changing the duplicated SITE_NAME conditional in the
header to use a `has_logo` param, much like the recent `has_sidebar`.
From there, a need to include site-specific assets in assetcache was
revealed, adding the `asset_siteimg(...)` macro. This was applied
quite broadly, though not comprehensively.
2022-07-01 01:55:53 -04:00
Snakes
39c945f7ca
LGB: Initial sidebar & const.
2022-07-01 01:08:15 -04:00
Aevann1
605dc96cc7
remoev testing shit
2022-07-01 03:57:01 +02:00
Aevann1
d667472212
to devrama
2022-07-01 03:39:05 +02:00
Aevann1
05aa116a8a
cutting down on query volume
2022-07-01 03:18:06 +02:00
Aevann1
0dbe7fe25f
Merge branch 'frost' of https://github.com/Aevann1/Drama into frost
2022-07-01 02:52:18 +02:00
Aevann1
051f3261ed
make glowmarsey and goldmarsey have the same size in animation
2022-07-01 02:52:14 +02:00
Snakes
8c1e4ea58f
Hide admin vote totals in template when empty.
2022-06-30 20:16:27 -04:00
Aevann1
8c246e5678
separate large numbers by value in /votes
2022-07-01 01:42:55 +02:00
Aevann1
1362278cb4
add more data for jannies in /votes page (will use that in polls)
2022-07-01 01:39:09 +02:00
Aevann1
11d0163740
sneed
2022-07-01 01:28:33 +02:00
Aevann1
461eba7427
fix issue with reddit domain replacement
2022-07-01 01:06:39 +02:00
Aevann1
f46627bf5f
Merge branch 'frost' of https://github.com/Aevann1/Drama into frost
2022-07-01 01:01:25 +02:00
Aevann1
cba02b9e4b
fix issue with code blocks
2022-07-01 01:01:10 +02:00
2xsaiko
b2461cd1d1
Fix quote rendering in chat ( #310 )
2022-06-30 19:01:01 -04:00
Aevann1
d9844231c7
fix replies to modmail not notifying the sender
2022-07-01 00:41:11 +02:00
Aevann1
95dc6bc4f3
fix old.reddit bug
2022-07-01 00:39:48 +02:00
Aevann1
aa53296d07
Revert "remove "filter" from allowed styles"
...
This reverts commit 14d929623e
.
2022-07-01 00:18:05 +02:00
Aevann1
8194c31417
fix 500 error
2022-07-01 00:08:22 +02:00
Aevann1
14d929623e
remove "filter" from allowed styles
2022-07-01 00:03:32 +02:00
Aevann1
374d87f5eb
cashebust maxxxing
2022-06-30 22:40:31 +02:00
Aevann1
0c51979cbf
remove frontpage exploit
2022-06-30 17:24:05 +02:00
Aevann1
08a4e7fa6f
cachebust-maxxxing badges
2022-06-30 14:33:15 +02:00
Snakes
467eb4408a
Fix hole_entered notif username.
...
Previously, the on_post_hole_entered notifs to hole followers would
contain the username of the admin who moved the post (due to
referencing the `v` parameter of whomever performed the action which
placed the post in the hole). This has been corrected to use the post
author instead. Further, on_post_hole_entered only depends on a post
for behavior, though the optional `v` user is used if present.
2022-06-30 05:36:45 -04:00
Snakes
0b95dc8cd1
WPD: Update sidebar flairs, restyle margin.
2022-06-29 18:12:11 -04:00
Snakes
f0c9a97fda
Suppress notifs for posts from shadowed.
2022-06-29 16:38:59 -04:00
Aevann1
bf4e608dae
sneed
2022-06-29 09:54:06 +02:00
Aevann1
6e52348432
sneed
2022-06-29 09:50:54 +02:00
Aevann1
070945d98a
cut down on the number of queries
2022-06-29 09:22:18 +02:00
Aevann1
5661cdb271
Revert "try to cut down on number of db queries"
...
This reverts commit c674c6a056
.
2022-06-29 08:43:20 +02:00
Aevann1
c674c6a056
try to cut down on number of db queries
2022-06-29 08:14:25 +02:00
Aevann1
c341be2866
show posts by users who block you
2022-06-29 05:07:00 +02:00
Aevann1
790a814b36
make "show more" button look nicer
2022-06-29 04:35:52 +02:00
Aevann1
0710ea02ac
fix repost-checking for search URLs
2022-06-29 03:50:55 +02:00
Aevann1
bee182530d
restore clicking on navbar to scroll to top
2022-06-29 03:49:47 +02:00
Aevann1
e7460874e9
double the timeout duration for sanitize()
2022-06-29 03:39:33 +02:00
Aevann1
19e6e7f4d9
no longer stop reposts from being posted
...
(just give the warning and that's it)
2022-06-29 03:37:44 +02:00
Aevann1
0371ee6c7c
make "text-danger" less hostile on the eyes
2022-06-29 03:37:00 +02:00
Aevann1
5c597d4990
fix b3ca7ce8ac
2022-06-29 03:31:59 +02:00
Aevann1
b3ca7ce8ac
check for repost when the page loads
2022-06-29 03:29:01 +02:00
Aevann1
0e46e46ce3
make "show more" switch to "show less" when clicked
2022-06-29 03:16:38 +02:00
Aevann1
b602a66dd6
fix issue with text exceeding character count despite not exceeding it
2022-06-29 03:13:11 +02:00
Aevann1
b6a5d010ca
add "show more..." button
2022-06-29 02:55:44 +02:00
Aevann1
8f9d982104
fix posting
2022-06-29 02:45:51 +02:00
Aevann1
b5c9d9116f
remove non-functional sorting by vote time
2022-06-29 01:53:52 +02:00
Aevann1
3ed41a0835
remove insane number of line breaks in rendered HTML
2022-06-29 01:53:41 +02:00
Aevann1
8d4f25de44
Revert "my OCD doesn't like unused code"
...
This reverts commit 7c80ea91c8
.
2022-06-29 01:36:40 +02:00
Aevann1
9b45220542
Merge branch 'frost' of https://github.com/Aevann1/Drama into frost
2022-06-29 01:35:00 +02:00
Aevann1
cf42c9c501
do this https://chapotraphouse.club/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/2209654?context=8#context
2022-06-29 01:34:57 +02:00
Aevann1
7c80ea91c8
my OCD doesn't like unused code
2022-06-29 01:33:31 +02:00
Snakes
adfad3e8a5
Swap lottery & random_user nav, and other nav.
2022-06-28 03:53:33 -04:00
Snakes
159af40cfe
Fix /bet route not enforcing exclusive votes.
2022-06-28 03:43:16 -04:00
Aevann1
7e7450ef33
Made it possible to downvote poll options again
...
for schizocel my beloved
2022-06-28 09:20:29 +02:00
Aevann1
856a2c905c
Merge branch 'frost' of https://github.com/Aevann1/Drama into frost
2022-06-28 08:35:28 +02:00
Aevann1
f4ff2b71fb
restore accidentially removed condition
2022-06-28 08:35:24 +02:00
Snakes
08c2ec7223
Make pin disabling site-specific.
2022-06-28 02:27:25 -04:00
Aevann1
42a6b5731a
sneed
2022-06-28 08:17:21 +02:00
Aevann1
4580cf534d
fix strikethrough regex
2022-06-28 08:05:49 +02:00
Aevann1
b873492dd0
fix strikethrough, v2
2022-06-28 07:52:29 +02:00
Aevann1
50121f6960
fixed strikethrough
2022-06-28 07:41:21 +02:00
Aevann1
61d0c34b05
Merge branch 'frost' of https://github.com/Aevann1/Drama into frost
2022-06-28 06:51:37 +02:00
Aevann1
8ba9aab351
fix WPD's bug
2022-06-28 06:51:34 +02:00
Snakes
b50151e120
Commit db txn on comment spam 403.
2022-06-27 23:22:38 -04:00
Aevann1
1a1b57d3d9
make "toggle preview" button in the same row as other buttons
2022-06-28 04:09:23 +02:00
Aevann1
8475a2352e
Revert "remove "toggle preview" button"
...
This reverts commit d2036a34f3
.
2022-06-28 04:06:57 +02:00
Aevann1
4a1359713f
use the variable "poll_bots"
2022-06-28 04:00:28 +02:00
Aevann1
cbbd361197
fix rehab award
2022-06-28 03:39:55 +02:00
Aevann1
d2036a34f3
remove "toggle preview" button
2022-06-28 03:38:45 +02:00
Aevann1
d4d53d57d0
disable pinning comments too
2022-06-28 03:34:17 +02:00
Aevann1
aac17a6daa
show the username of the janny who banned
2022-06-28 02:59:08 +02:00
Aevann1
cd811d7b9d
consistent lottershe naming
2022-06-28 02:54:44 +02:00
Aevann1
4fae28a2a2
fix child comment highlighting
2022-06-28 02:41:25 +02:00
Aevann1
bb9d842f81
disable progressive stack too
2022-06-28 02:28:59 +02:00
Aevann1
67bc27cb8c
Merge branch 'frost' of https://github.com/Aevann1/Drama into frost
2022-06-28 02:24:19 +02:00
Aevann1
d10a1c8693
disable pinning for 3 days
2022-06-28 02:24:16 +02:00
Snakes
b7a85fe9f3
Fix beforeunload prompt posting on /h/foo/submit.
...
The /submit frontend has special behavior to prevent the confirmation
prompt before navigation away onbeforeunload. This is to suppress the
prompt when navigating away via submitting the form as part of the
intended workflow. (otherwise pressing 'Post' looks like you're about
to lose your input.)
This has been extended to the /h/<sub>/submit pages also by correcting
the condition in the frontend logic.
2022-06-27 18:38:18 -04:00
Aevann1
79479d9ffd
make it so u dont get pinged by ur own comment on a subscribed thread
2022-06-27 21:13:19 +02:00
Aevann1
75bdbed7f9
reduce initial viewmore threshold for poorcels
2022-06-27 21:08:05 +02:00
Aevann1
a0cb5874cc
refactor push notifs
2022-06-27 21:02:24 +02:00
Aevann1
73190a8164
Merge branch 'frost' of https://github.com/Aevann1/Drama into frost
2022-06-27 20:42:44 +02:00
Aevann1
d31d6b8617
restore push notifs
2022-06-27 20:42:41 +02:00
Snakes
8af70c9aab
Fix emoji modifiers not rendering in preview.
...
Root cause 3aa6a838cb
2022-06-27 04:39:40 -04:00
Snakes
a3e05a86d3
Enforce minimum width on header dropdown.
...
The header dropdown menu's horizontal positioning depends on the
width of the user pfp/username/currency region to not overflow off
the right side of the page. Therefore, we enforce a minimum width.
There is presumably some way to fix this by right-aligning the right
side of the dropdown menu to the right side of the dropdown header.
I didn't want to risk it given the strange interplay of all of the
Bootstrap styling and the media queries. Also, it does visually
look better to be left-aligned.
2022-06-27 03:45:46 -04:00
Snakes
d68f2a604a
Check bot award timers more frequently.
...
Also: change to docker-compose.yml is to see if it'll fix the Github
tests failing. Lumped in here because it's too dumb to make a commit
for by itself.
2022-06-27 02:15:35 -04:00
Aevann1
197637b872
expand CTRL+ENTER
2022-06-27 08:01:30 +02:00
Aevann1
b6b57636df
Revert "make CTRL+ENTER possible with gifting"
...
This reverts commit b124afb60f
.
2022-06-27 07:58:54 +02:00
Aevann1
fd75733831
don't commit if error happens
2022-06-27 07:24:11 +02:00
Aevann1
5186b9a3f7
Merge branch 'frost' of https://github.com/Aevann1/Drama into frost
2022-06-27 07:14:48 +02:00
Aevann1
e527dec36b
fix mentions in marquees
2022-06-27 07:14:45 +02:00
Snakes
8d71dd751d
Make spoilers hide emoji.
2022-06-27 01:01:19 -04:00
Aevann1
41b7b1298e
add logic for 100 marseys badge
2022-06-27 06:42:39 +02:00
Aevann1
5661871255
Merge branch 'frost' of https://github.com/Aevann1/Drama into frost
2022-06-27 06:10:14 +02:00
Aevann1
ab5078f313
show vote time
2022-06-27 06:10:10 +02:00
Snakes
1d500917ad
Improve header currency display style.
2022-06-27 00:09:32 -04:00
Aevann1
3aa6a838cb
fixed markdown preview rendering emojis that arent actually emojis
2022-06-27 06:01:43 +02:00
Aevann1
7050932fe0
Merge branch 'frost' of https://github.com/Aevann1/Drama into frost
2022-06-27 05:46:36 +02:00
Aevann1
52a8a219ae
make poorcel-mode device-specific
2022-06-27 05:46:32 +02:00
Snakes
6c97faeb55
WPD: sidebar flairs list update.
2022-06-26 23:37:52 -04:00
Aevann1
234cbe47ee
make it possible to sort downvotes too
2022-06-27 04:50:13 +02:00
Aevann1
26d46a9cb9
make sorting tables less retarded
2022-06-27 04:47:49 +02:00
Aevann1
44c588fce3
make text in settings less small
2022-06-27 04:35:40 +02:00
Aevann1
38358cafe4
make publishing a draft reload the page instead of going to the post
2022-06-27 04:34:15 +02:00
Aevann1
03a9a5752b
Revert "trying to fix weird banner behavior"
...
This reverts commit 8d0a674f4e
.
2022-06-27 04:33:59 +02:00
Aevann1
6bd4efa61f
Revert "make small text less small"
...
This reverts commit 42b0f37034
.
2022-06-27 04:33:38 +02:00
Aevann1
8d0a674f4e
trying to fix weird banner behavior
2022-06-27 04:24:56 +02:00
Aevann1
46c9c719d0
fixed 500 error
2022-06-27 04:22:12 +02:00
Aevann1
6ff420e338
add a public list of poorcels
2022-06-27 04:21:34 +02:00
Aevann1
42b0f37034
make small text less small
2022-06-27 04:18:14 +02:00
Aevann1
b1ef8e4c62
add poorcel mode
2022-06-27 04:14:53 +02:00
Aevann1
b5d993569f
embed rework
2022-06-27 03:00:45 +02:00
Aevann1
785cea9c4c
fix 500 eror on signup
2022-06-27 02:49:30 +02:00
Aevann1
f48b16d0ca
make it so when u make a comment with polls, you see the polls immediately
...
(instead of needing to refresh)
2022-06-27 00:32:32 +02:00
Aevann1
b124afb60f
make CTRL+ENTER possible with gifting
2022-06-27 00:27:41 +02:00
Aevann1
baa105958e
dirty hack to make stacked emojis work in markdown preview
2022-06-27 00:17:39 +02:00
Aevann1
667355b952
don't highlight voted comments as "unread"
2022-06-26 23:57:02 +02:00
Aevann1
8e73d7aaad
remove checking for device RAM
2022-06-26 23:48:39 +02:00
Aevann1
8b8f99695b
make ppl with 200 coins able to bet
2022-06-26 23:40:02 +02:00
Aevann1
52e0f21c75
make /h/braincels jannies unable to exile ppl
2022-06-26 23:34:09 +02:00
Aevann1
58867084af
temporarily disable push notifs to get rid of console spam
2022-06-26 23:04:11 +02:00
Aevann1
e7ce39bd80
fix poll-voting
2022-06-26 22:53:12 +02:00
Snakes
8185340e15
WPD: rearrange & style sidebar flairs.
2022-06-26 06:39:53 -04:00
Snakes
fe5d339386
WPD: Update sidebar flairs.
2022-06-26 05:15:12 -04:00
Snakes
0311160c1a
WPD: update flair sidebar pre-launch.
2022-06-26 03:42:57 -04:00
Snakes
e0c3c79902
WPD: Require flairs on all posts.
2022-06-26 03:42:56 -04:00
Snakes
7b92db114a
WPD: preliminary sidebar flair list.
2022-06-26 03:42:32 -04:00
Snakes
268c23e2f8
WPD: make holes more flair-like in UI.
2022-06-26 03:42:15 -04:00
Snakes
cd556b6d8e
Refactor UI name of hole/sub to constant.
2022-06-26 03:41:28 -04:00
Snakes
13ceb8818d
Commit txn in /notifications (by @Aevann1 ).
2022-06-26 03:01:01 -04:00
Aevann1
c715185e85
temp fix for bullshit
2022-06-26 08:35:41 +02:00
Aevann1
49032231d3
sort the functions after request by chronological order
2022-06-26 08:33:08 +02:00
Aevann1
39ee9e5ff1
fix voting
2022-06-26 08:31:53 +02:00
Aevann1
b450d5bb8c
fix sorting by bottom for comments
2022-06-26 08:16:05 +02:00
Aevann1
81243b48dd
fix sorting by top/bottom for posts
2022-06-26 08:15:06 +02:00
Aevann1
5e745e38d3
revert the saving and subscription shit
2022-06-26 08:11:38 +02:00
Aevann1
5aad7e09a6
dont query polls on frontpage
2022-06-26 08:10:02 +02:00
Aevann1
4d7e7b629b
fix 0ef33b396a
2022-06-26 07:51:02 +02:00
Aevann1
afdc9605ca
make checking if a comment is saved less retarded
2022-06-26 07:48:39 +02:00
Aevann1
0ef33b396a
make checking if a post is subscribed to less retarded
2022-06-26 07:45:49 +02:00
Aevann1
2a8b7bf281
undefer css (1 less query)
2022-06-26 07:39:46 +02:00
Aevann1
1367d944da
commit only when status code is 200
2022-06-26 07:37:36 +02:00
Aevann1
e022b29ef6
rework custom css a little
2022-06-26 07:26:45 +02:00
Aevann1
e36adb5bf4
reduce query volume, badge edition
2022-06-26 07:11:25 +02:00
Aevann1
74978bfbf7
Revert "put custom CSS into HTML templates"
...
This reverts commit 19c82b7ea1
.
2022-06-26 07:07:28 +02:00
Aevann1
49e39b94bc
fix signups
2022-06-26 07:03:30 +02:00
Aevann1
ecc22cfc06
fix 2b1e7f6570
2022-06-26 06:57:31 +02:00
Aevann1
2b1e7f6570
make checking if a post/comment is saved less retarded
2022-06-26 06:54:41 +02:00