[ARVADOS] updated: 34173202861e94dee58ccd5b189983918813d870

git at public.curoverse.com git at public.curoverse.com
Tue Aug 26 20:25:51 EDT 2014


Summary of changes:
 .../app/assets/javascripts/application.js          |   4 +-
 .../workbench/app/assets/javascripts/filterable.js |  43 +-
 .../app/assets/javascripts/infinite_scroll.js      |  70 ++-
 .../app/assets/javascripts/permission_toggle.js    |  55 ++
 .../app/assets/javascripts/pipeline_instances.js   |  33 +-
 .../app/assets/javascripts/report_issue.js         |  30 +
 .../app/assets/javascripts/select_modal.js         |  10 +-
 apps/workbench/app/assets/javascripts/tab_panes.js |   1 +
 .../app/assets/javascripts/user_agreements.js      |  16 +-
 .../app/assets/stylesheets/application.css.scss    |   6 +-
 .../workbench/app/assets/stylesheets/jobs.css.scss |   2 +-
 .../assets/stylesheets/pipeline_instances.css.scss |  20 +
 .../app/assets/stylesheets/select_modal.css.scss   |   4 +
 .../app/controllers/actions_controller.rb          |  65 ++-
 .../app/controllers/application_controller.rb      |   7 +-
 .../app/controllers/collections_controller.rb      |  25 +-
 .../controllers/pipeline_instances_controller.rb   |   4 +-
 .../app/controllers/projects_controller.rb         |   6 +-
 .../app/controllers/user_agreements_controller.rb  |   6 +
 apps/workbench/app/helpers/application_helper.rb   |  23 +-
 apps/workbench/app/helpers/jobs_helper.rb          |  19 +
 .../app/helpers/pipeline_instances_helper.rb       |  35 +-
 apps/workbench/app/mailers/issue_reporter.rb       |  12 +
 apps/workbench/app/models/arvados_base.rb          |   2 +-
 apps/workbench/app/models/collection.rb            |  30 +-
 apps/workbench/app/models/group.rb                 |   6 -
 apps/workbench/app/models/pipeline_instance.rb     |   6 +-
 apps/workbench/app/views/application/404.html.erb  |   4 +
 .../views/application/_arvados_attr_value.html.erb |   6 +-
 .../application/_arvados_object_attr.html.erb      |   2 +-
 .../app/views/application/_choose.html.erb         |  23 +-
 .../app/views/application/_content.html.erb        |   2 +-
 .../app/views/application/_report_error.html.erb   |  21 +
 .../views/application/_report_issue_popup.html.erb | 147 +++++
 .../app/views/application/_show_recent.html.erb    |  14 +-
 .../app/views/application/api_error.html.erb       |   2 +
 .../views/application/report_issue_popup.js.erb    |   2 +
 apps/workbench/app/views/application/show.html.erb |   4 +-
 .../app/views/collections/_choose_rows.html.erb    |  25 +
 .../app/views/collections/_index_tbody.html.erb    |   4 -
 .../app/views/collections/_show_files.html.erb     |   4 +-
 .../app/views/collections/_show_recent.html.erb    |  10 +-
 .../app/views/collections/_toggle_persist.html.erb |   3 -
 apps/workbench/app/views/collections/show.html.erb |  34 +-
 .../app/views/issue_reporter/send_report.text.erb  |  12 +
 apps/workbench/app/views/jobs/_show_log.html.erb   |  25 +-
 apps/workbench/app/views/layouts/body.html.erb     | 192 ++++---
 apps/workbench/app/views/links/_recent.html.erb    |  57 --
 .../pipeline_instances/_show_compare.html.erb      |  17 +-
 .../pipeline_instances/_show_components.html.erb   |  16 +-
 .../_show_components_running.html.erb              |  63 +--
 .../views/pipeline_instances/_show_graph.html.erb  |  11 -
 .../views/pipeline_instances/_show_log.html.erb    |   6 +
 apps/workbench/app/views/projects/_choose.html.erb |  10 +-
 .../app/views/projects/_index_projects.html.erb    |   4 +-
 .../app/views/projects/_show_sharing.html.erb      |   2 +-
 .../app/views/projects/_show_tab_contents.html.erb |   5 +-
 apps/workbench/app/views/projects/show.html.erb    |   3 +-
 .../app/views/user_agreements/index.html.erb       |  14 +-
 .../workbench/app/views/users/_show_admin.html.erb | 115 +++-
 apps/workbench/config/application.default.yml      |  10 +
 apps/workbench/config/routes.rb                    |   2 +
 .../test/functional/actions_controller_test.rb     |  19 +
 .../test/functional/collections_controller_test.rb |   4 +-
 .../functional/user_agreements_controller_test.rb  |  12 +
 .../test/integration/application_layout_test.rb    | 274 ++-------
 .../workbench/test/integration/collections_test.rb |  40 +-
 apps/workbench/test/integration/errors_test.rb     |  55 ++
 apps/workbench/test/integration/logins_test.rb     |   4 +
 .../test/integration/pipeline_instances_test.rb    |  10 +-
 apps/workbench/test/integration/projects_test.rb   |   6 +-
 .../test/integration/report_issue_test.rb          |  96 ++++
 apps/workbench/test/integration/search_box_test.rb | 103 ++++
 .../test/integration/user_agreements_test.rb       |  29 +
 .../test/integration/user_manage_account_test.rb   |  76 +++
 .../test/integration/user_profile_test.rb          | 148 +++++
 .../test/unit/arvados_resource_list_test.rb        |  17 +-
 apps/workbench/test/unit/group_test.rb             |  11 +-
 crunch_scripts/crunchutil/robust_put.py            |   1 +
 doc/api/methods.html.textile.liquid                |   4 +-
 doc/api/permission-model.html.textile.liquid       |   4 +-
 doc/images/workbench-move-selected.png             | Bin 0 -> 11267 bytes
 .../create-standard-objects.html.textile.liquid    |  25 +-
 doc/install/install-api-server.html.textile.liquid |   8 +-
 .../getting_started/workbench.html.textile.liquid  |   2 +-
 doc/user/reference/api-tokens.html.textile.liquid  |   8 +-
 ...nning-pipeline-command-line.html.textile.liquid |   2 +-
 doc/user/topics/tutorial-job1.html.textile.liquid  |   4 +-
 .../tutorial-firstscript.html.textile.liquid       |   2 +-
 .../tutorials/tutorial-keep.html.textile.liquid    |   8 +-
 ...tutorial-pipeline-workbench.html.textile.liquid |  28 +-
 sdk/cli/bin/crunch-job                             |  36 +-
 sdk/python/arvados/api.py                          |   6 +-
 sdk/python/arvados/collection.py                   |  45 +-
 sdk/python/arvados/commands/keepdocker.py          |   1 -
 sdk/python/arvados/commands/put.py                 |  33 +-
 sdk/python/arvados/config.py                       |   3 +
 sdk/python/arvados/errors.py                       |   6 +-
 sdk/python/arvados/events.py                       |   1 -
 sdk/python/arvados/keep.py                         | 620 +++++++++++++--------
 sdk/python/arvados/retry.py                        | 140 +++++
 sdk/python/arvados/stream.py                       |   7 +-
 sdk/python/arvados/util.py                         |   5 +-
 sdk/python/bin/arv-get                             |   7 +-
 sdk/python/setup.py                                |   2 +-
 sdk/python/tests/arvados_testutil.py               |  21 +-
 sdk/python/tests/run_test_server.py                | 102 +++-
 sdk/python/tests/test_api.py                       |  15 +-
 sdk/python/tests/test_arv_put.py                   | 104 ++--
 sdk/python/tests/test_collections.py               |  99 ++--
 sdk/python/tests/test_keep_client.py               | 333 ++++++-----
 sdk/python/tests/test_keep_locator.py              |  32 +-
 sdk/python/tests/test_retry.py                     | 198 +++++++
 sdk/python/tests/test_websockets.py                |   8 +-
 services/api/Gemfile                               |   1 +
 services/api/Gemfile.lock                          |  12 +-
 .../api/app/controllers/application_controller.rb  |  52 +-
 .../arvados/v1/collections_controller.rb           | 311 ++++-------
 .../controllers/arvados/v1/groups_controller.rb    |  12 +-
 .../app/controllers/arvados/v1/jobs_controller.rb  |   8 +-
 .../controllers/arvados/v1/schema_controller.rb    |   1 +
 .../app/controllers/arvados/v1/users_controller.rb |  19 +-
 .../app/controllers/user_sessions_controller.rb    |   3 +
 services/api/app/mailers/admin_notifier.rb         |   8 +-
 services/api/app/models/arvados_model.rb           | 171 +++---
 services/api/app/models/collection.rb              | 169 ++++--
 services/api/app/models/commit.rb                  |  15 +-
 services/api/app/models/group.rb                   |   9 +
 services/api/app/models/job.rb                     |   2 +-
 services/api/app/models/link.rb                    |  32 +-
 services/api/app/models/locator.rb                 |  15 +-
 services/api/app/models/user.rb                    |  51 +-
 .../api/app/views/admin_notifier/new_user.text.erb |   9 +-
 .../views/api_client_authorizations/index.html.erb |  36 --
 services/api/app/views/collections/index.html.erb  |  47 --
 services/api/app/views/nodes/index.html.erb        |  66 ---
 .../app/views/pipeline_instances/index.html.erb    |  63 ---
 services/api/config/application.default.yml        |  17 +
 .../20140811184643_collection_use_regular_uuids.rb | 180 ++++++
 .../20140817035914_add_unique_name_constraints.rb  |  30 +
 ...125735_add_not_null_constraint_to_group_name.rb |   6 +
 services/api/db/structure.sql                      |  62 ++-
 services/api/lib/current_api_client.rb             |  24 +-
 services/api/lib/eventbus.rb                       |   4 +-
 services/api/lib/has_uuid.rb                       |  38 +-
 services/api/lib/record_filters.rb                 | 143 ++---
 services/api/script/crunch-dispatch.rb             |  27 +-
 services/api/test/factories/api_client.rb          |  10 +
 .../api/test/factories/api_client_authorization.rb |  19 +
 services/api/test/factories/group.rb               |   4 +
 services/api/test/factories/link.rb                |   7 +
 services/api/test/factories/user.rb                |  44 ++
 services/api/test/fixtures/collections.yml         |  87 ++-
 services/api/test/fixtures/groups.yml              |  25 +-
 services/api/test/fixtures/links.yml               | 215 +++----
 services/api/test/fixtures/logs.yml                |   4 +-
 services/api/test/fixtures/repositories.yml        |   5 +
 services/api/test/fixtures/specimens.yml           |  12 -
 services/api/test/fixtures/traits.yml              |   5 +
 .../arvados/v1/collections_controller_test.rb      |  95 ++--
 .../arvados/v1/groups_controller_test.rb           | 191 +++----
 .../functional/arvados/v1/links_controller_test.rb |  38 +-
 .../functional/arvados/v1/users_controller_test.rb | 104 ++--
 .../api/test/integration/collections_api_test.rb   |  53 +-
 services/api/test/integration/select_test.rb       |   3 +-
 .../api/test/integration/user_sessions_test.rb     |  86 ++-
 services/api/test/test_helper.rb                   |  18 +-
 services/api/test/unit/arvados_model_test.rb       |  19 +-
 services/api/test/unit/group_test.rb               |  13 +-
 services/api/test/unit/job_test.rb                 |  18 +-
 services/api/test/unit/link_test.rb                |  46 +-
 services/api/test/unit/owner_test.rb               |  16 +-
 services/api/test/unit/permission_test.rb          | 192 +++++++
 services/api/test/unit/user_test.rb                | 223 +++++++-
 services/fuse/arvados_fuse/__init__.py             |   2 +-
 services/fuse/tests/test_mount.py                  | 268 ++++-----
 services/keepstore/handler_test.go                 |  28 +
 services/keepstore/handlers.go                     |  46 +-
 services/keepstore/keepstore_test.go               |  62 ++-
 services/keepstore/volume.go                       |  52 +-
 services/keepstore/volume_unix.go                  |  57 +-
 services/keepstore/volume_unix_test.go             |  39 ++
 182 files changed, 5283 insertions(+), 2701 deletions(-)
 create mode 100644 apps/workbench/app/assets/javascripts/permission_toggle.js
 create mode 100644 apps/workbench/app/assets/javascripts/report_issue.js
 create mode 100644 apps/workbench/app/mailers/issue_reporter.rb
 create mode 100644 apps/workbench/app/views/application/_report_error.html.erb
 create mode 100644 apps/workbench/app/views/application/_report_issue_popup.html.erb
 create mode 100644 apps/workbench/app/views/application/report_issue_popup.js.erb
 delete mode 100644 apps/workbench/app/views/collections/_toggle_persist.html.erb
 create mode 100644 apps/workbench/app/views/issue_reporter/send_report.text.erb
 delete mode 100644 apps/workbench/app/views/links/_recent.html.erb
 create mode 100644 apps/workbench/app/views/pipeline_instances/_show_log.html.erb
 create mode 100644 apps/workbench/test/functional/actions_controller_test.rb
 create mode 100644 apps/workbench/test/integration/report_issue_test.rb
 create mode 100644 apps/workbench/test/integration/search_box_test.rb
 create mode 100644 apps/workbench/test/integration/user_agreements_test.rb
 create mode 100644 apps/workbench/test/integration/user_manage_account_test.rb
 create mode 100644 apps/workbench/test/integration/user_profile_test.rb
 create mode 100644 doc/images/workbench-move-selected.png
 create mode 100644 sdk/python/arvados/retry.py
 create mode 100644 sdk/python/tests/test_retry.py
 delete mode 100644 services/api/app/views/api_client_authorizations/index.html.erb
 delete mode 100644 services/api/app/views/collections/index.html.erb
 delete mode 100644 services/api/app/views/nodes/index.html.erb
 delete mode 100644 services/api/app/views/pipeline_instances/index.html.erb
 create mode 100644 services/api/db/migrate/20140811184643_collection_use_regular_uuids.rb
 create mode 100644 services/api/db/migrate/20140817035914_add_unique_name_constraints.rb
 create mode 100644 services/api/db/migrate/20140818125735_add_not_null_constraint_to_group_name.rb
 create mode 100644 services/api/test/factories/api_client.rb
 create mode 100644 services/api/test/factories/api_client_authorization.rb
 create mode 100644 services/api/test/factories/group.rb
 create mode 100644 services/api/test/factories/link.rb
 create mode 100644 services/api/test/factories/user.rb
 create mode 100644 services/api/test/fixtures/traits.yml

       via  34173202861e94dee58ccd5b189983918813d870 (commit)
       via  ff742a82d66bf6b4915d820ec401056323793819 (commit)
       via  02cbe072fd22be8528c1fe8bc404faa2de7b9dec (commit)
       via  a5819ec1e48fba90658fcf676ffc50c1f216d484 (commit)
       via  a942e37250873d383bd885ba0dba70c63b3c073d (commit)
       via  b15e80cdfa29e4bd39f207c8e1d5970373d0d7a1 (commit)
       via  71109ef95e4d4a1bb98f8e0598fe3cfd4d9b1919 (commit)
       via  6e39e6e9ce10895a5405c90a0b61290ab507d16d (commit)
       via  006e0adfe8e05084d47d7871a69e9d234f429564 (commit)
       via  9cc77c22d33ced67d04148493616320e7665a8c4 (commit)
       via  02d48a84b0302ce5f46e3aba35ceb92ed37d9972 (commit)
       via  5a80356ddc3798f6530e306901d7ea5e19cfe3f9 (commit)
       via  bd1f0b637be6c97374b31ed5c442ff88d25e626e (commit)
       via  183bdcd6c6b2c54f8f2558fbdb6bec974c1d16e4 (commit)
       via  bb564d631cf4d6a165f4cca218919a1e1398437a (commit)
       via  740137a2d5a73bb6e6e3dc21a8e183a285fc8e24 (commit)
       via  4d14e7022ec51cc22ab6be278a0dc779457a8165 (commit)
       via  4fe1bc8c8a5fec31dd49d686973cc8bb6eb30144 (commit)
       via  59e5d36f4f19bd38df41e8fa13fda35330a680ac (commit)
       via  03002e6ce2ac4f784f28c0d1b0414f574645b4b8 (commit)
       via  df8e6b95f5eec12a73da2a9d756d3c570bc3dabe (commit)
       via  416d88101ba0f218952e092da1873026c6f77271 (commit)
       via  536713e6a7c16e7a54eef1c310f15c708cb1f2be (commit)
       via  a17b176ea55dc3820ef1bde4b99cf33c628ffbbe (commit)
       via  b56386aab9f0cddde9727d4e76fb28aae8b442c7 (commit)
       via  728ee9775de422840b81827c71c7b515708620a3 (commit)
       via  aa1d003d5ab199498da50c231be3c9219546a692 (commit)
       via  5a043a14a8d321adeb1fc14c9cd6f479f8ea8216 (commit)
       via  dccec0cc48025830ac68cbb4a80f5ae73ace3fa7 (commit)
       via  7f5a0cafa4cc3d3155830243ab9df204b3b48a03 (commit)
       via  adbeb30cc27fa56a4550e28e1fd5e8ec4a1c7836 (commit)
       via  440d863f1643587d37bd21548410f13b655ac021 (commit)
       via  c1b0e1bd832d3c2c96e60334b96f3b6989ecd1b6 (commit)
       via  8cba6b1dd7307bb47c36a51c7aea8bfa78e76c8d (commit)
       via  58b6e6889cf9f9b108fe4a6ba7a100713bedbab9 (commit)
       via  d5835c0402a581b1b4379c71f711a6fdf86fdab5 (commit)
       via  e21b910a307440a9d34e595673539a6e7d708e55 (commit)
       via  f12350f25275fbf4c6c8692122f5eacce89794ee (commit)
       via  d1d0fd3c4e60298ce3cf6a718820a8f49abf1ded (commit)
       via  61cd57499905e8e8cca07c774d1bf8c6bfa069a7 (commit)
       via  41a6554ca2281983645cf606ba6291cc2332dced (commit)
       via  f1886a6d0c1dadd06ec751f25c5c1e9469825e1a (commit)
       via  79577fec16a8f43c0d00ce693e06fcd3770bf2bf (commit)
       via  7e891a82816a2eadea59b0233b8d93efed85b5c4 (commit)
       via  70e7bc032c4d4e394ad1a7b47984b0be38a5ed20 (commit)
       via  37d93ae5b99f202b38c50e037a0ee8e600d97f05 (commit)
       via  376149e7c64e8a37a957f3a15befaad6c68464df (commit)
       via  82a77663f02cc52042feeebebe6a7a254d44e385 (commit)
       via  3c12b6126b87af781058b159332446ee458635af (commit)
       via  ea4e4e5e0b85d6cd974f677edb886cd4ed244513 (commit)
       via  1da134abb8984d85db86ec4be8755aa49f3bfc47 (commit)
       via  80f6898bdc0006b95a398d2a8fe0dc8e99c87fb0 (commit)
       via  eba617baa5f8f180f9a55777beeb228849b36a9e (commit)
       via  a8247beb28bc2105975e7980dbb43387d2c2473a (commit)
       via  015be61473c9ed23174834166961d7f76b21fd91 (commit)
       via  8d9ccb409bd1a301eea9cbb3a3911797ff7c286a (commit)
       via  f09b538f62240646f7715543f66ecf521241fd78 (commit)
       via  e4382e25d68a70a107baeb257e1915972759334c (commit)
       via  6f86d6365b4505601370b9587d5e082e17a657c3 (commit)
       via  5596c93b7938d6c6758a93a0e33cf4a5c185c445 (commit)
       via  437725d13f8775b29ad3e279a07b0bd4b7f8d098 (commit)
       via  3c54f04e5509dc041f526c70f1a396617cfc8644 (commit)
       via  ebf9531292a9e759cfaff8ab7262e5952850dd1b (commit)
       via  4194cec38fc49e57e17461bb8aeb71ac3ab2f8d0 (commit)
       via  e274983c4fe568dde7c04e1344edeee1951c10a2 (commit)
       via  9115746fba4af52c98f97d76531e2c6ed6f7df1b (commit)
       via  f3b66f2d893aca532618de155f62dbe9b066c033 (commit)
       via  29b8c0c6866f9df583984460e31d8dc4b97b44db (commit)
       via  7c91d6964f3afb96a737f4234ff45da13a6a4bc2 (commit)
       via  bd9ea502223067b31a4b2fbde469bd293f3fa358 (commit)
       via  59e8a18aef4164875cf43a0382db6a70671bf87f (commit)
       via  3a43585742a41468abbd8a74511af6e2164bba1a (commit)
       via  ff2e2d7b53edfec33a77ad1ff2b5a83f02a5be80 (commit)
       via  e8c9386ffbd11cfcbedb63fa1681d5c0590ba7a5 (commit)
       via  4dbe0b01c464d4f6c29e215afb394fd7e842a1cc (commit)
       via  0149f366be76a6160408c94029f0fa2eae5b62d2 (commit)
       via  c6378b0e7da030652334366c8459ff3853811529 (commit)
       via  f792be9bcab60e7cc917d9461d46317d7d210ed6 (commit)
       via  da34478ce3e42df6d138c6e6e1db7c49d9d5902c (commit)
       via  7c2d7b25747a06919e8ec64f0b4391c33092d965 (commit)
       via  8516f7a534565d077a1008eefff05a70f0a4eeea (commit)
       via  d8b8e96fe4c07369f1296a174abf6e3aab4092a0 (commit)
       via  94b5a59631f22e4e57561a6244c24b93db77f589 (commit)
       via  32e4350b4ea4c111ae95d9a99712fb86bf0ecb86 (commit)
       via  b67cdc3cbed20112aad37e6cbe6398de52aa41ab (commit)
       via  ffabe045231d83faef9a908259fb0919f0d5cc0e (commit)
       via  4265203e2781e12d8cbc965a067f45f13d2b8492 (commit)
       via  14f130e6be39b3f9a0ff8f2e82f0799ed894f38c (commit)
       via  dac7b05f1c32143069d20378a895171e978033cc (commit)
       via  245a1c2e6a63ed119eee2605512f99daa3cf722a (commit)
       via  cca1529c082c2111636f9ae60601f22afdfe73ae (commit)
       via  952db4ab31879dc464068b0e18a4fb0a29dde91c (commit)
       via  c685ee1c4445712da0b135206b4e032b3af21b9b (commit)
       via  aa0ae05d87711be4ba005971677d4d28849f08b9 (commit)
       via  a0b0947b0ccf23d3e8d7d9e3f7dd41813bf2ee41 (commit)
       via  8dcb4daaa7e740f5957043321ccf2c1a7bd2ccb6 (commit)
       via  1a1abfc1b6c1fbb97539cb503a81dfd678adcdf1 (commit)
       via  b04f78ea89893d11eee642ad1578862610643d16 (commit)
       via  d12257e98b7d965d6e34cdede8b90961e25489e3 (commit)
       via  c5f356f041ce97a9c506f0ed276c80e9de24b436 (commit)
       via  cce04610bca932fcd6dec3d54ef349bd877d5c2e (commit)
       via  846abbca5bd9f8ed511f2960d875a228a76a6589 (commit)
       via  c337182505d76ee11d476d7c79b09305182cba29 (commit)
       via  482e452a5d8cbc41de42ce68594d9e762d105646 (commit)
       via  dca0abdb84720e8ddd9148bc361007c5f87a1b61 (commit)
       via  4c8a8c8de4c441141118f4fd6b56c22b0cb14fac (commit)
       via  d0c85cb89af65eff3e629fa3d475a289e289cff7 (commit)
       via  1ee96f5e647a85cf2c1040ae04b83fb6ece4372b (commit)
       via  df706aa32d45a14fc20c7dc84e8934875742f28f (commit)
       via  d36525cf0f67b35e9f59a3481a3739f9ebffae29 (commit)
       via  2ba51ef35957ceb5c56ec9cbd0a03b12b17a5c48 (commit)
       via  d95bc29acd07b2bb1a47d0de819ae2879cd91009 (commit)
       via  f45666bea5f997e974333a588def7df50a03a90d (commit)
       via  12d4dfd41760188fea509e678a72bb78af3e7c33 (commit)
       via  0b7ca85a3b7037bdc2d1a1f65c67196d2719deca (commit)
       via  a77dee1d10e7e852565370ff552632f718302fd6 (commit)
       via  4dc0af33b57ffe9f55f43ce1df69fd05f36b3995 (commit)
       via  3c0133882412d8dca41ccd016eedb477d6df3430 (commit)
       via  661d0cfaa7f958d17e8bdc76e87a17ca6d4b8258 (commit)
       via  8a10f2ecd21a783cac5b0edd23c923a41e9cc801 (commit)
       via  8cc7bf367214a6f423199b62ab153b431f21f2a7 (commit)
       via  ef3a7bc786d108f597edfa3f63a1d06752002fd6 (commit)
       via  050e18ef86f2cb16f2ae981be8b4123ad8e08697 (commit)
       via  12dd86319a1c6fb88fbe1530dc59e6172d448337 (commit)
       via  b9020f2936407786a829bfd5c47066d74e0041d4 (commit)
       via  9bb0d7674485783477d428f0deafeb3eb2324305 (commit)
       via  a39032f95b14448950792600cf27aa67a582674c (commit)
       via  523627b6ac01c84afbc7b08976f76820a71c4d37 (commit)
       via  33b9b5e6b376194ea68e628ab74256274172d130 (commit)
       via  38f75fbc29cd41cd0fd79756a70c254f2eea7fb5 (commit)
       via  195c34017a79a081b7ad666935fb2d4aaab96c14 (commit)
       via  ed9499404901d5e788054a770cc5cb6e8566554e (commit)
       via  3f94855e8f06d0c01ad9596f34a90e0c65e0be46 (commit)
       via  8f46cb4ad6974b0fc54acc9c9f16fbea7573d75d (commit)
       via  d68db5e4755eb38482f251fec92fa975feae667d (commit)
       via  f5783fd9242883b10dcd6e371597b798e1eecc5e (commit)
       via  db88e7487f1fca50e00c5fc004e67b922a41ad29 (commit)
       via  b6487d6773406f0da6724e24ad5ce6a94e1009cd (commit)
       via  c808c34df9a699491f745f5666b787788a649a16 (commit)
       via  44064fd5fd15cf053603276438d19941f3d8e892 (commit)
       via  f108142420e8d8376a822a8337074e084e8d90ca (commit)
       via  23ba171bdbb34c78741b0a18cb6cf5a163158b10 (commit)
       via  d85ec3b1d45863839186537c6c832732784d5689 (commit)
       via  68c3fbc94ecfa4115af4d6ccb95171b46432eb72 (commit)
       via  0bbd1138943bb0c7395798eb234f5b2460c43d22 (commit)
       via  c15f086483884fb21d04ceac0ea8bd96308051bd (commit)
       via  a73e28177b78feb357070cf4f217fdff42615605 (commit)
       via  4dd469c1bd4c1f4a2edac6c2d63bc571e874aa3f (commit)
       via  5674ba0e4490b53a0088cfd1181c6e1783124217 (commit)
       via  a3b9c1877a13f4c665020336584acafe43478650 (commit)
       via  62d9e76aab5c3e6c8863b1e1f42cf6d2153cdb93 (commit)
       via  128506128f407047b3dc40e219cc9734afa7090a (commit)
       via  d9cfb1a387937e93cd9c194273c1f03da4664b4d (commit)
       via  9624ed0931aac929f0d773dfee8b9e620b9352ad (commit)
       via  c005c5ab76492b844e84d1c66f75797bd98d0996 (commit)
       via  1b4f261c2f7d8552f9d746931c84c09d894c0077 (commit)
       via  7a27da096af5e23e6339585094e6afbd3c2dedd0 (commit)
       via  1966eff7c92733225cd9fe1a4121ae0b8f1153d3 (commit)
       via  86c4b60b5f9e8ab1f20eeee1da0afce3db57ab3b (commit)
       via  cb07b2362dadab18abc43e2385cf7b54ed33a7e5 (commit)
       via  da8b7405a6d4c774ecdcaaec18ba57e3bb1e8249 (commit)
       via  66e40806c2f117519c986d2cbedfca50a71d44bd (commit)
       via  fe76288c35ce28b82bb050e18f0a0af24b05da0b (commit)
       via  e951b096aa97b51adf0a0bcf08688e1379efbdb3 (commit)
       via  3ef0016f85290758f286b6026fbd1a2d0c11ad4e (commit)
       via  42a27c7cabdacb00bd5a9ba06443c8a72322738b (commit)
       via  779547997857b04c27e5df52f70d527fcaa7a551 (commit)
       via  e386d20665a2bf9a59e314ad9efa5fddfffb8058 (commit)
       via  ce9c2266d5267937d25562824df3ccf4d4d7fe7c (commit)
       via  562a420a512bf9ae5fdfb1b564092dc3a011cbcd (commit)
       via  a9c59725cc4df5d505bcef220ef4fccb2e61228d (commit)
       via  5d651aff459f70c777054217203a239cbfd95706 (commit)
       via  1acc76ca7c9d4c641a9a0f30f3498be8febbbacd (commit)
       via  3616a53916b7e9302bb232f64263cfe140b03fc7 (commit)
       via  1080ec939aa8739d53384f70bf872fc42fdbd370 (commit)
       via  cdb8b00dc0e9f4b8840c75c6c8f7b6b8f8fe5133 (commit)
       via  dc2bf5c81e26595f336b4fee9cbb3f138ed76d31 (commit)
       via  c5ec75eed7fec3fcb70031d684acfc7532ba9996 (commit)
       via  73bbd418892be34d89a1274d9bfe4218f96bf886 (commit)
       via  48956dadd90d0a71a51afdcd9fd3d9a988866272 (commit)
       via  1f438358f952fe296bd6aebaa1f868ddb366fb7e (commit)
       via  a3a84c13fff9ffee22c87fcd93d34a760227a89d (commit)
       via  a131e0cc10dc70e6192fae0b4e0bce138d98ec5c (commit)
       via  5b7762f1e6931c3e4e6ccd36d2a75ce53e38e36c (commit)
       via  12e80e523f1178c0db49a3c9d856d17bb7855dfe (commit)
       via  754d85439d5e9a835562689dee597b782932914f (commit)
       via  0a658f812d1db5fed5ab9da8fd0b77fd57a33532 (commit)
       via  56d363875a42c1abd485c67e030f625299548aa0 (commit)
       via  0b10fae767ce774b62a2bd2922a77578341d87e1 (commit)
       via  1e30d46f1d678ca297ed3d9a1d5833cd59e27c84 (commit)
       via  7153f88758f73a339673b399cd43dceae8c86e4f (commit)
       via  6403b8728d3120d6cb22583b3963d2a030e88aa3 (commit)
       via  112d422913b3ef68723b113a50fece7d32d13ec2 (commit)
       via  e8670f2a3e44458c963bb4b08a57d812a9b9d902 (commit)
       via  f16be1736d705278ae39bde3fc6d6d9d1f302fa7 (commit)
       via  897e6cc8175865575a809e9fcc6d40ea566ee930 (commit)
       via  953f5e01dfae91bc0991d7fc4f116106691440e5 (commit)
       via  1e7906c193d37eb40c734b93a8d152d87650562c (commit)
       via  63fedb562b719408600b3b42c51bf0cbe4713006 (commit)
       via  28d5074cdf748cd4da9e98d6202925fdbbf678cc (commit)
       via  ecc16570f7b336c7cd3a4b77876db8e6d4ed4fad (commit)
       via  45f82943a6740bc95614851890ce3ba1dcaee41b (commit)
       via  7c78bea1fde0f581e31338e860ecb89ef91285d9 (commit)
       via  96fefe2373e7965311e1376dc0a54cf16ec9b415 (commit)
       via  c732e3d38ad324c46c43f9f3790ed7298eb392c2 (commit)
       via  e8566e29473ec12e3ceefbf87a87fac2b116e6d3 (commit)
       via  b9eb04049c7740e8021a9810ed3adccb338d556b (commit)
       via  9beaaf14365459a028ca647488822f31bc2a26a9 (commit)
       via  cf9e77519d9955a2c8514e229dff099775d06af8 (commit)
       via  3e443d57aaecd34e63a8d861c7075ab7b0f61174 (commit)
       via  17f836f358b242798a34e34abb0ec4b12cdff1df (commit)
       via  347d974ab2a8e7eecf1f3edc472e03223b0ad1bf (commit)
       via  518d15a56c986752b73dab316495e7e3d04739a6 (commit)
       via  8598092dfa7a5036417bba209a494c51812e9374 (commit)
       via  5d8e0b2caf01c6d78f7de20382742b6516697cd9 (commit)
       via  a44040a0cb9948b42b72cbd3598e2af86e1864d2 (commit)
       via  05bea2c50474edeb9d0e3fb8daaf838b58ea9a54 (commit)
       via  40d92dda0dd3e31cbfd5b887ea8465f9940b7540 (commit)
       via  3b9b5c14f6b1cd0cbed75e0d4adf36e10323dbe7 (commit)
       via  da01d7e185a6ce5e96d542c180856ce84e94ed63 (commit)
       via  e17db6aa8bae683f31d06500bbd78b043dce8d9a (commit)
       via  327e1768a130476a411baf4cd4fb602f7a73c5ed (commit)
       via  f05bc0963563ab50341ff042439462b631894de6 (commit)
       via  1afe2c7bbb571004736daf347f5178a27128704c (commit)
       via  f6e6e01802e09e1a108c067519d361caf0fc606f (commit)
       via  78b4e097593088a9c3614bf922a13e7eb454ea06 (commit)
       via  9074f3f32aa13274f266bfb091bdac43426bb4d9 (commit)
       via  d3be53db90fc31f13a477056b48a39dfa351ef5e (commit)
       via  35a3223ee35279c04552d5d3d372998711a956ab (commit)
       via  1a2947bd5c35d58a347111ad8a9f4fc50aa1d6b3 (commit)
       via  57c56feabe58a4b49d0699c158086c13a5cdf023 (commit)
       via  33755fab93fb604a5e663089ece0fe6d3f690fe4 (commit)
       via  e398326fea08b53a132086935d24be8dfde1cd47 (commit)
       via  e824ef364a6efd3c02bce159973f4098d794865c (commit)
       via  de3b2f9a31e7d6df9fb53fff149f5ee43d1664d0 (commit)
       via  d08c3a56c462a0277aba6f67e0551214f1510102 (commit)
       via  57d7ce9de300d1340ed12d61248e7cea6bd1be15 (commit)
       via  e13874a4bb666423c5b2ddf1ebb517a10789f4c0 (commit)
       via  01463a6fad519def1d3558ddb9c518a605fc9cc2 (commit)
       via  171cb08d6143cd567a53664d17bba55482adbd5d (commit)
       via  cbe594f580c26381d786d7b43d5227eb1d12620d (commit)
       via  b1942917bca8caf9e1b693c933d88d4f1aa9a264 (commit)
       via  1a0a58c4f22af82e0a37440af3b0948771bca5e1 (commit)
       via  67c0a6e006f6e181204559dc28af16a8656878b8 (commit)
       via  27697133a18371d692d69569659dd522e7b0fbdd (commit)
       via  289e5d15402d12ad02ac77e911aca7a32746c905 (commit)
       via  6db406e9a2fc78ed204460deb73151f44d94b030 (commit)
       via  b7ab0180bbe96dd1b61b9713d5a3f033f48386c5 (commit)
       via  82b77ceb5b9fa5035fc44372fb090769e61adba0 (commit)
       via  b48b26080b88f5ebf1caedb5e29bbd509d8427af (commit)
       via  a9170bf25717112dee4c42b095865fcbe5794e70 (commit)
       via  b9b45283eb987cb59419b8714f8a06d7f7b6b8c3 (commit)
       via  eec85fb5cb128190d0c1eaf7f93b80de2c4cb0dc (commit)
       via  49ca83c5f0d6f17ca6fac5f6082fdcb4f0cec036 (commit)
       via  20378927432d882bed657806b6c7e026d3e2b986 (commit)
       via  3f4a785775ac28430cc1d1f5968a0ca63d502d92 (commit)
       via  92ef95274c98a8ec0f4c76c9b30046f658f9ce35 (commit)
       via  7d81fa519e768fd3bbafebef1530b1dfc5d845bc (commit)
       via  f563d941785cf9a4b3654d24b3c5d3da36557711 (commit)
       via  d4cc835615a729c33460c6bb2ad8976808674a5c (commit)
       via  bff45b8c8eba53aeedcc62fcd0021e7807409972 (commit)
       via  9e01d65e64173caf29ef750c7d29c2b3d424c4ab (commit)
       via  c8a75fee345211d04894d749a7d8bfcd0925c9f1 (commit)
       via  d10a66b66edc088d33bad52aebd7cac0a6e9ce49 (commit)
       via  213c5692b02c5014b211ad86808aa5f8a4f4f251 (commit)
       via  126421a50572468e5ddc0d979299c56cca7a5edd (commit)
       via  14f6c56b96fb8b7ccd104951f9e8374540f16fa5 (commit)
       via  7808f351a96eebb8726e3a3a4fa36fc662b06251 (commit)
       via  1fc1bc4348ea3a1168f6d7bd3391f2449e30d181 (commit)
       via  317952f20cb0d979d35b66bc735d02c2ea69050e (commit)
       via  a2ef5d0f32746fe06e89737ea5744622fc43e012 (commit)
       via  7dae5c418a130f07301282cb67f2f991671931db (commit)
       via  cc6f3141d4e55c8adab282762bad9a8643336346 (commit)
       via  a968b13628bbd34f5c217ffe3cfaab7615aa4eb5 (commit)
       via  f8b650c589de9aa6a92c93089050fffc6aca7fab (commit)
       via  22457e13e9c758f2c4a38326fa181607997bf023 (commit)
       via  b1863eca14e92621dbea60367527ce30288ea853 (commit)
       via  8bc1a5b6761d80bf1a6f0d2eb725fcdc30443981 (commit)
       via  d1c1d50d671e87f5fa5ad24904e7c18123835db9 (commit)
       via  82386abaf8f818a64cd730b9af0e0cfa97a6d0ae (commit)
       via  51e6edf73c9dff7faa6fa4bcadc850b8cdcfea11 (commit)
       via  6d2599783e2c1bdd94cba48857b51df031396527 (commit)
       via  61b31deac802a32e39953780fb5d2daeaf9c7fde (commit)
       via  d322fffbaa6eccc23c86f3271641845072f127e8 (commit)
       via  26a7558c41a528f977932cf6738c62cfc4edfa6a (commit)
       via  a15dde47e5ab8a562a03f04d65a7c2bc9369a4ff (commit)
       via  85186b89af388cde74441a15d4da62cce22c088d (commit)
       via  a3c8db7d939fbfc4d70dceb3d398d07ac3689ef5 (commit)
       via  39f5ca6f38aa5aa6b00479bcfb93e0a9a5cf511c (commit)
       via  97e3a42d5041515e4c135220b1836805e76a2d94 (commit)
       via  3251b50fed55eeb1c30fd7bf996f715490ee2104 (commit)
       via  8a43d77d76a96940dc1b3b8e249556425b581a85 (commit)
       via  ee1b698d98149561c58c7d8c7206d8d4f4dc0bb5 (commit)
       via  95b978d86375f8a7d30262ebc41ca250e6dcad4f (commit)
       via  696822adee174ad70cfaa4315f035c54e09c0912 (commit)
       via  53b8734add5e99bb2d6f3cf1b3e2a5b1f3664ef0 (commit)
       via  c3b48996e1177336d97b44d30a3aaf41d8276142 (commit)
      from  c28604e8acf4385686c0284d9100263829fed02b (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 34173202861e94dee58ccd5b189983918813d870
Merge: c28604e ff742a8
Author: Tom Clegg <tom at curoverse.com>
Date:   Tue Aug 26 20:13:41 2014 -0400

    3354: Merge branch 'master' into 3354-render-textile
    
    Conflicts:
    	apps/workbench/app/assets/stylesheets/application.css.scss
    	apps/workbench/app/helpers/application_helper.rb
    	apps/workbench/app/models/group.rb

diff --cc apps/workbench/app/assets/stylesheets/application.css.scss
index 7d87dc3,5d6acf3..bfb57e9
--- a/apps/workbench/app/assets/stylesheets/application.css.scss
+++ b/apps/workbench/app/assets/stylesheets/application.css.scss
@@@ -244,7 -244,9 +244,11 @@@ div.pane-content iframe 
    width: 100%;
    border: none;
  }
