Commit graph

37 commits

Author SHA1 Message Date
silverpill
acad0f260b Perform post content cleaning at the end of validation process 2022-10-25 23:26:42 +00:00
silverpill
862415d49b Refactor http_signatures module 2022-10-23 23:49:16 +00:00
silverpill
9d671344e6 Don't use rng when generating private keys in tests 2022-10-23 17:56:32 +00:00
silverpill
f92428e509 Add support for SOCKS proxy 2022-10-19 20:29:24 +00:00
silverpill
f0dace197b Allow instance URI to be onion, i2p or yggdrasil address 2022-10-18 19:10:30 +00:00
silverpill
09d025d461 Add get_hostname function 2022-10-18 00:06:26 +00:00
silverpill
a422b1bf8a Preserve mentions when converting markdown into html 2022-10-16 20:08:31 +00:00
silverpill
a771e5e4fa Add support for object link microsyntax
Example: [[https://example.com/objects/1]].
2022-10-15 21:52:36 +00:00
silverpill
b26b2419ed Add support for posts authored in markdown 2022-10-14 16:00:39 +00:00
silverpill
c95e983a3d Remove images from remote posts
To prevent tracking.
2022-10-13 11:01:54 +00:00
silverpill
0a62fdac2b Remove target="_blank" and add rel="noopener" during HTML cleaning 2022-10-09 13:06:57 +00:00
silverpill
0548e6e72a Disallow <code> tags in bio 2022-10-06 22:50:38 +00:00
silverpill
2eb7ec2f64 Add chain ID column to subscription table
Set chain ID to "eip155:31337" for existing entries.
2022-08-31 20:42:56 +00:00
silverpill
c5c3911de6 Require chain ID field in payment options of ethereum type 2022-08-29 22:28:34 +00:00
silverpill
690a03946e Use Currency enum to refer to CAIP-2 namespaces instead of chain IDs 2022-08-29 15:12:18 +00:00
silverpill
8df8fd3c8c Add Monero to currencies enum 2022-08-29 12:12:26 +00:00
silverpill
3b56b29785 Refactor utils::files and move upload helpers to mastodon_api::uploads module 2022-08-18 21:26:24 +00:00
silverpill
596871e6e3 Rewrite wallet address validator to work with non-ethereum addresses 2022-08-15 15:45:21 +00:00
silverpill
c4e5438ac2 Parse chain ID into CAIP-2 ChainId type during blockchain config deserialization 2022-08-10 11:14:17 +00:00
silverpill
46526fd4be Add currency() method to DidPkh type 2022-08-04 15:44:48 +00:00
silverpill
af0563759d Add CAIP-2 chain ID type 2022-08-04 15:38:26 +00:00
silverpill
3c8c0c7163 Move currencies module to utils 2022-08-04 12:34:31 +00:00
silverpill
da6ceadd51 Add CLI command for deleting unused media attachments 2022-05-07 21:10:35 +00:00
silverpill
fac0172159 Generate RSA key for instance actor automatically on the first run 2022-04-30 20:03:21 +00:00
silverpill
83fbbefaab Add test for get_local_actor() 2022-04-26 22:35:39 +00:00
silverpill
c0837bbf77 Create Atom feeds for local users 2022-04-16 19:37:45 +00:00
silverpill
226fc49b86 Allow non-standard wrap width when parsing public keys in PEM format 2022-02-13 15:44:28 +00:00
silverpill
6fc319f7dd Validate content of incoming Note objects 2022-02-09 13:53:11 +00:00
silverpill
c4a0f12555 Keep "pre" and "code" tags when cleaning post content 2022-01-28 00:42:36 +00:00
silverpill
f9fca604a9 Make media_type property on Attachment type optional 2021-12-29 15:07:19 +00:00
silverpill
e71bb9585a Refactor utils::files module 2021-12-29 14:34:23 +00:00
silverpill
38ed905f47 Use profile importer in verify_http_signature function 2021-12-28 20:54:21 +00:00
silverpill
12c21d86f8 Use ULIDs instead of v4 UUIDs for identifiers 2021-12-02 01:36:35 +00:00
silverpill
c473070fd4 Configure linter and fix its warnings 2021-11-13 17:37:31 +00:00
silverpill
b1776b9520 Move invite code generator to users::utils module 2021-10-02 16:32:57 +00:00
silverpill
283c426c49 Add delete-post CLI command 2021-09-26 00:08:44 +00:00
silverpill
fdef4b6e6a Initial commit 2021-09-14 12:24:05 +00:00