53bc0311b1
Version 0.17.0
2023-01-31 08:30:54 -05:00
a9905bf999
Updating translations.
2023-01-31 08:29:31 -05:00
Dessalines
a610211557
Fixing .drone.yml
( #2677 )
...
* Try to fix docker/drone plugin
* Trying to use one rust image.
* Fixing drone 1.
* Fixing drone 2.
* Add drone notify.
* Fixing drone 3.
* Fixing drone 4.
* Fix clippy.
* Remove uninlined format lint.
* Combine all cargo tasks
* Fixing drone 5.
* Fixing drone 6.
* Fixing drone 7.
* Fixing drone 8.
* Fixing drone 9.
* Fixing drone 10.
* Fixing drone 12.
* Fixing drone 13.
* Fixing drone 14.
* Fixing drone 15.
* Fixing drone 16.
* Fixing drone 17.
* Fixing drone 18.
* Fixing drone 19.
* Fixing drone 20.
* Fixing drone 21.
* Fixing drone 22.
* Fixing drone 23.
* Fixing drone 24.
* Fixing drone 25.
* Fixing drone 26.
* Fixing drone 27.
* Fixing drone 28.
* Fixing drone 29.
* Fixing drone 30.
* Fixing drone 31.
* Fixing drone 32.
* Fixing drone 33.
* Fixing drone 34.
* Fixing drone 35.
* Fixing drone 36.
* Fixing drone 37.
* Fixing drone 38.
* Fixing drone 39.
* Fixing drone 40.
* Fixing drone 41.
* Fixing drone 43.
* Fixing drone 44.
* Fixing drone 45.
* Last cleanup.
* Fixing drone 46.
* Separate ci steps (#2679 )
* separate ci steps
* fix 1
* add comments
* dont add rustfmt explicitly
* Revert "dont add rustfmt explicitly"
This reverts commit 358ce3302a134b7ac88d90a854079356995e9725.
* dont use all features for tests
---------
Co-authored-by: Nutomic <me@nutomic.com>
2023-01-30 14:17:24 -05:00
Dessalines
a8232fe3d6
Use join_all instead of try_join_all. Fixes #2673 ( #2674 )
...
* Use join_all instead of try_join_all. Fixes #2673
* Add note about closed connections.
2023-01-30 11:11:11 -05:00
Kradyz
c416e4ce14
Update message_id to comply with RFC 2822 ( #2668 )
...
The RFC 2822 format standard requires the message ID to be enclosed within angle brackets. If the standard is not followed, SpamAssassin deducts points from the e-mail.
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-01-30 11:10:51 -05:00
Dessalines
70c549dad8
Speeding up comment-ltree migration, fixing index creation. Fixes #2664 ( #2670 )
...
* Speeding up comment-ltree migration, fixing index creation. Fixes #2664
* Adding some logging lines, fixing for missing posts.
* Adding more postgres config
2023-01-23 09:59:25 -05:00
1eaf2c8a03
Add feature to embed pictrs in lemmy binary ( fixes #2627 ) ( #2633 )
...
* Add feature to embed pictrs in lemmy binary (fixes #2627 )
* Add pictrs config
* add protobuf
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-01-20 12:46:49 -05:00
Dessalines
6eb5ed343c
Update post_aggregates indexes to account for featured_local and featured_community columns. ( #2661 )
...
- Fixes #2660
2023-01-20 12:44:03 -05:00
7e3d3839b6
Post creation from Mastodon ( fixes #2590 ) ( #2651 )
...
* Post creation from Mastodon (fixes #2590 )
* better logic for page title
* add deserialize helper
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2023-01-20 12:43:23 -05:00
Dessalines
ac56504291
Upgrade to postgres 15. ( #2659 )
2023-01-20 18:15:07 +01:00
Dessalines
b5d45fa826
Add reddit -> lemmy importer to readme. ( #2662 )
2023-01-20 03:41:37 +01:00
2ec8bb877c
Some script improvements ( #2654 )
...
- Allow specifying which packages should be tested
- Hardcode `lemmy` as db password because thats used in many different places
2023-01-13 00:23:58 +01:00
ceff2ec686
Use enum for registration mode setting ( #2604 )
...
* Use enum for registration mode setting
* fix tests
2023-01-05 01:42:30 +00:00
Dessalines
0630d214e3
Removing sniptt/monads for lemmy-js-client. ( #2644 )
...
* Removing sniptt/monads for lemmy-js-client.
* Fix tests.
2023-01-04 10:59:26 -05:00
Dessalines
b7d5b37ac9
Fix historical post fetching. Fixes #2640 ( #2643 )
2023-01-04 14:58:11 +00:00
Dessalines
e567151ec3
Adding the go client. ( #2629 )
...
* Adding the go client.
* Adding lemmyBB, and a stub for lemmy-rust-client
* Updating to use api_common readme.
2023-01-03 21:04:22 +00:00
dab532f743
Point to !lemmy_support for support questions ( #2638 )
2023-01-03 03:28:21 -05:00
270f3b781a
Add documentation for using Lemmy API from Rust ( #2639 )
2023-01-03 03:23:41 -05:00
0d4cdb579c
Improve application question check ( #2628 )
...
The check was failing if only require_application was passed
and not application_question, despite application_question
being set in database.
2022-12-23 01:31:39 +00:00
9f52d4ae53
Fix user following ( #2623 )
...
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2022-12-19 10:55:26 -05:00
c3fbb7702f
Allow embedding Lemmy, fix setup error ( #2618 )
...
* Fix error during site creation due to empty LocalSiteRateLimit update
* Move main function into lib.rs, to allow calling from other crates
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2022-12-19 10:54:42 -05:00
Dessalines
76e0ab934f
Fixing missing forms, incorrect user discussion_languages ( #2580 )
...
* Fixing missing forms, incorrect user discussion_languages
* Add discussion_language to CommunityResponse
* Adding discussion_languages to CommunityResponse
* Adding discussion_language logic to community.create
2022-12-19 11:40:22 +00:00
Anon
9dfd819691
Add support for Featured Posts ( #2585 )
...
* Add support for Featured Posts
* Fix rebase
* More fixes
2022-12-12 11:17:10 +00:00
0ecf256ce3
Remove federation backwards compatibility with 0.16.x ( #2183 )
...
* Breaking: remove compatiblity with page.url field (ref #2182 )
* Breaking: change type of Instance to `Application` (ref #2200 )
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2022-12-09 11:21:17 -05:00
2732a5bf07
Rework websocket ( #2598 )
...
* Merge websocket crate into api_common
* Add SendActivity trait so that api crates compile in parallel with lemmy_apub
* Rework websocket code
* fix websocket heartbeat
2022-12-09 10:31:47 -05:00
f02892b23b
Merge pull request #2593 from LemmyNet/refactor-notifications
...
Refactor crates for parallel build
2022-12-02 11:17:10 +00:00
c6c52ab9cc
Add SendActivity trait so that api crates compile in parallel with lemmy_apub
2022-12-02 10:46:49 +01:00
201fa97769
Move code to generate apub urls into lemmy_api_common
2022-12-02 10:46:49 +01:00
904d7bec2f
Builds lemmy_routes in parallel with lemmy_apub
2022-12-02 10:46:49 +01:00
030afbc2e7
Merge websocket crate into api_common
2022-12-02 10:46:49 +01:00
70e3feb174
Check user accepted before sending jwt in password reset ( fixes #2591 ) ( #2597 )
...
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2022-12-01 16:36:03 -05:00
ccb6435c1d
Relax honeypot check ( fixes #2595 ) ( #2596 )
...
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2022-12-01 16:33:59 -05:00
bcf5c91f81
Use audience field to federate items in groups ( fixes #2464 ) ( #2584 )
2022-12-01 15:52:49 -05:00
41d4852efc
Federate group moderators using attributedTo field ( #2588 )
...
* Federate group moderators using attributedTo field
* fix tests
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2022-11-25 09:01:58 -05:00
96a2bec691
Set cargo home in ci to avoid redownloading deps between steps ( #2587 )
...
* Set cargo home in ci to avoid redownloading deps between steps
* remove protobuf
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2022-11-24 23:43:31 -05:00
d39bc14c43
Add some more clippy lints ( #2586 )
...
* Add some more clippy lints
* restore config
* no allow dirty
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2022-11-24 16:38:00 +00:00
c3c4508a72
Use release docker image for nightly build ( #2583 )
...
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2022-11-24 08:33:58 -05:00
d20d2b9218
Implement federated user following ( fixes #752 ) ( #2577 )
...
* Implement federated user following (fixes #752 )
* rewrite send_activity_in_community and add docs, remove default for column pending
* improve migration
* replace null values in db migration
2022-11-23 18:40:47 -05:00
4ddca46228
Revert "Test drone ( #2582 )"
...
This reverts commit 87c7ee5490
.
2022-11-23 21:25:24 +01:00
87c7ee5490
Test drone ( #2582 )
2022-11-23 15:23:23 -05:00
bb1e3bc891
Upgrade activitypub_federation to 0.3.4 ( #2581 )
2022-11-23 09:06:25 -05:00
bc19d94e3c
Upgrade activitypub_federation crate to 0.3.3 (ref #2511 ) ( #2578 )
2022-11-22 07:20:31 -05:00
872c60a013
Remove federation settings, rely on sensible defaults instead ( #2574 )
...
This affects federation_strict_allowlist and federation_http_fetch_retry_limit
2022-11-21 11:44:34 -05:00
Dessalines
65041a20bb
Fix clippy lints. ( #2572 )
...
* Fix clippy lints.
* Fix fmt.
* Dont use cargo-workspaces for fix-clippy script.
2022-11-21 10:21:09 +00:00
Anon
c27d2a5687
Add support for Taglines ( #2548 )
...
* Add support for Taglines
* recreate migration
* Update content column -> Text
* Optimize replace function
* Change taglines to Option
* Move Ok() call
* Move taglines to GetSiteResponse
* Fix logic
Co-authored-by: layla <layla@chapo.dev>
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2022-11-19 09:48:29 -05:00
6f3bf4634b
Various pedantic clippy fixes ( #2568 )
...
* Various pedantic clippy fixes
* more clippy pedantic fixes
* try to fix ci
* add fix clippy script, use rust 1.65
* fix clippy
2022-11-19 04:33:54 +00:00
a39cf31466
Sort vecs before assert to avoid random test failures ( #2569 )
...
* Sort language read queries to avoid random test failures
* change sort columns
2022-11-18 20:30:59 -05:00
23d0f3ed3c
Display build status badge from drone.join-lemmy.org ( #2564 )
...
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2022-11-17 18:51:17 +00:00
df7809fbbb
Specify dependencies and metadata for entire workspace ( #2565 )
...
* Specify dependencies and metadata for entire workspace (fixes #2474 )
* building api_common shouldnt depend on diesel
* remove drone task
* try with quotes
* fix clippy
* more clippy
2022-11-17 15:23:01 +00:00
63c237d6df
Use enum_delegate crate ( #2554 )
2022-11-16 22:51:05 +00:00