3
0

15 Commits

Author SHA1 Message Date
Denis Arh
59ec77e204 Refactor JWT implementation 2022-01-18 21:50:18 +01:00
Denis Arh
3ffa0ef8be Fixing codebase after JWT lib switch 2022-01-11 15:35:05 +01:00
Denis Arh
60020f8510 Upgrade go-chi&co 2022-01-11 10:53:49 +01:00
Denis Arh
5d6945cec9 Add locale handling, translation dec/enc and serving 2021-08-23 19:10:21 +02:00
Denis Arh
41dc9d8658 Basepath cleanup & improvements 2021-05-21 09:35:52 +02:00
Denis Arh
1d59a3acf2 Allow custom URL prefix for all corteza endpoints
Add new env. variables and options
 - HTTP_BASE_URL to control URL prefix, defaults to /
 - HTTP_SSL_TERMINATED to explicitly set if Corteza is running behind HTTPS
Refresh and document webapp/Makefile with more dev tasks
Fix all absolute URLs in applications, logos, icons
Improve logic behind integrated webapp serving, inject/replace <base href> tag according to URL prefix
Prevent mounting api & webapps to the same base
2021-05-09 16:47:19 +02:00
Denis Arh
79ed77a379 Fixed typos across the codebase (can not, cannot) 2021-03-17 17:25:05 +01:00
Denis Arh
5e9545e9ab Switched api docs from statik to go:embed 2021-02-24 06:40:23 +01:00
Denis Arh
53be013377 Implement new auth UI, deprecate auth API endpoints 2021-02-23 07:34:10 +01:00
Denis Arh
629cdc06cd More info about api, docs, webapp endpoints 2020-12-14 14:51:40 +01:00
Denis Arh
9b0308f36c Simplify test/demo webapp installation 2020-11-10 14:46:41 +01:00
Denis Arh
65bc428406 Stabilise API docs serving, move it under API root 2020-11-09 07:08:46 +01:00
Denis Arh
bfdb1d8426 OpenAPI docs 2020-11-05 19:13:26 +01:00
Denis Arh
ed8fc547f7 Config. environment (throughenv var 'ENVIRONMENT') 2020-11-04 15:13:27 +01:00
Denis Arh
ecb7f52c31 Improve error creation & handling by API 2020-11-04 14:18:33 +01:00