freenas | 5 Mar 02:28 2015

[freenas/freenas] 7fc1ab1: Initial Gui Changes to add system shutdown, reboot and update buttons.

branch: freenas10/development
Repository: freenas/freenas
Pushed by: git
Pushed to: branch freenas10/development
commit 7fc1ab138c380ee360b8137564a946e816306a17
Author: Suraj Ravichandran <suraj@...>
Date:   Mon Mar 2 14:31:30 2015 -0800

    Initial Gui Changes to add system shutdown, reboot and update buttons.

    Fix icoSize option in Icon classs to use 'style: font-size: '.

    Add system_bg() to dispatcher/src/lib/system.py for issuing a
    background process and not waiting on it. While here, add
    shell=True kwarg feature to system() too.

    Initial very very rough go at PowerStore.js (it is wrong, its just
    a skeleton file for now, more to come)

    Ticket: #7712
---
 src/dispatcher/plugins/SystemInfoPlugin.py      | 28 ++++++--
 src/dispatcher/plugins/UpdatePlugin.py          |  5 +-
 src/dispatcher/src/lib/system.py                | 25 +++++--
 src/gui/app/jsx/components/Icon.jsx             |  4 +-
 src/gui/app/jsx/middleware/PowerMiddleware.js   | 18 ++++++
 src/gui/app/jsx/middleware/UpdaterMiddleware.js | 14 ++++
 src/gui/app/jsx/stores/PowerStore.js            | 86 +++++++++++++++++++++++++
 src/gui/app/jsx/views/Power.jsx                 | 28 +++++++-
 src/gui/app/jsx/views/SystemTools.jsx           | 15 +++++
(Continue reading)

freenas | 4 Mar 23:34 2015

[freenas/freenas] c84cdc7: Modify an error of "python examples" in documentation

branch: master
Repository: freenas/freenas
Pushed by: git
Pushed to: branch master
commit c84cdc700617767e86ea8d868866f6f63d5b6121
Author: Patrick Qi <patrick@...>
Date:   Wed Mar 4 14:32:02 2015 -0800

    Modify an error of "python examples" in documentation
---
 docs/api/authentication.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/api/authentication.rst b/docs/api/authentication.rst
index d324754..673a5c1 100644
--- a/docs/api/authentication.rst
+++ b/docs/api/authentication.rst
 <at>  <at>  -22,6 +22,6  <at>  <at>  Get list of users::
     import requests

     print requests.get(
-        'http://freenas.mydomain/api/v1.0/account/bsdusers/',
+        'http://freenas.mydomain/api/v1.0/account/users/',
         auth=('root', 'freenas'),
     )
freenas | 4 Mar 23:30 2015

[freenas/freenas] 5a72652: Nuke the latest link before creating new.

branch: TN-9.3-STABLE
Repository: freenas/freenas
Pushed by: git
Pushed to: branch TN-9.3-STABLE
commit 5a72652eca014afe30a4b4b0f32f8a030dc8c34c
Author: Jordan Hubbard <jkh@...>
Date:   Wed Mar 4 14:29:36 2015 -0800

    Nuke the latest link before creating new.
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 9785b39..94488b7 100644
--- a/Makefile
+++ b/Makefile
 <at>  <at>  -110,7 +110,7  <at>  <at>  release-push: release
 		if [ -f /root/redmine-api-key ]; then ./build/create_redmine_version.py -k `cat
/root/redmine-api-key` -v "${VERSION}-${BUILD_TIMESTAMP}" -d "9.3 Software Update released on
${PRINTABLE_TIMESTAMP} GMT"; fi \
 	fi
 	mv "${IX_INTERNAL_PATH}/${STAGEDIR}" "${IX_STABLE_DIR}"/`echo ${STAGEDIR} | awk -F- '{print $$4}'`;
