]> Untitled Git - lemmy.git/log
lemmy.git
2 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.

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

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

2 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

2 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

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

2 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.

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

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

2 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

2 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

2 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

2 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

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

2 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

2 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

2 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

2 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

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

2 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

2 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

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

2 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)

2 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

2 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

2 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

2 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

2 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

2 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)

2 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

2 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

2 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

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

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

2 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

2 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

2 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

2 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

2 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

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

2 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

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

2 years agoRemove unused ActorType methods
Felix Ableitner [Sat, 6 Nov 2021 14:01:00 +0000 (15:01 +0100)]
Remove unused ActorType methods

2 years agoReduce stack memory usage in apub code
Felix Ableitner [Sat, 6 Nov 2021 13:25:34 +0000 (14:25 +0100)]
Reduce stack memory usage in apub code

- use our own, smaller Endpoints struct
- wrap ObjectId.url in Box
- adjust usage of Box in different places

2 years agoChange to_apub and from_apub to take by value and avoid cloning
Felix Ableitner [Sat, 6 Nov 2021 12:37:55 +0000 (13:37 +0100)]
Change to_apub and from_apub to take by value and avoid cloning

2 years agoStop using lemmy-ui:dev images (#1880)
Dessalines [Fri, 5 Nov 2021 21:49:15 +0000 (17:49 -0400)]
Stop using lemmy-ui:dev images (#1880)

* Stop using lemmy-ui:dev images

* Dont publish dev docker images with drone.

2 years agoMove ObjectId to library
Felix Ableitner [Fri, 5 Nov 2021 00:24:10 +0000 (01:24 +0100)]
Move ObjectId to library

2 years agoRemove ActivityFields trait, deserialize into another struct instead
Felix Ableitner [Wed, 3 Nov 2021 17:33:51 +0000 (18:33 +0100)]
Remove ActivityFields trait, deserialize into another struct instead

2 years agoRefactoring apub code
Felix Ableitner [Wed, 3 Nov 2021 16:26:09 +0000 (17:26 +0100)]
Refactoring apub code

2 years agoCheck if post or comment are deleted first. Fixes #1864 (#1867)
Dessalines [Wed, 3 Nov 2021 17:47:24 +0000 (13:47 -0400)]
Check if post or comment are deleted first. Fixes #1864 (#1867)

* Check if post or comment are deleted first. Fixes #1864

* Refactoring delete apub.

* Revert "Refactoring delete apub."

This reverts commit ba2c3d06cfb870efe792f4b2541036265b425156.

2 years agoMerge pull request #1874 from LemmyNet/protocol-testing
Dessalines [Wed, 3 Nov 2021 15:23:26 +0000 (11:23 -0400)]
Merge pull request #1874 from LemmyNet/protocol-testing

Protocol testing

2 years agoCorrectly use and document check_is_apub_id_valid() param use_strict_allowlist
Felix Ableitner [Tue, 2 Nov 2021 13:18:12 +0000 (14:18 +0100)]
Correctly use and document check_is_apub_id_valid() param use_strict_allowlist

2 years agoMerge two functions into one
Felix Ableitner [Tue, 2 Nov 2021 13:02:39 +0000 (14:02 +0100)]
Merge two functions into one

2 years agoConvert note.content and chat_message.content to html (fixes #1871)
Felix Ableitner [Tue, 2 Nov 2021 11:49:28 +0000 (12:49 +0100)]
Convert note.content and chat_message.content to html (fixes #1871)

2 years agoUpgrade background_jobs to 0.9.1 #1820 (#1875)
Dessalines [Tue, 2 Nov 2021 20:27:24 +0000 (16:27 -0400)]
Upgrade background_jobs to 0.9.1 #1820 (#1875)

2 years agoFix husky fmt hook. (#1868)
Dessalines [Tue, 2 Nov 2021 15:15:19 +0000 (11:15 -0400)]
Fix husky fmt hook. (#1868)

* Fix husky fmt hook.

* Change to use default cargo

* Using nightly check

2 years agoAdd tests for parsing activities and collections
Felix Ableitner [Mon, 1 Nov 2021 13:05:20 +0000 (14:05 +0100)]
Add tests for parsing activities and collections

3 years agoMove apub test files into tree structure
Felix Ableitner [Fri, 29 Oct 2021 14:54:19 +0000 (16:54 +0200)]
Move apub test files into tree structure

3 years agoMove activity structs to protocol folder
Felix Ableitner [Fri, 29 Oct 2021 10:32:42 +0000 (12:32 +0200)]
Move activity structs to protocol folder

3 years agoMove object and collection structs to protocol folder
Felix Ableitner [Thu, 28 Oct 2021 21:17:59 +0000 (23:17 +0200)]
Move object and collection structs to protocol folder

3 years agoRewrite community followers and user outbox to use our own structs
Felix Ableitner [Thu, 28 Oct 2021 15:52:11 +0000 (17:52 +0200)]
Rewrite community followers and user outbox to use our own structs

3 years agoMove @context out of object/activity definitions
Felix Ableitner [Thu, 28 Oct 2021 15:25:26 +0000 (17:25 +0200)]
Move @context out of object/activity definitions

3 years agoChange activity.cc to Vec<Url> in public activities
Felix Ableitner [Thu, 28 Oct 2021 12:47:56 +0000 (14:47 +0200)]
Change activity.cc to Vec<Url> in public activities

3 years agoWhen receiving activity, dont read community from cc (for pleroma compat and better...
Felix Ableitner [Thu, 28 Oct 2021 11:46:48 +0000 (13:46 +0200)]
When receiving activity, dont read community from cc (for pleroma compat and better verification)

3 years agoMake Note.context optional for pleroma compat (hack)
Felix Ableitner [Tue, 26 Oct 2021 10:47:26 +0000 (12:47 +0200)]
Make Note.context optional for pleroma compat (hack)

3 years agoActivity.to should always be a vec (and unspecified size for public activities)
Felix Ableitner [Mon, 25 Oct 2021 17:22:34 +0000 (19:22 +0200)]
Activity.to should always be a vec (and unspecified size for public activities)

3 years agoFix problem that prevented viewing of pleroma user profiles
Felix Ableitner [Mon, 25 Oct 2021 16:09:21 +0000 (18:09 +0200)]
Fix problem that prevented viewing of pleroma user profiles

3 years agoRewrite community moderators collection
Felix Ableitner [Wed, 27 Oct 2021 10:56:07 +0000 (12:56 +0200)]
Rewrite community moderators collection

3 years agoRewrite community outbox to use new fetcher
Felix Ableitner [Mon, 25 Oct 2021 14:15:03 +0000 (16:15 +0200)]
Rewrite community outbox to use new fetcher

3 years agoMerge traits ToApub and FromApub into ApubObject
Felix Ableitner [Tue, 26 Oct 2021 19:05:26 +0000 (21:05 +0200)]
Merge traits ToApub and FromApub into ApubObject

3 years agoRenaming to slur_filter. Fixes #1773 (#1801)
Dessalines [Thu, 28 Oct 2021 20:47:25 +0000 (16:47 -0400)]
Renaming to slur_filter. Fixes #1773 (#1801)

* Renaming to slur_filter. Fixes #1773

* Fixing config

* Updating doku for slur filter.

* Updating doku for slur filter again.

* Remove comment.

3 years agoThree instance inbox bug (#1866)
Dessalines [Thu, 28 Oct 2021 20:46:24 +0000 (16:46 -0400)]
Three instance inbox bug (#1866)

* 3 instance shared inbox bug test

* Fixing shared inbox bug. Fixes #1865

* A few fixes.

3 years agoRemove ansible from this repo. (#1829)
Dessalines [Wed, 27 Oct 2021 16:09:00 +0000 (12:09 -0400)]
Remove ansible from this repo. (#1829)

* Remove ansible from this repo.

* Adding a git push.

3 years agoRewrite collections to use new fetcher (#1861)
Nutomic [Wed, 27 Oct 2021 16:03:07 +0000 (16:03 +0000)]
Rewrite collections to use new fetcher (#1861)

* Merge traits ToApub and FromApub into ApubObject

* Rewrite community outbox to use new fetcher

* Rewrite community moderators collection

* Rewrite tombstone

3 years agoDont blank out post or community info. Fixes #1813 (#1841)
Dessalines [Wed, 27 Oct 2021 13:34:18 +0000 (09:34 -0400)]
Dont blank out post or community info. Fixes #1813 (#1841)

* Dont blank out post or community info. Fixes #1813

* Fix federation tests

* Only blank out info for non-logged in users.

* Remove pointless trait.

* Blank the community if deleted for post

* Fix hook

* Fixing again

* Fixing again

* Fixing again

3 years agoMerge remote-tracking branch 'origin/main'
Dessalines [Fri, 22 Oct 2021 17:32:17 +0000 (13:32 -0400)]
Merge remote-tracking branch 'origin/main'

3 years agoFormat config/defaults.hjson before committing (#1860)
Nutomic [Fri, 22 Oct 2021 17:29:47 +0000 (17:29 +0000)]
Format config/defaults.hjson before committing (#1860)

3 years agoVersion 0.13.5-rc.7
Dessalines [Fri, 22 Oct 2021 17:26:00 +0000 (13:26 -0400)]
Version 0.13.5-rc.7

3 years agoBreaking apub changes (#1859)
Nutomic [Fri, 22 Oct 2021 16:21:26 +0000 (16:21 +0000)]
Breaking apub changes (#1859)

* Remove CommentInReplyToMigration

* Remove compat for RemovePostCommentOrCommunity

* Remove PublicUrlMigration

* Change type of pm to ChatMessage from Pleroma, make pm.to array

* Use person.summary instead of person.content for pleroma compat

* Also change group.content to summary

* Rewrite apub object test json to serve as nice examples

* Also add test case for parsing pleroma private message

3 years agoTrying out rust-musl-builder for cargo publish (#1856)
Dessalines [Thu, 21 Oct 2021 17:26:01 +0000 (13:26 -0400)]
Trying out rust-musl-builder for cargo publish (#1856)

* Trying out rust-musl-builder for cargo publish

* Version 0.13.5-rc.1

* Try rust:nightly

* Version 0.13.5-rc.2

* Try rust slim

* Version 0.13.5-rc.3

* Try rust 1.51

* Version 0.13.5-rc.4

* Trying another nightly

* Version 0.13.5-rc.5

* Trying another fix

* Version 0.13.5-rc.6

3 years agoPleroma federation2 (#1855)
Nutomic [Thu, 21 Oct 2021 17:25:35 +0000 (17:25 +0000)]
Pleroma federation2 (#1855)

* Allow fetching person from Pleroma, including test case (ref #1461)

* Added test case for parsing community from apub json

- fixed a bug with objectid (de)serialization
- fixed a bug with outbox fetching (ref #1582)

* Added apub test for post

* Ignore errors when reading community outbox (fixes #1582)

* Dont fetch community outbox/moderators during tests

* added test for lemmy comment

* Added federation test for pleroma comment

* Added html2md crate to parse comment html from pleroma (fixes #1461)

* some fixes for update_apub_test_files.sh

* Add tests for ToApub, private message, remove update script

* Delete objects from db at the end of each test

3 years agoCreate a custom pre-commit hook, generates config/defaults.hjson (#1857)
Nutomic [Thu, 21 Oct 2021 16:57:09 +0000 (16:57 +0000)]
Create a custom pre-commit hook, generates config/defaults.hjson  (#1857)

* Create a custom pre-commit hook, generates config/defaults.hjson (fixes #1836)

* invalid defaults file

* Revert "invalid defaults file"

This reverts commit 76d2c303e293b13d581f9c5aa2944caedb2f530b.

3 years agoMerge pull request #1850 from LemmyNet/refactor-apub
Dessalines [Wed, 20 Oct 2021 15:01:04 +0000 (11:01 -0400)]
Merge pull request #1850 from LemmyNet/refactor-apub

Refactor apub

3 years agoMajor refactor, adding newtypes for apub crate
Felix Ableitner [Mon, 18 Oct 2021 21:36:44 +0000 (23:36 +0200)]
Major refactor, adding newtypes for apub crate

- this allows moving FromApub/ToApub traits into apub lib

3 years agoMerge crates db_schema and db_queries
Felix Ableitner [Sat, 16 Oct 2021 13:33:38 +0000 (15:33 +0200)]
Merge crates db_schema and db_queries

3 years agoRemove DeletableApubObject trait
Felix Ableitner [Sat, 16 Oct 2021 11:14:02 +0000 (13:14 +0200)]
Remove DeletableApubObject trait

3 years agoAdd cargo metadata to all crates (#1853)
Tmpod [Tue, 19 Oct 2021 17:03:43 +0000 (18:03 +0100)]
Add cargo metadata to all crates (#1853)

3 years agoAdd both (De)Serialize to all models (#1851)
Tmpod [Tue, 19 Oct 2021 16:37:01 +0000 (17:37 +0100)]
Add both (De)Serialize to all models (#1851)

3 years agoAdding GetUnreadCount to the API. Fixes #1794 (#1842)
Dessalines [Sat, 16 Oct 2021 10:43:41 +0000 (06:43 -0400)]
Adding GetUnreadCount to the API. Fixes #1794 (#1842)

* Adding GetUnreadCount to the API. Fixes #1794

* Reordering filters to fix unread replies.

3 years agoFederate reports (#1830)
Nutomic [Fri, 15 Oct 2021 14:37:33 +0000 (14:37 +0000)]
Federate reports (#1830)

* Federate reports

* add federation test cases for reports

3 years agoFix saved posts and hide read posts issue. Fixes #1839 (#1840)
Dessalines [Thu, 14 Oct 2021 17:03:12 +0000 (13:03 -0400)]
Fix saved posts and hide read posts issue. Fixes #1839 (#1840)

3 years agoDont allow posts to deleted / removed communities. Fixes #1827 (#1828)
Dessalines [Thu, 14 Oct 2021 16:33:19 +0000 (12:33 -0400)]
Dont allow posts to deleted / removed communities. Fixes #1827 (#1828)

* Dont allow posts to deleted / removed communities. Fixes #1827

* Fixing couldnt find community error.

* Adding check in createorupdate post and comment.

* make sure post wasn't deleted or removed.

* Adding a post not deleted or removed check to creatorupdatecomment.

* Using pub(crate)

3 years ago0.13.3 release notes.
Dessalines [Thu, 14 Oct 2021 01:28:04 +0000 (21:28 -0400)]
0.13.3 release notes.

3 years agoUpdate ansible version
Dessalines [Thu, 14 Oct 2021 01:18:55 +0000 (21:18 -0400)]
Update ansible version

3 years agoDont swallow API errors (fixes #1834) (#1837)
Nutomic [Wed, 13 Oct 2021 19:50:21 +0000 (19:50 +0000)]
Dont swallow API errors (fixes #1834) (#1837)

Dont swallow API errors (fixes #1834)

3 years agoFix federation of initial post/comment vote (fixes #1824) (#1835)
Nutomic [Wed, 13 Oct 2021 14:12:41 +0000 (14:12 +0000)]
Fix federation of initial post/comment vote (fixes #1824) (#1835)

3 years agoFix clippy warnings added in nightly (#1833)
Nutomic [Tue, 12 Oct 2021 16:46:26 +0000 (16:46 +0000)]
Fix clippy warnings added in nightly (#1833)

3 years agoAdmins can view all reports. Fixes #1810 (#1825)
Dessalines [Tue, 12 Oct 2021 12:02:16 +0000 (08:02 -0400)]
Admins can view all reports. Fixes #1810 (#1825)

3 years agoAdding a message_id to emails. Fixes #1807 (#1826)
Dessalines [Tue, 12 Oct 2021 11:38:55 +0000 (07:38 -0400)]
Adding a message_id to emails. Fixes #1807 (#1826)

3 years agoGenerate config docs from code (#1786)
Nutomic [Fri, 8 Oct 2021 15:07:24 +0000 (15:07 +0000)]
Generate config docs from code (#1786)

* Generate config docs from code

* update library

* move settings comments from config.hjson to code

* updte doku to 0.10

* update doku