]> Untitled Git - lemmy.git/log
lemmy.git
2 years agoUpgrading deps (#1995)
Dessalines [Tue, 14 Dec 2021 13:30:37 +0000 (08:30 -0500)]
Upgrading deps (#1995)

2 years agoUpgrading pictrs. (#1996)
Dessalines [Tue, 14 Dec 2021 13:24:33 +0000 (08:24 -0500)]
Upgrading pictrs. (#1996)

2 years agoTrying out an upgraded version of html5ever. #1964 (#1991)
Dessalines [Sun, 12 Dec 2021 23:49:25 +0000 (18:49 -0500)]
Trying out an upgraded version of html5ever. #1964 (#1991)

* Trying out an upgraded version of html5ever. #1964

* New release of webpage.

2 years agoAdding min setup password length to the docs. Fixes #1989 (#1990)
Dessalines [Sun, 12 Dec 2021 16:42:24 +0000 (11:42 -0500)]
Adding min setup password length to the docs. Fixes #1989 (#1990)

2 years agoTest pleroma follow (#1988)
Nutomic [Sun, 12 Dec 2021 02:39:18 +0000 (02:39 +0000)]
Test pleroma follow (#1988)

* Add test case for Pleroma follow activity (ref #1984)

* Use WithContext in apub tests where possible

2 years agoRemove awc (#1979)
Riley [Wed, 8 Dec 2021 15:56:43 +0000 (09:56 -0600)]
Remove awc (#1979)

* Remove unused awc dep

* Replace awc pict-rs client with reqwest

* Reinstate 30 second pict-rs timeout

2 years agoMerge pull request #1978 from LemmyNet/asonix/reqwest-middleware
Dessalines [Wed, 8 Dec 2021 15:51:46 +0000 (10:51 -0500)]
Merge pull request #1978 from LemmyNet/asonix/reqwest-middleware

Consolidate reqwest clients, use reqwest-middleware for tracing

2 years agoUse from_message for static error string
Aode (lion) [Tue, 7 Dec 2021 23:17:19 +0000 (17:17 -0600)]
Use from_message for static error string

2 years agoUpdate deps
Aode (lion) [Tue, 7 Dec 2021 00:12:04 +0000 (18:12 -0600)]
Update deps

2 years agoConsolidate reqwest clients, use reqwest-middleware for tracing
Aode (lion) [Mon, 6 Dec 2021 22:54:34 +0000 (16:54 -0600)]
Consolidate reqwest clients, use reqwest-middleware for tracing

2 years agoDon't drop error context when adding a message to errors (#1958)
Riley [Mon, 6 Dec 2021 14:54:47 +0000 (08:54 -0600)]
Don't drop error context when adding a message to errors (#1958)

* Respond directly with LemmyError

Instrument Perform implementations for more precise traces
Use ApiError to format JSON errors when messages are present
Keep SpanTrace output in LemmyError Display impl

* Hide SpanTrace debug output from LemmyError

* Don't log when entering spans, only when leaving

* Update actix-web

* Update actix-rt

* Add newline after error info in LemmyError Display impl

* Propogate span information to blocking operations

* Instrument apub functions

* Use skip_all for more instrument attributes, don't skip 'self' in some api actions

* Make message a static string

* Send proper JSON over websocket

* Add 'message' to LemmyError display if present

* Use a quieter root span builder, don't pretty-print logs

* Keep passwords and emails out of logs

* Re-enable logging Login

* Instrument feeds

* Emit our own errors

* Move error log after status code recording

* Make Sensitive generic over the inner type

* Remove line that logged secrets

2 years agoChange lemmur repo links (#1977)
Marcin Wojnarowski [Mon, 6 Dec 2021 13:17:59 +0000 (14:17 +0100)]
Change lemmur repo links (#1977)

2 years agoadded deps - git and ca-certificates (for federation to work) and changed adduser...
Marty [Mon, 6 Dec 2021 00:35:50 +0000 (02:35 +0200)]
added deps - git and ca-certificates (for federation to work) and changed adduser to useradd so that user can be added non-interactively (#1976)

2 years agoAllow comment replies from blocked users. Fixes #1793 (#1969)
Dessalines [Sun, 5 Dec 2021 17:45:40 +0000 (12:45 -0500)]
Allow comment replies from blocked users. Fixes #1793 (#1969)

* Allow comment replies from blocked users. Fixes #1793

* Clearer check block.

2 years agoFix retry infinite loops. Fixes #1964 (#1967)
Dessalines [Sun, 5 Dec 2021 15:03:13 +0000 (10:03 -0500)]
Fix retry infinite loops. Fixes #1964 (#1967)

* Fix retry infinite loops. Fixes #1964

* Moving retry_limit to settings

2 years agoMerge pull request #1962 from vpzomtrrfrt/oneormany2
Nutomic [Fri, 3 Dec 2021 12:50:52 +0000 (12:50 +0000)]
Merge pull request #1962 from vpzomtrrfrt/oneormany2

Allow single item for to, cc, and @context

2 years agoAdd lotide activities to tests
Colin Reeder [Fri, 3 Dec 2021 04:53:16 +0000 (21:53 -0700)]
Add lotide activities to tests

2 years agoAllow single item for to, cc, and @context
Colin Reeder [Sat, 27 Nov 2021 04:55:33 +0000 (21:55 -0700)]
Allow single item for to, cc, and @context

2 years agoTrying to add docker:latest. Fixes #1959 (#1960)
Dessalines [Fri, 26 Nov 2021 12:38:55 +0000 (07:38 -0500)]
Trying to add docker:latest. Fixes #1959 (#1960)

* Trying to add docker:latest. Fixes #1959

* Version 0.14.4-rc.3

* Trying to fix clippy on crate build

* Version 0.14.4-rc.4

2 years agoMerge pull request #1937 from LemmyNet/disable-edit-email-notifications
Dessalines [Thu, 25 Nov 2021 18:00:26 +0000 (13:00 -0500)]
Merge pull request #1937 from LemmyNet/disable-edit-email-notifications

Dont send email notifications for edited comments (fixes #1925)

2 years agoAdding a captcha rate limit. Fixes #1755 (#1941)
Dessalines [Thu, 25 Nov 2021 13:04:19 +0000 (08:04 -0500)]
Adding a captcha rate limit. Fixes #1755 (#1941)

* Adding a captcha rate limit. Fixes #1755

* Changing to post rate limit.

2 years agoDont send email notifications for edited comments (fixes #1925)
Felix Ableitner [Wed, 24 Nov 2021 21:26:23 +0000 (22:26 +0100)]
Dont send email notifications for edited comments (fixes #1925)

2 years agoVersion 0.14.3
Dessalines [Tue, 23 Nov 2021 19:39:55 +0000 (14:39 -0500)]
Version 0.14.3

2 years agoMerge pull request #1951 from LemmyNet/fix_ap_id_dupes_query
Dessalines [Tue, 23 Nov 2021 19:37:58 +0000 (14:37 -0500)]
Merge pull request #1951 from LemmyNet/fix_ap_id_dupes_query

Fix API dupes query. #1878

2 years agoFix API dupes query. #1878
Dessalines [Tue, 23 Nov 2021 19:30:16 +0000 (14:30 -0500)]
Fix API dupes query. #1878

2 years agoVersion 0.14.2
Dessalines [Tue, 23 Nov 2021 16:48:49 +0000 (11:48 -0500)]
Version 0.14.2

2 years agoVersion 0.14.2-rc.1
Dessalines [Tue, 23 Nov 2021 16:12:46 +0000 (11:12 -0500)]
Version 0.14.2-rc.1

2 years agoFixing duped report view for admins. Fixes #1933 (#1945)
Dessalines [Tue, 23 Nov 2021 15:54:30 +0000 (10:54 -0500)]
Fixing duped report view for admins. Fixes #1933 (#1945)

* Fixing duped report view for admins. Fixes #1933

* Fixing tests.

2 years agoAdding a GetComment endpoint. Fixes #1919 (#1944)
Dessalines [Tue, 23 Nov 2021 15:53:48 +0000 (10:53 -0500)]
Adding a GetComment endpoint. Fixes #1919 (#1944)

2 years agoFix min title char count for post titles. Fixes #1854 (#1940)
Dessalines [Tue, 23 Nov 2021 15:52:58 +0000 (10:52 -0500)]
Fix min title char count for post titles. Fixes #1854 (#1940)

* Fix min title char count for post titles. Fixes #1854

* Adding more newline checks for actors.

* Adding helper function

2 years agoAdding MarkPostAsRead to API. Fixes #1784 (#1946)
Dessalines [Tue, 23 Nov 2021 14:15:43 +0000 (09:15 -0500)]
Adding MarkPostAsRead to API. Fixes #1784 (#1946)

* Adding MarkPostAsRead to API. Fixes #1784

* Adding error

2 years agobackground-jobs 0.11 (#1943)
Riley [Tue, 23 Nov 2021 12:20:01 +0000 (06:20 -0600)]
background-jobs 0.11 (#1943)

2 years agoAdd tracing (#1942)
Riley [Tue, 23 Nov 2021 12:16:47 +0000 (06:16 -0600)]
Add tracing (#1942)

2 years agoRemove pointless community follower sort. (#1939)
Dessalines [Tue, 23 Nov 2021 12:05:09 +0000 (07:05 -0500)]
Remove pointless community follower sort. (#1939)

2 years agoMerge pull request #1938 from LemmyNet/once_cell
Dessalines [Mon, 22 Nov 2021 19:27:08 +0000 (14:27 -0500)]
Merge pull request #1938 from LemmyNet/once_cell

Use once_cell instead of lazy_static

2 years agoUse once_cell instead of lazy_static
Felix Ableitner [Mon, 22 Nov 2021 18:58:31 +0000 (19:58 +0100)]
Use once_cell instead of lazy_static

2 years agoAdding unique constraint for activity ap_id. Fixes #1878 (#1935)
Dessalines [Mon, 22 Nov 2021 18:57:03 +0000 (13:57 -0500)]
Adding unique constraint for activity ap_id. Fixes #1878 (#1935)

* Adding unique constraint for activity ap_id. Fixes #1878

* Removing is_activity_already_known

2 years agoMerge pull request #1936 from LemmyNet/required_public_key
Nutomic [Mon, 22 Nov 2021 15:37:05 +0000 (15:37 +0000)]
Merge pull request #1936 from LemmyNet/required_public_key

Making public key required. Fixes #1934

2 years agoMaking public key required. Fixes #1934
Dessalines [Mon, 22 Nov 2021 15:10:18 +0000 (10:10 -0500)]
Making public key required. Fixes #1934

2 years agoMerge pull request #1926 from LemmyNet/replace-activitystreams-lib
Dessalines [Mon, 22 Nov 2021 13:47:46 +0000 (08:47 -0500)]
Merge pull request #1926 from LemmyNet/replace-activitystreams-lib

Replace activitystreams crate with activitystreams-kinds

2 years agoReplace activitystreams crate with activitystreams-kinds
Felix Ableitner [Fri, 19 Nov 2021 17:47:06 +0000 (18:47 +0100)]
Replace activitystreams crate with activitystreams-kinds

2 years agoMerge pull request #1921 from LemmyNet/fix_login
Nutomic [Mon, 22 Nov 2021 13:05:57 +0000 (13:05 +0000)]
Merge pull request #1921 from LemmyNet/fix_login

Fix login ilike bug. Fixes #1920

2 years agoMerge pull request #1930 from Minoru/bugfix/nodeinfo-links
Nutomic [Mon, 22 Nov 2021 12:45:13 +0000 (12:45 +0000)]
Merge pull request #1930 from Minoru/bugfix/nodeinfo-links

Change NodeInfo `links` to an array

2 years agoChange NodeInfo `links` to an array
Alexander Batischev [Sun, 21 Nov 2021 17:10:39 +0000 (20:10 +0300)]
Change NodeInfo `links` to an array

NodeInfo spec[1] says that _.well-known/nodeinfo_ is a JSON Resource
Descriptor (JRD) document. That is specified in RFC 7033, where Â§4.4[2]
mandates that `links` is an array.

1. https://nodeinfo.diaspora.software/protocol.html
2. https://datatracker.ietf.org/doc/html/rfc7033#section-4.4

2 years agoFixing fuzzy_search to escape like chars.
Dessalines [Fri, 19 Nov 2021 20:07:20 +0000 (15:07 -0500)]
Fixing fuzzy_search to escape like chars.

3 years agoMerge pull request #1924 from LemmyNet/fix-1914
Dessalines [Fri, 19 Nov 2021 17:42:48 +0000 (12:42 -0500)]
Merge pull request #1924 from LemmyNet/fix-1914

Fix build error in #1914

3 years agoFix build error in #1914
Felix Ableitner [Fri, 19 Nov 2021 17:05:23 +0000 (18:05 +0100)]
Fix build error in #1914

3 years agoMerge pull request #1914 from LemmyNet/dont-announce-note
Dessalines [Fri, 19 Nov 2021 16:48:47 +0000 (11:48 -0500)]
Merge pull request #1914 from LemmyNet/dont-announce-note

Dont announce comments, edited posts to Pleroma/Mastodon followers

3 years agoFix login ilike bug. Fixes #1920
Dessalines [Fri, 19 Nov 2021 01:58:11 +0000 (20:58 -0500)]
Fix login ilike bug. Fixes #1920

3 years agoMerge pull request #1918 from LemmyNet/fix-smithereen-webfinger
Dessalines [Thu, 18 Nov 2021 19:47:34 +0000 (14:47 -0500)]
Merge pull request #1918 from LemmyNet/fix-smithereen-webfinger

Fix Smithereen webfinger, remove duplicate webfinger impl (fixes #1916)

3 years agoMerge pull request #1917 from LemmyNet/outbox-announce
Dessalines [Thu, 18 Nov 2021 19:31:47 +0000 (14:31 -0500)]
Merge pull request #1917 from LemmyNet/outbox-announce

Community outbox should only contain activities sent by community

3 years agoFix Smithereen webfinger, remove duplicate webfinger impl (fixes #1916)
Felix Ableitner [Thu, 18 Nov 2021 18:28:53 +0000 (19:28 +0100)]
Fix Smithereen webfinger, remove duplicate webfinger impl (fixes #1916)

3 years agoDont announce comments, edited posts to Pleroma/Mastodon followers
Felix Ableitner [Thu, 18 Nov 2021 15:20:35 +0000 (16:20 +0100)]
Dont announce comments, edited posts to Pleroma/Mastodon followers

3 years agoCommunity outbox should only contain activities sent by community (fixes #1916)
Felix Ableitner [Thu, 18 Nov 2021 17:04:28 +0000 (18:04 +0100)]
Community outbox should only contain activities sent by community (fixes #1916)

3 years agoMerge pull request #1915 from LemmyNet/remove-http-sig-compat
Dessalines [Thu, 18 Nov 2021 16:43:32 +0000 (11:43 -0500)]
Merge pull request #1915 from LemmyNet/remove-http-sig-compat

Remove HTTP signature compatibility mode (its not necessary)

3 years agoMerge pull request #1907 from not-layla/main
Dessalines [Thu, 18 Nov 2021 16:22:38 +0000 (11:22 -0500)]
Merge pull request #1907 from not-layla/main

Implement rate limits on comments

3 years agoRemove HTTP signature compatibility mode (its not necessary)
Felix Ableitner [Thu, 18 Nov 2021 16:06:10 +0000 (17:06 +0100)]
Remove HTTP signature compatibility mode (its not necessary)

3 years agoImplement rate limits on comments
layla [Thu, 11 Nov 2021 20:40:25 +0000 (20:40 +0000)]
Implement rate limits on comments

3 years agoMerge pull request #1911 from LemmyNet/fix_arm_docker
Nutomic [Thu, 18 Nov 2021 11:55:01 +0000 (11:55 +0000)]
Merge pull request #1911 from LemmyNet/fix_arm_docker

Fixing arm dockerfile.

3 years agoFixing arm dockerfile.
Dessalines [Wed, 17 Nov 2021 21:46:05 +0000 (16:46 -0500)]
Fixing arm dockerfile.

3 years agoVersion 0.14.1
Dessalines [Wed, 17 Nov 2021 21:25:50 +0000 (16:25 -0500)]
Version 0.14.1

3 years agoMerge pull request #1908 from LemmyNet/upgrade_background_jobs
Nutomic [Wed, 17 Nov 2021 20:46:19 +0000 (20:46 +0000)]
Merge pull request #1908 from LemmyNet/upgrade_background_jobs

Upgrade background jobs

3 years agoUpgrading background-jobs-core and actix. #1820
Dessalines [Wed, 17 Nov 2021 19:50:25 +0000 (14:50 -0500)]
Upgrading background-jobs-core and actix. #1820

3 years agoFixing release
Dessalines [Wed, 17 Nov 2021 18:50:03 +0000 (13:50 -0500)]
Fixing release

3 years agoFixing prod deploy not adding other docker-compose.yml files.
Dessalines [Wed, 17 Nov 2021 17:05:02 +0000 (12:05 -0500)]
Fixing prod deploy not adding other docker-compose.yml files.

3 years ago0.14.0 Release notes.
Dessalines [Wed, 17 Nov 2021 17:01:07 +0000 (12:01 -0500)]
0.14.0 Release notes.

3 years agoVersion 0.14.0
Dessalines [Wed, 17 Nov 2021 16:28:16 +0000 (11:28 -0500)]
Version 0.14.0

3 years agoVersion 0.14.0-rc.2
Dessalines [Wed, 17 Nov 2021 14:14:54 +0000 (09:14 -0500)]
Version 0.14.0-rc.2

3 years agoMerge pull request #1897 from LemmyNet/mastodon-compat
Dessalines [Wed, 17 Nov 2021 14:12:01 +0000 (09:12 -0500)]
Merge pull request #1897 from LemmyNet/mastodon-compat

Mastodon compat

3 years agoFix error due to same activity being inserted in database twice
Felix Ableitner [Tue, 16 Nov 2021 18:10:06 +0000 (19:10 +0100)]
Fix error due to same activity being inserted in database twice

3 years agoRemove to field from follow activities
Felix Ableitner [Tue, 16 Nov 2021 16:27:43 +0000 (17:27 +0100)]
Remove to field from follow activities

3 years agoSupport mastodon deletes
Aode (lion) [Tue, 16 Nov 2021 00:58:15 +0000 (18:58 -0600)]
Support mastodon deletes

3 years agoCreate and Note always need to tag parent creator, for mastodon notifications
Felix Ableitner [Mon, 15 Nov 2021 22:54:25 +0000 (23:54 +0100)]
Create and Note always need to tag parent creator, for mastodon notifications

3 years agoActivities in community should also be sent to actors in cc
Felix Ableitner [Mon, 15 Nov 2021 21:37:19 +0000 (22:37 +0100)]
Activities in community should also be sent to actors in cc

3 years agoMake http signature compatible with mastodon
Felix Ableitner [Fri, 12 Nov 2021 23:03:44 +0000 (00:03 +0100)]
Make http signature compatible with mastodon

3 years agoMerge pull request #1905 from LemmyNet/fix_comment_report_creator
Nutomic [Tue, 16 Nov 2021 17:03:58 +0000 (17:03 +0000)]
Merge pull request #1905 from LemmyNet/fix_comment_report_creator

Fixing comment report creator. Fixes #1904

3 years agoMake webfinger standard compliant
Felix Ableitner [Tue, 16 Nov 2021 17:03:09 +0000 (18:03 +0100)]
Make webfinger standard compliant

3 years agoMerge pull request #1903 from LemmyNet/fix_direct_string_apub_serialize_error
Nutomic [Tue, 16 Nov 2021 17:00:07 +0000 (17:00 +0000)]
Merge pull request #1903 from LemmyNet/fix_direct_string_apub_serialize_error

Use serde_json::to_value

3 years agoFixing comment report creator. Fixes #1904
Dessalines [Tue, 16 Nov 2021 14:59:52 +0000 (09:59 -0500)]
Fixing comment report creator. Fixes #1904

3 years agoUse serde_json::to_value
Dessalines [Tue, 16 Nov 2021 02:07:07 +0000 (21:07 -0500)]
Use serde_json::to_value

3 years agoFixing activity serialization. Fixes #1900 (#1901)
Dessalines [Mon, 15 Nov 2021 20:26:48 +0000 (15:26 -0500)]
Fixing activity serialization. Fixes #1900 (#1901)

3 years agoVersion 0.14.0-rc.1
Dessalines [Thu, 11 Nov 2021 19:57:25 +0000 (14:57 -0500)]
Version 0.14.0-rc.1

3 years agoTemporarily disable arm tests (#1895)
Dessalines [Thu, 11 Nov 2021 19:49:48 +0000 (14:49 -0500)]
Temporarily disable arm tests (#1895)

* Temporarily disable arm tests

* Disable cargo build

3 years agoMore federation compat (#1894)
Nutomic [Thu, 11 Nov 2021 19:49:15 +0000 (19:49 +0000)]
More federation compat (#1894)

* Make HTTP signatures compatible with Pleroma

* Send Announce/Page, Announce/Note for Pleroma compatibility

* remove unused code

3 years agoMerge pull request #1888 from LemmyNet/test-pleroma-federation
Dessalines [Thu, 11 Nov 2021 13:52:26 +0000 (08:52 -0500)]
Merge pull request #1888 from LemmyNet/test-pleroma-federation

Add docker setup for testing Pleroma federation

3 years agoAdd docker setup for testing Pleroma federation
Felix Ableitner [Thu, 4 Nov 2021 20:41:14 +0000 (21:41 +0100)]
Add docker setup for testing Pleroma federation

3 years agoAdding clippy:unwrap to husky. Fixes #1892 (#1893)
Dessalines [Thu, 11 Nov 2021 12:18:08 +0000 (07:18 -0500)]
Adding clippy:unwrap to husky. Fixes #1892 (#1893)

3 years agoMerge pull request #1891 from LemmyNet/remove-apub-accept-guard
Dessalines [Wed, 10 Nov 2021 14:38:50 +0000 (09:38 -0500)]
Merge pull request #1891 from LemmyNet/remove-apub-accept-guard

Remove header guard for activitypub routes

3 years agoRemove header guard for activitypub routes
Felix Ableitner [Wed, 10 Nov 2021 13:17:56 +0000 (14:17 +0100)]
Remove header guard for activitypub routes

3 years agoMerge pull request #1889 from LemmyNet/update_docker_images
Nutomic [Wed, 10 Nov 2021 13:45:49 +0000 (13:45 +0000)]
Merge pull request #1889 from LemmyNet/update_docker_images

Updating rust musl images

3 years agoFixing clippy
Dessalines [Tue, 9 Nov 2021 22:31:28 +0000 (17:31 -0500)]
Fixing clippy

3 years agoUpdating rust musl images
Dessalines [Tue, 9 Nov 2021 22:16:59 +0000 (17:16 -0500)]
Updating rust musl images

3 years agoFixing clippy lints. (#1885)
Dessalines [Tue, 9 Nov 2021 18:16:37 +0000 (13:16 -0500)]
Fixing clippy lints. (#1885)

* Fixing clippy lints.

* Revert object id display

* Trying to fix clippy again

3 years agoMerge pull request #1887 from LemmyNet/federate-smithereen
Dessalines [Tue, 9 Nov 2021 17:26:41 +0000 (12:26 -0500)]
Merge pull request #1887 from LemmyNet/federate-smithereen

Add federation test cases for Smithereen and Mastodon

3 years agoAdd federation test cases for Smithereen and Mastodon
Felix Ableitner [Tue, 9 Nov 2021 12:25:19 +0000 (13:25 +0100)]
Add federation test cases for Smithereen and Mastodon

3 years agoMerge pull request #1877 from LemmyNet/refactor-apub-2
Dessalines [Mon, 8 Nov 2021 15:25:25 +0000 (10:25 -0500)]
Merge pull request #1877 from LemmyNet/refactor-apub-2

Refactor apub 2

3 years agoInclude apub context from file, so that it can be embedded in docs
Felix Ableitner [Mon, 8 Nov 2021 15:04:02 +0000 (16:04 +0100)]
Include apub context from file, so that it can be embedded in docs

3 years agoFix clippy error
Felix Ableitner [Mon, 8 Nov 2021 12:11:24 +0000 (13:11 +0100)]
Fix clippy error

3 years agoFor verify_is_public() we also need to check cc field
Felix Ableitner [Sat, 6 Nov 2021 17:44:34 +0000 (18:44 +0100)]
For verify_is_public() we also need to check cc field

3 years agoAdd method ApubObject.verify()
Felix Ableitner [Sat, 6 Nov 2021 17:35:14 +0000 (18:35 +0100)]
Add method ApubObject.verify()