Deon Thomas 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							5dd32acc6a 
							
						 
					 
					
						
						
							
							Use env variable TZ to set timezone, fallback to UTC  
						
						
						
					 
					
						2022-05-08 23:29:00 -04:00 
						 
				 
			
				
					
						
							
							
								Deon Thomas 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							6ed79b7bb8 
							
						 
					 
					
						
						
							
							order Ip Address, IPv4 first, cleanup  
						
						
						
					 
					
						2022-05-08 15:21:10 -04:00 
						 
				 
			
				
					
						
							
							
								Deon Thomas 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							b4f5ed6618 
							
						 
					 
					
						
						
							
							order ip address output, IPv4 first  
						
						
						
					 
					
						2022-05-08 15:06:12 -04:00 
						 
				 
			
				
					
						
							
							
								Igor Perepilitsyn 
							
						 
					 
					
						
						
						
						
							
						
						
							12d8f0f4b0 
							
						 
					 
					
						
						
							
							remove redundant lines of code, fix response when output is not plain text  
						
						
						
					 
					
						2022-05-02 14:00:00 +04:00 
						 
				 
			
				
					
						
							
							
								Igor Perepilitsyn 
							
						 
					 
					
						
						
						
						
							
						
						
							1b3a7bbf03 
							
						 
					 
					
						
						
							
							apply styling fixes  
						
						
						
					 
					
						2022-05-02 08:32:33 +04:00 
						 
				 
			
				
					
						
							
							
								Igor Perepilitsyn 
							
						 
					 
					
						
						
						
						
							
						
						
							bc055edf12 
							
						 
					 
					
						
						
							
							add command for moving node between namespaces  
						
						
						
					 
					
						2022-05-01 17:55:34 +04:00 
						 
				 
			
				
					
						
							
							
								zakaria 
							
						 
					 
					
						
						
						
						
							
						
						
							21eee912a3 
							
						 
					 
					
						
						
							
							feat(aliases): add aliases for nodes command  
						
						... 
						
						
						
						- `node`, `machine`, `machines` are aliases for `nodes` command
- `ls`, `show` aliases for `list` subcommand
- `logout`, `exp`, `e` are aliases for `expire` subcommand
- `del` is an alias for `delete` subcommand 
						
					 
					
						2022-03-02 14:28:03 +10:00 
						 
				 
			
				
					
						
							
							
								Kristoffer Dalby 
							
						 
					 
					
						
						
						
						
							
						
						
							9ceac5c0fc 
							
						 
					 
					
						
						
							
							Remove CLI and tests for Shared node  
						
						
						
					 
					
						2022-02-21 22:44:08 +00:00 
						 
				 
			
				
					
						
							
							
								Csaba Sarkadi 
							
						 
					 
					
						
						
						
						
							
						
						
							1a6e5d8770 
							
						 
					 
					
						
						
							
							Add support for multiple IP prefixes  
						
						
						
					 
					
						2022-01-16 14:18:22 +01:00 
						 
				 
			
				
					
						
							
							
								Kristoffer Dalby 
							
						 
					 
					
						
						
						
						
							
						
						
							59aeaa8476 
							
						 
					 
					
						
						
							
							Ensure we always have the key prefix when needed  
						
						
						
					 
					
						2021-11-27 20:25:12 +00:00 
						 
				 
			
				
					
						
							
							
								Kristoffer Dalby 
							
						 
					 
					
						
						
						
						
							
						
						
							c38f00fab8 
							
						 
					 
					
						
						
							
							Unmarshal keys in the non-deprecated way  
						
						
						
					 
					
						2021-11-26 23:50:42 +00:00 
						 
				 
			
				
					
						
							
							
								Kristoffer Dalby 
							
						 
					 
					
						
						
						
						
							
						
						
							cfd53bc4aa 
							
						 
					 
					
						
						
							
							Factor wgkey to types/key  
						
						... 
						
						
						
						This commit converts all the uses of wgkey to the new key interfaces.
