Denis Arh
8ad87c8824
Move to typed props for ns, fields, charts...
2019-09-30 10:20:39 +02:00
Denis Arh
6535034d87
Add full support for handle on module/chart/page
2019-09-30 10:20:39 +02:00
Denis Arh
40ab1e22ea
Make structs for page block & chart config
2019-09-30 10:20:39 +02:00
Denis Arh
9765fb54a6
Add intg. test for record exporting, more strict param checking
2019-09-30 10:20:15 +02:00
Denis Arh
28f8d23e52
Support for notification mail attachments
2019-09-29 14:20:02 +02:00
Denis Arh
c626b82af3
Remove With(ctx) pattern from notifications service
2019-09-29 14:20:02 +02:00
Denis Arh
dc99bc2cb8
Add record procedure exec capabilities
...
This will allow us to perform bulk operations on record & record-values
2019-09-13 11:29:01 +02:00
Denis Arh
d6b7e0c9bf
Add integ. tests for automation scripts & triggers
2019-09-11 13:40:06 +02:00
Denis Arh
73e0180600
Remove internal/ from compose
2019-09-09 13:04:12 +02:00
Denis Arh
78660c47ec
Fix minor typos in compose
2019-09-02 08:29:28 +02:00
Denis Arh
0a3e2ea7e5
Add standard error responses on attachment ctrls
2019-08-30 14:40:49 +02:00
Denis Arh
0ab59c791b
Reorganize & move ctrls under route groups
2019-08-30 14:40:49 +02:00
Tomaž Jerman
986c69a812
Provide entry count
2019-08-29 17:48:42 +02:00
Tomaž Jerman
a8b5e3b063
Add record importing from json & csv
2019-08-29 17:48:42 +02:00
Tomaž Jerman
d0647f0f89
Define record import routes
2019-08-29 17:48:42 +02:00
Denis Arh
b8088caab5
Add option to filter namespaces by slug
2019-08-26 08:54:46 +02:00
Denis Arh
91633e9695
Make automation S&T namespace bound
2019-08-26 08:39:33 +02:00
Denis Arh
eb1c1cf65f
Add trigger management access-control, disable direct trigger management
2019-08-25 09:54:16 +02:00
Denis Arh
99b02bd37b
Revert to with(ctx) pattern for automation script loader
2019-08-24 13:05:42 +02:00
Denis Arh
e4f0c5a3b6
Improve automation script create/update flow
2019-08-23 13:49:36 +02:00
Denis Arh
5bfafd4adc
Support run-as for automation scripts
...
Add grpc-server capabilities for system service (make jwt, find user by id)
Add jwt generation (via grpc) to compose for run-as automation-scripts
Add SuperUser for system-level tasks and operations that are ran in the background w/o initiator
and require permision checking
2019-08-23 13:49:36 +02:00
Denis Arh
7fd9c7fdfb
Support searching modules by name
2019-08-23 13:49:36 +02:00
Denis Arh
751317d544
Support automation script testing and manual running
2019-08-23 13:49:36 +02:00
Denis Arh
3db9368a99
Add ability to pass custom struct as module & record to script runner
2019-08-23 13:49:36 +02:00
Denis Arh
ffdeef1da2
Support for manual/explicit running of user scripts
...
Moved user-script endponts under /automation/
Add permission checking for trigger running
2019-08-23 13:49:36 +02:00
Denis Arh
6463df9af1
Improvements of automation trigger management
2019-08-23 13:49:36 +02:00
Denis Arh
38fe06998c
Extreact & refactor automation scripts & triggets
...
Automation (scripts and triggers) is now a standalone package and can be used
in other services.
2019-08-23 13:49:36 +02:00
Denis Arh
af4d15e262
Ad XLSX exporting capabilities
2019-08-15 16:43:25 +02:00
Denis Arh
5423cf43c8
Add JSON(L) and CSV record exporting capabilities
...
API endpoints, CSV and JSON record encoders, dedicated svc/repo methods
2019-08-15 16:42:51 +02:00
Denis Arh
0707f139c4
Support simple jsonl exports for records
2019-08-14 17:06:29 +02:00
Denis Arh
f601e0aa96
Improve record attachment upload capabilities
...
Add missing upload-to-non-existing record featue by moving endpoint away
from specific record and moving recordID, fieldName from PATH to POST
parameters
2019-07-08 08:14:19 +02:00
Denis Arh
1b6fafa743
Enhance page tree payload with access control data
2019-06-25 20:15:53 +02:00
Denis Arh
08947f2b9b
Add namespace.manage permission rule
...
UI needs to know if user can access admin pages and manage specific namespace
Administrators (role) get this permission in the preset
2019-06-25 19:13:59 +02:00
Denis Arh
8309e6e710
Fix multival (string) requst param parsing (for POST)
2019-06-21 14:23:12 +02:00
Denis Arh
b7f78cdf91
Fix multival (string) request param parsing
2019-06-20 11:04:30 +02:00
Denis Arh
5c750fb7cf
Fix handler/request codegens
...
Missing return caused malformed response output:
{"error":{"message":"invalid username/password combination"}}{"response":false}
Remove param logging when params.Fill() returns an error
2019-05-28 10:51:56 +02:00
Denis Arh
22476933f4
Improve cli env setup & running
2019-05-26 08:41:20 +02:00
Denis Arh
36b32fa2fe
Move logger package from internal to pkg
2019-05-24 13:30:48 +02:00
Denis Arh
b66ed81136
More flexible "compose", move to Corteza
...
- more control over starting procedure, cli commands...
- fix package paths
- renaming symbols, comments, strings from Crust to Corteza
2019-05-24 12:42:35 +02:00
Tit Petric
4c166d92c6
Update codegen for cleanup/less verbosity
2019-05-22 16:37:53 +02:00
Denis Arh
0611e4b9c3
Add missing namespaceID when updating page
2019-05-21 19:08:03 +02:00
Denis Arh
4a629c0ea9
Add 'canGrant' flag on chart, module, namespace, page & trigger
...
Currently, all these flags point to service-level operation 'grant' on 'compose' resource.
2019-05-20 18:24:39 +02:00
Denis Arh
d3e9362c12
Add missing service context in attachment & record controllers
2019-05-20 07:20:33 +02:00
Denis Arh
83e95a870c
Improve compose module create/update, round created/updated-at values
2019-05-16 01:51:11 +02:00
Denis Arh
94d459eb7d
Rename handlers/request receivers
2019-05-16 00:52:50 +02:00
Denis Arh
8abccd62b1
Updated requests & handlers after codegen tmpl change
2019-05-16 00:44:17 +02:00
Denis Arh
e0121d3a53
Same API endpoint for permission signature over three services
2019-05-15 11:16:34 +02:00
Denis Arh
565651e142
Add permission resource type & access control for module field
2019-05-14 14:06:19 +02:00
Denis Arh
4dece123a5
Refactor all services & controllers and implement new a/c pattern
2019-05-09 16:55:18 +02:00
Denis Arh
aea9741a2b
Improve logging, migrate to zap, use requestID
...
- migrate from log to go.uber.org/zap package
- add requestID header with sticky log field
- push logging via context to REST controllers & HTTP middleware
- enhance request/resnpose logging
- add service logging framework
- add ZapProfiler for db query profiling
2019-05-07 21:18:23 +02:00