Commit graph

31 commits

Author SHA1 Message Date
silverpill 95daa94a97 Move contents of database and models modules to mitra-models crate 2023-03-31 00:20:19 +00:00
silverpill f5dd0a17c9 Move all validators to validators module 2023-03-25 11:28:48 +00:00
silverpill 3b5c8a4131 Remove Role::from_name function 2023-03-23 00:29:32 +00:00
silverpill e3ee144889 Grant delete_any_post and delete_any_profile permissions to admin role 2023-03-19 19:21:31 +00:00
silverpill 0b65e7473e Move DID types to mitra-utils crate 2023-03-16 17:59:45 +00:00
silverpill 1b1e2a1521 Allow to add notes to generated invite codes 2023-03-02 17:24:32 +00:00
silverpill 7d3c558ede Move utils to mitra-utils crate 2023-02-18 23:12:36 +00:00
silverpill 79404fdc71 Don't allow read-only users to manage subscriptions 2023-02-04 22:00:03 +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 a5c9da78ef Add DidKey type 2022-11-09 18:53:52 +00:00
silverpill dae6e9437b Use general Did type intsead of DidPkh in identity proofs 2022-11-09 18:15:50 +00:00
silverpill 5f24af4dbf Allow users of password auth to create identity proofs 2022-08-15 20:16:34 +00:00
silverpill a80c11b99c Allow users of password auth to use subscriptions 2022-08-15 20:16:03 +00:00
silverpill 596871e6e3 Rewrite wallet address validator to work with non-ethereum addresses 2022-08-15 15:45:21 +00:00
silverpill dc8a7bed2e Require verified wallet address when setting up subscription 2022-05-26 10:42:04 +00:00
silverpill a1af35997c Use currency enum instead of WALLET_CURRENCY_CODE constant 2022-04-27 22:19:14 +00:00
silverpill 227e3d3729 Allow passwordless registration 2022-02-15 19:43:22 +00:00
silverpill 9f1f950aa3 Validate wallet address when logging in 2022-02-01 23:56:58 +00:00
silverpill 333f90e293 Validate wallet address when creating new user 2022-01-31 19:10:51 +00:00
silverpill f0d021853a Refactor timeline and thread queries
Added tests for home timeline query.
2022-01-08 14:56:38 +00:00
silverpill 810e67f88e Refactor create_account view 2022-01-06 19:26:14 +00:00
silverpill 1936219b3d Increase maximum length of display_name to 200 chars and validate it on profile import 2021-12-28 00:58:12 +00:00
silverpill 81a260e691 Don't require wallet address during registration 2021-12-24 17:52:52 +00:00
silverpill 65375ee2cd Don't send notification if user is liking or replying to his own post 2021-11-21 14:38:36 +00:00
silverpill 562f92512e Check view permissions when interacting with post 2021-11-20 01:14:43 +00:00
silverpill 8da194e8a2 Add User constructor 2021-11-12 23:12:28 +00:00
silverpill d4adb55c53 Replace cookie auth with token auth 2021-10-05 22:53:33 +00:00
silverpill 9519786788 Change path of user creation endpoint 2021-10-05 22:52:13 +00:00
silverpill fdef4b6e6a Initial commit 2021-09-14 12:24:05 +00:00