Wolfgang Walther and Wolfgang Walther
8b63d928ae
test: Reorganize test/ folder into one subdirectory for each test type
2022-01-07 13:10:36 +01:00
Wolfgang Walther and Wolfgang Walther
826ae7459a
refactor: simplify logger middleware
2022-01-05 11:01:54 +01:00
Wolfgang Walther and Wolfgang Walther
1e9031573c
test: Move io-tests SQL fixtures to a separate file
2022-01-04 09:36:22 +01:00
Wolfgang Walther and Wolfgang Walther
5f43235370
nix: Fix nested postgrest-with-postgresql-x calls when -f is used
2022-01-04 09:36:22 +01:00
Wolfgang Walther and Wolfgang Walther
595c2a5257
nix(feat): Add postgrest-git-hooks to enable pre-commit and pre-push hooks
2021-12-06 10:40:23 +01:00
Wolfgang Walther and Remo
74f6e5225c
nix: Add weeder to postgrest-coverage
...
Removes a bit of dead code from SpecHelper.hs
2021-12-04 11:39:56 +01:00
Wolfgang Walther and Wolfgang Walther
5a8d9b1246
nix(feat): Add bash completion for git references
2021-11-27 10:57:29 +01:00
Wolfgang Walther and Wolfgang Walther
32ff9dfb48
nix(feat): Add postgrest-loadtest
2021-11-27 10:57:29 +01:00
Wolfgang Walther and Wolfgang Walther
ab90bd24e0
nix(feat): Add postgrest-with-git and postgrest-with-pgrst tools
2021-11-27 10:57:29 +01:00
Wolfgang Walther and Wolfgang Walther
b38564e623
nix(refactor): Make checking for required environment variables a no-op
2021-11-24 21:23:57 +01:00
Wolfgang Walther and Wolfgang Walther
2a2a4bdeac
nix: remove unused ghr import
2021-11-24 21:23:57 +01:00
Wolfgang Walther and Wolfgang Walther
a65ac9b0f6
feat: drop support for pg 9.5
2021-11-24 19:42:53 +01:00
Wolfgang Walther and Remo
b7dcc63e37
nix: Simplify with_tmp_db
2021-11-24 18:06:56 +01:00
Wolfgang Walther and Wolfgang Walther
942391c508
ci: Add .github scripts to shellcheck
2021-11-21 18:40:42 +01:00
Wolfgang Walther and Remo
041f73cae8
nix(feat): Add actionlint to postgrest-lint
2021-11-17 18:58:34 +01:00
monacoremo
43c8bde8ce
refactor: Add doctests
2021-11-13 04:07:46 +01:00
monacoremo
71262fbc5c
nix: Hook hsie check-aliases into postgrest-lint
2021-11-05 08:08:00 +01:00
monacoremo
d16a4a9a2b
nix: fix statix hints
2021-11-02 23:10:23 +01:00
monacoremo
2357961f48
nix: add statix to postgrest-style
2021-11-02 23:10:23 +01:00
monacoremo
0f95900822
nix: Upgrade hsie tool to GHC 8.10.7
2021-11-01 23:23:19 +01:00
monacoremo
8ac14447ef
nix: Update nixpkgs to latest unstable version
2021-11-01 23:23:19 +01:00
laurenceisla and GitHub
627c3c34b7
feat: Make GUC names for headers, cookies and jwt claims compatible with PostgreSQL v14
...
Getting the value for a header GUC on PostgreSQL v14 is done using `current_setting('request.headers')::json->>'name-of-header'` and in a similar way for `request.cookies` and `request.jwt.claims`
PostgreSQL versions below 14 can opt in to the new JSON GUCs by setting the `db-use-legacy-gucs` config option to false (true by default)
2021-10-12 12:58:52 -05:00
monacoremo
2982c5de2e
nix: Fix postgrest-check
2021-09-23 22:36:58 +02:00
Wolfgang Walther and Remo
5874482f03
nix(fix): Database cluster not cleaned up before artifact upload
2021-08-15 12:35:52 +02:00
Wolfgang Walther and Remo
0511e99dd4
nix(refactor): Add withPath to checkedShellScript
2021-08-15 12:35:52 +02:00
monacoremo
6d9fcfa09f
ci: Remove unused create_test_db script
2021-08-08 06:42:59 +02:00
monacoremo
fb2adea5e9
ci: Adjust build status badge in READMEs
2021-08-08 06:42:59 +02:00
monacoremo
d9b15adb35
ci: Use GitHub Actions for CI/CD
2021-08-08 06:42:59 +02:00
Remo Rechkemmer and GitHub
68bf17118d
Upgrade Nix dependencies including nixpkgs and static-haskell-nix ( #1899 )
2021-07-23 19:54:29 +02:00
monacoremo
83cc358e1b
nix: Update static-haskell-nix and fix stripped executable
2021-07-15 09:41:52 +02:00
monacoremo
27c8dabd8d
nix: Use GHC 8.10.4 in Nix build environment
2021-07-15 09:41:52 +02:00
monacoremo
9568c4605a
nix: Update nixpkgs and static-haskell-nix
2021-07-15 09:41:52 +02:00
Laurence Isla
6fe88ef53c
Add Oblivious as a sponsor and a Sponsors section to the docker hub description
2021-07-12 19:30:35 -05:00
Wolfgang Walther and Wolfgang Walther
4ded01b104
nix(fix): Fix missed devtools->devTools renaming
2021-04-24 15:25:10 +02:00
Wolfgang Walther and Wolfgang Walther
c691b37f76
nix(feat): Create all temporary directories with script name template
...
Temporary directories are now created in $TMPDIR/postgrest/script-name-XXX. This allows recognizing the origin of a single temporary directory and uploading the whole $TMPDIR/postgrest folder as an artifact in CI.
2021-04-24 15:07:13 +02:00
Wolfgang Walther and Wolfgang Walther
14ddecc81a
nix(fix): Avoid rebuilding during postgrest-coverage
2021-04-24 15:07:13 +02:00
Wolfgang Walther and Wolfgang Walther
3611eab39c
nix(fix): Make postgrest-dump-schema work in nix-shell --pure
2021-04-24 15:07:13 +02:00
Wolfgang Walther and Wolfgang Walther
e5350d2d50
nix(refactor): Split cabalTools from devtools
...
This allows to use `postgrest-build` in CI without pulling in a lot of dependencies.
2021-04-24 15:07:13 +02:00
Wolfgang Walther and Wolfgang Walther
ba47a54293
nix(refactor): Make with_tmp_db true checkedShellScript
...
This extends the interface of withTmpDb to allow loading different sets
of database fixtures via `postgrest-with-postgresql-xx --fixtures
<path>`.
2021-04-24 15:07:13 +02:00
Wolfgang Walther and Wolfgang Walther
7ca0d46936
nix(fix): Fix postgrest-push-cachix in nix-shell --pure
2021-04-18 13:51:39 +02:00
Wolfgang Walther and Wolfgang Walther
b566481477
nix(refactor): Move shell scripts to subdirectory nix/tools
2021-04-18 13:51:39 +02:00
Wolfgang Walther and Wolfgang Walther
fe497fc438
nix(refactor): Add buildToolbox to streamline module interface towards shell.nix
2021-04-18 13:51:39 +02:00
Wolfgang Walther and Wolfgang Walther
de73ced34a
nix(feat): Change memoryTests shell argument to memory
...
Avoids confusion with `memoryTest`.
2021-04-18 13:51:39 +02:00
Wolfgang Walther and Wolfgang Walther
bc879507ae
nix(fix): Make naming of tools in postgrest-release- namespace consistent
2021-04-18 13:51:39 +02:00
Wolfgang Walther and Wolfgang Walther
eee5d5d482
nix(feat): Add shellcheck to postgrest-lint for bash scripts in test/*
2021-04-18 13:51:39 +02:00
Wolfgang Walther and Wolfgang Walther
2e73886adc
nix(refactor): Split memoryTest from tests.nix into memory.nix
2021-04-18 13:51:39 +02:00
Wolfgang Walther and Wolfgang Walther
e199337a53
nix(feat): Check required environment variables in postgrest-release tools
2021-04-18 13:51:39 +02:00
Wolfgang Walther and Wolfgang Walther
2417cfb02f
nix(feat): Force optional arguments to go before positional arguments in argbash scripts
...
This improves passing subcommands to postgrest-with- tools.
2021-04-18 13:51:39 +02:00
Wolfgang Walther and Wolfgang Walther
2559d32912
nix(feat): Add argbash bash completion support
2021-04-18 13:51:39 +02:00
Wolfgang Walther and Wolfgang Walther
c2df7d8198
nix(fix): Avoid losing exit trap through subcommand in postgrest-with-all
2021-04-18 13:51:39 +02:00