Граф коммитов

49 Коммитов

Автор SHA1 Сообщение Дата
ashley williams 90cdef34cb Merge pull request #18 from npm/web-interface
add server and express app
2016-07-05 16:09:35 -04:00
ashley williams ce909c60ca Merge pull request #19 from npm/add-user-login
Add user login
2016-07-05 16:09:23 -04:00
Ashley Williams 93e13e44d0 add 401 message, clean up comment 2016-07-05 15:55:49 -04:00
Jeffrey Lembeck a094f51171 fix(login): add help docs for login 2016-06-21 18:29:04 -07:00
Jeffrey Lembeck 3b0b795b8c feat(login): overwrite token for existing user 2016-06-21 18:29:04 -07:00
Jeffrey Lembeck 1b688bd6fc fix(login): query for npm-token-hashed
Our schema stores npm-token-hashed, not token. As part of this, also use
required: false, as that should make fetch throw an error if the item
isn't found
2016-06-21 18:29:01 -07:00
Jeffrey Lembeck f6be07ac8c chore(syntax): remove dangling comma 2016-06-21 18:29:00 -07:00
Jeffrey Lembeck 66b0e7f412 fix(login): change schema to reflect our actual attributes 2016-06-21 18:28:52 -07:00
Jeffrey Lembeck 0268f7e81e chore(rename variable): change opts to slackOpts for easier reading
Also add loggedIn message
2016-06-21 18:23:26 -07:00
Jeffrey Lembeck 60d43f0d5d fix(parseRequestBody): move command parsing back
Let's move the commands splitting and handling to the parseRequestBody
helper. Then, instead of using split, we'll replace the specific text
used (we should likely use a URL parser for this)
2016-06-21 18:13:51 -07:00
Jeffrey Lembeck 2f0c5437de Block level declarations not supported yet 2016-06-07 13:12:04 -07:00
Jeffrey Lembeck b2d453684a WIP: create login method 2016-06-07 13:10:50 -07:00
Jeffrey Lembeck be17248136 buildUser method to create opts for model 2016-06-07 13:10:50 -07:00
Jeffrey Lembeck 3ecf94a1bb Hook receiver is no longer on @npmcorp 2016-06-07 13:10:50 -07:00
Jeffrey Lembeck 6c9e910259 Change user information in db 2016-06-07 13:10:50 -07:00
Ashley Williams 912c34f7c3 update readme 2016-06-04 15:50:23 -04:00
Ashley Williams 8b91beee7d serve json-api compliant CRUD for users and subscriptions 2016-06-04 15:46:09 -04:00
Ashley Williams 1fcd6834a7 add server and express app 2016-06-04 15:16:37 -04:00
ashley williams afb7d84170 Merge pull request #13 from npm/help
add help, list, unsubscribe commands
2016-06-01 13:25:46 -04:00
Ryan Day b900ccb227 fixes #17 2016-06-01 09:34:54 -07:00
Ashley Williams 9c343879d7 add unsubscribe function 2016-05-27 16:46:51 -04:00
Ashley Williams e14d794b96 add list command 2016-05-27 15:49:39 -04:00
Jeff Lembeck 986ab568c9 Merge pull request #14 from npm/add-haggis
switch image to haggis-pirate
2016-05-26 18:02:16 -07:00
Chris Dickinson e8a8277877 switch image to haggis-pirate 2016-05-26 16:32:13 -07:00
Ashley Williams cbef5053f2 rename the create route to slack because that makes more sense 2016-05-26 18:22:16 -04:00
Ashley Williams f336f178d9 add help command 2016-05-26 17:05:08 -04:00
Ashley Williams 029fcc7653 load .env in knexfile and /lib/database.js 2016-05-26 15:13:16 -04:00
ashley williams 786f2bec4f Merge pull request #10 from npm/prod-db
add production info to knexfile
2016-05-26 14:56:02 -04:00
Ashley Williams 337cfb5028 add production info to knexfile 2016-05-26 14:43:44 -04:00
Jeff Lembeck db0b357a11 Merge pull request #9 from npm/lolsob
fix incomplete refactor back to slack web client
2016-05-26 11:18:18 -07:00
Ashley Williams ae0ea3157a fix incomplete refactor back to slack web client 2016-05-26 14:13:43 -04:00
Ashley Williams fd12b7f450 use package not git url for hook receiver 2016-05-26 10:06:02 -04:00
Ashley Williams 3bc55a0026 Merge branch 'backend' 2016-05-26 08:38:46 -04:00
Ashley Williams 59e584c34d Merge branch 'master' into backend 2016-05-26 08:37:58 -04:00
Ashley Williams 819dbe32d7 add backend and hooks 2016-05-26 08:34:34 -04:00
Jeff Lembeck fa8e9dfaf3 Merge pull request #1 from npm/readme
add local dev up and running to readme
2016-05-19 14:06:46 -07:00
Ashley Williams 7d4c312a05 add local dev up and running to readme 2016-05-19 16:02:43 -04:00
Ashley Williams efeb433776 add local dev up and running to readme 2016-05-19 16:01:18 -04:00
Ashley Williams cb255141fc add wombat to readme 2016-05-19 15:20:10 -04:00
Ashley Williams f30b064127 update bot coming online message 2016-05-19 13:25:24 -04:00
Ashley Williams 891a1754b8 add subscribe endpoint, sends back pkg name 2016-05-19 12:47:22 -04:00
Ashley Williams 05b6bde549 add readme, w/desc and usage 2016-05-19 11:52:58 -04:00
Ashley Williams efe748fe07 add ping route to test 2016-05-19 11:49:42 -04:00
Ashley Williams 15552e950b change name of service to hooks-subscriber-bot 2016-05-19 11:38:18 -04:00
Ashley Williams e73f793d84 add shared secret to envsample 2016-05-19 11:38:03 -04:00
Ashley Williams d5f2d7c5a1 add envsample and loading dep 2016-05-19 11:34:23 -04:00
Ashley Williams 9c68472161 make slack client 2016-05-19 11:15:55 -04:00
Ashley Williams 1eaf4592dd some boiler from npm-hook-slack 2016-05-19 11:08:10 -04:00
ashley williams 11759cce72 Initial commit 2016-05-19 11:05:57 -04:00