776c5007a1
Remove pointless post_tags types.
2024-12-19 18:07:59 -05:00
9a0e050ee6
Remove saved_only test.
2024-12-19 18:03:57 -05: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
Integral
8b78ddeb68
refactor: avoid using format! when String creation is unnecessary ( #5268 )
2024-12-19 15:42:01 -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
d346890b1f
Increase metadata fetch limit to 1 MB ( fixes #5208 ) ( #5266 )
2024-12-17 10:01:53 -05: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
ae9da4da69
Merge remote-tracking branch 'origin/main' into combined_tables_2
2024-12-12 19:23:20 -05:00
7c962d63fb
Removing serialization
2024-12-12 19:20:31 -05:00
8d91543a13
Allow admins to view deleted users ( fixes #5249 ) ( #5258 )
...
* Allow admins to view deleted users (fixes #5249 )
* remove check
2024-12-12 10:06:38 -05:00
6a9f924d20
More test coverage for user deletion ( #5259 )
2024-12-12 10:03:55 -05:00
c72d5e88d5
Addressing PR comments.
2024-12-12 09:46:16 -05:00
1e6b3fbf27
Merge remote-tracking branch 'origin/main' into combined_tables_2
2024-12-12 09:39:10 -05:00
2467a0af12
Consider remote instance as dead if it returns any status 4xx or 5xx ( #5256 )
...
* Consider remote instance as dead if it returns any status 4xx or 5xx (ref #3134 )
* remove dbg
2024-12-12 09:38:16 -05:00
8a5daeec97
Only accept database connection by uri ( #5254 )
...
* Only accept database connection by uri
* lint
* fix docker configs
2024-12-10 10:15:54 -05:00
63b7f726cb
Using dullbananas trigger procedure
2024-12-09 08:22:35 -05:00
a320f5a9c5
Merge remote-tracking branch 'origin/main' into combined_profile
2024-12-09 08:15:36 -05:00
Integral
9e17c517fe
refactor: replace static with const for global constants ( #5250 )
2024-12-09 10:31:07 +01:00
58e62d55d9
Fixing TS issues.
2024-12-08 09:27:29 -05:00
cf2b00e0ba
Merge branch 'combined_tables_2' into combined_profile
2024-12-08 09:19:04 -05:00
3e31e1c512
Comment out err.
2024-12-08 09:16:43 -05:00
2d482b3556
Fixing null types in postgres.
2024-12-08 08:56:12 -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
Dessalines
10f5e373cf
Update migrations/2024-12-02-181601_add_report_combined_table/up.sql
...
Co-authored-by: dullbananas <dull.bananas0@gmail.com>
2024-12-08 08:45:49 -05:00
Dessalines
fa31fc37d0
Update migrations/2024-12-02-181601_add_report_combined_table/up.sql
...
Co-authored-by: dullbananas <dull.bananas0@gmail.com>
2024-12-08 08:44:37 -05:00
Dessalines
22d869730d
Update crates/db_views/src/report_combined_view.rs
...
Co-authored-by: dullbananas <dull.bananas0@gmail.com>
2024-12-08 08:42:27 -05:00
Dessalines
dc0ec159df
Update crates/db_views/src/report_combined_view.rs
...
Co-authored-by: dullbananas <dull.bananas0@gmail.com>
2024-12-08 08:42:05 -05:00
Dessalines
165c7f4762
Update crates/db_views/src/report_combined_view.rs
...
Co-authored-by: dullbananas <dull.bananas0@gmail.com>
2024-12-08 08:40:58 -05:00
a0f2966e43
Fixing imports.
2024-12-07 21:27:32 -05:00
5d2b6115f5
Moving to api-v4 routes.
2024-12-07 21:25:18 -05:00
a4de41ddae
Merge branch 'combined_tables_2' into combined_profile
2024-12-07 21:20:25 -05:00
67d72e36ac
Fixing api tests.
2024-12-07 21:19:49 -05:00
a940ce38ef
Merge remote-tracking branch 'origin/main' into combined_tables_2
2024-12-07 17:54:18 -05:00
5e7b30ac6a
Reorganize api endpoints ( fixes #2022 ) ( #5216 )
...
* Reorganize api endpoints (fixes #2022 )
* scopes
* move message rate limit
* move rate limit
* apply suggestions
* move my_user to separate endpoint
* remove taglines and custom emojis from siteview
* routes for api v3 and v4
* remove new features from api v3
* js client
* replace occurences of `v3`, fix routes
* replace getSite().my_user with getMyUser()
* update
* update config
* remove web::
* update
* prettier
* lockfile
* v
* fix settings
* move block endpoints
* more changes
* fmt
* update
* change some routes
* lockfile
* Add comment about deprecation
2024-12-07 14:06:33 -07: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
921d53227c
Addressing PR comments.
2024-12-04 12:48:41 -05:00
e1affa8696
Merge remote-tracking branch 'origin/main' into combined_tables_2
2024-12-04 12:39:59 -05:00
adadb45ace
Add comment about upgrading Rust version ( #5248 )
2024-12-04 08:30:42 -05:00
flamingos-cant
ff2bbf41ca
Use magic number to detemine file type ( #5225 )
...
* Revert "Guess image mime type from file extension (fixes #5196 ) (#5212 )"
This reverts commit 63ea99d38a
.
* Use magic numbers to determine file type.
* fmt
* Don't wrap response in an option
* Regen Cargo.lock
* Clean-up + guess mime type from extension if server is unresponsive
* Move some things about.
* Some cleanup.
* Removing comment lines.
---------
Co-authored-by: Dessalines <tyhou13@gmx.com>
2024-12-04 08:29:50 -05:00
Dessalines
f4cd569a98
Updating to rasky's lemmy-cross-toolchain v0.5.0 for rust 1.81 ( #5247 )
...
- Fixes #5159
2024-12-04 10:22:43 +01:00
f065215e74
Add test cases for community with non-ascii name (ref #5239 ) ( #5246 )
...
* Add test cases for community with non-ascii name (ref #5239 )
* fmt
* Update run-federation-test.sh
2024-12-03 12:19:01 -05:00