Commit Graph
3558 Commits
Author SHA1 Message Date
Tomaž Jerman 0bef905c62 Tweak rv sanitizer->value expression interaction
When record value expression returns null the value gets omitted.
Tweak value sanitizer logic for more consistency.
2022-07-18 10:02:02 +02:00
Denis Arh f2a4601ce3 Refactored credential handling 2022-07-14 20:57:56 +02:00
Peter Grlica b44024fb31 Forbid password reuse 2022-07-14 20:23:12 +02:00
Tomaž Jerman 1bdf2b59aa Add content-type header for generated config.js 2022-07-14 13:53:06 +02:00
Denis Arh 480e70e8bd Handle new auth options for signature algo & key 2022-07-14 12:01:40 +02:00
Denis Arh 8e421269b1 Move auth initialization steps to a dedicated initAuth boot fn 2022-07-14 11:12:49 +02:00
Denis Arh ec32e9f3df Cleanup token issuer (auth) code 2022-07-14 11:10:55 +02:00
Denis Arh 72fea0f8b3 Additional integration tests for record reporter 2022-07-14 07:27:47 +02:00
Jože Fortun 4c99df492c Update corteza-locale dep 2022.3.4-rc.2 2022-07-13 15:11:57 +02:00
Vivek Patel 25ebf756e2 Update discovery unsigned_long mapping type to long
It fixes issue with open search container, since it does not support unsigned_long type yet.
Also, fixes mapping list and excludes all disabled resource mappings.
2022-07-12 15:48:43 +05:30
Denis Arh ba56a53e8a Support for dimension step translations on charts 2022-07-11 18:11:33 +02:00
Jože Fortun 3c9989754b Update corteza-locale dep 2022.3.4-rc.1 2022-06-29 15:42:23 +02:00
Vivek Patel 9b424a6071 Add validation for password while updating system settings
Also, adds setting actions file and updated all settings errors to translated error
2022-06-29 17:18:37 +05:30
Vivek Patel 5999c70f95 Add sonarqube GitHub build action 2022-06-24 12:56:07 +05:30
Tomaž Jerman d65a767e94 Improve multivalue field support for report load step
Same behavour as with record lists where the module field delimiter
is used.
2022-06-22 14:35:21 +02:00
Peter Grlica 378d0f2606 Removed required status on fields in record delete
Delete record workflow function removed required field status on
namespace and module.
2022-06-22 10:13:03 +02:00
Jože Fortun ebbfedfc42 Update corteza-locale dep 2022.3.3 2022-06-21 15:45:19 +02:00
Vivek Patel 1f657b3a69 Fix duplicate migration RBAC rule issue
It was caused by when rule is migrated to proper format, but it already exists in RBAC rules table
2022-06-21 15:45:19 +02:00
Vivek Patel fc271a2acb Add nil checks to envoy for compose_chart
Fix panics while exporting namespace with invalid compose chart
2022-06-15 18:20:23 +05:30
Vivek Patel aef3171a23 Fix length check of triggers before WF exec
It fixes issue with multiple triggers in same WF but only one trigger having child steps and other triggers without any child, so it was using first trigger fetched from store as execution step(trigger).
2022-06-14 16:09:40 +05:30
Vivek Patel f310442a88 Improves migration of rbac compose record rules 2022-06-13 13:23:59 +05:30
Tomaž Jerman 416a7ec7cb Add a temporary fix to grouping records with multi-value fields
Use a distinct count over primary key.
2022-06-10 09:40:34 +02:00
Tomaž Jerman e7c1fe1107 Rework pkg/envoy rbac & res. tr. with new resource index struct 2022-06-09 15:21:27 +02:00
Tomaž Jerman 0466ffeebc Rework pkg/rbac with new resource index struct 2022-06-09 15:14:34 +02:00
Tomaž Jerman a68ddf1f2a Add a resoruce indexing utility struct
The struct indexes resources which lowers set search complexity
from linear to constant.
2022-06-09 15:04:11 +02:00
Tomaž Jerman f9e9433bcd Make value validators properly translate error messages 2022-06-08 14:04:21 +02:00
Tomaž Jerman 05b97eefd0 Rework YAML setting unmarshling for more flexibility
Allow settings to use JSON values, use recursive
value decoding for nested structures.
2022-06-07 15:17:03 +02:00
Tomaž Jerman c1500df2da Perform initial password validation sooner
Avoid user creation in case things are not yet validated.
2022-06-06 16:03:35 +02:00
Jože Fortun 40a6630e9b Update corteza-locale dep 2022.3.3-rc.1 2022-06-01 16:01:41 +02:00
Vivek Patel 563a73c6c7 Refactored migration of rbac resource rules 2022-06-01 15:52:16 +05:30
Tomaž Jerman 71359030bc Fix improper field expression context
The update field expression context omitted the old record value.
2022-05-31 17:24:42 +02:00
Denis Arh 2ff1108626 Prevent nil pointer dereference inside corredor healthcheck 2022-05-25 15:49:36 +02:00
Peter Grlica 798c31e189 Fixed federation uri node generation 2022-05-25 08:45:28 +02:00
Denis Arh ad53ea9499 Fix hide/show for remember-me button on login screen 2022-05-24 14:25:08 +02:00
Denis Arh 6364cb50d2 Merge branch '2022.3.x-fix-auth-lifetime-issue' into 2022.3.x 2022-05-24 10:44:06 +02:00
Denis Arh 5fd5b93fe4 Fix session & cookie exp. setting logic
Ensures that cookies on non-permanent login are set without max-age to
ensure removal when browser/tab is closed.

