Commit Graph

196 Commits

Author SHA1 Message Date
Wiktor Kwapisiewicz
bfa215a8c2
Fix README example API response
API uses JSON booleans and numbers instead of strings.
Adjust example JSON output to reflect that.
2017-12-18 12:28:37 +01:00
Tankred Hase
656aa9b6ed Revert "chore(package): update mocha to version 4.0.1"
This reverts commit 190738fd0d.
2017-10-17 11:18:20 +02:00
greenkeeper[bot]
190738fd0d chore(package): update mocha to version 4.0.1
Closes #52
2017-10-17 10:53:19 +02:00
Thomas Oberndörfer
f890ffa8cd Merge pull request #54 from mailvelope/fix-travis-mongo
Fix mongo config
2017-10-17 10:23:35 +02:00
Tankred Hase
b3a2171a72 Fix mongo config
We need to update to the new mongo 3.x api since the travis build is currently broken. See: https://travis-ci.org/mailvelope/keyserver/builds/282576101#L845
2017-10-17 10:17:54 +02:00
Tankred Hase
d80108915e Merge pull request #47 from mailvelope/dev/fix-parsing
Use co-body directly instead of koa-body (which uses co-body under th…
2017-08-27 16:54:34 +08:00
Tankred Hase
b1848bf8e6 Use co-body directly instead of koa-body (which uses co-body under the hood) 2017-08-27 16:32:25 +08:00
Tankred Hase
1de83fe5d5 Merge pull request #46 from mailvelope/dev/key-update
Allow update of an email address’ key with remove/verify flow in between
2017-08-25 16:27:06 +08:00
Tankred Hase
b93db84c6a Optimize key removal during verification 2017-08-25 16:20:33 +08:00
Tankred Hase
77fc0fd195 Cleanup purge old keys 2017-08-25 16:11:35 +08:00
Tankred Hase
b738e1bc5c Allow update of an email address’ key with remove/verify flow in between 2017-08-25 14:32:39 +08:00
Tankred Hase
164585b406 Don’t use build@mailvelople.com for travis notifications. 2017-08-24 14:19:19 +08:00
Tankred Hase
2b969c0382 Merge pull request #45 from mailvelope/dev/remove-primaryEmail-param
Dev/remove primary email param
2017-08-24 14:13:26 +08:00
Tankred Hase
0400b9c9d9 Fix test 2017-08-24 13:26:39 +08:00
Tankred Hase
b74563b3ec Remove primaryEmail parameter from README 2017-08-24 12:48:48 +08:00
Tankred Hase
5fa36e6d52 Remove primaryEmail parameter from REST api. 2017-08-24 12:48:48 +08:00
Tankred Hase
4c28da4eab Add uploaded attribute to documentation. 2017-08-24 12:48:48 +08:00
Tankred Hase
1e2c85621b Remove primaryEmail parameter from public-key service. 2017-08-24 12:48:48 +08:00
Tankred Hase
aa850377d5 Ignore config/development.js 2017-08-24 12:48:06 +08:00
Tankred Hase
0d6a9fdae5 Use log level env var instead of environment config 2017-08-23 18:31:15 +08:00
Tankred Hase
258117d36d Merge pull request #44 from mailvelope/dev/purge-old-unverified-keys
Dev/purge old unverified keys
2017-08-22 15:31:09 +08:00
Tankred Hase
5b86a77338 Delete redundant test 2017-08-22 15:29:18 +08:00
Tankred Hase
fe55578268 Remove legacy support since all documents now have an uploaded flag. 2017-08-22 15:26:15 +08:00
Tankred Hase
2af8310070 Purge old/unverified keys or keys without an uploaded attribute. 2017-08-22 12:13:15 +08:00
Tankred Hase
afacbf413f Add uploaded date attribute to PGP key document in MongoDB 2017-08-22 11:26:12 +08:00
Tankred Hase
74063915c7 Remove NODE_ENV environment var in nom scripts 2017-08-18 21:36:55 +08:00
Tankred Hase
80c760681c Merge pull request #42 from mailvelope/dev/papertrail
Dev/papertrail
2017-08-18 18:25:10 +08:00
Tankred Hase
ba6f75984e Integrate winston-papertrail plugin 2017-08-18 18:04:43 +08:00
Tankred Hase
35dbc08015 Use winston instead of npmlog 2017-08-18 18:01:34 +08:00
Tankred Hase
a156f05002 Update README 2017-08-17 20:02:38 +08:00
Tankred Hase
e3a2a1ff20 Rename demo.html -> ui.html 2017-08-17 19:53:22 +08:00
Tankred Hase
7f5ad65c61 Merge pull request #41 from mailvelope/dev/app-refactor
Cleanup app/init/koa-middlewares
2017-08-17 19:34:01 +08:00
Tankred Hase
7d3a64c84d Stub log output in public-key integration test 2017-08-17 19:28:08 +08:00
Tankred Hase
95ff2d9247 Cleanup app/init/koa-middlewares 2017-08-17 19:17:36 +08:00
Tankred Hase
8c76281666 Merge pull request #40 from mailvelope/dev/async-await
Dev/async await
2017-08-17 17:46:49 +08:00
Tankred Hase
a52cef2771 Add space after async in async () => 2017-08-17 17:44:26 +08:00
Tankred Hase
4081463dfa Migrate HKP api 2017-08-17 15:37:59 +08:00
Tankred Hase
49b24a5cb4 Migrate to koa 2
Refactor rest api to async/await
2017-08-17 15:34:47 +08:00
Tankred Hase
3dfa447fcf Revert resolves/rejects changes in email unit test. 2017-08-16 17:57:33 +08:00
Tankred Hase
1557a5f925 Migrate public-key service to async/await 2017-08-16 17:55:32 +08:00
Tankred Hase
59a77fd01e Go back to sinon v1.x for now due to failing tests. 2017-08-16 17:39:55 +08:00
Tankred Hase
5778f8fa13 Migrate pgp-test to sinon sandbox 2017-08-16 17:38:19 +08:00
Tankred Hase
ba671126db Migrate email module 2017-08-16 12:27:03 +08:00
Tankred Hase
874903c64b Migrate mongo DAO 2017-08-16 12:03:32 +08:00
Tankred Hase
26807e03b1 Remove co-mocha from test setup 2017-08-16 11:50:03 +08:00
Tankred Hase
5ecc728564 Update dependencies for koa 2 and async/await 2017-08-16 11:49:43 +08:00
Tankred Hase
7178a12ed5 Activate ES2017 in eslint to allow async/await 2017-08-16 11:43:44 +08:00
Tankred Hase
158a7418d0 Merge pull request #39 from mailvelope/dev/eslint
Dev/eslint
2017-08-15 16:38:10 +08:00
Tankred Hase
20593a0adc Revert static/demo.js since it is not transpiled 2017-08-15 16:32:50 +08:00
Tankred Hase
21118c0b1d Fix string in hkp 2017-08-15 16:27:12 +08:00