IRC log of #dokuwiki @ irc.libera.chat

For Monday, 17 January 2011

  1. message at
    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 ;)
  2. message at
    Michitux
    but pagemoveng is quite complex ;)
  3. message at
    Michitux
    userspagecreate, hm, I don't like the code, but it shouldn't be that difficult to maintain
  4. message at
    [bug]
    Michitux: is https://github.com/desolat/DokuWiki-Pagemove-Plugin this pagemoveng ?
  5. message at
    [bug]
    https://github.com/chimeric/dokuwiki-plugin-pagemoveng found it
  6. message at
    Michitux
    [bug]: there is also a forum thread and a mailinglist discussion that explain how the plugin shall work
  7. message at
    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
  8. quit
    geckon_ (~geckon@77.93.197.222) has quit (Quit: leaving)
  9. join
    geckon_ (~geckon@77.93.197.222) entered the channel
  10. message at
    geckon_
    sorry
  11. message at
    Michitux
    np
  12. message at
    Michitux
    [bug]: btw. there is also https://github.com/danny0838/editx
  13. message at
    Michitux
    (which doesn't try to fix any links, it really just renames pages)
  14. message at
    [bug]
    fixing links already worked in the "old" pagemove plugin
  15. message at
    Michitux
    the problem is that the old one works with regular expressions
  16. message at
    Michitux
    which doesn't really work
  17. message at
    [bug]
    I think moving pages/ns should be in the core features of DW
  18. message at
    [bug]
    it's a regular question from users
  19. message at
    [bug]
    typo, wrong page location, wiki reorg
  20. message at
    Michitux
    yes, iirc something like that was planned with pagemoveng
  21. message at
    geckon_
    I agree its one of basic features
  22. message at
    Michitux
    but I'm also still wondering how that reverse renderer works
  23. message at
    Michitux
    or if it does work at all
  24. message at
    Michitux
    because there are quite some plugins that mess around with instructions
  25. message at
    [bug]
    from what I see it turns the rendered page to original wiki syntax
  26. message at
    [bug]
    but what for ?
  27. message at
    Michitux
    because then you can fix the links in the instructions
  28. message at
    Michitux
    which means you can really distinguish between links or the same syntax in code blocks etc.
  29. message at
    [bug]
    ok
  30. message at
    Michitux
    but I think there should also be a feature that syntax plugins that refer to other pages can have their syntax fixed...
  31. message at
    Michitux
    e.g. for the include plugin that makes sense
  32. message at
    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
  33. message at
    [bug]
    if only we had stored namespace and page names in meta and only linked numeric ids :-)
  34. message at
    [bug]
    oops that's a database :)
  35. message at
    Michitux
    yes, but even mediawiki uses pagenames in links and not numeric ids ;)
  36. message at
    [bug]
    phear
  37. message at
    [bug]
    we'll come to page/ns uuid one day :-)
  38. message at
    [bug]
    if you overtake pagemoveng, I'd gladly help if I can be useful
  39. message at
    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
  40. message at
    [bug]
    time for suspend
  41. message at
    Michitux
    [bug]: thx for the offer, I'll tell you when I'll start with it
  42. message at
    [bug]
    good night
  43. message at
    Michitux
    gn8 [bug]
  44. quit
    geckon_ (~geckon@77.93.197.222) has quit (Remote host closed the connection)
  45. quit
    djSupport (~djsupport@188-221-240-190.zone12.bethere.co.uk) has quit (Read error: Connection reset by peer)
  46. join
    geckon_ (~geckon@77.93.197.222) entered the channel
  47. quit
    geckon_ (~geckon@77.93.197.222) has quit (Quit: leaving)
  48. quit
    LongBeach (~mike@AFontenayssB-152-1-61-106.w82-121.abo.wanadoo.fr) has quit ()
  49. quit
    Chris--S (~Chris--S@87-194-159-222.bethere.co.uk) has quit (Quit: Chris--S)
  50. join
    gammaproduction (~gammaprod@f052098018.adsl.alicedsl.de) entered the channel
  51. join
    zalex_ua3290 (~Miranda@213.160.140.228) entered the channel
  52. quit
    zalex_ua (~Miranda@213.160.140.228) has quit (Ping timeout: 265 seconds)
  53. join
    LongBeach (~mike@AFontenayssB-152-1-61-106.w82-121.abo.wanadoo.fr) entered the channel
  54. quit
    gammaproduction (~gammaprod@f052098018.adsl.alicedsl.de) has quit (Quit: Leaving.)
  55. join
    bipo (~bipo@chello212186099045.11.vie.surfer.at) entered the channel
  56. join
    rawler (~quassel@2.69.141.28) entered the channel
  57. join
    splitbrain (~Andi@91-64-96-74-dynip.superkabel.de) entered the channel
  58. quit
    splitbrain (~Andi@91-64-96-74-dynip.superkabel.de) has quit (Changing host)
  59. join
    splitbrain (~Andi@pdpc/supporter/active/splitbrain) entered the channel
  60. join
    jeybop (~jerome@chimere.imag.fr) entered the channel
  61. join
    gammaproduction (~Adium@fw.inetsoftware.de) entered the channel
  62. quit
    rawler (~quassel@2.69.141.28) has quit (Ping timeout: 240 seconds)
  63. join
    rawler (~quassel@bastion.cdops.tv) entered the channel
  64. join
    einhirn (~Miranda@bsod.rz.tu-clausthal.de) entered the channel
  65. join
    lolmaus (~lolmaus@178.236.241.96) entered the channel
  66. join
    Chris--S (~Chris--S@87-194-159-222.bethere.co.uk) entered the channel
  67. join
    NEOhidra (~Miranda@178.239.117.37) entered the channel
  68. quit
    bipo (~bipo@chello212186099045.11.vie.surfer.at) has quit (Ping timeout: 260 seconds)
  69. join
    denisr (~denisr@212.155.161.36) entered the channel
  70. join
    bipo (~bipo@85-124-200-139.static.xdsl-line.inode.at) entered the channel
  71. quit
    Cain (~Geek@unaffiliated/cain) has quit (Ping timeout: 260 seconds)
  72. message at
    markuman
    hm, the bookcreator don't fetch the latex images :-/
  73. join
    adrianlang (~adrian@wikimedia/codeispoetry) entered the channel
  74. join
    Cain (~Geek@unaffiliated/cain) entered the channel
  75. quit
    zalex_ua3290 (~Miranda@213.160.140.228) has quit (Quit: quit)
  76. message at
    lupo49
    morning
  77. message at
    adrianlang
    hi
  78. message at
    splitbrain
    ho
  79. quit
    denisr (~denisr@212.155.161.36) has quit (Quit: Parti)
  80. join
    markinfo (~marek@dhcp09.algebra.tuwien.ac.at) entered the channel
  81. join
    dommel1 (~dominik@p5DDB1EBC.dip.t-dialin.net) entered the channel
  82. quit
    adrianlang (~adrian@wikimedia/codeispoetry) has quit (Remote host closed the connection)
  83. join
    adrianlang (~adrian@wikimedia/codeispoetry) entered the channel
  84. quit
    markinfo (~marek@dhcp09.algebra.tuwien.ac.at) has quit (Remote host closed the connection)
  85. join
    RyanChile (~shiftesca@190.121.72.141) entered the channel
  86. join
    Cain` (~Geek@unaffiliated/cain) entered the channel
  87. quit
    Cain (~Geek@unaffiliated/cain) has quit (Ping timeout: 240 seconds)
  88. nick
    Cain` is now known as Cain
  89. quit
    splitbrain (~Andi@pdpc/supporter/active/splitbrain) has quit (Remote host closed the connection)
  90. join
    jayeola (~user@ldn-office.youdevise.com) entered the channel
  91. message at
    Tanguy
    Hello.
  92. message at
    RyanChile
    ¡hi!
  93. message at
    RyanChile
    you're the guy with the Debian developments rights?
  94. message at
    Tanguy
    Do you know how the webring-style top bar is implemented on <http://www.dokuwiki.org/dokuwiki>;?
  95. message at
    RyanChile
    there is a thread about it at the forums, lemme check...
  96. message at
    RyanChile
    Tanguy: still can't find it, but maybe you can find it first at the "general discussion" section?
  97. message at
    Tanguy
    <http://forum.dokuwiki.org/thread/6089;?unb855sess=3a880ea742ff99e55f710c0281cebd49>;.
  98. message at
    Tanguy
    Thanks.
  99. message at
    RyanChile
    sorry couldn't have it earlier
  100. message at
    Michitux
    hi dommel1
  101. message at
    Michitux
    dommel1: have you seen the mail regarding the docsearch plugin?
  102. message at
    Michitux
    dommel1: the docsearch plugin seems to have the same problem as our xml-rpc interface had
  103. message at
    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?
  104. message at
    Michitux
    jayeola: for upgrading existing installations there is an upgrader plugin, I think you can't use the downloader for upgrading
  105. message at
    Michitux
    see plugin:upgrade
  106. message at
    jayeola
    ty
  107. join
    splitbrain (~andi@2002:5cc3:5e36:0:20f:eaff:fe3e:8d10) entered the channel
  108. quit
    splitbrain (~andi@2002:5cc3:5e36:0:20f:eaff:fe3e:8d10) has quit (Changing host)
  109. join
    splitbrain (~andi@pdpc/supporter/active/splitbrain) entered the channel
  110. quit
    rawler (~quassel@bastion.cdops.tv) has quit (Remote host closed the connection)
  111. message at
    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." ??
  112. message at
    Michitux
    hm, perhaps there was an error with the certificate?
  113. message at
    Michitux
    splitbrain: or do you have an idea? jayeola is trying to use your upgrade plugin
  114. message at
    jayeola
    dunno. no report of that that i can see in /var/log/blah/foo.log
  115. message at
    splitbrain
    hmm
  116. message at
    jayeola
    i have full access to box fwiw
  117. message at
    splitbrain
    the error says it's a decompression error, so the download seems to have succeeded
  118. message at
    Michitux
    splitbrain: do you check the md5 sum of the file?
  119. message at
    splitbrain
    jayeola, you're getting the error when installing the plugin?
  120. message at
    splitbrain
    Michitux, no
  121. message at
    Michitux
    or at least the size?
  122. message at
    Michitux
    hm, okay, probably a bit difficult
  123. message at
    jayeola
    i put the urk into the box for the plugin manager, hit return and get the err as shown above
  124. message at
    Michitux
    ah, okay, so you are still installing the plugin
  125. message at
    splitbrain
    jayeola, try to use http://github.com/splitbrain/dokuwiki-plugin-upgrade/tarball/master instead
  126. message at
    jayeola
    jayeola runs off and hammers keybord
  127. quit
    lolmaus (~lolmaus@178.236.241.96) has quit ()
  128. message at
    splitbrain
    jayeola, uhm now that we're speaking of it. which URL did you try?
  129. message at
    jayeola
    http://www.dokuwiki.org/plugin:upgrade
  130. message at
    splitbrain
    that's the wrong url
  131. message at
    splitbrain
    you need to paste the download url
  132. message at
    jayeola
    hrm?
  133. message at
    splitbrain
    not the url of the page
  134. message at
    RyanChile
    there is a download url
  135. message at
    RyanChile
    with a beautiful icon
  136. message at
    Michitux
    splitbrain: btw. what about creating redirect download urls? something like http://www.dokuwiki.org/plugin:upgrade?do=download ?
  137. message at
    Michitux
    splitbrain: that then redirects to the actual download url?
  138. message at
    Michitux
    splitbrain: bug okay, we won't need that once we have the new plugin manager
  139. message at
    Michitux
    -bug +but
  140. message at
    jayeola
    uh, mind if i ask how one would know this?
  141. message at
    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 ;)
  142. message at
    splitbrain
    jayeola, uhm by reading?
  143. message at
    Michitux
    splitbrain: "the url given above" is not really clear imho
  144. message at
    jayeola
    *ahem* i knew that! /* lies */
  145. message at
    splitbrain
    hmm
  146. message at
    RyanChile
    the icon texts should not be hidden
  147. message at
    splitbrain
    Michitux, tell the plugin team ;-)
  148. message at
    RyanChile
    RyanChile whistles (part of the Plugin Team)
  149. message at
    Michitux
    and I think the icon text shouldn't be hidden
  150. message at
    Michitux
    as RyanChile says
  151. message at
    splitbrain
    Michitux, tell hakan ;-)
  152. message at
    splitbrain
    which reminds me I wanted to test his repository plugin
  153. message at
    splitbrain
    guess I'll do that now
  154. message at
    RyanChile
    I'll lift the proposal to the new standard for plugin pages, anyway
  155. message at
    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?
  156. quit
    jeybop (~jerome@chimere.imag.fr) has quit (Ping timeout: 276 seconds)
  157. message at
    splitbrain
    ^_^
  158. message at
    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
  159. message at
    Michitux
    and probably it still wouldn't work
  160. message at
    Michitux
    (because then all other template would need to be protected...)
  161. message at
    Michitux
    s/template/template pages/
  162. message at
    splitbrain
    I could create symlink to somewhere
  163. message at
    Michitux
    hm, does that work?
  164. message at
    splitbrain
    I think so
  165. message at
    Michitux
    I mean with history etc.
  166. message at
    Michitux
    but if it works, why not
  167. message at
    Michitux
    (at least if you trust the plugin team members ;) )
  168. message at
    splitbrain
    next question: how do I identify the plugin team?
  169. message at
    Michitux
    add their user accounts to a group?
  170. message at
    splitbrain
    I'd need to create new group yeah
  171. message at
    splitbrain
    will do later
  172. message at
    splitbrain
    first. trying that repo plugin
  173. message at
    Michitux
    or add acls for each member if that's easier
  174. message at
    Michitux
    splitbrain: btw. what do you think about cleaning ids in auth_aclcheck?
  175. message at
    Michitux
    splitbrain: with some extra protection for ":*" and ":" at the end of the id?
  176. message at
    dommel1
    Michitux: damn long posts :>
  177. message at
    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?
  178. message at
    Michitux
    jayeola: the one from github
  179. message at
    jayeola
    ty
  180. message at
    RyanChile
    the other is a proposal
  181. message at
    Michitux
    jayeola: that ?do=download was just a suggestion
  182. message at
    jayeola
    ah, ty again
  183. message at
    jayeola
    http://github.com/splitbrain/dokuwiki-plugin-upgrade/zipball/master ??
  184. message at
    Michitux
    dommel1: sorry, I've now sticked a note on my screen that reminds me that I should write shorter mails
  185. message at
    Michitux
    jayeola: yes
  186. message at
    dommel1
    :D
  187. message at
    Michitux
    dommel1: and what do you think about the issue itself?
  188. quit
    duke (~duke@47-18-182-46.nbiserv.com) has quit (Ping timeout: 272 seconds)
  189. join
    duke (~duke@47-18-182-46.nbiserv.com) entered the channel
  190. message at
    dommel1
    the plugin doesn't make acl checks
  191. message at
    Michitux
    dommel1: yes, but the ids seem to be wrong so the builtin acl check fails
  192. message at
    dommel1
    if i understand the mail right it only breaks because of an leading : in the id right?
  193. message at
    Michitux
    dommel1: and probably you should add an acl check for getNS($ID).':*' because for media files only namespace acls should be used
  194. message at
    Michitux
    yes, exactly
  195. message at
    Michitux
    the acl check first checks for exact matches and then removes the parts till the next ":" one after another
  196. message at
    Michitux
    so in the end ":" and then "" remain and the acls for the root namespace are using
  197. message at
    Michitux
    -using + used
  198. message at
    RyanChile
    Michitux: s/from/to/ is cooler ;)
  199. message at
    splitbrain
    Michitux, did you try hakan's repo plugin?
  200. message at
    Michitux
    splitbrain: yes
  201. message at
    Michitux
    splitbrain: and btw. has has already expanded the download link by default :)
  202. message at
    splitbrain
    I'm getting errors about creating the needed tables
  203. message at
    Michitux
    which db backend are you using?
  204. message at
    Michitux
    or error? it outputs an error message on the first run
  205. message at
    Michitux
    and creates the tables
  206. message at
    Michitux
    then that error should disappear
  207. message at
    Michitux
    or what does that error say?
  208. message at
    Michitux
    it should probably be a notice or so rather than an error
  209. message at
    splitbrain
    I'm using mysql
  210. message at
    Michitux
    I'm using sqlite3
  211. message at
    splitbrain
    with an existing db
  212. message at
    Michitux
    what does that error message say?
  213. message at
    Michitux
    and does it appear again?
  214. message at
    splitbrain
    Uncaught exception 'PDOException' with message 'SQLSTATE[3D000]: Invalid catalog name: 1046 No database selected'
  215. message at
    Michitux
    oh
  216. message at
    splitbrain
    yeah it's reproducable
  217. message at
    Michitux
    hm, okay, then perhaps hakan hasn't tested with mysql?
  218. message at
    Michitux
    but shouldn't you specify the database in the pdo connection string?
  219. message at
    splitbrain
    yes. that's what I do
  220. message at
    splitbrain
    ah okay
  221. message at
    splitbrain
    got the dsn wrong
  222. message at
    splitbrain
    hmm now I get a bunch of other warnings. looks like hakan didn't test this with mysql
  223. message at
    Michitux
    I think he tested with sqlite2 and then sqlite3 after I told him it doesn't work with sqlite3
  224. quit
    duke (~duke@47-18-182-46.nbiserv.com) has quit (Ping timeout: 276 seconds)
  225. join
    duke (~duke@47-18-182-46.nbiserv.com) entered the channel
  226. message at
    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"
  227. message at
    jayeola
    uncompressed into the dir lib/plugins#
  228. message at
    splitbrain
    did you install this manually?
  229. message at
    splitbrain
    what dokuwiki version are you running?
  230. message at
    jayeola
    DokuWiki Release 2009-02-14b
  231. message at
    splitbrain
    ooold
  232. message at
    jayeola
    i know that this is OLD but the site is public facing.
  233. message at
    splitbrain
    then it's even worse
  234. message at
    jayeola
    so what is best method for upgrade? manual, frpm repo or trash the server :-(
  235. message at
    splitbrain
    the upgrade plugin was only tested with the last stable
  236. message at
    splitbrain
    do a manual upgrade as described on install:upgrade
  237. quit
    duke (~duke@47-18-182-46.nbiserv.com) has quit (Ping timeout: 276 seconds)
  238. message at
    Michitux
    but why does that error message happen? and where does that "JJM" come from?
  239. message at
    Michitux
    jayeola: and is the folder in in lib/plugins really named upgrade
  240. message at
    jayeola
    JJM is the "test dir " that I am using for th eupgrade
  241. message at
    Michitux
    ah, okay, the folder name could really be the issue
  242. message at
    Michitux
    I mean the folder name of the upgrade plugin
  243. join
    duke (~duke@47-18-182-46.nbiserv.com) entered the channel
  244. message at
    Michitux
    can you please check that the folder you extracted is named "upgrade"?
  245. message at
    Michitux
    and otherwise rename it?
  246. message at
    jayeola
    when the file "master" is uncompressed it becomes "splitbrain-dokuwiki-plugin-upgrade-a1163bb". i think to mv to master?
  247. message at
    Michitux
    no, move it to upgrade
  248. message at
    jayeola
    sorry . mv splitbrain-dokuwiki-plugin-upgrade-a1163bb upgrade
  249. message at
    Michitux
    yes, exactly
  250. message at
    Michitux
    then it might work
  251. message at
    splitbrain
    or might not
  252. message at
    splitbrain
    who knows.
  253. message at
    splitbrain
    not me
  254. message at
    splitbrain
    but it's worth a try
  255. message at
    Michitux
    yes, but when jayeola tries it we will know it :)
  256. message at
    lupo49
    .o0(plugin.info.txt
  257. message at
    Michitux
    lupo49: yes, but when you install it manually...
  258. message at
    lupo49
    ahjo
  259. message at
    lupo49
    any news about this http->https github issue?
  260. message at
    splitbrain
    lupo49, yeah. github doesn't care and won't fix it
  261. message at
    lupo49
    :/
  262. message at
    Michitux
    http://support.github.com/discussions/site/2232-allow-downloads-via-http-non-ssl
  263. message at
    lupo49
    they behave like some of the big companies
  264. message at
    Michitux
    github doesn't care that their downloads don't work with all released wget versions. yeah.
  265. message at
    splitbrain
    you guys are welcome to yell at them (maybe they feel the pain ;-))
  266. message at
    jayeola
    ok, got a couple of "continue" buttons. now i have another err...
  267. message at
    jayeola
    The website encountered an error while retrieving http://foo.com/dokuwikiJJM/doku.php?do=admin&page=upgrade&sectok=552be0437d89acd6e462075020acac48&step%5Bcancel%5D=Continue. It may be down for maintenance or configured incorrectly.
  268. message at
    jayeola
    is this a permissions err?
  269. message at
    jayeola
    jayeola has plenty of redbull and ready to hack this sucker to death
  270. message at
    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?
  271. message at
    splitbrain
    Michitux, well it wouldn't be true, would it?
  272. message at
    splitbrain
    and I don't think they really care
  273. message at
    Michitux
    don't know if they'll care. it would be interesting on how many php installations the downloads are broken.
  274. message at
    dommel1
    Michitux: i've pushed a patch for the plugin - should work fine now
  275. message at
    Michitux
    splitbrain: a more pragmatic suggestion: could we add a proxy for github downloads on dokuwiki.org?
  276. message at
    Michitux
    splitbrain: I mean something like ?do=download urls for plugin pages that redirects for normal urls and acts as proxy for github downloads?
  277. message at
    splitbrain
    yeah. in the longterm we could do that. still sucks
  278. quit
    markuman (~markuman@dtmd-d9bff676.pool.mediaWays.net) has quit (Read error: Operation timed out)
  279. quit
    einhirn (~Miranda@bsod.rz.tu-clausthal.de) has quit (Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org)
  280. join
    markuman (~markuman@dtmd-4d0bf4e7.pool.mediaWays.net) entered the channel
  281. message at
    lupo49
    does someone thought about the correctness of the different translation in the wiki?
  282. message at
    lupo49
    is there a reliable DW contributor for every language?
  283. message at
    RyanChile
    what do you mean, lupo49?
  284. message at
    lupo49
    like how we make sure that theres only appropriate content on the pages?
  285. message at
    RyanChile
    mmm, nice question
  286. message at
    RyanChile
    Isn't there a documentation / internationalization Team?
  287. message at
    lupo49
    i guess thats not a question for the :de and :en namespaces
  288. message at
    RyanChile
    even then
  289. message at
    RyanChile
    it would benefit to have a designated responsible for every language
  290. message at
    lupo49
    yup
  291. message at
    RyanChile
    but that's besides the point I guess
  292. quit
    gammaproduction (~Adium@fw.inetsoftware.de) has quit (Quit: Leaving.)
  293. message at
    lupo49
    hm
  294. message at
    jayeola
    is anyone willing o test the upgrade plugin? i get three "continue" steps. next step (of ??) says admin&page=upgrade&sectok=8b6690cd8f5969c4b4f9dffd55f7977f&step[cancel]=Continue. It may be down for maintenance or configured incorrectly
  295. message at
    splitbrain
    jayeola, check your php error log
  296. message at
    splitbrain
    and trust me the upgrade plugin *is* tested, but with never versions only
  297. message at
    jayeola
    hrm, k
  298. message at
    Michitux
    dommel1: I hope you like the length of my reply ;)
  299. message at
    dommel1
    :)
  300. quit
    jayeola (~user@ldn-office.youdevise.com) has quit (Remote host closed the connection)
  301. message at
    lupo49
    https://github.com/dokufreaks/plugin-task/blob/master/helper.php#L165
  302. message at
    lupo49
    why does if theres a *.task file and if not, then it creates one
  303. message at
    lupo49
    aeh
  304. message at
    lupo49
    +check
  305. message at
    lupo49
    normally all *.task files are create after press "save" on a page?
  306. message at
    Michitux
    lupo49: I think in former versions of the task plugin the task data was stored in metadata
  307. message at
    lupo49
    do you know why he switched back to plain files?
  308. message at
    Michitux
    no idea
  309. message at
    Michitux
    bug I guess it is easier to detect and faster to read because these files are smaller
  310. message at
    Michitux
    looking if there is a .task file is faster than reading the .meta file and look for some property
  311. part
    dommel1 (~dominik@p5DDB1EBC.dip.t-dialin.net) has left the channel ()
  312. message at
    lupo49
    mh
  313. message at
    lupo49
    :/
  314. message at
    Michitux
    lupo49: that's what we will have the metadata index for
  315. message at
    lupo49
    okay
  316. message at
    lupo49
    any new infos regarding $ACT == 'save'?
  317. message at
    Michitux
    no, my suggestion is using metadata rendering
  318. message at
    lupo49
    how?
  319. message at
    lupo49
    ah i found this in my notes https://github.com/splitbrain/dokuwiki-plugin-data/blob/master/syntax/entry.php#L110
  320. message at
    lupo49
    is there anything about $format == metadata in :devel?
  321. message at
    Michitux
    no, that is unchanged
  322. message at
    Michitux
    ah, wait
  323. message at
    Michitux
    sry
  324. message at
    Michitux
    hm, don't know, perhaps in the renderer or syntax plugin documentation
  325. message at
    lupo49
    if i save a page the render() is called once with $format == "xthml" and another with == "metadata"?
  326. message at
    lupo49
    mh
  327. message at
    lupo49
    so the write/read function calls should be moved to render() instead of handle(=
  328. quit
    RyanChile (~shiftesca@190.121.72.141) has quit (Ping timeout: 240 seconds)
  329. message at
    Michitux
    lupo49: yes, because render() is only called for the current (saved) page
  330. join
    gammaproduction (~gammaprod@f052098018.adsl.alicedsl.de) entered the channel
  331. message at
    Michitux
    Michitux is currently looking at http://codaset.com/ - and playing around at http://codaset.com/michitux/dokuwiki-plugin-osm
  332. message at
    Michitux
    I like at least their ticket system
  333. join
    RyanChile (~shiftesca@190.121.72.141) entered the channel
  334. quit
    RyanChile (~shiftesca@190.121.72.141) has quit (Client Quit)
  335. message at
    Michitux
    but hm, it doesn't offer a rss fed?
  336. message at
    Michitux
    +e
  337. message at
    lupo49
    http://codaset.com/michitux/dokuwiki-plugin-osm.atom
  338. message at
    Michitux
    hm, yes, but it is just all activity
  339. message at
    lupo49
    yay
  340. message at
    lupo49
    and you get one private repo
  341. message at
    Michitux
    but okay, one could use yahoo pipes in order to filter the feed
  342. message at
    Michitux
    the UI isn't as clear as the one of github
  343. message at
    Michitux
    but apart from that I like it
  344. message at
    Michitux
    and btw.: it allows anonymous users to create tickets (you can enable or disable that)
  345. message at
    lupo49
    yep
  346. message at
    lupo49
    if github has such function, then the user wont spam the discussion sections with bug reports
  347. message at
    Michitux
    perhaps yes
  348. message at
    lupo49
    at least a few of them ;>
  349. message at
    Michitux
    hm, okay, but the automatically generated zip/tar files don't work for me :(
  350. message at
    Michitux
    (401 Unauthorized)
  351. message at
    Michitux
    you can't disable the blog and wiki tabs, that not really nice
  352. message at
    Michitux
    and I haven't seen that you can link commits in tickets
  353. message at
    Michitux
    but you can change the state of tasks to any state you want with commit messages :)
  354. message at
    lupo49
    http://codaset.com/codaset/codaset/tickets/812
  355. message at
    lupo49
    seems he fixed it manually
  356. message at
    Michitux
    but the download links of that project don't work for me, too
  357. message at
    lupo49
    jup
  358. message at
    Michitux
    I have the feeling it is a bit too beta-like for my taste
  359. message at
    Michitux
    and the position of the icons of some/all buttons is too low here
  360. quit
    NEOhidra (~Miranda@178.239.117.37) has quit (Quit: Miranda IM! Smaller, Faster, Easier. Get it here: http://miranda-im.org)
  361. message at
    lupo49
    narf
  362. message at
    lupo49
    how do you debug your plugins?
  363. join
    markinfo (~marek@dhcp09.algebra.tuwien.ac.at) entered the channel
  364. message at
    Michitux
    debug statements (dbg, msg, dbg_backtrace, ...) and now also xdebug with vim integration :)
  365. join
    dommel1 (~dominik@p5DDB398A.dip.t-dialin.net) entered the channel
  366. message at
    lupo49
    mh
  367. message at
    lupo49
    we should find some developers for discussion and task
  368. message at
    lupo49
    there was no response on the ML?
  369. message at
    Michitux
    at least I haven't seen such mails
  370. quit
    gammaproduction (~gammaprod@f052098018.adsl.alicedsl.de) has quit (Quit: Leaving.)
  371. join
    gammaproduction (~gammaprod@f052098018.adsl.alicedsl.de) entered the channel
  372. message at
    Michitux
    lupo49: so I hoped you would be the new maintainer for these plugins ;)
  373. message at
    lupo49
    i hoped also
  374. message at
    Michitux
    and where is the problem then?
  375. message at
    lupo49
    too complex
  376. message at
    lupo49
    cant place myself in the mind position of chimeric
  377. message at
    Michitux
    try simplifying them (without loosing functionality ;) )
  378. message at
    lupo49
    and i dont even know what the functions are doing
  379. message at
    lupo49
    (not the php ones, but the DW ones)
  380. message at
    Michitux
    then read the documentation or the sourcecode ;)
  381. join
    RyanChile (~shiftesca@190.121.72.141) entered the channel
  382. message at
    Michitux
    and when there isn't enough documentation ask someone to write that documentation
  383. message at
    RyanChile
    documentation? what did I miss?
  384. message at
    Michitux
    lupo49 says he doesn't know what the dokuwiki functions are doing
  385. message at
    Michitux
    btw. ohloh also complains we have too few comments, see https://www.ohloh.net/p/dokuwiki/factoids/4184936
  386. message at
    lupo49
    as i said yesterday
  387. message at
    RyanChile
    mmm
  388. message at
    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?
  389. message at
    Michitux
    lupo49: or in the wiki?
  390. message at
    lupo49
    my comments were regarding the task plugin
  391. message at
    RyanChile
    not a bad idea, I'd attend that list if I could hep with
  392. message at
    RyanChile
    I think my english got borked somewhat back there
  393. message at
    lupo49
    i guess all the function in the core are all on a good comment level
  394. message at
    Michitux
    really? I don't think so.
  395. message at
    lupo49
    (i only watched a few)
  396. message at
    lupo49
    so its just a random inspection :>
  397. message at
    Michitux
    it happens quite often that I find functions where no documentation of parameters and return values exist
  398. message at
    lupo49
    and you are not the only one
  399. message at
    lupo49
    if ten people need the function, then everyone has to spend time for analyzing it
  400. message at
    lupo49
    time wasting..
  401. message at
    RyanChile
    mmmm
  402. quit
    bipo (~bipo@85-124-200-139.static.xdsl-line.inode.at) has quit (Remote host closed the connection)
  403. message at
    lupo49
    (thats not critism on developers)
  404. message at
    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.
  405. message at
    Michitux
    lupo49: and I've already understood the discussion plugin once two years ago so I should be able to understand it again.
  406. message at
    Michitux
    (I needed to adapt it for a customer project)
  407. message at
    lupo49
    okay sounds good :)
  408. message at
    Michitux
    my conclusion back then was that the discussion plugin could need a rewrite but I haven't the time
  409. message at
    Michitux
    I started a bit of the rewrite but then noticed that it will be a bit more complex than I thought
  410. quit
    gammaproduction (~gammaprod@f052098018.adsl.alicedsl.de) has quit (Read error: No route to host)
  411. join
    gammaproduction (~gammaprod@f052098018.adsl.alicedsl.de) entered the channel
  412. message at
    Michitux
    perhaps now I have better ideas how the rewrite could be done
  413. message at
    lupo49
    its mostly the time aspect :>
  414. message at
    lupo49
    you are in karlsruhe, or?
  415. message at
    Michitux
    yes
  416. message at
    Michitux
    I thought more about a dokuwiki/wiki meeting though, but if you want to visit me I've nothing against it, too ;)
  417. message at
    Michitux
    hm, these discussion changes back then were still in darcs .oO
  418. message at
    Michitux
    and hm, I've done more than I thought...
  419. message at
    Michitux
    804 changed lines...
  420. message at
    lupo49
    :)
  421. message at
    Michitux
    (mostly I've implemented comment posting in ajax (and even more?))
  422. message at
    Michitux
    but in order to do that cleanly I would have needed the rewrite
  423. message at
    lupo49
    do you have an own small company? (regarding the customer project)
  424. message at
    Michitux
    yes, I'm self-employed (apart from being student)
  425. message at
    lupo49
    okay :)
  426. quit
    markinfo (~marek@dhcp09.algebra.tuwien.ac.at) has quit (Remote host closed the connection)
  427. message at
    Michitux
    hm, looks like I've successfully merged my old changes on top of the newest master version of the discussion plugin
  428. message at
    Michitux
    but I don't know if it works at all
  429. message at
    Michitux
    and my rewrite probably needs to be updated manually because the functions I've copied no longer exist
  430. message at
    Michitux
    my idea was to add a helper part that allows to simplify the action part
  431. message at
    Michitux
    lupo49: http://dokuwiki.pastebin.com/aX96TyEB if you are interested
  432. message at
    Michitux
    lupo49: it also adds some quite nice features like editing and deleting ones own comments unless there are replies
  433. message at
    lupo49
    thats quite nice
  434. message at
    Michitux
    lupo49: and a recent comments syntax component that still needs to be localized
  435. message at
    lupo49
    cant you add a new branch for it?
  436. message at
    RyanChile
    Michitux: you need localization for a plugin?
  437. message at
    Michitux
    RyanChile: I haven't implemented localization for that part back then, that's the problem, not missing language strings
  438. message at
    RyanChile
    ok
  439. message at
    Michitux
    lupo49: I don't think that it is useful in the state it is now.
  440. message at
    lupo49
    k
  441. message at
    Michitux
    lupo49: the code is a large mess and I don't know if one can run it in that state at all
  442. message at
    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
  443. message at
    Michitux
    lupo49: I can try splitting that up into multiple commits
  444. message at
    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)
  445. message at
    Michitux
    lupo49: and one for the usernamespace and one for the recent comments and one for editing ones own comments
  446. message at
    Michitux
    then one could test these features individually and merge them into master
  447. message at
    lupo49
    mh
  448. message at
    lupo49
    how do you handle those unstable/beta versions with git?
  449. message at
    Michitux
    you mean when the download is the master branch?
  450. message at
    Michitux
    I would add a devel branch or so when the features aren't ready for production or could break existing installations
  451. message at
    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
  452. message at
    lupo49
    yes
  453. message at
    lupo49
    mh
  454. quit
    dommel1 (~dominik@p5DDB398A.dip.t-dialin.net) has quit (Ping timeout: 272 seconds)
  455. message at
    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
  456. message at
    lupo49
    yup
  457. message at
    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
  458. message at
    lupo49
    does the ajax code worked with old versions?
  459. message at
    Michitux
    yes
  460. message at
    Michitux
    you can see it live at http://www.gesetzwiki.de/
  461. message at
    lupo49
    ok
  462. message at
    Michitux
    though there are some other changes in action.php necessary that aren't included in that commit (_redirect breaks it)
  463. message at
    lupo49
    hm
  464. message at
    Michitux
    and it won't work with the new toolbar and preview probably, too, and it had some quite nasty duplicate id problems iirc
  465. message at
    Michitux
    and only prints german messages
  466. message at
    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.
  467. message at
    lupo49
    gonna install it for a try tomorrow
  468. message at
    lupo49
    but anonymous edits/removals are still disabled with your version?
  469. quit
    adrianlang (~adrian@wikimedia/codeispoetry) has quit (Quit: Leaving.)
  470. message at
    lupo49
    brb
  471. message at
    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
  472. message at
    Michitux
    lupo49: but I haven't pushed that change yet, but now I remember why I've implemented that change
  473. message at
    Michitux
    lupo49: the problem is that when there are already replies and you deleted your comment, you also delete these replies
  474. message at
    Michitux
    lupo49: and I made hidden comments visible for the author, but I'm no longer sure if that's good
  475. message at
    Michitux
    lupo49: because then you can also make them easily non-hidden
  476. message at
    Michitux
    lupo49: on the other hand I can't see anything that prevents you from doing that already
  477. message at
    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
  478. message at
    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.
  479. message at
    Michitux
    lupo49: and as get is allowed for all request you can also easily redirect other people to comment deletion requests etc.
  480. message at
    Michitux
    hm, trying that out...
  481. message at
    Michitux
    ah, hm, no that doesn't work
  482. message at
    Michitux
    but it's a bit difficult to see where that check does happen.
  483. message at
    Michitux
    it's here: https://github.com/dokufreaks/plugin-discussion/blob/master/action.php#L555
  484. message at
    Michitux
    but okay, the user itself can still make his own comment visible
  485. message at
    Michitux
    and it's easy, something like ?cid=...&comment=toggle is enough
  486. message at
    lupo49
    mh
  487. message at
    lupo49
    normally you cant edit your comments when there are replies on it
  488. message at
    lupo49
    or deleting it
  489. message at
    Michitux
    you can when you are logged in afaik
  490. message at
    lupo49
    guess too
  491. message at
    lupo49
    but at other systems its not allowed
  492. message at
    Michitux
    lupo49: see https://github.com/dokufreaks/plugin-discussion/commit/0696c4778e9b21507d9a2a1e4407ea4b7e3983b0
  493. message at
    Michitux
    this commit should also apply on master cleanly
  494. message at
    Michitux
    and most of the other changes probably, too
  495. join
    djSupport (~djsupport@188-221-240-190.zone12.bethere.co.uk) entered the channel
  496. message at
    Michitux
    they are pretty independent and I'm also surprised how few conflicts I've had to resolve
  497. message at
    lupo49
    :)
  498. message at
    lupo49
    it could be a place for a getConf() variable
  499. message at
    lupo49
    to let the admin decide if the user can edit/delete posts
  500. message at
    Michitux
    lupo49: see https://github.com/dokufreaks/plugin-discussion/blob/rewrite/helper.php#L372
  501. message at
    Michitux
    I've implemented that in my rewrite
  502. message at
    lupo49
    oh ok
  503. join
    vinniec (~ff@87.19.179.22) entered the channel
  504. part
    vinniec (~ff@87.19.179.22) has left the channel ()
  505. join
    vinniec (~ff@87.19.179.22) entered the channel
  506. message at
    Michitux
    lupo49: but that code isn't used and I'm not sure it works
  507. message at
    lupo49
    mhh
  508. message at
    Michitux
    lupo49: and there are some parts missing (see todos at the bottom)
  509. message at
    lupo49
    ah i see
  510. message at
    vinniec
    ciao lupo49 :)
  511. message at
    lupo49
    hello
  512. message at
    vinniec
    coincidenza ho visto che hai aggiornato delle pag sul wiki
  513. message at
    vinniec
    you aren't italian?
  514. message at
    lupo49
    no
  515. message at
    vinniec
    :D azz
  516. quit
    gammaproduction (~gammaprod@f052098018.adsl.alicedsl.de) has quit (Remote host closed the connection)
  517. message at
    lupo49
    Michitux: do you plan to continue working on it in the future?
  518. message at
    lupo49
    assumed freetime++
  519. message at
    vinniec
    lupo49: http://www.dokuwiki.org/page?do=diff&rev=1286658299 why 1970?
  520. message at
    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
  521. message at
    RyanChile
    cute, vinniec, isn0t that the Epoch?
  522. message at
    vinniec
    discussion plugin work on anteater
  523. message at
    lupo49
    vinniec: dont know, its not a user provided value
  524. message at
    Michitux
    I guess that's a bug.
  525. message at
    vinniec
    yes
  526. message at
    vinniec
    more pages is signet with 1970
  527. message at
    vinniec
    *signed
  528. message at
    lupo49
    thats the startdate of the unixtime
  529. message at
    Michitux
    hm, that's not nice. only restored pages?
  530. message at
    lupo49
    no
  531. message at
    lupo49
    its every page in the recent changes
  532. quit
    splitbrain (~andi@pdpc/supporter/active/splitbrain) has quit (Remote host closed the connection)
  533. message at
    vinniec
    i don't have any idea, i use dokuwiki from a few day
  534. message at
    Michitux
    hm, strange
  535. message at
    vinniec
    :P
  536. message at
    vinniec
    lupo49: what other language use the word "lupo" ?
  537. message at
    lupo49
    volkswagen
  538. message at
    lupo49
    i guess its also latin
  539. message at
    RyanChile
    according to Wiktionary, Aragonese, Esperanto, Latin, Italian and Swedish
  540. message at
    vinniec
    uh, it is a machine? autoveicle?
  541. message at
    lupo49
    jup
  542. message at
    vinniec
    :) oky
  543. message at
    vinniec
    thanks RyanChile
  544. quit
    LongBeach (~mike@AFontenayssB-152-1-61-106.w82-121.abo.wanadoo.fr) has quit ()
  545. message at
    lupo49
    bedtime
  546. message at
    lupo49
    good night
  547. message at
    vinniec
    one moment :D
  548. message at
    vinniec
    i have one quesiton
  549. message at
    lupo49
    uhm
  550. message at
    RyanChile
    :D
  551. message at
    vinniec
    I would like to translate this page into Italian
  552. message at
    vinniec
    http://www.dokuwiki.org/tips:tailorwikirules
  553. message at
    vinniec
    how do I?
  554. join
    bipo (~bipo@chello212186099045.11.vie.surfer.at) entered the channel
  555. message at
    lupo49
    select "it" in the translation menu
  556. message at
    vinniec
    k
  557. message at
    lupo49
    its the menu in the right upper corner
  558. message at
    vinniec
    yes
  559. message at
    lupo49
    then just create the page
  560. message at
    vinniec
    ok
  561. message at
    vinniec
    and paste source
  562. message at
    vinniec
    from english page?
  563. message at
    lupo49
    exactly
  564. message at
    RyanChile
    and translate as needed
  565. message at
    vinniec
    ok, I thought there was some automation
  566. message at
    vinniec
    ok thanks and good night :P
  567. message at
    lupo49
    n8 :p