From mobistyle at gmail.com Mon Aug 1 14:13:46 2005 From: mobistyle at gmail.com (Oleg Kourapov) Date: Mon Aug 1 14:07:57 2005 Subject: [Instiki] Updated Instiki image for Mac OS X Message-ID: <5b08c9d905080111134585aaec@mail.gmail.com> Hi there, fellow instiki users! The latest version of OS X .dmg distribution of Instiki was 0.9.2which is several releases older than current 0.10.2. As of today, thelink to that old dmg has been removed from the front page and 'Mac OSX' page replaced with information that native package is no longeravailable because project maintainer no longer has access to an Applecomputer. So I tried to build it myself. I fired up my Xcode, opened the projectfile (it comes in every instiki tarball, you can find it in`natives/osx/desktop_launcher` folder) and tried to do a no-brainercompilation which failed at once. I changed paths here and there,threw in missing folders and files, copied broken .NIB-file from theone included with v0.9.2 and clicked the "Build" button. In a minuteor two I had a native working Mac OS X application, ready to replacemy aging Instiki.app. I`ve packaged it in a handy DMG format for yourpleasure available here:http://www.2sheds.ru/blog/2005/07/download-updated-instiki-image-for-mac.php(direct link: http://www.2sheds.ru/files/instiki-0.10.2.dmg.zip) So please download, install and send any positive or negative feedbackto my email. Please note, however, that this file has been tested only on Mac OS X10.4.2 (Tiger) so it is not guaranteed to work on Panther or Jaguar ?tell me if you need a compatible version and I`ll do a cross-compilefor previous versions of OS X as well. And finally, a note to project maintainers: I can send you an updated.project file if you're still interested in OS X support. And if youhaven't got a Mac yourself I am ready to provide the community withlatest builds of Instiki in .dmg format. If there are any suggestionsor guidelines to consider - please do contact me by email. -- Oleg "2sheds" Kourapovmailto:ok@2sheds.ruhttp://www.2sheds.ru From alex at verk.info Mon Aug 1 15:27:30 2005 From: alex at verk.info (Alex Verhovsky) Date: Mon Aug 1 15:22:07 2005 Subject: [Instiki] Updated Instiki image for Mac OS X In-Reply-To: <5b08c9d905080111134585aaec@mail.gmail.com> References: <5b08c9d905080111134585aaec@mail.gmail.com> Message-ID: <42EE77A2.80509@verk.info> Oleg Kourapov wrote: >And finally, a note to project maintainers: I can send you an updated.project file if you're still interested in OS X support. > "Project maintainers" is just yours truly. :) I am certainly interested in OS X support, seeing how it was a fairly popular download. I just need somebody committed enough to do it on a regular basis (on every new release) in the foreseeable future, and fix the problems that other users report. If you are willing to be such a person, we'll have the OS X build supported again in no time! Question to other Mac folks: can you please confirm that Oleg's build works for you. I will appily put it up on the official distribution then. As for getting the project file into SVN, it is quite straightforward. Just make a Trac ticket and attach the diff patch there. Then I apply and commit it. Simple as that. See http://instiki.org/show/HowToContribute for a more detailed description. Best regards, Alexey Verkhovsky From mobistyle at gmail.com Mon Aug 1 15:40:22 2005 From: mobistyle at gmail.com (Oleg Kourapov) Date: Mon Aug 1 15:34:33 2005 Subject: [Instiki] Updated Instiki image for Mac OS X In-Reply-To: <42EE77A2.80509@verk.info> References: <5b08c9d905080111134585aaec@mail.gmail.com> <42EE77A2.80509@verk.info> Message-ID: <5b08c9d9050801124015266699@mail.gmail.com> 2005/8/1, Alex Verhovsky : > Oleg Kourapov wrote: > > >And finally, a note to project maintainers: I can send you an updated.project file if you're still interested in OS X support. > > > "Project maintainers" is just yours truly. :) Ah, I see :-) The pleasure is all mine! > I am certainly interested in OS X support, seeing how it was a fairly > popular download. I just need somebody committed enough to do it on a > regular basis (on every new release) in the foreseeable future, and fix > the problems that other users report. If you are willing to be such a > person, we'll have the OS X build supported again in no time! No problem, I've been a member of various open source projects, providing Russian localization and other services and I'm always willing to be of service to the community. Count me in! > Question to other Mac folks: can you please confirm that Oleg's build > works for you. I will appily put it up on the official distribution then. > > As for getting the project file into SVN, it is quite straightforward. > Just make a Trac ticket and attach the diff patch there. Then I apply > and commit it. Simple as that. See > http://instiki.org/show/HowToContribute for a more detailed description. I've already created a Trac ticket (#206) yesterday so I will just attach my file there. Done! Oh, and one more thing: MainMenu.nib file in current 0.10.2 tree is broken, it should be replaced with the one included in 0.9.2 package. > > Best regards, > Alexey Verkhovsky -- Oleg "2sheds" Kourapov mailto:ok@2sheds.ru http://www.2sheds.ru From derek at derekgulbranson.com Mon Aug 1 15:49:20 2005 From: derek at derekgulbranson.com (Derek Gulbranson) Date: Mon Aug 1 15:43:33 2005 Subject: [Instiki] Updated Instiki image for Mac OS X In-Reply-To: <42EE77A2.80509@verk.info> References: <5b08c9d905080111134585aaec@mail.gmail.com> <42EE77A2.80509@verk.info> Message-ID: <679C7BA9-577C-42AC-B021-78C20F99DCA4@derekgulbranson.com> On Aug 1, 2005, at 12:27 PM, Alex Verhovsky wrote: > Question to other Mac folks: can you please confirm that Oleg's > build works for you. Works for me. Thanks for taking this on Oleg. Derek Gulbranson -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instiki-users/attachments/20050801/ff48642e/attachment.htm From alex at verk.info Mon Aug 1 21:59:23 2005 From: alex at verk.info (Alex Verhovsky) Date: Mon Aug 1 21:53:58 2005 Subject: [Instiki] Updated Instiki image for Mac OS X In-Reply-To: <679C7BA9-577C-42AC-B021-78C20F99DCA4@derekgulbranson.com> References: <5b08c9d905080111134585aaec@mail.gmail.com> <42EE77A2.80509@verk.info> <679C7BA9-577C-42AC-B021-78C20F99DCA4@derekgulbranson.com> Message-ID: <42EED37B.10701@verk.info> Derek Gulbranson wrote: > Works for me. Thanks for taking this on Oleg. As I threatened, Oleg's OS X build is now up on RubyForge: http://rubyforge.org/frs/?group_id=186 Best regards, Alexey Verkhovsky From mobistyle at gmail.com Mon Aug 1 23:28:09 2005 From: mobistyle at gmail.com (Oleg Kourapov) Date: Mon Aug 1 23:22:18 2005 Subject: [Instiki] Updated Instiki image for Mac OS X In-Reply-To: <42EED37B.10701@verk.info> References: <5b08c9d905080111134585aaec@mail.gmail.com> <42EE77A2.80509@verk.info> <679C7BA9-577C-42AC-B021-78C20F99DCA4@derekgulbranson.com> <42EED37B.10701@verk.info> Message-ID: <5b08c9d905080120287de64a5a@mail.gmail.com> Yay! Thanks! 2005/8/2, Alex Verhovsky : > Derek Gulbranson wrote: > > > Works for me. Thanks for taking this on Oleg. > > As I threatened, Oleg's OS X build is now up on RubyForge: > http://rubyforge.org/frs/?group_id=186 > > Best regards, > Alexey Verkhovsky > > _______________________________________________ > Instiki-users mailing list > Instiki-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/instiki-users -- Oleg "2sheds" Kourapov mailto:ok@2sheds.ru http://www.2sheds.ru From rob at boringbutgood.com Tue Aug 2 04:42:31 2005 From: rob at boringbutgood.com (Rob Sharp) Date: Tue Aug 2 04:35:11 2005 Subject: [Instiki] Upgrading Message-ID: <42EF31F7.90009@boringbutgood.com> Am I safe to just copy the latest instiki files over the existing ones, or is there some special procedure to follow? Will the storage files remain untouched? Rob From assaph at gmail.com Tue Aug 2 06:29:10 2005 From: assaph at gmail.com (Assaph Mehr) Date: Tue Aug 2 06:23:19 2005 Subject: [Instiki] Upgrading In-Reply-To: <42EF31F7.90009@boringbutgood.com> References: <42EF31F7.90009@boringbutgood.com> Message-ID: <3ff47be9050802032954b2c4a@mail.gmail.com> > Am I safe to just copy the latest instiki files over the existing ones, > or is there some special procedure to follow? > > Will the storage files remain untouched? I assume you're not using the gem version. Better to unzip to a new directory and just copy the storage dir over. The snapshot file format is compatible, and this take care of backing things up. HTH, Assaph From shijialeee at yahoo.com Tue Aug 2 12:25:53 2005 From: shijialeee at yahoo.com (James.Q.L) Date: Tue Aug 2 12:20:03 2005 Subject: [Instiki] my perl/ruby captcha hack Message-ID: <20050802162553.57123.qmail@web50407.mail.yahoo.com> hello, as you may remember I was asking for captcha support for instiki a week ago, to stop the crazy spambot submission on our wiki site. as a perl user, i did hack it up with less than 100 lines of perl code and some ruby code i just learned. it works fine, so far. it may not worth much to the instiki community, but i would like some of you do a quick check on my ruby code before i actually use them for a project. thanks! basically, an image showing a combination of alpharbets and numbers appears on a wiki page where user is about to make change to. the combination is associated with a token and the token is embeded into the same page. the combination submitted by the user is checked against with a backend perl script based on the embeded token when someone click the save button. if the combination submited by the user match with the combination associated with the token, page saved. the perl script does the image generation for combination and identify the combination user sbubmited. I have made changes on controllers/wiki_controller.rb and views/wiki/edit.rhtml new.rhtml rollback.rhtml. following are the diff ################## diff for edit.rhtml ################## --- /home/qiang/tmp/instiki/instiki-0.10.1/app/views/wiki/edit.rhtml 2005-05-01 22:30:39.000000000 -0400 +++ edit.rhtml 2005-07-25 16:55:41.000000000 -0400 @@ -18,6 +18,12 @@

