diff --git a/doc/media-reference.edn b/doc/media-reference.edn new file mode 100644 index 0000000..f54d77c --- /dev/null +++ b/doc/media-reference.edn @@ -0,0 +1,20 @@ +:media_attachments +[{:description "Plastikmüll gesammelt", + :meta + {:original + {:width 1500, :height 2000, :size "1500x2000", :aspect 0.75}, + :small + {:width 416, + :height 554, + :size "416x554", + :aspect 0.7509025270758123}}, + :type "image", + :blurhash "UAFiMmx^9aE1yEjEM|%N0eD%w]t7D$%NR4tR", + :preview_url + "https://cdn.masto.host/socialmeissagmbhde/media_attachments/files/112/432/505/467/393/505/small/0d01ddb07440328e.jpg", + :preview_remote_url nil, + :id "112432505467393505", + :url + "https://cdn.masto.host/socialmeissagmbhde/media_attachments/files/112/432/505/467/393/505/original/0d01ddb07440328e.jpg", + :remote_url nil, + :text_url nil}], \ No newline at end of file diff --git a/doc/status-reference.edn b/doc/status-reference.edn new file mode 100644 index 0000000..0857de3 --- /dev/null +++ b/doc/status-reference.edn @@ -0,0 +1,88 @@ +{:mentions + [{:id "109517000301838437", + :username "J12t", + :url "https://social.coop/@J12t", + :acct "J12t@social.coop"}], + :emojis [], + :tags + [{:name "federation", + :url "https://social.meissa-gmbh.de/tags/federation"} + {:name "test", :url "https://social.meissa-gmbh.de/tags/test"}], + :reblog nil, + :replies_count 1, + :in_reply_to_account_id nil, + :reblogs_count 0, + :content + "
@J12t Hi Johannes, do you have a solution for such integration tests in place / planed?
Would love to be able to make better integration tests ...
", + :sensitive false, + :favourites_count 1, + :in_reply_to_id nil, + :poll nil, + :account + {:acct "meissa", + :last_status_at "2024-05-15", + :emojis [], + :bot false, + :group false, + :following_count 80, + :avatar_static + "https://cdn.masto.host/socialmeissagmbhde/accounts/avatars/112/400/753/820/571/578/original/fd05f46bcc0c5c69.png", + :roles [], + :fields + [{:name "See also", + :value + "https://meissa.de", + :verified_at "2024-05-14T09:08:20.463+00:00"} + {:name "OpenPGP", + :value "DF43207F1ABF673D8C7F5D1D756A2A4873B93D34", + :verified_at nil}], + :username "meissa", + :header_static + "https://cdn.masto.host/socialmeissagmbhde/accounts/headers/112/400/753/820/571/578/original/915998366b020667.jpg", + :discoverable true, + :statuses_count 10, + :header + "https://cdn.masto.host/socialmeissagmbhde/accounts/headers/112/400/753/820/571/578/original/915998366b020667.jpg", + :note + "DevOps, Cloud, KI, Clojure, Kotlin, JVM, Python & k8s, Germany, Reutlingen, Tübingen, Stuttgart, genossenschaftlich, OpenSource, TestDriven, Maintainer, Forgejo, Federation
", + :noindex false, + :locked false, + :id "112400753820571578", + :avatar + "https://cdn.masto.host/socialmeissagmbhde/accounts/avatars/112/400/753/820/571/578/original/fd05f46bcc0c5c69.png", + :url "https://social.meissa-gmbh.de/@meissa", + :uri "https://social.meissa-gmbh.de/users/meissa", + :display_name "meissa-team", + :followers_count 172, + :created_at "2024-05-07T00:00:00.000Z"}, + :card + {:description "forgejo - Beyond coding. We forge.", + :author_url "", + :image_description "", + :width 290, + :type "link", + :embed_url "", + :blurhash "URC3:FsU1xJS-8NvJ9$OFIS3wexEJ9n*xEbG", + :title + "forgejo/tests/integration/api_activitypub_repository_test.go at fe3473fc8b7b51e024b1a564fc7f01e385ebfb5e", + :published_at nil, + :provider_name "Codeberg.org", + :language "en", + :url + "https://codeberg.org//forgejo/forgejo/src/commit/fe3473fc8b7b51e024b1a564fc7f01e385ebfb5e/tests/integration/api_activitypub_repository_test.go", + :author_name "", + :image + "https://cdn.masto.host/socialmeissagmbhde/cache/preview_cards/images/000/545/643/original/199336f5aa5b9683.png", + :provider_url "", + :height 290, + :html ""}, + :language "en", + :id "112446229070164194", + :url "https://social.meissa-gmbh.de/@meissa/112446229070164194", + :media_attachments [], + :uri + "https://social.meissa-gmbh.de/users/meissa/statuses/112446229070164194", + :edited_at nil, + :visibility "public", + :created_at "2024-05-15T17:14:50.257Z", + :spoiler_text ""} \ No newline at end of file diff --git a/src/main/dda/masto_embed/account_mode.cljs b/src/main/dda/masto_embed/account_mode.cljs index 81e1c26..3f8215e 100644 --- a/src/main/dda/masto_embed/account_mode.cljs +++ b/src/main/dda/masto_embed/account_mode.cljs @@ -149,113 +149,3 @@ (take 1) (infra/debug) )))) - -{:mentions - [{:id "109517000301838437", - :username "J12t", - :url "https://social.coop/@J12t", - :acct "J12t@social.coop"}], - :emojis [], - :tags - [{:name "federation", - :url "https://social.meissa-gmbh.de/tags/federation"} - {:name "test", :url "https://social.meissa-gmbh.de/tags/test"}], - :reblog nil, - :replies_count 1, - :in_reply_to_account_id nil, - :reblogs_count 0, - :content - "@J12t Hi Johannes, do you have a solution for such integration tests in place / planed?
Would love to be able to make better integration tests ...
", - :sensitive false, - :favourites_count 1, - :in_reply_to_id nil, - :poll nil, - :account - {:acct "meissa", - :last_status_at "2024-05-15", - :emojis [], - :bot false, - :group false, - :following_count 80, - :avatar_static - "https://cdn.masto.host/socialmeissagmbhde/accounts/avatars/112/400/753/820/571/578/original/fd05f46bcc0c5c69.png", - :roles [], - :fields - [{:name "See also", - :value - "https://meissa.de", - :verified_at "2024-05-14T09:08:20.463+00:00"} - {:name "OpenPGP", - :value "DF43207F1ABF673D8C7F5D1D756A2A4873B93D34", - :verified_at nil}], - :username "meissa", - :header_static - "https://cdn.masto.host/socialmeissagmbhde/accounts/headers/112/400/753/820/571/578/original/915998366b020667.jpg", - :discoverable true, - :statuses_count 10, - :header - "https://cdn.masto.host/socialmeissagmbhde/accounts/headers/112/400/753/820/571/578/original/915998366b020667.jpg", - :note - "DevOps, Cloud, KI, Clojure, Kotlin, JVM, Python & k8s, Germany, Reutlingen, Tübingen, Stuttgart, genossenschaftlich, OpenSource, TestDriven, Maintainer, Forgejo, Federation
", - :noindex false, - :locked false, - :id "112400753820571578", - :avatar - "https://cdn.masto.host/socialmeissagmbhde/accounts/avatars/112/400/753/820/571/578/original/fd05f46bcc0c5c69.png", - :url "https://social.meissa-gmbh.de/@meissa", - :uri "https://social.meissa-gmbh.de/users/meissa", - :display_name "meissa-team", - :followers_count 172, - :created_at "2024-05-07T00:00:00.000Z"}, - :card - {:description "forgejo - Beyond coding. We forge.", - :author_url "", - :image_description "", - :width 290, - :type "link", - :embed_url "", - :blurhash "URC3:FsU1xJS-8NvJ9$OFIS3wexEJ9n*xEbG", - :title - "forgejo/tests/integration/api_activitypub_repository_test.go at fe3473fc8b7b51e024b1a564fc7f01e385ebfb5e", - :published_at nil, - :provider_name "Codeberg.org", - :language "en", - :url - "https://codeberg.org//forgejo/forgejo/src/commit/fe3473fc8b7b51e024b1a564fc7f01e385ebfb5e/tests/integration/api_activitypub_repository_test.go", - :author_name "", - :image - "https://cdn.masto.host/socialmeissagmbhde/cache/preview_cards/images/000/545/643/original/199336f5aa5b9683.png", - :provider_url "", - :height 290, - :html ""}, - :language "en", - :id "112446229070164194", - :url "https://social.meissa-gmbh.de/@meissa/112446229070164194", - :media_attachments [], - :uri - "https://social.meissa-gmbh.de/users/meissa/statuses/112446229070164194", - :edited_at nil, - :visibility "public", - :created_at "2024-05-15T17:14:50.257Z", - :spoiler_text ""} - -:media_attachments -[{:description "Plastikmüll gesammelt", - :meta - {:original - {:width 1500, :height 2000, :size "1500x2000", :aspect 0.75}, - :small - {:width 416, - :height 554, - :size "416x554", - :aspect 0.7509025270758123}}, - :type "image", - :blurhash "UAFiMmx^9aE1yEjEM|%N0eD%w]t7D$%NR4tR", - :preview_url - "https://cdn.masto.host/socialmeissagmbhde/media_attachments/files/112/432/505/467/393/505/small/0d01ddb07440328e.jpg", - :preview_remote_url nil, - :id "112432505467393505", - :url - "https://cdn.masto.host/socialmeissagmbhde/media_attachments/files/112/432/505/467/393/505/original/0d01ddb07440328e.jpg", - :remote_url nil, - :text_url nil}], \ No newline at end of file