It now has specific  machine, node and discovery keys and we now should
use them correctly.
Please note the new logic which strips a key prefix (in utils.go) that
is now standard inside tailscale.
In theory we could put it in the database, but to preserve backwards
compatibility and not spend a lot of resources on accounting for both,
we just strip them. 
						
					 
					
						2021-11-26 23:30:42 +00:00 
						 
				 
			
				
					
						
							
							
								Kristoffer Dalby 
							
						 
					 
					
						
						
						
						
							
						
						
							e8faff4fe2 
							
						 
					 
					
						
						
							
							Use uint64 straight instead of converting  
						
						
						
					 
					
						2021-11-22 17:22:22 +00:00 
						 
				 
			
				
					
						
							
							
								Kristoffer Dalby 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							fac33e46e1 
							
						 
					 
					
						
						
							
							Add long description for expire  
						
						
						
					 
					
						2021-11-21 21:35:36 +00:00 
						 
				 
			
				
					
						
							
							
								Kristoffer Dalby 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							b152e53b13 
							
						 
					 
					
						
						
							
							Use correct type for nodes command  
						
						
						
					 
					
						2021-11-21 21:34:03 +00:00 
						 
				 
			
				
					
						
							
							
								Kristoffer Dalby 
							
						 
					 
					
						
						
						
						
							
						
						
							a2b9f3bede 
							
						 
					 
					
						
						
							
							Add expire (logout) machine command  
						
						
						
					 
					
						2021-11-21 13:40:44 +00:00 
						 
				 
			
				
					
						
							
							
								Kristoffer Dalby 
							
						 
					 
					
						
						
						
						
							
						
						
							f85a77edb5 
							
						 
					 
					
						
						
							
							Remove println statement  
						
						
						
					 
					
						2021-11-21 09:48:59 +00:00 
						 
				 
			
				
					
						
							
							
								Kristoffer Dalby 
							
						 
					 
					
						
						
						
						
							
						
						
							1c7aff5dd9 
							
						 
					 
					
						
						
							
							Add expired column to machine list command  
						
						
						
					 
					
						2021-11-21 09:44:38 +00:00 
						 
				 
			
				
					
						
							
							
								Kristoffer Dalby 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							715542ac1c 
							
						 
					 
					
						
						
							
							Add and fix stylecheck (golint replacement)  
						
						
						
					 
					
						2021-11-15 17:24:24 +00:00 
						 
				 
			
				
					
						
							
							
								Kristoffer Dalby 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							471c0b4993 
							
						 
					 
					
						
						
							
							Initial work eliminating one/two letter variables  
						
						
						
					 
					
						2021-11-14 20:32:03 +01:00 
						 
				 
			
				
					
						
							
							
								Kristoffer Dalby 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							85f28a3f4a 
							
						 
					 
					
						
						
							
							Remove all instances of undefined numbers (gonmd)  
						
						
						
					 
					
						2021-11-14 18:31:51 +01:00 
						 
				 
			
				
					
						
							
							
								Kristoffer Dalby 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c9c16c7fb8 
							
						 
					 
					
						
						
							
							Remove unused params or returns  
						
						
						
					 
					
						2021-11-14 18:03:21 +01:00 
						 
				 
			
				
					
						
							
							
								Kristoffer Dalby 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							89eb13c6cb 
							
						 
					 
					
						
						
							
							Add and fix nlreturn (new line return)  
						
						
						
					 
					
						2021-11-14 16:46:09 +01:00 
						 
				 
			
				
					
						
							
							
								Kristoffer Dalby 
							
						 
					 
					
						
						
						
						
							
						
						
							03b7ec62ca 
							
						 
					 
					
						
						
							
							Go format with shorter lines  
						
						
						
					 
					
						2021-11-13 08:36:45 +00:00 
						 
				 
			
				
					
						
							
							
								Kristoffer Dalby 
							
						 
					 
					
						
						
						
						
							
						
						
							0803c407a9 
							
						 
					 
					
						
						
							
							Fix Reusable typo, add tests for Augustines scenario  
						
						
						
					 
					
						2021-11-08 20:49:03 +00:00 
						 
				 
			
				
					
						
							
							
								Kristoffer Dalby 
							
						 
					 
					
						
						
						
						
							
						
						
							d47b83f80b 
							
						 
					 
					
						
						
							
							Unwrap grpc errors to make nicer user facing errors  
						
						
						
					 
					
						2021-11-07 10:15:32 +00:00 
						 
				 
			
				
					
						
							
							
								Kristoffer Dalby 
							
						 
					 
					
						
						
						
						
							
						
						
							b11acad1c9 
							
						 
					 
					
						
						
							
							Fix typo  
						
						
						
					 
					
						2021-11-07 09:57:39 +00:00 
						 
				 
			
				
					
						
							
							
								Kristoffer Dalby 
							
						 
					 
					
						
						
						
						
							
						
						
							2dfd42f80c 
							
						 
					 
					
						
						
							
							Attempt to dry up CLI client, add proepr config  
						
						... 
						
						
						
						This commit is trying to DRY up the initiation of the gRPC client in
