Commit graph

364 commits

Author SHA1 Message Date
Daniel Armengod 9f40c8c88d Complete support for revocation 2024-02-05 19:48:03 +01:00
Cayo Puigdefabregas 7d4a3d3e60 change read privacy for Privacy 2024-02-05 14:58:54 +01:00
Cayo Puigdefabregas 0018932999 change issues #104 2024-02-05 12:27:45 +01:00
Cayo Puigdefabregas a09d969dba add terms and conditions for admin too 2024-02-05 12:25:02 +01:00
Cayo Puigdefabregas 2d4273032c fix upload excel 2024-02-02 18:01:59 +01:00
Cayo Puigdefabregas 426ddf9aaa fix schema loads 2024-02-02 16:16:35 +01:00
Cayo Puigdefabregas 18d26de9ce fix reset password 2024-02-02 15:40:52 +01:00
Cayo Puigdefabregas 04fda4e9bc fix eye for credential user table 2024-02-02 10:12:11 +01:00
Daniel Armengod 19183b9f86 Soporte para revocación
Falta de alguna manera especificar cuando se crean los did:web, que son prerequisito para revocar credenciales
2024-02-01 21:19:07 +01:00
Cayo Puigdefabregas f060434660 Merge branch 'main' of gitea.pangea.org:trustchain-oc1-orchestral/IdHub 2024-02-01 13:32:35 +01:00
Cayo Puigdefabregas fb41f1b2fe add 3 checkbox for terms and conditions 2024-02-01 13:32:28 +01:00
Daniel Armengod e7f6153c62 Initial support for revocation of Verifiable Credentials 2024-01-31 10:54:40 +01:00
Elijah 4196af9b3f Fix admin template table name and description ordering bug 2024-01-31 10:47:05 +01:00
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