Commit graph

401 commits

Author SHA1 Message Date
Cayo Puigdefabregas 01eb3b3468 fix bug about session without logout 2024-01-30 19:35:29 +01:00
Cayo Puigdefabregas 937e681afb add name in tables instad of _name 2024-01-30 18:58:25 +01:00
Cayo Puigdefabregas 946bde01ab fix tests 2024-01-29 12:05:23 +01:00
Cayo Puigdefabregas 81c4fea7f5 fix exception 2024-01-29 12:05:07 +01:00
Cayo Puigdefabregas 79a2dfd13b fix credentials templates 2024-01-25 11:55:28 +01:00
Cayo Puigdefabregas f8574569ac fix vp with new type in credentials 2024-01-24 16:53:19 +01:00
Cayo Puigdefabregas 60ede69ad3 Merge branch 'main' of gitea.pangea.org:trustchain-oc1-orchestral/IdHub 2024-01-24 16:10:17 +01:00
Cayo Puigdefabregas b6360f27fc fix bug about type of credentials 2024-01-24 16:10:10 +01:00
pedro 39541f50d9 docker: code that facilitates deploy of pilots
- new env var SYNC_ORG_DEV (which is by default 'y'); useful
  for idhub devs
- new env var ORG_FILE; useful in docker to specify org examples file
  per pilot
