Andreas Gohr | 1 Oct 04:00
Favicon
Gravatar

darcs changes 2006-10-01


Good Morning!

This are the darcs changes for DokuWiki committed
yesterday. Please test them and report bugs.

---------------------------------------------------------------------
Sun Oct  1 01:00:01 CEST 2006  Andreas Gohr <andi[at]splitbrain.org>
  tagged develsnap 2006-10-01

Sat Sep 30 19:01:21 CEST 2006  chris[at]jalakai.co.uk
  * install.php updates
  - add retry button (as suggested by Diego Georgini)
  - correct error color, from green to red (spotted by Diego Georgini)
  - add utf8_decode and utf8_encode to required function list, when 
    mb_string functions are not available.
  - remove extra backslash from reported file names.

Sat Sep 30 16:37:19 CEST 2006  Ben Coburn <btcoburn[at]silicodon.net>
  * fix rel=start header
---------------------------------------------------------------------

Single patches can be downloaded from
http://dev.splitbrain.org/darcs/index.cgi/dokuwiki/?c=patches

Bye,
your darcs changlog mailer

--

-- 
DokuWiki mailing list - more info at
(Continue reading)

dokuwiki | 1 Oct 15:47

Debugging dokuwiki javascript

Sometimes I get JavaScript errors with Dokuwiki, I see them in 
Firefox's JavaScript Console and I see that something does not 
work fine (Indexmenu plugin does not work).

The problem is that the JavaScript generated by

   /lib/exe/js.php?edit=0&amp;write=0

does not contains new lines: everything is contained in a single 
very long line! So errors are always at line 1 and I cannot 
debug.

I see also that /lib/exe/css.php results with the same single 
line format.

Is this a normal behaviour, can be it corrected?

I installed the Dokuwiki devel version with Blog and Indexmenu 
plugins and Sidebar template.

Thanks

-- 
Niccolo Rigacci
Firenze - Italy

Iraq, missione di pace: 43546 morti - www.iraqbodycount.net
--

-- 
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist
(Continue reading)

Oliver Schulze L. | 1 Oct 15:56

Re: Debugging dokuwiki javascript

The jss and css code are in a single line without new lines or extra 
spaces in
order to "compress" the code.
This way, the total download size of the js and css code is reduced.

HTH
Oliver

dokuwiki <at> rigacci.org wrote:
> Sometimes I get JavaScript errors with Dokuwiki, I see them in 
> Firefox's JavaScript Console and I see that something does not 
> work fine (Indexmenu plugin does not work).
>
> The problem is that the JavaScript generated by
>
>    /lib/exe/js.php?edit=0&amp;write=0
>
> does not contains new lines: everything is contained in a single 
> very long line! So errors are always at line 1 and I cannot 
> debug.
>
> I see also that /lib/exe/css.php results with the same single 
> line format.
>
> Is this a normal behaviour, can be it corrected?
>
> I installed the Dokuwiki devel version with Blog and Indexmenu 
> plugins and Sidebar template.
>
> Thanks
(Continue reading)

Andreas Gohr | 1 Oct 16:23
Favicon
Gravatar

Re: Debugging dokuwiki javascript

On Sun, 01 Oct 2006 09:56:05 -0400
"Oliver Schulze L." <oliver <at> samera.com.py> wrote:

> The jss and css code are in a single line without new lines or extra 
> spaces in
> order to "compress" the code.
> This way, the total download size of the js and css code is reduced.

Correct, but missing the one valuable info the poster was looking
for ;-) Niccolo, you can disable the compression for debugging by
setting the 'compress' option to 0.

Andi

-- 
http://www.splitbrain.org
--

-- 
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Chris Smith | 1 Oct 16:42
Picon

Re: Debugging dokuwiki javascript

There is a configuration setting to "compact" javascript and CSS.  Go 
into admin menu/configuration settings advanced section, you'll see it 
there.  Uncheck and save.  Now you should find it easier to debug your CSS.

If you use apache, personally I think you are better off using 
mod_deflate and applying the deflate filter to any files delivered under 
a text mime type, e.g. text/html, text/javacript & text/css.

Cheers,

Chris

