Commit graph

24 commits

Author SHA1 Message Date
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