- add all examples files for each org in pilot that needs it
2024-01-24 14:41:06 +01:00
Cayo Puigdefabregas d4777cfa51 update migrations 2024-01-22 18:13:28 +01:00
Cayo Puigdefabregas 19fa84e45e fix descriptions, names and jsons 2024-01-22 18:13:06 +01:00
Cayo Puigdefabregas f866bcffc2 fix import user 2024-01-22 16:00:15 +01:00
Cayo Puigdefabregas d7938b6981 add migrations 2024-01-22 16:00:05 +01:00
Elijah 0c45d05fdd Fixed conflict for the Schemas.name getter 2024-01-22 15:08:01 +01:00
Cayo Puigdefabregas f39c915c9c resolve conflict step1 2024-01-22 14:04:06 +01:00
Elijah d937f8939b Reset release migrations 2024-01-22 13:16:54 +01:00
Cayo Puigdefabregas 25434661dc change PLACEHOLDER in creds for the correct value 2024-01-22 12:00:41 +01:00
Cayo Puigdefabregas c31b3cf3b2 add more credentials type 2024-01-21 21:08:43 +01:00
Cayo Puigdefabregas b79df7333f add generate user automaticaly from excel 2024-01-21 20:33:57 +01:00
Cayo Puigdefabregas 363944c8fe fix command initial data 2024-01-21 13:46:01 +01:00
Cayo Puigdefabregas b63060ad31 add EV_USR_SEND_VP 2024-01-21 13:45:34 +01:00
Cayo Puigdefabregas 06cc971090 fix space between form and reset password 2024-01-21 13:44:07 +01:00
Cayo Puigdefabregas 4050892aa9 fix type for oidc4vp 2024-01-21 13:43:29 +01:00
Cayo Puigdefabregas a4e6e42d34 fix duplicated functions 2024-01-20 15:53:10 +01:00
Cayo Puigdefabregas 79b53aaa1f rebuild migrations 2024-01-20 15:29:26 +01:00
Cayo Puigdefabregas a93563a5d0 resolve conflict 2024-01-20 15:28:42 +01:00
Cayo Puigdefabregas eaca0e793a clean template dirs 2024-01-20 15:08:58 +01:00
Cayo Puigdefabregas c577dd975c first page for accept terms and conditions 2024-01-20 15:06:30 +01:00
Cayo Puigdefabregas 8c5e6302b6 add 403 exception for bad access 2024-01-20 12:26:19 +01:00
Cayo Puigdefabregas be985b52e7 delete verification_portal 2024-01-20 11:10:05 +01:00
Cayo Puigdefabregas 596b8eecd7 view for doble factore sending email 2024-01-19 20:37:17 +01:00
Cayo Puigdefabregas b9d596301d add doble factor of authentication for admin user 2024-01-19 20:33:28 +01:00
Cayo Puigdefabregas b031f2ac08 admin2fauth 2024-01-19 10:59:35 +01:00
Cayo Puigdefabregas 6babea9f55 drop search box 2024-01-19 09:11:02 +01:00
Cayo Puigdefabregas c5ae51bee9 fix some things 2024-01-18 20:32:40 +01:00
Cayo Puigdefabregas baa909ed94 filter request credentials if admin is not validated 2024-01-18 18:36:41 +01:00
Cayo Puigdefabregas c76ed799be resolve super conflict 2024-01-18 15:09:19 +01:00
Cayo Puigdefabregas 39197bc3e5 rebuild migrations 2024-01-17 18:42:44 +01:00
Cayo Puigdefabregas fa3ae3dbe8 fix url dids 2024-01-17 18:42:15 +01:00
Cayo Puigdefabregas 646831a55e resolve merge conflicts 2024-01-17 14:11:47 +01:00
Cayo Puigdefabregas 9f2abf6a04 fix 2024-01-17 13:43:40 +01:00
Cayo Puigdefabregas 1e4323673c encrypt admin dids with secret_key 2024-01-17 12:40:54 +01:00
Cayo Puigdefabregas 7a9017563a resolve conflicts 2024-01-17 11:30:56 +01:00
Cayo Puigdefabregas 79cd9bd6e7 resolve merge 2024-01-16 14:05:28 +01:00
Cayo Puigdefabregas 1453ddf451 fix some things 2024-01-16 14:01:15 +01:00
Cayo Puigdefabregas 01bc21d1a4 add field type in form 2024-01-16 14:00:59 +01:00
Cayo Puigdefabregas 72a895a6de rebuild migrations 2024-01-16 14:00:28 +01:00
Cayo Puigdefabregas 47cf19f129 add new field type in model DID 2024-01-16 14:00:05 +01:00
Cayo Puigdefabregas 9d3b33db28 add new credentials 2024-01-15 19:11:22 +01:00
Cayo Puigdefabregas 01d9d0d189 fix initial_datas 2024-01-15 19:10:55 +01:00
Daniel Armengod c0dba1c423 Infraestructura para usar didweb 2024-01-15 10:34:42 +01:00
Cayo Puigdefabregas 336a2148f2 fix of schema 2024-01-12 21:32:26 +01:00
Cayo Puigdefabregas bf68d7e741 Merge branch 'main' into new_credentials 2024-01-12 20:09:33 +01:00
Cayo Puigdefabregas 16ea7631dc filter_dict and new template membership 2024-01-12 20:09:19 +01:00
Cayo Puigdefabregas cf49672232 fix buttons of credential 2024-01-12 17:34:45 +01:00
Cayo Puigdefabregas eca9e6a19c fix domain in url in certificate pdf 2024-01-12 17:30:27 +01:00
Cayo Puigdefabregas a0bd339ab5 Merge branch 'main' into pilot-lafede 2024-01-12 17:22:55 +01:00
Cayo Puigdefabregas d018c46bf4 fix problems with login 2024-01-12 17:22:28 +01:00
Cayo Puigdefabregas f54a6f9729 . 2024-01-12 14:27:19 +01:00
Cayo Puigdefabregas 2df5b42610 add url public for get a credential with hash 2024-01-11 12:21:32 +01:00
Cayo Puigdefabregas 6505d8e6b3 Merge branch 'main' into pilot-lafede 2024-01-10 19:12:38 +01:00
Cayo Puigdefabregas 1c37368d1f fix url in id of credential 2024-01-10 19:11:22 +01:00
Cayo Puigdefabregas 139cae7c87 excel or ods format for upload datas 2024-01-10 18:35:12 +01:00
Cayo Puigdefabregas e520e42fca add template of pdf certificate 2024-01-10 13:55:43 +01:00
Cayo Puigdefabregas c836112f36 sig credential in pdf 2024-01-10 13:53:43 +01:00
Cayo Puigdefabregas 0ec40f66eb add sign of pdf 2024-01-08 20:11:41 +01:00
Cayo Puigdefabregas cb9ef0b608 fix issue dids and credentials 2024-01-06 19:18:59 +01:00
Cayo Puigdefabregas 5dc1577d9e encripted y download credential 2024-01-04 21:11:11 +01:00
Elijah ea8230335f Fixed sorting on user roles table 2024-01-04 20:53:51 +01:00
Elijah a6b6080e7d Fixed broken imports after rebase 2024-01-04 20:53:49 +01:00
Elijah d0e31ab99b Refactored Schemas and VerificableCredentials models to get the Schema template description on object creation 2024-01-04 20:53:18 +01:00
Elijah 5a2e656536 Corrected small description bug in user credentials table 2024-01-04 20:44:23 +01:00
Elijah b76d71c08f Fix credentials not showing in user table 2024-01-04 20:44:23 +01:00
Elijah 01fb0bcaef Added pagination and sorting to the user profile, roles, dids and credential tables 2024-01-04 20:44:23 +01:00
Elijah 68366421bf Added sorting and pagination to the user dashboard table 2024-01-04 20:44:23 +01:00
Cayo Puigdefabregas 10c6d20a10 fix command initial datas 2024-01-04 19:17:18 +01:00
Cayo Puigdefabregas 87776751a4 resolve conflicts 2024-01-04 18:00:24 +01:00
Cayo Puigdefabregas e910f3ceec make migrations and fix some things 2024-01-04 16:27:27 +01:00
Elijah 74d3e92fcd Fixed error on sorting template names and descriptions 2024-01-04 14:38:59 +01:00
Cayo Puigdefabregas bd84dbc3bb encripted in reset password 2024-01-04 12:43:24 +01:00
Cayo Puigdefabregas f62348dcdb fix perpetual key in cache 2024-01-03 20:14:04 +01:00
Cayo Puigdefabregas 3655291dc6 fix timeout 2024-01-03 19:55:04 +01:00
Cayo Puigdefabregas c671ac489f change settings for cache 2024-01-03 19:53:11 +01:00
Elijah 644edab35a Fixed bug of template management columns giving error on sort 2024-01-03 19:10:20 +01:00
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