Commit Graph
1243 Commits
Author SHA1 Message Date
Denis Arh 94e2acfc17 Add ability to disable script runner calls
With script runner disabled, all critical scripts would fail
2019-08-23 13:49:36 +02:00
Denis Arh ecc73e10fc Redirect grpclog to zap logger 2019-08-23 13:49:36 +02:00
Denis Arh bb7dc471d7 Add script-runner configuration capabilities 2019-08-23 13:49:36 +02:00
Denis Arh 4bbc85e1b4 Migrate storage path to options.StorageOpt struct 2019-08-23 13:49:35 +02:00
Denis Arh 8848d0ed94 Add ability to pass param to codegen.sh 2019-08-23 13:49:35 +02:00
Denis Arh dff0df54cb Add basic support for script-runner (protobuf, grpc) 2019-08-23 13:49:35 +02:00
Denis Arh b15629afe2 Fix .drone.yml to build on version tags 2019.9.0-rc.1 2019-08-23 11:40:07 +02:00
Denis Arh 9a10e10a40 Fix broken compose service tests 2019-08-23 08:39:57 +02:00
Tomaž Jerman 5f35988dd7 Fix paging offset 2019-08-22 13:52:19 +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 5ee1a90655 Switch to rh package for handling record paging 2019-08-15 12:38:22 +02:00
Denis Arh 53c946efe8 Reset page to 1 when page=0 2019-08-15 12:36:39 +02:00
Denis Arh 69602148dc Add ability to precheck (in db query) access on resources 2019-08-14 17:19:10 +02:00
Denis Arh bf8deb9e0c Explicitly log (on debug level) crashes on HTTP requests 2019-08-14 17:18:45 +02:00
Denis Arh 3e68bfa7e0 Extract repository helpers to pkg/rh package 2019-08-14 17:18:35 +02:00
Denis Arh 9f58f8e83e Migrate storage path to options.StorageOpt struct 2019-08-14 17:09:43 +02:00
Denis Arh aabff3df6e Add sentry wrapper, improve recover() logic 2019-08-14 17:07:56 +02:00
Denis Arh 0707f139c4 Support simple jsonl exports for records 2019-08-14 17:06:29 +02:00
Denis Arh c1e3231d00 Add support for membership policy, featured channels 2019-08-08 11:43:51 +02:00
Tit Petric aecc67f3cb Merge pull request #8 from cortezaproject/fix/factory-database-update
Fix/factory database update
2019-08-07 13:31:12 +02:00
Tit Petric f472ac05d1 fixes after database profiler/logger refactor 2019-08-06 20:27:56 +00:00
Tit Petric cc3c100c62 replace profiler with logger, update logger option to bool 2019-08-06 20:27:35 +00:00
Tit Petric c4da01853d update vendor for titpetric/factory 2019-08-06 20:09:59 +00:00
Denis Arh 3164883736 Remove wait-for-it test service 2019-07-31 16:07:08 +02:00
Denis Arh 84ed53f429 Refactor repo functions to UPDATE instead of REPLACE 2019-07-23 07:08:14 +02:00
Denis Arh 8a5ca66fce Clear all threads when marking channel as read 2019-07-19 23:13:15 +02:00
Denis Arh f86d3eb4d7 Remove uneeded sorting conditions 2019-07-19 23:04:12 +02:00
Denis Arh 6ea7dcaf13 Reorder CI pipeline
corteza-server is most often needed so lets push it in front
2019-07-19 22:06:25 +02:00
Denis Arh ba3b59acd3 Unread refactoring, moving logic to backend 2019-07-19 22:03:39 +02:00
Denis Arh 8d7fb9c814 Explicit casts on order-by for record values 2019-07-19 06:48:46 +02:00
Denis Arh 38b117044c Remove "ORDER BY" before counting rows 2019-07-19 06:32:31 +02:00
Denis Arh 72672f6202 Add more logging + support for PROVISION_SETTINGS_AUTH_EXTERNAL_* 2019-07-18 14:47:42 +02:00
Denis Arh 2586919c6b Ability to provision OIDC w/o full redir-url verification 2019-07-18 14:47:01 +02:00
Denis Arh 0e1575f90f Add ability to provision OIDC providers from ENV
PROVISION_OIDC_PROVIDER="name provider-url"
2019-07-17 13:41:24 +02:00
Denis Arh f75861c917 Add internal exec delay functionality for the API
Delay API startup options:
 - duration (WAIT_FOR)
 - service hosts (WAIT_FOR_SERVICES=host1:80 host2:3306)
 - service URL (WAIT_FOR_SERVICES=https://cortezaproject.org)
2019-07-17 10:23:30 +02:00
Denis Arh 9f19a49317 Improve DB conn. code, make retry/timeout configurable 2019-07-17 10:20:41 +02:00
Denis Arh ed4acf58ca Add support for IS NULL and IS NOT NULL syntax 2019-07-16 09:54:39 +02:00
Denis Arh b006cb8784 Additional ws session check before writing
Avoiding reported "invalid memory address or nil pointer dereference"
2019-07-16 09:01:01 +02:00
Denis Arh 12c7ae682d Add missing auto-discovery setting 2019-07-15 15:28:15 +02:00
Denis Arh 14f1fe4b58 Refactor & merge external auth settings 2019-07-15 14:57:25 +02:00
Denis Arh de26f15c8e Refactor auth settings auto-discovery to new file 2019-07-15 11:57:14 +02:00
Denis Arh d92fd8a2e2 Better frontend url discovery 2019-07-15 11:33:52 +02:00
Denis Arh 3602132a13 Extend settings management CLI command
Add --prefix flag to remove multiple values
2019-07-15 11:33:23 +02:00
Denis Arh 5f7bd696cf Properly cast provider name to label 2019-07-15 07:51:38 +02:00
Denis Arh 30400754ef Fix InitService under monolith build 2019-07-14 14:22:11 +02:00
Denis Arh 09aeaac5d7 Refactor app bootstraping, improve ext provider autodiscovery 2019-07-14 13:58:27 +02:00
Denis Arh ab4b74620f Improve settings auto-discovery, make it provisionable 2019-07-14 11:24:43 +02:00
Denis Arh dd5820253f Docs moved to corteza-docs repo 2019-07-14 11:23:29 +02:00
Denis Arh 00bad0cfce More robust external auth flow 2019-07-13 17:39:00 +02:00