3
0

742 Commits

Author SHA1 Message Date
Tomaž Jerman
4da147ec1a Update pkg/locale to support resource translations 2021-09-22 11:26:14 +02:00
Tomaž Jerman
7e5ac41513 Fix improper language tag defaulting 2021-09-22 11:26:14 +02:00
Tomaž Jerman
7422b8be6b Allow single letter REST API param names 2021-09-22 11:26:14 +02:00
Denis Arh
1b3a811cfd Add resource limiting for users 2021-09-22 07:16:40 +02:00
Tomaž Jerman
a343da12cf Reporting join step cleanups/refactoring 2021-09-19 13:43:54 +02:00
Denis Arh
98eda7d474 Fix broken auth tests, optimize how locale is passed on 2021-09-18 05:57:42 +02:00
Tomaž Jerman
69b087549b Remove duplicate records with multi value fields 2021-09-17 12:00:14 +02:00
Denis Arh
3113257097 Implements language selector and some lang list improvements 2021-09-17 01:17:44 +02:00
Vivek Patel
3ac2a1f3fa Extends user add cli command
- Adds flag `make-password-link` to generate temp token to create users password
- Adds route and handler for create user password
- Updates few auth label translation reference
- Fixes reset-password issue with existing login session
- Updates tests
2021-09-12 12:49:34 +05:30
Denis Arh
97d2d7292c Fix invalid json output when an unexisting language was requested 2021-09-12 07:47:01 +02:00
Tomaž Jerman
6f0ae6dad1 Implement iterator chunking
Membership iterator doesn't chunk the output as the size will
always be small.
2021-09-09 09:47:56 +02:00
Vivek Patel
2cf27a1666 Updates expr function count
- It returns count based on params
- count(foo) counts all elements
- count(foo, 'bar', 'baz') counts number of bars and bazs in foo
2021-09-08 22:39:18 +05:30
Denis Arh
2acaa0062e Handle multi-lang request for external translation
Frontend/client lib (i18next) sends request for multiple
languages at the same time (format: en+sl+de).

Some internal changes on ext. translation loading (storing) were needed.
2021-09-08 18:04:15 +02:00
Denis Arh
0b54171557 Change translation buf from reader to readseeker 2021-09-05 13:21:26 +02:00
Denis Arh
61efc20e94 Return 404 on errors.KindNotFound 2021-09-05 13:09:11 +02:00
Tomaž Jerman
8ab9b0e851 Report run handling and validation post testing tweaks 2021-09-02 16:22:14 +02:00
Peter Grlica
71e5285f59 Moved proxy auth from apigw to pkg 2021-09-02 15:14:40 +02:00
Peter Grlica
4d5ed1da26 Added auth servicers to pkg 2021-09-02 15:14:40 +02:00
Denis Arh
9e87b43b33 Enforce mode & level for debug logger, cleanup test logging init 2021-09-02 15:14:08 +02:00
Denis Arh
a9914a5626 Import corteza-locale as golang pkg and allow hybrid lang importing 2021-09-02 14:42:51 +02:00
Tomaž Jerman
6f5489a71b Add some temporary restrictions for dev release 2021-09-02 10:43:58 +02:00
Tomaž Jerman
933dc744e1 Defer model validation to requested branches instead of entire model 2021-09-02 10:43:58 +02:00
Tomaž Jerman
00c47ed5c9 Data handling and processing improvements 2021-09-02 10:43:58 +02:00
Tomaž Jerman
b73a76263c Allow paging cursor to decode string when needed 2021-09-02 10:43:58 +02:00
Tomaž Jerman
f485c4a3d5 Improve report join step 2021-09-02 10:43:58 +02:00
Peter Grlica
358dc4ea24 Added ctx changes to apigw 2021-09-02 10:00:44 +02:00
Peter Grlica
f02ff7338b Added support for async routes 2021-09-01 12:55:59 +02:00
Denis Arh
8d9a3d5430 Skip empty values on when parsing interval/timestamp trigger constraints 2021-08-31 06:25:33 +02:00
Denis Arh
922f4c3138 Add explicit option for enabling RBAC logging 2021-08-26 17:52:21 +02:00
Denis Arh
77b593a192 Refactor log init, add new env options, filter 2021-08-26 17:28:50 +02:00
Denis Arh
e48ffb2e08 Upgraded zap logger to v1.19 2021-08-26 13:42:14 +02:00
Peter Grlica
34aaad7800 Refactored pipelines, errors 2021-08-26 10:36:38 +02:00
Denis Arh
c27b0281ca Support lang extanding for internal translations 2021-08-25 22:47:29 +02:00
Denis Arh
3a9348500b Refactor lang loading, support sorting, enabling 2021-08-25 22:46:15 +02:00
Denis Arh
62c1571bdc Add configurable locale reloading (via options) 2021-08-25 17:07:14 +02:00
Denis Arh
04d274fb70 Improve lang-detection on backend 2021-08-25 16:10:53 +02:00
Vivek Patel
e4a59a5f03 Adds expr functions
- modWeek returns modify week part of the date input
- random returns random number between range if given
- sub returns diff between two dates in milliseconds
2021-08-24 14:08:39 +05:30
Denis Arh
65fb7065be Translation fixes 2021-08-23 23:46:25 +02:00
Denis Arh
af09848dd8 Fix tests (use translation keys) 2021-08-23 19:10:21 +02:00
Denis Arh
5d6945cec9 Add locale handling, translation dec/enc and serving 2021-08-23 19:10:21 +02:00
Peter Grlica
49a9e5fdd5 Added duration to apigw pipeline, fixed int64 input to jsenv 2021-08-19 10:38:06 +02:00
Denis Arh
f375070236 Role name consolidation 2021-08-18 19:58:27 +02:00
Denis Arh
d1ccbc3e17 Fix encoding on save & re-encoding on fetch 2021-08-18 18:35:27 +02:00
Peter Grlica
6645ac0c66 Reload routes on filter update, jsenv update, http handler body fix 2021-08-18 14:10:14 +02:00
Tomaž Jerman
b95e878c92 Allow store functions to define codegen imports 2021-08-17 10:26:32 +02:00
Tomaž Jerman
244b0cf8ed Rework workflow step scheduling to improve stacktraces
The initial implementation caused them to be flaky when working
with loops.
2021-08-17 09:18:50 +02:00
Tomaž Jerman
fdbf7e6d53 Add support for record specific RBAC rules 2021-08-17 09:03:43 +02:00
Denis Arh
14b3f07941 Allow appending to KVV values (kvv.field[] = val) 2021-08-16 21:46:58 +02:00
Denis Arh
e695081286 Add reporter webapp to the list of webapps (HTTP_WEBAPP_LIST) 2021-08-16 16:20:31 +02:00
Tomaž Jerman
072bea9d6b Add missing envoy system:report definitions 2021-08-16 15:10:40 +02:00