marclaporte: joined #tikiwiki
polom
TomJarvis: joined #tikiwiki
Working more with the docx Filegallery IE8 problem, I've found that if I upload using a browser other than IE8, then I can download the docx file
successfuly using IE8. The Filegallery saves the mime type on upload, and IE8 does not appear to supply the correct mime type.
So, I still think it is an IE8 problem.
RobertPlummer: left #tikiwiki
goj_killedByISP: joined #tikiwiki
jacmoe: joined #tikiwiki
Jenser: joined #tikiwiki
xavi: joined #tikiwiki
dennmans: joined #tikiwiki
jjg0th: joined #tikiwiki
hi
did anyone try netdrive on e.g. demo.tiki.org?
redflo: joined #tikiwiki
jjg0th: joined #tikiwiki
did anyone get "open as webfolder" working for tiki wiki? e.g. on demo.tiki.org/...?
I just see "empty content"
who implemented webdav for tiki wiki?
xavi: jjg0th: I tried webdav://demo.tiki.org/9x/tiki-webdav.php/ and it works
I was able to open the "File Galleries > main > tesdt.docx" in OOo 3.x through Dolphin file manager (KDE), and I could edit it and save changes directly to the webdav folder in demo.t.o/tiki9
plus edit a local file, and drag and drop on the webdav folder on tiki
etc
and my new file can be seen in demo.t.o/9x: tesdt.odt http://demo.tiki.org/9x/dl3
mmmm, oh wait, editing from local OOo 3.2 apparently worked, but the changes I saved didn't go to the webdav folder it seems
rodrigoprimo: joined #tikiwiki
xavi: anyway, jjg0th: your problem must be elsewhere if you just see "empty content"
-: xavi back to work
jjg0th: hmm
xavi: what software did you use?
I am using windows 7 and ff 13
did you install additional update/plugins/etc?
I changed the registry according to some documentation will reboot now, brb
joined #tikiwiki
re
xavi: anyway, thx for the answer
xavi: jjg0th: I'm using GNU/Linux as OS, KDE as window manager, and Dolphin as file explorer. See https://doc.tiki.org/WebDAV for more info on this, if needed
jjg0th: I've read this document like 50 times
and several others as well
xavi: ok, improve them if you can , please, then
jjg0th: roughly spent about 100 hours on this issue so far
so far only two softwares work for me on windows 7
cyberduck and webdrive
but with cyberduck I have mime type issues
xavi: jjg0th: there might be some bugs in the clients you use, and/or the server side part. Consider spending some money in some coder fixing whatever is affecting your use case
jjg0th: ok
who?
xavi: http://info.tiki.org/Consultants <- try this?
jjg0th: ok
but while trying this I will still try to solve this
the mime types work fine for demo.tiki.org
but not on my wiki server
xavi: or request help in the devel list of a consultant , to discuss offlist your needs, details, etc. Webdav seems to be too tricky, and specialized devs might be needed to help you
jjg0th: any ideas how mime types are set? and why demo.tiki.org (which uses the same confuguration I think) works and another server doesn't
xavi: good luck (beyond my dev skills: mime type and webdav)
jjg0th: if I get the same behaviour as demo.tiki.org that's already good enough
I think a main issue is that tiki uses a script instead of a simple web address
this confuses many client softwares
but anway, I just try to work with what is at hand so don't mind about that remark
the issue is about .docx files which on my server are stored as application/zip files but on demo.tiki.org they are stores as application/ms-word files, who "decides application/ms-word"?
if I access a file directly on my server (e.g. http://my_wiki_server/myfile.docx) it has the correct mime-type, it's just wrong for files uploaded with cyberduck/webdav, however for demo.tiki.org it seems to be ok again (?)
direct file gallery upload is fine as well
Jenser: joined #tikiwiki
left #tikiwiki
Tiki|bot: Recent Bug: Tracker item: #4269 - - Latex Equation as tracker field - http://dev.tiki.org/item4269
Jenser: joined #tikiwiki
RobertPlummer: joined #tikiwiki
polom all
found something interesting on the php.net site: http://php.net/manual/en/function.ldap-start-tls.php
"This function is currently not documented;" <- This is on the page of its documentation.
funny stuff
radek82: joined #tikiwiki
sandroandrade: joined #tikiwiki
dhazel: joined #tikiwiki
Tiki|bot: joined #tikiwiki
joined #tikiwiki
jacmoe: joined #tikiwiki
rodrigoprimo: joined #tikiwiki
benoitg: joined #tikiwiki
fabricius_: joined #tikiwiki
Tiki|bot: joined #tikiwiki
joined #tikiwiki
xavi: changi?
Tiki|bot: joined #tikiwiki
joined #tikiwiki
xavi: left #tikiwiki
Tiki|bot: joined #tikiwiki
CIA-75: tikiwiki: 03robertplummer * r42500 10/branches/9.x/ (lib/prefs/feature.php templates/admin/include_general.tpl): [NEW] Feature: alternate registration page
tikiwiki: 03robertplummer * r42501 10/branches/9.x/tiki-register.php: [NEW] Do actual redirect when set
tikiwiki: 03robertplummer * r42502 10/branches/9.x/lib/smarty_tiki/function.user_registration.php: [FIX] return if allowRegister != y
RobertPlummer: xavi, you around?
Any smarty specialists here?
changi: RobertPlummer: not a specialist but can help
RobertPlummer: changi: See my email on a headerlib smarty plugin
changi: RobertPlummer: Lph answer before me :)
RobertPlummer: awesome
jjgoth: joined #tikiwiki
goth: hi
I have a solution for my mime type problem
but I didn't figure out why it doesn't work for me but works for demo.tiki.org
anyone around?
the solution was to modify a certain .php file
but someone who understands better what it does should do it
changi: goth: which file ?
goth: essentially I extended the "fix mime-type based on extension" from only "application/octet-stream" to everything
sec
http://pastebin.com/qBmP7qi2
if it were to be applied the list should most probably be extended, resp. moved to another external file or something, to be honest I don't quite get the "mime" mechanism in tiki wiki
I installed a completely fresh tiki with exactly the same settings as the one on demo.tiki.org, I run an apache2 and it still is not working for me
-: goth is really curious what settings they use on demo.tiki.org
goth: in any case the above change fixes my issue for .docx files
hmm, it could use the mimetypes.php and just do: $filetype=$mimetypes[$suffix];
wouldn't that be much more elegant? That switch statement makes not much sense to me
hmm but ofc then the mimetypes.php has to be up-to-date (it is not atm), but there is a script there how to generate it, so that would be no problem
testing my solution, will submit patch, resp. post here
I think I finally start to understand the code a bit better
changi: still here?
changi: it's working perfectly for me and imo it makes sense, but the one who did the mime type extension fix for images or someone with more knowledge should have a look first..., will make a post on the tiki site
submited the change
(still to the old ticket)
fabricius: joined #tikiwiki
Polom
goth: hi
amette: how the fu%# do you infiltrate computers with HTML comments?!?!? http://go.bloomberg.com/multimedia/china-hackers-activity-logged-reveals-multiple-victims-worldwide/
Just asking here because there might be people here that have some more information about EU council hacks.... ;)
changi, Jyhem --^
Tiki|bot: joined #tikiwiki
jjgoth: amette: btw, I finally found a workaround for my mime issue => http://dev.tiki.org/item4268
amette: jjg0th: I don't know that part of the codebase too well... but as far as I see.... you are removing all the special handling and just write the determined mimetype to filetype....?!
Wondering what all this special stuff was... that was just because of file suffixes?
Tiki|bot: joined #tikiwiki
goth: for images
iirc
originally that part did this: IF filetype is application/octet-stream => Check the specified list of file extension, if it matches fix the filetype accordingly
now it does this: no matter what => fix the filetype according to the mimetypes.php
in both cases it only happens if "fix mimtype according to extension" was activated
hmm, I should have added a check to see if mimetype[$suffix] exist or not
amette: oooooooooooooohhhhhhh.....................................
hang on a moment! you say that docx is a ZIP-file... so that is application/octet-stream... so docx should be in the list of mimetypes that need fixing....!!?!!
now what I don't understand: why does it work on demo.t.o ?!
CIA-75: tikiwiki: 03marclaporte * r42503 10/branches/9.x/lib/prefs/feature.php: typo
changi: amette: it's not at the CoE :)
amette: changi: ah, ok... so is that whole story a hoax?! I don't get it at all, I have to admit... ;P
Click on the "European Union See more" and it talks about CoE
changi: amette: it's the european union council , not the council of europe
amette: aaaaaahhhhh....... why does that have to be so complicated??!? :P
ok, thanks, mate :)
CIA-75: tikiwiki: 03jonnybradley * r42504 10/branches/9.x/tiki-register.php: [FIX] registration: Prevent extraordinary endless redirect loop when feature_alternate_registration_page is set to it's default (be very careful updating production sites to 9.x at the moment!)
changi: because the main different between EU Council and the CoE, is that EU only operate in the 27 country of EU, Council Of europe operate on the european country
47 countries
:)
it's a big difference
amette: aaah.. ok, that was a good lesson to learn!! :)
couldn't they have more different names then? ;)
changi: In fact, in france we only talk about European Union, not the EU Council
:)
amette: yeah, that sounds easier to grasp :)
-: changi france is winning at BasketBall :)
amette: nice - whom are they playing?
who even
goth: the mime type fix was originally only made for images iirc, at least in the source php it restricts to type application/octet-... or so
i just say this fixes everything for me and might be a very simple fix for many people
amette: I understand that... still I'm unclear about the implications of this fix.
goth: me too
amette: the original author had some reason to do it this way (not meaning that this is the right way)
goth: how do you check if an array has an entry in php?
e.g. $mimetypes[$suffix]
amette: empty() ?
goth: amette: it might just be that he simply wanted to fix some issues with images and didn't realize that it could help a lot more
empty($mimetype[$suffix])?
amette: maybe
goth: I never did php before
amette: http://www.php.net is a very good resource
http://www.php.net/manual/de/function.empty.php
goth: ok, ok I tried to get around the rtfm ;)
amette: gotcha ;)
redflo: joined #tikiwiki
goth: if ($mimetype[$suffix]) seems to be enough for this purpose ^^
ok, changed, it also looks better now :)