Tyler Renelle
4f52c7e15d
[ #1722 ] have to click twice for options.profile.profile
2013-11-04 00:41:16 -08:00
Tyler Renelle
b7479e7839
use $elemMatch for better performance on fetching challenge participants
2013-11-04 00:27:44 -08:00
Tyler Renelle
0d6d20b939
[ #1740 ] temp workaround to chat duplication
2013-11-03 23:39:09 -08:00
Tyler Renelle
c9776b8857
fix to deleting chat message
2013-11-03 23:30:09 -08:00
Tyler Renelle
aa8cdfb198
bug fix to challenge.tasks._id out of sync
2013-11-03 22:47:20 -08:00
Tyler Renelle
452c4e1ece
[ #1729 ] move most chal-user syncing logic to their models rather than
...
controllers. don't sync task.value or task.history over to user on
challenge.join()! some work-arounds for the task._id/id mismatch (still
not perfect, need to work on some more)
2013-11-03 22:33:53 -08:00
Tyler Renelle
7060f75c83
[ #1741 ] remove _id from TaskSchema (we're too deep in our legacy task.id
...
requirement, we can revisit later)
2013-11-03 21:17:33 -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
Tyler Renelle
427a70e76d
[ #1731 ] update guild gems wording
2013-11-03 18:30:50 -08:00
Tyler Renelle
de05d7dfda
[ #1735 ] fix to 6f6df94
2013-11-03 18:00:26 -08:00
Tyler Renelle
14fac02a52
[ #1738 ] add due date to taskSchema
2013-11-03 17:53:51 -08:00
Tyler Renelle
6f6df94ce7
[ #1735 ] save timezone to userobj in browser as well as sending to server,
...
so we don't hit an infinite loop
2013-11-03 17:47:38 -08:00
Tyler Renelle
557ce59c71
back to non-halloween NPCs
2013-11-03 17:44:46 -08:00
Matteo Pagliazzi
33c78c7168
more fixes for guild leaving
2013-11-03 12:12:43 +01:00
Matteo Pagliazzi
126fd55ec6
update guild member count
2013-11-03 12:00:57 +01:00
Matteo Pagliazzi
06f6dc0a43
better guild join/leave
2013-11-03 11:58:42 +01:00
Tyler Renelle
7e811b9998
safety-check task removal
2013-11-02 18:29:53 -07:00
Tyler Renelle
62012a1052
fix adding challenges as subdoc to groups. write migration to restore those that have been created. Also in migration fix missing task.ids (taskSchema issue)
2013-11-02 18:05:14 -07:00
Tyler Renelle
c5d3d142d9
[ #1711 ] taskSchema back to doc so we can use .id(). The performacne hit isn't
...
drastic, it was the history entries that was hurting us
2013-11-02 17:09:24 -07:00
Tyler Renelle
e84aa13d62
fix reroll
2013-11-02 16:58:24 -07:00
Tyler Renelle
ba8a8d2494
add .id back to task schema
2013-11-02 16:40:00 -07:00
Tyler Renelle
8a9059aabf
[ #1723 ] send down pets array for clicked members for now (we'll eventually want to just
...
send count(items.pets) for better performance)
2013-11-02 16:22:42 -07:00
Tyler Renelle
646a5c942b
[ #1716 #1705 ] working modal for challenge.participants.stats! also don't
...
scroll to top of page. We'll want to test that this doesn't break
anything else in the app, @paglias looks like the guys on that thread
felt pretty dirty about this workaround for some reason
2013-11-02 16:07:12 -07:00
Tyler Renelle
989bdc245b
challenges: fix adding new tasks on update
2013-11-02 15:19:56 -07:00
Tyler Renelle
838108d579
[ #1711 ] got it! task.*.history & user.history as defined schemas was the
...
problem, since they're arrays of >100 each
2013-11-02 12:49:08 -07:00
Tyler Renelle
01536a2e29
Revert "[ #1711 ] back to Schema.Types.Mixed for user.tasks, this makes me sad :("
...
This reverts commit c0292d0842 .
2013-11-02 12:24:05 -07:00
Tyler Renelle
c0292d0842
[ #1711 ] back to Schema.Types.Mixed for user.tasks, this makes me sad :(
2013-11-02 11:41:34 -07:00
Matteo Pagliazzi
f784e2a0d2
remove blank line
2013-11-02 15:55:28 +01:00
Matteo Pagliazzi
567b69a0f1
fix #1669
2013-11-02 15:54:10 +01:00
Matteo Pagliazzi
9454a3a629
should help performances, it inserted the whole group leader object into the profile attr
2013-11-02 12:40:36 +01:00
Matteo Pagliazzi
d024470abe
update gem count after guild creation
2013-11-02 10:04:31 +01:00
Matteo Pagliazzi
3fa023452f
Merge branch 'develop' of https://github.com/HabitRPG/habitrpg into develop
2013-11-02 09:56:32 +01:00
Tyler Renelle
0a6eefe5c1
[ #1718 ] order of operations on group check. (false && false || true) ==
...
true... am I just a n00b?
2013-11-02 01:54:54 -07:00
Matteo Pagliazzi
b08a30a76b
Merge branch 'develop' of https://github.com/HabitRPG/habitrpg into develop
2013-11-02 09:54:44 +01:00
Matteo Pagliazzi
5a103db716
upgrade lodash to 2.2.1
2013-11-02 09:52:48 +01:00
Tyler Renelle
08498e37ac
[ #1718 ] don't 404 for group not found
2013-11-02 01:38:51 -07:00
Matteo Pagliazzi
898adfdc13
fix when leaving public guild
2013-11-02 09:34:56 +01:00
Tyler Renelle
8ae75e09c5
[ #1716 ] use ui-router to collapse challenge participants (WIP)
2013-11-01 23:46:14 -07:00
Tyler Renelle
43eafb3cb7
[ #1711 ] refactored handling of group population
2013-11-01 22:45:26 -07:00
Tyler Renelle
b512f16223
[ #1711 ] more limiting fields returned by party/guild queries
2013-11-01 22:45:26 -07:00
Tyler Renelle
87bc7fd722
[ #1710 ] fix to party-in-header
2013-11-01 20:32:43 -07:00
Tyler Renelle
62b2d5780b
[ #1710 ] some simplification on Groups memoization. No need for all that
...
special handling of Header Party, just have it's own controller and do
specific-handling. Also, removing MenuCtrl & StatsCtrl - they weren't
used TMK, I think twas a vestige of mobile. @paglias give that a gander
2013-11-01 20:15:04 -07:00
Tyler Renelle
65b18f3af1
[ #1711 ] limit number of members that get sent down with group, limit profile
...
fields sent down
2013-11-01 19:27:08 -07:00
Tyler Renelle
74e4ef0414
add bailey for challenges
2013-11-01 17:18:14 -07:00
Tyler Renelle
a143cf09f0
Merge pull request #1710 from HabitRPG/paglias/no-reloading
...
Paglias/no reloading
2013-11-01 17:07:03 -07:00
Tyler Renelle
0638888e4b
make sure task._id == task.id (we should put this in pre(save) or something)
2013-11-01 13:38:46 -07:00
Tyler Renelle
57116d949a
[ #1709 ] fix to 'user is not defined' (for whomever is using this route, not
...
us. we need to clean up our api)
2013-11-01 13:38:46 -07:00
Tyler Renelle
fbbcecc6e2
[ #1708 ] fix to taskDefault when creating a task and scoring
2013-11-01 13:38:46 -07:00
Matteo Pagliazzi
03b945d755
update memberCount & typo
2013-11-01 21:18:31 +01:00
Matteo Pagliazzi
f7dba5f323
avoid reloading for group operations
2013-11-01 21:08:36 +01:00