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