mkdru-moved-to-drupal.org.git
13 years agoRename arg 6.x-ting-tab
Jakub Skoczen [Tue, 8 Mar 2011 11:11:04 +0000 (12:11 +0100)]
Rename arg

13 years agoNew form of the search hook as agreed with Reload
Jakub Skoczen [Mon, 7 Mar 2011 17:10:22 +0000 (18:10 +0100)]
New form of the search hook as agreed with Reload

The hook is called ting_search_tab and allows the client code
to also specify tab name

13 years agoMake sure ting facets do not mess with the search
Jakub Skoczen [Mon, 7 Mar 2011 17:09:03 +0000 (18:09 +0100)]
Make sure ting facets do not mess with the search

13 years agoIgnore bytarget
Jakub Skoczen [Mon, 7 Mar 2011 16:26:16 +0000 (17:26 +0100)]
Ignore bytarget

13 years agoOnly deserialize state when appropriate
Jakub Skoczen [Mon, 7 Mar 2011 10:19:38 +0000 (11:19 +0100)]
Only deserialize state when appropriate

TING tinkers with hash as well, switching tabs resets the hash but does not
re-loads the page. For now simply ignore new hash and push old state into it.

13 years agoInclude recipe.js
Jakub Skoczen [Mon, 7 Mar 2011 10:18:35 +0000 (11:18 +0100)]
Include recipe.js

13 years agoURL generatiion logic, moved D7 branch
Jakub Skoczen [Mon, 7 Mar 2011 09:49:51 +0000 (10:49 +0100)]
URL generatiion logic, moved D7 branch

13 years agoAllow only one fast show
Jakub Skoczen [Thu, 3 Mar 2011 11:42:47 +0000 (12:42 +0100)]
Allow only one fast show

13 years agoThere seem to be to many 'shows' at times
Jakub Skoczen [Thu, 3 Mar 2011 11:31:27 +0000 (12:31 +0100)]
There seem to be to many 'shows' at times

This won't fix it, I suspect that client code is messing with it

13 years agoDisplay basename when no readable target name
Jakub Skoczen [Thu, 3 Mar 2011 11:08:11 +0000 (12:08 +0100)]
Display basename when no readable target name

Hotfix for now -- the proper solution would be to either pass
target name in the hash or have some lookup structure (possibly
generated by 'bytarget')

13 years agoRename to toggleLink
Jakub Skoczen [Thu, 3 Mar 2011 10:26:33 +0000 (11:26 +0100)]
Rename to toggleLink

13 years agoReport no result in a better way
Jakub Skoczen [Thu, 3 Mar 2011 10:18:40 +0000 (11:18 +0100)]
Report no result in a better way

13 years agoOnly include filter in search if not empty
Jakub Skoczen [Thu, 3 Mar 2011 10:12:25 +0000 (11:12 +0100)]
Only include filter in search if not empty

13 years agoFix limit query
Jakub Skoczen [Thu, 3 Mar 2011 10:09:49 +0000 (11:09 +0100)]
Fix limit query

Seems like this was broken recently

13 years agoMove facet container set-up to onload
Jakub Skoczen [Thu, 3 Mar 2011 10:08:00 +0000 (11:08 +0100)]
Move facet container set-up to onload

To save some CPU cycles when the callback is raised

13 years agoAvoid empty arrays when splitting
Jakub Skoczen [Thu, 3 Mar 2011 09:30:50 +0000 (10:30 +0100)]
Avoid empty arrays when splitting

13 years agoOnly pass selection for a given facet
Jakub Skoczen [Thu, 3 Mar 2011 09:23:16 +0000 (10:23 +0100)]
Only pass selection for a given facet

13 years agomkdru.removeLimits() no longer leaves dangling limit_subject
Jason Skomorowski [Thu, 3 Mar 2011 06:52:22 +0000 (07:52 +0100)]
mkdru.removeLimits() no longer leaves dangling limit_subject

13 years agoFix mkdru.hashChange() to call pz2.search() when appropriate
Jason Skomorowski [Thu, 3 Mar 2011 06:29:06 +0000 (07:29 +0100)]
Fix mkdru.hashChange() to call pz2.search() when appropriate

13 years agoAdd missing parameter to theme.mkdruFacet()
Jason Skomorowski [Thu, 3 Mar 2011 06:27:26 +0000 (07:27 +0100)]
Add missing parameter to theme.mkdruFacet()

13 years agoDraw selected facets also when no results
Jakub Skoczen [Thu, 3 Mar 2011 01:22:33 +0000 (02:22 +0100)]
Draw selected facets also when no results

this alows to return from "no hits" situation

13 years agoDrop mkdruFacetLimit, extend args for mkdruFacet
Jakub Skoczen [Thu, 3 Mar 2011 00:47:52 +0000 (01:47 +0100)]
Drop mkdruFacetLimit, extend args for mkdruFacet

Append more data to the array so the template can be simpler.
Both selected and available facets can now be rendered in one go.

RESOLVED MERGE CONFLICTS in mkdru.css

