Граф коммитов

215 Коммитов

Автор SHA1 Сообщение Дата
Paul Smith ee57862d3a Group recommendations by STEAM category 2013-06-05 09:45:26 -04:00
Paul Smith 655fab04bc Use consistent capitalization 2013-06-05 00:34:17 -04:00
Andrew Hayward 847b0c78e8 Template updates 2013-06-05 04:38:07 +01:00
Paul Smith 25d48d3692 Merge in from master 2013-06-04 22:26:40 -04:00
Paul Smith 8720ca969a Initial markup of recommended badges in playlist 2013-06-04 22:17:51 -04:00
Andrew Hayward 30c2d6c12d Storing learner birthday 2013-06-04 22:59:22 +01:00
Paul Smith e390cac55f Switch playlist to use new getAllBadges call 2013-06-04 17:06:09 -04:00
Paul Smith bf913576ce Remove console.log statements 2013-06-04 17:05:53 -04:00
Andrew Hayward e353308741 Merge branch 'master' into guardians
Conflicts:
	controllers/backpack.js
2013-06-04 21:54:00 +01:00
Paul Smith 7d7cb4e9d5 Ability to add badges to playlist & display them
The basic functionality works, but the key missing piece is that the
*getBadges* API call to openbadger, as exposed in the openbadger.js module,
doesn't return all badges, which we need to filter down on.

The next step is to add another middleware function that returns **all** of
the badges from openbadger.
2013-06-04 16:02:59 -04:00
Chris McAvoy 49c2dab808 Merge pull request #418 from curlee/master
fixes for assigned tickets
2013-06-04 12:25:31 -07:00
Chris McAvoy 346cdde9f6 Merge remote-tracking branch 'origin/master' 2013-06-04 14:18:50 -05:00
Ian Dees 5d11dcd0f1 Filter out the accepted applications. 2013-06-04 19:03:35 +00:00
Paul Smith ec132b6067 Refactor playlist view 2013-06-04 14:31:38 -04:00
Joe Curlee d0dd39659d limited badge recommendations on badge detail page to 4. fixes #383 2013-06-04 11:45:46 -05:00
Paul Smith 7305fe3566 Initial /myplaylist view 2013-06-04 11:54:10 -04:00
Paul Smith c7a5560290 Minor refactor 2013-06-04 11:29:45 -04:00
Andrew Hayward 9a0c260ade Refactoring 2013-06-04 13:54:03 +01:00
Paul Smith e75385b4a9 Merge in from master 2013-06-04 08:37:44 -04:00
Andrew Hayward be070bddc3 Merge branch 'master' into guardians
Conflicts:
	openbadger.js
2013-06-04 12:43:15 +01:00
Ian Dees 616ae82b54 Give /myapplications/:id a page and include a style for the application state. 2013-06-04 04:22:20 +00:00
Ian Dees b82af27e78 Add a /myapplications/:id endpoint. 2013-06-04 02:58:16 +00:00
Atul Varma e7d5bc57ae Health check subsystems can provide richer data about their status.
Specifically, if they set a 'notes' property on their metadata object,
it will be displayed in the console version of their results, for
easier debugging.
2013-06-03 22:18:28 -04:00
Ian Dees 360232bab7 Merge remote-tracking branch 'upstream/master' into myapplications
Conflicts:
	controllers/backpack.js
2013-06-04 01:57:02 +00:00
Andrew Hayward ab9cb3b7f8 Merge branch 'master' into guardians
Conflicts:
	openbadger.js
2013-06-04 01:33:32 +01:00
Andrew Hayward 38030f0935 Allow/deny applications 2013-06-04 01:31:40 +01:00
Atul Varma ec4b9ce536 No more killing the server at startup if healthcheck fails.
However, we do print a big red message telling anyone watching that
things are seriously messed up.
2013-06-03 18:56:00 -04:00
Atul Varma 4bf40a8222 Added /health_check endpoint, with health check at startup too.
The health check ensures that s3, aestimia, openbadger, and MySQL
connections are all functional.

