Commit graph

55 commits

Author SHA1 Message Date
Sacha Greif
8e5446cc75 refactoring custom fields 2015-04-24 09:28:50 +09:00
Sacha Greif
99988b6405 add telescope:core 2015-04-22 08:47:23 +09:00
Sacha Greif
a2e9379577 Namespacing router controllers; starting to packageify publications 2015-04-22 08:13:43 +09:00
Sacha Greif
08c6e373fc bringing packages back into core repo after all 2015-04-22 07:50:11 +09:00
Sacha Greif
3d383e06e1 more packageification; removed meteor hacks:npm; changed telescope-blank to custom 2015-04-21 11:42:47 +09:00
Sacha Greif
50fc3eb11a Merge branch 'namespace' of https://github.com/TelescopeJS/Telescope into namespace
# Conflicts:
#	lib/users.js
#	packages/telescope-base/lib/base.js
#	packages/telescope-base/package.js
#	packages/telescope-lib
2015-04-20 13:57:37 +09:00
Delgermurun
666577f4cb Template[getTemplate('XYZ')] => Template.XYZ 2015-04-13 14:52:03 +09:00
Sacha Greif
5900b3788e css fix 2015-04-11 12:25:34 +09:00
Delgermurun
057580b793 Settings package 2015-03-28 18:38:20 +09:00
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
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