Commit graph

1214 commits

Author SHA1 Message Date
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
silverpill
b82c2f3fc6 Add missing <link rel="alternate"> element to Atom feed entries 2023-01-25 22:24:45 +00:00
silverpill
9fc87803e5 Add missing <link rel="self"> element to Atom feeds 2023-01-25 22:22:56 +00:00
silverpill
780b165a8b Improve Atom feed XML formatting 2023-01-25 22:09:32 +00:00
silverpill
f52a55a387 Add approval_required and invites_enabled flags to InstanceInfo object 2023-01-25 20:30:51 +00:00
silverpill
ce8f597501 Move parse_env() and parse_config() to config::loader module 2023-01-25 20:30:51 +00:00
silverpill
8dfb040b5f Refactor parse_env() function 2023-01-25 20:30:51 +00:00
silverpill
200675464e Replace config.version field with constant 2023-01-25 20:30:51 +00:00
silverpill
e78e3c5102 Increase length of logged inbox response 2023-01-25 20:30:43 +00:00
silverpill
fe6d99c5b1 Drop support for "blockchain" setting 2023-01-25 04:41:03 +00:00
silverpill
d128918bdb Add nginx config example with alternative frontend setup 2023-01-23 22:45:16 +00:00
silverpill
cdd80f207b Update readme
Removed unsupported features.
2023-01-23 21:27:28 +00:00
silverpill
b2198985c8 Bump version 2023-01-23 12:53:57 +00:00
silverpill
e24f01a2b5 Allow custom emojis with image/apng media type 2023-01-22 23:52:17 +00:00
silverpill
42329328ec Create workspace and move mitractl to a separate crate 2023-01-22 20:50:28 +00:00
silverpill
203582f801 Add days_before_now() utility function 2023-01-22 20:40:05 +00:00
silverpill
d09770913b Replace client-side tag URLs with collection IDs 2023-01-22 15:32:23 +00:00
silverpill
be67972760 Add emojis to post previews 2023-01-21 23:00:21 +00:00
silverpill
97145efad9 Make delete-emoji command accept emoji name and hostname instead of ID 2023-01-21 22:56:52 +00:00
silverpill
f6026293a5 Add test for create_attachment() 2023-01-21 22:56:52 +00:00
silverpill
75579eae4f Add support for emoji shortcodes 2023-01-21 22:56:46 +00:00
silverpill
e8500b982b Add import-emoji command 2023-01-21 19:52:36 +00:00
silverpill
b958b8fb4c Save sizes of media attachments and other files to database 2023-01-21 19:52:32 +00:00
silverpill
e3b51d0752 Validate emoji name before saving 2023-01-21 12:41:37 +00:00
silverpill
99d45ee048 Create custom type for emoji images 2023-01-20 22:11:01 +00:00
silverpill
6c6eb731f9 Use usize type for file sizes 2023-01-20 01:00:15 +00:00
silverpill
c26fc9235d Group imports in some modules 2023-01-19 22:00:04 +00:00
silverpill
05f6bb6091 Bump version 2023-01-18 20:20:26 +00:00
silverpill
eb825bca04 Add fallback route for well-known paths 2023-01-18 18:25:40 +00:00
silverpill
2dda00e36c Fix .well-known paths returning 400 Bad Request errors 2023-01-18 17:47:23 +00:00
silverpill
441264f34c Allow emojis with image/gif media type 2023-01-18 16:45:51 +00:00
silverpill
6d6a41d3e5 Print HTTP socket address when starting HTTP server 2023-01-18 16:28:52 +00:00
silverpill
52112996c5 Try to fix federation with GNU Social 2023-01-18 13:26:04 +00:00
silverpill
6af5b8c24d Ignore Like() activity if local post doesn't exist 2023-01-18 01:14:21 +00:00
silverpill
01f56d9ef7 Use re-exported tokio_postgres::GenericClient trait 2023-01-18 01:01:45 +00:00
silverpill
0e68ea263c Increase max emoji size to 250 kB 2023-01-17 20:47:34 +00:00
silverpill
fcb6554ebb Don't download HTML pages attached by GNU Social 2023-01-17 19:16:46 +00:00
silverpill
10c38400e4 Accept actor objects where value of "attachment" property is not an array 2023-01-17 18:04:16 +00:00
silverpill
6ba8434f40 Add delete-emoji command 2023-01-17 16:47:13 +00:00
silverpill
578629f8bd Add emoji array to Status object 2023-01-17 16:47:13 +00:00
silverpill
56e75895bd Download custom emojis contained in remote posts 2023-01-17 16:47:09 +00:00
silverpill
7b8a56dd8f Support "Public" audience identifier 2023-01-17 00:51:35 +00:00
silverpill
5064afd766 Change max actor image size to 5 MB 2023-01-16 20:34:24 +00:00