Commit graph

24 commits

Author SHA1 Message Date
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
Sacha Greif
8a72a9b77c Using omit: true 2014-10-06 10:40:45 +09:00
Sacha Greif
ccf0ea7820 working on quick form for post submit 2014-10-05 17:20:15 +09:00
Sacha Greif
8625e06045 Renaming callbacks and adding new ones 2014-09-20 10:42:42 +09:00
Sacha Greif
075f861e8d Renaming xSubmitServerCallbacks to xSubmitMethodCallbacks 2014-09-20 09:53:58 +09:00
Sacha Greif
f704c812ef Fixed rss package 2014-08-28 13:39:30 +09:00
Sacha Greif
991ca23516 small bug fixes 2014-08-27 09:25:05 +09:00
Sacha Greif
7de249500c Make useDropdowns a theme-level setting instead 2014-08-15 12:30:51 +09:00
Sacha Greif
0a071460f6 Changing navItems to primaryNav and adding secondaryNav 2014-08-15 11:51:30 +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
902a2f94f1 Added rendered hooks (fix #330) 2014-08-01 09:07:58 +09:00
Sacha Greif
c40fbcb9f3 working on mobile version; added new postHeading and postMeta hooks 2014-07-14 10:12:02 +09:00
Sacha Greif
272d89c601 adding embedly module 2014-07-06 14:09:55 +09:00
Sacha Greif
3dc08bcc0c working on callbacks 2014-07-05 18:06:28 +09:00
Sacha Greif
ae8da33e89 making categories a post module 2014-07-05 13:32:01 +09:00
Sacha Greif
5a38cff638 fixing package descriptions 2014-07-05 11:54:36 +09:00
Sacha Greif
c483464f4d making all template helpers dynamic 2014-07-05 11:24:28 +09:00
Sacha Greif
77e76eee13 making post components modular 2014-07-04 14:07:50 +09:00
Sacha Greif
69d59575e7 tweaks 2014-06-23 12:31:59 +09:00
Sacha Greif
591ae27014 adding telescope-lib package for utility functions 2014-06-23 12:08:01 +09:00
Sacha Greif
07eaf99f0a modularizing nav 2014-06-23 11:40:21 +09:00
Sacha Greif
26646f22aa added preloadSubscriptions to telescope-base 2014-06-22 17:15:21 +09:00
Sacha Greif
d967812d60 adding telescope-base package to initialise common arrays 2014-06-22 14:53:17 +09:00