Commit graph

1481 commits

Author SHA1 Message Date
4586947910 Adding search combined view, need to write tests yet. 2024-12-16 14:56:48 -05:00
fb1f2ff174 Merge branch 'combined_tables_2' into search_combined 2024-12-13 11:14:29 -05:00
3721067cce Moving db_views_actor and _moderator into db_views.
- This is necessary because the combined views use both, and that
  separation was arbitrary to begin with. db_schema has no such crate
  separation.
2024-12-13 11:13:21 -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
031dc2607e Fix 2024-12-12 19:13:51 -05:00
dada964df7 Starting to work on search combined. 2024-12-12 19:13:31 -05:00
17d2de8691 Merge branch 'combined_modlog' into combined_inbox 2024-12-12 17:29:33 -05:00
942da64f07 Merge remote-tracking branch 'origin/main' into combined_modlog 2024-12-12 17:25:02 -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
1e6b3fbf27 Merge remote-tracking branch 'origin/main' into combined_tables_2 2024-12-12 09:39:10 -05:00
aa9c1404e5 Fixing clippy. 2024-12-12 09:27:12 -05:00
216d08959b Fixing cargo shear. 2024-12-11 23:02:09 -05:00
ec3dcb7452 Running fmt. 2024-12-11 22:50:34 -05:00
37aa20057c Fixing sql_format. 2024-12-11 22:22:55 -05:00
c8a2652e3f Using assert_length 2024-12-11 22:16:51 -05:00
41cfdca1cf Finishing up inbox. 2024-12-11 22:12:56 -05:00
05f218d53c Most of the bulk work done, need to add tests yet. 2024-12-11 15:06:08 -05:00
f133079f0b Merge branch 'post_body_mentions' into combined_inbox 2024-12-10 14:33:28 -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
cdd5f65b79 taplo fmt. 2024-12-09 19:16:46 -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
5c2205ae8b Merge remote-tracking branch 'origin/main' into combined_modlog 2024-12-09 08:25:04 -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
a8951efb1a Starting to work on combined views. 2024-12-09 08:15:19 -05:00
Integral
9e17c517fe
refactor: replace static with const for global constants (#5250) 2024-12-09 10:31:07 +01: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
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
a4de41ddae Merge branch 'combined_tables_2' into combined_profile 2024-12-07 21:20:25 -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
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
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
4cac67c099 Use internal tagging. 2024-12-02 18:05:38 -05:00