mzivil 6355d7eabc
Add nsfw setting to territories (#788)
* add nsfw column to sub

* add nsfw boolean to territorySchema

* save nsfw value in upsertSub mutation

* return nsfw value from Sub query for correct value in edit territory form

* add nsfw checkbox to territory form

* add nsfw badge to territory header

* add nsfwMode to user

* show nsfw badge next to item territory

* exclude nsfw sub from items query

* show nsfw mode checkbox on settings page

* fix nsfw badge formatting

* separate user from current, signed in user

* update relationClause to join with sub table

* refactor to simplify hide nsfw sql

* filter nsfw items when viewing user items

* hide nsfw posts for logged out users

* filter nsfw subs based on user preference

* show nsfw sub name if logged out user is viewing the page

* show current sub at the top of the list instead of bottom

* always join item with sub to check nsfw

* check for sub presence before showing nsfw badge on item

* skip manually adding sub to select if sub is null

* fix relationClause to join with root item

* move moderation and nsfw into accordion

---------

Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
2024-02-09 20:35:32 -06:00
..
2023-12-04 21:34:06 -06:00
2023-11-06 14:53:33 -06:00
2023-12-21 17:45:03 -06:00
2024-01-19 15:19:26 -06:00
2023-12-04 21:34:06 -06:00
2023-12-10 16:56:22 -06:00
2023-11-10 09:22:14 -06:00
2024-01-17 18:11:00 -06:00
2023-11-09 19:05:35 -06:00
2023-12-25 18:05:45 -06:00
2023-12-30 17:16:09 -06:00
2023-10-26 13:01:01 -05:00
2023-11-01 11:57:55 -05:00
2024-01-17 19:03:49 -06:00
2024-01-08 19:02:00 -06:00
2023-12-04 21:34:06 -06:00
2024-01-17 17:39:48 -06:00
2024-01-17 19:03:49 -06:00
2024-01-30 18:22:40 -06:00
2024-01-17 19:03:49 -06:00
2023-12-24 16:49:41 -06:00
2024-01-24 17:29:52 -06:00
2024-02-01 16:17:54 +01:00