root/wiki-toolkit/trunk/Changes @ 395

Revision 395, 20.5 KB (checked in by dom, 6 years ago)

We haven't released yet

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
10.75   
2        Support for selecting versions by moderation status (see OpenGuides
3        ticket #142)
4
50.74    9  June 2007
6        Added list_last_version_before method, to get the version of all the
7         nodes at a given point in time
8        Updated version on Text::WikiFormat dependency to avoid long-standing
9         test failure with old version
10        Bump version number of Wiki::Toolkit::Plugin as this was not done
11         the last time it was changed (for CPAN.pm compatibility)
12
130.73    12 December 2006
14        Added parse_feed_timestamp method
15        Added encoding parameter to the Feed methods, to allow overriding
16          the store's encoding.
17
180.72    15 September 2006
19        Install wiki-toolkit-rename-node
20
210.71    30 August 2006
22        More feed code refactoring, to allow "mini" feeds with just
23          name, and optionally distance and location. Typically used in
24          search results, especially with Wiki::Toolkit::Plugin::Locator's
25        Ability to filter by nodes without certain metadata, by type
26          or type+value ("everything without a longitude" or
27          "everything not category=Pub")
28        Fix bug in Listing.pm pod output
29
300.70    6 June 2006
31        Feed code has been refactored.
32        Check that the database schema is up-to-date when initializing the
33          store and abort otherwise.
34        In PostgresSQL setup code, delete orphaned content/metadata rows.
35        When we bulk delete and insert data for an upgrade, check to make
36          sure we can create the tables and indexes before dropping the old
37          tables.
38        Other miscellaneous fixes.
39
400.69_03 13 May 2006
41        Add Wiki::Toolkit::Feed::RSS (formerly CGI::Wiki::Plugin::RSS::Modwiki)
42          and Wiki::Toolkit::Feed::Atom (formerly CGI::Wiki::Plugin::Atom)
43
440.69_02 27 April 2006
45        Add missing new file lib/Wiki/Toolkit/Setup/Database.pm to
46          distribution.
47
480.69_01 23 April 2006
49        *** IMPORTANT NOTICE *** This release introduces a new database schema
50        which should be considered beta in nature at this stage. It is not yet
51        suitable for deployment on production data and should only be tested
52        on copies of your production data. If it eats your data, you get to
53        keep the pieces. Additionally, functionality exposed in this beta
54        release is subject to change.
55
56        Rename to Wiki::Toolkit.
57        Support for moderation on a per-node basis.
58        Update to the database schema: added needs_moderation column to
59         node, and moderated column to content
60        You will need to run wiki-toolkit-setupdb to upgrade your database
61
62                Many more plugin points: pre_write + pre_retrieve (get to change
63                 the data), pre_moderate + post_moderate, pre_rename + post_rename,
64                 + post_delete. See test 150 for examples, and the perldoc of
65                 Wiki::Toolkit::Plugin for a description.
66
67        Merge Wiki::Toolkit::Formatter::Multiple:
68        0.02    15 September 2004
69                Applied patch from Tom Insam to fix bug with
70                find_internal_links.
71
72        0.01    22 September 2003
73                Initial release.
74
750.69    22 February 2006
76        Update to database schema: added an ID column to node, and changed
77          the content + metadata tables to FK to the ID field, rather than
78          the node name. Also added rails like schema_info table, to hold
79          the current database schema version number
80        You will need to run cgi-wiki-setupdb to upgrade your database
81
820.62    26 November 2004
83        Fixed delete_node bug - now it's OK to delete eg version 2 and
84          then version 3 of a node (ie you no longer have to delete
85          versions in order newest first).
86
870.61    3 October 2004
88        Added "ignore_case" option to ->node_exists.
89
900.60    30 September 2004
91        Added generic ->new method to CGI::Wiki::Plugin (Tom Insam).
92
930.59    18 September 2004
94        Added "ignore_case" option to list_recent_changes for use with
95          metadata filtering.
96
970.58    18 September 2004
98        Even more powerful metadata filtering!  You can now supply both
99          "metadata_was" and "metadata_wasnt", or both "metadata_is"
100          and "metadata_isnt", and they will be ANDed.
101        (Also added the test I forgot to add to MANIFEST last time.)
102
1030.57    18 September 2004
104        Extended capabilities of list_recent_changes - more powerful
105          metadata filtering (see docs for details).
106
1070.56    14 September 2004
108        Added Plucene search backend (with help from Simon Cozens).
109        Applied Tom Insam's encoding patch.
110
1110.55    There wasn't one.  Something bizarre happened with PAUSE.
112
1130.54    25 June 2004
114        Let ->delete_node take an optional version parameter.
115
1160.53    18 June 2004
117        Fixed CGI::Wiki::TestLib so $iterator->number actually does something.
118
1190.52    10 June 2004
120        Add include_all_changes and between_days to list_recent_changes.
121
1220.51    8 June 2004
123        Time for a non-developer release.
124
1250.51_02 6 June 2004
126        Added support for passing in a database handle instead of
127          connection parameters (Chris Winters).
128
1290.51_01 24 February 2004
130        Refactoring of search classes in preparation for new search
131          backend.  (Simon Cozens)
132        Please test against your applications and let me know of any
133          problems ASAP.
134
1350.50    21 December 2003
136        First non-developer release with new test system.
137
1380.50_02 21 November 2003
139        Make tests skip rather than try to run zero tests if no backends
140          configured - thanks to nothingmuch via CPAN testers for the
141          test failure report.
142
1430.50_01 18 November 2003
144        Huge overhaul of test suite, no change in functionality.
145        Removed dependency on Test::MockObject and Hook::LexWrap
146          (the relevant tests are now skipped if these aren't installed).
147        Removed the examples since they were very out of date.
148        Made a small clarification to the CGI::Wiki::Plugin docs.
149
1500.49    23 September 2003
151        Added "ignore_case" option to ->list_nodes_by_metadata
152
1530.48    22 September 2003
154        Couple of small changes so I can write formatters that allow node
155          metadata to affect the rendering of the node.
156        A rewrite and renaming of the CGI::Wiki distribution is on the
157          cards - subscribe to cgi-wiki-dev if you're interested:
158          http://www.earth.li/cgi-bin/mailman/listinfo/cgi-wiki-dev
159
1600.47    29 August 2003
161        Added metadata_was and metadata_wasnt parameters to list_recent_changes
162
1630.46    14 August 2003
164        Fix for Shevek.  ->write_node used to croak if it failed to index
165          the backlinks, but since the MySQL varchar type is case-insensitive
166          by default, we were getting a duplicate key error.  As a temporary
167          fix pending a proper think about an explicit way for you to specify
168          whether you want your wiki case-sensitive or not (yes, people have
169          asked me for both), this now just warns if it has trouble writing
170          backlinks.
171
1720.45    11 August 2003
173        Removed dependency on Class::Delegation.
174        Fixed Makefile.PL to check for Lingua::Stem before trying to test
175          DBIx::FullTextSearch stuff.
176        Fixed DBIx and Search::InvertedIndex tests to take note of database
177          host if one supplied.
178
1790.44    10 July 2003
180        Fixed bug with metadata_isnt - it wasn't picking up nodes where
181          that metadata type wasn't set.
182
1830.43    10 July 2003
184        Added metadata_isnt constraint to ->list_recent_changes.
185
1860.42    16 June 2003
187        Dropped Test::Warn from the dependencies - it's too much installing
188          for too little gain (I was hardly using it).
189        Made CGI::Wiki::TestConfig::Utilities check for the Postgres
190          Search::InvertedIndex backend, and test using that if possible.
191
1920.41    27 May 2003
193        Changed the order of things when registering a plugin, so the
194          on_register method can access the datastore properly.
195
1960.40    24 May 2003
197        Added an index to the metadata table in the MySQL setup, to
198          speed up RecentChanges.  To apply this index to an existing
199          database you need to do (as the database superuser):
200
201          CREATE INDEX metadata_index ON metadata
202                       (node, version, metadata_type, metadata_value(10))
203
204        Also made the warnings in Makefile.PL and INSTALL stronger, since
205          we had another data-eating incident.
206
2070.39    21 May 2003
208        Amended Makefile.PL and INSTALL to make it absolutely clear that you
209          should not run the tests on databases containing valuable data.
210          Thanks to Rocco for, er, stress-testing this, and sorry to 'know'
211          for eating its brains...
212
2130.38    17 May 2003
214        Added ->list_dangling_links method; thanks to Simon Cozens for
215          the idea.
216
2170.37    12 May 2003
218        Oh dear.  No real changes, but I moved Extending.pod to stop it
219          getting installed as CGI::Extending.  Sorry.
220
2210.36    9 May 2003
222        Added CGI::Wiki::Plugin as a base class for plugins to inherit from.
223
2240.35    5 May 2003
225        Fixed bug in CGI::Wiki::Store::SQLite introduced with new calling
226          syntax in version shipped with 0.34.
227        Very basic start at plugin support as described in Extending.pod -
228          see 'perldoc CGI::Wiki' for details.
229
2300.34    5 May 2003
231        Moving towards adding proper plugin support - the proposed API is
232          in Extending.pod, please take a look and send comments.
233        In preparation for the above, the metadata hash passed to ->write_node
234          can now contain more complex data structures - but these will *not*
235          be stored directly, just checksummed.  The way to access them will
236          be via plugins.  See 'perldoc CGI::Wiki;' for details.
237        Also added alternative calling syntax for the CGI::Wiki::Setup::*
238          store modules, as requested by Podmaster.
239
2400.33    3 May 2003
241        Added ->fuzzy_title_match method to the Search::InvertedIndex backend
242          (CGI::Wiki::Search::SII).  You will need to re-index all existing
243          nodes in your wiki in order to take advantage of this.  Take your
244          wiki offline and do something like
245
246          my $wiki = CGI::Wiki->new( %conf );
247          # (Where %conf is exactly as you would set this up for your actual
248          #  Wiki application, including your store, search and formatter
249          #  options exactly as you use them live.)
250          my @nodes = $wiki->list_all_nodes;
251          foreach my $node ( @nodes ) {
252            my %node_data = $wiki->retrieve_node( $node );
253            $wiki->write_node( $node,
254                               $node_data{content},
255                               $node_data{checksum},
256                               $node_data{metadata}
257            );
258            print "Reindexed $node\n";
259          }
260
261        to refresh all the nodes in your database.  Note that for wikis
262        of more than a couple of nodes, this can take quite some time.
263
2640.32    2 May 2003
265        Fixed bug with write_node dying when using Search::InvertedIndex
266          and writing node with blank content (thanks to Bob Walker for
267          the bug report).
268
2690.31    26 April 2003
270        Added an index to the metadata table in the postgres setup, to
271          speed up RecentChanges.  To apply this index to an existing
272          database you need to do (as the database superuser):
273
274          bench=# create index metadata_nodeindex on metadata
275                   (node, version, metadata_type, metadata_value);
276
277        It will also help speed things up if you run:
278
279          bench=# analyze;
280
281        every so often, maybe once a week.
282
2830.30    22 April 2003
284        Added support for supplying 'host' parameter when connecting to
285          MySQL/Postgres databases (requested and assisted by Paul Makepeace).
286
2870.29    20 April 2003
288        Got rid of the separate bin/user-setup-* scripts, added
289          bin/cgi-wiki-setupdb and made it be installed when the rest of
290          the distribution is.
291
2920.28    6 April 2003
293        Added ->formatter accessor to Wiki.pm
294
2950.27    5 April 2003
296        Added ->reinitialise_stores method to CGI::Wiki::TestConfig::Utilities
297          to make it easier for plugins and so forth to make sure they have
298          nice virginal test stores before they start running their tests.
299          Altered my setup tests to use this.
300
3010.26    3 April 2003
302        Cleanup:
303          - Removed deprecated method retrieve_node_and_checksum.
304          - Added DBI as a prerequisite (ta Max).
305          - Fixed up the SEE ALSO in the pod.
306
307        Bugfix:
308          - The SQLite backend was failing tests with DBI 1.34 or up;
309            fixed now (with a kluge, but no worse than the one already there)
310            Thanks to DH for the test failure report.
311
3120.25    29 March 2003
313        list_recent_changes can now filter on a single metadata criterion
314          - multiple criteria coming soon.
315
3160.24    29 March 2003
317        list_recent_changes now returns any metadata attached to the node
318          as well - so you can put comments and usernames and things in there
319          and display them on RecentChanges.  Note that it no longer pretends
320          to return a comment separately since you can do it this way now.
321          See perldoc CGI::Wiki::Store::Database for the new API.
322        Moved recent changes tests out into their own file.
323
3240.23    17 March 2003
325        Fixed bug - metadata wasn't getting deleted when ->delete_node
326          was called.
327
3280.22    8 March 2003
329        Rejig of the way the tests work, in preparation for allowing
330          third-party plugins:
331
332            When 'perl Makefile.PL' is run on a CGI::Wiki distribution,
333            information will be gathered about test databases etc that
334            can be used for running tests. CGI::Wiki::TestConfig::Utilities
335            gives you convenient access to this information, so you can
336            easily write and run tests for your own CGI::Wiki plugins.
337
338        No functionality changes.
339
3400.21    6 March 2003
341        Purely a documentation update; thanks to Alex McLintock for comments.
342
3430.20    22 February 2003
344        Added simple (and intentionally naive) metadata support.  Note that
345          the database schema has changed (additional 'metadata' table), so
346          you will need to re-run the relevant database setup script again as
347          described below for upgrading to 0.15.
348        Much of this release was written on David Woolger's laptop; thanks :)
349
3500.16    5 February 2003
351        Changed CGI::Wiki::Setup::Pg to use the 'timestamp' data type
352          instead of 'datetime', since 'datetime' was deprecated and
353          has been removed in Postgres 7.3.
354        Fixed bug with supplying blank database username/password;
355          thanks to DH for the bug report.
356        Fixed mistake in pod, pointed out by Podmaster.
357
3580.15    5 January 2003
359        Amended store setup modules so their 'setup' functions don't
360          wipe pre-existing data; added 'cleardb' functions for when you
361          really do want to wipe it.
362        Along with that, amended the setup scripts in ./bin/ to take a
363          --force-preclear option.  Now they leave existing data by default.
364        Added standalone tests for CGI::Wiki::Formatter::Default
365        Added $formatter->find_internal_links method and tests.
366
367        Implemented backlinks!  Thanks to blair christensen for the idea,
368          and sorry for taking so long to get around to it.
369
370        *** IMPORTANT NOTE ***
371        *After* upgrading, you will need to re-run the relevant database setup
372        script (in ./bin/) on any databases created using earlier versions of
373        CGI::Wiki, in order that the internal_links table gets created.  From
374        version 0.15, these scripts won't affect data in existing tables, as
375        long as you don't supply the --force-preclear option, so this is safe.
376
377 ===>    *** IF YOU DON'T DO THIS THEN YOUR CODE WILL FALL OVER AND DIE. ***
378
379        You have been warned.
380
381        (You can do the database munging before you install this new version
382        -- the old versions won't mind the extra table -- but
383 ===>                     *** MAKE SURE ***
384        to invoke the scripts as something like
385          perl -Ilib bin/user-setup-[...]
386        so you get the *new* setup modules which *won't* hose your data
387        (the old ones did, ugh).)
388
389        The backlink data will also not exist for links *from* a given node
390        until you re-write that node.  Take your wiki offline then do
391        something like
392
393          my $wiki = CGI::Wiki->new( %conf );
394          # (Where %conf is exactly as you would set this up for your actual
395          #  Wiki application, including your store, search and formatter
396          #  options exactly as you use them live.)
397          my @nodes = $wiki->list_all_nodes;
398          foreach my $node ( @nodes ) {
399            my %nodedata = $wiki->retrieve_node( $node );
400            $wiki->write_node($node, $nodedata{content}, $nodedata{checksum});
401          }
402
403        to refresh all the nodes in your database.
404
4050.14    3 January 2003
406        Added $store->node_exists method and tests.
407        Amended $store->list_recent_changes to take a 'last_n_changes'
408          parameter, so you can find the last 10 (or whatever) nodes edited.
409        Made an internal change to the way ->format is delegated to the
410          formatter object, to give said object access to the store.
411
4120.13    2 January 2003
413        Minor fix - t/031_formatting.t was being reported as failing on
414          systems without support for any of the backends, since I forgot to
415          update the SKIP condition when I added six extra tests.  Thanks
416          to root@ostend.org for the report via cpan-testers.
417
4180.12    1 January 2003
419        The Search::InvertedIndex backend wasn't indexing the node titles -
420          fixed and added tests.
421        Added tests for non-MySQL Search::InvertedIndex backends and fixed
422          CGI::Wiki::Search::SII to be case-insensitive all the time (instead
423          of just when using MySQL).
424        Tweaked the documentation some more - offers to simplify the docs
425          and/or write a tutorial would be greatly appreciated.
426
4270.11    31 December 2002
428        Changes suggested by blair christensen, to allow alternate formatters.
429        See the README for details and CGI::Wiki::Formatter::Default for an
430          example.
431        Took out some leftover debug stuff from CGI::Wiki::Search::SII.
432
4330.10    19 December 2002
434        Added a Search::InvertedIndex backend; currently only tested with
435          the MySQL version of Search::InvertedIndex.  When running make test,
436          if the Search::InvertedIndex tests are being run, the following tests
437          will warn 'testdb is not open. Can't lock.' (but should pass):
438            005_setup_mysql_search_invertedindex.t
439            011_cgi_wiki.t
440
441        *** NOTE INTERFACE CHANGE ****
442        Cleaned up the initialisation of the Wiki object, at the expense of
443          a small interface change - you now need to create your store and
444          (optional) search objects yourself and pass them as arguments
445          to CGI::Wiki->new - read 'perldoc CGI::Wiki' (once installed)
446          for details, or see examples/wiki.cgi in the tarball.
447
4480.05    17 November 2002
449        I'd uploaded an unfinished version by mistake.  One day I will figure
450          out how to do this upload thing without screwing up.
451
4520.04    17 November 2002
453        Added a DBD::SQLite storage backend (thanks to blair christensen
454          for a patch that makes up part of this).
455        Added tests and docs for retrieval of old versions of pages
456          (bad Kake, should have written those before implementing the
457           feature; blair and Richard shamed me into getting it sorted now).
458        retrieve_node_and_checksum is now deprecated -- retrieve_node is
459          more clever and will return content only or a hash with content
460          plus meta-data, according to context.  So you should get at the
461          checksum via that.
462        user-setup-postgres.pl was buggy, fixed now.
463        Only two beer rewards now remain.
464
4650.03    9 November 2002
466        Forgot to regenerate and add the README (I've put it in the
467        MANIFEST now to stop that happening again).  Also forgot to
468        mention that I've upped the bribe.
469
4700.02    9 November 2002
471        Pulled out the database setup stuff into modules (Mark Fowler
472          did most of this bit, thanks).
473        Added recent_changes method and its tests, changed the example
474          wiki to show how this can be used.
475        Renamed some tests since the order they're run in matters now.
476        Added better support for noninteractive installation (with help
477          from Mark again).
478
4790.01    28 October 2002
480        Initial release.
Note: See TracBrowser for help on using the browser.