Oliver Schulze L. wrote:
> The jss and css code are in a single line without new lines or extra 
> spaces in
> order to "compress" the code.
> This way, the total download size of the js and css code is reduced.
>
> HTH
> Oliver
>
> dokuwiki <at> rigacci.org wrote:
>> Sometimes I get JavaScript errors with Dokuwiki, I see them in 
>> Firefox's JavaScript Console and I see that something does not work 
>> fine (Indexmenu plugin does not work).
>>
>> The problem is that the JavaScript generated by
>>
>>    /lib/exe/js.php?edit=0&amp;write=0
>>
(Continue reading)

Andreas Gohr | 1 Oct 19:13
Favicon
Gravatar

Re: Release Candidate available

On Fri, 29 Sep 2006 20:12:18 +0200
Kasper Sandberg <redeeman <at> metanurb.dk> wrote:

> okay i am testing now, and can report that the only thing that doesent
> seem to work in konqueror is the smiley popup, other than that, i can
> find no other problems.

Great. The smiley popup problem is known, but nobody has a fix ;-)

> allthough there is one other thing:
> http://testwiki2.kaspersandberg.com/doku.php?do=revisions&id=wiki%3Amain
> there are two changes where it appears i cant click the "wiki:main"
> link (obviously because its not a link), where all the other ones are
> links, to see the differences.

This happens when a changelog entry for a certain revision exists, but
the revision is not available in the attic (eg. deleted by a
maintenance script)

> i also notice that the minor changes thing was implemented, what did
> you decide behavior to be?

Hmm this was AFAIK in the last release already. Behaviour: only for
logged in users, off by default.

Andi

-- 
http://www.splitbrain.org
--

-- 
(Continue reading)

Andreas Gohr | 1 Oct 19:15
Favicon
Gravatar

Re: Release Candidate available


> what are the things i should be aware of with things like new
> changelog format and such? how do i convert an old wiki to the new
> one? can i simply use my old data dir? :)
> im using the 2005-09-22 release, (though with backported security
> fixes).

the changelog is converted automatically, so your old datadir should
work just fine.

-- 
http://www.splitbrain.org
--

-- 
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Andreas Gohr | 1 Oct 19:18
Favicon
Gravatar

Re: ACL + LDAP troubles

On Wed, 27 Sep 2006 16:38:37 +0200
Christian Pinedo Zamalloa <christian.pinedo.zamalloa <at> gmail.com> wrote:

> hi,
> 
> I'm working with the latest stable release of dokuwiki and i am having
> troubles with LDAP. User authentication througth LDAP works fine but
> ACL group permissions doesn't work.

There was a problem with groups in the ldap backend which AFAIK got
fixed somewhen in the last months. Please try the release candidate and
report back.

Andi

-- 
http://www.splitbrain.org
--

-- 
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

dokuwiki | 1 Oct 22:32

Debugging errors in CSS

This list is very helpful, now I can debug JavaScript and CSS 
having disabled compression with $conf['compress'] = 0; in 
local.php!

It seems that JavaScript errors are gone with the new release 
candidate, but I still get some CSS errors.

It seems that some css files are not parsed for substitution of 
values contained in lib/tpl/default/style.ini.

So I get a lib/exe/css.php containing errors like:

    background-color: __background_alt__;

The files not being parsed I think that are:

    plugins/config/style.css
    plugins/blog/style.css

Can be a bug in Dokuwiki or in the Blog plugin? Here you can get 
the full css:

http://www2.rigacci.org/lib/exe/css.php

Many thanks for the help, I wish to have a Dokuwiki in perfect 
shape!

--

-- 
Niccolo Rigacci
Firenze - Italy
(Continue reading)

Chris Smith | 2 Oct 00:59
Picon

Re: Debugging errors in CSS

dokuwiki <at> rigacci.org wrote:
> It seems that JavaScript errors are gone with the new release 
> candidate, but I still get some CSS errors.
>
> It seems that some css files are not parsed for substitution of 
> values contained in lib/tpl/default/style.ini.
>
>   
But you're not using the default template. 

Since it looks like you are using my sidebar template, I guess I better 
do a release candidate version :-)
Check http://www.cdsmith.plus.com/dokuwiki for link to download updated 
version of the template.

Cheers,

Chris

--

-- 
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist


Gmane