13 years agoForce state update when query comes from ting
Jakub Skoczen [Wed, 2 Mar 2011 16:01:11 +0000 (17:01 +0100)]
Force state update when query comes from ting

13 years agoRemove breakpoint
Jakub Skoczen [Wed, 2 Mar 2011 15:20:37 +0000 (16:20 +0100)]
Remove breakpoint

13 years agoAdd theme function to draw facet container
Jakub Skoczen [Wed, 2 Mar 2011 15:14:47 +0000 (16:14 +0100)]
Add theme function to draw facet container

Also add elements to control facet dislayName and order.

13 years agoTowards a theme for generalised facet limits.
Jason Skomorowski [Wed, 2 Mar 2011 08:54:14 +0000 (09:54 +0100)]
Towards a theme for generalised facet limits.

13 years agoTowards generalised facet limits.
Jason Skomorowski [Wed, 2 Mar 2011 08:31:10 +0000 (09:31 +0100)]
Towards generalised facet limits.

13 years agoAdd SP/Pazpar2 configuration to the module config
Jakub Skoczen [Wed, 23 Feb 2011 13:13:14 +0000 (14:13 +0100)]
Add SP/Pazpar2 configuration to the module config

To allow running without a node

13 years agoAlways show SP settings
Jakub Skoczen [Wed, 23 Feb 2011 12:35:48 +0000 (13:35 +0100)]
Always show SP settings

Believe it or not Ding's theme doesn't play nicely with collapsed things

13 years agoComment wording: Implementation of hook -> Implements hook
Jason Skomorowski [Sat, 12 Feb 2011 00:11:15 +0000 (01:11 +0100)]
Comment wording: Implementation of hook -> Implements hook

13 years agoFix oversearching.
Jason Skomorowski [Fri, 11 Feb 2011 21:36:28 +0000 (22:36 +0100)]
Fix oversearching.

13 years agoDon't hog global $ in case module is to be used with other JS lib.
Jason Skomorowski [Fri, 11 Feb 2011 21:30:03 +0000 (22:30 +0100)]
Don't hog global $ in case module is to be used with other JS lib.

13 years agoReplace awkward SQL with underdocumented Drupal func.
Jason Skomorowski [Thu, 10 Feb 2011 22:50:00 +0000 (23:50 +0100)]
Replace awkward SQL with underdocumented Drupal func.

13 years agoBetter database handling.
Jason Skomorowski [Thu, 10 Feb 2011 18:46:25 +0000 (19:46 +0100)]
Better database handling.

13 years agoComment tidying.
Jason Skomorowski [Wed, 9 Feb 2011 18:37:48 +0000 (19:37 +0100)]
Comment tidying.

