forked from rDrama/rDrama
1
0
Fork 0
Commit Graph

908 Commits (4a05910161062504f6ce14cfd360732d1c351459)

Author SHA1 Message Date
Snakes 4afa60dc81
Use database to filter hidevotedon directly.
We no longer need to build a list of potentially tens of thousands
of submission_ids in Python from the database to then pass back to
the database.
2022-11-09 09:57:51 -05:00
Snakes ebb3957f41
Eager load submission listing relationships. 2022-11-09 09:16:22 -05:00
justcool393 26549a6e66
remove logged out routes (#433)
* remove /logged_out/ routes

* update sitemap, remove users route, and update header

* cloudflare cookie

* only mess with the cookie whenever we desire auth

* sitemap: (small) improvements
sitemap: fix little bug i introduced
sitemap: fix login redirects for /id/ routes

* sitemap: remove duplicate entry

* contact is auth desired

* imports: don't import what we don't need and bind late to the db

* praying to god this works

* keep yourself safe

* oh i actually need to commit and push lol

* import Sub

* t

* refix cache purger
2022-11-09 00:35:24 -05:00
justcool393 ddbe3de33b remove catalog feature no one uses 2022-11-07 18:59:28 -06:00
Snakes cb3d92c479
WPD: fix auto-login token validation call params. 2022-11-07 19:41:25 -05:00
Aevann1 5111eb7ca4 exclude /h/changelog from hole filter 2022-11-07 03:18:54 +02:00
Aevann1 5a61907268 Revert "extend the holes filter to pinned posts"
This reverts commit ba031b09be.
2022-11-07 03:15:42 +02:00
Aevann1 ba031b09be extend the holes filter to pinned posts 2022-11-07 02:59:17 +02:00
Aevann1 2fe10e9644 replace cc toggle with holes toggle 2022-11-07 02:44:31 +02:00
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