Commit graph

25741 commits

Author SHA1 Message Date
Tyler Renelle
cde3bb4c69 user._v & group._v fixes 2013-11-04 13:43:24 -08:00
Matteo Pagliazzi
d0c29eba78 move js & css files to public/manifest.json, allow for stylus files editing without restarting server on development, removed hashres from dev build 2013-11-04 22:13:03 +01:00
Tyler Renelle
c6634b5539 temp migration to remove invalid due dates since npmjs is down 2013-11-04 12:19:56 -08:00
Tyler Renelle
3e6eaf6f2f sanitize challenge update 2013-11-04 12:19:40 -08:00
Matteo Pagliazzi
54225d38f1 re-add angular-resource 2013-11-04 20:29:30 +01:00
Matteo Pagliazzi
fadce5b3be remove sticky that is not used it seems 2013-11-04 19:45:03 +01:00
Matteo Pagliazzi
c16fa8ccf2 add restangular 2013-11-04 19:36:45 +01:00
Matteo Pagliazzi
2fb83c5b6f bower remove jquery cookie & reorganize 2013-11-04 19:32:16 +01:00
Tyler Renelle
15d9e33252 [#1745] task.date as string instead of date 2013-11-04 09:12:32 -08:00
Tyler Renelle
7161ddf70e bug fix on saving chal 2013-11-04 09:08:30 -08:00
Matteo Pagliazzi
63b4e5152e better fix #1740 2013-11-04 15:21:05 +01:00
Matteo Pagliazzi
774ded9fb2 fix #1740 2013-11-04 15:17:09 +01:00
Tyler Renelle
f467dcb3c9 [#1712] restore streaks, values, dates, tags that got lost in the
challenges migration
2013-11-04 01:41:23 -08:00
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
Tyler Renelle
8e38aa1332 better task defaults, since we may not be able to use Mongoose
TaskSchema (see http://goo.gl/a5irq4)
2013-11-02 11:11:28 -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
Matteo Pagliazzi
8503c37fde compile & upgrade browserify for grunt-browserify 2013-11-02 09:55:18 +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
669f39a48d upgrade lodash to 2.2.1 2013-11-02 09:53:09 +01:00