]> Untitled Git - lemmy.git/log
lemmy.git
14 months agoDon't filter comments of posts from blocked community when viewing post detail (...
phankydn [Mon, 29 May 2023 15:41:47 +0000 (22:41 +0700)]
Don't filter comments of posts from blocked community when viewing post detail (#2880)

14 months agoRemove websocket code (#2878)
Nutomic [Mon, 29 May 2023 14:44:20 +0000 (16:44 +0200)]
Remove websocket code (#2878)

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
14 months agoDont return error in case optional auth is invalid (#2879)
Nutomic [Thu, 25 May 2023 14:50:07 +0000 (16:50 +0200)]
Dont return error in case optional auth is invalid (#2879)

* Dont return error in case optional auth is invalid

* fixes

14 months agoRemove unnecessary clone (#2874)
phankydn [Tue, 23 May 2023 23:00:19 +0000 (06:00 +0700)]
Remove unnecessary clone (#2874)

Co-authored-by: KyP <phanky.vn@proton.me>
15 months agoRemove GetCommunityResponse.default_post_language (#2867)
Nutomic [Sun, 21 May 2023 15:55:32 +0000 (17:55 +0200)]
Remove GetCommunityResponse.default_post_language (#2867)

This field is unnecessary because we already set a default language
with the same logic if none is passed in CreatePost. So if the user
doesnt set a post language, it should simply be passed as None. This
also has the advantage that it works with clients that dont support
language tags.

Technically not a breaking change because its optional, but better
be safe.

15 months agoMerge pull request #2866 from LemmyNet/remove-reqwest-retry
Nutomic [Thu, 18 May 2023 15:19:54 +0000 (17:19 +0200)]
Merge pull request #2866 from LemmyNet/remove-reqwest-retry

Optimize fetching of post url metadata

15 months agoDont refetch post url metadata when post is received again
Felix Ableitner [Thu, 18 May 2023 11:22:05 +0000 (13:22 +0200)]
Dont refetch post url metadata when post is received again

15 months agoDont retry outgoing HTTP requests (ref #2865)
Felix Ableitner [Thu, 18 May 2023 11:11:06 +0000 (13:11 +0200)]
Dont retry outgoing HTTP requests (ref #2865)

15 months agoForce enable undetermined language (#2851)
Nutomic [Thu, 18 May 2023 14:34:21 +0000 (16:34 +0200)]
Force enable undetermined language (#2851)

* Force enable undetermined language

* update

* fix tests

15 months agoFix typo that caused error (#2861)
SleeplessOne1917 [Sun, 14 May 2023 18:02:05 +0000 (18:02 +0000)]
Fix typo that caused error (#2861)

15 months agoPrettier check (#2855)
Dessalines [Sat, 13 May 2023 20:50:58 +0000 (16:50 -0400)]
Prettier check (#2855)

* Adding prettier check to CI.

* Running prettier on codebase.

15 months agoDowngrade postgres for CI to 15.2 (fixes #2857) (#2859)
Nutomic [Fri, 12 May 2023 23:08:32 +0000 (01:08 +0200)]
Downgrade postgres for CI to 15.2 (fixes #2857) (#2859)

15 months agoMake volumes used in docker compose work when running on machines with SELinux enable...
SleeplessOne1917 [Fri, 12 May 2023 00:15:12 +0000 (00:15 +0000)]
Make volumes used in docker compose work when running on machines with SELinux enabled (#2853)

* Make volumes used in docker compose work when running on machines with SELinux enabled

* Switch lemmy-ui comments

---------

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
15 months agoSet attribute `deny_unknown_fields` for Lemmy config (#2852)
Nutomic [Fri, 12 May 2023 00:12:12 +0000 (02:12 +0200)]
Set attribute `deny_unknown_fields` for Lemmy config (#2852)

With this attribute, Lemmy will throw an error and exit if any
invalid entry is found in the config file. I think can be useful
to notice typos or keys that were removed or renamed in an upgrade.
Currently you wouldnt notice these at all unless you manually
compare the config file with settings that are listed in documentation.

This should be considered a breaking change.

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
15 months agoFixing empty req issue. (#2849)
Dessalines [Thu, 11 May 2023 19:20:45 +0000 (15:20 -0400)]
Fixing empty req issue. (#2849)

* Fixing empty req issue.

* Forgot skip serializing none.

15 months agoUpgrade api_test deps (#2850)
Dessalines [Wed, 10 May 2023 20:31:37 +0000 (16:31 -0400)]
Upgrade api_test deps (#2850)

* Upgrade api_test deps

* Fix cargo fmt.

* Try to trigger a new format

15 months agoAdding comments to all API related types. Fixes #2846 (#2848)
Dessalines [Wed, 10 May 2023 19:20:39 +0000 (15:20 -0400)]
Adding comments to all API related types. Fixes #2846 (#2848)

15 months agoAdding typescript generation for API. Fixes #2824 (#2827)
Dessalines [Wed, 26 Apr 2023 04:26:10 +0000 (00:26 -0400)]
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.

15 months agoAddressing slow profile queries. #2777 (#2830)
Dessalines [Tue, 25 Apr 2023 23:28:06 +0000 (19:28 -0400)]
Addressing slow profile queries. #2777 (#2830)

* Addressing slow profile queries. #2777

* Addressing PR comments.

15 months agoReverting to older non-multi-arch dockerfile. Fixes #2832 (#2833)
Dessalines [Tue, 25 Apr 2023 20:40:58 +0000 (16:40 -0400)]
Reverting to older non-multi-arch dockerfile. Fixes #2832 (#2833)

15 months agoAdd `to` field in follow activities for better compatibility (#2829)
Nutomic [Mon, 24 Apr 2023 21:19:08 +0000 (23:19 +0200)]
Add `to` field in follow activities for better compatibility (#2829)

* Add `to` field in follow activities for better compatibility (fixes #2744)

* fix tests

15 months agoUse older git clone for woodpecker. (#2831)
Dessalines [Mon, 24 Apr 2023 19:40:36 +0000 (15:40 -0400)]
Use older git clone for woodpecker. (#2831)

16 months agoRemove last Option<Vec.. from API. Fixes #2820 (#2822)
Dessalines [Fri, 21 Apr 2023 21:41:03 +0000 (17:41 -0400)]
Remove last Option<Vec.. from API. Fixes #2820 (#2822)

* Remove last Option<Vec.. from API. Fixes #2820

* Add empty allowed_instances check.

* Adding comment for allowed_instances.

16 months agoAdding cross_post fetching to GetPost. Fixes #2127 (#2821)
Dessalines [Wed, 19 Apr 2023 20:16:19 +0000 (16:16 -0400)]
Adding cross_post fetching to GetPost. Fixes #2127 (#2821)

16 months agoUse Dockerfile.multiarch as Dockerfile (#2818)
6543 [Tue, 18 Apr 2023 20:21:31 +0000 (22:21 +0200)]
Use Dockerfile.multiarch as Dockerfile (#2818)

* use Dockerfile.multiarch and delete old Dockerfile

* Dockerfile.multiarch -> Dockerfile

* nit

16 months agoAdding diesel enums for SortType and ListingType (#2808)
Dessalines [Mon, 17 Apr 2023 19:19:51 +0000 (15:19 -0400)]
Adding diesel enums for SortType and ListingType (#2808)

* Adding diesel enums for SortType and ListingType

- Uses diesel-derive-enum.
- Adds diesel.toml , so we can again use the auto-generated schema.rs
- Fixes a lot of DB null issues and column ordering issues.
- Fixes #1136
- Also replaces RegistrationMode boilerplate.

* Fixing unit tests 1.

* Remove comment line.

* Before patch.

* Before again.

* Using patch file to fix diesel_ltree issue with diesel.toml

* Adding some yalc ignores

* Fixing RegistrationMode enums

* Adding woodpecker diesel schema check.

* Try adding openssl 1.

* Try using diesel-cli image 1

* Try using diesel-cli image 2

* Try using diesel-cli image 3

* Try using diesel-cli image 4

* Try using diesel-cli image 5

* Try using diesel-cli image 6

* Try using diesel-cli image 7

* Try using diesel-cli image 8

* Try using diesel-cli image 9

* Try using diesel-cli image 10

* Try using diesel-cli image 11

* Try using diesel-cli image 12

* Try using diesel-cli image 13

16 months agoMake path to local lemmy-ui use correct relative path (#2817)
SleeplessOne1917 [Mon, 17 Apr 2023 17:38:59 +0000 (17:38 +0000)]
Make path to local lemmy-ui use correct relative path (#2817)

16 months agoAdd lemmy-bot to README libraries list (#2816)
SleeplessOne1917 [Mon, 17 Apr 2023 17:21:37 +0000 (17:21 +0000)]
Add lemmy-bot to README libraries list (#2816)

16 months agoSeparate federated_instances into its own endpoint. Fixes #1931 (#2813)
Dessalines [Sun, 16 Apr 2023 21:00:31 +0000 (17:00 -0400)]
Separate federated_instances into its own endpoint. Fixes #1931 (#2813)

16 months agoUse official rust image and clean up Dockerfiles (#2804)
6543 [Sun, 16 Apr 2023 16:56:12 +0000 (18:56 +0200)]
Use official rust image and clean up Dockerfiles (#2804)

* Add docker/Dockerfile.multiarch

* Update normal Dockerfile to be similar to multiarch one

* docker build run on x86 and arm64 now
manifest not needed, its handled by buildx plugin

* Rename Dockerfile.arm To Dockerfile.debian

* Emulate builder on arm target too

* fix misspell

* Improve Dockerfiles

* naming

* undo multiarchbuild settings as its blocked by a dependeny, see #2806

* Delete Dockerfile.debian

16 months agoTemporary fix for hiding deleted posts. #2624 (#2811)
Dessalines [Sun, 16 Apr 2023 00:23:36 +0000 (20:23 -0400)]
Temporary fix for hiding deleted posts. #2624 (#2811)

16 months agoLeave modded communities on account deletion. Fixes #2560 (#2810)
Dessalines [Sat, 15 Apr 2023 23:41:05 +0000 (19:41 -0400)]
Leave modded communities on account deletion. Fixes #2560 (#2810)

16 months agoAdding check to description and body length fields. (#2805)
Dessalines [Sat, 15 Apr 2023 14:45:11 +0000 (10:45 -0400)]
Adding check to description and body length fields. (#2805)

* Adding check to description and body length fields.

- Also making the checks return `LemmyError`
- Fixes #1747

* Address PR comments.

* PR comments 2

16 months agoFix & Optimize CI config (#2802)
6543 [Thu, 13 Apr 2023 20:33:00 +0000 (22:33 +0200)]
Fix & Optimize CI config (#2802)

* let the clone plugin handle submodules too

* start using yml aliase

* fix publish_to_crates_io

* CI.restart()

16 months agoMaking the chat server an actor. (#2793)
Dessalines [Thu, 13 Apr 2023 10:53:55 +0000 (06:53 -0400)]
Making the chat server an actor. (#2793)

* Making the chat server an actor.

- Fixes #2778
- #2787

* Forgot to add handlers folder.

* Some cleanup.

* Forgot to remove a comment.

* Address PR comments.

* Using ToString for enum operations.

16 months agoUse pretty print for federation json responses (#2801)
Nutomic [Thu, 13 Apr 2023 00:17:23 +0000 (02:17 +0200)]
Use pretty print for federation json responses (#2801)

16 months agoFix listing type default value (#2796)
Nutomic [Wed, 12 Apr 2023 14:40:59 +0000 (16:40 +0200)]
Fix listing type default value (#2796)

* Fix listing type default value

The listing type parameter is only meant for the frontpage, but is
also applied inside of communities. The result is that this call
returns nothing, because it defaults to ListingType::Local:
https://fedibb.ml/api/v3/post/list?community_id=3

It needs to be called like this to get any posts:
https://fedibb.ml/api/v3/post/list?community_id=3&type_=All

This is clearly not expected behaviour, when a community is
specified, the listing type should default to All.

* fix clippy

16 months agoAdd woodpecker ci (#2789)
Dessalines [Wed, 5 Apr 2023 20:29:35 +0000 (16:29 -0400)]
Add woodpecker ci (#2789)

* Adding woodpecker. Try 1

* Adding woodpecker. Try 2

* Adding woodpecker. Try 3

* Adding woodpecker. Try 4

* Adding woodpecker. Try 5

* Adding woodpecker. Try 6

* Adding woodpecker. Try 7

* Adding woodpecker. Try 8

* Adding woodpecker. Try 9

* Adding woodpecker. Try 10

* Adding woodpecker. Try 11

* Adding woodpecker. Try 12

* Adding woodpecker. Try 13

* Adding woodpecker. Try 14

* Adding woodpecker. Try 15

* Adding woodpecker. Try 16

* Adding platform when conditionals.

* Adding platform when conditionals 2.

* Adding woodpecker docker buildx.

16 months agoRemove unused dependencies (#2795)
Nutomic [Wed, 5 Apr 2023 20:29:08 +0000 (22:29 +0200)]
Remove unused dependencies (#2795)

16 months agoOptimize federated language updates to avoid unnecessary db writes (#2786)
Nutomic [Thu, 30 Mar 2023 15:03:13 +0000 (17:03 +0200)]
Optimize federated language updates to avoid unnecessary db writes (#2786)

* Optimize federated language updates to avoid unnecessary db writes (fixes #2772)

* fix tests

* fix test, rename functions

---------

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
16 months agoAdded identifier to context (#2791)
Helge [Sun, 26 Mar 2023 20:19:10 +0000 (22:19 +0200)]
Added identifier to context (#2791)

17 months agoActivitypub crate rewrite (#2782)
Nutomic [Tue, 21 Mar 2023 15:03:05 +0000 (16:03 +0100)]
Activitypub crate rewrite (#2782)

* update activitypub-federation crate to 0.4.0

* fixes

* apub compiles!

* everything compiling!

* almost done, federated follow failing

* some test fixes

* use release

* add code back in

17 months agoAdd Custom Emojis Support (#2616)
Anon [Mon, 20 Mar 2023 21:32:31 +0000 (16:32 -0500)]
Add Custom Emojis Support (#2616)

* Add Custom Emojis

* Modify index

17 months agoAdding deadpool timeouts. (#2775)
Dessalines [Fri, 3 Mar 2023 09:30:03 +0000 (04:30 -0500)]
Adding deadpool timeouts. (#2775)

17 months agoAdding TOTP / 2FA to lemmy (#2741)
Dessalines [Thu, 2 Mar 2023 20:37:41 +0000 (15:37 -0500)]
Adding TOTP / 2FA to lemmy (#2741)

* Combine prod and dev docker setups using build-arg

- Fixes #2603

* Dont use cache for release build.

* Adding 2FA / TOTP support.

- Fixes #2363

* Changed name to totp_2fa for clarity.

* Switch to sha256 for totp.

17 months agoGet rid of Safe Views, use serde_skip (#2767)
Dessalines [Wed, 1 Mar 2023 17:19:46 +0000 (12:19 -0500)]
Get rid of Safe Views, use serde_skip (#2767)

* Get rid of Safe Views, use serde_skip

- Also change the ViewToVec, to work with non-vector cases. Might be
  necessary in preparation for #2763
- Fixes #2712

* Forgot one safe

---------

Co-authored-by: Nutomic <me@nutomic.com>
17 months agoShow deleted and removed posts for profile views. Fixes #2624 (#2729)
Dessalines [Wed, 1 Mar 2023 03:46:15 +0000 (22:46 -0500)]
Show deleted and removed posts for profile views. Fixes #2624 (#2729)

* Show deleted and removed posts for profile views. Fixes #2624

* Only showing non-deleted/removed posts for creator.

* Add a admin or mod check to views, to show deleted and removed posts.

- Also removed the pointless "blanking" functions

* Fix clippy

* Make hidden posts comment clearer.

* Fixing federation tests.

* Fixing fmt.

17 months agoDont upsert Instance row every apub fetch (#2771)
Nutomic [Wed, 1 Mar 2023 02:36:57 +0000 (03:36 +0100)]
Dont upsert Instance row every apub fetch (#2771)

This is not necessary because the domain cant change, so we only
need to insert if no row exists for this domain.

Also fetch instance actor when parsing person, not only community

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
17 months agoFixing broken websockets. (#2770)
Dessalines [Wed, 1 Mar 2023 02:27:33 +0000 (21:27 -0500)]
Fixing broken websockets. (#2770)

* Fixing broken websockets.

* Use cloned() for serde::Value

17 months agoIgnore undetermined language when calculating post default language (#2769)
Nutomic [Wed, 1 Mar 2023 00:49:31 +0000 (01:49 +0100)]
Ignore undetermined language when calculating post default language (#2769)

This will make it much more likely to successfully get a default,
as most users and communities have undetermined selected.

17 months agoSwitch from bb8 to deadpool. Fixes #2765 (#2768)
Dessalines [Tue, 28 Feb 2023 21:45:37 +0000 (16:45 -0500)]
Switch from bb8 to deadpool. Fixes #2765 (#2768)

* Switch from bb8 to deadpool. Fixes #2765

* Remove unecessary deadpool dependency.

* Ignoring nodeinfo test.

17 months agoAdding a vector indexing check to prevent panics. Fixes #2753 (#2754)
Dessalines [Tue, 28 Feb 2023 11:34:50 +0000 (06:34 -0500)]
Adding a vector indexing check to prevent panics. Fixes #2753 (#2754)

* Adding a vector indexing check to prevent panics. Fixes #2753

* Fixing for new clippy lint.

* Externalizing get_top_mod check. Adding get_first clippy lint

* Removing unit tests get(0)s

* Fixing some firsts manually

17 months agoCleaning up person_view sorts (#2760)
Dessalines [Fri, 24 Feb 2023 04:33:54 +0000 (23:33 -0500)]
Cleaning up person_view sorts (#2760)

17 months agoAdd default attribute for webfinger properties (fixes #2756) (#2759)
Nutomic [Thu, 23 Feb 2023 14:51:33 +0000 (23:51 +0900)]
Add default attribute for webfinger properties (fixes #2756) (#2759)

17 months agoAdding 0.17.2 Release notes.
Dessalines [Wed, 22 Feb 2023 15:08:41 +0000 (10:08 -0500)]
Adding 0.17.2 Release notes.

17 months agoInclude type information with webfinger responses (fixes #2037) (#2746)
Nutomic [Wed, 22 Feb 2023 02:25:26 +0000 (11:25 +0900)]
Include type information with webfinger responses (fixes #2037) (#2746)

So that it is easier to parse for other software

17 months agoFixing issue with saving site language. Fixes #2748 (#2749)
Dessalines [Wed, 22 Feb 2023 01:22:54 +0000 (20:22 -0500)]
Fixing issue with saving site language. Fixes #2748 (#2749)

* Fixing issue with saving site language. Fixes #2748

* Add a warning to Site::read

18 months agoProper permission check for federated comment distinguish (#2697)
Nutomic [Sat, 18 Feb 2023 18:57:45 +0000 (03:57 +0900)]
Proper permission check for federated comment distinguish (#2697)

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
18 months agoImplement separate mod activities for feature, lock post (#2716)
Nutomic [Sat, 18 Feb 2023 14:50:28 +0000 (23:50 +0900)]
Implement separate mod activities for feature, lock post (#2716)

* Implement separate mod activities for feature, lock post

Also includes collection for featured posts. Later we also need
to do the same for Comment.distinguished

* some changes

---------

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
18 months agoFix case in activitypub context (ref #2734) (#2743)
Nutomic [Sat, 18 Feb 2023 14:48:50 +0000 (23:48 +0900)]
Fix case in activitypub context (ref #2734) (#2743)

Should be camelCase.

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
18 months agoSeparate comment distinguish (#2740)
Dessalines [Sat, 18 Feb 2023 14:46:34 +0000 (09:46 -0500)]
Separate comment distinguish (#2740)

* Combine prod and dev docker setups using build-arg

- Fixes #2603

* Dont use cache for release build.

* Separate comment distinguish into its own action.

- Fixes #2708

---------

Co-authored-by: Nutomic <me@nutomic.com>
18 months agoAdding instance software and version. Fixes #2222 (#2733)
Dessalines [Sat, 18 Feb 2023 14:36:12 +0000 (09:36 -0500)]
Adding instance software and version. Fixes #2222 (#2733)

* Adding instance software and version. Fixes #2222

* Fix clippy.

* Fix clippy 2

* Fixing some more issues.

18 months agoFixing slow joins to post_read, post_saved, and comment_saved . (#2738)
Dessalines [Sat, 18 Feb 2023 14:35:35 +0000 (09:35 -0500)]
Fixing slow joins to post_read, post_saved, and comment_saved . (#2738)

- Fixes #2445

18 months agoRemove lemmur since its deprecated. (#2742)
Dessalines [Sat, 18 Feb 2023 13:23:28 +0000 (08:23 -0500)]
Remove lemmur since its deprecated. (#2742)

18 months agoCombine prod and dev docker setups using build-arg (#2739)
Dessalines [Fri, 17 Feb 2023 06:29:45 +0000 (01:29 -0500)]
Combine prod and dev docker setups using build-arg (#2739)

* Combine prod and dev docker setups using build-arg

- Fixes #2603

* Dont use cache for release build.

18 months agoOrganize utils into separate files. Fixes #2295 (#2736)
Dessalines [Thu, 16 Feb 2023 04:05:14 +0000 (23:05 -0500)]
Organize utils into separate files. Fixes #2295 (#2736)

* Organize utils into separate files. Fixes #2295

* Moving tests.

* Fix test.

* Fix test 2

18 months agoRemoving checking permissions when editing posts and comments. (#2727)
Dessalines [Wed, 15 Feb 2023 02:04:23 +0000 (21:04 -0500)]
Removing checking permissions when editing posts and comments. (#2727)

* Removing checking permissions when editing posts and comments. Fixes #2714

* Running cargo fmt again.

* Adding back in community ban checks.

18 months agoFixing updated form fields. Fixes #2724 (#2725)
Dessalines [Tue, 14 Feb 2023 21:41:22 +0000 (16:41 -0500)]
Fixing updated form fields. Fixes #2724 (#2725)

* Fixing updated form fields. Fixes #2724

* Fix import.

18 months agoOnly let top admin purge. Fixes #2731 (#2732)
Dessalines [Tue, 14 Feb 2023 19:31:04 +0000 (14:31 -0500)]
Only let top admin purge. Fixes #2731 (#2732)

18 months agoFix writing of `removeData` in apub context (fixes #2734) (#2735)
Nutomic [Tue, 14 Feb 2023 18:40:39 +0000 (03:40 +0900)]
Fix writing of `removeData` in apub context (fixes #2734) (#2735)

18 months agoAdding a site option to email admins for new reports. (#2730)
Dessalines [Tue, 14 Feb 2023 15:57:08 +0000 (10:57 -0500)]
Adding a site option to email admins for new reports. (#2730)

- Fixes #2551

18 months agoSort community search by active_monthly by default. (#2728)
Dessalines [Tue, 14 Feb 2023 14:19:37 +0000 (09:19 -0500)]
Sort community search by active_monthly by default. (#2728)

- Fixes #2678

18 months agoFix post titles being cut off (fixes #2718) (#2720)
Nutomic [Fri, 10 Feb 2023 18:35:23 +0000 (03:35 +0900)]
Fix post titles being cut off (fixes #2718) (#2720)

I didnt notice that this limit would also apply to Lemmy and other
software which has the title field. So gonna change it to be
identical to db limit

18 months agoImproved error message when attempting to fetch non-local object (fixes #2715) (...
Nutomic [Wed, 8 Feb 2023 19:45:29 +0000 (04:45 +0900)]
Improved error message when attempting to fetch non-local object (fixes #2715) (#2717)

18 months agoConvert HTML from titles into markdown (#2709)
Kradyz [Tue, 7 Feb 2023 02:27:17 +0000 (03:27 +0100)]
Convert HTML from titles into markdown (#2709)

Co-authored-by: Kradyz <k@radiz.nl>
18 months agoIn apub post receive, check posting restricted to mods (ref #2702) (#2704)
Nutomic [Sun, 5 Feb 2023 17:31:09 +0000 (02:31 +0900)]
In apub post receive, check posting restricted to mods (ref #2702) (#2704)

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
18 months agoFix docker federation setup (#2706)
Nutomic [Sun, 5 Feb 2023 17:30:10 +0000 (02:30 +0900)]
Fix docker federation setup (#2706)

18 months agoFix data fetching from Peertube (fixes #2689) (#2703)
Nutomic [Sun, 5 Feb 2023 05:38:08 +0000 (14:38 +0900)]
Fix data fetching from Peertube (fixes #2689) (#2703)

- Other platforms can support additional language tags. Treat those
as None instead of throwing error
- deserialize_skip_error was implemented incorrectly and failed on
array values (https://github.com/LemmyNet/activitypub-federation-rust/commit/6d9682f4e6e5d47afaa05f8a35a230bf5e07a334)

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
18 months agoAdd a ntfy notif on a tag deploy success. (#2701)
Dessalines [Sat, 4 Feb 2023 17:51:48 +0000 (12:51 -0500)]
Add a ntfy notif on a tag deploy success. (#2701)

18 months agoAdding 0.17.1 Release notes.
Dessalines [Fri, 3 Feb 2023 19:30:26 +0000 (14:30 -0500)]
Adding 0.17.1 Release notes.

18 months agoDisable pictrs feature in CI to make it faster (#2698)
Nutomic [Fri, 3 Feb 2023 18:32:44 +0000 (03:32 +0900)]
Disable pictrs feature in CI to make it faster (#2698)

18 months agoVersion 0.17.1
Dessalines [Fri, 3 Feb 2023 14:36:18 +0000 (09:36 -0500)]
Version 0.17.1

18 months agoFixing admin application email subject. Fixes #2688 (#2695)
Dessalines [Fri, 3 Feb 2023 14:24:19 +0000 (09:24 -0500)]
Fixing admin application email subject. Fixes #2688 (#2695)

18 months agoFixing person block views. Fixes #2693 (#2694)
Dessalines [Fri, 3 Feb 2023 13:45:32 +0000 (08:45 -0500)]
Fixing person block views. Fixes #2693 (#2694)

18 months agoFixing GetPosts active sort index. Fixes #2683 (#2684)
Dessalines [Thu, 2 Feb 2023 19:09:32 +0000 (14:09 -0500)]
Fixing GetPosts active sort index. Fixes #2683 (#2684)

* Fixing GetPosts active sort index. Fixes #2683

* Fixing other sort.

18 months agoMore explicit upgrade instructions.
Dessalines [Wed, 1 Feb 2023 14:35:24 +0000 (09:35 -0500)]
More explicit upgrade instructions.

18 months agoFix yerbate.ml -> join-lemmy.org links
Dessalines [Wed, 1 Feb 2023 14:34:59 +0000 (09:34 -0500)]
Fix yerbate.ml -> join-lemmy.org links

18 months agoMerge branch 'main' of https://github.com/LemmyNet/lemmy
Dessalines [Tue, 31 Jan 2023 17:21:34 +0000 (12:21 -0500)]
Merge branch 'main' of https://github.com/LemmyNet/lemmy

18 months agoFixing instructions.
Dessalines [Tue, 31 Jan 2023 17:21:28 +0000 (12:21 -0500)]
Fixing instructions.

18 months agoPublish without verify (#2681)
Nutomic [Tue, 31 Jan 2023 15:41:48 +0000 (00:41 +0900)]
Publish without verify (#2681)

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
18 months agoFix paths in release script, update crate versions (#2680)
Nutomic [Tue, 31 Jan 2023 15:26:51 +0000 (00:26 +0900)]
Fix paths in release script, update crate versions (#2680)

18 months agoAdding 0.17.0 Release notes.
Dessalines [Tue, 31 Jan 2023 13:38:41 +0000 (08:38 -0500)]
Adding 0.17.0 Release notes.

18 months agoVersion 0.17.0
Dessalines [Tue, 31 Jan 2023 13:30:54 +0000 (08:30 -0500)]
Version 0.17.0

18 months agoUpdating translations.
Dessalines [Tue, 31 Jan 2023 13:29:31 +0000 (08:29 -0500)]
Updating translations.

18 months agoFixing `.drone.yml` (#2677)
Dessalines [Mon, 30 Jan 2023 19:17:24 +0000 (14:17 -0500)]
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>
18 months agoUse join_all instead of try_join_all. Fixes #2673 (#2674)
Dessalines [Mon, 30 Jan 2023 16:11:11 +0000 (11:11 -0500)]
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.

18 months agoUpdate message_id to comply with RFC 2822 (#2668)
Kradyz [Mon, 30 Jan 2023 16:10:51 +0000 (17:10 +0100)]
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>
18 months agoSpeeding up comment-ltree migration, fixing index creation. Fixes #2664 (#2670)
Dessalines [Mon, 23 Jan 2023 14:59:25 +0000 (09:59 -0500)]
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

19 months agoAdd feature to embed pictrs in lemmy binary (fixes #2627) (#2633)
Nutomic [Fri, 20 Jan 2023 17:46:49 +0000 (18:46 +0100)]
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>
19 months agoUpdate post_aggregates indexes to account for featured_local and featured_community...
Dessalines [Fri, 20 Jan 2023 17:44:03 +0000 (12:44 -0500)]
Update post_aggregates indexes to account for featured_local and featured_community columns. (#2661)

- Fixes #2660