Commit graph

10 commits

Author SHA1 Message Date
Sacha Greif
03f450e9d2 move posts and comments templates to their respective packages 2015-04-22 12:09:57 +09:00
Nolan Darilek
f89e8ff7e2 Various accessibility fixes, mainly hiding unnecessary elements from screen readers, adding screen-reader-only content and using live regions for real-time content. 2015-02-12 23:44:59 -06:00
Sacha Greif
4d40664d08 Show approve link for all pending posts no matter the setting 2015-02-11 19:29:07 +09:00
Sacha Greif
dbc42a7b51 renaming i18n helper from "i18n" to "_" 2014-11-25 17:16:00 +09:00
Sacha Greif
e572274249 i18ning missing strings 2014-11-20 14:55:34 +09:00
Steffen Strätz
6e863598d1 Merged 2014-10-16 00:32:08 +02:00
Steffen Strätz
e7e1accc79 - Added view counting for posts
- Refactored click counting to match view counting
- Renamed User "commentCount" to match Post "commentsCount"
- Removed security issue in client side click counting (now calling server method instead)
2014-10-15 21:23:43 +02:00
Charlie DeTar
ed09d0ea7c Fully abstract isAdmin
We're using a fork with a different definition of "isAdmin" (using
``meteor-roles`` rather than the boolean user.isAdmin).  ``lib/user.js``
provides abstracted methods for reading admin state, which makes it very
easy to change our definition -- except that the abstractions weren't
used universally.

This commit finishes the job of using the abstractions, and adds a few
new parts to also allow abstracting setting and updating admin-ness:

 - setAdmin: sets admin status directly on a user object.
 - updateAdmin: executes a mongo update to set admin status.
 - adminMongoQuery: the query parameter for admin-ness, for composing
   user queries with other fields.
 - notAdminMongoQuery: the query parameter for not-admin-ness.
2014-10-03 16:21:06 -06:00
Sacha Greif
4ad020174c Separating themes; adding accounts-entry 2014-08-12 16:16:44 +09:00
Sacha Greif
c40fbcb9f3 working on mobile version; added new postHeading and postMeta hooks 2014-07-14 10:12:02 +09:00