Commit Graph

171 Commits

Author SHA1 Message Date
Knut Ahlers
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
Knut Ahlers
805a005ed5
[#92] Add detection for write-disabled instances
to deactivate secret creation for non-logged-in users

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-06-15 18:51:37 +02:00
Knut Ahlers
f5aebbb99a
[#91] Add Copy-to-Clipboard button to secret URL
closes #91

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-06-14 22:49:21 +02:00
Knut Ahlers
1a2a6de9a7
Improve README readability
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-06-14 18:41:01 +02:00
Knut Ahlers
f9fde2228c
Add Turkish language (thanks to @vehbiyilmaz)
closes #90

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-06-14 18:36:26 +02:00
Knut Ahlers
63dab6e989
prepare release v1.2.0 2023-06-14 15:23:15 +02:00
Knut Ahlers
777aad5483
Log API errors in server log
and hide error details from client in order not to expose secrets

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-06-14 15:20:14 +02:00
Knut Ahlers
f0fd162b4e
[#89] Fix error handling of fetch API
fixes #89

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-06-14 15:07:01 +02:00
Knut Ahlers
1a24fbaba6
prepare release v1.1.0
refs #61 #86
closes #71
closes #87

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-06-14 12:10:25 +02:00
Knut Ahlers
9798b4c635
[#87] Remove mock code for interface dev
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-06-14 10:57:14 +02:00
Knut Ahlers
21c4fa4a8f
[#87] Remove debug statement used in dev
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-06-14 10:52:50 +02:00
Knut Ahlers
6bdac82e05
[#88] Adjust redis connection string documentation
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-06-13 23:19:17 +02:00
Knut Ahlers
d3e92c732f
ci: Move Trivy checks after build
in order to scan built binaries too

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-06-12 23:10:24 +02:00
Knut Ahlers
1720ebb665
Configure and utilize trivy scan
also fix detected issue with Dockerfile

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-06-11 15:39:39 +02:00
Knut Ahlers
6657c7f712
Fix broken theme switcher
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-06-10 20:50:53 +02:00
Knut Ahlers
f89b17d46b
Log secret expiry on startup
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-06-10 20:40:59 +02:00
Knut Ahlers
fa710e3716
Fix error on zero expiry
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-06-10 20:36:11 +02:00
Knut Ahlers
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
Knut Ahlers
128ce071cb
Implement frontend customizations
refs #71

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-06-10 18:51:17 +02:00
Knut Ahlers
d3ca12fa35
Switch to esbuild & NodeJS 18
- Replace Axios with `fetch` api
- Update dependencies

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-06-10 16:20:46 +02:00
Knut Ahlers
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
Knut Ahlers
900d816dff
redis: Remove v0.7.0 migration (3 years old)
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-06-10 00:59:22 +02:00
Knut Ahlers
be4a0ec91d
Fix: Incorrect conversion between integer types
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-06-10 00:36:12 +02:00
Knut Ahlers
880ee5851a
ci: Add CodeQL Scanning
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-06-10 00:27:01 +02:00
Knut Ahlers
181f838f00
Update dependencies
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-06-09 23:06:44 +02:00
Knut Ahlers
1a9f494483
ci: Update repo URL for test / build packages
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-06-09 22:35:48 +02:00
Knut Ahlers
3e25f5f720
Only mention tool name in footer
in order to take a little step to make users more comfortable using the
tool in enterprise environments

refs #71

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-06-09 22:31:24 +02:00
Knut Ahlers
3bc73a617d
Disable secret creation when secret is empty
fixes #86

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-06-09 22:28:05 +02:00
Knut Ahlers
413ad347e4
prepare release v1.0.0 2023-04-14 13:13:15 +02:00
Knut Ahlers
bd0cce8e93
Lint: Fix whitespace issue
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-04-14 13:08:56 +02:00
Knut Ahlers
314afb287e
Breaking: Replace deprecated / archived crypto library (#80) 2023-04-14 13:06:14 +02:00
Knut Ahlers
965b37780b
prepare release v0.27.0 2023-04-10 22:27:14 +02:00
Knut Ahlers
df67e2f511
Add pt-BR translation (thanks to @imfvieira)
and unify import naming for IETF BCP 47 language tags which are not ISO
639 codes

closes #73

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-04-10 22:19:59 +02:00
Knut Ahlers
b6dc0b49aa
prepare release v0.26.0 2023-03-29 22:41:14 +02:00
Knut Ahlers
9e959d1453
Add Swedish language (thanks to @artingu)
refs #82

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-03-29 19:49:18 +02:00
Knut Ahlers
895705bacb
prepare release v0.25.0 2023-03-17 17:50:08 +01:00
Aleksey Ovchinnikov
6a0700dd81
Add Russian language (#79) 2023-03-17 13:12:47 +01:00
Knut Ahlers
ec861f1675
prepare release v0.24.1 2023-03-07 17:01:44 +01:00
Knut Ahlers
fe1fb58023
Replace repo-runner with Github actions
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-03-07 16:56:55 +01:00
Knut Ahlers
1d6c06e506
Update dependencies
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-03-07 16:05:16 +01:00
Knut Ahlers
1fceb044ae
prepare release v0.24.0 2022-11-24 22:25:57 +01:00
Dejavu Moe
007b82d1d8
Add Traditional Chinese translations (#68)
Co-authored-by: Knut Ahlers <knut@ahlers.me>
2022-11-24 10:33:57 +01:00
Knut Ahlers
ff91301acc
Fix: Use full browser provided language tag
instead of limiting to only the primary tag

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-11-23 18:49:43 +01:00
Knut Ahlers
fde887bb6a
prepare release v0.23.0 2022-11-21 11:22:59 +01:00
Dejavu Moe
8aaa373818
Add Simplified Chinese translations (#67) 2022-11-21 11:06:01 +01:00
Knut Ahlers
10f9cb2a08
Replace password generation with web-crypto API
in order to remove insecure RNG provided in `Math.random()`

closes #64

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-08-26 00:43:21 +02:00
Benjamin Arntzen
279d87ceb1
[typo] comprimise -> compromise (#63) 2022-07-22 17:06:51 +02:00
Knut Ahlers
ca48e0ed30
prepare release v0.22.0 2022-04-10 15:45:30 +02:00
Knut Ahlers
18ed848514
Upgrade golang dependencies
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-04-10 15:40:37 +02:00
Knut Ahlers
715cbb4cdf
Upgrade node-sass
to fix vulnerability

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2022-04-10 15:34:02 +02:00