Commit graph

  • 3cf599be64
    Merge pull request #22 from juanfont/json-output Juan Font 2021-05-08 19:55:19 +0200
  • 8ad366f977 Use JsonOutput in version too Juan Font Alonso 2021-05-08 17:06:36 +0200
  • 9eaac71762 Trim trailing spaces Juan Font Alonso 2021-05-08 16:56:27 +0200
  • 5cbd2d43a8 Update README to mention json output + some minor updates Juan Font Alonso 2021-05-08 14:12:22 +0200
  • 8a207374c6 Add some return when enabling routing succeedes + some comments... Juan Font Alonso 2021-05-08 13:59:18 +0200
  • abde7dddb7 More json output Juan Font Alonso 2021-05-08 13:58:51 +0200
  • 3b34f715ce Adding support for JSON-formatted output 1/n Juan Font Alonso 2021-05-08 13:28:22 +0200
  • 4b3b48441f Return the machine when registering Juan Font Alonso 2021-05-08 13:27:53 +0200
  • 33bee1df05 Do not print stuff in the library Juan Font Alonso 2021-05-08 13:27:40 +0200
  • 32da9c0415
    Update README.md Juan Font 2021-05-07 13:54:15 +0200
  • 5faa6cf59a Update README (although do not advirtise preauth keys that much yet) Juan Font Alonso 2021-05-06 23:58:26 +0200
  • 8ca940ad30
    Merge pull request #21 from juanfont/working-preauth Juan Font 2021-05-06 23:50:28 +0200
  • 13e086980a Removed logging Juan Font Alonso 2021-05-06 23:49:55 +0200
  • 4183db840e Update README (although do not advirtise preauth keys that much yet) Juan Font Alonso 2021-05-06 23:25:40 +0200
  • fc0c519206 Fill RegisterMethod field in Machine Juan Font Alonso 2021-05-06 18:26:01 +0200
  • 9bac805d50 Removed spew Juan Font Alonso 2021-05-06 01:03:43 +0200
  • 744c687d37 Fixed linting issues Juan Font Alonso 2021-05-06 01:01:45 +0200
  • e17e10e0b7 Preauth keys kinda working Juan Font Alonso 2021-05-06 00:59:26 +0200
  • 9ce8dc3fb6 Preload the namespace Juan Font Alonso 2021-05-06 00:59:16 +0200
  • 3110dd1575 Added fields in Machine to store authkey + validation tests Juan Font Alonso 2021-05-06 00:08:36 +0200
  • 486faa9656 WIP Working on authkeys + tests Juan Font Alonso 2021-05-05 23:00:04 +0200
  • 03bb32083b
    Merge pull request #20 from cure/preauthkeys_improvements Juan Font 2021-05-03 22:56:18 +0200
  • 13f809be87
    Merge pull request #19 from juanfont/node-cmd-improve Juan Font 2021-05-02 23:04:46 +0200
  • b34e90c45d Fix bug in preauthkeys: namespace object was not populated in the return value from CreatePreAuthKey and GetPreAuthKeys. Add tests for that bug, and the rest of the preauthkeys functionality. Ward Vandewege 2021-05-02 14:47:36 -0400
  • 45e9001787 Register cmd under node Juan Font Alonso 2021-05-01 20:05:10 +0200
  • c71c13366f Minor fix Juan Font Alonso 2021-05-01 20:04:03 +0200
  • 404fee8361 Added list node functionality Juan Font Alonso 2021-05-01 20:00:25 +0200
  • 8198d2f8ed
    Merge pull request #18 from cure/add-actions Juan Font 2021-04-30 10:45:11 +0200
  • 3532eafd8c
    Merge pull request #17 from juanfont/namespace-flag Juan Font 2021-04-30 09:55:17 +0200
  • 68c21faf64 Check persistnt flag errors Juan Font Alonso 2021-04-30 09:55:39 +0200
  • 5648337e68 Removed trailing space Juan Font Alonso 2021-04-30 09:53:44 +0200
  • 491fb0adb3 Fix a few linter errors. Ward Vandewege 2021-04-29 21:03:15 -0400
  • 283ca3b6f8 Add ci workflow. Ward Vandewege 2021-04-29 20:59:17 -0400
  • b83318bfb3 Namespace is now a flag for all the commands Juan Font Alonso 2021-04-30 00:23:26 +0200
  • 51139afa50
    Merge pull request #16 from juanfont/cmd-funcs-to-cli Juan Font 2021-04-29 09:49:23 +0200
  • 7646bd8fd4 CLI stuff should be in the cmd/ path Juan Font Alonso 2021-04-28 16:55:29 +0200
  • 77e5255fdd Move the CLI functiontionality to the CLI package Juan Font Alonso 2021-04-28 16:15:45 +0200
  • 8f67bdba8c
    Merge pull request #15 from cure/add-first-tests Juan Font 2021-04-27 23:53:27 +0200
  • f5010fd75b Add test for our config validation rules. Ward Vandewege 2021-04-26 20:30:06 -0400
  • 37601f6b4d Add a very simple test. Ward Vandewege 2021-04-25 11:24:42 -0400
  • 031c91a545
    Merge pull request #13 from cure/add-Makefile Juan Font 2021-04-25 22:40:34 +0200
  • 6aedc1111b Add a Makefile with a few targets. The default is 'build'. The build target calls the new version-at-commit.sh script which will automatically populate the version variable inside the Headscale binary. Ward Vandewege 2021-04-25 10:21:04 -0400
  • 6fa84004b3
    Merge pull request #11 from xpzouying/zy/fix-remove-dup-close-db Juan Font 2021-04-25 00:35:46 +0200
  • 1bc4294241
    Merge pull request #10 from cure/linter-warnings Juan Font 2021-04-25 00:29:18 +0200
  • c07f192dc4
    Merge pull request #12 from gitter-badger/gitter-badge Juan Font 2021-04-25 00:16:44 +0200
  • 8c218189b0 Add Gitter badge The Gitter Badger 2021-04-24 21:26:38 +0000
  • 07a9f95aeb fix: remove db twice zy 2021-04-25 00:29:40 +0800
  • f7c7b4873a Address a bunch of golangci-lint warnings. Ward Vandewege 2021-04-24 11:41:29 -0400
  • f7b6c68d22 Address a bunch of golint warnings. Ward Vandewege 2021-04-24 11:26:50 -0400
  • d30b682a6e
    Merge pull request #9 from cure/add-tls-autocert Juan Font 2021-04-24 11:28:31 +0200
  • 426b4fd98a Add support for automatic TLS certificates via Let's Encrypt. Add a configuration reference to the README.md file. Ward Vandewege 2021-04-23 22:54:15 -0400
  • 1b30874cf8 Check for errors from the Serve() function. Ward Vandewege 2021-04-23 17:16:12 -0400
  • 252c68c50a Add HTTPS support for the web endpoint with manually configured certificate/key files. Ward Vandewege 2021-04-23 16:54:35 -0400
  • c5a3d0b01c In absPath, skip empty paths. Ward Vandewege 2021-04-23 16:42:27 -0400
  • 328f6ea455
    Merge pull request #8 from cure/relative-paths-in-config Juan Font 2021-04-23 09:40:52 +0200
  • 683b151f19 If the configuration file contains relative paths (e.g. in the values for private_key_path or derp_map_path), interpret them as relative to the directory where the config.json file was read from. Ward Vandewege 2021-04-22 21:10:50 -0400
  • 9c40e829ec Create preauthkeys kinda working (not usable yet) Juan Font Alonso 2021-04-23 00:40:42 +0200
  • 176eea4a84 WIP on PreAuthKeys Juan Font Alonso 2021-04-23 00:25:01 +0200
  • 2555220a57 Merge branch 'main' of https://github.com/juanfont/headscale into main Juan Font Alonso 2021-04-22 23:58:18 +0200
  • 3743f08c1f Minor fix on already defer db close Juan Font Alonso 2021-04-22 23:55:07 +0200
  • 481a9a01f6
    Merge pull request #6 from cure/add-standard-config-locations Juan Font 2021-04-22 00:52:06 +0200
  • a71387f9d2 Add additional locations to look for the config.json file: /etc/headscale and $HOME/.headscale Ward Vandewege 2021-04-21 17:33:09 -0400
  • eac85a31ed Merge branch 'main' of https://github.com/juanfont/headscale into main Juan Font Alonso 2021-04-08 23:58:00 +0200
  • c284f3eefa Bump mod Juan Font Alonso 2021-04-08 23:57:47 +0200
  • 541d676b98 Minor code reorg Juan Font Alonso 2021-04-08 23:57:31 +0200
  • bdccd85533 Minor readme fixes Juan Font 2021-03-18 23:02:36 +0000
  • 977962736a Removed log message Juan Font Alonso 2021-03-17 23:09:45 +0100
  • 06003974e5 Added project overview #5 Juan Font Alonso 2021-03-17 21:58:38 +0100
  • 1fad8e6e5b Added basic routes functionality Juan Font Alonso 2021-03-14 11:38:42 +0100
  • db75cd39a7 Update in preparation of supporting exit nodes Juan Font Alonso 2021-03-10 22:33:37 +0100
  • fc13f74851 Minor output fix & README improvements Juan Font Alonso 2021-02-28 20:29:31 +0100
  • 2733a34033 Update readme with namespace info Juan Font Alonso 2021-02-28 01:04:01 +0100
  • b7655b1f68 Initial multi-user support using namespaces Juan Font Alonso 2021-02-28 00:58:09 +0100
  • 562e996996 Fixed crash when NetInfo is nil Juan Font Alonso 2021-02-24 23:45:27 +0100
  • d0e54bd59e Renamed file Juan Font Alonso 2021-02-24 23:45:08 +0100
  • 5da39f9176 Readme improved Juan Font Alonso 2021-02-24 22:23:36 +0100
  • 6a397345aa Headscale is working (Fixed DERP address) Juan Font Alonso 2021-02-24 00:32:34 +0100
  • 93c711d2d8 Minor thing Juan Font Alonso 2021-02-24 00:31:58 +0100
  • 06fb7d4587 WIP: Client updates. Long polling rewritten Juan Font Alonso 2021-02-23 21:07:52 +0100
  • ca6904fc95 Clean Juan Font Alonso 2021-02-23 20:11:30 +0100
  • 2b1d92429a Added the name from the HostInfo hostname Juan Font Alonso 2021-02-23 20:10:58 +0100
  • 90759688ca Send StableID Juan Font Alonso 2021-02-22 23:27:33 +0100
  • a20fffc3e9 Peers is always returned sorted by Node.ID. Juan Font Alonso 2021-02-22 00:53:37 +0100
  • 563f3c4017 Fixes here and there Juan Font Alonso 2021-02-21 23:54:15 +0100
  • 1b7d99d483 Improving code... Juan Font Alonso 2021-02-21 22:14:38 +0100
  • 5d3c80a192 Seed the random IP address generator Juan Font Alonso 2021-02-21 22:11:27 +0100
  • 272eee79fd Added support for DiscoKey Juan Font Alonso 2021-02-21 21:34:28 +0100
  • acb645aa9d Check that peers are registered when fetching them Juan Font Alonso 2021-02-21 21:03:25 +0100
  • b0b9e3a9af Removed frontend stuff Juan Font Alonso 2021-02-21 20:42:46 +0100
  • 18156f2efd README improved Juan Font Alonso 2021-02-21 20:42:32 +0100
  • 52257e32a3 Update readme Juan Font Alonso 2021-02-21 01:34:16 +0100
  • 7d52842a4c Fixed gitignore Juan Font Alonso 2021-02-21 01:31:50 +0100
  • b1d06f3ffd headscale now has a CLI - registration of machines occurs there Juan Font Alonso 2021-02-21 01:30:03 +0100
  • ff7db34b5e Fixed gitignore Juan Font Alonso 2021-02-20 23:58:02 +0100
  • a6100dc4d0 Load DERP servers from file Juan Font Alonso 2021-02-20 23:57:06 +0100
  • c5fbc5baa8 Bumped dependencies Juan Font Alonso 2021-02-20 22:43:07 +0100
  • 6ca98473d4 Deleted more frontend stuff Juan Font Alonso 2021-02-20 22:42:28 +0100
  • 1e1d577b83 Removed frontend stuff. We are not there yet... Juan Font Alonso 2021-02-20 21:09:15 +0100
  • 92f33c15b7
    Merge pull request #3 from juanfont/dependabot/npm_and_yarn/frontend/ini-1.3.8 Juan Font 2020-12-15 16:44:52 +0100
  • 1c154acce8
    Merge pull request #4 from ignoramous/patch-1 Juan Font 2020-12-15 16:42:14 +0100