Commit graph

43 commits

Author SHA1 Message Date
Rafael Caricio cb61f4a86b
Allow mute accounts 2023-04-27 13:38:49 +02:00
Rafael Caricio bb28bf800d
Make API response compatible with what IceCubes iOS client expects 2023-04-26 22:10:34 +02:00
Rafael Caricio b7fafe6458
Rename to Fedimovies 2023-04-25 15:49:35 +02:00
Rafael Caricio 47529ff703
Apply cargo fmt 2023-04-24 17:35:32 +02:00
silverpill 8533a892bf
Add emoji count check to profile data validator 2023-04-24 16:15:21 +02:00
Rafael Caricio c0049e6d49
Delete some more 2023-04-09 01:34:07 +02:00
Rafael Caricio 5ef024d923
Fuck blockchain 2023-04-08 21:20:12 +02:00
silverpill f5dd0a17c9 Move all validators to validators module 2023-03-25 11:28:48 +00:00
silverpill c7fd3ddc83 Remove hardcoded upload size limit 2023-03-14 15:17:56 +00:00
silverpill 10f2596830 Move config parser to mitra-config crate 2023-02-19 00:39:15 +00:00
silverpill 7d3c558ede Move utils to mitra-utils crate 2023-02-18 23:12:36 +00:00
silverpill 2acf50fa01 Move some functions from utils::files to media module 2023-02-12 19:10:33 +00:00
silverpill b91e6e77b5 Add limits.posts.character_limit configuration parameter 2023-02-04 22:03:37 +00:00
silverpill 771f45baab Add registration.type configuration option 2023-01-25 23:47:36 +00:00
silverpill f52a55a387 Add approval_required and invites_enabled flags to InstanceInfo object 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 e24f01a2b5 Allow custom emojis with image/apng media type 2023-01-22 23:52:17 +00:00
silverpill 3ed610969e Add new types to supported media types list 2023-01-15 02:30:00 +00:00
silverpill 1663d22b19 Add "configuration" object to response of /api/v1/instance endpoint 2023-01-06 17:10:48 +00:00
silverpill 7b69dc9219 Use InstanceInfo.description field for HTML content
Also added description_source field for storing Markdown source.
2022-12-22 20:47:19 +00:00
silverpill 4ec5cf0f9b Render instance description to HTML
https://codeberg.org/silverpill/mitra-web/issues/3
2022-12-01 22:04:46 +00:00
silverpill 262b910638 Rename instance.host() to instance.hostname() 2022-11-24 13:27:10 +00:00
silverpill 6765674118 Add token gate feature flag to instance info 2022-11-16 15:11:25 +00:00
silverpill 6fd0c16997 Add instance stats to object returned by /api/v1/instance 2022-10-04 21:18:55 +00:00
silverpill 26ae1036de Change representation of blockchain config in Instance API response
Allowed multiple blockchain configs.
2022-08-31 21:30:03 +00:00
silverpill b357b9bfa0 Rename chain_info config parameter to chain_metadata and define its type 2022-08-31 20:42:59 +00:00
silverpill 260e62d51b Allow blockchain configuration to be defined using a list
Multi-chain configurations are still not allowed.
2022-08-31 20:42:55 +00:00
silverpill dc7d533c42 Allow blockchain config to have sub-types 2022-08-10 11:57:35 +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 545dd6d92b Enable contract feature detection
Contracts updated to version 0.5.0.
2022-06-30 12:20:14 +00:00
silverpill 6b06d6d18e Add mapping with additional blockchain info to instance API response 2022-06-22 21:38:04 +00:00
silverpill b95d409010 Add blockchain ID to instance API response 2022-05-28 22:43:38 +00:00
silverpill 2747e7b174 Add post character limit config option 2022-02-08 21:19:39 +00:00
silverpill f1fd0af6bc Remove blockchain_contract_name property from instance info 2022-02-08 18:32:54 +00:00
silverpill 9591be4df0 Use Pleroma-compliant instance version in /api/v1/instance
https://codeberg.org/silverpill/mitra/issues/4
2022-02-08 01:13:21 +00:00
silverpill a3f20149cf Remove actual ethereum contracts and use interfaces instead 2022-01-28 00:42:36 +00:00
silverpill 8b2474c448 Rename blockchain-related properties returned by /api/v1/instance method 2022-01-28 00:42:31 +00:00
silverpill f2fb44bb63 Change configuration options related to blockchain integration 2022-01-28 00:41:23 +00:00
silverpill c473070fd4 Configure linter and fix its warnings 2021-11-13 17:37:31 +00:00
silverpill 7f07468d14 Improve instance URL parsing and validation 2021-11-10 17:07:18 +00:00
silverpill d98e86a93e Move common code from ethereum::nft to separate modules 2021-10-21 18:18:29 +00:00
silverpill a9fb874cb3 Update contracts 2021-10-21 11:57:40 +00:00
silverpill fdef4b6e6a Initial commit 2021-09-14 12:24:05 +00:00