-	ln -sf "${IX_STABLE_DIR}"/`echo ${STAGEDIR} | awk -F- '{print $$4}'` "${IX_STABLE_DIR}/latest";
+	rm -f "${IX_STABLE_DIR}/latest"; ln -s "${IX_STABLE_DIR}"/`echo ${STAGEDIR} | awk -F- '{print
$$4}'` "${IX_STABLE_DIR}/latest";
 	${MAKE} save-build-env

 update-push:	release
(Continue reading)

freenas | 4 Mar 21:40 2015

[freenas/freenas] f38abd0: Send debug bit to the support proxy

branch: TN-9.3-STABLE
Repository: freenas/freenas
Pushed by: git
Pushed to: branch TN-9.3-STABLE
commit f38abd0b2c8ef5f693454f19db00166f3cf134aa
Author: William Grzybowski <wg@...>
Date:   Wed Mar 4 17:39:08 2015 -0300

    Send debug bit to the support proxy

    Ticket:	#8368
    (cherry picked from commit ab7b8f99121a226e85d03ed6216a542ed52b3fec)
---
 gui/support/views.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gui/support/views.py b/gui/support/views.py
index 2d579c7..d6d9430 100644
--- a/gui/support/views.py
+++ b/gui/support/views.py
 <at>  <at>  -104,6 +104,7  <at>  <at>  def ticket(request):

     files = []
     if request.POST.get('debug') == 'on':
+        debug = True
         with open(TICKET_PROGRESS, 'w') as f:
             f.write(json.dumps({'indeterminate': True, 'step': step}))
         step += 1
 <at>  <at>  -111,6 +112,8  <at>  <at>  def ticket(request):
         mntpt, direc, dump = debug_get_settings()
(Continue reading)

freenas | 4 Mar 21:40 2015

[freenas/freenas] b37bc84: Send debug bit to the support proxy

branch: 9.3-STABLE
Repository: freenas/freenas
Pushed by: git
Pushed to: branch 9.3-STABLE
commit b37bc841e1a6cc26644208bd2466e85554918b30
Author: William Grzybowski <wg@...>
Date:   Wed Mar 4 17:39:08 2015 -0300

    Send debug bit to the support proxy

    Ticket:	#8368
    (cherry picked from commit ab7b8f99121a226e85d03ed6216a542ed52b3fec)
---
 gui/support/views.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gui/support/views.py b/gui/support/views.py
index 2d579c7..d6d9430 100644
--- a/gui/support/views.py
+++ b/gui/support/views.py
 <at>  <at>  -104,6 +104,7  <at>  <at>  def ticket(request):

     files = []
     if request.POST.get('debug') == 'on':
+        debug = True
         with open(TICKET_PROGRESS, 'w') as f:
             f.write(json.dumps({'indeterminate': True, 'step': step}))
         step += 1
 <at>  <at>  -111,6 +112,8  <at>  <at>  def ticket(request):
         mntpt, direc, dump = debug_get_settings()
(Continue reading)

freenas | 4 Mar 21:39 2015

[freenas/freenas] ab7b8f9: Send debug bit to the support proxy

branch: master
Repository: freenas/freenas
Pushed by: git
Pushed to: branch master
commit ab7b8f99121a226e85d03ed6216a542ed52b3fec
Author: William Grzybowski <wg@...>
Date:   Wed Mar 4 17:39:08 2015 -0300

    Send debug bit to the support proxy

    Ticket:	#8368
---
 gui/support/views.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gui/support/views.py b/gui/support/views.py
index 2d579c7..d6d9430 100644
--- a/gui/support/views.py
+++ b/gui/support/views.py
 <at>  <at>  -104,6 +104,7  <at>  <at>  def ticket(request):

     files = []
     if request.POST.get('debug') == 'on':
+        debug = True
         with open(TICKET_PROGRESS, 'w') as f:
             f.write(json.dumps({'indeterminate': True, 'step': step}))
         step += 1
 <at>  <at>  -111,6 +112,8  <at>  <at>  def ticket(request):
         mntpt, direc, dump = debug_get_settings()
         debug_run(direc)
(Continue reading)

freenas | 4 Mar 20:44 2015

[freenas/freenas] b2ecdeb: Recursively mount pools on boot, fix dangling newline.

