Commit Graph

26 Commits

Author SHA1 Message Date
Erik Sundell
e0aaa4f995 pre-commit: run black with string normalization 2021-11-03 23:55:34 +01:00
Erik Sundell
771ae59636 pre-commit: run black without string normalization 2021-11-03 23:53:41 +01:00
Erik Sundell
a64f242b61 flake8 fixes: unused imports and f-strings without vars 2021-10-28 15:43:50 +02:00
Erik Sundell
2d6d970146 Merge pull request #719 from consideRatio/pr/update-hub-user-env-and-tljh-deps
Bump to recent versions, and make bootstrap.py update to those when run
2021-10-28 03:47:42 +02:00
Erik Sundell
990135e179 hub env: bump to require latest major version, less pinned now 2021-10-27 09:15:44 +02:00
Min RK
afa77c42f8 use Config object when testing config
Mocking only seems to make things more complicated
2021-10-27 09:14:33 +02:00
Erik Sundell
ea720219d0 tests: make MockConfigurer support subscription 2021-10-27 01:53:55 +02:00
Jean-Marc Alkazzi
f799206920 Add relevant tests and formatting 2020-11-04 14:32:48 +02:00
YuviPanda
41474e97e3 Update tests to check for newer location of idle culler 2020-05-03 16:00:07 +05:30
Min RK
7d30501fc5 Merge pull request #382 from GeorgianaElena/issue349
Allow adding users to specific groups
2019-07-12 09:38:21 +02:00
GeorgianaElena
be388ab68a Run idle culler as a tljh module 2019-06-24 13:34:51 +03:00
GeorgianaElena
88a09285d2 Renamed group config option 2019-06-21 11:38:26 +03:00
GeorgianaElena
da443ebd4b Allow adding users to specific groups 2019-06-20 21:54:51 +03:00
GeorgianaElena
a6dee394aa Fixed test 2019-06-12 17:32:33 +03:00
GeorgianaElena
5ec046716a More idle culler tests 2019-06-12 17:05:13 +03:00
yuvipanda
f4831f051f Use c.Spawner to set mem_limit & cpu_limit
mem_limit & cpu_limit are traitlets on the parent
Spawner class. Setting these here allows plugins to
do the dangerous job of swapping the SystemdSpawner
out for something else
2019-05-18 14:39:34 -07:00
Min RK
407dc3abd4 Merge branch 'master' into replace_chp_traefik 2019-02-22 12:33:55 +01:00
Min RK
7c9bea377f add load_secrets as an explicit stage
during load_config

rather than applying directly to defaults, which should be left static
2019-02-22 11:41:50 +01:00
Leticia Portella
d41347f933 Add NativeAuth as an optional authenticator 2019-02-20 20:16:12 +00:00
GeorgianaElena
e8b303d01b Generate random traefik api password 2019-02-13 14:23:02 +02:00
GeorgianaElena
956c95e527 Fixed minor issues 2019-02-13 14:23:02 +02:00
GeorgianaElena
3ee387cd3b Fixed some issues 2019-02-13 14:23:02 +02:00
Tim Head
c67f34daca Add tests for per user memory limit 2018-10-15 16:31:16 +02:00
yuvipanda
cc5622995d Do not special case *any* authenticator
No two ways to set authenticator options - just one way.
It's slightly 'ugly' because of the mixing of camel case &
snake case, but is worth the massive reductions in complexity!
2018-07-16 16:05:44 -07:00
yuvipanda
2c7f99b57c Support arbitrary authenticators
- Removes all need for special casing authenticators.
- Install them in hub environment, directly start using them.
- Consider if we should special case any *at all*
2018-07-16 12:03:45 -07:00
yuvipanda
395b6543da Add tests for configurer.py 2018-07-16 01:39:59 -07:00