Commit Graph

292 Commits

Author SHA1 Message Date
b64daaf034 fix: issue with breaking changes in gofakeit v0.13.31 2020-05-22 16:52:42 -04:00
c7837bf758 feat: add open opencensus telemetry support v0.13.30 2020-05-22 16:49:54 -04:00
448e6bb72a fix: add config for per role operation blocking by type v0.13.29 2020-05-22 02:24:22 -04:00
f7d3760af7 feat: re-format graphql queries saved in allow.list 2020-05-22 02:24:22 -04:00
2acb05741e fix: few typos (#67) 2020-05-21 01:07:54 -04:00
8104ee9df2 fix: update description in the README 2020-05-20 09:42:10 -04:00
ab8566df03 fix: postgres schema name config value is not used v0.13.28 2020-05-20 00:03:05 -04:00
94fa51ffb2 fix: add color to logo for dark mode 2020-05-18 00:32:53 -04:00
1c823e4353 feat: add cloudbuild.yaml generation for new apps v0.13.27 2020-05-17 19:16:40 -04:00
f6ce0c102b docs: new website 2020-05-17 03:12:09 -04:00
a1a47c905d fix: update discord link (#66) 2020-05-16 02:05:59 -04:00
d3e32f944a fix: json content type breaks web ui v0.13.26 2020-05-11 21:09:12 -04:00
3bf9f02a9f fix: bug with reading config file by name v0.13.25 2020-05-10 11:26:48 -04:00
533c767e1d fix: benchmark was failing. Also added a benchmark for the chirino/graphql version gql parser to compare results. (#62) 2020-05-07 10:48:01 -04:00
84d55dbc8a feat: remove data from variables saved to allow.list v0.13.24 2020-05-07 10:27:40 -04:00
5aafff6310 chore: add InteliJ editor project files to the .gitignore list. (#61) 2020-05-07 10:24:29 -04:00
840aaf64ff fix: return response as application/json (#59) 2020-05-07 10:24:12 -04:00
7bbb56a328 fix get functions parameters without name (#60) 2020-05-07 03:04:37 -04:00
394b08b2fe chore: update changelog v0.13.23 2020-05-03 21:01:16 -04:00
842252f9e2 fix: fix issue with skipping prepared statements for some roles on error 2020-05-03 20:52:26 -04:00
279f5616d1 fix: fix for issues reported by deepsource 2020-05-03 16:08:34 -04:00
04bb88f74b Add .deepsource.toml 2020-05-03 19:57:42 +00:00
38ed6dbc5f fix: bug with single quote ecape in production mode v0.13.22 2020-05-01 02:20:45 -04:00
ec2f8d0c58 chore: pickup latest version of chirino/graphql module for it’s schema api simplifications. (#58) 2020-05-01 02:03:35 -04:00
9b51065414 fix: grammatical errors (#57) 2020-04-25 09:57:59 -04:00
1a70603b1a feat: add option to set the cache-control header v0.13.21 2020-04-24 20:45:03 -04:00
505335d872 feat: add config to set api endpoint prefix v0.13.20 2020-04-24 01:23:35 -04:00
bdc8c65a09 fix: fix issues with code examples v0.13.19 2020-04-23 21:25:09 -04:00
03fe29b088 fix: improve documentation of the config object 2020-04-23 21:25:09 -04:00
5857efdd70 fix: correct spellings and language in README.md (#55)
* Update README.md

* Code review: fix go get again
2020-04-23 21:01:00 -04:00
bdffe7b14e fix: add a benchmark around the GraphQL api function v0.13.18 2020-04-23 01:42:16 -04:00
ae7cde0433 feat: add support for single argument Postgres functions v0.13.17 2020-04-22 20:51:14 -04:00
6293d37e73 fix: upgrade packages in the web ui v0.13.16 2020-04-21 21:05:14 -04:00
7a3fe5a1df fix: Only include the bulk update arguments on the plur… (#54)
* introspection fix: Only include the bulk update arguments on the plural versions of the fields.

* Fixes error graphql: Unknown type "String!"
2020-04-21 10:41:28 -04:00
2a32c179ba feat : improve the generated introspection schema and avoid the chirino/graphql api leaking through the core api. (#53) 2020-04-21 10:03:05 -04:00
0a02bde219 fix: block introspection queries in production mode v0.13.15 2020-04-20 02:06:58 -04:00
966aa9ce8c feat: add some initial introspection support. (#52) 2020-04-19 23:48:49 -04:00
6f18d56ca0 fix: update queries generate invalid sql v0.13.14 2020-04-19 13:40:14 -04:00
c400461835 fix: prepared statements not working in prod mode v0.13.13 2020-04-19 12:54:37 -04:00
a6691de1b7 fix: remove multi-line graphql query in log v0.13.12 2020-04-19 02:50:09 -04:00
e6934cda02 fix: vars not sanitized in roles_query v0.13.11 2020-04-18 17:46:40 -04:00
4cf7956ff5 feat: add cockroachdb support. (#50)
This PR changes the generated SQL so that it's also compatible with CockroachDB.
Notable changes:
* use `SELECT to_jsonb("__sr_0".*)`  instead of `SELECT to_jsonb("__sr_0")`
* don't use `json_populate_record`, use the `CAST` and `->>` instead.  For example:

  instead of: `SELECT "t"."full_name", "t"."email" FROM "_sg_input" i, json_populate_record(NULL::users, i.j) t`

  do: `CAST( i.j ->>'full_name' AS character varying), CAST( i.j ->>'email' AS character varying) FROM "_sg_input" i`

This PR also adds some integration tests against an actual database instance.  If you have the cockroachdb binary installed on your PATH,
the test suite will startup a temporary cockroachdb instance on a random port to test against.  It is stopped and the tmp data files are deleted once the test ends.  It will also run the integration tests against database
pointed at by your `SG_POSTGRESQL_TEST_URL` environment variable if it’s set.

Also includes some small formatting changes introduced by `gofmt -w .`
2020-04-18 17:42:17 -04:00
5356455904 Fix issue with relative paths and config files v0.13.10 2020-04-17 10:56:26 -04:00
074aded5c0 Upgrade UI and app templates v0.13.9 2020-04-16 10:27:10 -04:00
c7557f761f Fix broken build v0.13.8 2020-04-16 01:28:55 -04:00
09d6460a13 Make go get to install work. v0.13.7 2020-04-16 00:26:32 -04:00
40c99e9ef3 Fix issue with missing build variables v0.13.6 2020-04-13 00:50:54 -04:00
75ff5510d4 Fix issue with failing db cmds v0.13.5 2020-04-13 00:43:18 -04:00
1370d24985 Fix issue with make install v0.13.4 2020-04-12 20:35:31 -04:00
ef50c1957b Fix CloudRun connection issue v0.13.3 2020-04-12 10:09:37 -04:00