Commit Graph

201 Commits

Author SHA1 Message Date
grahammiln acaa85083f feat: ability to serve static files (#1174)
Added the configuration key, `service.staticpath`, to serve files from the configuration path on root (/).

Serving static files allows the api service to also serve the frontend content. This is a simple option for deploying Vikunja without needing any other servers or proxies.

Running a complete instance becomes:

    VIKUNJA_SERVICE_STATICPATH=/path/to/frontend ./vikunja

Where `/path/to/frontend` is a copy of Vikunja's frontend static files.

## Implementation

Providing a path, via the configuration or environment, adds a static file middleware to serve the path's contents from root (/).

By default, the configuration path is empty and Vikunja's existing behaviour is unchanged.

Co-authored-by: Graham Miln <graham.miln@dssw.co.uk>
Reviewed-on: vikunja/api#1174
Reviewed-by: konrad <k@knt.li>
Co-authored-by: grahammiln <grahammiln@noreply.kolaente.de>
Co-committed-by: grahammiln <grahammiln@noreply.kolaente.de>
2022-05-23 20:49:28 +00:00
tuxthepenguin 4960a498ff Add client-cert parameters of the Go pq driver to the Vikunja config (#1161)
Co-authored-by: tuxthepenguin <tux@saturnv.uphus-internal.de>
Reviewed-on: vikunja/api#1161
Reviewed-by: konrad <k@knt.li>
Co-authored-by: tuxthepenguin <tuxthepenguin@noreply.kolaente.de>
Co-committed-by: tuxthepenguin <tuxthepenguin@noreply.kolaente.de>
2022-04-23 15:46:00 +00:00
Subhaditya Nath 96e519ea96
fix: broken link (#27) 2022-04-18 21:00:46 +02:00
kolaente 8aa646e4d9
chore(docs): redirect properly from /docs/docs 2022-03-06 13:42:07 +01:00
kolaente 82158d7718
fix(docs): don't use cannonify url 2022-02-25 14:25:03 +01:00
konrad 1322cb16d7 feat: add long-lived api tokens (#1085)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#1085
Co-authored-by: konrad <k@knt.li>
Co-committed-by: konrad <k@knt.li>
2022-02-06 13:18:08 +00:00
kolaente 049ae39c62
docs: add guide for Synology NAS 2022-01-25 22:40:19 +01:00
shilch f7a06e4644 Enable a list to be moved across namespaces (#1096)
Co-authored-by: Simon Hilchenbach <simon@hilchenba.ch>
Reviewed-on: vikunja/api#1096
Reviewed-by: konrad <k@knt.li>
Co-authored-by: shilch <simon@hilchenba.ch>
Co-committed-by: shilch <simon@hilchenba.ch>
2022-01-23 12:59:43 +00:00
kolaente da318e3db1
docs: update testing 2022-01-23 11:49:03 +01:00
Mike a4c85fed55
feat(docs): add details of using NGINX Proxy Manager to the Reverse Proxy docs (#13) 2021-12-19 19:54:18 +01:00
kolaente 13561f2114
docs: improve wording for systemd
(cherry picked from commit 094138b0c55a1d2013615275362749b77bb4dc9a)
2021-12-07 18:35:39 +01:00
kolaente 6ece909286
chore(docs): update docs about compiling from source 2021-11-28 12:56:46 +01:00
kolaente 445cc4f79d
fix(docs): update minimum required go version 2021-11-28 12:49:15 +01:00
kolaente 1fa74cba64
docs: add another tutorial link 2021-11-16 21:17:53 +01:00
kolaente 9bf32aae99
docs: improve development docs 2021-11-13 18:20:23 +01:00
kolaente 2aea1691cf
docs: add postgres to docker-compose examples 2021-11-13 18:08:57 +01:00
kolaente 4829c89940
docs: update backup instructions 2021-11-13 18:00:49 +01:00
kolaente cc612d505f
docs: make sure all links to vikunja pages are https 2021-10-31 11:23:42 +01:00
stephen-hill 82a3330412 Added the ability to configure the JWT expiry date using a new server.jwtttl config parameter. (#999)
Co-authored-by: Stephen Hill <stephen@gatekiller.co.uk>
Reviewed-on: vikunja/api#999
Co-authored-by: stephen-hill <stephen@gatekiller.co.uk>
Co-committed-by: stephen-hill <stephen@gatekiller.co.uk>
2021-10-09 11:02:28 +00:00
kolaente 68998e90a4
docs: fix api url in docker examples without a proxy 2021-09-29 20:38:09 +02:00
kolaente dbd6f36da6
docs: add another youtube tutorial 2021-09-24 22:11:03 +02:00
kolaente 4255bc3a94
docs: add docker-compose example with no proxy 2021-09-24 20:45:37 +02:00
kolaente be47459c14
Docs: Add another third-party tutorial link 2021-09-06 21:15:04 +02:00
konrad 90146aea5b User Data Export and import (#967)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#967
Co-authored-by: konrad <k@knt.li>
Co-committed-by: konrad <k@knt.li>
2021-09-04 19:26:31 +00:00
kolaente 15e5a9069b
Docs: Update translation guidelines 2021-08-31 22:45:02 +02:00
kolaente c9d0f519ee
Docs: Update translation guidelines 2021-08-31 22:41:56 +02:00
kolaente d7b74500c3
Add another youtube tutorial 2021-08-30 20:55:21 +02:00
kolaente bd24743640
docs: Add other installation resources 2021-08-23 17:52:01 +02:00
kolaente f8833ae8a2
docs: Add k8s-at-home Helm Chart for Vikunja 2021-08-20 19:24:50 +02:00
kolaente 98f367eb97
Add menu link to Vikunja Cloud in docs 2021-08-15 18:20:39 +02:00
kolaente dcddaab7b5
Set todoist migration redirect url to the frontend url by default 2021-08-14 18:27:29 +02:00
konrad 27119ad6d4 User account deletion (#937)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#937
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-committed-by: konrad <konrad@kola-entertainments.de>
2021-08-11 19:08:10 +00:00
kolaente 77c2b77079
Show config full paths and env variables with config options 2021-08-11 18:20:34 +02:00
kolaente dc2915875b
Docs: Fix rewrite rules in apache example configs 2021-08-02 17:09:38 +02:00
kolaente 5cfc9bf2f9
Disable the user account after 10 failed password attempts 2021-07-29 18:45:22 +02:00
konrad 1571dfa825 Task mentions (#926)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#926
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-committed-by: konrad <konrad@kola-entertainments.de>
2021-07-29 15:42:49 +00:00
kolaente 7ee535de47
Docs improvements 2021-07-14 00:25:12 +02:00
kolaente 265e778867
Docs: Translation now happening at crowdin 2021-07-13 11:42:46 +02:00
kolaente d26f81162f
Add ios to the list of not working caldav clients 2021-07-11 16:37:05 +02:00
kolaente 373e3f3d60
Add a note about default password to docs 2021-07-09 21:12:32 +02:00
kolaente 7408380560
Add translation docs 2021-06-24 00:14:29 +02:00
kolaente bf68ccbb25
Don't use the mariadb root user in docker-compose examples 2021-06-20 22:37:35 +02:00
kolaente b7ec24ff52
Fix old references to master in docs 2021-05-17 12:53:12 +02:00
kolaente b76ad8efe2
Add more logging and better error messages for openid authentication + clarify docs 2021-05-16 13:23:10 +02:00
kompetenzbolzen 86b7d224ab Expose tls parameter of Go MySQL driver to config file (#855)
Co-authored-by: Jonas Gunz <himself@jonasgunz.de>
Reviewed-on: vikunja/api#855
Reviewed-by: konrad <konrad@kola-entertainments.de>
Co-authored-by: kompetenzbolzen <himself@jonasgunz.de>
Co-committed-by: kompetenzbolzen <himself@jonasgunz.de>
2021-05-08 14:54:55 +00:00
kolaente 9dc72c5c98
Use golang's tzdata package to handle time zones 2021-05-07 12:18:21 +02:00
kolaente e4db9dfe6c
Cleanup old docs themes submodule 2021-04-22 11:33:15 +02:00
kolaente 967270b2c1
Fix docs 2021-04-11 18:38:06 +02:00
konrad b3c604fd2f Add link share password authentication (#831)
Reviewed-on: vikunja/api#831
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-committed-by: konrad <konrad@kola-entertainments.de>
2021-04-11 13:17:50 +00:00
konrad d1b87d2705 Add a "done" option to kanban buckets (#821)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#821
Co-authored-by: konrad <konrad@kola-entertainments.de>
Co-committed-by: konrad <konrad@kola-entertainments.de>
2021-03-24 20:16:35 +00:00