Commit graph

29 commits

Author SHA1 Message Date
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 6945ded963 Group imports 2023-02-12 23:07:19 +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 01f56d9ef7 Use re-exported tokio_postgres::GenericClient trait 2023-01-18 01:01:45 +00:00
silverpill d1939b10d5 Move DatabaseError to database module 2022-12-03 22:57:09 +00:00
silverpill 92d96e3745 Abort registration process if profile with a similar name already exists 2022-11-14 17:37:25 +00:00
silverpill 9b96ce4700 Add CLI command for password reset 2022-11-11 00:53:23 +00:00
silverpill dae6e9437b Use general Did type intsead of DidPkh in identity proofs 2022-11-09 18:15:50 +00:00
silverpill 4e53a5c4e4 Move DidPkh type to identity module 2022-11-08 22:45:59 +00:00
silverpill b700a8ac6d Return verified results when searching for DID 2022-11-02 16:06:19 +00:00
silverpill fa49e2b4c2 Remove acct field from ProfileCreateData struct 2022-10-04 21:18:55 +00:00
silverpill e2f8408b1e Search for subscription recipient by DID instead of login address 2022-08-15 22:02:11 +00:00
silverpill e573ecb27b Add payment_options field to actor profile 2022-07-25 17:44:36 +00:00
silverpill d63c19a996 Add total numbers of local users and posts to NodeInfo response 2022-07-07 19:26:06 +00:00
silverpill 8deea0c867 Save submitted identity proofs to database 2022-04-26 20:43:39 +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 a9a99d7172 Update actor JSON object in database when receiving Update(Person) activity 2021-12-31 19:43:11 +00:00
silverpill c628885c9e Refactor users::queries module 2021-12-24 16:12:19 +00:00
silverpill c473070fd4 Configure linter and fix its warnings 2021-11-13 17:37:31 +00:00
silverpill 8da194e8a2 Add User constructor 2021-11-12 23:12:28 +00:00
silverpill 3d537f5987 Properly catch violations of unique constraint 2021-11-12 23:10:20 +00:00
silverpill 9519786788 Change path of user creation endpoint 2021-10-05 22:52:13 +00:00
silverpill b1776b9520 Move invite code generator to users::utils module 2021-10-02 16:32:57 +00:00
silverpill 7fad429a8c Save extra fields from remote actors 2021-09-17 12:48:13 +00:00
silverpill fdef4b6e6a Initial commit 2021-09-14 12:24:05 +00:00