Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-02-20 10:55:39

Dean
Founder (Gone, but not forgotten)
From: Languedoc
Registered: 2004-02-14
Posts: 235
Website

Txp 1.0 RC3 Available

Well, enough of this sitting perched on a swing, paring my fingernails, another glass of ice tea if you would darling, wondering what all that noise is. Ahem. Sorry for the delay.

First, I’m pleased as punch to announce officially what many of you already know: the addition of two new developers now actively working on Textpattern: Pedro Palazón (aka kusor) and Alex Shiels (aka zem). Both are gifted codeslingers bursting with ambitious ideas and clever solutions, and I’m truly grateful to have them on board.

Because of the serious rethink Txp has gone through in the past couple months, the code now available in the repository is Release Candidate 3. I’m going to give it a week for any showstopper bug reports that may appear to be dealt with, then it’ll be tarballed up as Version 1.0.

Because of this cooling-off week, this version is only available from the subversion repository. See below for checkout instructions.

Much to brag about. A passel of url schemes to choose from, no more section placeholders, a new catch-all .htaccess, new integrated importing from other tools, new diagnostics tab, the list goes on:

  • A new .htaccess file is intended to do away with the pre-release section placeholder files. In theory, you should be able now to channel everything directly to index.php. (zem)
  • Added ‘select all’, ‘select none’ and ‘select range’ widgetty buttons in list view for articles, links and comments
  • Added <txp:breadcrumb /> tag. Will output CategoryOne > CategoryTwo > CategoryThree for nested categories, or Home > section > title breadcrumbs
  • Added <txp:lang /> tag. Intended to be used on DOCTYPE declarations. (kusor)
  • Added a function which will translate i18n characters to their ascii equivalents (é -> e, ä -> a) for url titles; previously these were simply stripped or displayed as clipped unicode entities
  • Added double conditional tag <txp:if_search><txp:else /></txp:if_search> to allow you to customise search results template and main page, even if both share the same template (kusor)
  • Added double conditional tags <txp:if_excerpt><txp:else /></txp:if_excerpt> More like this to come… (kusor)
  • Added Import tab to Admin. You can import data from Movable Type – both MySQL DB and import file – blogger, WordPress and B2. The import tool is still being developed, but is mature enough to import 2.5mb of data in 30 seconds. (kusor, zem)
  • Added new admin -> diagnostics tab, which should simplify a large percentage of installation problems (zem)
  • Added proper <label> tags to checkbox and radio form elements in various tabs to aid clickability and pleasantness
  • Added rel=“nofollow” support for displaying urls submitted by commenters
  • Added some dapper new url-parsing options: you can now call up site.com/category/{categoryname}, site.com/author/{authorname}, site.com/atom/, and site.com/rss. These are hooked into the language files, so site.fr/auteur/baudelaire and site.es/categoria/escandalo should work fine. More are on the way.
  • After a fresh install, the main Textpattern index.php redirects to setup.php if no install detected
  • Passwords for any site author can now be reset by site publishers in the admin tab
  • Built in are a number of new permalink url schemas, which are easily switched via admin -> prefs. These include the familiar /section/id/title, /id/title, /year/month/day/title, and, for the very brave, /title (note that ‘title’ in all instances refers to the ‘url title’, which is now stored in the database rather than calculated at runtime)
  • Closed a potential JS injection vulnerability in referrer recording (sencer, zem)
  • Closed a potential mail-relay hole in email-comments function (zem)
  • Closed off code injection vulnerabilities in comments
  • Commenter and referrer IP addresses are now checked against the following spam blacklists: bl.spamcop.net, list.dsbl.org and sbl.spamhaus.org
  • Completely removed reliance on the flaky prefs variables $doc_root and $path_from_root. This means Textpattern should now run as intended on subdomains and tilde sites. There are three master variables that now define everything: $siteurl (the http-reachable address of the site, including subdirectory if any), $path_to_site (the full server path to the site, mainly useful for handling file uploads), and the familiar $txpath (which is set at install).
  • Dealt with the annoying regex error that would occur when site.com/subdirectory/ urls were recorded in the Web Domain field in prefs
  • Fixed a bug in XML feeds: characters already converted to entities by Textile were being re-encoded by htmlspecialchars (zem)
  • Fixed a problem where txp:keywords was outputting the current section name instead of, you know, keywords
  • Fixed error thrown when a label was used inside txp:linklist tags (remillard)
  • Fixed some forehead-smackingly stupid flaws in the way $_POST variables were handled when saving comments
  • Fixed two bugs in the IP bannning code: one that prevented banned IPs from being blocked, and one that stopped unban from working (zem)
  • Fixed two problems in discuss_edit: first, when comments containing i18n characters were double-escaped in the admin textarea for editing a comment. Second, when an edited comment is saved, characters weren’t re-encoded as HTML entities. (zem)
  • Fixed txp:recent_comments output, which was failing to display commentator names as before
  • Having comments presented as a numbered list (using <ol> and <li> tags), the previous hard-coded default, can now be switched off via prefs. Note that switching this off will require you to edit the ‘comments’ form, wrapping the entire form in a block-level tag like <div>
  • It’s now easy, via the tag generator, to make displayed article categories, sections, and authors into links to a list of other articles with the same category, section or author
  • Killed, after much long analysis, the the vapourware concept ‘mentions’. Sorry, it was a gaping spam vulnerability waiting to happen. A ‘trackback’ plugin by kusor is in the works, for those that see a need.
  • Lots of efficient code refactoring and simplification in txp_category.php, publish.php and many txp_event files (kusor)
  • New author login and password change emails are now hooked in to localised languages
  • plugins: help and edit are more clearly presented, on separate pages
  • recent_comments now no longer lists comments flagged as not visible (zem)
  • Removed deprecated txp:paging_link tag
  • Removed the prefs options for ‘use sections’ and ‘use categories’, as this was designed to make things easy for simple sites but in fact ended up causing confusion
  • Tab index order for form items in article edit window should now behave as expected
  • The ‘time since’ date format is now hooked into the localised language file, so outputting it in most non-english languages should be doable
  • The criteria for saving an article for the first time is now more liberal: articles can be saved with only a title, body or excerpt (zem)
  • The first time you log into the system after a fresh install or an update, you’re redirected to the prefs section

