* Adding multi_community_name to list_posts.
- This is necessary for front ends to not have to pre-fetch the
multi-community.id
- Works the same way as community_name.
* Upgrading to debian:sid to fix local docker issues.
* Adding multi_communities_created to PersonDetails, and followed to MyUserInfo.
* Adding a last_application_duration_seconds field to GetSite.
- This is the difference in seconds, between the most recent approved /
denied application, and its creation time.
- Will help in estimating your time until approval.
- Fixes#6125
* Remove chrono
* Remove special BanFromCommunityResponse in favor of PersonResponse.
The site ban already returns PersonResponse now, this makes the
BanFromCommunityResponse consistent to that.
* Fixing shear.
* Setup default data for new instance
* embed community list in binary (fixes#2951)
* wip
* filter nsfw, suspicious
* fetch less after first start
* finish welcome post
* fix
* prefetch more comms
* run setup earlier, during initial user signup
* fix test
* clippy
* clippy
* fix api test
* move text to translations
* fetch data from lemmy.ml instead of lemmyverse.net
* adjust comment
* Adding read bool to mark_many_as_read API.
- Fixes#6079
* Using explicit person_id, post_ids in params.
* Fixing a few more.
* Fix clippy
* Removing import.
* Some adjustments for Post::mark_as_read (#6084)
* remove separate methods for mark as read
* remove unnecessary code
* fixes
---------
Co-authored-by: Nutomic <me@nutomic.com>
* update schema.rs
* Require indexes for all foreign keys (#5872)
* add test
* add migration with missing indexes
* Fix foreign key indexes migration (#5875)
* Allow remote groups to follow Lemmy communities (fixes#5354) (#5864)
* Allow remote groups to follow Lemmy communities (fixes#5354)
* index
* rename columns
* review changes
* primary key
* Prevent stack overflow when fetching nested comment (#5787)
* attempt future wrapper
* Revert "attempt future wrapper"
This reverts commit ce95422228.
* use spawn
* remove `lazy` and change comment
* temporary change for test
* change 5000 back to 50
* fix comment about async laziness
* make columns nullable
* more shrinking
* update utils.sql
* update remove-aggregate-tables migration, and change indexed ranks back to non-null
* rename columns in remove-aggregate-tables migration, and fix later migrations
* remove comment
* optimize rank functions
* stuff
* more migration fixes
* other changes to migrations
* make schema setup tests pass
* stuff
* make tests pass
* crud trait is back
* add todo
* change immutable to stable
* use minutes for age
* clean up
* start cursor refactor
* finish cursor refactor
* remove "get_" prefix
* clean up
* import style consistency
* revert change to translations commit
* use i-love-jesus from crates.io
* remove some non_0_ and non_1_
* revert most changes in the crates folder
* fix column order in structs
* stuff
* fix migrations
* stuff (rust tests now pass)
* rename some vote-related fields
* fix some rust errors to make ts bindings generation work, and rename voteview field
* lint
* change stuff in api_tests to match changes to types
* change translations commit to prevent merge conflict
* rename "is_positive"
* remove like score range check test from post.spec.ts
* uncomment restrict-key thing
* prettier
* rerun ci
* add cfg_attr
* fix "A required parameter cannot follow an optional parameter"
* person_liked_combined: RENAME COLUMN liked_at TO voted_at
* for "newest comment" times: remove "after_published" prefix and don't convert to non-null
* move "voted_at" rename to "rename_timestamp_add_at" migration
* remove added uses of as_select
* fix sql code referencing "liked_at"
* clippy
* restore as_select uses that were already present
* change lemmy-js-client version
---------
Co-authored-by: Nutomic <me@nutomic.com>
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
Co-authored-by: Dessalines <tyhou13@gmx.com>
* Make sure create_multi_community_entry returns the community.
Also did various cleanups:
- Extracted MultiCommunityEntry into its own type, form, and impl.
- Removed a lot of Oks and specified the lemmy error type.
- Removed a few unecessary joins.
- Cleaned up some calls.
* Fixing api tests.
* Fix test.
* Rename error codes
* Remove person join from read_community_ap_ids.