Commit Graph

213 Commits

Author SHA1 Message Date
Danny Coates 702134b3b1
use import/export in the frontend code 2017-08-10 10:03:22 -07:00
Danny Coates 21b7f16b1e
added webpack-dev-middleware for recompiling on source changes 2017-08-10 09:23:33 -07:00
Danny Coates 193664a8e8
set the mime type in the download blob 2017-08-09 14:25:37 -07:00
Danny Coates 9a150ddb22
removed the file sha256 hash 2017-08-07 14:05:13 -07:00
Danny Coates c91d24cd86
factored out progress into progress.js 2017-08-06 23:45:22 -07:00
Danny Coates b0d36529a1
refactored metrics 2017-08-05 16:38:08 -07:00
Danny Coates 8cfb45944c
pruned server logs 2017-08-03 21:47:03 -07:00
Peter deHaan 705289d34b
Only include Fira CSS on /unsupported/* route 2017-08-03 11:12:13 -07:00
Weihang Lo 2b7f06dda2
Code formatting 2017-08-03 14:01:13 +08:00
Weihang Lo 596ad871df
Use async function instead of promise (#325) 2017-08-03 13:31:23 +08:00
Weihang Lo bbe111a95e
Use async function instead of promise (#325) 2017-08-03 11:11:04 +08:00
Danny Coates 5944b85e67
filter the hash from error reports 2017-08-02 15:04:34 -07:00
Peter deHaan dff443287c
Tweak the package.json require statement 2017-07-30 20:11:12 -07:00
Peter deHaan 42ef0facc9
Get rid of console.log statements 2017-07-29 00:04:50 -07:00
Erica Wright 8cb40effa5
edit some syntax 2017-07-28 14:11:58 -04:00
Erica Wright 8d8c2efa23
create /unsupported/outdated version of the /unsupported page 2017-07-27 14:24:49 -04:00
Danny Coates 7fd8fb4914
added L10N_DEV environment variable for making all languages available 2017-07-25 14:28:49 -07:00
Danny Coates 424eb2c37a
refactor all redis calls to reject on null 2017-07-25 13:00:02 -07:00
Danny Coates dd0ab710de
format 2017-07-25 12:21:07 -07:00
Danny Coates 15ac0e1d49
expired ids should reject instead of returning null 2017-07-25 12:00:52 -07:00
Danny Coates 3febcfe1ea Merge pull request #291 from mozilla/legal
added legal page
2017-07-25 09:03:11 -07:00
Danny Coates 5a564e2c37
tighten csp 2017-07-24 22:08:43 -07:00
Danny Coates 117c6ea12d Merge branch 'master' into envvar 2017-07-24 14:06:55 -07:00
Danny Coates 4cb040d70d
added environment variable for expire time 2017-07-24 13:20:18 -07:00
Danny Coates 73ccce627c
renamed environment variables to remove P2P_ prefix 2017-07-24 13:10:30 -07:00
Danny Coates 1eabc1a11e
added legal page 2017-07-24 10:51:57 -07:00
Danny Coates 6393d70a33
rearrange dependencies. fixes #255 2017-07-21 20:00:38 -07:00
Danny Coates f5bd332ff8
created /unsupported page and added gcmCompliant to /download page 2017-07-21 17:42:40 -07:00
Danny Coates 0d5fb1740d
npm run format 2017-07-21 17:01:26 -07:00
Danny Coates 31b810eb7d
create separate js bundles for upload/download pages 2017-07-21 16:23:08 -07:00
Abhinav Adduri 09a6192bf5 merging master 2017-07-21 13:36:26 -07:00
Abhinav Adduri d660eda64c refactored localStorage into storage module for frontend 2017-07-21 12:44:55 -07:00
Abhinav Adduri 99477774cf finished metrics 2017-07-20 15:16:00 -07:00
Danny Coates 55d3d1a792
abort uploads over maxfilesize 2017-07-20 13:22:14 -07:00
Danny Coates 85a7be01cb
add a dynamic js script for page config 2017-07-19 14:01:34 -07:00
Abhinav Adduri 88904621b3 removing comment in server 2017-07-19 12:29:50 -07:00
Abhinav Adduri 6670d9ad69 fixing conflicts 2017-07-19 12:17:24 -07:00
Abhinav Adduri 902010704a Merge branch 'master' of github.com:mozilla/send into localization 2017-07-19 11:35:11 -07:00
Abhinav Adduri 7ed30f497b finished localizations except for download.js 2017-07-18 15:46:44 -07:00
Abhinav Adduri cc35206ee4 added functionality to cancel uploads 2017-07-18 10:52:32 -07:00
Abhinav Adduri 26b228a976 Merge branch 'master' of github.com:mozilla/send into fixes195and192 2017-07-17 16:18:14 -07:00
Danny Coates 9735aa62bd Merge pull request #204 from mozilla/hsts
added HSTS header
2017-07-17 16:15:32 -07:00
Danny Coates 6970e9228a
changed CSP quotes 2017-07-17 15:49:09 -07:00
Daniela Arcese 61c49fb329 fixing things 2017-07-17 16:29:51 -04:00
Danny Coates 2127857790
added HSTS header 2017-07-17 12:36:32 -07:00
Abhinav Adduri ef9b15c1d7 bracket typo 2017-07-13 14:56:28 -07:00
Abhinav Adduri 3f89c2bf0a changed to decodeURIComponent in server code 2017-07-13 12:55:34 -07:00
Abhinav Adduri b419a6025f fixes issues 195 and 192 2017-07-13 12:53:15 -07:00
Danny Coates 9234bce75d
added csp directives 2017-07-12 11:11:17 -07:00
Danny Coates b32e63c305
reformat 2017-07-12 10:53:29 -07:00
Danny Coates 20b9766742
rename to 'send' 2017-07-11 13:45:31 -07:00
Abhinav Adduri cdf45de8e2 added server tests 2017-07-11 12:47:40 -07:00
Abhinav Adduri 8c907c9029 removed extraneous failure 2017-07-11 12:10:11 -07:00
Abhinav Adduri 6231385c74 fixed issues in branch title 2017-07-11 11:18:31 -07:00
Abhinav Adduri 6aa79472bf fixing small issues 2017-07-10 12:45:20 -07:00
Abhinav Adduri c4b7a2bd97 linting issues 2017-07-10 12:30:17 -07:00
Abhinav Adduri 6f7930e34d changed localstorage id's to match response from server, refactored meta.delete and newId out of storage module 2017-07-10 12:19:20 -07:00
Abhinav Adduri 1ce24f7e08 id is now independent on iv 2017-07-07 14:47:56 -07:00
Danny Coates 67f586b65c
format 2017-06-29 10:30:08 -07:00
Danny Coates 05fe534e14
use header for file metadata 2017-06-29 10:27:36 -07:00
Abhinav Adduri 34c367c49f
added aad encryption 2017-06-27 14:39:23 -07:00
Abhinav Adduri 50995238bd
gcm encryption 2017-06-27 10:50:14 -07:00
Danny Coates 5cd44be83c
remove notLocalHost 2017-06-23 20:01:32 -07:00
Danny Coates 9bcd186d8f Merge pull request #132 from pdehaan/issue-33
Add /__version__ route
2017-06-23 17:26:19 -07:00
Danny Coates d09b97db41
npm run format 2017-06-23 17:06:08 -07:00
Peter deHaan 7042165ff2 Merge branch 'master' into issue-33 2017-06-23 16:54:39 -07:00
Peter deHaan 314e756ef1
Move __version__ to a script 2017-06-23 16:53:17 -07:00
Daniela Arcese 6ee2df5adc removing unused code 2017-06-23 15:48:45 -04:00
Daniela Arcese aa8c1afa9d lint 2017-06-23 15:48:37 -04:00
Daniela Arcese 4dadec5ae9 fix conflicts 2017-06-23 15:47:47 -04:00
Danny Coates 72807686f3 Merge branch 'master' into heartbeat 2017-06-23 11:56:37 -07:00
Abhinav Adduri 525c15124a cleaned 2017-06-23 11:42:51 -07:00
Peter deHaan 2b01bb75dc
Add /__version__ route 2017-06-23 11:29:45 -07:00
Danny Coates d247e0ba31
added __heartbeat__ 2017-06-23 11:20:48 -07:00
Abhinav Adduri 2b4df1cd51 added sentry to server code 2017-06-23 10:53:11 -07:00
Abhinav Adduri 60fd36a58e removed bitly integration 2017-06-22 15:32:52 -07:00
Abhinav Adduri 50714d35a5 added sentry 2017-06-22 14:50:57 -07:00
Daniel Thorn f13cd9f8b8 add /__lbheartbeat__ endpoint 2017-06-22 12:18:07 -07:00
Peter deHaan c532ea4770 Auto-format files using 'npm run format' 2017-06-22 09:49:45 -07:00
Danny Coates be3df22757 Merge branch 'master' into ui 2017-06-21 14:04:12 -07:00
Abhinav Adduri 575f04a824 added in anonmyized ip google analytics 2017-06-21 13:54:24 -07:00
Danny Coates 0015b3c0c6 Merge branch 'master' into ui 2017-06-21 09:48:52 -07:00
Danny Coates f7c1b1718e
added ENV to Dockerfile, also deployment to circleci 2017-06-21 08:42:18 -07:00
Daniela Arcese ae3e18c443 format 2017-06-20 15:52:01 -04:00
Abhinav Adduri e8280df647 pr changes 2017-06-20 10:47:51 -07:00
Abhinav Adduri f3fe56e3d5 fixed delete bug 2017-06-19 16:11:33 -07:00
Abhinav Adduri 4e4dc5e168 added helmet middleware 2017-06-19 15:51:48 -07:00
Abhinav Adduri 6e38446f1e added one catch statement 2017-06-19 15:46:41 -07:00
Abhinav Adduri dcc88ac546 added test as possible env value 2017-06-19 14:34:12 -07:00
Abhinav Adduri dcb5e2d813 added circle.yml file to specify node version 2017-06-19 14:30:04 -07:00
Abhinav Adduri 76af1c92e6 finished storage tests 2017-06-19 13:37:56 -07:00
Abhinav Adduri 9557701527 local filesystem tests written, all passing 2017-06-09 16:31:34 -07:00
Peter deHaan 1dbda38995
Fix ESLint errors 2017-06-09 10:44:12 -07:00
Daniela Arcese b442b65f72 Merge branch 'master' into ui 2017-06-09 09:47:43 -04:00
Abhinav Adduri 5fe901e31d formatted 2017-06-08 15:02:00 -07:00
Abhinav Adduri 6cb1fc433e firefox, chrome, safari, edge all working, pr changes included 2017-06-08 15:01:04 -07:00
Daniela Arcese 42be528c90 return 200 from server on successful delete 2017-06-08 17:38:00 -04:00
Abhinav Adduri fdb0734208 fixed bracket bug 2017-06-08 14:02:41 -07:00
Abhinav Adduri 38449a23fb changed to not localhost 2017-06-08 13:55:19 -07:00
Abhinav Adduri f870ab1ab8 Merge branch 'master' of github.com:mozilla/something-awesome 2017-06-08 13:48:51 -07:00
Abhinav Adduri 900fe32460 added mozlog and file exists route 2017-06-08 13:45:28 -07:00
Danny Coates 24abf669b0
stream download after headers 2017-06-07 17:03:03 -07:00
Danny Coates 82b71b2af7
hardcode prod to https urls 2017-06-07 16:57:19 -07:00
Danny Coates 1c67eea2f0
use redis host from config 2017-06-07 16:46:48 -07:00
Abhinav Adduri f9c2eb1ae4 using handlebars templating engine, refactored server code and storage code 2017-06-07 16:16:38 -07:00
Abhinav Adduri 1ad71904bc npm run dev now runs on local file storage. npm start runs in production, but if there is either no aws bucket or bitly key specified as env vars, it defaults back to local storage 2017-06-07 14:07:31 -07:00
Danny Coates 8bb42c137a
changed config 2017-06-06 23:52:56 -07:00
Abhinav Adduri af4edfef16
working s3 integration, commented out load credentials from json 2017-06-06 15:30:45 -07:00
Abhinav Adduri f377aa4551
working s3 integration 2017-06-06 15:24:52 -07:00
Abhinav Adduri 39a63cd16e
currently not working, decryption seems to fail 2017-06-06 15:22:17 -07:00
Daniela Arcese 6c29e33946 format 2017-06-06 17:24:51 -04:00
Abhinav Adduri 51910b5fc9
added browserify, refactored code to separate UI and network logic 2017-06-01 15:28:56 -07:00
Abhinav Adduri c539ed6282
refactoring code 2017-06-01 15:27:00 -07:00