13 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/private/mkdru
Jason Skomorowski [Wed, 9 Feb 2011 17:56:37 +0000 (18:56 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/private/mkdru

13 years agoMake detail back link more consistent.
Jason Skomorowski [Wed, 9 Feb 2011 17:54:54 +0000 (18:54 +0100)]
Make detail back link more consistent.

13 years agoUse empty string instead of null to placate IE.
Jason Skomorowski [Wed, 9 Feb 2011 16:43:01 +0000 (17:43 +0100)]
Use empty string instead of null to placate IE.

13 years agoComment out, move autosearch after init
Jakub Skoczen [Fri, 4 Feb 2011 12:46:19 +0000 (13:46 +0100)]
Comment out, move autosearch after init

13 years agoFix node update hook broken in the previous commit
Jakub Skoczen [Fri, 4 Feb 2011 12:37:39 +0000 (13:37 +0100)]
Fix node update hook broken in the previous commit

13 years agoAdd client logic and admin pages to support SP
Jakub Skoczen [Fri, 4 Feb 2011 12:25:30 +0000 (13:25 +0100)]
Add client logic and admin pages to support SP

In the node configuration it's now possible to specify optional
Service-Proxy username and password, if none is specified the ipauthentication
will be used instead.

Also, Provided are DB shema migration hooks and the module is versioned
(as those two seem to go together somewhow). To update the module's DB table
one need to run the update.php from the root of the Drupla vhost.

13 years agoGPL!
Jason Skomorowski [Thu, 3 Feb 2011 22:56:48 +0000 (23:56 +0100)]
GPL!

13 years agoStatus display and some formatting tweaks.
Jason Skomorowski [Thu, 3 Feb 2011 22:56:00 +0000 (23:56 +0100)]
Status display and some formatting tweaks.

13 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/private/mkdru
Jason Skomorowski [Thu, 3 Feb 2011 04:13:16 +0000 (05:13 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/private/mkdru

13 years agoFaceting rewrite w/BBQ.
Jason Skomorowski [Thu, 3 Feb 2011 04:07:52 +0000 (05:07 +0100)]
Faceting rewrite w/BBQ.

13 years agoRestrict block visibility to mkdru node type
Jason Skomorowski [Fri, 28 Jan 2011 00:24:54 +0000 (01:24 +0100)]
Restrict block visibility to mkdru node type

13 years agoPHP theming for facets.
Jason Skomorowski [Tue, 25 Jan 2011 20:47:02 +0000 (21:47 +0100)]
PHP theming for facets.

13 years agoAdd jquery-bbq js in the ting hook
Jakub Skoczen [Mon, 24 Jan 2011 12:39:44 +0000 (13:39 +0100)]
Add jquery-bbq js in the ting hook

13 years agoSearch blocks for nodes. You can even have more than one.
Jason Skomorowski [Mon, 24 Jan 2011 03:51:52 +0000 (04:51 +0100)]
Search blocks for nodes. You can even have more than one.

13 years agoDo not update navi if it's not there
Jakub Skoczen [Fri, 21 Jan 2011 13:47:26 +0000 (14:47 +0100)]
Do not update navi if it's not there

and avoid a JS error

13 years agoRefactor to avoid redundant calls
Jakub Skoczen [Fri, 21 Jan 2011 13:33:30 +0000 (14:33 +0100)]
Refactor to avoid redundant calls

13 years agoRemove redundant 'show' when query is submitted.
Jakub Skoczen [Thu, 20 Jan 2011 16:07:25 +0000 (17:07 +0100)]
Remove redundant 'show' when query is submitted.

13 years agoFix paging by ensuring 'page' param is a number
Jakub Skoczen [Thu, 20 Jan 2011 15:33:34 +0000 (16:33 +0100)]
Fix paging by ensuring 'page' param is a number

Otherwise the next button on page=1 will point to '11' and so on.

13 years agoI missed one of the commas that offends ie6
Jason Skomorowski [Thu, 20 Jan 2011 05:21:48 +0000 (06:21 +0100)]
I missed one of the commas that offends ie6

13 years agoDisplay detail after show. Addresses timer issue and record linking.
Jason Skomorowski [Thu, 20 Jan 2011 02:44:30 +0000 (03:44 +0100)]
Display detail after show. Addresses timer issue and record linking.

13 years agoAttempt at detail bookmarking. Also theme cleanup.
Jason Skomorowski [Wed, 19 Jan 2011 00:59:14 +0000 (01:59 +0100)]
Attempt at detail bookmarking. Also theme cleanup.

13 years agoPager rewrite for bookmark/history support.
Jason Skomorowski [Tue, 18 Jan 2011 05:22:59 +0000 (06:22 +0100)]
Pager rewrite for bookmark/history support.

13 years agoBack button works with details but some issues yet.
Jason Skomorowski [Sat, 15 Jan 2011 04:32:35 +0000 (05:32 +0100)]
Back button works with details but some issues yet.

13 years agoNo details, but bookmarkable with history.
Jason Skomorowski [Fri, 14 Jan 2011 04:09:10 +0000 (05:09 +0100)]
No details, but bookmarkable with history.

13 years agoSimple detail view.
Jason Skomorowski [Tue, 4 Jan 2011 03:32:42 +0000 (04:32 +0100)]
Simple detail view.

13 years agoRough implementation of 'ting_search_show'
Jakub Skoczen [Thu, 2 Dec 2010 14:12:16 +0000 (15:12 +0100)]
Rough implementation of 'ting_search_show'

We spill out the basic result-set theme when the hook is invoked,
pass the query as the JS Drupal var and autosearch in the client
if the query is detected.

13 years agoStub implementation of the 'ting_search_show' hook
Jakub Skoczen [Wed, 1 Dec 2010 15:57:56 +0000 (16:57 +0100)]
Stub implementation of the 'ting_search_show' hook

13 years agoSplit template, rearrange some markup
Jason Skomorowski [Wed, 1 Dec 2010 06:21:14 +0000 (07:21 +0100)]
Split template, rearrange some markup

13 years agoFix dropdowns, start improving markup.
Jason Skomorowski [Sun, 28 Nov 2010 05:03:22 +0000 (06:03 +0100)]
Fix dropdowns, start improving markup.

13 years agoVarious fixes and new module-wide config page.
Jason Skomorowski [Thu, 25 Nov 2010 04:12:48 +0000 (05:12 +0100)]
Various fixes and new module-wide config page.

13 years agoNode config.
Jason Skomorowski [Wed, 24 Nov 2010 07:07:46 +0000 (08:07 +0100)]
Node config.

13 years agoTowards per-node config. If only I can coax it into making the table...
Jason Skomorowski [Thu, 18 Nov 2010 00:42:43 +0000 (01:42 +0100)]
Towards per-node config. If only I can coax it into making the table...

13 years agoTowards facets.
Jason Skomorowski [Tue, 16 Nov 2010 05:30:18 +0000 (06:30 +0100)]
Towards facets.

13 years agoFix typo that hid for too long.
Jason Skomorowski [Tue, 16 Nov 2010 02:40:44 +0000 (03:40 +0100)]
Fix typo that hid for too long.

13 years agoI confused the git mails for my new project but I think this works now.
Jason Skomorowski [Mon, 15 Nov 2010 06:12:14 +0000 (07:12 +0100)]
I confused the git mails for my new project but I think this works now.

13 years agoWork in progress
Jason Skomorowski [Mon, 15 Nov 2010 05:53:17 +0000 (06:53 +0100)]
Work in progress