myslice.git
11 years agoadd mising deps
Thierry Parmentelat [Sat, 14 Dec 2013 13:55:53 +0000 (14:55 +0100)]
add mising deps

11 years agothe validatebutton test view in trash accepts special argument ‘logged’ so we can...
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

11 years agocorrection, it is this change that returns spin presets as a function so they can...
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

11 years agocleanup spin functions - actually use our defaults - provide means to tweak defaults...
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

11 years agoremove unused debug feature
Thierry Parmentelat [Sat, 14 Dec 2013 13:51:48 +0000 (14:51 +0100)]
remove unused debug feature

11 years agoin case the validation button was moved in the dropdown
Thierry Parmentelat [Sat, 14 Dec 2013 11:40:08 +0000 (12:40 +0100)]
in case the validation button was moved in the dropdown

11 years agowith this change, no need to tweak settings.py or urls.py any more
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

11 years agoadd a spinner to the validatebutton
Thierry Parmentelat [Sat, 14 Dec 2013 10:54:53 +0000 (11:54 +0100)]
add a spinner to the validatebutton

11 years agosliceview uses validatebutton
Thierry Parmentelat [Sat, 14 Dec 2013 10:47:07 +0000 (11:47 +0100)]
sliceview uses validatebutton

11 years agouse the ‘pubsub’ class as a means to tag DOM elements that need to receive API events
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

11 years agoA first stab at the ‘validatebutton’ plugin
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

11 years agofixed bug if a platform is disabled but the user still has accounts on this platform
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

11 years agoMerge branch 'master' of ssh://git.onelab.eu/git/myslice
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

11 years agodeactivated hide/show validation link in topmenu.py
Loic Baron [Fri, 13 Dec 2013 17:36:10 +0000 (18:36 +0100)]
deactivated hide/show validation link in topmenu.py

