dvcol / synology-download

Synology Download Station browser extension built with React.
https://dvcol.github.io/synology-download/
MIT License
57 stars 6 forks source link

[bug]: Bug Report (please change this title) #196

Closed dvcol closed 1 year ago

dvcol commented 1 year ago

Affected part

General Options/Settings, Task list, Quick menus (dropdown click)

Extension version

2.0.2

DSM version

7.1

Browser version

test

Description

description

Steps to Reproduce the Issue

test 1 12 3

Screenshots or Mock up

image

Failure Logs

[2023-03-18T11:14:43.789Z - popup] Logger service initialized
[2023-03-18T11:14:43.791Z - popup] Download service initialized Object
[2023-03-18T11:14:43.791Z - popup] Query service initialized Object
[2023-03-18T11:14:43.791Z - popup] Notification service initialized Object

Store snapshots

{"state":{"logged":true,"sid":"k0aEHy6I7wtj9BNMZRz7deq6WnIg1-6dUDWxXdBr71Iq3K3-faT4qDycoaaIP-_nLRI8k6s9OVKwXJMjf2lixA","modal":{"popup":true,"option":false},"content":{"menu":false,"dialog":false},"loading":0,"badge":{},"history":{"destinations":[],"folders":[],"logs":[]},"download":{"enabled":false},"count":{"badge":1,"total":1,"tabs":{"all":1,"active":0,"inactive":0,"completed":1,"tasks":0,"downloads":1}}},"navbar":{},"tasks":{"stopping":{},"tasks":{},"tasksIds":[],"files":{},"filesIds":{},"stats":{"speed_download":0,"speed_upload":0}},"downloads":{"entities":[{"bytesReceived":348373274,"canResume":false,"danger":"safe","endTime":"2023-03-18T11:06:27.161Z","exists":true,"fileSize":348373274,"filename":"/Users/dinh-vancolomban/Downloads/MicrosoftEdge-111.0.1661.44.pkg","finalUrl":"https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/37de38d3-8706-4483-9996-149ac42fb005/MicrosoftEdge-111.0.1661.44.pkg?platform=Mac&Consent=0&channel=Stable&brand=M101","id":1,"incognito":false,"mime":"application/octet-stream","paused":false,"referrer":"https://www.microsoft.com/","startTime":"2023-03-18T11:06:18.735Z","state":"complete","totalBytes":348373274,"url":"https://go.microsoft.com/fwlink/?linkid=2093504&platform=Mac&Consent=0&channel=Stable&brand=M101","source":"download","key":"download-1","status":"finished_complete","title":"MicrosoftEdge-111.0.1661.44.pkg","folder":"/Users/dinh-vancolomban/Downloads","progress":100,"size":348373274,"received":348373274,"createdAt":1679137578735,"finishedAt":1679137587161}]},"settings":{"notifications":{"count":{"enabled":true,"template":"all","status":["downloading","paused","error","seeding","waiting","extracting","finishing","finished","hash_checking","filehosting_waiting","downloading_in_progress","paused_in_progress","error_interrupted","cancelled_interrupted","finished_complete","finished_deleted"],"destination":{"enabled":false},"color":"#4285f4"},"snack":{"enabled":true,"level":0,"scope":{"popup":true,"content":true},"timeout":5000,"position":{"vertical":"top","horizontal":"right"}},"banner":{"enabled":true,"level":0,"scope":{"background":true,"popup":true,"finished":true,"failed":true}}},"connection":{"type":"two_factor","authVersion":7,"username":"dev2","password":"6918561225Ri&e&","otp_code":"","enable_device_token":true,"device_name":"Download Station Client","device_id":"ONtl4pPVOG02fjqBM7w49Epfp59-Af0fx83lDQ590uYkE4CnEwQHb_EHqfyTQPWiwSrJZ6OxMyEW_ruvIILECw","rememberMe":true,"autoLogin":true,"protocol":"https","path":"diskstation","port":5001},"polling":{"enabled":true,"background":{"enabled":true,"interval":20000},"popup":{"enabled":true,"interval":3000}},"tabs":[{"id":"37b28607-89ee-4f23-9290-1f785a93dd0f","name":"all","template":"all","status":["downloading","paused","error","seeding","waiting","extracting","finishing","finished","hash_checking","filehosting_waiting","downloading_in_progress","paused_in_progress","error_interrupted","cancelled_interrupted","finished_complete","finished_deleted"],"destination":{"enabled":false},"color":"primary"},{"id":"6e4b011d-59bb-48ab-b173-54b282c7c13e","name":"active","template":"active","status":["downloading","finishing","hash_checking","extracting","seeding","downloading_in_progress"],"destination":{"enabled":false},"color":"secondary"},{"id":"dcf7f543-02a1-4c22-b77d-a571d7c78bb8","name":"inactive","template":"inactive","status":["waiting","filehosting_waiting","paused","error","error_interrupted","paused_in_progress"],"destination":{"enabled":false},"color":"warning"},{"id":"8c55c32a-4065-4110-ab93-2954a2d14769","name":"completed","template":"completed","status":["finished","finished_complete","cancelled_interrupted","finished_deleted"],"destination":{"enabled":false},"color":"success"},{"id":"0b0be073-0705-4c1f-b432-e356635ab7e8","name":"tasks","template":"tasks","status":["downloading","paused","error","seeding","waiting","extracting","finishing","finished","hash_checking","filehosting_waiting"],"destination":{"enabled":false},"color":"info"},{"id":"83d715df-47d7-4aa2-a7ab-4b9fd64afca2","name":"downloads","template":"downloads","status":["downloading_in_progress","paused_in_progress","error_interrupted","cancelled_interrupted","finished_complete","finished_deleted"],"destination":{"enabled":false},"color":"secondary"}],"menus":[{"id":"63dcb816-c752-40d2-bc22-768a570f6101","title":"Add to Synology Diskstation","contexts":["link","audio","video","image","selection"],"modal":true,"destination":{"custom":false}}],"quick":[{"id":"dbbb7f2c-68e3-4691-a49a-6ac9d20a7218","title":"Send to Synology","icon":"server","modal":false,"destination":{"custom":false},"max":5,"type":"task"},{"id":"ecb06071-1f8a-44e7-bd08-a380d0106056","title":"Open custom modal","icon":"server","modal":true,"destination":{"custom":false},"max":5,"type":"task"},{"id":"36ba0f24-ba5b-47ca-9714-c7911f9cf931","title":"Recent destinations","icon":"history","modal":false,"destination":{"custom":false},"max":5,"type":"recent"},{"id":"a679140d-d3b5-439a-9aa9-f7c03cebf788","title":"Save to disk (local)","icon":"download","modal":false,"destination":{"custom":false},"max":5,"type":"download"},{"id":"d1671255-861f-44a0-a67f-8f6c307f9269","title":"Recent folders (local)","icon":"historyAlt","modal":false,"destination":{"custom":false},"max":5,"type":"recent_download"}],"global":{"theme":"auto","actions":"all","loading":{"enabled":true,"threshold":300},"task":{"progressBar":true,"background":true},"download":{"progressBar":true,"background":true},"navbar":{"buttons":["refresh","clear"]},"interface":{"size":1}},"downloads":{"enabled":true,"buttons":true,"notifications":true,"transfer":{"erase":true,"resume":true,"modal":true},"intercept":{"enabled":false,"resume":false,"erase":true,"modal":false,"all":false,"extensions":[{"ext":".torrent","mime":"application/x-bittorrent"},{"ext":".flac","mime":"audio/flac"},{"ext":".wav","mime":"audio/wav"},{"ext":".mp3","mime":"audio/mpeg"},{"ext":".aac","mime":"audio/x-aac"},{"ext":".ogg","mime":"audio/ogg"},{"ext":".mp4","mime":"video/mp4"},{"ext":".mpeg","mime":"video/mpeg"},{"ext":".mkv","mime":"video/x-matroska"},{"ext":".7z","mime":"application/x-7z-compressed"},{"ext":".zip","mime":"application/zip"},{"ext":".gz","mime":"application/gzip"},{"ext":".tar","mime":"application/x-tar"},{"ext":".jpeg","mime":"image/jpeg"},{"ext":".jpg","mime":"image/jpeg"},{"ext":".png","mime":"image/png"},{"ext":".svg","mime":"image/svg+xml"},{"ext":".tif","mime":"image/tiff"},{"ext":".gif","mime":"image/gif"},{"ext":".pdf","mime":"application/pdf"}],"active":[{"ext":".torrent","mime":"application/x-bittorrent"}]}},"advanced":{"logging":{"enabled":true,"levels":{"background":1,"popup":1,"option":4,"content":4},"history":false,"historyMax":1000}},"sync":{"mode":"sync"}}}