Commit graph

1770 commits

Author SHA1 Message Date
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
b40e490db1 updating form labels 2014-11-17 11:15:05 +09:00
Sacha Greif
73cb59a088 Working on IR 1.0 update 2014-11-17 11:01:37 +09:00
Sacha Greif
570fca6fcb cleaning up packages file 2014-11-17 10:15:03 +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
Sacha Greif
0ceda58124 updating to Meteor 1.0 2014-11-17 09:35:29 +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
Sacha Greif
77d21ea139 Merge pull request #493 from bengott/avatar-tweaks
Update to bengott:avatar 0.2.1
2014-10-18 12:04:19 +09:00
Ben Gott
663cb88d1c Update to bengott:avatar 0.2.1 2014-10-17 18:33:37 -05:00
steffenstraetz
1dcd8e5a22 Update migrations.js
Added migration for user´s data.commentsCount
2014-10-16 22:26:03 +02:00
steffenstraetz
bb0f8155a9 Update parameters.js 2014-10-16 22:14:12 +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
Sacha Greif
6ccf7d7d47 Merge pull request #491 from bengott/email_hash-fix
Fix email_hash bug (Issue #393)
2014-10-16 09:37:32 +09: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
1a4d5cc7a7 - Renamed user "commentCount" to match post "commentsCount"
- Refactored post click counting to match naming convention with viewsCount and commentsCount and removed security issue in client code
- Fixed bug that user commentsCount would not show correctly in list
- Added migrations "commentCountToCommentsCount" and "clicksToClicksCount"
2014-10-15 22:03:12 +02:00
Steffen Strätz
1ebdbad37b Merge remote-tracking branch 'origin/views-clicks-refactor' into views-clicks-counting 2014-10-15 21:55:12 +02:00
Steffen Strätz
46d85541b7 Merge remote-tracking branch 'origin/view-click-counting' into views-clicks-counting 2014-10-15 21:55:04 +02:00
Steffen Strätz
741dbc326f Added migrations "commentCountToCommentsCount" and "clicksToClicksCount" 2014-10-15 21:49:15 +02: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
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
87db6a3eb0 Merge pull request #488 from bengott/avatar-tweaks
Update to bengott:avatar 0.1.4
2014-10-15 14:34:18 +09:00
Ben Gott
75a74c599d Update to bengott:avatar 0.1.4 2014-10-14 18:53:09 -05:00
Sacha Greif
e69bdb44ee Merge pull request #487 from bengott/avatar-tweaks
Update to use bengott:avatar 0.1.2
2014-10-14 17:24:46 +09:00
Ben Gott
4bb13c9243 Update to use bengott:avatar 0.1.2 2014-10-13 16:14:48 -05:00
Sacha Greif
4eb53c693c updated autoform and testing date time field 2014-10-08 18:38:01 +09:00
Sacha Greif
0143b8f7de Merge branch 'master' into quickform 2014-10-08 16:13:52 +09:00
Sacha Greif
171e212905 kadira version 2014-10-08 16:13:50 +09:00
Sacha Greif
13484d6e6a Not using Notifications collection anymore, so get rid of this migration 2014-10-08 15:15:34 +09:00
Sacha Greif
d277adfc6d wrap newsletter banner helpers in startup block 2014-10-08 11:49:34 +09:00
Sacha Greif
c46cf1cb24 Merge branch 'Kestanous-herald-integration' 2014-10-07 13:46:30 +09:00
Sacha Greif
343029bb77 kadira version bump 2014-10-07 13:46:27 +09:00
Sacha Greif
7b430bff72 re-enable emailNotifications setting 2014-10-07 13:45:48 +09:00
Sacha Greif
521afdc50d Merge branch 'herald-integration' of github.com:Kestanous/Telescope into Kestanous-herald-integration
Conflicts:
	.meteor/versions
	packages/telescope-kadira/versions.json
	packages/telescope-notifications/lib/notifications.js
2014-10-07 10:34:23 +09:00
Sacha Greif
50c3ee7a79 Cleanup 2014-10-07 10:20:41 +09:00
Sacha Greif
ff0ef69e6d Merge pull request #472 from AdmitHub/telescope-master-add-queries
Add missing adminMongoQuery and notAdminMongoQuery
2014-10-07 09:29:39 +09: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
73e05960e4 Merge pull request #466 from gitter-badger/gitter-badge
Add a Gitter chat badge to README.md
2014-10-06 13:46:28 +09:00
Sacha Greif
6c10c0e4a8 Merge pull request #469 from massimilianomarini/kadira-package-update
Kadira package update to latest release 2.11.2
2014-10-06 11:39:52 +09:00
Sacha Greif
29a57565e6 Merge pull request #468 from massimilianomarini/italian-translation
Update it.js
2014-10-06 11:39:32 +09:00
Sacha Greif
b879475160 filter out fields with $ in their name 2014-10-06 11:29:47 +09:00
Sacha Greif
f121b4791e remove fieldsToOmit 2014-10-06 11:10:50 +09:00
Sacha Greif
8a72a9b77c Using omit: true 2014-10-06 10:40:45 +09:00
Sacha Greif
33b102c5cf Fixing #457 2014-10-06 10:27:28 +09:00
Sacha Greif
c5b2c36758 Using omit: true 2014-10-06 10:23:46 +09:00