Pixie 1.02x released

7 views
Skip to first unread message

NP

unread,
Aug 9, 2009, 4:35:15 PM8/9/09
to Pixie
Release Notes for Pixie 1.02x:

* Added new lang file de.php with German translation.

* Fixed spelling mistake in all lang files (copywright -> copyright)
and source code.

* Fixed faulty sentence for "create_user_info" in en-gb.php.

* Added Catalan and Galician Spanish to selection in installer and
setup dialog. Fixed some naming inconsistencies in file names and
language codes.

* Fixed bug in bad behavior library. Uploading images with Opera 9.27
could previously cause false positives when sending valid HTTP/1.1
requests with Expect-header being set.

* Fixed bug with double quotes in page description. Output was not
escaped properly and thus could break HTML code.

* Fixed bug with default gravatar. Missing image size could break
layout, if requested file was not available on server.

* Added new feature "site slogan". Slagline will be shown below site
name. Added input field to administration and extended lang files
(three new entries). Updated en-gb.php and de.php to fit requirements.
Templates need to be modified, too. New field was added to database
table pixie_settings, so run upgrade.sql if you already have Pixie
installed.

* Moved page description below page name. Page description now has its
own CSS class called page_description. The class slagline, which was
used for page description before, now applies to site slogan.

* Updated themes "busfullofhippies", "greenfingers", "hellowiki" and
"itheme" to fit new conditions. Added flower favicon to the first and
the second theme listed above.

* Improved theme "busfullofhippies". Navigation entries with a lot of
text now split and span multiple lines if they are too long for a
single one.

* Added language fallback system. If a lang file is outdated, default
entry from en-gb.php will be used instead.

* Added visual password strength meter on password change site (always
wanted to use this script somewhere).

* Improved backup module so that it does not backup the whole database
anymore, but only those tables prefixed with "pixie_" (or whatever the
user defined in config.php).

* Improved form layouts for better usability. Binary selections (yes/
no, on/off) now persistently use radio buttons instead of drop down
select menues.

* Removed version number from HTML title element due to security
reasons. Nobody needs to know which version of Pixie we are running.

* Updated installer and upgrade.sql file.

* Unified version numbers. Last release used a mixture of 1.01 and
1.02. New version is 1.02x (x stands for extended). However this ist
*NOT* an official release.

Have fun!

NetPanther



DOWNLOAD:

* http://tinyurl.com/pixie-v1-02x (no direct download)

* http://preview.tinyurl.com/pixie-v1-02x (in case of doubts)

* UNIX patch file and screenshots with preview of new features
included



IMPORTANT:

* Don't email me on this address, I won't reply. Use my website to
contact me if you have to.



TODO:

* There are more places where double quotes and special chars are not
yet escaped properly.

* Remove fields link_1, link_2 and link_3 from pixie_users table,
because this is bad database design. Either use a one-to-many-relation
or completely drop this feature (Who needs it anyway?).

* Update third party themes and lang files to comply with new
conditions (see Release Notes above).

* Maybe upgrade jQuery to latest version?

* Add new module to edit blocks in WYSIWYG mode.

nextlevelkid

unread,
Aug 10, 2009, 2:51:34 PM8/10/09
to Pixie
Sounds awesome for the new version.. This script is amazing. With the
added features it should be epic.
Keep it up !

Thanks for this script.
> *http://preview.tinyurl.com/pixie-v1-02x(in case of doubts)

MrEther

unread,
Aug 11, 2009, 1:37:55 AM8/11/09
to Pixie
Installed the previous version a few days ago, love it so far.
Anything I should pay attention to when upgrading to latest?

On Aug 9, 1:35 pm, NP <pi...@discardmail.com> wrote:
> *http://tinyurl.com/pixie-v1-02x(no direct download)
>
> *http://preview.tinyurl.com/pixie-v1-02x(in case of doubts)

NP

unread,
Aug 11, 2009, 8:27:30 AM8/11/09
to Pixie
First off a remark for all non-Germans out there: The download link on
my website is labelled "Datei herunterladen". So just click the link
and you'll get a copy of Pixie 1.02x.

INSTALLATION:

If you haven't installed Pixie yet: Just download the zip file, go to
subfolder pixie_v1.02x and do a clean installation. Nothing to worry
about here. The release includes all files from the original download
plus a modified version of the greenfingers theme.

