Commit Graph
2105 Commits
Author SHA1 Message Date
Denis Arh 4b528af249 Add tests for sorting records by sys fields 2020-11-19 12:22:28 +01:00
Denis Arh fedbbc637b Allow JSON encoded labels when quering resources 2020-11-19 11:29:17 +01:00
Denis Arh 024426c0a0 Modify drone CI config to fully support branch builds 2020-11-18 22:55:46 +01:00
Denis Arh 630b1fddaf Remove -j4 from drone's make command 2020-11-18 22:53:46 +01:00
Denis Arh 770a0053e0 Bespoke paging (non-cursor) for actionlog 2020-11-16 19:01:09 +01:00
Denis Arh 11ea5df303 Pagination/sorting fixes & improvements 2020-11-16 14:20:43 +01:00
Denis Arh fc0ed924de Make sure cursor to next page is not returned if there are no resources 2020-11-13 13:01:34 +01:00
Denis Arh b7de337db9 Fix sorting&paging on RDBMS store 2020-11-13 08:10:09 +01:00
Denis Arh 82fd6309e0 Fix NULL values for applications 2020-11-12 09:13:47 +01:00
Tomaž Jerman 544ce76c74 Prepare store/actionlog tests 2020-11-12 09:11:01 +01:00
Denis Arh 979acf0a84 Make store sorting more robust 2020-11-10 16:04:41 +01:00
Denis Arh 77e530a8c2 Fix creation timestamp on role prov. and signup 2020-11-10 15:07:21 +01:00
Denis Arh e1578149e0 Fix app provisioning 2020-11-10 15:00:41 +01:00
Denis Arh 03a313c468 Fix privisoned AC (allow everyone to unmask emails&names by default 2020-11-10 14:51:23 +01:00
Denis Arh ecedd4ee2c Reorganize Makefiles 2020-11-10 14:49:51 +01:00
Denis Arh 724976271a Corteza no longer defaults to MySQL db
Default DB_DSN changed from
mysql://corteza:corteza@tcp(db:3306)/corteza?collation=utf8mb4_general_ci

to
sqlite3://file::memory:?cache=shared&mode=memory
2020-11-10 14:48:42 +01:00
Denis Arh 9b0308f36c Simplify test/demo webapp installation 2020-11-10 14:46:41 +01:00
Denis Arh b052f9320a Cleanup Makefile targets & variables 2020-11-10 13:17:07 +01:00
Denis Arh fed3a2234e Remove -j4 for release task 2020-11-10 09:45:33 +01:00
Denis Arh ee67a78f3d Fix metrics for apps, roles & users 2020-11-10 09:43:13 +01:00
Denis Arh ba753c068f Internal auth login/signup cleanup & tests 2020-11-09 11:33:35 +01:00
Denis Arh 65bc428406 Stabilise API docs serving, move it under API root 2020-11-09 07:08:46 +01:00
Denis Arh 725f7de2b8 Enable sqlite3 RDBMS store backaned 2020-11-08 18:23:54 +01:00
Denis Arh 3ec2695520 Fix release pipeline (file naming issue) 2020-11-08 16:32:16 +01:00
Denis Arh a08d7c181a Reconnect websockets to API & server 2020-11-07 08:16:32 +01:00
Denis Arh 29807812bb Minor store fixes 2020-11-06 11:52:28 +01:00
Denis Arh 873fc46556 Include wrapped error in JSON error payload 2020-11-06 11:51:04 +01:00
Denis Arh d75f813388 Update CI pipeline 2020-11-06 10:34:31 +01:00
Denis Arh f2ad1ea758 Merge branch '2020.12.x-feature-labels' into 2020.12.x 2020-11-06 08:33:48 +01:00
Denis Arh 76e803cc3c Implement support for labels on system resources 2020-11-06 08:33:24 +01:00
Denis Arh b82ddad83a Implement support for labels on compose resources 2020-11-06 08:32:42 +01:00
Denis Arh 8189f40fc0 Add support for type label codegen 2020-11-06 07:47:53 +01:00
Denis Arh d89cc6e207 Label store config & RDBMS implementation 2020-11-06 07:47:53 +01:00
Denis Arh ae4a07a3f7 Implement labels through pkg/label 2020-11-06 07:47:53 +01:00
Denis Arh 9b3ba3169c Fix nil value on internal signup 2020-11-06 07:15:50 +01:00
Denis Arh c2794136cb Upgrade to go v1.5 2020-11-05 20:04:54 +01:00
Denis Arh fc74d44563 go vet fixes 2020-11-05 19:57:47 +01:00
Denis Arh 84269ea6ed Fix broken build task in Makefile 2020.12.0-rc.1 2020-11-05 19:22:26 +01:00
Tomaž Jerman 7ba1959641 Fix env tls certificate lapsus 2020-11-05 19:17:41 +01:00
Denis Arh f731791cb2 Improve healtcheck for mail 2020-11-05 19:15:01 +01:00
Denis Arh 02c72eea80 Move point of init for external auth 2020-11-05 19:14:18 +01:00
Denis Arh bfdb1d8426 OpenAPI docs 2020-11-05 19:13:26 +01:00
Denis Arh eca90b1fc1 Fix record update with update-denied fields
Scenario:
 - values already exist on the record
 - record is updated with users that can not update all fields
 - only values for updatable fields are provided

Access control was moved from generalValueSetValidation to procCreate/procUpdate
to allow return of record value error set.

Existing values from fields with update-deny set are copied to updating set
to ensure proper handling by RVS's Merge fn().
2020-11-05 10:39:25 +01:00
Denis Arh 9710387c06 Merge branch '2020.12.x-feature-ng-errors' into 2020.12.x 2020-11-05 10:35:11 +01:00
Denis Arh 93db1279d6 Implement transfer of Corredor stack to int. errors 2020-11-05 10:34:23 +01:00
Denis Arh 92ca66cade Improve corredor auto. server error handling
Errors are now typified, node.js stack from error is accepted and converted
2020-11-05 07:57:27 +01:00
Denis Arh 111beae959 Safe errors 2020-11-04 15:13:53 +01:00
Denis Arh ed8fc547f7 Config. environment (throughenv var 'ENVIRONMENT') 2020-11-04 15:13:27 +01:00
Denis Arh 7666fe2d62 Improve store errors 2020-11-04 14:18:52 +01:00
Denis Arh ecb7f52c31 Improve error creation & handling by API 2020-11-04 14:18:33 +01:00