grim/hgkeeper
Clone
Summary
Browse
Changes
Graph
Add a caching layer to the hgweb portion. This should take some strain off of mercurial anf our cpu quota
10 months ago, Gary Kramlich
410414a1fbe7
Make the default hgkeeper theme the default theme and move everything to python3
10 months ago, Gary Kramlich
d3f0b014ec49
Fix some typos in the readme
10 months ago, Gary Kramlich
e86ba80834b8
Fix a bunch typos that av6 found.
10 months ago, Gary Kramlich
9f746cdbf79b
Refresh auth when hg init is called
13 months ago, Gary Kramlich
e82a54e2ca41
make hgweb use the site.hgrc in the admin repo if it exists
14 months ago, Gary Kramlich
20da8ebdfc2f
Use the full path for the repo so that we can group things
14 months ago, Gary Kramlich
53a77310bd95
closing merged branch
feature/hgweb
14 months ago, Gary Kramlich
ded204f16be1
Merge the hgweb support
14 months ago, Gary Kramlich
997c0b805943
Add a log message saying that the ssh server is listening
feature/hgweb
14 months ago, Gary Kramlich
c564dea8d263
Add hgweb support
feature/hgweb
14 months ago, Gary Kramlich
8d3f0cd8203a
Start of hgweb support
feature/hgweb
17 months ago, Gary Kramlich
45b57bfc4382
The setting for controlling whether or not to publish is named publish, not publishing
17 months ago, Gary Kramlich
48860d0159a2
Add site.hgrc as well as the auth files to the admin repo's readme
17 months ago, Gary Kramlich
5099511af23f
Automatically add site.hgrc to all hg commands
17 months ago, Gary Kramlich
0f2a86c692d6
Add a default site.hgrc that enabled evolve from pypi and makes everything non publishing
17 months ago, Gary Kramlich
fb15a51fc845
Show a message when trying to log in with a shell
17 months ago, Gary Kramlich
a8f2ce6d6411
Use an anonymous function for the pty callback
17 months ago, Gary Kramlich
8f70636bb8a3
move to github.com/gliderlabs/ssh and the fall out from that, including that everything just works right now...
17 months ago, Gary Kramlich
75c2fc8feb73
Read all ssh keys from a file only logging errors. Also output how many keys we loaded for each user
17 months ago, Gary Kramlich
f97b7aa39a3d
Fix up the error message for handshake failures so we don't crash
17 months ago, Gary Kramlich
da30c41b6cf3
Quick hack to get evolve working
17 months ago, Gary Kramlich
9b5726551384
Rework the command teardown function a bit
17 months ago, Gary Kramlich
19032dd26afd
Add some additional logging
17 months ago, Gary Kramlich
2f2d7fef584c
Add an hg user/group and run as that user
17 months ago, Gary Kramlich
d295eb8f32ff
Add procps so we can run top to help figure out resource requirements
17 months ago, Gary Kramlich
c6594aabeab3
Allow symlinks for the host keys
17 months ago, Gary Kramlich
f2dd4c2888e2
Add environment variables for the setup commands options
17 months ago, Gary Kramlich
c27ecd0c7904
Update to casbin v2
17 months ago, Gary Kramlich
b6e0150db76d
auto reload the access model and policy if the admin repo is accessed. This does both push and pulls right now.
18 months ago, Gary Kramlich
e2f2ff46f491
Fix the pubkey check
18 months ago, Gary Kramlich
383331e5a4fb
Rework the way we setup the access code a little bit so it's easier to refresh
18 months ago, Gary Kramlich
d13c14d4fadb
Make sure we have an ssh public key before we add it to version control. This is a safety feature to make sure no one accidentally adds their private key to the repository.
18 months ago, Gary Kramlich
6837cd82348c
Remove the access function as it's no longer needed
18 months ago, Gary Kramlich
8f41bf671a91
Changed the policy_effect to the priority model and move the definition of the access function to the policyChanged the policy_effect to the priority model. Also tried to clean up the docs to explain the changel. Also tried to clean up the docs to explain the changes.
18 months ago, Gary Kramlich
9d843fb39620
Pass the AdminRepo into the policy template so that will work automatically as well
18 months ago, Gary Kramlich
5b6436ed0733
add the host-keys directory to .dockerignore which may exist for local dev/testing
18 months ago, Gary Kramlich
c9dc1d88840a
Overhaul Dockerfile and ignore /repos when building the image
18 months ago, Gary Kramlich
7ce614654612
access.yml is no longer used for out authentication, also not sure how this ended up here...
18 months ago, Gary Kramlich
2664db87766e
Add instructions on how to build
18 months ago, Gary Kramlich
33b5ec0c4636
Overhaul the setup command so that we don't need to manually modify the repo
18 months ago, Gary Kramlich
da90fbb024f0
Add `go 1.11` to the bottom of go.mod and run `go mod tidy`
18 months ago, Gary Kramlich
21e7408ca1a0
Update README.md for the auth changes
18 months ago, Gary Kramlich
c486089a949b
Fix up the setup command and document all the things
18 months ago, Gary Kramlich
b4dd55fef66b
clean up a ton of logging
18 months ago, Gary Kramlich
ea4d0c4e0f66
basic access control is working!
18 months ago, Gary Kramlich
803e8c53ff13
rework the ssh commands so there have a setup and teardown functions
18 months ago, Gary Kramlich
f59237b3e3f2
move commands to ssh/commands
18 months ago, Gary Kramlich
f3041eb60173
Update setup for new auth. Init and read auth work, but read also grants write at the moment
18 months ago, Gary Kramlich
7b6de7b2cfd5
Move from our custom yaml access setup to casbin
18 months ago, Gary Kramlich
f82b7c397849
rework the ssh keyloading to *NOT* be a method
18 months ago, Gary Kramlich
7dd7f9cf8e7b
move KeysDir to a private variable in users.go
18 months ago, Gary Kramlich
8098dd6d3587
merging in my previous attempts at getting auth working
18 months ago, Gary Kramlich
68855a21fd28
Wire up permissions still need to handle readonly
19 months ago, Gary Kramlich
76eb73c033fc
overhaul how commands are found/run
19 months ago, Gary Kramlich
eb233ca9b428
Lots of work on access need to clean up commands before preceeding
19 months ago, Gary Kramlich
713e642eb9bc
Add an admin repos command line argument
19 months ago, Gary Kramlich
ed523f1c967e
Merge addToKey and loadKeys
22 months ago, Gary Kramlich
14af6e82af57
closing merged branch
access-control
22 months ago, Gary Kramlich
e92e1e8ee230
Merged in access-control (pull request #4)
22 months ago, Gary Kramlich
d5886fd34dc1