Revision history for Perl extension AxKit::App::TABOO.
0.1 2005-02-05 23:58
- THE BETA!!!
* So, this pretty much does the News stuff!
* And it has seen some testing, so I think it can be,
like, used... :-)
- Mainly changes in the CSS, it has a design. J. Shirley did
the lion's share of this work, but I did quite some at the
end.
- Updated to use the Formatter API v 0.93.
- A hidden control should not have more markup added, fixed
in match-control.xsl
- Some new divs in the HTML to assist the CSS.
- Quite some documentation clean-ups.
0.099 2004-12-27 14:40
- The start of Cascading Stylesheets by J. Shirley. They work
mostly for the front page.
- A CommonHTMLHead template that makes it easier to add things
to the output HTML head element, such as more CSS.
- Some dialogs end with links back to a sensible page.
- Translation of the Textile description.
0.098 2004-12-16 04:20
- Adds some more explanations particularly of Textile, but
also some help for the editors.
- Sections listed in menu.
- front page points to /unpriv/
0.097 2004-12-10 03:13
- Small polishing release.
- Forgot to document in the previous release that I had done
quite substantial changes in the database schema. Added some
new constraints. The data from the previous schema should
follow the new constraints pretty well, though.
- Extended some fields, they needed to be bigger, especially e-mail.
- Actually included English translations...
- Some more minor polishing.
- This release is not signed either.
0.096 2004-12-07 03:20
- This release is not signed.
- The "Breadcrumbs" release.
* The News Provider dumps more user and category XML.
* All HTML-generating XSLT has seen quite a lot of logic
because of this.
* Section-cats added to submit and comments XSPs.
- A major reorganisation of the SQL makes it simple to run.
- New get-category tag for retrieving one category based on
catname.
- The element name is actually what the docs say...
- Added an ends-with EXSLT, thanks to Mike Nachbaur for this,
we're all eagerly awaiting XPath2.
- XML written from Data objects get a key attribute if
dbprimkey is set.
- Fixed small XSLT bug in login.xsl.
- Minor documentation changes.
0.095 2004-11-22 23:15
- Fix a XSLT bug that ruined editing of stories.
- Resty editing URIs, append 'edit' to story to edit.
- More sanity checks when storing comments, to add some
security.
- Check that a new user's name isn't a reserved word.
- Make some more links to aid navigation, in comment and story
XSLT.
- Timestamp code changed to allow setting it, both Comment and
Story.
* Use this to set the lasttimestamp of a story when posting
a comment.
- A new exists method in Data.pm
- Changed the test to add previous story when posting
comment.
- Another map to foreach transition.
- More element prefixes.
- Some small cleanups.
- More testing.
0.094 2004-11-14 05:08
- The polishing comments release.
* It can now use a real, RESTy URI, just attach /respond to
reply.
* Make corresponding links to make it easy.
* Some weird errors in the construction of the request
arguments were corrected.
* Made it show the comment one responds to.
- A few minor fixes and a bit of testing.
0.093 2004-11-13 04:45
- The "Entering comments" initial release.
* New Comment XSP Taglib.
* New /news/comments.xsp
* New comments.xsl
* Some small additions in the match-comment.xsl.
* Support for several replies from a single user.
* New exist method in Plurals::Comments
* Some more testing and elaboration of the Comment Data
class.
* Link to /news/*/*/comment/ in the NewsLists.
* Some config example stuff.
- All internal calls should bring along session information
(I may not still have caught everywhere this happens).
- Relative paths to imported stylesheets is a good thing
sometimes...
- Obligatory minor cleanups in docs.
0.092 2004-10-31 23:30
- Simple XSLT support for comments:
* Many changes in news-provider.xsl
* New stylesheet match-comment.xsl for comments.
* We now also need XSLTParams of type Request-Common
- I realized that I was a bit confused about my use of
references at places. This prompted clean-ups in the
write_xml method, as well as all methods adding Data objects
to others.
- Edited XSLT to try to avoid // XPaths, according to Mike, it is
performs very badly and is avoidable. This causes changes in
many files. It also implies that taboo must usually be the
root element.
- New stylesheet match-user.xsl to allow reuse of the user
templates.
- Minor stuff: A margin in the CSS, some reformatted docs.
0.091 2004-10-30 05:40
- In changed lines, this release is actually pretty big, if
there isn't a lot of very visible changes.
- Redoing the Comments stuff with Plurals.
* There are thus large changes in the Data::Comment
class. Everything changed, pretty much...
* A brand new Data::Plural::Comments class.
* News Provider now supports the new Comments Plurals.
- Plurals' _load can now take POSIX regexs to select records
from the db, and a regex argument.
- load's what argument defaults to '*' and may be omitted.
- Some cleanups to actually use the fine Plural Push-method.
- Reviewing some documentation.
0.09 2004-10-15 05:40
- Changed the DOCTYPE of HTML output. We should have valid
HTML 4.01 Strict now.
- maxlength and size attributes only show up if actually set.
- Removed all fieldset elements. They require legends, and I
weren't using them correctly anyway.
- A few tiny clean-ups.
0.086_4 2004-10-15 01:00
- The Apache->request didn't get posts, so the code has been
re-written to use Apache::Request, somewhat ad-hoc.
- Use chiefly post HTTP methods rather than get.
- Decided to really go for HTML (not XHTML) output.
* Expanded on the XSLT output accordingly.
* Namespace attributes were passed on, included a lot of
exclude-result-prefixes.
* Removed the xhtml namespace.
- Standardized on cat as prefix for category.
- localhost as default mailhost.
- Small simplification of Formatter parse code.
0.086_2 2004-10-13 14:15
- Adding support for some HTML form formatting, size,
maxlength, etc.
- Added documentation for setting cookie expiry.
- Login will first invalidate older sessions.
- Were actually missing a bio field.
- Some small corrections in the language strings.
0.086_1 2004-10-09 20:27
- Some more code to allow easily setting the language for the
interface.
* This uses Apache::AxKit::Plugin::XSLTParam which is not yet
released. Thus, this is development release.
* A nb (Norwegian Bokmål) translation.
- The login gives an error message if the user doesn't exist.
- Adding some more div elements to ease CSS work.
- Added a footer
* with a Google search for the host.
- Commented out the image stuff, it doesn't do anything yet.
0.086 2004-10-07 03:53
- Adding some missing dependencies.
- ...with the consequence that TABOO now depends on at least
Perl 5.7.3
- A grammar error in the docs corrected.
0.085 2004-10-05 21:30
- Support Textile for formatting is the big thing in this release.
- Add some explicit UTF-8 decoding.
- Some more small documentation changes.
0.084 2004-09-22 05:30
- The login-stuff has seen a facelift.
- The config example is now redone and has actually been
verified to work well...
- bugfixing by adding explicit param session.id's where they
previously been forgotten.
- It now depends on BasicSession 0.21, the previous release
had a bug.
- Cleaned up the pointy brackets in the taglib documentation.
- Quite some more testing.
0.083 2004-09-17 01:30
- Fixing a few bugs, some small ones, and a big one: The
menu.xsp didn't the user's session, because it was called from
the server. This also needed a new feature in BasicSession,
which is also being updated.
- Added some CSS, and a few changes in the output HTML. Right
now, text/html is being outputted, I had some problems
applying the CSS to xml.
- Moved main.rdf down to a site-dir. The idea is that
everything that must be edited is going there.
- added explicit xsl:param "declarations" whenever
appropriate. A great hacker said it should be there.
0.082 2004-09-10
- Main thing is a new menu system. There is a file menu.xsp
that generates menus, which is currently run by the
mainpage. Still needs work, but the basic idea is there.
- Changed the i18n behaviour. There is now an include EXSLT
function, and the insert element should now have the
identifying string as content. Furthermore, it must be
imported rather than added to the pipeline.
- Removed the limitation that the is-authorized tag threw "not
authorized" if no authlevel was given.
- Using the default namespace for many elements was bad
practice, added namespaces for several elements and made some
larger cleanups. It isn't perfect, but at least a lot better.
- the action link in the user.xsl was wrong.
- Reordered and cleaned up this file a bit.
- A couple of minor clean-ups.
0.081 2004-09-02 16:25
- Some small changes in the documentation.
- Some more testing on the server.
0.08_2 2004-09-02 15:50
- Apache::AxKit::Plugin::AddXSLParams::Request is now needed
to allow for virtual hosts. Used in index-aggregate.xsl
- More files in the sql/ dir:
* grant.sql explicitly sets passwords and permissions.
* news-minimal.sql gives the minimal stuff that should
go into a new db.
* Some more stsec stuff in test.
- Small edits in main.rdf example.
0.08_1 2004-08-31 03:04
- Main thing is to make the database parameters configurable.
* That should allow different configs for different
virtual hosts.
* dbstring, dbuser and dbpasswd class data methods
removed.
* dbconnectargs method added.
* Rewrote all connect calls.
* Preferred method for DB config is now DBI_DSN and
related environment variables.
* ...but all new constructors to Data objects can take
the DBI connect arguments.
- Another big thing is that I removed the webshop stuff. It
now lags far behind the rest of TABOO, and allthough it is
easy to update, I see no point in having it there.
- Reorganized the SQL files, separating the create stuff in a
file by itself.
- Some tests now make no sense, some new added.
- A few more fixups, mainly in documentation.
0.08 2004-08-26 05:00
- Added a xmlprefix() method to Data classes. This allows to
explicitly set the namespace prefix for elements generated by
an object's write_xml(). Seems to be needed for many
applications.
- Added a main.rdf file, which gives the main title for the
site, a description and a slogan. This is then used by a
header.xsl to generate headers, and append a little string to
the titles.
- All XHTML pages get the header by a call-template.
- Now the front page actually works!
- Found that I do not actually need explicit file: in my i18n code.
0.076 2004-08-22 04:28
- Now depends on AxKit::XSP::BasicSession 0.19, since it
really fixes the bug that bit me...: CPAN RT 5212.
- Fixed a bug that made taglibs deny access if authlevel == 0
- XIncluding htdocs/guest-login.xsp will log in a user who
doesn't allready have a session as guest. This is mandatory
for story submission, for example.
- Added a very simple front page, which is an aggregate of
other URIs, really.
- Use of the Passthru plugin is needed for some things.
- Some changes in the config example.
0.075 2004-08-06 04:05
- Moved the user/*.xsp's down to ease the config job a bit.
- Added SIGNATURE (please verify!) and MANIFEST.SKIP
- Updated the configuration example.
- I can't decide whether URLs to transforms should be relative
or absolute. They are absolute in this release.
0.074 2004-08-04 17:23
- Reorganized the directories with the XSLT files.
- Wrote XSLT to transform to HTML for the NewsList Provider.
- Added plural addcatinfo and adduserinfo methods to Stories.
- NewsList will include some information about the section if
it exists and categories of each story.
- I found that the best way to do styling for the Providers
were actually to implement get_styles. Those that are there
now are rather minimal.
- Added some attributes to root elements of the Providers.
- Removed the html: prefix in control-html.xsl. This was a
bug, and the reason it worked was a bug in libxslt <= 1.1.7.
- Added the name of the logged-in user to the key in the
Providers.
- Commented out the code to deal with secondary categories.
- A few small changes.
0.073 2004-07-17 14:10
- Mainly a bugfix and documentation release.
- Found a way to use regex in the Apache config to accomodate
for all the things I have in /news/
- Use /news/submit rather than /news/submit.xsp
- Some minor things in the Story XSP and Data,
+ I had forgot to have the reimplemented load method,
so it didn't return undef.
+ get-story now throws 404 if it can't find the story
to be edited.
- NewsList gets its URI documentation.
- Configuration example in main TABOO.pm
- A few more cleanups.
0.072 2004-07-15 17:52
- Uhm, was I rushing this....?
0.071 2004-07-15 17:50
- Forgot to add the NewsList Provider to the MANIFEST.
0.07 2004-07-15 15:18
- A new AxKit::App::TABOO::Provider::NewsList Provider, which
is used to make lists of the stories.
- Now depends on AxKit::XSP::BasicSession 0.18, as it fixed a
bug that bit me.
- Plurals will now die with an error message if you try to use
methods that are only implemented for singular objects.
- load methods have undergone some more changes:
+ Plurals have gained orderby and entries arguments.
+ Plurals will load OK also if you ask for all records
(i.e. limit argument to load() is undef).
+ The load methods will return undef if no record was
possible to retrieve with the arguments given.
- Change the News Provider to use the method of Kip's book for exists.
- XSP::Story will again set the timestamp to now unless given
as a parameter.
- New Grep method for Plurals.
0.06 2004-07-10 23:18
- TABOO can now be used to edit posts that are allready in the
datastore! Just supply an 'edit' query parameter to
submit.xsp, as well as valid values of 'storyname' and
'sectionid'.
+ a part of this was a insert-values-edit.xsl
transformations. It'll choose values from query
parameters or data store. It is a bit unelegant,
though.
- submitterid is dealt with a bit more intelligently, and an
editor may change it upon reviewing data.
- Renamed this-user to get-user in the User Taglib. The
this-prefix should be used for a tag working on parameter
data, so I'll use get- for tags that get stuff from the data
store.
- New get-story tag in the Story taglib.
- addcatinfo() now includes both name and username.
0.05 2004-07-01 23:45
- Set the internal data XMLELEMENT and XMLNS to undef for the
Plural classes.
- Removed the internal _addinfo method.
- Moved some stuff from init to get_strref in the News
Provider.
- New Push method for plurals.
- Minor changes in most files, but too small and too numerous
to list them all....
0.05_3 2004-06-27 21:15
- This release should pretty much contain all I have to date.
- Orders and OrderedItems data classes added for the webshop.
- A Stories Plural class enables us to check out several
stories.
- A few minor changes to some method APIs.
- And a few more excuses in the POD...
0.05_1 2004-05-15 22:55
- There are quite a few big changes in this release, just
brief outline here.
- Adding "Plurals" Data subclasses. This is a rather big
conceptual change, which makes it possible to work on an array
of Data object.
- Started working on a webshop for TABOO, and have added some
code to support that, mainly data objects. Some SQL too.
- Renamed apache_request_data to populate after realizing it
is more generic than that...
- AxKit::App::TABOO::Data::Category::all_of_type is obsoleted
by the introduction of plurals.
- Numerous fixups in the POD.
0.04 2004-03-30 15:00
- I think this is worthy of being called a real ALPHA!
- Added lots of XSLT, and redesigned a lot in the pipelines, a
lot of it thanks to helpful remarks by Mike Nachbaur and Tod
Harter, including
* First part of the pipeline generates consistent
markup for several pages.
* Splitting up the stylesheets so that each individual
file solves a specific task.
* A small stylesheet that imports other stylesheets
that do the hard work.
* Finally, a stylesheet that inserts i18n strings from
a separate XML file. This is however only implemented
as proof of concept in this release, there are still
many strings that will be replaced.
- XSP page to really be able to submit a story
- XSP page to edit user information
- XSP page to submit a new user.
* This needs AxKit::XSP::Sendmail and
Crypt::GeneratePassword
* And I lifted random-password from Joerg Walter's Auth
taglib, I found that was better than using the
taglib.
- Started work on editing an allready submitted story, but
this requires some new tags, and possibly redoing some more
architectural things, so it is a TODO to be addressed
shortly.
- New tags:
* AxKit::App::TABOO::XSP::User:
+ new-user
+ exists
+ random-password (Author: Joerg Walter)
* AxKit::App::TABOO::XSP::Story:
+ I had forgotten to document this-story in the
previous release.
0.032 2004-03-19 11:15
- Fixed some bugs in the News Provider, which made it fail to
encapsulate headings of comments in a "commentlist" element.
- The News Prover exists method now does some real checking,
but I also discovered it is inadequate, because if the record
doesn't exist, there will be an error long before it gets
here... That's a TODO.
- Added an editorok method to AxKit::App::TABOO::Data::Story.
- ...and used that to have the News Provider check if the
story should be displayed.
- Added a number of XSLT things. This has been my main pain the
last few weeks. If you are in the position to ease my pain,
please do, but it is not for the faint at heart... :-)
- Added dependency on XML::LibXML 1.57
- A few notes on that my Data objects need more work when it
comes to plurals.
0.031 2004-02-27 22:15
- Now that DBD::Pg 1.32 is out, we depend on it.
- Cleaned up and fixed a few things in the authlevel code,
affecting mainly AxKit::App::TABOO::XSP::User.
- Actually tested that authentication works OK.
- Quite a lot of changes in the XSP and XSLT.
- Fixed a few typos.
0.03 2004-02-19 23:00
- Reworking the packaging completely, trying to include the
XML files (XSP, XSLT) that I'm working on, as well as some
test data in SQL.
- With the inclusion of XSP, we require AxKit::XSP::QueryParam.
- A new and ugly tag valid-authlevels in
AxKit::App::TABOO::XSP::User.
0.021 2004-02-18 11:10
- Added a apache_request_changed to AxKit::App::TABOO::Data
- Fixed a bug in the code to check whether to insert or update.
- Changed the test to check if there is anything in the
variable to next unless defined().
- A few small changes in the POD.
- Actually tested AxKit::App::TABOO::XSP::User <store> - it
seems to work!
0.021_2 2004-02-16 23:10
- Added version numbers to all files
- Added an ONFILE data member which is used internally to
check whether we can expect to find the object in the
storage. This is set by all methods that load something,
making it possible for save-methods to know whether to INSERT
or UPDATE.
- Added a save-method to AxKit::App::TABOO::Data::User::Contributor.
- Reviewed the changes of the previous upload.
0.021_1 2004-02-14 00:10
- Throwing a slightly unfinished development version out the
door for various reasons.
- Adds namespaces to all XML representations. The namespace
can be set by an xmlns() method, but has sensible defaults.
- New elements
* AxKit::App::TABOO::XSP::Story
+ this_story
* AxKit::App::TABOO::XSP::User
+ this_user
+ store (not very well tested)
- Added an username attribute to is_authorized, to allow for
checking access for a particular user (e.g. the owner).
- Starting to add version numbers to all files.
0.02 2004-02-01 00:10
- Added
* AxKit::App::TABOO::Data::User::Contributor
* AxKit::App::TABOO::XSP::Story
* AxKit::App::TABOO::XSP::User
* AxKit::App::TABOO::XSP::Category
- Made internal class variables lower case for those pulled from DB
- Removed the use of Alias (how did we do that in SIMULA...?)
- Remove XML::Writer to use XML::LibXML for everything
- Added methods:
* In AxKit::App::TABOO::Data
+ apache_request_data
+ save
+ stored
* In AxKit::App::TABOO::Data::Category
+ all_of_type
- Made most internal DBI queries throw Exception::Class::DBI
exceptions in case of failures. I have been unsuccessful in
catching them, so it is not quite like I want it yet, and
changes in this must be expected.
- Quite a lot of minor changes in the internals.
0.011 2003-12-11 15:23
- First successful upload to CPAN.
0.01_01 2003-12-08 18:06:47
- First release created.