source: trunk/Changes @ 849

Last change on this file since 849 was 849, checked in by Dominic Hargreaves, 15 years ago

Tidies up various template bugs (closes #132, #133)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 27.6 KB
1"#" items refer to tickets. See <> for details.
20.57    ?? August 2006
3        Lots more Atom and RSS feeds, including for searching
4        Admin interface
5        Nodes missing metadata interface
6        Moderation support (based on Wiki::Toolkit moderation)
7        Four new config file options: moderation_requires_password,
8          enable_node_image, enable_common_categories, enable_common_locales
9        Search::InvertedIndex support is deprecated as of this release.
10          Please upgrade to Plucene if you are still using it.
11        Tidy up some template bits
130.56    14 June 2006
14        Fix bug introduced in feed formatting where Atom feeds would be
15          produced when asked for RSS and vice versa.
170.55    13 June 2006
18        Versioned dependency on Wiki::Toolkit to avoid development
19          versions
20        Support generating feeds of a node's version listing, in addition
21          to feeds of the recent changes. For more information on OpenGuides
22          feeds, see
240.54_02 8 June 2006
25        Pass the feed_listing (currently just recent_changes) through all
26          the feed related code, rather than assuming it'll only ever be
27          recent changes. Will allow other listings of nodes to be handled
28          in the future.
300.54_01 16 May 2006
31        Support for Atom feeds for RecentChanges.
32        #118 Use Wiki::Toolkit. NOTE this is a development snapshot and is
33          not suitable for production use. It may eat your data! Tests on
34          development mirrors of live data are highly welcomed; the underlying
35          database schema provided by Wiki::Toolkit has changed and the upgrade
36          process needs some rigorous testing.
380.54    21 April 2006
39        #112 Fixed website display bug introduced in 0.53.
410.53    20 April 2006
42        Miscellanous fixes for mod_perl.
43        #42 New "About" screen. Try action=about and action=about;format=rdf.
44        #97 Use "summary" metadata to generate HTML meta descriptions.
45        New OpenGuides::Feed module to handle feed generation (code was
46          previously in OpenGuides::RDF).
47        Generate URIs for locales and contributors in RDF output.
48        #107 Don't display partial http:// URL in preview.
49        #93 Upgrade to new Google Maps API (for smaller javascript download)
50        #103 Fix empty Category/Locale list bug.
51        #54 Fix RSS redirection for backwards compatibility.
52        #79 Partial fix to help combat HTML spam
53        #56 Add licence config variables
550.52    5 March 2006
56        IMPORTANT CHANGE: "supersearch.cgi" is now simply "search.cgi". If you
57          have customisations to your templates, you may need to make changes
58          to reflect this.
59        Rename OpenGuides::SuperSearch to OpenGuides::Search.
60        Use corrent content-type (application/rdf+xml) for all RDF output.
61        Things with opening hours are marked as geospatial in RDF.
62        Fix missing bracket in
63        Add custom_node template just below main content in
64        Google Maps support! There is a new index type,
65          wiki.cgi?action=index;format=map, and maps appear in the node listings
66          (the latter feature is user-configurable).
67        Fix <link> in RSS to point to RecentChanges page, not the feed itself.
68        #67 Default website for a page is now http://
69        Fix mod_perl redirect bug.
70        Fix test failure with 3.16.
71        #87 Edit on mirrored pages now goes to source site
72        #66 Locales in RDF now use dc:title, not foaf:name
740.51    15 November 2005
75        Important changes:
76          * The preferred way to get RecentChanges is now to pass the CGI the
77            parameter "action=rc", rather than just using the page name
78            "RecentChanges". However, this method will still work for the time
79            being. Similarly, the URL parameter for the RecentChanges RSS feed
80            has changed from "action=rss" to "action=rc;format=rss". Requests
81            for the former will be redirected to the latter.
83        New features:
84          * When trying to view a non-existent node, you will now be presented
85            with a message asking if you want to create that node, rather than
86            a blank page.
87          * New "summary" metadata field for one-line summaries of nodes:
88            - Add summary field to RDF as dc:description.
89            - Show node summary in search results.
90          * New "format=raw" option for outputting wiki text of a node.
91          * RSS feed now contains DOAP ( metadata.
93        RDF bugfixes:
94          * Locales, address and summary fields now XML-escaped properly.
95          * Add "address" field that was missing from the RDF node view.
96          * Update URL for Dublin Core elements in RDF index view.
97          * Fix URL in the RSS <channel> element to point to the RSS URL,
98            not the RecentChanges page URL.
100        Search bugfixes:
101          * Fix bug that was breaking coordinate entry fields on search page if
102            lat/lon was being used.
103          * Fix bug in OpenGuides::SuperSearch that wasn't passing "latitude"
104            and "longitude" values to the search template when a distance
105            search was being done.
107        Minor improvements:
108          * Replace underscores in node names in "redirected from" message
109            with spaces.
110          * "Redirected from" message now links to a rendered version of
111            the old page rather than the editing view.
113        Miscellaneous bugfixes:
114          * Fix problem with newer Text::Wikiformat and blank nodes.
115          * Fix bug in navbar template that caused warnings in the tests.
1170.50    2 October 2005
118        Remove rogue ampersand that had crept into the RSS feed.
1200.49    24 July 2005
121        Add updated prerequisite on CGI::Wiki::Plugin::RSS::ModWiki (fixes
122        a test failure)
1240.48    24 July 2005
125        RDF enhancements:
126          * Removed redundant "id" parameter specification from dc:source in
127            rdf:Description in RDF node listings.
128          * Fixed bug that was causing all nodes to be flagged as a
129            geo:SpatialThing whether they were or not.
130          * Ensured that ampersands and greater/less than symbols were properly
131            escaped so as not to be XML-toxic.
132          * Added geo:lat, geo:long and RSS link attributes to items in
133            category/locale listings to facilitate integration with mapping
134            applications.
135          * Added owl:sameAs property to RDF output for nodes that are redirects
136            to other nodes.
137          * RSS feed now has correct timestamp (matching most recent item) and
138            matching Last-Modified HTTP header.
139        Reorder navigation bar to provide more logical groupings.
140        Add "format=plain" option for all-nodes index listing and associated
141          template
142        New message to appear on pages when you have been redirected
143          informing you of the fact.
144        Stop showing potentially very long map URLs in metadata section of
145          node display.
146        Replace ugly obliques in display of categories and locales with more
147          natural commas; change "locale" to "locales" in label.
148        Replace <label> tags in with <span
149          class="metadata_label">.
150        Wanted pages listing now displays, and sorts by, the number of nodes
151          pointing to each node.
152        Prevent redirect loops.
153        Add _ to the list of forbidden characters in node names.
1550.47    15 January 2005
156        Fixed bug with list_all_versions for nodes with only one version.
157        Extended config changes to examples/ (thanks jimbo).
158        Now require CGI::Wiki 0.62 to fix bug with deleting versions.
159        Try to ensure that a .htaccess file protecting wiki.conf is installed.
160        Allow for external URLs for Text Formatting help.
161        Home node recent changes box now flags new entries.
162        Made default city and country be blank; specify them if you want them.
163        Missing PREREQUISITE on Plucene added.
164        Added CSS id "maincontent" to exclude the navbar and footer. Misc
165        template tidying including removing old layout tables.
1670.46    21 December 2004
168        Minor bug fixes: remove bogus edit link on index listings,
169          add missing default behaviour for geolocation
170        Update supersearch help text URL.
171        Add nofollow to robots meta tag.
172        Added new CSS class "node_name" for inline non-hyperlink references
173          to node names - see README.CSS for details.
174        Fix bug with diff display on nodes containing macros.
175        Fixed distance search paging bug.
176        Fixed bug that allowed autocreation of locales and categories with
177          trailing spaces in the name.
178        Config management refactoring. This should not result in any
179          user-visible changes, apart from introducing a new dependency on
180          Class::Accessor.
181        Make it clearer in documentation that overriding factory templates
182          is a risky activity.
183        Update feedback details and include URL of RT queue.
184        Add missing tests to MANIFEST so they are included with the
185          distribution.
1870.45    1 December 2004
188        Made the geolocation stuff work worldwide.  Squeeeeeee!
189        You can now choose between doing your distance calculations with
190          the British National Grid, the Irish National Grid, or a UTM
191          ellipsoid.  If you wish to use anything other than the British
192          National Grid and you have pre-existing location data then you
193          will need to save an edit of each node with location data before
194          distance searches will work.
195        In less exciting news:
196          Fixed bug relating to lat/long representation.
197          Removed debugging warn accidentally left in last release.
198          Fixed some HTML validation errors.
2000.44    17 November 2004
201        Remove all traces of display_categories, which was obsoleted but
202          not completely removed before.
203        Improved the efficiency of the search.
204        Fixed a couple of minor bugs in the search - note that
205          and have changed.
206        Change the default indexer for new installs to Plucene.
207        Only run certain search-related tests if Plucene is installed.
2090.43    21 October 2004
210        Fix broken navbar changes that crept into last release.
2120.42    20 October 2004
213        Handle distance searching with OpenGuides::Supersearch instead of
214          find_within_distance action.
215        Fixed bug with paging on distance-only search (reported by Bob Walker).
216        Improved encapsulation in OpenGuides::Supersearch - accessors.
217        *INCOMPATIBLE CHANGE* Custom templates are now stored in
218          user-definable path, and their names are prefixed with custom_.
219          This only affects you if you have used the custom template support
220          introduced in 0.41.
221        Replace use of CGI::Wiki::Plugin::Geocache with improved
2230.41    21 September 2004
224        Added backlinks link to navbar.
225        Added some anti-robot tags to certain pages.
226        Fixed bug in install procedure - blank script_name should now get
227          installed as index.cgi
228        Added option of munging in custom lib paths on install.
229        Added option of custom templates for footer, license warning
230          on edit form, banner at top of page (see CUSTOMISATION file
231          for details).
232        Added new macro - used as eg @INDEX_LIST [[Locale Fulham]]
233        Also fixed the RSS reader macro - use this as eg
234          @RSS;username=Kake
235        More semantic markup for metadata display - see README.CSS
2370.40    18 September 2004
238        Recent Changes now shows changes in the past 24 hours, past week,
239          past fortnight, and past 30 days.
240        New preferences option to allow Recent Changes visit tracking.
241        Preferences now has an option for when your prefs expire.
242        Navbar added to diff and history pages.
243        The "omit help links" preference now actually works.
244        Set some pages to non-editable and non-deletable that should have been.
245        Recent Changes RSS fixed so "wiki:importance" is set correctly.
246        New "ignore_minor_edits" option for Recent Changes RSS.
247        Added RSS feeds for contributors, locales and categories.
2490.39    15 September 2004
250        Split commit_node out into in preparation for spam filter
251        Added option of using Plucene for searching.  If you want to do this
252          (and it is recommended over the default of Search::InvertedIndex)
253          you will need to do two things:
254            - either delete your old indexes (they're just files in the index
255              directory) or use a different index directory
256            - reindex your entire wiki (see in the examples/
257              directory of this distribution)
2590.38    26 July 2004
260        Major improvements to the search result ordering (thanks to
261          Steve Jolly, Bob Walker and Billy Abbott for test cases).
2630.37    23 July 2004
264        Fixed bug in diff view - the versions are the right way round now...
265          Fixed bug with links in historic view.  Require 2.92 to
266          avoid escapeHTML bug.
2680.36    13 July 2004
269        Added diff link to node template.
270        Fixed case sensitivity bug in index node autocreation.
271        Fixed bug with node history comments not being HTML-escaped.
2730.35    25 June 2004
274        Forgot to add version prerequisite on CGI::Wiki.  Don't use 0.34,
275          use this.
2770.34    25 June 2004
278        Add facility to delete only certain revisions of a page - access
279          this from the node history page.
2810.33    20 June 2004
282        Improve node history page to allow diffing between each version and
283          the previous one or the current one.
284        Test overhauls - you don't need to run the configuration step in
285          order to run the tests now, but you do need to have DBD::SQLite
286          for most of them.
287        Fixed template bug in that was stopping map
288          links being displayed for nodes with no address data (spotted
289          by Steve Jolly).
290        Removed inline style from You will need to add
291          the styles table#recentchanges, td.recentchanges_meta,
292          td.recentchanges_user, td.recentchanges_node_name and
293          td.recentchanges_comment to your stylesheets.
294          td#map changed to td#map_link in
295        Added searching by distance from an arbitrary point (click on
296          Advanced Search).
297        Internal rejigging - extracted some methods from wiki.cgi to
299        Added new preference for default edit type.
300        Reinstate apparently lost change from 0.26 to show IP rather than
301          "Anonymous" in RecentChanges.
302        More informative <title> tags for non-node (e.g. node version
303          history) pages.
3050.32    7 June 2004
306        Change auto-creating behaviour of index nodes (categories and
307          locales): instead of being created on access they are created
308          when the referring node is committed. This fixes compliance with
309          RFC 2616 section 9.1.1 and prevents corrupted index nodes being
310          created accidentally.
3120.31    09 May 2004
313        Created a new macro to allow the embedding of RSS feeds into
314          pages, using CGI::Wiki::Plugin::RSS::Reader. This allows you
315          to do this to produce a list of up to ten hyperlinks:
316            @RSS []
318        Numerous template tweaks to comply with the W3C's Web Content
319          Accessibility Guidelines (
320          - summaries for all HTML tables
321          - labels for all form input elements and some textual additions
322            to templates, such as '/' separators between navbar items,
323            because the guidelines specify links should not only be
324            separated by whitespace. If you don't want these to appear,
325            put the following in your stylesheet and they'll be hidden by
326            CSS (but will still appear for people using textual browsers or
327            screen readers): ".hidden { display: none }".
328          - the "lang" element (a two-letter code identifying the language
329            you're writing pages in) will now be added to the <html> tag on
330            all pages; a new question has been added to the configuration
331            script to ask for it and it will be stored in wiki.conf.
332            ***         YOU WILL NEED TO RUN BUILD.PL AGAIN.          ***
333            *** Remember to keep a backup copy of your old wiki.conf! ***   
335        Improved navigation for search results (next and previous n hits).
336          Removed underscores from page names in search results.
338        Overhauled RDF output. Changes:
339          - everything is no longer classified as a restaurant(!)
340          - empty tags are no longer generated
341          - show categories, locales and OS x/y coords in invididual
342            node RDF view
343          - switch to W3C contact namespace for addressing data
344          - move homepage tag out of wiki metadata
345          - remove nonexistent "gs:" namespace from category indices
346          - logical structure improvements (subjects of pages are now
347            identified as spatial things if they are, or are RDF
348            descriptions if they're not, instead of being anonymous
349            FOAF topics)
350          - include city and country in RDF only for spatial things.
352        Fixed bug that prevented automatic database initialization on
353          SQLite databases.
355        Doc fix for private installations.
357        Removed the following characters from the list of forbidden ones in
358          node names in newpage.cgi (a restriction which dates from all the way
359          back when we were using UseModWiki): " ! $ ^ ~ @ [ ] { }
361        Removed newlines from output of search box macro.
363        Reimplemented diffing using CGI::Wiki::Plugin::Diff as it seems the
364          change in 0.30 got lost. Removed as we should not
365          be distributing it.
3670.30    29 December 2003
368        Added method to allow admins to delete nodes.  You will need to
369          explicitly enable this option in your wiki.conf, since it brings
370          with it the risk of accidental data loss.
372        Major overhaul of templates - added numerous style hooks.  See
373          examples/ for two stylesheet designs that take advantage of these.
374          Added new banner template for page headers. Also ensured presence
375          of navigation bar is consistent.
376          *** INCOMPATIBLE CHANGE: *** The navbar class in the stylesheet
377          has been renamed to, unsurprisingly, "navbar", for consistency
378          (from "toolbar"). *** YOU WILL NEED TO REWRITE YOUR STYLESHEET. ***
379          You are advised to create a duplicate wiki.cgi that reads its data
380          from your database but its stylesheet and templates from the new
381          ones in order to test them *before* deploying them.
383        Added "FAQ", "How To Get Started" and "Wiki Etiquette" to the
384          navigation, under "Help" - these won't exist unless you create them
385          on your site, so at first the links serve as examples of
386          documentation you can provide.
388        Modified preferences.cgi so that all the help links in the navbar
389          can be hidden, not just the text formatting link.
391        Fixed some HTML validation bugs.
393        Added multiple install and pretty URL notes to INSTALL.
395        Removed pubcrawl stuff from distro for now - it doesn't really work.
397        Changed to use CGI::Wiki::Plugin::Diff instead of OpenGuides::Diff.
3990.29    8 November 2003
400        Expanded section in TROUBLESHOOTING about permissions problems.
402 now absorbs trailing punctuation and spaces into words
403          it is diffing (to give less blocky results).
405 change NOT to use '-' instead of '!'.
4070.28    1 November 2003
408        Allow running sites on SQLite databases.
410        Fixed bug with navbar prompt in Build.PL (CPAN RT #3894).
411        Junked OpenGuides::Config completely to avoid database password
412          leakage, and easier install (CPAN RT #3916).
4140.27    1 November 2003
415        Fixed bug with category/locale indexing - no longer case-sensitive.
417        Fixed bug that had the supersearch results page offering an edit link.
419        Revamp of search syntax to make the SuperSearch UI much more like
420        Google and Alta Vista. See the POD of for details.
4220.26    9 October 2003
423        Modified TROUBLESHOOTING to reflect the correct invocation for
424          Module::Build to install into a private directory.
426        Show IP address for anonymous edits.
428        Changed version dependency for Dom (CPAN bug #3895).
430        Added check to OpenGuides::SuperSearch to stop it trying to
431          retrieve a nonexistent node when the search indexes have screwed up.
4330.25    23 September 2003
434        Applied recent changes fix to front page feed as well.
436        Search box now searches categories and locales as well as title and
437          body - so for example a search on "holborn & pubs" will DTRT.
439        NOT and phrase search tests were passing even though they shouldn't
440          have been - skip them for now.
4420.24    8 September 2003
443        Fix to recent changes so minor changes don't mask major ones.
445        Fixed supersearch.cgi to use a template instead of to avoid
446          weird errors, also turned it into a module and added tests.
447        Strip whitespace from OS co-ords before storing in database.
4490.23    4 August 2003
450        Removed the "POST_CHOMP" option as it was messing up textareas, added
451        a test to make sure this doesn't reoccur.
4530.22    4 August 2003
454        Fixed bug with usernames containing spaces in recent changes/userstats.
456        Try out create_makefile_pl => "passthrough" in Build.PL
458        Minor fixes to tests to make them work with newest UseMod formatter.
460        Prevented "Edit this page" from showing up on category indexes.
462        Set TT "POST_CHOMP" option to strip unnecessary newlines from HTML.
464        Fixed CPAN bug #3085 - quotes in change summary box.
466        Added openguides_version template variable and added it to page
467        footer (CPAN request 3110).
4690.21    17 July 2003
470        We no longer autogenerate a Makefile.PL, since it doesn't pick up
471        all the questions that need to be asked.  Sorry.  Use Module::Build
472        as detailed in INSTALL, since you won't be able to get the right
473        version of Text::WikiFormat installed without it in any case.
475        Added version number to prereq as Alex McLintock hit a
476        version that didn't have unescape.
478        Added a link on RecentChanges to the RSS version, and put an
479        autodiscovery tag for the RSS in the head section.
481        Changed diff feature to hide checksums, which aren't necessary for
482        the user to see. Fixed a minor bug in the node history template so
483        that the diff links compare the selected version against the previous
484        one, not the original one every time.
4860.20    10 July 2003
487        Fixed all the email addresses to
4890.19    10 July 2003
490        Extra checks that script_url ends in a '/'.
492        Fixed small bug with edit conflict form - map link field was missing.
494        Moved "content" div in a couple of templates to fix incorrect nesting.
496        @INDEX_LINK macros now have optional title text like so:
497          @INDEX_LINK [[Category Pubs|Pubs]]
499        Added preferences option for including or excluding text formatting
500        rules link in navbar.  Enable this by setting text_formatting_node
501        in your config file.
503        Added config option for including the navbar on the home page.
505        Implemented minor edits.
507        Fixed cookie to persist beyond session.
5090.18    16 June 2003
510        Added a Makefile.PL as well as a Build.PL, for users.
5120.17    15 June 2003
513        Fixed OpenGuides::Utils to take note of dbhost.
515        Added example stylesheet provided by the OxfordGuide team.
5170.16    26 May 2003
518        Ivor fixed OpenGuides::Diff to diff by word instead of by character.
520        Fixed edit conflict up so it works nicely when you click the
521        Save button as well as the Preview one.
523        Added preferences option of displaying lat/long as deg-min-sec
524        instead of decimal (requested by James).
5260.15    18 May 2003
527        Added Algorithm::Diff version dependency to prereqs, fixed bug
528        with preferences.cgi and blank script_name, fixed REDIRECT bug.
5300.14    17 May 2003
531        Added "Wanted Pages" link to navbar, thanks to Simon Cozens for
532        the idea.
534        Fixed many bugs noticed by Dominic Hargreaves and other Oxonians.
535        Many thanks to Dominic for making an Oxford OpenGuides install for
536        us to find bugs in.
5380.13    17 May 2003
539        Added some more stylesheet hooks.
541        Tweaked OpenGuides::Diff to make it testable, added a start at tests.
543        Lat and long now stored to only 6dp instead of millions.
545        Added edit field for map link.
5470.12    14 May 2003
548        Added OpenGuides::CGI to manage cookies and things, used this to
549        do more code tidying.  Added edit box position option to preferences.
5510.11    14 May 2003
552        Added newpage.cgi for an easy way to create new pages.
554        Took loads of repeated code (for extracting and packaging metadata
555        variables) out of wiki.cgi into OpenGuides::Template.
5570.10    11 May 2003
558        Added OpenGuides::Diff to provide nice diff output between
559        node versions.
561        Added OpenGuides::Template to handle Template Toolkit stuff in a
562        more testable and reusable way than just bunging it in wiki.cgi.
5640.09    10 May 2003
565        Added OpenGuides::UK::PubCrawl and pubcrawl.cgi as a start at a
566        pub crawl generator.
568        Added OpenGuides::Utils to make it easier to write little standalone
569        scripts like supersearch.cgi, pubcrawl. cgi, etc.  Made wiki.cgi and
570        supersearch.cgi use it, and lost loads of duplicated code in the
571        process, hurrah.
5730.08    3 May 2003
574        Added fuzzy matching capability -
575          action=index;index_type=fuzzy_title_match;index_value=hollborne
576        Someone needs to write a nice search box interface for this.
578        Fixed edit_conflict template and preview method to cope with stale
579        checksum - passes through all the metadata properly now and offers
580        a side by side comparison of what you input and what is stored.
582        RDF output for node is now encoding-agnostic (used to have UTF-8
583        hardcoded).  Also is now called as wiki.cgi?id=Node_Name;format=rdf
5850.07    3 May 2003
586        Require CGI::Wiki 0.32 to avoid bug (again a Bob find!) where
587        committing a node with metadata but no content would die.
589        Auto-created category/locale stub pages now added to Category Category
590        or Category Locales as appropriate.
592        Added a couple of extra allowed HTML tags to cater for existing
593        grubstreet data.
595        Fixed bug in OpenGuides::RDF - it used to die if called on a
596        nonexistent node, now it returns stuff with a wiki:version of 0.
5980.06    2 May 2003
599        Fixed supersearch.cgi so it works with MySQL as well as Postgres
600        (thanks again to Bob for finding the bug).
6020.05    2 May 2003
603        Redid the script and template installation so the script does
604        actually get called what you said it should be (code copied
605        somewhat from Siesta::Build).
607        Fixed the support for non-local databases/IDENT authentication.
608        I think.
610        Fixed the hardcoded 'wiki.cgi' in some of the templates (thanks Bob).
6120.04    29 April 2003
613        First public release.
Note: See TracBrowser for help on using the repository browser.