grim/hgkeeper
Clone
Summary
Browse
Changes
Graph
temporarily disable findHgrcsForRepo to see if it's cause the OOMKill in k8s
2020-11-13, Gary Kramlich
876d62398b99
Add some additional used tests for find hgrcs for repo and fix a bug
2020-11-13, Gary Kramlich
a3894522a8c0
Add the global hgrc path to hgweb
2020-11-13, Gary Kramlich
37b0575030fb
Add a unit test to make sure findHgrcsForRepo is working correctly
2020-11-13, Gary Kramlich
4c9cc0c56dff
Add support for repository specific hgrc files. Fixes HGKEEPER-2
2020-11-12, Gary Kramlich
e6f733f18b86
Update a bunch of documentation
2020-11-12, Gary Kramlich
f24e3134ae3d
Add support for integrating with openssh-server
2020-11-09, Gary Kramlich
f4875b6bffa5
Missed some of the old package names, this caused the ssh code to reference an uninitialized access package
2020-06-12, Gary Kramlich
7dcc72aff778
Remove old tests that references code that was deleted long ago
2020-06-12, Gary Kramlich
0f009a337675
Update the page to keep. Fixes HGKEEPER-10
2020-05-08, Gary Kramlich
00140ff02051
add a switch to disable the cache with it forced off right now as apparently nothing ever expires right now
2020-04-28, Gary Kramlich
6b8a0acef0f0
Serve all static files from /static and handle it from go instead of passing it to python. Fixes HGKEEPER-7
2020-04-24, Gary Kramlich
fbcab4551b60
Add documentation on how to run the container. Refs HGKEEPER-6
2020-04-23, Gary Kramlich
f3e037634b20
Add access logging
2020-04-15, Gary Kramlich
32762318fbdd
rename responseWrite to cachingResponseWriter
2020-04-15, Gary Kramlich
4fc4d4c7aac6
Add a caching layer to the hgweb portion. This should take some strain off of mercurial anf our cpu quota
2020-04-15, Gary Kramlich
410414a1fbe7
Make the default hgkeeper theme the default theme and move everything to python3
2020-04-13, Gary Kramlich
d3f0b014ec49
Fix some typos in the readme
2020-04-13, Gary Kramlich
e86ba80834b8
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