6d7b38f4de
Implement user data import/export ( #3976 )
...
* Implement endpoints for user data import/export
* add test
* exclude avatar/banner
* increase import url count, add rate limit
* also export/import saved posts
* rate limit
* rename
* saved posts also exist
* rename routes
* fix test
* error handling
* clippy
* limit parallelism
* clippy
---------
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-10-11 16:47:22 +02:00
phiresky
514f2222e0
Fix time zone handling ( #3496 )
...
* convert naive time to utc time
* compounding fixes
* cargo fmt
* fix the rest
* fix down migration
* fix migrations
* fix after merge
* clippy fix
* ap-fed 0.5.0
---------
Co-authored-by: Nutomic <me@nutomic.com>
2023-08-24 11:27:00 -04:00
dullbananas
969f8b2ce9
Replace TypedBuilder with Default in update forms ( #3814 )
...
* Update comment.rs
* Update community.rs
* Update local_site.rs
* Update local_site_rate_limit.rs
* Update local_user.rs
* Update person.rs
* Update comment.rs
* Update community.rs
* Update local_site.rs
* Update local_site_rate_limit.rs
* Update local_user.rs
* Update post.rs
* Update private_message.rs
* Update site.rs
* Update post.rs
* Update person.rs
* Update private_message.rs
* Update comment.rs
* Update create.rs
* Update leave_admin.rs
* Update update.rs
* Update remove.rs
* Update add_admin.rs
* Update verify_email.rs
* Update mod.rs
* Update mod.rs
* Update undo_delete.rs
* Update undo_delete.rs
* Update utils.rs
* Update feature.rs
* Update delete.rs
* Update lock.rs
* Update create.rs
* Update approve.rs
* Update update.rs
* Update lock_page.rs
* Update block_user.rs
* Update delete.rs
* Update undo_block_user.rs
* Update collection_remove.rs
* Update post.rs
* Update hide.rs
* Update person.rs
* Update remove.rs
* Update post_view.rs
* Update create.rs
* Update remove.rs
* Update collection_add.rs
* Update community.rs
* Update update.rs
* Update post_aggregates.rs
* Update update.rs
* Update comment.rs
* Update code_migrations.rs
* Update registration_application_view.rs
* Update update.rs
* Update ban_person.rs
* Update community.rs
* Update delete.rs
* Update delete.rs
* Update delete.rs
* Update person_aggregates.rs
* Update save_settings.rs
* Update distinguish.rs
* Update mark_read.rs
* Update site_aggregates.rs
* Update create.rs
* Fix
* rerun ci
* Update comment.rs
* rerun ci
* Update create.rs
* Update create.rs
* Update post_view.rs
* rerun ci
* Update undo_delete.rs
* rerun ci
2023-08-08 11:41:41 +02:00
Dessalines
014c0ad87f
Adding comments to all API related types. Fixes #2846 ( #2848 )
2023-05-10 21:20:39 +02:00
Dessalines
88a0d2feec
Adding typescript generation for API. Fixes #2824 ( #2827 )
...
* Adding typescript generation for API. Fixes #2824
* Try to fix Ltree issue 1.
* Forgot a few types.
* Fixing api tests.
* Removing url_serde line.
* Manually deriving TS for some types.
2023-04-26 00:26:10 -04:00
Dessalines
cb753b045f
Group imports dess ( #2526 )
...
* Group imports with rustfmt
* Running cargo fmt again.
Co-authored-by: Felix Ableitner <me@nutomic.com>
2022-11-02 15:18:22 -04:00
Dessalines
235cc8b228
Moving settings to Database. ( #2492 )
...
* Moving settings to Database.
- Moves many settings into the database. Fixes #2285
- Adds a local_site and instance table. Fixes #2365 . Fixes #2368
- Separates SQL update an insert forms, to avoid runtime errors.
- Adds TypedBuilder to all the SQL forms, instead of default.
* Fix weird clippy issue.
* Removing extra lines.
* Some fixes from suggestions.
* Fixing apub tests.
* Using instance creation helper function.
* Move forms to their own line.
* Trying to fix local_site_data, still broken.
* Fixing federation tests.
* Trying to fix check features 1.
* Addressing PR comments.
* Adding check_apub to all verify functions.
2022-10-27 09:24:07 +00:00