Matteo Pagliazzi
7ea581bb38
v3 client: fix predicatbale random
2016-05-18 15:30:23 +02:00
Matteo Pagliazzi
4d08fde068
v3: fix auto allocation
2016-05-16 12:17:26 +02:00
Matteo Pagliazzi
e19130bd8c
fix typo custsomerId -> customerId
2016-05-08 15:50:38 +02:00
Matteo Pagliazzi
3364019fcc
v3 and adapted v2: bugs fixes for groups, challenges and tasks
2016-04-29 11:49:12 +02:00
Matteo Pagliazzi
7aa6587f2f
Merge branch 'shared-code-random-drop' of https://github.com/piousbox/habitrpg into piousbox-shared-code-random-drop2
2016-04-19 12:07:18 +02:00
Blade Barringer
33c0cdd569
chore(lint): lint files in preparation for eslint v2
2016-04-15 08:37:05 -05:00
Matteo Pagliazzi
6458796a36
v3: first review of common code and task models
2016-04-12 19:30:39 +02:00
Keith Holliday
3970064fe5
Ported reset. Added unit tests. Added reset route. Added integration tests
2016-04-12 11:19:36 -05:00
Victor Piousbox
2d69285080
shared-code-crit
2016-04-11 20:21:33 +00:00
Matteo Pagliazzi
276cbc58bb
v3: fix cron middleware, remove unused code from shared
2016-04-08 11:56:51 +02:00
Victor Piousbox
3844bafae5
shared-code-random-drop
2016-04-03 16:22:21 +00:00
Matteo Pagliazzi
e95837f69f
Merge branch 'develop' into api-v3
2016-04-02 11:34:04 +02:00
Alys
0ba47de43d
adjust cron so that it prevents a double cron when timezone decreases (timezoneOffset increases)
...
* start to fix cron for when timezones change
* add some incomplete code
* change cron to identify when timezone changes and run only if both zones agree it should run - BAD - does cron an hour early one day later
* change timezone offset variable names
* improve handling of each individual timezone change possibility
* remove unnecessary casting to number
* remove duplicated code
* finish code for dangerous timezone change
* fix linting errors
* remove console.log lines and other testing code
* add a TODO comment for further actions for timezone changes in the "safe" direction
2016-04-02 11:42:15 +10:00
Victor Piousbox
7f3feedd12
shared-code-update-stats
2016-04-01 20:50:28 +00:00
Victor Piousbox
e6e2c26a12
shared-code-user-score-task
2016-04-01 16:11:37 +00:00
Matteo Pagliazzi
3089658cc7
Merge branch 'develop' into api-v3
2016-03-30 23:40:00 +02:00
Alys
ae9e6fbe30
allow cron to record user's current timezone offset in preferences.timezoneOffsetAtLastCron (initial stage of cron timezone fix for https://github.com/HabitRPG/habitrpg/issues/3806 )
2016-03-29 22:34:23 +10:00
Matteo Pagliazzi
bd3c162b97
port allocateNow and autoAllocate
2016-03-20 20:21:15 +01:00
Matteo Pagliazzi
957e1d26d6
add tests for fns/ultimateGear, fns/handleTwoHanded, fns/randomVal, fns/predictableRandom and partial tests for ops/buy
2016-03-19 18:05:02 +01:00
Matteo Pagliazzi
ff72706cae
wip(shared): port buy ops and linked fns
2016-03-19 16:04:27 +01:00
Matteo Pagliazzi
6fa23ae49f
make sure to clone drop so original properties do not change
2016-03-11 19:11:46 +01:00
Matteo Pagliazzi
bb6f0f4252
split user.fns
2016-03-08 18:58:39 +01:00