Commit Graph

21 Commits

Author SHA1 Message Date
Matteo Pagliazzi 7c0b25d58a pass base_url to emails as variable 2014-12-19 19:46:05 +01:00
benmanley 50b1cba0a6 refactor(tasks) improve UI consistency
* Round corners for UI elements / “8-bit” outlines for RPG elements.
* Tag bar – Make it clearer that “Tags” is a heading, not an option
* Task filters – restyle in line with tag bar + nav menu
2014-11-27 10:32:57 +00: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 2837edd51f chore(cluster): use domain-middleware properly, so domains are used to restart cluster workers 2014-02-06 10:58:47 -07:00
Tyler Renelle bf5e9016a4 fix(errors): return next(err) when experiencing errors, instead of res.json(500,{err:err}). Let the top-level error handler handle this (needed for upcoming versionerror discarding) 2014-02-05 17:28:59 -07:00
Tyler Renelle 6a86da316b chore(mongoose): set some options per #2725 to address high number of open connections, replset connection timeout, and close mongoose connection on process death 2014-02-03 17:57:38 -07:00
Tyler Renelle ac5ef440fe chore(merge): Merge remote-tracking branch 'colegleason/disconnect' into develop
Conflicts:
	src/utils.js
2014-02-02 23:42:59 -07:00
Cole Gleason 85eb0aa38a chore(cluster): disconnect worker on error, then kill after 30 sec
(cc @lefnire): This disconnects the process, sets up a kill timer, and
then sends error emails and responses back to the client. This should
stop new clients from connecting to the dead worker, allow connections
already established to finish, and cause the master to fork a new worker
to pick up the slack immediately.
2014-02-03 00:00:58 -06: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 4494600d92 chore(logging): replace console.* with new logging module 2014-02-01 02:01:19 -06:00
Tyler Renelle b42dacf203 fix(errors): handle if err.message == undefined, send err 2014-01-30 22:13:51 -07:00
Tyler Renelle 8e86fddc64 Revert "chore(cluster): don't kill process until email sent"
This reverts commit 52df534196.
2014-01-30 21:34:14 -07:00
Tyler Renelle 52df534196 chore(cluster): don't kill process until email sent 2014-01-30 17:18:48 -07:00
Tyler Renelle 4f02ccb3b0 chore(cluster): kill & respawn pids on cluster fail, using domain-middleware 2014-01-30 17:01:13 -07:00
Tyler Renelle 6f2f3dd71e chore(newrelic): some newrelic code location experiments 2014-01-30 13:43:30 -07:00
Cole Gleason 187ea1c739 chore(VersionError): add debug code to emails showing completed ops
This adds a field to the email if there is an error on batchUpdate. This
field contains all the attempted operations. So the last item in the
list would be the operation that we encountered the error at. @lefnire,
mind taking a look at this and pushing if you feel comfortable with
adding more to the emails?
2014-01-22 00:50:14 -06:00
Cole Gleason 6d0168364c Revert "chore(errors): send req.body before JSON.parsing @colegleason"
This reverts commit 39f0961b75. @lefnire,
this was just sending `[object Object]` instead of `{}`. We want the
JSON.strigify, actually.
2014-01-20 11:44:10 -06:00
Tyler Renelle 39f0961b75 chore(errors): send req.body before JSON.parsing @colegleason 2014-01-18 18:17:33 -07:00
Tyler Renelle ea0b5b9291 quest: add quest leader. only quest-leader can begin/abort. Abort
restores quest scroll to leader. Bug fixes on clearing quest
data (completion, abort, etc)
2013-12-28 16:36:16 -07:00
Tyler Renelle 1d6679298d server: move config => utils, send headers along with error. Trying to
find out if some of these errors are mobile / not my own apps. Some
requests are malformed, but hitting apiv2's batch-api, i don't see how
this could be happening since both web and mobile are built to use apiv2
properly, unless a 3rd-party is trying to use apiv2 batch-api, but that
seems unlikely
2013-12-28 14:52:21 -07:00
Tyler Renelle c12de954a4 [#1446] add password-reset (still need change password for this to be useful) 2013-09-06 09:33:23 -04:00