each command:
It renames the function to CLI instead of GRPC as it actually set up a
CLI client, not a generic grpc client
It also moves the configuration of address, timeout (which is now
consistent) and api to use Viper, allowing users to set it via env vars
and configuration file 
						
					 
					
						2021-11-07 09:41:14 +00:00 
						 
				 
			
				
					
						
							
							
								Kristoffer Dalby 
							
						 
					 
					
						
						
						
						
							
						
						
							a249d3fe39 
							
						 
					 
					
						
						
							
							Fix color for current namespace in nodes command  
						
						
						
					 
					
						2021-11-07 08:58:03 +00:00 
						 
				 
			
				
					
						
							
							
								Kristoffer Dalby 
							
						 
					 
					
						
						
						
						
							
						
						
							7b0d2dfb4a 
							
						 
					 
					
						
						
							
							Convert nodes command to use gRPC  
						
						
						
					 
					
						2021-11-04 22:44:35 +00:00 
						 
				 
			
				
					
						
							
							
								Ward Vandewege 
							
						 
					 
					
						
						
						
						
							
						
						
							f9187bdfc4 
							
						 
					 
					
						
						
							
							Switch to named arguments for all nodes subcommands. Update docs  
						
						... 
						
						
						
						accordingly. Fix integration test failure. 
						
					 
					
						2021-10-28 09:31:15 -04:00 
						 
				 
			
				
					
						
							
							
								Ward Vandewege 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							b00a2729e3 
							
						 
					 
					
						
						
							
							Update cmd/headscale/cli/nodes.go  
						
						... 
						
						
						
						Co-authored-by: Kristoffer Dalby <kradalby@kradalby.no> 
						
					 
					
						2021-10-28 08:39:42 -04:00 
						 
				 
			
				
					
						
							
							
								Ward Vandewege 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							6c01b86e4c 
							
						 
					 
					
						
						
							
							Update cmd/headscale/cli/nodes.go  
						
						... 
						
						
						
						Co-authored-by: Kristoffer Dalby <kradalby@kradalby.no> 
						
					 
					
						2021-10-28 08:39:27 -04:00 
						 
				 
			
				
					
						
							
							
								Ward Vandewege 
							
						 
					 
					
						
						
						
						
							
						
						
							d086cf4691 
							
						 
					 
					
						
						
							
							Move the namespace argument back to a flag for the share and unshare  
						
						... 
						
						
						
						commands. 
						
					 
					
						2021-10-27 17:51:42 -04:00 
						 
				 
			
				
					
						
							
							
								Ward Vandewege 
							
						 
					 
					
						
						
						
						
							
						
						
							f9ece0087d 
							
						 
					 
					
						
						
							
							Make the cli help a little more explicit for the nodes subcommand.  
						
						
						
					 
					
						2021-10-26 08:50:25 -04:00 
						 
				 
			
				
					
						
							
							
								Ward Vandewege 
							
						 
					 
					
						
						
						
						
							
						
						
							dd7557850e 
							
						 
					 
					
						
						
							
							cli changes for the nodes subcommand:  
						
						... 
						
						
						
						* when listing nodes, a namespace is now optional, when it is not
  provided, all nodes are shown
* when deleting, and sharing a node, remove the `namespace` flag, it was
  superfluous and unused
* when unsharing a node, specify the namespace as an argument not a
  flag, making the UX the same as for sharing.