--
 +span.editable-textile {
 +  display: inline-block;
 +}
+ .text-overflow-ellipsis {
+   white-space: nowrap;
+   overflow: hidden;
+   text-overflow: ellipsis;
+ }
diff --cc apps/workbench/app/helpers/application_helper.rb
index de7fd17,1f0e5e2..edcb7fb
--- a/apps/workbench/app/helpers/application_helper.rb
+++ b/apps/workbench/app/helpers/application_helper.rb
@@@ -180,11 -186,11 +190,11 @@@ module ApplicationHelpe
      @unique_id ||= (Time.now.to_f*1000000).to_i
      span_id = object.uuid.to_s + '-' + attr.to_s + '-' + (@unique_id += 1).to_s
  
 -    span_tag = content_tag 'span', attrvalue.to_s, {
 -      "data-emptytext" => ('(none)'),
 +    span_tag = content_tag 'span', rendervalue, {
-       "data-emptytext" => (object.andand.default_name || 'none'),
++      "data-emptytext" => '(none)',
        "data-placement" => "bottom",
        "data-type" => input_type,
-       "data-title" => "Edit #{attr.gsub '_', ' '}",
+       "data-title" => "Edit #{attr.to_s.gsub '_', ' '}",
        "data-name" => attr,
        "data-object-uuid" => object.uuid,
        "data-toggle" => "manual",
diff --cc apps/workbench/app/models/group.rb
index a91b729,b7ffd63..d478198
--- a/apps/workbench/app/models/group.rb
+++ b/apps/workbench/app/models/group.rb
@@@ -24,14 -24,4 +24,8 @@@ class Group < ArvadosBas
    def class_for_display
      group_class == 'project' ? 'Project' : super
    end
 +
-   def editable?
-     respond_to?(:writable_by) and
-       writable_by and
-       writable_by.index(current_user.uuid)
-   end
- 
 +  def textile_attributes
 +    [ 'description' ]
 +  end
  end
diff --cc apps/workbench/test/integration/projects_test.rb
index b420260,8a80bc2..07a7b10
--- a/apps/workbench/test/integration/projects_test.rb
+++ b/apps/workbench/test/integration/projects_test.rb
@@@ -25,80 -25,9 +25,80 @@@ class ProjectsTest < ActionDispatch::In
             "Description update did not survive page refresh")
    end
  
 +  test 'Find a project and edit description to textile description' do
 +    visit page_with_token 'active', '/'
 +    find('.arv-project-list a,button', text: 'A Project').
 +      click
 +    within('.container-fluid', text: api_fixture('groups')['aproject']['name']) do
 +      find('span', text: api_fixture('groups')['aproject']['name']).click
 +      within('.arv-description-as-subtitle') do
 +        find('.fa-pencil').click
 +        find('.editable-input textarea').set('*Textile description for A project* - "take me home":/')
 +        find('.editable-submit').click
 +      end
 +      wait_for_ajax
 +    end
 +    visit current_path
 +    assert(find?('.container-fluid', text: 'Textile description for A project'),
 +           "Description update did not survive page refresh")
 +    assert(!find?('.container-fluid', text: '*Textile description for A project*'),
 +           "Textile description is displayed with uninterpreted formatting characters")
 +    assert(page.has_link?("take me home"), "link not found in description")
 +    click_link 'take me home'
 +    assert page.has_text?('My projects')
 +    assert page.has_text?('Projects shared with me')
 +  end
 +
 +  test 'Find a project and edit description to html description' do
 +    visit page_with_token 'active', '/'
 +    find('.arv-project-list a,button', text: 'A Project').
 +      click
 +    within('.container-fluid', text: api_fixture('groups')['aproject']['name']) do
 +      find('span', text: api_fixture('groups')['aproject']['name']).click
 +      within('.arv-description-as-subtitle') do
 +        find('.fa-pencil').click
 +        find('.editable-input textarea').set('<br>Textile description for A project</br> - <a href="/">take me home</a>')
 +        find('.editable-submit').click
 +      end
 +      wait_for_ajax
 +    end
 +    visit current_path
 +    assert(find?('.container-fluid', text: 'Textile description for A project'),
 +           "Description update did not survive page refresh")
 +    assert(!find?('.container-fluid', text: '<br>Textile description for A project</br>'),
 +           "Textile description is displayed with uninterpreted formatting characters")
 +    assert(page.has_link?("take me home"),"link not found in description")
 +    click_link 'take me home'
 +    assert page.has_text?('My projects')
 +    assert page.has_text?('Projects shared with me')
 +  end
 +
 +  test 'Find a project and edit description to textile description with link to object' do
 +    visit page_with_token 'active', '/'
 +    find('.arv-project-list a,button', text: 'A Project').
 +      click
 +    within('.container-fluid', text: api_fixture('groups')['aproject']['name']) do
 +      find('span', text: api_fixture('groups')['aproject']['name']).click
 +      within('.arv-description-as-subtitle') do
 +        find('.fa-pencil').click
 +        find('.editable-input textarea').set('*Textile description for A project* - "go to sub-project":' + api_fixture('groups')['asubproject']['uuid'] + "'")
 +        find('.editable-submit').click
 +      end
 +      wait_for_ajax
 +    end
 +    visit current_path
 +    assert(find?('.container-fluid', text: 'Textile description for A project'),
 +           "Description update did not survive page refresh")
 +    assert(!find?('.container-fluid', text: '*Textile description for A project*'),
 +           "Textile description is displayed with uninterpreted formatting characters")
 +    assert(page.has_link?("go to sub-project"), "link not found in description")
 +    click_link 'go to sub-project'
 +    assert(page.has_text?(api_fixture('groups')['asubproject']['name']), 'sub-project name not found after clicking link')
 +  end
 +
    test 'Add a new name, then edit it, without creating a duplicate' do
      project_uuid = api_fixture('groups')['aproject']['uuid']
-     specimen_uuid = api_fixture('specimens')['owned_by_aproject_with_no_name_link']['uuid']
+     specimen_uuid = api_fixture('traits')['owned_by_aproject_with_no_name']['uuid']
      visit page_with_token 'active', '/projects/' + project_uuid
      click_link 'Other objects'
      within '.selection-action-container' do

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list