freenas | 23 May 04:41 2015

[freenas/freenas] 221a33e: Fix Autofill dropdown in RPC Tab of Debug Panel.

branch: freenas10/development
Repository: freenas/freenas
Pushed by: git
Pushed to: branch freenas10/development
commit 221a33efad381a4f126cd600491e7007456cc264
Author: Suraj Ravichandran <suraj@...>
Date:   Fri May 22 19:39:11 2015 -0700

    Fix Autofill dropdown in RPC Tab of Debug Panel.

    Ticket: #9851
---
 src/gui/app/jsx/components/DebugTools/RPC.jsx      | 170 +++++++++++----------
 .../app/jsx/components/common/FuzzyTypeAhead.jsx   |  13 +-
 2 files changed, 94 insertions(+), 89 deletions(-)

diff --git a/src/gui/app/jsx/components/DebugTools/RPC.jsx b/src/gui/app/jsx/components/DebugTools/RPC.jsx
index eee4f57..3df16a9 100644
--- a/src/gui/app/jsx/components/DebugTools/RPC.jsx
+++ b/src/gui/app/jsx/components/DebugTools/RPC.jsx
 <at>  <at>  -18,34 +18,33  <at>  <at>  import DiscTri from "../common/DiscTri";
 import FuzzyTypeAhead from "../common/FuzzyTypeAhead";

 
