netmaker/controllers
Gabriel de Souza Seibel 922e7dbf2c
[NET-404] Run in limited mode when ee checks fail (#2474)
* Add limited http handlers functionality to rest handler

* Export ee.errValidation (ee.ErrValidation)

* Export a fatal error handled by the hook manager

* Export a new status variable for unlicensed server

* Mark server as unlicensed when ee checks fail

* Handle license validation failures with a (re)boot in a limited state

* Revert "Export a fatal error handled by the hook manager"

This reverts commit 069c21974a8d36e889c73ad78023448d787d62a5.

* Revert "Export ee.errValidation (ee.ErrValidation)"

This reverts commit 59dbab8c79773ca5d879f28cbaf53f3dd4297b9b.

* Revert "Add limited http handlers functionality to rest handler"

This reverts commit e2f1f28facaca54713db76a588839cd2733cf673.

* Revert "Handle license validation failures with a (re)boot in a limited state"

This reverts commit 58cfbbaf522a1345aac1fa67964ebff0a6d60cd8.

* Revert "Mark server as unlicensed when ee checks fail"

This reverts commit 77c6dbdd3c9cfa6e7d6becedef6251e8617ae367.

* Handle license validation failures with a middleware

* Forbid responses if unlicensed ee and not in status api

* Remove unused func
2023-08-03 12:16:58 +05:30
..
config remove agentbackend 2023-02-20 02:22:00 -07:00
controller.go [NET-404] Run in limited mode when ee checks fail (#2474) 2023-08-03 12:16:58 +05:30
debug.go
dns.go Added user sorting and fixed error 2023-04-03 14:36:38 -04:00
dns_test.go fix integration tests 2023-06-27 22:15:36 +05:30
docs.go update develop to v0.20.6 (#2485) 2023-08-01 11:45:17 +05:30
enrollmentkeys.go NET-152 enrollment keys for non admins (#2346) 2023-05-31 13:11:54 +05:30
ext_client.go enforce unique names for ext client names (#2476) 2023-08-01 20:20:43 +05:30
files.go
hosts.go NET-427: Peer Update fixes (#2445) 2023-07-11 13:00:09 +05:30
ipservice.go Replaced string methods with HTTP consts 2022-12-23 09:49:08 -05:00
legacy.go added ability to remove legacy nodes 2023-03-07 11:02:51 -05:00
limits.go GRA-1298: License check changes, free tier limits for saas (#2418) 2023-06-28 20:33:06 +05:30
logger.go Replaced string methods with HTTP consts 2022-12-23 09:49:08 -05:00
migrate.go adapted sso to host registration 2023-04-17 22:23:17 -04:00
network.go NET-291 PUT /api/networks/{networkname} (#2380) 2023-06-08 17:22:35 -04:00
network_test.go merge develop 2023-03-17 15:16:43 -04:00
node.go Net 500: validate network parameter passed to node endpoints (#2480) 2023-08-02 22:02:25 +05:30
node_test.go db cache nodes and hosts 2023-06-27 16:10:04 +05:30
regex.go enforce unique names for ext client names (#2476) 2023-08-01 20:20:43 +05:30
regex_test.go Extclient NET-63x (#2286) 2023-05-17 10:58:03 -04:00
response_test.go
server.go [NET-404] Run in limited mode when ee checks fail (#2474) 2023-08-03 12:16:58 +05:30
test.db
user.go Don't expose user hashed password (#2419) 2023-06-26 10:53:00 +05:30
user_test.go Don't expose user hashed password (#2419) 2023-06-26 10:53:00 +05:30