lemmy/scripts
Nutomic ad90cd77f9
Implement private communities (#5076)
* add private visibility

* filter private communities in post_view.rs

* also filter in comment_view

* community follower state

* remove unused method

* sql fmt

* add CommunityFollower.approved_by

* implement api endpoints

* api changes

* only admins can create private community for now

* add local api tests

* fix api tests

* follow remote private community

* use authorized fetch for content in private community

* federate community visibility

* dont mark content in private community as public

* expose ApprovalRequired in api

* also check content fetchable for outbox/featured

* address private community content to followers

* implement reject activity

* fix tests

* add files

* remove local api tests

* dont use delay

* is_new_instance

* single query for is_new_instance

* return subscribed type for pending follow

* working

* need to catch errors in waitUntil

* clippy

* fix query

* lint for unused async

* diesel.toml comment

* add comment

* avoid db reads

* rename approved_by to approver_id

* add helper

* form init

* list pending follows should return items for all communities

* clippy

* ci

* fix down migration

* fix api tests

* references

* rename

* run git diff

* ci

* fix schema check

* fix joins

* ci

* ci

* skip_serializing_none

* fix test

---------

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2024-11-07 05:49:05 -05:00
..
query_testing
clear_db.sh
compilation_benchmark.sh
db-init.sh
db_perf.sh Make scripts work in path that contains spaces (#4986) 2024-08-22 17:33:00 +02:00
dump_schema.sh Make scripts work in path that contains spaces (#4986) 2024-08-22 17:33:00 +02:00
install.sh Moving from yarn to pnpm. (#4414) 2024-01-29 11:38:39 +01:00
lint.sh Make scripts work in path that contains spaces (#4986) 2024-08-22 17:33:00 +02:00
postgres_12_to_15_upgrade.sh Switch PostgreSQL container to use pgautoupgrade (#4892) 2024-07-17 09:59:21 +02:00
postgres_15_to_16_upgrade.sh Switch PostgreSQL container to use pgautoupgrade (#4892) 2024-07-17 09:59:21 +02:00
release.sh Make scripts work in path that contains spaces (#4986) 2024-08-22 17:33:00 +02:00
restore_db.sh
sql_format_check.sh Make scripts work in path that contains spaces (#4986) 2024-08-22 17:33:00 +02:00
start_dev_db.sh Fix postgres connection options causing slow query speed. (#5150) 2024-11-06 10:58:40 -05:00
test-with-coverage.sh Make scripts work in path that contains spaces (#4986) 2024-08-22 17:33:00 +02:00
test.sh Implement private communities (#5076) 2024-11-07 05:49:05 -05:00
ts_bindings_check.sh Upgrading ts_rs to 10.0.0 (#5163) 2024-11-06 15:50:13 +01:00
update_config_defaults.sh Remove error-type feature from lemmy-utils (#4474) 2024-02-27 11:13:52 -05:00
update_translations.sh
upgrade_deps.sh Upgrading lemmy-js-client version to 0.19.4 (#4787) 2024-06-06 20:44:36 -04:00