TVB-1544 Use os detection functions from TvbProfile

git-svn-id: https://repo.thevirtualbrain.org/svn/tvb/trunk/framework_tvb@6530 1c0e02f0-7929-43c0-8fb3-3293bf43b0d1
TVB-1544 Allow app.py to be imported. Clean up.

git-svn-id: https://repo.thevirtualbrain.org/svn/tvb/trunk/framework_tvb@6531 1c0e02f0-7929-43c0-8fb3-3293bf43b0d1
TVB-1544  Renamed console profile to command profile

git-svn-id: https://repo.thevirtualbrain.org/svn/tvb/trunk/framework_tvb@6533 1c0e02f0-7929-43c0-8fb3-3293bf43b0d1
TVB-1544  tvb auto restart fix

git-svn-id: https://repo.thevirtualbrain.org/svn/tvb/trunk/framework_tvb@6536 1c0e02f0-7929-43c0-8fb3-3293bf43b0d1
TVB-1574
Remove usages of platform=='darwin' and replace them with TvbProfile.is_mac().

git-svn-id: https://repo.thevirtualbrain.org/svn/tvb/trunk/framework_tvb@6538 1c0e02f0-7929-43c0-8fb3-3293bf43b0d1
TVB-1566
Update Jquery to the latest version.

git-svn-id: https://repo.thevirtualbrain.org/svn/tvb/trunk/framework_tvb@6542 1c0e02f0-7929-43c0-8fb3-3293bf43b0d1
TVB-1566
Update version of FLOT and D3.
Move jquery.ba-throttle-debouce.js in the proper resources folder.


git-svn-id: https://repo.thevirtualbrain.org/svn/tvb/trunk/framework_tvb@6544 1c0e02f0-7929-43c0-8fb3-3293bf43b0d1
TVB-1091
Add some new BCT-Centrality algorithms into TVB.

git-svn-id: https://repo.thevirtualbrain.org/svn/tvb/trunk/framework_tvb@6547 1c0e02f0-7929-43c0-8fb3-3293bf43b0d1
TVB-1091: Fix test after recent addition of new BCT algorithms in our API.

Remove old imports of unittest2 (valid < python 2.7)

git-svn-id: https://repo.thevirtualbrain.org/svn/tvb/trunk/framework_tvb@6549 1c0e02f0-7929-43c0-8fb3-3293bf43b0d1
Small code refactor in app.py and profile.html

git-svn-id: https://repo.thevirtualbrain.org/svn/tvb/trunk/framework_tvb@6559 1c0e02f0-7929-43c0-8fb3-3293bf43b0d1
TVB-1576 Fixed erroneous warning

git-svn-id: https://repo.thevirtualbrain.org/svn/tvb/trunk/framework_tvb@6563 1c0e02f0-7929-43c0-8fb3-3293bf43b0d1
TVB-1577 updated user guide for large scale connectivity viewers. In 2d views changed color of nodes under threshold to green.

git-svn-id: https://repo.thevirtualbrain.org/svn/tvb/trunk/framework_tvb@6566 1c0e02f0-7929-43c0-8fb3-3293bf43b0d1
TVB-1266
Add flag "removed" on algorithms. We want to keep them in DB for now, as they are used to document Operations, so removing would impose issues on FKs.

git-svn-id: https://repo.thevirtualbrain.org/svn/tvb/trunk/framework_tvb@6567 1c0e02f0-7929-43c0-8fb3-3293bf43b0d1
TVB-1127 Added more logging when deleting. Simplified exception logging while looking for swallowed exceptions

git-svn-id: https://repo.thevirtualbrain.org/svn/tvb/trunk/framework_tvb@6568 1c0e02f0-7929-43c0-8fb3-3293bf43b0d1
TVB-1526
When starting a new tvb operation compare required operation memory with te average between total memory and free memory.
We were super-safe before and considered only the free memory, but some OSes are lazy in releasing resources.

git-svn-id: https://repo.thevirtualbrain.org/svn/tvb/trunk/framework_tvb@6569 1c0e02f0-7929-43c0-8fb3-3293bf43b0d1
TVB-1127 Use debug level for logging deletes

git-svn-id: https://repo.thevirtualbrain.org/svn/tvb/trunk/framework_tvb@6570 1c0e02f0-7929-43c0-8fb3-3293bf43b0d1
TVB-1436 Add valid for simulation flag to surfaces

git-svn-id: https://repo.thevirtualbrain.org/svn/tvb/trunk/framework_tvb@6573 1c0e02f0-7929-43c0-8fb3-3293bf43b0d1
TVB-1147
Review service and dao for retrieving data on Project - Data Structure page.
Improve the way Burst and Group summary (number of ops, disk-size) are computed.
Remove some methods which are useless.

git-svn-id: https://repo.thevirtualbrain.org/svn/tvb/trunk/framework_tvb@6575 1c0e02f0-7929-43c0-8fb3-3293bf43b0d1
TVB-1147
Fix broken tests.

git-svn-id: https://repo.thevirtualbrain.org/svn/tvb/trunk/framework_tvb@6576 1c0e02f0-7929-43c0-8fb3-3293bf43b0d1
TVB-1580
Fix problems when creating links for a group. 
Remove confusion and mix of op_group_id with dt_ids in link references.

git-svn-id: https://repo.thevirtualbrain.org/svn/tvb/trunk/framework_tvb@6577 1c0e02f0-7929-43c0-8fb3-3293bf43b0d1