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
365eb467a2
more epic editor clean up
2014-12-05 08:23:31 +09:00
Sacha Greif
45ccf1d8f1
Merge pull request #588 from anthonymayer/urls_by_route_name
...
Switching from manually generating urls to using IronRouter functions.
2014-12-04 11:44:44 +09:00
Sacha Greif
f06b43b603
finish epic editor clean up and fix #591
2014-12-04 11:32:44 +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
0031d07468
finishing post submit form refactoring
2014-11-28 15:18:55 +09:00
Sacha Greif
dbc42a7b51
renaming i18n helper from "i18n" to "_"
2014-11-25 17:16: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
Sacha Greif
e572274249
i18ning missing strings
2014-11-20 14:55:34 +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
Charlie DeTar
2cf432b521
Clean up remaining throwError invocations
2014-11-17 17:00:21 -07: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
Ben Gott
4bb13c9243
Update to use bengott:avatar 0.1.2
2014-10-13 16:14:48 -05: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
8e709a8372
Rename common template/view 'gravatar' to 'avatar'
2014-09-27 12:05:15 -05:00
shaialon
6592f5761a
Change to user / userId
2014-09-26 23:06:12 +03:00
Sacha Greif
3fda433082
Making comment upvote/downvote work with custom templates
2014-09-18 09:35:42 +09:00
Mitchell Wulfman
6fc6b9eb78
cleanup while getting familiar with the codebase
2014-09-16 15:18:27 -04:00
Sacha Greif
7dc8249910
Do not remove deleted comments from db
2014-09-16 12:12:48 +09:00
Niklas Ström
ed97a26d45
removed the last few references to the old sign in flow - (trying to up up vote comments without being signed in etc.)
...
also unified all references to /sign-in to use the getSigninUrl()
2014-09-08 01:52:09 +08:00
Sacha Greif
e21f5c7056
adding new htmlBody field and adding hooks to sanitise it
2014-08-31 16:11:48 +09:00
Sacha Greif
8eb91a2c64
notifications are now a menu item
2014-08-20 17:03:54 +09:00
Sacha Greif
0280ca80bb
make layout, loading, and notFound routes customisable too
2014-08-18 10:07:53 +09:00
Sacha Greif
4ad020174c
Separating themes; adding accounts-entry
2014-08-12 16:16:44 +09:00
Sacha Greif
d375bc3c1b
Using templates for on-site notifications too; refactoring a lot of stuff
2014-08-04 11:22:43 +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
fe3745e1e3
fix #327
2014-07-13 11:15:58 +09:00
Sacha Greif
608a163ac1
merging comment_page and comment_reply templates
2014-07-07 09:36:38 +09:00
Sacha Greif
fa25d69444
fixing comment bugs
2014-07-05 16:21:28 +09:00
Sacha Greif
615bb4c6c2
making all template includes dynamic
2014-07-05 11:42:28 +09:00
Sacha Greif
c483464f4d
making all template helpers dynamic
2014-07-05 11:24:28 +09:00
Sacha Greif
e1919593e7
refactoring dates and timestamps
2014-07-03 13:15:23 +09:00
Sacha Greif
9ebc910465
using marked package
2014-07-03 10:40:04 +09:00
Sacha Greif
57487e5abf
using hotkeys package
2014-07-03 10:15:19 +09:00
Sacha Greif
30d1fa073d
cleaning up and refactoring
2014-06-27 19:42:33 +09:00
Sacha Greif
9f801f14fe
fixing post edit and comment edit validations
2014-06-22 10:49:39 +09:00
Sacha Greif
a99a0f89e6
fixing new comments validation
2014-06-22 10:34:39 +09:00
Sacha Greif
e0ff3f71fc
Counting up votes and down votes with two separate properties instead of a single "votes" property
2014-05-15 15:56:23 +09:00
Sacha Greif
7f99b09e75
Fixing child comment bug
2014-05-08 15:35:47 +09:00
Sacha Greif
8263575879
removing constant and fixing bugs
2014-05-01 19:58:56 -07:00
Sacha Greif
379c002698
working on 0.8
2014-04-30 16:58:11 -07:00
ajduke
e1e4dec278
fixed issue for broken redirection to template after commment deletion
2014-03-20 13:02:07 +05:30
Tarang Patel
39eb1c8e0a
Update Events
...
Move from using depreciated event declaration style. Still supported
not sure if future proof (see
https://github.com/meteor/meteor/blob/devel/packages/templating/deftempl
ate.js#L184)
2013-11-24 16:13:53 +02:00
Toam
c527a00a62
merge
2013-11-09 02:02:05 +01:00
Sacha Greif
26b321fb27
small styling fix
2013-11-07 09:25:49 +09:00
Toam
c06fe46a83
Localisation Common, Errors, Notifications and Users
2013-11-06 01:01:56 +01:00
Sacha Greif
2583338d73
fixed comment edit bug
2013-11-05 09:32:21 +09:00