Commit graph

330 commits

Author SHA1 Message Date
Sacha Greif
8ebc54d227 add new migration in case the original clicksToClickCount didn't work 2014-11-21 12:50:10 +09:00
Sacha Greif
3141c204c2 tweak commentCount migration; fix kadira version; fix path check 2014-11-18 09:56:09 +09:00
Sacha Greif
23079ff9f2 Splitting out router.js in multiple files. 2014-11-17 14:45:23 +09:00
Sacha Greif
cddb3633fc Merge branch 'steffenstraetz-views-clicks-refactor' into meteor1.0
Conflicts:
	lib/router.js
	packages/telescope-notifications/versions.json
2014-11-17 11:31:58 +09:00
Sacha Greif
8d498923b2 Merge branch 'views-clicks-refactor' of github.com:steffenstraetz/Telescope into steffenstraetz-views-clicks-refactor 2014-11-17 11:25:02 +09:00
steffenstraetz
1dcd8e5a22 Update migrations.js
Added migration for user´s data.commentsCount
2014-10-16 22:26:03 +02:00
Steffen Strätz
6d0cf0abe2 Renamed "postCount" to "postsCount" to follow naming pattern of other counters 2014-10-16 08:28:28 +02:00
Steffen Strätz
6e863598d1 Merged 2014-10-16 00:32:08 +02:00
Steffen Strätz
2fd22e9d41 Renamed "postCount" to "postsCount" to follow naming pattern of other counters 2014-10-16 00:12:13 +02:00
Steffen Strätz
226645b770 Refactored "data.commentsCount" to "commentsCount" 2014-10-15 23:59:02 +02:00
Ben Gott
c84279cdfe Fix email_hash bug (Issue #393) 2014-10-15 16:48:04 -05:00
Steffen Strätz
e98f4f4da9 Fixed initial value for user commentCount 2014-10-15 22:38:05 +02:00
Steffen Strätz
741dbc326f Added migrations "commentCountToCommentsCount" and "clicksToClicksCount" 2014-10-15 21:49:15 +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
Sacha Greif
13484d6e6a Not using Notifications collection anymore, so get rid of this migration 2014-10-08 15:15:34 +09: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
Delgermurun
0ff3fc7dba rename getParameters to getPostParameters 2014-09-29 15:42:35 +08:00
Sacha Greif
7b194e4cc3 Merge pull request #377 from niklasdstrom/publication-validation
Publication validation
2014-09-23 11:22:06 +09:00
Sacha Greif
2a911217e9 Making notifications into their own package 2014-09-20 09:57:09 +09:00
Sacha Greif
a90c254cde only publish all users to admin 2014-09-20 08:57:58 +09:00
Sacha Greif
d78cb03b89 fix comment publication bug 2014-09-19 20:00:22 +09:00
Mitchell Wulfman
6fc6b9eb78 cleanup while getting familiar with the codebase 2014-09-16 15:18:27 -04:00
Sacha Greif
f67ad0b7ae regenerate email hash on profile update 2014-09-12 11:54:04 +09:00
Sacha Greif
67de4f432a Fix gravatar code for good this time (hopefully) 2014-09-12 11:42:44 +09:00
Sacha Greif
c0dc98f7bf fixing categories 2014-09-08 17:39:59 +09:00
Niklas Ström
7ea30d173d require user to be admin to listen to allUsers notification 2014-09-08 12:45:29 +08:00
Sacha Greif
d35d516a1c refactoring publications 2014-09-04 16:39:35 +09:00
Sacha Greif
effa992837 fixing invite bug 2014-09-04 16:39:16 +09:00
Sacha Greif
f45126f8dd splitting out publications into separate files 2014-09-03 09:56:38 +09:00
Sacha Greif
6dee86463a paginating user profile on the client 2014-09-03 09:46:39 +09:00
Sacha Greif
21c6dc6854 using sanitizeHTML and adding migrations 2014-09-01 09:33:50 +09:00
Sacha Greif
619577d6cd migration tweak 2014-08-30 10:04:56 +09:00
Sacha Greif
8ae358181e Got rid of meteorhacks:npm packages; moved email features to their own package 2014-08-29 10:23:11 +09:00
Sacha Greif
f704c812ef Fixed rss package 2014-08-28 13:39:30 +09:00
Sacha Greif
be82db9072 Disable resetScroll; Simplify adminUsers publication; fix search controller 2014-08-28 11:10:31 +09:00
Sacha Greif
735f0645db move votes to their own object on user object 2014-08-23 11:53:37 +09:00
Sacha Greif
df479d43c3 Stop tracking comments in User object; Refactor publications; add data property to user 2014-08-23 11:28:05 +09:00
Sacha Greif
9b8e16f177 now showing comments on user profile page 2014-08-22 17:06:22 +09:00
Sacha Greif
f2808ee764 rerun interrupted migrations 2014-08-22 11:25:05 +09:00
Sacha Greif
063242b78d Changed comments to CommentsCount; Now tracking _ids of commenters on each Post document 2014-08-22 10:31:05 +09:00
Sacha Greif
8eb91a2c64 notifications are now a menu item 2014-08-20 17:03:54 +09:00
Philip Nuzhnyy
932f56bc1f merge master 2014-08-12 16:02:05 +02:00
Sacha Greif
509972f18a Now keeping track of upvoted/downvoted posts & comments. 2014-08-11 10:14:53 +09:00
Sacha Greif
58ca8d389f Fixing latency compensation issue 2014-08-06 12:02:17 +09:00
Sacha Greif
23c72bd7bb Updating history 2014-08-06 10:44:19 +09:00
Sacha Greif
7f103be36d refactoring and style tweaks 2014-08-05 12:25:26 +09:00
Sacha Greif
3f8c868bdc almost done with newsletter banner 2014-08-05 11:24:54 +09:00
Sacha Greif
af4a9ee413 working on sync/async issues 2014-08-05 10:59:54 +09:00
Sacha Greif
be0ab69c7b Adding footer and hero modules; working on newsletter subscribe banner 2014-08-05 10:16:05 +09:00
Sacha Greif
68bbae0a4c improving digest 2014-08-04 20:58:02 +09:00