Commit graph

67 commits

Author SHA1 Message Date
Sacha Greif
3339af6cc9 Merge branch 'AdmitHub-search-title-description' into devel
Conflicts:
	packages/telescope-search/lib/client/routes.js
2015-03-26 11:18:37 +09:00
Sacha Greif
418b12b113 Merge branch 'AdmitHub-search-event-specificity' into devel 2015-03-26 11:17:16 +09:00
Sacha Greif
2c9aac2580 add category titles; do not show posts views nav on category pages 2015-03-25 12:30:55 +09:00
Sacha Greif
f43d0dd569 small tweaks 2015-03-25 12:02:29 +09:00
Charlie DeTar
c2d0e306c1 Remove console.log 2015-03-24 16:31:22 -06:00
Charlie DeTar
abab542c77 Increse specificity of keyup search event
It's hard to override the behavior of .search-field in a theme when the
event listener is listening to all ``keyup`` events in the template.
Make it more specific as ``keyup .search-field`` so a theme that doesn't
want the default event listener can override the input class.
2015-03-24 16:29:47 -06:00
Charlie DeTar
3f0954843f Implement getTitle and getDescription for search 2015-03-24 16:14:36 -06:00
Sacha Greif
8fc95a316c fix mobile nav 2015-03-24 17:03:37 +09:00
Sacha Greif
51b52da004 working on admin menu 2015-03-23 10:32:56 +09:00
Sacha Greif
2bcb078877 setting header colors based on settings 2015-03-23 08:57:29 +09:00
Sacha Greif
0eb3d5d641 Merge branch 'devel' into sidenav 2015-03-21 09:43:59 +09:00
Yalin Wang
02bc33e912 fix bug where last character in search keyword couldn't be cleared
with backspace. issue #825
2015-03-19 20:56:55 -05:00
Sacha Greif
6894de3d2f working on new admin menu 2015-03-18 17:22:43 +09:00
Sacha Greif
628c91d362 Merge branch 'master' into devel 2015-02-11 18:13:08 +09:00
Sacha Greif
b9ca31ffa9 give search field a border when header has a white background 2015-02-11 18:02:56 +09:00
Julian Ćwirko
edb609f739 polish translation - only lang files 2015-02-03 08:38:47 +01:00
Ibrahim Cesar
ac5a3c6307 Translated package to Brazilian Portuguese 2015-02-02 12:43:29 -02:00
Sacha Greif
c2118954b2 prevent logo from getting crushed on mobile + various other small fixes 2015-01-12 12:02:48 +09:00
Anthony Mayer
f9d9891fba Getting rid of redundant permissions functions
Switched everything over to use can.* functions from telescope-lib instead of using can* functions from lib/permissions.js, deleted lib/permissions.js, added some tests for permissions, and some other random cleanup like deleting unused code.

Conflicts:
	client/views/comments/comment_form.js
2015-01-07 08:22:46 +01:00
Sacha Greif
f5354bf69d renaming viewNav to viewsMenu and adminNav to adminMenu 2015-01-05 10:06:30 +09:00
Sacha Greif
a7ad1572c3 make primary and secondary nav sortable (fix #642) 2014-12-30 17:44:33 +09:00
Sacha Greif
3d8e6f9237 updating autoform and simpleschema 2014-12-19 11:37:23 +09:00
Sacha Greif
f8cb992069 Adding descriptions in post list pages and showing them in menus. 2014-12-15 09:46:51 +09:00
Sacha Greif
987696657d upgrade to meteor 1.0.1 2014-12-10 09:37:57 +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
Anthony Mayer
5674269072 Fixes #572 - Expands search box when focused or not empty.
Also, changed when empty class is removed to avoid text box shrinking and then expanding after it loses focus but has content.
2014-11-30 17:03:30 -08:00
Anthony Mayer
494f27bf9b Fixing duplicate search logs. 2014-11-28 17:46:23 -08:00
Anthony Mayer
55f151bab2 Fixes #555.
Also, updated a couple strings that google translate seemed straightforward enough for
2014-11-25 23:45:11 -08:00
Sacha Greif
a1645e0572 Merge pull request #549 from yourcelf/patch-1
Fix telescope-search route for iron:router 1.0
2014-11-26 10:25:45 +09:00
Sacha Greif
dbc42a7b51 renaming i18n helper from "i18n" to "_" 2014-11-25 17:16:00 +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
Sacha Greif
42aa4bd0d9 use zh-CN as code for Chinese 2014-11-24 11:38:57 +09:00
Sacha Greif
0a696ce1e3 internationalizing packages 2014-11-24 11:27:07 +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
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
4838a04f44 updating packages for IR 1.0 2014-11-17 14:53:42 +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
Sacha Greif
cd1496897d updating packages 2014-10-05 17:23:05 +09:00
Sacha Greif
f5c4908d12 Upgrading to 0.9.3.1 2014-10-04 12:51:44 +09:00
Sacha Greif
53442243b9 Merge pull request #462 from AdmitHub/telescope-master-search-querystring
Add querystring updates to search
2014-10-04 09:28:50 +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
Charlie DeTar
582ee672ab Add querystring updates to search
Update and parse a "?q=" query string for search to improve cross-site
linkability.
2014-10-03 15:48:42 -06:00
Sacha Greif
9c1e00ac95 Make no_rights and not_found templates customizable 2014-09-30 15:53:36 +09:00
Sacha Greif
95a2157768 updating meteor 2014-09-26 12:03:59 +09:00
Sacha Greif
64ba9fe0f3 security fix 2014-09-23 11:30:21 +09:00
Sacha Greif
9222fdc4f9 upgrading to 0.9.2.1 2014-09-16 09:06:09 +09:00
Sacha Greif
f704c812ef Fixed rss package 2014-08-28 13:39:30 +09:00