6.0.0-beta1
7/4/25

[#7191] Sync wiki pages
Summary Sync wiki pages
Queue Wicked
Type Enhancement
State Resolved
Priority 1. Low
Owners chuck (at) horde (dot) org
Requester duck (at) obala (dot) net
Created 08/11/2008 (6171 days ago)
Due
Updated 08/13/2008 (6169 days ago)
Assigned 08/12/2008 (6170 days ago)
Resolved 08/13/2008 (6169 days ago)
Milestone
Patch Yes

History
08/13/2008 05:57:32 PM Chuck Hagenbuch Comment #7
State ⇒ Resolved
Reply to this comment
Nice. I think there's a lot we can do with this; it's definitely rough 
around the edges still though. Would be nice to incorporate webdav 
into the mix also. The initial support is committed.
08/13/2008 02:52:14 PM Chuck Hagenbuch Deleted Original Message
 
08/12/2008 09:33:42 PM Chuck Hagenbuch Comment #5
State ⇒ Assigned
Assigned to Chuck Hagenbuch
Reply to this comment
Thanks. I have this code mostly integrated on another server and will 
look at these updates there tomorrow.
08/12/2008 07:49:44 AM Duck Comment #4
New Attachment: syncwiki[1].tgz Download
Reply to this comment
Why are you using XML_RPC2 instead of Horde_RPC? Using Horde_RPC
would let this work with the existing PHP 4 wicked codebase, which is
stable and just about ready for release.
Updated: Use horde_rpc, use login credentials by default, fix warning 
if no history.
08/11/2008 09:29:54 PM Chuck Hagenbuch Comment #3
State ⇒ Feedback
Reply to this comment
Why are you using XML_RPC2 instead of Horde_RPC? Using Horde_RPC would 
let this work with the existing PHP 4 wicked codebase, which is stable 
and just about ready for release.
08/11/2008 08:24:52 PM Duck Comment #2
New Attachment: Screenshot.png Download
Reply to this comment
SyncDiff screenshoot.
08/11/2008 08:15:33 PM Duck Comment #1
State ⇒ New
New Attachment: syncwiki.tgz
Patch ⇒ Yes
Milestone ⇒
Queue ⇒ Wicked
Summary ⇒ Sync wiki pages
Type ⇒ Enhancement
Priority ⇒ 1. Low
Reply to this comment
Implemented the new Wiki api by adding two special pages:



SyncPages

- Lists all pages that does not exits in local wiki

- List all pages that does not exists in remote wiki

- List pages that exists in both but has different check sums

- You can download a page from the remote server

- You can upload a local page to a remote sever



SyncDiff

- show diff form local/remote content (diff can be inverse)

- checks history to find if there where any identical revisions

- You can download a page from the remote server

- You can upload a local page to a remote sever



It will be nice to have some magic to find out which part to be 
updated or better said to auto-merge “trival” changes. But for now I 
don't have time and no plans to do this - you should merge content by 
your own.



The remote call API is abstracted in Wicked_Sync so someone can write 
a driver for other wiki programs too.



The SyncPages has a form to enter the sever to sync with. By default 
uses wiki.horde.org but I will like to leave the user to choose which 
server to sync with as you can have a local wiki with pages form 
various wikies (ex. Horde wiki, your company/product wiki....).


Saved Queries