Commit Graph

33 Commits (7c1eb4c6e39685f7c9ed101dbd041c7a42fb5f38)

Author SHA1 Message Date
Aevann1 7c1eb4c6e3 add nginx to docker 2022-10-04 03:06:57 +02:00
justcool393 7e3f43c9ab
unperson shadowbanned users (#373)
* unperson shadowbanned users
if a shadowbanned user copes, does anyone hear them seethe?

* unperson shadowbanned users (by id)

* don't import that

* Add include_blocks.
We don't always want to request blocks from the db when we have a user set

* block shadowbanned users from hole mod tools

* don't allow awarding shadowbanned things

* fix conflict

* gracefully use get_account when specified and also add include_blocks flag to get_account as well
2022-09-30 14:00:58 -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 fa4dee419d remove unnecessary imports 2022-09-27 02:47:52 +02:00
Aevann1 8fcc91a43e reduce resize values 2022-09-26 03:15:36 +02:00
Aevann1 340f9e31fe limit asset perms and generate modlog for updating 2022-09-23 14:51:57 +02:00
Aevann1 db9622565f tweak last commit 2022-09-19 01:36:48 +02:00
Aevann1 0930f85c4b remove all previous high quality versions of an asset when updating it 2022-09-19 01:34:23 +02:00
Aevann1 3f5ab7315f add form to update hats 2022-09-18 19:38:53 +02:00
Aevann1 6ff943914e testing done 2022-09-17 22:25:15 +02:00
Aevann1 eee6058330 why yes, I test on prod, how could you tell? 2022-09-17 22:21:21 +02:00
Aevann1 956a8c8506 purge CF cache on emoji update 2022-09-17 22:13:30 +02:00
Aevann1 1d184661e1 allow me to remove/approve marseys and hats 2022-09-17 20:43:50 +02:00
Aevann1 ef00d588f5 add /admin/update/marseys 2022-09-17 17:08:24 +02:00
Aevann1 3a6c3d29a8 sneed 2022-09-15 03:00:02 +00:00
Aevann1 c2f397df40 show the original file in /marseys 2022-09-14 12:55:35 +02:00
Aevann1 a7236cd807 fix typo 2022-09-13 20:06:57 +02:00
Aevann1 e4e42c6b2c give 250 DC to marsey creators 2022-09-13 20:00:11 +02:00
Aevann1 d3e8a7f86c perserve asset_submission fields on error 2022-09-13 13:00:47 +02:00
Aevann1 b7013698c2 change resize for marseys from 300px to 250px 2022-09-12 13:05:16 +02:00
Aevann1 6601d0d6be sort alphabetically 2022-09-12 09:22:35 +02:00
Aevann1 ee756bf4b6 minor submission changes 2022-09-12 09:17:57 +02:00
Aevann1 5b0b0f6ebb refactor original hats and marseys 2022-09-12 09:06:50 +02:00
Aevann1 1e49bb9e2c make submitted hats prices 1000 when animated 2022-09-11 16:35:34 +02:00
Aevann1 14961d856f trim non-animated marseys and increase width to 300px 2022-09-11 10:49:46 +02:00
Aevann1 fda1f1e562 allow asset submitters to remove their pending shit 2022-09-11 09:03:34 +02:00
Aevann1 5546bf56f3 same as last commit 2022-09-11 08:41:48 +02:00
Aevann1 3e6a3ef52d expose the pngs 2022-09-11 08:41:28 +02:00
Aevann1 55c20a67f5 remove hq images that dont fit requirements 2022-09-11 03:28:26 +02:00
Aevann1 89ab532425
Update asset_submissions.py 2022-09-10 15:46:56 +02:00
Aevann1 48e1c653db 2 folders instead of prefixes 2022-09-10 13:07:58 +02:00
Snakes 7586dfdbc8
asset_submissions: respect hat case-sensitivity.
Unlike Marsey names and tags, we display hat names & descriptions
with respect for capitalization. The filesystem and database treat
hat names as case-sensitive too, so there's no risk of conflict.
2022-09-10 03:56:37 -04:00
Snakes 0950dc81b8
Move asset submission routes out of static.py. 2022-09-10 03:56:37 -04:00