Commit Graph

35 Commits

Author SHA1 Message Date
Konstantina Galouni 1307b4d290 [Library | develop]: transferData.component: Removed "demo" label from data transfer. 2023-06-19 11:02:23 +03:00
Konstantina Galouni 806cec4043 Library | data-transfer-v2: transferData.component: Added checkbox in the form of accepting the data protection policy 2023-06-13 16:10:06 +03:00
Konstantina Galouni 9852bdeebf Merge remote-tracking branch 'origin/develop' into data-transfer-v2 2023-06-07 14:52:05 +03:00
Konstantina Galouni ab43152a6a [Library | data-transfer-v2]: For data transfer, open full screen modal instead of alert modal | Support transfer of hierarchical files | Show description in storage types.
1. full-screen-modal.component.ts: Added cancelButton: boolean = true; and show cancel button, only if cancelButton is true and okButton is false.
2. transferData.module.ts: Imported FullScreenModalModule.
3. transferData.component.html: Replaced <modal-alert> with <fs-modal> and updated the interface accordingly | In inputs, set [inputClass]="'flat'".
4. transferData.component.ts:
   a. Configure FullScreenModal, instread of AlertModal.
   b. In destinationOptions, set label to dest.description (used to be dest.destination).
   c. In transfer, in destinations, use also element.path, to keep the initial structure/ hierarchy when transfering files.
2023-05-16 16:36:43 +03:00
Konstantina Galouni 3be6013644 [Library | develop & Eosc Explore | develop]: index.html: Updated favicon for beta | transferData.component.ts: Added check for client side before opening Data Transfer modal. 2023-04-26 15:54:43 +03:00
Konstantina Galouni aa5425d091 [Library | data-transfer-v2]: transferData.component.html: Updated labels - removed verbs & updated some checks based on new 'requests' field | transferData.component.ts: Get protocol from API for each storage & [Bug fix] in path validation & enhanced status values & updated how status request works - request max 10 times, expose always the status and after succeeding, failing or exceeding 10 requests, stop. 2023-03-16 20:55:12 +02:00
Konstantina Galouni 71b5964f2c [Library | data-transfer-v]: transferData.component: Updated input labels, added uk-grid-small for the two columns, destination url changed to destination system and protocol (https:// or s3://) is applied programmatically. 2023-03-15 10:53:19 +02:00
Konstantina Galouni bb6707cc0d [Library | data-transfer-v2]: transferData.component.ts: Added class field "s3UrlRegex" and updated s3 regex to accept any url starting from s3://, https://, http://, www. 2023-03-10 14:54:15 +02:00
Konstantina Galouni 029db9f52e [Library | data-transfer-v2]: transferData.component.ts: Scroll to message not only if transfer status was successful. 2023-03-07 15:43:49 +02:00
Konstantina Galouni cde97c09b9 [Library | data-transfer-v2]: transferData.component: Updated destination url check - for s3, protocol starts with s3://, not https://. 2023-03-07 13:17:36 +02:00
Konstantina Galouni ed856076d4 [Library | data-transfer-v2]: transferData.component.ts: Check we are on client side to open the modal | [Bug fix] In error message. 2023-03-03 15:12:26 +02:00
Konstantina Galouni 95a87dcefd [Library | data-transfer-v2]: Use new transfer API to get destinations, do the transfer, request status of transfer | Updated messages and checks for buttons. 2023-02-13 19:39:08 +02:00
Konstantina Galouni 3c20944aec [Library | data-transfer-v2]: transferData.component: Get destinationOptions from API (/storage/types). 2023-01-05 19:14:26 +02:00
Konstantina Galouni 50543311f2 [Eosc Explore & Library | data-transfer-v2]: environment.ts: Updated eoscDataTransferDestinations to be like api response. | transferData.component: Updated destinationOptions and selectedDestination according to the updated eoscDataTransferDestinations. 2023-01-04 13:27:49 +02:00
argirok 7666b55b6c Data transfer: add input for destination URL, inputs for destination authorization
add destination  authorization header in parser
2022-11-11 13:56:58 +02:00
argirok ce4b358ce9 add access token in parser method 2022-11-11 12:28:07 +02:00
argirok 8e22fe60b0 Data transfer: remove checks for only zenodo dois 2022-11-11 11:55:15 +02:00
argirok 764b92ae66 Eosc data transfer:
- add and use separate property for login url
- use new API url
2022-11-11 11:20:02 +02:00
argirok 95152eef04 don't close modal when transfer button is pushed. let it open and hide transfer button 2022-11-11 11:04:52 +02:00
argirok d399f40ad6 Data transfer: move transfer button in the modal footer 2022-10-17 12:42:01 +03:00
argirok ea935df5b7 Data transfer: revert changes to show login in the 1st step 2022-10-14 13:32:11 +03:00
argirok ef97747596 update datatransfer browse functionality
add new properties, add datatransferAPI in the error interceptor
2022-10-05 16:52:04 +03:00
argirok 032b91ae7a very primitive tests for updating datatransfer with status and browse 2022-09-21 17:29:46 +03:00
argirok 7ea6bfad7a add destination parameter in get userinfo 2022-09-07 14:39:54 +03:00
argirok 1e3c9d7cba Eosc explore: latest changes/ corrections before review 2022-08-08 12:47:14 +03:00
Konstantinos Triantafyllou 01fd4ac49f Filters title alignment. Rename some component css files to less. 2022-07-17 16:01:39 +03:00
argirok b782c52f9c Merge branch 'new-theme' of code-repo.d4science.org:MaDgIK/openaire-library into new-theme 2022-05-30 16:28:49 +03:00
argirok 5667a94756 fix issue with confict in close dropdown and modal 2022-05-30 13:56:14 +03:00
argirok da16692d14 Eosc data transfer update the labels 2022-05-30 12:45:05 +03:00
argirok a223653213 update datatransfer component 2022-05-26 14:05:29 +03:00
argirok e71e493aa2 update Transfer data: enhance list of files, disable Transfer button when path is not valid, add [demo] in the title 2022-05-25 17:56:00 +03:00
Konstantina Galouni 0e8c5832bb [Aggregator & Library| new-theme]: Use <modal-alert> common component in transferData.component.ts instead of uk-modal.
1. transferData.module.ts: Imported AlertModalModule.
2. transferData.component.ts: Use <modal-alert> common component instead of uk-modal | Comment logs.
3 alert.ts:
  a. Added "@Input() public emitHidden: boolean = false;" and "  @Output() public alertHidden: EventEmitter<any> = new EventEmitter();"
  b. On ngAfterViewInit, if emitHidden is true, check when modal is hidden and emit alertHidden (currently used only in transferData.component.ts to reinitialize local fields and route).
2022-05-25 12:52:00 +03:00
argirok 9a2b8d3632 storage transfer: add path validator, fix hardcoded url, add scrolling in the list of files 2022-05-24 14:24:54 +03:00
argirok c53e23708e update transfer data component - real api calls 2022-05-23 12:54:34 +03:00
argirok 1a7571593e move datatransfer modules to library 2022-05-19 12:15:52 +03:00