Currently the cookie secret is used as the password at /health_check but
we can change this later in app.js.
2013-06-03 16:30:31 -04:00
Chris McAvoy 7632ee763f Merge pull request #380 from curlee/master
badge recommendations
2013-06-03 12:57:12 -07:00
Joe Curlee 43638fa1db implemented related badges on badge detail page. added getBadgeRecommendations to openbadger api 2013-06-03 11:43:52 -05:00
Andrew Hayward 4b74f5f0db Merge branch 'master' into guardians 2013-06-03 16:54:23 +01:00
Andrew Hayward 60284c40de Views 2013-06-03 16:46:30 +01:00
Chris McAvoy 5e9c0b7d72 Merge pull request #365 from paulsmith/mybadges
[WIP] implement /mybadges part deux
2013-06-03 08:43:53 -07:00
Chris McAvoy e5e51a9ec2 Merge pull request #364 from andrewhayward/filtering
Filtering badges and programs
2013-06-03 08:39:39 -07:00
Paul Smith 1c109f0bc6 1st pass at favorites middleware for badge lists 2013-06-03 11:07:59 -04:00
Paul Smith 7e9aa52eb9 Refactor favoriting a badge to class method 2013-06-03 10:12:06 -04:00
Paul Smith 895417e2d5 Minor 2013-06-03 09:12:48 -04:00
Andrew Hayward 21bf0194c2 Merge branch 'master' into guardians 2013-06-03 12:22:59 +01:00
Ian Dees b4bf0e7a69 Merge the application and badge together so we can show more data. 2013-06-03 03:33:03 +00:00
Paul Smith 871e316858 Start work on favorites
Implemented:

 - DB model
 - Add badge to favorites view
2013-06-02 23:29:33 -04:00
Ian Dees f26c496c71 Include the badge id when normalizing the badge representation. 2013-06-03 02:28:56 +00:00
Andrew Hayward 3a47b8f3e1 Dashboard bits and pieces 2013-06-03 02:43:34 +01:00
Andrew Hayward 1bc961396d Preventing initial application creation
Applications were being created when first visiting the page, rather than on first submission, potentially leading to a lot of orphan applications.
2013-06-03 02:18:24 +01:00
Andrew Hayward 478ba31336 Merge branch 'master' into guardians
Conflicts:
	controllers/backpack.js
	middleware.js
	openbadger.js
	views/layout.html
2013-06-03 01:05:11 +01:00
Ian Dees 0aa6352489 Customize the item for the applications list.
Thanks to https://github.com/stenington/CSOL-site/compare/my-applications
2013-06-02 23:28:19 +00:00
Paul Smith f18eaca319 Add rough display of similar badges in detail view 2013-06-02 17:08:54 -04:00
Paul Smith 0c92894529 Add issued by and issued to on badge detail view 2013-06-02 16:24:21 -04:00
Andrew Hayward 4a25343684 Updating filtering template 2013-06-02 21:00:15 +01:00
Paul Smith 6aae2d8303 Add placeholder for badge description
Awaiting the 'description' field in the openbadger API call, see
https://github.com/mozilla/openbadger/issues/175
2013-06-02 15:42:51 -04:00
Ian Dees b0715d5e87 Point to a different template for applications. 2013-06-02 19:25:02 +00:00
Ian Dees d1ecbe6edc Initial impl of myapplications. 2013-06-02 19:14:03 +00:00
Joe Curlee 199e5c99b8 renamed /learn to /explore. fixes #344 2013-06-01 17:44:36 -05:00
Joe Curlee df4d0e3a03 changed organisation to organization. fixes #345 2013-06-01 17:32:45 -05:00
Joe Curlee 192d050223 Replaced VPAT with FAQ on homepage and changed page title, header and filename. closes #348 2013-06-01 17:08:06 -05:00
Andrew Hayward 0d2d65b5c0 Basic dashboard views 2013-06-01 20:29:13 +01:00
Andrew Hayward 328be700cc Basic dashboard setup 2013-06-01 00:18:42 +01:00
Andrew Hayward fb63fcc29d Restricting backpack pages to learners 2013-06-01 00:17:52 +01:00
Andrew Hayward 7fff33fa29 Upstream merge 2013-05-31 22:38:14 +01:00
Chris McAvoy 7df03b7b02 merging andrews aestimia branch 2013-05-31 15:39:39 -05:00
Chris McAvoy 413a21d428 resolving conflict 2013-05-31 13:42:28 -05:00
Andrew Hayward d7034726e2 Merge branch 'master' into aestimia
Conflicts:
	README.md