11 years agoMerge branch 'master' of ssh://git.onelab.eu/git/myslice
Yasin [Fri, 13 Dec 2013 17:19:30 +0000 (18:19 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/myslice

11 years agoAll credentials visible
Yasin [Fri, 13 Dec 2013 17:19:25 +0000 (18:19 +0100)]
All credentials visible

11 years agocomment
Thierry Parmentelat [Fri, 13 Dec 2013 09:47:41 +0000 (10:47 +0100)]
comment

11 years agoanother refinement of the queryupdater - googlemap - queryupdater trio consistency
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

11 years agoMerge branch 'master' of ssh://git.onelab.eu/git/myslice
Thierry Parmentelat [Thu, 12 Dec 2013 21:20:03 +0000 (22:20 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/myslice

11 years agomore fixes to the googlemap - querytable - queryupdater trio
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

11 years agocosmetic
Yasin [Thu, 12 Dec 2013 17:05:25 +0000 (18:05 +0100)]
cosmetic

11 years agoMerge branch 'master' of ssh://git.onelab.eu/git/myslice
Yasin [Thu, 12 Dec 2013 15:25:29 +0000 (16:25 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/myslice

11 years agoFIX: http://trac.myslice.info/ticket/52
Yasin [Thu, 12 Dec 2013 15:25:25 +0000 (16:25 +0100)]
FIX: http://trac.myslice.info/ticket/52

11 years agovarious fixes for querytable and googlemap
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

11 years agoMyAcc: Request to access platform- OK
Yasin [Thu, 12 Dec 2013 09:57:37 +0000 (10:57 +0100)]
MyAcc: Request to access platform- OK

11 years agoMerge branch 'master' of ssh://git.onelab.eu/git/myslice
Yasin [Tue, 10 Dec 2013 17:28:08 +0000 (18:28 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/myslice

11 years agoMyACC: request to other platforms added
Yasin [Tue, 10 Dec 2013 17:28:02 +0000 (18:28 +0100)]
MyACC: request to other platforms added

11 years agoundo an annoying change
Thierry Parmentelat [Tue, 10 Dec 2013 15:50:08 +0000 (16:50 +0100)]
undo an annoying change

11 years agoMerge branch 'master' of ssh://git.onelab.eu/git/myslice
Yasin [Tue, 10 Dec 2013 10:23:42 +0000 (11:23 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/myslice

11 years agoMyAcc: Complete separation btn Principal acc and reference account
Yasin [Tue, 10 Dec 2013 10:23:39 +0000 (11:23 +0100)]
MyAcc: Complete separation btn Principal acc and reference account

11 years agogooglemap and querytable now use 2 keys
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

11 years agoremove global debug flags and use embedded ‘debug’ and ‘debug_deep’ instead
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

11 years agoMerge branch 'master' of ssh://git.onelab.eu/git/myslice
Thierry Parmentelat [Mon, 9 Dec 2013 14:45:16 +0000 (15:45 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/myslice

11 years agoConcept of principal/reference account adeed
Yasin [Mon, 9 Dec 2013 14:06:06 +0000 (15:06 +0100)]
Concept of principal/reference account adeed

11 years agoremove debug msg
Thierry Parmentelat [Mon, 9 Dec 2013 14:00:09 +0000 (15:00 +0100)]
remove debug msg

11 years agoa simple view for testing just querytable
Thierry Parmentelat [Mon, 9 Dec 2013 13:56:01 +0000 (14:56 +0100)]
a simple view for testing just querytable

11 years agoMerge branch 'master' of ssh://git.onelab.eu/git/myslice
Anthony Garcia [Fri, 6 Dec 2013 16:40:27 +0000 (17:40 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/myslice

11 years agorefactor selected nodes
Anthony Garcia [Fri, 6 Dec 2013 16:40:20 +0000 (17:40 +0100)]
refactor selected nodes

11 years agoMerge branch 'master' of ssh://git.onelab.eu/git/myslice
Thierry Parmentelat [Fri, 6 Dec 2013 16:20:30 +0000 (17:20 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/myslice

11 years agoa simple grid view (a slice showed only as a querygrid)
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

11 years agoadd a grid view in the resources area - turned off by default and uses global insert_grid
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

11 years agoMerge branch 'master' of ssh://git.onelab.eu/git/myslice
Loic Baron [Fri, 6 Dec 2013 16:07:18 +0000 (17:07 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/myslice

11 years agoUsing URNs instead of HRNs = this works for the checkboxes in querytable & googlemap...
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

11 years agodisable query editor for good until perf. issues are solved
Thierry Parmentelat [Fri, 6 Dec 2013 15:57:57 +0000 (16:57 +0100)]
disable query editor for good until perf. issues are solved

11 years agoother minor changes from slickgrid
Thierry Parmentelat [Fri, 6 Dec 2013 15:53:07 +0000 (16:53 +0100)]
other minor changes from slickgrid

11 years agobetter handling of exceptions when session expired
Jordan Augé [Fri, 6 Dec 2013 15:42:07 +0000 (16:42 +0100)]
better handling of exceptions when session expired

11 years agoadding querygrid plugin from the slickgrid branch
Thierry Parmentelat [Fri, 6 Dec 2013 15:36:14 +0000 (16:36 +0100)]
adding querygrid plugin from the slickgrid branch

11 years agofirst step for manual merging of 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

11 years agoMerge branch 'master' of ssh://git.onelab.eu/git/myslice
Jordan Augé [Fri, 6 Dec 2013 15:28:59 +0000 (16:28 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/myslice

11 years agoadded sandbox for testing plugins + random record generator
Jordan Augé [Fri, 6 Dec 2013 15:28:43 +0000 (16:28 +0100)]
added sandbox for testing plugins + random record generator

11 years agoAdd explicit cast for nodes coordinates
Anthony Garcia [Fri, 6 Dec 2013 15:02:07 +0000 (16:02 +0100)]
Add explicit cast for nodes coordinates

11 years agoFIX: http://trac.myslice.info/ticket/10
Yasin [Thu, 5 Dec 2013 17:28:01 +0000 (18:28 +0100)]
FIX: http://trac.myslice.info/ticket/10

11 years agoIn topmenu the link to Validation page is only visible to PIs of some authority ...
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

11 years agoMerge branch 'master' of ssh://git.onelab.eu/git/myslice
Loic Baron [Wed, 4 Dec 2013 11:55:02 +0000 (12:55 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/myslice

11 years agoGoogleMap setup bounds in create_marker_struct function and fitBounds when on_all_que...
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

11 years agoadded buffer class to manage batches of asynchronous records
Jordan Augé [Tue, 3 Dec 2013 16:35:47 +0000 (17:35 +0100)]
added buffer class to manage batches of asynchronous records

11 years agoadded draft maddash plugin
Jordan Augé [Tue, 3 Dec 2013 16:35:05 +0000 (17:35 +0100)]
added draft maddash plugin

11 years agoMerge branch 'master' of ssh://git.onelab.eu/git/myslice
Jordan Augé [Tue, 3 Dec 2013 16:27:42 +0000 (17:27 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/myslice

11 years agoadded sandbox application to help new plugin developers experiment with their plugins
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

11 years agoremove duplicate css file (onelab_marko) and group all common stuff in base.html
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

11 years agoglobal flag for turning off leases in sliceview
Thierry Parmentelat [Fri, 29 Nov 2013 10:22:02 +0000 (11:22 +0100)]
global flag for turning off leases in sliceview

11 years agoquerytable plugin’s internal key passed by caller : QueryTable (… id_key=‘hrn’ )
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’ )

11 years agoMerge branch 'master' of ssh://git.onelab.eu/git/myslice
Thierry Parmentelat [Fri, 29 Nov 2013 10:08:22 +0000 (11:08 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/myslice

11 years agofixed merge issue
Jordan Augé [Fri, 29 Nov 2013 09:40:32 +0000 (10:40 +0100)]
fixed merge issue

11 years agoremove trace message
Thierry Parmentelat [Fri, 29 Nov 2013 09:37:30 +0000 (10:37 +0100)]
remove trace message

11 years agoslice view: resources tab order
Jordan Augé [Fri, 29 Nov 2013 09:31:15 +0000 (10:31 +0100)]
slice view: resources tab order

11 years agoMerge branch 'master' into scheduler
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

11 years agoupdated scheduler plugin
Jordan Augé [Fri, 29 Nov 2013 09:27:39 +0000 (10:27 +0100)]
updated scheduler plugin

11 years agothe tabs plugin has a persistent_active feature to enable saving the active tab in...
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

11 years agofixed error in manifold.js + updated scheduler
Jordan Augé [Thu, 28 Nov 2013 17:08:42 +0000 (18:08 +0100)]
fixed error in manifold.js + updated scheduler

11 years agoplugins.scheduler: scheduler almost working
Jordan Augé [Thu, 28 Nov 2013 15:39:12 +0000 (16:39 +0100)]
plugins.scheduler: scheduler almost working

11 years agoMerge branch 'master' of ssh://git.onelab.eu/git/myslice
Yasin [Thu, 28 Nov 2013 15:38:31 +0000 (16:38 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/myslice

11 years agoRegistration: Bugfix. Add user+account in manifold
Yasin [Thu, 28 Nov 2013 15:38:29 +0000 (16:38 +0100)]
Registration: Bugfix. Add user+account in manifold

11 years agougly hack to use hrn instead of urn for now
Thierry Parmentelat [Thu, 28 Nov 2013 14:19:48 +0000 (15:19 +0100)]
ugly hack to use hrn instead of urn for now

11 years agoreplace key_value with just id
Thierry Parmentelat [Thu, 28 Nov 2013 14:19:26 +0000 (15:19 +0100)]
replace key_value with just id

11 years agoMerge branch 'master' of ssh://git.onelab.eu/git/myslice
Thierry Parmentelat [Thu, 28 Nov 2013 10:52:44 +0000 (11:52 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/myslice

11 years agogooglemap resources now displayed as hrn’s again
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

11 years agoMerge branch 'master' of ssh://git.onelab.eu/git/myslice
Yasin [Thu, 28 Nov 2013 10:44:43 +0000 (11:44 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/myslice

11 years agoREG: BUG FIX
Yasin [Thu, 28 Nov 2013 10:44:38 +0000 (11:44 +0100)]
REG: BUG FIX

11 years agocreate a symlink for the wsgi application - this is for the django development server...
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

11 years agobelongs in the repo
Thierry Parmentelat [Wed, 27 Nov 2013 21:26:08 +0000 (22:26 +0100)]
belongs in the repo

11 years agopostinstall script cleans up any sequels from previous packaging
Thierry Parmentelat [Wed, 27 Nov 2013 21:23:26 +0000 (22:23 +0100)]
postinstall script cleans up any sequels from previous packaging

11 years agopackaging tweaks
Thierry Parmentelat [Wed, 27 Nov 2013 21:20:11 +0000 (22:20 +0100)]
packaging tweaks

11 years agorefine packaging one step further
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

11 years agoMerge branch 'master' into scheduler
Jordan Augé [Wed, 27 Nov 2013 08:32:58 +0000 (09:32 +0100)]
Merge branch 'master' into scheduler

11 years ago(wip)
Jordan Augé [Wed, 27 Nov 2013 08:32:35 +0000 (09:32 +0100)]
(wip)

11 years agoredirect apache/wsgi output flow to /var/log/apache2/myslice*
Thierry Parmentelat [Wed, 27 Nov 2013 08:09:45 +0000 (09:09 +0100)]
redirect apache/wsgi output flow to /var/log/apache2/myslice*

11 years agoreminder for some useful variants of the twisted debian packaging tools
Thierry Parmentelat [Wed, 27 Nov 2013 07:23:23 +0000 (08:23 +0100)]
reminder for some useful variants of the twisted debian packaging tools

11 years agooops, settings.py was broken for when running collectstatic at build-time
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

11 years agoMerge branch 'master' of ssh://git.onelab.eu/git/myslice
Yasin [Tue, 26 Nov 2013 17:07:06 +0000 (18:07 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/myslice

11 years agoREG: create local:user+local:account
Yasin [Tue, 26 Nov 2013 17:07:01 +0000 (18:07 +0100)]
REG: create local:user+local:account

11 years agoEnabling senslabmap in sliceview and add a message when there are no nodes to display.
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.

11 years agoadd tabs for maps
Anthony Garcia [Tue, 26 Nov 2013 16:07:15 +0000 (17:07 +0100)]
add tabs for maps

11 years agoMerge branch 'master' of ssh://git.onelab.eu/git/myslice
Anthony Garcia [Tue, 26 Nov 2013 16:06:39 +0000 (17:06 +0100)]
Merge branch 'master' of ssh://git.onelab.eu/git/myslice

11 years agoAdd target for canvas css rules + rename map.css -> senslabmap.css
Anthony Garcia [Tue, 26 Nov 2013 16:06:33 +0000 (17:06 +0100)]
Add target for canvas css rules + rename map.css -> senslabmap.css

11 years agoprovide a config option to specify a googlemap API key if needed
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

11 years agoturn off senslabmap temporarily
Thierry Parmentelat [Tue, 26 Nov 2013 15:57:02 +0000 (16:57 +0100)]
turn off senslabmap temporarily

11 years agotear down old offline mode that is not really helpful anymore and probably broken...
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

11 years agosecond pass on packaging; works better but offline mode is still in the way
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

11 years agoUser data goes to manifold local:user
Yasin [Tue, 26 Nov 2013 15:12:19 +0000 (16:12 +0100)]
User data goes to manifold local:user