source: trunk/Changes @ 716

Last change on this file since 716 was 716, checked in by Earle Martin, 16 years ago

Renaming OpenGuides::SuperSearch? to OpenGuides::Search and supersearch.cgi to search.cgi - bug #17.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 24.4 KB
Line 
10.52   
2        IMPORTANT CHANGE: "supersearch.cgi" is now simply "search.cgi". If you
3          have customisations to your templates, you may need to make changes
4          to reflect this.
5        Rename OpenGuides::SuperSearch to OpenGuides::Search.
6        Fix missing bracket in node.tt.
7        Add custom_node template just below main content in node.tt.
8
90.51    15 November 2005
10        Important changes:
11          * The preferred way to get RecentChanges is now to pass the CGI the
12            parameter "action=rc", rather than just using the page name
13            "RecentChanges". However, this method will still work for the time
14            being. Similarly, the URL parameter for the RecentChanges RSS feed
15            has changed from "action=rss" to "action=rc;format=rss". Requests
16            for the former will be redirected to the latter.
17
18        New features:
19          * When trying to view a non-existent node, you will now be presented
20            with a message asking if you want to create that node, rather than
21            a blank page.
22          * New "summary" metadata field for one-line summaries of nodes:
23            - Add summary field to RDF as dc:description.
24            - Show node summary in search results.
25          * New "format=raw" option for outputting wiki text of a node.
26          * RSS feed now contains DOAP (http://usefulinc.com/doap) metadata.
27       
28        RDF bugfixes:
29          * Locales, address and summary fields now XML-escaped properly.
30          * Add "address" field that was missing from the RDF node view.
31          * Update URL for Dublin Core elements in RDF index view.
32          * Fix URL in the RSS <channel> element to point to the RSS URL,
33            not the RecentChanges page URL.
34       
35        Search bugfixes:
36          * Fix bug that was breaking coordinate entry fields on search page if
37            lat/lon was being used.
38          * Fix bug in OpenGuides::SuperSearch that wasn't passing "latitude"
39            and "longitude" values to the search template when a distance
40            search was being done.
41       
42        Minor improvements:
43          * Replace underscores in node names in "redirected from" message
44            with spaces.
45          * "Redirected from" message now links to a rendered version of
46            the old page rather than the editing view.
47       
48        Miscellaneous bugfixes:
49          * Fix problem with newer Text::Wikiformat and blank nodes.
50          * Fix bug in navbar template that caused warnings in the tests.
51       
520.50    2 October 2005
53        Remove rogue ampersand that had crept into the RSS feed.
54       
550.49    24 July 2005
56        Add updated prerequisite on CGI::Wiki::Plugin::RSS::ModWiki (fixes
57        a test failure)
58
590.48    24 July 2005
60        RDF enhancements:
61          * Removed redundant "id" parameter specification from dc:source in
62            rdf:Description in RDF node listings.
63          * Fixed bug that was causing all nodes to be flagged as a
64            geo:SpatialThing whether they were or not.
65          * Ensured that ampersands and greater/less than symbols were properly
66            escaped so as not to be XML-toxic.
67          * Added geo:lat, geo:long and RSS link attributes to items in
68            category/locale listings to facilitate integration with mapping
69            applications.
70          * Added owl:sameAs property to RDF output for nodes that are redirects
71            to other nodes.
72          * RSS feed now has correct timestamp (matching most recent item) and
73            matching Last-Modified HTTP header.
74        Reorder navigation bar to provide more logical groupings.
75        Add "format=plain" option for all-nodes index listing and associated
76          template plain_index.tt.
77        New message to appear on pages when you have been redirected
78          informing you of the fact.
79        Stop showing potentially very long map URLs in metadata section of
80          node display.
81        Replace ugly obliques in display of categories and locales with more
82          natural commas; change "locale" to "locales" in label.
83        Replace <label> tags in display_metadata.tt with <span
84          class="metadata_label">.
85        Wanted pages listing now displays, and sorts by, the number of nodes
86          pointing to each node.
87        Prevent redirect loops.
88        Add _ to the list of forbidden characters in node names.
89
900.47    15 January 2005
91        Fixed bug with list_all_versions for nodes with only one version.
92        Extended config changes to examples/reindex.pl (thanks jimbo).
93        Now require CGI::Wiki 0.62 to fix bug with deleting versions.
94        Try to ensure that a .htaccess file protecting wiki.conf is installed.
95        Allow for external URLs for Text Formatting help.
96        Home node recent changes box now flags new entries.
97        Made default city and country be blank; specify them if you want them.
98        Missing PREREQUISITE on Plucene added.
99        Added CSS id "maincontent" to exclude the navbar and footer. Misc
100        template tidying including removing old layout tables.
101
1020.46    21 December 2004
103        Minor bug fixes: remove bogus edit link on index listings,
104          add missing default behaviour for geolocation
105        Update supersearch help text URL.
106        Add nofollow to robots meta tag.
107        Added new CSS class "node_name" for inline non-hyperlink references
108          to node names - see README.CSS for details.
109        Fix bug with diff display on nodes containing macros.
110        Fixed distance search paging bug.
111        Fixed bug that allowed autocreation of locales and categories with
112          trailing spaces in the name.
113        Config management refactoring. This should not result in any
114          user-visible changes, apart from introducing a new dependency on
115          Class::Accessor.
116        Make it clearer in documentation that overriding factory templates
117          is a risky activity.
118        Update feedback details and include URL of RT queue.
119        Add missing tests to MANIFEST so they are included with the
120          distribution.
121       
1220.45    1 December 2004
123        Made the geolocation stuff work worldwide.  Squeeeeeee!
124        You can now choose between doing your distance calculations with
125          the British National Grid, the Irish National Grid, or a UTM
126          ellipsoid.  If you wish to use anything other than the British
127          National Grid and you have pre-existing location data then you
128          will need to save an edit of each node with location data before
129          distance searches will work.
130        In less exciting news:
131          Fixed bug relating to lat/long representation.
132          Removed debugging warn accidentally left in last release.
133          Fixed some HTML validation errors.
134
1350.44    17 November 2004
136        Remove all traces of display_categories, which was obsoleted but
137          not completely removed before.
138        Improved the efficiency of the search.
139        Fixed a couple of minor bugs in the search - note that node.tt
140          and supersearch.tt have changed.
141        Change the default indexer for new installs to Plucene.
142        Only run certain search-related tests if Plucene is installed.
143
1440.43    21 October 2004
145        Fix broken navbar changes that crept into last release.
146
1470.42    20 October 2004
148        Handle distance searching with OpenGuides::Supersearch instead of
149          find_within_distance action.
150        Fixed bug with paging on distance-only search (reported by Bob Walker).
151        Improved encapsulation in OpenGuides::Supersearch - accessors.
152        *INCOMPATIBLE CHANGE* Custom templates are now stored in
153          user-definable path, and their names are prefixed with custom_.
154          This only affects you if you have used the custom template support
155          introduced in 0.41.
156        Replace use of CGI::Wiki::Plugin::Geocache with improved node.tt.
157
1580.41    21 September 2004
159        Added backlinks link to navbar.
160        Added some anti-robot tags to certain pages.
161        Fixed bug in install procedure - blank script_name should now get
162          installed as index.cgi
163        Added option of munging in custom lib paths on install.
164        Added option of custom templates for footer, license warning
165          on edit form, banner at top of page (see CUSTOMISATION file
166          for details).
167        Added new macro - used as eg @INDEX_LIST [[Locale Fulham]]
168        Also fixed the RSS reader macro - use this as eg
169          @RSS http://london.openguides.org/?action=rss;username=Kake
170        More semantic markup for metadata display - see README.CSS
171
1720.40    18 September 2004
173        Recent Changes now shows changes in the past 24 hours, past week,
174          past fortnight, and past 30 days.
175        New preferences option to allow Recent Changes visit tracking.
176        Preferences now has an option for when your prefs expire.
177        Navbar added to diff and history pages.
178        The "omit help links" preference now actually works.
179        Set some pages to non-editable and non-deletable that should have been.
180        Recent Changes RSS fixed so "wiki:importance" is set correctly.
181        New "ignore_minor_edits" option for Recent Changes RSS.
182        Added RSS feeds for contributors, locales and categories.
183
1840.39    15 September 2004
185        Split commit_node out into OpenGuides.pm in preparation for spam filter
186        Added option of using Plucene for searching.  If you want to do this
187          (and it is recommended over the default of Search::InvertedIndex)
188          you will need to do two things:
189            - either delete your old indexes (they're just files in the index
190              directory) or use a different index directory
191            - reindex your entire wiki (see reindex.pl in the examples/
192              directory of this distribution)
193
1940.38    26 July 2004
195        Major improvements to the search result ordering (thanks to
196          Steve Jolly, Bob Walker and Billy Abbott for test cases).
197
1980.37    23 July 2004
199        Fixed bug in diff view - the versions are the right way round now...
200          Fixed bug with links in historic view.  Require CGI.pm 2.92 to
201          avoid escapeHTML bug.
202
2030.36    13 July 2004
204        Added diff link to node template.
205        Fixed case sensitivity bug in index node autocreation.
206        Fixed bug with node history comments not being HTML-escaped.
207
2080.35    25 June 2004
209        Forgot to add version prerequisite on CGI::Wiki.  Don't use 0.34,
210          use this.
211
2120.34    25 June 2004
213        Add facility to delete only certain revisions of a page - access
214          this from the node history page.
215
2160.33    20 June 2004
217        Improve node history page to allow diffing between each version and
218          the previous one or the current one.
219        Test overhauls - you don't need to run the configuration step in
220          order to run the tests now, but you do need to have DBD::SQLite
221          for most of them.
222        Fixed template bug in display_metadata.tt that was stopping map
223          links being displayed for nodes with no address data (spotted
224          by Steve Jolly).
225        Removed inline style from recent_changes.tt. You will need to add
226          the styles table#recentchanges, td.recentchanges_meta,
227          td.recentchanges_user, td.recentchanges_node_name and
228          td.recentchanges_comment to your stylesheets.
229          td#map changed to td#map_link in edit_conflict.tt.
230        Added searching by distance from an arbitrary point (click on
231          Advanced Search).
232        Internal rejigging - extracted some methods from wiki.cgi to
233          OpenGuides.pm.
234        Added new preference for default edit type.
235        Reinstate apparently lost change from 0.26 to show IP rather than
236          "Anonymous" in RecentChanges.
237        More informative <title> tags for non-node (e.g. node version
238          history) pages.
239
2400.32    7 June 2004
241        Change auto-creating behaviour of index nodes (categories and
242          locales): instead of being created on access they are created
243          when the referring node is committed. This fixes compliance with
244          RFC 2616 section 9.1.1 and prevents corrupted index nodes being
245          created accidentally.
246
2470.31    09 May 2004
248        Created a new macro to allow the embedding of RSS feeds into
249          pages, using CGI::Wiki::Plugin::RSS::Reader. This allows you
250          to do this to produce a list of up to ten hyperlinks:
251            @RSS [http://example.com/example.rss]
252       
253        Numerous template tweaks to comply with the W3C's Web Content
254          Accessibility Guidelines (http://www.w3.org/TR/WAI-WEBCONTENT/):
255          - summaries for all HTML tables
256          - labels for all form input elements and some textual additions
257            to templates, such as '/' separators between navbar items,
258            because the guidelines specify links should not only be
259            separated by whitespace. If you don't want these to appear,
260            put the following in your stylesheet and they'll be hidden by
261            CSS (but will still appear for people using textual browsers or
262            screen readers): ".hidden { display: none }".
263          - the "lang" element (a two-letter code identifying the language
264            you're writing pages in) will now be added to the <html> tag on
265            all pages; a new question has been added to the configuration
266            script to ask for it and it will be stored in wiki.conf.
267            ***         YOU WILL NEED TO RUN BUILD.PL AGAIN.          ***
268            *** Remember to keep a backup copy of your old wiki.conf! ***   
269
270        Improved navigation for search results (next and previous n hits).
271          Removed underscores from page names in search results.
272
273        Overhauled RDF output. Changes:
274          - everything is no longer classified as a restaurant(!)
275          - empty tags are no longer generated
276          - show categories, locales and OS x/y coords in invididual
277            node RDF view
278          - switch to W3C contact namespace for addressing data
279          - move homepage tag out of wiki metadata
280          - remove nonexistent "gs:" namespace from category indices
281          - logical structure improvements (subjects of pages are now
282            identified as spatial things if they are, or are RDF
283            descriptions if they're not, instead of being anonymous
284            FOAF topics)
285          - include city and country in RDF only for spatial things.
286
287        Fixed bug that prevented automatic database initialization on
288          SQLite databases.
289
290        Doc fix for private installations.
291
292        Removed the following characters from the list of forbidden ones in
293          node names in newpage.cgi (a restriction which dates from all the way
294          back when we were using UseModWiki): " ! $ ^ ~ @ [ ] { }
295
296        Removed newlines from output of search box macro.
297
298        Reimplemented diffing using CGI::Wiki::Plugin::Diff as it seems the
299          change in 0.30 got lost. Removed OpenGuides::Diff.pm as we should not
300          be distributing it.
301
3020.30    29 December 2003
303        Added method to allow admins to delete nodes.  You will need to
304          explicitly enable this option in your wiki.conf, since it brings
305          with it the risk of accidental data loss.
306
307        Major overhaul of templates - added numerous style hooks.  See
308          examples/ for two stylesheet designs that take advantage of these.
309          Added new banner template for page headers. Also ensured presence
310          of navigation bar is consistent.
311          *** INCOMPATIBLE CHANGE: *** The navbar class in the stylesheet
312          has been renamed to, unsurprisingly, "navbar", for consistency
313          (from "toolbar"). *** YOU WILL NEED TO REWRITE YOUR STYLESHEET. ***
314          You are advised to create a duplicate wiki.cgi that reads its data
315          from your database but its stylesheet and templates from the new
316          ones in order to test them *before* deploying them.
317
318        Added "FAQ", "How To Get Started" and "Wiki Etiquette" to the
319          navigation, under "Help" - these won't exist unless you create them
320          on your site, so at first the links serve as examples of
321          documentation you can provide.
322
323        Modified preferences.cgi so that all the help links in the navbar
324          can be hidden, not just the text formatting link.
325
326        Fixed some HTML validation bugs.
327
328        Added multiple install and pretty URL notes to INSTALL.
329
330        Removed pubcrawl stuff from distro for now - it doesn't really work.
331
332        Changed to use CGI::Wiki::Plugin::Diff instead of OpenGuides::Diff.
333
3340.29    8 November 2003
335        Expanded section in TROUBLESHOOTING about permissions problems.
336
337        Diff.pm now absorbs trailing punctuation and spaces into words
338          it is diffing (to give less blocky results).
339
340        SuperSearch.pm change NOT to use '-' instead of '!'.
341
3420.28    1 November 2003
343        Allow running sites on SQLite databases.
344
345        Fixed bug with navbar prompt in Build.PL (CPAN RT #3894).
346        Junked OpenGuides::Config completely to avoid database password
347          leakage, and easier install (CPAN RT #3916).
348
3490.27    1 November 2003
350        Fixed bug with category/locale indexing - no longer case-sensitive.
351
352        Fixed bug that had the supersearch results page offering an edit link.
353
354        Revamp of search syntax to make the SuperSearch UI much more like
355        Google and Alta Vista. See the POD of SuperSearch.pm for details.
356
3570.26    9 October 2003
358        Modified TROUBLESHOOTING to reflect the correct invocation for
359          Module::Build to install into a private directory.
360
361        Show IP address for anonymous edits.
362
363        Changed CGI.pm version dependency for Dom (CPAN bug #3895).
364
365        Added check to OpenGuides::SuperSearch to stop it trying to
366          retrieve a nonexistent node when the search indexes have screwed up.
367
3680.25    23 September 2003
369        Applied recent changes fix to front page feed as well.
370
371        Search box now searches categories and locales as well as title and
372          body - so for example a search on "holborn & pubs" will DTRT.
373
374        NOT and phrase search tests were passing even though they shouldn't
375          have been - skip them for now.
376
3770.24    8 September 2003
378        Fix to recent changes so minor changes don't mask major ones.
379
380        Fixed supersearch.cgi to use a template instead of CGI.pm to avoid
381          weird errors, also turned it into a module and added tests.
382        Strip whitespace from OS co-ords before storing in database.
383
3840.23    4 August 2003
385        Removed the "POST_CHOMP" option as it was messing up textareas, added
386        a test to make sure this doesn't reoccur.
387
3880.22    4 August 2003
389        Fixed bug with usernames containing spaces in recent changes/userstats.
390
391        Try out create_makefile_pl => "passthrough" in Build.PL
392
393        Minor fixes to tests to make them work with newest UseMod formatter.
394
395        Prevented "Edit this page" from showing up on category indexes.
396
397        Set TT "POST_CHOMP" option to strip unnecessary newlines from HTML.
398
399        Fixed CPAN bug #3085 - quotes in change summary box.
400
401        Added openguides_version template variable and added it to page
402        footer (CPAN request 3110).
403
4040.21    17 July 2003
405        We no longer autogenerate a Makefile.PL, since it doesn't pick up
406        all the questions that need to be asked.  Sorry.  Use Module::Build
407        as detailed in INSTALL, since you won't be able to get the right
408        version of Text::WikiFormat installed without it in any case.
409
410        Added version number to CGI.pm prereq as Alex McLintock hit a
411        version that didn't have unescape.
412
413        Added a link on RecentChanges to the RSS version, and put an
414        autodiscovery tag for the RSS in the head section.
415
416        Changed diff feature to hide checksums, which aren't necessary for
417        the user to see. Fixed a minor bug in the node history template so
418        that the diff links compare the selected version against the previous
419        one, not the original one every time.
420
4210.20    10 July 2003
422        Fixed all the email addresses to openguides-dev@openguides.org.
423
4240.19    10 July 2003
425        Extra checks that script_url ends in a '/'.
426
427        Fixed small bug with edit conflict form - map link field was missing.
428
429        Moved "content" div in a couple of templates to fix incorrect nesting.
430
431        @INDEX_LINK macros now have optional title text like so:
432          @INDEX_LINK [[Category Pubs|Pubs]]
433
434        Added preferences option for including or excluding text formatting
435        rules link in navbar.  Enable this by setting text_formatting_node
436        in your config file.
437
438        Added config option for including the navbar on the home page.
439
440        Implemented minor edits.
441
442        Fixed cookie to persist beyond session.
443
4440.18    16 June 2003
445        Added a Makefile.PL as well as a Build.PL, for CPAN.pm users.
446
4470.17    15 June 2003
448        Fixed OpenGuides::Utils to take note of dbhost.
449 
450        Added example stylesheet provided by the OxfordGuide team.
451
4520.16    26 May 2003
453        Ivor fixed OpenGuides::Diff to diff by word instead of by character.
454
455        Fixed edit conflict up so it works nicely when you click the
456        Save button as well as the Preview one.
457
458        Added preferences option of displaying lat/long as deg-min-sec
459        instead of decimal (requested by James).
460
4610.15    18 May 2003
462        Added Algorithm::Diff version dependency to prereqs, fixed bug
463        with preferences.cgi and blank script_name, fixed REDIRECT bug.
464
4650.14    17 May 2003
466        Added "Wanted Pages" link to navbar, thanks to Simon Cozens for
467        the idea.
468
469        Fixed many bugs noticed by Dominic Hargreaves and other Oxonians.
470        Many thanks to Dominic for making an Oxford OpenGuides install for
471        us to find bugs in.
472
4730.13    17 May 2003
474        Added some more stylesheet hooks.
475 
476        Tweaked OpenGuides::Diff to make it testable, added a start at tests.
477
478        Lat and long now stored to only 6dp instead of millions.
479
480        Added edit field for map link.
481
4820.12    14 May 2003
483        Added OpenGuides::CGI to manage cookies and things, used this to
484        do more code tidying.  Added edit box position option to preferences.
485
4860.11    14 May 2003
487        Added newpage.cgi for an easy way to create new pages.
488
489        Took loads of repeated code (for extracting and packaging metadata
490        variables) out of wiki.cgi into OpenGuides::Template.
491
4920.10    11 May 2003
493        Added OpenGuides::Diff to provide nice diff output between
494        node versions.
495
496        Added OpenGuides::Template to handle Template Toolkit stuff in a
497        more testable and reusable way than just bunging it in wiki.cgi.
498
4990.09    10 May 2003
500        Added OpenGuides::UK::PubCrawl and pubcrawl.cgi as a start at a
501        pub crawl generator.
502
503        Added OpenGuides::Utils to make it easier to write little standalone
504        scripts like supersearch.cgi, pubcrawl. cgi, etc.  Made wiki.cgi and
505        supersearch.cgi use it, and lost loads of duplicated code in the
506        process, hurrah.
507
5080.08    3 May 2003
509        Added fuzzy matching capability -
510          action=index;index_type=fuzzy_title_match;index_value=hollborne
511        Someone needs to write a nice search box interface for this.
512
513        Fixed edit_conflict template and preview method to cope with stale
514        checksum - passes through all the metadata properly now and offers
515        a side by side comparison of what you input and what is stored.
516
517        RDF output for node is now encoding-agnostic (used to have UTF-8
518        hardcoded).  Also is now called as wiki.cgi?id=Node_Name;format=rdf
519
5200.07    3 May 2003
521        Require CGI::Wiki 0.32 to avoid bug (again a Bob find!) where
522        committing a node with metadata but no content would die.
523
524        Auto-created category/locale stub pages now added to Category Category
525        or Category Locales as appropriate.
526
527        Added a couple of extra allowed HTML tags to cater for existing
528        grubstreet data.
529
530        Fixed bug in OpenGuides::RDF - it used to die if called on a
531        nonexistent node, now it returns stuff with a wiki:version of 0.
532
5330.06    2 May 2003
534        Fixed supersearch.cgi so it works with MySQL as well as Postgres
535        (thanks again to Bob for finding the bug).
536
5370.05    2 May 2003
538        Redid the script and template installation so the script does
539        actually get called what you said it should be (code copied
540        somewhat from Siesta::Build).
541
542        Fixed the support for non-local databases/IDENT authentication.
543        I think.
544
545        Fixed the hardcoded 'wiki.cgi' in some of the templates (thanks Bob).
546
5470.04    29 April 2003
548        First public release.
Note: See TracBrowser for help on using the repository browser.