The first merge is completed: 1.1.0-dev

ludo, Monday 30 May 2005 22:29:58 PST

After a few days' work, the merge from my experimental branch is completed and we are releasing the first 1.1.0 unstable. We still have to merge Jerome's development branch, but you can get an idea of the direction we are heading.

The plugin system has undergone major changes, and it will be confusing for most users as it's designed to be manipulated by a WP plugin (activate/deactivate, set options), which is still under development. Some code is still missing before the plugin system for 1.1.0 is complete (some will be borrowed from the new backend), but the current snapshot already offers a new important feature that enables plugins to be tied to the running context (for an example have a look at the constants in config.php and plugins/AboutContext.php).

As usual, you can download 1.1.0-dev from the project filelist, or read its ChangeLog (also copied below for convenience). If you have any questions or need explanations, post a comment here.

2005-05-30 22:08  ludo

* .htaccess: match archive rule to 'archive_prefix' in config.php
	  add a few examples

2005-05-30 22:03  ludo

* wp-compat.php: fix comment block

2005-05-30 22:01  ludo

* .htaccess: fix archives

2005-05-30 21:54  ludo

* classes/Frontend.php: bump version number to 1.1.0-dev

2005-05-30 21:54  ludo

* templates/kubrick/: en_US.ISO-8859-1/footer.xml,
	  en_US.ISO-8859-1/plugins/post_related.xml,
	  en_US.UTF-8/footer.xml, en_US.UTF-8/plugins/post_related.xml:
	  minor fixes

2005-05-30 21:49  ludo

* templates/kubrick/en_US.UTF-8/: atom.xml, author.xml, error.xml,
	  footer.xml, header.xml, index.xml, post.xml, rss2.xml,
	  search.xml, sidebar.xml, static.xml, syndication.xml,
	  plugins/delicious.xml, plugins/links.xml,
	  plugins/links_feeds.xml, plugins/post_ad.xml,
	  plugins/post_comment.xml, plugins/post_from_search.xml,
	  plugins/post_send.xml, plugins/top_commented.xml,
	  plugins/about_context.xml, plugins/about_me.xml,
	  plugins/about_post.xml, plugins/archives_list.xml,
	  plugins/archives_list_extended.xml, plugins/categories_list.xml,
	  plugins/categories_list_extended.xml,
	  plugins/categories_list_nested.xml, plugins/pagination.xml,
	  plugins/post_related.xml, plugins/posts_list.xml,
	  plugins/top_read.xml: merge from ludo_experimental

2005-05-30 21:39  ludo

* config.php: archives_prefix is now strftimed with the archive
	  date

2005-05-30 21:37  ludo

* classes/Frontend.php,
	  templates/kubrick/en_US.ISO-8859-1/plugins/archives_list.xml:
	  added permalink to archives first shot at fixing archives'
	  context_filter

2005-05-30 21:12  ludo

* plugins/Pagination.php, plugins/TopCommented.php,
	  templates/kubrick/en_US.ISO-8859-1/plugins/about_context.xml,
	  templates/kubrick/en_US.ISO-8859-1/plugins/posts_list.xml,
	  templates/kubrick/en_US.ISO-8859-1/plugins/top_commented.xml:
	  merge from ludo_experimental

2005-05-30 21:11  ludo

* templates/kubrick/en_US.ISO-8859-1/plugins/:
	  pagination_multi.xml, pagination_single.xml: replaced by
	  pagination.xml

2005-05-30 19:30  ludo

* plugins/ArchivesListExtended.php,
	  templates/kubrick/en_US.ISO-8859-1/plugins/archives_list_extended.xml:
	  from ludo_experimental

2005-05-30 19:29  ludo

* plugins/AdminOptions.php, plugins/ArchivesList.php,
	  plugins/PostRelated.php,
	  templates/kubrick/en_US.ISO-8859-1/post.xml,
	  templates/kubrick/en_US.ISO-8859-1/plugins/about_me.xml,
	  templates/kubrick/en_US.ISO-8859-1/plugins/archives_list.xml,
	  templates/kubrick/en_US.ISO-8859-1/plugins/post_related.xml,
	  templates/kubrick/en_US.ISO-8859-1/plugins/top_commented.xml:
	  plugin mods

2005-05-30 17:49  ludo

* templates/kubrick/en_US.ISO-8859-1/plugins/categories_list.xml:
	  fix cvsdiff

2005-05-30 17:48  ludo

* plugins/CategoriesListExtended.php: rename

2005-05-30 17:48  ludo

* classes/Frontend.php: added catgroup_nicename to getCategories()

2005-05-30 17:47  ludo