For those who'll upgrade their existing copy of Pixie: Backup your
current installation (just in case anything goes wrong). Download the
zip file and copy all files from pixie_v1.02x subfolder to your
webserver EXCEPT for pixie/admin/config.php (your db setup),
pixie/.htaccess (if you use clean urls) and /pixie/admin/install/ (no
need to re-install).

Then run the latest sql queries from pixie/admin/install/upgrade.sql
with phpMyAdmin. That's it! Log in to your admin account and check out
the new features. If you run a lang file other than en-gb.php or
de.php or use a third party theme, you need to get your hands dirty
and do a little adaption work yourself (see Release Notes above).

Scott

unread,
Aug 17, 2009, 8:10:48 AM8/17/09
to Pixie
Just a little note to say:

1. Thanks for all the hard work and bugfixes.
2. This is not an official release
3. We hope to merge a great deal of this into Pixie for the next
version (when we find the time)
4. Enjoy!

Scott

roha...@gmail.com

unread,
Aug 18, 2009, 4:14:07 AM8/18/09
to Pixie
I can't write title in news on Cyrillic! :(

NP

unread,
Aug 18, 2009, 7:13:34 AM8/18/09
to Pixie
This is rather a general problem than an error specific to Pixie
1.02x. So please create a new thread if you need further help with
this.

However the source of your problem is around line 235 in /admin/lib/
lib_misc.php which strips all non-alphabetical and all non-numerical
letters from the post slug (here: post title):

$slug = preg_replace("/[^a-zA-Z0-9]/", "", $slug);

So if your title only includes cyrillic characters, $slug will have an
empty string as value after this line. You can fix that flaw by
apparently adding *all* cyrillic letters to the regular expression
quoted above, but you'll experience further problems then (cyrillic
letters in tags, link to posts with cyrillic title in frontend and so
on).

Pixie isn't yet ready for non-western charsets.

Sam Collett

unread,
Aug 18, 2009, 8:27:51 AM8/18/09
to Pixie
Why not removed reserved characters instead of all characters that are
no western alpha-numeric? e.g.

$slug = preg_replace("/[^\;\/\?\:\@\&\=\+\$\,]/", "", $slug);

Then replace spaces with _

$slug = str_replace(" ", "_", $slug);

--Sam

NP

unread,
Aug 18, 2009, 9:27:29 AM8/18/09
to Pixie
For security reasons one should always filter user input in known
goods. Furthermore your regular expression does very much the complete
opposite of what you want: The ^ inverts the whole group saying
"remove all characters BUT those given". So the circumflex accent has
to be removed here.

But for proper internationalisation preg_replace() won't work at all,
you are better off with PHP's multi byte function then:

http://www.php.net/manual/en/book.mbstring.php

Sam Collett

unread,
Aug 18, 2009, 10:14:30 AM8/18/09
to Pixie
Forgot to take the ^ off when copying and pasting...

Couldn't it just follow the RFC spec: http://www.ietf.org/rfc/rfc1738.txt

; HTTP

httpurl = "http://" hostport [ "/" hpath [ "?" search ]]
hpath = hsegment *[ "/" hsegment ]
hsegment = *[ uchar | ";" | ":" | "@" | "&" | "=" ]
search = *[ uchar | ";" | ":" | "@" | "&" | "=" ]

; Miscellaneous definitions

lowalpha = "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" |
"i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" |
"q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" |
"y" | "z"
hialpha = "A" | "B" | "C" | "D" | "E" | "F" | "G" | "H" | "I" |
"J" | "K" | "L" | "M" | "N" | "O" | "P" | "Q" | "R" |
"S" | "T" | "U" | "V" | "W" | "X" | "Y" | "Z"

