Commit graph

1968 commits

Author SHA1 Message Date
Sacha Greif
bef1fe5453 fix version comparison code 2014-11-25 17:33:26 +09:00
Sacha Greif
dbc42a7b51 renaming i18n helper from "i18n" to "_" 2014-11-25 17:16:00 +09:00
Sacha Greif
8df90bef81 added blank template for new packages 2014-11-25 16:14:12 +09:00
Sacha Greif
d3283e9b9c Merge branch 'master' of https://github.com/TelescopeJS/Telescope 2014-11-25 15:47:49 +09:00
Sacha Greif
4168196510 do not use tap:i18n server-side 2014-11-25 09:04:47 +09:00
Sacha Greif
a3c5c0a4c4 updating tap:i18n 2014-11-25 08:56:29 +09:00
Charlie DeTar
981700c5c7 Fix telescope-search route for iron:router 1.0
The ``onBeforeAction`` in ``PostsSearchController`` isn't calling ``this.next()``, and so is never dispatching.
2014-11-24 16:43:41 -07: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
30ca412921 Compiling scss as part of build rather than with compass.
Remove dependency on compass, add fourseven:scss (includes autoprefixer),
add reset package, delete compiled css, and some random scss cleanup.
2014-11-23 21:11:15 -08:00
Sacha Greif
42aa4bd0d9 use zh-CN as code for Chinese 2014-11-24 11:38:57 +09:00
Sacha Greif
d74e1913c4 css fix 2014-11-24 11:27:12 +09:00
Sacha Greif
0a696ce1e3 internationalizing packages 2014-11-24 11:27:07 +09:00
Anthony Mayer
544926d22a Fixes #538 in source scss, rather than in generated css 2014-11-22 19:22:50 -08:00
Anthony Mayer
d07a286f89 Fixes #538 2014-11-22 15:11:31 -08:00
Sacha Greif
b22892cad5 making css more flexible 2014-11-21 15:30:10 +09:00
Sacha Greif
92b5ee7ceb working on adding a global i18nReady session var 2014-11-21 13:19:15 +09:00
Sacha Greif
71e0376595 make moment i18n reactive; add global setLanguage function 2014-11-21 12:50:26 +09:00
Sacha Greif
7b89c604a5 working on package i18n 2014-11-20 14:56:29 +09:00
Sacha Greif
9becac5e36 css tweaks 2014-11-20 14:55:58 +09:00
Sacha Greif
e572274249 i18ning missing strings 2014-11-20 14:55:34 +09:00
Sacha Greif
f3ddf53cf7 updating package versions 2014-11-20 10:44:08 +09: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
Daniel Chcouri
177dc75f09 telescope-i18n package: use tap:i18n 2014-11-19 01:46:34 +08: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
Sacha Greif
c3eaf39678 refactoring notifications profileUrl and author 2014-11-18 11:05:15 +09:00
Sacha Greif
c335d654c9 fixing missing username in notifications; cleaning up console.logs 2014-11-18 11:00:38 +09:00
Delgermurun
e61f5bcd47 RSS feed url bug fix 2014-11-18 09:45:33 +08:00
Sacha Greif
3141c204c2 tweak commentCount migration; fix kadira version; fix path check 2014-11-18 09:56:09 +09:00
Sacha Greif
9110fa8e31 Fix digest link 2014-11-18 09:22:59 +09:00
Delgermurun
d89687b25e RSS feed for top, best views & feed url bug fix 2014-11-17 21:14:56 +08:00
Sacha Greif
4838a04f44 updating packages for IR 1.0 2014-11-17 14:53:42 +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
73cb59a088 Working on IR 1.0 update 2014-11-17 11:01:37 +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
Steffen Strätz
e98f4f4da9 Fixed initial value for user commentCount 2014-10-15 22:38:05 +02: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
d277adfc6d wrap newsletter banner helpers in startup block 2014-10-08 11:49:34 +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
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
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
Massimiliano Marini
528a3b328d Update Kadira package to latest release 2.11.2 2014-10-05 12:31:50 +02:00
Sacha Greif
cd1496897d updating packages 2014-10-05 17:23:05 +09:00