to be and till now, the problem seems gone.( of course, the captcha helps refuse spam bot) we using Instiki because it's simple enough, which let us concerate on the businiess, so we hope the Instiki continue to be that, thanks again. From huw.nichols at gmail.com Thu Aug 11 06:17:14 2005 From: huw.nichols at gmail.com (Huw) Date: Thu Aug 11 06:11:07 2005 Subject: [Instiki] Export crashes Message-ID: Hi Have just installed 10.2 and tried a very very simple 1 page wiki Page just says "hello" type stuff When I hit either the html or textile export links the instiki console shows a huge amount of what I assume is a binary dump of some kind but represented as ascii so it looks like a huge mess. And I get no download of course. Strange thing is that instiki has not actually crashed as if I hit the home page link etc. then it carries on showing my page in browser - just wont export anything at all. Does anyone else have this problem with 10.2 ? is there a fix ? Oh yes, system is win2k with all latest gems installed. Regards Huw From sldowney at berkeley.edu Thu Aug 11 09:47:49 2005 From: sldowney at berkeley.edu (Steve Downey) Date: Thu Aug 11 09:41:43 2005 Subject: [Instiki] Export crashes In-Reply-To: References: Message-ID: <42FB5705.107@berkeley.edu> Huw wrote: >Hi > >Have just installed 10.2 and tried a very very simple 1 page wiki > >Page just says "hello" type stuff > >When I hit either the html or textile export links the instiki console >shows a huge amount of what I assume is a binary dump of some kind but >represented as ascii so it looks like a huge mess. > >And I get no download of course. > >Strange thing is that instiki has not actually crashed as if I hit the >home page link etc. then it carries on showing my page in browser - >just wont export anything at all. > >Does anyone else have this problem with 10.2 ? is there a fix ? > >Oh yes, system is win2k with all latest gems installed. > >Regards > >Huw > >_______________________________________________ >Instiki-users mailing list >Instiki-users@rubyforge.org >http://rubyforge.org/mailman/listinfo/instiki-users > > > I did an export on my Windows XP Instiki. I dont' remember exactly what happened (too chicken to try again), but I remember it was bad. I seem to recall the browser locking up and a bunch of junk in the console. I think I did had to stop the app (ruby) from task manager ... not sure. But when I restarted everything was okay and it had created the zip file of html documents. From assaph at gmail.com Thu Aug 11 10:10:27 2005 From: assaph at gmail.com (Assaph Mehr) Date: Thu Aug 11 10:04:19 2005 Subject: [Instiki] Export crashes In-Reply-To: References: Message-ID: <3ff47be905081107105776057b@mail.gmail.com> Hi, On 8/11/05, Huw wrote: > When I hit either the html or textile export links the instiki console > shows a huge amount of what I assume is a binary dump of some kind but > represented as ascii so it looks like a huge mess. > > And I get no download of course. > > Strange thing is that instiki has not actually crashed as if I hit the > home page link etc. then it carries on showing my page in browser - > just wont export anything at all. > > Does anyone else have this problem with 10.2 ? is there a fix ? > > Oh yes, system is win2k with all latest gems installed. I think the problem may be in a change to #send_file between rails 0.11 and 0.13. You should add the :stream => false option (patch below). It has been pointed out to me (for Pimki) by Christoph Singer just today :-). Cheers, Assaph --- application.rb~ 2005-08-02 08:01:26.375000000 +1000 +++ application.rb 2005-08-12 00:06:10.750000000 +1000 @@ -67,6 +67,7 @@ def send_file(file, options = {}) options[:type] ||= (FILE_TYPES[File.extname(file)] || 'application/octet-stream') + options[:stream] = false super(file, options) end From huw.nichols at gmail.com Thu Aug 11 10:49:04 2005 From: huw.nichols at gmail.com (Huw) Date: Thu Aug 11 10:42:59 2005 Subject: [Instiki] Export crashes In-Reply-To: <3ff47be905081107105776057b@mail.gmail.com> References: <3ff47be905081107105776057b@mail.gmail.com> Message-ID: Hi, Thanks for the patch, I am off to try it now Regards Huw > Cheers, > Assaph > > --- application.rb~ 2005-08-02 08:01:26.375000000 +1000 > +++ application.rb 2005-08-12 00:06:10.750000000 +1000 > @@ -67,6 +67,7 @@ > > def send_file(file, options = {}) > options[:type] ||= (FILE_TYPES[File.extname(file)] || > 'application/octet-stream') > + options[:stream] = false > super(file, options) > end > From alex at verk.info Sat Aug 13 01:01:44 2005 From: alex at verk.info (Alex Verhovsky) Date: Sat Aug 13 00:55:42 2005 Subject: [Instiki] Export crashes In-Reply-To: <3ff47be905081107105776057b@mail.gmail.com> References: <3ff47be905081107105776057b@mail.gmail.com> Message-ID: <42FD7EB8.1030509@verk.info> Assaph Mehr wrote: >I think the problem may be in a change to #send_file between rails >0.11 and 0.13. > Gosh... I was just about to sit down and figure it out. And I suspected that it would be Rails upgrade, too. Thanks, Assaf! There is one other thing to do, namely add a test to test/watir/e2e.rb. It's one of those things controller tests just don't catch. Alex From mobistyle at gmail.com Sat Aug 13 01:39:09 2005 From: mobistyle at gmail.com (Oleg Kourapov) Date: Sat Aug 13 01:32:59 2005 Subject: [Instiki] Updated Instiki image for Mac OS X In-Reply-To: <08D726D7-940A-41AB-85E6-4FCC9A458E3D@gmail.com> References: <5b08c9d905080111134585aaec@mail.gmail.com> <42EE77A2.80509@verk.info> <08D726D7-940A-41AB-85E6-4FCC9A458E3D@gmail.com> Message-ID: <5b08c9d90508122239b2ae851@mail.gmail.com> Yes, rails is included in every package. I would like to note to you and all previous reporters with 10.3.9 that this build has been created on 10.4.2 and hasn't been tested on anything else - thanks for this valuable info! I've tried to google for solution but the only link that shows up is the original instiki-users message. To my mind, the reason is that ruby executable included with Instiki.app has been packaged by Xcode simply by copying stock Tiger Ruby which seems to be dynamically linked to some OS specific code. Thus it will only help to have latest Ruby compiled statically with no dependencies for specific OS X version. I have no idea how much more space would it take - I'll have to try that first. Cheers, Oleg 2005/8/12, John Evans : > I am getting this > > Date/Time: 2005-08-12 00:48:16 +0300 > OS Version: 10.3.9 (Build 7W98) > Report Version: 2 > > Command: ruby > Path: /Instiki.app/Contents/Resources/ruby > Version: ??? (???) > PID: 18363 > Thread: Unknown > > Link (dyld) error: > > dyld: /Instiki.app/Contents/Resources/ruby Undefined symbols: > /Instiki.app/Contents/Resources/ruby undefined reference to _lchown > expected to be defined in /usr/lib/libSystem.B.dylib > > Which is not so good :D > > I saw someone mentioned needing ruby on rails, ummm doesnt that come > with the .app bundle? > keep up the good work > > john > > > On Aug 1, 2005, at 10:27 PM, Alex Verhovsky wrote: > > > Oleg Kourapov wrote: > > > > > >> And finally, a note to project maintainers: I can send you an > >> updated.project file if you're still interested in OS X support. > >> > > "Project maintainers" is just yours truly. :) > > I am certainly interested in OS X support, seeing how it was a > > fairly popular download. I just need somebody committed enough to > > do it on a regular basis (on every new release) in the foreseeable > > future, and fix the problems that other users report. If you are > > willing to be such a person, we'll have the OS X build supported > > again in no time! > > > > Question to other Mac folks: can you please confirm that Oleg's > > build works for you. I will appily put it up on the official > > distribution then. > > > > As for getting the project file into SVN, it is quite > > straightforward. Just make a Trac ticket and attach the diff patch > > there. Then I apply and commit it. Simple as that. See http:// > > instiki.org/show/HowToContribute for a more detailed description. > > > > Best regards, > > Alexey Verkhovsky > > > > _______________________________________________ > > Instiki-users mailing list > > Instiki-users@rubyforge.org > > http://rubyforge.org/mailman/listinfo/instiki-users > > > > > -- Oleg "2sheds" Kourapov mailto:ok@2sheds.ru http://www.2sheds.ru From alex at verk.info Sat Aug 13 03:53:29 2005 From: alex at verk.info (Alex Verhovsky) Date: Sat Aug 13 03:47:28 2005 Subject: [Instiki] Spam filter on instiki.org In-Reply-To: <20050809141550.5944.qmail@web50402.mail.yahoo.com> References: <20050809141550.5944.qmail@web50402.mail.yahoo.com> Message-ID: <42FDA6F9.4010109@verk.info> James.Q.L wrote: > > >we got quite a lot spams from spambot that is apparently submiting thr proxy servers and changing >ip constantly. >the ip filter is nice if it's one spammer manually submit spam but not so effective in the proxy >case. > >IMO, captcha checking is a nice solution. i have one testing site running with captcha here. >http://xrl.us/gvvv > > Well, blocking specific text patterns seems to have worked for the instiki.org so far. I've no doubt that it is not too difficult to circumvent, but undoing the damage and creating a counter-measure.to the new attack is actually easy, too. And the net is full of softer targets. I might look into a captcha solution, once something like this is available in pure Ruby. The way Rails is conquering the web programming world, it probably already exists somewhere :) Alex From derek at derekgulbranson.com Sat Aug 13 07:04:01 2005 From: derek at derekgulbranson.com (Derek Gulbranson) Date: Sat Aug 13 06:58:00 2005 Subject: [Instiki] Spam filter on instiki.org In-Reply-To: <42FDA6F9.4010109@verk.info> References: <20050809141550.5944.qmail@web50402.mail.yahoo.com> <42FDA6F9.4010109@verk.info> Message-ID: On Aug 13, 2005, at 12:53 AM, Alex Verhovsky wrote: > I might look into a captcha solution, once something like this is > available in pure Ruby. The way Rails is conquering the web > programming world, it probably already exists somewhere :) I'm personally happy not to have a captcha for as long as it isn't necessary. (it is assigning a mindless task to humans in lieu of creating a sophisticated task for the computer). I'm rooting for the reg-ex counter-measure, but I guess I'd rather have a captcha than spend a half-hour restoring spammed pages. What about the ability to roll-back all edits from a specific IP in one swoop? If you wanna play it safe, perhaps with a confirmation & a beginning snippet (think Gmail/trac) of each page showing what's about to be restored? One thing 'human' spammers have going for them now on the RoR wiki for instance, it takes about as long to restore a page as it does to spam it, so it turns out to be a match of who has more bodies. (Only they get paid, and not to mention the poor server). Seems if anyone could easily delete all their spam in one action, they'd move on pretty quick. -derek From shijialeee at yahoo.com Sat Aug 13 09:35:35 2005 From: shijialeee at yahoo.com (James.Q.L) Date: Sat Aug 13 09:29:23 2005 Subject: [Instiki] Instiki core dump In-Reply-To: <42F986FD.3090409@verk.info> Message-ID: <20050813133535.84227.qmail@web50401.mail.yahoo.com> > SOLUTIONS > > 1. Survival for now > > SVN trunk to some extent goes around this problem by clearing all the > cached data on startup (although it means 10-20 seconds startup time for > relatively large wikis). With it your wiki should be able to start and > stay up for at least some time. You will need a robots.txt file on your > site to prevent web crawlers from loading old page revisions (this > recreates their display cache, which eventually blows the wiki out of > RAM). And, I'm afraid, you will have to restart it from time to time. > You may also think about performing export/import. This gets rid of all > revision history and drastically reduces memory utilisation. Besides, if i understand you correctly, the more revisions there are, the bigger the memory problem is. we have restored our wiki site and all pages have no revision, that should fix the memory problem at least for now, right? can you specify which file in svn trunk is needed to achieve the solution one? is this the solution that rubyonrails.org using? Qiang __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From ryan at ryanwatkins.net Sat Aug 13 11:35:21 2005 From: ryan at ryanwatkins.net (Ryan Watkins) Date: Sat Aug 13 11:29:27 2005 Subject: [Instiki] Updated Instiki image for Mac OS X In-Reply-To: <5b08c9d90508122239b2ae851@mail.gmail.com> Message-ID: <200508131529.j7DFTIcR023332@rubyforge.org> So if the package is actually a copy of the stock ruby in Tiger, but it only works in Tiger, then what is the point of including it in the app package? Just point the script at the default ruby installation. Or get a build that works on older versions of OS X. -- Ryan Watkins email: ryan@ryanwatkins.net msn: vample@hotmail.com icq: 35250858 aim: vampatvampdotorg > -----Original Message----- > From: instiki-users-bounces@rubyforge.org [mailto:instiki-users- > bounces@rubyforge.org] On Behalf Of Oleg Kourapov > Sent: Saturday, August 13, 2005 1:39 AM > To: John Evans > Cc: Instiki-users > Subject: Re: [Instiki] Updated Instiki image for Mac OS X > > Yes, rails is included in every package. > I would like to note to you and all previous reporters with 10.3.9 > that this build has been created on 10.4.2 and hasn't been tested on > anything else - thanks for this valuable info! > > I've tried to google for solution but the only link that shows up is > the original instiki-users message. To my mind, the reason is that > ruby executable included with Instiki.app has been packaged by Xcode > simply by copying stock Tiger Ruby which seems to be dynamically > linked to some OS specific code. Thus it will only help to have latest > Ruby compiled statically with no dependencies for specific OS X > version. I have no idea how much more space would it take - I'll have > to try that first. > > Cheers, > Oleg > > 2005/8/12, John Evans : > > I am getting this > > > > Date/Time: 2005-08-12 00:48:16 +0300 > > OS Version: 10.3.9 (Build 7W98) > > Report Version: 2 > > > > Command: ruby > > Path: /Instiki.app/Contents/Resources/ruby > > Version: ??? (???) > > PID: 18363 > > Thread: Unknown > > > > Link (dyld) error: > > > > dyld: /Instiki.app/Contents/Resources/ruby Undefined symbols: > > /Instiki.app/Contents/Resources/ruby undefined reference to _lchown > > expected to be defined in /usr/lib/libSystem.B.dylib > > > > Which is not so good :D > > > > I saw someone mentioned needing ruby on rails, ummm doesnt that come > > with the .app bundle? > > keep up the good work > > > > john > > > > > > On Aug 1, 2005, at 10:27 PM, Alex Verhovsky wrote: > > > > > Oleg Kourapov wrote: > > > > > > > > >> And finally, a note to project maintainers: I can send you an > > >> updated.project file if you're still interested in OS X support. > > >> > > > "Project maintainers" is just yours truly. :) > > > I am certainly interested in OS X support, seeing how it was a > > > fairly popular download. I just need somebody committed enough to > > > do it on a regular basis (on every new release) in the foreseeable > > > future, and fix the problems that other users report. If you are > > > willing to be such a person, we'll have the OS X build supported > > > again in no time! > > > > > > Question to other Mac folks: can you please confirm that Oleg's > > > build works for you. I will appily put it up on the official > > > distribution then. > > > > > > As for getting the project file into SVN, it is quite > > > straightforward. Just make a Trac ticket and attach the diff patch > > > there. Then I apply and commit it. Simple as that. See http:// > > > instiki.org/show/HowToContribute for a more detailed description. > > > > > > Best regards, > > > Alexey Verkhovsky > > > > > > _______________________________________________ > > > Instiki-users mailing list > > > Instiki-users@rubyforge.org > > > http://rubyforge.org/mailman/listinfo/instiki-users > > > > > > > > > > > > -- > Oleg "2sheds" Kourapov > mailto:ok@2sheds.ru > http://www.2sheds.ru > > _______________________________________________ > Instiki-users mailing list > Instiki-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/instiki-users From alex at verk.info Sat Aug 13 14:09:12 2005 From: alex at verk.info (Alex Verhovsky) Date: Sat Aug 13 14:03:10 2005 Subject: [Instiki] Instiki core dump In-Reply-To: <20050813133535.84227.qmail@web50401.mail.yahoo.com> References: <20050813133535.84227.qmail@web50401.mail.yahoo.com> Message-ID: <42FE3748.20004@verk.info> James.Q.L wrote: >if i understand you correctly, the more revisions there are, the bigger the memory problem is. we >have restored our wiki site and all pages have no revision, that should fix the memory problem at >least for now, right? > > Yes. >can you specify which file in svn trunk is needed to achieve the solution one? >is this the solution that rubyonrails.org using? > > It's these two pieces from wiki_service.rb: 1. A method to clear all rendering caches on all revisions of all pages in the system # One interesting property of Madeleine as persistence mechanism is that it saves # (and restores) the whole ObjectSpace. And in there, storage from older version may contain # who knows what in temporary variables, such as caches of various kinds. # The reason why it is nearly impossible to control is that there may be bugs, people may # use modified versions of things, etc etc etc # Therefore, upon loading the storage from a file, it is a good idea to clear all such # variables. It would be better yet if Madeleine could be somehow instructed not to save that # data in a snapshot at all. Alas, such a feature is not presently available. def clear_all_caches return if @system.webs.nil? @system.webs.each_value do |web| next if web.nil? or web.pages.nil? web.pages.each_value do |page| next if page.nil? or page.revisions.nil? page.revisions.each { |revision| revision.clear_display_cache } end end end 2. A place that invokes the above: def instance @madeleine ||= MadeleineServer.new(self) @system = @madeleine.system clear_all_caches return @system end In the next release I will probably make clearing of the caches a command-line option, as it is quite useless to call it on every startup, but it takes quite a it of time to re-render all revisions. Alex From alex at verk.info Sat Aug 13 14:11:46 2005 From: alex at verk.info (Alex Verhovsky) Date: Sat Aug 13 14:05:41 2005 Subject: [Instiki] Updated Instiki image for Mac OS X In-Reply-To: <200508131529.j7DFTIcR023332@rubyforge.org> References: <200508131529.j7DFTIcR023332@rubyforge.org> Message-ID: <42FE37E2.8010101@verk.info> Ryan Watkins wrote: >So if the package is actually a copy of the stock ruby in Tiger, but it only >works in Tiger, then what is the point of including it in the app package? > > I believe, historically it was there because earlier versions of OS X had Ruby 1.6, with which Instiki is not compatible. Tiger, as I heard, as 1.8, right? Alex From ryan at ryanwatkins.net Sat Aug 13 15:19:15 2005 From: ryan at ryanwatkins.net (Ryan Watkins) Date: Sat Aug 13 15:11:56 2005 Subject: [Instiki] Updated Instiki image for Mac OS X In-Reply-To: <42FE37E2.8010101@verk.info> Message-ID: <200508131911.j7DJBrcR017095@rubyforge.org> > > So if the package is actually a copy of the stock ruby in Tiger, > > but it only > > works in Tiger, then what is the point of including it in the app > > package? > > I believe, historically it was there because earlier versions of OS X > had Ruby 1.6, with which Instiki is not compatible. Tiger, as I heard, > as 1.8, right? Sure, but if ruby 1.8 is included because previous versions of the OS only had 1.6, it now seems pointless to include a 1.8 build that doesn't run on previous versions of the OS. That was my whole point. -- Ryan Watkins email: ryan@ryanwatkins.net msn: vample@hotmail.com icq: 35250858 aim: vampatvampdotorg From mobistyle at gmail.com Sat Aug 13 15:36:40 2005 From: mobistyle at gmail.com (Oleg Kourapov) Date: Sat Aug 13 15:30:29 2005 Subject: [Instiki] Updated Instiki image for Mac OS X In-Reply-To: <42FE37E2.8010101@verk.info> References: <200508131529.j7DFTIcR023332@rubyforge.org> <42FE37E2.8010101@verk.info> Message-ID: <5b08c9d9050813123612c78d75@mail.gmail.com> That's correct, and my updated image is but a fixed 0.9.2 - there are no major changes thus folder structure and working principles are the same. I can do yet another build using built-in ruby if it's requested. In the mean time, here is a script for all fellow Panther users that will check ruby's version and if it's 1.8.2 or later, copy it to Instiki.app inner folders to make Instiki work on 10.3.9. 2005/8/13, Alex Verhovsky : > Ryan Watkins wrote: > > >So if the package is actually a copy of the stock ruby in Tiger, but it only > >works in Tiger, then what is the point of including it in the app package? > > > > > I believe, historically it was there because earlier versions of OS X > had Ruby 1.6, with which Instiki is not compatible. Tiger, as I heard, > as 1.8, right? > > Alex > > _______________________________________________ > Instiki-users mailing list > Instiki-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/instiki-users -- Oleg "2sheds" Kourapov mailto:ok@2sheds.ru http://www.2sheds.ru -------------- next part -------------- A non-text attachment was scrubbed... Name: instiki-on-panther.sh Type: application/x-sh Size: 1100 bytes Desc: not available Url : http://rubyforge.org/pipermail/instiki-users/attachments/20050813/f4320416/instiki-on-panther.sh From mobistyle at gmail.com Sat Aug 13 15:40:57 2005 From: mobistyle at gmail.com (Oleg Kourapov) Date: Sat Aug 13 15:34:46 2005 Subject: [Instiki] Updated Instiki image for Mac OS X In-Reply-To: <5b08c9d9050813123612c78d75@mail.gmail.com> References: <200508131529.j7DFTIcR023332@rubyforge.org> <42FE37E2.8010101@verk.info> <5b08c9d9050813123612c78d75@mail.gmail.com> Message-ID: <5b08c9d905081312403c9ed871@mail.gmail.com> Oh, I forgot the instructions! Use it like this: start Terminal, drop instiki-on-panther.sh onto its window, find Instiki.app icon and drop it on the same window, press enter. You should get something like this: shell> /Users/ok/Desktop/instiki-on-panther.sh /Applications/Instiki.app The script will then do everything automagically. 2005/8/13, Oleg Kourapov : > That's correct, and my updated image is but a fixed 0.9.2 - there are > no major changes thus folder structure and working principles are the > same. I can do yet another build using built-in ruby if it's > requested. In the mean time, here is a script for all fellow Panther > users that will check ruby's version and if it's 1.8.2 or later, copy > it to Instiki.app inner folders to make Instiki work on 10.3.9. -- Oleg "2sheds" Kourapov mailto:ok@2sheds.ru http://www.2sheds.ru From ryan at ryanwatkins.net Sat Aug 13 16:01:15 2005 From: ryan at ryanwatkins.net (Ryan Watkins) Date: Sat Aug 13 15:53:42 2005 Subject: [Instiki] Updated Instiki image for Mac OS X In-Reply-To: <5b08c9d9050813123612c78d75@mail.gmail.com> Message-ID: <200508131953.j7DJrecR020294@rubyforge.org> But the problem is that people using Panther (10.3) will have Ruby 1.6, and thus the copy script will not get them anywhere. Do you see the problem? The point of the .dmg build is to say "click it and it runs". But currently that's only true if you're running 10.4. If you want "click it and it runs" for anything other than just 10.4, you need to rebuild the copy of ruby provided so it will run on *BOTH* 10.3 and 10.4. The entire point of including the ruby build in the .app folder was because the version provided by the OS was out of date. What is needed is a copy of Ruby 1.8, built so that it runs on both Panther, as part of the Instiki.app package (or atleast a build for 10.3 and another build for 10.4) Not a script that will refuse to copy their 1.6 version of Ruby that doesn't work, and not a build of Ruby 1.8 that only runs on Tiger. -- Ryan Watkins email: ryan@ryanwatkins.net msn: vample@hotmail.com icq: 35250858 aim: vampatvampdotorg > -----Original Message----- > From: instiki-users-bounces@rubyforge.org [mailto:instiki-users- > bounces@rubyforge.org] On Behalf Of Oleg Kourapov > Sent: Saturday, August 13, 2005 3:37 PM > To: Instiki-users > Subject: Re: [Instiki] Updated Instiki image for Mac OS X > > That's correct, and my updated image is but a fixed 0.9.2 - there are > no major changes thus folder structure and working principles are the > same. I can do yet another build using built-in ruby if it's > requested. In the mean time, here is a script for all fellow Panther > users that will check ruby's version and if it's 1.8.2 or later, copy > it to Instiki.app inner folders to make Instiki work on 10.3.9. > > 2005/8/13, Alex Verhovsky : > > Ryan Watkins wrote: > > > > >So if the package is actually a copy of the stock ruby in Tiger, but it > only > > >works in Tiger, then what is the point of including it in the app > package? > > > > > > > > I believe, historically it was there because earlier versions of OS X > > had Ruby 1.6, with which Instiki is not compatible. Tiger, as I heard, > > as 1.8, right? > > > > Alex > > > > _______________________________________________ > > Instiki-users mailing list > > Instiki-users@rubyforge.org > > http://rubyforge.org/mailman/listinfo/instiki-users > > -- > Oleg "2sheds" Kourapov > mailto:ok@2sheds.ru > http://www.2sheds.ru From mobistyle at gmail.com Sat Aug 13 16:09:22 2005 From: mobistyle at gmail.com (Oleg Kourapov) Date: Sat Aug 13 16:03:16 2005 Subject: [Instiki] Updated Instiki image for Mac OS X In-Reply-To: <200508131959.j7DJxugX053707@lotos.yandex.ru> References: <5b08c9d9050813123612c78d75@mail.gmail.com> <200508131959.j7DJxugX053707@lotos.yandex.ru> Message-ID: <5b08c9d90508131309429f70ba@mail.gmail.com> Well, as reported here (http://dev.instiki.org/ticket/219) the version that comes with 10.3.9 seems to work. And as we know, latest instiki requires latest ruby 1.8.2 - that's why I wrote this script, if you have the right version it will copy it in a right place. I understand the need to provide a version of ruby that runs on both newer and older OS X versions - I'm doing this at the moment, FYI - but it will take some time and testing. If there are users with such setup as described above - they will do fine with this script. Others will have to wait until the static build of ruby works good enough. I will post a link to this list as soon as I'll resolve all the dependencies. 2005/8/14, Ryan Watkins : > But the problem is that people using Panther (10.3) will have Ruby 1.6, and > thus the copy script will not get them anywhere. > > Do you see the problem? > > > The point of the .dmg build is to say "click it and it runs". But currently > that's only true if you're running 10.4. If you want "click it and it runs" > for anything other than just 10.4, you need to rebuild the copy of ruby > provided so it will run on *BOTH* 10.3 and 10.4. > > The entire point of including the ruby build in the .app folder was because > the version provided by the OS was out of date. > > What is needed is a copy of Ruby 1.8, built so that it runs on both Panther, > as part of the Instiki.app package (or atleast a build for 10.3 and another > build for 10.4) > > Not a script that will refuse to copy their 1.6 version of Ruby that doesn't > work, and not a build of Ruby 1.8 that only runs on Tiger. > > -- > Ryan Watkins > email: ryan@ryanwatkins.net msn: vample@hotmail.com > icq: 35250858 > aim: vampatvampdotorg > > > > -----Original Message----- > > From: instiki-users-bounces@rubyforge.org [mailto:instiki-users- > > bounces@rubyforge.org] On Behalf Of Oleg Kourapov > > Sent: Saturday, August 13, 2005 3:37 PM > > To: Instiki-users > > Subject: Re: [Instiki] Updated Instiki image for Mac OS X > > > > That's correct, and my updated image is but a fixed 0.9.2 - there are > > no major changes thus folder structure and working principles are the > > same. I can do yet another build using built-in ruby if it's > > requested. In the mean time, here is a script for all fellow Panther > > users that will check ruby's version and if it's 1.8.2 or later, copy > > it to Instiki.app inner folders to make Instiki work on 10.3.9. > > > > 2005/8/13, Alex Verhovsky : > > > Ryan Watkins wrote: > > > > > > >So if the package is actually a copy of the stock ruby in Tiger, but it > > only > > > >works in Tiger, then what is the point of including it in the app > > package? > > > > > > > > > > > I believe, historically it was there because earlier versions of OS X > > > had Ruby 1.6, with which Instiki is not compatible. Tiger, as I heard, > > > as 1.8, right? > > > > > > Alex > > > > > > _______________________________________________ > > > Instiki-users mailing list > > > Instiki-users@rubyforge.org > > > http://rubyforge.org/mailman/listinfo/instiki-users > > > > -- > > Oleg "2sheds" Kourapov > > mailto:ok@2sheds.ru > > http://www.2sheds.ru > > > > -- Oleg "2sheds" Kourapov mailto:ok@2sheds.ru http://www.2sheds.ru From ryan at ryanwatkins.net Sat Aug 13 16:30:51 2005 From: ryan at ryanwatkins.net (Ryan Watkins) Date: Sat Aug 13 16:23:07 2005 Subject: [Instiki] Updated Instiki image for Mac OS X In-Reply-To: <5b08c9d90508131309429f70ba@mail.gmail.com> Message-ID: <200508132023.j7DKN4cR025108@rubyforge.org> > Well, as reported here (http://dev.instiki.org/ticket/219) the version > that comes with 10.3.9 seems to work As reported there (http://dev.instiki.org/ticket/219) it doesn't seem to work. The menu item starts, but the actual instiki wiki doesn't. That's why the error report is titled: "0.10.2 mac .dmg client doesn't seem to start listening to a port or be accessible from the browser" Its not listening to a port or accessible from the browser because the version of ruby included in the .app folder doesn't run on 10.3 > And as we know, latest instiki > requires latest ruby 1.8.2 - that's why I wrote this script, if you > have the right version it will copy it in a right place. But users of 10.3 don't have the right version of Ruby, so they will not be able to do the copy. Offering them the option to copy something they will not have seems pointless and misleading for most users trying to figure out how to get it to work on 10.3. Your version will not work for 10.3 users. Mark the current .dmg build as "10.4 ONLY" and call it a day, or get a version that works out of the box on 10.3 and 10.4. > I understand the need to provide a version of ruby that runs on both > newer and older OS X versions - I'm doing this at the moment, FYI - > but it will take some time and testing. If there are users with such > setup as described above - they will do fine with this script. Others > will have to wait until the static build of ruby works good enough. > > I will post a link to this list as soon as I'll resolve all the > dependencies. Ok. But then I think the current Mac download should be marked as for 10.4 (Tiger) only. And possibly put up the previous version of the .dmg with the older version of Instiki for people using other versions of OSX. Calling the .dmg as just "OSX" and "Double click the Instiki application" and it works, is misleading for many of the current OS X users. It doesn't work on anything other than 10.4. -- Ryan Watkins email: ryan@ryanwatkins.net msn: vample@hotmail.com icq: 35250858 aim: vampatvampdotorg From chunzi at perlchina.org Sat Aug 13 20:33:26 2005 From: chunzi at perlchina.org (chunzi) Date: Sat Aug 13 20:27:39 2005 Subject: [Instiki] how to log when using deamon mode Message-ID: <42FE9156.3030209@perlchina.org> how to make the instiki's log infomatin save into a log file when using -d (deamon mode) ? From alex at verk.info Sat Aug 13 23:01:47 2005 From: alex at verk.info (Alex Verhovsky) Date: Sat Aug 13 22:55:43 2005 Subject: [Instiki] how to log when using deamon mode In-Reply-To: <42FE9156.3030209@perlchina.org> References: <42FE9156.3030209@perlchina.org> Message-ID: <42FEB41B.906@verk.info> chunzi wrote: >how to make the instiki's log infomatin save into a log file when using >-d (deamon mode) ? >_______________________________________________ > > What directs the log to stderr in Instiki is this code in config/environment.rb : unless defined? RAILS_DEFAULT_LOGGER RAILS_DEFAULT_LOGGER = Logger.new(STDERR) ActionController::Base.logger ||= RAILS_DEFAULT_LOGGER You should be able to override it by adding something like this to config/environments/productions.rb : ActionController::Base.logger = Logger.new("/path/to/logs/directory/instiki.log") Best regards, Alex From alex at verk.info Sun Aug 14 23:41:20 2005 From: alex at verk.info (Alex Verhovsky) Date: Sun Aug 14 23:35:20 2005 Subject: [Instiki] Instiki with SQL backend Message-ID: <43000EE0.40808@verk.info> Hi all, We've got a working (at least to some extent) Instiki implementation backed by an ActiveRecord backend and SQLite database. It's in a Subversion branch http://svn.instiki.org/instiki/branches/instiki-ar/, revision 360. If you find yourself thinking "heck, so what?", one possible consequence is that one day it will drastically reduce rubyonrails.org downtime and increase its performance. Not to mention that all the people running public Instiki instances will get the FastCGI deployment option most of them are crying for. Besides, Instiki is the most popular end-user application in the Ruby world :) "Working to some extent" refers to the fact that it passes all available automated tests (unit, functional and Watir), as well as half an hour of random poking around, while running on WEBRick with SQLite DB, under Windows XP. It probably will be heinously slow on any wiki larger than ~100 pages, so we are just half-way through the "make it work, then make it fast" road. Still need to do performance testing, refactor the database for speed, define indexes, implement some caching etc. In other words, all the "wizardry" bits. So, I thought maybe I can get some wizards with Rails production expertise interested to the point of getting involved at this stage. Even if you are not a wizard yet, you are most welcome to try it out and tell me about the problems you encounter. Best regards, Alex From alex at verk.info Tue Aug 16 02:52:48 2005 From: alex at verk.info (Alex Verhovsky) Date: Tue Aug 16 02:46:43 2005 Subject: [Instiki] Storage import Message-ID: <43018D40.60404@verk.info> Hi all, Not having an import script is an obstacle to the performance testing / tuning, which is what we wanted to do next. Therefore, I just dived into it and wrote half of the thing (see changeset:362). Sorry, Ben, I just couldn't hold myself :) The half that we now have loads the Madeleine storage and iterates through webs/pages/revisions found there. It would be terribly nice if you write the other half (about inserting the data into the database) tomorrow. If you don't have time, plse let me know, I'll do it then. Alex From crelisr at gmail.com Tue Aug 16 04:13:36 2005 From: crelisr at gmail.com (Crelis Rammelt) Date: Tue Aug 16 04:07:53 2005 Subject: [Instiki] Export style In-Reply-To: <43018D40.60404@verk.info> References: <43018D40.60404@verk.info> Message-ID: <8899C836-B0D4-40AF-B4FA-16382A9DD1F9@gmail.com> Hi all, I'm on OSX. Under 0.10.2 there seems to be a problem with the textile export. It creates a zipfile that will not open ( I don't know if I'm the only one with this problem). Apparently Markdown export is working fine. Is there a way to fix it? Otherwise is there an easy way for me to 'translate' my textile text to markdown? Thanks a lot. Crelis From alexander.lobunets at gmail.com Tue Aug 16 06:59:06 2005 From: alexander.lobunets at gmail.com (Alexander G. Lobunets) Date: Tue Aug 16 06:52:53 2005 Subject: [Instiki] Instiki crach :( Message-ID: <1124189947.14146.11.camel@eclipse.homebox> Hello, Two days ago I've got my instiki crash. After restarting the server I've got the following error: -------------- => Starting Instiki on http://0.0.0.0:2500 => Data files are stored in /home/alex/instiki-mrcities/storage/2500 Failed rendering page Malformed tag at character 846: " Starting Instiki on http://0.0.0.0:2500 => Data files are stored in /home/alex/instiki-mrcities/storage/2500 /usr/lib/ruby/gems/1.8/gems/madeleine-0.7.1/lib/madeleine.rb:232:in `load': dump format error(0x73) (ArgumentError) from /usr/lib/ruby/gems/1.8/gems/madeleine-0.7.1/lib/madeleine.rb:232:in `recover_log' from /usr/lib/ruby/gems/1.8/gems/madeleine-0.7.1/lib/madeleine.rb:222:in `recover_logs' from /usr/lib/ruby/gems/1.8/gems/madeleine-0.7.1/lib/madeleine.rb:221:in `open_uri_original_open' from /usr/lib/ruby/1.8/open-uri.rb:87:in `open' from /usr/lib/ruby/gems/1.8/gems/madeleine-0.7.1/lib/madeleine.rb:221:in `recover_logs' from /usr/lib/ruby/gems/1.8/gems/madeleine-0.7.1/lib/madeleine.rb:220:in `each' from /usr/lib/ruby/gems/1.8/gems/madeleine-0.7.1/lib/madeleine.rb:220:in `recover_logs' from /usr/lib/ruby/gems/1.8/gems/madeleine-0.7.1/lib/madeleine.rb:219:in `recovery' ... 10 levels... from /usr/lib/ruby/gems/1.8/gems/instiki-0.10.2/./instiki:6 from /usr/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support/dependencies.rb:193:in `load' from /usr/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support/dependencies.rb:193:in `load' from /usr/bin/instiki:18 From derek at derekgulbranson.com Wed Aug 17 16:02:01 2005 From: derek at derekgulbranson.com (Derek Gulbranson) Date: Wed Aug 17 15:55:39 2005 Subject: [Instiki] changing + to _ in html export? Message-ID: <3E9B3FA6-3874-452D-A352-189F69188AF4@derekgulbranson.com> I'm attempting to use Instiki as a sort of psuedo content management system for a client. It includes customizing the html export function to export the wiki content wrapped in their appropriate header and footer and returning a zip with .asp file extensions. I've got it working fairly well, but one thing that I need to do and am not quite sure how to approach, I need to change the spaces in the file names that it exports from plus signs to underscores. Anyone have any guidance on the best place/way to start poking around? Seems like that's perhaps a Rails function, perhaps I could redefine somewhere... Derek From derek at derekgulbranson.com Wed Aug 17 19:57:33 2005 From: derek at derekgulbranson.com (Derek Gulbranson) Date: Wed Aug 17 19:51:23 2005 Subject: [Instiki] changing + to _ in html export? In-Reply-To: <3E9B3FA6-3874-452D-A352-189F69188AF4@derekgulbranson.com> References: <3E9B3FA6-3874-452D-A352-189F69188AF4@derekgulbranson.com> Message-ID: On Aug 17, 2005, at 1:02 PM, Derek Gulbranson wrote: > I need to change the spaces in the file names that it exports from > plus signs to underscores. nevermind, i figured it out. i changed: zip_out.put_next_entry("#{CGI.escape(page.name)}.#{file_type}") to zip_out.put_next_entry("#{CGI.escape(page.name).gsub('+', '_')}.# {file_type}") in wiki_controller.rb's Zip::ZipOutputStream.open call ..for posterity. From curtis at radsoft.com Thu Aug 18 12:20:51 2005 From: curtis at radsoft.com (Curtis Cooley) Date: Thu Aug 18 12:14:32 2005 Subject: [Instiki] Password Problem Message-ID: <4304B563.9040600@radsoft.com> Somehow I managed to screw up the password to a web. I thought I had changed the password, but neither the new or old passwords now work. How can I find out what the password is? -------------- next part -------------- A non-text attachment was scrubbed... Name: curtis.vcf Type: text/x-vcard Size: 123 bytes Desc: not available Url : http://rubyforge.org/pipermail/instiki-users/attachments/20050818/cff17805/curtis.vcf From naiznoiz at skynet.be Thu Aug 18 14:11:16 2005 From: naiznoiz at skynet.be (naiznoiz) Date: Thu Aug 18 14:04:15 2005 Subject: [Instiki] Customizing Instiki Message-ID: <4304CF44.7020400@skynet.be> Hi guys, I've been using PmWiki on several of my projects. I really liked the configurability and customization possibilities of it. Two sites could look completely different, and you could make it impossible to see its a wiki if you didnt log in. But alas, as I didnt know PHP (and a bit reluctant to learn it, I already had to learn enough programming language syntaxes) I got stuck when I wanted sth beyond 'look and feel'. Then came along Ruby, which was apparently a 'devil-does-all', with Rails and stuff, so I decided to switch to Instiki. And here comes my question (pardon my introduction): Is it possible to do sth similar with Instiki? Where is it defined how the look is? And then I don't mean CSS layout, I know you can do that with Edit Web, but what is shown. I don't mean content, clearly that's what a Wiki is all about, but where the menu goes, for instance. Or what you want as header. Where and how is the master layout defined? Is it hard coded, which would be a pity? If so, how and is it possible to have two different sites look different? I couldn't find anything on the instiki.org, but if sbdy could give some hints, I'm willing to initiate/contribute a 'Customizing Instiki' page on the instiki.org. Cheers! Bart From tamc2 at cam.ac.uk Thu Aug 18 14:22:43 2005 From: tamc2 at cam.ac.uk (Tom Counsell) Date: Thu Aug 18 14:16:34 2005 Subject: [Instiki] Customizing Instiki In-Reply-To: <4304CF44.7020400@skynet.be> References: <4304CF44.7020400@skynet.be> Message-ID: <2CAF73EE-2811-408A-951E-DEAC48F0E239@cam.ac.uk> Hello Bart If you download a copy of instiki and look in the app/views folder you should find what you want. You will probably want to start with the layouts/default.rhtml file. The syntax is pretty easy. It is html, except for stuff between <% and %> which is ruby code. Note, you will need to maintain a separate copy of instiki for each different layout you want, it isn't (yet?) easy to have a different layout for each wiki, although it is with the ruby wiki which I wrote - www.soks.org - (shameless plug) which can be made to look very un- wiki like if you wish. Tom On 18 Aug 2005, at 19:11, naiznoiz wrote: > Hi guys, > > I've been using PmWiki on several of my projects. I really liked > the configurability and customization possibilities of it. Two > sites could look completely different, and you could make it > impossible to see its a wiki if you didnt log in. But alas, as I > didnt know PHP (and a bit reluctant to learn it, I already had to > learn enough programming language syntaxes) I got stuck when I > wanted sth beyond 'look and feel'. Then came along Ruby, which was > apparently a 'devil-does-all', with Rails and stuff, so I decided > to switch to Instiki. And here comes my question (pardon my > introduction): Is it possible to do sth similar with Instiki? Where > is it defined how the look is? And then I don't mean CSS layout, I > know you can do that with Edit Web, but what is shown. I don't mean > content, clearly that's what a Wiki is all about, but where the > menu goes, for instance. Or what you want as header. Where and how > is the master layout defined? Is it hard coded, which would be a > pity? If so, how and is it possible to have two different sites > look different? I couldn't find anything on the instiki.org, but if > sbdy could give some hints, I'm willing to initiate/contribute a > 'Customizing Instiki' page on the instiki.org. > > Cheers! > > Bart > _______________________________________________ > Instiki-users mailing list > Instiki-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/instiki-users > From naiznoiz at skynet.be Thu Aug 18 14:54:27 2005 From: naiznoiz at skynet.be (naiznoiz) Date: Thu Aug 18 14:47:31 2005 Subject: [Instiki] Customizing Instiki In-Reply-To: <2CAF73EE-2811-408A-951E-DEAC48F0E239@cam.ac.uk> References: <4304CF44.7020400@skynet.be> <2CAF73EE-2811-408A-951E-DEAC48F0E239@cam.ac.uk> Message-ID: <4304D963.1020904@skynet.be> Hello, > If you download a copy of instiki and look in the app/views folder > you should find what you want. You will probably want to start with > the layouts/default.rhtml file. The syntax is pretty easy. It is > html, except for stuff between <% and %> which is ruby code. Thanks! Thats sounds a lot like PmWiki and can be a nice push forward. I'll check it out. > Note, you will need to maintain a separate copy of instiki for each > different layout you want, it isn't (yet?) easy to have a different > layout for each wiki, Mmm. I can live with that for the moment... > although it is with the ruby wiki which I wrote - www.soks.org - > (shameless plug) which can be made to look very un- wiki like if you > wish. And now a smile comes on my face... I thought the diversity tree would and at Ruby(->Rails)->Instiki, but I'm wrong. How does Instiki compare to Soks? Only the fact that Instiki is (being) written in Rails? I care less about whether it is text or database based. Which wiki is more popular and used, in your opinion? (don't want to start a discussion on this on the reflector, just an honest anwer). Which wiki is more supported by a group of developers? Don't get me wrong on this one, but from an active group it is easier to learn. You did a nice job, writing a Wiki in Ruby. Just starting with Ruby, so I can only drool... ;-) Bart From tamc2 at cam.ac.uk Thu Aug 18 16:57:19 2005 From: tamc2 at cam.ac.uk (Tom Counsell) Date: Thu Aug 18 16:51:09 2005 Subject: [Instiki] OT Soks... In-Reply-To: <4304D963.1020904@skynet.be> References: <4304CF44.7020400@skynet.be> <2CAF73EE-2811-408A-951E-DEAC48F0E239@cam.ac.uk> <4304D963.1020904@skynet.be> Message-ID: <303A8A67-A755-42A5-A59F-27D31E00C1A6@cam.ac.uk> On 18 Aug 2005, at 19:54, naiznoiz wrote: > And now a smile comes on my face... I thought the diversity tree > would and at Ruby(->Rails)->Instiki, but I'm wrong. How does > Instiki compare to Soks? Only the fact that Instiki is (being) > written in Rails? I care less about whether it is text or database > based. Which wiki is more popular and used, in your opinion? (don't > want to start a discussion on this on the reflector, just an honest > anwer). Which wiki is more supported by a group of developers? > Don't get me wrong on this one, but from an active group it is > easier to learn. Instiki is more popular, more used and has a larger group of developers! Soks was written to scratch a set of very personal itches* during a bad patch in instiki's development a year or so ago (it wasn't being actively maintained because Rails had taken off and David hadn't yet got Alexey in to take over, it wasn't easy to hack, the madeleine storage had issues, and the transfer of its code to the Rails framework delayed the introduction of some useful features, like file uploads). As such Soks has a few tricks and useful bits that makes it great for me and a few others, such as the fact that it can support multiple visual look and feels more easily, can do file uploads, can do automatic summaries, automatic linking, calendars, import rss feeds, import mailboxes etc etc etc... Now that Alexey has sorted the transition to rails I expect that instiki will start gaining features rapidly and become one of the best wikis in any language, not least because Rails is such a handy framework. I hope so, because one of the things I appreciate about open source projects is that diversity = inspiration and sources of good coding ideas! Tom * One of the biggest of which was to learn to code ruby. From assaph at gmail.com Thu Aug 18 17:43:19 2005 From: assaph at gmail.com (Assaph Mehr) Date: Thu Aug 18 17:36:59 2005 Subject: [Instiki] Password Problem In-Reply-To: <4304B563.9040600@radsoft.com> References: <4304B563.9040600@radsoft.com> Message-ID: <3ff47be905081814431b8a3a18@mail.gmail.com> Hi Curtis, On 8/19/05, Curtis Cooley wrote: > Somehow I managed to screw up the password to a web. I thought I had > changed the password, but neither the new or old passwords now work. > > How can I find out what the password is? You can try Alexey's script for poking in the snapshot files (http://svn.instiki.org/instiki/trunk/script/debug_storage - look at the list archives). It should be included in the latest instiki. Bascially open a command line at the instiki directory, run irb and run: load 'script/debug_storage' Depending on which password you're after it's either in: $wiki.system or in $wiki.webs for each web, e.g.: $wiki.webs["wiki"].password HTH, Assaph From curtis at radsoft.com Thu Aug 18 18:36:35 2005 From: curtis at radsoft.com (Curtis Cooley) Date: Thu Aug 18 18:30:14 2005 Subject: [Instiki] Password Problem In-Reply-To: <3ff47be905081814431b8a3a18@mail.gmail.com> References: <4304B563.9040600@radsoft.com> <3ff47be905081814431b8a3a18@mail.gmail.com> Message-ID: <43050D73.3010300@radsoft.com> Assaph Mehr wrote: >Hi Curtis, > >On 8/19/05, Curtis Cooley wrote: > > >>Somehow I managed to screw up the password to a web. I thought I had >>changed the password, but neither the new or old passwords now work. >> >>How can I find out what the password is? >> >> > >You can try Alexey's script for poking in the snapshot files >(http://svn.instiki.org/instiki/trunk/script/debug_storage - look at >the list archives). It should be included in the latest instiki. > >Bascially open a command line at the instiki directory, run irb and run: > load 'script/debug_storage' >Depending on which password you're after it's either in: > $wiki.system >or in $wiki.webs for each web, e.g.: > $wiki.webs["wiki"].password > >HTH, >Assaph > > > > Thank you, Assaph, that worked like a charm. -------------- next part -------------- A non-text attachment was scrubbed... Name: curtis.vcf Type: text/x-vcard Size: 123 bytes Desc: not available Url : http://rubyforge.org/pipermail/instiki-users/attachments/20050818/e6b42260/curtis.vcf From huw.nichols at gmail.com Tue Aug 23 08:12:40 2005 From: huw.nichols at gmail.com (Huw) Date: Tue Aug 23 08:06:10 2005 Subject: [Instiki] Export crashes In-Reply-To: <42FD7EB8.1030509@verk.info> References: <3ff47be905081107105776057b@mail.gmail.com> <42FD7EB8.1030509@verk.info> Message-ID: All, I have eventually got round to trying the patch mentioned and thought I would confirm that it does indeed fix the problem. Thanks to all Huw On 8/13/05, Alex Verhovsky wrote: > Assaph Mehr wrote: > > >I think the problem may be in a change to #send_file between rails > >0.11 and 0.13. > > > > Gosh... I was just about to sit down and figure it out. And I suspected > that it would be Rails upgrade, too. > Thanks, Assaf! > > There is one other thing to do, namely add a test to test/watir/e2e.rb. > It's one of those things controller tests just don't catch. > > Alex > > From huw.nichols at gmail.com Tue Aug 23 08:14:42 2005 From: huw.nichols at gmail.com (Huw) Date: Tue Aug 23 08:08:13 2005 Subject: [Instiki] Another export question - Including the linked from details in html exports Message-ID: Hi all Just wanted to know if it is possible [maybe a patch exists etc.] to include the "Linked From" details in html exports so that a static web built from Instiki export can benefit from this feature. Thanks Huw From derek at derekgulbranson.com Tue Aug 23 15:02:13 2005 From: derek at derekgulbranson.com (Derek Gulbranson) Date: Tue Aug 23 14:55:44 2005 Subject: [Instiki] Another export question - Including the linked from details in html exports In-Reply-To: References: Message-ID: <0310A073-B77B-4965-80D0-19028C33547D@derekgulbranson.com> On Aug 23, 2005, at 5:14 AM, Huw wrote: > Just wanted to know if it is possible [maybe a patch exists etc.] to > include the "Linked From" details in html exports so that a static web > built from Instiki export can benefit from this feature. the template app/views/wiki/print.rhtml is what is used for HTML export. If you copy the bit from app/views/wiki/page.rhtml (line 86) that adds the linked to info, it should work. so add this to app/views/wiki/print.rhtml <% unless @page.linked_from.empty? %> | Linked from: <%= @page.linked_from.collect { |referring_page| link_to_existing_page referring_page }.join(", ") %> <% end %> -derek From huw.nichols at gmail.com Tue Aug 23 15:45:22 2005 From: huw.nichols at gmail.com (Huw) Date: Tue Aug 23 15:38:56 2005 Subject: [Instiki] Another export question - Including the linked from details in html exports In-Reply-To: <0310A073-B77B-4965-80D0-19028C33547D@derekgulbranson.com> References: <0310A073-B77B-4965-80D0-19028C33547D@derekgulbranson.com> Message-ID: your a star, thanks. I shall go try this in the next hour or so Many many thanks H On 8/23/05, Derek Gulbranson wrote: > On Aug 23, 2005, at 5:14 AM, Huw wrote: > > Just wanted to know if it is possible [maybe a patch exists etc.] to > > include the "Linked From" details in html exports so that a static web > > built from Instiki export can benefit from this feature. > > the template app/views/wiki/print.rhtml is what is used for HTML > export. If you copy the bit from app/views/wiki/page.rhtml (line 86) > that adds the linked to info, it should work. > > so add this to app/views/wiki/print.rhtml > > <% unless @page.linked_from.empty? %> > > | Linked from: > <%= @page.linked_from.collect { |referring_page| > link_to_existing_page referring_page > }.join(", ") > %> > > <% end %> > > -derek > From pawlowski at gmail.com Tue Aug 23 18:53:17 2005 From: pawlowski at gmail.com (Peter Pawlowski) Date: Tue Aug 23 18:46:50 2005 Subject: [Instiki] importing entires Message-ID: <39ad139405082315533e6faf4@mail.gmail.com> Hello all-- I've just downloaded Instiwiki, and love it. Has anyone attempted importing entries from an external wiki into Instiwiki? I'm not afraid to write Ruby code to do this (I have a large number of entries to import), but am not sure how to best go about it, as Instiwiki seems to use an opaque data format for storage. Any suggestions? Thanks, Peter -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instiki-users/attachments/20050823/ca7f1ed6/attachment.htm From assaph at gmail.com Tue Aug 23 20:48:39 2005 From: assaph at gmail.com (Assaph Mehr) Date: Tue Aug 23 20:42:11 2005 Subject: [Instiki] importing entires In-Reply-To: <39ad139405082315533e6faf4@mail.gmail.com> References: <39ad139405082315533e6faf4@mail.gmail.com> Message-ID: <3ff47be90508231748ac13d03@mail.gmail.com> HI Peter, > I've just downloaded Instiwiki, and love it. Has anyone attempted > importing entries from an external wiki into Instiwiki? I'm not afraid to > write Ruby code to do this (I have a large number of entries to import), but > am not sure how to best go about it, as Instiwiki seems to use an opaque > data format for storage. Any suggestions? Take a look at the file controller import facility, specifically import_from_archive. It simply loops through a zip files and creates each page in turn. The bigger problem is translating between the two wiki formats. If your other wiki is using textile or markdown, than all you need is to save the contents. If, however, it uses another format, you'll need to write something to translate between the two formats. Cheers, Assaph From adamjroth at gmail.com Wed Aug 24 13:31:47 2005 From: adamjroth at gmail.com (Adam Roth) Date: Wed Aug 24 13:25:23 2005 Subject: [Instiki] Publishing all pages? Message-ID: <390fc99d050824103129e0ea28@mail.gmail.com> I'm new to Instiki. With that said, I want all my pages to show the published version. If I hit: http://www.my-site.com:2500/home/published/ the homepage is shown in published mode, but if i click any link it links to the /show version. I have set the [X] Publish this wiki option in the settings. How do I do this? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instiki-users/attachments/20050824/82aa55f6/attachment-0001.htm From sldowney at berkeley.edu Wed Aug 24 13:34:22 2005 From: sldowney at berkeley.edu (Steve Downey) Date: Wed Aug 24 13:27:51 2005 Subject: [Instiki] Publishing all pages? In-Reply-To: <390fc99d050824103129e0ea28@mail.gmail.com> References: <390fc99d050824103129e0ea28@mail.gmail.com> Message-ID: <430CAF9E.7070604@berkeley.edu> Adam Roth wrote: > I'm new to Instiki. With that said, I want all my pages to show the > published version. If I hit: > > http://www.my-site.com:2500/home/published/ > > the homepage is shown in published mode, but if i click any link it > links to the /show version. I have set the [X] Publish this wiki > option in the settings. > > How do I do this? > Try http://www.my-site.com:2500/home/published/HomePage From adamjroth at gmail.com Wed Aug 24 13:38:48 2005 From: adamjroth at gmail.com (Adam Roth) Date: Wed Aug 24 13:32:18 2005 Subject: [Instiki] Publishing all pages? In-Reply-To: <430CAF9E.7070604@berkeley.edu> References: <390fc99d050824103129e0ea28@mail.gmail.com> <430CAF9E.7070604@berkeley.edu> Message-ID: <390fc99d05082410382676778b@mail.gmail.com> Same thing. Homepage is published, the [[About]] and [[Contact]] links still point to /show/About and /show/Contact ..? On 8/24/05, Steve Downey wrote: > > Adam Roth wrote: > > > I'm new to Instiki. With that said, I want all my pages to show the > > published version. If I hit: > > > > http://www.my-site.com:2500/home/published/ > > > > the homepage is shown in published mode, but if i click any link it > > links to the /show version. I have set the [X] Publish this wiki > > option in the settings. > > > > How do I do this? > > > > Try http://www.my-site.com:2500/home/published/HomePage > _______________________________________________ > Instiki-users mailing list > Instiki-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/instiki-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instiki-users/attachments/20050824/99c717b5/attachment.htm From huw.nichols at gmail.com Wed Aug 24 13:45:48 2005 From: huw.nichols at gmail.com (Huw) Date: Wed Aug 24 13:39:15 2005 Subject: [Instiki] Publishing all pages? In-Reply-To: <390fc99d05082410382676778b@mail.gmail.com> References: <390fc99d050824103129e0ea28@mail.gmail.com> <430CAF9E.7070604@berkeley.edu> <390fc99d05082410382676778b@mail.gmail.com> Message-ID: Last time I set this up it involved some extra magic in an .htaccess file as it never seemed to work right "out of the box" in earlier versions - at least not for me. I do not have the .htaccess rules in front of me just now though so this is not really much help I guess. Sorry. Huw On 8/24/05, Adam Roth wrote: > Same thing. Homepage is published, the [[About]] and [[Contact]] links > still point to /show/About and /show/Contact > > ..? > > > On 8/24/05, Steve Downey wrote: > > Adam Roth wrote: > > > > > I'm new to Instiki. With that said, I want all my pages to show the > > > published version. If I hit: > > > > > > http://www.my-site.com:2500/home/published/ > > > > > > the homepage is shown in published mode, but if i click any link it > > > links to the /show version. I have set the [X] Publish this wiki > > > option in the settings. > > > > > > How do I do this? > > > > > > > Try http://www.my-site.com:2500/home/published/HomePage > > _______ From alex at verk.info Thu Aug 25 00:24:48 2005 From: alex at verk.info (Alexey Verkhovsky) Date: Thu Aug 25 00:18:24 2005 Subject: [Instiki] Publishing all pages? In-Reply-To: <390fc99d050824103129e0ea28@mail.gmail.com> References: <390fc99d050824103129e0ea28@mail.gmail.com> Message-ID: <430D4810.2010305@verk.info> Adam Roth wrote: > I'm new to Instiki. With that said, I want all my pages to show the > published version. If I hit: > > http://www.my-site.com:2500/home/published/ > > the homepage is shown in published mode, but if i click any link it > links to the /show version. I have set the [X] Publish this wiki > option in the settings. > > How do I do this? Which version of Instiki are you running? I remember the behavior that you describe from some earlier version (0.10.0 or thereabout). 0.10.2 (on my computer, at least) creates bad links if you access /home/published/, but all is well if you access /home/published/HomePage Which is a bug, anyway, but not as severe as what you see. Alex From ollieglaskovik at gmail.com Wed Aug 24 14:23:40 2005 From: ollieglaskovik at gmail.com (Ollie Glaskovik) Date: Thu Aug 25 06:03:24 2005 Subject: [Instiki] Export trouble Message-ID: I see a few people talking about export troubles so sorry if this has already been covered. I am running OS X 10.4.2 and have applied the "options[:stream] = false" patch to Instiki-0.10.2 When I export, I get a file that won't unzip. I get a message "Error 1 - Operation not permitted" from Tiger's Archive Utility. I've checked permissions but no luck. Any ideas? Thanks, Ollie From ollieglaskovik at gmail.com Thu Aug 25 06:07:48 2005 From: ollieglaskovik at gmail.com (Ollie Glaskovik) Date: Thu Aug 25 06:03:30 2005 Subject: [Instiki] Export trouble Message-ID: I see a few people talking about export troubles so sorry if this has already been covered. I am running OS X 10.4.2 and have applied the "options[:stream] = false" patch to Instiki-0.10.2 When I export, I get a file that won't unzip. I get a message "Error 1 - Operation not permitted" from Tiger's Archive Utility. I've checked permissions but no luck. Any ideas? Thanks, Ollie From crelisr at gmail.com Thu Aug 25 06:19:58 2005 From: crelisr at gmail.com (Crelis Rammelt) Date: Thu Aug 25 06:13:27 2005 Subject: [Instiki] Export trouble In-Reply-To: References: Message-ID: <45787F4F-7A4E-4DAA-B70E-DF740E395D12@gmail.com> I have the exact same thing. Thanks, Crelis On Aug 25, 2005, at 12:07 PM, Ollie Glaskovik wrote: > I see a few people talking about export troubles so sorry if this > has already been covered. I am running OS X 10.4.2 and have applied > the "options[:stream] = false" patch to Instiki-0.10.2 > > When I export, I get a file that won't unzip. I get a message > "Error 1 - Operation not permitted" from Tiger's Archive Utility. > I've checked permissions but no luck. Any ideas? > > Thanks, > > Ollie > > _______________________________________________ > Instiki-users mailing list > Instiki-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/instiki-users > work +31152788440 mobile +31624621771 home +31206164912 work c.f.rammelt@tbm.tudelft.nl home crelisr@gmail.com home adres Wenslauerstraat 72-1h 1053BB Amsterdam Netherlands work adres Faculty of Technology, Policy and Management Jaffalaan 5 2600GA Delft Netherlands From huw.nichols at gmail.com Thu Aug 25 08:11:31 2005 From: huw.nichols at gmail.com (Huw) Date: Thu Aug 25 08:05:01 2005 Subject: [Instiki] Export and Images Message-ID: Hi all I have a web I am using to create some systems documentation and so I want it exported as a static set of pages when finished. Question: Is there any way to make the export function add the images referenced into the export zip file *and* change the image links so that when the whole lot is dumped into a directory it will work and serve images locally ? Thanks Huw From adamjroth at gmail.com Thu Aug 25 18:11:25 2005 From: adamjroth at gmail.com (Adam Roth) Date: Thu Aug 25 18:04:57 2005 Subject: [Instiki] Instiki as a website, using mod_proxy Message-ID: <390fc99d05082515112930c132@mail.gmail.com> So I setup mod_proxy (ProxyPass / ProxyPassReverse in httpd.conf) as written up here: http://instiki.org/show/HowToUseInstikiAsWebSite And, when I hit up my site: http://www.my-site.com It immediately redirects to: http://www.my-site.com/wiki/show/HomePage and that's kind of ugly. That style URL is fine for any other page, but is there a way to make the "homepage" have a cleaner URL? Thanks Adam -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instiki-users/attachments/20050825/016829cc/attachment.htm From derek at derekgulbranson.com Thu Aug 25 18:39:18 2005 From: derek at derekgulbranson.com (Derek Gulbranson) Date: Thu Aug 25 18:32:41 2005 Subject: [Instiki] Export and Images In-Reply-To: References: Message-ID: You'd have to write some Ruby. I've been working on doing some similar stuff. Here's some info that might be helpful. The methods you'll need to play with are in wiki_contoller.rb. take a look at 'export_html' and 'export_pages_as_zip'. Also look at the docs for RubyZip (vendor/rubyzip-xx/lib/zip/zip.rb), you'll need to add some additional zip_out.put_next_entry calls in for the extra files you're adding to the archive. In wiki_controller.rb, the 'zip_out.puts(block.call(page))' part of the '@web.select.by_name.each do |page|' block is where the page is added to the zip archive. I put added another method to that line that take care of my search/replace needs to keep links working. Also this article might be helpful. http://redhanded.hobix.com/inspect/ thinStrandOfSearchAndReplaceRails.html On Aug 25, 2005, at 5:11 AM, Huw wrote: > Hi all > > I have a web I am using to create some systems documentation and so I > want it exported as a static set of pages when finished. > > Question: Is there any way to make the export function add the images > referenced into the export zip file *and* change the image links so > that when the whole lot is dumped into a directory it will work and > serve images locally ? > > Thanks > > Huw > > _______________________________________________ > Instiki-users mailing list > Instiki-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/instiki-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instiki-users/attachments/20050825/f8a33a0d/attachment-0001.htm From alex at verk.info Thu Aug 25 22:29:20 2005 From: alex at verk.info (Alexey Verkhovsky) Date: Thu Aug 25 22:22:54 2005 Subject: [Instiki] Instiki as a website, using mod_proxy In-Reply-To: <390fc99d05082515112930c132@mail.gmail.com> References: <390fc99d05082515112930c132@mail.gmail.com> Message-ID: <430E7E80.7010409@verk.info> Adam Roth wrote: > It immediately redirects to: > http://www.my-site.com/wiki/show/HomePage > > and that's kind of ugly. That style URL is fine for any other page, > but is there a way to make the "homepage" have a cleaner URL? In fact, no, because it will break links to other pages. I'll probably refactor the internal link generation to use Rails' Routes. Once that is done you will be able to tweak the URL shema by editing config/routes.rb Alex From jc.michel at symetrie.com Fri Aug 26 08:12:12 2005 From: jc.michel at symetrie.com (Jean-Christophe Michel) Date: Fri Aug 26 08:05:40 2005 Subject: [Instiki] best way to implement a menu Message-ID: <430F071C.3010803@symetrie.com> Hi, I'm wondering on the best way to add a left menu to instiki pages. Is it to use [[!include Menu]] ? but it's hard to have menu entries be developped as sub menus when selected. Or should I build my own ror app with a real menu on the left, and use render_component in layout to make instiki page appear ? -- Jean-Christophe Michel From assaph at gmail.com Fri Aug 26 08:22:33 2005 From: assaph at gmail.com (Assaph Mehr) Date: Fri Aug 26 08:15:57 2005 Subject: [Instiki] best way to implement a menu In-Reply-To: <430F071C.3010803@symetrie.com> References: <430F071C.3010803@symetrie.com> Message-ID: <3ff47be905082605226ee6b875@mail.gmail.com> Hi Jean, > I'm wondering on the best way to add a left menu to instiki pages. > Is it to use [[!include Menu]] ? but it's hard to have menu entries be > developped as sub menus when selected. The !include directive will include the content of the referenced page as part of the page contents (i.e. it will not be on the left). Not sure I understand what you're after with sub-menus: so you mean context sensitive? > Or should I build my own ror app with a real menu on the left, and use > render_component in layout to make instiki page appear ? Take a look at Pimki for an implementation of a side menu in Instiki. Cheers, Assaph From jc.michel at symetrie.com Fri Aug 26 08:39:23 2005 From: jc.michel at symetrie.com (Jean-Christophe Michel) Date: Fri Aug 26 08:32:52 2005 Subject: [Instiki] best way to implement a menu In-Reply-To: <3ff47be905082605226ee6b875@mail.gmail.com> References: <430F071C.3010803@symetrie.com> <3ff47be905082605226ee6b875@mail.gmail.com> Message-ID: <430F0D7B.3020506@symetrie.com> Assaph Mehr wrote: > The !include directive will include the content of the referenced page > as part of the page contents (i.e. it will not be on the left). Yes, but with css it should be possible to change this... > Not sure I understand what you're after with sub-menus: so you mean > context sensitive? Item1 Item2 Item3Selected SUbItem SubItem Item4 Ok 'ill look on pimki. -- Jean-Christophe Michel From assaph at gmail.com Fri Aug 26 09:16:56 2005 From: assaph at gmail.com (Assaph Mehr) Date: Fri Aug 26 09:10:21 2005 Subject: [Instiki] best way to implement a menu In-Reply-To: <430F0D7B.3020506@symetrie.com> References: <430F071C.3010803@symetrie.com> <3ff47be905082605226ee6b875@mail.gmail.com> <430F0D7B.3020506@symetrie.com> Message-ID: <3ff47be90508260616204d1cc0@mail.gmail.com> > Yes, but with css it should be possible to change this... Not sure. I am not a CSS expert, but considering the div tree will be:

actual page stuff included "menu" page more page stuff
I don't think there is a way to move the "menu" section outside of the inner div, without editing the template. > > Not sure I understand what you're after with sub-menus: so you mean > > context sensitive? > > Item1 > Item2 > Item3Selected > SUbItem > SubItem > Item4 If I understand you right, the "Item3Selected" means that you want to expand only the relevant part of the tree. Which means context sensitive menu: you want to calculate the menu based on the page being displayed. How would you treat when someone clicks on a link from the current page to another page? This means: * All pages must be related to some part of the menu * You can't statically !include a menu page, you need to calculate menu content per page load HTH, Assaph From jc.michel at symetrie.com Sat Aug 27 11:41:32 2005 From: jc.michel at symetrie.com (Jean-Christophe Michel) Date: Sat Aug 27 11:34:59 2005 Subject: [Instiki] best way to implement a menu In-Reply-To: <3ff47be90508260616204d1cc0@mail.gmail.com> References: <430F071C.3010803@symetrie.com> <3ff47be905082605226ee6b875@mail.gmail.com> <430F0D7B.3020506@symetrie.com> <3ff47be90508260616204d1cc0@mail.gmail.com> Message-ID: <431089AC.9090105@symetrie.com> Assaph Mehr wrote: >>Yes, but with css it should be possible to change this... > > I don't think there is a way to move the "menu" section outside of the > inner div, without editing the template. If I enable html in markup, I can add