didiwiki improved

Word processors, spreadsheets, presentations, translation, etc.
Post Reply
Message
Author
amigo
Posts: 2629
Joined: Mon 02 Apr 2007, 06:52

didiwiki improved

#1 Post by amigo »

I've upgraded and improved the sources for didiwiki. Quite awhile back I found the original developers svn repo and downloaded the 'latest' sources -the last changes were made in 2004. I had been using those sources with further changes from debian until recently. Then, I found a couple of people who had written patches which cleaned-up or fixed things and/or added features. One of them had even written fixes against the svn sources.
So, anyway, after a couple of day of fooling around with it all, mixing and matching and fixing things still further, I came up with a clean source tarball which conatins all the fixes and added features.

Added features:
* support for showing wiki changes as an RSS feed(original added feature from the developer)
* From debian: debugging code added
* From debian: command-line options to set the port and wiki home
* From Peter Korsgaard: Add support for previewing page changes and the ability to cancel or save them.
* From Peter Korsgaard: Support for deletion of pages
* From Kanru Chen: Added support for showing an 'index' of all the pages in the wiki.
* More changes from debian, but modified by myself to fit the above-changed code: fix unicode characters in page names; remove doubled new-lines in pre-formatted text; add syslogging; add option to bea ble to specify the IP and/or port to use; add a 'usage' function which shows a basic help page; implementation of a SIGINT handler in order to shutdown didiwiki cleanly.

I'd appreciate any feedback if anyone wants to compile and package the attached sources. There is at least one issue that I'd like to work out -that is that the 'edit' link shown at the top of each page always points to the main WikiHome page, instead of the page currently being viewed. This behaviour is in the original code and not the result of any of the above changes.

I have repackaged and re-versioned the whole mess as didiwiki-0.7 (the svn sources were using 0.6-svn). There is still some minor work to do adding even more info to the ChangeLog and including some useful extra files from the former debian patches.

Gilbert
Attachments
didiwiki-0.7.tar.gz
Updated sources for didiwiki
(108.74 KiB) Downloaded 1401 times

amigo
Posts: 2629
Joined: Mon 02 Apr 2007, 06:52

#2 Post by amigo »

I've fixed the remaining issues and fixed up the documents, etc:

2009-09-30 Gilbert Ashley <amigo@ibiblio.org>

* src/wiki.c
* src/wikitext.h
Fixed edit/delete functionality so that the links point to the
current page and not always the main WikiHome. This meant separating
EDITHEADER and PAGEHEADER into two independent headers.
* Added a man-page -taken from debian and slightly altered
* Added styles.css page -also taken from debian
* Added logo and toolbar png images taken from didiwiki website
* Added example didiwiki.conf
* Added didiwiki.1, styles.css, didiwiki-16.png, didiwiki.png,
didiwiki.conf and didiwiki.html to top-level Makefile.am
* Added notes about changes applied from debian patches to the
previous ChangeLog entry.
* Made small changes to the README file.
* Added names of all contributors to AUTHORS
* Added comments to the NEWS file.
* Edited the didiwiki.html file to remove out-dated information.
* configure.ac updated version to 0.8
* ran 'autoreconf -i' to generate new configuration files

Below is the attached archive:
Attachments
didiwiki-0.8.tar.gz
didiwiki-0.8.tar.gz
(125.27 KiB) Downloaded 1481 times

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#3 Post by ttuuxxx »

I compiled and packaged it on 2.14Xv14 located http://www.murga-linux.com/puppy/viewto ... 253#346253
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#4 Post by BarryK »

That's great!

One thing to note is that awhile back a couple of people fixed some things for running in Puppy. I don't recall what (or who did it), but it is probably documented in the forum somewhere and maybe in the source package.

Here is our patched source:

http://puppylinux.com/sources/alphabeti ... up1.tar.gz

It might be worth taking a look, see if they did anything useful that you could add to your package.
[url]https://bkhome.org/news/[/url]

amigo
Posts: 2629
Joined: Mon 02 Apr 2007, 06:52

#5 Post by amigo »