alpha = lowalpha | hialpha
digit = "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" |
"8" | "9"
safe = "$" | "-" | "_" | "." | "+"
extra = "!" | "*" | "'" | "(" | ")" | ","
national = "{" | "}" | "|" | "\" | "^" | "~" | "[" | "]" | "`"
punctuation = "<" | ">" | "#" | "%" | <">


reserved = ";" | "/" | "?" | ":" | "@" | "&" | "="
hex = digit | "A" | "B" | "C" | "D" | "E" | "F" |
"a" | "b" | "c" | "d" | "e" | "f"
escape = "%" hex hex

unreserved = alpha | digit | safe | extra
uchar = unreserved | escape
xchar = unreserved | reserved | escape
digits = 1*digit

Although could this get complicated? From looking at it, Cyrillic
characters can't be used anyway. I haven't seen the in web site URL's
either.

How do other CMS's do it? Replace Cyrillic with latin / alpha
characters?

--Sam

NP

unread,
Aug 18, 2009, 11:29:25 AM8/18/09
to Pixie
UTF-8 characters usually have a length of two bytes and can therefore
not be used in an URL directly. However you can escape them to fit
current specifications.

For example ъгъл will become %D1%8A%D0%B3%D1%8A%D0%BB if you encode it
properly. Just check for yourself, PHP offers a function called
urlencode() for this purpose. It very much does what you suggested and
replaces cyrillic characters by hexadecimal equivalents.

Sam Collett wrote:
> (...)

Sam Collett

unread,
Aug 18, 2009, 12:14:12 PM8/18/09
to Pixie
I guess urlencode can be used... although you will end up with url's
that aren't very friendly (both from a search engine and user
perspective).

Maybe take the Wordpress approach? Since Wordpress and Pixie are both
GPL, could the Wordpress code be used?

Code (sanitize_title_with_dashes):
http://core.trac.wordpress.org/browser/trunk/wp-includes/formatting.php#L670

-- Sam

NP

unread,
Aug 18, 2009, 1:54:37 PM8/18/09
to Pixie
Well, the WordPress approach is very much the same as we suggested
above, isn't it? The quoted sanitize_title_with_dashes() calls a
function named utf8_uri_encode() which also replaces unicode
characters with their 2-byte-equivalents.

Just give it a try:

<?php

include_once('./formatting.php');

$str = 'Before ъгъл after';

echo sanitize_title_with_dashes($str);

?>

The slug it outputs will be:

before-%d1%8a%d0%b3%d1%8a%d0%bb-after

Search engines don't care about this, but indeed for human users it
isn't very nice. The only solution I can think about is replacing
cyrillic characters with their nearest phonetic neighbour or some kind
of "look-alike character". This script might be a good starting point:

http://petko.bossakov.eu/wordpress-cyrillic-slugs-plugin/

But there are a lot of different languages using cyrillic characters,
so this won't be a very universal solutaion. Furthermore we would
still have the same problem with arabian and asian charsets. Maybe one
day when internationalized domain names will be well-established, we
might be able to use Punycode for these purposes, but right now I
don't see any clean solution - neither for Pixie, nor for any other
CMS.

NP

unread,
Sep 3, 2009, 1:43:06 PM9/3/09
to Pixie
I released a new version of Pixie 1.02x today. Just fixed some minor
bugs in busfullofhippies-theme, see screenshot for further
information.

RELEASE NOTES:

* Improved theme "busfullofhippies". A very long navigation menue will
no longer overlay subsequent blocks.

* Improved theme "busfullofhippies". Fixed bug on dynamic sites, not
showing post links (permalink and comments) on top of each entry.

SCREENSHOT:

http://i30.tinypic.com/9iuwxc.png

Have fun one again!

NetPanther

DOWNLOAD:

* http://tinyurl.com/pixie-v1-02x (no direct download)

* http://preview.tinyurl.com/pixie-v1-02x (in case of doubts)

* UNIX patch file and screenshots with preview of new features
included

IMPORTANT:

* This still is NOT an official release!

Scott

unread,
Sep 5, 2009, 5:18:56 PM9/5/09
to Pixie
Thanks for the updates :)

Scott

On Sep 3, 6:43 pm, NP <pi...@discardmail.com> wrote:
> I released a new version of Pixie 1.02x today. Just fixed some minor
> bugs in busfullofhippies-theme, see screenshot for further
> information.
>
> RELEASE NOTES:
>
> * Improved theme "busfullofhippies". A very long navigation menue will
> no longer overlay subsequent blocks.
>
> * Improved theme "busfullofhippies". Fixed bug on dynamic sites, not
> showing post links (permalink and comments) on top of each entry.
>
> SCREENSHOT:
>
> http://i30.tinypic.com/9iuwxc.png
>
> Have fun one again!
>
> NetPanther
>
> DOWNLOAD:
>
> *http://tinyurl.com/pixie-v1-02x(no direct download)
>
> *http://preview.tinyurl.com/pixie-v1-02x(in case of doubts)

NP

unread,
Nov 1, 2009, 1:08:14 PM11/1/09
to Pixie
I once again released a new version of Pixie 1.02x. Just replace admin/
lib/lib_core.php if you already have installed prior releases.

RELEASE NOTES:

* Improved navigation in publish module. Page-carousel now slowly
scrolls nine entries instead of one, so it becomes easier to manage
sites with a lot of content.

Have fun one again!

NetPanther

DOWNLOAD:

* http://tinyurl.com/pixie-v1-02x (no direct download)

* http://preview.tinyurl.com/pixie-v1-02x (in case of doubts)

* UNIX patch file included

IMPORTANT:

* This is NOT an official release!

Scott

unread,
Nov 14, 2009, 3:35:58 PM11/14/09
to Pixie
Thanks NP.

On Nov 1, 6:08 pm, NP <pi...@discardmail.com> wrote:
> I once again released a new version of Pixie 1.02x. Just replace admin/
> lib/lib_core.php if you already have installed prior releases.
>
> RELEASE NOTES:
>
> * Improved navigation in publish module. Page-carousel now slowly
> scrolls nine entries instead of one, so it becomes easier to manage
> sites with a lot of content.
>
> Have fun one again!
>
> NetPanther
>
> DOWNLOAD:
>
> *http://tinyurl.com/pixie-v1-02x(no direct download)
>
> *http://preview.tinyurl.com/pixie-v1-02x(in case of doubts)

NP

unread,
Mar 23, 2010, 1:59:29 PM3/23/10
to Scott, pixi...@googlegroups.com
I just released another bugfix for Pixie 1.02x. If you already have
installed a prior release, it's sufficient to replace admin/lib/
lib_core.php with the file from the archive.

RELEASE NOTES:

* Fixed bug with page names including hyphens. If an existing page was
named "sometext-moretext" and one created a new page called
"sometext", Pixie erroneously renamed it to "sometext-1".

Have fun!

NetPanther

DOWNLOAD:

* http://tinyurl.com/pixie-v1-02x (no direct download)

* http://preview.tinyurl.com/pixie-v1-02x (in case of doubts)

Tony

unread,
Mar 23, 2010, 4:22:20 PM3/23/10
to Pixie

On Mar 23, 5:59 pm, NP <pi...@discardmail.com> wrote:
> I just released another bugfix for Pixie 1.02x. If you already have
> installed a prior release, it's sufficient to replace admin/lib/
> lib_core.php with the file from the archive.
>
> RELEASE NOTES:
>
> * Fixed bug with page names including hyphens. If an existing page was
> named "sometext-moretext" and one created a new page called
> "sometext", Pixie erroneously renamed it to "sometext-1".
>
> Have fun!
>
> NetPanther
>
> DOWNLOAD:
>

> *http://tinyurl.com/pixie-v1-02x(no direct download)
>
> *http://preview.tinyurl.com/pixie-v1-02x(in case of doubts)


>
> * UNIX patch file included
>
> IMPORTANT:
>
> * This is NOT an official release!
>
> * Don't email me on this address, I won't reply. Use my website to
> contact me if you have to.

Hi NP,
Please read the GNU GPL V3 to learn how to fork code without breaking
the licensing terms to which you agreed to by installing the software.
In particular, I turn your attention to the following sections :

To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of
an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.

For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.


Releasing your fork using a name that contains the word Pixie, coupled
with a release string that has already been used by the Pixie CMS
project, creates confusion and therefore breaks your agreement with
Scott, the copyright holder of the original source code because
problems may easily be attributed erroneously to the author of the
original version.
Also, you do not seem to be providing a link to the repository that
contains your modified source code so that we can view your commits,
view the changes and merge any back into the main project.

So either please fork Pixie properly or join the Pixie development
team and contribute directly.

We have absolutely no problem with you distributing verbatim copies of
Pixie with no changes or clearly marked modified versions of Pixie but
your current message indicates fully that you have violated the GNU
GPL V3 which you agreed to when you installed the software. I'm sure
Scott's not interested in suing you for breaking the license but I
cannot speak for him and you should correct your mistake.

Couple that with completely inappropriate timing to advertise code
that was fixed months ago on the week of a release is extremely
inappropriate.
Please rename your fork of Pixie CMS and stop advertising your changes
to code that is only suitable for php 4 or contact Scott about
contributing directly to the project.

The GNU GPL V3 is not just about providing users and developers of
software with freedom and protecting that freedom. It is also about
protecting the copyright of developers and contributors too.
Please read, understand and respect the license.

Thank You,
Tony

Reply all
Reply to author
Forward
0 new messages