branch: freenas10/development
Repository: freenas/freenas
Pushed by: git
Pushed to: branch freenas10/development
commit b2ecdebe0c496ab805acea78458b80d88e51a8c4
Author: Jakub Klama <jakub@...>
Date:   Wed Mar 4 20:44:46 2015 +0100

    Recursively mount pools on boot, fix dangling newline.
---
 src/dispatcher/plugins/VolumePlugin.py | 2 +-
 src/dispatcher/plugins/ZfsPlugin.py    | 1 +
 src/py-libzfs/libzfs.pyx               | 5 +++++
 3 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/src/dispatcher/plugins/VolumePlugin.py b/src/dispatcher/plugins/VolumePlugin.py
index fd5d97e..1aa11d3 100644
--- a/src/dispatcher/plugins/VolumePlugin.py
+++ b/src/dispatcher/plugins/VolumePlugin.py
 <at>  <at>  -416,4 +416,4  <at>  <at>  def _init(dispatcher):
     dispatcher.register_hook('volume.pre-attach')

     dispatcher.register_event_handler('zfs.pool.changed', on_pool_change)
-    dispatcher.register_event_type('volumes.changed')
\ No newline at end of file
+    dispatcher.register_event_type('volumes.changed')
diff --git a/src/dispatcher/plugins/ZfsPlugin.py b/src/dispatcher/plugins/ZfsPlugin.py
index caf96eb..c7d057a 100644
--- a/src/dispatcher/plugins/ZfsPlugin.py
+++ b/src/dispatcher/plugins/ZfsPlugin.py
(Continue reading)

freenas | 4 Mar 20:44 2015

[freenas/freenas] 6941f82: Look for a license file, and try including it in the http header during a request.

branch: 9.3-STABLE
Repository: freenas/freenas
Pushed by: git
Pushed to: branch 9.3-STABLE
commit 6941f82dcdf17a1c829704b8b045de2a7f9f8135
Author: Sean Fagan <sef@...>
Date:   Mon Mar 2 17:10:48 2015 -0800

    Look for a license file, and try including it in the http header during a request.

    Ticket: #8363
---
 src/freenas-pkgtools/lib/Configuration.py | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/src/freenas-pkgtools/lib/Configuration.py b/src/freenas-pkgtools/lib/Configuration.py
index f9f1eb5..6f1bdef 100644
--- a/src/freenas-pkgtools/lib/Configuration.py
+++ b/src/freenas-pkgtools/lib/Configuration.py
 <at>  <at>  -462,6 +462,8  <at>  <at>  class Configuration(object):

     def TryGetNetworkFile(self, url, handler=None, pathname = None, reason = None):
         from . import DEFAULT_CA_FILE
+        from freenasUI.support.utils import LICENSE_FILE
+
         AVATAR_VERSION = "X-%s-Manifest-Version" % Avatar()
         current_version = "unknown"
         host_id = None
 <at>  <at>  -474,6 +476,13  <at>  <at>  class Configuration(object):
         except:
(Continue reading)

freenas | 4 Mar 20:09 2015

[freenas/freenas] 9ccfb6c: Charting widgets work in progress

branch: freenas10/development
Repository: freenas/freenas
Pushed by: git
Pushed to: branch freenas10/development
commit 9ccfb6c4dc6ada206448686e2721a3cca10072b2
Author: Vaclav Navratil <vaclav@...>
Date:   Wed Mar 4 20:08:10 2015 +0100

    Charting widgets work in progress
---
 .../jsx/components/Widgets/DummyWidgetContent.jsx  | 110 ++++++++++++++-------
 src/gui/app/jsx/views/Dashboard.jsx                |   4 +-
 2 files changed, 77 insertions(+), 37 deletions(-)

