Commit graph

195 commits

Author SHA1 Message Date
Tyler Renelle
440a2e2884 refactor(subscriptions): move all payments stuff to it's own controller 2014-03-24 21:51:20 -06:00
Tyler Renelle
0f430e102e feat(subscriptions): add paypal recurring cancelation. refactor stripe & paypal code to use auth.authWithUrl. 2014-03-24 20:47:25 -06:00
Tyler Renelle
10c9595662 feat(subscriptions): convert paypal gem purchases from client-side javascriptButtons to serverside NVP 2014-03-24 20:47:18 -06:00
Tyler Renelle
b8cd762de2 chore(package.json): upgrade karma-requirejs, fixes #3061 2014-03-14 11:40:12 -06:00
Tyler Renelle
bb6f63710c chore(bower): bowerrc (see https://github.com/bower/bower/issues/933) 2014-02-28 22:12:15 -07:00
Tyler Renelle
f7b4a04a59 feat(event-tracking): add server-side GA tracking for ecommerce events 2014-02-10 11:35:33 -07:00
Tyler Renelle
55c28cbe52 chore(domain-middleware): back to real module version 2014-02-06 11:01:38 -07:00
Tyler Renelle
2837edd51f chore(cluster): use domain-middleware properly, so domains are used to restart cluster workers 2014-02-06 10:58:47 -07:00
Cole Gleason
71f4371d9c chore(logging): add Newrelic and Email transports for Winston
This will send an email on errors logged with winston and thus removes
the old error emailing code.
2014-02-01 02:46:22 -06:00
Cole Gleason
2188b5a6c0 chore(logging): add logging via Winston and wrapped it with a custom logging module 2014-02-01 01:47:11 -06:00
Tyler Renelle
92563915ef chore(throttling): add api-throttling (request limiting) so users can
only request routes 120times per minute (aka, 2req/second but spread out
for sanity). fixes #2645
2014-01-31 10:32:33 -07:00
Tyler Renelle
5b06392879 chore(newrelic): add newrelic 2014-01-30 11:04:39 -07:00
Tyler Renelle
f3bd7bcfc6 chore(modules): downgrade coffee-script to 1.6.x, 1.7.0 was breaking on us 2014-01-28 16:12:39 -08:00
Tyler Renelle
e0646bb98d fix(spells): add some spells tests, don't send up body to spell paths 2014-01-22 00:16:52 -08:00
Cole Gleason
564241cd38 chore(changelog): add git-changelog config and sample CHANGELOG.md
This is the setup for the Grunt task that generates a changelog. Note
that it currently generates the changelog for the range
changelog-start..HEAD where changelog-start is a tag. It will always use
the most recent tag it can find. We may want to change this
behavior. Also, the original repo has some bugs, so I'm using my fork
until he accepts my PRs.

Migration notes: To run: `grunt git_changelog`
2014-01-16 02:10:00 -06:00
Tyler Renelle
039bdabb49 let's upgrade passport-facebook to see if this will mitigate all the
facebook login errors we're seeing
2014-01-07 22:06:58 -07:00
Tyler Renelle
2c1eb955ac fix #1954 . Start updating API tests, beginning with challenges. Use
test to fix "challenge updates not updating users' tasks"
2014-01-03 00:01:24 -07:00
Tyler Renelle
e927c897cb Merge branch 'api-docs' into develop 2014-01-01 21:17:20 -07:00
Tyler Renelle
a2b30dcb1a #2217 merge apiv2 route definitions with swagger decorations 2014-01-01 20:21:46 -07:00
Tyler Renelle
0edcfac46b #2217 start adding APIv2 generated documentation via swagger-node-express 2014-01-01 15:33:37 -07:00
Dušan Juretić
431622ce14 E2e tests: launch Selenium and node server and kill them after finishing the tests, using a test database 2014-01-01 14:01:51 -03:00
Dušan Juretić
462bc416de Starting e2e testing 2014-01-01 14:01:23 -03:00
Tyler Renelle
bde22636cf checklsits: package & bower use habitrpg-shared#develop 2013-12-31 09:15:25 -07:00
Tyler Renelle
74c905f1e1 checklists WIP 2013-12-30 10:33:17 -07:00
Tyler Renelle
e6e961f991 #2135 remove connect-domain commented-out examples 2013-12-26 22:39:40 -07:00
Tyler Renelle
1b8cba1945 #2135 use domain-middleware to handle top-level error-handling so we can
email admins UUIDs
2013-12-26 22:38:52 -07:00
Tyler Renelle
43fb430681 bosses: habitrpg-shared#develop 2013-12-25 08:28:02 -07:00
Tyler Renelle
8095397317 Quests: hurt boss via score method, refactor chat function, change all content.*.name to content.*.key for consistency 2013-12-23 01:19:18 -07:00
Tyler Renelle
4323443dbd [#1977] stricter PUT /user set-path validation, require they're setting on a
leaf-path (except for tasks.* - we still need to handle that properly)
2013-12-10 09:10:00 -07:00
Tyler Renelle
81dc41e177 classes: use habitrpg-shared#develop for current production
feature-freeze & classes feature sprint (@paglias @Fandekasp we're good
to go on translations et all now)
2013-12-08 18:21:28 -07:00
Tyler Renelle
caaebe01a2 re: d3eed22 , migration to fix 0'd dayStarts (@paglias, thanks for the fix!) 2013-11-27 10:53:47 -07:00
Nick Gordon
c0a02eeef8 support for xml and json export of all user data 2013-11-25 08:06:27 -08:00
Matteo Pagliazzi
75ce46d4af moment version consistent with habitrpg-shared 2013-11-17 16:12:25 +01:00
Matteo Pagliazzi
34d5eda736 [#1832] remove relative-date, use moment instead 2013-11-17 13:21:21 +01:00
Nick Gordon
e2e7ba15b2 ack, trailing comma 2013-11-15 08:56:54 -08:00
Nick Gordon
c69bc0de58 derp. moment is already a dependency 2013-11-15 08:55:06 -08:00
Nick Gordon
7bf1bf2af0 data export commit, supports exporting task history via csv
*adds the following new dependencies: moment, express-csv
*recommend replacing functionality of 'relative-date' with features from 'moment'
*supports retrieval of CSV history via the API and in browser
**/api/v1/export/history (requires typical API authorization)
**/export/history.csv (requires session authorization)
*adds new routes for data export
2013-11-15 06:18:16 -08:00
Tyler Renelle
d589c24371 Merge pull request #1700 from djuretic/develop
Tests working (for continuous intregration)
2013-11-03 18:59:56 -08:00
Matteo Pagliazzi
5a103db716 upgrade lodash to 2.2.1 2013-11-02 09:52:48 +01:00
Dušan Juretić
142024b818 define karma task for continuous integration 2013-10-31 22:45:10 -03:00
Dušan Juretić
f4ac5dfe8c fix unit tests 2013-10-31 22:35:35 -03:00
Tyler Renelle
a90f37f35c more migration fixes, fix up metrics.js 2013-10-30 18:58:09 -07:00
Tyler Renelle
96f7db3d8a switching habitrpg-shared over from #rewrite to #master, will remove
rewrite branch soon after we're launched with challenges @shaners @paglias
2013-10-29 23:12:38 -07:00
Tyler Renelle
c5671550f1 challenges: add group.memberCount and ability to specifiy field projections in GET request /api/v1/groups?type=guild&fields=name,description,chat 2013-10-28 18:20:02 -07:00
Tyler Renelle
fa25f3d300 challenges: WIP beginning challenges feature. some basic CRUD & some
basic subscribe / unsubscribe functional (but buggy)
2013-10-28 11:34:07 -07:00
Tyler Renelle
5d46793373 Merge pull request #1591 from djuretic/develop
Tests for AuthCtrl
2013-10-15 19:59:47 -07:00
Dušan Juretić
89b4d2ece0 authCtrl tests now working, replaced window for $window 2013-10-12 22:46:13 -03:00
Tyler Renelle
09cd132420 paypal: begin adding paypal alternative to credit-card payments 2013-10-12 15:24:35 -07:00
Andre Casey
730c82ccaf Removes devDependecies for docker from Package.json. 2013-09-30 19:11:14 -07:00
Andre Casey
92485a938e Documentation configuration for Docker
Includes:
- Gruntfile config
- read me for docs (docs-home.md. maps to --> docs-home.md.html)
- updated package.json for docker dep
- updated .gitignore to not include generated files
2013-09-26 18:10:50 -04:00