Excellent, Barry! Tanks for that link. I'll check to see if there's anything in there different. Do you still include didiwiki in the distro?

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#6 Post by ttuuxxx »

amigo wrote:Excellent, Barry! Tanks for that link. I'll check to see if there's anything in there different. Do you still include didiwiki in the distro?
yes its in the latest version :)
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

amigo
Posts: 2629
Joined: Mon 02 Apr 2007, 06:52

#7 Post by amigo »

Okay, I've checked and the 0.5-5.1-pup sources don't contain any fixes not found in my sources -there was just one or two of the debian fixes/features for that version which were applied.
The new 0.8 version is more capable -I hope it gets a little testing, and if anyone has any ideas for what might be missing...

User avatar
Keef
Posts: 987
Joined: Thu 20 Dec 2007, 22:12
Location: Staffordshire

#8 Post by Keef »

I've compiled it on 214X14.1.
Only one issue: After saving a change, clicking on edit show the previous edit, not the one just made.
I've found this only happens with Dillo - using Firefox avoids this problem.
Ttuuxxx's version took me to the homepage when trying to edit - only tried it with Dillo (before compiling from source), so don't know if it's a browser issue.

amigo
Posts: 2629
Joined: Mon 02 Apr 2007, 06:52

#9 Post by amigo »

"I've found this only happens with Dillo" That's because dillo doesn't automatically update the cached page when 'revisiting' it.

User avatar
darkcity
Posts: 2534
Joined: Sun 23 May 2010, 19:16
Location: near here
Contact:

#10 Post by darkcity »

Hi

I've added DidiWiki to the Puppy Wiki-
http://puppylinux.org/wikka/DidiWiki

Is this the only place the v0.8 source code is available?

The old v0.5x code is still listed in a bunch of places, not sure they know about 0.8 . . .
https://aur.archlinux.org/packages/didiwiki/
http://c2.com/cgi/wiki?DidiWiki
http://www.wikimatrix.org/show/DidiWiki

I've started using DidiWiki for note keeping, and may well want to tinker with the code. Thanks for the update 8)

amigo
Posts: 2629
Joined: Mon 02 Apr 2007, 06:52

#11 Post by amigo »

Wow, I just happened to see your posting. Please communicate directly with me by email, if you need support or have changes you want to see incorporated (sort-of) upstream.

Wait, I wasn't aware of CiWiki. It looks more promising than depending on my hacks (and motivation). I'll be looking further at that!

Thanx for the mention on the arch web page, although the forked CiWiki is probably gonna be lots better.

User avatar
darkcity
Posts: 2534
Joined: Sun 23 May 2010, 19:16
Location: near here
Contact:

#12 Post by darkcity »

I haven't tried CiWiki, looks to have more features, but not as well known - for example not on WikiMatrix or AUR.

I'm going to stick with Didi for now I see how I get on ; -)
Last edited by darkcity on Thu 17 Jan 2013, 21:07, edited 2 times in total.

amigo
Posts: 2629
Joined: Mon 02 Apr 2007, 06:52

#13 Post by amigo »

Another wait! I just noticed that the fork is using my sources as a base! Who is this redonnet fellow anyway? A cursory look through the sources shows some really nasty looking changes and sloppy archive maintenence -hope they are really harmless and the underlying C code is okay... Lots of extra features in there -might be some optimum compromise in the earlier versions of CiWiki.

User avatar
darkcity
Posts: 2534
Joined: Sun 23 May 2010, 19:16
Location: near here
Contact:

#14 Post by darkcity »

The Debian maintainers have made some updates to package 0.5-13

Probably there are two branches:

Puppy 0.5 -> 0.8

Debian 0.5 -> 0.5-13

Debian link:
https://packages.debian.org/source/sid/didiwiki

changelog:
http://metadata.ftp-master.debian.org/c ... _changelog

:twisted:

amigo
Posts: 2629
Joined: Mon 02 Apr 2007, 06:52

#15 Post by amigo »

Thanks for the tip. Some valuable patches in there.

oui

#16 Post by oui »

Hi

I would like to use some of my didiwiki doc's (using sometimes pictures!) in my tablet on firefox. (un)possible?

how to do that if yes?

Post Reply