2013-05-31 17:27:58 +01:00
Mike Larsson cfbbeba59e Add basic, ugly mybadges details page 2013-05-31 12:21:00 -04:00
Andrew Hayward 42ec6ccc96 Adding `reopen` action 2013-05-31 17:15:40 +01:00
Mike Larsson 9d7b65d500 Change /backpack/badges to /mybadges
Remove /backpack
Require login for /mybadges
Add openbadger method to fetch user badges
Add session to query object passed to api methods
Basic /mybadges display (doesn't really work until openbadger changes are made)
2013-05-31 11:52:41 -04:00
Mike Larsson a5a92918c2 Adding basic claim code confirmation screen 2013-05-31 11:50:27 -04:00
Mike Larsson bf2460d7a2 Require a missing module 2013-05-31 11:41:38 -04:00
Erik Christensen 304a3dde3a Merge branch 'master' of http://github.com/mozilla/CSOL-site.git 2013-05-31 08:26:36 -07:00
Andrew Hayward 8ebd4c561a Merge branch 'master' into aestimia
Conflicts:
	controllers/auth.js
	models/learner.js
2013-05-31 16:19:17 +01:00
Andrew Hayward 84c7ead4ea Merge branch 'master' into passwords
Conflicts:
	static/media/css/core.css
2013-05-31 16:13:54 +01:00
Mike Larsson bb29e2964c Adding claim model to handle badge claim requests and approval process 2013-05-31 11:04:55 -04:00
Mike Larsson 61a090a86d Adding basic claim code confirmation screen 2013-05-31 11:04:55 -04:00
Andrew Hayward e290aa8218 Merge branch 'master' into sign-up
Conflicts:
	static/media/css/core.css
	static/media/less/core.less
2013-05-31 15:27:40 +01:00
Andrew Hayward a0cda30a98 Aestimia submission callback handling 2013-05-31 15:25:04 +01:00
Andrew Hayward d97896d9b6 Fixing email address 2013-05-31 15:16:23 +01:00
Erik Christensen cc951338bd Changed childname to earnername 2013-05-30 14:05:29 -07:00
Erik Christensen e8b62cf5b2 Adding support for *|CHILDNAME|* in email templates 2013-05-30 09:03:43 -07:00
Andrew Hayward 12e66016f8 Fleshing out the session user 2013-05-30 17:00:23 +01:00
Andrew Hayward 0b88cabd1e Merge branch 'master' into passwords
Conflicts:
	static/media/css/core.css
	static/media/css/core.min.css
2013-05-30 16:43:30 +01:00
Andrew Hayward 1c051ad8d3 Merge branch 'applications' into aestimia 2013-05-30 14:24:15 +01:00
Andrew Hayward 4835a42374 Fixing application learner id error
// Oops
2013-05-30 14:24:01 +01:00
Andrew Hayward e30ec86128 Filling out session user 2013-05-30 14:23:00 +01:00
Andrew Hayward 41cf483ecd Making user flow a bit better 2013-05-30 13:41:08 +01:00
Andrew Hayward 9224305b8f Allowing everyone access to evidence via `GET` 2013-05-30 13:12:30 +01:00
Andrew Hayward ea38e52529 Template/logic updates for first/last name 2013-05-30 10:47:24 +01:00
Andrew Hayward 93faac386e Merge branch 'master' into applications
Conflicts:
	README.md
	lib/errors.js
	static/media/css/core.css
	static/media/less/core.less
	views/badges/single.html
2013-05-30 02:13:04 +01:00
Andrew Hayward 07b9e2b37c Merge branch 'master' into passwords
Conflicts:
	static/media/css/core.css
	static/media/less/core.less
2013-05-30 01:21:40 +01:00
Andrew Hayward 2994cae543 Password reset functionality 2013-05-30 01:06:06 +01:00
Chris McAvoy d071d48084 Merge remote-tracking branch 'stenington/mandrill-email' 2013-05-29 11:57:45 -05:00
Chris McAvoy d2bf5dd2c2 Merge remote-tracking branch 'stenington/claims' 2013-05-29 11:45:10 -05:00
Chris McAvoy 6c09833b84 Merge remote-tracking branch 'origin/master' 2013-05-29 11:42:14 -05:00
Andrew Hayward edab98a0b4 Ensuring all learners have email addresses 2013-05-29 16:17:58 +01:00
Mike Larsson 0b4160fdd5 Adding 409 Conflict error class, differentiating the claim code error reporting a bit 2013-05-29 09:29:25 -04:00
Andrew Hayward efe2b23702 Yep, still an idiot 2013-05-29 12:24:36 +01:00
Mike Larsson 1adb982b48 Add redirect back to claims page after login 2013-05-28 21:57:01 -04:00
Mike Larsson fc6237648f Add openbadger.claim() method, and implement basic badge claim flow 2013-05-28 20:56:49 -04:00
Andrew Hayward ad931a8a21 Application controllers 2013-05-28 20:46:24 +01:00
Joe Curlee db1df10440 added underage to user data. required for <13 specific Copy. 2013-05-24 14:30:23 -05:00
Mike Larsson c3ce74e089 Insert confirmation url into <13 signup emails 2013-05-23 18:44:34 -04:00
Mike Larsson 870a230081 Fixes various bugs in mandrill.js
Adds more detailed logging to mandrill.js
Send confirmation emails on learner account signup.
2013-05-23 15:44:57 -04:00
Andrew Hayward 4753244ba2 Merge branch 'master' into applications 2013-05-22 10:38:30 -04:00