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
Tomaž Jerman
1c6b793782
Fix lapsus with module field res. tr. encoding/decoding pt. 2
2022-05-16 12:54:45 +02:00
Tomaž Jerman
b135287197
Add missing page button config for create/update svc
2022-05-16 12:18:53 +02:00
Tomaž Jerman
07c409ec76
Cover PGSQL date format edgecase for '%dT%H
...
This format combination produces an invalid output; the T needs
to be escaped.
This "trick" will do for now.
2022-05-10 16:00:26 +02:00
Tomaž Jerman
e7d3df1972
Fix auth refresh token configuration
...
Prior version didn't push refresh exparation forward so
an expired refresh token could be issued.
2022-05-10 11:02:21 +02:00
Denis Arh
d280fc77df
Fix loading of scenarios in auth dev-mode
2022-05-09 19:58:47 +02:00
Denis Arh
c5e45cb63e
Fix warning on http file server tests
2022-05-09 17:20:39 +02:00
Denis Arh
f7daf1f328
Make settings decoding more robust (numbers & strings)
2022-05-09 17:20:03 +02:00
Tomaž Jerman
7fbaf94719
Fix lapsus with module field res. tr. encoding/decoding
2022-05-09 15:46:00 +02:00
Vivek Patel
e7ed1d8271
Fix resource activity log store yaml
2022-05-09 16:39:52 +05:30
Peter Grlica
d5436ccecb
Moved gin-bin to build
2022-05-05 19:58:56 +02:00
Jože Fortun
bcf756f94a
Update corteza-locale dep
2022-05-05 14:03:25 +02:00
Peter Grlica
ab248fe133
Fix peer-closed connection error
2022-05-04 12:45:40 +02:00
Peter Grlica
0c49832edf
Handle email confirmation token correctly
2022-05-04 11:04:11 +02:00
Peter Grlica
5d3c669292
Updated snapshot action for GH
2022-05-04 08:16:55 +02:00
Vivek Patel
889f11aa94
Add rest endpoints for chart translations
...
It allows saving/updating yAxis label and metric label translations
2022-04-29 14:49:00 +05:30
Tomaž Jerman
82ef6a9638
Add missing access control for NS dup
2022-04-28 15:55:11 +02:00
Tomaž Jerman
ea4f159cc2
Merge branch '2022.3.x-ns-impexp' into 2022.3.x
2022-04-28 14:29:28 +02:00
Tomaž Jerman
b821b76903
Refactor NS clone to reuse export/import core
2022-04-28 14:29:11 +02:00
Tomaž Jerman
1a46941478
Fix resource.Ref eq. check to properly handle wildcard paths
2022-04-28 14:29:11 +02:00
Tomaž Jerman
f6541c3a76
Refactor NS import/export for above changes
2022-04-28 14:29:10 +02:00
Tomaž Jerman
951141eb74
Improve resource referencing
...
* Use Ref structs to allow for more context
* Assure constraints
2022-04-28 14:29:10 +02:00
Tomaž Jerman
207553db48
Add additional utilities to work with resources
2022-04-28 14:29:10 +02:00
Vivek Patel
74f9bd16aa
Add env options to enable/disable Compose record action log
...
It will enable/disable action log entry for compose record create, update or delete.
2022-04-27 11:59:00 +05:30