Xe Iaso
d8cdd736a7
cmd/web: make error messages cleaner, add TLS, fix the posting form
...
Signed-off-by: Xe Iaso <xe@tailscale.com>
2023-01-12 16:25:34 +00:00
Xe Iaso
34f5253535
go mod tidy
...
Signed-off-by: Xe Iaso <xe@tailscale.com>
2023-01-12 16:25:13 +00:00
Xe Iaso
2db588e8ae
update nixpkgs
...
Signed-off-by: Xe Iaso <xe@tailscale.com>
2023-01-11 20:24:35 +00:00
Xe Iaso
e132530597
many fixes
...
cmd/tailpaste:
- better handle the error cases from web
cmd/web:
- Implement list of pastes
- Add contextual navbar for paste list and meta help
- Add error page rendering
- Add paginated paste listing
- Add created_at column
- Make paster information less janky on per-paste views
Signed-off-by: Xe Iaso <xe@tailscale.com>
2022-12-15 18:47:09 +00:00
Xe Iaso
a4b18e796a
implement the public index page
...
Signed-off-by: Xe Iaso <xe@tailscale.com>
2022-12-15 17:37:35 +00:00
Xe Iaso
24b7c5452c
implement browser created pastes
...
Signed-off-by: Xe Iaso <xe@tailscale.com>
2022-12-14 18:31:08 +00:00
Xe Iaso
49239f2830
implement HTML rendering
...
Signed-off-by: Xe Iaso <xe@tailscale.com>
2022-12-13 15:59:28 +00:00
Xe Iaso
93069712a9
rename cmd/paste to cmd/tailpaste, nix builders for commands
...
Signed-off-by: Xe Iaso <xe@tailscale.com>
2022-12-08 20:45:45 +00:00
Xe Iaso
5184d9337f
cmd/web: write URL to client instead of forwarding client
...
Signed-off-by: Xe Iaso <xe@tailscale.com>
2022-12-08 20:38:02 +00:00
Xe Iaso
b397291bd2
initial commit
...
Signed-off-by: Xe Iaso <xe@tailscale.com>
2022-12-08 19:43:13 +00:00