Yasin [Mon, 16 Dec 2013 13:54:36 +0000 (14:54 +0100)]
Adopted Bootstrap.css :)
Yasin [Mon, 16 Dec 2013 13:15:11 +0000 (14:15 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/myslice
Yasin [Mon, 16 Dec 2013 13:11:20 +0000 (14:11 +0100)]
MyAccount: several bug fix
Thierry Parmentelat [Mon, 16 Dec 2013 12:15:23 +0000 (13:15 +0100)]
integrated helper function toplevel_menu_live that returns a menu + creates related plugin
this requires a Page instance though, not just a request
for now it is used only in sliceview and topmenuvalidationview
Thierry Parmentelat [Mon, 16 Dec 2013 11:40:55 +0000 (12:40 +0100)]
whoops, a filename had gone rogue during move
Thierry Parmentelat [Mon, 16 Dec 2013 11:27:47 +0000 (12:27 +0100)]
move related imports as well
Thierry Parmentelat [Mon, 16 Dec 2013 11:25:19 +0000 (12:25 +0100)]
cosmetic
Thierry Parmentelat [Mon, 16 Dec 2013 11:19:16 +0000 (12:19 +0100)]
move commented code about the ‘where am I a PI’ question into topmenuvalidation plugin
Thierry Parmentelat [Mon, 16 Dec 2013 11:11:43 +0000 (12:11 +0100)]
renamed validatebutton into topmenuvalidation
Thierry Parmentelat [Mon, 16 Dec 2013 10:47:32 +0000 (11:47 +0100)]
merged trash/ into sample/
Thierry Parmentelat [Mon, 16 Dec 2013 10:39:17 +0000 (11:39 +0100)]
cleanup the trash/ area
Loic Baron [Mon, 16 Dec 2013 10:14:47 +0000 (11:14 +0100)]
disabled queries to an explicit platform using prefix
Thierry Parmentelat [Mon, 16 Dec 2013 09:11:39 +0000 (10:11 +0100)]
keep a few more files in gitignore
Thierry Parmentelat [Sat, 14 Dec 2013 14:45:07 +0000 (15:45 +0100)]
line folded
Thierry Parmentelat [Sat, 14 Dec 2013 14:42:53 +0000 (15:42 +0100)]
use spin defaults for the dashboard view
Thierry Parmentelat [Sat, 14 Dec 2013 14:39:26 +0000 (15:39 +0100)]
some cleanup in debug messages for googlemap and querytable
attempt to catch more events (for when switching tabs) but to no avail so far
Thierry Parmentelat [Sat, 14 Dec 2013 14:03:35 +0000 (15:03 +0100)]
harmonize js files naming under unfold/
Thierry Parmentelat [Sat, 14 Dec 2013 13:57:25 +0000 (14:57 +0100)]
renamed publish_result_debug into just pubsub_debug, and turn it off
Thierry Parmentelat [Sat, 14 Dec 2013 13:55:53 +0000 (14:55 +0100)]
add mising deps
Thierry Parmentelat [Sat, 14 Dec 2013 13:55:15 +0000 (14:55 +0100)]
the validatebutton test view in trash accepts special argument ‘logged’ so we can pass ‘$user_hrn’ in the pi_authorities query, like our real views will do
Thierry Parmentelat [Sat, 14 Dec 2013 13:53:36 +0000 (14:53 +0100)]
correction, it is this change that returns spin presets as a function so they can be modified
Thierry Parmentelat [Sat, 14 Dec 2013 13:52:56 +0000 (14:52 +0100)]
cleanup spin functions - actually use our defaults - provide means to tweak defaults on a per plugin basis
Thierry Parmentelat [Sat, 14 Dec 2013 13:51:48 +0000 (14:51 +0100)]
remove unused debug feature
Thierry Parmentelat [Sat, 14 Dec 2013 11:40:08 +0000 (12:40 +0100)]
in case the validation button was moved in the dropdown
Thierry Parmentelat [Sat, 14 Dec 2013 11:17:53 +0000 (12:17 +0100)]
with this change, no need to tweak settings.py or urls.py any more
INSTALLED_APPS and urls will be defined for our 3 auxiliaries
sandbox sample and trash
based on whether the dir. is found or not under ROOT
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