Laurence Isla and Steve Chavez
0d13b842a6
fix: OpenAPI now tags a FK correctly on O2O relationships
2024-04-18 17:08:14 -05:00
steve-chavez
1bf0c54dd6
feat: log connection pool events on log-level=info
2024-04-15 18:31:51 -05:00
Steve Chavez and GitHub
9d1dc783bf
test: use postgrest.read_stdout in io tests ( #3412 )
...
It's easier to maintain this way in case there are new log lines.
2024-04-15 13:51:23 -05:00
steve-chavez
69c6ce9c38
refactor: use LogLevel in Logger
...
* remove Logger dependency on Auth.
2024-04-14 20:10:01 -05:00
steve-chavez
c57ec52229
refactor: make stdout explicit on Logger
...
Otherwise it's hard to know we're logging to stdout.
2024-04-14 20:10:01 -05:00
Taimoor Zaeem and Steve Chavez
973201a8d3
fix: remove rejected mediatype application/vnd.pgrst.object+json from response
2024-04-13 16:07:38 -05:00
steve-chavez
fbc4d565ca
refactor: move debounce from AppState to Logger
...
Will allow to capture accurate timeout metrics.
2024-04-12 14:29:39 -05:00
steve-chavez
2de32fc108
refactor: observation handler to AppConfig
...
With this:
- Is no longer necessary to pass observer as an argument
to every function that needs observations.
- We can invoke the observer on every function that uses AppConfig.
However it'd be better to just call the observer in the upper modules
(like on App.hs).
2024-04-12 14:29:39 -05:00
Laurence Isla and GitHub
460259548d
perf: fix space leaks by downgrading fuzzyset to v0.2.4
2024-04-11 14:13:20 -05:00
steve-chavez
b88191299f
docs: remove schema cache dep from Query
2024-04-10 19:35:23 -05:00
Laurence Isla
4bcd6725fe
chore: update sponsor logos
2024-04-10 18:37:57 -05:00
Laurence Isla
70396d3f6c
docs: add dark mode
...
- Uses sphinx-rtd-dark-mode for sphinx-rtd-theme
- Adds dark mode logos for sponsors
2024-04-10 18:37:57 -05:00
steve-chavez
c9136816a2
docs: move ARCHITECTURE.md to architecture.rst
2024-04-10 15:51:08 -05:00
steve-chavez
4428253efe
docs: move health_check.rst to admin_server.rst
2024-04-10 15:51:08 -05:00
steve-chavez
47a4e2bfd0
docs: add proxy and config reloading to arch
2024-04-10 13:57:49 -05:00
renovate[bot] and Wolfgang Walther
5880e62d7a
chore(deps): update codecov/codecov-action action to v4.3.0
2024-04-10 09:10:27 +02:00
steve-chavez
2772b78013
docs: add config/cli/developer to arch
2024-04-08 15:51:30 -05:00
steve-chavez
b91908b749
docs: add architecture description
2024-04-08 13:50:00 -05:00
steve-chavez
ab73624366
docs: add architecture diagram
2024-04-08 11:57:03 -05:00
steve-chavez
5ab317caa0
refactor: one entrypoint for Plan/Response/Query
...
- deduplicates timing calculation for the different steps
- enabling query logging later on will be simpler
2024-04-04 08:58:55 -05:00
renovate[bot] and Wolfgang Walther
a66738b892
chore(deps): update codecov/codecov-action action to v4.2.0
2024-04-04 07:17:26 +02:00
steve-chavez
3d55f77bae
Revert "fix: slow responses on schema cache reload"
...
This reverts commit 727ef465c1 .
Also documents requests waiting for the schema cache.
2024-04-02 23:15:09 -05:00
steve-chavez
d7c64a93f8
docs: update schema cache
2024-04-01 19:03:14 -05:00
steve-chavez
2543b8d724
fix: clarify PGRST204 error message
2024-04-01 19:03:14 -05:00
Wolfgang Walther
6de3ba543d
nix: Use minimal set of texlive dependencies for docs-render
2024-03-31 22:05:02 +02:00
steve-chavez
06ff56d323
refactor: move isolation/settings logic to Plan.hs
2024-03-28 18:31:42 -05:00
steve-chavez
c33ca4e60c
refactor: dry timings calculation for openapi
2024-03-28 18:31:42 -05:00
steve-chavez
b75cc853b4
chore: fix compilation
...
The App.hs module was missing NamedFieldPuns.
2024-03-27 19:18:17 -05:00
steve-chavez
745e7868b0
refactor: dry some timings calculation
2024-03-27 18:22:34 -05:00
Laurence Isla
378c11104b
test: fix some in-db config values
...
To correctly test in-db override of config file values, the former must be different from the latter.
2024-03-27 15:59:35 -05:00
Laurence Isla
428a6fef63
fix: in-db config values not loading for pgrst.server_trace_header and pgrst.server_cors_allowed_origins
2024-03-27 15:59:35 -05:00
renovate[bot] and Wolfgang Walther
d02540ac44
chore(deps): update codecov/codecov-action action to v4.1.1
2024-03-26 19:49:51 +01:00
Laurence Isla and GitHub
3f162535b8
nix: add example on how to use a library locally
2024-03-26 11:39:07 -05:00
steve-chavez
a5bb20bbf8
refactor: remove unreacheable 404
2024-03-25 18:17:01 +01:00
renovate[bot] and Wolfgang Walther
f1f01f1f5c
chore(deps): update actions/cache action to v4.0.2
2024-03-19 21:58:16 +01:00
Wolfgang Walther
ee359192fa
ci: Fix duplicated version number for actions/cache
2024-03-19 21:57:30 +01:00
steve-chavez
941ea0f929
test: notify do nothing
2024-03-19 13:22:51 +03:30
steve-chavez
ee8b3ef8fe
fix: log on LISTEN notification
2024-03-19 13:22:51 +03:30
Ian Wijma and GitHub
47b70b8329
chore: fix link to docs in readme
...
Fixed the link to the archived documentation repo.
2024-03-16 11:41:44 +01:00
steve-chavez
727ef465c1
fix: slow responses on schema cache reload
2024-03-15 11:53:29 -05:00
renovate[bot] and Wolfgang Walther
210cded560
chore(deps): update nixbuild/nix-quick-install-action action to v27
2024-03-15 17:13:24 +01:00
steve-chavez
11d8da046c
fix: incorrect /ready response on slow schema load
2024-03-15 11:03:01 -05:00
steve-chavez
4b289b1c97
test: requests wait for schema cache load
...
* nix: add postgrest-test-big-schema command
2024-03-15 06:18:26 -05:00
steve-chavez
92ac7e574e
chore: clarify concurrent notifications test
2024-03-14 23:17:05 -05:00
steve-chavez
ec7ab271d6
chore: add postgrest roles to big_schema.sql
2024-03-14 11:21:17 -05:00
steve-chavez
4a2c851ae5
chore: update cabal/stack new hasql-notifications
2024-03-13 20:43:46 -05:00
steve-chavez
86e15dbb77
fix: upgrade hasql-notifications to show error
2024-03-13 11:14:11 -05:00
Steve Chavez and GitHub
00f5780415
fix: don't hide error on LISTEN channel failure ( #3323 )
2024-03-11 19:56:35 -05:00
Steve Chavez and GitHub
650249ed29
perf: remove json_typeof ( #3316 )
2024-03-08 16:02:28 -05:00
steve-chavez
9405a62de8
docs: update links to cache/config notify reload
2024-03-08 10:31:55 -05:00