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
Tyler Renelle
f785621da4
grunt for task defaults issue
2013-11-01 13:27:08 -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
Matteo Pagliazzi
2da33b0355
add loading bar to front page too
2013-11-01 21:07:44 +01:00
Tyler Renelle
6d786b43dd
add task._id = task.id on taskDefaults
2013-11-01 13:03:27 -07:00
Tyler Renelle
084c7d3001
remove workaround
2013-11-01 13:01:38 -07:00
Tyler Renelle
a374f67549
[ #1708 ] tmp workaround for task not defined
2013-11-01 12:43:57 -07:00
Tyler Renelle
4b4a043a5f
[ #1685 ] add help popover to explain challenge task coloring / charts
2013-11-01 11:09:49 -07:00
Tyler Renelle
2f83ac27ae
[ #1702 ] much more thorough migration of tasks to new schema, providing defaults
...
where task attrs fail type checks
2013-11-01 10:43:24 -07:00
Matteo Pagliazzi
eccc9a7953
Merge branch 'develop' of https://github.com/HabitRPG/habitrpg into develop
2013-11-01 18:33:54 +01:00
Matteo Pagliazzi
3562079ba6
small design tweaks, fix #1682
2013-11-01 18:33:50 +01:00
Tyler Renelle
7037e1c8eb
[ #1672 ] don't allow clicking checkboxes on challenge-editing page
2013-11-01 10:20:14 -07:00
Tyler Renelle
907f8792a6
[ #1678 ] dont' show tag editor when challenge-editing
2013-11-01 09:58:22 -07:00
Tyler Renelle
37027ac874
[ #1672 ] assign tasks.id = tasks._id for challenges, fixes html ids & for lables
2013-11-01 09:48:22 -07:00
Tyler Renelle
cc5126f09b
challenges: 404 challenge not foudn on GET /challenge/:cid
2013-11-01 00:30:39 -07:00
Tyler Renelle
751ae60342
[ #1701 ] don't sync chal scoring for broken chals
2013-10-31 20:37:56 -07:00
Tyler Renelle
dfeae89a07
challenges: minimum 1 gem for public challenges
2013-10-31 19:30:07 -07:00
Dušan Juretić
142024b818
define karma task for continuous integration
2013-10-31 22:45:10 -03:00
Dušan Juretić
f4ac5dfe8c
fix unit tests
2013-10-31 22:35:35 -03:00
Tyler Renelle
58fa97fb19
challenges: shortcode for tag names & task tooltips
2013-10-31 18:18:34 -07:00
Dušan Juretić
8743e00b62
show how to run tests in readme
2013-10-31 22:07:19 -03:00
Tyler Renelle
0ce76ee689
[ #1673 ] challenges: better tag-syncing, show tag bull-horn
2013-10-31 17:49:51 -07:00
Tyler Renelle
287beb363f
challenges: chal creator auto-joins
2013-10-31 16:50:22 -07:00
Tyler Renelle
baf52db594
[ #1670 ] don't refresh on challenge create/join/leave (meh, workaround)
2013-10-31 16:39:26 -07:00
Tyler Renelle
b3804c4d1f
[ #1675 ] fixes to populating Group.challenges, and display challenges in party
...
page. I'm not sure about having challenges as a subdoc anymore, i think
it will be better performance and maintenance if we just reference
Challenge.group/members and remove User.challenges & Group.challenges
2013-10-31 16:20:48 -07:00
Tyler Renelle
4afcd406f5
[ #1675 ] GET /challenges retrieves challenges in groups I belong to. As a result,
...
we need to be sure to manage adding/removing Group.challenges properly
2013-10-31 15:48:21 -07:00
Tyler Renelle
14b5044fd7
[ #1695 ] add access control to update/deleting challenges
2013-10-31 15:32:30 -07:00
Tyler Renelle
d8218927e5
add debug buttons back in, including +10 gems (@sabrecat)
2013-10-31 15:14:19 -07:00
Tyler Renelle
238d796ec4
[ #1677 ] only set TASK_DELETED on tasks in current challenge (don't clobber other
...
challenges)
2013-10-31 14:52:24 -07:00
Tyler Renelle
39821752fa
challenges: move options/challenges to options/social/challenges
2013-10-31 14:37:04 -07:00
Tyler Renelle
012dabf8b6
challenges: visually collapse members list (still loads the full thing, revisit later)
2013-10-31 14:26:48 -07:00
Tyler Renelle
4a442d924e
challenge: small tweaks on descriptions
2013-10-31 14:16:01 -07:00
Tyler Renelle
d5e78266e5
challenge prize: various fixes. Woo, challenge prizes work now!
...
@sabrecat @lemoness @wc8 (still some bugs & cleanup, but it's mostly there)
2013-10-31 14:06:18 -07:00
Tyler Renelle
693061c77b
challenge prize: award winner 1 achievement and challenge.prize gems. then close challenge.
2013-10-31 13:57:12 -07:00
Tyler Renelle
9d15e724e2
challenge prize: award winner 1 achievement and challenge.prize
...
gems. then close challenge.
2013-10-31 13:49:31 -07:00
Tyler Renelle
f6ebd9997e
challenge gems: popover for closing (delete or select winner)
2013-10-31 13:26:18 -07:00