Commit graph

33 commits

Author SHA1 Message Date
Sacha Greif
b9ca31ffa9 give search field a border when header has a white background 2015-02-11 18:02:56 +09: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
f8cb992069 Adding descriptions in post list pages and showing them in menus. 2014-12-15 09:46:51 +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
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
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
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
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
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
be82db9072 Disable resetScroll; Simplify adminUsers publication; fix search controller 2014-08-28 11:10:31 +09:00
Sacha Greif
0a0ad6a501 layout tweaks 2014-08-21 15:30:05 +09:00
Sacha Greif
c2a1b7ea33 css fix 2014-08-20 17:12:03 +09:00
Sacha Greif
d7135c1d1d improving base theme 2014-08-20 15:59:11 +09:00
Sacha Greif
0a071460f6 Changing navItems to primaryNav and adding secondaryNav 2014-08-15 11:51:30 +09:00
Sacha Greif
d1f3eb9210 wrap packages template helpers in Meteor.startup() blocks 2014-08-13 17:51:38 +09:00
Sacha Greif
67bb61ee75 making search and tags package templates customisable too 2014-08-13 17:11:33 +09:00
Sacha Greif
4bc9b6a864 working on mobile nav 2014-07-10 11:45:34 +09:00
Sacha Greif
d97df27f7f finishing view parameters flexibiltification 2014-06-23 12:28:40 +09:00
Sacha Greif
591ae27014 adding telescope-lib package for utility functions 2014-06-23 12:08:01 +09:00
Sacha Greif
5ae5dfab9a simplifying nav items markup 2014-06-23 11:46:12 +09:00
Sacha Greif
07eaf99f0a modularizing nav 2014-06-23 11:40:21 +09:00
Sacha Greif
21998aa012 putting search in its own package 2014-06-23 11:05:06 +09:00