*
	  templates/kubrick/en_US.ISO-8859-1/plugins/categories_list_nested.xml:
	  initial import

2005-05-30 17:47  ludo

* plugins/CategoriesList.php: nested / not nested

2005-05-29 16:45  ludo

* plugins/CategoriesListExtended.php,
	  templates/kubrick/en_US.ISO-8859-1/plugins/categories_list_extended.xml:
	  from ludo_experimental

2005-05-29 16:44  ludo

* plugins/CategoriesList.php,
	  templates/kubrick/en_US.ISO-8859-1/plugins/categories_list.xml:
	  restore standard behaviour

2005-05-29 12:26  ludo

* config.php: merged

2005-05-27 18:01  ludo

* templates/kubrick/en_US.ISO-8859-1/: sidebar.xml,
	  plugins/about_me.xml, plugins/top_commented.xml: merged from
	  ludo_experimental, needs work

2005-05-27 17:56  ludo

* classes/Frontend.php: fix missing references

2005-05-27 17:53  ludo

* templates/kubrick/en_US.ISO-8859-1/plugins/: about_context.xml,
	  about_me.xml, about_post.xml, archives_list.xml,
	  categories_list.xml, pagination.xml, post_related.xml,
	  posts_list.xml, top_read.xml: from ludo_experimental

2005-05-27 17:50  ludo

* templates/kubrick/en_US.ISO-8859-1/sidebar.xml: merged from
	  ludo_experimental

2005-05-27 17:40  ludo

* classes/Frontend.php: added extra messages from ludo_experimental

2005-05-27 17:39  ludo

* lang/: en_US_ISO-8859-1_messages.php, en_US_UTF-8_messages.php,
	  it_IT_ISO-8859-1_messages.php, it_IT_UTF-8_messages.php: merged
	  from ludo_experimental

2005-05-27 17:36  ludo

* feed.php, classes/Frontend.php: merged from ludo_experimental

2005-05-27 17:32  ludo

* plugins/: HeaderAd.php, PostAd.php, PostComment.php,
	  PostSend.php, AboutContext.php, AboutMe.php, AboutPost.php,
	  ArchivesList.php, CategoriesList.php, HeaderBar.php,
	  PostExtra.php, PostRelated.php, PostsList.php, TopRead.php:
	  merged from ludo_experimental

2005-05-23 17:46  ludo

* plugins/PostComment.php: comment insertion moved to Frontend

2005-05-23 17:46  ludo

* plugins/CommentSpam.php: moved from classes/CommentSpam.php and
	  refactored as a plugin

2005-05-23 17:45  ludo

* classes/Frontend.php: manage comment insertion here

2005-05-23 17:45  ludo

* classes/CommentSpam.php: moved to a plugin

Readers' Comments

  1. jerome

    Wow, I go away for a weekend and you’ve already merged in the dev branch! I can’t wait to try this out — I’ll merge in my branch’s changes during the conversion.

  2. ludo

    Wow! Just finished adding:

    - most of the missing pieces for the plugin system
    - LP options read from DB
    - WP plugins for LP options (seems to work), and LP plugin management (still needs work)

    This flurry of activity is due to my staying at home today to check on the people repairing the elevator. I did not remember a whole day of coding (even with a few breaks) was so productive…. now we only need for people to fund us, so that we can work full time on LP instead of working in crappy mid-management jobs for large companies, LOL.

    When you get the chance to check the CVS code, tell me what you think of it. I may have lost it :)

  3. jerome

    I’ve already put this off for the past two days, so hopefully today…

    Given a good design/blueprint, coding is just a matter of finding a solid block of time to do the work. Very rare, especially if you already have a day job!

  4. jerome

    Whoah - I just re-read what you posted… You actually did all of that?!

  5. ludo

    Hehe yes, but lots of things are still broken:

    - WP plugin (going to bring it to an acceptable state tomorrow, I hope)

    - storing ad retrieving plugin data in the DB

    - excluding plugins in feed.php and trackback.php (this one is going to require some serious thinking, maybe a new constructor arg/attribute in Frontend)

    Don’t expect too much, it’s just a bunch of mostly broken code :)

  6. jerome

    Sounds like you need to sabotage the elevator again. :)

  7. ludo

    LOL

    I’m looking at the bug you saw in wp_formatting(), and I don’t understand half of what is going on there….. :)

  8. jerome

    Basically the bug appears when the first character of $curl is accessed. Somehow the string (from $textarr) isn’t being set, perhaps $text is empty?

    We should probably replace this code in the long run.

  9. ludo

    I have sent you a quick replacement by email, if it looks ok we can release 1.0.5. Any other stuff you want to place in a new 1.0 release?