Commit graph

36 commits

Author SHA1 Message Date
Rafael Caricio 17d8c11726
Retoot reviews 2023-04-25 13:19:04 +02:00
Rafael Caricio 47529ff703
Apply cargo fmt 2023-04-24 17:35:32 +02:00
Rafael Caricio 5ef024d923
Fuck blockchain 2023-04-08 21:20:12 +02:00
silverpill 95daa94a97 Move contents of database and models modules to mitra-models crate 2023-03-31 00:20:19 +00:00
silverpill 70c2d2aa25 Create profile_emoji database table 2023-03-04 21:12:02 +00:00
silverpill e4254e7a3d Add "error" and "error_description" fields to Mastodon API error responses 2023-02-25 23:38:42 +00:00
silverpill e1e9851d5c Make media URLs in Mastodon API responses relative to current origin 2023-02-22 17:56:43 +00:00
silverpill c796cddff8 Change order of parameters in some functions 2023-02-22 17:30:31 +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 6945ded963 Group imports 2023-02-12 23:07:19 +00:00
silverpill cbc3f7b65a Fix permission error on subscription settings update 2023-02-09 19:56:51 +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 6d4a6806f4 Add Monero payout address validation 2023-01-13 01:31:45 +00:00
silverpill 228299c5b7 Remove prepare_signed_update_person() function 2023-01-09 16:22:47 +00:00
silverpill 5c9aa0f148 Always put outgoing activities in a queue 2023-01-04 19:36:57 +00:00
silverpill 4185cbefb0 Rename Pool type to DbPool 2022-12-03 21:30:24 +00:00
silverpill 65661698c7 Pass instance as ref to activity builders 2022-10-22 11:33:23 +00:00
silverpill dd6317561e Require subscription price to be positive number 2022-09-19 18:39:51 +00:00
silverpill a1ab21a702 Store requested payment amount for each invoice 2022-09-19 00:50:31 +00:00
silverpill 02408ae57a Allow user to change subscription settings 2022-09-15 20:50:31 +00:00
silverpill 5b071f050b Rename /api/v1/subscriptions/enable to /api/v1/subscriptions/options 2022-09-08 10:05:34 +00:00
silverpill 596c13c0bb Remove deprecated Subscription API methods 2022-09-08 09:58:57 +00:00
silverpill 714b872a5d Prevent creation of invoices where sender is the same as the recipient 2022-09-07 11:57:25 +00:00
silverpill 86fe717a77 Add API method for checking invoice status 2022-09-07 10:48:40 +00:00
silverpill b0e79e26a4 Change invoice API to accept sender ID instead of acct 2022-09-06 19:08:50 +00:00
silverpill 6accf8ac2e Add API method for finding subscription by participants 2022-09-06 19:08:50 +00:00
silverpill f218936caa Create API method /api/v1/subscriptions/options 2022-09-06 17:54:51 +00:00
silverpill cd09fe0801 Add API method for generating invoices 2022-08-31 20:42:58 +00:00
silverpill 423eec0a2c Add MoneroSubscription payment option 2022-08-31 20:42:57 +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 c5c3911de6 Require chain ID field in payment options of ethereum type 2022-08-29 22:28:34 +00:00
silverpill ea4d15da48 Remove default_currency() method from config object
Preparing for multi-currency deployments.
2022-08-28 18:53:32 +00:00
silverpill b3fb1c612c Rewrite /api/v1/subscriptions/enable handler to support more subscription types 2022-08-26 15:57:35 +00:00
silverpill daaa0855a6 Use /api/v1/subscriptions prefix for subscription API methods 2022-08-25 19:16:46 +00:00