From: Dessalines Date: Sat, 13 May 2023 20:50:58 +0000 (-0400) Subject: Prettier check (#2855) X-Git-Url: http://these/git/%22https:/nerdica.net/%7B%24%7B%60data:application/%7Brss%7D?a=commitdiff_plain;h=69f179bd334f76b3cc0222ddee1e0bc919653477;p=lemmy.git Prettier check (#2855) * Adding prettier check to CI. * Running prettier on codebase. --- diff --git a/.github/ISSUE_TEMPLATE/BUG_REPORT.md b/.github/ISSUE_TEMPLATE/BUG_REPORT.md index 0a11245f..5aa726d2 100644 --- a/.github/ISSUE_TEMPLATE/BUG_REPORT.md +++ b/.github/ISSUE_TEMPLATE/BUG_REPORT.md @@ -1,10 +1,9 @@ --- name: "\U0001F41E Bug Report" about: Create a report to help us improve Lemmy -title: '' +title: "" labels: bug -assignees: '' - +assignees: "" --- Found a bug? Please fill out the sections below. 👍 @@ -17,7 +16,6 @@ If you have problems installing Lemmy, you should post in [!lemmy_support](https A summary of the bug. - ### Steps to Reproduce 1. (for example) I clicked login, and an endless spinner show up. @@ -26,6 +24,6 @@ A summary of the bug. ### Technical details -* Please post your log: `sudo docker-compose logs > lemmy_log.out`. -* What OS are you trying to install lemmy on? -* Any browser console errors? +- Please post your log: `sudo docker-compose logs > lemmy_log.out`. +- What OS are you trying to install lemmy on? +- Any browser console errors? diff --git a/.github/ISSUE_TEMPLATE/FEATURE_REQUEST.md b/.github/ISSUE_TEMPLATE/FEATURE_REQUEST.md index 1d9c7d35..7ff8b75b 100644 --- a/.github/ISSUE_TEMPLATE/FEATURE_REQUEST.md +++ b/.github/ISSUE_TEMPLATE/FEATURE_REQUEST.md @@ -1,10 +1,9 @@ --- name: "\U0001F680 Feature request" about: Suggest an idea for improving Lemmy -title: '' +title: "" labels: enhancement -assignees: '' - +assignees: "" --- For front end issues, use [lemmy-ui](https://github.com/LemmyNet/lemmy-ui) diff --git a/.github/ISSUE_TEMPLATE/QUESTION.md b/.github/ISSUE_TEMPLATE/QUESTION.md index 8ac2adb8..3782f3e5 100644 --- a/.github/ISSUE_TEMPLATE/QUESTION.md +++ b/.github/ISSUE_TEMPLATE/QUESTION.md @@ -1,10 +1,9 @@ --- name: "? Question" about: General questions about Lemmy -title: '' +title: "" labels: question -assignees: '' - +assignees: "" --- What's the question you have about lemmy? diff --git a/.github/ISSUE_TEMPLATE/hexbear.md b/.github/ISSUE_TEMPLATE/hexbear.md index 3bb06239..65483df8 100644 --- a/.github/ISSUE_TEMPLATE/hexbear.md +++ b/.github/ISSUE_TEMPLATE/hexbear.md @@ -1,10 +1,9 @@ --- name: Hexbear about: For hexbear issues -title: '' +title: "" labels: hexbear -assignees: '' - +assignees: "" --- For hexbear-related issues diff --git a/.woodpecker.yml b/.woodpecker.yml index 0a5b3e6b..c9a1f3d7 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -2,7 +2,7 @@ # See https://github.com/woodpecker-ci/woodpecker/issues/1677 variables: - - &muslrust_image 'clux/muslrust:1.67.0' + - &muslrust_image "clux/muslrust:1.67.0" # Broken for cron jobs currently, see # https://github.com/woodpecker-ci/woodpecker/issues/1716 @@ -22,6 +22,11 @@ pipeline: - git submodule init - git submodule update --recursive --remote + prettier_check: + image: tmknom/prettier + commands: + - prettier -c . '!**/volumes' '!**/dist' '!target' '!**/translations' + # use minimum supported rust version for most steps cargo_fmt: image: *muslrust_image @@ -66,20 +71,20 @@ pipeline: environment: CARGO_HOME: .cargo commands: - # latest rust for clippy to get extra checks - # when adding new clippy lints, make sure to also add them in scripts/fix-clippy.sh + # latest rust for clippy to get extra checks + # when adding new clippy lints, make sure to also add them in scripts/fix-clippy.sh - rustup component add clippy - cargo clippy --workspace --tests --all-targets --features console -- - -D warnings -D deprecated -D clippy::perf -D clippy::complexity - -D clippy::style -D clippy::correctness -D clippy::suspicious - -D clippy::dbg_macro -D clippy::inefficient_to_string - -D clippy::items-after-statements -D clippy::implicit_clone - -D clippy::wildcard_imports -D clippy::cast_lossless - -D clippy::manual_string_new -D clippy::redundant_closure_for_method_calls - -D clippy::unused_self - -A clippy::uninlined_format_args - -D clippy::get_first - - cargo clippy --workspace --features console -- + -D warnings -D deprecated -D clippy::perf -D clippy::complexity + -D clippy::style -D clippy::correctness -D clippy::suspicious + -D clippy::dbg_macro -D clippy::inefficient_to_string + -D clippy::items-after-statements -D clippy::implicit_clone + -D clippy::wildcard_imports -D clippy::cast_lossless + -D clippy::manual_string_new -D clippy::redundant_closure_for_method_calls + -D clippy::unused_self + -A clippy::uninlined_format_args + -D clippy::get_first + - cargo clippy --workspace --features console -- -D clippy::unwrap_used -D clippy::indexing_slicing # when: @@ -185,7 +190,8 @@ pipeline: auto_tag: true # auto_tag_suffix: linux-amd64 when: - event: tag + event: + tag #platform: linux/amd64 publish_release_docker_image_arm: @@ -203,7 +209,8 @@ pipeline: auto_tag: true # auto_tag_suffix: linux-arm64 when: - event: tag + event: + tag #platform: linux/arm64 #publish_release_docker_manifest: @@ -254,15 +261,15 @@ pipeline: notify_on_failure: image: alpine:3 - commands: + commands: - apk add curl - "curl -d'Drone build failed: ${CI_BUILD_LINK}' ntfy.sh/lemmy_drone_ci" when: - status: [ failure ] + status: [failure] notify_on_tag_deploy: image: alpine:3 - commands: + commands: - apk add curl - "curl -d'lemmy:${CI_COMMIT_TAG} deployed' ntfy.sh/lemmy_drone_ci" when: diff --git a/api_tests/.eslintrc.json b/api_tests/.eslintrc.json index 4e05f0c5..c48d71f9 100644 --- a/api_tests/.eslintrc.json +++ b/api_tests/.eslintrc.json @@ -3,13 +3,8 @@ "env": { "browser": true }, - "plugins": [ - "@typescript-eslint" - ], - "extends": [ - "eslint:recommended", - "plugin:@typescript-eslint/recommended" - ], + "plugins": ["@typescript-eslint"], + "extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended"], "parser": "@typescript-eslint/parser", "parserOptions": { "project": "./tsconfig.json", diff --git a/api_tests/jest.config.js b/api_tests/jest.config.js index 91a2d2c0..a93551fc 100644 --- a/api_tests/jest.config.js +++ b/api_tests/jest.config.js @@ -1,4 +1,4 @@ module.exports = { - preset: 'ts-jest', - testEnvironment: 'node', -}; \ No newline at end of file + preset: "ts-jest", + testEnvironment: "node", +}; diff --git a/api_tests/tsconfig.json b/api_tests/tsconfig.json index 8d0ad928..28f5d192 100644 --- a/api_tests/tsconfig.json +++ b/api_tests/tsconfig.json @@ -10,8 +10,6 @@ "strictNullChecks": true, "moduleResolution": "Node" }, - "include": [ - "src/**/*" - ], + "include": ["src/**/*"], "exclude": ["node_modules", "dist"] } diff --git a/crates/api_common/README.md b/crates/api_common/README.md index df8b2f84..bf916bf0 100644 --- a/crates/api_common/README.md +++ b/crates/api_common/README.md @@ -1,5 +1,4 @@ -lemmy_api_common -=== +# lemmy_api_common This crate provides all the data types which are necessary to build a client for [Lemmy](https://join-lemmy.org/). You can use them with the HTTP client of your choice. diff --git a/crates/apub/assets/friendica/activities/create_note.json b/crates/apub/assets/friendica/activities/create_note.json index 2bfaaefe..93d65c26 100644 --- a/crates/apub/assets/friendica/activities/create_note.json +++ b/crates/apub/assets/friendica/activities/create_note.json @@ -32,9 +32,7 @@ "https://www.w3.org/ns/activitystreams#Public", "https://lemmy.schuerz.at/c/test" ], - "cc": [ - "https://soc.schuerz.at/followers/jakob" - ], + "cc": ["https://soc.schuerz.at/followers/jakob"], "object": { "id": "https://soc.schuerz.at/objects/4edd2508-4361-edb8-c4d8-b45181083984", "type": "Note", @@ -68,9 +66,7 @@ "https://www.w3.org/ns/activitystreams#Public", "https://lemmy.schuerz.at/c/test" ], - "cc": [ - "https://soc.schuerz.at/followers/jakob" - ] + "cc": ["https://soc.schuerz.at/followers/jakob"] }, "signature": { "type": "RsaSignature2017", @@ -79,4 +75,4 @@ "created": "2022-01-23T20:21:25Z", "signatureValue": "iWeNKyfH/d5+f6FDmZIadF4hW7XBliL8w3PQ2QkeKQG7fheqx1MB6825JX+Eaq8C0aNESesTTiDJgy3Xdcw8tgKwAVdji2DNZh7rNbSy57AzXlXOPRDnGJUbXp8gAuW2PJNZx3TTsJ5yM7tKLmHk0PpwsnKbvjFabL5O+htyfRZNVjFAsB9bVym/dBvf4jiTZiLufGDprgsaDVygUi3QrzmwsE41NZtL/MIEtbiC5pROWQvdQBEzeLfMDsnjI4CR+3tnaSlvepipuFxeSFpwl5Ae5+YM6IYRvSDsssjr8kAg1t3XnHUyeBdBdys0A6ryR5t5QuY0ygAHFs+X633JsgHDuCxxHiqNYxFuTs1xO0gmHydFy1iKlEt2rbr9pcX05hSvEFg0bI8HEC5M9GuafpY7sOyLX0jobBUH9CxdHUu0qri4ntORlvvAYsGFNHj+folFlMRBNMkcZ+MbrAxdoXBdjhsAp+tD6nje+PeZy63yJJQmPLQi9E+fHGGe0DAobGrBE/XF8X1ABH+ywyKwVu0t6lkSxu+zdr9+JXKgnf7HaFSsknapumw9aQwC7N/Q0M5KO41fF0R4VL2GtoppyB9Ck9Dg1zwMWjL2KZN3ckbWABb+frWtmKIVQACzupRWzHiHSZjRRNJalK3uugVisHF2PFGkjYoUjHDCNegKHO0=" } -} \ No newline at end of file +} diff --git a/crates/apub/assets/friendica/activities/create_page_1.json b/crates/apub/assets/friendica/activities/create_page_1.json index 062b521e..a0ca4683 100644 --- a/crates/apub/assets/friendica/activities/create_page_1.json +++ b/crates/apub/assets/friendica/activities/create_page_1.json @@ -27,9 +27,7 @@ "name": "Friendica 'Siberian Iris' 2022.05-dev-1452", "url": "https://pirati.ca" }, - "to": [ - "https://ds9.lemmy.ml/c/testcom" - ], + "to": ["https://ds9.lemmy.ml/c/testcom"], "cc": [ "https://www.w3.org/ns/activitystreams#Public", "https://ds9.lemmy.ml/c/testcom/followers" @@ -62,9 +60,7 @@ "name": "@testcom@ds9.lemmy.ml" } ], - "to": [ - "https://ds9.lemmy.ml/c/testcom" - ], + "to": ["https://ds9.lemmy.ml/c/testcom"], "cc": [ "https://www.w3.org/ns/activitystreams#Public", "https://ds9.lemmy.ml/c/testcom/followers" diff --git a/crates/apub/assets/friendica/activities/create_page_2.json b/crates/apub/assets/friendica/activities/create_page_2.json index 9982feae..9bbbb598 100644 --- a/crates/apub/assets/friendica/activities/create_page_2.json +++ b/crates/apub/assets/friendica/activities/create_page_2.json @@ -27,9 +27,7 @@ "name": "Friendica 'Siberian Iris' 2022.05-dev-1452", "url": "https://pirati.ca" }, - "to": [ - "https://ds9.lemmy.ml/c/testcom" - ], + "to": ["https://ds9.lemmy.ml/c/testcom"], "cc": [ "https://www.w3.org/ns/activitystreams#Public", "https://ds9.lemmy.ml/c/testcom/followers" @@ -62,9 +60,7 @@ "name": "@testcom@ds9.lemmy.ml" } ], - "to": [ - "https://ds9.lemmy.ml/c/testcom" - ], + "to": ["https://ds9.lemmy.ml/c/testcom"], "cc": [ "https://www.w3.org/ns/activitystreams#Public", "https://ds9.lemmy.ml/c/testcom/followers" diff --git a/crates/apub/assets/friendica/activities/delete.json b/crates/apub/assets/friendica/activities/delete.json index 2c6d5217..cc7e4dea 100644 --- a/crates/apub/assets/friendica/activities/delete.json +++ b/crates/apub/assets/friendica/activities/delete.json @@ -27,10 +27,7 @@ "name": "Friendica 'Siberian Iris' 2022.05-dev-1453", "url": "https://pirati.ca" }, - "to": [ - "https://pirati.ca/profile/test8", - "https://ds9.lemmy.ml/c/testcom" - ], + "to": ["https://pirati.ca/profile/test8", "https://ds9.lemmy.ml/c/testcom"], "cc": [ "https://www.w3.org/ns/activitystreams#Public", "https://ds9.lemmy.ml/c/testcom/followers" diff --git a/crates/apub/assets/friendica/activities/dislike_page.json b/crates/apub/assets/friendica/activities/dislike_page.json index f663e7c9..1f2c8f0c 100644 --- a/crates/apub/assets/friendica/activities/dislike_page.json +++ b/crates/apub/assets/friendica/activities/dislike_page.json @@ -27,10 +27,7 @@ "name": "Friendica 'Siberian Iris' 2022.05-dev-1453", "url": "https://pirati.ca" }, - "to": [ - "https://pirati.ca/profile/test8", - "https://ds9.lemmy.ml/c/testcom" - ], + "to": ["https://pirati.ca/profile/test8", "https://ds9.lemmy.ml/c/testcom"], "cc": [ "https://www.w3.org/ns/activitystreams#Public", "https://ds9.lemmy.ml/c/testcom/followers" diff --git a/crates/apub/assets/friendica/activities/like_page.json b/crates/apub/assets/friendica/activities/like_page.json index 4ad98e26..992b636f 100644 --- a/crates/apub/assets/friendica/activities/like_page.json +++ b/crates/apub/assets/friendica/activities/like_page.json @@ -27,10 +27,7 @@ "name": "Friendica 'Siberian Iris' 2022.05-dev-1453", "url": "https://pirati.ca" }, - "to": [ - "https://pirati.ca/profile/test8", - "https://ds9.lemmy.ml/c/testcom" - ], + "to": ["https://pirati.ca/profile/test8", "https://ds9.lemmy.ml/c/testcom"], "cc": [ "https://www.w3.org/ns/activitystreams#Public", "https://ds9.lemmy.ml/c/testcom/followers" diff --git a/crates/apub/assets/friendica/activities/undo_dislike_page.json b/crates/apub/assets/friendica/activities/undo_dislike_page.json index 958d22b2..10ae6301 100644 --- a/crates/apub/assets/friendica/activities/undo_dislike_page.json +++ b/crates/apub/assets/friendica/activities/undo_dislike_page.json @@ -27,10 +27,7 @@ "name": "Friendica 'Siberian Iris' 2022.05-dev-1453", "url": "https://pirati.ca" }, - "to": [ - "https://pirati.ca/profile/test8", - "https://ds9.lemmy.ml/c/testcom" - ], + "to": ["https://pirati.ca/profile/test8", "https://ds9.lemmy.ml/c/testcom"], "cc": [ "https://www.w3.org/ns/activitystreams#Public", "https://ds9.lemmy.ml/c/testcom/followers" @@ -45,10 +42,7 @@ "name": "Friendica 'Siberian Iris' 2022.05-dev-1453", "url": "https://pirati.ca" }, - "to": [ - "https://pirati.ca/profile/test8", - "https://ds9.lemmy.ml/c/testcom" - ], + "to": ["https://pirati.ca/profile/test8", "https://ds9.lemmy.ml/c/testcom"], "cc": [ "https://www.w3.org/ns/activitystreams#Public", "https://ds9.lemmy.ml/c/testcom/followers" diff --git a/crates/apub/assets/friendica/activities/update_note.json b/crates/apub/assets/friendica/activities/update_note.json index 6c006096..c6a22e11 100644 --- a/crates/apub/assets/friendica/activities/update_note.json +++ b/crates/apub/assets/friendica/activities/update_note.json @@ -27,10 +27,7 @@ "name": "Friendica 'Siberian Iris' 2022.05-dev-1453", "url": "https://pirati.ca" }, - "to": [ - "https://pirati.ca/profile/test8", - "https://ds9.lemmy.ml/c/testcom" - ], + "to": ["https://pirati.ca/profile/test8", "https://ds9.lemmy.ml/c/testcom"], "cc": [ "https://www.w3.org/ns/activitystreams#Public", "https://ds9.lemmy.ml/c/testcom/followers" @@ -69,10 +66,7 @@ "name": "@testcom@ds9.lemmy.ml" } ], - "to": [ - "https://pirati.ca/profile/test8", - "https://ds9.lemmy.ml/c/testcom" - ], + "to": ["https://pirati.ca/profile/test8", "https://ds9.lemmy.ml/c/testcom"], "cc": [ "https://www.w3.org/ns/activitystreams#Public", "https://ds9.lemmy.ml/c/testcom/followers" diff --git a/crates/apub/assets/friendica/objects/note_1.json b/crates/apub/assets/friendica/objects/note_1.json index 17c66956..47b43d8e 100644 --- a/crates/apub/assets/friendica/objects/note_1.json +++ b/crates/apub/assets/friendica/objects/note_1.json @@ -50,7 +50,5 @@ "https://www.w3.org/ns/activitystreams#Public", "https://lemmy.schuerz.at/c/test" ], - "cc": [ - "https://soc.schuerz.at/followers/jakob" - ] + "cc": ["https://soc.schuerz.at/followers/jakob"] } diff --git a/crates/apub/assets/friendica/objects/note_2.json b/crates/apub/assets/friendica/objects/note_2.json index 4a86cdfe..8139f56c 100644 --- a/crates/apub/assets/friendica/objects/note_2.json +++ b/crates/apub/assets/friendica/objects/note_2.json @@ -67,4 +67,4 @@ "https://mastodon.social/users/humanetech", "https://lemmy.ml/u/KelsonV" ] -} \ No newline at end of file +} diff --git a/crates/apub/assets/friendica/objects/page_1.json b/crates/apub/assets/friendica/objects/page_1.json index eeb98757..587c3835 100644 --- a/crates/apub/assets/friendica/objects/page_1.json +++ b/crates/apub/assets/friendica/objects/page_1.json @@ -45,9 +45,7 @@ "name": "@testcom@ds9.lemmy.ml" } ], - "to": [ - "https://ds9.lemmy.ml/c/testcom" - ], + "to": ["https://ds9.lemmy.ml/c/testcom"], "cc": [ "https://www.w3.org/ns/activitystreams#Public", "https://ds9.lemmy.ml/c/testcom/followers" diff --git a/crates/apub/assets/friendica/objects/page_2.json b/crates/apub/assets/friendica/objects/page_2.json index 92fcfc7f..d0819164 100644 --- a/crates/apub/assets/friendica/objects/page_2.json +++ b/crates/apub/assets/friendica/objects/page_2.json @@ -45,9 +45,7 @@ "name": "@testcom@ds9.lemmy.ml" } ], - "to": [ - "https://ds9.lemmy.ml/c/testcom" - ], + "to": ["https://ds9.lemmy.ml/c/testcom"], "cc": [ "https://www.w3.org/ns/activitystreams#Public", "https://ds9.lemmy.ml/c/testcom/followers" diff --git a/crates/apub/assets/friendica/objects/person_1.json b/crates/apub/assets/friendica/objects/person_1.json index 1b1895ef..1f6e2aec 100644 --- a/crates/apub/assets/friendica/objects/person_1.json +++ b/crates/apub/assets/friendica/objects/person_1.json @@ -91,4 +91,4 @@ "name": "Friendica 'Siberian Iris' 2021.12-rc-1448", "url": "https://soc.schuerz.at" } -} \ No newline at end of file +} diff --git a/crates/apub/assets/gnusocial/activities/create_note.json b/crates/apub/assets/gnusocial/activities/create_note.json index 9e4221bb..322f534a 100644 --- a/crates/apub/assets/gnusocial/activities/create_note.json +++ b/crates/apub/assets/gnusocial/activities/create_note.json @@ -37,17 +37,9 @@ "tag": [], "inReplyTo": "https://instance.gnusocial.test/object/note/1338", "inConversation": "https://instance.gnusocial.test/conversation/1338", - "to": [ - "https://www.w3.org/ns/activitystreams#Public" - ], - "cc": [ - "https://instance.gnusocial.test/actor/42/subscribers" - ] + "to": ["https://www.w3.org/ns/activitystreams#Public"], + "cc": ["https://instance.gnusocial.test/actor/42/subscribers"] }, - "to": [ - "https://www.w3.org/ns/activitystreams#Public" - ], - "cc": [ - "https://instance.gnusocial.test/actor/42/subscribers" - ] + "to": ["https://www.w3.org/ns/activitystreams#Public"], + "cc": ["https://instance.gnusocial.test/actor/42/subscribers"] } diff --git a/crates/apub/assets/gnusocial/activities/create_page.json b/crates/apub/assets/gnusocial/activities/create_page.json index 2ce600cf..ac1f5c21 100644 --- a/crates/apub/assets/gnusocial/activities/create_page.json +++ b/crates/apub/assets/gnusocial/activities/create_page.json @@ -22,12 +22,8 @@ "id": "https://instance.gnusocial.test/activity/1338", "published": "2022-03-17T23:30:26+00:00", "actor": "https://instance.gnusocial.test/actor/42", - "to": [ - "https://www.w3.org/ns/activitystreams#Public" - ], - "cc": [ - "https://instance.gnusocial.test/actor/21" - ], + "to": ["https://www.w3.org/ns/activitystreams#Public"], + "cc": ["https://instance.gnusocial.test/actor/21"], "object": { "type": "Page", "id": "https://instance.gnusocial.test/object/note/1338", @@ -43,11 +39,7 @@ "attachment": [], "tag": [], "inConversation": "https://instance.gnusocial.test/conversation/1338", - "to": [ - "https://www.w3.org/ns/activitystreams#Public" - ], - "cc": [ - "https://instance.gnusocial.test/actor/21" - ] + "to": ["https://www.w3.org/ns/activitystreams#Public"], + "cc": ["https://instance.gnusocial.test/actor/21"] } -} \ No newline at end of file +} diff --git a/crates/apub/assets/gnusocial/activities/like_note.json b/crates/apub/assets/gnusocial/activities/like_note.json index 09ce40ef..ff2ae200 100644 --- a/crates/apub/assets/gnusocial/activities/like_note.json +++ b/crates/apub/assets/gnusocial/activities/like_note.json @@ -1,16 +1,10 @@ { "type": "Like", - "@context": [ - "https://www.w3.org/ns/activitystreams" - ], + "@context": ["https://www.w3.org/ns/activitystreams"], "id": "https://another_instance.gnusocial.test/activity/41362", "published": "2022-03-20T17:54:15+00:00", "actor": "https://another_instance.gnusocial.test/actor/43", - "to": [ - "https://www.w3.org/ns/activitystreams#Public" - ], - "cc": [ - "https://instance.gnusocial.test/actor/42" - ], + "to": ["https://www.w3.org/ns/activitystreams#Public"], + "cc": ["https://instance.gnusocial.test/actor/42"], "object": "https://instance.gnusocial.test/object/note/1337" } diff --git a/crates/apub/assets/gnusocial/objects/note.json b/crates/apub/assets/gnusocial/objects/note.json index 08f58a93..a1c9d8f7 100644 --- a/crates/apub/assets/gnusocial/objects/note.json +++ b/crates/apub/assets/gnusocial/objects/note.json @@ -35,10 +35,6 @@ "tag": [], "inReplyTo": "https://instance.gnusocial.test/object/note/1338", "inConversation": "https://instance.gnusocial.test/conversation/1338", - "to": [ - "https://www.w3.org/ns/activitystreams#Public" - ], - "cc": [ - "https://instance.gnusocial.test/actor/42/subscribers" - ] + "to": ["https://www.w3.org/ns/activitystreams#Public"], + "cc": ["https://instance.gnusocial.test/actor/42/subscribers"] } diff --git a/crates/apub/assets/gnusocial/objects/page.json b/crates/apub/assets/gnusocial/objects/page.json index f66d2885..4a5a41fb 100644 --- a/crates/apub/assets/gnusocial/objects/page.json +++ b/crates/apub/assets/gnusocial/objects/page.json @@ -32,10 +32,6 @@ "attachment": [], "tag": [], "inConversation": "https://instance.gnusocial.test/conversation/1338", - "to": [ - "https://www.w3.org/ns/activitystreams#Public" - ], - "cc": [ - "https://instance.gnusocial.test/actor/21" - ] + "to": ["https://www.w3.org/ns/activitystreams#Public"], + "cc": ["https://instance.gnusocial.test/actor/21"] } diff --git a/crates/apub/assets/lemmy/activities/block/block_user.json b/crates/apub/assets/lemmy/activities/block/block_user.json index ffe0504f..a9447183 100644 --- a/crates/apub/assets/lemmy/activities/block/block_user.json +++ b/crates/apub/assets/lemmy/activities/block/block_user.json @@ -1,12 +1,8 @@ { "actor": "http://enterprise.lemmy.ml/u/lemmy_beta", - "to": [ - "https://www.w3.org/ns/activitystreams#Public" - ], + "to": ["https://www.w3.org/ns/activitystreams#Public"], "object": "http://ds9.lemmy.ml/u/lemmy_alpha", - "cc": [ - "http://enterprise.lemmy.ml/c/main" - ], + "cc": ["http://enterprise.lemmy.ml/c/main"], "audience": "http://enterprise.lemmy.ml/u/main", "target": "http://enterprise.lemmy.ml/c/main", "type": "Block", diff --git a/crates/apub/assets/lemmy/activities/block/undo_block_user.json b/crates/apub/assets/lemmy/activities/block/undo_block_user.json index 15ab22b2..49083448 100644 --- a/crates/apub/assets/lemmy/activities/block/undo_block_user.json +++ b/crates/apub/assets/lemmy/activities/block/undo_block_user.json @@ -1,17 +1,11 @@ { "actor": "http://enterprise.lemmy.ml/u/lemmy_beta", - "to": [ - "https://www.w3.org/ns/activitystreams#Public" - ], + "to": ["https://www.w3.org/ns/activitystreams#Public"], "object": { "actor": "http://enterprise.lemmy.ml/u/lemmy_beta", - "to": [ - "https://www.w3.org/ns/activitystreams#Public" - ], + "to": ["https://www.w3.org/ns/activitystreams#Public"], "object": "http://ds9.lemmy.ml/u/lemmy_alpha", - "cc": [ - "http://enterprise.lemmy.ml/c/main" - ], + "cc": ["http://enterprise.lemmy.ml/c/main"], "audience": "http://enterprise.lemmy.ml/u/main", "target": "http://enterprise.lemmy.ml/c/main", "type": "Block", @@ -20,10 +14,8 @@ "expires": "2021-11-01T12:23:50.151874+00:00", "id": "http://enterprise.lemmy.ml/activities/block/726f43ab-bd0e-4ab3-89c8-627e976f553c" }, - "cc": [ - "http://enterprise.lemmy.ml/c/main" - ], + "cc": ["http://enterprise.lemmy.ml/c/main"], "audience": "http://enterprise.lemmy.ml/u/main", "type": "Undo", "id": "http://enterprise.lemmy.ml/activities/undo/06a20ffb-3e32-42fb-8f4c-674b36d7c557" -} \ No newline at end of file +} diff --git a/crates/apub/assets/lemmy/activities/community/add_featured_post.json b/crates/apub/assets/lemmy/activities/community/add_featured_post.json index f7e46ef5..20fe6fd3 100644 --- a/crates/apub/assets/lemmy/activities/community/add_featured_post.json +++ b/crates/apub/assets/lemmy/activities/community/add_featured_post.json @@ -1,14 +1,10 @@ { - "cc": [ - "https://ds9.lemmy.ml/c/main" - ], + "cc": ["https://ds9.lemmy.ml/c/main"], "id": "https://ds9.lemmy.ml/activities/add/47d911f5-52c5-4659-b2fd-0e58c451a427", - "to": [ - "https://www.w3.org/ns/activitystreams#Public" - ], + "to": ["https://www.w3.org/ns/activitystreams#Public"], "type": "Add", "actor": "https://ds9.lemmy.ml/u/lemmy_alpha", "object": "https://ds9.lemmy.ml/post/2", "target": "https://ds9.lemmy.ml/c/main/featured", "audience": "https://ds9.lemmy.ml/c/main" -} \ No newline at end of file +} diff --git a/crates/apub/assets/lemmy/activities/community/add_mod.json b/crates/apub/assets/lemmy/activities/community/add_mod.json index 69cfabc9..f440cab8 100644 --- a/crates/apub/assets/lemmy/activities/community/add_mod.json +++ b/crates/apub/assets/lemmy/activities/community/add_mod.json @@ -1,14 +1,10 @@ { "actor": "http://enterprise.lemmy.ml/u/lemmy_beta", - "to": [ - "https://www.w3.org/ns/activitystreams#Public" - ], + "to": ["https://www.w3.org/ns/activitystreams#Public"], "object": "http://ds9.lemmy.ml/u/lemmy_alpha", "target": "http://enterprise.lemmy.ml/c/main/moderators", - "cc": [ - "http://enterprise.lemmy.ml/c/main" - ], + "cc": ["http://enterprise.lemmy.ml/c/main"], "audience": "http://enterprise.lemmy.ml/u/main", "type": "Add", "id": "http://enterprise.lemmy.ml/activities/add/ec069147-77c3-447f-88c8-0ef1df10403f" -} \ No newline at end of file +} diff --git a/crates/apub/assets/lemmy/activities/community/announce_create_page.json b/crates/apub/assets/lemmy/activities/community/announce_create_page.json index 6b58cf1c..cb4db828 100644 --- a/crates/apub/assets/lemmy/activities/community/announce_create_page.json +++ b/crates/apub/assets/lemmy/activities/community/announce_create_page.json @@ -1,13 +1,9 @@ { "actor": "http://enterprise.lemmy.ml/c/main", - "to": [ - "https://www.w3.org/ns/activitystreams#Public" - ], + "to": ["https://www.w3.org/ns/activitystreams#Public"], "object": { "actor": "http://enterprise.lemmy.ml/u/lemmy_beta", - "to": [ - "https://www.w3.org/ns/activitystreams#Public" - ], + "to": ["https://www.w3.org/ns/activitystreams#Public"], "object": { "type": "Page", "id": "http://enterprise.lemmy.ml/post/7", @@ -23,15 +19,11 @@ "stickied": false, "published": "2021-11-01T12:11:22.871846+00:00" }, - "cc": [ - "http://enterprise.lemmy.ml/c/main" - ], + "cc": ["http://enterprise.lemmy.ml/c/main"], "type": "Create", "id": "http://enterprise.lemmy.ml/activities/create/2807c9ec-3ad8-4859-a9e0-28b59b6e499f" }, - "cc": [ - "http://enterprise.lemmy.ml/c/main/followers" - ], + "cc": ["http://enterprise.lemmy.ml/c/main/followers"], "type": "Announce", "id": "http://enterprise.lemmy.ml/activities/announce/8030b171-803a-4108-94b1-342688f375cf" -} \ No newline at end of file +} diff --git a/crates/apub/assets/lemmy/activities/community/lock_page.json b/crates/apub/assets/lemmy/activities/community/lock_page.json index 887d0f7e..b98db740 100644 --- a/crates/apub/assets/lemmy/activities/community/lock_page.json +++ b/crates/apub/assets/lemmy/activities/community/lock_page.json @@ -1,13 +1,9 @@ { - "id": "http://lemmy-alpha:8541/activities/lock/cb48761d-9e8c-42ce-aacb-b4bbe6408db2", - "actor": "http://lemmy-alpha:8541/u/lemmy_alpha", - "to": [ - "https://www.w3.org/ns/activitystreams#Public" - ], - "object": "http://lemmy-alpha:8541/post/2", - "cc": [ - "http://lemmy-alpha:8541/c/main" - ], - "type": "Lock", - "audience": "http://lemmy-alpha:8541/c/main" -} \ No newline at end of file + "id": "http://lemmy-alpha:8541/activities/lock/cb48761d-9e8c-42ce-aacb-b4bbe6408db2", + "actor": "http://lemmy-alpha:8541/u/lemmy_alpha", + "to": ["https://www.w3.org/ns/activitystreams#Public"], + "object": "http://lemmy-alpha:8541/post/2", + "cc": ["http://lemmy-alpha:8541/c/main"], + "type": "Lock", + "audience": "http://lemmy-alpha:8541/c/main" +} diff --git a/crates/apub/assets/lemmy/activities/community/remove_featured_post.json b/crates/apub/assets/lemmy/activities/community/remove_featured_post.json index 76225820..4cabb95d 100644 --- a/crates/apub/assets/lemmy/activities/community/remove_featured_post.json +++ b/crates/apub/assets/lemmy/activities/community/remove_featured_post.json @@ -1,11 +1,7 @@ { - "cc": [ - "https://ds9.lemmy.ml/c/main" - ], + "cc": ["https://ds9.lemmy.ml/c/main"], "id": "https://ds9.lemmy.ml/activities/add/47d911f5-52c5-4659-b2fd-0e58c451a427", - "to": [ - "https://www.w3.org/ns/activitystreams#Public" - ], + "to": ["https://www.w3.org/ns/activitystreams#Public"], "type": "Remove", "actor": "https://ds9.lemmy.ml/u/lemmy_alpha", "object": "https://ds9.lemmy.ml/post/2", diff --git a/crates/apub/assets/lemmy/activities/community/remove_mod.json b/crates/apub/assets/lemmy/activities/community/remove_mod.json index 0c6db155..17f38078 100644 --- a/crates/apub/assets/lemmy/activities/community/remove_mod.json +++ b/crates/apub/assets/lemmy/activities/community/remove_mod.json @@ -1,14 +1,10 @@ { "actor": "http://enterprise.lemmy.ml/u/lemmy_beta", - "to": [ - "https://www.w3.org/ns/activitystreams#Public" - ], + "to": ["https://www.w3.org/ns/activitystreams#Public"], "object": "http://ds9.lemmy.ml/u/lemmy_alpha", - "cc": [ - "http://enterprise.lemmy.ml/c/main" - ], + "cc": ["http://enterprise.lemmy.ml/c/main"], "type": "Remove", "target": "http://enterprise.lemmy.ml/c/main/moderators", "audience": "http://enterprise.lemmy.ml/u/main", "id": "http://enterprise.lemmy.ml/activities/remove/aab114f8-cfbd-4935-a5b7-e1a64603650d" -} \ No newline at end of file +} diff --git a/crates/apub/assets/lemmy/activities/community/report_page.json b/crates/apub/assets/lemmy/activities/community/report_page.json index e58f656c..e35a623d 100644 --- a/crates/apub/assets/lemmy/activities/community/report_page.json +++ b/crates/apub/assets/lemmy/activities/community/report_page.json @@ -1,11 +1,9 @@ { "actor": "http://ds9.lemmy.ml/u/lemmy_alpha", - "to": [ - "http://enterprise.lemmy.ml/c/main" - ], + "to": ["http://enterprise.lemmy.ml/c/main"], "audience": "http://enterprise.lemmy.ml/u/main", "object": "http://enterprise.lemmy.ml/post/7", "summary": "report this post", "type": "Flag", "id": "http://ds9.lemmy.ml/activities/flag/98b0933f-5e45-4a95-a15f-e0dc86361ba4" -} \ No newline at end of file +} diff --git a/crates/apub/assets/lemmy/activities/community/undo_lock_page.json b/crates/apub/assets/lemmy/activities/community/undo_lock_page.json index 91e6a463..58c8cdbb 100644 --- a/crates/apub/assets/lemmy/activities/community/undo_lock_page.json +++ b/crates/apub/assets/lemmy/activities/community/undo_lock_page.json @@ -1,25 +1,17 @@ { - "id": "http://lemmy-alpha:8541/activities/undo/d6066719-d277-4964-9190-4d6faffac286", + "id": "http://lemmy-alpha:8541/activities/undo/d6066719-d277-4964-9190-4d6faffac286", + "actor": "http://lemmy-alpha:8541/u/lemmy_alpha", + "to": ["https://www.w3.org/ns/activitystreams#Public"], + "object": { "actor": "http://lemmy-alpha:8541/u/lemmy_alpha", - "to": [ - "https://www.w3.org/ns/activitystreams#Public" - ], - "object": { - "actor": "http://lemmy-alpha:8541/u/lemmy_alpha", - "to": [ - "https://www.w3.org/ns/activitystreams#Public" - ], - "object": "http://lemmy-alpha:8541/post/2", - "cc": [ - "http://lemmy-alpha:8541/c/main" - ], - "type": "Lock", - "id": "http://lemmy-alpha:8541/activities/lock/08b6fd3e-9ef3-4358-a987-8bb641f3e2c3", - "audience": "http://lemmy-alpha:8541/c/main" - }, - "cc": [ - "http://lemmy-alpha:8541/c/main" - ], - "type": "Undo", + "to": ["https://www.w3.org/ns/activitystreams#Public"], + "object": "http://lemmy-alpha:8541/post/2", + "cc": ["http://lemmy-alpha:8541/c/main"], + "type": "Lock", + "id": "http://lemmy-alpha:8541/activities/lock/08b6fd3e-9ef3-4358-a987-8bb641f3e2c3", "audience": "http://lemmy-alpha:8541/c/main" + }, + "cc": ["http://lemmy-alpha:8541/c/main"], + "type": "Undo", + "audience": "http://lemmy-alpha:8541/c/main" } diff --git a/crates/apub/assets/lemmy/activities/community/update_community.json b/crates/apub/assets/lemmy/activities/community/update_community.json index 3da15a06..88129282 100644 --- a/crates/apub/assets/lemmy/activities/community/update_community.json +++ b/crates/apub/assets/lemmy/activities/community/update_community.json @@ -1,8 +1,6 @@ { "actor": "http://ds9.lemmy.ml/u/lemmy_alpha", - "to": [ - "https://www.w3.org/ns/activitystreams#Public" - ], + "to": ["https://www.w3.org/ns/activitystreams#Public"], "object": { "type": "Group", "id": "http://enterprise.lemmy.ml/c/main", @@ -40,10 +38,8 @@ "published": "2021-10-29T15:05:51.476984+00:00", "updated": "2021-11-01T12:23:50.151874+00:00" }, - "cc": [ - "http://enterprise.lemmy.ml/c/main" - ], + "cc": ["http://enterprise.lemmy.ml/c/main"], "audience": "http://enterprise.lemmy.ml/u/main", "type": "Update", "id": "http://ds9.lemmy.ml/activities/update/d3717cf5-096d-473f-9530-5d52f9d51f5f" -} \ No newline at end of file +} diff --git a/crates/apub/assets/lemmy/activities/create_or_update/create_note.json b/crates/apub/assets/lemmy/activities/create_or_update/create_note.json index 6eecfcfc..eed673fc 100644 --- a/crates/apub/assets/lemmy/activities/create_or_update/create_note.json +++ b/crates/apub/assets/lemmy/activities/create_or_update/create_note.json @@ -1,15 +1,11 @@ { "actor": "http://ds9.lemmy.ml/u/lemmy_alpha", - "to": [ - "https://www.w3.org/ns/activitystreams#Public" - ], + "to": ["https://www.w3.org/ns/activitystreams#Public"], "object": { "type": "Note", "id": "http://ds9.lemmy.ml/comment/1", "attributedTo": "http://ds9.lemmy.ml/u/lemmy_alpha", - "to": [ - "https://www.w3.org/ns/activitystreams#Public" - ], + "to": ["https://www.w3.org/ns/activitystreams#Public"], "cc": [ "http://enterprise.lemmy.ml/c/main", "http://ds9.lemmy.ml/u/lemmy_alpha" @@ -38,4 +34,4 @@ ], "type": "Create", "id": "http://ds9.lemmy.ml/activities/create/1e77d67c-44ac-45ed-bf2a-460e21f60236" -} \ No newline at end of file +} diff --git a/crates/apub/assets/lemmy/activities/create_or_update/create_page.json b/crates/apub/assets/lemmy/activities/create_or_update/create_page.json index e9dd8014..2f345245 100644 --- a/crates/apub/assets/lemmy/activities/create_or_update/create_page.json +++ b/crates/apub/assets/lemmy/activities/create_or_update/create_page.json @@ -1,8 +1,6 @@ { "actor": "http://ds9.lemmy.ml/u/lemmy_alpha", - "to": [ - "https://www.w3.org/ns/activitystreams#Public" - ], + "to": ["https://www.w3.org/ns/activitystreams#Public"], "object": { "type": "Page", "id": "http://ds9.lemmy.ml/post/1", @@ -34,10 +32,8 @@ }, "published": "2021-10-29T15:10:51.557399+00:00" }, - "cc": [ - "http://enterprise.lemmy.ml/c/main" - ], + "cc": ["http://enterprise.lemmy.ml/c/main"], "audience": "https://enterprise.lemmy.ml/c/main", "type": "Create", "id": "http://ds9.lemmy.ml/activities/create/eee6a57a-622f-464d-b560-73ae1fcd3ddf" -} \ No newline at end of file +} diff --git a/crates/apub/assets/lemmy/activities/create_or_update/create_private_message.json b/crates/apub/assets/lemmy/activities/create_or_update/create_private_message.json index de080a8f..73851540 100644 --- a/crates/apub/assets/lemmy/activities/create_or_update/create_private_message.json +++ b/crates/apub/assets/lemmy/activities/create_or_update/create_private_message.json @@ -1,16 +1,12 @@ { "id": "http://enterprise.lemmy.ml/activities/create/987d05fa-f637-46d7-85be-13d112bc269f", "actor": "http://enterprise.lemmy.ml/u/lemmy_beta", - "to": [ - "http://ds9.lemmy.ml/u/lemmy_alpha" - ], + "to": ["http://ds9.lemmy.ml/u/lemmy_alpha"], "object": { "type": "ChatMessage", "id": "http://enterprise.lemmy.ml/private_message/1", "attributedTo": "http://enterprise.lemmy.ml/u/lemmy_beta", - "to": [ - "http://ds9.lemmy.ml/u/lemmy_alpha" - ], + "to": ["http://ds9.lemmy.ml/u/lemmy_alpha"], "content": "hello", "mediaType": "text/html", "source": { @@ -20,4 +16,4 @@ "published": "2021-10-29T15:31:56.058289+00:00" }, "type": "Create" -} \ No newline at end of file +} diff --git a/crates/apub/assets/lemmy/activities/create_or_update/update_page.json b/crates/apub/assets/lemmy/activities/create_or_update/update_page.json index daaf76bf..606904fc 100644 --- a/crates/apub/assets/lemmy/activities/create_or_update/update_page.json +++ b/crates/apub/assets/lemmy/activities/create_or_update/update_page.json @@ -1,8 +1,6 @@ { "actor": "http://ds9.lemmy.ml/u/lemmy_alpha", - "to": [ - "https://www.w3.org/ns/activitystreams#Public" - ], + "to": ["https://www.w3.org/ns/activitystreams#Public"], "object": { "type": "Page", "id": "http://ds9.lemmy.ml/post/1", @@ -31,10 +29,8 @@ "published": "2021-10-29T15:10:51.557399+00:00", "updated": "2021-10-29T15:11:35.976374+00:00" }, - "cc": [ - "http://enterprise.lemmy.ml/c/main" - ], + "cc": ["http://enterprise.lemmy.ml/c/main"], "audience": "https://enterprise.lemmy.ml/c/main", "type": "Update", "id": "http://ds9.lemmy.ml/activities/update/ab360117-e165-4de4-b7fc-906b62c98631" -} \ No newline at end of file +} diff --git a/crates/apub/assets/lemmy/activities/deletion/delete_page.json b/crates/apub/assets/lemmy/activities/deletion/delete_page.json index 590db014..d0fcdea5 100644 --- a/crates/apub/assets/lemmy/activities/deletion/delete_page.json +++ b/crates/apub/assets/lemmy/activities/deletion/delete_page.json @@ -1,13 +1,9 @@ { "actor": "http://ds9.lemmy.ml/u/lemmy_alpha", - "to": [ - "https://www.w3.org/ns/activitystreams#Public" - ], + "to": ["https://www.w3.org/ns/activitystreams#Public"], "object": "http://ds9.lemmy.ml/post/1", - "cc": [ - "http://enterprise.lemmy.ml/c/main" - ], + "cc": ["http://enterprise.lemmy.ml/c/main"], "audience": "http://enterprise.lemmy.ml/u/main", "type": "Delete", "id": "http://ds9.lemmy.ml/activities/delete/f2abee48-c7bb-41d5-9e27-8775ff32db12" -} \ No newline at end of file +} diff --git a/crates/apub/assets/lemmy/activities/deletion/delete_private_message.json b/crates/apub/assets/lemmy/activities/deletion/delete_private_message.json index f5f85ac3..e128a4d3 100644 --- a/crates/apub/assets/lemmy/activities/deletion/delete_private_message.json +++ b/crates/apub/assets/lemmy/activities/deletion/delete_private_message.json @@ -1,9 +1,7 @@ { "actor": "http://enterprise.lemmy.ml/u/lemmy_beta", - "to": [ - "http://enterprise.lemmy.ml/u/lemmy_beta" - ], + "to": ["http://enterprise.lemmy.ml/u/lemmy_beta"], "object": "http://enterprise.lemmy.ml/private_message/1", "type": "Delete", "id": "http://enterprise.lemmy.ml/activities/delete/041d9858-5eef-4ad9-84ae-7455b4d87ed9" -} \ No newline at end of file +} diff --git a/crates/apub/assets/lemmy/activities/deletion/delete_user.json b/crates/apub/assets/lemmy/activities/deletion/delete_user.json index da93cdbe..7ef54c75 100644 --- a/crates/apub/assets/lemmy/activities/deletion/delete_user.json +++ b/crates/apub/assets/lemmy/activities/deletion/delete_user.json @@ -1,9 +1,7 @@ { "actor": "http://ds9.lemmy.ml/u/lemmy_alpha", - "to": [ - "https://www.w3.org/ns/activitystreams#Public" - ], + "to": ["https://www.w3.org/ns/activitystreams#Public"], "object": "http://ds9.lemmy.ml/u/lemmy_alpha", "type": "Delete", "id": "http://ds9.lemmy.ml/activities/delete/f2abee48-c7bb-41d5-9e27-8775ff32db12" -} \ No newline at end of file +} diff --git a/crates/apub/assets/lemmy/activities/deletion/remove_note.json b/crates/apub/assets/lemmy/activities/deletion/remove_note.json index 29a29983..b0d6e5e8 100644 --- a/crates/apub/assets/lemmy/activities/deletion/remove_note.json +++ b/crates/apub/assets/lemmy/activities/deletion/remove_note.json @@ -1,14 +1,10 @@ { "actor": "http://enterprise.lemmy.ml/u/lemmy_beta", - "to": [ - "https://www.w3.org/ns/activitystreams#Public" - ], + "to": ["https://www.w3.org/ns/activitystreams#Public"], "object": "http://ds9.lemmy.ml/comment/1", - "cc": [ - "http://enterprise.lemmy.ml/c/main" - ], + "cc": ["http://enterprise.lemmy.ml/c/main"], "audience": "http://enterprise.lemmy.ml/u/main", "type": "Delete", "summary": "bad comment", "id": "http://enterprise.lemmy.ml/activities/delete/42ca1a79-f99e-4518-a2ca-ba2df221eb5e" -} \ No newline at end of file +} diff --git a/crates/apub/assets/lemmy/activities/deletion/undo_delete_page.json b/crates/apub/assets/lemmy/activities/deletion/undo_delete_page.json index 2e7fbce4..dc5307d7 100644 --- a/crates/apub/assets/lemmy/activities/deletion/undo_delete_page.json +++ b/crates/apub/assets/lemmy/activities/deletion/undo_delete_page.json @@ -1,25 +1,17 @@ { "actor": "http://ds9.lemmy.ml/u/lemmy_alpha", - "to": [ - "https://www.w3.org/ns/activitystreams#Public" - ], + "to": ["https://www.w3.org/ns/activitystreams#Public"], "object": { "actor": "http://ds9.lemmy.ml/u/lemmy_alpha", - "to": [ - "https://www.w3.org/ns/activitystreams#Public" - ], + "to": ["https://www.w3.org/ns/activitystreams#Public"], "object": "http://ds9.lemmy.ml/post/1", - "cc": [ - "http://enterprise.lemmy.ml/c/main" - ], + "cc": ["http://enterprise.lemmy.ml/c/main"], "audience": "http://enterprise.lemmy.ml/u/main", "type": "Delete", "id": "http://ds9.lemmy.ml/activities/delete/b13cca96-7737-41e1-9769-8fbf972b3509" }, - "cc": [ - "http://enterprise.lemmy.ml/c/main" - ], + "cc": ["http://enterprise.lemmy.ml/c/main"], "audience": "http://enterprise.lemmy.ml/u/main", "type": "Undo", "id": "http://ds9.lemmy.ml/activities/undo/5e939cfb-b8a1-4de8-950f-9d684e9162b9" -} \ No newline at end of file +} diff --git a/crates/apub/assets/lemmy/activities/deletion/undo_delete_private_message.json b/crates/apub/assets/lemmy/activities/deletion/undo_delete_private_message.json index d9b4ed75..2132f133 100644 --- a/crates/apub/assets/lemmy/activities/deletion/undo_delete_private_message.json +++ b/crates/apub/assets/lemmy/activities/deletion/undo_delete_private_message.json @@ -1,17 +1,13 @@ { "actor": "http://enterprise.lemmy.ml/u/lemmy_beta", - "to": [ - "http://ds9.lemmy.ml/u/lemmy_alpha" - ], + "to": ["http://ds9.lemmy.ml/u/lemmy_alpha"], "object": { "actor": "http://enterprise.lemmy.ml/u/lemmy_beta", - "to": [ - "http://enterprise.lemmy.ml/u/lemmy_beta" - ], + "to": ["http://enterprise.lemmy.ml/u/lemmy_beta"], "object": "http://enterprise.lemmy.ml/private_message/1", "type": "Delete", "id": "http://enterprise.lemmy.ml/activities/delete/616c41be-04ed-4bd4-b865-30712186b122" }, "type": "Undo", "id": "http://enterprise.lemmy.ml/activities/undo/35e5b337-014c-4bbe-8d63-6fac96f51409" -} \ No newline at end of file +} diff --git a/crates/apub/assets/lemmy/activities/deletion/undo_remove_note.json b/crates/apub/assets/lemmy/activities/deletion/undo_remove_note.json index 6cabdaf2..4c335acc 100644 --- a/crates/apub/assets/lemmy/activities/deletion/undo_remove_note.json +++ b/crates/apub/assets/lemmy/activities/deletion/undo_remove_note.json @@ -1,26 +1,18 @@ { "actor": "http://enterprise.lemmy.ml/u/lemmy_beta", - "to": [ - "https://www.w3.org/ns/activitystreams#Public" - ], + "to": ["https://www.w3.org/ns/activitystreams#Public"], "object": { "actor": "http://enterprise.lemmy.ml/u/lemmy_beta", - "to": [ - "https://www.w3.org/ns/activitystreams#Public" - ], + "to": ["https://www.w3.org/ns/activitystreams#Public"], "object": "http://ds9.lemmy.ml/comment/1", - "cc": [ - "http://enterprise.lemmy.ml/c/main" - ], + "cc": ["http://enterprise.lemmy.ml/c/main"], "audience": "http://enterprise.lemmy.ml/u/main", "type": "Delete", "summary": "bad comment", "id": "http://enterprise.lemmy.ml/activities/delete/2598435c-87a3-49cd-81f3-a44b03b7af9d" }, - "cc": [ - "http://enterprise.lemmy.ml/c/main" - ], + "cc": ["http://enterprise.lemmy.ml/c/main"], "audience": "http://enterprise.lemmy.ml/u/main", "type": "Undo", "id": "http://enterprise.lemmy.ml/activities/undo/a850cf21-3866-4b3a-b80b-56aa00997fee" -} \ No newline at end of file +} diff --git a/crates/apub/assets/lemmy/activities/following/accept.json b/crates/apub/assets/lemmy/activities/following/accept.json index b524a56e..b2ba7bb5 100644 --- a/crates/apub/assets/lemmy/activities/following/accept.json +++ b/crates/apub/assets/lemmy/activities/following/accept.json @@ -10,4 +10,4 @@ }, "type": "Accept", "id": "http://enterprise.lemmy.ml/activities/accept/75f080cc-3d45-4654-8186-8f3bb853fa27" -} \ No newline at end of file +} diff --git a/crates/apub/assets/lemmy/activities/following/follow.json b/crates/apub/assets/lemmy/activities/following/follow.json index fe797233..89cc5728 100644 --- a/crates/apub/assets/lemmy/activities/following/follow.json +++ b/crates/apub/assets/lemmy/activities/following/follow.json @@ -4,4 +4,4 @@ "object": "http://enterprise.lemmy.ml/c/main", "type": "Follow", "id": "http://ds9.lemmy.ml/activities/follow/6abcd50b-b8ca-4952-86b0-a6dd8cc12866" -} \ No newline at end of file +} diff --git a/crates/apub/assets/lemmy/activities/following/undo_follow.json b/crates/apub/assets/lemmy/activities/following/undo_follow.json index 255823d8..26552f8b 100644 --- a/crates/apub/assets/lemmy/activities/following/undo_follow.json +++ b/crates/apub/assets/lemmy/activities/following/undo_follow.json @@ -10,4 +10,4 @@ }, "type": "Undo", "id": "http://ds9.lemmy.ml/activities/undo/dd83c482-8ebd-4b6c-9008-c8373bd1a86a" -} \ No newline at end of file +} diff --git a/crates/apub/assets/lemmy/activities/voting/dislike_page.json b/crates/apub/assets/lemmy/activities/voting/dislike_page.json index 3d11a51c..bfa12972 100644 --- a/crates/apub/assets/lemmy/activities/voting/dislike_page.json +++ b/crates/apub/assets/lemmy/activities/voting/dislike_page.json @@ -4,4 +4,4 @@ "audience": "https://enterprise.lemmy.ml/c/tenforward", "type": "Dislike", "id": "http://enterprise.lemmy.ml/activities/dislike/64d40d40-a829-43a5-8247-1fb595b3ca1c" -} \ No newline at end of file +} diff --git a/crates/apub/assets/lemmy/activities/voting/like_note.json b/crates/apub/assets/lemmy/activities/voting/like_note.json index e72fb5d9..ffc6fccc 100644 --- a/crates/apub/assets/lemmy/activities/voting/like_note.json +++ b/crates/apub/assets/lemmy/activities/voting/like_note.json @@ -4,4 +4,4 @@ "audience": "https://enterprise.lemmy.ml/c/tenforward", "type": "Like", "id": "http://ds9.lemmy.ml/activities/like/fd61d070-7382-46a9-b2b7-6bb253732877" -} \ No newline at end of file +} diff --git a/crates/apub/assets/lemmy/activities/voting/undo_dislike_page.json b/crates/apub/assets/lemmy/activities/voting/undo_dislike_page.json index 098242db..d5e1982b 100644 --- a/crates/apub/assets/lemmy/activities/voting/undo_dislike_page.json +++ b/crates/apub/assets/lemmy/activities/voting/undo_dislike_page.json @@ -10,4 +10,4 @@ "audience": "https://enterprise.lemmy.ml/c/tenforward", "type": "Undo", "id": "http://enterprise.lemmy.ml/activities/undo/6cc6fb71-39fe-49ea-9506-f0423b101e98" -} \ No newline at end of file +} diff --git a/crates/apub/assets/lemmy/activities/voting/undo_like_note.json b/crates/apub/assets/lemmy/activities/voting/undo_like_note.json index b4d5d31a..3619636a 100644 --- a/crates/apub/assets/lemmy/activities/voting/undo_like_note.json +++ b/crates/apub/assets/lemmy/activities/voting/undo_like_note.json @@ -10,4 +10,4 @@ "audience": "https://enterprise.lemmy.ml/c/tenforward", "type": "Undo", "id": "http://ds9.lemmy.ml/activities/undo/3518565c-24a7-4d9e-8e0a-f7a2f45ac618" -} \ No newline at end of file +} diff --git a/crates/apub/assets/lemmy/collections/group_followers.json b/crates/apub/assets/lemmy/collections/group_followers.json index a2b03ab1..a3af4a43 100644 --- a/crates/apub/assets/lemmy/collections/group_followers.json +++ b/crates/apub/assets/lemmy/collections/group_followers.json @@ -3,4 +3,4 @@ "type": "Collection", "totalItems": 3, "items": [] -} \ No newline at end of file +} diff --git a/crates/apub/assets/lemmy/collections/group_moderators.json b/crates/apub/assets/lemmy/collections/group_moderators.json index eccd0dad..511e35b4 100644 --- a/crates/apub/assets/lemmy/collections/group_moderators.json +++ b/crates/apub/assets/lemmy/collections/group_moderators.json @@ -1,7 +1,5 @@ { "type": "OrderedCollection", "id": "https://enterprise.lemmy.ml/c/tenforward/moderators", - "orderedItems": [ - "https://enterprise.lemmy.ml/u/picard" - ] -} \ No newline at end of file + "orderedItems": ["https://enterprise.lemmy.ml/u/picard"] +} diff --git a/crates/apub/assets/lemmy/collections/group_outbox.json b/crates/apub/assets/lemmy/collections/group_outbox.json index d39c12d9..1bdb816b 100644 --- a/crates/apub/assets/lemmy/collections/group_outbox.json +++ b/crates/apub/assets/lemmy/collections/group_outbox.json @@ -1,81 +1,65 @@ { - "type":"OrderedCollection", - "id":"https://ds9.lemmy.ml/c/testcom/outbox", - "totalItems":2, - "orderedItems":[ + "type": "OrderedCollection", + "id": "https://ds9.lemmy.ml/c/testcom/outbox", + "totalItems": 2, + "orderedItems": [ { - "actor":"https://ds9.lemmy.ml/c/testcom", - "to":[ - "https://www.w3.org/ns/activitystreams#Public" - ], - "object":{ - "actor":"https://ds9.lemmy.ml/u/nutomic", - "to":[ - "https://www.w3.org/ns/activitystreams#Public" - ], - "cc":[ - "https://ds9.lemmy.ml/c/testcom" - ], - "type":"Create", - "id":"http://ds9.lemmy.ml/activities/create/eee6a57a-622f-464d-b560-73ae1fcd3ddf", - "object":{ - "type":"Page", - "id":"https://ds9.lemmy.ml/post/2328", - "attributedTo":"https://ds9.lemmy.ml/u/nutomic", - "to":[ + "actor": "https://ds9.lemmy.ml/c/testcom", + "to": ["https://www.w3.org/ns/activitystreams#Public"], + "object": { + "actor": "https://ds9.lemmy.ml/u/nutomic", + "to": ["https://www.w3.org/ns/activitystreams#Public"], + "cc": ["https://ds9.lemmy.ml/c/testcom"], + "type": "Create", + "id": "http://ds9.lemmy.ml/activities/create/eee6a57a-622f-464d-b560-73ae1fcd3ddf", + "object": { + "type": "Page", + "id": "https://ds9.lemmy.ml/post/2328", + "attributedTo": "https://ds9.lemmy.ml/u/nutomic", + "to": [ "https://ds9.lemmy.ml/c/testcom", "https://www.w3.org/ns/activitystreams#Public" ], - "name":"another outbox test", - "mediaType":"text/html", - "commentsEnabled":true, - "sensitive":false, - "stickied":false, - "published":"2021-11-18T17:19:45.895163+00:00" + "name": "another outbox test", + "mediaType": "text/html", + "commentsEnabled": true, + "sensitive": false, + "stickied": false, + "published": "2021-11-18T17:19:45.895163+00:00" } }, - "cc":[ - "https://ds9.lemmy.ml/c/testcom/followers" - ], - "type":"Announce", - "id":"https://ds9.lemmy.ml/activities/announce/b204fe9f-b13d-4af2-9d22-239ac2d892e6" + "cc": ["https://ds9.lemmy.ml/c/testcom/followers"], + "type": "Announce", + "id": "https://ds9.lemmy.ml/activities/announce/b204fe9f-b13d-4af2-9d22-239ac2d892e6" }, { - "actor":"https://ds9.lemmy.ml/c/testcom", - "to":[ - "https://www.w3.org/ns/activitystreams#Public" - ], - "object":{ - "actor":"https://ds9.lemmy.ml/u/nutomic", - "to":[ - "https://www.w3.org/ns/activitystreams#Public" - ], - "cc":[ - "https://ds9.lemmy.ml/c/testcom" - ], - "type":"Create", - "id":"http://ds9.lemmy.ml/activities/create/eee6a57a-622f-464d-b560-73ae1fcd3ddf", - "object":{ - "type":"Page", - "id":"https://ds9.lemmy.ml/post/2327", - "attributedTo":"https://ds9.lemmy.ml/u/nutomic", - "to":[ + "actor": "https://ds9.lemmy.ml/c/testcom", + "to": ["https://www.w3.org/ns/activitystreams#Public"], + "object": { + "actor": "https://ds9.lemmy.ml/u/nutomic", + "to": ["https://www.w3.org/ns/activitystreams#Public"], + "cc": ["https://ds9.lemmy.ml/c/testcom"], + "type": "Create", + "id": "http://ds9.lemmy.ml/activities/create/eee6a57a-622f-464d-b560-73ae1fcd3ddf", + "object": { + "type": "Page", + "id": "https://ds9.lemmy.ml/post/2327", + "attributedTo": "https://ds9.lemmy.ml/u/nutomic", + "to": [ "https://ds9.lemmy.ml/c/testcom", "https://www.w3.org/ns/activitystreams#Public" ], - "name":"outbox test", - "mediaType":"text/html", - "commentsEnabled":true, - "sensitive":false, - "stickied":false, - "published":"2021-11-18T17:19:05.763109+00:00" + "name": "outbox test", + "mediaType": "text/html", + "commentsEnabled": true, + "sensitive": false, + "stickied": false, + "published": "2021-11-18T17:19:05.763109+00:00" } }, - "cc":[ - "https://ds9.lemmy.ml/c/testcom/followers" - ], - "type":"Announce", - "id":"https://ds9.lemmy.ml/activities/announce/c6c960ce-c8d8-4231-925e-3ba367468f18" + "cc": ["https://ds9.lemmy.ml/c/testcom/followers"], + "type": "Announce", + "id": "https://ds9.lemmy.ml/activities/announce/c6c960ce-c8d8-4231-925e-3ba367468f18" } ] -} \ No newline at end of file +} diff --git a/crates/apub/assets/lemmy/collections/person_outbox.json b/crates/apub/assets/lemmy/collections/person_outbox.json index 8da56102..ddbfa69f 100644 --- a/crates/apub/assets/lemmy/collections/person_outbox.json +++ b/crates/apub/assets/lemmy/collections/person_outbox.json @@ -3,4 +3,4 @@ "id": "http://ds9.lemmy.ml/u/lemmy_alpha/outbox", "orderedItems": [], "totalItems": 0 -} \ No newline at end of file +} diff --git a/crates/apub/assets/lemmy/objects/chat_message.json b/crates/apub/assets/lemmy/objects/chat_message.json index c639aef9..c39db8de 100644 --- a/crates/apub/assets/lemmy/objects/chat_message.json +++ b/crates/apub/assets/lemmy/objects/chat_message.json @@ -2,9 +2,7 @@ "id": "https://enterprise.lemmy.ml/private_message/1621", "type": "ChatMessage", "attributedTo": "https://enterprise.lemmy.ml/u/picard", - "to": [ - "https://queer.hacktivis.me/users/lanodan" - ], + "to": ["https://queer.hacktivis.me/users/lanodan"], "content": "

Hello hello, testing

\n", "mediaType": "text/html", "source": { diff --git a/crates/apub/assets/lemmy/objects/instance.json b/crates/apub/assets/lemmy/objects/instance.json index 1ac6939c..a7c3ca5d 100644 --- a/crates/apub/assets/lemmy/objects/instance.json +++ b/crates/apub/assets/lemmy/objects/instance.json @@ -27,4 +27,4 @@ } ], "published": "2022-01-19T21:52:11.110741+00:00" -} \ No newline at end of file +} diff --git a/crates/apub/assets/lotide/objects/group.json b/crates/apub/assets/lotide/objects/group.json index fa3dadd8..e2255b25 100644 --- a/crates/apub/assets/lotide/objects/group.json +++ b/crates/apub/assets/lotide/objects/group.json @@ -25,4 +25,4 @@ "id": "https://narwhal.city/communities/12", "type": "Group", "name": "Iotide" -} \ No newline at end of file +} diff --git a/crates/apub/assets/lotide/objects/note.json b/crates/apub/assets/lotide/objects/note.json index 47446073..3d275097 100644 --- a/crates/apub/assets/lotide/objects/note.json +++ b/crates/apub/assets/lotide/objects/note.json @@ -16,4 +16,4 @@ "type": "Note", "mediaType": "text/html", "published": "2020-12-31T06:47:24.470801+00:00" -} \ No newline at end of file +} diff --git a/crates/apub/assets/mastodon/activities/create_note.json b/crates/apub/assets/mastodon/activities/create_note.json index d796a043..b112a378 100644 --- a/crates/apub/assets/mastodon/activities/create_note.json +++ b/crates/apub/assets/mastodon/activities/create_note.json @@ -10,9 +10,7 @@ "type": "Create", "actor": "https://mastodon.madrid/users/felix", "published": "2021-11-05T11:46:50Z", - "to": [ - "https://mastodon.madrid/users/felix/followers" - ], + "to": ["https://mastodon.madrid/users/felix/followers"], "cc": [ "https://www.w3.org/ns/activitystreams#Public", "https://mamot.fr/users/retiolus" @@ -25,9 +23,7 @@ "published": "2021-11-05T11:46:50Z", "url": "https://mastodon.madrid/@felix/107224289116410645", "attributedTo": "https://mastodon.madrid/users/felix", - "to": [ - "https://mastodon.madrid/users/felix/followers" - ], + "to": ["https://mastodon.madrid/users/felix/followers"], "cc": [ "https://www.w3.org/ns/activitystreams#Public", "https://mamot.fr/users/retiolus" @@ -59,4 +55,4 @@ } } } -} \ No newline at end of file +} diff --git a/crates/apub/assets/mastodon/activities/delete.json b/crates/apub/assets/mastodon/activities/delete.json index dec21ca4..2f0ff613 100644 --- a/crates/apub/assets/mastodon/activities/delete.json +++ b/crates/apub/assets/mastodon/activities/delete.json @@ -9,9 +9,7 @@ "id": "https://mastodon.madrid/users/felix/statuses/107773559874184870#delete", "type": "Delete", "actor": "https://mastodon.madrid/users/felix", - "to": [ - "https://www.w3.org/ns/activitystreams#Public" - ], + "to": ["https://www.w3.org/ns/activitystreams#Public"], "object": { "id": "https://mastodon.madrid/users/felix/statuses/107773559874184870", "type": "Tombstone", @@ -23,4 +21,4 @@ "created": "2022-02-10T11:54:18Z", "signatureValue": "NjGnbkvouSP/cSusR7+sz39iEYxWXCu6nFmBXU3t8ETPkmbpMF5ASeJixXvpTOqbOfkMoWfXncw+jDsbqZ3ELaHGG1gZ5wHWym7mk7YCjQokpF3oPhTWmlEJCVKgewXMrfI4Ok8GGsUMGzuki9EyBDGc/UNBMEAhcxV5Huu7QSQDowcbIwxS3ImxFmtKFceh6mv/kMiXUerCgkYSm6rYZeXZGMTUpvcn9gP6X6Ed6UsrLjCSb3Fj0Naz7LHtzZXRSZDZF/SX2Vw/xKJIgEGzSCv+LKZGvEEkK8PPfMJJhi8cBJebkqOnBGtE6gYK2z2cm/oGorZtXU2L05pXmLAlYQ==" } -} \ No newline at end of file +} diff --git a/crates/apub/assets/mastodon/activities/like_page.json b/crates/apub/assets/mastodon/activities/like_page.json index d8468f73..cdf91cdc 100644 --- a/crates/apub/assets/mastodon/activities/like_page.json +++ b/crates/apub/assets/mastodon/activities/like_page.json @@ -1,7 +1,7 @@ { - "@context":"https://www.w3.org/ns/activitystreams", - "id":"https://mastodon.madrid/users/felix#likes/212340", - "type":"Like", - "actor":"https://mastodon.madrid/users/felix", - "object":"https://ds9.lemmy.ml/post/147" + "@context": "https://www.w3.org/ns/activitystreams", + "id": "https://mastodon.madrid/users/felix#likes/212340", + "type": "Like", + "actor": "https://mastodon.madrid/users/felix", + "object": "https://ds9.lemmy.ml/post/147" } diff --git a/crates/apub/assets/mastodon/activities/undo_follow.json b/crates/apub/assets/mastodon/activities/undo_follow.json index d47ecd88..a05aefb4 100644 --- a/crates/apub/assets/mastodon/activities/undo_follow.json +++ b/crates/apub/assets/mastodon/activities/undo_follow.json @@ -10,4 +10,3 @@ "object": "https://ds9.lemmy.ml/c/testcom" } } - diff --git a/crates/apub/assets/mastodon/activities/undo_like_page.json b/crates/apub/assets/mastodon/activities/undo_like_page.json index 83afb210..bddfe157 100644 --- a/crates/apub/assets/mastodon/activities/undo_like_page.json +++ b/crates/apub/assets/mastodon/activities/undo_like_page.json @@ -1,12 +1,12 @@ { - "@context":"https://www.w3.org/ns/activitystreams", - "id":"https://mastodon.madrid/users/felix#likes/212341/undo", - "type":"Undo", - "actor":"https://mastodon.madrid/users/felix", + "@context": "https://www.w3.org/ns/activitystreams", + "id": "https://mastodon.madrid/users/felix#likes/212341/undo", + "type": "Undo", + "actor": "https://mastodon.madrid/users/felix", "object": { - "id":"https://mastodon.madrid/users/felix#likes/212341", - "type":"Like", - "actor":"https://mastodon.madrid/users/felix", - "object":"https://ds9.lemmy.ml/post/147" + "id": "https://mastodon.madrid/users/felix#likes/212341", + "type": "Like", + "actor": "https://mastodon.madrid/users/felix", + "object": "https://ds9.lemmy.ml/post/147" } -} \ No newline at end of file +} diff --git a/crates/apub/assets/mastodon/collections/featured.json b/crates/apub/assets/mastodon/collections/featured.json index fecc7bbe..d897f331 100644 --- a/crates/apub/assets/mastodon/collections/featured.json +++ b/crates/apub/assets/mastodon/collections/featured.json @@ -24,12 +24,8 @@ "published": "2020-05-28T14:52:14Z", "url": "https://mastodon.social/@LemmyDev/104246642906910728", "attributedTo": "https://mastodon.social/users/LemmyDev", - "to": [ - "https://www.w3.org/ns/activitystreams#Public" - ], - "cc": [ - "https://mastodon.social/users/LemmyDev/followers" - ], + "to": ["https://www.w3.org/ns/activitystreams#Public"], + "cc": ["https://mastodon.social/users/LemmyDev/followers"], "sensitive": false, "atomUri": "https://mastodon.social/users/LemmyDev/statuses/104246642906910728", "inReplyToAtomUri": null, diff --git a/crates/apub/assets/mastodon/objects/note.json b/crates/apub/assets/mastodon/objects/note.json index 176b4035..a0ed0b81 100644 --- a/crates/apub/assets/mastodon/objects/note.json +++ b/crates/apub/assets/mastodon/objects/note.json @@ -18,9 +18,7 @@ "published": "2021-11-05T11:46:50Z", "url": "https://mastodon.madrid/@felix/107224289116410645", "attributedTo": "https://mastodon.madrid/users/felix", - "to": [ - "https://mastodon.madrid/users/felix/followers" - ], + "to": ["https://mastodon.madrid/users/felix/followers"], "cc": [ "https://www.w3.org/ns/activitystreams#Public", "https://mamot.fr/users/retiolus" @@ -51,4 +49,4 @@ "items": [] } } -} \ No newline at end of file +} diff --git a/crates/apub/assets/mastodon/objects/page.json b/crates/apub/assets/mastodon/objects/page.json index 06d9b221..d2195dbf 100644 --- a/crates/apub/assets/mastodon/objects/page.json +++ b/crates/apub/assets/mastodon/objects/page.json @@ -17,9 +17,7 @@ "published": "2021-11-05T11:46:50Z", "url": "https://mastodon.madrid/@felix/107224289116410645", "attributedTo": "https://mastodon.madrid/users/felix", - "to": [ - "https://mastodon.madrid/users/felix/followers" - ], + "to": ["https://mastodon.madrid/users/felix/followers"], "cc": [ "https://www.w3.org/ns/activitystreams#Public", "https://mamot.fr/users/retiolus" @@ -50,4 +48,4 @@ "items": [] } } -} \ No newline at end of file +} diff --git a/crates/apub/assets/mastodon/objects/person.json b/crates/apub/assets/mastodon/objects/person.json index 0ae4e7fa..e50e6b8a 100644 --- a/crates/apub/assets/mastodon/objects/person.json +++ b/crates/apub/assets/mastodon/objects/person.json @@ -90,4 +90,4 @@ "mediaType": "image/jpeg", "url": "https://mastodon.madrid/system/accounts/avatars/000/087/969/original/ffdd1c832b453bc9.jpg?1598972149" } -} \ No newline at end of file +} diff --git a/crates/apub/assets/mobilizon/objects/event.json b/crates/apub/assets/mobilizon/objects/event.json index 414ffc82..02a00584 100644 --- a/crates/apub/assets/mobilizon/objects/event.json +++ b/crates/apub/assets/mobilizon/objects/event.json @@ -1,12 +1,8 @@ { "timezone": "Europe/London", "isOnline": false, - "contacts": [ - "https://rendezvous.nomagic.uk/@emorrp1" - ], - "cc": [ - "https://rendezvous.nomagic.uk/@emorrp1/followers" - ], + "contacts": ["https://rendezvous.nomagic.uk/@emorrp1"], + "cc": ["https://rendezvous.nomagic.uk/@emorrp1/followers"], "id": "https://rendezvous.nomagic.uk/events/b81c0531-a57c-497d-93ba-af0f8b255498", "inLanguage": "en", "endTime": "2022-12-11T21:00:00+00:00", @@ -19,9 +15,7 @@ "remainingAttendeeCapacity": null, "anonymousParticipationEnabled": true, "ical:status": "CONFIRMED", - "to": [ - "https://www.w3.org/ns/activitystreams#Public" - ], + "to": ["https://www.w3.org/ns/activitystreams#Public"], "joinMode": "free", "location": { "address": { diff --git a/crates/apub/assets/peertube/activities/announce_video.json b/crates/apub/assets/peertube/activities/announce_video.json index 28f06e8c..afad09c0 100644 --- a/crates/apub/assets/peertube/activities/announce_video.json +++ b/crates/apub/assets/peertube/activities/announce_video.json @@ -3,12 +3,8 @@ "id": "https://framatube.org/videos/watch/60c4bea4-6bb2-4fce-8d9f-8a522575419d/announces/395533", "actor": "https://framatube.org/video-channels/joinpeertube", "object": "https://framatube.org/videos/watch/60c4bea4-6bb2-4fce-8d9f-8a522575419d", - "to": [ - "https://www.w3.org/ns/activitystreams#Public" - ], - "cc": [ - "https://framatube.org/accounts/framasoft/followers" - ], + "to": ["https://www.w3.org/ns/activitystreams#Public"], + "cc": ["https://framatube.org/accounts/framasoft/followers"], "@context": [ "https://www.w3.org/ns/activitystreams", "https://w3id.org/security/v1", @@ -104,4 +100,4 @@ } } ] -} \ No newline at end of file +} diff --git a/crates/apub/assets/peertube/objects/note.json b/crates/apub/assets/peertube/objects/note.json index 8df8d586..40024a9a 100644 --- a/crates/apub/assets/peertube/objects/note.json +++ b/crates/apub/assets/peertube/objects/note.json @@ -15,12 +15,8 @@ "name": "@af2@bae.st" } ], - "to": [ - "https://www.w3.org/ns/activitystreams#Public" - ], - "cc": [ - "https://video.antopie.org/accounts/yoge6785555/followers" - ], + "to": ["https://www.w3.org/ns/activitystreams#Public"], + "cc": ["https://video.antopie.org/accounts/yoge6785555/followers"], "@context": [ "https://www.w3.org/ns/activitystreams", "https://w3id.org/security/v1", diff --git a/crates/apub/assets/peertube/objects/video.json b/crates/apub/assets/peertube/objects/video.json index 4325c8fa..78e732fe 100644 --- a/crates/apub/assets/peertube/objects/video.json +++ b/crates/apub/assets/peertube/objects/video.json @@ -178,10 +178,7 @@ }, { "type": "Link", - "rel": [ - "metadata", - "video/mp4" - ], + "rel": ["metadata", "video/mp4"], "mediaType": "application/json", "href": "https://framatube.org/api/v1/videos/4294a720-f263-4ea4-9392-cf9cea4d5277/metadata/1421492", "height": 1080, @@ -209,10 +206,7 @@ }, { "type": "Link", - "rel": [ - "metadata", - "video/mp4" - ], + "rel": ["metadata", "video/mp4"], "mediaType": "application/json", "href": "https://framatube.org/api/v1/videos/4294a720-f263-4ea4-9392-cf9cea4d5277/metadata/1421496", "height": 720, @@ -240,10 +234,7 @@ }, { "type": "Link", - "rel": [ - "metadata", - "video/mp4" - ], + "rel": ["metadata", "video/mp4"], "mediaType": "application/json", "href": "https://framatube.org/api/v1/videos/4294a720-f263-4ea4-9392-cf9cea4d5277/metadata/1421494", "height": 480, @@ -271,10 +262,7 @@ }, { "type": "Link", - "rel": [ - "metadata", - "video/mp4" - ], + "rel": ["metadata", "video/mp4"], "mediaType": "application/json", "href": "https://framatube.org/api/v1/videos/4294a720-f263-4ea4-9392-cf9cea4d5277/metadata/1421495", "height": 360, @@ -302,10 +290,7 @@ }, { "type": "Link", - "rel": [ - "metadata", - "video/mp4" - ], + "rel": ["metadata", "video/mp4"], "mediaType": "application/json", "href": "https://framatube.org/api/v1/videos/4294a720-f263-4ea4-9392-cf9cea4d5277/metadata/1421497", "height": 240, @@ -333,10 +318,7 @@ }, { "type": "Link", - "rel": [ - "metadata", - "video/mp4" - ], + "rel": ["metadata", "video/mp4"], "mediaType": "application/json", "href": "https://framatube.org/api/v1/videos/4294a720-f263-4ea4-9392-cf9cea4d5277/metadata/1421493", "height": 0, @@ -359,19 +341,13 @@ { "type": "Link", "name": "tracker-http", - "rel": [ - "tracker", - "http" - ], + "rel": ["tracker", "http"], "href": "https://framatube.org/tracker/announce" }, { "type": "Link", "name": "tracker-websocket", - "rel": [ - "tracker", - "websocket" - ], + "rel": ["tracker", "websocket"], "href": "wss://framatube.org:443/tracker/socket" } ], @@ -389,12 +365,8 @@ "id": "https://framatube.org/video-channels/joinpeertube" } ], - "to": [ - "https://www.w3.org/ns/activitystreams#Public" - ], - "cc": [ - "https://framatube.org/accounts/framasoft/followers" - ], + "to": ["https://www.w3.org/ns/activitystreams#Public"], + "cc": ["https://framatube.org/accounts/framasoft/followers"], "@context": [ "https://www.w3.org/ns/activitystreams", "https://w3id.org/security/v1", diff --git a/crates/apub/assets/pleroma/activities/create_note.json b/crates/apub/assets/pleroma/activities/create_note.json index 55594ced..3e648aa5 100644 --- a/crates/apub/assets/pleroma/activities/create_note.json +++ b/crates/apub/assets/pleroma/activities/create_note.json @@ -7,9 +7,7 @@ } ], "actor": "https://greenish.red/users/nutomic", - "cc": [ - "https://greenish.red/users/nutomic/followers" - ], + "cc": ["https://greenish.red/users/nutomic/followers"], "context": "https://greenish.red/contexts/f6244742-0526-4b84-ac4f-ceadf1fb4e56", "context_id": 6336544, "directMessage": false, @@ -18,9 +16,7 @@ "actor": "https://greenish.red/users/nutomic", "attachment": [], "attributedTo": "https://greenish.red/users/nutomic", - "cc": [ - "https://greenish.red/users/nutomic/followers" - ], + "cc": ["https://greenish.red/users/nutomic/followers"], "content": "@lanodan test", "context": "https://greenish.red/contexts/f6244742-0526-4b84-ac4f-ceadf1fb4e56", "conversation": "https://greenish.red/contexts/f6244742-0526-4b84-ac4f-ceadf1fb4e56", @@ -49,4 +45,4 @@ "https://www.w3.org/ns/activitystreams#Public" ], "type": "Create" -} \ No newline at end of file +} diff --git a/crates/apub/assets/pleroma/activities/delete.json b/crates/apub/assets/pleroma/activities/delete.json index b5aa08ef..aa3188cc 100644 --- a/crates/apub/assets/pleroma/activities/delete.json +++ b/crates/apub/assets/pleroma/activities/delete.json @@ -32,4 +32,4 @@ "https://www.w3.org/ns/activitystreams#Public" ], "type": "Delete" -} \ No newline at end of file +} diff --git a/crates/apub/assets/pleroma/activities/follow.json b/crates/apub/assets/pleroma/activities/follow.json index 8d0f008a..1e708c95 100644 --- a/crates/apub/assets/pleroma/activities/follow.json +++ b/crates/apub/assets/pleroma/activities/follow.json @@ -11,8 +11,6 @@ "id": "https://mycrowd.ca/activities/dab6a4d3-0db0-41ee-8aab-7bfa4929b4fd", "object": "https://lemmy.ca/u/kinetix", "state": "pending", - "to": [ - "https://lemmy.ca/u/kinetix" - ], + "to": ["https://lemmy.ca/u/kinetix"], "type": "Follow" } diff --git a/crates/apub/assets/pleroma/objects/chat_message.json b/crates/apub/assets/pleroma/objects/chat_message.json index e4b987d7..6a2afc82 100644 --- a/crates/apub/assets/pleroma/objects/chat_message.json +++ b/crates/apub/assets/pleroma/objects/chat_message.json @@ -10,8 +10,6 @@ "content": "Hi!", "id": "https://queer.hacktivis.me/objects/2", "published": "2020-02-12T14:08:20Z", - "to": [ - "https://enterprise.lemmy.ml/u/picard" - ], + "to": ["https://enterprise.lemmy.ml/u/picard"], "type": "ChatMessage" } diff --git a/crates/apub/assets/pleroma/objects/note.json b/crates/apub/assets/pleroma/objects/note.json index 61b63630..ff4b20d2 100644 --- a/crates/apub/assets/pleroma/objects/note.json +++ b/crates/apub/assets/pleroma/objects/note.json @@ -9,9 +9,7 @@ "actor": "https://queer.hacktivis.me/users/lanodan", "attachment": [], "attributedTo": "https://queer.hacktivis.me/users/lanodan", - "cc": [ - "https://www.w3.org/ns/activitystreams#Public" - ], + "cc": ["https://www.w3.org/ns/activitystreams#Public"], "content": "@popolon Have what?", "context": "https://queer.hacktivis.me/contexts/34cba3d2-2f35-4169-aeff-56af9bfeb753", "conversation": "https://queer.hacktivis.me/contexts/34cba3d2-2f35-4169-aeff-56af9bfeb753", diff --git a/crates/apub/assets/smithereen/activities/create_note.json b/crates/apub/assets/smithereen/activities/create_note.json index 4bd199d4..b4438b17 100644 --- a/crates/apub/assets/smithereen/activities/create_note.json +++ b/crates/apub/assets/smithereen/activities/create_note.json @@ -2,12 +2,8 @@ "type": "Create", "id": "https://friends.grishka.me/posts/66561/activityCreate", "published": "2021-11-09T11:42:35Z", - "to": [ - "https://www.w3.org/ns/activitystreams#Public" - ], - "cc": [ - "https://ds9.lemmy.ml/u/nutomic" - ], + "to": ["https://www.w3.org/ns/activitystreams#Public"], + "cc": ["https://ds9.lemmy.ml/u/nutomic"], "actor": "https://friends.grishka.me/users/1", "object": { "type": "Note", @@ -23,12 +19,8 @@ } ], "url": "https://friends.grishka.me/posts/66561", - "to": [ - "https://www.w3.org/ns/activitystreams#Public" - ], - "cc": [ - "https://ds9.lemmy.ml/u/nutomic" - ], + "to": ["https://www.w3.org/ns/activitystreams#Public"], + "cc": ["https://ds9.lemmy.ml/u/nutomic"], "replies": { "type": "Collection", "id": "https://friends.grishka.me/posts/66561/replies", @@ -53,4 +45,4 @@ "type": "RsaSignature2017", "signatureValue": "MmEf4hjfwfQbm/W8qfONwf0uEXO4dhKApX8PlodSNi9x6E4kEgBvx7BrKg3gtqnXfU/cbGdVIN/yCz8+v7Tp2T2kj1yRpD7WjbgwzkrOlhxLi3zPXd4En/cVVdZYSfc7R6DGflXOSeOZPnKbrmY6i+1kYkM80Yc+LFtoj0Ftdgc/YbwMynt1OwPvDbB5bJo1NVyRnpNqlqia2VNmdAh1+2vREXZmINsCOFMC5c0RVzEENYMw+ZPsbVdXfoz4wfqK2u2i7SlcDKVErVNPrKn71wfGWRRiLUNupokY1x3jsWeZlPqGvAP3WGS9ChU+FxhnVHbtxIf0QmeOas3okLDSjw==" } -} \ No newline at end of file +} diff --git a/crates/apub/assets/smithereen/objects/note.json b/crates/apub/assets/smithereen/objects/note.json index a8080cae..d7695758 100644 --- a/crates/apub/assets/smithereen/objects/note.json +++ b/crates/apub/assets/smithereen/objects/note.json @@ -12,12 +12,8 @@ } ], "url": "https://friends.grishka.me/posts/66561", - "to": [ - "https://www.w3.org/ns/activitystreams#Public" - ], - "cc": [ - "https://ds9.lemmy.ml/u/nutomic" - ], + "to": ["https://www.w3.org/ns/activitystreams#Public"], + "cc": ["https://ds9.lemmy.ml/u/nutomic"], "replies": { "type": "Collection", "id": "https://friends.grishka.me/posts/66561/replies", @@ -35,4 +31,4 @@ "sensitive": "as:sensitive" } ] -} \ No newline at end of file +} diff --git a/crates/apub/assets/smithereen/objects/person.json b/crates/apub/assets/smithereen/objects/person.json index 2773aab2..0e04d2a6 100644 --- a/crates/apub/assets/smithereen/objects/person.json +++ b/crates/apub/assets/smithereen/objects/person.json @@ -14,9 +14,7 @@ "width": 573, "height": 572, "cropRegion": [ - 0.26422762870788574, - 0.3766937553882599, - 0.7113820910453796, + 0.26422762870788574, 0.3766937553882599, 0.7113820910453796, 0.9728997349739075 ], "url": "https://friends.grishka.me/i/ql_49PQcETAWgY_nC-Qj63H_Oa6FyOAEoWFkUSSkUvQ/c:573:572:nowe:338:362/q:93/bG9jYWw6Ly8vcy91cGxvYWRzL2F2YXRhcnMvNTYzODRhODEwODk5ZTRjMzI4YmY4YmQwM2Q2MWM3NmMud2VicA.jpg", @@ -80,4 +78,4 @@ }, "https://w3id.org/security/v1" ] -} \ No newline at end of file +} diff --git a/readmes/README.es.md b/readmes/README.es.md index 0ec080e6..114ca25a 100644 --- a/readmes/README.es.md +++ b/readmes/README.es.md @@ -8,6 +8,7 @@ [![License](https://img.shields.io/github/license/LemmyNet/lemmy.svg)](LICENSE) ![GitHub stars](https://img.shields.io/github/stars/LemmyNet/lemmy?style=social) [![Awesome Humane Tech](https://raw.githubusercontent.com/humanetech-community/awesome-humane-tech/main/humane-tech-badge.svg?sanitize=true)](https://github.com/humanetech-community/awesome-humane-tech) +

@@ -43,24 +44,24 @@ ## Sobre El Proyecto -Escritorio|Móvil ----|--- -![desktop](https://raw.githubusercontent.com/LemmyNet/joinlemmy-site/main/src/assets/images/main_img.webp)|![mobile](https://raw.githubusercontent.com/LemmyNet/joinlemmy-site/main/src/assets/images/mobile_pic.webp) +| Escritorio | Móvil | +| ---------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | +| ![desktop](https://raw.githubusercontent.com/LemmyNet/joinlemmy-site/main/src/assets/images/main_img.webp) | ![mobile](https://raw.githubusercontent.com/LemmyNet/joinlemmy-site/main/src/assets/images/mobile_pic.webp) | [Lemmy](https://github.com/LemmyNet/lemmy) es similar a sitios como [Menéame](https://www.meneame.net/), [Reddit](https://reddit.com), [Lobste.rs](https://lobste.rs), [Raddle](https://raddle.me), o [Hacker News](https://news.ycombinator.com/): te subscribes a los foros que te interesan, publicas enlaces y debates, luego votas y comentas en ellos. Entre bastidores, es muy diferente; cualquiera puede gestionar fácilmente un servidor, y todos estos servidores son federados (piensa en el correo electrónico), y conectados al mismo universo, llamado [Fediverso](https://es.wikipedia.org/wiki/Fediverso). -Para un agregador de enlaces, esto significa que un usuario registrado en un servidor puede suscribirse a los foros de otro servidor, y puede mantener discusiones con usuarios registrados en otros lugares. +Para un agregador de enlaces, esto significa que un usuario registrado en un servidor puede suscribirse a los foros de otro servidor, y puede mantener discusiones con usuarios registrados en otros lugares. El objetivo general es crear una alternativa a reddit y otros agregadores de enlaces, fácilmente auto-hospedada, descentralizada, fuera de su control e intromisión corporativa. Cada servidor lemmy puede establecer su propia política de moderación; nombrando a los administradores del sitio y a los moderadores de la comunidad para mantener alejados a los trolls, y fomentar un entorno saludable y no tóxico en el que puedan sentirse cómodos contribuyendo. -*Nota: Las APIs WebSocket y HTTP actualmente son inestables* +_Nota: Las APIs WebSocket y HTTP actualmente son inestables_ ### ¿Por qué se llama Lemmy? - Cantante principal de [Motörhead](https://invidio.us/watch?v=pWB5JZRGl0U). -- El [videojuego de la vieja escuela](). +- El [videojuego de la vieja escuela](https://es.wikipedia.org/wiki/Lemmings). - El [Koopa de Super Mario](https://www.mariowiki.com/Lemmy_Koopa). - Los [roedores peludos](http://sunchild.fpwc.org/lemming-the-little-giant-of-the-north/). @@ -84,9 +85,9 @@ Cada servidor lemmy puede establecer su propia política de moderación; nombran - Puntuaciones completas de los votos `(+/-)` como en el antiguo reddit. - Temas, incluidos los claros, los oscuros, y los solarizados. - Emojis con soporte de autocompletado. Empieza tecleando `:` - - *Ejemplo* `miau :cat:` => `miau 🐈` + - _Ejemplo_ `miau :cat:` => `miau 🐈` - Etiquetado de Usuarios con `@`, etiquetado de Comunidades con `!`. - - *Ejemplo* `@miguel@lemmy.ml me invitó a la comunidad !gaming@lemmy.ml` + - _Ejemplo_ `@miguel@lemmy.ml me invitó a la comunidad !gaming@lemmy.ml` - Carga de imágenes integrada tanto en las publicaciones como en los comentarios. - Una publicación puede consistir en un título y cualquier combinación de texto propio, una URL o nada más. - Notificaciones, sobre las respuestas a los comentarios y cuando te etiquetan. diff --git a/readmes/README.ru.md b/readmes/README.ru.md index 88c84aa4..17448ee5 100644 --- a/readmes/README.ru.md +++ b/readmes/README.ru.md @@ -8,6 +8,7 @@ [![License](https://img.shields.io/github/license/LemmyNet/lemmy.svg)](LICENSE) ![GitHub stars](https://img.shields.io/github/stars/LemmyNet/lemmy?style=social) [![Awesome Humane Tech](https://raw.githubusercontent.com/humanetech-community/awesome-humane-tech/main/humane-tech-badge.svg?sanitize=true)](https://github.com/humanetech-community/awesome-humane-tech) +

@@ -43,19 +44,19 @@ ## О проекте -Десктоп|Мобильный ----|--- -![desktop](https://raw.githubusercontent.com/LemmyNet/joinlemmy-site/main/src/assets/images/main_img.webp)|![mobile](https://raw.githubusercontent.com/LemmyNet/joinlemmy-site/main/src/assets/images/mobile_pic.webp) +| Десктоп | Мобильный | +| ---------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | +| ![desktop](https://raw.githubusercontent.com/LemmyNet/joinlemmy-site/main/src/assets/images/main_img.webp) | ![mobile](https://raw.githubusercontent.com/LemmyNet/joinlemmy-site/main/src/assets/images/mobile_pic.webp) | [Lemmy](https://github.com/LemmyNet/lemmy) это аналог таких сайтов как [Reddit](https://reddit.com), [Lobste.rs](https://lobste.rs), или [Hacker News](https://news.ycombinator.com/): вы подписываетесь на форумы, которые вас интересуют , размещаете ссылки и дискутируете, затем голосуете и комментируете их. Однако за кулисами всё совсем по-другому; любой может легко запустить сервер, и все эти серверы объединены (например электронная почта) и подключены к одной вселенной, именуемой [Федиверс](https://ru.wikipedia.org/wiki/Fediverse). Для агрегатора ссылок это означает, что пользователь, зарегистрированный на одном сервере, может подписаться на форумы на любом другом сервере и может вести обсуждения с пользователями, зарегистрированными в другом месте. -Основная цель - создать легко размещаемую, децентрализованную альтернативу Reddit и другим агрегаторам ссылок, вне их корпоративного контроля и вмешательства. +Основная цель - создать легко размещаемую, децентрализованную альтернативу Reddit и другим агрегаторам ссылок, вне их корпоративного контроля и вмешательства. -Каждый сервер Lemmy может устанавливать свою собственную политику модерации; назначать администраторов всего сайта и модераторов сообщества для защиты от троллей и создания здоровой, нетоксичной среды, в которой каждый может чувствовать себя комфортно. +Каждый сервер Lemmy может устанавливать свою собственную политику модерации; назначать администраторов всего сайта и модераторов сообщества для защиты от троллей и создания здоровой, нетоксичной среды, в которой каждый может чувствовать себя комфортно. -*Примечание: API-интерфейсы WebSocket и HTTP в настоящее время нестабильны* +_Примечание: API-интерфейсы WebSocket и HTTP в настоящее время нестабильны_ ### Почему назвали Lemmy (рус.Лемми)? @@ -93,15 +94,15 @@ - i18n / поддержка интернационализации. - RSS / Atom ленты для `Все`, `Подписок`, `Входящих`, `Пользователь`, and `Сообщества`. - Поддержка кросс-постинга. - - *Поиск похожих постов* при создании новых. Отлично подходит для вопросов / ответов сообществ. + - _Поиск похожих постов_ при создании новых. Отлично подходит для вопросов / ответов сообществ. - Возможности модерации. - Журналы (Логи) Публичной Модерации. - Можно прикреплять посты в топ сообщества. - - Оба и администраторы сайта и модераторы сообщества, могут назначать других модераторов. + - Оба и администраторы сайта и модераторы сообщества, могут назначать других модераторов. - Можно блокировать, удалять и восстанавливать сообщения и комментарии. - Можно банить и разблокировать пользователей в сообществе и на сайте. - - Можно передавать сайт и сообщества другим. -- Можно полностью стереть ваши данные, удалив все посты и комментарии. + - Можно передавать сайт и сообщества другим. +- Можно полностью стереть ваши данные, удалив все посты и комментарии. - NSFW (аббр. Небезопасный/неподходящий для работы) пост / поддерживается сообществом. - Поддержка OEmbed через Iframely. - Высокая производительность. diff --git a/readmes/README.zh.hans.md b/readmes/README.zh.hans.md index b6cdc314..e800ce62 100644 --- a/readmes/README.zh.hans.md +++ b/readmes/README.zh.hans.md @@ -8,6 +8,7 @@ [![License](https://img.shields.io/github/license/LemmyNet/lemmy.svg)](LICENSE) ![GitHub stars](https://img.shields.io/github/stars/LemmyNet/lemmy?style=social) [![Awesome Humane Tech](https://raw.githubusercontent.com/humanetech-community/awesome-humane-tech/main/humane-tech-badge.svg?sanitize=true)](https://github.com/humanetech-community/awesome-humane-tech) +

@@ -45,9 +46,9 @@ ## 关于项目 -桌面应用|移动应用 ----|--- -![desktop](https://raw.githubusercontent.com/LemmyNet/joinlemmy-site/main/src/assets/images/main_img.webp)|![mobile](https://raw.githubusercontent.com/LemmyNet/joinlemmy-site/main/src/assets/images/mobile_pic.webp) +| 桌面应用 | 移动应用 | +| ---------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | +| ![desktop](https://raw.githubusercontent.com/LemmyNet/joinlemmy-site/main/src/assets/images/main_img.webp) | ![mobile](https://raw.githubusercontent.com/LemmyNet/joinlemmy-site/main/src/assets/images/mobile_pic.webp) | [Lemmy](https://github.com/LemmyNet/lemmy) 与 [Reddit](https://reddit.com)、[Lobste.rs](https://lobste.rs) 或 [Hacker News](https://news.ycombinator.com/) 等网站类似:你可以订阅你感兴趣的论坛,发布链接和讨论,然后进行投票或评论。但在幕后,Lemmy 和他们不同——任何人都可以很容易地运行一个服务器,所有服务器都是联邦式的(想想电子邮件),并连接到 [联邦宇宙](https://zh.wikipedia.org/wiki/%E8%81%94%E9%82%A6%E5%AE%87%E5%AE%99)。 @@ -86,14 +87,14 @@ - Emoji 和自动补全。输入 `:` 开始。 - 通过 `@` 提及用户,`!` 提及社区。 - 在帖子和评论中都集成了图片上传功能。 - - 一个帖子可以由一个标题和自我文本的任何组合组成,一个URL,或没有其他。 + - 一个帖子可以由一个标题和自我文本的任何组合组成,一个 URL,或没有其他。 - 评论回复和提及时的通知。 - 通知可通过电子邮件发送。 - 支持私信。 - i18n(国际化)支持。 - `All`、`Subscribed`、`Inbox`、`User` 和 `Community` 的 RSS / Atom 订阅。 - 支持多重发布。 - - 在创建新的帖子时,有 *相似帖子* 的建议,对问答式社区很有帮助。 + - 在创建新的帖子时,有 _相似帖子_ 的建议,对问答式社区很有帮助。 - 监管能力。 - 公开的修改日志。 - 可以把帖子在社区置顶。 diff --git a/readmes/README.zh.hant.md b/readmes/README.zh.hant.md index 3cc891b3..7eaf786a 100644 --- a/readmes/README.zh.hant.md +++ b/readmes/README.zh.hant.md @@ -9,6 +9,7 @@ [![License](https://img.shields.io/github/license/LemmyNet/lemmy.svg)](LICENSE) ![GitHub stars](https://img.shields.io/github/stars/LemmyNet/lemmy?style=social) [![Awesome Humane Tech](https://raw.githubusercontent.com/humanetech-community/awesome-humane-tech/main/humane-tech-badge.svg?sanitize=true)](https://github.com/humanetech-community/awesome-humane-tech) +

@@ -46,9 +47,9 @@ ## 關於專案 -桌面設備|行動裝置 ----|--- -![desktop](https://raw.githubusercontent.com/LemmyNet/joinlemmy-site/main/src/assets/images/main_img.webp)|![mobile](https://raw.githubusercontent.com/LemmyNet/joinlemmy-site/main/src/assets/images/mobile_pic.webp) +| 桌面設備 | 行動裝置 | +| ---------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | +| ![desktop](https://raw.githubusercontent.com/LemmyNet/joinlemmy-site/main/src/assets/images/main_img.webp) | ![mobile](https://raw.githubusercontent.com/LemmyNet/joinlemmy-site/main/src/assets/images/mobile_pic.webp) | [Lemmy](https://github.com/LemmyNet/lemmy) 與 [Reddit](https://reddit.com)、[Lobste.rs](https://lobste.rs) 或 [Hacker News](https://news.ycombinator.com/) 等網站類似:你可以訂閱你感興趣的論壇,釋出連結和討論,然後進行投票或評論。但在幕後,Lemmy 和他們不同——任何人都可以很容易地架設一個伺服器,所有伺服器都是聯邦式的(想想電子郵件),並與 [聯邦宇宙](https://zh.wikipedia.org/wiki/%E8%81%94%E9%82%A6%E5%AE%87%E5%AE%99) 互聯。 @@ -87,14 +88,14 @@ - Emoji 和自動補全。輸入 `:` 開始。 - 透過 `@` 提及使用者,`!` 提及社群。 - 在帖子和評論中都集成了圖片上傳功能。 - - 一個帖子可以由一個標題和自我文字的任何組合組成,一個URL,或沒有其他。 + - 一個帖子可以由一個標題和自我文字的任何組合組成,一個 URL,或沒有其他。 - 評論回覆和提及時的通知。 - 通知可透過電子郵件傳送。 - 支援私信。 - i18n(國際化)支援。 - `All`、`Subscribed`、`Inbox`、`User` 和 `Community` 的 RSS / Atom 訂閱。 - 支援多重發布。 - - 在建立新的帖子時,有 *相似帖子* 的建議,對問答式社群很有幫助。 + - 在建立新的帖子時,有 _相似帖子_ 的建議,對問答式社群很有幫助。 - 監管能力。 - 公開的修改日誌。 - 可以把帖子在社群置頂。