netmaker/logic
Vishal Dalwadi 3551e8e24e
NET-1996: Add Support for TOTP Authentication. (#3517)
* feat(git): ignore run configurations;

* feat(go): add support for TOTP authentication;

* fix(go): api docs;

* fix(go): static checks failing;

* fix(go): ignore mfa enforcement for user auth;

* feat(go): allow resetting mfa;

* feat(go): allow resetting mfa;

* feat(go): use library function;

* fix(go): signature;

* feat(go): allow only master user to unset user's mfa;

* feat(go): set caller when master to prevent panic;

* feat(go): make messages more user friendly;

* fix(go): run go mod tidy;

* fix(go): optimize imports;

* fix(go): return unauthorized on token expiry;

* fix(go): move mfa endpoints under username;

* fix(go): set is mfa enabled when converting;

* feat(go): allow authenticated users to use preauth apis;

* feat(go): set correct header value;

* feat(go): allow super-admins and admins to unset mfa;

* feat(go): allow user to unset mfa if not enforced;
2025-06-26 08:29:13 +05:30
..
acls NET-1778: scale test code changes (#3203) 2024-12-10 10:15:31 +04:00
hostactions moved data structure to db 2023-03-03 14:23:51 -05:00
pro/netcache NET-1941: failover signaling optimized, new endpoint for metrics peer info (#3322) 2025-02-14 16:06:26 +04:00
acls.go sync changes on startup, add create relay calls on defaul host 2025-06-23 06:28:43 +05:30
auth.go NET-1996: Add Support for TOTP Authentication. (#3517) 2025-06-26 08:29:13 +05:30
clients.go fix extclient allowed Ips 2024-10-29 22:57:58 +04:00
dns.go NET-1950: Persist Server Settings in the DB (#3419) 2025-04-30 02:34:10 +04:00
egress.go fix all resources tag on egress 2025-06-10 09:27:24 +05:30
enrollmentkey.go NET-2000: Api access tokens (#3418) 2025-04-23 20:21:42 +04:00
enrollmentkey_test.go fix(go): workflow errors fixes; 2025-06-06 15:42:30 +05:30
errors.go NET-2014: Audit Logging (#3455) 2025-05-21 13:13:20 +05:30
extpeers.go feat: collect location from netdesk 2025-06-12 13:22:43 +00:00
gateway.go remove extclients on network destroy action 2025-06-23 06:34:51 +05:30
host_test.go fix(go): workflow errors fixes; 2025-06-06 15:42:30 +05:30
hosts.go collect host localtion for graph 2025-06-12 15:47:24 +05:30
jwts.go NET-1996: Add Support for TOTP Authentication. (#3517) 2025-06-26 08:29:13 +05:30
legacy.go added ability to remove legacy nodes 2023-03-07 11:02:51 -05:00
metrics.go [NET-546] Move ee code to ee package, unify ee status and terminology (#2538) 2023-09-01 07:42:05 +05:30
networks.go remove extclients on network destroy action 2025-06-23 06:34:51 +05:30
nodes.go add graph api: 2025-06-13 00:47:16 +05:30
nodes_test.go NET-1288:add egress range check with netmaker network address (#2978) 2024-07-05 15:53:46 +05:30
peers.go avoid setting nil endpoint if peer using internet gw (#3529) 2025-06-25 19:17:57 +05:30
proc.go NET-1778: scale test code changes (#3203) 2024-12-10 10:15:31 +04:00
relay.go NET-2061: revert Inet gws, fix extclient comms with user policies (#3482) 2025-06-05 22:42:16 +05:30
security.go NET-1996: Add Support for TOTP Authentication. (#3517) 2025-06-26 08:29:13 +05:30
server.go NET-725: Failovers (#2685) 2023-11-29 20:10:07 +04:00
serverconf.go fix(NET-1175): use default trial end date 2024-05-03 12:52:55 +00:00
settings.go NET-1996: Add Support for TOTP Authentication. (#3517) 2025-06-26 08:29:13 +05:30
status.go NET-1956: Async Node Status API (#3341) 2025-02-24 08:48:24 +03:00
telemetry.go convert invited emails to lowercase (#3457) 2025-05-21 17:05:53 +05:30
timer.go add trial license logic 2024-01-19 14:51:51 +05:30
traffic.go add trial license logic 2024-01-19 14:51:51 +05:30
user_mgmt.go create default user policy on CE 2025-06-23 21:31:29 +05:30
users.go NET-1996: Add Support for TOTP Authentication. (#3517) 2025-06-26 08:29:13 +05:30
util.go fix merge conflicts 2025-06-24 16:56:48 +05:30
util_test.go random string 2023-05-02 13:28:00 -04:00
version.go chore: fix some comments (#2918) 2024-05-08 12:17:23 +05:30
version_test.go chore: fix some comments (#2918) 2024-05-08 12:17:23 +05:30
wireguard.go NET-1932: Merge egress and internet gateways (#3436) 2025-05-21 12:50:21 +05:30
zombie.go NET-2054: Auto Removal of Offline Nodes, fix enrollment key relay function (#3458) 2025-05-24 08:21:47 +05:30