Commit Graph

49 Commits

Author SHA1 Message Date
Romain Hv a0bc20aeb6 Remove metrics #4 2021-03-15 19:56:51 +01:00
Danny Coates f64e772145
added hmac auth to report route
Co-authored-by: timvisee <tim@visee.me>
2020-10-16 15:50:36 +02:00
Danny Coates 8702fda651
handle websocket construction exceptions 2019-08-09 11:47:44 -07:00
Danny Coates 96c750c098
added size and duration to connection error reporting 2019-08-08 09:52:22 -07:00
Danny Coates 27be72e0cd
refactored client side upload loop 2019-08-07 13:51:23 -07:00
Danny Coates 527040afef
updated ws dependency and slightly improved client side error handling, hung uploads will error instead of hang forever 2019-08-06 14:47:21 -07:00
Danny Coates f036df5f47
updated eslint config 2019-08-02 12:03:53 -07:00
Donovan Preston 862fedb420 Really switch the android beta to use send.firefox.com. 2019-03-12 13:59:30 -04:00
Danny Coates 4cb6646cce
updated filelist storage so userid is not used directly 2019-02-26 13:53:11 -08:00
Danny Coates 1c44d1d0f9
added /config endpoint, use fewer globals (#1172)
* added /config endpoint, use fewer globals

* fixed integration tests
2019-02-26 10:39:50 -08:00
Danny Coates 41bfe31d61
prefix /api/metrics on android. fixes #1159 2019-02-19 10:46:16 -08:00
Danny Coates 8e8570c357
use blob instead of stream to get file list. fixes #1084 2019-01-10 11:10:51 -08:00
Donovan Preston ae4b8cf0d3 Add setApiUrlPrefix and use it in the android version. 2018-11-19 15:10:57 -05:00
Danny Coates b6517c5442
port fix for #1005 to vnext 2018-11-16 13:33:40 -08:00
Danny Coates 7eb7590f06
fixed getFileList when the response isn't OK 2018-09-24 12:23:46 -07:00
Donovan Preston 71ea4e74f6
Implement wss preference url in html; Update to work with the tip of vnext branch; allow viewing the android ui from the webpack server (#918)
* Merge branch 'vnext' of https://github.com/mozilla/send into android-preferences

Fix conflicts

* Implement wss preference url in html; Update to work with the tip of vnext branch; allow viewing the android ui from the webpack server

* Use a try/catch in case localStorage isn't available, which it isn't in a ServiceWorker
2018-09-06 18:56:04 -04:00
Danny Coates 85185d048c
added fxa auth to /ws 2018-08-31 14:30:50 -07:00
Danny Coates fb7176d989
added fxa auth to /params 2018-08-31 11:43:56 -07:00
Danny Coates 718d74fa50
Implemented FxA 2018-08-30 22:10:08 -07:00
Emily bf16e5c8a9 integrate with new ui 2018-08-08 11:07:09 -07:00
Emily c9ae76b209 hook multifile to ui 2018-08-03 16:10:00 -07:00
Danny Coates 9501bf7270
colon in wss url breaks edge when port is not explicit 2018-07-31 12:19:27 -07:00
Danny Coates d14aeb29e9
began adding capability flags 2018-07-31 11:29:26 -07:00
Danny Coates 7bf104960e
Implemented multi-file upload/download 2018-07-27 16:40:52 -07:00
Donovan Preston a80d007e0c
Hook up the android kotlin code to the send js code (#860) 2018-07-27 09:11:46 -04:00
Danny Coates 5483dc2506
use actual file size in dl progress. detect cancelled stream 2018-07-23 15:18:38 -07:00
Danny Coates 86f2a531d4
Merge branch 'vnext' into sw 2018-07-19 12:16:48 -07:00
Danny Coates f923ff4f87
Merge remote-tracking branch 'origin/master' into vnext 2018-07-19 12:14:57 -07:00
Emily Hou 59ba89262f
fix download count on server (#863) 2018-07-17 09:48:47 -07:00
Danny Coates 23c347175a
Merge branch 'vnext' into sw 2018-07-13 12:27:39 -07:00
Danny Coates dd0cb78ea2
Merge remote-tracking branch 'origin/master' into vnext 2018-07-13 12:25:28 -07:00
Emily 527e9f09c9 add a test 2018-07-12 16:07:18 -07:00
Emily ff7969a7ef fix download workflow tests 2018-07-11 16:52:46 -07:00
Emily 921df9e1aa dupe network request bug 2018-07-09 15:39:06 -07:00
Emily f98bc0878c saves stream to file 2018-07-06 15:49:50 -07:00
Emily 62ed0a411f sw 2018-07-05 12:40:49 -07:00
Emily 38ef52d3ba uses fetch.body 2018-06-29 09:36:08 -07:00
Danny Coates 9472d5eaa6
added delay when ws.bufferedAmount is high 2018-06-27 09:20:16 -07:00
Emily Hou 9d04514f8e stream footer 2018-06-25 11:26:48 -07:00
Danny Coates a4cf46c0eb
fixed minor streaming nits 2018-06-25 10:57:52 -07:00
Emily Hou dafe4884fc revisions 2018-06-22 13:17:23 -07:00
Emily Hou 12ccce3016 fix checking file early 2018-06-21 16:36:34 -07:00
Emily Hou e4a0028f5d add streaming 2018-06-21 13:57:53 -07:00
Emily Hou 1bd7e4d486 add streaming 2018-06-20 17:05:33 -07:00
Danny Coates af7a262ef0
refactored upload away from multipart forms to binary data 2018-05-31 14:10:02 -07:00
Danny Coates d6c0489fa3
more frontend tests and some factoring based on them 2018-02-24 12:57:19 -08:00
Danny Coates 78728ce4ca
some frontend unit tests 2018-02-24 11:21:48 -08:00
Danny Coates 97ad674be2
added /api/info/:id route 2018-01-30 17:29:51 -08:00
Danny Coates 565e47aef8
big refactor 2018-01-30 09:37:42 -08:00