Commit graph

476 commits

Author SHA1 Message Date
Sacha Greif
980af66167 refactoring and modularising user profile page publications 2014-12-08 17:25:11 +09:00
Sacha Greif
7879172c5d refactoring parameters to simplify showing/hiding future posts, and adding "scheduled" view 2014-12-08 16:39:10 +09:00
Sacha Greif
75bd8d9920 extracting digest into its own package 2014-12-08 11:15:20 +09:00
Sacha Greif
4f9c8295d6 Merge branch 'master' into arunoda-fr2
Conflicts:
	lib/router/users.js
2014-12-08 10:30:31 +09:00
Sacha Greif
bdae77a41b fix user profile complete check 2014-12-06 18:19:54 +09:00
Sacha Greif
242bf4e783 fix pending view bug by including posts without a postedAt property as well 2014-12-06 18:06:51 +09:00
Sacha Greif
b6c54c106d renaming errors to messages 2014-12-06 17:41:15 +09:00
Sacha Greif
ff8bf40694 Merge branch 'telescope-master-semantic-messages' of https://github.com/AdmitHub/Telescope into AdmitHub-telescope-master-semantic-messages
Conflicts:
	client/helpers/handlebars.js
	client/views/comments/comment_edit.js
	client/views/comments/comment_form.js
	client/views/comments/comment_item.js
	client/views/posts/modules/post_upvote.js
	client/views/posts/post_edit.js
	client/views/posts/post_submit.js
	client/views/users/user_edit.js
	client/views/users/user_email.js
	lib/router.js
	packages/telescope-tags/lib/client/views/category_item.js
2014-12-06 17:34:08 +09:00
Sacha Greif
053183f5b5 fix approve/unapprove links 2014-12-05 09:33:07 +09:00
Sacha Greif
33f8f066ec display future posts in pending view 2014-12-05 08:21:02 +09:00
Sacha Greif
716f329908 Merge branch 'master' of https://github.com/TelescopeJS/Telescope 2014-12-04 13:10:27 +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
Anthony Mayer
23b72b9cb8 Switching from manually generating urls to using IronRouter functions.
Using {{pathFor}}, path(), and url() where possible. Passing in path
to Meteor.absoluteUrl() where the IronRouter functions didn't make sense.
Also deleting some random unused code.
2014-12-03 00:06:00 -08:00
Sacha Greif
b2c51ddb85 Merge pull request #581 from anthonymayer/invites-cleanup
Fixes #444 - Adding UserEditController to show invites correctly
2014-12-03 09:26:52 +09:00
Sacha Greif
6d7cacd3df version bump 2014-12-03 09:00:56 +09:00
Anthony Mayer
c8d5e3ca25 Fixes #444 - Adding UserEditController to show invites correctly
Gets rid of AccountController in favor of UserEditController, which
shows data consistently for both admins and owners. Also, makes sure
that only authorized users can see the page.
2014-11-30 18:23:19 -08:00
Anthony Mayer
494f27bf9b Fixing duplicate search logs. 2014-11-28 17:46:23 -08:00
Arunoda Susiripala
75278fbae2 added fast-render 2.0 support 2014-11-27 17:25:01 +05:30
Sacha Greif
4b2326e105 undo last merge 2014-11-27 16:09:22 +09:00
Sacha Greif
1b1153cdf4 Merge pull request #558 from toome123/master
Add Bulgarian-bg translation
2014-11-27 16:07:24 +09:00
root
41acd6ed04 Add Bulgarian-bg translation 2014-11-26 19:08:25 +02:00
Sacha Greif
33d9d038cb history and version bump 2014-11-25 15:53:00 +09:00
Sacha Greif
d3283e9b9c Merge branch 'master' of https://github.com/TelescopeJS/Telescope 2014-11-25 15:47:49 +09:00
Ben Gott
f68ecba862 Upgrade to bengott:avatar 0.6.0
- Create new config file in lib/config/avatar.js (accessible to both
  client and server)
- Comment out some outdated SCSS/CSS
2014-11-24 01:48:04 -06:00
Anthony Mayer
350240f39a Fixes #541 2014-11-22 21:19:55 -08:00
Sacha Greif
8cb60619f8 Merge branch 'integrate-tap-i18n' of github.com:theosp/Telescope into theosp-integrate-tap-i18n 2014-11-20 10:31:20 +09:00
Sacha Greif
eb082473ed refactor server-side email template routes 2014-11-19 15:14:54 +09:00
Sacha Greif
f32cdb0865 stop converting template name 2014-11-19 10:17:05 +09:00
Daniel Chcouri
2605dcb27c Convert translation keys format to tap:i18n standard
all_lower_cased_underscored_sperated names
2014-11-19 00:00:09 +08:00
Daniel Chcouri
c9c8f3ea8d Convert lang js files to i18n.json 2014-11-18 22:37:24 +08:00
Sacha Greif
644c519e9b wait on allUsersAdmin subscription on post submit page 2014-11-18 11:13:16 +09:00
Sacha Greif
c335d654c9 fixing missing username in notifications; cleaning up console.logs 2014-11-18 11:00:38 +09:00
Sacha Greif
23079ff9f2 Splitting out router.js in multiple files. 2014-11-17 14:45:23 +09:00
Sacha Greif
0c1b84c8cb version 2014-11-17 11:34:16 +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
Sacha Greif
73cb59a088 Working on IR 1.0 update 2014-11-17 11:01:37 +09:00
Sacha Greif
6769ec1df1 pause() -> next() (IR 1.0 update) 2014-11-17 10:14:55 +09:00
Sacha Greif
00994ba16f updating routes 2014-11-17 09:45:44 +09:00
Charlie DeTar
ea7efc3550 Replace "throwError" with "flashMessage" and type
Currently, ``throwError`` is used for all manner of messages, including
errors, "success" messages, and "info" messages.  This makes appropriate
styling of the error message difficult.  In addition, the name
``throwError`` seems to create confusion, implying that an error will
actually be thrown (e.g. stopping execution when a user isn't logged in
[0][1]), when in fact it just displays a message.

Replace ``throwError`` with ``flashMessage``, and reliably include a
message "type" (e.g. "error", "success", "info") every time.  rename
``lib/errors.js`` to ``lib/messages.js`` to more accurately reflect its
function.

This commit doesn't rename the message collection (``Errors``), nor the
template responsible for rendering the messages (``error_item.html``) --
that should probably still be done, but has higher likelihood of
trouble for existing alternate themes and installations.

[0] 6ccf7d7d47/client/views/users/user_edit.js (L43)
[1] 083a4c4dc4/client/views/users/user_email.js (L13)
2014-11-05 13:12:09 -07: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
steffenstraetz
bb0f8155a9 Update parameters.js 2014-10-16 22:14:12 +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
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
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