Commit graph

3885 commits

Author SHA1 Message Date
Dessalines 58b9e20e2e Remove logging cat. 2022-11-08 11:09:06 -05:00
Dessalines 1dcff88b58 Merge branch 'main' into diesel_async_1 2022-11-08 11:06:50 -05:00
Dessalines ef5eccad0d Moving federation test back to top. 2022-11-08 11:06:39 -05:00
Dessalines 46f8b5d760 Trying to fix 3 2022-11-08 10:41:24 -05:00
Dessalines e63a26581e What are these lines about 2022-11-07 21:56:04 -05:00
Nutomic ceae0f5993
Use urlencoding for db url params (fixes #2532) (#2537) 2022-11-07 21:29:32 -05:00
Dessalines 5912f843c5 Try to fix 2 2022-11-05 23:11:43 -04:00
Dessalines d64b47bcd8 Try to fix 1 2022-11-05 23:04:26 -04:00
Dessalines 7a9b2fa843 Test api faster 2022-11-05 22:45:41 -04:00
Dessalines ea688c8a69 Fix clippy 2 2022-11-05 22:45:06 -04:00
Dessalines 8b0bd24ef8 Fix clippy 2022-11-05 16:48:37 -04:00
Dessalines c78c12ab2d Merge branch 'main' into diesel_async_1 2022-11-05 15:45:35 -04:00
Dessalines edb27e409b Fix site setup user creation. 2022-11-05 15:36:12 -04:00
Nutomic a0a84d91ce
Dont serve apub json for removed objects (ref #2522) (#2538) 2022-11-04 20:57:28 -04:00
Nutomic 50a2233b52
Fix password length check (#2536) 2022-11-04 20:56:38 -04:00
Nutomic 2207fed0f5
Remove explicit panic from db connection code (fixes #2533) (#2535) 2022-11-04 20:53:46 -04:00
Nutomic 9393195827
Send error message when rate limit is reached (#2527)
* Send error message when rate limit is reached

* l18n key
2022-11-03 18:13:40 +00:00
Nutomic 5e871ca7ba
Mark own private messages as read in api (fixes #2484) (#2531) 2022-11-03 13:41:44 -04:00
Nutomic b5cd732372
Mark objects as not deleted when received via apub (fixes #2507) (#2528) 2022-11-03 09:39:30 -04:00
Dessalines e0299a0647 Trying to fix federation tests. 2022-11-02 17:27:34 -04:00
Dessalines b7847ce4d1 Merge branch 'main' into diesel_async_1 2022-11-02 15:23:30 -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
Nutomic 28eade6168
Fix invalid config in docker/prod (fixes #2520) (#2524) 2022-11-02 18:50:09 +00:00
Dessalines 3bbad89e4e Merge branch 'main' into diesel_async_1 2022-11-02 14:27:44 -04:00
Dessalines 202b7a4c23 Adding missing discussion_languages. 2022-11-02 14:20:06 -04:00
Dessalines ed9e91345a
Fix local site images. (#2519)
* Fix local site images.

* It should be set up.
2022-11-02 12:10:40 +00:00
Dessalines a7640d0f94 Merge branch 'main' into diesel_async_1 2022-10-28 11:25:30 -04:00
Dessalines 4c711ff0bc Fix docker images. 2022-10-28 10:44:44 -04:00
sam365724 7aa6d6b3e1
Fix 2455: Check auth for pictrs when instance is private. (#2477)
* Fix 2455: Check auth for pictrs when instance is private.

* Update, no utils function, use of existing get_local_user_view_from_jwt

* rustup toolchain install nightly (ftw)
2022-10-28 10:43:33 -04:00
Nutomic 6aa9bdebae
Fix limit_languages to operate on correct instance (fixes #2496) (#2518)
* Fix limit_languages to operate on correct instance (fixes #2496)

* cargo fmt
2022-10-28 10:42:05 -04:00
Nutomic 3b0be52e67
Image improvements (#2513)
* Image improvements

* remove rate limits
2022-10-28 14:34:40 +00:00
Nutomic b0c3185663
Make verify apub url function async (#2514)
* Make verify apub url function async

* cleanup

* use dep from crates.io

* dont use unwrap
2022-10-28 09:38:22 -04:00
Dessalines 8313d8ab0d Fixing merge 2022-10-27 10:59:32 -04:00
Dessalines 6b0e347b7d Merge branch 'main' into diesel_async_1 2022-10-27 10:52: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
Dessalines bdba782470 Reverting back drone. 2022-10-26 17:33:22 -04:00
Dessalines 9b1e434c81 Merge branch 'move_blocklist_to_db' into diesel_async_1 2022-10-26 17:29:53 -04:00
Dessalines 85b78b2707 Adding check_apub to all verify functions. 2022-10-26 15:13:59 -04:00
Dessalines 6587fa43fc Addressing PR comments. 2022-10-25 11:33:10 -04:00
Nutomic 276a8c2bd3
Enable lto, strip symbols via cargo.toml (#2512) 2022-10-25 15:10:07 +00:00
Dessalines 82aa0b31f9 Trying a custom dns 7 2022-10-24 22:31:25 -04:00
Dessalines b3490b1808 Trying a custom dns 6 2022-10-24 21:40:44 -04:00
Dessalines 884b26ff51 Trying a custom dns 5 2022-10-24 21:31:55 -04:00
Dessalines 4836c62de9 Trying a custom dns 4 2022-10-24 20:56:42 -04:00
Dessalines 6fd3f84996 Trying a custom dns 3 2022-10-24 20:54:29 -04:00
Dessalines d4ba153985 Trying a custom dns 2 2022-10-24 20:40:57 -04:00
Dessalines 02d4ebfb2d Trying a custom dns 2022-10-24 20:39:30 -04:00
Dessalines c9703bde2c Trying new muslrust. 2022-10-24 20:25:40 -04:00
Dessalines 0ef0d0d24a Trying to fix cargo test on drone. 2022-10-24 19:57:18 -04:00
Dessalines da6be58329 Running clippy --fix 2022-10-24 17:52:23 -04:00