3
0

500 Commits

Author SHA1 Message Date
Peter Grlica
9450a3ad66 Added as and internal corteza formatter for federation, tests 2021-03-04 09:03:45 +01:00
Tomaž Jerman
b39a93f135 Add support for resource flagging; system/application 2021-03-03 12:33:28 +01:00
Tomaž Jerman
1e44e4299b Rework system/application sorting via weight 2021-03-03 12:33:28 +01:00
Tomaž Jerman
26e4832d5c Improve the Envoy package
- Add support for store decoding
- add support for yaml, csv, jsonl encoding
- refactor, cleanup
2021-02-24 15:57:44 +01:00
Denis Arh
5d3c767bf8 Sets default value for auth assets 2021-02-24 10:02:23 +01:00
Denis Arh
5e9545e9ab Switched api docs from statik to go:embed 2021-02-24 06:40:23 +01:00
Denis Arh
06eb038ba8 Add dev-mode with list of templates & scenarios 2021-02-23 19:58:29 +01:00
Denis Arh
53be013377 Implement new auth UI, deprecate auth API endpoints 2021-02-23 07:34:10 +01:00
Tomaž Jerman
f8e3d85c16 Cursor filter fixes 2021-02-22 09:39:03 +01:00
Tomaž Jerman
127b43a69e Define base templating system 2021-02-12 10:11:57 +01:00
Denis Arh
53c761a9c1 Fix broken resource monitoring 2021-02-10 18:16:25 +01:00
Tomaž Jerman
828bc69fc7 Fix merge lapsus 2021-02-04 15:40:47 +01:00
Denis Arh
c1fe2a80b5 Refactor yaml utils into sep. package (y7s) 2021-01-25 18:05:24 +01:00
Tomaž Jerman
e32db506f2 Fix record import via some CSV files
Some CSV files failed to detect as text/csv so the import failed.
ref: https://github.com/gabriel-vasile/mimetype/issues/138
2021-01-25 18:05:24 +01:00
Denis Arh
34d9f6bf7b Fix paging cursor sort-direction flag
Fixes issue cortezaproject/corteza-webapp-compose#213
2021-01-25 16:45:21 +01:00
Tomaž Jerman
ce21db2197 Fix record import via some CSV files
Some CSV files failed to detect as text/csv so the import failed.
ref: https://github.com/gabriel-vasile/mimetype/issues/138
2021-01-15 12:12:01 +01:00
Denis Arh
f21d5476e0 Add actionlog ID field json tags 2021-01-08 08:18:57 +01:00
Denis Arh
78023594b5 Fix accidental casting of JSON null to int(0) 2020-12-22 07:20:39 +01:00
Tomaž Jerman
ce34993b74 Round timestamps to a second accuracy
Different parts of the system (FE, API, store) may use different
standards so operations like IsStale check may fail.
2020-12-21 09:15:08 +01:00
Denis Arh
18b11e56be Support for page navigation on records 2020-12-18 17:31:31 +01:00
Denis Arh
dc30fd4186 Add warnings about exprimental state and sqlite usage 2020-12-18 15:46:48 +01:00
Tomaž Jerman
4e7f150e81 Fix graph cycle resolution 2020-12-18 11:16:13 +01:00
Denis Arh
fb32fa151c Fix webapp config generator, add federation 2020-12-17 17:45:59 +01:00
Tomaž Jerman
c1d7f700c4 Cleanup Envoy
* Improve conflict resolution algorithm.
* Tweak resource merge algorithms.
* Bump test coverage.
2020-12-17 11:56:34 +01:00
Denis Arh
d46630c7be Implement SCIM PATCH for group (role) membership 2020-12-16 11:12:25 +01:00
Denis Arh
3cf7cd8e2b Support conf. primary ID (corteza or external) 2020-12-16 11:12:23 +01:00
Denis Arh
e47cc3269c Add basic SCIM implementation 2020-12-16 10:49:17 +01:00
Denis Arh
f9c1fa2680 Remove useless todos for tests 2020-12-16 09:23:12 +01:00
Tomaž Jerman
dad6be64cb Add support for legacy resource identifiers in envoy
Allow module name, chart name, page title, ... to act as identifiers.
If a value is not unique, the system fails with an error.
2020-12-14 16:24:24 +01:00
Denis Arh
6aab216f89 Prevent scheduler's healtcheck FAIL when disabled 2020-12-14 14:51:40 +01:00
Denis Arh
629cdc06cd More info about api, docs, webapp endpoints 2020-12-14 14:51:40 +01:00
Denis Arh
343aa84468 Provision pre-check 2020-12-14 14:51:40 +01:00
Tomaž Jerman
ed6c4291d8 Extend pkg/expr functions 2020-12-14 12:37:44 +01:00
Peter Grlica
cab20207c6 Cleanup on node pairing tests 2020-12-13 18:53:19 +01:00
Peter Grlica
7321bf4e56 Descriptions on options, structure sync with superuser context 2020-12-13 18:53:19 +01:00
Peter Grlica
aec203718f Use superuser context on structure and data sync, options regenerated 2020-12-13 18:53:19 +01:00
Peter Grlica
0d88fdd139 Added rbac for federation, fixed tests, updated generated code 2020-12-13 18:53:19 +01:00
Peter Grlica
f987586b3e Sync check per-module, updated db, nodes sync, shared module 2020-12-13 18:53:19 +01:00
Peter Grlica
34ba878fc0 Sync interval options 2020-12-13 18:53:19 +01:00
Peter Grlica
5890cd444a Fixed node pairing 2020-12-13 18:53:19 +01:00
Peter Grlica
85e615213d Added federation options to node service 2020-12-13 18:53:19 +01:00
Peter Grlica
b4a9c9d36a Refactored cli sync commands, added sync service, mapper, processer, refactored channels 2020-12-13 18:53:19 +01:00
Peter Grlica
84810c1745 Added federation decoder to pkg 2020-12-13 18:53:18 +01:00
Peter Grlica
d47acaf0db Added base federation module 2020-12-13 18:53:18 +01:00
Tomaž Jerman
3306a2435d Fix envoy record pointer lapsus 2020-12-11 12:19:55 +01:00
Denis Arh
281fa2840b Return no-content (instead of 404) when there are no client automation scripts 2020-12-10 21:04:32 +01:00
Tomaž Jerman
cb5793d468 Expand envoy configuration options
Better `skipIf` & `onExisting` support.
2020-12-10 18:54:31 +01:00
Denis Arh
f3cc8b4990 Make JWT secret gen more stable by using other ENV variables 2020-12-09 12:50:20 +01:00
Denis Arh
4c29350486 More strict checking for ql operators
This prevents a couple of SQL injection attacks through QL
2020-12-09 11:11:42 +01:00
Denis Arh
5508daf14f Tweak service testing 2020-12-08 12:08:36 +01:00