From 8925c3d99ae9f59be218600a3a70fc52009d9492 Mon Sep 17 00:00:00 2001 From: rsora <35916119+rsora@users.noreply.github.com> Date: Wed, 20 Jun 2018 17:28:58 +0200 Subject: [PATCH 1/8] Update README.md New Links for New Installers with os/browser flavour --- README.md | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 4dddceeda..1f31d777a 100644 --- a/README.md +++ b/README.md @@ -4,9 +4,19 @@ arduino-create-agent ## Installation Get the latest version of the Agent for all supported platforms: -* [Windows](http://downloads.arduino.cc/CreateBridgeStable/ArduinoCreateAgent-1.1-windows-installer.exe) -* [MacOSX](http://downloads.arduino.cc/CreateBridgeStable/ArduinoCreateAgent-1.1-osx-installer.dmg) -* [Linux x64](http://downloads.arduino.cc/CreateBridgeStable/ArduinoCreateAgent-1.1-linux-x64-installer.run) +### Windows +* [Windows with Edge](http://downloads.arduino.cc/CreateBridgeStable/ArduinoCreateAgent-1.1-windows-installer-edge.exe) +* [Windows with Chrome](http://downloads.arduino.cc/CreateBridgeStable/ArduinoCreateAgent-1.1-windows-installer.exe) +* [Windows with Firefox](http://downloads.arduino.cc/CreateBridgeStable/ArduinoCreateAgent-1.1-windows-installer-firefox.exe) + +### MacOSX +* [MacOSX with Safari](http://downloads.arduino.cc/CreateBridgeStable/ArduinoCreateAgent-1.1-osx-installer-safari.dmg) +* [MacOSX with Chrome](http://downloads.arduino.cc/CreateBridgeStable/ArduinoCreateAgent-1.1-osx-installer-chrome.dmg) +* [MacOSX with Firefox](http://downloads.arduino.cc/CreateBridgeStable/ArduinoCreateAgent-1.1-osx-installer-firefox.dmg) + +### Linux +* [Linux x64 with Chrome](http://downloads.arduino.cc/CreateBridgeStable/ArduinoCreateAgent-1.1-linux-x64-installer-chrome.tar.gz) +* [Linux x64 with Firefox](http://downloads.arduino.cc/CreateBridgeStable/ArduinoCreateAgent-1.1-linux-x64-installer-firefox.tar.gz) arduino-create-agent is a fork of @johnlauer's serial-port-json-server (which we really want to thank for his kindness and great work) From b7c1575d2ca4756fd563e3f4f7732e95226799f0 Mon Sep 17 00:00:00 2001 From: Edoardo T Date: Wed, 27 Jun 2018 11:51:57 +0200 Subject: [PATCH 2/8] Add multiple configuration informations to README --- README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/README.md b/README.md index 4dddceeda..09e8dd257 100644 --- a/README.md +++ b/README.md @@ -75,6 +75,25 @@ $ nohup $HOME/ArduinoCreateAgent-1.1/Arduino_Create_Bridge & ``` or in the location selected during the installation +## Using multiple configurations + +The agent support multiple configuration files. When multiple configurations are found by the agent, the tray icon menu is expanded to contain the different configurations: + +![Agent multiple configuration tray ycon](https://raw.githubusercontent.com/arduino/arduino-create-agent/devel/images/linux/tray-icon-multiple-profiles.png) + +The default `config.ini` file contains common configurations, every other config file inherit from it. + +To create multiple configuration files: +- stop the agent: tray bar icon -> pause then tray bar icon -> kill +- find the `config.ini` file that is present in the `arduino-create-agent` installation folder +- copy `config.ini` or create a new ini file (e.g. `example.ini`) with content: + ```ini + name = your configuration nanem + ``` + add in this file other configuration options (you can override inherited values from `config.ini`) +- restart the agent +- click the tray bar icon and select the new configuration + # Contributing Please use the current latest version: From ad341315121987d3041bee1e25349116c488c0e0 Mon Sep 17 00:00:00 2001 From: Edoardo T Date: Wed, 27 Jun 2018 11:52:24 +0200 Subject: [PATCH 3/8] Add proxy configuration to README --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/README.md b/README.md index 09e8dd257..08ade93a8 100644 --- a/README.md +++ b/README.md @@ -94,6 +94,23 @@ To create multiple configuration files: - restart the agent - click the tray bar icon and select the new configuration +## When behind a proxy + +The agent support working behind a proxy, but manual configuration is required ( there is no support for automatic proxy discovery ). + +To add proxy configuration: +- stop the agent: tray bar icon -> pause then tray bar icon -> kill +- find the `config.ini` file that is present in the `arduino-create-agent` installation folder +- edit the `config.ini` file adding this lines under the `[env]` section ( create it if not present ): + ```ini + http_proxy=yourproxyhere + https_proxy=yourhttpsproxyhere + ``` +- restart the agent + +**Tip**: you can also use the multiple configurations feature to create a new configuration with the proxy settings. This way you can have multiple proxies configured and disable proxy configuration with ease. + + # Contributing Please use the current latest version: From 9b2a40620aa9b9eb80660b628a42420c48ee0a96 Mon Sep 17 00:00:00 2001 From: Edoardo T Date: Wed, 27 Jun 2018 11:53:40 +0200 Subject: [PATCH 4/8] Add tray icon image when multiple configurations are present --- images/linux/tray-icon-multiple-profiles.png | Bin 0 -> 10108 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 images/linux/tray-icon-multiple-profiles.png diff --git a/images/linux/tray-icon-multiple-profiles.png b/images/linux/tray-icon-multiple-profiles.png new file mode 100644 index 0000000000000000000000000000000000000000..120bd9610f3bc5c435522bb541093392a09a872a GIT binary patch literal 10108 zcma)?V{|5Ml&+I>(y`5sjgC9EZQHhO+wOF1TOHdr-sFvKpM2lUkC|C>&N{VL)wA}` zdaCN)b>G*Hke3yMhrxjX0Re%R5EoYbT6e$BOsMZ)S3Ok*_pb%qNl-!=>g(`^G7kT$ zk(@=;ot5lNo!tx^O+b{)U7Vdw9E}2Jpg}+gK_r9)l-<|PbIjb87uP~B%Q6}zYDh!l zkpxqyyM&H(s4yZIf+8uy|3JQhBTAwR6yYKv2?zwt6iS$1^B;i<3YwS22j59=Z^y}_ zh>L(DRKK=A^%`HQY<1->K2(|+b9U(}Rw$1cGl7HkCJ7~y!ikbFMGX=|gTjEz$%QjX zB$6V-1ne9WVGUq9;xfwy$oWWb^TL!F z@L0K?g3<*#zSZR+*2-Tv%h!sHpBncsj+P=uM~J_1$f%R zHf-ZcmMjr9nr~)Q*ZBR--cI_-D+|iooDK_9;2r2gnK9gLGB9wi9umEibcwT5F$DnL zOAScIs;e}rNRq<=dw6rjH7GQi$grEV4d3My?lSI(oBhgUfYiE=2d{R$s*(eFDRO2XsfslZg!kIzw?d~~+lbcoKMMx%N0QNghtL{aN2L(c{or;sd>RolFi>|Al%Lu`-V|qB*NgE=l|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jsFnIU~1Z}vy zEJGIfBiE(}xj|r$&4|SvtOSMF4Rk1lpRCU)c9lz5eKjbanOB3!Zn?weHm(x%_DA5q zDax`yR&&i2MnIMuUige;s}&C|ZX?>UBbGONhVc4^#JIq2mk;!g!y>xbmABvzEg<`9 zuhw^k3)B>(LDI`sKPk@{QjagF?TU^J)GcsxWX%EuM^AVocAKo@iTdk&-A=TKS20px z71<8^0S=Z+a6eMa8^87x3Z_N0@llqD`-U7_0aCp3;X4V=(bMg;F%!eZVW5l9+6zx$ zTx8$(G)L@HY6pbUU{2=lzrS0s##rtl(5e|`3#tR}Xt{7$YNGEqeS7nH-?K&|R-6-~ z&&*xL*5^8fOoExCk#-w`#*$QtbT^)OvV%J40jt$SF@k}kzmQ~~rkqN%Tno#A0Rfe8 zPFo!$CeP6>bo->6eddP&&B54)0cCb5?De#d7gRs*@9BTuix86-LhI#J^;T@2uRI?} z${udrvoswH3T)bQw&hN~HaiV<i6Grg z35&+Prn6f&-#*_^UYyA56hZb|>YA*oi8-7sMU3rLjX8}f`G^?Eu1;4X(x<+81p?Q# z^ZiCc9&P)_S=D}K(X%)tkt8ktQ4^v;(1po&TQn4fmth2UG6&N95mbz$Kd8z}97*Al z?>Yqs##V+F7minfNiyCqI`~eq2dm)>A)ae1Q0id+s)JnL%9sw#jlu%ffVI(7g*NtH z->JN~UWw8|=E(&g7V zmaZS;_qsdbT~dwo8w>giov)-L|BKE4J465awfslVxaEk^YM>zkOTtJcM&LzB1jE64 h=aGN+n(u#tBDnVDM{-kRe~r(9NQlS^R}1O~{vU^endbli literal 0 HcmV?d00001 From ad6e75ab1e0b17dcc6ba5abcfac5e59bed2a3d38 Mon Sep 17 00:00:00 2001 From: Luca Cipriani Date: Wed, 27 Jun 2018 17:21:52 +0200 Subject: [PATCH 5/8] Updated readme about proxy --- README.md | 81 ++++++++++++++++++++++++++++++------------------------- 1 file changed, 45 insertions(+), 36 deletions(-) diff --git a/README.md b/README.md index c11239924..cb4968216 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,51 @@ arduino-create-agent is a fork of @johnlauer's serial-port-json-server (which we The history has been rewritten to keep the repo small (thus removing all binaries committed in the past) + + +## Using multiple configurations + +The agent support multiple configuration files. When multiple configurations are found by the agent, the tray icon menu is expanded to contain the different configurations: + +![Agent multiple configuration tray ycon](https://raw.githubusercontent.com/arduino/arduino-create-agent/devel/images/linux/tray-icon-multiple-profiles.png) + +The default `config.ini` file contains common configurations, every other config file inherit from it. + +To create multiple configuration files: +- stop the agent: tray bar icon -> pause then tray bar icon -> kill +- find the `config.ini` file that is present in the `arduino-create-agent` installation folder +- copy `config.ini` or create a new ini file (e.g. `example.ini`) with content: + ```ini + name = your configuration name + ``` + add in this file other configuration options (you can override inherited values from `config.ini`) +- restart the agent +- click the tray bar icon and select the new configuration + +## When behind a proxy + +The agent support working behind a proxy, but manual configuration is required ( there is no support for automatic proxy discovery ). + +To add proxy configuration: +- stop the agent: tray bar icon -> pause then tray bar icon -> kill +- find the `config.ini` file that is present in the `arduino-create-agent` installation folder +- copy `config.ini` or create a new ini file (e.g. `proxy.ini`) with content: + ```ini + name = Proxy profile + [env] + http_proxy=your.proxy.here + https_proxy=your.https.proxyhere + ``` +- please note spaces are not allowed before and after the string `http_proxy` +- restart the agent +- select the proper Proxy profile as in the image +- your agent will now work behind a proxy + +![Agent multiple configuration tray ycon](https://raw.githubusercontent.com/arduino/arduino-create-agent/devel/images/linux/tray-icon-multiple-profiles.png) + +**Tip**: you can also use the multiple configurations feature to create a new configuration with the proxy settings. This way you can have multiple proxies configured and disable proxy configuration with ease. + + ## Disable Autostart ### Windows @@ -85,42 +130,6 @@ $ nohup $HOME/ArduinoCreateAgent-1.1/Arduino_Create_Bridge & ``` or in the location selected during the installation -## Using multiple configurations - -The agent support multiple configuration files. When multiple configurations are found by the agent, the tray icon menu is expanded to contain the different configurations: - -![Agent multiple configuration tray ycon](https://raw.githubusercontent.com/arduino/arduino-create-agent/devel/images/linux/tray-icon-multiple-profiles.png) - -The default `config.ini` file contains common configurations, every other config file inherit from it. - -To create multiple configuration files: -- stop the agent: tray bar icon -> pause then tray bar icon -> kill -- find the `config.ini` file that is present in the `arduino-create-agent` installation folder -- copy `config.ini` or create a new ini file (e.g. `example.ini`) with content: - ```ini - name = your configuration nanem - ``` - add in this file other configuration options (you can override inherited values from `config.ini`) -- restart the agent -- click the tray bar icon and select the new configuration - -## When behind a proxy - -The agent support working behind a proxy, but manual configuration is required ( there is no support for automatic proxy discovery ). - -To add proxy configuration: -- stop the agent: tray bar icon -> pause then tray bar icon -> kill -- find the `config.ini` file that is present in the `arduino-create-agent` installation folder -- edit the `config.ini` file adding this lines under the `[env]` section ( create it if not present ): - ```ini - http_proxy=yourproxyhere - https_proxy=yourhttpsproxyhere - ``` -- restart the agent - -**Tip**: you can also use the multiple configurations feature to create a new configuration with the proxy settings. This way you can have multiple proxies configured and disable proxy configuration with ease. - - # Contributing Please use the current latest version: From 2b88ef8ea0927849727c0e01751941cfd462e181 Mon Sep 17 00:00:00 2001 From: Luca Cipriani Date: Wed, 27 Jun 2018 17:29:37 +0200 Subject: [PATCH 6/8] Fix typo and proxy conf file --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index cb4968216..214657114 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ The history has been rewritten to keep the repo small (thus removing all binarie The agent support multiple configuration files. When multiple configurations are found by the agent, the tray icon menu is expanded to contain the different configurations: -![Agent multiple configuration tray ycon](https://raw.githubusercontent.com/arduino/arduino-create-agent/devel/images/linux/tray-icon-multiple-profiles.png) +![Agent multiple configuration tray icon](https://raw.githubusercontent.com/arduino/arduino-create-agent/devel/images/linux/tray-icon-multiple-profiles.png) The default `config.ini` file contains common configurations, every other config file inherit from it. @@ -43,6 +43,8 @@ To create multiple configuration files: - restart the agent - click the tray bar icon and select the new configuration +**Tip**: you can also use the multiple configurations feature to create a new configuration with the proxy settings. This way you can have multiple proxies configured and disable proxy configuration with ease. + ## When behind a proxy The agent support working behind a proxy, but manual configuration is required ( there is no support for automatic proxy discovery ). @@ -50,9 +52,9 @@ The agent support working behind a proxy, but manual configuration is required ( To add proxy configuration: - stop the agent: tray bar icon -> pause then tray bar icon -> kill - find the `config.ini` file that is present in the `arduino-create-agent` installation folder -- copy `config.ini` or create a new ini file (e.g. `proxy.ini`) with content: +- copy `config.ini` to a new file (e.g. `proxy.ini`) with content: ```ini - name = Proxy profile + name = Proxy Enabled [env] http_proxy=your.proxy.here https_proxy=your.https.proxyhere @@ -62,10 +64,8 @@ To add proxy configuration: - select the proper Proxy profile as in the image - your agent will now work behind a proxy -![Agent multiple configuration tray ycon](https://raw.githubusercontent.com/arduino/arduino-create-agent/devel/images/linux/tray-icon-multiple-profiles.png) +![Agent multiple configuration tray icon](https://raw.githubusercontent.com/arduino/arduino-create-agent/devel/images/linux/tray-icon-multiple-profiles.png) -**Tip**: you can also use the multiple configurations feature to create a new configuration with the proxy settings. This way you can have multiple proxies configured and disable proxy configuration with ease. - ## Disable Autostart From 352d1a5371cbbe058365c65e88745f3b0a2a2ff8 Mon Sep 17 00:00:00 2001 From: Roberto Sora Date: Thu, 28 Jun 2018 14:33:40 +0200 Subject: [PATCH 7/8] fixed download link for windows chrome --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 214657114..ffae287f1 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ Get the latest version of the Agent for all supported platforms: ### Windows * [Windows with Edge](http://downloads.arduino.cc/CreateBridgeStable/ArduinoCreateAgent-1.1-windows-installer-edge.exe) -* [Windows with Chrome](http://downloads.arduino.cc/CreateBridgeStable/ArduinoCreateAgent-1.1-windows-installer.exe) +* [Windows with Chrome](http://downloads.arduino.cc/CreateBridgeStable/ArduinoCreateAgent-1.1-windows-installer-chrome.exe) * [Windows with Firefox](http://downloads.arduino.cc/CreateBridgeStable/ArduinoCreateAgent-1.1-windows-installer-firefox.exe) ### MacOSX From 570005a083b0d473f5e5ce8a5431fbcdccc0aa68 Mon Sep 17 00:00:00 2001 From: Roberto Sora Date: Fri, 29 Jun 2018 16:08:34 +0200 Subject: [PATCH 8/8] expose origin end update flags when callinig /info --- info.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/info.go b/info.go index 8a66ca474..8a84e479a 100644 --- a/info.go +++ b/info.go @@ -18,6 +18,8 @@ func infoHandler(c *gin.Context) { "https": "https://localhost" + portSSL, "ws": "ws://" + host + port, "wss": "wss://localhost" + portSSL, + "origins": origins, + "update_url": updateUrl, }) }