2 new commits in galaxy-central:
https://bitbucket.org/galaxy/galaxy-central/commits/cbd0a239259b/
Changeset: cbd0a239259b
Branch: next-stable
User: davebgx
Date: 2014-05-23 16:00:33
Summary: Fix server error when registering a new account.
Affected #: 1 file
diff -r 2b0cdcea282b2ea92b649df9a5d63f40b2bd545f -r cbd0a239259b694afadfc62bdde820eef0c30b4f lib/galaxy/webapps/galaxy/controllers/user.py
--- a/lib/galaxy/webapps/galaxy/controllers/user.py
+++ b/lib/galaxy/webapps/galaxy/controllers/user.py
@@ -1144,9 +1144,9 @@
return "A public user name is required in the tool shed."
if username in [ 'repos' ]:
return "The term <b>%s</b> is a reserved word in the tool shed, so it cannot be used as a public user name." % username
- message = "\n".join(validate_email( trans, email ),
- validate_password( trans, password, confirm ),
- validate_publicname( trans, username ))
+ message = "\n".join( [ validate_email( trans, email ),
+ validate_password( trans, password, confirm ),
+ validate_publicname( trans, username ) ] ).rstrip()
if not message:
if trans.webapp.name == 'galaxy':
if self.get_all_forms( trans,
https://bitbucket.org/galaxy/galaxy-central/commits/89bdb65761f6/
Changeset: 89bdb65761f6
User: davebgx
Date: 2014-05-23 16:01:07
Summary: Merge with next-stable.
Affected #: 1 file
diff -r af76f0273d3de8ccc38f78dfb0aae9974574aa7b -r 89bdb65761f631921d3a21cfd2335103715de5bb lib/galaxy/webapps/galaxy/controllers/user.py
--- a/lib/galaxy/webapps/galaxy/controllers/user.py
+++ b/lib/galaxy/webapps/galaxy/controllers/user.py
@@ -1144,9 +1144,9 @@
return "A public user name is required in the tool shed."
if username in [ 'repos' ]:
return "The term <b>%s</b> is a reserved word in the tool shed, so it cannot be used as a public user name." % username
- message = "\n".join(validate_email( trans, email ),
- validate_password( trans, password, confirm ),
- validate_publicname( trans, username ))
+ message = "\n".join( [ validate_email( trans, email ),
+ validate_password( trans, password, confirm ),
+ validate_publicname( trans, username ) ] ).rstrip()
if not message:
if trans.webapp.name == 'galaxy':
if self.get_all_forms( trans,
Repository URL: https://bitbucket.org/galaxy/galaxy-central/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
1 new commit in galaxy-central:
https://bitbucket.org/galaxy/galaxy-central/commits/47810c6ec62c/
Changeset: 47810c6ec62c
User: guerler
Date: 2014-05-22 23:16:52
Summary: Charts: Allow chart groups to have different number of rows
Affected #: 1 file
diff -r e959799971fc33d0490973c6b28673049d8ece61 -r 47810c6ec62c258423ea4527cf3214326a9b417b config/plugins/visualizations/charts/static/library/datasets.js
--- a/config/plugins/visualizations/charts/static/library/datasets.js
+++ b/config/plugins/visualizations/charts/static/library/datasets.js
@@ -142,16 +142,25 @@
// log
console.debug('Datasets::_fill_from_cache() - Filling request from cache.');
- // get dataset
- var dataset = this.list[request_dictionary.id];
- if (!dataset) {
- console.debug('FAILED - Datasets::_fill_from_cache() - Dataset not found.');
+ // identify start of request
+ var start = request_dictionary.start;
+
+ // identify end of request
+ var limit = 0;
+ for (var i in request_dictionary.groups) {
+ var group = request_dictionary.groups[i];
+ for (var key in group.columns) {
+ var column = group.columns[key];
+ var block_id = this._block_id(request_dictionary, column.index);
+ var column_data = this.cache[block_id];
+ if (column_data) {
+ limit = Math.max(limit, column_data.length);
+ }
+ }
}
- // identify start/end of request
- var start = request_dictionary.start;
- var end = Math.min(request_dictionary.end, dataset.metadata_data_lines);
- if (end - start <= 0) {
+ // check length
+ if (limit == 0) {
console.debug('FAILED - Datasets::_fill_from_cache() - Invalid range.');
}
@@ -164,7 +173,7 @@
group.values = [];
// add values
- for (var j = 0; j < end - start; j++) {
+ for (var j = 0; j < limit; j++) {
// add default x values
group.values[j] = {
x : parseInt(j) + start
@@ -184,7 +193,7 @@
// check if auto block is requested
if (column.index == 'auto') {
- for (var j = start; j < end; j++) {
+ for (var j = 0; j < limit; j++) {
// get value dictionary
var value = group.values[j];
@@ -197,7 +206,7 @@
var column_data = this.cache[block_id];
// go through column
- for (var j = start; j < end; j++) {
+ for (var j = 0; j < limit; j++) {
// get value dictionary
var value = group.values[j];
Repository URL: https://bitbucket.org/galaxy/galaxy-central/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
1 new commit in galaxy-central:
https://bitbucket.org/galaxy/galaxy-central/commits/581e7c8e353e/
Changeset: 581e7c8e353e
User: greg
Date: 2014-05-22 14:44:18
Summary: Add missing import to the Tool Shed's repository grids utility component.
Affected #: 1 file
diff -r b38587cb8937d678f2edcd17659fc3ce1724794d -r 581e7c8e353e9348db75d269446651e7122f10ce lib/tool_shed/grids/util.py
--- a/lib/tool_shed/grids/util.py
+++ b/lib/tool_shed/grids/util.py
@@ -5,6 +5,7 @@
from galaxy.web.form_builder import SelectField
from tool_shed.util import hg_util
+from tool_shed.util import shed_util_common as suc
log = logging.getLogger( __name__ )
Repository URL: https://bitbucket.org/galaxy/galaxy-central/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.