Denis Arh
df6909286a
Improve number sanitization (precision)
2020-06-26 13:14:11 +02:00
Denis Arh
5290441cae
Remove spew.dump from compose/types/record_test.go
2020-06-26 13:14:11 +02:00
Tomaž Jerman
ce9c997584
Respect Number field's specified precision
2020-06-26 13:14:10 +02:00
Tomaž Jerman
90280dabb9
Merge branch 'feature-tz-export' into develop
2020-06-23 10:14:28 +02:00
Tomaž Jerman
e0b0944921
Add support for timezone export
2020-06-23 10:12:51 +02:00
Tomaž Jerman
3b15dbc350
Improve bulk record field error handling
2020-06-23 08:58:44 +02:00
Denis Arh
d18d679b63
Add perm. check for record value field update
2020-06-20 17:58:19 +02:00
Denis Arh
2b0e65bf7d
Refactor transaction handling for records
...
Now wrapping only storage related code
2020-06-19 19:36:46 +02:00
Denis Arh
75a394f82d
Refactor FindByAny() to support context param
...
This simplifies DI for corredor
2020-06-19 19:34:58 +02:00
Denis Arh
51e6373b1d
Ensure actionlog repo uses context when storing data
2020-06-19 19:33:37 +02:00
Denis Arh
f79e210407
Improve transaction handling in github.com/titpetric/factory
...
This is an ugly/temp update of vendored github.com/titpetric/factory.
It fixes:
- invalid savepoint rollback SQL syntax
- err handling on rollback calls
- inc. number of tries in case of a (dead)lock (from 3 to 64)
- better backoff algo for sleep between retries
2020-06-19 19:31:05 +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
c2e568f22e
Update github.com/titpetric/factory
2020-06-19 12:43:03 +02:00
Denis Arh
2f064020f0
Improve locking on corredor script update (r/w of last-modified)
2020-06-19 12:42:20 +02:00
Tomaž Jerman
e9d6bd6c5b
Include ref param in reference values when using ng-importer
2020-06-10 18:16:41 +02:00
Denis Arh
06feb6af3b
Set db conn limits (max lifetime, max open/idle)
2020-06-09 18:21:33 +02:00
Denis Arh
681fca878d
Upgrade go-sql-driver to 1.5.0
2020-06-09 17:27:12 +02:00
Denis Arh
053ac9c09f
Use the right variable for client scripts mod-since timestamp
2020-06-09 17:27:12 +02:00
Denis Arh
2a9e9411b6
Remove webhooks (endpoints, service, type, db tables, ...)
2020-06-07 10:37:22 +02:00
Denis Arh
ef95660d4b
Fix actionlog filtering, optimize req. origin values
2020-06-06 16:51:06 +02:00
Denis Arh
888d08e9a6
Lower severity when client script bundle does not exist
2020-06-03 13:00:10 +02:00
Denis Arh
2cb1839ba6
Fix config import (broken automation buttons)
2020-06-03 12:44:07 +02:00
Denis Arh
91cb523d68
Cleanup action log request origins
2020-06-03 11:15:48 +02:00
Denis Arh
12abdbcd1e
Fix uint64 encoding for JSON export
...
All IDs (uint64) should be encoded as string
2020-06-02 15:06:35 +02:00
Denis Arh
e6775aaa09
Add more robust user val expanding
2020-06-02 14:37:34 +02:00
Denis Arh
387e862fd6
Note about preloading users for export
2020-06-02 14:37:34 +02:00
Denis Arh
8b752a0331
Add missing export action, fix import action log
2020-06-02 14:37:34 +02:00
Denis Arh
b46bc8c570
Reroute user lookups for notifications and record export
...
Temporary disable gRPC comm between compose and system services
2020-06-02 14:37:34 +02:00
Tomaž Jerman
36b40d9f3b
Add sys user export to xlsx export
2020-06-02 14:33:25 +02:00
Tomaž Jerman
cd48a4b22a
Add sys user export to tructured export
2020-06-02 14:33:25 +02:00
Tomaž Jerman
8b6aa177c7
Add sys user export to .csv export
2020-06-02 14:33:25 +02:00
Tomaž Jerman
6e05c2a6ab
Allow encoders to access system users during export
2020-06-02 14:33:25 +02:00
Tomaž Jerman
77b67acdf3
Allow reminder assignment for all administrators
2020-06-02 09:30:57 +02:00
Denis Arh
4245630ec6
Add actionlog debugging flag, implement policies
2020-06-01 23:13:04 +02:00
Denis Arh
f05d2fc257
Add actionlog policies
2020-06-01 23:12:46 +02:00
Denis Arh
686b10fd1b
Fix kv decoder tests
2020-05-31 19:33:40 +02:00
Denis Arh
d0afb17cf3
Implement service actions & errors on messaging
2020-05-31 19:23:43 +02:00
Denis Arh
ebff2fd6a6
Implement actions & errors for notifications
2020-05-31 13:49:49 +02:00
Denis Arh
6c5953f973
Fix mixed SMTP/HTTP ports for mailhog in the makefile
2020-05-31 13:49:21 +02:00
Denis Arh
709a3a946a
Improve auditlog meta handling (support for omitting empty values)
2020-05-31 10:38:27 +02:00
Denis Arh
4d2b0fc7d3
Improve record value error handling & cleanup errors in rest
2020-05-30 09:37:11 +02:00
Denis Arh
288e516986
Fix bulk ops logic & (record value) error handling
2020-05-29 15:52:42 +02:00
Denis Arh
51d8fbcbb4
Remove spew.Dump leftovers
2020-05-29 06:49:43 +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
f99ca1e9be
System error def namings & log messages improvements
2020-05-28 21:49:35 +02:00
Denis Arh
d70fde7f8b
Add actionlog prereq for compose services
2020-05-27 21:28:43 +02:00
Denis Arh
f4213e5a7f
Add path constraint, improve CLI
2020-05-27 16:32:10 +02:00
Tomaž Jerman
f69ffe01d3
Fix filter nesting for chart filters
2020-05-27 14:03:33 +02:00