Commit Graph

16 Commits

Author SHA1 Message Date
frank ec7c0e9c7d
Sync all devices after initial pairing (#3047) 2023-01-06 20:21:14 +08:00
Samuel Hawksby-Robinson 71170e7099 Added comprehensive logging 2022-10-26 10:26:59 +01:00
Samuel Hawksby-Robinson 9a7f38fcdf Added portManager debug logging 2022-10-26 10:26:59 +01:00
Samuel Hawksby-Robinson a88ebe3a9f Added docs to new functionality 2022-10-26 10:26:59 +01:00
Samuel Hawksby-Robinson 70bc492779 Added functionality to ensure that Make...URL() funcs wait until the port is ready. Adapted tests to check for wait. 2022-10-26 10:26:59 +01:00
Samuel Hawksby-Robinson 6cdd24a048 Added fix for pairing server race on port 2022-10-26 10:26:59 +01:00
frank 6e4ac1c495 Use image server for all kind of images and integrate identity rings 2022-09-16 09:52:08 +01:00
frank 325efd01d0 Implement identity ring 2022-09-16 09:52:08 +01:00
Andrea Maria Piana f58fd4517f WIP 2022-09-16 09:52:08 +01:00
Samuel Hawksby-Robinson f7cbe0b1e8 Get server cert, run validation on cert 2022-08-24 23:30:09 +01:00
Samuel Hawksby-Robinson 0dc91b72ff Added ConnectionParams struct and related funcs 2022-06-20 15:33:09 +01:00
Samuel Hawksby-Robinson 7c57a2b65c Implemented lan connection string functionality
Also added more robust testing
2022-06-20 15:33:09 +01:00
Samuel Hawksby-Robinson 7f149f93c1
Get preferred network IP and refactor server package to increase reusability (#2626)
* Added function to get preffered network IP

Also done some refactor work oon server package to make a lot more reusable

* Added server.Option and simplified handler funcs

* Added serial number deterministically generated from pk

* Debugging TLS server connection

* Implemented configurable server ip

When accessing over the network the server needs to listen on the network port and not localhost or 127.0.0.1 . Also the cert can now have a dedicated IP

* Refactor of URL funcs to use the url package

* Removed redundant Options pattern in favour of config param

* Added full server test using GetOutboundIP

* Remove references and usage of Server.port

The application does not need to set the port, we rely on the net.Listener to pick a port.

* Version bump

* Added ToECDSA func and improved cert testing

* Added error check in test

* Split Server types, embedding raw Server funcs into specialised server types

* localhost

* Implemented DNS and IP based cert gen

ios doesn't allow for restricted ip addresses to be used in a valid tls cert

* Replace listener handling with original port store

Also added handlers as a parameter of the Server
2022-06-15 15:49:31 +01:00
Richard Ramos 0048aaebcc
feat: add IPFS rate limiter for downloading stickers and use http server for retrieving stickers (#2611) 2022-05-09 09:07:57 -04:00
Samuel Hawksby-Robinson b8f309a47c
Created dedicated Exported funcs for x509 cert and pem generation (#2601) 2022-03-28 13:37:58 +01:00
andrey 598b83757c load audio from http server 2022-03-01 15:58:32 +01:00