Commit Graph
3579 Commits
Author SHA1 Message Date
Peter Grlica 0466fb38fd Replace schema on logout backlink
Replace string on back link
 - removes any chars before //
 - adds additional `//` in front of the string, removing any javascript
   calls
2022-10-12 13:01:49 +02:00
Vivek Patel be1e0352e9 Add fallback values on error for signup
Also, fixes redirection on error on auth handler
2022-10-07 18:34:54 +05:30
Vivek Patel 9ad5b36caf Add nil check for Vars methods
Fix nil pointer error while calling Vars method with nil Vars, that caused due to 1st statement in method was locking the Vars and expecting the mux preset in given Vars.
2022-10-04 17:18:44 +05:30
Denis Arh 26e434f038 Fix crash in attachment handling when we close on error 2022-09-30 16:15:19 +02:00
Denis Arh 651993b65d Add support for min upper/lower-case password constraints 2022-09-28 13:51:49 +02:00
Denis Arh 8357b81580 Fix unclosed file-handles (attachments) #410 2022-09-28 07:04:47 +02:00
Tomaž Jerman 84e2ff1b09 Fix improper compose attachment MIME type validation
Rely more on the MIME type detection library to handle edge cases.
The validation failed because some cases included char. encoding.
2022-09-23 15:13:57 +02:00
Jože Fortun 140ba61be7 Update corteza-locale dep 2022.3.5 2022.3.5-rc.2 2022-09-15 15:15:17 +02:00
Tomaž Jerman 11dfd0abaf Fix role unarchiving caused by updatng wrong vars 2022-09-13 10:08:19 +02:00
Jože Fortun 7b6e2c12f4 Update corteza-locale dep 2022.3.5-rc.1 2022-09-06 14:03:20 +02:00
Tomaž Jerman fe464c4be0 Fix reports table upgrade with scenarios column breaking 2022-08-29 20:47:51 +02:00
Denis Arh f7d10158ac Access token no longer removed on own pwd change 2022-08-24 09:51:53 +02:00
Peter Grlica 68037947bc Fixed apigw payload processer invalid function registration 2022-08-22 14:41:33 +02:00
Denis Arh a2cea1c0c9 Fix button translations on record-list block 2022-08-21 17:35:45 +02:00
Vivek Patel ff40937eee Fix SMTP values in settings on server restart
It addresses issue with SMTP_* setting value, which were overwritten by values from env on server restart and also, removed default value of SMTP_HOST and SMTP_PORT, which were also causing the same issue.
2022-08-04 18:10:47 +05:30
Denis Arh 2521ac9328 Fix Join-Gateway step scope corruption 2022-08-03 12:34:24 +02:00
Denis Arh bc62f74ec4 Workflow sessions can be canceled via API 2022-08-03 12:32:26 +02:00
Denis Arh 132948aa73 Return workflow session ID when executing wf
It also fixes missimplemented async exec.
2022-08-03 12:32:26 +02:00
Thibaut 5ccd682b09 call proc function after loading module fields 2022.3.4 2022-07-22 10:39:26 +02:00
Vivek Patel 69b65b5ae4 Fix test notification cli command
Also, addresses issue with SMTP_* env vars value, which were ignored on server startup.
2022-07-21 16:30:07 +05:30
Denis Arh b8ad97edca Fix chart translations 2022-07-21 11:08:28 +02:00
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