Also refactor the share/unshare code to reuse the shared bits. 
						
					 
					
						2021-10-24 17:50:28 -04:00 
						 
				 
			
				
					
						
							
							
								Ward Vandewege 
							
						 
					 
					
						
						
						
						
							
						
						
							9e3339b4f1 
							
						 
					 
					
						
						
							
							Add cli support for unsharing a node from a namespace.  
						
						
						
					 
					
						2021-10-17 16:29:46 -04:00 
						 
				 
			
				
					
						
							
							
								Juan Font Alonso 
							
						 
					 
					
						
						
						
						
							
						
						
							be3a379d10 
							
						 
					 
					
						
						
							
							Added --force flag on node delete ( fixes   #164 )  
						
						
						
					 
					
						2021-10-16 12:30:52 +02:00 
						 
				 
			
				
					
						
							
							
								Juan Font Alonso 
							
						 
					 
					
						
						
						
						
							
						
						
							6924b7bf4c 
							
						 
					 
					
						
						
							
							Output json when deleting node ( fixes   #152 )  
						
						
						
					 
					
						2021-10-12 23:48:08 +02:00 
						 
				 
			
				
					
						
							
							
								Juan Font 
							
						 
					 
					
						
						
						
						
							
						
						
							c4e6ad1ec7 
							
						 
					 
					
						
						
							
							Fixed some typos  
						
						
						
					 
					
						2021-09-10 00:52:08 +02:00 
						 
				 
			
				
					
						
							
							
								Juan Font 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							263a3f1983 
							
						 
					 
					
						
						
							
							Merge branch 'main' into shared-nodes  
						
						
						
					 
					
						2021-09-10 00:49:50 +02:00 
						 
				 
			
				
					
						
							
							
								Juan Font 
							
						 
					 
					
						
						
						
						
							
						
						
							bd6adfaec6 
							
						 
					 
					
						
						
							
							Changes a few more variables  
						
						
						
					 
					
						2021-09-10 00:37:01 +02:00 
						 
				 
			
				
					
						
							
							
								Juan Font 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							55f3e07bd4 
							
						 
					 
					
						
						
							
							Apply suggestions from code review  
						
						... 
						
						
						
						Removed one letter variables
Co-authored-by: Kristoffer Dalby <kradalby@kradalby.no> 
						
					 
					
						2021-09-10 00:26:46 +02:00 
						 
				 
			
				
					
						
							
							
								Juan Font 
							
						 
					 
					
						
						
						
						
							
						
						
							729cd54401 
							
						 
					 
					
						
						
							
							Renamed sharing function  
						
						
						
					 
					
						2021-09-06 14:39:52 +02:00 
						 
				 
			
				
					
						
							
							
								Juan Font 
							
						 
					 
					
						
						
						
						
							
						
						
							7edd0cd14c 
							
						 
					 
					
						
						
							
							Added add node cli  
						
						
						
					 
					
						2021-09-03 10:23:45 +02:00 
						 
				 
			
				
					
						
							
							
								Juan Font 
							
						 
					 
					
						
						
						
						
							
						
						
							d86de68b40 
							
						 
					 
					
						
						
							
							Show namespace in node list table  
						
						
						
					 
					
						2021-09-02 17:06:47 +02:00 
						 
				 
			
				
					
						
							
							
								Silver Bullet 
							
						 
					 
					
						
						
						
						
							
						
						
							e4ef65be76 
							
						 
					 
					
						
						
							
							fix: check last seen time without possible null pointer  
						
						
						
					 
					
						2021-09-02 05:44:42 +08:00 
						 
				 
			
				
					
						
							
							
								Juan Font 
							
						 
					 
					
						
						
						
						
							
						
						
							bc2574680d 
							
						 
					 
					
						
						
							
							Linting  
						
						
						
					 
					
						2021-08-15 23:35:03 +02:00 
						 
				 
			
				
					
						
							
							
								Juan Font 
							
						 
					 
					
						
						
						
						
							
						
						
							55fe5b0b41 
							
						 
					 
					
						
						
							
							Use pterm table in node list  
						
						
						
					 
					
						2021-08-15 23:10:39 +02:00 
						 
				 
			
				
					
						
							
							
								Juan Font 
							
						 
					 
					
						
						
						
						
							
						
						
							6c903d4a2f 
							
						 
					 
					
						
						
							
							Fixed missing nodes cmd  
						
						
						
					 
					
						2021-07-31 23:14:24 +02:00