Commit Graph

52 Commits

Author SHA1 Message Date
dependabot[bot]
2a6705cf8f Bump js-yaml from 3.9.1 to 3.13.1
Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 3.9.1 to 3.13.1.
- [Release notes](https://github.com/nodeca/js-yaml/releases)
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodeca/js-yaml/compare/3.9.1...3.13.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-01-13 17:27:55 +00:00
Riku Rouvila
7cfeec5404 handle already_in_team error properly 2020-01-13 19:27:23 +02:00
Cihan Bebek
81ebeff144 Merge pull request #9 from koodiklinikka/remove-stripe-payment
remove stripe payment
2018-10-29 22:34:45 +00:00
Cihan Bebek
525ecd0050 remove stripe payment 2018-10-29 22:31:04 +00:00
Riku Rouvila
9730b88e62 remove github events from feed 2017-10-26 15:06:37 +01:00
Riku Rouvila
07b695612f add npm package-lock file 2017-09-03 13:31:00 +01:00
Daniel Schildt
a55ce62455 fix: package.json & .snyk to reduce vulnerabilities (#6)
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/npm:qs:20170213


The following vulnerabilities are fixed with a Snyk patch:
- https://snyk.io/vuln/npm:request:20160119

Latest report for d2s/koodiklinikka.fi-api:
https://snyk.io/test/github/d2s/koodiklinikka.fi-api
2017-08-04 17:00:37 +03:00
Cihan Bebek
bcb0376ce2 Merge pull request #5 from Keksike/hotfix/remove-unnecessary-slack-logging
remove unnecessary membership data from slack logging
2017-07-12 12:55:57 +03:00
Cihan Bebek
fbfd37b0bb remove unnecessary membership data from slack logging 2017-07-12 12:53:13 +03:00
Riku Rouvila
df92639964 switch to subscription payment model for org membership 2017-07-08 23:23:46 +01:00
Cihan Bebek
f783a27045 Membership registration & payment API (#4)
* remove newrelic from use in devenv

* add endpoint for membership payments

* fix some wierd spaces

* minor code styling and logging stuff

* replace non-breaking spaces with normal ones

* remove duplicate function

* minor code styling

* add functionality for writing new member to google sheets

* add config example

* update example config, start using config in google credentials

* remove var creds from google sheets auth

* rename config.example to config.template and fix readme

* add async and google-spreadsheet packages

* rename workingWithRows to addRow

* return missing header from readme

* minor code styling

* flatten google config structure, add address fields

* add request validation to membership endpoint

* fix config field names

* more error handling, fix indentation
2017-07-08 20:23:16 +01:00
Riku Rouvila
181a48c0f6 Merge pull request #3 from d2s/patch-1
docs(README) improve document structure
2017-07-05 13:15:00 +01:00
Daniel Schildt
d2fe53b3e6 docs(README) improve document structure
- Improve document structure to make it more readable.
- Indent code snippets so that they get displayed properly.
2017-07-05 15:14:25 +03:00
Riku Rouvila
cdc9b5a141 add POST /members endpoint for sending invitations to GitHub organization 2015-11-27 15:32:22 +02:00
Riku Rouvila
2917ffd55a return all members from members api 2015-11-26 21:29:30 +02:00
Riku Rouvila
1e87c651d7 implement pagination support for github api 2015-11-26 21:29:14 +02:00
Riku Rouvila
620c957399 better error handling 2015-11-26 17:03:42 +02:00
Riku Rouvila
aa59d58ba7 send invite to github organization after slack invitation is created and user can be found from github 2015-11-26 17:03:26 +02:00
Riku Rouvila
862c1e57d7 add cors support 2015-11-24 21:29:06 +02:00
Riku Rouvila
7adcd3a3c0 make config.json file optional 2015-11-24 20:36:48 +02:00
Riku Rouvila
a20b1f6cd2 read config also from environment variables, merge on top of json file config 2015-11-24 20:21:31 +02:00
Riku Rouvila
35fc0b9ea8 remove buildfiles related to old deployment platform 2015-11-24 20:20:32 +02:00
n1koo
0e84ebd84c foio 2015-10-01 19:10:17 +03:00
n1koo
0e0d79266c foo 2015-10-01 18:27:28 +03:00
Niko Kurtti
907549f035 Merge pull request #2 from koodiklinikka/docker
Put api app to container
2015-03-30 19:32:39 +03:00
Niko Kurtti
fb08283500 dont run as root 2015-03-29 17:13:32 +03:00
Niko Kurtti
15033033b5 app name 2015-03-29 16:43:34 +03:00
Niko Kurtti
3c46d90192 add newrelic monitoring for nodejs 2015-03-29 14:10:15 +03:00
Niko Kurtti
ff47edc1e0 dockerify 2015-03-29 13:14:43 +03:00
Riku Rouvila
e8aced5cf5 log errors instead of error stacks 2015-03-05 21:55:48 +02:00
Riku Rouvila
0ddd7e22ad implement service methods for finding users from github by email and for returning every member registered to slack
needed these for inviting people from slack to our github organization
2015-03-05 21:55:22 +02:00
Riku Rouvila
ac8dbaa6e3 add more content to feeds 2015-02-26 22:39:23 +02:00
Riku Rouvila
cc27381e00 separate channels 2015-02-13 15:11:11 +02:00
Riku Rouvila
c59e5127f7 add request logger 2015-02-13 01:21:05 +02:00
Riku Rouvila
aeb523d818 better error message to configured channel 2015-02-13 01:21:00 +02:00
Riku Rouvila
2868d8b271 create slack service, try to create invites with slack api and if it fails then send the emails to configured channel 2015-02-13 01:09:48 +02:00
Riku Rouvila
5d4cc64f5b send slack request to channel 2015-02-12 17:55:34 +02:00
Riku Rouvila
a7c6638a21 update feeds more often 2015-02-05 11:37:26 +02:00
Riku Rouvila
099132c5fd add amount parameter to service method 2015-02-03 23:08:38 +02:00
Juuso Tapaninen
ee7fd0be68 Refactored feeds in to services
Changed members route to use the GitHub service for data fetching
2015-02-02 23:11:56 +02:00
Riku Rouvila
5a48b39357 Merge pull request #1 from koodiklinikka/feeds
Feeds
2015-01-28 08:18:05 +02:00
Juuso Tapaninen
c71b3b6541 Changed feeds endpoint to use Promise.props to make the result more reasonable to work with 2015-01-28 01:19:37 +02:00
Juuso Tapaninen
8006814e45 Updated config template with Twitter API key format 2015-01-28 00:15:56 +02:00
Juuso Tapaninen
e77f87de69 Added GitHub event feed data fetching 2015-01-28 00:15:28 +02:00
Juuso Tapaninen
85f61f09af Feeds API endpoint, Twitter feed implemented 2015-01-27 23:41:04 +02:00
Riku Rouvila
c87b1cad2c cached endpoint for fetching users 2015-01-26 22:49:12 +02:00
Riku Rouvila
30e1d4948b add missing config template 2015-01-26 22:28:31 +02:00
Riku Rouvila
52306f2a5a update readme 2015-01-18 16:20:29 +02:00
Riku Rouvila
a65b3c19c2 add better error reporting for failed slack invites 2015-01-16 23:37:04 +02:00
Riku Rouvila
1baee645df add urlencoded request parser 2015-01-16 23:32:57 +02:00