Sessions stored in the database are now updated and expiration value
slides forward in time with every activity from the user.
2022-05-24 10:43:29 +02:00
Denis Arh e626bcd776 Deprecate/remove AUTH_JWT_EXPIRY
JWT expiration is now controled via AUTH_OAUTH2_ACCESS_TOKEN_LIFETIME
2022-05-24 10:43:29 +02:00
Denis Arh 54fffd01c4 Include web console bundle into server build
Add caching between github build steps to transfer
bundled web console files to steps where server is built.
2022-05-24 10:41:22 +02:00
Denis Arh d8e57b1cfe Fix infinite loop alert webconsole when offline
Prevent webconsole to flood browser with alert windows when
backend is no longer reachable.
2022-05-24 10:40:34 +02:00
Tomaž Jerman f726d3f5cd Add content type assertion fallback for JSON file imports 2022-05-23 13:47:20 +02:00
Katrin Yordanova b7d8ec168d Add cypress ids to auth/templates 2022-05-20 18:36:58 +03:00
Vivek Patel b6d13d90c7 Fix pagination issue in migration of rbac resource rules 2022-05-20 18:27:39 +05:30
Denis Arh 1a07537f46 Lock cue version to v0.4.2 2022-05-19 16:44:57 +02:00
Denis Arh 7f84994bfe Update description of AUTH_*_LIFETIME options 2022-05-19 14:28:12 +02:00
Jože Fortun 157ef1e29f Update corteza-locale dep 2022.3.2 2022-05-18 15:54:44 +02:00
Vivek Patel 1786eda8c5 Fix migration of rbac resource rules 2022-05-18 12:47:15 +05:30
Peter Grlica 898da714a6 Removed unnecessary queue consumer property 2022-05-18 08:31:24 +02:00
Peter Grlica 5ddddf8121 Fixed route search in admin 2022-05-16 15:53:57 +02:00
Peter Grlica e6a0b0f659 Fixed queue search in admin 2022-05-16 14:17:17 +02:00
Tomaž Jerman d4c9243648 Fix resource translations not removed when deleting field hint/description 2022-05-16 12:55:21 +02:00