diff --git a/src/gui/app/jsx/components/Widgets/DummyWidgetContent.jsx b/src/gui/app/jsx/components/Widgets/DummyWidgetContent.jsx
index a99134e..d7edaf2 100644
--- a/src/gui/app/jsx/components/Widgets/DummyWidgetContent.jsx
+++ b/src/gui/app/jsx/components/Widgets/DummyWidgetContent.jsx
 <at>  <at>  -22,9 +22,11  <at>  <at>  function getWidgetDataFromStore( name ) {
 var DummyWidgetContent = React.createClass({
   getInitialState: function() {
     return {
-       element      :   ""
-      ,initialData  :   false
-      ,chart        :   ""
+       element        :   ""
+      ,initialData    :   false
+      ,chart          :   ""
+      ,updateCounter  :   0
+      ,graphType      :   "line"
(Continue reading)

freenas | 4 Mar 20:09 2015

[freenas/freenas] 34c4aa9: System Info widget improvements

branch: freenas10/development
Repository: freenas/freenas
Pushed by: git
Pushed to: branch freenas10/development
commit 34c4aa9830eeddacefcbf01024b2b1eb310431fa
Author: Vaclav Navratil <vaclav@...>
Date:   Wed Mar 4 20:07:39 2015 +0100

    System Info widget improvements
---
 src/gui/app/jsx/components/Widgets/SystemInfo.jsx |  42 ++++++++++++++++++----
 src/gui/app/source/images/ico-cpu.png             | Bin 0 -> 3882 bytes
 src/gui/app/source/images/ico-freenas.png         | Bin 0 -> 2705 bytes
 src/gui/app/source/images/ico-ram.png             | Bin 0 -> 3803 bytes
 src/gui/app/source/images/ico-train.png           | Bin 0 -> 1177 bytes
 src/gui/app/source/images/ico-update.png          | Bin 0 -> 2777 bytes
 6 files changed, 35 insertions(+), 7 deletions(-)

diff --git a/src/gui/app/jsx/components/Widgets/SystemInfo.jsx b/src/gui/app/jsx/components/Widgets/SystemInfo.jsx
index caa1cd4..5e5d124 100644
--- a/src/gui/app/jsx/components/Widgets/SystemInfo.jsx
+++ b/src/gui/app/jsx/components/Widgets/SystemInfo.jsx
 <at>  <at>  -8,15 +8,24  <at>  <at>  var Widget  = 	require("../Widget");
 var SystemMiddleware = require("../../middleware/SystemMiddleware");
 var SystemStore      = require("../../stores/SystemStore");

+var UpdateMiddleware = require("../../middleware/UpdateMiddleware");
+var UpdateStore      = require("../../stores/UpdateStore");
+
  function getSystemInfoFromStore( name ) {
(Continue reading)

freenas | 4 Mar 20:09 2015

[freenas/freenas] 7325f66: Handling of Update RPC calls

branch: freenas10/development
Repository: freenas/freenas
Pushed by: git
Pushed to: branch freenas10/development
commit 7325f6681dc510683332d54fddd610bed9b9c4a7
Author: Vaclav Navratil <vaclav@...>
Date:   Wed Mar 4 20:07:05 2015 +0100

    Handling of Update RPC calls
---
 src/gui/app/jsx/actions/UpdateActionCreators.js | 21 ++++++++++
 src/gui/app/jsx/constants/FreeNASConstants.js   |  3 ++
 src/gui/app/jsx/middleware/UpdateMiddleware.js  | 18 +++++++++
 src/gui/app/jsx/stores/UpdateStore.js           | 54 +++++++++++++++++++++++++
 4 files changed, 96 insertions(+)

diff --git a/src/gui/app/jsx/actions/UpdateActionCreators.js b/src/gui/app/jsx/actions/UpdateActionCreators.js
new file mode 100644
index 0000000..25b1b0c
--- /dev/null
+++ b/src/gui/app/jsx/actions/UpdateActionCreators.js
 <at>  <at>  -0,0 +1,21  <at>  <at> 
+// Update Action Creators
+// ==================================
+
+"use strict";
+
+var FreeNASDispatcher = require("../dispatcher/FreeNASDispatcher");
+var FreeNASConstants  = require("../constants/FreeNASConstants");
+
(Continue reading)


Gmane