Commit graph

3860 commits

Author SHA1 Message Date
Dessalines
202b7a4c23 Adding missing discussion_languages. 2022-11-02 14:20:06 -04: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
Dessalines
1cbccb22bf Added diesel async. Fixes #2465 2022-10-24 17:08:40 -04:00
Dessalines
8b564756e3 Compiling now. 2022-10-24 15:52:00 -04:00
Dessalines
de5cd254c0 Adding some more async 2022-10-24 02:30:39 -04:00
Dessalines
39294a051c Added async to views and schema. 2022-10-23 18:19:19 -04:00
Dessalines
c631cbd6c8 Starting on adding diesel async. 1/4th done. 2022-10-22 15:30:10 -04:00
Dessalines
3254fc0fb4 Merge branch 'move_blocklist_to_db' into diesel_async_1 2022-10-21 21:16:01 -04:00
Dessalines
9ac13a0891
Fix docker dev build (#2509)
* Fixing docker dev build.

* Remove volume mount files.

* Fixing pictrs.

* Addressing PR comments.
2022-10-21 15:13:24 +00:00
Dessalines
d10f498fe2 Trying to fix check features 1. 2022-10-20 22:38:40 -04:00
Dessalines
f3cff33b35 Fixing federation tests. 2022-10-20 22:10:35 -04:00
Dessalines
17fd31ef17 Merge branch 'main' into move_blocklist_to_db 2022-10-18 00:04:20 -04:00
Dessalines
0d541326f3 Testing out async 2 2022-10-18 00:04:01 -04:00
Dessalines
9e75a1aac7 Testing out async 2022-10-18 00:03:27 -04:00
Nutomic
aaaea2006c
Federate votes as private (#2501) 2022-10-18 03:13:18 +00:00
Nutomic
74bc1198ce
Dont try to send activities if federation is disabled (fixes #2499) (#2500) 2022-10-17 14:29:18 -04:00
Nutomic
0a60bcb8ee
Return empty vec when reading all languages (fixes #2495) (#2497) 2022-10-17 09:37:22 +00:00
Dessalines
cf6bef08c0 Merge branch 'main' into move_blocklist_to_db 2022-10-14 13:15:46 -04:00
Dessalines
518f450989 Trying to fix local_site_data, still broken. 2022-10-14 13:07:36 -04:00
Dessalines
10664c62d1 Move forms to their own line. 2022-10-14 12:13:16 -04:00
Nutomic
04f0f3af0b
Update clippy to use Rust 1.64 (#2498) 2022-10-14 16:09:37 +00:00
Dessalines
cbd8eead41 Using instance creation helper function. 2022-10-14 12:07:54 -04:00
Dessalines
2fcea21d96 Fixing apub tests. 2022-10-14 11:34:30 -04:00
Dessalines
8b4996c10c Some fixes from suggestions. 2022-10-13 18:06:09 -04:00
Dessalines
c969675b9b Merge branch 'main' into move_blocklist_to_db 2022-10-13 15:38:11 -04:00
Dessalines
d21a81ffea Removing extra lines. 2022-10-13 15:23:51 -04:00
Nutomic
6c3e984ad1
Only allow authenticated users to fetch remote objects (#2493)
* Only allow authenticated users to fetch remote objects

* try to fix api tests
2022-10-13 16:30:31 +00:00