lemmy.git
2 years agoChanging default listing type to Local from Subscribed.
Dessalines [Tue, 12 Apr 2022 18:55:47 +0000 (14:55 -0400)]
Changing default listing type to Local from Subscribed.

2 years agoExpose remote site info in GetCommunity API (fixes #2208) (#2210)
Nutomic [Wed, 13 Apr 2022 16:37:54 +0000 (16:37 +0000)]
Expose remote site info in GetCommunity API (fixes #2208) (#2210)

* Expose remote site info in GetCommunity API (fixes #2208)

* use instance_actor_id_from_url()

2 years agoFixing unstable post sorts. Fixes #2188 (#2204)
Dessalines [Wed, 13 Apr 2022 15:33:38 +0000 (11:33 -0400)]
Fixing unstable post sorts. Fixes #2188 (#2204)

2 years agoAdding lemmy_ui_debug for future debug testing. (#2211)
Dessalines [Wed, 13 Apr 2022 11:53:21 +0000 (07:53 -0400)]
Adding lemmy_ui_debug for future debug testing. (#2211)

Co-authored-by: Nutomic <me@nutomic.com>
2 years agoFixing generate unique changeme (#2205)
Dessalines [Wed, 13 Apr 2022 11:13:29 +0000 (07:13 -0400)]
Fixing generate unique changeme (#2205)

* Fixing generate unique changeme

* Fixing generate unique changeme 2

* Changing link to .invalid domain.

Co-authored-by: Nutomic <me@nutomic.com>
2 years agoChange Person, Instance types (#2200)
Nutomic [Tue, 12 Apr 2022 17:10:35 +0000 (17:10 +0000)]
Change Person, Instance types (#2200)

2 years agoMerge pull request #2207 from LemmyNet/clippy_fix_2
Nutomic [Tue, 12 Apr 2022 10:16:10 +0000 (10:16 +0000)]
Merge pull request #2207 from LemmyNet/clippy_fix_2

Clippy fixes.

2 years agoMerge branch 'main' into clippy_fix_2
Nutomic [Tue, 12 Apr 2022 10:03:40 +0000 (10:03 +0000)]
Merge branch 'main' into clippy_fix_2

2 years agoWrite mod log for federated sticky/lock post actions (#2203)
Nutomic [Mon, 11 Apr 2022 23:03:31 +0000 (23:03 +0000)]
Write mod log for federated sticky/lock post actions (#2203)

2 years agoClippy fixes.
Dessalines [Mon, 11 Apr 2022 22:51:11 +0000 (18:51 -0400)]
Clippy fixes.

2 years agoAdding 0.16.3 release.
Dessalines [Fri, 8 Apr 2022 17:09:17 +0000 (13:09 -0400)]
Adding 0.16.3 release.

2 years agoVersion 0.16.3
Dessalines [Fri, 8 Apr 2022 14:20:31 +0000 (10:20 -0400)]
Version 0.16.3

2 years agoVersion 0.16.3-rc.1
Dessalines [Fri, 8 Apr 2022 13:17:00 +0000 (09:17 -0400)]
Version 0.16.3-rc.1

2 years agoUpdating translations
Dessalines [Fri, 8 Apr 2022 13:13:46 +0000 (09:13 -0400)]
Updating translations

2 years agoFederate user account deletion (fixes #1284) (#2199)
Nutomic [Thu, 7 Apr 2022 20:52:17 +0000 (20:52 +0000)]
Federate user account deletion (fixes #1284) (#2199)

2 years agoDont federate initial upvote (#2196)
Nutomic [Thu, 7 Apr 2022 20:46:10 +0000 (20:46 +0000)]
Dont federate initial upvote (#2196)

2 years agoAdd missing mod log entries for federated actions (fixes #1489) (#2198)
Nutomic [Thu, 7 Apr 2022 20:44:28 +0000 (20:44 +0000)]
Add missing mod log entries for federated actions (fixes #1489) (#2198)

2 years agoMerge pull request #2192 from LemmyNet/mandatory_questionnaire
Nutomic [Tue, 5 Apr 2022 10:47:59 +0000 (10:47 +0000)]
Merge pull request #2192 from LemmyNet/mandatory_questionnaire

Make sure application questionaire is required. Fixes #2189

2 years agoMerge branch 'main' into mandatory_questionnaire
Nutomic [Tue, 5 Apr 2022 10:36:13 +0000 (10:36 +0000)]
Merge branch 'main' into mandatory_questionnaire

2 years agoMerge pull request #2194 from LemmyNet/upgrade_pictrs_8
Nutomic [Tue, 5 Apr 2022 10:26:00 +0000 (10:26 +0000)]
Merge pull request #2194 from LemmyNet/upgrade_pictrs_8

Upgrading pictrs.

2 years agoUpgrading pictrs.
Dessalines [Tue, 5 Apr 2022 01:31:17 +0000 (21:31 -0400)]
Upgrading pictrs.

2 years agoMake sure application questionaire is required. Fixes #2189
Dessalines [Mon, 4 Apr 2022 20:23:18 +0000 (16:23 -0400)]
Make sure application questionaire is required. Fixes #2189

Also fix local image domain check. Was failing for blank strings /
replaces.

2 years agoFix verify_mod_action check for remote admin actions (#2190)
Nutomic [Mon, 4 Apr 2022 14:46:49 +0000 (14:46 +0000)]
Fix verify_mod_action check for remote admin actions (#2190)

* Fix verify_mod_action check for remote admin actions

* fix federation test

2 years agoRun cargo upgrade (#2176)
Nutomic [Fri, 1 Apr 2022 18:37:51 +0000 (18:37 +0000)]
Run cargo upgrade (#2176)

* Run cargo upgrade and cargo update

* Fixing validation (#2179)

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
2 years agoMigrate towards using page.attachment field for url (ref #2144) (#2182)
Nutomic [Fri, 1 Apr 2022 18:25:19 +0000 (18:25 +0000)]
Migrate towards using page.attachment field for url (ref #2144) (#2182)

2 years agoExclude removed/deleted posts from community outbox (#2184)
Nutomic [Fri, 1 Apr 2022 18:18:25 +0000 (18:18 +0000)]
Exclude removed/deleted posts from community outbox (#2184)

2 years agoFetch community outbox in parallel (fixes #2180) (#2181)
Nutomic [Fri, 1 Apr 2022 18:06:23 +0000 (18:06 +0000)]
Fetch community outbox in parallel (fixes #2180) (#2181)

2 years agoMerge pull request #2178 from LemmyNet/fix_ban_expires
Nutomic [Thu, 31 Mar 2022 12:05:17 +0000 (12:05 +0000)]
Merge pull request #2178 from LemmyNet/fix_ban_expires

Adding a ban expires update job. Fixes #2177

2 years agoClippy fixes.
Dessalines [Wed, 30 Mar 2022 14:58:03 +0000 (10:58 -0400)]
Clippy fixes.

2 years agoAdding a ban expires update job. Fixes #2177
Dessalines [Wed, 30 Mar 2022 13:56:23 +0000 (09:56 -0400)]
Adding a ban expires update job. Fixes #2177

2 years agoAdd email translations (#2175)
Nutomic [Tue, 29 Mar 2022 18:23:03 +0000 (18:23 +0000)]
Add email translations (#2175)

2 years agoFix arm submodule (#2174)
Dessalines [Tue, 29 Mar 2022 18:05:18 +0000 (18:05 +0000)]
Fix arm submodule (#2174)

2 years agoVersion 0.16.2
Dessalines [Tue, 29 Mar 2022 16:56:21 +0000 (12:56 -0400)]
Version 0.16.2

2 years agoAdd update translations script. (#2173)
Dessalines [Tue, 29 Mar 2022 16:54:16 +0000 (16:54 +0000)]
Add update translations script. (#2173)

2 years agoUpdating translations.
Dessalines [Tue, 29 Mar 2022 16:07:39 +0000 (12:07 -0400)]
Updating translations.

2 years agoVersion 0.16.2-rc.3
Dessalines [Tue, 29 Mar 2022 15:54:13 +0000 (11:54 -0400)]
Version 0.16.2-rc.3

2 years agoAdd test files for Friendica federation (fixes #2144) (#2167)
Nutomic [Tue, 29 Mar 2022 15:48:29 +0000 (15:48 +0000)]
Add test files for Friendica federation (fixes #2144) (#2167)

2 years agoLowering search rate limit. Fixes #2153 (#2154)
Dessalines [Tue, 29 Mar 2022 15:46:03 +0000 (15:46 +0000)]
Lowering search rate limit. Fixes #2153 (#2154)

* Lowering search rate limit. Fixes #2153

* Adding a search rate limit.

* Forgot to add the websocket search rate limit

* Fix wrong op

2 years agoAdd tag to lemmy-ansible. (#2172)
Dessalines [Tue, 29 Mar 2022 15:36:59 +0000 (15:36 +0000)]
Add tag to lemmy-ansible. (#2172)

2 years agoFixing release script. (#2170)
Dessalines [Tue, 29 Mar 2022 15:23:39 +0000 (15:23 +0000)]
Fixing release script. (#2170)

2 years agoRate limit ws joins (#2171)
Dessalines [Mon, 28 Mar 2022 20:31:35 +0000 (20:31 +0000)]
Rate limit ws joins (#2171)

* Removing async on mutex lock fn.

* Removing redundant ip

* Don't check rate limit twice.

2 years agoDelete unused diesel.toml file (#2166)
Nutomic [Mon, 28 Mar 2022 18:29:11 +0000 (18:29 +0000)]
Delete unused diesel.toml file (#2166)

2 years agoVersion 0.16.2-rc.2
Dessalines [Sun, 27 Mar 2022 01:37:12 +0000 (21:37 -0400)]
Version 0.16.2-rc.2

2 years agoRate limit websocket joins. (#2165)
Dessalines [Sun, 27 Mar 2022 00:29:05 +0000 (00:29 +0000)]
Rate limit websocket joins. (#2165)

* Rate limit websocket joins.

* Removing async on mutex lock fn.

* Removing redundant ip

* Return early if check fails.

2 years agoDoing tests in sequential order. Fixes #2158 (#2163)
Dessalines [Fri, 25 Mar 2022 19:00:33 +0000 (19:00 +0000)]
Doing tests in sequential order. Fixes #2158 (#2163)

* Doing tests in sequential order. Fixes #2158

* Doing tests in sequential order. Fixes #2158

* Fixing order 1

2 years agoDont log errors when rate limit is hit (fixes #2157) (#2161)
Nutomic [Fri, 25 Mar 2022 15:41:38 +0000 (16:41 +0100)]
Dont log errors when rate limit is hit (fixes #2157) (#2161)

* Dont log errors when rate limit is hit (fixes #2157)

* Clone service rather than http request

* some cleanup/refactoring

Co-authored-by: Aode (Lion) <asonix@asonix.dog>
2 years agoVersion 0.16.2-rc.1
Dessalines [Thu, 24 Mar 2022 22:25:21 +0000 (18:25 -0400)]
Version 0.16.2-rc.1

2 years agoMerge pull request #2160 from LemmyNet/rate_limit_websocket_fail
Nutomic [Thu, 24 Mar 2022 20:43:02 +0000 (21:43 +0100)]
Merge pull request #2160 from LemmyNet/rate_limit_websocket_fail

Fix rate limit check for register. Fixes #2159

2 years agoRemoving check_only
Dessalines [Thu, 24 Mar 2022 20:29:08 +0000 (16:29 -0400)]
Removing check_only

2 years agoFix rate limit check for register. Fixes #2159
Dessalines [Thu, 24 Mar 2022 20:13:58 +0000 (16:13 -0400)]
Fix rate limit check for register. Fixes #2159

2 years agoGNU social compatibility (#2100)
Nutomic [Thu, 24 Mar 2022 16:33:42 +0000 (16:33 +0000)]
GNU social compatibility (#2100)

* Use SourceCompat everywhere (better compat with other software)

* Name field should not be mandatory in Group

* also check page.cc field for community id

* add gnu social tests

* better to use option<sourcecompat>

* update gnu social tests, marked vote as "unlisted"

2 years agoConsolidate and lower reqwest timeouts. Fixes #2150 (#2151)
Dessalines [Thu, 24 Mar 2022 16:33:23 +0000 (16:33 +0000)]
Consolidate and lower reqwest timeouts. Fixes #2150 (#2151)

2 years agoCheck that config is valid before saving (#2152)
Nutomic [Thu, 24 Mar 2022 16:23:12 +0000 (16:23 +0000)]
Check that config is valid before saving (#2152)

2 years agoDont log error if duplicate activity is received (fixes #2146) (#2148)
Nutomic [Thu, 24 Mar 2022 16:05:27 +0000 (16:05 +0000)]
Dont log error if duplicate activity is received (fixes #2146) (#2148)

2 years agoWIP: Email localization (fixes #500) (#2053)
Nutomic [Thu, 24 Mar 2022 15:25:51 +0000 (15:25 +0000)]
WIP: Email localization (fixes #500) (#2053)

* Allow email localization (fixes #500)

* add PersonAggregates::default()

* add lemmy-translations submodule

* fix gitmodules

2 years agoUpdate pictrs to 0.3.0-rc.7 (#2149)
Nutomic [Thu, 24 Mar 2022 01:57:40 +0000 (01:57 +0000)]
Update pictrs to 0.3.0-rc.7 (#2149)

2 years agoMerge pull request #2139 from LemmyNet/add_jerboa_link
Nutomic [Wed, 23 Mar 2022 21:48:25 +0000 (21:48 +0000)]
Merge pull request #2139 from LemmyNet/add_jerboa_link

Add jerboa link to readme. Fixes #2137

2 years agoMerge branch 'main' into add_jerboa_link
Nutomic [Wed, 23 Mar 2022 21:33:07 +0000 (21:33 +0000)]
Merge branch 'main' into add_jerboa_link

2 years agoIf viewed actor isnt in db, fetch it from other instance (#2145)
Nutomic [Wed, 23 Mar 2022 21:27:51 +0000 (21:27 +0000)]
If viewed actor isnt in db, fetch it from other instance (#2145)

2 years agoMerge pull request #2138 from LemmyNet/rate_limit_algorithm_desc
Nutomic [Wed, 23 Mar 2022 14:48:09 +0000 (14:48 +0000)]
Merge pull request #2138 from LemmyNet/rate_limit_algorithm_desc

Show rate limit algorithm. Fixes #2136

2 years agoMerge branch 'main' into rate_limit_algorithm_desc
Nutomic [Wed, 23 Mar 2022 14:33:03 +0000 (14:33 +0000)]
Merge branch 'main' into rate_limit_algorithm_desc

2 years agoMerge branch 'main' into add_jerboa_link
Nutomic [Wed, 23 Mar 2022 14:30:06 +0000 (14:30 +0000)]
Merge branch 'main' into add_jerboa_link

2 years agoMerge pull request #2147 from LemmyNet/fixing_api_tests_1
Nutomic [Wed, 23 Mar 2022 14:29:46 +0000 (14:29 +0000)]
Merge pull request #2147 from LemmyNet/fixing_api_tests_1

Fixing api tests 1

2 years agoTrying to fix api tests 2
Dessalines [Tue, 22 Mar 2022 22:06:59 +0000 (18:06 -0400)]
Trying to fix api tests 2

2 years agoTrying to fix api tests 1
Dessalines [Tue, 22 Mar 2022 19:50:47 +0000 (15:50 -0400)]
Trying to fix api tests 1

2 years agoShow rate limit algorithm. Fixes #2136
Dessalines [Fri, 18 Mar 2022 15:26:16 +0000 (11:26 -0400)]
Show rate limit algorithm. Fixes #2136

2 years agoAdjust retry interval for sending activities (#2141)
Nutomic [Tue, 22 Mar 2022 18:40:40 +0000 (18:40 +0000)]
Adjust retry interval for sending activities (#2141)

2 years agoAdd jerboa link to readme. Fixes #2137
Dessalines [Fri, 18 Mar 2022 15:29:36 +0000 (11:29 -0400)]
Add jerboa link to readme. Fixes #2137

2 years agoRestore prod docker-compose.yml
Dessalines [Sat, 19 Mar 2022 16:21:07 +0000 (12:21 -0400)]
Restore prod docker-compose.yml

2 years agoForbid remote URLs for avatars/banners (fixes #1618) (#2132)
Nutomic [Fri, 18 Mar 2022 15:46:58 +0000 (15:46 +0000)]
Forbid remote URLs for avatars/banners (fixes #1618) (#2132)

2 years agoRemove docker/prod unused files (fixes #2086) (#2133)
Nutomic [Thu, 17 Mar 2022 16:28:35 +0000 (16:28 +0000)]
Remove docker/prod unused files (fixes #2086) (#2133)

2 years agoRework error handling (fixes #1714) (#2135)
Nutomic [Wed, 16 Mar 2022 20:11:49 +0000 (20:11 +0000)]
Rework error handling (fixes #1714) (#2135)

2 years agoAdding release notes.
Dessalines [Tue, 15 Mar 2022 21:29:05 +0000 (17:29 -0400)]
Adding release notes.

2 years agoVersion 0.16.1
Dessalines [Tue, 15 Mar 2022 21:23:16 +0000 (17:23 -0400)]
Version 0.16.1

2 years agoVersion 0.16.1-rc.1
Dessalines [Tue, 15 Mar 2022 20:52:37 +0000 (16:52 -0400)]
Version 0.16.1-rc.1

2 years agoRevert "Add logging to debug federation issues (ref #2096) (#2099)" (#2130)
Nutomic [Mon, 14 Mar 2022 20:18:19 +0000 (20:18 +0000)]
Revert "Add logging to debug federation issues (ref #2096) (#2099)" (#2130)

This reverts commit e094989a4c6baaa637a0ab1c63179706c5a3bc6c.

2 years agoDont allow admin to add mod to remote community (#2129)
Nutomic [Mon, 14 Mar 2022 18:35:57 +0000 (18:35 +0000)]
Dont allow admin to add mod to remote community (#2129)

2 years agoReject federated downvotes if downvotes are disabled (fixes #2124) (#2128)
Nutomic [Mon, 14 Mar 2022 18:20:18 +0000 (18:20 +0000)]
Reject federated downvotes if downvotes are disabled (fixes #2124) (#2128)

2 years agoAdd Release notes.
Dessalines [Tue, 8 Mar 2022 18:54:25 +0000 (13:54 -0500)]
Add Release notes.

2 years agoVersion 0.16.0
Dessalines [Tue, 8 Mar 2022 18:45:01 +0000 (13:45 -0500)]
Version 0.16.0

2 years agoVersion 0.16.0-rc.4
Dessalines [Tue, 8 Mar 2022 13:57:57 +0000 (08:57 -0500)]
Version 0.16.0-rc.4

2 years agoCorrectly read local SiteView (#2122)
Nutomic [Tue, 8 Mar 2022 12:52:33 +0000 (12:52 +0000)]
Correctly read local SiteView (#2122)

2 years agoVersion 0.16.0-rc.3
Dessalines [Mon, 7 Mar 2022 23:59:29 +0000 (18:59 -0500)]
Version 0.16.0-rc.3

2 years agoIncrease default worker count (#2120)
Nutomic [Mon, 7 Mar 2022 22:28:50 +0000 (22:28 +0000)]
Increase default worker count (#2120)

2 years agoFix community rss. Fixes #2116 (#2119)
Dessalines [Mon, 7 Mar 2022 21:49:02 +0000 (21:49 +0000)]
Fix community rss. Fixes #2116 (#2119)

Co-authored-by: Nutomic <me@nutomic.com>
2 years agoTry to fix federation test on ci (#2121)
Nutomic [Mon, 7 Mar 2022 21:25:34 +0000 (21:25 +0000)]
Try to fix federation test on ci (#2121)

2 years agoVersion 0.16.0-rc.2
Dessalines [Thu, 3 Mar 2022 19:40:09 +0000 (14:40 -0500)]
Version 0.16.0-rc.2

2 years agoMake delete activities backwards compatible with 0.15 (#2114)
Nutomic [Thu, 3 Mar 2022 19:37:12 +0000 (19:37 +0000)]
Make delete activities backwards compatible with 0.15 (#2114)

2 years agoMake activity queue worker count configurable, log stats (#2113)
Nutomic [Thu, 3 Mar 2022 18:54:33 +0000 (18:54 +0000)]
Make activity queue worker count configurable, log stats (#2113)

2 years agoAdd timeout for sending activities (#2112)
Nutomic [Thu, 3 Mar 2022 18:40:10 +0000 (18:40 +0000)]
Add timeout for sending activities (#2112)

* Add timeout for sending activities

* Also set request timeouts in utils/src/request.rs

2 years agoMerge pull request #2115 from LemmyNet/fix_tests_1
Nutomic [Thu, 3 Mar 2022 18:13:09 +0000 (18:13 +0000)]
Merge pull request #2115 from LemmyNet/fix_tests_1

Fixing unit tests.

2 years agoFixing unit tests.
Dessalines [Thu, 3 Mar 2022 17:51:55 +0000 (12:51 -0500)]
Fixing unit tests.

2 years agoMerge pull request #2111 from robjtede/aw4
Nutomic [Wed, 2 Mar 2022 20:59:51 +0000 (20:59 +0000)]
Merge pull request #2111 from robjtede/aw4

Update `actix-*` dependencies to stable v4.

2 years agoRemove direct `actix-http` dependency
Rob Ede [Wed, 2 Mar 2022 18:05:48 +0000 (18:05 +0000)]
Remove direct `actix-http` dependency

2 years agoUpdate `actix-*` dependencies to stable v4.
Rob Ede [Wed, 2 Mar 2022 18:00:52 +0000 (18:00 +0000)]
Update `actix-*` dependencies to stable v4.

2 years agoVersion 0.16.0-rc.1
Dessalines [Wed, 2 Mar 2022 17:41:11 +0000 (12:41 -0500)]
Version 0.16.0-rc.1

2 years agoShow nsfw communities if you are logged in and searching communities (#2105)
dayinjing [Wed, 2 Mar 2022 17:39:27 +0000 (11:39 -0600)]
Show nsfw communities if you are logged in and searching communities (#2105)

* Show nsfw communities in logged in and you've enabled nsfw in your profile atleast

* Reuse existing user check

Co-authored-by: Sun Wukong <monkey@king.com>
2 years agoFix resending activities (fixes #1282) (#2109)
Nutomic [Tue, 1 Mar 2022 18:40:05 +0000 (18:40 +0000)]
Fix resending activities (fixes #1282) (#2109)

2 years agoDont hardcode site id in Site::update (#2110)
Nutomic [Tue, 1 Mar 2022 17:01:23 +0000 (17:01 +0000)]
Dont hardcode site id in Site::update (#2110)

2 years agosend plain-text in email along with html (#2107)
RedLobster999 [Tue, 1 Mar 2022 14:28:18 +0000 (21:28 +0700)]
send plain-text in email along with html (#2107)

* send plain text in email along with html

* format the code using "cargo +nightly fmt"

Co-authored-by: kittiphat-kang <kittiphat.nu@easysunday.com>