IRC log of #dokuwiki @ irc.freenode.net For Monday, 17 January 2011 skip to navigation
message at 00:02:25 Michitux hm, k, well, pagemove shall be replaced by pagemoveng, but chimeric has left floss development, so we first of all need someone who continues it ;) message at 00:03:03 Michitux but pagemoveng is quite complex ;) message at 00:03:42 Michitux userspagecreate, hm, I don't like the code, but it shouldn't be that difficult to maintain message at 00:04:28 [bug] Michitux: is https://github.com/desolat/DokuWiki-Pagemove-Plugin this pagemoveng ? message at 00:05:04 [bug] https://github.com/chimeric/dokuwiki-plugin-pagemoveng found it message at 00:07:50 Michitux [bug]: there is also a forum thread and a mailinglist discussion that explain how the plugin shall work message at 00:10:28 Michitux [bug]: the main part is the reverse renderer in renderer.php, from what I've understood from the forum/mailinglist that part should be finished (or even work?), the missing parts are more the datastructure for keeping track of the moved pages etc., there are many fixmes in the code 00:10:34 quit geckon_ (~email@example.com) has quit (Quit: leaving) 00:11:05 join geckon_ (~firstname.lastname@example.org) entered the channel message at 00:11:08 geckon_ sorry message at 00:11:14 Michitux np message at 00:12:10 Michitux [bug]: btw. there is also https://github.com/danny0838/editx message at 00:13:31 Michitux (which doesn't try to fix any links, it really just renames pages) message at 00:14:39 [bug] fixing links already worked in the "old" pagemove plugin message at 00:14:58 Michitux the problem is that the old one works with regular expressions message at 00:15:04 Michitux which doesn't really work message at 00:15:51 [bug] I think moving pages/ns should be in the core features of DW message at 00:16:07 [bug] it's a regular question from users message at 00:16:21 [bug] typo, wrong page location, wiki reorg message at 00:17:12 Michitux yes, iirc something like that was planned with pagemoveng message at 00:17:48 geckon_ I agree its one of basic features message at 00:17:56 Michitux but I'm also still wondering how that reverse renderer works message at 00:18:02 Michitux or if it does work at all message at 00:18:13 Michitux because there are quite some plugins that mess around with instructions message at 00:18:20 [bug] from what I see it turns the rendered page to original wiki syntax message at 00:18:24 [bug] but what for ? message at 00:18:35 Michitux because then you can fix the links in the instructions message at 00:19:12 Michitux which means you can really distinguish between links or the same syntax in code blocks etc. message at 00:19:26 [bug] ok message at 00:20:17 Michitux but I think there should also be a feature that syntax plugins that refer to other pages can have their syntax fixed... message at 00:20:27 Michitux e.g. for the include plugin that makes sense message at 00:22:41 Michitux when I have finished some other dokuwiki-related things and there is still nobody who has continued the pagemoveng plugin I'll see if I can continue/finish it message at 00:22:57 [bug] if only we had stored namespace and page names in meta and only linked numeric ids :-) message at 00:23:29 [bug] oops that's a database :) message at 00:23:57 Michitux yes, but even mediawiki uses pagenames in links and not numeric ids ;) message at 00:24:13 [bug] phear message at 00:24:49 [bug] we'll come to page/ns uuid one day :-) message at 00:26:18 [bug] if you overtake pagemoveng, I'd gladly help if I can be useful message at 00:26:21 Michitux and then one global database of uuids and you can remove the interwiki link feature because you can simply link to remote pages as if they were local message at 00:27:44 [bug] time for suspend message at 00:28:02 Michitux [bug]: thx for the offer, I'll tell you when I'll start with it message at 00:28:08 [bug] good night message at 00:28:13 Michitux gn8 [bug] 00:44:38 quit geckon_ (~email@example.com) has quit (Remote host closed the connection) 01:06:52 quit djSupport (~firstname.lastname@example.org) has quit (Read error: Connection reset by peer) 01:20:23 join geckon_ (~email@example.com) entered the channel 01:49:47 quit geckon_ (~firstname.lastname@example.org) has quit (Quit: leaving) 02:43:25 quit LongBeach (~mike@AFontenayssB-152-1-61-106.w82-121.abo.wanadoo.fr) has quit () 02:52:52 quit Chris--S (~Chris--S@87-194-159-222.bethere.co.uk) has quit (Quit: Chris--S) 06:38:15 join gammaproduction (~email@example.com) entered the channel 06:44:09 join zalex_ua3290 (~Miranda@126.96.36.199) entered the channel 06:45:54 quit zalex_ua (~Miranda@188.8.131.52) has quit (Ping timeout: 265 seconds) 07:30:29 join LongBeach (~mike@AFontenayssB-152-1-61-106.w82-121.abo.wanadoo.fr) entered the channel 07:31:22 quit gammaproduction (~firstname.lastname@example.org) has quit (Quit: Leaving.) 08:36:36 join bipo (~email@example.com) entered the channel 08:54:07 join rawler (~firstname.lastname@example.org) entered the channel 08:57:23 join splitbrain (~Andi@91-64-96-74-dynip.superkabel.de) entered the channel 08:57:23 quit splitbrain (~Andi@91-64-96-74-dynip.superkabel.de) has quit (Changing host) 08:57:23 join splitbrain (~Andi@pdpc/supporter/active/splitbrain) entered the channel 09:06:47 join jeybop (~email@example.com) entered the channel 09:11:10 join gammaproduction (~Adium@fw.inetsoftware.de) entered the channel 09:12:12 quit rawler (~firstname.lastname@example.org) has quit (Ping timeout: 240 seconds) 09:24:29 join rawler (~email@example.com) entered the channel 09:29:25 join einhirn (~Miranda@bsod.rz.tu-clausthal.de) entered the channel 09:43:11 join lolmaus (~firstname.lastname@example.org) entered the channel 10:10:46 join Chris--S (~Chris--S@87-194-159-222.bethere.co.uk) entered the channel 10:13:37 join NEOhidra (~Miranda@184.108.40.206) entered the channel 10:51:55 quit bipo (~email@example.com) has quit (Ping timeout: 260 seconds) 10:54:38 join denisr (~firstname.lastname@example.org) entered the channel 11:32:54 join bipo (~email@example.com) entered the channel 11:39:41 quit Cain (~Geek@unaffiliated/cain) has quit (Ping timeout: 260 seconds) message at 11:58:08 markuman hm, the bookcreator don't fetch the latex images :-/ 12:13:05 join adrianlang (~adrian@wikimedia/codeispoetry) entered the channel 12:16:12 join Cain (~Geek@unaffiliated/cain) entered the channel 12:37:33 quit zalex_ua3290 (~Miranda@220.127.116.11) has quit (Quit: quit) message at 12:43:56 lupo49 morning message at 14:05:32 adrianlang hi message at 14:28:30 splitbrain ho 14:30:26 quit denisr (~firstname.lastname@example.org) has quit (Quit: Parti) 14:58:47 join markinfo (~email@example.com) entered the channel 15:11:47 join dommel1 (~dominik@p5DDB1EBC.dip.t-dialin.net) entered the channel 15:20:04 quit adrianlang (~adrian@wikimedia/codeispoetry) has quit (Remote host closed the connection) 15:22:41 join adrianlang (~adrian@wikimedia/codeispoetry) entered the channel 15:28:22 quit markinfo (~firstname.lastname@example.org) has quit (Remote host closed the connection) 16:00:55 join RyanChile (~email@example.com) entered the channel 16:21:44 join Cain` (~Geek@unaffiliated/cain) entered the channel 16:21:45 quit Cain (~Geek@unaffiliated/cain) has quit (Ping timeout: 240 seconds) 16:22:19 nick Cain` is now known as Cain 16:47:26 quit splitbrain (~Andi@pdpc/supporter/active/splitbrain) has quit (Remote host closed the connection) 16:58:34 join jayeola (~firstname.lastname@example.org) entered the channel message at 17:00:09 Tanguy Hello. message at 17:00:15 RyanChile Â¡hi! message at 17:00:25 RyanChile you're the guy with the Debian developments rights? message at 17:00:31 Tanguy Do you know how the webring-style top bar is implemented on < http://www.dokuwiki.org/dokuwiki>? message at 17:00:45 RyanChile there is a thread about it at the forums, lemme check... message at 17:04:32 RyanChile Tanguy: still can't find it, but maybe you can find it first at the "general discussion" section? message at 17:05:27 Tanguy < http://forum.dokuwiki.org/thread/6089;?unb855sess=3a880ea742ff99e55f710c0281cebd49>. message at 17:06:05 Tanguy Thanks. message at 17:06:17 RyanChile sorry couldn't have it earlier message at 17:17:21 Michitux hi dommel1 message at 17:17:39 Michitux dommel1: have you seen the mail regarding the docsearch plugin? message at 17:17:54 Michitux dommel1: the docsearch plugin seems to have the same problem as our xml-rpc interface had message at 17:19:45 jayeola with regards to upgrading an existing wiki using "dokuwiki-downloader.php", i get complaints that conf/local*foo already exists. am i to "touch" the conf/local files or rm them? message at 17:20:58 Michitux jayeola: for upgrading existing installations there is an upgrader plugin, I think you can't use the downloader for upgrading message at 17:21:54 Michitux see plugin:upgrade message at 17:22:16 jayeola ty 17:25:10 join splitbrain (~andi@2002:5cc3:5e36:0:20f:eaff:fe3e:8d10) entered the channel 17:25:11 quit splitbrain (~andi@2002:5cc3:5e36:0:20f:eaff:fe3e:8d10) has quit (Changing host) 17:25:11 join splitbrain (~andi@pdpc/supporter/active/splitbrain) entered the channel 17:33:48 quit rawler (~email@example.com) has quit (Remote host closed the connection) message at 17:36:54 jayeola "The plugin manager was unable to decompress the downloaded file. This maybe as a result of a bad download, in which case you should try again; or the compression format may be unknown, in which case you will need to download and install the plugin manually." ?? message at 17:39:10 Michitux hm, perhaps there was an error with the certificate? message at 17:39:28 Michitux splitbrain: or do you have an idea? jayeola is trying to use your upgrade plugin message at 17:39:48 jayeola dunno. no report of that that i can see in /var/log/blah/foo.log message at 17:39:59 splitbrain hmm message at 17:40:15 jayeola i have full access to box fwiw message at 17:40:19 splitbrain the error says it's a decompression error, so the download seems to have succeeded message at 17:41:06 Michitux splitbrain: do you check the md5 sum of the file? message at 17:41:10 splitbrain jayeola, you're getting the error when installing the plugin? message at 17:41:15 splitbrain Michitux, no message at 17:41:27 Michitux or at least the size? message at 17:41:45 Michitux hm, okay, probably a bit difficult message at 17:41:55 jayeola i put the urk into the box for the plugin manager, hit return and get the err as shown above message at 17:42:07 Michitux ah, okay, so you are still installing the plugin message at 17:42:11 splitbrain jayeola, try to use http://github.com/splitbrain/dokuwiki-plugin-upgrade/tarball/master instead message at 17:42:33 jayeola jayeola runs off and hammers keybord 17:42:38 quit lolmaus (~firstname.lastname@example.org) has quit () message at 17:43:09 splitbrain jayeola, uhm now that we're speaking of it. which URL did you try? message at 17:44:05 jayeola http://www.dokuwiki.org/plugin:upgrade message at 17:44:16 splitbrain that's the wrong url message at 17:44:22 splitbrain you need to paste the download url message at 17:44:22 jayeola hrm? message at 17:44:32 splitbrain not the url of the page message at 17:44:40 RyanChile there is a download url message at 17:44:47 RyanChile with a beautiful icon message at 17:45:01 Michitux splitbrain: btw. what about creating redirect download urls? something like http://www.dokuwiki.org/plugin:upgrade?do=download ? message at 17:45:10 Michitux splitbrain: that then redirects to the actual download url? message at 17:45:28 Michitux splitbrain: bug okay, we won't need that once we have the new plugin manager message at 17:45:57 Michitux -bug +but message at 17:46:19 jayeola uh, mind if i ask how one would know this? message at 17:47:57 Michitux these icons are so beautiful, we just assumed everyone would first of all move over them and discover that the first one hides the download url ;) message at 17:48:00 splitbrain jayeola, uhm by reading? message at 17:48:15 Michitux splitbrain: "the url given above" is not really clear imho message at 17:48:21 jayeola *ahem* i knew that! /* lies */ message at 17:48:24 splitbrain hmm message at 17:48:35 RyanChile the icon texts should not be hidden message at 17:48:36 splitbrain Michitux, tell the plugin team ;-) message at 17:48:54 RyanChile RyanChile whistles (part of the Plugin Team) message at 17:49:31 Michitux and I think the icon text shouldn't be hidden message at 17:49:39 Michitux as RyanChile says message at 17:49:49 splitbrain Michitux, tell hakan ;-) message at 17:50:01 splitbrain which reminds me I wanted to test his repository plugin message at 17:50:11 splitbrain guess I'll do that now message at 17:50:14 RyanChile I'll lift the proposal to the new standard for plugin pages, anyway message at 17:50:54 jayeola check this out. if i mouse over the "download he plugin" icon i get a url for http://github.com/splitbrain/dokuwiki-plugin-upgrade/zipball/master. is that cool? 17:51:01 quit jeybop (~email@example.com) has quit (Ping timeout: 276 seconds) message at 17:51:23 splitbrain ^_^ message at 17:51:29 Michitux hm, and I wanted to suggest that the plugin pages template should be writable by plugin team members, but then noticed that feature is still missing because nobody has sent an updated patch message at 17:52:04 Michitux and probably it still wouldn't work message at 17:52:27 Michitux (because then all other template would need to be protected...) message at 17:52:35 Michitux s/template/template pages/ message at 17:52:49 splitbrain I could create symlink to somewhere message at 17:53:02 Michitux hm, does that work? message at 17:53:07 splitbrain I think so message at 17:53:15 Michitux I mean with history etc. message at 17:53:25 Michitux but if it works, why not message at 17:53:50 Michitux (at least if you trust the plugin team members ;) ) message at 17:53:55 splitbrain next question: how do I identify the plugin team? message at 17:54:21 Michitux add their user accounts to a group? message at 17:54:29 splitbrain I'd need to create new group yeah message at 17:54:36 splitbrain will do later message at 17:54:45 splitbrain first. trying that repo plugin message at 17:54:49 Michitux or add acls for each member if that's easier message at 17:56:25 Michitux splitbrain: btw. what do you think about cleaning ids in auth_aclcheck? message at 17:56:45 Michitux splitbrain: with some extra protection for ":*" and ":" at the end of the id? message at 17:56:58 dommel1 Michitux: damn long posts :> message at 17:57:02 jayeola so which url is known to be working for an update plugin. http://www.dokuwiki.org/plugin:upgrade?do=download || the one from github? message at 17:57:13 Michitux jayeola: the one from github message at 17:57:18 jayeola ty message at 17:57:19 RyanChile the other is a proposal message at 17:57:20 Michitux jayeola: that ?do=download was just a suggestion message at 17:57:34 jayeola ah, ty again message at 17:58:36 jayeola http://github.com/splitbrain/dokuwiki-plugin-upgrade/zipball/master ?? message at 17:59:25 Michitux dommel1: sorry, I've now sticked a note on my screen that reminds me that I should write shorter mails message at 17:59:29 Michitux jayeola: yes message at 17:59:35 dommel1 :D message at 18:00:26 Michitux dommel1: and what do you think about the issue itself? 18:01:24 quit duke (~firstname.lastname@example.org) has quit (Ping timeout: 272 seconds) 18:01:35 join duke (~email@example.com) entered the channel message at 18:03:14 dommel1 the plugin doesn't make acl checks message at 18:04:43 Michitux dommel1: yes, but the ids seem to be wrong so the builtin acl check fails message at 18:05:31 dommel1 if i understand the mail right it only breaks because of an leading : in the id right? message at 18:06:01 Michitux dommel1: and probably you should add an acl check for getNS($ID).':*' because for media files only namespace acls should be used message at 18:06:04 Michitux yes, exactly message at 18:06:36 Michitux the acl check first checks for exact matches and then removes the parts till the next ":" one after another message at 18:06:49 Michitux so in the end ":" and then "" remain and the acls for the root namespace are using message at 18:07:02 Michitux -using + used message at 18:07:30 RyanChile Michitux: s/from/to/ is cooler ;) message at 18:08:03 splitbrain Michitux, did you try hakan's repo plugin? message at 18:08:07 Michitux splitbrain: yes message at 18:08:19 Michitux splitbrain: and btw. has has already expanded the download link by default :) message at 18:08:33 splitbrain I'm getting errors about creating the needed tables message at 18:08:45 Michitux which db backend are you using? message at 18:09:02 Michitux or error? it outputs an error message on the first run message at 18:09:06 Michitux and creates the tables message at 18:09:11 Michitux then that error should disappear message at 18:09:17 Michitux or what does that error say? message at 18:09:27 Michitux it should probably be a notice or so rather than an error message at 18:09:30 splitbrain I'm using mysql message at 18:09:39 Michitux I'm using sqlite3 message at 18:09:39 splitbrain with an existing db message at 18:09:51 Michitux what does that error message say? message at 18:09:59 Michitux and does it appear again? message at 18:10:08 splitbrain Uncaught exception 'PDOException' with message 'SQLSTATE[3D000]: Invalid catalog name: 1046 No database selected' message at 18:10:13 Michitux oh message at 18:10:15 splitbrain yeah it's reproducable message at 18:10:29 Michitux hm, okay, then perhaps hakan hasn't tested with mysql? message at 18:10:50 Michitux but shouldn't you specify the database in the pdo connection string? message at 18:12:04 splitbrain yes. that's what I do message at 18:13:26 splitbrain ah okay message at 18:13:34 splitbrain got the dsn wrong message at 18:15:37 splitbrain hmm now I get a bunch of other warnings. looks like hakan didn't test this with mysql message at 18:16:19 Michitux I think he tested with sqlite2 and then sqlite3 after I told him it doesn't work with sqlite3 18:25:19 quit duke (~firstname.lastname@example.org) has quit (Ping timeout: 276 seconds) 18:25:23 join duke (~email@example.com) entered the channel message at 18:28:18 jayeola i downloaded the upgrade plugin from git hub. uncompressed the file "master". now i get this err... "SYSTEM WARNING: require_once(/var/www/dokuwikiJJM/lib/plugins/upgrade/VerboseTarLib.class.php) [function.require-once]: failed to open stream: No such file or directory" message at 18:28:40 jayeola uncompressed into the dir lib/plugins# message at 18:28:51 splitbrain did you install this manually? message at 18:28:59 splitbrain what dokuwiki version are you running? message at 18:30:11 jayeola DokuWiki Release 2009-02-14b message at 18:30:23 splitbrain ooold message at 18:30:33 jayeola i know that this is OLD but the site is public facing. message at 18:30:48 splitbrain then it's even worse message at 18:31:07 jayeola so what is best method for upgrade? manual, frpm repo or trash the server :-( message at 18:31:18 splitbrain the upgrade plugin was only tested with the last stable message at 18:31:36 splitbrain do a manual upgrade as described on install:upgrade 18:31:58 quit duke (~firstname.lastname@example.org) has quit (Ping timeout: 276 seconds) message at 18:32:00 Michitux but why does that error message happen? and where does that "JJM" come from? message at 18:32:30 Michitux jayeola: and is the folder in in lib/plugins really named upgrade message at 18:32:37 jayeola JJM is the "test dir " that I am using for th eupgrade message at 18:32:38 Michitux ah, okay, the folder name could really be the issue message at 18:32:49 Michitux I mean the folder name of the upgrade plugin 18:32:55 join duke (~email@example.com) entered the channel message at 18:33:02 Michitux can you please check that the folder you extracted is named "upgrade"? message at 18:33:18 Michitux and otherwise rename it? message at 18:33:23 jayeola when the file "master" is uncompressed it becomes "splitbrain-dokuwiki-plugin-upgrade-a1163bb". i think to mv to master? message at 18:33:39 Michitux no, move it to upgrade message at 18:33:43 jayeola sorry . mv splitbrain-dokuwiki-plugin-upgrade-a1163bb upgrade message at 18:33:51 Michitux yes, exactly message at 18:33:55 Michitux then it might work message at 18:34:03 splitbrain or might not message at 18:34:08 splitbrain who knows. message at 18:34:10 splitbrain not me message at 18:34:24 splitbrain but it's worth a try message at 18:34:24 Michitux yes, but when jayeola tries it we will know it :) message at 18:34:46 lupo49 .o0(plugin.info.txt message at 18:35:32 Michitux lupo49: yes, but when you install it manually... message at 18:35:40 lupo49 ahjo message at 18:36:10 lupo49 any news about this http->https github issue? message at 18:37:08 splitbrain lupo49, yeah. github doesn't care and won't fix it message at 18:37:27 lupo49 :/ message at 18:37:30 Michitux http://support.github.com/discussions/site/2232-allow-downloads-via-http-non-ssl message at 18:37:42 lupo49 they behave like some of the big companies message at 18:38:02 Michitux github doesn't care that their downloads don't work with all released wget versions. yeah. message at 18:38:05 splitbrain you guys are welcome to yell at them (maybe they feel the pain ;-)) message at 18:38:29 jayeola ok, got a couple of "continue" buttons. now i have another err... message at 18:38:31 jayeola The website encountered an error while retrieving http://foo.com/dokuwikiJJM/doku.php?do=admin&page=upgrade§ok=552be0437d89acd6e462075020acac48&step%5Bcancel%5D=Continue. It may be down for maintenance or configured incorrectly. message at 18:38:49 jayeola is this a permissions err? message at 18:39:17 jayeola jayeola has plenty of redbull and ready to hack this sucker to death message at 18:40:01 Michitux splitbrain: can we tell them we will move to another hoster with all our plugins and no longer recommend using github when they won't fix it? message at 18:40:36 splitbrain Michitux, well it wouldn't be true, would it? message at 18:40:48 splitbrain and I don't think they really care message at 18:41:59 Michitux don't know if they'll care. it would be interesting on how many php installations the downloads are broken. message at 18:42:46 dommel1 Michitux: i've pushed a patch for the plugin - should work fine now message at 18:42:56 Michitux splitbrain: a more pragmatic suggestion: could we add a proxy for github downloads on dokuwiki.org? message at 18:43:32 Michitux splitbrain: I mean something like ?do=download urls for plugin pages that redirects for normal urls and acts as proxy for github downloads? message at 18:44:15 splitbrain yeah. in the longterm we could do that. still sucks 18:44:51 quit markuman (~firstname.lastname@example.orgWays.net) has quit (Read error: Operation timed out) 18:46:59 quit einhirn (~Miranda@bsod.rz.tu-clausthal.de) has quit (Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org) 18:48:58 join markuman (~email@example.comWays.net) entered the channel message at 18:54:27 lupo49 does someone thought about the correctness of the different translation in the wiki? message at 18:54:48 lupo49 is there a reliable DW contributor for every language? message at 18:56:03 RyanChile what do you mean, lupo49? message at 18:57:35 lupo49 like how we make sure that theres only appropriate content on the pages? message at 18:57:53 RyanChile mmm, nice question message at 18:58:03 RyanChile Isn't there a documentation / internationalization Team? message at 18:58:28 lupo49 i guess thats not a question for the :de and :en namespaces message at 18:58:41 RyanChile even then message at 18:58:52 RyanChile it would benefit to have a designated responsible for every language message at 18:58:58 lupo49 yup message at 18:59:03 RyanChile but that's besides the point I guess 19:00:38 quit gammaproduction (~Adium@fw.inetsoftware.de) has quit (Quit: Leaving.) message at 19:02:14 lupo49 hm message at 19:03:12 jayeola is anyone willing o test the upgrade plugin? i get three "continue" steps. next step (of ??) says admin&page=upgrade§ok=8b6690cd8f5969c4b4f9dffd55f7977f&step[cancel]=Continue. It may be down for maintenance or configured incorrectly message at 19:03:34 splitbrain jayeola, check your php error log message at 19:03:57 splitbrain and trust me the upgrade plugin *is* tested, but with never versions only message at 19:04:05 jayeola hrm, k message at 19:09:02 Michitux dommel1: I hope you like the length of my reply ;) message at 19:10:27 dommel1 :) 19:12:46 quit jayeola (~firstname.lastname@example.org) has quit (Remote host closed the connection) message at 19:21:28 lupo49 https://github.com/dokufreaks/plugin-task/blob/master/helper.php#L165 message at 19:21:56 lupo49 why does if theres a *.task file and if not, then it creates one message at 19:22:02 lupo49 aeh message at 19:22:03 lupo49 +check message at 19:22:25 lupo49 normally all *.task files are create after press "save" on a page? message at 19:23:38 Michitux lupo49: I think in former versions of the task plugin the task data was stored in metadata message at 19:24:17 lupo49 do you know why he switched back to plain files? message at 19:27:17 Michitux no idea message at 19:27:36 Michitux bug I guess it is easier to detect and faster to read because these files are smaller message at 19:27:59 Michitux looking if there is a .task file is faster than reading the .meta file and look for some property 19:29:50 part dommel1 (~dominik@p5DDB1EBC.dip.t-dialin.net) has left the channel () message at 19:32:21 lupo49 mh message at 19:32:23 lupo49 :/ message at 19:35:21 Michitux lupo49: that's what we will have the metadata index for message at 19:37:38 lupo49 okay message at 19:39:14 lupo49 any new infos regarding $ACT == 'save'? message at 19:50:34 Michitux no, my suggestion is using metadata rendering message at 19:51:36 lupo49 how? message at 19:52:53 lupo49 ah i found this in my notes https://github.com/splitbrain/dokuwiki-plugin-data/blob/master/syntax/entry.php#L110 message at 19:54:09 lupo49 is there anything about $format == metadata in :devel? message at 19:54:18 Michitux no, that is unchanged message at 19:54:24 Michitux ah, wait message at 19:54:25 Michitux sry message at 19:54:43 Michitux hm, don't know, perhaps in the renderer or syntax plugin documentation message at 19:59:56 lupo49 if i save a page the render() is called once with $format == "xthml" and another with == "metadata"? message at 20:01:13 lupo49 mh message at 20:02:43 lupo49 so the write/read function calls should be moved to render() instead of handle(= 20:07:43 quit RyanChile (~email@example.com) has quit (Ping timeout: 240 seconds) message at 20:08:30 Michitux lupo49: yes, because render() is only called for the current (saved) page 20:08:43 join gammaproduction (~firstname.lastname@example.org) entered the channel message at 20:08:55 Michitux Michitux is currently looking at http://codaset.com/ - and playing around at http://codaset.com/michitux/dokuwiki-plugin-osm message at 20:09:05 Michitux I like at least their ticket system 20:09:26 join RyanChile (~email@example.com) entered the channel 20:09:43 quit RyanChile (~firstname.lastname@example.org) has quit (Client Quit) message at 20:10:51 Michitux but hm, it doesn't offer a rss fed? message at 20:10:53 Michitux +e message at 20:11:51 lupo49 http://codaset.com/michitux/dokuwiki-plugin-osm.atom message at 20:13:23 Michitux hm, yes, but it is just all activity message at 20:13:47 lupo49 yay message at 20:13:53 lupo49 and you get one private repo message at 20:14:09 Michitux but okay, one could use yahoo pipes in order to filter the feed message at 20:14:39 Michitux the UI isn't as clear as the one of github message at 20:14:44 Michitux but apart from that I like it message at 20:15:04 Michitux and btw.: it allows anonymous users to create tickets (you can enable or disable that) message at 20:15:16 lupo49 yep message at 20:15:53 lupo49 if github has such function, then the user wont spam the discussion sections with bug reports message at 20:16:03 Michitux perhaps yes message at 20:16:14 lupo49 at least a few of them ;> message at 20:16:46 Michitux hm, okay, but the automatically generated zip/tar files don't work for me :( message at 20:17:06 Michitux (401 Unauthorized) message at 20:17:29 Michitux you can't disable the blog and wiki tabs, that not really nice message at 20:18:53 Michitux and I haven't seen that you can link commits in tickets message at 20:19:13 Michitux but you can change the state of tasks to any state you want with commit messages :) message at 20:21:36 lupo49 http://codaset.com/codaset/codaset/tickets/812 message at 20:22:13 lupo49 seems he fixed it manually message at 20:23:05 Michitux but the download links of that project don't work for me, too message at 20:25:43 lupo49 jup message at 20:29:12 Michitux I have the feeling it is a bit too beta-like for my taste message at 20:31:50 Michitux and the position of the icons of some/all buttons is too low here 20:34:49 quit NEOhidra (~Miranda@18.104.22.168) has quit (Quit: Miranda IM! Smaller, Faster, Easier. Get it here: http://miranda-im.org) message at 20:38:57 lupo49 narf message at 20:39:05 lupo49 how do you debug your plugins? 20:39:53 join markinfo (~email@example.com) entered the channel message at 20:40:19 Michitux debug statements (dbg, msg, dbg_backtrace, ...) and now also xdebug with vim integration :) 20:41:07 join dommel1 (~dominik@p5DDB398A.dip.t-dialin.net) entered the channel message at 20:41:45 lupo49 mh message at 20:46:11 lupo49 we should find some developers for discussion and task message at 20:46:18 lupo49 there was no response on the ML? message at 20:48:15 Michitux at least I haven't seen such mails 20:49:01 quit gammaproduction (~firstname.lastname@example.org) has quit (Quit: Leaving.) 20:49:26 join gammaproduction (~email@example.com) entered the channel message at 20:50:03 Michitux lupo49: so I hoped you would be the new maintainer for these plugins ;) message at 20:50:17 lupo49 i hoped also message at 20:51:10 Michitux and where is the problem then? message at 20:51:16 lupo49 too complex message at 20:51:34 lupo49 cant place myself in the mind position of chimeric message at 20:51:48 Michitux try simplifying them (without loosing functionality ;) ) message at 20:52:00 lupo49 and i dont even know what the functions are doing message at 20:52:33 lupo49 (not the php ones, but the DW ones) message at 20:52:57 Michitux then read the documentation or the sourcecode ;) 20:53:11 join RyanChile (~firstname.lastname@example.org) entered the channel message at 20:53:15 Michitux and when there isn't enough documentation ask someone to write that documentation message at 20:54:07 RyanChile documentation? what did I miss? message at 20:54:41 Michitux lupo49 says he doesn't know what the dokuwiki functions are doing message at 20:55:02 Michitux btw. ohloh also complains we have too few comments, see https://www.ohloh.net/p/dokuwiki/factoids/4184936 message at 20:55:37 lupo49 as i said yesterday message at 20:55:50 RyanChile mmm message at 20:59:42 Michitux lupo49: perhaps you can create a list of functions where you think we have too few comments and put that list as a bugreport in the bugtracker? message at 21:00:04 Michitux lupo49: or in the wiki? message at 21:00:13 lupo49 my comments were regarding the task plugin message at 21:00:15 RyanChile not a bad idea, I'd attend that list if I could hep with message at 21:00:28 RyanChile I think my english got borked somewhat back there message at 21:01:05 lupo49 i guess all the function in the core are all on a good comment level message at 21:01:28 Michitux really? I don't think so. message at 21:01:42 lupo49 (i only watched a few) message at 21:02:01 lupo49 so its just a random inspection :> message at 21:02:08 Michitux it happens quite often that I find functions where no documentation of parameters and return values exist message at 21:02:26 lupo49 and you are not the only one message at 21:02:49 lupo49 if ten people need the function, then everyone has to spend time for analyzing it message at 21:02:55 lupo49 time wasting.. message at 21:03:05 RyanChile mmmm 21:04:34 quit bipo (~email@example.com) has quit (Remote host closed the connection) message at 21:05:36 lupo49 (thats not critism on developers) message at 21:07:42 Michitux lupo49: if you think it helps you I could offer to walk through the code together with you and to try understanding what the code does and the intention of chimeric was. but I would prefer doing that either when we meet in person or with some voip solution so I don't need to write and read code at the same time. message at 21:08:12 Michitux lupo49: and I've already understood the discussion plugin once two years ago so I should be able to understand it again. message at 21:08:27 Michitux (I needed to adapt it for a customer project) message at 21:08:39 lupo49 okay sounds good :) message at 21:09:59 Michitux my conclusion back then was that the discussion plugin could need a rewrite but I haven't the time message at 21:10:19 Michitux I started a bit of the rewrite but then noticed that it will be a bit more complex than I thought 21:10:21 quit gammaproduction (~firstname.lastname@example.org) has quit (Read error: No route to host) 21:10:31 join gammaproduction (~email@example.com) entered the channel message at 21:10:33 Michitux perhaps now I have better ideas how the rewrite could be done message at 21:11:41 lupo49 its mostly the time aspect :> message at 21:12:37 lupo49 you are in karlsruhe, or? message at 21:13:28 Michitux yes message at 21:14:18 Michitux I thought more about a dokuwiki/wiki meeting though, but if you want to visit me I've nothing against it, too ;) message at 21:14:34 Michitux hm, these discussion changes back then were still in darcs .oO message at 21:14:57 Michitux and hm, I've done more than I thought... message at 21:15:07 Michitux 804 changed lines... message at 21:15:11 lupo49 :) message at 21:15:53 Michitux (mostly I've implemented comment posting in ajax (and even more?)) message at 21:16:07 Michitux but in order to do that cleanly I would have needed the rewrite message at 21:17:57 lupo49 do you have an own small company? (regarding the customer project) message at 21:19:11 Michitux yes, I'm self-employed (apart from being student) message at 21:20:27 lupo49 okay :) 21:44:20 quit markinfo (~firstname.lastname@example.org) has quit (Remote host closed the connection) message at 21:47:23 Michitux hm, looks like I've successfully merged my old changes on top of the newest master version of the discussion plugin message at 21:47:48 Michitux but I don't know if it works at all message at 21:50:51 Michitux and my rewrite probably needs to be updated manually because the functions I've copied no longer exist message at 21:51:33 Michitux my idea was to add a helper part that allows to simplify the action part message at 21:53:55 Michitux lupo49: http://dokuwiki.pastebin.com/aX96TyEB if you are interested message at 21:55:38 Michitux lupo49: it also adds some quite nice features like editing and deleting ones own comments unless there are replies message at 21:55:58 lupo49 thats quite nice message at 21:56:01 Michitux lupo49: and a recent comments syntax component that still needs to be localized message at 21:56:26 lupo49 cant you add a new branch for it? message at 21:56:28 RyanChile Michitux: you need localization for a plugin? message at 21:56:56 Michitux RyanChile: I haven't implemented localization for that part back then, that's the problem, not missing language strings message at 21:57:13 RyanChile ok message at 21:57:20 Michitux lupo49: I don't think that it is useful in the state it is now. message at 21:57:55 lupo49 k message at 21:58:18 Michitux lupo49: the code is a large mess and I don't know if one can run it in that state at all message at 21:59:44 Michitux lupo49: the changes in helper.php are the rewrite, I haven't changed the other code to use it from what I've seen and what I remember message at 22:00:19 Michitux lupo49: I can try splitting that up into multiple commits message at 22:01:12 Michitux lupo49: so that there is one commit for the rewrite, one for the threading features (I've added some usethreads feature, but I don't even know if that works), one for the ajax stuff (which probably needs to be rewritten, too) message at 22:01:38 Michitux lupo49: and one for the usernamespace and one for the recent comments and one for editing ones own comments message at 22:01:57 Michitux then one could test these features individually and merge them into master message at 22:03:13 lupo49 mh message at 22:03:46 lupo49 how do you handle those unstable/beta versions with git? message at 22:04:27 Michitux you mean when the download is the master branch? message at 22:04:51 Michitux I would add a devel branch or so when the features aren't ready for production or could break existing installations message at 22:05:44 Michitux but I commit small changes or changes where I'm relatively sure it won't break anything at least directly to master so they are included in installations and upgrades message at 22:06:09 lupo49 yes message at 22:06:12 lupo49 mh 22:38:10 quit dommel1 (~dominik@p5DDB398A.dip.t-dialin.net) has quit (Ping timeout: 272 seconds) message at 22:51:18 Michitux lupo49: have a look at https://github.com/dokufreaks/plugin-discussion/tree/rewrite and https://github.com/dokufreaks/plugin-discussion/tree/old_ajax_code message at 22:52:13 lupo49 yup message at 22:52:49 Michitux I haven't tested that code. I assume the code in rewrite is (apart from helper.php) working and that ajax stuff isn't message at 22:53:58 lupo49 does the ajax code worked with old versions? message at 22:54:03 Michitux yes message at 22:54:19 Michitux you can see it live at http://www.gesetzwiki.de/ message at 22:55:11 lupo49 ok message at 22:55:13 Michitux though there are some other changes in action.php necessary that aren't included in that commit (_redirect breaks it) message at 22:57:47 lupo49 hm message at 22:59:01 Michitux and it won't work with the new toolbar and preview probably, too, and it had some quite nasty duplicate id problems iirc message at 22:59:28 Michitux and only prints german messages message at 23:01:10 Michitux my idea with that rewrite ( https://github.com/dokufreaks/plugin-discussion/commit/33bb0e2ba69910b05b10475af32a56ee4a25e5fc) is that there is e.g. one place whre all permissions are checked etc. message at 23:01:10 lupo49 gonna install it for a try tomorrow message at 23:03:54 lupo49 but anonymous edits/removals are still disabled with your version? 23:03:55 quit adrianlang (~adrian@wikimedia/codeispoetry) has quit (Quit: Leaving.) message at 23:04:27 lupo49 brb message at 23:07:26 Michitux lupo49: hm, I'm not sure, now I'm thinking that feature has already existed and I just added a check if replies do already exist message at 23:07:49 Michitux lupo49: but I haven't pushed that change yet, but now I remember why I've implemented that change message at 23:08:06 Michitux lupo49: the problem is that when there are already replies and you deleted your comment, you also delete these replies message at 23:08:48 Michitux lupo49: and I made hidden comments visible for the author, but I'm no longer sure if that's good message at 23:09:04 Michitux lupo49: because then you can also make them easily non-hidden message at 23:12:56 Michitux lupo49: on the other hand I can't see anything that prevents you from doing that already message at 23:13:59 Michitux lupo49: because you know how the form looks like and what cid you've got from the redirect url and thus you can easily modify the form of another comment message at 23:18:44 Michitux lupo49: hm, I have the fear that there aren't any ACL checks on comment editing function. and there is also no checkSecurityToken. which means that that you can probably edit random comments when you know which parameters you need. message at 23:19:06 Michitux lupo49: and as get is allowed for all request you can also easily redirect other people to comment deletion requests etc. message at 23:19:40 Michitux hm, trying that out... message at 23:22:41 Michitux ah, hm, no that doesn't work message at 23:23:39 Michitux but it's a bit difficult to see where that check does happen. message at 23:24:05 Michitux it's here: https://github.com/dokufreaks/plugin-discussion/blob/master/action.php#L555 message at 23:24:22 Michitux but okay, the user itself can still make his own comment visible message at 23:24:42 Michitux and it's easy, something like ?cid=...&comment=toggle is enough message at 23:27:01 lupo49 mh message at 23:27:20 lupo49 normally you cant edit your comments when there are replies on it message at 23:27:30 lupo49 or deleting it message at 23:28:06 Michitux you can when you are logged in afaik message at 23:28:24 lupo49 guess too message at 23:28:37 lupo49 but at other systems its not allowed message at 23:32:16 Michitux lupo49: see https://github.com/dokufreaks/plugin-discussion/commit/0696c4778e9b21507d9a2a1e4407ea4b7e3983b0 message at 23:34:13 Michitux this commit should also apply on master cleanly message at 23:34:22 Michitux and most of the other changes probably, too 23:34:57 join djSupport (~email@example.com) entered the channel message at 23:35:15 Michitux they are pretty independent and I'm also surprised how few conflicts I've had to resolve message at 23:36:06 lupo49 :) message at 23:36:17 lupo49 it could be a place for a getConf() variable message at 23:36:42 lupo49 to let the admin decide if the user can edit/delete posts message at 23:37:17 Michitux lupo49: see https://github.com/dokufreaks/plugin-discussion/blob/rewrite/helper.php#L372 message at 23:37:25 Michitux I've implemented that in my rewrite message at 23:38:38 lupo49 oh ok 23:39:21 join vinniec (~firstname.lastname@example.org) entered the channel 23:39:46 part vinniec (~email@example.com) has left the channel () 23:39:55 join vinniec (~firstname.lastname@example.org) entered the channel message at 23:40:28 Michitux lupo49: but that code isn't used and I'm not sure it works message at 23:40:40 lupo49 mhh message at 23:40:40 Michitux lupo49: and there are some parts missing (see todos at the bottom) message at 23:41:15 lupo49 ah i see message at 23:41:27 vinniec ciao lupo49 :) message at 23:41:37 lupo49 hello message at 23:41:43 vinniec coincidenza ho visto che hai aggiornato delle pag sul wiki message at 23:41:47 vinniec you aren't italian? message at 23:41:50 lupo49 no message at 23:41:55 vinniec :D azz 23:42:48 quit gammaproduction (~email@example.com) has quit (Remote host closed the connection) message at 23:43:02 lupo49 Michitux: do you plan to continue working on it in the future? message at 23:44:22 lupo49 assumed freetime++ message at 23:44:28 vinniec lupo49: http://www.dokuwiki.org/page?do=diff&rev=1286658299 why 1970? message at 23:45:02 Michitux lupo49: I haven't really planned that unfortunately (that code hasn't been touched for more than two years) and as I'm not using the discussion plugin anymore I'm also not that motivated message at 23:45:25 RyanChile cute, vinniec, isn0t that the Epoch? message at 23:45:29 vinniec discussion plugin work on anteater message at 23:45:51 lupo49 vinniec: dont know, its not a user provided value message at 23:45:59 Michitux I guess that's a bug. message at 23:46:05 vinniec yes message at 23:46:13 vinniec more pages is signet with 1970 message at 23:46:18 vinniec *signed message at 23:46:30 lupo49 thats the startdate of the unixtime message at 23:46:34 Michitux hm, that's not nice. only restored pages? message at 23:47:14 lupo49 no message at 23:47:26 lupo49 its every page in the recent changes 23:47:29 quit splitbrain (~andi@pdpc/supporter/active/splitbrain) has quit (Remote host closed the connection) message at 23:47:49 vinniec i don't have any idea, i use dokuwiki from a few day message at 23:47:50 Michitux hm, strange message at 23:47:59 vinniec :P message at 23:52:18 vinniec lupo49: what other language use the word "lupo" ? message at 23:52:37 lupo49 volkswagen message at 23:52:59 lupo49 i guess its also latin message at 23:53:01 RyanChile according to Wiktionary, Aragonese, Esperanto, Latin, Italian and Swedish message at 23:53:25 vinniec uh, it is a machine? autoveicle? message at 23:53:32 lupo49 jup message at 23:53:48 vinniec :) oky message at 23:53:55 vinniec thanks RyanChile 23:54:09 quit LongBeach (~mike@AFontenayssB-152-1-61-106.w82-121.abo.wanadoo.fr) has quit () message at 23:54:29 lupo49 bedtime message at 23:54:32 lupo49 good night message at 23:54:35 vinniec one moment :D message at 23:54:39 vinniec i have one quesiton message at 23:54:44 lupo49 uhm message at 23:54:45 RyanChile :D message at 23:54:56 vinniec I would like to translate this page into Italian message at 23:55:02 vinniec http://www.dokuwiki.org/tips:tailorwikirules message at 23:55:11 vinniec how do I? 23:55:26 join bipo (~firstname.lastname@example.org) entered the channel message at 23:55:27 lupo49 select "it" in the translation menu message at 23:55:32 vinniec k message at 23:55:36 lupo49 its the menu in the right upper corner message at 23:55:52 vinniec yes message at 23:56:00 lupo49 then just create the page message at 23:56:17 vinniec ok message at 23:56:26 vinniec and paste source message at 23:56:29 vinniec from english page? message at 23:56:46 lupo49 exactly message at 23:56:57 RyanChile and translate as needed message at 23:57:08 vinniec ok, I thought there was some automation message at 23:57:24 vinniec ok thanks and good night :P message at 23:57:37 lupo49 n8 :p
Powered by a homemade, experimental IRC logger written in Perl, PHP and MySQL.
A splitbrain.org service.