IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an email to s dot adaszewski at gmail dot com. User accounts are meant only to report issues and/or generate pull requests. This is a purpose-specific Git hosting for ADARED projects. Thank you for your understanding!
Browse Source

Add copyright notes.

pull/1/head
parent
commit
8c455da24e
96 changed files with 675 additions and 3 deletions
  1. +7
    -0
      frontend/src/js/arvados/base/arvados-object-name.js
  2. +7
    -0
      frontend/src/js/arvados/base/arvados-type-name.js
  3. +7
    -0
      frontend/src/js/arvados/base/detect-hashes.js
  4. +8
    -1
      frontend/src/js/arvados/base/detect-uuids.js
  5. +7
    -0
      frontend/src/js/arvados/base/fetch-object-parents.js
  6. +7
    -0
      frontend/src/js/arvados/base/make-arvados-request.js
  7. +7
    -0
      frontend/src/js/arvados/base/url-for-object.js
  8. +7
    -0
      frontend/src/js/arvados/base/wb-delete-object.js
  9. +7
    -0
      frontend/src/js/arvados/base/wb-fetch-objects.js
  10. +7
    -0
      frontend/src/js/arvados/base/wb-id-tools.js
  11. +7
    -0
      frontend/src/js/arvados/base/wb-move-object.js
  12. +7
    -0
      frontend/src/js/arvados/base/wb-rename-object.js
  13. +7
    -0
      frontend/src/js/arvados/base/wb-update-field.js
  14. +7
    -0
      frontend/src/js/arvados/collection/wb-copy-collection.js
  15. +7
    -0
      frontend/src/js/arvados/collection/wb-download-file.js
  16. +7
    -0
      frontend/src/js/arvados/collection/wb-manifest-worker-wrapper.js
  17. +7
    -0
      frontend/src/js/arvados/process/wb-input-spec-info.js
  18. +7
    -0
      frontend/src/js/arvados/process/wb-parse-workflow-def.js
  19. +7
    -0
      frontend/src/js/arvados/process/wb-process-misc.js
  20. +7
    -0
      frontend/src/js/arvados/process/wb-process-state-name.js
  21. +8
    -1
      frontend/src/js/arvados/process/wb-submit-container-request.js
  22. +7
    -0
      frontend/src/js/arvados/process/wb-uuids-to-cwl.js
  23. +7
    -0
      frontend/src/js/component/wb-arvados-crumbs.js
  24. +7
    -0
      frontend/src/js/component/wb-collection-content.js
  25. +8
    -1
      frontend/src/js/component/wb-collection-fields.js
  26. +7
    -0
      frontend/src/js/component/wb-collection-listing.js
  27. +7
    -0
      frontend/src/js/component/wb-common-fields.js
  28. +7
    -0
      frontend/src/js/component/wb-container-fields.js
  29. +7
    -0
      frontend/src/js/component/wb-container-request-fields.js
  30. +7
    -0
      frontend/src/js/component/wb-inline-search.js
  31. +7
    -0
      frontend/src/js/component/wb-json-editor.js
  32. +7
    -0
      frontend/src/js/component/wb-json-viewer.js
  33. +7
    -0
      frontend/src/js/component/wb-lazy-inline-name.js
  34. +7
    -0
      frontend/src/js/component/wb-live-logs.js
  35. +7
    -0
      frontend/src/js/component/wb-name-and-uuid.js
  36. +7
    -0
      frontend/src/js/component/wb-navbar-common.js
  37. +7
    -0
      frontend/src/js/component/wb-path-display.js
  38. +7
    -0
      frontend/src/js/component/wb-process-dashboard.js
  39. +7
    -0
      frontend/src/js/component/wb-process-listing.js
  40. +7
    -0
      frontend/src/js/component/wb-process-state.js
  41. +7
    -0
      frontend/src/js/component/wb-project-fields.js
  42. +7
    -0
      frontend/src/js/component/wb-project-listing.js
  43. +7
    -0
      frontend/src/js/component/wb-user-listing.js
  44. +7
    -0
      frontend/src/js/component/wb-workflow-fields.js
  45. +7
    -0
      frontend/src/js/component/wb-workflow-input.js
  46. +7
    -0
      frontend/src/js/component/wb-workflow-listing.js
  47. +7
    -0
      frontend/src/js/deprecated/fetch-project-parents.js
  48. +7
    -0
      frontend/src/js/deprecated/wb-arvados-collection.js
  49. +7
    -0
      frontend/src/js/deprecated/wb-browse-dialog.js
  50. +7
    -0
      frontend/src/js/deprecated/wb-collection-manifest.js
  51. +7
    -0
      frontend/src/js/deprecated/wb-download-file.js
  52. +7
    -0
      frontend/src/js/deprecated/wb-manifest-reader.js
  53. +7
    -0
      frontend/src/js/deprecated/wb-project-crumbs.js
  54. +7
    -0
      frontend/src/js/deprecated/wb-rootdir-wrapper.js
  55. +7
    -0
      frontend/src/js/dialog/wb-browse-dialog-collection-content.js
  56. +7
    -0
      frontend/src/js/dialog/wb-browse-dialog-collection-list.js
  57. +7
    -0
      frontend/src/js/dialog/wb-browse-dialog-project-list.js
  58. +7
    -0
      frontend/src/js/dialog/wb-browse-dialog-user-list.js
  59. +7
    -0
      frontend/src/js/dialog/wb-browse-dialog.js
  60. +7
    -0
      frontend/src/js/dialog/wb-delete-dialog.js
  61. +7
    -0
      frontend/src/js/dialog/wb-edit-description-dialog.js
  62. +7
    -0
      frontend/src/js/dialog/wb-new-project-dialog.js
  63. +7
    -0
      frontend/src/js/dialog/wb-pick-object-dialog.js
  64. +7
    -0
      frontend/src/js/dialog/wb-rename-dialog.js
  65. +7
    -0
      frontend/src/js/dialog/wb-toolbox-dialog.js
  66. +7
    -0
      frontend/src/js/index.js
  67. +7
    -0
      frontend/src/js/misc/wb-apply-promise-ordering.js
  68. +7
    -0
      frontend/src/js/misc/wb-disable-controls.js
  69. +7
    -0
      frontend/src/js/misc/wb-format-date.js
  70. +7
    -0
      frontend/src/js/misc/wb-format-special-value.js
  71. +7
    -0
      frontend/src/js/page/wb-app.js
  72. +7
    -0
      frontend/src/js/page/wb-browse.js
  73. +7
    -0
      frontend/src/js/page/wb-collection-browse.js
  74. +7
    -0
      frontend/src/js/page/wb-collection-view.js
  75. +7
    -0
      frontend/src/js/page/wb-container-view.js
  76. +7
    -0
      frontend/src/js/page/wb-download-page.js
  77. +7
    -0
      frontend/src/js/page/wb-image-viewer-page.js
  78. +7
    -0
      frontend/src/js/page/wb-landing-page.js
  79. +7
    -0
      frontend/src/js/page/wb-launch-workflow-page.js
  80. +7
    -0
      frontend/src/js/page/wb-process-view.js
  81. +7
    -0
      frontend/src/js/page/wb-project-view.js
  82. +7
    -0
      frontend/src/js/page/wb-sharing-page.js
  83. +7
    -0
      frontend/src/js/page/wb-sign-in.js
  84. +7
    -0
      frontend/src/js/page/wb-sign-out.js
  85. +7
    -0
      frontend/src/js/page/wb-users-page.js
  86. +7
    -0
      frontend/src/js/page/wb-workflow-view.js
  87. +7
    -0
      frontend/src/js/widget/wb-accordion.js
  88. +7
    -0
      frontend/src/js/widget/wb-breadcrumbs.js
  89. +7
    -0
      frontend/src/js/widget/wb-checkboxes.js
  90. +7
    -0
      frontend/src/js/widget/wb-dialog.js
  91. +7
    -0
      frontend/src/js/widget/wb-navbar.js
  92. +7
    -0
      frontend/src/js/widget/wb-pagination.js
  93. +7
    -0
      frontend/src/js/widget/wb-select.js
  94. +7
    -0
      frontend/src/js/widget/wb-table.js
  95. +7
    -0
      frontend/src/js/widget/wb-tabs.js
  96. +7
    -0
      frontend/src/js/worker/wb-manifest-worker.js

