all: use sbinet/overlayfs@v0.1.1
Signed-off-by: Sebastien Binet <s@sbinet.org>
all: add srht build hooks
Signed-off-by: Sebastien Binet <s@sbinet.org>
skweb: drop /article from /article/xyz for compatibility w/ Wallabagger
This CL reverts what we did in 5c5b9a6cee2dddc77f3d2766d27c7315b68a9969
Signed-off-by: Sebastien Binet <s@sbinet.org>
skapi: switch auth handling on Content-Type
Signed-off-by: Sebastien Binet <s@sbinet.org>
skweb: add a delete-confirm page before deleting an article
This removes the need for javascript.
Fixes: https://todo.sr.ht/~sbinet/sako/23
Signed-off-by: Sebastien Binet <s@sbinet.org>
skweb: ensure tags consistency for /add-tags
Cleanup user request by dropping duplicate tags (in the request) and
tags that are already associated with the entry at hand.
Signed-off-by: Sebastien Binet <s@sbinet.org>
all: rename sksrv into skapi
Fixes https://todo.sr.ht/~sbinet/sako/27
Signed-off-by: Sebastien Binet <s@sbinet.org>
skcli,sksrv,skweb: reload oauth credentials
Updates https://todo.sr.ht/~sbinet/sako/26
It's quite crude right now: we just have to remember to call
sksrv.Server.ReloadOauthClients after tampering with
sako_oauth2_clients.
Signed-off-by: Sebastien Binet <s@sbinet.org>
sako: rename EntriesOptions into Filter
also in sako_test...
Signed-off-by: Sebastien Binet <s@sbinet.org>
doc: add LICENSE blurb
Signed-off-by: Sebastien Binet <s@sbinet.org>