Commit graph

100 commits

Author SHA1 Message Date
Gabriel Simmer fbb001be32
Both GitHub and Forgejo actions
All checks were successful
Nix build / build-docker-arm (pull_request) Successful in 5m13s
Nix build / build-docker (pull_request) Successful in 12m7s
GitHub doesn't have ARM runners yet so I'm keeping my own Forgejo config
2024-03-30 14:20:24 +00:00
Gabriel Simmer 32b733527f
Merge remote-tracking branch 'remotes/origin/main'
All checks were successful
Nix build / build-docker-arm (push) Successful in 9m51s
Nix build / build-docker (push) Successful in 12m43s
2024-03-30 12:59:10 +00:00
Xe Iaso 99fc19f91a
Merge pull request #39 from jolheiser/typo
fix: typo
2023-09-20 14:19:19 -04:00
John Olheiser 3134d24067
fix: typo 2023-09-20 12:55:28 -05:00
Xe Iaso 692e7ac3ca
Merge pull request #37 from tailscale-dev/Xe/no-title-clickable-links
cmd/tclipd: handle untitled pastes better
2023-09-20 11:54:04 -04:00
Xe Iaso 0ecf363607 cmd/tclipd: handle untitled pastes better
Fixes #29

Signed-off-by: Xe Iaso <xe@tailscale.com>
2023-09-20 09:31:57 -04:00
Gabriel Simmer f597ce4c19
Custom Forgejo action
Some checks failed
Nix build / build-docker-arm (push) Failing after 3m3s
Nix build / build-docker (push) Failing after 4m16s
2023-09-19 18:57:16 +01:00
Xe Iaso 2e7c605549
Merge pull request #36 from tailscale-dev/Xe/tclipd
Some checks reported warnings
Nix build / tests (push) Has been cancelled
cmd/web: rename to tclipd
2023-09-19 12:33:36 -04:00
Xe Iaso 90fa48d541 cmd/web: rename to tclipd 2023-09-19 12:14:48 -04:00
Xe Iaso 4085af8a6f
Merge pull request #18 from gmemstr/org-mode-rendering
Treat org-mode as render-able document
2023-09-19 11:59:42 -04:00
Gabriel Simmer 826a811dc8
Merge branch 'main' into org-mode-rendering 2023-09-19 16:47:29 +01:00
Xe Iaso 856c3ac790
Merge pull request #20 from jolheiser/enry
fix: remove markdown hack
2023-09-19 11:46:21 -04:00
Gabriel Simmer de6cf78ba6
Restrain img to width of container. 2023-09-19 16:46:15 +01:00
Gabriel Simmer 367a84eb11
Treat org-mode as render-able document 2023-09-19 16:45:22 +01:00
Xe Iaso 3e99403a66
Merge pull request #34 from tailscale-dev/Xe/avatar-size-fixes
cmd/web: adjust avatar sizing CSS to make avatars visible
2023-09-19 11:43:53 -04:00
jolheiser d7abc4efa3
fix: remove markdown hack
Signed-off-by: jolheiser <john.olheiser@gmail.com>
2023-09-19 10:42:53 -05:00
Xe Iaso 1849c333ea cmd/web: adjust avatar sizing CSS to make avatars visible
Signed-off-by: Xe Iaso <xe@tailscale.com>
2023-09-19 11:39:01 -04:00
Xe Iaso 2f7ded9122
Merge pull request #17 from gmemstr/conditional-profile-pic
Conditionally render profile picture img
2023-09-19 11:35:58 -04:00
Xe Iaso fd0551f18e
Merge pull request #35 from tailscale-dev/Xe/updates-globally
update nixpkgs and go dependencies
2023-09-19 11:35:16 -04:00
Gabriel Simmer 6fde9533d6 cmd/web/tmpl: Also conditionally render for showpaste template 2023-09-19 11:34:39 -04:00
Xe Iaso cfddee4285 update nixpkgs and go dependencies
Fixes #30
Fixes #28
2023-09-19 11:24:38 -04:00
Xe Iaso 0624533bed
Merge pull request #33 from tailscale-dev/Xe/modernc-sqlite
cmd/web: use modernc sqlite
2023-09-19 11:16:57 -04:00
Xe Iaso 93a9206b90 cmd/web: fix time format to use a known type
Signed-off-by: Xe Iaso <xe@tailscale.com>
2023-09-19 10:58:35 -04:00
Xe Iaso ec04b09f74 cmd/web: use modernc sqlite
Signed-off-by: Xe Iaso <xe@tailscale.com>
2023-09-19 10:51:11 -04:00
Xe Iaso 08405a1feb
Merge pull request #26 from tailscale-dev/Xe/tailwind
cmd/web: use tailwind for CSS styles
2023-08-29 12:26:05 -04:00
Xe Iaso f83b0ba835 cmd/web: minor navbar fix
Signed-off-by: Xe Iaso <xe@tailscale.com>
2023-08-29 11:07:42 -04:00
Xe Iaso 44f7daa250 cmd/web: copy the rest of the Tailwind style golink uses
Signed-off-by: Xe Iaso <xe@tailscale.com>
2023-08-29 10:45:50 -04:00
Xe Iaso 442be15765 cmd/web: remove xess, fix showpaste on public pastes
Signed-off-by: Xe Iaso <xe@tailscale.com>
2023-08-29 10:22:58 -04:00
Xe Iaso 0ffce32a1b cmd/web: use tailwind for CSS styles 2023-08-29 10:22:56 -04:00
Xe Iaso c7853b7b74
Merge pull request #23 from jolheiser/connected
fix: typo
2023-08-22 15:26:35 -04:00
John Olheiser 89e141e439
fix: typo 2023-08-18 10:37:04 -05:00
Xe Iaso 1d9d102f9f
Merge pull request #16 from gmemstr/ts-auth-readme
Clarify how to authenticate service with Tailscale for local dev
2023-08-17 17:34:20 -04:00
Gabriel Simmer 596ccb79b8
Clarify how to authenticate service with Tailscale for local dev 2023-08-17 21:18:10 +01:00
Xe Iaso 1bab8e2ec9
Merge pull request #15 from jolheiser/infinipaste
chore: infinipaste -> tclip
2023-08-17 11:13:19 -04:00
jolheiser d75844af57
chore: infinipaste -> tclip
Signed-off-by: jolheiser <john.olheiser@gmail.com>
2023-08-12 16:09:57 -05:00
Xe Iaso 2c99626eb0
Merge pull request #10 from tailscale-dev/Xe/fix-404-double-render
cmd/web: fix double HTML render when passing a trailing slash
2023-08-02 14:40:08 -04:00
Xe Iaso 0445ac9708
Merge pull request #14 from tailscale-dev/Xe/funnel
Funnel support
2023-06-04 09:40:38 -04:00
Xe Iaso db92129944
Merge branch 'main' into Xe/fix-404-double-render 2023-05-26 16:21:48 -04:00
Xe Iaso 6a3e79b8d0 cmd/web: only show authenticated header to tailnet users
Signed-off-by: Xe Iaso <xe@tailscale.com>
2023-03-17 15:52:33 +00:00
Xe Iaso c6a02cacea cmd/web: add a mixed criticality handler for muxing tailnet and funnel
Signed-off-by: Xe Iaso <xe@tailscale.com>
2023-03-17 15:27:47 +00:00
Xe Iaso 70c0db34cd update gomod2nix
Signed-off-by: Xe Iaso <xe@tailscale.com>
2023-03-17 14:43:35 +00:00
Xe Iaso 97f7278970 cmd/web: add code for enabling funnel
Signed-off-by: Xe Iaso <xe@tailscale.com>
2023-03-17 14:41:32 +00:00
Xe Iaso 26cbc62bca go.mod: update tailscale
Signed-off-by: Xe Iaso <xe@tailscale.com>
2023-03-17 14:38:56 +00:00
Xe Iaso 5ed6edcd6f update nix flakes to Go 1.20
Signed-off-by: Xe Iaso <xe@tailscale.com>
2023-03-17 14:30:52 +00:00
Xe Iaso 36d8fd327e
Update README.md 2023-03-14 13:41:07 -04:00
Xe Iaso 34c1a0efb8
Merge pull request #12 from tailscale-dev/Xe/markdown-render
cmd/web: add markdown processing
2023-02-27 10:58:47 -05:00
Xe Iaso 37727362e9 cmd/web: review fixes
* check extensions before content
* explicitly denote enry hack until upstream fixes[1]
* comment each case for the url parts deconstruction trick
* use fname as title when no title exists
* better title detection logic
* kill a random empty line in inline CSS
* rename sp (split) to pathComponents

[1]: https://github.com/go-enry/go-enry/pull/154

Signed-off-by: Xe Iaso <xe@tailscale.com>
2023-02-24 18:32:05 +00:00
Xe Iaso 15f805f8fc
Merge pull request #13 from tailscale-dev/Xe/fix-only-push-on-main
.github/nix: only run push job on pushes to main
2023-02-24 13:29:34 -05:00
Xe Iaso 3e64cf9c05 cmd/web: fix redirect for non-markdown posts in fancy mode
Signed-off-by: Xe Iaso <xe@tailscale.com>
2023-02-24 17:44:46 +00:00
Xe Iaso a3184dfa46 cmd/web: show fancy posts without metadata
Signed-off-by: Xe Iaso <xe@tailscale.com>
2023-02-24 17:42:41 +00:00