* Fix missing interactions_month update and missing "AS community_id", and improve scheduled_tasks test
* make see eye run again
---------
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
* api test fix 1
* Only test post.
* Try cloning the data.
* Only test post
* Rest of API tests.
* Removing unecessary post id.
* Revert "Try cloning the data."
This reverts commit 7f3d67b1f0.
* Comment plugin hook before.
* Remove another before
* Rest of api tests
* Fix user spec.
* Revert "Fix user spec."
This reverts commit 1a0bf39916.
* Using localuserview for admin check
* Fixing site_view import
* Try to add back in plugin hooks
* Commenting again, adding lints.
* Adding back tests.
* Forgot one
* Fixing shear.
* Trying to fix cargo test ci 1.
* 2
* 3
* 3
* Print output
* Try empty restrict key
* Try empty
* Updating from main.
* Use cargo nextest, change CI order to build, test, clippy.
* Dont run clippy for all targets.
* Forgot run
* Forgot another.
* Remove nextest.
* Fixing perm
* [0.19] Fixing active counts slow queries. (#5907)
* Fixing active counts slow queries.
* Simplify back to str tuple
* Batch site and community updates
* Using update from temp table
* Making aggs temp table use interval name.
* Make dev setup use optimized postgres.
* Addressing PR comments.
* Use ref
* Removing system custom info from customPostgresql.conf
* Forgot to remove old scheduled tasks.
* Making sure migrations aren't missing anything from release/v0.19
Checked using git diff --diff-filter D --stat release/v0.19 migrations
* Rename all migrations to come after release/v0.19 migrations
* Add liked_at is not null check.
* Adding a local_site and local_user setting for default fetch limit
- Currently only used for list_posts and list_comments, like the other
defaults.
- Fixes#5474
* Addressing PR comments.
* Reorder email files
* single email function with data enum
* refactor
* rename
* use spawn to send emails in background
* use ref
* single db insert
* move methods
* fix tests
* fix test
* remove unnecessary param
* Finishing up post and comment actions
* Adding community_actions.
* instance and person actions
* Fixing person_actions.
* Fixing down migrations
* Adding person_content_combined.
* Search combined.
* Aggregates tables.
* Dont rename old tables
* Fixing some constraints.
* Convert bigints to ints
* Forgot a bigint.
* Rest of i64 -> i32
* Adding actions id columns.
* Fixing connection config.
* Formatting smoosh up.sql
* Use current_date instead of now
* Adding history tables for liked_combined
* Upping wal size
* Fix clippy
* Fixing clippy.
* Fixing i64
* Getting rid of let mut conn
* Adding the history status table.
* Adding published indexes to speed up history.
* Adding comment like history scanning.
* Fixing schema options setup.
* post_read history
* person_post_aggregates / read_comments history
* post_like history
* Fixing conflicts.
* Fixing clippy.
* Use constant batch_size.
* person content combined post and comment history.
* Fixing id scanning.
* post/comment_actions -> saved_combined history
* search history
* Post and comment aggregates -> post / comment history.
* Uncommenting full history building.
* Changing DB_BATCH_SIZE to i64
* Fixing clippy.
* Fix index names.
* Fixing diff check by removing indexes.
* Adding the uplete ignore actions::id columns.
* Fixing merge imports.
* Fixing submodule update
* Try trigger disabling.
* Fix clippy
* Remove history table, do faster bulk inserts. Smoosh first.
Comments about how this fast insert is done is within smoosh comments.
* Adding some timings.
* Fast person content combined history
* Adding search_combined
* Fix person saved combined unique names
* person_liked_combined
* Remove-aggregates
* Fixing up.sql issues
* Re-building schema.rs
* Fixing down migrations.
* Removing history updating.
* Format sql.
* Move postgres logging to customPostgresql.conf
* Try using postgres 16-alpine in CI
* Speeding up add_report_count.
* speed up inbox_combined
* Speeding up remove_post_sort_type_enums
* Fixing post_sort_type
* Speeding up person votes
* Fixing wrong conn.
* Fixing broken migrations
* Remove comment.
* Make sure to re-index table after re-enabling indexes.
* Removing id columns from actions tables.
* Fixing down migrations.
* Using create table as for smoosh migration
* create_table as for person_content_combined.
* Fixing person_content_combined uniques
* create table as for search_combined
* create table as for liked_combined
* create table as for inbox_combined.
* Fixing a few score types.
* Fixing id positions.
* 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
* Add post_actions.disable_notifications (fixes#3042)
* Split up logic for send_local_notifs()
* refactor
* fmt
* add api endpoint, check
* dont call send_local_notifs from comment delete/remove
* move scrape_text_for_mentions() inside send_local_notifs()
* nullable
* simplify
* handle parent notification first
* cleanup
* remove `CommentResponse.recipient_ids`
* post notifications enum
* Follow posts (fixes#3069)
* use references
* cleanup
* new file
* db migration to merge mention, reply tables
* code adjustments
* adjust test code
* adjust enum case
* wip: get rid of inbox_combined table
* add table local_user_notification
* tests compiling
* get rid of inbox_combined, only use notification table
* rename view
* notify private messages
* clippy
* copy existing data
* wip: tests
* move tests
* clippy
* notify post subscribers
* community subscribe
* test fixes
* migration fix
* rename routes
* separate struct for api
* rename api params
* merge migrations
* separate notification modes for post/community
* fix
* down migration copy data
* test fix
* update api tests
* only single notification table
* clippy
* use local user id for recipient
* fix comments
* rename table
* recipient local user
* add indices
* keep local user id
* renames and cleanup
* NotificationDataType
* change notification response
* fix api tests
* test fix
* remove private_message.read
* fixes
* test fix
* fix
* replace lemmy_db_schema::utils::uplete with in-progress crate
* use published diesel-uplete crate
* remove unused tuplex dependency
* move diesel-uplete to dev-dependencies for lemmy_db_views_post
* import table modules in table_impls.rs
* update to new diesel-uplete with renamed stuff