b46fdab768
Merge branch 'combined_profile' into combined_modlog
2025-01-03 14:45:08 -05:00
5cf0bb834a
Merge remote-tracking branch 'origin/main' into combined_profile
2025-01-03 14:33:34 -05:00
b6d0ecfcb3
Merge branch 'combined_profile' into combined_modlog
2025-01-03 09:16:54 -05:00
2244fd005d
Changing published to saved for person_saved_combined.
2025-01-02 17:08:05 -05:00
918c5e820d
Merge remote-tracking branch 'origin/main' into combined_profile
2025-01-02 16:38:02 -05:00
Dessalines
76034f058d
Cleaning up oauth providers conversion. ( #5280 )
...
* Cleaning up oauth providers conversion.
* Use into_iter
2024-12-27 12:52:05 -05:00
bd5210aed0
Merge remote-tracking branch 'origin/main' into combined_profile
2024-12-23 14:59:09 -05:00
7585aac446
Fix startup errors, add unit test for scheduled task errors ( fixes #5209 ) ( #5269 )
...
* Fix startup errors, add ci check (fixes #5209 )
* normal unit test
* cleanup
* shear
* remove serial
* migration
2024-12-20 19:21:09 -05:00
Dessalines
6015ef045d
Running cargo-features-manager prune. ( #5274 )
...
- Context #5273
2024-12-20 23:20:16 +01:00
cfd302dc1d
Fixing duped trigger.
2024-12-19 17:58:18 -05:00
a1792bb16e
Merge remote-tracking branch 'origin/main' into combined_profile
2024-12-19 17:53:24 -05:00
0b514c5b92
Merge branch 'combined_tables_2' into combined_profile
2024-12-19 17:44:07 -05:00
Dessalines
9d3a0cef56
Adding report_combined
table. ( #5231 )
...
* Combined tables try 2
* Finishing up combined report table.
* Fix ts optionals.
* Adding tests, triggers, and history updates for report_combined.
* Adding profile.
* Add cursor pagination to report_combined view (#5244 )
* add pagination cursor
* store timestamp instead of id in cursor (partial)
* Revert "store timestamp instead of id in cursor (partial)"
This reverts commit 89359dde4b
.
* use paginated query builder
* Fixing migration and paged API.
* Using dullbananas trigger procedure
* Removing pointless list routes, reorganizing tests.
* Fixing column XOR check.
* Forgot to remove list report actions.
* Cleanup.
* Use internal tagging.
* Fixing api tests.
* Adding a few indexes.
* Fixing migration name.
* Fixing unique constraints.
* Addressing PR comments.
* Fixing api tests.
* Update crates/db_views/src/report_combined_view.rs
Co-authored-by: dullbananas <dull.bananas0@gmail.com>
* Update crates/db_views/src/report_combined_view.rs
Co-authored-by: dullbananas <dull.bananas0@gmail.com>
* Update crates/db_views/src/report_combined_view.rs
Co-authored-by: dullbananas <dull.bananas0@gmail.com>
* Update migrations/2024-12-02-181601_add_report_combined_table/up.sql
Co-authored-by: dullbananas <dull.bananas0@gmail.com>
* Update migrations/2024-12-02-181601_add_report_combined_table/up.sql
Co-authored-by: dullbananas <dull.bananas0@gmail.com>
* Fixing import and fmt.
* Fixing null types in postgres.
* Comment out err.
* Addressing PR comments.
* Removing serialization
---------
Co-authored-by: dullbananas <dull.bananas0@gmail.com>
2024-12-19 17:22:31 -05:00
154cea9366
Merge remote-tracking branch 'origin/main' into combined_tables_2
2024-12-19 16:30:15 -05:00
phiresky
a2a5cb091a
Community post tags (part 1) ( #4997 )
...
* partial post tags implementation
* fixes
* fix lints
* schema fix
* chore: restructure / rename tag tables
* chore: fix post view tests
* format
* lint
* expect used
* chore: update code to maybe final version
* add ts-rs optionals
* remove error context
* clippy
2024-12-18 14:54:35 +01:00
b4ce1d9121
Removing serialization
2024-12-13 08:50:14 -05:00
af543cc70b
Merge branch 'combined_tables_2' into combined_profile
2024-12-13 08:43:45 -05:00
7c962d63fb
Removing serialization
2024-12-12 19:20:31 -05:00
c157b8f0fc
Adding tests.
2024-12-09 19:13:25 -05:00
9d36f1f176
Adding the full combined view queries.
2024-12-09 14:34:53 -05:00
6363e7d5db
Merge branch 'combined_profile' into combined_modlog
2024-12-09 08:25:09 -05:00
63b7f726cb
Using dullbananas trigger procedure
2024-12-09 08:22:35 -05:00
15d1faad72
Adding types, fixing allow and blocklist crud.
2024-12-08 13:30:37 -05:00
58e62d55d9
Fixing TS issues.
2024-12-08 09:27:29 -05:00
40fead2bee
Merge branch 'combined_tables_2' into combined_profile
2024-12-08 08:50:07 -05:00
02bd2f6764
Fixing import and fmt.
2024-12-08 08:49:26 -05:00
3abc46fad9
Finishing up combined person_saved and person_content.
2024-12-07 15:46:46 -05:00
32b5411abd
A few changes to profile view.
...
- Separating the profile fetch from its combined content fetch.
- Starting to separate saved_only into its own combined view.
2024-12-07 12:38:20 -05:00
1053df1a4b
Adding views and replaceable schema.
2024-12-06 09:49:11 -05:00
724856d684
Start working on profile combined
2024-12-06 08:18:08 -05:00
34a440a6d7
Fixing migration name.
2024-12-02 18:38:18 -05:00
1f284076ce
Adding a few indexes.
2024-12-02 18:35:18 -05:00
46748210ee
Merge remote-tracking branch 'origin/main' into combined_tables_2
2024-12-02 17:07:03 -05:00
Mikoto
9505d1d205
feat: add PKCE ( #5189 )
...
Co-authored-by: Nutomic <me@nutomic.com>
2024-12-02 16:47:03 -05:00
00beccd272
Using dullbananas trigger procedure
2024-12-02 13:46:51 -05:00
f25d34656f
Merge branch 'combined_tables_2' of https://github.com/LemmyNet/lemmy into combined_tables_2
2024-12-02 12:56:19 -05:00
dullbananas
588e1f6c0a
Add cursor pagination to report_combined view ( #5244 )
...
* add pagination cursor
* store timestamp instead of id in cursor (partial)
* Revert "store timestamp instead of id in cursor (partial)"
This reverts commit 89359dde4b
.
* use paginated query builder
2024-12-02 12:56:14 -05:00
a9f28af554
Merge remote-tracking branch 'origin/main' into combined_tables_2
2024-11-28 18:25:55 -05:00
66a63df152
Instance blocks with mod log entry and expiration ( fixes #2506 ) ( #5214 )
...
* Instance blocks with mod log entry and expiration (fixes #2506 )
* separate table for instance block mod log
* fix tests
* fix ts
* modlog entry for allow instance
* fix test cleanup
* add back test
* clippy
* fix check
* more changes
* move files
* update
* sql fmt
* partly working
* fix setup
* cleanup
* fixes
* prettier
* try catch
* address comments
2024-11-28 18:21:43 -05:00
0ba961ff5c
Adding tests, triggers, and history updates for report_combined.
2024-11-27 16:02:11 -05:00
2351c7a93b
Fix ts optionals.
2024-11-26 16:58:46 -05:00
1ff8ae0641
Finishing up combined report table.
2024-11-26 16:53:01 -05:00
39b3ec2473
Combined tables try 2
2024-11-26 09:27:05 -05:00
c0d7d76570
Remove getrandom dependency ( #5226 )
...
* Remove getrandom dependency
* fix
2024-11-25 18:20:45 -05:00
Dessalines
ba3d574d92
Add report_counts to post and comment aggregate tables. ( #5219 )
...
* Add report_counts to post and comment aggregate tables.
- This adds a report_count and unresolved_report_count to
the post and comment aggregate tables.
- Useful for front-ends wishing to show report links.
- Fixes #4163
* Updating the historical counts.
* Switching from bigint to smallint.
* Using dullbananas create_trigger function.
2024-11-25 11:24:57 +01:00
Dessalines
41bd830389
Fixing a few clippy recommendations on 1.84 nightly. ( #5222 )
2024-11-25 10:06:39 +01:00
2848c076af
Add helper method for caching function results ( #5220 )
...
* Add helper method for caching function results
* fmt
2024-11-22 09:33:35 -05:00
Dessalines
417e18e819
Upgrading diesel and a few other deps. ( #5203 )
...
* Upgrading diesel and a few other deps.
* Update crates/db_schema/src/utils.rs
Co-authored-by: dullbananas <dull.bananas0@gmail.com>
---------
Co-authored-by: dullbananas <dull.bananas0@gmail.com>
2024-11-18 10:23:02 -07:00
797aac7281
Check for error when fetching link metadata ( fixes #5127 ) ( #5129 )
...
* Check for error when fetching link metadata (fixes #5127 )
* use error_for_status everywhere
* dont ignore errors
* enable lint
* fixes
* review
* more review
2024-11-15 09:13:43 -05:00
Dessalines
fa4825b524
Removing a few expects from production and test code. ( #5193 )
...
* Removing a few expects from production and test code.
- Fixes #5192
* Using if let filter for admin emails.
* Fixing unused error.
* Adding expect_used = deny to clippy lints.
* Update src/lib.rs
Co-authored-by: Nutomic <me@nutomic.com>
* Update crates/utils/src/settings/structs.rs
Co-authored-by: Nutomic <me@nutomic.com>
* Update crates/utils/src/settings/mod.rs
Co-authored-by: Nutomic <me@nutomic.com>
* Some more cleanup.
* Fix clippy
---------
Co-authored-by: Nutomic <me@nutomic.com>
2024-11-15 08:18:52 -05:00