Commit Graph

67 Commits

Author SHA1 Message Date
Tyler Renelle 623175c312 tmp(memleak): try working with apdex score to restart, rather than
response time
2014-10-24 18:42:07 -06:00
Tyler Renelle d6e8d669b1 tmp(memleak): combine mem usage with avg request time 2014-10-17 11:59:39 -04:00
Tyler Renelle 1ffb640833 tmp(memleak): temporary memleak measure to check avg response-time every 3mins. If >650ms (high mem) or ==0 (blackout), restart 2014-10-14 15:21:29 -06:00
Tyler Renelle e5c002bcdb feat(chat): dynamic list of tavern mods (see http://goo.gl/9XhIZ6) 2014-06-29 16:20:38 -06:00
Tyler Renelle 9f1035c317 feat(dilatory): scene damage + boss def/str. bug fixes, tests 2014-06-25 14:12:30 -06:00
Tyler Renelle e3aeaab641 feat(backgrounds): i18n for backgrounds 2014-06-10 18:32:21 -06:00
Tyler Renelle 3edd37f537 fix(mobile): export i18n for mobile so it can temporarily use en translations 2014-05-08 13:56:01 -06:00
Matteo Pagliazzi b887127fb0 refactor(i18n): refactor & fix 2014-05-06 20:04:09 +02:00
Matteo Pagliazzi 1927ce1de1 refactor(i18n): refactor user language detection, add to api methods 2014-05-06 20:04:09 +02:00
Matteo Pagliazzi 8ec69b4f83 improve(i18n): move translations to their own module, use i18n from habitrpg-shared, @djuretic i have remove the tests because the code is now handled in habitrpg-shared, we may add them back there 2014-05-06 20:04:09 +02:00
Tyler Renelle da548ff43f chore(env.t): expose basic env.t() implementation for 'en' so mobile app
can use the function
2014-04-27 17:30:39 -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
Matteo Pagliazzi fb496de42f refactor(caching): only 1 css file, use grunt-contrib-cssmin to rewrite urls 2014-02-12 14:34:50 +01:00
Matteo Pagliazzi 094a4be001 fix(i18n): do not save user language for now 2014-02-12 10:49:10 +01:00
Tyler Renelle f7b4a04a59 feat(event-tracking): add server-side GA tracking for ecommerce events 2014-02-10 11:35:33 -07:00
Matteo Pagliazzi c8639c178d Merge branch 'develop' of https://github.com/HabitRPG/habitrpg into develop 2014-02-08 15:31:43 +01:00
Tyler Renelle e404f35705 Revert "chore(cluster): temporarily disable cluster (revert here)"
This reverts commit e36d3264be.
2014-02-07 14:17:48 -07:00
Matteo Pagliazzi 2807b3f87d chore(logging): remove console.log 2014-02-07 21:08:46 +01:00
Tyler Renelle e36d3264be chore(cluster): temporarily disable cluster (revert here) 2014-02-06 20:12:52 -07:00
Tyler Renelle f7ded9d690 chore(logging): remove console.log(isStaticPage) 2014-02-06 13:28:19 -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
Matteo Pagliazzi 90e9a1aeaa i18n(refactor): load all files in a locale, not the ones defined in app.json, move env.t client code to own file, add env.isStaticPage (from isFrontPage) 2014-02-06 17:17:21 +01:00
Tyler Renelle e268839bcb chore(throttling): lower api limit a tad, just to test 2014-02-05 21:33:24 -07:00
Cole Gleason 4494600d92 chore(logging): replace console.* with new logging module 2014-02-01 02:01:19 -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
Matteo Pagliazzi 5336134c7d refactor(translations) 2014-01-24 22:49:36 +01:00
Matteo Pagliazzi 95f1dc6e60 improve(translation): allow for data interpolation 2014-01-24 18:08:54 +01:00
Matteo Pagliazzi 30188045f2 use habitrpg-shared locales, removed old ones 2014-01-02 20:37:05 +01:00
Matteo Pagliazzi c7e93f7793 remove console.log 2013-12-30 12:28:30 +01:00
Matteo Pagliazzi 34319bdcd3 improved multiple files translations 2013-12-30 12:23:23 +01:00
Matteo Pagliazzi cb07bc9229 allow multiple files for translations 2013-12-30 12:16:42 +01:00
Tyler Renelle a1590f7f3e classes: update some classes wording 2013-12-16 13:03:33 -07:00
Matteo Pagliazzi 9b459e37f3 fix siteVerion check & reload page after batchUpdate if needed, @lefnire let me know what do you think and if it needs to be applied to other routes too 2013-12-06 21:43:25 +01:00
Matteo Pagliazzi 524796ba25 send only one momementjs language 2013-12-06 21:29:13 +01:00
Matteo Pagliazzi c30934bc96 add force refresh middleware & add to batchUpdate 2013-12-06 21:16:22 +01:00
Matteo Pagliazzi b4d910c9cb typo 2013-11-24 21:47:07 +01:00
Matteo Pagliazzi d1698460e0 add momentjs translations, @lefnire this is a little cumbersome, the language is set server-side & momentjs languages are js functions so we can either load another javascript file in the browser or we can load the file content in window.env and execute it with eval which is what is used now. If you do not like this then feel free to revert the commit. It is useful for example for chat messages date and I will also add it to the repeat schedule so that we it is localized too 2013-11-24 21:45:24 +01:00
Matteo Pagliazzi 0c40d44de7 remove clientSideStrings part, stringNotFound added to locales/en/app.json, should be added to other languages, readme updated, $rootscope.translations removed 2013-11-14 14:41:42 +01:00
Tyler Renelle ddb73f806a translations: prep old app.json files for new setup 2013-11-14 01:27:11 -08:00
Tyler Renelle 6512e17454 translations: temporarily using locales_new so we can work with existing
PRs (@paglias). I want to merge to develop sooner-than-later to avoid near-future
conflicts. Pushing to beta
2013-11-13 23:36:18 -08:00
Matteo Pagliazzi d85084c165 translations: add italian sample for testings & fix 2013-11-13 23:21:09 +01:00
Matteo Pagliazzi 47a1605460 merge missing strings from english at server start up 2013-11-13 23:13:00 +01:00
Matteo Pagliazzi 1b0bed0428 translations: add check 2013-11-13 22:04:31 +01:00
Matteo Pagliazzi 83d9368c2e translations: move some computations to server start-up, remove console.log, add translations to $rootScope, update readme, update user.preference.language if not set 2013-11-13 22:01:02 +01:00
Matteo Pagliazzi 22267805ee add support for getting strings under clientSideStrings and update sample 2013-11-12 22:23:47 +01:00
Matteo Pagliazzi be2010b0a2 add sample app.json for new translations, send client side strings to the browser, send languages to the browser with a language name and code 2013-11-12 22:01:27 +01:00
Matteo Pagliazzi 5ddf54466c can change language from setting 2013-11-12 16:13:35 +01:00
Matteo Pagliazzi 154a652726 middleware.locals back to a middleware, use user specified language if avalaible, list of avalaible languages avalaible in window.env 2013-11-12 15:57:46 +01:00
Matteo Pagliazzi 6e33b88c85 remove middleware.splash 2013-11-12 15:10:16 +01:00
Matteo Pagliazzi 1d9148eebb move middleware.locals only where it is needed and transform it into a common function, simplify translations and adds automatic language detection 2013-11-12 14:49:01 +01:00