3
0
Commit Graph

557 Commits

Author SHA1 Message Date
Tomaž Jerman
4b113af9cc Allow content-type header to specify the charset 2022-01-18 21:50:19 +01:00
Tomaž Jerman
2c873d269f Add integration tests for namespace import/export 2022-01-18 21:50:19 +01:00
Tomaž Jerman
1a8d262032 Fix namespace import panic if no namespace provided 2022-01-18 21:50:18 +01:00
Peter Grlica
937ec1d584 Updated generated files 2022-01-18 21:50:18 +01:00
Denis Arh
60d0d4dd5f Fix attachment automation function label/desc 2022-01-18 21:50:18 +01:00
Denis Arh
59ec77e204 Refactor JWT implementation 2022-01-18 21:50:18 +01:00
Denis Arh
60020f8510 Upgrade go-chi&co 2022-01-11 10:53:49 +01:00
Denis Arh
4b264798ea Fix handling empty-string translations 2022-01-10 17:44:12 +01:00
Denis Arh
ff6cadc075 Reload RBAC & workflows after namespace import 2022-01-05 14:23:33 +01:00
Vivek Patel
23a24469ed Refactor minion store
- Extends env variable `MINIO_BUCKET` for more flexibility over bucket name
- Introduces env variable for `MINIO_PATH_PREFIX` for flexibility over bucket paths
- Decouples minio client from New method
- Provides methods for generating bucket name, object name with path using bucket related env variables
- Adds tests
- Fixes issue#295
2021-12-22 21:12:07 +05:30
Tomaž Jerman
907cb25ceb Add support for multipart/form-data request parsing 2021-12-21 09:11:51 +01:00
Denis Arh
c72902a86b Improve module-field translations, add i18n support for select field option texts 2021-12-17 13:04:52 +01:00
Denis Arh
127bd00002 Fix typo in pageExtendedAutomatinBlock 2021-12-17 13:04:52 +01:00
Denis Arh
5b545107ce Fix potential "out-of-range" crash when translating field expressions 2021-12-17 13:04:52 +01:00
Denis Arh
de11e7d20a Support for select field option text translations 2021-12-17 13:04:52 +01:00
Denis Arh
92c0c3feb7 Add support for additional argument when invoking Corredor script 2021-12-17 12:59:24 +01:00
Vivek Patel
0564fe7190 Add support for role permission cloning
It clones all RBAC rules from one role to another, but also removes all existing rules from role.
2021-12-10 00:54:59 +05:30
Denis Arh
b9f96d920a Support attachment management in workflow 2021-12-02 10:48:59 +01:00
Denis Arh
8110c69708 Cleanup compose attachment service 2021-12-02 10:48:59 +01:00
Denis Arh
edbbf2f01b Fix bool/false value sanitization
Boolean value sanitization MUST return empty string for false boolean
value to ensure consisten behaviour when empty or false value for field
is send back and that field is read-only (via RBAC).
2021-11-21 18:07:00 +01:00
Tomaž Jerman
aced989ae6 Fix default record module field value validation setup 2021-11-15 12:45:24 +01:00
Tomaž Jerman
dab413ecea Remove namespace logo/icon references when exporting 2021-11-03 11:58:12 +01:00
Denis Arh
556ffc5ec4 Fixes res. translation enc/dec (accents, html) 2021-10-21 20:49:33 +02:00
Denis Arh
20757e58fa Disallow use of reserved names for module fields
List of reserved names:
 - recordID
 - ownedBy
 - createdBy
 - createdAt
 - updatedBy
 - updatedAt
 - deletedBy
 - deletedAt
2021-10-21 13:20:50 +02:00
Peter Grlica
6142371a87 Added Bytes type, fixed locale regen 2021-10-19 08:56:31 +02:00
Tomaž Jerman
7f795ef418 Split namespace import to init and run 2021-10-10 12:43:21 +02:00
Tomaž Jerman
2def92d41f Tweak expr record value selection and bool casting
* properly handle casting of false values (empty string)
* add support for record.values.xyz expressions where values is not set
2021-10-01 12:40:23 +02:00
Denis Arh
2ee926940a Cleanup app settings, implement env var to enable res. translatons 2021-10-01 10:08:58 +02:00
Denis Arh
a7e861cdda Refactor resource translation processing 2021-10-01 10:08:58 +02:00
Peter Grlica
da02e9d9b1 Encode stripped html special chars 2021-10-01 10:08:58 +02:00
Tomaž Jerman
7ea20c489b Add missing res. tr. identification logic 2021-10-01 10:08:58 +02:00
Tomaž Jerman
5155310ca0 Slight record resource RBAC tweaks
* Add canRead to record response
* Use existing record when evaluating record update ctx roles
2021-10-01 10:08:58 +02:00
Tomaž Jerman
e7fb1e3e07 Tweak typed value Array casting; add missing selected prop 2021-09-27 10:42:35 +02:00
Tomaž Jerman
11c225c6f4 Post testing reporter tweaks
* add support for existence checking (IS (NOT) NULL)
* cover edgecase where either join dimension is empty
* add support for negation operator
2021-09-24 13:17:28 +02:00
Tomaž Jerman
c4984c44f4 Post testing tweaks
* Defer resource ID dereferencing to store encoder layer
* Allow pageID when exporting to YAML for correct relations
2021-09-23 13:05:09 +02:00
Tomaž Jerman
f7922d9736 Add support for namespace clone, export, import 2021-09-23 13:05:08 +02:00
Vivek Patel
ff06953813 Adds LogoEnabled to namespace meta 2021-09-22 18:39:39 +05:30
Tomaž Jerman
e49b04f37c Comment out unneeded resource translations 2021-09-22 11:33:37 +02:00
Denis Arh
db6d173786 Add notes on translatable struct fields 2021-09-22 11:33:37 +02:00
Tomaž Jerman
fc9061fee3 Resource translation improvements
* Fix locale context management
* Assure proper locale context parameters are used when updating,
  listing translations
* Return missing module field translations
2021-09-22 11:33:37 +02:00
Tomaž Jerman
3ba9c61986 Fixup envoy codegen 2021-09-22 11:26:14 +02:00
Denis Arh
948e587ed9 Implement access control for resource translation management 2021-09-22 11:26:14 +02:00
Denis Arh
f58384d95f Fix broken Envoy & service tests 2021-09-22 11:26:14 +02:00
Tomaž Jerman
8cae39f231 Extend codegen for system resources
* Rename generated services
* Add definitions for reports
2021-09-22 11:26:14 +02:00
Denis Arh
cf35691c56 Implement res. tr. for compose page & module 2021-09-22 11:26:14 +02:00
Denis Arh
3e746c3b57 Improve resource-translation locale codegen
Do NOT use key (string) as a fallback in case
of a missing translation. Return empty string
2021-09-22 11:26:14 +02:00
Denis Arh
7e9c43261b Implement resource translation for compose namespace 2021-09-22 11:26:14 +02:00
Denis Arh
4276000add Add support for decoding content-language header from request 2021-09-22 11:26:14 +02:00
Tomaž Jerman
cea8ca39d3 Additional codegen tweaks 2021-09-22 11:26:14 +02:00
Tomaž Jerman
10d4152ad6 Default resource translation to key value if missing 2021-09-22 11:26:14 +02:00