[ARVADOS] updated: 960f0d26421023473d7b3ca26d5f8be7f9ec0b61

git at public.curoverse.com git at public.curoverse.com
Thu Dec 4 13:35:17 EST 2014


Summary of changes:
 .../app/assets/javascripts/selection.js.erb        | 18 ----------
 apps/workbench/app/helpers/application_helper.rb   | 27 ++------------
 apps/workbench/app/helpers/version_helper.rb       | 29 +++++++++++++++
 .../views/application/_report_issue_popup.html.erb | 14 ++++----
 apps/workbench/config/application.default.yml      |  2 +-
 .../test/integration/report_issue_test.rb          |  4 +++
 services/api/Gemfile                               |  2 +-
 services/api/Gemfile.lock                          | 18 +++++-----
 .../api/app/controllers/database_controller.rb     | 42 +++++++++++++---------
 services/api/config/application.default.yml        |  2 +-
 10 files changed, 79 insertions(+), 79 deletions(-)
 create mode 100644 apps/workbench/app/helpers/version_helper.rb

       via  960f0d26421023473d7b3ca26d5f8be7f9ec0b61 (commit)
       via  fd658b2312b45a6010fe285d4d8adf364faa97b4 (commit)
       via  86f994bb5d039e62bfc4383ed9f510b77b71ecad (commit)
       via  580a1125790f020773f4b88d0eeea37bb71e570a (commit)
       via  b0001b6d784024885d8b90277e4a9b5a2955a9b4 (commit)
       via  b629c24e4dc15257ae8d70f63d037c12668a491a (commit)
       via  1f48e58568dc961fd1e606c1d9bc250de8c010f7 (commit)
       via  9ea14a3e491b80ade4c7faadda723d9ccc1dd535 (commit)
       via  543d39eadf7ac0157cc79ecf8c09d3a61dd5c4fe (commit)
       via  34d7bf56de6e43ff7f787e112ee88ffbc3056880 (commit)
       via  3374f67bfe90aeae87389ca323a3bfac123ac7ea (commit)
      from  78960aaf35ce8270fb2243be35a6d0ed11e2f9f5 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 960f0d26421023473d7b3ca26d5f8be7f9ec0b61
Author: radhika <radhika at radhika>
Date:   Thu Dec 4 13:12:23 2014 -0500

    4525: remove add_form_selection_sources (one more time) and all references.

diff --git a/apps/workbench/app/assets/javascripts/selection.js.erb b/apps/workbench/app/assets/javascripts/selection.js.erb
index d1e3452..0032ebd 100644
--- a/apps/workbench/app/assets/javascripts/selection.js.erb
+++ b/apps/workbench/app/assets/javascripts/selection.js.erb
@@ -2,7 +2,6 @@
 //= require jquery_ujs
 
 /** Javascript for selection. */
-form_selection_sources = {};
 
 jQuery(function($){
     $(document).
@@ -15,23 +14,6 @@ jQuery(function($){
     });
 });
 
-add_form_selection_sources = null;
-
-(function() {
-    var form_selection_sources = {};
-    add_form_selection_sources = function (src) {
-        for (var i = 0; i < src.length; i++) {
-            var t = form_selection_sources[src[i].type];
-            if (!t) {
-                t = form_selection_sources[src[i].type] = {};
-            }
-            if (!t[src[i].uuid]) {
-                t[src[i].uuid] = src[i];
-            }
-        }
-    };
-})();
-
 function dispatch_selection_action() {
     // Build a new "href" attribute for this link by starting with the
     // "data-href" attribute and appending ?foo[]=bar&foo[]=baz (or
diff --git a/apps/workbench/app/helpers/application_helper.rb b/apps/workbench/app/helpers/application_helper.rb
index 3345fe2..3c70b66 100644
--- a/apps/workbench/app/helpers/application_helper.rb
+++ b/apps/workbench/app/helpers/application_helper.rb
@@ -365,31 +365,6 @@ module ApplicationHelper
         end
       end
     end
-
-    lt = link_to attrtext, '#', {
-      "data-emptytext" => "none",
-      "data-placement" => "bottom",
-      "data-type" => datatype,
-      "data-url" => url_for(action: "update", id: object.uuid, controller: object.class.to_s.pluralize.underscore, merge: true),
-      "data-title" => "Set value for #{subattr[-1].to_s}",
-      "data-name" => dn,
-      "data-pk" => "{id: \"#{object.uuid}\", key: \"#{object.class.to_s.underscore}\"}",
-      "data-value" => attrvalue,
-      # "clear" button interferes with form-control's up/down arrows
-      "data-clear" => false,
-      :class => "editable #{'required' if required} form-control",
-      :id => id
-    }.merge(htmloptions)
-
-    lt += raw("\n<script>")
-
-    if selectables.any?
-      lt += raw("add_form_selection_sources(#{selectables.to_json});\n")
-    end
-
-    lt += raw("</script>")
-
-    lt
   end
 
   def render_arvados_object_list_start(list, button_text, button_href,

commit fd658b2312b45a6010fe285d4d8adf364faa97b4
Merge: 78960aa 86f994b
Author: radhika <radhika at radhika>
Date:   Thu Dec 4 12:25:51 2014 -0500

    Merge branch 'master' into 4525-remove-stale-clippy-code


-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list