To update an existing site:

cd to wherever you have the /textpattern dir

get the old code out of the way

mv textpattern textpattern-old

move aside your images directory temporarily

mv images images-old

checkout the new code

svn co http://svn.textpattern.com/current/

move the new code up and out of the download dir

mv current/* ./; mv current/.??* ./; rm -R current/;

retrieve your existing config file from the old textpattern dir

cp textpattern-old/config.php textpattern/config.php

restore your images directory

rm -R images; mv images-old images

Hold on to the textpattern-old directory for the time being in case you need to rollback. First things to do: go to Admin->prefs and set the real http-reachable address of the site (there’s no more of this URL and Path to Site nonsense). and visit the new Admin->diagnostics tab to see if anything needs an immediate fix.

To do a clean install:

cd to wherever you want the site to be

checkout the code

svn co http://svn.textpattern.com/current/

move the new code up and out of the download dir

mv current/* ./; mv current/.??* ./; rm -R current/;

Load the whereveritis.com/textpattern in a browser for further instructions

Now you have a Textpattern installation under version control. Whenever you want to update from the public repository, simply type:

svn update

in the same directory as the top-leve index.php and svn will integrate updates with your existing code. Whenever you do, type:

svn log

to see what changes/additions have been committed.

Please don’t flood this thread with bug reports. The Textpattern Trac should be back running today (though if one more spammer shows up, it’ll have to be registration-only).

It goes without saying that some plugins may break, but we’ve made quite a bit of effort to retro-accommodate them.


text*

Offline

#2 2005-02-20 11:36:03

jasidog
Member
From: Scotland
Registered: 2004-05-17
Posts: 13
Website

Re: Txp 1.0 RC3 Available

Wow sounds a most impressive leap. A big congrats to Zem and Kusor, good one Dean!

Really looking forward to testing things out. :)

Last edited by jasidog (2005-02-20 11:36:51)

Offline

#3 2005-02-20 11:44:26

tmcraig
New Member
From: PEI, Canada
Registered: 2005-01-01
Posts: 6
Website

Re: Txp 1.0 RC3 Available

Yes, Congratulations is in order, looking forward to making the upgrade.

Offline

#4 2005-02-20 11:50:29

duffe
Archived Plugin Author
Registered: 2005-01-18
Posts: 39

Re: Txp 1.0 RC3 Available

Dean, my jaw has dropped to the floor. Much thanks, can’t wait to test it out.

Offline

#5 2005-02-20 11:59:42

Jaro
Member
From: S/F
Registered: 2004-11-18
Posts: 89

Re: Txp 1.0 RC3 Available

thanks Dean, kusor, zem and everyone else who contributed on this beautiful piece of software. it’s much appreciated. now, let’s go to test it out!

Offline

#6 2005-02-20 12:11:03

lee
Member
From: Normandy, France
Registered: 2004-06-17
Posts: 831

Re: Txp 1.0 RC3 Available

Very well done to everyone involved. Be proud.

Offline

#7 2005-02-20 12:17:04

ubernostrum
Member
From: Lawrence, KS
Registered: 2004-05-05
Posts: 238
Website

Re: Txp 1.0 RC3 Available

Wow.

That’s about all I can think of to say.


You cooin’ with my bird?

Offline

#8 2005-02-20 12:34:59

duffe
Archived Plugin Author
Registered: 2005-01-18
Posts: 39

Re: Txp 1.0 RC3 Available

Congratulations also to zem and kusor. I bet they love their new job!

Offline

#9 2005-02-20 12:49:08

lee
Member
From: Normandy, France
Registered: 2004-06-17
Posts: 831

Re: Txp 1.0 RC3 Available

Where do you find the new .htaccess file?

Offline

#10 2005-02-20 12:50:10

justanother
Member
Registered: 2004-07-17
Posts: 18

Re: Txp 1.0 RC3 Available

yeah!… let’s celebrate!

Offline

#11 2005-02-20 13:05:02

AlanChandler
Member
From: London UK
Registered: 2005-02-16
Posts: 11

Re: Txp 1.0 RC3 Available

Do you really need to do this subversion checkout and then move current up one level.

Can’t you just do

svn co http://textpattern.com/svn/repos/current .

(note trailing dot).

Offline

#12 2005-02-20 13:22:43

michaelkpate
Moderator
From: Avon Park, FL
Registered: 2004-02-24
Posts: 1,379
Website GitHub Mastodon

Re: Txp 1.0 RC3 Available

One word: Cool

Offline

Board footer

Powered by FluxBB