Commit graph

317 commits

Author SHA1 Message Date
Cayo Puigdefabregas d2f7e5395d encription from a env key and password admin 2024-01-03 17:52:46 +01:00
Elijah 26467b831a Extended test coverage to admin Template tables 2024-01-03 14:39:42 +01:00
Cayo Puigdefabregas 74ae5c87f5 Merge branch 'release' into extend-tables 2024-01-03 10:17:49 +01:00
Elahi eb547367cb Merge pull request 'Added custom command to create example data' (#92) from example-data into release
Reviewed-on: https://gitea.pangea.org/trustchain-oc1-orchestral/IdHub/pulls/92
2023-12-27 13:39:14 +00:00
Elijah d450819cd3 Bug fixes and refactored code for better reusability and extensibility 2023-12-27 14:32:26 +01:00
Elijah 3a7f0a43c5 Fixed control flow bug that creates instances of all models after creating a user or superuser 2023-12-22 11:13:35 +01:00
Elijah 1ef91854a0 Fixed credential table, VerificableCredential description fix pending 2023-12-18 17:55:04 +00:00
Elijah c55db24954 Fixed templates and data admin tables 2023-12-18 17:55:04 +00:00
Elijah dd89997941 Restored Credentials table to old behavior 2023-12-18 17:55:04 +00:00
Elijah 0e4d93652b Added Data table 2023-12-18 17:55:04 +00:00
Elijah b143e5749c Added DID and Services tables 2023-12-18 17:55:04 +00:00
Elijah fa3eeec327 Small refactor so that RolesView doesn't query database twice 2023-12-18 17:55:04 +00:00
Elijah 611a7abf95 Extended tests for User admin table and models 2023-12-18 17:55:04 +00:00
Elijah 4aedfe6a5c Added tests for the User model and view 2023-12-18 17:55:04 +00:00
Elijah 5fcfc86f01 Added Roles table 2023-12-18 17:55:04 +00:00
Elijah 5d934469c2 Updated User management admin table 2023-12-18 17:55:04 +00:00
Cayo Puigdefabregas 5d6580f73f fix validate1 2023-12-18 12:00:00 +01:00
Elijah b72129d627 Added Faker to create_example_data to generate more realistic objects 2023-12-15 17:53:46 +01:00
Cayo Puigdefabregas e551d2aadc fix name 2023-12-15 17:52:23 +01:00
Cayo Puigdefabregas 45f30f3664 new credential membership 2023-12-15 17:52:08 +01:00
Elijah 7a5d42f586 Added commands to create custom user and superuser 2023-12-15 17:33:35 +01:00
Elijah 592b0fd980 Fixed help tooltip to reflect the appropriate information 2023-12-15 14:45:34 +01:00
Elijah c07c53a958 Added custom command to create example data 2023-12-15 14:32:49 +01:00
Cayo Puigdefabregas 8ee3f561a4 use logging correctly 2023-12-15 14:08:03 +01:00
Cayo Puigdefabregas b4b55a811d add more translate sentens 2023-12-14 17:59:40 +01:00
Cayo Puigdefabregas 9ae75b00ab fix translate 2023-12-14 17:15:22 +01:00
Cayo Puigdefabregas a66d9d1b91 fix trans in table 2023-12-14 12:14:14 +01:00
Cayo Puigdefabregas cb1b7de4f6 simplify flow from promotion web 2023-12-13 17:52:18 +01:00
Cayo Puigdefabregas b16cc85cd3 add more initial datas 2023-12-12 18:00:21 +01:00
Cayo Puigdefabregas 40d662f62e fix dids and credentials from the user 2023-12-12 18:00:04 +01:00
Cayo Puigdefabregas 79dcb42c23 fix command initial_datas 2023-12-12 13:26:17 +01:00
Cayo Puigdefabregas 5bb02bc375 integrate more organizations 2023-12-11 20:06:53 +01:00
Cayo Puigdefabregas de3819b234 fixing 2023-12-11 15:38:16 +01:00
Cayo Puigdefabregas 17faf5fff4 sync command 2023-12-11 13:55:56 +01:00
Cayo Puigdefabregas 93557fe277 form of contract 2023-12-11 12:11:18 +01:00
Cayo Puigdefabregas b7dfb6dcfb send vp_token 2023-12-04 10:56:22 +01:00
Cayo Puigdefabregas 501d2b2894 send a verificable presentation 2023-12-04 09:51:08 +01:00
Cayo Puigdefabregas 37908ba1e7 generate presentation, step1 2023-12-01 19:31:09 +01:00
Cayo Puigdefabregas aedd04398d fix merge 2023-12-01 18:20:53 +01:00
Cayo Puigdefabregas 98aecad77b add type in schema model and fix description in credential 2023-12-01 17:50:30 +01:00
Daniel Armengod 20f40b43d0 Refactored all uses of DID.key_material 2023-12-01 07:01:51 +01:00
Daniel Armengod 37dc8335a7 Changed model definitions and added logic to decrypt and set user key in session storage 2023-12-01 06:39:26 +01:00
Cayo Puigdefabregas 8da426ef34 add type in schemas 2023-11-29 17:29:31 +01:00
Cayo Puigdefabregas 89f1668c5c fix response with problems in connections 2023-11-29 13:22:13 +01:00
Cayo Puigdefabregas 4f1a5afea7 first step authorize 2023-11-29 13:21:49 +01:00
Cayo Puigdefabregas 7d477a079b fix view demand authorization 2023-11-29 11:53:30 +01:00
Cayo Puigdefabregas d84ad8f470 first step of oidc 2023-11-28 17:33:24 +01:00
Cayo Puigdefabregas 19e44cf52d demand authorization 2023-11-28 09:39:02 +01:00
Cayo Puigdefabregas d57b3fc02c Merge branch 'main' into oidc4vp 2023-11-27 11:52:48 +01:00
Elahi-cs ae60981a08 Changed testing mail domain to @example.org to avoid potential spamming 2023-11-27 11:26:23 +01:00
Elahi-cs ae7cadb738 Restored People and Roles to the original tables 2023-11-27 11:23:53 +01:00
Cayo Puigdefabregas bc177bbd62 Merge branch 'ssi' into oidc4vp 2023-11-27 09:22:58 +01:00
Daniel Armengod 8566098f2c Added verify_presentation bindings and use them in verification_portal backend 2023-11-27 07:42:12 +01:00
Daniel Armengod 2c4dca40b7 minor changes to verifier 2023-11-27 07:11:39 +01:00
Daniel Armengod 737d2a7dce Verifier portal backchannel endpoint 2023-11-27 07:04:30 +01:00
Daniel Armengod fa5a2d172e Added some VC templates 2023-11-27 05:36:58 +01:00
Cayo Puigdefabregas 7db6d1f4e3 add oidc4vp module 2023-11-24 16:36:05 +01:00
Elijah f25cee86c8 Added tests for Admin Dashboard model, view, template, and table 2023-11-24 15:23:59 +01:00
Elijah de56631778 Added tests for Admin Dashboard model, view, template, and table 2023-11-24 15:23:48 +01:00
Elijah ffa582f609 Changed admin dashboard column names to reflect recent changes in main 2023-11-24 13:04:17 +01:00
Elijah 3192694fba Stylized paginator buttons 2023-11-24 12:19:27 +01:00
Elijah d2f8fcd56a Fixed missing table in RolesView 2023-11-23 18:38:09 +01:00
Elijah de5f96afb8 Added styling to the tables with new functionality so they resemble the existing tables 2023-11-22 19:48:15 +01:00
Elijah 4efe97d6e4 Added pagination and column sorting to the admin dashboard, User, and Roles tables 2023-11-22 19:46:36 +01:00
Cayo Puigdefabregas b279ab94d6 translate button Cancel 2023-11-22 15:05:46 +01:00
Cayo Puigdefabregas f8a0df2ca2 change profile icon 2023-11-22 15:05:05 +01:00
Cayo Puigdefabregas c617e20ca4 trast icon instead of x-circle 2023-11-22 13:22:10 +01:00
Cayo Puigdefabregas 12e5013ffc more big font for nva-link 2023-11-22 13:21:36 +01:00
Cayo Puigdefabregas 975aa2b7ff remove button of add template 2023-11-22 12:53:46 +01:00
Cayo Puigdefabregas 4a884fa00d eye instead of button view 2023-11-22 12:53:10 +01:00
Cayo Puigdefabregas 6f29ce32fa fix redirect to schemas page 2023-11-22 12:52:40 +01:00
Cayo Puigdefabregas 08693acb57 change eye for button view 2023-11-22 12:25:23 +01:00
Cayo Puigdefabregas 10ea4a18a8 fix trans 2023-11-22 12:24:56 +01:00
Cayo Puigdefabregas 6bf642c720 fix some things 2023-11-22 11:18:47 +01:00
Cayo Puigdefabregas 5ac3790588 fix login admin 2023-11-21 15:20:15 +01:00
Cayo Puigdefabregas b3cd5e656d login admin to admin_dashboard 2023-11-21 14:45:37 +01:00
Cayo Puigdefabregas 408937318e fix import data 2023-11-21 14:37:12 +01:00
Cayo Puigdefabregas bb657f3488 fixing translate 2023-11-21 12:38:12 +01:00
Cayo Puigdefabregas ed1f36c1a1 fix schema credential and csv examples 2023-11-21 10:00:59 +01:00
Cayo Puigdefabregas 821b6d3889 fix credentials <-> schemas 2023-11-21 08:58:25 +01:00
Elijah d70f4cf4bb Updated admin event dashboard to show verbose names for event types 2023-11-17 15:44:40 +01:00
Cayo Puigdefabregas 366522938f fix send_mail 2023-11-16 14:30:19 +01:00
Cayo Puigdefabregas 4120d0230b fix dates with end_date empty 2023-11-16 14:17:19 +01:00
Cayo Puigdefabregas 88b1ea171c fix utc time 2023-11-15 11:52:19 +01:00
Cayo Puigdefabregas 72a356ffc8 issue real credentials 2023-11-15 11:43:13 +01:00
Cayo Puigdefabregas dc887c98c2 create a pre-credential 2023-11-14 18:50:23 +01:00
Cayo Puigdefabregas 2df87faf80 add idhub_ssikit in utils 2023-11-14 18:12:34 +01:00
Cayo Puigdefabregas 28796e9df3 resolve conflict 2023-11-14 17:57:48 +01:00
Cayo Puigdefabregas 745afdea2c fix issue dates 2023-11-14 17:45:08 +01:00
Cayo Puigdefabregas 22e88c5798 migratioins 2023-11-14 17:01:03 +01:00
Cayo Puigdefabregas 4cb5c638a3 fix restrictions 2023-11-14 15:55:17 +01:00
Cayo Puigdefabregas 6cf289f5b1 new way for to get a new did 2023-11-14 09:48:36 +01:00
Cayo Puigdefabregas add3747321 resolve conflict and DIDControllerKey into DID 2023-11-14 09:11:16 +01:00
Cayo Puigdefabregas b178f3460a update mildred review 2023-11-13 18:09:37 +01:00
Cayo Puigdefabregas 5c08cd2c3d fix more translate 2023-11-13 11:12:40 +01:00
Cayo Puigdefabregas a6d5fc8c86 fix translate 2023-11-13 10:15:52 +01:00
Cayo Puigdefabregas 2d5077129d fix translate 2023-11-10 16:22:41 +01:00
Daniel Armengod 628ca0554d Pushed ssi functionality to idhub repo 2023-11-10 06:48:52 +01:00
Cayo Puigdefabregas 7096e97c39 disable form of user profile 2023-11-09 18:09:10 +01:00
Cayo Puigdefabregas 35d7f014be add events of the system 2023-11-09 17:58:06 +01:00
Cayo Puigdefabregas d154617ca3 refactor form import csv 2023-11-08 11:24:37 +01:00
Cayo Puigdefabregas f1c9608ca9 add locale var in settins 2023-11-08 11:23:53 +01:00
Cayo Puigdefabregas 0602fba6d4 add utils as credtools 2023-11-07 17:44:15 +01:00
Cayo Puigdefabregas 686cf182e4 add initial datas from envs vars 2023-11-07 17:43:23 +01:00
Cayo Puigdefabregas d581ce0a19 add revoke and cancel credentials 2023-11-03 17:10:09 +01:00
Cayo Puigdefabregas f7f13bbea7 add download credential 2023-11-03 16:42:45 +01:00
Cayo Puigdefabregas f00285624f remove did of Did forms 2023-11-03 16:27:40 +01:00
Cayo Puigdefabregas 82a67fe3ab add command initial datas 2023-11-03 13:29:15 +01:00
Cayo Puigdefabregas 8185c280d5 fix form presentation 2023-11-03 11:44:58 +01:00
Cayo Puigdefabregas e2d70f83e2 add presentation credential 2023-11-02 17:13:49 +01:00
Cayo Puigdefabregas 60efbf4a25 add formular for required credential 2023-11-02 14:17:07 +01:00
Cayo Puigdefabregas f3a971a656 fix schema form import 2023-11-02 10:59:15 +01:00
Cayo Puigdefabregas 734d7aab23 fix 2023-10-31 17:07:43 +01:00
Cayo Puigdefabregas ad8fd797d2 add status in model 2023-10-31 11:48:22 +01:00
Cayo Puigdefabregas 028770a52c add admin credentials view 2023-10-31 10:59:19 +01:00
Cayo Puigdefabregas 2ca1663e90 request credential 2023-10-30 18:29:21 +01:00
Cayo Puigdefabregas ef476773ac user credentials view 2023-10-30 13:53:19 +01:00
Cayo Puigdefabregas 33f51fcdbc add user dids management 2023-10-27 11:19:10 +02:00
Cayo Puigdefabregas 29e5e66c5f add method un did model 2023-10-26 18:09:07 +02:00
Cayo Puigdefabregas 0d61d8c7de management of organization dids 2023-10-26 18:06:52 +02:00
Cayo Puigdefabregas 6db0090bfe add view list of credentials 2023-10-26 13:33:13 +02:00
Cayo Puigdefabregas 4eb02e9218 add User model custumized 2023-10-25 17:49:17 +02:00
Cayo Puigdefabregas ae48e75133 add import datas 2023-10-25 12:18:42 +02:00
Cayo Puigdefabregas e7e17496d5 rebuild flow of import datas 2023-10-24 14:08:24 +02:00
Cayo Puigdefabregas 26a11fd84c add import datas 2023-10-23 19:24:48 +02:00
Cayo Puigdefabregas e292caf85f add upload schema system 2023-10-22 20:01:41 +02:00
Cayo Puigdefabregas 5fbffa873c save a standar schema 2023-10-20 16:50:53 +02:00
Cayo Puigdefabregas acad550dd0 add multiselect for roles in services 2023-10-19 15:20:06 +02:00
Cayo Puigdefabregas 88675bc807 fix reset password 2023-10-19 13:11:15 +02:00
Cayo Puigdefabregas c539e85fd2 add roles info in user roles page 2023-10-19 10:29:12 +02:00
Cayo Puigdefabregas fc226bd5df send email for put your password 2023-10-18 17:30:11 +02:00
Cayo Puigdefabregas e402bb1357 icon foto 2023-10-18 11:24:50 +02:00
Cayo Puigdefabregas fcd1316872 add userRol 2023-10-17 17:42:48 +02:00
Cayo Puigdefabregas d9ec205c4e add services 2023-10-17 15:49:56 +02:00
Cayo Puigdefabregas b4074005b4 add roles management 2023-10-17 13:40:34 +02:00
Cayo Puigdefabregas 021410e316 edit and delete memberships 2023-10-17 10:53:03 +02:00
Cayo Puigdefabregas a43b522faf add registar of membership 2023-10-16 19:08:18 +02:00
Cayo Puigdefabregas e3ac939afc fix messages system 2023-10-13 21:04:44 +02:00
Cayo Puigdefabregas 9ad6be8db6 create a new user and edit it 2023-10-13 13:37:26 +02:00
Cayo Puigdefabregas e0cceda122 add deactivate user and delete user 2023-10-13 12:35:06 +02:00
Cayo Puigdefabregas 39b8ab53bc add admin view user 2023-10-11 18:08:20 +02:00
Cayo Puigdefabregas 6491760abc add admin user list 2023-10-11 16:23:45 +02:00
Cayo Puigdefabregas c17e0341ee add form for editing profile 2023-10-11 09:52:05 +02:00
Cayo Puigdefabregas 6cef5e4eb2 Merge branch 'main' into feature/profile 2023-10-10 17:26:48 +02:00
Cayo Puigdefabregas 97afef9ac0 fix user dashboard 2023-10-10 10:54:13 +02:00
Cayo Puigdefabregas b0f3e54ea1 form profile 2023-10-10 10:52:04 +02:00
Daniel Armengod 4226683c84 merged walletkit/ssikit api bindings 2023-10-10 08:55:53 +02:00
Daniel Armengod 841e01e36c merged from base 2023-10-10 08:46:30 +02:00
Daniel Armengod 604f450ca6 Initialized walletkit/ssikit python api 2023-10-10 08:43:08 +02:00
Cayo Puigdefabregas 2b833fa72a fix accordion wallet 2023-10-09 18:38:28 +02:00
Cayo Puigdefabregas af453ba185 fix accordion 2023-10-09 18:17:50 +02:00
Cayo Puigdefabregas 1f2dab2fe9 fix icon 2023-10-09 18:12:18 +02:00
Cayo Puigdefabregas 2d4af14b75 admin sections 2023-10-09 17:59:15 +02:00
Cayo Puigdefabregas f96f8db957 creating user sections base 2023-10-09 13:43:34 +02:00
Cayo Puigdefabregas 7253ed80a7 refactory 2023-10-09 11:44:26 +02:00
Cayo Puigdefabregas 0d88f03355 allow go to admin dashboard only to supersusers 2023-10-09 11:28:06 +02:00
Cayo Puigdefabregas 8c0cb82e90 redirect index to login 2023-10-09 11:24:11 +02:00
Cayo Puigdefabregas 4a4fea1464 add logout 2023-10-09 10:55:50 +02:00
Cayo Puigdefabregas d0926a8f86 add login 2023-10-09 10:49:56 +02:00
Cayo Puigdefabregas 73303bdd8f add admin template and buttons 2023-10-05 12:14:33 +02:00
Daniel Armengod 1f959f9fe2 Merged conflicts from templates branch 2023-10-03 06:01:54 +02:00
Daniel Armengod 29fd0aedeb Checkpoint 2023-10-03 05:47:00 +02:00
Cayo Puigdefabregas 86984bf0be first iteration over templates 2023-10-02 17:49:33 +02:00
Cayo Puigdefabregas f619a43dcc step 1 2023-09-29 18:07:45 +02:00
Cayo Puigdefabregas 1f31234716 my skeleton 2023-09-29 18:06:17 +02:00
Daniel Armengod 8f04bc16db temporal push to share progress 2023-09-28 11:01:14 +02:00
Daniel Armengod 05cad79560 Started django project + first HTML render 2023-09-26 09:15:28 +02:00