Commit graph

23 commits

Author SHA1 Message Date
Chen Xi
496ace34f4
Add TLS configuration for server (#190)
Co-authored-by: Knut Ahlers <knut@ahlers.me>
2024-09-22 11:26:04 +02:00
5ad6449757
Implement metrics collection for API server (#143) 2023-10-23 14:05:20 +02:00
9a530e1c66
Implement attachment checking in CLI (#141) 2023-10-21 17:12:08 +02:00
8540d4016c
CI: Add code linting (#118) 2023-10-04 22:53:29 +02:00
901c85ca11
[#85] Allow to customize secret expiry (#93) 2023-06-26 23:01:06 +02:00
d1aa675544
Mitigate possible XSS through unsafe-inline script CSP
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-06-17 15:07:30 +02:00
f89b17d46b
Log secret expiry on startup
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-06-10 20:40:59 +02:00
e320307768
Add QR-code display for secret URL
fixes #61

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-06-10 20:24:17 +02:00
128ce071cb
Implement frontend customizations
refs #71

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-06-10 18:51:17 +02:00
ea631beeef
Replace redis client, move expiry into creation interface
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-06-10 01:42:46 +02:00
Vic Demuzere
14b5801f37
Add security HTTP headers (#45) 2021-09-26 16:47:25 +02:00
9ad6d468fd
[#46] Remove external font deps, add SRI checks (#47) 2021-09-26 14:49:18 +02:00
71fa3b7590
Switch to Go 1.16 embed functionality (#42)
commit 8b9ecaaa2fe8b65e3a32317e2979387af39b5262
Author: Vic Demuzere <vic@demuzere.be>
Date:   Tue Aug 24 15:14:38 2021 +0200

    Switch to Go 1.6 embed functionality

    This means the go-bindata compile-time dependency is no longer needed.

closes #42

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-09-06 12:38:55 +02:00
Vic Demuzere
f1751aff86
Remove duplicate call LastIndex (#41) 2021-09-06 12:33:38 +02:00
cbfc002c15
Switch to Go 1.11+ modules
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2020-01-24 16:15:17 +01:00
a2c7b10418
Move frontend to Vue
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2019-05-10 23:12:00 +02:00
a88b1e7a59
Add gzip compression for included assets
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2019-05-10 16:19:20 +02:00
7aaf7a7f53
Generate SRI integrity hashes into html
to prevent loading of scripts which were modified on the network
transport

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-05-05 19:08:02 +02:00
49e7633ca5
Internalize previously external libraries and stylesheets
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-05-05 18:09:37 +02:00
c74fb23cda
Add localization for en-US and de-DE
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-08-04 21:16:00 +02:00
2ace4a3f7b
Follow linter advices
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-08-03 20:12:15 +02:00
2426abab37
Add frontend
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-08-03 18:32:30 +02:00
9c81f9223f
Initial API
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-08-03 14:13:53 +02:00