-var RPC = React.createClass({
-
-    getInitialState: function () {
-      return {
-          services          : MiddlewareStore.getAvailableRPCServices()
-        , methods           : MiddlewareStore.getAvailableRPCMethods()
(Continue reading)

freenas | 23 May 03:50 2015

[freenas/freenas] 0d4f63c: Fix py-netif's list_interfaces's name arg specification.

branch: freenas10/development
Repository: freenas/freenas
Pushed by: git
Pushed to: branch freenas10/development
commit 0d4f63c2ca0023b0fa04e4cd4c1f43b6555a3b7b
Author: Suraj Ravichandran <suraj@...>
Date:   Fri May 22 15:54:10 2015 -0700

    Fix py-netif's list_interfaces's name arg specification.
---
 src/py-netif/netif.pyx | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/py-netif/netif.pyx b/src/py-netif/netif.pyx
index f09a988..11e9fba 100644
--- a/src/py-netif/netif.pyx
+++ b/src/py-netif/netif.pyx
 <at>  <at>  -1175,7 +1175,7  <at>  <at>  class RoutingSocket(object):
         os.write(self.socket.fileno(), buf)

 
-def list_interfaces(name=None):
+def list_interfaces(iname=None):
     cdef defs.ifaddrs* ifa
     cdef defs.ifaddrs* orig
     cdef defs.sockaddr_in* sin
 <at>  <at>  -1246,6 +1246,8  <at>  <at>  def list_interfaces(name=None):
             break

     defs.freeifaddrs(orig)
(Continue reading)

freenas | 23 May 02:09 2015

[freenas/freenas] db30ed9: Un-break the build after changing less filename. Good thing I didn't push that one...

branch: freenas10/development
Repository: freenas/freenas
Pushed by: git
Pushed to: branch freenas10/development
commit db30ed9602886e3cfb6479896e396054b54803c5
Author: Ben Milman <bpmilman@...>
Date:   Fri May 22 16:02:37 2015 -0700

    Un-break the build after changing less filename. Good thing I didn't push that one...

    Ticket: #8388
---
 src/gui/app/source/styles/core.less | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gui/app/source/styles/core.less b/src/gui/app/source/styles/core.less
index bea0588..778d41a 100644
--- a/src/gui/app/source/styles/core.less
+++ b/src/gui/app/source/styles/core.less
 <at>  <at>  -96,7 +96,7  <at>  <at> 
  <at> import "TypeAhead.less";

 // Unique Views
- <at> import "NetworkConfig.less";
+ <at> import "Network.less";

 // Variables
  <at> import "variables.less";
freenas | 23 May 02:09 2015

[freenas/freenas] d11c598: Rename NetworkConfig.less

branch: freenas10/development
Repository: freenas/freenas
Pushed by: git
Pushed to: branch freenas10/development
commit d11c598b82abbc423232be49367f689c0839c87e
Author: Ben Milman <bpmilman@...>
Date:   Fri May 22 15:53:50 2015 -0700

    Rename NetworkConfig.less

    Ticket: #8388
---
 src/gui/app/source/styles/{NetworkConfig.less => Network.less} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/src/gui/app/source/styles/NetworkConfig.less b/src/gui/app/source/styles/Network.less
similarity index 100%
rename from src/gui/app/source/styles/NetworkConfig.less
rename to src/gui/app/source/styles/Network.less
freenas | 23 May 01:37 2015

[freenas/freenas] 8e3ccf0: Reformatted all MUCs to be ES6 style, fixed general code smell.

branch: freenas10/development
Repository: freenas/freenas
Pushed by: git
Pushed to: branch freenas10/development
commit 8e3ccf0f87227de1f22845c02643ac94cdd7adab
Author: Corey Vixie <corey.vixie@...>
Date:   Fri May 22 16:37:37 2015 -0700

    Reformatted all MUCs to be ES6 style, fixed general code smell.

    Ticket : #9696
---
 src/gui/app/jsx/middleware/GroupsMiddleware.js     |  80 ++++++++--------
 src/gui/app/jsx/middleware/InterfacesMiddleware.js |  34 ++++---
 .../app/jsx/middleware/NetworkConfigMiddleware.js  |  51 +++++-----
 src/gui/app/jsx/middleware/PowerMiddleware.js      |  54 ++++++-----
 src/gui/app/jsx/middleware/ServicesMiddleware.js   |  45 +++++----
 src/gui/app/jsx/middleware/ShellMiddleware.js      |  20 ++--
 src/gui/app/jsx/middleware/StatdMiddleware.js      |  39 +++++---
 src/gui/app/jsx/middleware/SystemMiddleware.js     |  31 +++---
 src/gui/app/jsx/middleware/TasksMiddleware.js      |  52 ++++++-----
 src/gui/app/jsx/middleware/UpdateMiddleware.js     |  19 ++--
 src/gui/app/jsx/middleware/UsersMiddleware.js      | 104 +++++++++++----------
 src/gui/app/jsx/middleware/ZfsMiddleware.js        |  47 ++++++----
 12 files changed, 326 insertions(+), 250 deletions(-)

diff --git a/src/gui/app/jsx/middleware/GroupsMiddleware.js b/src/gui/app/jsx/middleware/GroupsMiddleware.js
index c265207..5e09274 100644
--- a/src/gui/app/jsx/middleware/GroupsMiddleware.js
+++ b/src/gui/app/jsx/middleware/GroupsMiddleware.js
(Continue reading)

freenas | 23 May 01:37 2015

[freenas/freenas] b6aa7f3: Introduced abstract base class for Middleware Utility Classes.

branch: freenas10/development
Repository: freenas/freenas
Pushed by: git
Pushed to: branch freenas10/development
commit b6aa7f3f0bcb129e8b3f3e2a404b6b518cbad8ce
Author: Corey Vixie <corey.vixie@...>
Date:   Fri May 22 16:35:59 2015 -0700

    Introduced abstract base class for Middleware Utility Classes.
---
 src/gui/app/jsx/middleware/MiddlewareAbstract.js | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/src/gui/app/jsx/middleware/MiddlewareAbstract.js b/src/gui/app/jsx/middleware/MiddlewareAbstract.js
new file mode 100644
index 0000000..c7aeee1
--- /dev/null
+++ b/src/gui/app/jsx/middleware/MiddlewareAbstract.js
 <at>  <at>  -0,0 +1,18  <at>  <at> 
+// ABSTRACT MIDDLEWARE BASE CLASS
+// ==============================
+// A common abstract base class for all other Middleware classes to extend.
+// Among other things, this prevents the class from being constructed with
+// `new`, and only allows calling of its static methods. If you need to
+// instantiate a Middleware Utility Class, you're probably doing something
+// wrong.
+
+"use strict";
+
+class MiddlewareAbstract {
(Continue reading)

freenas | 23 May 01:37 2015

[freenas/freenas] ad263be: Removed unused and deprecated SessionMiddleware

branch: freenas10/development
Repository: freenas/freenas
Pushed by: git
Pushed to: branch freenas10/development
commit ad263bef700b22d504e7af8a52ef2bf9d00e70f0
Author: Corey Vixie <corey.vixie@...>
Date:   Fri May 22 15:59:56 2015 -0700

    Removed unused and deprecated SessionMiddleware
---
 src/gui/app/jsx/middleware/SessionMiddleware.js | 19 -------------------
 1 file changed, 19 deletions(-)

diff --git a/src/gui/app/jsx/middleware/SessionMiddleware.js b/src/gui/app/jsx/middleware/SessionMiddleware.js
deleted file mode 100644
index 2068056..0000000
--- a/src/gui/app/jsx/middleware/SessionMiddleware.js
+++ /dev/null
 <at>  <at>  -1,19 +0,0  <at>  <at> 
-// Session Middleware
-// ================
-// TODO: Decide whether we need this or not
-
-"use strict";
-
-import MiddlewareClient from "./MiddlewareClient";
-
-module.exports = {
-
-    subscribe: function( componentID ) {
(Continue reading)

freenas | 23 May 01:37 2015

[freenas/freenas] a3f7f25: In which nobody at iX has ever seen or used a relative file path before...? #WAT

branch: freenas10/development
Repository: freenas/freenas
Pushed by: git
Pushed to: branch freenas10/development
commit a3f7f251cbcc1d91b90da04cd8de5910dacd22fd
Author: Corey Vixie <corey.vixie@...>
Date:   Fri May 22 15:13:14 2015 -0700

    In which nobody at iX has ever seen or used a relative file path before...? #WAT
---
 src/gui/app/jsx/middleware/GroupsMiddleware.js        | 2 +-
 src/gui/app/jsx/middleware/InterfacesMiddleware.js    | 2 +-
 src/gui/app/jsx/middleware/NetworkConfigMiddleware.js | 2 +-
 src/gui/app/jsx/middleware/PowerMiddleware.js         | 2 +-
 src/gui/app/jsx/middleware/ServicesMiddleware.js      | 2 +-
 src/gui/app/jsx/middleware/SessionMiddleware.js       | 2 +-
 src/gui/app/jsx/middleware/ShellMiddleware.js         | 2 +-
 src/gui/app/jsx/middleware/StatdMiddleware.js         | 2 +-
 src/gui/app/jsx/middleware/SystemMiddleware.js        | 2 +-
 src/gui/app/jsx/middleware/TasksMiddleware.js         | 2 +-
 src/gui/app/jsx/middleware/UpdateMiddleware.js        | 2 +-
 src/gui/app/jsx/middleware/UsersMiddleware.js         | 2 +-
 src/gui/app/jsx/middleware/ZfsMiddleware.js           | 2 +-
 13 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/src/gui/app/jsx/middleware/GroupsMiddleware.js b/src/gui/app/jsx/middleware/GroupsMiddleware.js
index edba1b6..c265207 100644
--- a/src/gui/app/jsx/middleware/GroupsMiddleware.js
+++ b/src/gui/app/jsx/middleware/GroupsMiddleware.js
 <at>  <at>  -4,7 +4,7  <at>  <at> 
(Continue reading)

freenas | 23 May 01:37 2015

[freenas/freenas] bacf7a2: Removed long-since deprecated "UpdateMiddleware". Clean up your dead code, folks.

branch: freenas10/development
Repository: freenas/freenas
Pushed by: git
Pushed to: branch freenas10/development
commit bacf7a2e3e1deeed3c7372bf1d42e24207888a1b
Author: Corey Vixie <corey.vixie@...>
Date:   Fri May 22 14:48:35 2015 -0700

    Removed long-since deprecated "UpdateMiddleware". Clean up your dead code, folks.
---
 src/gui/app/jsx/components/Widgets/SystemInfo.jsx |  4 ----
 src/gui/app/jsx/middleware/UpdateMiddleware.js    | 17 -----------------
 2 files changed, 21 deletions(-)

diff --git a/src/gui/app/jsx/components/Widgets/SystemInfo.jsx b/src/gui/app/jsx/components/Widgets/SystemInfo.jsx
index 7991b13..1787476 100644
--- a/src/gui/app/jsx/components/Widgets/SystemInfo.jsx
+++ b/src/gui/app/jsx/components/Widgets/SystemInfo.jsx
 <at>  <at>  -9,7 +9,6  <at>  <at>  import Widget from "../Widget";
 import SystemMiddleware from "../../middleware/SystemMiddleware";
 import SystemStore from "../../stores/SystemStore";

-import UpdateMiddleware from "../../middleware/UpdateMiddleware";
 import UpdateStore from "../../stores/UpdateStore";

 import round from "round";
 <at>  <at>  -31,9 +30,6  <at>  <at>  var SystemInfo = React.createClass({

       SystemMiddleware.requestSystemInfo( "hardware" );
       SystemMiddleware.requestSystemInfo( "version" );
(Continue reading)

freenas | 23 May 01:37 2015

[freenas/freenas] d3320f8: Renamed UpdaterMiddleware to UpdateMiddleware, now that the name is freed up. This brings the MUC, AC, and Store into line.

branch: freenas10/development
Repository: freenas/freenas
Pushed by: git
Pushed to: branch freenas10/development
commit d3320f82ba39a7f5f23e530a81f3bc83c3aeab33
Author: Corey Vixie <corey.vixie@...>
Date:   Fri May 22 15:09:59 2015 -0700

    Renamed UpdaterMiddleware to UpdateMiddleware, now that the name is freed up. This brings the MUC, AC, and
Store into line.
---
 .../app/jsx/middleware/{UpdaterMiddleware.js => UpdateMiddleware.js}  | 0
 src/gui/app/jsx/views/SystemTools.jsx                                 | 4 ++--
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/gui/app/jsx/middleware/UpdaterMiddleware.js b/src/gui/app/jsx/middleware/UpdateMiddleware.js
similarity index 100%
rename from src/gui/app/jsx/middleware/UpdaterMiddleware.js
rename to src/gui/app/jsx/middleware/UpdateMiddleware.js
diff --git a/src/gui/app/jsx/views/SystemTools.jsx b/src/gui/app/jsx/views/SystemTools.jsx
index 9babd58..3bf8bbc 100644
--- a/src/gui/app/jsx/views/SystemTools.jsx
+++ b/src/gui/app/jsx/views/SystemTools.jsx
 <at>  <at>  -6,7 +6,7  <at>  <at> 

 import React from "react";

-import UpdaterMiddleware from "../middleware/UpdaterMiddleware";
+import UpdateMiddleware from "../middleware/UpdateMiddleware";

(Continue reading)

freenas | 22 May 04:15 2015

[freenas/freenas] 028d46b: Tweak to configureButton in InterfaceItem to use let and be created in one statement.

branch: freenas10/development
Repository: freenas/freenas
Pushed by: git
Pushed to: branch freenas10/development
commit 028d46bf7deff84e357ea64ee8df63bfd5b451df
Author: Ben Milman <bpmilman@...>
Date:   Thu May 21 19:13:04 2015 -0700

    Tweak to configureButton in InterfaceItem to use let and be created in one statement.

    Ticket: #9496
---
 src/gui/app/jsx/views/Network/Interfaces/InterfaceItem.jsx | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/gui/app/jsx/views/Network/Interfaces/InterfaceItem.jsx b/src/gui/app/jsx/views/Network/Interfaces/InterfaceItem.jsx
index 657a22b..698e771 100644
--- a/src/gui/app/jsx/views/Network/Interfaces/InterfaceItem.jsx
+++ b/src/gui/app/jsx/views/Network/Interfaces/InterfaceItem.jsx
 <at>  <at>  -25,14 +25,14  <at>  <at>  const InterfacesView = React.createClass({

   , render: function () {

-    var configureButton = null;

-    configureButton = (
+    let configureButton = (
       <TWBS.Row>
         <TWBS.Col xs={12}>
           <TWBS.Button
(Continue reading)


Gmane