3
0

61 Commits

Author SHA1 Message Date
Tomaž Jerman
c3be43ed51 Fix module field removal logic 2021-03-05 10:42:35 +01:00
Tomaž Jerman
398c9449cc Rework compose record import/export
- Tweak importing to avoid record service
- Rework record export to use Envoy
2021-02-24 15:57:44 +01:00
Denis Arh
53be013377 Implement new auth UI, deprecate auth API endpoints 2021-02-23 07:34:10 +01:00
Denis Arh
01a7aa6526 Remove .With(ctx) pattern 2021-01-25 18:05:24 +01:00
Denis Arh
46620d46a9 Fix record-value storing issues
Under certain conditions, values did not get removed/saved properly
2020-12-10 13:20:43 +01:00
Denis Arh
4fd7ee27b8 Add CRUD tests for field expr 2020-11-30 20:31:02 +01:00
Denis Arh
b82ddad83a Implement support for labels on compose resources 2020-11-06 08:32:42 +01:00
Denis Arh
fc74d44563 go vet fixes 2020-11-05 19:57:47 +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
ed8fc547f7 Config. environment (throughenv var 'ENVIRONMENT') 2020-11-04 15:13:27 +01:00
Denis Arh
ecb7f52c31 Improve error creation & handling by API 2020-11-04 14:18:33 +01:00
Denis Arh
7508659165 RBAC refactored (pkg renamed, init improved) 2020-09-18 07:56:58 +02:00
Denis Arh
3a7cc105d0 Renamed temp ng-store variables to store 2020-09-16 07:37:06 +02:00
Denis Arh
5e55340759 Renamed pkg/store to pkg/objstore (Object Store) 2020-09-16 07:37:06 +02:00
Denis Arh
edbeb57f48 Fix ordering records by values, record organizer 2020-09-09 13:11:11 +02:00
Denis Arh
be76207e50 Fix compose integration tests 2020-09-08 14:51:19 +02:00
Denis Arh
f64bf4673e Ported pkg/rh to pkg/filter and removed obsolete code 2020-09-06 16:33:57 +02:00
Denis Arh
f7070b4fa5 Fix tests, improve constraint checking 2020-09-06 15:37:19 +02:00
Denis Arh
361a9007bf Cleaner store API 2020-08-26 14:49:33 +02:00
Denis Arh
8ac6c17ea8 Rename generated interfaces (for easier ext.) 2020-08-24 15:41:01 +02:00
Denis Arh
c8d552e6a6 Implement new store infrastructure 2020-08-24 15:40:15 +02:00
Denis Arh
239d6fc429 Remove request dump assert utility from tests 2020-06-29 15:53:36 +02:00
Denis Arh
d18d679b63 Add perm. check for record value field update 2020-06-20 17:58:19 +02:00
Denis Arh
1397e8eeb5 Simplify db connection handling
Due to incompatibilities with update of github.com/titpetric/factory,
we are crippeling db connection handling (MustGet fn) - only supporting
one ("default") connection
2020-06-19 12:44:14 +02:00
Denis Arh
288e516986 Fix bulk ops logic & (record value) error handling 2020-05-29 15:52:42 +02:00
Denis Arh
e8212ec8ff Add action log for bulk op, fix tests 2020-05-29 06:49:22 +02:00
Tomaž Jerman
ab2e76dd22 Add support for batch record operations
Allows us to perform multiple operations with a single request
under the same transaction.
2020-05-28 23:40:21 +02:00
Denis Arh
a662fcb021 Implement actions & service errors for compose 2020-05-28 21:51:33 +02:00
Denis Arh
a78235252f Use clean eventbus for integration tests 2020-02-25 08:12:40 +01:00
Denis Arh
e4357a3750 Disable TestRecordExec 2020-02-07 16:42:25 +01:00
Denis Arh
e82d145adf Fix integration tests 2020-01-18 07:05:34 +01:00
Denis Arh
7dbd14899f Remove old automation/corredor logic 2020-01-18 07:05:34 +01:00
Denis Arh
29902db2b1 Refactor & improve application initialization 2020-01-18 07:05:10 +01:00
Denis Arh
3452db343d Modify record organizing test (effects of QL parsing changes) 2019-12-02 11:27:43 +01:00
Tomaž Jerman
a9785c921f Fix repo permission filtering 2019-11-08 20:06:14 +01:00
Tomaž Jerman
d5627fa064 Fix module query lapsus 2019-11-08 16:24:02 +01:00
Tomaž Jerman
b3cbf47e6f Fix tree ordering 2019-10-31 19:15:33 +01:00
Denis Arh
10dd0226c1 Settings service cleanup
Remove intermediate settings service layer
2019-10-31 00:06:27 +01:00
Tomaž Jerman
7528774250 Add record impor tests 2019-10-29 09:59:31 +01:00
Tomaž Jerman
075f93a42a Fix module update response
Return the updated module.
2019-10-25 11:01:12 +02:00
Tomaž Jerman
1bd87357b6 Allow module field name/kind change if no records 2019-10-17 14:08:05 +02:00
Denis Arh
609b70ea9f Refactor db-query-level access control 2019-10-16 19:28:48 +02:00
Tomaž Jerman
ea9fc955b8 Add tests for compose/settings 2019-10-16 16:30:48 +02:00
Denis Arh
e754a2fe0b Refactor & simplify internal (plain) storage
Default internal storage becomes "plain" storage
Open() fn now returns io.ReadSeeker instead of afero.File
2019-10-15 12:57:07 +02:00
Denis Arh
f493f4fb6b Move internal/permissions to pkg/permissions 2019-10-01 17:53:20 +02:00
Denis Arh
82bf6e3617 Move internal/store to pkg/store 2019-10-01 17:50:24 +02:00
Denis Arh
62aa794b84 Move internal/auth to pkg/auth 2019-10-01 17:47:43 +02:00
Denis Arh
77ce40cf1a Move version, rand and organisation pkgs (internal=>pkg) 2019-10-01 17:42:26 +02:00
Denis Arh
b5a111b145 Fix tests for record organizier 2019-10-01 17:00:16 +02:00
Denis Arh
d92f16902b Fix tests (adopt new a.script constraints, change provisioning) 2019-09-30 10:20:40 +02:00