Commit graph

52 commits

Author SHA1 Message Date
Ben Gott
c84279cdfe Fix email_hash bug (Issue #393) 2014-10-15 16:48:04 -05:00
Ben Gott
4bb13c9243 Update to use bengott:avatar 0.1.2 2014-10-13 16:14:48 -05:00
Charlie DeTar
b6a98e0deb Add missing adminMongoQuery and notAdminMongoQuery
These parameters, introduced in
ed09d0ea7c, weren't defined in that PR but
should have been.
2014-10-06 09:49:50 -06:00
Sacha Greif
29495788e8 Merge pull request #454 from bengott/avatar-tweaks
Update to use bengott:avatar package for user avatars
2014-10-04 10:14:49 +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
Ben Gott
bab24860d6 Update to use bengott:avatar package for all user avatars 2014-09-30 12:34:42 -05:00
Ben Gott
a3c7de767b Add helpful comments to changes in getAvatarUrl function 2014-09-27 12:46:41 -05:00
Ben Gott
8357e45381 Modify getAvatarUrl function to use larger images for Twitter and Facebook 2014-09-27 12:30:40 -05:00
Jeremy Shimko
d1c85559c5 swap order of subtract() args due to deprecation 2014-09-18 16:30:52 -04:00
Mitchell Wulfman
6fc6b9eb78 cleanup while getting familiar with the codebase 2014-09-16 15:18:27 -04:00
Sacha Greif
67de4f432a Fix gravatar code for good this time (hopefully) 2014-09-12 11:42:44 +09:00
Arunoda Susiripala
9c21aca7d3 added gravatar as well 2014-09-11 21:59:26 +05:30
Sacha Greif
02b146df83 reenable facebook avatars 2014-09-10 14:57:01 +09:00
Sacha Greif
dec414c64a just use gravatars for now 2014-09-10 14:39:18 +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
be82db9072 Disable resetScroll; Simplify adminUsers publication; fix search controller 2014-08-28 11:10:31 +09:00
Sacha Greif
083a4c4dc4 show username if available 2014-08-12 17:47:11 +09:00
Sacha Greif
7f103be36d refactoring and style tweaks 2014-08-05 12:25:26 +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
bc08e8b5cc don't show password field to users who logged in via twitter or facebook 2014-06-22 13:20:10 +09:00
Sacha Greif
1598511dc3 fixing getUsername; fixing site title 2014-05-23 13:08:40 +09:00
Christian Bundy
86ec3ede93 Solve trivial JS errors
Using jshint and and fixmyjs I went through and removed 220 trivial
Javascript errors – mostly missing semicolons, and some properties that
weren’t written in dot notation. You can view the diff of jshint’s
output here:
https://gist.github.com/christianbundy/7b37c51bb6f7c8d739e7/revisions
2014-05-06 20:15:48 -07:00
Ali Elouafiq
731723d6c6 integrating Facebook profile picture and fixing Facebook integration issues 2014-05-04 18:48:47 +01:00
Sacha Greif
4cd03a6a11 refactored notifications; added notifications for new users 2013-11-18 11:30:58 +09:00
Ry Walker
050ca1ba15 Use higher quality gravatar image 2013-11-11 16:29:40 -05:00
Sacha Greif
0bed5aa609 cleaned up user profiles a bit 2013-11-08 11:42:00 +09:00
Sacha Greif
f876eb263e added profile fields for github, twitter, and personal site, and fixed profile avatar 2013-11-07 09:57:57 +09:00
Sacha Greif
676dc3c349 loading relevant users for each post list view 2013-10-25 11:23:16 +09:00
Sacha Greif
86114b7573 make isAdmin work better when user is null 2013-10-25 10:37:39 +09:00
Sacha Greif
c5821d5739 updated router and added nprogress hook 2013-10-24 14:34:50 +09:00
Sacha Greif
7966f0b985 generate user slug from username, make it non-modifiable 2013-10-24 14:24:03 +09:00
Sacha Greif
78bba0e915 invite system 2013-10-23 19:43:42 +09:00
Sacha Greif
2cfbcd2360 improving notifications 2013-10-23 10:21:08 +08:00
Sacha Greif
9c4f030b90 fixing singleUser publication; simplifying user object update/remove permissions 2013-10-21 18:56:22 +08:00
Sacha Greif
ddb65f8ec5 cleaning up user subscriptions 2013-10-09 22:16:47 +09:00
Sacha Greif
7961c7d86f fixed twitter avatar URL 2013-06-13 15:13:12 +09:00
Sacha Greif
59e1304c72 still cleaning up files 2013-04-13 15:10:07 +09:00
Sacha Greif
3f180f027b added rate limiting to posts and comments posting 2012-10-06 13:15:55 +09:00
Sacha Greif
1c2056d2f8 perfected permission and redirection system 2012-10-05 22:46:20 +09:00
Sacha Greif
4e74d43b06 improving permissions 2012-10-05 22:09:13 +09:00
Sacha Greif
ecb7d2b0f4 improving invite and permission system 2012-10-05 14:21:16 +09:00
Sacha Greif
7419ff2cb0 adding canView to permissions 2012-10-05 14:08:46 +09:00
Sacha Greif
e9119ef036 reworking invite system 2012-10-05 13:59:40 +09:00
Sacha Greif
2db120322f now showing avatars with comments 2012-10-03 16:33:28 +09:00
Sacha Greif
93f7803140 added sticky posts 2012-10-02 10:54:04 +09:00
Sacha Greif
40e972fec8 bugfix 2012-10-01 16:15:08 +09:00
Sacha Greif
1bffc8a277 check if user is logging in via twitter to know if their profile is complete 2012-10-01 16:13:56 +09:00
Sacha Greif
0fb9cdf9ca migrating from user_id to userId 2012-10-01 16:08:30 +09:00
Sacha Greif
8774475176 cleaning up syntax 2012-10-01 14:52:32 +09:00