Commit Graph

399 Commits

Author SHA1 Message Date
Denis Sokolov 611a385f23 chore(user): tiny cleanup in findTask function 2014-05-07 19:55:52 +09:00
Matteo Pagliazzi 57e93d6623 fix(i18n): misc 2014-05-06 20:05:57 +02:00
Matteo Pagliazzi ddf5ad8ec9 fix(i18n): pass req.language when using batchUpdate 2014-05-06 20:05:57 +02:00
Matteo Pagliazzi 70ecad3c65 fix(i18n): user creation does not override preferences 2014-05-06 20:04:10 +02:00
Matteo Pagliazzi b887127fb0 refactor(i18n): refactor & fix 2014-05-06 20:04:09 +02:00
Matteo Pagliazzi 62637cf676 refactor(i18n): add comments 2014-05-06 20:04:09 +02:00
Matteo Pagliazzi 12fa87ef31 refactor(i18n): add language detection to new user 2014-05-06 20:04:09 +02:00
Matteo Pagliazzi d242ee3291 refactor(i18n): use strings for content 2014-05-06 20:04:09 +02:00
Tyler Renelle b0eb12bb5f feat(subscriptions): allow one month after sub start-date before it's terminated. Fixes #3180 2014-05-06 09:18:44 -06:00
Tyler Renelle 83fa2716a6 Merge pull request #3426 from denis-sokolov/user-cleanup-double-payment
chore(user): cleanup payments configuration, left behind in 440a2e288
2014-05-06 09:12:38 -06:00
Denis Sokolov 2f92171aa4 chore(user): cleanup payments configuration, left behind in 440a2e288 2014-05-06 21:49:12 +09:00
Denis Sokolov 8888322ded chore(validator): update to 3.11.2 2014-05-05 19:22:34 +09:00
Tyler Renelle 6d00289d99 Merge pull request #3304 from jbutz/todo_archive_flag_ui
feat(archive_todo): Update batchUpdate
2014-05-03 21:44:24 -06:00
Matteo Pagliazzi a9f80bd860 fix(notifications): check for group id to be sent with seenMessage 2014-04-22 14:19:56 +02:00
Jason Butz 601e94cb43 feat(archive_todo): Update batchUpdate
This is part 3 of habitrpg#3062. It makes batchUpdate look at the archived flag
not the completed date

Part 1: habitrpg/habitrpg#3302
Part 2: habirrpg/habitrpg-shared#198
2014-04-18 12:36:22 -04:00
Tyler Renelle 1067c82418 feat(convention): temporary solution to disable dailies for signups
during conventions (have to be on con.habitrpg.com)
2014-04-18 08:58:45 -07:00
Tyler Renelle 8d4652b6b9 feat(coupons): better formatting for wondercon 2014-04-17 21:38:38 -07:00
Tyler Renelle 39b5176c1c feat(coupons): cleaner lookup/validation of coupon code 2014-04-17 17:36:10 -06:00
Tyler Renelle a608419bba feat(coupons): add coupon-code feature 2014-04-16 23:28:37 -06:00
Tyler Renelle 56ab7384cf feat(premium): disallow deleting accounts until they've cancelled
payment plans
2014-04-14 23:07:30 -06:00
Tyler Renelle e76e545e6a fix(challenges): temporarily remove $elemMatch on challenge/user/progress, see #2947 2014-03-31 19:01:08 -06:00
Tyler Renelle 123f8192f4 feat(subscriptions): add misc. IPN handler. For this case, it will catch
off-site cancelled subscriptions
2014-03-24 21:51:49 -06:00
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 b686b56282 feat(subscriptions): refactor subscription & gem-purchase code, misc bug fixes 2014-03-24 20:47:22 -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 d1a2fbbbd9 feat(subscriptions): implement partial paypal-recurring. It's having issues with cookies 2014-03-24 20:47:10 -06:00
Tyler Renelle 16977bc108 fix(api): sortTask positive on score route definition, not going
next(). Fixes #3118
2014-03-21 20:28:41 -06:00
Tyler Renelle 2e4aa19ac8 fix(facebook): api facebook bug 2014-03-01 17:28:16 -07:00
Tyler Renelle 13094c127a feat(premium): unlock mystery items within timeframe of sub sign-on 2014-02-22 21:43:44 -08:00
Tyler Renelle a8e890a6df feat(premium): mystery items 2014-02-21 17:37:37 -08:00
Tyler Renelle 7651dbee58 fix(groups): err:400 when already in a party, not 500 2014-02-21 10:36:57 -08:00
Tyler Renelle 9da5d4d6d4 fix(challenges): when unlinking tasks, sometimes the challenge no longer exists 2014-02-21 09:36:30 -08:00
Tyler Renelle 87f8a4774b fix(groups): don't show 404 for solo users (not trying to fetch party in
the first place), fixes #2919
2014-02-21 08:24:13 -08:00
Tyler Renelle c2ac90f341 refactor(groups): more res.json(500) => next(err) conversions, for
unified error-handling in express middleware
2014-02-20 22:54:47 -08:00
Tyler Renelle 312685118d perf(challenges): use proper elemMatch in challenge.getMember so we
don't have to sift through which tasks are challenge tasks
2014-02-20 11:18:33 -08:00
Tyler Renelle bf878d0693 refactor(groups): re-rig group.get query compound-index order, so we can
make use of only one compound index
2014-02-20 11:03:25 -08:00
Tyler Renelle aa9059cb2d fix(groups): use proper mongo queries to handle guild/party access in
groups.get, fixes #2664
2014-02-20 10:48:06 -08:00
Tyler Renelle 4f426b9d24 perf(challenges): use some query & elemMatch magic on memberCount to reduce challenges.list overhead. memberCount is now updated when leaving/joining challenges 2014-02-20 10:43:41 -08:00
Tyler Renelle a50f025132 feat(donations): add txnCount for each purchase 2014-02-18 17:17:56 -08:00
Tyler Renelle 78fcdd20c9 chore(tests): tests to go along with #1883 challenges fix 2014-02-14 20:37:16 -07:00
Tyler Renelle 33b326b596 fix(challenges): better handling of deleted challenges. If !chal, break the task.challenge. Move the function into userController#score so we have access to next, etc. fixes #1883 2014-02-14 19:49:34 -07:00
Tyler Renelle fd6eb8724e feat(valentine): valentine event 2014-02-13 18:40:33 -07:00
Tyler Renelle ce82be637d feat(groups): add group chat notifications 2014-02-12 21:21:30 -07:00
Tyler Renelle 72b6c9bc91 feat(event-tracking): track registration count 2014-02-11 17:53:12 -07:00
Tyler Renelle 9217b5174a feat(event-tracking): pass ga to server user.ops 2014-02-11 17:49:19 -07:00
Tyler Renelle 0c99976bf5 fix(event-tracking): stripe sub, not pp 2014-02-10 18:54:29 -07:00
Tyler Renelle d89fb17b03 feat(event-tracking): track ecommerce events 2014-02-10 14:14:45 -07:00
Tyler Renelle f7b4a04a59 feat(event-tracking): add server-side GA tracking for ecommerce events 2014-02-10 11:35:33 -07:00
Lorian 8d03cfc6b5 Made incorrect username and password show the same error, for security purposes. 2014-02-07 21:08:13 -08:00