Aevann1
0aa27a926b
small fix to /h/social and /h/music logic
2022-11-07 01:43:50 +02:00
justcool393
8f1700a3c5
WPD: front: partially fix next page bug (increase counter to 101 so that we know about any next pages)
...
- the next page but still is there but this may fix it in some cases
WPD: front: fix bug that makes posts not show up when viewing a hole
2022-11-06 02:31:28 -06:00
Aevann1
a6f79e78d2
remove the "if True"
2022-11-06 08:33:29 +02:00
Aevann1
ba144f026e
last-ditch attempt, killing myself if this one fails
2022-11-06 08:30:53 +02:00
Aevann1
12ceae5677
stop spamming console
2022-11-06 08:21:58 +02:00
Aevann1
9a1d88b22a
time for print-debugging
2022-11-06 08:20:45 +02:00
Aevann1
842b971602
trying to fix /h/social limit
2022-11-06 08:18:58 +02:00
Aevann1
1ec5de2fcf
Revert "WPD: remove vestigial social and music filer code"
...
This reverts commit bb1658e0a0
.
2022-11-06 07:18:28 +02:00
justcool393
3a6dfdf2de
listings: constantify PAGE_SIZE as 25
...
magic numbers are bad, do better next time
2022-10-28 22:20:48 -05:00
Aevann1
ad358650e1
remove retarded bullshit I wasn't consulted about
2022-10-27 19:53:08 +02:00
justcool393
e248295880
lawlzposts: fix a couple of bugs
2022-10-23 13:28:51 -05:00
justcool393
ec1affcf85
posts: add MasterLawlz specific actions
2022-10-23 12:01:00 -05:00
Snakes
e9b648dcb5
Support for multiple WPD sites on one master.
2022-10-21 19:33:43 -04:00
justcool393
347a751481
WPD: redirect unlogged users to new site
2022-10-21 16:10:06 -05:00
Aevann1
360aa99fe1
small adjustments
2022-10-21 17:11:12 +02:00
justcool393
174bce037f
WPD migration: don't include AutoJanny, Snappy, or other bots
2022-10-18 06:42:43 -05:00
justcool393
33c6edba58
import error i think also make graceful
2022-10-17 20:49:13 -05:00
justcool393
1446bf582f
user validation logic fix
2022-10-17 20:37:09 -05:00
justcool393
39545e556f
WPD: disable /logged_out on .co, fixing infinite loop
...
WPD: fix bad asset link
WPD: redirect on migration login and failed migration login
2022-10-17 19:11:50 -05:00
Snakes
41fd13602f
Fix broken import in WPD migration.
2022-10-17 19:47:28 -04:00
justcool393
be6fa59e13
fix host bug, do a absolute redirect instead of a relative one, and make wpdco page essentially static
2022-10-17 18:40:09 -05:00
justcool393
96d63ed5de
banner text and also rename variable
2022-10-17 18:40:09 -05:00
justcool393
6d538e2cd3
WPD migration code
2022-10-17 18:40:09 -05:00
justcool393
aa508fc076
remove discord
2022-10-16 05:42:52 -07:00
justcool393
39aa59a37a
add g.is_api_or_xhr so we can use it where we want to give API output
...
* also use v.client for strict API clients
2022-10-15 02:11:36 -07:00
Aevann1
7a6b4406ef
remove redundant shadoban filters
2022-10-13 12:47:55 +02:00
Snakes
2edeb48751
Refactor /comments to use single query.
2022-10-13 01:52:54 -04:00
Snakes
e5af46c4ae
Fix shadow visibility logic.
2022-10-13 00:10:34 -04:00
Snakes
166e33dc38
Clarify architecture of sort_objects.
2022-10-12 04:05:26 -04:00
Aevann1
d18e247513
Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost
2022-10-12 09:03:30 +02:00
Aevann1
2aa281e8c8
refactor sorting again (untested)
2022-10-12 09:03:28 +02:00
justcool393
bb1658e0a0
WPD: remove vestigial social and music filer code
2022-10-12 00:03:08 -07:00
Aevann1
b1abd33835
refactor sorting
2022-10-12 08:10:11 +02:00
Aevann1
e3a3cbd358
add "hot" comment sorting
2022-10-11 18:41:09 +02:00
justcool393
7025cbe983
don't include sbed users in songs
2022-10-08 10:14:17 -07:00
justcool393
2fc3044d5b
shadowban perms and stuff
2022-10-05 19:24:37 -07:00
justcool393
9575e11b8b
add get_sub_by_name function
2022-10-05 03:37:29 -07:00
Aevann1
04895e1fac
remove my effortpost algo (cant have shit in detroit)
2022-10-01 19:17:58 +02:00
Aevann1
09cc43060d
add hole mod logs ( #380 )
2022-09-29 11:39:37 +02: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
a2f578c7b7
fix exploit
2022-09-25 13:30:22 +02:00
Aevann1
7d39cdb520
minor auth_desired refactor
2022-09-20 02:51:01 +02:00
Aevann1
3e8c618804
testing on devrama
2022-09-20 00:59:38 +02:00
Aevann1
5e6fe2e27d
testing on devrama
2022-09-20 00:58:55 +02:00
Aevann1
b2b73b2658
sneed
2022-09-11 04:11:06 +02:00
Aevann1
64f95f1fca
sneed
2022-09-05 09:48:54 +02:00
Aevann1
0c32d56cd6
casino + style shit
2022-09-05 01:15:37 +02:00
Aevann1
04e47017c1
fix chudrama for paypigs
2022-08-31 18:49:31 +02:00
Aevann1
1292fcbf36
write code for WPD social holes
2022-08-26 00:23:53 +02:00
Aevann1
da4070b62a
reduce chudrama requirement from 20k to 5k
2022-08-20 00:45:21 +02:00
Aevann1
a88b9d59c4
rename /h/chudtopia to /h/chudrama
2022-08-20 00:20:25 +02:00
Aevann1
9e5ddcbd92
large commit: stealth mode, SubJoin, chudtopia
...
dont read if u value ur sanity
2022-08-19 23:31:26 +02:00
Aevann1
0e6f9358dd
adjust algo again
2022-08-15 16:16:35 +02:00
Aevann1
26f5e3e053
adjust WPD algo
2022-08-15 16:15:16 +02:00
Aevann1
89e77a69ac
sneed
2022-08-11 07:13:52 +02:00
Aevann1
eac3a72976
fix typo and remove deux redirect
2022-08-06 01:47:20 +02:00
Aevann1
f27a65f2dc
fix issue with logged-in redirection for holes
2022-08-06 00:39:38 +02:00
Snakes
2845e0961b
Turn login-gate of 1568ec0162
into admin toggle.
2022-08-05 16:42:22 -04:00
Aevann1
1568ec0162
sneed
2022-08-04 22:33:22 +02:00
Aevann1
45753ee166
I hate programming
2022-08-01 21:37:57 +02:00
Aevann1
914c89c301
make deux redirection only happen in rdrama
2022-08-01 21:30:42 +02:00
Aevann1
e5a2980d1b
normalizing request.full_path
2022-08-01 20:03:29 +02:00
Aevann1
8621e68044
fix frontpage redirecting
2022-07-23 09:23:55 +02:00
Aevann1
ddeba62aeb
fixing infinite redirections
2022-07-23 09:22:17 +02:00
Aevann1
de011ef7b1
testing on prod
2022-07-23 09:17:38 +02:00
Aevann1
8547e6b71d
redirect permabanned-cels to deux
2022-07-23 09:07:57 +02:00
Snakes
eb55a6cc01
LGB: disable country club.
2022-07-19 21:50:08 -04:00
Aevann1
6689172013
fix pinning logic for holes
2022-07-13 23:20:56 +02:00
Aevann1
86717e37b2
refactor changelog
2022-07-13 23:03:11 +02:00
Aevann1
c4499968ad
make pins toggle sort-specific
2022-07-13 21:32:28 +02:00
Aevann1
2d21863e19
replace "request.host" with "SITE"
2022-07-13 20:14:37 +02:00
Aevann1
5fb6bd86f9
remove "warm" sorting
2022-07-13 19:32:31 +02:00
Aevann1
b2de11cb1a
add "pins" toggle to the frontpage
2022-07-13 19:31:35 +02:00
Aevann1
f6bf7400c3
do this https://chapotraphouse.club/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/2298056?context=8#context
2022-07-13 17:20:10 +02:00
Aevann1
0ebd721884
fix WPD sorting
2022-07-10 12:07:11 +02:00
Aevann1
c214d4b7cc
change sorting logic for WPD
2022-07-10 11:29:55 +02:00
Aevann1
ec3b4357cf
refactor sorting and time filter
2022-07-09 12:32:49 +02:00
Aevann1
382df30e1f
show ALL timestamps in user's timezone + move scripts to the bottom of HTML templates to mimic rocketloader's behavior on localhost (for testing)
2022-07-09 10:35:47 +02:00
Aevann1
38f6a6f81d
remove special timefilter condition for "bump" sorting
2022-07-08 21:49:27 +02:00
Aevann1
a8fe49f232
kitchen sink commit, all over the place
2022-07-08 21:03:04 +02:00
Aevann1
ad1273995d
notifications rework
2022-07-08 20:06:54 +02:00
Aevann1
b617321529
move all env-getting to .const
2022-07-08 18:21:13 +02: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
1f0f0ef0be
messing with joins
2022-07-03 08:12:53 +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
bce4c13043
kitchen sink commit, all over the place
2022-07-02 12:44:05 +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
100677c1bb
fix 500 error
2022-07-02 01:18:41 +02:00
Aevann1
f56be06eb8
add hole pinning
2022-07-02 01:11:48 +02:00
Aevann1
0c51979cbf
remove frontpage exploit
2022-06-30 17:24:05 +02:00
Aevann1
c341be2866
show posts by users who block you
2022-06-29 05:07:00 +02:00
Snakes
13ceb8818d
Commit txn in /notifications (by @Aevann1 ).
2022-06-26 03:01:01 -04:00
Aevann1
cff34fb3a4
reducing query volume, #2
2022-06-26 03:11:02 +02:00
Aevann1
7a402d2449
order pins by new
2022-06-25 21:54:18 +02:00
Aevann1
10a47ca837
refactor sorting posts
2022-06-22 21:57:57 +02:00
Aevann1
8ecb4582d0
refactor sorting comments
2022-06-22 21:50:20 +02:00
Aevann1
17c7529977
add ceiling to link boost
2022-06-19 23:38:25 +02:00
Aevann1
57e63a2d8b
hide autopoller/autobetter/autochoice from /comments
2022-06-16 14:34:35 +02:00
Aevann1
cec1994ff7
ppl with code contributor badge can now make "(changelog)" posts
2022-06-13 23:41:29 +02:00
Aevann1
1212804fbf
exclude pings from link counter
2022-06-11 15:19:39 +02:00