Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Collection of docs fixes #3234

Merged
merged 19 commits into from
Feb 19, 2024

Conversation

@wolfgangwalther
Copy link
Member Author

The last commit / issue, about the version number, still needs to be tested in CI / readthedocs.

The build is here, but it doesn't work as I had hoped. The version number is set after the title is already created, and thus we still have "PostgREST devel" being shown there. This might still work, we will just need to update the version number accordingly on our release branches.

@wolfgangwalther
Copy link
Member Author

PostgREST/postgrest-docs#734

Have you had a look at the version number stuff, @steve-chavez? Is this prominently enough displayed, WDYT?


Also, did you go through all other commits, too - or not, yet? If the tutorial/port issue is the only change we don't have agreement on, then I will just leave that out for the moment. Just let me know.

@steve-chavez
Copy link
Member

Have you had a look at the version number stuff, @steve-chavez? Is this prominently enough displayed, WDYT?

Yeah, it looks good.

Also, did you go through all other commits, too - or not, yet?

Sorry, should have been more explicit. Yes, I checked all the commits. The only observations I had where the ones above. All the rest LGTM.

…rver

Some users connect PostgREST to the wrong PostgreSQL instance - likely because they are
not even aware that another instance is running. By using the standard port 5432 instead
of 5433, we avoid this problem. The user will be made aware very early that they have
another postgresql instance running - and can solve the problem at this stage. If they
decide to change the port, they are much more likely to remember that in the later stages
of the tutorial, too.

Resolves PostgREST/postgrest-docs#304
We don't have any justification to add this hint anywhere.

Resolves PostgREST/postgrest-docs#399
The obviously wrong statement is, that PostgREST does not support asymmetric keys, while it
does. Extending on this type of attack is not necessary, because it is in fact covered by
the paragraph before - reading the algorithm from the JWT header is the problem in that case,
too. We don't do that.

This leaves us with the sentence about how the chosen library is the most important part. While
that is correct, the hint about high quality libraries for use on the *client* side is mis-
leading: The important part here is the library we choose to implement PostgREST with, not the
client-side lib. Thus, removing the whole paragraph is the best thing to do here.

Resolves PostgREST/postgrest-docs#123
As mentioned in PostgREST#3088 rules and hooks are not
available to new tenants anymore, so the note is not helpful anymore.

Resolves PostgREST#3088
Resolves PostgREST/postgrest-docs#85
Resolves PostgREST/postgrest-docs#715
The examples in this sections were in seemingly random order before.
Not all examples on this page are strictly using string representation, especially bytea.
@wolfgangwalther
Copy link
Member Author

I pushed the version number change to all back branches to have the version number show up on readthedocs everywhere.

@wolfgangwalther wolfgangwalther merged commit fac7aca into PostgREST:main Feb 19, 2024
26 of 28 checks passed
@wolfgangwalther wolfgangwalther deleted the low-hanging-docs branch February 19, 2024 20:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants