justcool393
1446bf582f
user validation logic fix
2022-10-17 20:37:09 -05:00
Snakes
1fc7e748e0
Revert "fix error with 500 page"
...
This reverts commit 3901b2c379
.
Was just debugging code which is now unneeded.
2022-10-17 20:35:47 -04:00
justcool393
3901b2c379
fix error with 500 page
2022-10-17 19:16:28 -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
Aevann1
44fca7f086
ripbozo
2022-10-17 21:13:33 +02:00
Aevann1
bf859b0e3a
sneed
2022-10-17 18:58:15 +02:00
justcool393
cc0c767877
static data as one function which is referenced
2022-10-17 05:08:09 -05:00
Aevann1
e54c4a1f15
require reason when banning a domain
2022-10-17 10:16:14 +02:00
Snakes
912560327f
Apply anti-grooming logic to chat.
2022-10-16 16:19:13 -04:00
Snakes
2efe5d1522
Fix changelog channel messaging on draft publish.
2022-10-16 13:49:24 -04:00
justcool393
e8329a12cc
remove unused routes
2022-10-16 08:01:59 -05:00
justcool393
aa508fc076
remove discord
2022-10-16 05:42:52 -07:00
justcool393
4b2ce3b7a0
use perms constant for unclub_post
2022-10-16 03:41:54 -07:00
Aevann1
4355768995
Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost
2022-10-16 11:56:15 +02:00
Aevann1
d1bcfa3f0c
Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost
2022-10-16 11:54:40 +02:00
Aevann1
94424163db
fix pinned posts
2022-10-16 11:54:36 +02:00
justcool393
f4af073253
fix 17 potential 500s
2022-10-16 02:51:42 -07:00
justcool393
3f9b51f0c1
fix 500: abort 404 if not an integer
2022-10-16 02:18:23 -07:00
justcool393
24a4274ee1
fix upvoters/downvoters for comments and user voted
2022-10-16 01:17:20 -07:00
Aevann1
87852c6e65
Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost
2022-10-16 10:10:52 +02:00
Aevann1
24e7828ae0
fix vote_dir in @user/voted/comments
2022-10-16 10:10:50 +02:00
justcool393
32a4693da9
fix a couple of potentially rare 500s
2022-10-15 14:35:24 -07:00
justcool393
6138c94a10
unduplicated alt adding code
...
* should probably be part of the Alt or User class at some point but this is for a diff day
2022-10-15 11:52:10 -07:00
justcool393
ef840c4afd
make it so you can't vote on messages
2022-10-15 10:12:55 -07:00
Aevann1
129508b163
Merge branch 'frost' of https://github.com/Aevann1/rDrama into frost
2022-10-15 19:03:53 +02:00
Aevann1
f63bf4e718
restore old pin behavior
2022-10-15 19:03:51 +02:00
Snakes
616e15ebb9
Fix posting/commenting from API.
...
The rework to v.client meant that `is_bot` on Submission and Comment
would attempt to be populated with a ClientAuth object when submitted
by a bot other than Snappy or bbbb. SQLAlchemy requires an actual
boolean, not just a truthy value.
2022-10-15 10:11:14 -04:00
justcool393
c428a59397
v -> v and v.client
2022-10-15 04:18:07 -07:00
justcool393
c2b6c5903d
fix 500 in search.py
2022-10-15 03:30:13 -07:00
Aevann1
6465982580
decouple v.last_active from the calc_users
2022-10-15 12:08:14 +02: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
b1efa072e6
rename /agendaposters to /chuds
2022-10-15 08:55:54 +02:00
Aevann1
afdec9a5a9
minor tweak to avoid double-notifying ppl
2022-10-14 20:35:13 +02:00
Aevann1
423ad25d2a
fix typo
2022-10-14 20:28:46 +02:00
Aevann1
2411053d55
add tiered pins
2022-10-14 20:28:20 +02:00
justcool393
3b86227872
refactor asset submissions a bit
2022-10-14 11:03:47 -07:00
Aevann1
f2a5c8f5d4
add whitelist of badge_granting on WPD, and disallow removing award badges
2022-10-14 19:11:39 +02:00
Aevann1
77312317f3
get rid of Boolean columns for permenant awards
2022-10-14 18:59:49 +02:00
Aevann1
6a11de21e0
fix 500 error
2022-10-14 17:29:26 +02:00
Aevann1
5e55ff7f90
make the modlog note for updating assets link to te updated asset
2022-10-14 14:38:06 +02:00
Aevann1
89a0ff4a4b
remove username reservation system
2022-10-14 14:01:06 +02:00
justcool393
2dd74d3acd
don't constantly check for reposts when it's obvious there can't be one
...
we currently spam the /is_repost api on every single character change in the URL box even though there is no way these URLs would ever be submitted to the site
introducing a frankly conservative limit to where we start actually pinging both the api and (on the backend) the database for reposts may help in some cases
the current constant was chosen by taking the length of "http://" and adding 2 to it
2022-10-14 03:27:45 -07:00
Aevann1
6b0e6b49ee
disallow discord links in DMs
2022-10-13 15:26:59 +02:00
Aevann1
7a6b4406ef
remove redundant shadoban filters
2022-10-13 12:47:55 +02:00
justcool393
0f56b8de5e
i need a d ðŸ¤
2022-10-13 00:55:15 -07:00
justcool393
c56e45aa57
create cloudflare helper
2022-10-13 00:55:15 -07:00