Aevann1
4d15d76dfa
show the earlylife parantheses in more places
2022-10-07 01:31:09 +02:00
Aevann1
3ffac6f0f6
fix tranny slur replacement in plainbody and plaintitle
2022-10-07 00:34:25 +02:00
Aevann1
8b1cf50965
fix misplaced ")" resulting in 500 error
2022-10-06 23:17:35 +02:00
justcool393
6911101e29
post bet distributions
2022-10-05 22:59:27 -07:00
justcool393
04f24cd8fd
content moderation permission level
...
holy crap there's a lot
2022-10-05 17:57:08 -07:00
justcool393
651355afdf
should be no semicolon there
2022-10-05 16:37:16 -07:00
justcool393
4037eed228
use constant instead of literal 200 for poll bets
2022-10-04 23:07:53 -07:00
justcool393
635e35204e
i'm an idiot
2022-10-04 17:08:15 -07:00
justcool393
31725a0684
security: don't leak post contents to embeds and other stuff for removed/deleted posts
2022-10-04 16:48:01 -07:00
Snakes
4a54c6219a
Add trailing final newlines to source files.
...
Touched a ton of files to finally standardize on having trailing
final newlines, as best practice recommends and so our devs stop
accidentally fighting each other over it.
This was performed automatically with the following:
git ls-files -z '*.py' | while IFS= read -rd '' f; \
do tail -c1 < "$f" | read -r _ || echo >> "$f"; done
git ls-files -z '*.css' | while IFS= read -rd '' f; \
do tail -c1 < "$f" | read -r _ || echo >> "$f"; done
2022-09-29 01:43:29 -04:00
Aevann1
618572e413
reload on declaring winner
2022-09-22 22:24:22 +02:00
Aevann1
d80a2f2331
add "are you sure?" to "declare winner"
2022-09-22 22:11:56 +02:00
Aevann1
b980c63d1b
Revert "created_utc refactor"
...
This reverts commit 791aececbb
.
2022-09-19 22:40:33 +02:00
Aevann1
791aececbb
created_utc refactor
2022-09-19 21:24:16 +02:00
Aevann1
f54791cc4c
remove categories
2022-09-19 20:04:30 +02:00
Aevann1
f7727f1029
refactor sigs
2022-09-19 19:51:40 +02:00
Aevann1
ae90eb1cf2
simplify house checking logic
2022-09-11 03:53:16 +02:00
Aevann1
c1aae95d16
restore "notify followers" checkbox
2022-09-10 09:00:45 +02:00
Aevann1
66bf74b444
fix whoopsie
2022-09-08 21:16:57 +02:00
Aevann1
6077f09ca9
make bets better
2022-09-08 20:25:45 +02:00
Aevann1
f8cd1bea03
make the poll code much worse
2022-09-06 01:33:58 +02:00
Aevann1
da52d00ad3
fix 500 errors
2022-09-06 00:55:26 +02:00
Aevann1
ef5c3c89ee
deduplicate polls
2022-09-06 00:55:01 +02:00
Aevann1
62d077576f
change poll- and choice- and -bet to -option
2022-09-06 00:54:05 +02:00
Aevann1
73dbb2dd7e
change t2_ and t3_ to p_ and c_
2022-09-06 00:52:22 +02:00
Aevann1
8085de14e4
make only house members able to vote on polls in their house hole
2022-09-06 00:30:44 +02:00
Aevann1
04e47017c1
fix chudrama for paypigs
2022-08-31 18:49:31 +02:00
Snakes
6acf4ff569
WPD: disable cosmetic awards on distinguished posts.
2022-08-30 23:18:59 -04:00
Aevann1
fc01eb6c1d
make the ((( in earlylife award stack along with the time
2022-08-30 13:54:43 +02:00
Aevann1
0f11312d24
add house awards
2022-08-27 04:57:19 +02:00
Aevann1
45d5f52388
restore betting
2022-08-26 23:53:17 +02:00
Aevann1
1ed41d80c0
fix rdrama.org thumbnails
2022-08-26 00:55:30 +02:00
Aevann1
11d7f34ad0
allow hole jannies to change the hole marsey + cachebust all site assets
2022-08-25 00:22:44 +02:00
Aevann1
9456fa1aa6
fix 500 error i introduced
2022-08-23 20:05:11 +02:00
Aevann1
be251e7756
give paypigs access to chudrama
2022-08-22 22:52:00 +02:00
Aevann1
797cf61d3f
let chuds into /h/chudrama
2022-08-21 15:57:56 +02:00
Aevann1
3140adfbdb
small change to can_see logic
2022-08-20 15:05:02 +02:00
Aevann1
725179dc6c
add exception in can_see for offsites
2022-08-20 02:10:13 +02:00
Aevann1
da4070b62a
reduce chudrama requirement from 20k to 5k
2022-08-20 00:45:21 +02:00
Aevann1
e1e7258e7a
add def can_see(v)
2022-08-20 00:36:28 +02:00
Aevann1
2957db79ce
site_preview change for rdrama
2022-08-12 00:56:33 +02:00
Snakes
1411018f8d
Add post categories.
...
Implemented for LGB but can likely be used for WPD and other future
sites. Similar to a reddit post flair. Provides:
- Admin panel for Category management.
- Category selection on post submission.
- 'Recategorize' post action.
2022-08-07 02:57:30 -04:00
Aevann1
7a484859da
fix 500 error
2022-07-12 20:05:56 +02:00
Aevann1
334c5d449b
change deux assets
2022-07-12 02:35:40 +02:00
Aevann1
ee11a28636
fix flag filtering
2022-07-11 20:13:00 +02:00
Aevann1
ae45b45bfb
refactor json again
2022-07-11 19:33:26 +02:00
Aevann1
bc4074f9aa
fix api 500 errors
2022-07-11 19:19:48 +02:00
Aevann1
27b1ed83cc
refactor json a little bit and fix https://chapotraphouse.club/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/2278188?context=8#context
2022-07-11 15:14:34 +02:00
Aevann1
4c2cb82f48
change deux' assets
2022-07-10 22:27:56 +02:00
Aevann1
ec3b4357cf
refactor sorting and time filter
2022-07-09 12:32:49 +02:00
Aevann1
b617321529
move all env-getting to .const
2022-07-08 18:21:13 +02:00
Aevann1
3245656787
show timestamps in the user timezone
2022-07-03 09:41:25 +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
Aevann1
f56be06eb8
add hole pinning
2022-07-02 01:11:48 +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
4fae28a2a2
fix child comment highlighting
2022-06-28 02:41:25 +02:00
Aevann1
52a8a219ae
make poorcel-mode device-specific
2022-06-27 05:46:32 +02:00
Aevann1
b1ef8e4c62
add poorcel mode
2022-06-27 04:14:53 +02:00
Aevann1
8b8f99695b
make ppl with 200 coins able to bet
2022-06-26 23:40:02 +02:00
Aevann1
e7ce39bd80
fix poll-voting
2022-06-26 22:53:12 +02:00
Aevann1
81243b48dd
fix sorting by top/bottom for posts
2022-06-26 08:15:06 +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
0ef33b396a
make checking if a post is subscribed to less retarded
2022-06-26 07:45:49 +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
Aevann1
e34cbeca31
fix 3b8188fd67
2022-06-26 03:25:17 +02:00
Aevann1
3b8188fd67
fixed version of d83d47e280
2022-06-26 03:22:05 +02:00
Aevann1
a1b137447e
Revert "reduce query volume #1"
...
This reverts commit d83d47e280
.
2022-06-26 03:12:31 +02:00
Aevann1
cff34fb3a4
reducing query volume, #2
2022-06-26 03:11:02 +02:00
Aevann1
d83d47e280
reduce query volume #1
2022-06-26 02:50:47 +02:00
Aevann1
bc7185b5af
order awards by the time they were awarded
2022-06-25 22:33:51 +02:00
Aevann1
ffd0d9ed31
show duration on ban icon tooltip
2022-06-25 02:11:00 +02:00
Aevann1
9593dc58dd
move regex from helpers.const into its own helper file
2022-06-24 16:30:59 +02:00
Aevann1
ceb72a470c
add more @lazy to functions
2022-06-23 18:36:39 +02:00
Aevann1
39cf7fc48b
refactor normalizing urls at runtime (I put the function in comment.py cuz there were weird import errors that i didnt wanna fix)
2022-06-23 17:47:57 +02:00
Aevann1
152d39ce6c
fix controversial sorting, give priority to new posts
2022-06-22 22:30:45 +02:00
Aevann1
062542c5af
fix posts refactor (again
2022-06-22 22:03:57 +02:00
Aevann1
10a47ca837
refactor sorting posts
2022-06-22 21:57:57 +02:00
Snakes
acde2c856b
Enable JL2 viewing shadowbanned comments.
2022-06-12 05:48:27 -04:00
Aevann1
995e6e9edb
add thumbnail for posts linking to same site
2022-06-10 21:21:25 +02:00
Snakes
04a878a8c4
Make betting polls respect can_gamble.
2022-05-30 08:13:11 -04:00
Aevann1
386db76c10
crgd is a king
2022-05-25 20:29:22 +02:00
Aevann1
061c4936ce
fds
2022-05-25 04:58:26 +02:00
Aevann1
02e98b46b0
is_audio
2022-05-24 18:28:12 +02:00
Aevann1
649f8d5323
vdffsd
2022-05-23 00:45:04 +02:00
Aevann1
e0c1e6b4cd
sfd
2022-05-16 22:57:47 +02:00
Aevann1
f2039d7713
sfd
2022-05-07 06:13:19 +02:00
Aevann1
43751ccde2
vdx
2022-04-26 16:18:57 +02:00
Aevann1
5afa0c0d2a
fsd
2022-04-26 16:15:06 +02:00
Aevann1
f9ea51611f
fds
2022-04-26 02:36:03 +02:00
Aevann1
43366f4a28
fds
2022-04-26 02:26:27 +02:00
Aevann1
ad47e9524a
dfs
2022-04-25 21:52:30 +02:00
Aevann1
017dde4e51
fds
2022-04-20 21:39:56 +02:00
Aevann1
aa498d89c7
gfd
2022-04-19 21:13:36 +02:00
Aevann1
e49889e944
fds
2022-04-19 19:46:51 +02:00
Aevann1
d7fa942d85
fds
2022-04-18 18:01:03 +02:00
Aevann1
69d285b0f3
fds
2022-04-18 01:00:17 +02:00