source: trunk/Changes @ 709

Last change on this file since 709 was 709, checked in by Dominic Hargreaves, 16 years ago

navbar.tt fix for tests.

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