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
Marcos Lilljedahl
02804c4b58
Refactor user authentication
2020-10-02 00:22:52 -03:00
Paul Jolly
2d1515d12f
Allow the caller of docker-compose to provide binaries via volumes ( #417 )
...
This is a small step towards making the running of PWD more efficient.
Building the parts of PWD outside of a container is always going to be
far more efficient than inside (and saves mapping of caches etc).
As a later step we could move entirely to this approach and use a
smaller image for running PWD.
2020-09-04 14:03:29 +01:00
Paul Jolly
1a1eb34a29
Simplify the code that creates a tar passed to CopyToContainer ( #416 )
2020-09-04 13:50:19 +01:00
Paul Jolly
681de41e0a
provisioner: augment Networks config from caller when -unsafe ( #411 )
...
Currently container instances are hard-coded to join a single network,
the network associated with the session.
This change allows the caller of CreateInstance to specify which
additional networks should be joined. This is useful, for example, when
a container instance requires access to additional "backend" services
that may be running.
There are security implications associated with this change, hence the
additional networks are only joined when a new -unsafe flag is
specified. It is hoped the name is a sufficient indicator that thought
needs to go into using it.
2020-09-04 13:46:31 +01:00
Marcos Lilljedahl
78e9689249
Make path work for both url and data file upload
2020-07-27 00:05:31 -03:00
diranetafen
1aff5d7d5a
add kubectl auto-completion ( #406 )
2020-06-28 22:47:58 -03:00
Marcos Lilljedahl
cf50d344b2
Append instance variables
2020-06-21 22:26:09 -03:00
Marcos Lilljedahl
ff8a2a0c3d
Move from weave to kube-router to keep things simple
2020-06-21 15:31:50 -03:00