-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Provide "changes" API endpoint #200
Comments
Avoid the problem: /root/.postgresql/root.crt (No such file or directory)
I'm thinking on caching the It's an easier solution. We can return @dlebrero any thoughts? References: |
Seems reasonable and a lot simpler. I assume the cache key will be the user email + url? |
yes, email+request_uri |
* We also introduce the change to convert ids into Strings for delete* events.
The proxy server (nginx) will cache this response for 1h. Useful for _eager_ clients re-requesting the same thing over and over again. The value of 1h is arbitrary and we can adjust it. A client can bypass the proxy by using a request header `Pragma: no-cache`
* Test caching as part of the CI build
* It's quite unlikely that the same user (part of the cache key) is requesting the same URL at the same time
Instead of creating the connection and then creating a `{:connection conn}` map when needed, we can use the with-db-connection macro
[#200] Respond HTTP 204 when no more changes are available
[#200] Adds support for exposing Survey changes
* formChanged|formDeleted will show only data the user has access to
* We expect that RemoteAPI to be installed once per thread (request), instead of installing/uninstalling several times
- We can't authorize deletes (as the main object on which we authorize may be gone) - Provide candidates for forms and surveys ids when trying to list-and-authorize
- Get rid of using `nil` value when loading forms and surveys. This particular one masked a different logic bug. By using explicit ids when fetching objects we harden the function "contract".
Can we close this? |
The text was updated successfully, but these errors were encountered: