*** ccomb1 has quit IRC | 00:28 | |
*** m8 has quit IRC | 01:09 | |
*** jotaeme has quit IRC | 01:12 | |
*** jotaeme has joined #zope | 02:47 | |
*** _mrtango_ has quit IRC | 03:01 | |
*** jotaeme has quit IRC | 03:06 | |
*** daMaestro has quit IRC | 03:39 | |
*** davisagli has quit IRC | 04:38 | |
*** davisagli has joined #zope | 04:40 | |
*** davisagli has quit IRC | 04:47 | |
*** davisagli has joined #zope | 04:48 | |
*** davisagli has quit IRC | 05:03 | |
*** davisagli has joined #zope | 05:03 | |
*** zagy has quit IRC | 05:49 | |
*** zagy has joined #zope | 05:55 | |
*** davisagli has quit IRC | 06:04 | |
*** davisagli has joined #zope | 06:05 | |
*** davisagli has quit IRC | 06:07 | |
*** davisagli has joined #zope | 06:09 | |
*** sm has quit IRC | 06:50 | |
*** sm has joined #zope | 06:51 | |
*** sm has quit IRC | 06:52 | |
*** sm has joined #zope | 06:52 | |
*** sm has quit IRC | 06:57 | |
*** alecm has joined #zope | 07:10 | |
*** alecm has joined #zope | 07:10 | |
*** jotaeme has joined #zope | 08:02 | |
*** zagy has quit IRC | 08:16 | |
*** davisagli has quit IRC | 08:20 | |
*** davisagli has joined #zope | 08:20 | |
*** _mrtango_ has joined #zope | 08:49 | |
*** __mac__ has joined #zope | 09:05 | |
*** zagy has joined #zope | 09:07 | |
*** __mac__ has quit IRC | 09:10 | |
*** __mac__ has joined #zope | 09:14 | |
*** hever has joined #zope | 09:26 | |
*** hever has quit IRC | 09:28 | |
*** hever has joined #zope | 09:29 | |
*** Wu has joined #zope | 09:29 | |
*** bigkevmcd has joined #zope | 09:30 | |
*** hever has quit IRC | 09:38 | |
*** hever has joined #zope | 09:39 | |
*** hever has quit IRC | 09:41 | |
*** hever has joined #zope | 09:43 | |
*** tisto has joined #zope | 09:49 | |
*** hever has quit IRC | 09:53 | |
*** hever has joined #zope | 09:54 | |
*** hever has quit IRC | 09:59 | |
*** hever has joined #zope | 10:00 | |
*** hever has quit IRC | 10:02 | |
*** hever has joined #zope | 10:04 | |
*** planetzopebot has quit IRC | 10:08 | |
*** planetzopebot has joined #zope | 10:08 | |
*** menesis has joined #zope | 10:15 | |
*** hever has quit IRC | 10:19 | |
*** hever_ has joined #zope | 10:20 | |
*** hever_ has quit IRC | 10:21 | |
*** hever_ has joined #zope | 10:23 | |
*** goschtl has joined #zope | 10:24 | |
*** jakke has joined #zope | 10:28 | |
*** allisterb has quit IRC | 10:32 | |
*** jotaeme has quit IRC | 10:34 | |
*** eperez has joined #zope | 10:35 | |
*** avoinea has joined #zope | 10:43 | |
*** allisterb has joined #zope | 10:50 | |
*** goschtl_ has joined #zope | 10:58 | |
*** goschtl has quit IRC | 10:58 | |
*** goschtl_ is now known as goschtl | 10:58 | |
*** mitchell`off is now known as mitchell` | 11:17 | |
*** do3cc has joined #zope | 12:00 | |
*** avoinea has quit IRC | 12:00 | |
*** sylvain has joined #zope | 12:00 | |
*** TomBlockley has joined #zope | 12:03 | |
*** avoinea has joined #zope | 12:23 | |
*** evilbungle has joined #zope | 12:27 | |
*** menesis has quit IRC | 12:30 | |
*** teix has joined #zope | 12:39 | |
*** d2m has joined #zope | 13:09 | |
*** sylvain_ has joined #zope | 13:14 | |
*** sylvain has quit IRC | 13:15 | |
*** goschtl has quit IRC | 13:15 | |
*** menesis has joined #zope | 13:16 | |
*** goschtl has joined #zope | 13:51 | |
*** ccomb has joined #zope | 13:59 | |
*** hever_ has quit IRC | 14:23 | |
*** tisto is now known as tisto|lunch | 14:32 | |
*** ccomb1 has joined #zope | 14:36 | |
*** ccomb has quit IRC | 14:38 | |
*** benji has joined #zope | 14:49 | |
*** Wu has quit IRC | 14:57 | |
*** goschtl has quit IRC | 14:59 | |
*** goschtl has joined #zope | 14:59 | |
*** ccomb1 is now known as ccomb | 15:07 | |
*** srichter has joined #zope | 15:12 | |
*** dayne has joined #zope | 15:12 | |
*** hever_ has joined #zope | 15:27 | |
*** hever_ has quit IRC | 15:43 | |
*** hever has joined #zope | 15:45 | |
*** hever_ has joined #zope | 15:56 | |
*** hever_ has quit IRC | 15:57 | |
*** hever_ has joined #zope | 15:59 | |
*** hever has quit IRC | 15:59 | |
*** hever_ has quit IRC | 15:59 | |
*** hever has joined #zope | 16:00 | |
*** hever has quit IRC | 16:02 | |
*** hever has joined #zope | 16:02 | |
*** hever_ has joined #zope | 16:04 | |
*** hever has quit IRC | 16:04 | |
*** hever has joined #zope | 16:06 | |
*** menesis has quit IRC | 16:12 | |
*** sp0cksbeard has joined #zope | 16:14 | |
*** supton has joined #zope | 16:16 | |
*** menesis has joined #zope | 16:17 | |
*** eperez has quit IRC | 16:19 | |
*** tisto|lunch is now known as tisto | 16:27 | |
*** hever_ has quit IRC | 16:28 | |
*** hever has quit IRC | 16:28 | |
*** hever has joined #zope | 16:29 | |
*** hever has quit IRC | 16:30 | |
*** hever has joined #zope | 16:32 | |
*** hever_ has joined #zope | 16:54 | |
*** hever_ has quit IRC | 16:55 | |
*** hever_ has joined #zope | 16:57 | |
*** hever_ has quit IRC | 17:11 | |
*** hever has quit IRC | 17:11 | |
*** hever has joined #zope | 17:11 | |
*** Wu has joined #zope | 17:12 | |
*** hever has quit IRC | 17:13 | |
*** hever has joined #zope | 17:15 | |
*** redir has quit IRC | 17:32 | |
*** daMaestro has joined #zope | 17:52 | |
*** do3cc has quit IRC | 17:55 | |
*** ccomb has quit IRC | 17:56 | |
*** supton has quit IRC | 17:57 | |
*** ccomb has joined #zope | 17:59 | |
*** thevishy has joined #zope | 18:03 | |
*** J1m has joined #zope | 18:06 | |
thevishy | does anyone know why Zope is adding base href ? This is a bit old version | 18:17 |
---|---|---|
betabug | there were some discussions, years ago | 18:17 |
betabug | IIRC it's a good thing | 18:18 |
thevishy | right betabug , is it removed in later versions ? | 18:18 |
kosh | it actually helps a lot | 18:18 |
kosh | it prevents confusion in web browsers | 18:18 |
kosh | no the latest 2.13 still does it | 18:18 |
betabug | and if your VHM etc is set up fine, there never is a problem with it | 18:18 |
*** hever_ has joined #zope | 18:18 | |
kosh | it allows things like relative urls to be processed correctly | 18:18 |
kosh | and saved pages to load correctly | 18:19 |
kosh | it is a good idea to have it | 18:19 |
thevishy | right but I have a question <base href="http://192.168.11.22:7001/cms/++resource++jscripts/tiny_mce/plugins/advimage/image.htm/" /> | 18:19 |
*** dayne has quit IRC | 18:19 | |
thevishy | this breaks the image.htm's reference | 18:19 |
thevishy | I mean , image.html is coded to have its scripts located at ../../ | 18:20 |
thevishy | This one makes it one folder extra | 18:20 |
kosh | that does not make sense | 18:20 |
thevishy | ok let me rephrase , tinymce is an editor | 18:20 |
kosh | you should not EVER be hand coding urls for things like images | 18:20 |
*** hever_ has quit IRC | 18:20 | |
thevishy | nope not that | 18:20 |
kosh | you need to ask zope for the url to the file, image etc | 18:20 |
thevishy | tinymce editor has a plugin that OPENS this html | 18:21 |
kosh | however there is a major suggestion I have for you on this get rid of ++resource++ stuff entirely, don't even put it on zope | 18:21 |
kosh | put all the stuff on something like amazon s3 and set a forever caching time on it | 18:21 |
thevishy | so when I click on that plugin , image.htm pops up and its appended with a base href=<base href="http://192.168.11.22:7001/cms/++resource++jscripts/tiny_mce/plugins/advimage/image.htm/" /> | 18:21 |
*** hever_ has joined #zope | 18:21 | |
thevishy | if that line is not there , I will be able to view everything fine | 18:22 |
thevishy | kosh: right , ours is a web app | 18:22 |
kosh | there is probably a config issue of some kind that is wrong however it is still much better to not host static resources like that from zope | 18:22 |
thevishy | we are deploying this at clients place | 18:22 |
_mup_ | Bug #812352 was filed: Support WebTest's extra_environ in wsgi.Browser <zope.testbrowser:New> < https://launchpad.net/bugs/812352 > | 18:23 |
kosh | so does that mean you can't use s3? | 18:23 |
betabug | usually if base href is wrong, then it's because your rewriterule for the VHM is wrong | 18:23 |
thevishy | I see | 18:23 |
kosh | well in normal deployment you put a server behind something like apache or nginx and I highly recommend nginx | 18:23 |
kosh | in that case have apache/nginx server the static content and leave zope out of it | 18:23 |
thevishy | Right , that is indeed a better approach , but for some reason we are still following this method | 18:24 |
thevishy | buyt tinymce needs to be made to a Python product no ? | 18:24 |
kosh | no it does not need to be | 18:24 |
thevishy | its a bunch of JS files and html files , along with some images | 18:25 |
kosh | it is just that zope is not realy set up for serving static resources like this | 18:25 |
thevishy | I see | 18:25 |
kosh | I ran into some problems trying to use ++resource++ stuff for other things but mostly it ended up being far too complex | 18:25 |
thevishy | but some features like spell check are implemented in python | 18:25 |
*** sm has joined #zope | 18:25 | |
thevishy | we do some backend in Python for spellchecker feature of this tinymce product | 18:25 |
kosh | if you already have the files on the filesystem then getting something like nginx to serve it makes mose sense | 18:26 |
thevishy | right | 18:26 |
kosh | where the spellchecker is located should have nothing to do with where the static files are served from | 18:26 |
kosh | tiny_mce should just have some kind of config in it for where the url for the spellchecking stuff is at, and you could have zope run that part | 18:26 |
thevishy | I see | 18:26 |
thevishy | yes it does have url | 18:27 |
thevishy | I would have preferred that approach | 18:27 |
thevishy | so how do I refer it from Zope ? | 18:27 |
thevishy | Or just not needed even | 18:28 |
*** ccomb has quit IRC | 18:28 | |
kosh | what I probably would do is server it from s3 or nginx with a url like /tiny_mce/version_of_tine_mce/files that way you can set them to cache for 30 years and just change the url when a new version is updated | 18:28 |
kosh | massive speed improvements that way | 18:28 |
thevishy | right | 18:29 |
thevishy | thats true | 18:29 |
kosh | you should just be able to tell it the url in zope that will run your spellcheck, should not be any harder then that along with including the correct js files in the places you want | 18:29 |
thevishy | and in dtml I should refer to that "outside" url of tiny_mce js files ? | 18:29 |
thevishy | instaed of this resource | 18:29 |
kosh | I have had some pages that use more advanced editors and when I had zope serving the files and no caching stuff set the page was taking about 6-8 seconds to draw, when I moved the stuff to being cached for 30 years the page time dropped to about .5 seconds for non new visits | 18:30 |
thevishy | thats is the correct apprach no ? | 18:30 |
kosh | yeah just refer to that url for your js files | 18:30 |
thevishy | Ah kosh | 18:30 |
kosh | no different then when you include jquery from stuff like the google cdn | 18:30 |
thevishy | yes , it indeed was the better approach wonder why we didnt use it | 18:31 |
kosh | because you definitely don't want to be serving jquery, jquery-ui, themes and other stuff yourself | 18:31 |
thevishy | thanks | 18:31 |
thevishy | will check and be back | 18:31 |
kosh | okay | 18:31 |
*** thevishy has quit IRC | 18:31 | |
kosh | betabug: so how is your day going? | 18:31 |
betabug | coding like crazy lately | 18:32 |
kosh | I should be going into the university today to get some paperwork done and get the last few steps out of the way for taking classes :) | 18:32 |
betabug | cool! | 18:32 |
kosh | and the person in charge of admissions for the engineering program I am going into has said I don't have to retake any of my old classes :) | 18:35 |
betabug | that's good! | 18:36 |
kosh | yup because it will cut some time off getting the degree | 18:37 |
kosh | and once I get that degree done I doubt I will touch web programming again :) | 18:41 |
kosh | I am not sure which is more annoying nanotech or IE compatibility but I am willing to take the risk on nanotech :) | 18:42 |
*** goschtl has quit IRC | 18:43 | |
*** __mac__ has quit IRC | 18:45 | |
*** tiwula has joined #zope | 19:02 | |
*** Wu has quit IRC | 19:05 | |
*** redir has joined #zope | 19:08 | |
*** supton has joined #zope | 19:11 | |
*** menesis has quit IRC | 19:19 | |
*** hever_ has quit IRC | 19:20 | |
*** Spanktar has joined #zope | 19:26 | |
*** m8 has joined #zope | 19:32 | |
*** digitalmortician has joined #zope | 19:34 | |
*** mitchell` is now known as mitchell`off | 19:41 | |
sm | oh great that's all we need.. kosh in charge of the GRAY GOO | 19:44 |
sm | good day all :) | 19:44 |
kosh | hehe | 19:45 |
kosh | sm: I promise I won't let it get out of control until after I leave the planet :) | 19:45 |
sm | the lab technician's always the first to go :/ | 19:45 |
kosh | the nanites will be like all other computer systems and work nicely for me | 19:46 |
kosh | someone told me before the reason that computers work so well for me is that computers won't rebel against their own kind :) | 19:46 |
sm | hehehe.. "I can't see what you're all complaining about, they always work for ME" | 19:47 |
kosh | see now you understand | 19:49 |
kosh | when I was back in school the first time I even had physics experiments that worked when I stood next to them and stopped when I moved away | 19:49 |
kosh | one of the professors it worked for also but nobody else | 19:49 |
kosh | just like computer systems that only work when the right person is next to them :) | 19:52 |
sm | kosh: nifty. Does it work for non-technical systems too ? | 20:06 |
kosh | I have not tried that one | 20:07 |
*** TomBlockley has quit IRC | 20:10 | |
*** menesis has joined #zope | 20:15 | |
*** sylvain_ has quit IRC | 20:21 | |
*** evilbungle has quit IRC | 20:34 | |
*** davisagli has quit IRC | 20:37 | |
*** davisagli has joined #zope | 20:37 | |
*** __mac__ has joined #zope | 20:49 | |
*** evilbungle has joined #zope | 21:04 | |
*** ccomb has joined #zope | 21:08 | |
*** d2m has quit IRC | 21:11 | |
*** d2m has joined #zope | 21:25 | |
*** tisto has quit IRC | 21:30 | |
*** benji is now known as Guest43852 | 21:32 | |
*** benji_ has joined #zope | 21:32 | |
*** sm has quit IRC | 21:32 | |
*** Guest43852 has quit IRC | 21:34 | |
*** teix has quit IRC | 22:04 | |
*** rbanffy has joined #zope | 22:07 | |
*** avoinea has quit IRC | 22:16 | |
*** benji has joined #zope | 22:19 | |
*** benji_ has quit IRC | 22:19 | |
*** menesis has quit IRC | 22:31 | |
*** evilbungle has quit IRC | 22:36 | |
*** shastry has joined #zope | 22:42 | |
*** __mac__ has quit IRC | 22:59 | |
*** hever has quit IRC | 23:31 | |
*** d2m has left #zope | 23:32 | |
*** avoinea has joined #zope | 23:38 | |
*** ccomb has quit IRC | 23:40 | |
*** hever has joined #zope | 23:57 | |
*** bigkevmcd has quit IRC | 23:59 | |
*** bigkevmcd has joined #zope | 23:59 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!