+ 7
- 0
frontend/src/js/arvados/base/arvados-object-name.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
import arvadosTypeName from 'arvados-type-name';
function arvadosObjectName(item) {


+ 7
- 0
frontend/src/js/arvados/base/arvados-type-name.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
const typeIdToName = {
'tpzed': 'user',
'j7d0g': 'group',


+ 7
- 0
frontend/src/js/arvados/base/detect-hashes.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
function detectHashes(obj) {
let Q = [ obj ];
let matches = {};


+ 8
- 1
frontend/src/js/arvados/base/detect-uuids.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
function detectUuids(obj) {
let Q = [ obj ];
let matches = {};
@@ -7,7 +14,7 @@ function detectUuids(obj) {
if (!item)
continue;
if (typeof(item) === 'string') {
// use regexes
let rx = /[a-z0-9]{5}-[a-z0-9]{5}-[a-z0-9]{15}/g;


+ 7
- 0
frontend/src/js/arvados/base/fetch-object-parents.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
import makeArvadosRequest from 'make-arvados-request';
import arvadosTypeName from 'arvados-type-name';
import arvadosObjectName from 'arvados-object-name';


+ 7
- 0
frontend/src/js/arvados/base/make-arvados-request.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
import wbApplyPromiseOrdering from 'wb-apply-promise-ordering';
const requestPromiseOrdering = {};


+ 7
- 0
frontend/src/js/arvados/base/url-for-object.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
import arvadosTypeName from 'arvados-type-name';
function urlForObject(item, mode='primary') {


+ 7
- 0
frontend/src/js/arvados/base/wb-delete-object.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
import makeArvadosRequest from 'make-arvados-request';
import arvadosTypeName from 'arvados-type-name';


+ 7
- 0
frontend/src/js/arvados/base/wb-fetch-objects.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
import arvadosTypeName from 'arvados-type-name';
import makeArvadosRequest from 'make-arvados-request';


+ 7
- 0
frontend/src/js/arvados/base/wb-id-tools.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
import arvadosTypeName from 'arvados-type-name';
const UUID_PATTERN = '[a-z0-9]{5}-[a-z0-9]{5}-[a-z0-9]{15}';


+ 7
- 0
frontend/src/js/arvados/base/wb-move-object.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
import makeArvadosRequest from 'make-arvados-request';
import arvadosTypeName from 'arvados-type-name';


+ 7
- 0
frontend/src/js/arvados/base/wb-rename-object.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
import makeArvadosRequest from 'make-arvados-request';
import arvadosTypeName from 'arvados-type-name';


+ 7
- 0
frontend/src/js/arvados/base/wb-update-field.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
import makeArvadosRequest from 'make-arvados-request';
import arvadosTypeName from 'arvados-type-name';


+ 7
- 0
frontend/src/js/arvados/collection/wb-copy-collection.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
import makeArvadosRequest from 'make-arvados-request';
import arvadosTypeName from 'arvados-type-name';


+ 7
- 0
frontend/src/js/arvados/collection/wb-download-file.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
import makeArvadosRequest from 'make-arvados-request';
function wbDownloadFile(arvHost, arvToken,


+ 7
- 0
frontend/src/js/arvados/collection/wb-manifest-worker-wrapper.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
class WBManifestWorkerWrapper {
constructor() {
this.worker = new Worker('/js/wb-manifest-worker.js');


+ 7
- 0
frontend/src/js/arvados/process/wb-input-spec-info.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
function wbInputSpecInfo(inputSpec) {
const isFile = (inputSpec.type === 'File' || inputSpec.type === 'File[]' ||
(inputSpec.type.type === 'array' && [].concat(inputSpec.type.items).indexOf('File') !== -1));


+ 7
- 0
frontend/src/js/arvados/process/wb-parse-workflow-def.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
function wbParseWorkflowDef(text) {
let definition;
try {


+ 7
- 0
frontend/src/js/arvados/process/wb-process-misc.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
function encodeURIComponentIncludingDots(s) {
return encodeURIComponent(s).replace('.', '%2E');
}


+ 7
- 0
frontend/src/js/arvados/process/wb-process-state-name.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
function wbProcessStateName(containerRequest, container) {
const cr = containerRequest;
const c = container;


+ 8
- 1
frontend/src/js/arvados/process/wb-submit-container-request.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
import makeArvadosRequest from 'make-arvados-request';
import wbUuidsToCwl from 'wb-uuids-to-cwl';
@@ -62,7 +69,7 @@ function ensureSubProject(arvHost, arvToken, projectUuid) {
[ 'properties.type', '=', 'daily_process_subproject' ],
[ 'properties.date', '=', date ]
];
return makeArvadosRequest(arvHost, arvToken,
'/arvados/v1/groups?filters=' + encodeURIComponent(JSON.stringify(filters_1)));
});


+ 7
- 0
frontend/src/js/arvados/process/wb-uuids-to-cwl.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
function wbUuidsToCwl(obj) {
if (obj instanceof Array) {
const res = [];


+ 7
- 0
frontend/src/js/component/wb-arvados-crumbs.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
import { h, Component } from 'preact';
import WBBreadcrumbs from 'wb-breadcrumbs';
import fetchObjectParents from 'fetch-object-parents';


+ 7
- 0
frontend/src/js/component/wb-collection-content.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
import { h, Component } from 'preact';
import WBTable from 'wb-table';
import WBBreadcrumbs from 'wb-breadcrumbs';


+ 8
- 1
frontend/src/js/component/wb-collection-fields.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
import { h, Component } from 'preact';
import WBTable from 'wb-table';
import makeArvadosRequest from 'make-arvados-request';
@@ -25,7 +32,7 @@ class WBCollectionFields extends Component {
prepareRows(item) {
const { app } = this.props;
const { arvHost, arvToken } = app.state;
let rows = [
[ 'Name', item.name ],
[ 'Description', wbFormatSpecialValue(item.description) ],


+ 7
- 0
frontend/src/js/component/wb-collection-listing.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
import { h, Component } from 'preact';
import { route } from 'preact-router';
import makeArvadosRequest from 'make-arvados-request';


+ 7
- 0
frontend/src/js/component/wb-common-fields.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
import { h, Component } from 'preact';
import WBTable from 'wb-table';
import makeArvadosRequest from 'make-arvados-request';


+ 7
- 0
frontend/src/js/component/wb-container-fields.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
import { h, Component } from 'preact';
import WBTable from 'wb-table';
import makeArvadosRequest from 'make-arvados-request';


+ 7
- 0
frontend/src/js/component/wb-container-request-fields.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
import { h, Component } from 'preact';
import WBTable from 'wb-table';
import makeArvadosRequest from 'make-arvados-request';


+ 7
- 0
frontend/src/js/component/wb-inline-search.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
import { h, Component } from 'preact';
class WBInlineSearch extends Component {


+ 7
- 0
frontend/src/js/component/wb-json-editor.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
import { h, Component, createRef } from 'preact';
import WBJsonViewer from 'wb-json-viewer';
import WBAccordion from 'wb-accordion';


+ 7
- 0
frontend/src/js/component/wb-json-viewer.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
import { h, Component } from 'preact';
import WBIdTools from 'wb-id-tools';
import urlForObject from 'url-for-object';


+ 7
- 0
frontend/src/js/component/wb-lazy-inline-name.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
import { h, Component } from 'preact';
import makeArvadosRequest from 'make-arvados-request';
import WBIdTools from 'wb-id-tools';


+ 7
- 0
frontend/src/js/component/wb-live-logs.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
import { h, Component, createRef } from 'preact';
import makeArvadosRequest from 'make-arvados-request';
import WBPagination from 'wb-pagination';


+ 7
- 0
frontend/src/js/component/wb-name-and-uuid.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
import { h, Component } from 'preact';
import makeArvadosRequest from 'make-arvados-request';
import urlForObject from 'url-for-object';


+ 7
- 0
frontend/src/js/component/wb-navbar-common.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
import { h, Component } from 'preact';
import WBNavbar from 'wb-navbar';
import WBInlineSearch from 'wb-inline-search';


+ 7
- 0
frontend/src/js/component/wb-path-display.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
import { h, Component } from 'preact';
import makeArvadosRequest from 'make-arvados-request';
import { encodeURIComponentIncludingDots } from 'wb-process-misc';


+ 7
- 0
frontend/src/js/component/wb-process-dashboard.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
import { h, Component } from 'preact';
import WBTable from 'wb-table';
import makeArvadosRequest from 'make-arvados-request';


+ 7
- 0
frontend/src/js/component/wb-process-listing.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
import { h, Component } from 'preact';
import { route } from 'preact-router';
import makeArvadosRequest from 'make-arvados-request';


+ 7
- 0
frontend/src/js/component/wb-process-state.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
import { h, Component } from 'preact';
import makeArvadosRequest from 'make-arvados-request';
import wbProcessStateName from 'wb-process-state-name';


+ 7
- 0
frontend/src/js/component/wb-project-fields.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
import { h, Component } from 'preact';
import WBTable from 'wb-table';
import makeArvadosRequest from 'make-arvados-request';


+ 7
- 0
frontend/src/js/component/wb-project-listing.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
import { h, Component } from 'preact';
import { route } from 'preact-router';
import makeArvadosRequest from 'make-arvados-request';


+ 7
- 0
frontend/src/js/component/wb-user-listing.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
import { h, Component } from 'preact';
import WBPagination from 'wb-pagination';
import makeArvadosRequest from 'make-arvados-request';


+ 7
- 0
frontend/src/js/component/wb-workflow-fields.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
import { h, Component } from 'preact';
import WBTable from 'wb-table';
import makeArvadosRequest from 'make-arvados-request';


+ 7
- 0
frontend/src/js/component/wb-workflow-input.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
import { h, Component } from 'preact';
import wbInputSpecInfo from 'wb-input-spec-info';
import WBPathDisplay from 'wb-path-display';


+ 7
- 0
frontend/src/js/component/wb-workflow-listing.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
import { h, Component } from 'preact';
import makeArvadosRequest from 'make-arvados-request';
import WBTable from 'wb-table';


+ 7
- 0
frontend/src/js/deprecated/fetch-project-parents.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
import makeArvadosRequest from 'make-arvados-request';
function fetchProjectParents(arvHost, arvToken, uuid) {


+ 7
- 0
frontend/src/js/deprecated/wb-arvados-collection.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
import makeArvadosRequest from 'make-arvados-request';
class WBArvadosCollection {


+ 7
- 0
frontend/src/js/deprecated/wb-browse-dialog.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
import { h, Component } from 'preact';
class WBBrowseDialog extends Component {


+ 7
- 0
frontend/src/js/deprecated/wb-collection-manifest.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
//
// Directory: Hash[string, [Directory, File]]
// File = [blockRefs, size]


+ 7
- 0
frontend/src/js/deprecated/wb-download-file.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
import makeArvadosRequest from 'make-arvados-request';
function rdvHash(serviceId, locator) {


+ 7
- 0
frontend/src/js/deprecated/wb-manifest-reader.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
function mkdir(parent, name) {
if (name in parent && (parent[name] instanceof Array))
throw Error('File with the same name already exists');


+ 7
- 0
frontend/src/js/deprecated/wb-project-crumbs.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
import { h, Component } from 'preact';
import WBBreadcrumbs from 'wb-breadcrumbs';
import fetchProjectParents from 'fetch-project-parents';


+ 7
- 0
frontend/src/js/deprecated/wb-rootdir-wrapper.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
class WBRootDirWrapper {
constructor(rootDir, streams) {
this.rootDir = rootDir;


+ 7
- 0
frontend/src/js/dialog/wb-browse-dialog-collection-content.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
import { h, Component } from 'preact';
import WBManifestWorkerWrapper from 'wb-manifest-worker-wrapper';
import makeArvadosRequest from 'make-arvados-request';


+ 7
- 0
frontend/src/js/dialog/wb-browse-dialog-collection-list.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
import { h, Component } from 'preact';
import WBTable from 'wb-table';
import WBPagination from 'wb-pagination';


+ 7
- 0
frontend/src/js/dialog/wb-browse-dialog-project-list.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
import { h, Component } from 'preact';
import makeArvadosRequest from 'make-arvados-request';
import WBPagination from 'wb-pagination';


+ 7
- 0
frontend/src/js/dialog/wb-browse-dialog-user-list.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
import { h, Component } from 'preact';
import WBTable from 'wb-table';
import WBPagination from 'wb-pagination';


+ 7
- 0
frontend/src/js/dialog/wb-browse-dialog.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
import { h, Component, createRef } from 'preact';
import WBBrowseDialogProjectList from 'wb-browse-dialog-project-list';
import WBBrowseDialogCollectionList from 'wb-browse-dialog-collection-list';


+ 7
- 0
frontend/src/js/dialog/wb-delete-dialog.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
import { h, Component, createRef } from 'preact';
import WBDialog from 'wb-dialog';
import WBArvadosCrumbs from 'wb-arvados-crumbs';


+ 7
- 0
frontend/src/js/dialog/wb-edit-description-dialog.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
import { h, Component, createRef } from 'preact';
import WBDialog from 'wb-dialog';
import linkState from 'linkstate';


+ 7
- 0
frontend/src/js/dialog/wb-new-project-dialog.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
import { h, Component, createRef } from 'preact';
import WBDialog from 'wb-dialog';
import linkState from 'linkstate';


+ 7
- 0
frontend/src/js/dialog/wb-pick-object-dialog.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
import { h, Component, createRef } from 'preact';
import WBDialog from 'wb-dialog';
import WBTable from 'wb-table';


+ 7
- 0
frontend/src/js/dialog/wb-rename-dialog.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
import { h, Component, createRef } from 'preact';
import WBDialog from 'wb-dialog';
import linkState from 'linkstate';


+ 7
- 0
frontend/src/js/dialog/wb-toolbox-dialog.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
import { h, Component } from 'preact';
import WBTable from 'wb-table';
import WBNameAndUuid from 'wb-name-and-uuid';


+ 7
- 0
frontend/src/js/index.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
import { h, render } from 'preact';
import WBApp from 'wb-app';


+ 7
- 0
frontend/src/js/misc/wb-apply-promise-ordering.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
const defaultOrderRegistry = {};
/* function notify(orderRegistry) {


+ 7
- 0
frontend/src/js/misc/wb-disable-controls.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
function wbDisableControls() {
$('input, select, button').attr('disabled', 'disabled');
$('a').each(function() { $(this).data('old_href', $(this).attr('href')); });


+ 7
- 0
frontend/src/js/misc/wb-format-date.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
import { h } from 'preact';
function wbFormatDate(dateStr) {


+ 7
- 0
frontend/src/js/misc/wb-format-special-value.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
import { h } from 'preact';
function wbFormatSpecialValue(value) {


+ 7
- 0
frontend/src/js/page/wb-app.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
import { h, Component } from 'preact';
import { Router, route } from 'preact-router';
import WBBrowse from 'wb-browse';


+ 7
- 0
frontend/src/js/page/wb-browse.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
import { h, Component, createRef } from 'preact';
import { route } from 'preact-router';
import WBNavbarCommon from 'wb-navbar-common';


+ 7
- 0
frontend/src/js/page/wb-collection-browse.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
import { h, Component } from 'preact';
import WBNavbarCommon from 'wb-navbar-common';
import WBArvadosCrumbs from 'wb-arvados-crumbs';


+ 7
- 0
frontend/src/js/page/wb-collection-view.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
import { h, Component } from 'preact';
import WBNavbarCommon from 'wb-navbar-common';
import WBArvadosCrumbs from 'wb-arvados-crumbs';


+ 7
- 0
frontend/src/js/page/wb-container-view.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
import { h, Component } from 'preact';
import WBNavbarCommon from 'wb-navbar-common';
import WBArvadosCrumbs from 'wb-arvados-crumbs';


+ 7
- 0
frontend/src/js/page/wb-download-page.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
import { h, Component } from 'preact';
import makeArvadosRequest from 'make-arvados-request';


+ 7
- 0
frontend/src/js/page/wb-image-viewer-page.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
import { h, Component } from 'preact';
import makeArvadosRequest from 'make-arvados-request';


+ 7
- 0
frontend/src/js/page/wb-landing-page.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
import { h, Component } from 'preact';
import makeArvadosRequest from 'make-arvados-request';
import { route } from 'preact-router';


+ 7
- 0
frontend/src/js/page/wb-launch-workflow-page.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
import { h, Component, createRef } from 'preact';
import { route } from 'preact-router';
import WBNavbarCommon from 'wb-navbar-common';


+ 7
- 0
frontend/src/js/page/wb-process-view.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
import { h, Component } from 'preact';
import WBNavbarCommon from 'wb-navbar-common';
import WBArvadosCrumbs from 'wb-arvados-crumbs';


+ 7
- 0
frontend/src/js/page/wb-project-view.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
import { h, Component } from 'preact';
import WBNavbarCommon from 'wb-navbar-common';
import WBArvadosCrumbs from 'wb-arvados-crumbs';


+ 7
- 0
frontend/src/js/page/wb-sharing-page.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
import { h, Component, createRef } from 'preact';
import WBNavbarCommon from 'wb-navbar-common';
import WBArvadosCrumbs from 'wb-arvados-crumbs';


+ 7
- 0
frontend/src/js/page/wb-sign-in.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
import { h, Component } from 'preact';
import { route } from 'preact-router';
import WBNavbar from 'wb-navbar';


+ 7
- 0
frontend/src/js/page/wb-sign-out.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
import { h, Component } from 'preact';
import { route } from 'preact-router';


+ 7
- 0
frontend/src/js/page/wb-users-page.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
import { h, Component } from 'preact';
import { route } from 'preact-router';
import WBNavbarCommon from 'wb-navbar-common';


+ 7
- 0
frontend/src/js/page/wb-workflow-view.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
import { h, Component } from 'preact';
import WBNavbarCommon from 'wb-navbar-common';
import WBArvadosCrumbs from 'wb-arvados-crumbs';


+ 7
- 0
frontend/src/js/widget/wb-accordion.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
import { h, Component } from 'preact';
class WBAccordion extends Component {


+ 7
- 0
frontend/src/js/widget/wb-breadcrumbs.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
import { h, Component } from 'preact';
class WBBreadcrumbs extends Component {


+ 7
- 0
frontend/src/js/widget/wb-checkboxes.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
import { h, Component } from 'preact';
class WBCheckboxes extends Component {


+ 7
- 0
frontend/src/js/widget/wb-dialog.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
import { h, Component, createRef } from 'preact';
class WBDialog extends Component {


+ 7
- 0
frontend/src/js/widget/wb-navbar.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
import { h, Component } from 'preact';
class WBNavbar extends Component {


+ 7
- 0
frontend/src/js/widget/wb-pagination.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
import { h, Component } from 'preact';
class WBPagination extends Component {


+ 7
- 0
frontend/src/js/widget/wb-select.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
import { h, Component } from 'preact';
class WBSelect extends Component {


+ 7
- 0
frontend/src/js/widget/wb-table.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
import { h, Component } from 'preact';
class WBTable extends Component {


+ 7
- 0
frontend/src/js/widget/wb-tabs.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
import { h, Component, VNode } from 'preact';
class WBTabs extends Component {


+ 7
- 0
frontend/src/js/worker/wb-manifest-worker.js View File

@@ -1,3 +1,10 @@
//
// Copyright (C) Stanislaw Adaszewski, 2020
// Contact: s.adaszewski@gmail.com
// Website: https://adared.ch/wba
// License: GPLv3
//
const rx = /^[a-f0-9]{32}\+[0-9]+/;
const rootDir = {};
const streams = [];


Loading…
Cancel
Save