Commit graph

16 commits

Author SHA1 Message Date
Sacha Greif
fe222144f2 fix case 2015-01-22 12:03:44 +09:00
Sacha Greif
3e415dce78 Merge branch 'telescope-master-profile-hooks' of github.com:AdmitHub/Telescope into AdmitHub-telescope-master-profile-hooks
Conflicts:
	client/views/posts/modules/post_info.html

Note:
	adapted PR to only keep some of the added features
2014-12-04 12:38:20 +09:00
Charlie DeTar
83bb43ab46 Add hooks so packages can modify profiles
Add the following hooks:
 - ``addToUserSchema``: fields to add to the (currently unused) user
   Schema
 - ``postAuthor``: templates to use when rendering the post author in the
   byline
 - ``userProfileDisplay``: additional templates to add to the user
   profile display.
 - ``userProfileEdit``: additional templates to add to the user profile
   editing form.
 - ``userProfileFinishSignup``: additional templates to show in the view
   for completing user signup (adding email, username, etc).
 - ``userEditRenderedCallbacks``: Callbacks executed on "rendered" for
   user_edit view.
 - ``userEditClientCallbacks``: Callbacks used to further process user
   properties before saving changes in user_edit view.
 - ``userProfileCompleteChecks``: Functions called to determine whether
   a user profile is "complete" (e.g. has email, username, and whatever
   else).

These hooks facilitate package authors changing which profile fields are
displayed, which profile fields are required, and how to display
usernames next to posts.
2014-10-27 17:59:12 -06:00
Steffen Strätz
2fbd2f0fb2 Fixed bug that users comment count would not show correctly in list 2014-10-15 21:39:22 +02:00
Sacha Greif
8b6e5215fd fix #441 2014-09-28 08:46:20 +09:00
Sacha Greif
64ba9fe0f3 security fix 2014-09-23 11:30:21 +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
7f103be36d refactoring and style tweaks 2014-08-05 12:25:26 +09:00
Sacha Greif
a429a5608f remove regEx validation on ID 2014-06-22 17:25:07 +09:00
Sacha Greif
d3d1ec3101 fixing indentation 2014-06-22 10:58:02 +09:00
Sacha Greif
d073a6dfd3 adding schemas 2014-05-10 16:57:17 +09:00
Sacha Greif
3c3400b280 fixed bug that prevented user profile updating 2013-10-31 10:41:01 +09:00
Sacha Greif
2ce9d4022e adding a subscription for commenting users 2013-10-21 23:07:36 +08:00
Sacha Greif
9c4f030b90 fixing singleUser publication; simplifying user object update/remove permissions 2013-10-21 18:56:22 +08:00
Sacha Greif
d12c585e0c refactoring allow/deny code 2013-07-04 12:51:26 +09:00