Commit graph

1056 commits

Author SHA1 Message Date
silverpill
c461fbc268 Re-export ammonia::clean_text from utils::html 2023-02-12 21:38:22 +00:00
silverpill
2acf50fa01 Move some functions from utils::files to media module 2023-02-12 19:10:33 +00:00
silverpill
0988c0c91e Improve ethereum address validation and move validator to ethereum::utils module 2023-02-12 18:26:39 +00:00
silverpill
44d013bc5e Update links to network stats
Removing the-federation.info because it shows incorrect results.
2023-02-12 01:25:37 +00:00
silverpill
fdd3a22807 Support "authorization_code" OAuth grant type 2023-02-11 23:30:51 +00:00
silverpill
cf69f1394a Add OAuth authorization page 2023-02-11 23:30:46 +00:00
silverpill
2d9a43b076 Add /api/v1/apps endpoint 2023-02-11 17:14:37 +00:00
silverpill
8958dca939 Document http_cors_allowlist configuration parameter 2023-02-11 00:02:40 +00:00
silverpill
47508e7969 Update IPFS guide 2023-02-10 22:07:06 +00:00
silverpill
4ace00736b Refactor search::helpers module 2023-02-10 17:14:34 +00:00
silverpill
0b8553d0c2 Allow instance_uri configuration value to contain URI scheme 2023-02-10 11:55:05 +00:00
silverpill
4ab95055d6 Bump version 2023-02-09 20:07:39 +00:00
silverpill
cbc3f7b65a Fix permission error on subscription settings update 2023-02-09 19:56:51 +00:00
silverpill
344025ae2f Move ChainId to Currency conversion code to utils::caip2 module 2023-02-08 00:25:54 +00:00
silverpill
eeae9e3ad7 Remove dependency on activitypub module from config::main 2023-02-07 18:28:19 +00:00
silverpill
8289aeaf41 Move parse_caip2_chain_id() to utils::caip2 module 2023-02-07 17:30:06 +00:00
silverpill
53d012c9d0 Use header name constants in activitypub::views module 2023-02-07 12:00:22 +00:00
silverpill
239bdcf97d Process Delete() and Undo() activities in background to preserve ordering 2023-02-07 00:03:41 +00:00
silverpill
4d271353c4 Bump version 2023-02-06 00:41:46 +00:00
silverpill
5d4cfab00a Replace ConversionError with ConfigError in config module 2023-02-05 21:30:51 +00:00
silverpill
831739d215 Ignore Announce(Delete) activities 2023-02-05 21:01:12 +00:00
silverpill
ad1a658806 Implement automatic pruning of empty profiles 2023-02-05 20:28:55 +00:00
silverpill
6002e58425 Implement automatic pruning of remote posts 2023-02-05 13:37:41 +00:00
silverpill
0ab374e9ea Move periodic tasks to job_queue::periodic_tasks module 2023-02-05 12:11:30 +00:00
silverpill
3f89d97a5c Rename Task enum to PeriodicTask 2023-02-05 11:41:41 +00:00
silverpill
b91e6e77b5 Add limits.posts.character_limit configuration parameter 2023-02-04 22:03:37 +00:00
silverpill
151b068d97 Make maximum size of media attachment configurable 2023-02-04 22:03:32 +00:00
silverpill
79404fdc71 Don't allow read-only users to manage subscriptions 2023-02-04 22:00:03 +00:00
silverpill
09b16599d9 Don't create invoice if recipient can't accept subscription payments 2023-02-04 22:00:03 +00:00
silverpill
cc43adedcf Change max body size in nginx example config to match app limit 2023-02-04 22:00:03 +00:00
silverpill
4559f74881 Use "warn" log level for delivery errors 2023-02-04 22:00:03 +00:00
silverpill
8bb786c763 Set 10 minute timeout on background job that processes incoming activities
https://codeberg.org/silverpill/mitra/issues/24
2023-02-04 22:00:02 +00:00
silverpill
e784476344 Add /api/v1/custom_emojis endpoint 2023-02-04 21:59:59 +00:00
silverpill
0b442f6a2c Ignore forwarded Like activities 2023-02-02 00:48:03 +00:00
silverpill
5a3ef41277 Append attachment URL to post content if attachment is too large 2023-01-31 19:03:03 +00:00
silverpill
01c894da9d Separate object URL handling from content validation 2023-01-31 19:03:03 +00:00
silverpill
bc19a524c4 Replace post attachments and other related objects when processing Update(Note) activity 2023-01-31 18:47:34 +00:00
silverpill
86beb532e2 Refactor handle_note() function 2023-01-31 14:18:46 +00:00
silverpill
f142bee72b Refactor create_post() function 2023-01-31 13:56:25 +00:00
silverpill
70455e5eeb Return "202 Accepted" when activity is accepted by inbox endpoint 2023-01-29 21:13:35 +00:00
silverpill
f55431f8b8 Improve some error descriptions 2023-01-29 20:04:23 +00:00
silverpill
6f38eba80e Add https://w3id.org/security/data-integrity/v1 to JSON-LD context 2023-01-28 22:43:15 +00:00
silverpill
9e9207f748 Fix formatting in FEDERATION.md 2023-01-28 20:44:43 +00:00
silverpill
08c55cc71c Use proof suites with prefix Mitra 2023-01-28 19:47:44 +00:00
silverpill
f0ae82c0db Bump version 2023-01-26 19:05:41 +00:00
silverpill
385a11d6a7 Don't retry activity if fetcher recursion limit has been reached 2023-01-26 13:57:46 +00:00
silverpill
1f9669ad7c Add set-role command 2023-01-26 00:00:17 +00:00
silverpill
01f956b6ce Add configuration option for automatic assigning of "read-only user" role after registration 2023-01-26 00:00:14 +00:00
silverpill
2ea14635d2 Implement role system
https://codeberg.org/silverpill/mitra/issues/25
2023-01-25 23:59:39 +00:00
silverpill
771f45baab Add registration.type configuration option 2023-01-25 23:47:36 +00:00