Thierry Parmentelat [Sat, 14 Dec 2013 10:54:53 +0000 (11:54 +0100)]
add a spinner to the validatebutton
Thierry Parmentelat [Sat, 14 Dec 2013 10:47:07 +0000 (11:47 +0100)]
sliceview uses validatebutton
Thierry Parmentelat [Sat, 14 Dec 2013 10:03:08 +0000 (11:03 +0100)]
use the ‘pubsub’ class as a means to tag DOM elements that need to receive API events
this is instead of the ‘plugin’ class that was used previously, and that relied on the
DOM building helpers and conventions that we have in place for ‘real’ plugins
However we want to be able to deal with plugins that piggyback on existing DOM elts
that do not necessarily have .plugin
As a side effect the topmenu buttons do not need to have .plugin to work with validatebutton
Thierry Parmentelat [Sat, 14 Dec 2013 09:39:44 +0000 (10:39 +0100)]
A first stab at the ‘validatebutton’ plugin
This is not yet integrated in the sliceview and others, but works in a standalone test view like this
http://localhost:8080/trash/simplevalidatebutton/ple.inria.thierry_parmentelat
—
in a nutshell, we have topmenu display a disabled link ‘validation’ and send a query in background
if anything gets returned by this query - meaning the user is PI at some authority - we then
re-enable the menu button
—
There is one catch at this point, which is that the DOM element attached to the plugin - the menu button - needs to
have the ‘plugin’ class because this is what is used to trigger query events
So in this version we add this plugin class to the topmenu buttons, which is awkward
—
The reason why this plugin is special is, it does not come with its own DOM element but piggybacks on an existing one - which had no reason to have this plugin class attached
The plan to get this right is to have the plugin.js code manage an extra class (for example named pubsub) independantly from the DOM building code and conventions
Loic Baron [Fri, 13 Dec 2013 17:47:36 +0000 (18:47 +0100)]
fixed bug if a platform is disabled but the user still has accounts on this platform
Loic Baron [Fri, 13 Dec 2013 17:38:13 +0000 (18:38 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/myslice
Conflicts:
manifold/manifoldapi.py
Loic Baron [Fri, 13 Dec 2013 17:36:10 +0000 (18:36 +0100)]
deactivated hide/show validation link in topmenu.py
Yasin [Fri, 13 Dec 2013 17:19:30 +0000 (18:19 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/myslice
Yasin [Fri, 13 Dec 2013 17:19:25 +0000 (18:19 +0100)]
All credentials visible
Thierry Parmentelat [Fri, 13 Dec 2013 09:47:41 +0000 (10:47 +0100)]
comment
Thierry Parmentelat [Fri, 13 Dec 2013 09:33:33 +0000 (10:33 +0100)]
another refinement of the queryupdater - googlemap - queryupdater trio consistency
this time we do not use flat_id anymore, and suggest to always use selectors like
$(“[my_id=‘some!text:with+any*char’]”)
rather than
$(“#some_id”)
because the latter is very restrictive on the character set and does not accept quoting - at least I haven’t found any
Thierry Parmentelat [Thu, 12 Dec 2013 21:20:03 +0000 (22:20 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/myslice
Thierry Parmentelat [Thu, 12 Dec 2013 21:19:56 +0000 (22:19 +0100)]
more fixes to the googlemap - querytable - queryupdater trio
changes in the googlemap should now properly propagate to querytable
Yasin [Thu, 12 Dec 2013 17:05:25 +0000 (18:05 +0100)]
cosmetic
Yasin [Thu, 12 Dec 2013 15:25:29 +0000 (16:25 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/myslice
Yasin [Thu, 12 Dec 2013 15:25:25 +0000 (16:25 +0100)]
FIX: http://trac.myslice.info/ticket/52
Thierry Parmentelat [Thu, 12 Dec 2013 14:24:37 +0000 (15:24 +0100)]
various fixes for querytable and googlemap
display is hostname-based now
could be made hrn again very simply
internal communication is urn-based
should work fine now
Yasin [Thu, 12 Dec 2013 09:57:37 +0000 (10:57 +0100)]
MyAcc: Request to access platform- OK
Yasin [Tue, 10 Dec 2013 17:28:08 +0000 (18:28 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/myslice
Yasin [Tue, 10 Dec 2013 17:28:02 +0000 (18:28 +0100)]
MyACC: request to other platforms added
Thierry Parmentelat [Tue, 10 Dec 2013 15:50:08 +0000 (16:50 +0100)]
undo an annoying change
Yasin [Tue, 10 Dec 2013 10:23:42 +0000 (11:23 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/myslice
Yasin [Tue, 10 Dec 2013 10:23:39 +0000 (11:23 +0100)]
MyAcc: Complete separation btn Principal acc and reference account
Thierry Parmentelat [Mon, 9 Dec 2013 15:42:59 +0000 (16:42 +0100)]
googlemap and querytable now use 2 keys
* init_key, expected to be provided by caller, specifies a key that can be used at init-time (shoud be present in both queries)
* canonical_key is rderived from metadata
Thierry Parmentelat [Mon, 9 Dec 2013 15:34:58 +0000 (16:34 +0100)]
remove global debug flags and use embedded ‘debug’ and ‘debug_deep’ instead
Thierry Parmentelat [Mon, 9 Dec 2013 14:45:16 +0000 (15:45 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/myslice
Yasin [Mon, 9 Dec 2013 14:06:06 +0000 (15:06 +0100)]
Concept of principal/reference account adeed
Thierry Parmentelat [Mon, 9 Dec 2013 14:00:09 +0000 (15:00 +0100)]
remove debug msg
Thierry Parmentelat [Mon, 9 Dec 2013 13:56:01 +0000 (14:56 +0100)]
a simple view for testing just querytable
Anthony Garcia [Fri, 6 Dec 2013 16:40:27 +0000 (17:40 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/myslice
Anthony Garcia [Fri, 6 Dec 2013 16:40:20 +0000 (17:40 +0100)]
refactor selected nodes
Thierry Parmentelat [Fri, 6 Dec 2013 16:20:30 +0000 (17:20 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/myslice
Thierry Parmentelat [Fri, 6 Dec 2013 16:20:18 +0000 (17:20 +0100)]
a simple grid view (a slice showed only as a querygrid)
as e.g. http://localhost:8080/trash/simplegrid/ple.inria.f14#
— requires to enable trash in myslice/{settings.py,urls.py} though
Thierry Parmentelat [Fri, 6 Dec 2013 16:07:44 +0000 (17:07 +0100)]
add a grid view in the resources area - turned off by default and uses global insert_grid
Loic Baron [Fri, 6 Dec 2013 16:07:18 +0000 (17:07 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/myslice
Loic Baron [Fri, 6 Dec 2013 16:04:13 +0000 (17:04 +0100)]
Using URNs instead of HRNs = this works for the checkboxes in querytable & googlemap & pending operations / to be improved with HRNs for users to be more readable
Thierry Parmentelat [Fri, 6 Dec 2013 15:57:57 +0000 (16:57 +0100)]
disable query editor for good until perf. issues are solved
Thierry Parmentelat [Fri, 6 Dec 2013 15:53:07 +0000 (16:53 +0100)]
other minor changes from slickgrid
Jordan Augé [Fri, 6 Dec 2013 15:42:07 +0000 (16:42 +0100)]
better handling of exceptions when session expired
Thierry Parmentelat [Fri, 6 Dec 2013 15:36:14 +0000 (16:36 +0100)]
adding querygrid plugin from the slickgrid branch
Thierry Parmentelat [Fri, 6 Dec 2013 15:33:38 +0000 (16:33 +0100)]
first step for manual merging of the slickgrid branch
Jordan Augé [Fri, 6 Dec 2013 15:28:59 +0000 (16:28 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/myslice
Jordan Augé [Fri, 6 Dec 2013 15:28:43 +0000 (16:28 +0100)]
added sandbox for testing plugins + random record generator
Anthony Garcia [Fri, 6 Dec 2013 15:02:07 +0000 (16:02 +0100)]
Add explicit cast for nodes coordinates
Yasin [Thu, 5 Dec 2013 17:28:01 +0000 (18:28 +0100)]
FIX: http://trac.myslice.info/ticket/10
Loic Baron [Wed, 4 Dec 2013 17:35:33 +0000 (18:35 +0100)]
In topmenu the link to Validation page is only visible to PIs of some authority - To be solved errors with several testbeds... using only ple for the moment - trac.myslice.info/ticket/38
Loic Baron [Wed, 4 Dec 2013 11:55:02 +0000 (12:55 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/myslice
Loic Baron [Wed, 4 Dec 2013 11:51:56 +0000 (12:51 +0100)]
GoogleMap setup bounds in create_marker_struct function and fitBounds when on_all_query_done. If there is only 1 marker on the map zoom out because the default is too close
Jordan Augé [Tue, 3 Dec 2013 16:35:47 +0000 (17:35 +0100)]
added buffer class to manage batches of asynchronous records
Jordan Augé [Tue, 3 Dec 2013 16:35:05 +0000 (17:35 +0100)]
added draft maddash plugin
Jordan Augé [Tue, 3 Dec 2013 16:27:42 +0000 (17:27 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/myslice
Jordan Augé [Tue, 3 Dec 2013 16:27:17 +0000 (17:27 +0100)]
added sandbox application to help new plugin developers experiment with their plugins
Thierry Parmentelat [Fri, 29 Nov 2013 15:43:05 +0000 (16:43 +0100)]
remove duplicate css file (onelab_marko) and group all common stuff in base.html
Thierry Parmentelat [Fri, 29 Nov 2013 10:22:02 +0000 (11:22 +0100)]
global flag for turning off leases in sliceview
Thierry Parmentelat [Fri, 29 Nov 2013 10:21:23 +0000 (11:21 +0100)]
querytable plugin’s internal key passed by caller : QueryTable (… id_key=‘hrn’ )
Thierry Parmentelat [Fri, 29 Nov 2013 10:08:22 +0000 (11:08 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/myslice
Jordan Augé [Fri, 29 Nov 2013 09:40:32 +0000 (10:40 +0100)]
fixed merge issue
Thierry Parmentelat [Fri, 29 Nov 2013 09:37:30 +0000 (10:37 +0100)]
remove trace message
Jordan Augé [Fri, 29 Nov 2013 09:31:15 +0000 (10:31 +0100)]
slice view: resources tab order
Jordan Augé [Fri, 29 Nov 2013 09:30:26 +0000 (10:30 +0100)]
Merge branch 'master' into scheduler
Conflicts:
plugins/googlemap/static/js/googlemap.js
Jordan Augé [Fri, 29 Nov 2013 09:27:39 +0000 (10:27 +0100)]
updated scheduler plugin
Thierry Parmentelat [Fri, 29 Nov 2013 08:46:33 +0000 (09:46 +0100)]
the tabs plugin has a persistent_active feature to enable saving the active tab in html5 storage
Jordan Augé [Thu, 28 Nov 2013 17:08:42 +0000 (18:08 +0100)]
fixed error in manifold.js + updated scheduler
Jordan Augé [Thu, 28 Nov 2013 15:39:12 +0000 (16:39 +0100)]
plugins.scheduler: scheduler almost working
Yasin [Thu, 28 Nov 2013 15:38:31 +0000 (16:38 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/myslice
Yasin [Thu, 28 Nov 2013 15:38:29 +0000 (16:38 +0100)]
Registration: Bugfix. Add user+account in manifold
Thierry Parmentelat [Thu, 28 Nov 2013 14:19:48 +0000 (15:19 +0100)]
ugly hack to use hrn instead of urn for now
Thierry Parmentelat [Thu, 28 Nov 2013 14:19:26 +0000 (15:19 +0100)]
replace key_value with just id
Thierry Parmentelat [Thu, 28 Nov 2013 10:52:44 +0000 (11:52 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/myslice
Thierry Parmentelat [Thu, 28 Nov 2013 10:52:38 +0000 (11:52 +0100)]
googlemap resources now displayed as hrn’s again
cleanup code to distinguish between a record’s id’ (based on primary key as per this.key) and label (hrn)
there should not remain any explicit reference to either urn or hrn in this code
Yasin [Thu, 28 Nov 2013 10:44:43 +0000 (11:44 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/myslice
Yasin [Thu, 28 Nov 2013 10:44:38 +0000 (11:44 +0100)]
REG: BUG FIX
Thierry Parmentelat [Thu, 28 Nov 2013 08:51:41 +0000 (09:51 +0100)]
create a symlink for the wsgi application - this is for the django development server only
Thierry Parmentelat [Wed, 27 Nov 2013 21:26:08 +0000 (22:26 +0100)]
belongs in the repo
Thierry Parmentelat [Wed, 27 Nov 2013 21:23:26 +0000 (22:23 +0100)]
postinstall script cleans up any sequels from previous packaging
Thierry Parmentelat [Wed, 27 Nov 2013 21:20:11 +0000 (22:20 +0100)]
packaging tweaks
Thierry Parmentelat [Wed, 27 Nov 2013 09:07:29 +0000 (10:07 +0100)]
refine packaging one step further
name generic stuff as unfold instead of myslice
--
db installed in /var/unfold and permissions reviewed - no insane chmod 777 !?!?!
wsgi in /usr/share/unfold/apache/unfold.wsgi
conf in /etc/apache2/sites-available/unfold.conf
— not tested
Jordan Augé [Wed, 27 Nov 2013 08:32:58 +0000 (09:32 +0100)]
Merge branch 'master' into scheduler
Jordan Augé [Wed, 27 Nov 2013 08:32:35 +0000 (09:32 +0100)]
(wip)
Thierry Parmentelat [Wed, 27 Nov 2013 08:09:45 +0000 (09:09 +0100)]
redirect apache/wsgi output flow to /var/log/apache2/myslice*
Thierry Parmentelat [Wed, 27 Nov 2013 07:23:23 +0000 (08:23 +0100)]
reminder for some useful variants of the twisted debian packaging tools
Thierry Parmentelat [Wed, 27 Nov 2013 07:13:11 +0000 (08:13 +0100)]
oops, settings.py was broken for when running collectstatic at build-time
Yasin [Tue, 26 Nov 2013 17:07:06 +0000 (18:07 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/myslice
Yasin [Tue, 26 Nov 2013 17:07:01 +0000 (18:07 +0100)]
REG: create local:user+local:account
Anthony Garcia [Tue, 26 Nov 2013 16:35:59 +0000 (17:35 +0100)]
Enabling senslabmap in sliceview and add a message when there are no nodes to display.
Anthony Garcia [Tue, 26 Nov 2013 16:07:15 +0000 (17:07 +0100)]
add tabs for maps
Anthony Garcia [Tue, 26 Nov 2013 16:06:39 +0000 (17:06 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/myslice
Anthony Garcia [Tue, 26 Nov 2013 16:06:33 +0000 (17:06 +0100)]
Add target for canvas css rules + rename map.css -> senslabmap.css
Thierry Parmentelat [Tue, 26 Nov 2013 16:03:33 +0000 (17:03 +0100)]
provide a config option to specify a googlemap API key if needed
Thierry Parmentelat [Tue, 26 Nov 2013 15:57:02 +0000 (16:57 +0100)]
turn off senslabmap temporarily
Thierry Parmentelat [Tue, 26 Nov 2013 15:25:03 +0000 (16:25 +0100)]
tear down old offline mode that is not really helpful anymore and probably broken anyway
in the new packaging layout that is mostly an impediment
Thierry Parmentelat [Tue, 26 Nov 2013 15:23:32 +0000 (16:23 +0100)]
second pass on packaging; works better but offline mode is still in the way
Yasin [Tue, 26 Nov 2013 15:12:19 +0000 (16:12 +0100)]
User data goes to manifold local:user
Thierry Parmentelat [Tue, 26 Nov 2013 14:59:44 +0000 (15:59 +0100)]
obfuscate AuthString as well as session in auth structures
Thierry Parmentelat [Tue, 26 Nov 2013 12:26:40 +0000 (13:26 +0100)]
typo
Thierry Parmentelat [Tue, 26 Nov 2013 11:48:33 +0000 (12:48 +0100)]
first attempt at using dh —buildsystem=python_distutils for packaging myslice
Thierry Parmentelat [Fri, 22 Nov 2013 15:16:24 +0000 (16:16 +0100)]
querytablecheckbox management functions issue a warning when ending up on an undefined key
Jordan Augé [Fri, 22 Nov 2013 13:35:07 +0000 (14:35 +0100)]
added scheduler to slice view
Jordan Augé [Fri, 22 Nov 2013 13:34:41 +0000 (14:34 +0100)]
third-party: added timepicker addon needed for scheduler
Thierry Parmentelat [Fri, 22 Nov 2013 13:30:41 +0000 (14:30 +0100)]
in debug mode print out stack regardless of the exception