status-go/protocol/common
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
..
chat_entity.go Skip wrapping emojis in private group chats 2021-01-26 09:39:47 +01:00
crypto.go Tests and linting 2021-09-30 13:02:41 +01:00
errors.go Use ErrRecordNotFound instead of sql.ErrNoRows 2020-10-08 13:23:00 +02:00
feature_flags.go feat: desktop mailserver cycle (#2481) 2022-01-12 12:02:01 -04:00
message.go Get preferred network IP and refactor server package to increase reusability (#2626) 2022-06-15 15:49:31 +01:00
message_sender.go Communities encryption 2021-11-30 20:52:47 +02:00
message_sender_test.go Communities encryption 2021-11-30 20:52:47 +02:00
message_test.go Add mentioned field 2021-05-26 08:33:38 +02:00
pin_message.go add PinnedBy to PinnedMessage (#2250) 2021-06-08 17:23:32 +02:00
raw_message.go Expand confirmations to private group chat messages 2021-03-16 13:41:14 +01:00
raw_messages_persistence.go Expand confirmations to private group chat messages 2021-03-16 13:41:14 +01:00
timesource.go Handle organisation membership requests 2020-12-23 17:20:55 +01:00