Commit Graph

717 Commits

Author SHA1 Message Date
Marcos Lilljedahl
51d7301ecd tweak landing assets
Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
2023-05-31 11:21:28 -03:00
Marcos Lilljedahl
edd1ec41e4 bump pwk to kube 1.27.2
Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
2023-05-30 01:36:31 -03:00
Marcos Lilljedahl
a327b1926c Add security policy
Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
2023-03-04 00:08:51 -03:00
Marcos Lilljedahl
ed82247c9a fix CORS origins to avoid domain hijacking
Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
2023-03-02 01:50:08 -03:00
Kyle OBrien
2b95e66079 Update README.md (#568)
Incorrect formatting example, removed hyphen between `ip` and the numeric IP.
2023-02-08 16:41:19 -03:00
RISHABH YADAV
0823e1374d corrected some grammatical errors in the readme (#564) 2023-01-14 09:04:16 -03:00
Marcos Lilljedahl
42f7f8cc29 Ensure content is properly flushed before returning to the user
Fixes #553

Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
2022-10-06 15:30:48 -03:00
不郑
d724243282 Fix modal dismiss issue (#546) 2022-08-22 09:58:40 -03:00
Marcos Lilljedahl
72bccfadba bump go.mod
Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
2022-07-24 21:04:31 -03:00
Marcos Lilljedahl
7188d83f86 Remove unnecessary oauth method
Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
2022-07-13 18:26:52 -03:00
Marcos Lilljedahl
a5a23bf2d9 Use new docker login
Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
2022-07-13 12:07:31 -03:00
Marcos Nils
e0c0b2704c Close connection on each http request
This avoids haproxy re-using connections and having issues while forwarding traffic to l2
2022-04-25 20:53:57 -03:00
Marcos Lilljedahl
f39aab2d7e Allows haproxy to start without resolving
Fixes #519
2022-04-17 20:44:28 -03:00
Marcos Lilljedahl
adea27d839 Update logo image 2022-03-22 18:37:09 -03:00
Stavros Panakakis
3ee2975d76 Upgrade docker sdk to moby (#491)
* Replace deprecated method

* Upgrade docker sdk to moby
2021-09-07 08:03:13 -03:00
Stavros Panakakis
94ec06a3fe Refactor unreachable code (#490) 2021-09-07 08:02:29 -03:00
Marcos Lilljedahl
23d485a9e4 Add new logo 2021-08-27 12:48:05 -03:00
Marcos Lilljedahl
44cd5dcd71 Replace k8s logo 2021-08-27 12:41:01 -03:00
Marcos Lilljedahl
4500417158 Update autocert 2021-08-27 11:20:08 -03:00
Stavros Panakakis
01c8c9b921 Update deprecated method (#474) 2021-06-15 21:57:50 -03:00
Stavros Panakakis
789669a018 Update copyright year range (#469) 2021-06-04 09:44:21 -03:00
Marcos Lilljedahl
102c998028 Fix incorrect OOC handler
Fixes #462
2021-04-18 17:39:13 -03:00
Marcos Lilljedahl
c0aaf0a3a4 Fix Users handler. This never worked :D
Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
2021-03-04 00:16:42 -03:00
Marcos Nils
3a762ba15c Replace go-bindata with go 1.16 embed (#452) 2021-02-21 13:58:29 -03:00
Marcos Lilljedahl
cd6815aed5 Fix shadowing error 2021-02-18 11:07:59 -03:00
Marcos Lilljedahl
7decf117c6 Update bindata 2021-01-04 11:28:12 -03:00
Marcos Lilljedahl
8c06d6b7c1 Fix 1 manager 1 worker template
Fixes #450
2021-01-04 11:14:39 -03:00
Marcos Lilljedahl
7d6e8478eb Send privileged flag to stack creation and session setup 2021-01-02 10:21:36 -03:00
Marcos Lilljedahl
9b82e0bb7a Add accesibility options 2020-12-27 17:03:18 -03:00
Marcos Lilljedahl
a1deea0d37 Add privileged flag by default 2020-12-27 16:41:29 -03:00
Marcos Lilljedahl
8b1c2b1c31 Update dind image 2020-12-27 14:04:13 -03:00
Marcos Lilljedahl
7f304a3415 Don't crash if landing can't be fetched 2020-11-13 11:10:48 -03:00
Marcos Lilljedahl
e11087356e Rename auth redirect variable 2020-11-11 23:30:28 -03:00
Marcos Lilljedahl
4b4b767e46 Add ability to configure auth redirect url per playground 2020-11-11 23:20:10 -03:00
Marcos Lilljedahl
e8486b8100 Provide support to configure privileged containers per playground 2020-10-25 19:21:31 -03:00
Marcos Lilljedahl
f9800927fe Add PWG.dev to allowed hosts 2020-10-25 19:03:16 -03:00
Marcos Lilljedahl
d55bdc9664 Use secure cookies always 2020-10-20 02:24:15 -03:00
Marcos Lilljedahl
f898a14485 Refactor serveAsset to use ServeContent instead. 2020-10-20 01:21:40 -03:00
Marcos Lilljedahl
406a3d3be4 Fix typo 2020-10-20 00:51:50 -03:00
Paul Jolly
ef0ac9be48 Simplify the setup of bundled assets (#436)
1. Move the generated file to handlers - it better belongs there
2. Ensure that all file serves are also handled by the asset store

Co-authored-by: Marcos Lilljedahl <marcosnils@gmail.com>
2020-10-20 00:45:42 -03:00
Marcos Lilljedahl
958feeb51d Fix typo in google client secret json field tag 2020-10-18 23:47:46 -03:00
Dirane TAFEN
27d6a43813 upgrade k8s to 1.19.0 (#421) 2020-10-09 17:42:03 -03:00
Anjia Wang
9563ff1f3f Update the GitHub actions to the latest version (#431)
The current version caused a warning that `set-env` command is deprecated and will be disabled soon.
2020-10-08 19:09:01 -03:00
Paul Jolly
3dccd0b0c0 ci: run CI on latest two versions of Go (#429) 2020-10-06 14:39:46 +01:00
Paul Jolly
ed72c5a0b8 main: set CopyUIDGID: true for copy to container (#428)
This ensures that uploaded files "inherit" the owner that is the USER
listed in the image definition.
2020-10-06 14:37:55 +01:00
Paul Jolly
1e0eb1f329 main: embed assets from www to allows PWD to run standalone (#425)
Generate these assets in config because this package is imported by
most.

Add internal/addgenheader as a simple helper because go-bindata doesn't
output the write header.

Also update test CI workflow to regenerate and check commit is clean.
2020-10-06 14:33:11 +01:00
Paul Jolly
db603ec953 deps: upgrade github.com/prometheus/client_golang to latest (#424)
Earlier versions transitively depend on a version of
github.com/matttproud/golang_protobuf_extensions which depends on the
now non-existent github.com/golang/protobuf/proto/testdata (breaking
change).
2020-10-06 14:29:27 +01:00
Marcos Lilljedahl
7fadf5bad7 Remove UserGet call in tests since it's note required for anon sessions
Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
2020-10-03 10:01:44 -03:00
Marcos Lilljedahl
58a3432a4e Fix user banned test
Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
2020-10-03 09:53:58 -03:00
Marcos Lilljedahl
f13aca9092 Allow annonymous users to create sessions 2020-10-03 09:43:38 -03:00