[00:32] Trebly joined #tikiwiki [00:45] Trebly_ joined #tikiwiki [01:05] Skip joined #tikiwiki [01:06] Skip Greetings all! I've just got a (hopefully) quick question about the new 9.0 launch. [01:06] Trebly_ joined #tikiwiki [01:06] Skip If I'm currently running 8.4, how hard is it to upgrade all of my existing content to the new 9.0 framework? [01:10] Skip Trebly, I see you recently joined the channel! Are you by any chance familiar with installing Tiki 9.0? [01:10] Skip Everyone's being really quiet :X [01:19] daniam joined #tikiwiki [03:02] Trebly joined #tikiwiki [03:17] marclaporte polom [03:25] goj joined #tikiwiki [04:35] Tiki|bot joined #tikiwiki [07:03] CIA-75 tikiwiki: 03chibaguy * r42465 10/branches/9.x/styles/ (10 files in 2 dirs): [NEW][bp/r42008, r42084, r42455] FiveAlive-lite theme - Theme uses FiveAlive theme options for color variants. [07:19] CIA-75 tikiwiki: 03chibaguy * r42466 10/branches/9.x/styles/fivealive.css: [NEW][bp/r42008, r42084, r42455] FiveAlive-lite theme - Theme uses FiveAlive theme options for color variants. (Not all changes saved in earlier commit.) [08:10] redflo joined #tikiwiki [10:31] PrezKennedyX joined #tikiwiki [11:09] Trebly joined #tikiwiki [11:30] Tiki|bot New Forum Posts: v9 LTS - Übersetzungsseite - http://tiki.org/tiki-view_forum_thread.php?forumId=10&comments_parentId=44421 [11:58] marclaporte http://www.wikisym.org/ws2012/ August 27-28-29, Linz, Austria [12:10] jjg0th hi [12:11] marclaporte hi jjg0th [12:11] jjg0th I'm trying to get .docx/.xlsx working [12:11] jjg0th at the moment when I upload such files with webdav and later I try to download them they are recognized as .zip files [12:12] jjg0th I set the mime types in apache's configuration [12:13] marclaporte hmmmm [12:13] jjg0th when I upload a file through tiki wiki it works [12:13] marclaporte .docx/.xlsx also have an issue with content indexing. [12:13] jjg0th but when I upload through webdav it sets mime type to "default"???? [12:13] jjg0th well one needs a program to get the content [12:13] jjg0th but at the moment I don't care about this [12:14] jjg0th I can do this later [12:14] jjg0th but to be unable to view .docx files is absolutely unacceptable for us here [12:14] jjg0th almost everything is .docx [12:14] jjg0th (I myself don't use it but I set up the wiki) [12:15] marclaporte same behavior in different webdav clients? [12:19] jjg0th that's the only one that works so far [12:23] Bsfez joined #tikiwiki [13:00] rodrigoprimo joined #tikiwiki [13:17] marclaporte which is the only one that works? [13:17] marclaporte Cyberduck, etc. [13:19] jjg0th cyberduck [13:37] marclaporte hmmm, so none of the others worked? [13:37] marclaporte The Linux WebDAV client should work [13:37] marclaporte (I think) [13:37] jjg0th I use windows at the office here [13:38] jjg0th almost everyone uses windows [13:38] jjg0th I need a really simple to use webdav client [13:38] jjg0th it seems cyberduck is one of the most popular one [13:38] jjg0th I don't understand what it has to do with mime types [13:38] jjg0th I thought that was the task of apache [13:39] ricks99 joined #tikiwiki [13:47] Tiki|bot New Forum Posts: Can't edit nor view FAQ - http://tiki.org/tiki-view_forum_thread.php?forumId=6&comments_parentId=44422 [13:55] ricks99 polom y'all [14:08] mike joined #tikiwiki [14:10] Guest___ joined #tikiwiki [14:10] Guest___ Hi, [14:10] jjg0th marclaporte: so how do I get .docx to work? [14:18] Guest___ I have problem with tikiwiki. When I created a new account tiki displayed "You will receive an email with the information needed to log into this site the first time", but to me email is not deliviered. Problem is only with first registration mail. In log I found Type: "mail error" User: "Anonymous". [14:20] ricks99 Guest___: are you using phpmaill or smtp? [14:20] Guest___ phpmail [14:21] ricks99 can you re-run the tiki installer. don't change anything, but on the 3 or 4th screen, there's a way to test your mail server [14:26] marclaporte jjg0th: I don't know but first thing to figure out is : is the problem with Tiki or with CyberDuck [14:32] Guest___ ricks99: I used it functionality and test mail deliviered. [14:33] ricks99 hm... but not the registration mails? [14:34] ricks99 what are your registration settings? do you require admin approval? do you have tiki attempting to validate the email server? [14:34] ricks99 and what tiki version are you using? [14:38] Guest___ ricks99: Problem isn't when I used forgot password. Mails deliviered with link to change password. In config I have check: Validate new user registrations by email, Users can register. My version is 9.0. [14:43] ricks99 sorry, i don't understand? are you having problems with *registration* emails or *forgot password* emails being sent? [14:46] Guest___ ricks99: I have problem only with registration mail when I create new account. [14:48] ricks99 is the "sender" email that you configured an actual, valid email address on your server? [14:53] Guest___ ricks99: yes. sender email is correct. [14:59] ricks99 hm.. not sure. is there anything in your mail log explaining why the emails aren't being sent? have you modified any TPL files? [15:02] radek82 joined #tikiwiki [15:05] Guest___ ricks99: Where is mail log explaining? When I use tiki-syslog, I see: 238 mail error 14:02 Anonymous my_email@city.org/Your registration confirmation.. 113.13.16.66 Opera/9.80 (Windows NT 6.1;... I not modified any files [15:06] ricks99 need to look in your php/host/server log [15:16] jacmoe joined #tikiwiki [15:17] vmachine1 joined #tikiwiki [15:17] Guest___ ricks99: Logs: [Wed Jul 25 15:13:31 2012] [error] [client 183.13.16.66] ALERT - mail() - newline in subject header, possible injection, mail dropped (attacker 113.13.16.66', file '/homei/wiki/lib/webmail/htmlMimeMail.php', line 734), referer: http://city.org/wiki/tiki-register.php [15:19] ricks99 hm... looks like your mailer is dropping the email -- thinks the header is invalid? [15:20] ricks99 not sure i can help. i suggest that you post to the forums and send to the dev mailing list. be sure to included that log info [15:22] Guest___ Ok, Thank for help. [15:24] dhazel joined #tikiwiki [15:27] ricks99 sorry i couldnt be more helpful :( [15:28] blast_hardcheese joined #tikiwiki [15:40] mlaporte joined #tikiwiki [15:40] mlaporte jjg0th: I suggest you ask on the dev list [15:40] mlaporte Stéphane Casset and Sylvie Greverend are two most qualified to answer that question [15:42] Bsfez joined #tikiwiki [15:53] marclaporte joined #tikiwiki [15:54] jjg0th I would prefer to solve it on irc if possible [15:54] jjg0th who sets the mime type of a file I download? [15:54] jjg0th where is it stored for example [15:57] marclaporte I don't know [15:57] marclaporte and those 2 people are not online [15:58] ricks99 jjg0th: on apache, you can set mime types in the mime.types file [15:58] jjg0th ok, I will try again later [15:58] ricks99 or in htaccess [15:58] jjg0th ricks99: if I set them there (which I did) should it work? [15:58] ricks99 y. may need to restart apache [15:58] jjg0th or does it matter "how the file was uploaded" [15:59] jjg0th at the moment files I upload get the mime type "default" [15:59] jjg0th I wonder: who set that mime type? [15:59] jjg0th besides it doesn't sound like any mime type ^^ [15:59] ricks99 sorry, i misundestood. i though you were tyring to set mime/type for downloads [16:00] ricks99 for upload, depends on your browser and OS, iirc [16:00] jjg0th upload? [16:00] jjg0th why are mime types involved in an upload [16:00] ricks99 07[09:58] 01or does it matter "how the file was uploaded"07[09:59] 01at the moment files I upload get the mime type "default"07[09:59] 01I wonder: who set that mime type? [16:01] jjg0th what I meant was: [16:01] ricks99 thats what u asked ^^^ [16:01] jjg0th when I upload the file using webdav and then _later_ I try to download it from the wiki page (from the file gallery) the mime type is "default" [16:02] jjg0th I wonder who "decided" that the mime type was "default" [16:03] ricks99 iirc, it is "decided" by your app / os /webdav connection [16:07] jjg0th so the mime type for the download is decided during the upload [16:07] jjg0th ? [16:08] jjg0th is there no way that the wiki overwrites the mime type? [16:08] jjg0th resp. takes control of it for webdav uploads [16:09] ricks99 not sure. did you set mime in mime.types and htaccess? did u restart apache? [16:10] vmachine1 left #tikiwiki [16:10] coaboa joined #tikiwiki [16:19] GillesM left #tikiwiki [16:24] jjg0th I told my IT guys to change it [16:24] jjg0th they told me that they restart apache [16:24] jjg0th I have access to mime.types, there it is not changed [16:24] jjg0th I assume he changed it in httpd.conf or something like that [16:25] ricks99 where did they chagne it? [16:45] jjg0th I don't have access to it [16:45] jjg0th so it should have worked? [16:46] ricks99 afaik [16:50] CIA-75 tikiwiki: 03robertplummer * r42467 10/branches/9.x/ (4 files in 3 dirs): [16:50] CIA-75 tikiwiki: [NEW] Service to create users, uses most of existing methods [16:50] CIA-75 tikiwiki: [FIX] registrationlib generally uses $_REQUEST var, but not in all cases, inconsistent with captchalib, so use the same in both cases when needed [16:51] jjg0th I don't find it :( [16:51] jjg0th but they told me they changed it, I wonder where... [16:55] jjg0th strangely enough it seems to work for files uploaded with tiki wiki but not for the ones uploaded with webdav which makes no sense since the upload method shouldn't matter [17:01] redflo joined #tikiwiki [17:26] benoitg joined #tikiwiki [18:37] dennmans joined #tikiwiki [18:57] CIA-75 tikiwiki: 03robertplummer * r42468 10/branches/9.x/lib/core/Services/User/Controller.php: [FIX] Return the errors in array, success as string [18:58] CIA-75 tikiwiki: 03robertplummer * r42469 10/branches/9.x/lib/payment/paymentlib.php: [FIX] forceanon was being set, not checked [18:59] CIA-75 tikiwiki: 03robertplummer * r42470 10/branches/9.x/lib/setup/absolute_urls.php: [ENH] Give http vars to global, making more stable and accessible elsewhere. [19:00] CIA-75 tikiwiki: 03robertplummer * r42471 10/branches/9.x/lib/registration/registrationlib.php: [FIX] Registration lib to global, so accessible elsewhere and follows current standard through tiki with other libs [19:01] CIA-75 tikiwiki: 03robertplummer * r42472 10/branches/9.x/templates/user/register.tpl: [ENH] Let ajax service have a smarty template to display data [19:32] dennmans joined #tikiwiki [20:11] panamaus jjg0th: in my experience, the file gallery determines a file's mime type by reading the header information embedded in the file at upload. Any file that it doesn't get to perform this function on, or which does not contain this data when it performs the function, it regards as "default" [20:12] panamaus It ignores file extensions and only cares about the mime header data it reads at upload. The only way I've found to correct this in a file is to fix the file's mime header information and upload it again through the wiki [20:13] panamaus To qualify this behavior as frustrating is quite an understatement. [20:15] panamaus And of course, if there's a mime type it doesn't recognize, that's "default" too. [20:27] dennmans left #tikiwiki [20:45] CIA-75 tikiwiki: 03robertplummer * r42473 10/branches/9.x/templates/modules/mod-login_box.tpl: [ENH] Allow for nobox and style when needed [20:53] CIA-75 tikiwiki: 03robertplummer * r42474 10/branches/9.x/ (7 files in 5 dirs): [NEW] Move tiki-register functionality into new smarty function {user_registration}, ensure standard registration works, and updated the module to use the same function [20:53] RobertPlummer Jyhem, Jyhem_laptop: You around? [20:56] goth joined #tikiwiki [21:12] lorinc joined #tikiwiki [21:12] lorinc polom [21:21] lorinc what to do about with special characters and htmlentities(); ? [21:22] Jyhem RobertPlummer: yes? [21:22] lorinc i have some text with characters outside the range encoded by htmlentities [21:23] lorinc see http://usefulwebtool.com/en/characters_hungarian.php or http://usefulwebtool.com/en/characters_czech.php for example [21:23] lorinc and also http://dev.tiki.org/HTMLentities [21:25] Jyhem_laptop lorinc: what do you need htmlentities for ? [21:26] lorinc they are used in img and carousel wikiplugins [21:26] RobertPlummer joined #tikiwiki [21:26] Jyhem_laptop Have you verified that you don't just need htmlspecialchars ? Usually what people actually need when using htmlentities [21:27] Jyhem_laptop oh :-( [21:27] lorinc Jyhem_laptop: its in the tiki source files, and giving me some headaches [21:27] lorinc ;) [21:27] Jyhem_laptop What happens when you enter hungarian chars? [21:27] lorinc grep htmlentities ./lib/* -R |grep -v ".svn" [21:27] CIA-75 tikiwiki: 03robertplummer * r42475 10/branches/9.x/lib/smarty_tiki/function.payment.php: [ROLLBACK] Accidental commit of some debug code [21:28] Jyhem_laptop I did not say it was not the case in Tiki :-( [21:28] lorinc Jyhem_laptop: i get erroneos html as output [21:28] lorinc Jyhem: stuff like, belsĹ‘építész [21:28] Jyhem_laptop such as ? [21:28] lorinc Jyhem_laptop: mind the Ĺ‘ [21:28] lorinc should be ő [21:29] Jyhem_laptop what is wrong with Ĺ‘ ? Looks like a perfectly valid UTF8 char and Tiki switched to UTF8 [21:29] lorinc php -r "echo htmlspecialchars('belsĹ‘ Ă©pĂ­tĂ©sz\n', null, 'utf-8');" [21:29] lorinc -> belsĹ‘ Ă©pĂ­tĂ©sz\n [21:30] Jyhem_laptop I have no idea why ő would be any better than Ĺ‘ [21:30] lorinc Jyhem_laptop: the mixing is wrong... should either be all utf-8, or all encoded [21:31] lorinc checkout this nice site running tiki9, carousel plugin on frontpage, with the referenced texts: http://angelikamuhly.com/ [21:31] Jyhem_laptop I would rather question the logic with changing é into é :-( [21:32] lorinc now check the source, line 188 with the carousel output, and search for "angelika muhly" on google, to get some double-encoded results in the description at google [21:32] lorinc and the reason for this bug is the htmlentities encoding only some parts of the utf-8 string, not all characters [21:33] lorinc htmlspecialchars would not change the utf-8 characters at all [21:34] lorinc best would be to have a wrapper for htmlentities , which does the whole encoding stuff [21:34] lorinc not only the official characters as in the official specs, but also other chars too [21:37] lorinc --- snip [21:40] Jyhem_laptop Really? I would have thought this is exactly a case where htmlspecialchars should replace htmlentities. Just leave utf8 chars alone in html pages and escape the actual special chars: <>&"' [21:41] Jyhem_laptop problem is, I am packing up for holidays, so no fix tonight from me. Anyone interested? Otherwise, bring it to the devel list, if you are in it [21:42] lorinc Jyhem_laptop: htmlentities is used , i guess , for xssprotection and interaction with javascript reasons [21:42] lorinc i get the devlist by mail, but i did not post for ages, dunno if i can get a message through [21:44] Jyhem_laptop yes, and xssprotection is for htmlspecialchars. htmlentities is just for conterting into htmlentities [21:45] lorinc i also added $html .= '"'; at line 227 in lib/wiki-plugins/wikiplugin_carousel.php to close the quote opened earlier [21:46] Jyhem_laptop the dangerous chars for xss are <>&'" not é [21:46] lorinc and replaced htmlentities with htmlspecialchars($file['BLAH'], ENT_QUOTES, 'UTF-8'); [21:46] lorinc the other libs in the source explicitly call the encoding [21:47] lorinc (prior to 5.4 htmlentities had default iso-8859-1 encoding, now its utf-8) [21:47] lorinc so if not specified htmlentities would encode strings interpreted as iso-8859-1, due to a setting on php side [21:48] lorinc so the ENT_QUOTES, 'UTF-8' part should be added wherever htmlentities is used, even though it might be replaced by htmlspecialchars [21:48] Jyhem_laptop yes, definitely. [21:49] Jyhem_laptop iso-8859-1 is for historical reasons when pages were in latin1 everywhere on the web. Now we support utf8 like everybody else, but php needs to keep compatibility with old scripts [21:50] lorinc yeye, but mind the docs, http://www.php.net/manual/en/function.htmlentities.php Like htmlspecialchars(), htmlentities() takes an optional third argument encoding which defines encoding used in conversion. If omitted, the default value for this argument is ISO-8859-1 in versions of PHP prior to 5.4.0, and UTF-8 from PHP 5.4.0 onwards. [21:50] lorinc 5.4 is not even stable on gentoo for example ;) [21:51] Jyhem_laptop htmlspecialchars($file['BLAH'], ENT_QUOTES, 'UTF-8'); looks quite good to me. [21:51] lorinc me too :) [21:51] lorinc i dont know if it messes with javascript stuff or not [21:52] Jyhem_laptop the only issue is javascript. I'm not sure that one is fully utf8. No time to check. [21:52] Jyhem_laptop same thoughts :) [21:53] lorinc thanks Jyhem for the shared mind and thinking :) [21:54] Jyhem_laptop no problem. Back to packing :-( [22:56] CIA-75 tikiwiki: 03robertplummer * r42476 10/branches/9.x/lib/smarty_tiki/function.payment.php: [REF] code cleanup to read easier [22:57] CIA-75 tikiwiki: 03robertplummer * r42477 10/branches/9.x/ (2 files in 2 dirs): [ENH] added periodslabel, because a "period" is just so general [23:00] CIA-75 tikiwiki: 03robertplummer * r42478 10/branches/9.x/templates/user_registration.tpl: [ENH] Added a couple helper classes for use with jquery if needed [23:01] CIA-75 tikiwiki: 03robertplummer * r42479 10/branches/9.x/lib/wiki-plugins/wikiplugin_registermemberpayment.php: [NEW] Added registermemberpayment wiki plugin, giving us the ability to register and give a member payment all in the same step