←Prev date Next date→ Show only urls(Click on time to select a line by its url)

WhoWhatWhen
Treblyjoined #tikiwiki [00:32]
Trebly_joined #tikiwiki [00:45]
..... (idle for 20mn)
Skipjoined #tikiwiki
Greetings all! I've just got a (hopefully) quick question about the new 9.0 launch.
[01:05]
Trebly_joined #tikiwiki [01:06]
SkipIf I'm currently running 8.4, how hard is it to upgrade all of my existing content to the new 9.0 framework?
Trebly, I see you recently joined the channel! Are you by any chance familiar with installing Tiki 9.0?
Everyone's being really quiet :X
[01:06]
daniamjoined #tikiwiki [01:19]
..................... (idle for 1h43mn)
Treblyjoined #tikiwiki [03:02]
.... (idle for 15mn)
marclaportepolom [03:17]
gojjoined #tikiwiki [03:25]
............... (idle for 1h10mn)
Tiki|botjoined #tikiwiki [04:35]
.............................. (idle for 2h28mn)
CIA-75tikiwiki: 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:03]
.... (idle for 16mn)
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.) [07:19]
........... (idle for 51mn)
redflojoined #tikiwiki [08:10]
............................. (idle for 2h21mn)
PrezKennedyXjoined #tikiwiki [10:31]
........ (idle for 38mn)
Treblyjoined #tikiwiki [11:09]
..... (idle for 21mn)
Tiki|botNew Forum Posts: v9 LTS - Übersetzungsseite - http://tiki.org/tiki-view_forum_thread.php?forumId=10&comments_parentId=44421 [11:30]
...... (idle for 28mn)
marclaportehttp://www.wikisym.org/ws2012/ August 27-28-29, Linz, Austria [11:58]
jjg0thhi [12:10]
marclaportehi jjg0th [12:11]
jjg0thI'm trying to get .docx/.xlsx working
at the moment when I upload such files with webdav and later I try to download them they are recognized as .zip files
I set the mime types in apache's configuration
[12:11]
marclaportehmmmm [12:13]
jjg0thwhen I upload a file through tiki wiki it works [12:13]
marclaporte.docx/.xlsx also have an issue with content indexing. [12:13]
jjg0thbut when I upload through webdav it sets mime type to "default"????
well one needs a program to get the content
but at the moment I don't care about this
I can do this later
but to be unable to view .docx files is absolutely unacceptable for us here
almost everything is .docx
(I myself don't use it but I set up the wiki)
[12:13]
marclaportesame behavior in different webdav clients? [12:15]
jjg0ththat's the only one that works so far [12:19]
Bsfezjoined #tikiwiki [12:23]
........ (idle for 37mn)
rodrigoprimojoined #tikiwiki [13:00]
.... (idle for 17mn)
marclaportewhich is the only one that works?
Cyberduck, etc.
[13:17]
jjg0thcyberduck [13:19]
.... (idle for 18mn)
marclaportehmmm, so none of the others worked?
The Linux WebDAV client should work
(I think)
[13:37]
jjg0thI use windows at the office here
almost everyone uses windows
I need a really simple to use webdav client
it seems cyberduck is one of the most popular one
I don't understand what it has to do with mime types
I thought that was the task of apache
[13:37]
ricks99joined #tikiwiki [13:39]
Tiki|botNew Forum Posts: Can't edit nor view FAQ - http://tiki.org/tiki-view_forum_thread.php?forumId=6&comments_parentId=44422 [13:47]
ricks99polom y'all [13:55]
mikejoined #tikiwiki [14:08]
Guest___joined #tikiwiki
Hi,
[14:10]
jjg0thmarclaporte: so how do I get .docx to work? [14:10]
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:18]
ricks99Guest___: are you using phpmaill or smtp? [14:20]
Guest___phpmail [14:20]
ricks99can 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:21]
marclaportejjg0th: I don't know but first thing to figure out is : is the problem with Tiki or with CyberDuck [14:26]
Guest___ricks99: I used it functionality and test mail deliviered. [14:32]
ricks99hm... but not the registration mails?
what are your registration settings? do you require admin approval? do you have tiki attempting to validate the email server?
and what tiki version are you using?
[14:33]
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:38]
ricks99sorry, i don't understand? are you having problems with *registration* emails or *forgot password* emails being sent? [14:43]
Guest___ricks99: I have problem only with registration mail when I create new account. [14:46]
ricks99is the "sender" email that you configured an actual, valid email address on your server? [14:48]
Guest___ricks99: yes. sender email is correct. [14:53]
ricks99hm.. not sure. is there anything in your mail log explaining why the emails aren't being sent? have you modified any TPL files? [14:59]
radek82joined #tikiwiki [15:02]
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:05]
ricks99need to look in your php/host/server log [15:06]
jacmoejoined #tikiwiki [15:16]
vmachine1joined #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:17]
ricks99hm... looks like your mailer is dropping the email -- thinks the header is invalid?
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:19]
Guest___Ok, Thank for help. [15:22]
dhazeljoined #tikiwiki [15:24]
ricks99sorry i couldnt be more helpful :( [15:27]
blast_hardcheesejoined #tikiwiki [15:28]
mlaportejoined #tikiwiki
jjg0th: I suggest you ask on the dev list
Stéphane Casset and Sylvie Greverend are two most qualified to answer that question
[15:40]
Bsfezjoined #tikiwiki [15:42]
marclaportejoined #tikiwiki [15:53]
jjg0thI would prefer to solve it on irc if possible
who sets the mime type of a file I download?
where is it stored for example
[15:54]
marclaporteI don't know
and those 2 people are not online
[15:57]
ricks99jjg0th: on apache, you can set mime types in the mime.types file [15:58]
jjg0thok, I will try again later [15:58]
ricks99or in htaccess [15:58]
jjg0thricks99: if I set them there (which I did) should it work? [15:58]
ricks99y. may need to restart apache [15:58]
jjg0thor does it matter "how the file was uploaded"
at the moment files I upload get the mime type "default"
I wonder: who set that mime type?
besides it doesn't sound like any mime type ^^
[15:58]
ricks99sorry, i misundestood. i though you were tyring to set mime/type for downloads
for upload, depends on your browser and OS, iirc
[15:59]
jjg0thupload?
why are mime types involved in an upload
[16:00]
ricks9907[09:58] <jjg0th> 01or does it matter "how the file was uploaded"07[09:59] <jjg0th> 01at the moment files I upload get the mime type "default"07[09:59] <jjg0th> 01I wonder: who set that mime type? [16:00]
jjg0thwhat I meant was: [16:01]
ricks99thats what u asked ^^^ [16:01]
jjg0thwhen 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"
I wonder who "decided" that the mime type was "default"
[16:01]
ricks99iirc, it is "decided" by your app / os /webdav connection [16:03]
jjg0thso the mime type for the download is decided during the upload
?
is there no way that the wiki overwrites the mime type?
resp. takes control of it for webdav uploads
[16:07]
ricks99not sure. did you set mime in mime.types and htaccess? did u restart apache? [16:09]
vmachine1left #tikiwiki [16:10]
coaboajoined #tikiwiki [16:10]
GillesMleft #tikiwiki [16:19]
jjg0thI told my IT guys to change it
they told me that they restart apache
I have access to mime.types, there it is not changed
I assume he changed it in httpd.conf or something like that
[16:24]
ricks99where did they chagne it? [16:25]
..... (idle for 20mn)
jjg0thI don't have access to it
so it should have worked?
[16:45]
ricks99afaik [16:46]
CIA-75tikiwiki: 03robertplummer * r42467 10/branches/9.x/ (4 files in 3 dirs):
tikiwiki: [NEW] Service to create users, uses most of existing methods
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:50]
jjg0thI don't find it :(
but they told me they changed it, I wonder where...
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
[16:51]
redflojoined #tikiwiki [17:01]
...... (idle for 25mn)
benoitgjoined #tikiwiki [17:26]
............... (idle for 1h11mn)
dennmansjoined #tikiwiki [18:37]
..... (idle for 20mn)
CIA-75tikiwiki: 03robertplummer * r42468 10/branches/9.x/lib/core/Services/User/Controller.php: [FIX] Return the errors in array, success as string
tikiwiki: 03robertplummer * r42469 10/branches/9.x/lib/payment/paymentlib.php: [FIX] forceanon was being set, not checked
tikiwiki: 03robertplummer * r42470 10/branches/9.x/lib/setup/absolute_urls.php: [ENH] Give http vars to global, making more stable and accessible elsewhere.
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
tikiwiki: 03robertplummer * r42472 10/branches/9.x/templates/user/register.tpl: [ENH] Let ajax service have a smarty template to display data
[18:57]
....... (idle for 31mn)
dennmansjoined #tikiwiki [19:32]
........ (idle for 39mn)
panamausjjg0th: 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"
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
To qualify this behavior as frustrating is quite an understatement.
And of course, if there's a mime type it doesn't recognize, that's "default" too.
[20:11]
dennmansleft #tikiwiki [20:27]
.... (idle for 18mn)
CIA-75tikiwiki: 03robertplummer * r42473 10/branches/9.x/templates/modules/mod-login_box.tpl: [ENH] Allow for nobox and style when needed [20:45]
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]
RobertPlummerJyhem, Jyhem_laptop: You around? [20:53]
gothjoined #tikiwiki [20:56]
.... (idle for 16mn)
lorincjoined #tikiwiki
polom
[21:12]
what to do about with special characters and htmlentities(); ? [21:21]
JyhemRobertPlummer: yes? [21:22]
lorinci have some text with characters outside the range encoded by htmlentities
see http://usefulwebtool.com/en/characters_hungarian.php or http://usefulwebtool.com/en/characters_czech.php for example
and also http://dev.tiki.org/HTMLentities
[21:22]
Jyhem_laptoplorinc: what do you need htmlentities for ? [21:25]
lorincthey are used in img and carousel wikiplugins [21:26]
RobertPlummerjoined #tikiwiki [21:26]
Jyhem_laptopHave you verified that you don't just need htmlspecialchars ? Usually what people actually need when using htmlentities
oh :-(
[21:26]
lorincJyhem_laptop: its in the tiki source files, and giving me some headaches
;)
[21:27]
Jyhem_laptopWhat happens when you enter hungarian chars? [21:27]
lorincgrep htmlentities ./lib/* -R |grep -v ".svn" [21:27]
CIA-75tikiwiki: 03robertplummer * r42475 10/branches/9.x/lib/smarty_tiki/function.payment.php: [ROLLBACK] Accidental commit of some debug code [21:27]
Jyhem_laptopI did not say it was not the case in Tiki :-( [21:28]
lorincJyhem_laptop: i get erroneos html as output
Jyhem: stuff like, belső&eacute;p&iacute;t&eacute;sz
[21:28]
Jyhem_laptopsuch as ? [21:28]
lorincJyhem_laptop: mind the Å‘
should be &#337;
[21:28]
Jyhem_laptopwhat is wrong with Å‘ ? Looks like a perfectly valid UTF8 char and Tiki switched to UTF8 [21:29]
lorincphp -r "echo htmlspecialchars('belső építészn', null, 'utf-8');"
-> belső építészn
[21:29]
Jyhem_laptopI have no idea why &#337; would be any better than Å‘ [21:30]
lorincJyhem_laptop: the mixing is wrong... should either be all utf-8, or all encoded
checkout this nice site running tiki9, carousel plugin on frontpage, with the referenced texts: http://angelikamuhly.com/
[21:30]
Jyhem_laptopI would rather question the logic with changing é into &eacute; :-( [21:31]
lorincnow 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
and the reason for this bug is the htmlentities encoding only some parts of the utf-8 string, not all characters
htmlspecialchars would not change the utf-8 characters at all
best would be to have a wrapper for htmlentities , which does the whole encoding stuff
not only the official characters as in the official specs, but also other chars too
--- snip
[21:32]
Jyhem_laptopReally? 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: <>&"'
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:40]
lorincJyhem_laptop: htmlentities is used , i guess , for xssprotection and interaction with javascript reasons
i get the devlist by mail, but i did not post for ages, dunno if i can get a message through
[21:42]
Jyhem_laptopyes, and xssprotection is for htmlspecialchars. htmlentities is just for conterting into htmlentities [21:44]
lorinci also added $html .= '"'; at line 227 in lib/wiki-plugins/wikiplugin_carousel.php to close the quote opened earlier [21:45]
Jyhem_laptopthe dangerous chars for xss are <>&'" not é [21:46]
lorincand replaced htmlentities with htmlspecialchars($file['BLAH'], ENT_QUOTES, 'UTF-8');
the other libs in the source explicitly call the encoding
(prior to 5.4 htmlentities had default iso-8859-1 encoding, now its utf-8)
so if not specified htmlentities would encode strings interpreted as iso-8859-1, due to a setting on php side
so the ENT_QUOTES, 'UTF-8' part should be added wherever htmlentities is used, even though it might be replaced by htmlspecialchars
[21:46]
Jyhem_laptopyes, definitely.
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:48]
lorincyeye, 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.
5.4 is not even stable on gentoo for example ;)
[21:50]
Jyhem_laptophtmlspecialchars($file['BLAH'], ENT_QUOTES, 'UTF-8'); looks quite good to me. [21:51]
lorincme too :)
i dont know if it messes with javascript stuff or not
[21:51]
Jyhem_laptopthe only issue is javascript. I'm not sure that one is fully utf8. No time to check.
same thoughts :)
[21:52]
lorincthanks Jyhem for the shared mind and thinking :) [21:53]
Jyhem_laptopno problem. Back to packing :-( [21:54]
............. (idle for 1h2mn)
CIA-75tikiwiki: 03robertplummer * r42476 10/branches/9.x/lib/smarty_tiki/function.payment.php: [REF] code cleanup to read easier
tikiwiki: 03robertplummer * r42477 10/branches/9.x/ (2 files in 2 dirs): [ENH] added periodslabel, because a "period" is just so general
tikiwiki: 03robertplummer * r42478 10/branches/9.x/templates/user_registration.tpl: [ENH] Added a couple helper classes for use with jquery if needed
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
[22:56]

←Prev date Next date→ Show only urls(Click on time to select a line by its url)