--- Log opened Wed Jun 01 00:00:01 2011 | ||
-!- jigou [cf6c2296@gateway/web/freenode/ip.207.108.34.150] has quit [Ping timeout: 252 seconds] | 00:10 | |
-!- andyiomoon1 [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui | 00:11 | |
-!- andyiomoon1 [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Client Quit] | 00:11 | |
CIA-68 | webgui: Paul Driver master * r181f21a / (9 files in 6 dirs): WebGUI::Event - http://bit.ly/k53hWR | 00:14 |
---|---|---|
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Ping timeout: 244 seconds] | 00:14 | |
-!- qwebirc17138 [47c47f14@gateway/web/freenode/ip.71.196.127.20] has quit [Ping timeout: 252 seconds] | 00:28 | |
+perlDreamer | why do we need two APIs for triggering events in WebGUI? Spectre and WebGUI::Event? | 00:32 |
@scrottie | the problem is, I think you're thinking that Spectre should take over for WebGUI::Event whereas I'm more of the mindset of what could take over for Spectre. | 00:38 |
@scrottie | Spectre's demise is being plotted and if that means keeping various systems around in branches and forks and dev versions, we may have to do that. also, what's WebGUI::Event? | 00:39 |
+perlDreamer | http://bit.ly/k53hWR | 00:39 |
+perlDreamer | WebGUI::Event is a way for people to define triggers to be called from inside WebGUI | 00:42 |
+perlDreamer | except it doesn't add any default triggers to the config file | 00:42 |
+perlDreamer | so I hope it falls back correctly | 00:42 |
+perlDreamer | s/correctly/quietly/ | 00:42 |
@preaction | perlDreamer: the idea here is that WebGUI::Event defines where an event happens. In the future, Workflows will be triggered by Events | 00:43 |
+perlDreamer | you still have to put a call to fire anywhere you want a trigger | 00:43 |
@preaction | i've got a plan to write what i'm grandiosely referring to as a "vision document" | 00:43 |
+perlDreamer | and you have to tell it which trigger name to fire | 00:43 |
@preaction | yes, but it's fire "Something"; instead of # Get a workflow. # Give it info. # Fire it | 00:44 |
@preaction | it's a smaller API | 00:44 |
@preaction | and yes, right now they both co-exist because we don't have time to rip the old one out yet. so it's a smooth transition like the other three or four transitions we're doing | 00:44 |
+perlDreamer | there's more coming? | 00:44 |
@preaction | template toolkit is one | 00:46 |
@preaction | plack is another | 00:46 |
@preaction | we haven't done everything | 00:46 |
@preaction | formbuilder is another | 00:46 |
@preaction | we've got new APIs in place, but not everything is using them yet | 00:47 |
+perlDreamer | that's all coming back to 7.10, too? | 00:47 |
@preaction | no | 00:47 |
kthakore | ugh sooooo sick | 01:09 |
kthakore | and it is sooo hot | 01:09 |
* kthakore just woke up after 20 hrs of nappy | 01:09 | |
kthakore | I am sorry guys I am falling behind on that ticket I will do more this week. | 01:09 |
CIA-68 | webgui: Colin Kuskie webgui-7.9 * rb4dd234 / lib/WebGUI/Asset/Story.pm : Remove old debug content. - http://bit.ly/m4CgZy | 01:14 |
CIA-68 | webgui: Colin Kuskie webgui-7.9 * r5503e00 / (4 files in 4 dirs): Fix photo JSON handling in the story, where the data is cached incorrectly. Fixes bug #12136 - http://bit.ly/kHcI47 | 01:14 |
CIA-68 | webgui: Colin Kuskie webgui-7.9 * r9ecbaf7 / t/Asset/Post/Thread/bug_12142_duplicate.t : Fix problems with tests for bugfix 12142. - http://bit.ly/ktJZsp | 01:14 |
-!- sbaur [~Adium@130.157.145.37] has quit [Ping timeout: 240 seconds] | 01:31 | |
-!- sbaur [~Adium@130.157.145.37] has joined #webgui | 01:37 | |
CIA-68 | webgui: Colin Kuskie master * rb872694 / lib/WebGUI/Asset/Story.pm : Remove old debug content. - http://bit.ly/iQsWHt | 01:39 |
CIA-68 | webgui: Colin Kuskie master * rab1b6aa / (3 files in 3 dirs): Fix photo JSON handling in the story, where the data is cached incorrectly. Fixes bug #12136 - http://bit.ly/kqv8al | 01:39 |
CIA-68 | webgui: Colin Kuskie master * r11b33eb / t/Asset/Post/Thread/bug_12142_duplicate.t : Fix problems with tests for bugfix 12142. - http://bit.ly/lyotco | 01:39 |
CIA-68 | webgui: Colin Kuskie master * rb866601 / t/Asset/Story.t : Fix the number of tests in Story.t, Test::Harness 3.x cannot come quickly enough. - http://bit.ly/l1Asxs | 01:39 |
-!- sbaur [~Adium@130.157.145.37] has quit [Quit: Leaving.] | 02:27 | |
@scrottie | kthakore, get well! | 02:48 |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 02:50 | |
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has quit [Quit: Leaving.] | 03:00 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 03:01 | |
@scrottie | this sounds like aspect oriented programming... | 03:46 |
-!- pbcj [~pbcj@71.90.6.215] has quit [] | 04:13 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Quit: Leaving.] | 04:27 | |
-!- knowmad [~knowmad@99-112-245-79.lightspeed.chrlnc.sbcglobal.net] has joined #webgui | 04:28 | |
-!- knowmad [~knowmad@99-112-245-79.lightspeed.chrlnc.sbcglobal.net] has left #webgui [] | 06:39 | |
CIA-68 | webgui: Colin Kuskie master * r197f94c / (3 files in 3 dirs): Fix gateway url handling in the RenderThingData macro. Fixes one part of #12133. - http://bit.ly/jTmukV | 07:29 |
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has joined #webgui | 07:34 | |
-!- mode/#webgui [+o pbcj] by ChanServ | 07:34 | |
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has quit [] | 07:47 | |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui | 09:02 | |
-!- mode/#webgui [+v BartJol] by ChanServ | 09:02 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Ping timeout: 250 seconds] | 09:14 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 09:17 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Ping timeout: 248 seconds] | 10:02 | |
-!- ryuu_ro [~rory@D57D69B6.static.ziggozakelijk.nl] has joined #webgui | 10:02 | |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui | 10:12 | |
-!- ryuu_ro [~rory@D57D69B6.static.ziggozakelijk.nl] has quit [Quit: ryuu_ro] | 10:18 | |
-!- ryuu_ro [~rory@D57D69B6.static.ziggozakelijk.nl] has joined #webgui | 10:22 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 11:29 | |
andyiomoon | hello nightowls | 11:45 |
andyiomoon | quick question for the experience webguiers | 11:45 |
andyiomoon | importing large packages - anyone had any success? | 11:46 |
andyiomoon | at the moment I am trying to import a sizeable package and it gets about 1/3 of the way through before stopping | 11:46 |
andyiomoon | all the while it is hammering the server | 11:47 |
+BartJol | andyiomoon: maybe it is larger than the max upload size | 11:47 |
+BartJol | how big is it? | 11:47 |
andyiomoon | 392kb | 11:48 |
-!- wgGuest28 [~wgGuest28@56.95.87.79.rev.sfr.net] has joined #webgui | 12:08 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Quit: Leaving.] | 12:09 | |
wgGuest28 | hi all. I'm discovering webgui. Mysql is already installed on my host and I'd like to use it for all the apps, webgui included. How to install webgui with the existing mysql ? | 12:13 |
+BartJol | you can just make the config file refer to your db | 12:14 |
+BartJol | there is a create.sql in the documents | 12:15 |
+BartJol | import that | 12:15 |
+BartJol | and prolly make some changes in the wre | 12:16 |
ryuu_ro | http://www.webgui.org/community-wiki/mysql-installation-options | 12:16 |
+BartJol | so you're sure you don't use the wre mysql | 12:16 |
wgGuest28 | thank you, i'm going to check that (/data/webgui/etc/*.conf file) | 12:18 |
wgGuest28 | do you advise me to use the wre installer or have i to install webgui manually (centos 5.5 32bit) | 12:33 |
ryuu_ro | I recommend the WRE | 12:34 |
wgGuest28 | ok | 12:35 |
-!- carogray [~Caroline@173-143-2-80.pools.spcsdns.net] has joined #webgui | 12:51 | |
-!- carogray [~Caroline@173-143-2-80.pools.spcsdns.net] has quit [Ping timeout: 258 seconds] | 12:57 | |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Excess Flood] | 12:57 | |
-!- andyiomoon1 [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui | 12:58 | |
-!- andyiomoon1 [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Excess Flood] | 13:01 | |
-!- andyiomoon1 [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui | 13:01 | |
-!- carogray [~Caroline@70-14-85-68.pools.spcsdns.net] has joined #webgui | 13:02 | |
-!- carogray [~Caroline@70-14-85-68.pools.spcsdns.net] has quit [Ping timeout: 252 seconds] | 13:06 | |
wgGuest28 | @BartJol: there's no create.sql in the archive (i checked wre/docs etc). | 13:07 |
+BartJol | it is in /data/WebGUI/docs/ | 13:08 |
+BartJol | or, at least in the WebGUI dir | 13:08 |
+BartJol | because it changes with version, the wre doesn't | 13:09 |
+BartJol | (only if new requirements are necessary) | 13:09 |
wgGuest28 | oh sorry, i was only in wre dir. Ok, i find it. | 13:11 |
-!- carogray [~Caroline@184-200-130-6.pools.spcsdns.net] has joined #webgui | 13:12 | |
wgGuest28 | I imported sql. Have I to change DSN config in WRE ? | 13:16 |
+BartJol | no, in a WebGUI conf file | 13:18 |
+BartJol | maybe for backups in the wre.conf | 13:18 |
-!- carogray [~Caroline@184-200-130-6.pools.spcsdns.net] has quit [Ping timeout: 276 seconds] | 13:19 | |
wgGuest28 | ok, i've just uncommented Mysql lines in wreservice.pl too to prevent it to start its own mysql. | 13:20 |
wgGuest28 | rather commented | 13:21 |
-!- carogray [~Caroline@173-112-223-251.pools.spcsdns.net] has joined #webgui | 13:24 | |
wgGuest28 | @BartJol: I adjusted WebGUI.conf (impressive file), in its db section. What's the next step ? Have I to restart the wre installer ? Or start the app? Thank you very much in advance | 13:33 |
-!- carogray [~Caroline@173-112-223-251.pools.spcsdns.net] has quit [Ping timeout: 240 seconds] | 13:47 | |
-!- carogray1 [~Caroline@184-201-239-118.pools.spcsdns.net] has joined #webgui | 13:51 | |
+BartJol | I think you can start it (if you have the site's modperl and modproxy confs | 13:56 |
-!- carogray [~Caroline@184-201-239-118.pools.spcsdns.net] has joined #webgui | 13:56 | |
-!- carogray1 [~Caroline@184-201-239-118.pools.spcsdns.net] has quit [Read error: Connection reset by peer] | 13:56 | |
+BartJol | there is an addsite script in the wre sbin dir | 13:56 |
wgGuest28 | ok, i simply started wreconsole.pl and i see now a "webgui" test site in the panel. I suppose that the external mysql config works now. But as you say, I've to fix modperl and modproxy confs. | 13:57 |
+BartJol | also, run testEnvironment in WebGUI/sbin | 13:57 |
+BartJol | wre might not have all required perlodules | 13:58 |
+BartJol | perl modules | 13:58 |
-!- carogray1 [~Caroline@68-246-208-130.pools.spcsdns.net] has joined #webgui | 13:59 | |
wgGuest28 | I did it, all was ok but I had to make a force install for DBD:MySQL. | 13:59 |
wgGuest28 | I've to fix modperl,modproxy conf. | 13:59 |
+BartJol | yeah, and add a site specific conf | 14:00 |
wgGuest28 | ok, I've to eat now and come back, thank you again ;-) | 14:00 |
-!- carogray [~Caroline@184-201-239-118.pools.spcsdns.net] has quit [Ping timeout: 240 seconds] | 14:00 | |
-!- carogray1 [~Caroline@68-246-208-130.pools.spcsdns.net] has quit [Ping timeout: 258 seconds] | 14:13 | |
-!- carogray [~Caroline@108.97.106.231] has joined #webgui | 14:19 | |
-!- carogray1 [~Caroline@107.34.199.30] has joined #webgui | 14:28 | |
-!- carogray [~Caroline@108.97.106.231] has quit [Ping timeout: 240 seconds] | 14:28 | |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has left #webgui [] | 14:29 | |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui | 14:29 | |
-!- mode/#webgui [+v BartJol] by ChanServ | 14:29 | |
-!- carogray [~Caroline@173.155.200.132] has joined #webgui | 14:31 | |
-!- carogray1 [~Caroline@107.34.199.30] has quit [Ping timeout: 240 seconds] | 14:32 | |
-!- carogray1 [~Caroline@173-143-45-75.pools.spcsdns.net] has joined #webgui | 14:36 | |
-!- carogray [~Caroline@173.155.200.132] has quit [Ping timeout: 258 seconds] | 14:37 | |
-!- carogray1 [~Caroline@173-143-45-75.pools.spcsdns.net] has quit [Ping timeout: 276 seconds] | 14:41 | |
-!- carogray [~Caroline@72-61-147-70.pools.spcsdns.net] has joined #webgui | 14:41 | |
-!- carogray [~Caroline@72-61-147-70.pools.spcsdns.net] has quit [Read error: Connection reset by peer] | 14:57 | |
wgGuest28 | @BartJol: hi again. I tried to start Modperl from WRE and it says "did not start successfully" without details. Can my previous (default) installation of modperl be a problem with WebGUI ? I've used the rhel package and configured my "default" apache/modperl successfully for other apps. | 15:03 |
-!- andyiomoon1 [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Quit: Leaving.] | 15:05 | |
-!- Radix__ [quasselcor@203.161.71.161.static.amnet.net.au] has joined #webgui | 15:12 | |
-!- mode/#webgui [+v Radix__] by ChanServ | 15:12 | |
-!- Radix_ [quasselcor@203.161.71.161.static.amnet.net.au] has quit [Read error: Connection reset by peer] | 15:13 | |
+BartJol | well, it can interfere wgGuest28 | 15:13 |
wgGuest28 | ok. Can default mod_perl interfere even if it is not "loaded" (my "default" httpd service is not started) | 15:15 |
wgGuest28 | how to "switch off" then ? | 15:16 |
wgGuest28 | i fixed a previous error (cannot load...mod_perl.so) by chmoding (777) the dir. | 15:19 |
+BartJol | mm, hard to tell I guess it should not interfer in this case | 15:25 |
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has joined #webgui | 15:26 | |
wgGuest28 | i was looking for some logs but i don't find them. | 15:26 |
+BartJol | did you copy log.conf.orig in WebGUI/etc to log.conf? | 15:27 |
+BartJol | same with spectre? | 15:27 |
wgGuest28 | i'm going to check that, ok | 15:27 |
+BartJol | that also causes troubles | 15:27 |
wgGuest28 | in WebGUI/etc/, i got: log.conf, spectre.conf and WebGUI.conf | 15:29 |
+BartJol | does the web process have write access in /data/wre/var/log ? | 15:31 |
wgGuest28 | no error displayed at wreconsole.pl starting. I can't start Spectre too ("did not start successfully"). I'm going to check /data/wre/var/log | 15:33 |
wgGuest28 | I think yes, but what to do to be sure (my chmod was recursive) ? | 15:36 |
wgGuest28 | mod_per log is not empty. I suppose that this the web process that wrote ? | 15:37 |
+BartJol | yes | 15:37 |
+BartJol | so, what is in it? | 15:40 |
+BartJol | maybe you should post it not here, bit in a personal message or in patebin | 15:41 |
+BartJol | pastebin | 15:41 |
wgGuest28 | ok, it's via vnc and from another machine, i'll do that | 15:42 |
+BartJol | just post the link | 15:43 |
wgGuest28 | http://goo.gl/gBRH3 | 15:49 |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 15:49 | |
wgGuest28 | link to wg mod_perl log content | 15:50 |
-!- daviddelikat [~user@ppp-70-226-167-180.dsl.mdsnwi.ameritech.net] has joined #webgui | 15:54 | |
-!- jigou [cf6c2296@gateway/web/freenode/ip.207.108.34.150] has joined #webgui | 15:54 | |
wgGuest28 | does only this log allow to understand why mod_perl doesn't work here? | 16:11 |
+BartJol | mmm | 16:16 |
+BartJol | wel there is obiously something wrong with the permissions | 16:16 |
wgGuest28 | ok, then, what to do.. do you suggest to reinstall a component or something else | 16:17 |
+BartJol | well after a quick google I found: http://www.appistry.com/community/forums/content/cannot-restore-segment-prot-after-reloc-permission-denied | 16:18 |
+BartJol | I'd say, test it with the temp solution first, if that solves this problem, use the permanent option | 16:19 |
wgGuest28 | yeah it's an interesting post. In fact, I tought I fixed the rights problem by a previous action : the error initially displayed in the console did not appear anymore. I follow your post. | 16:21 |
wgGuest28 | your solution is ok with the temporary option. I'll set the permanent one. I can start now mod_perl and mod_proxy. But I can't start Spectre (it says : pidfile contains xxx but that process seems to have terminated at spectre.pl line 124, <$pidFile> line 1. | 16:33 |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Ping timeout: 240 seconds] | 16:41 | |
wgGuest28 | @Bartjol: thank you for you help. There are too many errors on the server to choose webgui now (mysql included, i just saw that). I'll come back, i'm convinced that your cms is very nice. | 16:45 |
+BartJol | wgGuest28: ok, sorry, I'm a bit busy, would like to have more time | 16:46 |
wgGuest28 | don't worry, i'll come back here, once again, i knew that the install process would not be immediate ;__) | 16:47 |
wgGuest28 | I have Catalyst apps installed. It's difficult to maintain too lol | 16:48 |
+BartJol | well you just have to bite through the sour apple | 16:48 |
wgGuest28 | yes ;-) | 16:50 |
-!- perlbot [simcop2387@isuckatdomains.net] has quit [Ping timeout: 246 seconds] | 17:05 | |
-!- perlbot [simcop2387@isuckatdomains.net] has joined #webgui | 17:08 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Read error: Connection reset by peer] | 17:10 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui | 17:11 | |
SDuensin | Mourning. | 17:13 |
* BartJol sees Scott in a black robe singing hymns | 17:15 | |
SDuensin | Just how my day is going so far. | 17:16 |
-!- ryuu_ro_ [~rory@D57D69B6.static.ziggozakelijk.nl] has joined #webgui | 17:35 | |
-!- ryuu_ro_ [~rory@D57D69B6.static.ziggozakelijk.nl] has quit [Client Quit] | 17:35 | |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has quit [Quit: Leaving.] | 17:35 | |
-!- daviddelikat [~user@ppp-70-226-167-180.dsl.mdsnwi.ameritech.net] has quit [Ping timeout: 276 seconds] | 17:38 | |
-!- ryuu_ro [~rory@D57D69B6.static.ziggozakelijk.nl] has quit [Ping timeout: 250 seconds] | 17:39 | |
-!- daviddelikat [~user@ppp-70-226-167-180.dsl.mdsnwi.ameritech.net] has joined #webgui | 17:43 | |
-!- daviddelikat [~user@ppp-70-226-167-180.dsl.mdsnwi.ameritech.net] has quit [Ping timeout: 276 seconds] | 17:48 | |
-!- daviddelikat [~user@ppp-70-226-167-180.dsl.mdsnwi.ameritech.net] has joined #webgui | 17:56 | |
-!- sbaur [~Adium@130.157.145.37] has joined #webgui | 17:59 | |
-!- kaare__ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui | 18:03 | |
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui | 18:03 | |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 18:03 | |
-!- daviddelikat [~user@ppp-70-226-167-180.dsl.mdsnwi.ameritech.net] has left #webgui [] | 18:13 | |
-!- kaare__ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Remote host closed the connection] | 18:17 | |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui | 18:19 | |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Ping timeout: 260 seconds] | 18:34 | |
-!- kaare__ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui | 18:34 | |
-!- kaare__ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Ping timeout: 258 seconds] | 18:41 | |
-!- kaare__ [~kaare@94.191.204.90.bredband.3.dk] has joined #webgui | 18:44 | |
-!- daviddelikat [~user@ppp-70-226-170-46.dsl.mdsnwi.ameritech.net] has joined #webgui | 18:52 | |
-!- kaare__ [~kaare@94.191.204.90.bredband.3.dk] has quit [Ping timeout: 240 seconds] | 18:56 | |
-!- qwebirc46414 [47c47f14@gateway/web/freenode/ip.71.196.127.20] has joined #webgui | 19:01 | |
qwebirc46414 | Hello | 19:09 |
qwebirc46414 | I need help setting up a local server to work on more than one developmental site. | 19:09 |
sbaur | What kind of help do you need qwebirc46414? | 19:22 |
-!- daviddelikat1 [~dav@ppp-70-226-170-46.dsl.mdsnwi.ameritech.net] has joined #webgui | 19:25 | |
-!- daviddelikat1 [~dav@ppp-70-226-170-46.dsl.mdsnwi.ameritech.net] has left #webgui [] | 19:26 | |
qwebirc46414 | I've setup a server with wre & webgui and added a site. I need to add another site but don't know how to get it to resolve - port, ip, name | 19:27 |
qwebirc46414 | It's a minimal server install - no apache, mysql, dns... | 19:28 |
sbaur | The second server needs it's own domain name, which should be pointing at your servers IP address. Once you have that, just use the add site script in the wre to add it in. The script will make all the proper changes to the apache config the get it to host both sites | 19:29 |
@scrottie | the wre comes with its own apache and mysql. | 19:29 |
sbaur | or, you can use the wreconsole to add the site as well | 19:30 |
@scrottie | you should also have a /data/wre/sbin/addsite.pl | 19:31 |
@scrottie | with your wre. but I can't personally vouch for it. | 19:31 |
@scrottie | but apparently sbaur can vouch for it. | 19:31 |
sbaur | but i still run old versions, where the script was the only way to do it :-) | 19:33 |
qwebirc46414 | <sbaur> Its one server and I need to setup more than one site. The wreconsole is best for me. How do I navigate to the second site. I use the server's ip for the first site. | 19:34 |
sbaur | the easiest way is to actually register domain names for your multiple sites | 19:35 |
sbaur | then let webgui do the name based virtual hosting | 19:35 |
sbaur | I run one server with 10 webgui sites, and 2 static html sites off of the webgui wre | 19:36 |
sbaur | but it's all name based | 19:36 |
sbaur | e.g. www.cdl.edu and cats.cdl.edu | 19:37 |
sbaur | when i need dev versions of the sites, I use www-dev.cdl.edu and cats-dev.cdl.edu on a different server | 19:38 |
qwebirc46414 | This setup is offline and virtual. How do I setup webgui to do name based virtual hosting? | 19:38 |
sbaur | as long as you've already setup the DNS, webgui will do the name based virtual hosting automatically, when you add a site | 19:39 |
+perlDreamer | just make sure that you setup DNS entries in /etc/hosts, and on any client box that needs to connect as well | 19:39 |
qwebirc46414 | I didn't setup DNS. And that is why I can navigate only the first site. What is best for DNS - webmin or the OS? | 19:41 |
sbaur | you either need to set the DNS with your registrar, or do it manually with /etc/hosts | 19:47 |
qwebirc46414 | I'm not hosting any sites - just trying to learn wre-webgui on a server I setup at home. | 19:49 |
sbaur | Then put your DNS into the servers /etc/hosts and your client /etc/hosts, assuming they are different machines | 19:50 |
qwebirc46414 | The server is bare minimal - no dns application is present. What do I use to manage dns? | 19:54 |
sbaur | you do not need a dns app. Just add the lines for each sitename to /etc/hosts | 19:54 |
sbaur | see http://en.wikipedia.org/wiki/Hosts_%28file%29 | 19:55 |
* sbaur off to yet another meeting | 20:00 | |
-!- webguiquestions [ad2ed001@gateway/web/freenode/ip.173.46.208.1] has joined #webgui | 20:29 | |
webguiquestions | Hello. | 20:29 |
+perlDreamer | howdy | 20:29 |
+perlDreamer | that's a very informative username you have for IRC | 20:30 |
webguiquestions | :-) | 20:30 |
webguiquestions | Just sampling webgui. | 20:30 |
webguiquestions | Trying to find a replacement CMS for our organization. | 20:30 |
+perlDreamer | how do you find webgui so far? | 20:31 |
webguiquestions | Nice, but I do have a question about whether it can do something I'm looking for it to do. | 20:31 |
webguiquestions | And if so, how... | 20:31 |
+perlDreamer | okay, what is it? | 20:31 |
webguiquestions | I'm wondering how to set it up so that there's a base landing page, where visitors get information and whatnot. | 20:31 |
webguiquestions | And if one of our users logs in and successfully authenticates, | 20:31 |
webguiquestions | it can take them to "their page", and they can edit that page and add subpages/graphics/etc. | 20:32 |
webguiquestions | But not edit the landing page or other user's pages. | 20:32 |
+perlDreamer | that is a bit involved | 20:32 |
webguiquestions | I'm just starting through the documentation but there doesn't seem to be an example of how to do that. | 20:32 |
+perlDreamer | the setting Redirect After Login URL is where to start | 20:32 |
+perlDreamer | and then you'd have to make sure the permissions are set so that each user has their own page | 20:33 |
webguiquestions | It seems more geared towards creating a website for a business or organization then it's managed by an admin or a team. | 20:33 |
SDuensin | I actually implemented that once. There's an add-on on the bazarre that can help. | 20:33 |
+perlDreamer | yes, it's a workflow activity | 20:33 |
webguiquestions | So basically it sounds like for each user, after they're authenticated once (they're using AD/LDAP), I have to create a basic template page for them? | 20:33 |
+perlDreamer | that's what the plugin on the bazaar does for you | 20:34 |
webguiquestions | And edit permissions on that page individually and add a redirect for each user. | 20:34 |
+perlDreamer | the redirect is a sitewide setting | 20:34 |
webguiquestions | What's the name of the plugin? | 20:34 |
webguiquestions | I also am thinking I need to look up how to actually install the plugins too. | 20:34 |
+perlDreamer | http://www.webgui.org/bazaar/workflow-activity-to-create-personal-user-areas-when-user-is-created | 20:35 |
webguiquestions | When it says Edit the configuration file for the site you want to test this on, do you happen to know what conf file I'm looking for? | 20:49 |
webguiquestions | Or is it somewhere under /etc/webgui? | 20:49 |
sbaur | if you are using the wre, it would be /data/WebGUI/etc/sitename.conf | 20:50 |
@scrottie | sbaur, are you IRC'ing from a meeting? | 20:50 |
sbaur | nope, the meeting got out early :-), a downright miracle | 20:50 |
@scrottie | woot! | 20:50 |
webguiquestions | This was actually installed via synaptic on Ubuntu 11.04 | 20:51 |
+perlDreamer | which version of WebGUI does that install? | 20:53 |
webguiquestions | 7-9-18 stable | 20:54 |
+perlDreamer | are you going to do any ecommerce on this site? | 20:54 |
webguiquestions | No. | 20:55 |
+perlDreamer | then you should be fine | 20:55 |
+perlDreamer | there were some serious bugs in the PayPal driver up until 7.9.29 | 20:55 |
webguiquestions | Just having to navigate around the configs to try getting personal home pages configured. :-) | 20:55 |
webguiquestions | We're a school. Teachers need to be able to create home pages and edit them. | 20:56 |
webguiquestions | Without messing up each other's things or the website's primary page. | 20:56 |
+perlDreamer | I wouldn't do that with automatically creating pages | 21:02 |
+perlDreamer | I would do that my manually assigning pages and permissions | 21:02 |
webguiquestions | Wouldn't the pages have to exist first? | 21:03 |
+perlDreamer | yes | 21:03 |
webguiquestions | (Thought that's what the instructions you sent me to do?) | 21:03 |
+perlDreamer | the URL I pasted is for ANY user to have a home page created | 21:03 |
+perlDreamer | if students are logging in, that plugin would create pages for them as well | 21:03 |
webguiquestions | No students. | 21:04 |
webguiquestions | Just teachers. | 21:04 |
webguiquestions | Although I guess students could, unless I figure out how to restrict them. | 21:05 |
+perlDreamer | how old are the students at the school? | 21:05 |
webguiquestions | This is an entire district. | 21:05 |
webguiquestions | K-12. | 21:05 |
+perlDreamer | I would still go with direct permissions. Creating pages automatically on account creation would work well in the short term, but in the long run you may want to use some of WebGUI's features for discussion and galleries with students, and it would prevent that. | 21:07 |
SDuensin | Trying to remember how I did it... | 21:07 |
+perlDreamer | WebGUI is quite scriptable, so a script could be written to import users, create groups, set permissions and create initial landing pages for all teachers | 21:07 |
webguiquestions | I'm open to suggestions :-) At the moment I'm trying to find a reasonable, usable system for people to demo it out and try it before adopting. | 21:07 |
webguiquestions | I already have LDAP configured and working from the looks of it. | 21:08 |
webguiquestions | Authenticating against Active Directory. | 21:08 |
+perlDreamer | well, for tinkering with WebGUI, have you tried demo.webgui.org? | 21:08 |
webguiquestions | Nope, creating a local site. | 21:08 |
SDuensin | I *think* I wrote a macro that added the user to a group that meant they had a home page. Then I copied the code from the workflow thing into the macro... | 21:08 |
SDuensin | Put that on a page that said "Your site has been created! Visit blahblahblah to edit." | 21:09 |
SDuensin | Then I could control who got to the page with the macro on it. | 21:09 |
+perlDreamer | but it wouldn't redirect them on login | 21:10 |
+perlDreamer | webguiquestions, I'd also look into packages, where you can quickly deploy preconfigured sets of pages (assets) on a site multiple times | 21:11 |
+perlDreamer | that would give each teacher a base setup to start with | 21:11 |
SDuensin | No, it didn't do that. | 21:11 |
webguiquestions | I'll have to look around at the packages. It doesn't look like there's an integrated way to download add-ins from the webgui interface directly? | 21:12 |
+perlDreamer | no | 21:12 |
+perlDreamer | add-ins have to be installed from the command-line | 21:12 |
+perlDreamer | webguiquestions, these online user guides will help a lot with learning and using WebGUI http://www.webgui.org/user-guides | 21:23 |
webguiquestions | I've been pulling them down and going through them, thanks :-) | 21:24 |
webguiquestions | I just got it installed and started configuring this morning. | 21:24 |
webguiquestions | Seems some of the information is out of date, or slightly off, though. | 21:24 |
SDuensin | I think everyone in here is slightly off. :-) | 21:25 |
+perlDreamer | the guides have not been updated in a while, so they are out of date | 21:25 |
+perlDreamer | and SDuensin is off kilter enough that he drags us all out of true | 21:26 |
SDuensin | You have yet to see my kilter! | 21:26 |
webguiquestions | Nuts. Know where the WebGUI error logs would be? | 21:31 |
+perlDreamer | /data/wre/var/logs/ | 21:31 |
SDuensin | perlDreamer: even on the packaged one? | 21:32 |
+perlDreamer | in that case, look inside /data/WebGUI/etc/log.conf | 21:32 |
+perlDreamer | for ubuntu, it could be in /var/log/webgui/webgui.log | 21:32 |
webguiquestions | nope, nothing useful there. | 21:33 |
SDuensin | I find the modperl error logs to be more helpful. | 21:34 |
webguiquestions | Didn't create a homepage or at least one I can find. | 21:34 |
SDuensin | sitename.modperl.error.log | 21:34 |
+perlDreamer | no wre, SD, native install | 21:36 |
+perlDreamer | probably in /var/log/apache2/error.log instead | 21:37 |
webguiquestions | Not finding any such file. Strange. | 21:37 |
webguiquestions | Nothing there that's useful. | 21:38 |
webguiquestions | When it says, "http://www.yoursite.com/membersites/username/home" do I need to create a "membersites" directory under which the perl code will create the directories in the filestructure? | 21:39 |
SDuensin | No... | 21:39 |
SDuensin | The asset tree and URLs are their own thing and don't depend on the filesystem. | 21:39 |
webguiquestions | Crap. | 21:39 |
SDuensin | That confuses a lot of WebGUI newbies. The URLs don't even have to match the asset tree. | 21:40 |
webguiquestions | Logged in as my "plain user", and it should have triggered that workflow, I'd think. | 21:40 |
SDuensin | Is spectre running? | 21:40 |
webguiquestions | I'll double check... | 21:41 |
webguiquestions | Yup. | 21:42 |
SDuensin | Ok, there goes that easy fix. :-P | 21:42 |
webguiquestions | Spectre is Alive! | 21:42 |
webguiquestions | and 0 workflows. | 21:42 |
+perlDreamer | is the new workflow activity in the config file? | 21:42 |
+perlDreamer | and did you restart apache after installing it? | 21:42 |
webguiquestions | My admin login clicking on site map doesn't show my user either. | 21:43 |
webguiquestions | I did restart Apache when I hit the direction to do so. | 21:43 |
+perlDreamer | and is the workflow activity in the WebGUI/lib/WebGUI/Workflow/Activity/ directory? | 21:43 |
+perlDreamer | and did you configure WebGUI to run that workflow when a user was created? | 21:43 |
webguiquestions | CreateUserHomeSkeleton.pm is in /usr/share/webgui/lib/WebGUI/Workflow/Activity | 21:44 |
+perlDreamer | is it readable by the owner of the apache process? | 21:45 |
webguiquestions | In the WebGUI config panel, workflow, there's a Create Home Directory at Login Creation workflow enabled. | 21:45 |
webguiquestions | The .pm has the same permissions and owners as the rest of the .pm files. | 21:45 |
webguiquestions | Does just having the workflow set to Workflow::User have it run when the user is created? | 21:48 |
+perlDreamer | no, there's a place in the WebGUI settings where you tell it which workflow to run when a user is created | 21:48 |
webguiquestions | Let's see what happens now... | 21:51 |
CIA-68 | webgui: Chris Hanson webgui-7.9 * rc4fa35c / lib/WebGUI/Operation/VersionTag.pm : Corrected leaveVersionTag creating a version tag: 12138 - http://bit.ly/jCNY10 | 21:52 |
CIA-68 | webgui: Chris Hanson master * r65a981f / lib/WebGUI/Operation/VersionTag.pm : Corrected leaveVersionTag creating a version tag: 12138 - http://bit.ly/jDNVFP | 21:53 |
webguiquestions | Hey that worked better. | 21:53 |
webguiquestions | Yay! | 21:55 |
webguiquestions | I think. | 21:55 |
webguiquestions | Still some real need to customize, but I'm getting the beginnings of something here. | 21:55 |
+perlDreamer | if people find it useful, maybe we should add the Workflow Activity to the core | 21:55 |
+perlDreamer | preaction: thoughts ? | 21:55 |
CIA-68 | webgui: Chris Hanson master * r1e5859b / docs/changelog/7.x.x.txt : Documented fix #12138 - http://bit.ly/lZ2KDB | 21:56 |
webguiquestions | Are you, SDuensin and perlDreamer, developers with the company that sponsors WebGUI? | 21:56 |
+perlDreamer | I contract with Plain Black | 21:56 |
+perlDreamer | SDuensin is WebGUI's #1 fan | 21:57 |
CIA-68 | webgui: Chris Hanson webgui-7.9 * re26a5c6 / docs/changelog/7.x.x.txt : Documented fix #12138 - http://bit.ly/k7wW2c | 21:57 |
SDuensin | I am! | 21:57 |
* SDuensin cheers! | 21:57 | |
* SDuensin would be even more of a fan (Fan #0?) if he had a paypal subscription feature. :-P | 21:58 | |
webguiquestions | Hmm...I think I'm *starting* to get the hang of this thing... | 22:04 |
webguiquestions | Well, dangling more than hanging, but as long as I'm not falling... | 22:04 |
@scrottie | I work for PlainBlack and I can tell you how to get WebGUI running on Gopher =) | 22:05 |
webguiquestions | Another question before I run off screaming...regarding the home-directory-site-creation I just did with the workflow: | 22:05 |
@scrottie | the ops in here are employees. some of them are awake right now and not feeling the need to add comments or corrections, I expect. | 22:06 |
SDuensin | webguiquestions: hang in there. It really is a sweet CMS once you wrap your head around it. | 22:06 |
@scrottie | WebGUI's problem is not lack of features ;) | 22:06 |
webguiquestions | I have to still add the new user to have permission to turn on the admin menu so they can edit their page, and they'll only be able to edit their home page after I followed those directions? | 22:06 |
* SDuensin strayed to Joomla & Drupal once. And came back! | 22:06 | |
webguiquestions | Or will I need to manually edit permissions on pages still? | 22:06 |
SDuensin | You should be OK. If it's owned by them, they can edit it. | 22:07 |
webguiquestions | (manual edit = protect things like the root landing page visitors see) | 22:07 |
webguiquestions | Okay. I have it at a point where I can stop and back it up, I think. | 22:07 |
webguiquestions | I'll put on my robe and wizard hat tomorrow to continue working on with customizations. | 22:10 |
webguiquestions | Thanks a lot for your help. I might come crawling back for more guidance soon if you'll tolerate it :-) | 22:10 |
webguiquestions | Oh, and the other testbed I was working on is drupal. | 22:10 |
webguiquestions | But I'm having a bear of a time creating that whole "teacher logs in and gets their own home page they can edit" part down. | 22:11 |
webguiquestions | What I might need to investigate is having the site not create a user until it's okayed by the site admin, even if it's autheticated through LDAP first. | 22:11 |
+perlDreamer | you'd have to do some extra coding for that | 22:12 |
+perlDreamer | add a group of users who can approve page creation | 22:13 |
+perlDreamer | and then send them an email with a URL for approval/denial | 22:13 |
@scrottie | I really need to Plack-ify Faq-O-Matic. | 22:13 |
+perlDreamer | it would look a lot like the Commit with Approval workflow | 22:13 |
* perlDreamer goes running, before he runs out of lunch time | 22:13 | |
webguiquestions | Thanks again! | 22:15 |
-!- webguiquestions [ad2ed001@gateway/web/freenode/ip.173.46.208.1] has quit [] | 22:17 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 23:13 | |
-!- qwebirc46414 [47c47f14@gateway/web/freenode/ip.71.196.127.20] has quit [Ping timeout: 252 seconds] | 23:25 | |
--- Day changed Thu Jun 02 2011 | ||
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui | 00:04 | |
-!- jigou [cf6c2296@gateway/web/freenode/ip.207.108.34.150] has quit [Ping timeout: 252 seconds] | 00:35 | |
-!- andyiomoon1 [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui | 00:50 | |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Ping timeout: 246 seconds] | 00:53 | |
-!- andyiomoon1 [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Quit: Leaving.] | 01:22 | |
-!- ryuu_ro [~rory@5357069A.cm-6-8a.dynamic.ziggo.nl] has joined #webgui | 01:39 | |
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has quit [Read error: Connection reset by peer] | 01:46 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Ping timeout: 258 seconds] | 01:47 | |
-!- sbaur [~Adium@130.157.145.37] has quit [Quit: Leaving.] | 02:27 | |
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has quit [Quit: Leaving.] | 02:36 | |
-!- wgGuest28 [~wgGuest28@56.95.87.79.rev.sfr.net] has quit [Quit: wgGuest28] | 02:45 | |
-!- carogray [~Caroline@174-147-192-16.pools.spcsdns.net] has joined #webgui | 02:51 | |
-!- ryuu_ro [~rory@5357069A.cm-6-8a.dynamic.ziggo.nl] has quit [Quit: ryuu_ro] | 03:04 | |
-!- Haarg [~haarg@haarg.org] has quit [Ping timeout: 240 seconds] | 03:31 | |
-!- Haarg [~haarg@haarg.org] has joined #webgui | 03:32 | |
-!- carogray [~Caroline@174-147-192-16.pools.spcsdns.net] has quit [Quit: Leaving.] | 03:52 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 04:38 | |
-!- knowmad [~knowmad@99-112-245-79.lightspeed.chrlnc.sbcglobal.net] has joined #webgui | 04:43 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 04:57 | |
-!- knowmad [~knowmad@99-112-245-79.lightspeed.chrlnc.sbcglobal.net] has quit [Ping timeout: 250 seconds] | 05:40 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Quit: Leaving.] | 05:45 | |
kthakore | hallo? | 05:58 |
-!- mducharme-work [~nothing@206.188.121.4] has joined #webgui | 08:06 | |
-!- mducharme-work1 [~nothing@206.188.121.4] has quit [Ping timeout: 258 seconds] | 08:07 | |
@scrottie | hey. | 08:20 |
@scrottie | was just on my way out. | 08:20 |
-!- kaare__ [~kaare@79.138.161.97.bredband.oister.dk] has joined #webgui | 08:23 | |
-!- kaare__ [~kaare@79.138.161.97.bredband.oister.dk] has quit [Ping timeout: 246 seconds] | 09:17 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Ping timeout: 252 seconds] | 10:28 | |
-!- vayde [~vayde@184-100-69-97.mpls.qwest.net] has quit [Ping timeout: 248 seconds] | 11:11 | |
-!- vayde [~vayde@184-100-69-97.mpls.qwest.net] has joined #webgui | 11:12 | |
-!- ryuu_ro [~rory@5357069A.cm-6-8a.dynamic.ziggo.nl] has joined #webgui | 11:48 | |
-!- knowmad [~knowmad@99-112-245-79.lightspeed.chrlnc.sbcglobal.net] has joined #webgui | 13:17 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 14:16 | |
-!- daviddelikat [~user@ppp-70-226-170-46.dsl.mdsnwi.ameritech.net] has quit [Ping timeout: 244 seconds] | 14:30 | |
-!- kaare__ [~kaare@79.138.161.156.bredband.oister.dk] has joined #webgui | 15:06 | |
-!- kaare__ [~kaare@79.138.161.156.bredband.oister.dk] has quit [Ping timeout: 260 seconds] | 15:30 | |
-!- knowmad [~knowmad@99-112-245-79.lightspeed.chrlnc.sbcglobal.net] has quit [Ping timeout: 250 seconds] | 15:38 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Quit: Leaving.] | 15:55 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 16:00 | |
-!- webguiquestions [ad2ed001@gateway/web/freenode/ip.173.46.208.1] has joined #webgui | 16:29 | |
webguiquestions | Hello. | 16:29 |
webguiquestions | I thought I could change the site's theme through admin console->settings->UI tab. But it doesn't seem to change for the site. Is there a setting I'm missing? | 16:33 |
webguiquestions | Ah...so it must be done through the "asset manager", using the branch editing. | 16:50 |
SDuensin | Thursday? I never could get the hang of Thursdays. | 16:55 |
-!- knowmad [~knowmad@adsl-070-148-067-249.sip.clt.bellsouth.net] has joined #webgui | 16:59 | |
-!- ryuu_ro [~rory@5357069A.cm-6-8a.dynamic.ziggo.nl] has quit [Quit: ryuu_ro] | 17:06 | |
-!- knowmad [~knowmad@adsl-070-148-067-249.sip.clt.bellsouth.net] has quit [Read error: Connection reset by peer] | 17:33 | |
-!- fokat [~lem@66.0.48.131] has joined #webgui | 18:05 | |
-!- sbaur [~Adium@130.157.145.37] has joined #webgui | 18:06 | |
webguiquestions | Hello? | 18:50 |
webguiquestions | Any humans able to answer an odd question for me? | 18:51 |
webguiquestions | :-/ | 18:53 |
Haarg | depends on the question | 18:56 |
webguiquestions | I have the andreas02 theme installed and seems to be working. | 19:04 |
webguiquestions | I changed a graphic, the large one on the landing page. | 19:04 |
webguiquestions | Uploaded it, resized it, and as I'm in admin mode, it appears fine. | 19:04 |
webguiquestions | Close admin mode, and the original one keeps reappearing. | 19:04 |
webguiquestions | ...? | 19:05 |
webguiquestions | Go back into the admin mode to edit, the new one appears. | 19:05 |
Haarg | is there a version tag in the admin bar? | 19:05 |
webguiquestions | In the admin console? | 19:09 |
webguiquestions | admin console says there are no version tags pending, I'm not working in a version tag. | 19:10 |
Haarg | something with browser caching possibly | 19:11 |
webguiquestions | Been clearing it out and reloading. | 19:11 |
webguiquestions | browsed away, cleared cache, closed browser, reopened, renavigated...old logo. | 19:11 |
webguiquestions | Even the one I'm editing in now. New graphic, turn off admin mode, and the old one appears. | 19:11 |
Haarg | have you tried clearing the site cache? | 19:12 |
webguiquestions | That's part of the admin console bit isn't it... | 19:13 |
webguiquestions | Hang on I'll try finding it again. | 19:13 |
webguiquestions | cleared the cache in admin console, cleared the cache in the browser and closed/reopened it, about to navigate back to website. | 19:14 |
webguiquestions | A-ha! It was something goofy with the @#% cache in WebGUI. | 19:14 |
webguiquestions | Thanks, @Haarg! | 19:14 |
Haarg | not sure why that happened, but possibly due to how the logo is included. oh well. at least it's working. | 19:15 |
webguiquestions | Seems to be. | 19:16 |
-!- khenn [~frank@99-111-115-201.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui | 19:33 | |
-!- mode/#webgui [+o khenn] by ChanServ | 19:33 | |
@khenn | hey | 19:33 |
@khenn | what was that app that turns your website into an mobile app? | 19:33 |
@khenn | anyone know what I"m talking about? =) | 19:33 |
SDuensin | A web browser? | 19:33 |
@khenn | Joeri did a presentation on it last year at the wuc | 19:34 |
* SDuensin doesn't know. | 19:34 | |
@scrottie | webguiquestions, the "page layout" asset caches the display for the "visitor" user | 19:38 |
@scrottie | webguiquestions, people keep tripping over that one so it's on my short list of things to improve. | 19:38 |
webguiquestions | Ah. | 19:39 |
webguiquestions | Thank you for the clarification. | 19:39 |
sbaur | SDuensin, have you checked the wgtv section of the webgui site. Most of the old presentations are there with links to the slides | 19:40 |
SDuensin | sbaur: Yea. Very handy. | 19:40 |
webguiquestions | That's strange. No way to change text color in the editor? | 19:51 |
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui | 20:15 | |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 20:15 | |
webguiquestions | Is there something in particular that has to be set to get email to send from "contact us?" | 20:15 |
-!- webguiquestions_ [ad2ed001@gateway/web/freenode/ip.173.46.208.1] has joined #webgui | 20:20 | |
-!- webguiquestions [ad2ed001@gateway/web/freenode/ip.173.46.208.1] has quit [Ping timeout: 252 seconds] | 20:22 | |
webguiquestions_ | ? | 20:25 |
webguiquestions_ | If I have a web form (default Contact Us), and fill it in, and it says it sent the message, I'm not getting any email in my inbox. Where is the setting or configuration for how email is being sent by the form? | 20:26 |
-!- webguiquestions_ [ad2ed001@gateway/web/freenode/ip.173.46.208.1] has left #webgui [] | 20:29 | |
-!- webguiquestions_ [ad2ed001@gateway/web/freenode/ip.173.46.208.1] has joined #webgui | 20:29 | |
webguiquestions_ | ? | 20:30 |
sbaur | In the settings, in the messaging tab, make sure your outgoing mail server is in there correctly. | 20:31 |
sbaur | webgui does not currently (i think) handle authenticated smtp | 20:32 |
webguiquestions_ | ah-ha...I'm thinking I'll need to apt-get install postfix then. | 20:34 |
-!- kaare__ [~kaare@94.191.200.84.bredband.3.dk] has joined #webgui | 20:41 | |
webguiquestions_ | Strange. Still nothing. Time to play with settings. | 20:41 |
+perlDreamer | webguiquestions_, make sure that spectre is running | 20:49 |
+perlDreamer | check the mailQueue table in the database | 20:49 |
+perlDreamer | and also webgui.log for errors/warnings | 20:49 |
+perlDreamer | webgui's before 7.9.28 have a known spectre bug where spectre has to be restarted periodically | 20:50 |
+perlDreamer | if that's the problem, then frodwith's excellent patch in 7.9.29 will cure it, so upgrade | 20:50 |
webguiquestions_ | Yup, spectre is fine. | 20:50 |
+perlDreamer | are there entries in the mailQueue table? | 20:51 |
webguiquestions_ | mail queue is empty. | 20:51 |
+perlDreamer | then the problem is outside webgui | 20:51 |
@frodwith | try hand-crafting a mail and feeding it to sendmail | 20:51 |
@frodwith | whichever sendmail you have configured in your webgui site's settings, that is | 20:52 |
+perlDreamer | mailx -s 'test subject' me@mysite.com | 20:52 |
@scrottie | is Contact Us set up to send an email? is it a DataForm? | 21:16 |
webguiquestions_ | Yes, a data form. | 21:17 |
webguiquestions_ | What exactly does spectre do? | 21:17 |
sbaur | spectre is a cron-like process that runs maintenance and custom workflows | 21:18 |
@scrottie | you can wire up elaborate things with it with regards to what happens when a user submits content | 21:20 |
@scrottie | the content might need approval by someone in a group and then the content may not be set to appear on the site right away and so on and so forth | 21:20 |
-!- webguiquestions_ [ad2ed001@gateway/web/freenode/ip.173.46.208.1] has quit [Ping timeout: 252 seconds] | 21:28 | |
-!- webguiquestions [ad2ed001@gateway/web/freenode/ip.173.46.208.1] has joined #webgui | 21:57 | |
webguiquestions | Hmm...seems that I can't get webgui (or the contact us page) to talk to the local mail server on the same machine. | 21:58 |
-!- webguiquestions [ad2ed001@gateway/web/freenode/ip.173.46.208.1] has quit [Ping timeout: 252 seconds] | 22:02 | |
-!- webguiquestions [ad2ed001@gateway/web/freenode/ip.173.46.208.1] has joined #webgui | 22:02 | |
webguiquestions | If anyone replied to my last message about webgui talking to the local mail server daemon, could you re-send? | 22:03 |
webguiquestions | I was disconnected temporarily :-/ | 22:03 |
@scrottie | yeah, I was wondering how the DataForm was set up. I don't know if the default for new sites is to send email. you might want to edit the form and see. | 22:04 |
@scrottie | turn admin on and look at it again and there should be a link to change the form or some such thing. there's a Wiki page up on how to do that. | 22:05 |
webguiquestions | I have messaging set to localhost. | 22:06 |
webguiquestions | in the settings of admin console. | 22:06 |
webguiquestions | I'm going to assets now to see what I can find in the settings there for the form itself. | 22:06 |
webguiquestions | There's a "Mail data?" checked to Yes. | 22:07 |
@scrottie | that sounds like what I was thinking of. alright. | 22:08 |
@scrottie | how are you with SQL? | 22:08 |
webguiquestions | About as good as I am at flying without an airplane. | 22:09 |
@scrottie | oh, wait, you already said that mailQueue is empty | 22:09 |
webguiquestions | add entry workflow is set to "none"...should it be? | 22:09 |
@scrottie | well, if mailQueue is empty, WebGUI got rid of the email somehow | 22:09 |
webguiquestions | The postfix queue is empty, but it's not talking to it at all. | 22:09 |
@scrottie | hmm? there should be a series of existing workflows. you shouldn't need to add any. anyway, a workflow obviously ran if the mailqueue is empty | 22:09 |
-!- ryuu_ro [~rory@5357069A.cm-6-8a.dynamic.ziggo.nl] has joined #webgui | 22:10 | |
@scrottie | ahhh | 22:10 |
webguiquestions | I did a tail -f /var/log/syslog and it doesn't chagne as I'm adding information to the form to mail. | 22:10 |
@scrottie | okay. do you know how to fire up the mysql shell? | 22:10 |
@scrottie | why isn't there a mailqueue admin tool? | 22:10 |
webguiquestions | There's a Send Queued Email Messages workflow... | 22:11 |
webguiquestions | But I don't see where there are any values entered into it or anything it's supposed to do. | 22:11 |
webguiquestions | I have the mysql shell opened. | 22:12 |
@scrottie | select count(*) from mailQueue; | 22:13 |
@scrottie | I wouldn't muck about with the existing workflows without doing some reading first. | 22:13 |
webguiquestions | crapples. It says no database selected. | 22:13 |
webguiquestions | select count(*) from mailQueue in databasename; ? | 22:14 |
@scrottie | grep dsn /data/WebGUI/etc/*.conf | 22:14 |
@scrottie | Mine looks like this: /data/WebGUI/etc/www.example.com.conf: "dsn" : "DBI:mysql:www_example_com;host=localhost", | 22:14 |
@scrottie | so my database is www_example_com | 22:14 |
@scrottie | I'd do: use www_example_com; in mysql to switch to that database. | 22:14 |
webguiquestions | count(*) is 13 | 22:15 |
webguiquestions | from the looks of it. | 22:15 |
webguiquestions | gave result in a tabular format. | 22:15 |
webguiquestions | So it's saying there's mail in the database, but they're stuck? | 22:16 |
@scrottie | okay, you have 13 messages stuck in WebGUI's queue that haven't gone out. | 22:16 |
webguiquestions | Is there a way to flush it? | 22:16 |
webguiquestions | There 0 workflows pending or running. | 22:16 |
-!- ryuu_ro [~rory@5357069A.cm-6-8a.dynamic.ziggo.nl] has quit [Quit: ryuu_ro] | 22:16 | |
@scrottie | what's your webgui.log look like? | 22:17 |
@scrottie | anything in there about spectre trying to send mail and failing? | 22:17 |
webguiquestions | nothing about mail. | 22:17 |
-!- docster_ [~docster@66.153.187.10] has joined #webgui | 22:17 | |
@scrottie | what's the site setting for smtpServer? | 22:18 |
@scrottie | select * from settings where name = 'smtpServer'; | 22:18 |
webguiquestions | that's in the conf file or...? | 22:18 |
@scrottie | or else there's an admin screen for settings too | 22:18 |
@scrottie | database, in this case. | 22:18 |
webguiquestions | Database has "localhost" for the value. | 22:19 |
@scrottie | that's what I thought. | 22:19 |
@scrottie | okay, control-z back to shell from mysql and then do this: telnet localhost 25 | 22:19 |
@scrottie | what happens? | 22:19 |
webguiquestions | postfix is prompting for email. | 22:19 |
@scrottie | huh. | 22:19 |
@scrottie | it should probably be working in this case. | 22:20 |
webguiquestions | So there are 13 messages in the database, my postfix is answering on port 25, for some reason webgui isn't talking to localhost to dump the email. | 22:20 |
docster_ | Hello friends. We upgraded to 7.9.27-stable recently and now when you try and recover your password you get: WebGUI::Auth::WebGUI::emailRecoverPasswordFinish[1134] - Can't instantiate template for template email recovery in the log file and Error: Cannot instantiate template on the site. Something I miss? | 22:20 |
@scrottie | I wonder what email address it is trying to delvier to. and I wonder if postfix is relaying for the local host when contacted on port 25. | 22:21 |
webguiquestions | I watched the log for postfix. Nothing tried to connect when I hit the send button on the form. | 22:22 |
webguiquestions | I don't think it's talking to the daemon at all. | 22:22 |
@scrottie | ps -axl | grep spectre does have spectre running? | 22:22 |
@scrottie | if nothing showed up in the log, then probably not. | 22:22 |
@scrottie | now I'm wondering if spectre is talking to WebGUI. | 22:22 |
webguiquestions | ls | 22:23 |
@scrottie | you don't have the wreservice.pl script, do you? you said you didn't install the WRE if I recall. | 22:23 |
webguiquestions | it's showing specre as running. | 22:23 |
@scrottie | hrm. spectre should bail if it can't talk to WebGUI. | 22:23 |
webguiquestions | Is there a way to easily restart the spectre deamon? | 22:24 |
webguiquestions | script? | 22:24 |
webguiquestions | There was a test script somewhere during the install, I thought. | 22:25 |
@scrottie | wreservice.pl --restart spectre, but that's part of the WRE which I think you don't have | 22:25 |
@scrottie | docster_, what happens when you go to http://yourwebgui.tld/root/import/auth/webgui/recoveryemail ? | 22:25 |
@scrottie | actually, http://yourwebgui.tld/root/import/auth/webgui/recoveryemail?func=edit | 22:26 |
@scrottie | where yourwebgui.tld is the hostname of your site? | 22:26 |
docster_ | page does not exist | 22:26 |
@scrottie | docster_, okay, you have two problems. working... | 22:27 |
docster_ | I also see under SETTINGS > AUTHENTICATION now there are 2 template drop downs. Password Recovery Email Template and Password Recovery Template. The email is empty. | 22:28 |
webguiquestions | Is there a way to force spectre to try talking to webgui? | 22:29 |
docster_ | -- test should do it I think... | 22:29 |
@scrottie | docster_, yeah, I was just going to tell you to go there and see if it had any options for you to select | 22:30 |
@scrottie | webguiquestions, no, it hits it pretty constantly. all you can do is turning logging up and read the INFO messages. | 22:30 |
@scrottie | edit /data/WebGUI/etc/log.conf and set the level to INFO. | 22:31 |
webguiquestions | There's an email to log option in webgui.conf... | 22:34 |
@scrottie | docster_, are there are any options in the select drop down? | 22:34 |
@scrottie | webguiquestions, that keeps WebGUI from sending any email. instead of sending email, it logs the email that it would otherwise send. that's useful for dev sites and development in general. | 22:35 |
@scrottie | especially when dev is a copy of production and you don't want to spam and confuse your users. | 22:35 |
webguiquestions | I should change the line: | 22:36 |
webguiquestions | log4perl.logger = ERROR, mainlog | 22:36 |
webguiquestions | to | 22:36 |
webguiquestions | log4perl.logger = INFO, mainlog | 22:36 |
webguiquestions | ? | 22:36 |
docster_ | scrottie it seems there is nothing in the drop down and no edit or manage buttons. I also checked all the other sites and it appears the template is missing on all of them. This error appeared after upgrading to 7.9.27-stable. | 22:37 |
webguiquestions | Visitor (1) connecting from <myip> attempted to Tried to make a Spectre workflow data load request, but we're only allowed to accept requests from 127.0.0.1/32. | 22:38 |
@scrottie | docster_, please open a bug about this on http://www.webgui.org/bugs and give all of the details you gave us here | 22:39 |
webguiquestions | where myip is the ip of the server. | 22:39 |
docster_ | scrottie: I will try and do that. In the meantime is there a way to get this template? We have a couple of thousand users... | 22:40 |
@scrottie | grep spectreIp /data/WebGUI/etc/*.conf, webguiquestions. is it something like this? "spectreSubnets" : [ "127.0.0.1/32" ], | 22:41 |
webguiquestions | "127.0.0.1" | 22:41 |
@preaction | docster_: i'd upgrade to the latest 7.9 (7.9.29) | 22:41 |
@scrottie | docster_, I'm uploading mine. it may or may not work for you. I'll try to get one closer to your version if it doesn't. http://slowass.net/~scott/tmp/root_import_auth_webgui_recoveryemail.wgpkg | 22:41 |
@scrottie | er, I mean like this: "spectreIp" : "127.0.0.1", | 22:42 |
docster_ | I will go ahead and try an upgrade, then import yours if it is still missing. Thanks for the pointers. | 22:42 |
@scrottie | docster_, ah, thought you meant you were at the latest version. before opening a bug report, make sure there isn't a bug already, and if there is a bug already, it should have a resolution (probably a fix in a newer version of WebGUI) | 22:43 |
@scrottie | webguiquestions, re: "log4perl.logger = INFO, mainlog", correct | 22:44 |
docster_ | Well, I am at 7.9.27 and I am going to try 7.9.29 so 2 steps. | 22:44 |
@scrottie | 7.9.29 should have the upgrade scripts for 7.9.28 (and several previous versions). that should be fine. | 22:44 |
webguiquestions | @Scrottie: I changed the line ot the ip of the server itself, but it still says only allowed to accept requests from 127.0.0.1/32 | 22:45 |
@scrottie | the IP of the server is what you don't want. | 22:45 |
@scrottie | mmmmm. | 22:45 |
@scrottie | webguiquestions, if preaction or perlDreamer don't have any ideas, you might have to open a bug ticket here. someone might have to take some time to sit down and figure out how this situation came about. | 22:45 |
@scrottie | in other words, I'm out of guesses. | 22:46 |
@preaction | webguiquestions: if you changed the spectre IP, you need to change spectreSubnets in the webgui config file | 22:46 |
webguiquestions | I set it back. It seems to see the server ip making attempts to do something, but it won't allow it from that IP. | 22:46 |
@scrottie | <webguiquestions> Visitor (1) connecting from <myip> attempted to Tried to make a Spectre workflow data load request, but we're only allowed to accept requests from 127.0.0.1/32. | 22:47 |
docster_ | scrottie: slowass.net is a hilarious domain name... Wish I had thought of that one. :o) | 22:47 |
@scrottie | and why is this an INFO message, not an error? | 22:47 |
@scrottie | decster_, teehee, thanks. | 22:47 |
@scrottie | docster_, I got it when I had a 486 built out of spare parts on a dorm room ethernet connection. my dorm was one of the first to get ethernet, and everyone had dedicated IPs, so naturally I had to run a ton of services. | 22:48 |
@scrottie | or maybe it was a little after that. | 22:48 |
docster_ | lol, its really cute. | 22:48 |
-!- ryuu_ro [~rory@5357069A.cm-6-8a.dynamic.ziggo.nl] has joined #webgui | 22:49 | |
@scrottie | webguiquestions, setting "spectreSubnets" : [ "127.0.0.1/32" ], to include your IP might be a quick workaround: "spectreSubnets" : [ "127.0.0.1/32", "x.x.x.x/32" ], | 22:50 |
@scrottie | where x.x.x.x is your server's IP | 22:50 |
webguiquestions | a subnet of 255.255.0.0 is /16, as I recall? | 22:50 |
@scrottie | be aware that JSON is not tolerant of extra commas. | 22:50 |
@scrottie | webguiquestions, correct | 22:50 |
webguiquestions | Don't see that error but it's still not showing anything when I send mail. | 22:57 |
webguiquestions | wait...new error. | 22:57 |
webguiquestions | unable to connect to <my ip>:32133: connection refused. | 22:58 |
@scrottie | spectre is listening on 127.0.0.1? | 22:59 |
@scrottie | er, uh.. wait | 23:00 |
docster_ | When I run weguiupdate.pl it clears the cache, finds upgrades, instantly says Setting site upgrade completed....OK NO UPGRADES NECESSARY. All of it happens in 3 seconds for 12 sites. It seems really fast to be done anything.... but when I look in statistics it is now showing 7.9.29-stable and my email template is still missing. | 23:01 |
docster_ | The last time we upgraded, about a month ago we had a table missing. I am wondering if it is really upgrading at all or simply saying so :o) | 23:02 |
@scrottie | webguiquestions, if the spectreSubnets includes that IP, then I wonder if there is a firewall in place...? usually firewalls drop packets, not refuse connections. | 23:03 |
-!- kaare__ [~kaare@94.191.200.84.bredband.3.dk] has quit [Ping timeout: 240 seconds] | 23:04 | |
webguiquestions | I just altered it so that the subnets were both 127.0.0.1 and the local ip included. | 23:04 |
webguiquestions | I suddenly had a dump of about 13 messages... | 23:04 |
webguiquestions | I just sent another message via the webform but it hasn't come through. | 23:04 |
webguiquestions | yet? | 23:04 |
+perlDreamer | messages are processed on 5 minute intervals | 23:04 |
webguiquestions | Ah. So the mail message might come through in the next five minutes. | 23:05 |
webguiquestions | YES it seems to be working. | 23:06 |
+perlDreamer | yes | 23:06 |
sbaur | docster_, you need to restore your database before attempting to re upgrade your site | 23:06 |
webguiquestions | Thank you guys! (if you're both male...sorry for the assumption...) | 23:06 |
@scrottie | I think "dudes and dudettes" is the politically correct term. | 23:06 |
+perlDreamer | gooey-folk | 23:06 |
@scrottie | poid-heads. | 23:07 |
sbaur | I'd say that guys, at least nowadays, is gender neutral | 23:07 |
webguiquestions | Change INFO back to ERROR in /etc/webgui/log.conf? | 23:08 |
@scrottie | "brah" is the new "guys". women can't be brahs. | 23:08 |
sbaur | no, we just wear them | 23:08 |
@scrottie | webguiquestions, sure, you can always change it back again. | 23:09 |
webguiquestions | Thanks a lot everyone. I'll still have more questions after awhile, but I'm calling it a day for now... | 23:09 |
webguiquestions | :-) | 23:09 |
@scrottie | webguiquestions, pleasure! have a good evening. | 23:09 |
webguiquestions | At least I'm slowly learning the ins and outs of how it works... | 23:09 |
docster_ | sbaur: A month ago we upgraded to 7.9.27-stable and everything seemed fine other than it all happened REALLY fast. No errors... for a while. Then started getting Wiki::Keywords table was missing. So I ran the create.sql snippet to create that table and everything seemed fine. Now the email password recovery template and deactivate account templates are missing. So I upgraded to 7.9.29. Everything is fine, no errors, but it happens REALLY fast.... | 23:10 |
docster_ | and the templates are still missing... | 23:10 |
* sbaur still running 7.5.40 | 23:11 | |
@scrottie | docster_, there should be a verbose mode for running upgrades... | 23:11 |
sbaur | not sure how much I can help with the most recent upgrade scripts, but if you tried an upgrade, ran into problems, and then tried again, you have to restore your database to the pre upgrade version before the second try | 23:12 |
@scrottie | that tells you each upgrade name as it runs | 23:12 |
@scrottie | it's tough if you don't notice problems right away. | 23:12 |
@scrottie | it's also possible to run upgrades manually. | 23:12 |
+perlDreamer | it's better to run upgrades manually | 23:12 |
-!- webguiquestions [ad2ed001@gateway/web/freenode/ip.173.46.208.1] has quit [] | 23:13 | |
sbaur | perlDreamer: do any of the tests check the database for consistency? | 23:13 |
@scrottie | hrm, no --verbose mode. --verbose is default. you have to ask for --quiet mode. so you should see the names of the various upgrades running as they run. | 23:13 |
docster_ | I will have to look into that. Now it is a fast server, but I see nothing wrong anywhere at the moment. I will have to find how to run them manually. We do not upgrade very often (because of things like this )... On a live site we like things to work correctly lol | 23:13 |
+perlDreamer | the tests are not meant to be run on production databases | 23:13 |
+perlDreamer | they're destructive | 23:13 |
sbaur | oh, never mind then :-) | 23:14 |
@scrottie | docster_, yeah, if you aren't seeing lists of upgrades run, they aren't running, for whatever reason. | 23:14 |
+perlDreamer | like sbaur said, if you suspect ANY kind of upgrade issue, you should restore the original databases | 23:14 |
docster_ | Well, if there was an issue it was over a month ago and to late now. | 23:15 |
@scrottie | if you're brave, run the upgrades now. | 23:15 |
docster_ | Our server acts like it is just updating the version number and not really doing anything. | 23:15 |
docster_ | We are running the wre on ubuntu server, dual Xeon 4 gig of ram, 15k rpm raid. | 23:16 |
docster_ | Well, I have good backups. But when webgui thinks it is running 7.9.29 it will not upgrade it appears. | 23:17 |
@scrottie | do this: grep sK_0zVw4kwdJ1sqREIsSzA /data/WebGUI/docs/upgrades/* | 23:19 |
@scrottie | does that find any hits? | 23:19 |
@scrottie | (that's your missing template) | 23:19 |
docster_ | ah, that is upgrade_7.9.15-7.9.16.pl | 23:20 |
docster_ | so actually our site is at 7.9.15 but thinks it is at 7.9.29-stable. | 23:21 |
@scrottie | okay. then, to run that one for example (and one .pl might have several things it upgrades), you could do: cd /data/WebGUI/docs/upgrades ; perl upgrade_7.9.15-7.9.16.pl --configFile=www.whatever.com.conf | 23:21 |
@preaction | what does the webguiVersion table say? | 23:21 |
@scrottie | it may have missed several before that one and of course ones after it. | 23:21 |
@preaction | how did you upgrade webgui, and from where to where? | 23:21 |
docster_ | well, Admin panel statistics shows 7.9.29-stable. I have not looked at the table. | 23:21 |
docster_ | we run the wre, I changed into the sbin, sourced setenv and ./webguigrade.pl | 23:22 |
docster_ | it backed up, cleared cache, listed all 12 sites, said complete. | 23:22 |
@preaction | from what version to what version? | 23:23 |
docster_ | well, originally we were at 7.9.15 and upgraded to 7.9.27. thats when I found a missing wiki keywords table. | 23:24 |
@preaction | okay, if something in the upgrade goes wrong, you need to go back to where you were and try again | 23:25 |
docster_ | today I just upgraded from 7.9.27 to 7.9.29 and it behaved the same way. everything looked ok, just really fast, and the version changed to 7.9.27 | 23:25 |
@preaction | this time, i wouldn't use webguiupgrade.pl, but just undo the tarball over the existing WebGUI directory and run sbin/upgrade.pl --doit | 23:26 |
docster_ | well, that was a month ago. We have 12 sites and a few thousand user accounts across them. posts and such.. There is no going back. | 23:26 |
docster_ | It appeared nothing was wrong and the version was updated in the admin statistics. | 23:27 |
@scrottie | docster_, not to make work for you, but you could dump the database, load it on another machine, install the later webgui there, manually run the upgrades, test it, even run the tests in t/ with the 'prove' command, and see what happens. if it looks okay, and you're feeling brave, the run upgrade scripts manually on the production sites. | 23:28 |
@scrottie | in Unix, the lack of output generally indicates success. | 23:28 |
@scrottie | failure to detect failure is a major failure. | 23:28 |
docster_ | well, I backed up the entire /data folder in a couple of places so if I destroy it it would be ok. And if I can get past this I will never use webguiupgrade.pl again. | 23:30 |
@scrottie | you did back it up while mysql was shut down, I hope. | 23:30 |
@scrottie | otherwise the tables won't be any good. | 23:30 |
docster_ | yea, I have lots of backups. Just with a lot of traffic and users they are not really worth that much. :o) | 23:31 |
@scrottie | yeah. | 23:32 |
docster_ | Say amazon had to restore to yesterday :) | 23:32 |
docster_ | This was sneaky to appear to upgrade successfully, but not actually make any changes except the version lol | 23:33 |
@scrottie | I don't even want to look at that code right now but I'm not happy about that either. | 23:34 |
@preaction | the version in statistics is the current running version of the code | 23:35 |
@preaction | the versions in webguiVersion are the upgrades that happened | 23:35 |
docster_ | its ok its late. The template you gave me imported and worked so I fixed the issue I was concerned about. Now just kind of wondering where my database is standing... | 23:35 |
@preaction | check the webguiVersions table. each upgrade is logged there | 23:35 |
@scrottie | docster_, if you read through the upgrade scripts, even if you can't read perl, you should get some idea of what features they're adding templates for and so forth. | 23:36 |
@scrottie | there's also a change log. | 23:36 |
@scrottie | /data/WebGUI/docs/changelog/ | 23:36 |
docster_ | 7.9.16 is the webguiVersion in the database | 23:37 |
@scrottie | that might also give you a rough idea of what might not be in working order. | 23:37 |
@preaction | that's the highest one? there are a whole list, not necessarily in order | 23:37 |
docster_ | 7.9.29-stable is in the statistics. | 23:37 |
docster_ | oh there is 37 but that is the highest and last number. | 23:38 |
@preaction | 7.9.37? | 23:38 |
@preaction | if 7.9.16 is the last number in that table, then that is the last upgrade that was run | 23:38 |
docster_ | no, there are 37 records of upgrades | 23:38 |
docster_ | so the database is at 7.9.16 and the codebase is at 7.9.29. | 23:39 |
@preaction | yes | 23:39 |
docster_ | thanks for guiding me through that. easiest fix outside of an old backup? | 23:40 |
@preaction | in theory, except for the piecemeal things you did, the upgrade should just run | 23:40 |
@scrottie | run the upgrade scripts manually. | 23:40 |
@preaction | not using webguiupgrade.pl from the WRE, but WebGUI/sbin/upgrade.pl --doit | 23:40 |
docster_ | ok, giving that a shot... | 23:40 |
docster_ | looks like it is actually doing something... processing each upgrade one at a time. .24 .25 .26 I think we might be onto something. | 23:42 |
sbaur | Does the Map asset have any functions for calculating distances between points, say like show everything within 50 miles? | 23:44 |
docster_ | Well, the upgrade.pl did upgrade one site webguiVersion to 7.9.29 but the other 11 are not.... Anyway to make it pay attention to them? | 23:47 |
@preaction | they're all in /data/WebGUI/etc? | 23:48 |
@preaction | sbaur: not presently, no | 23:48 |
sbaur | check their databases, what version do they think they are at? | 23:48 |
sbaur | thanks preaction | 23:48 |
docster_ | preaction: all the sites that did not upgrade are at 7.8.14 ? the one site upgrade to 7.9.29 (scratches head again) | 23:52 |
docster_ | and yea, all the config files are in the same place. | 23:53 |
@preaction | in order to upgrade sites at 7.8 to 7.9, you have to upgrade to the latest 7.8 | 23:53 |
docster_ | evidently 7.8.14 was the last | 23:55 |
docster_ | Nope, there is a 7.8.24 to 7.9.11.pl There does not seem to be a 7.8.14 to anything upgrade? | 23:56 |
@preaction | because you have to grab the 7.8.24 package to upgrade to 7.8.24 | 23:57 |
@preaction | minor versions must be completely upgraded before moving on to the next minor version (7.8 -> 7.9) | 23:57 |
@preaction | we do that because code changes in the next minor version can cause the previous minor version's upgrades to fail (as has happened often) | 23:58 |
docster_ | well, the one site that did upgrade is questionable then I guess... because it should not have. | 23:59 |
--- Day changed Fri Jun 03 2011 | ||
docster_ | Moving template attachments to JSON... Can't call method "update" on an undefined value at upgrade_7.8.24-7.9.11.pl line 392. Processing upgrade executable failed! | 00:12 |
docster_ | anyone seen this before? | 00:13 |
@preaction | did you remove the 7.9 upgrades before trying this? you can't upgrade both at the same time | 00:14 |
@preaction | if it tries to run the 7.9 upgrades on the 7.8 codebase, you'll have problems | 00:14 |
@preaction | which i'd guess is what that error is from | 00:14 |
docster_ | well, this was webguiVersion 7.8.14 database and 7.8.24 codebase? I am guessing I should copy the 7.8.24 code base OVER the one there, run the upgrades, then copy the 7.9.29 codebase over that... ? | 00:16 |
@preaction | yes, but you also have to clear our the 7.9 upgrades that will still exist in docs/upgrades | 00:18 |
docster_ | ok, working on that :o) Thanks for your patience. | 00:19 |
Haarg | booored. i wish i could come up with ideas for things to program. | 00:38 |
sbaur | haarg - check the rfe list :-) | 00:38 |
docster_ | wow, I am usually the exact opposite.... to many ideas, to little time :) | 00:38 |
@scrottie | holy god... | 00:40 |
@scrottie | sorry. | 00:40 |
@preaction | Haarg: learn Flex and make games or apps for your phone | 00:40 |
@scrottie | don't start with an _idea_, start with a question. | 00:41 |
Haarg | learning a new system won't help me have ideas for things | 00:41 |
@scrottie | "I wonder if I aimed for a dozen or two frames a second, if I could do ray casting on the 6502 in an Atari 2600..." | 00:41 |
@scrottie | (answer: yes) | 00:42 |
@scrottie | I really want to ask the question of how well it would work to hook up Doom or an engine like that to LPMUD. the MUD already has logic for graph crawling to convert the graph of rooms into a 3D grid. | 00:43 |
@scrottie | as far as questions go, don't assume that the way things are are the only way that they can be, or even that it makes any sort of sense. almost everything is historic accident. history is littered with forgotten good ideas, often forgetten better ideas, and so many unrealized goals. | 00:47 |
@scrottie | some things become more interesting with time, not less. | 00:47 |
@scrottie | a lot of modern stuff is watered down old stuff that's turned into a sort of empty emulation, the brilliance of the original long lost. | 00:48 |
@scrottie | history is perspective. | 00:48 |
@scrottie | perspective is insight. | 00:49 |
@scrottie | know what else you can do on a 2600? drive LCD shutter glasses. network two together using the joystick ports. | 00:49 |
@scrottie | so many possibilities... | 00:49 |
@scrottie | you cannot skip straight to "useful" or "interesting". many of the greatest inventions were made by people who had no idea what they had done. | 00:52 |
@scrottie | you can only make yourself better and as a side effect, do interesting things. | 00:52 |
@scrottie | if you have no questions of your own of anything but want to code something, walk over to the University and walk into any research lab and ask what they're doing. | 00:54 |
-!- fokat [~lem@66.0.48.131] has quit [Ping timeout: 258 seconds] | 00:54 | |
docster_ | still upgrading.... is there a db test that I can run when all this is done? I have overcame several errors but would like to check. I can run it on a backup if needed. | 01:30 |
@scrottie | if you're willing to run it on a site you've cloned from the production site (copy the uploads folder, dump and undump the database), then run the perl 'prove' utility /data/WebGUI. it runs test files in the t directory | 01:40 |
docster_ | ok. when I am done with the rest of the upgrades I will shut it down, make a couple of backups and test it. | 01:41 |
-!- daviddelikat [~user@adsl-76-204-91-40.dsl.mdsnwi.sbcglobal.net] has joined #webgui | 01:42 | |
-!- daviddelikat1 [~dav@76.204.91.40] has joined #webgui | 01:45 | |
-!- daviddelikat [~user@adsl-76-204-91-40.dsl.mdsnwi.sbcglobal.net] has left #webgui [] | 01:48 | |
-!- daviddelikat [~user@adsl-76-204-91-40.dsl.mdsnwi.sbcglobal.net] has joined #webgui | 01:50 | |
docster_ | will running prove on a test DB actually fix anything or just display the errors? | 01:54 |
@scrottie | only find errors. | 01:55 |
@scrottie | don't run that on a live site. | 01:55 |
@scrottie | the tests are primary used by us, during development, to make sure that as we change things and features that we haven't broken other features. they also make sure that we're implementing things correctly. we run those while we work to see if new logic is behaving correctly. | 01:56 |
@scrottie | er, and add features | 01:56 |
@scrottie | development installs of WebGUI don't have important data in them or active users. we don't run those on lives sites and you shouldn't either. | 01:57 |
docster_ | shutting it down, and making a copy to another, starting it up to run it. But really if it just displays errors Im still going to be up the creek. How you do fix lots of errors in 12 databases by hand ;o) | 01:57 |
@scrottie | you pay preaction to do it. | 01:58 |
* scrottie coughs | 01:58 | |
docster_ | lol | 01:58 |
@scrottie | (poor devil) | 01:58 |
@scrottie | up to you whether it's worth it. they will do a good job of telling you whether your version of WebGUI is running correctly but as you said, if it isn't, what are you going to do about it? | 01:58 |
@scrottie | if the upgrades ran without spitting out a bunch of errors, that's a really good sign. | 01:59 |
docster_ | well, remove the webguiupgrade.pl from the wre/sbin dir. It just upgrades the codebase. Our databases were 30+ versions old and had been in use 6 months like that. | 01:59 |
docster_ | there were random errors, column missing, ect... But I upgraded them step by step by step but some just would not upgrade and I just had to skip it. The site must go on. :o) | 02:01 |
@scrottie | yeah. I've never used the thing so I had no idea it had that problem. newer versions of the WRE may have that fixed or removed already. you can help us by searching the bug database for that and if there isn't a fixed bug about this same thing, filing a new bug ticket. | 02:01 |
@scrottie | I see. okay, the tests would probably come up with similar errors and not really tell you anything you don't know. | 02:02 |
docster_ | About all I can do is go forward and hope for the best. And solve the errors when they come up. A lot of things are not even used on the sites so... errors go unnoticed a long time. If you do not have a wiki there are no errors until you create one... :) | 02:04 |
sbaur | good luck docster_ | 02:06 |
docster_ | thank you! | 02:07 |
-!- sbaur [~Adium@130.157.145.37] has quit [Quit: Leaving.] | 02:32 | |
-!- ryuu_ro [~rory@5357069A.cm-6-8a.dynamic.ziggo.nl] has quit [Quit: ryuu_ro] | 02:39 | |
@scrottie | would it be bad taste, bad design, or excessively hacky to have a Macro that creates and renders Form objects for you? | 02:54 |
@scrottie | maybe not core, but on a WebGUI site... | 02:55 |
@scrottie | I keep finding myself replacing template vars that pull up generated form elements with hard-coded form elements in order to avoid having to subclass an asset. | 02:55 |
@scrottie | that's kind of klunky. | 02:55 |
@preaction | scrottie: no, i think that macro would be a good idea | 02:57 |
* scrottie makes a nasal noise | 02:57 | |
@preaction | the idea being that designers always hate whatever form control you give them, so giving them an easy way to make whatever form control they want is a Good Thing | 02:57 |
@preaction | FormBuilder's per-field template vars + some function to build a field from the template vars = whatever they want | 02:58 |
@preaction | and of course, later, less forms in the code, more forms only in the templates | 02:58 |
@scrottie | yeah, I saw that while I was poking around in there again. | 02:59 |
@scrottie | I'm not entirely happy with the CSS+HTML template+template tags... er... paradigm. | 02:59 |
@scrottie | but that at least doesn't screw that idiom up. | 02:59 |
@scrottie | being able to look at a dump of the template tags set on a page and then be able to write the template from scratch would be huge. | 03:00 |
docster_ | On our site, after the multiple upgrades I now have version tags of 7.9.3, 7.9.4, 7.9.5 ect... how would I remove all of those as I am pretty sure its not something I want to keep :o) | 03:08 |
docster_ | Cool huh? I just deleted them from the admin panel. Seems ok so far... | 03:10 |
* scrottie sighs | 03:10 | |
@scrottie | go to the trash and undelete them. | 03:10 |
@scrottie | and then put down the mouse and keyboard for the day and go get some fresh air. | 03:10 |
docster_ | lol, I could use it :o) | 03:11 |
@scrottie | version tags contain content. maybe you don't want to look at them, but I'm pretty sure you want them. | 03:11 |
@preaction | if the version tags were not committed, it means the upgrade did not do something correctly | 03:12 |
docster_ | So should upgrades show up as version tags? Seems a little bit strange from my point of view... | 03:12 |
docster_ | Aha, they were not committed. | 03:13 |
@preaction | yes, the upgrade can add or change content on the site, which is done in a version tag | 03:13 |
@scrottie | whenever a new version, or a first version of something is added to WebGUI, it gets versioned. | 03:13 |
@scrottie | you can delete a version of something without deleting all versions of it. you can delete the latest version to go back to the previous version. | 03:13 |
@scrottie | not being commit is generally what happens when an upgrade script blows up and doesn't run until the end | 03:14 |
docster_ | Oh well, being we ran 6 months with a database 30 versions older than the code base I am thankful it still works at all. | 03:14 |
-!- jimX11 [~jjm@n128-227-81-249.xlate.ufl.edu] has quit [Quit: Leaving] | 03:41 | |
CIA-68 | webgui: Doug Bell WebGUI8 * r1de9a12 / lib/WebGUI/Admin/Plugin.pm : add POD to WebGUI::Admin::Plugin and rename canUse to canView - http://bit.ly/j7swa7 | 03:45 |
CIA-68 | webgui: Doug Bell WebGUI8 * r664e768 / (16 files in 8 dirs): fix bugs revealed by Test::Class tests - http://bit.ly/jlgCx3 | 03:45 |
docster_ | Thanks for all the help friends. Could not have done it without you :o) | 03:46 |
-!- docster_ [~docster@66.153.187.10] has left #webgui [] | 03:47 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 04:08 | |
kthakore | yay WebGUI8 upgrade | 05:13 |
kthakore | thanks Doug Bell | 05:13 |
kthakore | hi ppl | 05:13 |
-!- nelsin [~nelson_br@host-1-233.b4.cvc.com.py] has joined #webgui | 05:49 | |
-!- nelsin [~nelson_br@host-1-233.b4.cvc.com.py] has quit [Ping timeout: 240 seconds] | 05:53 | |
-!- nelsin [~nelson_br@host-1-233.b4.cvc.com.py] has joined #webgui | 05:56 | |
-!- nelsin [~nelson_br@host-1-233.b4.cvc.com.py] has quit [Ping timeout: 240 seconds] | 06:00 | |
-!- kthakore [~kthakore@li136-101.members.linode.com] has quit [Ping timeout: 244 seconds] | 06:12 | |
-!- kthakore [~kthakore@li136-101.members.linode.com] has joined #webgui | 06:12 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Quit: Leaving.] | 06:36 | |
@scrottie | hey kthakore | 08:02 |
-!- xdanger [xdanger@mentalhouse.net] has quit [Ping timeout: 246 seconds] | 08:05 | |
--- Log closed Fri Jun 03 08:05:15 2011 | ||
--- Log opened Fri Jun 03 08:24:37 2011 | ||
@scrottie | feeling better I hope! | 08:24 |
* scrottie & | 09:26 | |
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has quit [Quit: Leaving.] | 09:31 | |
-!- ryuu_ro [~rory@D57D69B6.static.ziggozakelijk.nl] has joined #webgui | 09:32 | |
-!- kaare__ [~kaare@79.138.234.162.bredband.3.dk] has joined #webgui | 10:14 | |
-!- kaare__ [~kaare@79.138.234.162.bredband.3.dk] has quit [Ping timeout: 240 seconds] | 10:48 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 13:02 | |
-!- waxhead [~pete@ppp121-45-217-58.lns20.cbr1.internode.on.net] has joined #webgui | 13:16 | |
-!- carogray1 [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 13:33 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Ping timeout: 250 seconds] | 13:35 | |
kthakore | scrottie: almost there. These past few days have been crazy. Sick + getting my Mom packed and boarded for India | 13:57 |
kthakore | /win 2 | 15:03 |
-!- kaare__ [~kaare@79.138.233.121.bredband.3.dk] has joined #webgui | 15:03 | |
-!- webuiquestions [ad2ed001@gateway/web/freenode/ip.173.46.208.1] has joined #webgui | 15:34 | |
webuiquestions | Hello. | 15:35 |
kthakore | webuiquestions: hi | 15:45 |
webuiquestions | There's no way in WebGUI to easily have users apply for an account but wait for the approval (or rejection) before allowing a workflow to finish creating home pages, is there? | 15:47 |
kthakore | I am not sure if that is a question. | 15:59 |
kthakore | Also I wouldn't know sorry | 16:00 |
-!- daviddelikat [~user@adsl-76-204-91-40.dsl.mdsnwi.sbcglobal.net] has quit [Quit: Leaving.] | 16:07 | |
-!- ryuu_ro [~rory@D57D69B6.static.ziggozakelijk.nl] has left #webgui [] | 16:08 | |
-!- daviddelikat1 [~dav@76.204.91.40] has quit [Quit: Leaving.] | 16:09 | |
webuiquestions | @kthakore: to have to be approved before having your account access granted? | 16:14 |
webuiquestions | I'm testing a setup now where if you are in LDAP, you can get access to the website without any registration. And it automatically through a workflow script someone provided creates a "home page" for the user. | 16:15 |
webuiquestions | The thing is we have a large group so users that we don't want able to just go in and create a website, but they have legitimate LDAP (active directory) credentials. | 16:16 |
webuiquestions | So I'd either need a way so that only users belonging to a particular group in active directory can get a login, or a way to prevent everyone in active directory from successfully logging in. | 16:16 |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Ping timeout: 246 seconds] | 16:33 | |
SDuensin | FrIdAy! | 16:38 |
-!- vayde [~vayde@184-100-69-97.mpls.qwest.net] has quit [Ping timeout: 260 seconds] | 16:45 | |
-!- vayde [~vayde@67-4-235-226.mpls.qwest.net] has joined #webgui | 16:59 | |
-!- ryuu_ro_ [~rory@D57D69B6.static.ziggozakelijk.nl] has joined #webgui | 17:15 | |
-!- ryuu_ro_ [~rory@D57D69B6.static.ziggozakelijk.nl] has quit [Client Quit] | 17:15 | |
-!- kaare__ [~kaare@79.138.233.121.bredband.3.dk] has quit [Ping timeout: 246 seconds] | 17:46 | |
-!- sbaur [~Adium@130.157.145.37] has joined #webgui | 18:02 | |
-!- webuiquestions [ad2ed001@gateway/web/freenode/ip.173.46.208.1] has quit [] | 18:08 | |
kthakore | SDuensin: waaah | 18:16 |
SDuensin | waaaaaaaaaah? | 18:17 |
kthakore | SDuensin: I am stuck at parents place ... nothing fun to do :< | 18:20 |
kthakore | so ... waaaaaaaaaaaah | 18:20 |
kthakore | SDuensin: on a friday | 18:21 |
SDuensin | Trade you. I'm at work. | 18:21 |
kthakore | ok! | 18:31 |
kthakore | What work do you do? | 18:31 |
kthakore | I would love to have a chunk of that paycheck too! | 18:31 |
SDuensin | I'm a contractor to the Army for a broken ass web system they won't let me fix yet is entirely my fault somehow. | 18:32 |
kthakore | SDuensin: I will work as lowly as possible | 18:33 |
kthakore | err | 18:33 |
kthakore | as needed | 18:33 |
SDuensin | Well my position will be open soon enough. | 18:33 |
kthakore | haha | 18:33 |
kthakore | no way, you seem to have that awesomeness charm | 18:33 |
kthakore | you will be fine | 18:34 |
SDuensin | People here like me. I just don't like where I am. | 18:34 |
SDuensin | I'll be fine the day I turn in my laptop and security badges. | 18:34 |
SDuensin | Which I had hoped was today, but my wife had other thoughts. | 18:34 |
kthakore | awww | 18:34 |
kthakore | that sucks | 18:34 |
kthakore | disregard wife; acquire ... well nothing | 18:37 |
SDuensin | I have leads on new work. Pretty solid ones. | 18:38 |
kthakore | sweet | 18:46 |
kthakore | good luck | 18:46 |
SDuensin | THanks | 18:48 |
SDuensin | Where are you located, anyway? What kind of work you want to do? | 18:48 |
-!- fokat [~lem@66.0.48.131] has joined #webgui | 18:52 | |
@scrottie | nothing to do? you've got your laptop! | 19:06 |
SDuensin | Yea. True! Port EhBASIC to my 6502 for me! | 19:07 |
SDuensin | (Yet another thing I've not had time to finish.) | 19:08 |
@scrottie | EhBASIC? | 19:09 |
SDuensin | It's a portable BASIC in 6502 ASM... | 19:09 |
SDuensin | I want to make it run on this: http://www.downtothemetal.com/custom/6502/README.txt | 19:10 |
SDuensin | (All the code for that "machine" is up a level at http://www.downtothemetal.com/custom/6502 ) | 19:10 |
kthakore | SDuensin: Canada | 19:15 |
kthakore | scrottie: yeah ... true | 19:15 |
* kthakore woop woop woop woops back to work | 19:16 | |
SDuensin | Canada. That narrows it down. I'm from Earth myself. | 19:16 |
SDuensin | :-) | 19:16 |
kthakore | Ontario, | 19:17 |
SDuensin | :-) | 19:17 |
kthakore | Toronto | 19:17 |
kthakore | erm need more? | 19:17 |
SDuensin | In other words, not close to me. I'm in the St. Louis area. | 19:17 |
kthakore | awww | 19:18 |
-!- kaare__ [~kaare@94.191.188.105.bredband.3.dk] has joined #webgui | 19:22 | |
-!- fokat [~lem@66.0.48.131] has quit [Ping timeout: 258 seconds] | 19:24 | |
@scrottie | SDuensin, I thought you were linking me to "BoMW" for a sec there...http://www.bigmessowires.com/ | 19:42 |
SDuensin | lol | 19:43 |
@scrottie | in particular, http://www.bigmessowires.com/bmow1/ ... wow, this guy has been busy since last I looked at that. | 19:47 |
@scrottie | I find the wirewrap photos amazing. | 19:48 |
SDuensin | I've seen that stuff before. He's insane. :-) | 19:49 |
-!- fokat [~lem@66.0.48.131] has joined #webgui | 20:27 | |
-!- fokat [~lem@66.0.48.131] has quit [Ping timeout: 258 seconds] | 20:42 | |
@scrottie | arg. | 21:11 |
-!- fokat [~lem@66.0.48.131] has joined #webgui | 21:34 | |
kthakore | scrottie: huh? | 21:39 |
@scrottie | long story. too much tracing around through unrelated code to track down a stupid problem. | 21:42 |
ckotil | http://www.ohloh.net/p/WebGUI | 21:46 |
@scrottie | ckotil, I saw a DEFCON talk where they were mining commit logs for language about stuff developers knew was insecure and intended to fix. before they dived into that portion of the presentation and were just showing off some random, interesting stats and finds, WebGUI frequently came up in the "strange and amusing commit message" category. | 21:51 |
kthakore | yeah ... | 21:54 |
kthakore | I broke something else | 21:54 |
kthakore | again ... | 21:54 |
@scrottie | yeah. | 21:57 |
kthakore | tests are failing | 22:00 |
@scrottie | that's what tests do. | 22:02 |
kthakore | but it ... no makes sense ... | 22:05 |
kthakore | argh | 22:05 |
@scrottie | verify your understanding, perhaps interactively with hu-mans. | 22:06 |
kthakore | ok | 22:18 |
kthakore | I am doign the GD resize rewrite | 22:19 |
kthakore | .... but it is not doign the dimensions I wanted to do | 22:19 |
@scrottie | I think your GD is messed up. Do you have access to another system? | 22:19 |
kthakore | not on hand | 22:20 |
kthakore | :( | 22:20 |
kthakore | only my laptop | 22:20 |
@scrottie | you're on from a Linode. is that yours? what OS is it running? | 22:20 |
* scrottie is on from a linode too | 22:21 | |
@scrottie | preaction, you might do the http://www.ohloh.net/p/WebGUI "claim this position" thingie. | 22:22 |
@preaction | must be new | 22:23 |
kthakore | scrottie: Ubuntu | 22:24 |
kthakore | I don't have enough ram on hear | 22:24 |
kthakore | it is running other things | 22:24 |
kthakore | Do you guys have a machine I can run this stuff on? | 22:28 |
-!- kaare__ [~kaare@94.191.188.105.bredband.3.dk] has quit [Ping timeout: 248 seconds] | 22:53 | |
-!- Haarg [~haarg@haarg.org] has quit [Quit: Leaving] | 22:56 | |
-!- Haarg [~haarg@haarg.org] has joined #webgui | 22:57 | |
-!- fokat [~lem@66.0.48.131] has quit [Ping timeout: 258 seconds] | 23:05 | |
ckotil | anyone expiring assets after a certain length of time? | 23:07 |
ckotil | Ive always considering writing a workflow activity that would email the creator of an asset when it reaches a certain age. then the owner would have to either edit it or delete it | 23:09 |
@preaction | there's the built-in WaitUntil workflow activity | 23:10 |
@preaction | and VersionTags, if the workflow has WaitUntil, can rollback when a point is reached | 23:10 |
@preaction | otherwise if you set things to archived, they're almost as good as "expired" | 23:11 |
ckotil | hrm , that doesnt seem to fit my use case, which is to expire documentation so that it can be reviewed and purged after so long. | 23:18 |
@preaction | then a custom scheduled task sounds best | 23:21 |
ckotil | k | 23:21 |
-!- fokat [~lem@66.0.48.131] has joined #webgui | 23:32 | |
--- Day changed Sat Jun 04 2011 | ||
-!- daviddelikat1 [~dav@adsl-76-204-91-40.dsl.mdsnwi.sbcglobal.net] has joined #webgui | 00:02 | |
-!- fokat [~lem@66.0.48.131] has quit [Ping timeout: 258 seconds] | 00:05 | |
-!- fokat [~lem@66.0.48.131] has joined #webgui | 00:08 | |
-!- carogray1 [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Quit: Leaving.] | 00:46 | |
-!- fokat [~lem@66.0.48.131] has quit [Ping timeout: 258 seconds] | 01:54 | |
-!- sbaur [~Adium@130.157.145.37] has quit [Quit: Leaving.] | 02:33 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 04:13 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Ping timeout: 250 seconds] | 04:32 | |
CIA-68 | webgui: Doug Bell master * r3151a02 / lib/WebGUI/Macro/AssetProxy.pm : we don't always have an asset, so use the page url instead - http://bit.ly/inSYYO | 04:51 |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Quit: Leaving.] | 06:17 | |
-!- kaare__ [~kaare@94.191.199.106.bredband.3.dk] has joined #webgui | 09:29 | |
-!- kaare__ [~kaare@94.191.199.106.bredband.3.dk] has quit [Ping timeout: 246 seconds] | 09:58 | |
-!- Radix__ is now known as Radix_ | 11:11 | |
-!- Haarg [~haarg@haarg.org] has quit [Quit: Leaving] | 13:27 | |
-!- Haarg [~haarg@haarg.org] has joined #webgui | 13:35 | |
-!- Haarg [~haarg@haarg.org] has quit [Remote host closed the connection] | 13:41 | |
-!- Haarg [~haarg@haarg.org] has joined #webgui | 13:42 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 13:47 | |
-!- kaare__ [~kaare@94.191.198.69.bredband.3.dk] has joined #webgui | 14:56 | |
-!- kaare__ [~kaare@94.191.198.69.bredband.3.dk] has quit [Ping timeout: 276 seconds] | 15:41 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Quit: Leaving.] | 16:16 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 16:26 | |
-!- lem_ [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 17:25 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Ping timeout: 258 seconds] | 17:25 | |
-!- lem_ is now known as Guest6054 | 17:25 | |
-!- Guest6054 [~lem@weston-69.65.87.205.myacc.net] has quit [Ping timeout: 244 seconds] | 18:09 | |
-!- kaare__ [~kaare@79.138.174.184.bredband.oister.dk] has joined #webgui | 19:23 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui | 20:11 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Read error: Connection reset by peer] | 20:14 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui | 20:22 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Read error: Connection reset by peer] | 20:25 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui | 20:32 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Read error: Connection reset by peer] | 21:57 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui | 22:04 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Read error: Connection reset by peer] | 22:11 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui | 22:24 | |
-!- kaare__ [~kaare@79.138.174.184.bredband.oister.dk] has quit [Ping timeout: 240 seconds] | 23:34 | |
--- Day changed Sun Jun 05 2011 | ||
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 00:01 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 01:31 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Read error: Connection reset by peer] | 04:37 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui | 04:45 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Quit: Leaving.] | 05:14 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Quit: Leaving.] | 05:56 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui | 06:09 | |
-!- kaare_ [~kaare@79.138.171.136.bredband.oister.dk] has joined #webgui | 09:00 | |
-!- kaare_ [~kaare@79.138.171.136.bredband.oister.dk] has quit [Ping timeout: 246 seconds] | 09:39 | |
-!- kaare_ [~kaare@94.191.202.209.bredband.3.dk] has joined #webgui | 13:44 | |
-!- kaare_ [~kaare@94.191.202.209.bredband.3.dk] has quit [Ping timeout: 240 seconds] | 14:55 | |
-!- ryuu_ro [~rory@5357069A.cm-6-8a.dynamic.ziggo.nl] has joined #webgui | 15:28 | |
-!- ryuu_ro [~rory@5357069A.cm-6-8a.dynamic.ziggo.nl] has quit [Quit: off] | 15:43 | |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui | 17:22 | |
-!- mducharme-work1 [~nothing@206.188.121.4] has joined #webgui | 20:19 | |
-!- mducharme-work [~nothing@206.188.121.4] has quit [Ping timeout: 258 seconds] | 20:21 | |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Read error: Operation timed out] | 20:36 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 21:55 | |
--- Day changed Mon Jun 06 2011 | ||
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Ping timeout: 255 seconds] | 01:04 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 04:20 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Quit: Leaving.] | 05:19 | |
-!- advancedalarmtec [~advanceda@99-101-77-213.lightspeed.ltrkar.sbcglobal.net] has joined #webgui | 08:35 | |
advancedalarmtec | is there anyone online that could help with a WRE 0.9.3 installation? | 08:37 |
advancedalarmtec | I have a clean install of ubuntu 11.04 server. I downloaded WRE 0.9.3 and followed the instructions from the webgui website. While running the testEnvironment it fails at the DBD::mysql installation. What are the correct flags to include for DBD::mysql to install successfuly? | 08:39 |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui | 08:42 | |
@preaction | you need to source the WRE's environment | 08:42 |
@preaction | at the terminal, do "source /data/wre/sbin/setenvironment.sh" | 08:43 |
advancedalarmtec | installation still failed after "source /data/wre/sbin/setenvironment.sh" | 08:50 |
@preaction | but it shouldn't be trying to install at all | 08:53 |
advancedalarmtec | during the installation using cpan it says it can't find the directory of mysql.h | 08:58 |
@preaction | but it shouldn't be trying to install at all | 08:59 |
@preaction | what does "which perl" say? | 08:59 |
advancedalarmtec | '/data/wre/prereqs/bin/perl' | 08:59 |
@preaction | how about perldoc -l DBD::mysql | 09:00 |
advancedalarmtec | '/data/wre/prereqs/lib/perl5/site_perl/5.10.0/i686-linux/DBD/mysql.pm' | 09:03 |
@preaction | so it exists, it shouldn't need installing | 09:04 |
@preaction | what is the full output of testEnvironment.pl before it tries installing? | 09:05 |
advancedalarmtec | 'Checking for module DBD::mysql: | 09:06 |
-!- ryuu_ro [~rory@D57D69B6.static.ziggozakelijk.nl] has joined #webgui | 09:06 | |
advancedalarmtec | Not installed, do you want to isntall it now? {y|n} | 09:06 |
@preaction | okay, try "perl -MDBD::mysql" instead | 09:06 |
advancedalarmtec | that command seems to stall the system | 09:09 |
@preaction | so it loads just fine | 09:10 |
@preaction | and you're doing "perl testEnvironment.pl" correct? not "./testEnvironment.pl" | 09:10 |
advancedalarmtec | no, I was running "sudo ./testEnvironment.pl" which is what it states in the instructions | 09:11 |
@preaction | which instructions? you should be doing sudo perl testEnvironment.pl | 09:11 |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Ping timeout: 276 seconds] | 09:13 | |
advancedalarmtec | I just checked, I must have missread them previously, I tried the command "sudo perl testEnvironment.pl" and it still gives the same error | 09:14 |
@preaction | it's probably using the wrong perl when you're sudo | 09:14 |
advancedalarmtec | the instructions I was following was from: http://www.webgui.org/community-wiki/wre-installation | 09:14 |
@preaction | you should get a root shell "sudo -i" source the WRE "source /data/wre/sbin/setenvironment.sh" and then try again | 09:14 |
@preaction | source the WRE is part of step 6 in that document | 09:15 |
advancedalarmtec | I was sourcing the setenvironment.sh as non-root user, then runing the testEnvironment as root... | 09:19 |
advancedalarmtec | this fixed it, thank you preaction | 09:22 |
@preaction | sudo overwrites parts of the current environment, parts that wouldn't work right | 09:22 |
@preaction | you can control this via /etc/sudoers, iirc | 09:23 |
advancedalarmtec | this is what I was doing wrong approx 6 months ago when I tried to do an installation, I've been using the VMware Appliance, but have grown to like WebGUI enough to want to get the installation on a physical machine | 09:29 |
-!- advancedalarmtec [~advanceda@99-101-77-213.lightspeed.ltrkar.sbcglobal.net] has quit [] | 09:42 | |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui | 10:58 | |
-!- mode/#webgui [+v BartJol] by ChanServ | 10:58 | |
-!- carogray [~Caroline@184-218-107-38.pools.spcsdns.net] has joined #webgui | 12:52 | |
-!- mducharme1 [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui | 13:11 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Ping timeout: 260 seconds] | 13:14 | |
-!- khenn [~frank@99-111-115-201.lightspeed.mdsnwi.sbcglobal.net] has quit [Quit: khenn] | 14:08 | |
-!- carogray [~Caroline@184-218-107-38.pools.spcsdns.net] has quit [Read error: Connection reset by peer] | 14:48 | |
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has joined #webgui | 15:21 | |
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has quit [Read error: Connection reset by peer] | 15:23 | |
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has joined #webgui | 15:31 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 16:14 | |
SDuensin | Greetings. | 17:03 |
-!- perlbot [simcop2387@isuckatdomains.net] has quit [Ping timeout: 246 seconds] | 17:51 | |
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui | 17:52 | |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 17:52 | |
+perlDreamer | morning, folks | 17:53 |
SDuensin | Hey perlDreamer | 17:54 |
+perlDreamer | preaction, I had the same problem with a server install on Saturday. No DBD::mysql in the wre | 17:54 |
+perlDreamer | morning, SD | 17:54 |
-!- perlbot [simcop2387@isuckatdomains.net] has joined #webgui | 17:54 | |
-!- sbaur [~Adium@130.157.145.37] has joined #webgui | 18:00 | |
-!- ryuu_ro_ [~rory@D57D69B6.static.ziggozakelijk.nl] has joined #webgui | 18:11 | |
-!- ryuu_ro_ [~rory@D57D69B6.static.ziggozakelijk.nl] has quit [Client Quit] | 18:11 | |
-!- ryuu_ro [~rory@D57D69B6.static.ziggozakelijk.nl] has quit [Ping timeout: 252 seconds] | 18:14 | |
+perlDreamer | BartJol, if I try to add the PayPal localization, can you test it for me later tonight your time? | 18:25 |
* SDuensin perks up at the mention of PayPal | 18:30 | |
+perlDreamer | SDuensin, PayPal support localization of its pages based on either the submitting site, or a specific tag submitted to it via the Button | 18:31 |
SDuensin | Just happy for any PayPal love. :-) | 18:32 |
+perlDreamer | I am planning two bug fixes today, three if I can get to them, for PayPal | 18:33 |
SDuensin | I wish I had time to help with stuff like that. My current job is a soul-sucking void of dispair that steals 8 hours of my useful time a day. | 18:34 |
+BartJol | perlDreamer: eeh, will tomorrow before you wake up do? | 18:40 |
+perlDreamer | oh sure | 18:40 |
* BartJol always enjoys SDuensin optimism | 18:41 | |
SDuensin | BartJol: Sorry. Like I told someone else earlier, I enjoyed my last trip to the ER much more than coming into work. | 18:42 |
+BartJol | :) | 18:46 |
+perlDreamer | SDuensin, I'm starting to have that feeling about PayPal in general | 18:53 |
+perlDreamer | like, I just learned that in PP standard, you cannot use credits to discount shipping costs | 18:53 |
+perlDreamer | you have to hack it, and add shipping as another item to the cart to make that work | 18:53 |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has quit [Quit: Leaving.] | 19:09 | |
CIA-68 | webgui: Colin Kuskie master * rb21a6e3 / (3 files in 3 dirs): PayPal does not consider +5.00 to be the same as 5.00. Remove the sign from the number. Fixes bug #12152. - http://bit.ly/mvYpaq | 19:12 |
CIA-68 | webgui: Colin Kuskie webgui-7.9 * rf0c958e / (3 files in 3 dirs): PayPal does not consider +5.00 to be the same as 5.00. Remove the sign from the number. Fixes bug #12152. - http://bit.ly/kSEzBV | 19:13 |
-!- ryuu_ro [~rory@5357069A.cm-6-8a.dynamic.ziggo.nl] has joined #webgui | 19:38 | |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Ping timeout: 250 seconds] | 20:12 | |
CIA-68 | webgui: Colin Kuskie webgui-7.9 * r2507f52 / t/User.t : Add tests for checking user status via get. - http://bit.ly/jFPGTc | 21:09 |
@preaction | perlDreamer: but that problem was revealed as "the WRE wasn't sourced" | 21:15 |
+perlDreamer | yeah, I didn't have that problem | 21:16 |
+perlDreamer | I was using the right perl | 21:16 |
+perlDreamer | it found every module BUT DBD::mysql | 21:16 |
@preaction | which usually means it can't load it, especially if perldoc -l points to the right place | 21:17 |
@preaction | testEnvironment doesn't make a distinction between a module that can't be loaded, or one that's missing | 21:17 |
+perlDreamer | maybe it was a problem unpacking the WRE on that one server | 21:19 |
+perlDreamer | just seems odd to me that I can download the WRE, install it, and then have WebGUI tell me that it can't find a part of the WRE | 21:20 |
+perlDreamer | but it's working now, and I've never had that kind of problem before | 21:20 |
+perlDreamer | preaction, for User.pm, where did we end up? Are we using generic accessors (->get), or specific attributes (->username, ->status, ->etc) ? | 23:40 |
-!- ryuu_ro [~rory@5357069A.cm-6-8a.dynamic.ziggo.nl] has quit [Quit: off] | 23:40 | |
@preaction | attributes, as the rest of webgui is now using (due to moose) | 23:43 |
+perlDreamer | cool | 23:57 |
+perlDreamer | someone reported a bug using ->get('status') and status that sounds like an odd caching bug | 23:57 |
+perlDreamer | I can't reproduce it | 23:57 |
+perlDreamer | but when I figure out what it is, I'll make sure it's in the attribute direction | 23:58 |
--- Day changed Tue Jun 07 2011 | ||
-!- advancedalarmtec [~advanceda@64.134.177.84] has joined #webgui | 00:13 | |
+perlDreamer | frodwith, we didn't fix it (it being the Spectre bug with notify) | 00:42 |
+perlDreamer | i've got a stuck website running 7.9.29 | 00:42 |
@frodwith | well, at least we fixed one thinko | 00:42 |
@frodwith | even if the issue isn't gone. | 00:42 |
+perlDreamer | this is worse then gophers | 00:42 |
+perlDreamer | you shoot one, and his uncle, brother, neighbor down the street pops back up | 00:43 |
-!- elnino [~ninow@user-38q47pn.cable.mindspring.com] has joined #webgui | 00:47 | |
elnino | hello! | 00:47 |
elnino | just looking into ads a little. It appears that they do not have any templates? is that correct? | 00:47 |
+perlDreamer | correct | 00:47 |
+perlDreamer | no templates | 00:47 |
+perlDreamer | no time up to time down | 00:47 |
elnino | you mean duration. That's a bummer. | 00:49 |
elnino | I suppose a bunch of people ask? | 00:49 |
elnino | I suppose you could say there is a template for the article in which you put the macro in. | 00:50 |
elnino | that works. | 00:50 |
+perlDreamer | right, or the style template in the Layout | 00:50 |
elnino | what is the limit of "ad text" we can have? | 00:52 |
+perlDreamer | should be related to the input field | 00:53 |
+perlDreamer | textareas can be pretty big | 00:53 |
elnino | it's just an input field, not a textarea. so 255? | 00:53 |
+perlDreamer | yes | 00:54 |
+perlDreamer | time for piano lessons, I'll be back later | 01:02 |
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has quit [Quit: Leaving.] | 01:02 | |
elnino | ah, found the table in the schema. | 01:02 |
elnino | the "ad shop" asset in the admin bar - is that adding a special shop for selling ads? or is that adding a adsku? looks like an adsku, but I don't see an optoin to sell a text add or richmedia? | 01:31 |
elnino | sorry, "option to sell text only, image, or richmedia" | 01:32 |
elnino | ads | 01:32 |
elnino | can the rich media utilize macros? | 01:34 |
elnino | for rich media ads, the URL isn't linked to the html code I provided. I thought it would do that for me. is that a bug? | 01:41 |
elnino | oh http://www.webgui.org/design/wiki/ad-space-macro - So I can't assetproxy an article that has AdSpace in it? | 02:03 |
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has quit [Ping timeout: 240 seconds] | 02:12 | |
-!- carogray [~Caroline@72-63-35-54.pools.spcsdns.net] has joined #webgui | 02:28 | |
-!- sbaur [~Adium@130.157.145.37] has quit [Quit: Leaving.] | 02:31 | |
-!- carogray [~Caroline@72-63-35-54.pools.spcsdns.net] has quit [Ping timeout: 255 seconds] | 02:33 | |
-!- elnino [~ninow@user-38q47pn.cable.mindspring.com] has quit [Quit: Leaving] | 04:35 | |
-!- elnino [~ninow@user-38q47pn.cable.mindspring.com] has joined #webgui | 04:35 | |
-!- elnino [~ninow@user-38q47pn.cable.mindspring.com] has quit [Client Quit] | 04:35 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Ping timeout: 240 seconds] | 05:07 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 05:08 | |
CIA-68 | webgui: Colin Kuskie webgui-7.9 * r38d81ce / lib/WebGUI/Shop/PayDriver/PayPal/ExpressCheckout.pm : Fix a syntax warning with multiple i18n objects in PP::ExpressCheckout - http://bit.ly/kXVZji | 05:53 |
CIA-68 | webgui: Colin Kuskie master * r21bcd70 / lib/WebGUI/Shop/PayDriver/PayPal/ExpressCheckout.pm : Fix a syntax warning with multiple i18n objects in PP::ExpressCheckout - http://bit.ly/kF6gx9 | 05:54 |
CIA-68 | webgui: Colin Kuskie webgui-7.9 * r43782b2 / docs/create.sql : Preparing for 7.9.30 release. - http://bit.ly/iLv6o8 | 06:49 |
CIA-68 | webgui: Colin Kuskie webgui-7.9 * rc76afd9 / (4 files in 4 dirs): Ready for 7.9.31 development. - http://bit.ly/ijqXZN | 07:04 |
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui | 07:30 | |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 07:30 | |
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has quit [Quit: Leaving.] | 07:40 | |
-!- elnino [~ninow@user-38q47pn.cable.mindspring.com] has joined #webgui | 07:42 | |
-!- elnino [~ninow@user-38q47pn.cable.mindspring.com] has quit [Client Quit] | 07:46 | |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui | 08:38 | |
-!- ryuu_ro [~rory@D57D69B6.static.ziggozakelijk.nl] has joined #webgui | 09:23 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Ping timeout: 252 seconds] | 09:30 | |
-!- Radix_ changed the topic of #webgui to: [7.9.30-stable | 7.10.17-beta | WRE 0.9.3] Before you ask, check the wiki: http://wiki.webgui.org | Pastebin: http://webgui.pastebin.com | 09:36 | |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui | 10:22 | |
-!- mode/#webgui [+v BartJol] by ChanServ | 10:22 | |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui | 10:27 | |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Quit: Leaving.] | 11:41 | |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui | 11:42 | |
-!- Getty [torsten@mrwhite.london.cloudssus.net] has quit [Ping timeout: 240 seconds] | 12:36 | |
-!- andyiomoon1 [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui | 14:26 | |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Ping timeout: 252 seconds] | 14:28 | |
-!- daviddelikat1 [~dav@adsl-76-204-91-40.dsl.mdsnwi.sbcglobal.net] has quit [Ping timeout: 240 seconds] | 14:31 | |
-!- daviddelikat1 [~dav@adsl-76-204-91-40.dsl.mdsnwi.sbcglobal.net] has joined #webgui | 14:32 | |
-!- andyiomoon1 [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Quit: Leaving.] | 16:13 | |
-!- daviddelikat [~user@adsl-76-204-91-128.dsl.mdsnwi.sbcglobal.net] has joined #webgui | 16:22 | |
-!- daviddelikat [~user@adsl-76-204-91-128.dsl.mdsnwi.sbcglobal.net] has left #webgui [] | 16:23 | |
-!- daviddelikat [~user@adsl-76-204-91-128.dsl.mdsnwi.sbcglobal.net] has joined #webgui | 16:27 | |
-!- daviddelikat [~user@adsl-76-204-91-128.dsl.mdsnwi.sbcglobal.net] has quit [Client Quit] | 16:28 | |
-!- daviddelikat [~user@adsl-76-204-91-128.dsl.mdsnwi.sbcglobal.net] has joined #webgui | 16:28 | |
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui | 16:30 | |
-!- mode/#webgui [+o bopbop] by ChanServ | 16:30 | |
SDuensin | Blargh. | 16:43 |
-!- daviddelikat1 [~dav@adsl-76-204-91-40.dsl.mdsnwi.sbcglobal.net] has quit [Quit: Leaving.] | 16:47 | |
SDuensin | This is me in my basement. http://xkcd.com/908/ | 16:52 |
SDuensin | My server is even shaped like the one in that comic. | 16:55 |
-!- advancedalarmtec [~advanceda@64.134.177.84] has quit [Ping timeout: 250 seconds] | 17:14 | |
-!- ryuu_ro_ [~rory@D57D69B6.static.ziggozakelijk.nl] has joined #webgui | 17:33 | |
-!- ryuu_ro_ [~rory@D57D69B6.static.ziggozakelijk.nl] has quit [Client Quit] | 17:33 | |
@scrottie | hrm, kind of reminds of spies.com. | 17:34 |
-!- ryuu_ro [~rory@D57D69B6.static.ziggozakelijk.nl] has quit [Ping timeout: 246 seconds] | 17:35 | |
-!- sbaur [~Adium@130.157.145.37] has joined #webgui | 17:58 | |
-!- knowmad [~knowmad@99-112-245-79.lightspeed.chrlnc.sbcglobal.net] has joined #webgui | 18:19 | |
knowmad | Hey folks, does anyone use Start/End time with version tags? i think I've found a bug in v7.10 where the system is not removing version tags that have reached their end time | 18:52 |
@preaction | from what i remember, the default version tag workflow doesn't do the end time at all | 19:15 |
@preaction | so you have to make a custom workflow that does both the start and end time | 19:18 |
@preaction | or, change it so webgui has a scheduled task that checks version tags, instead of using WaitUntil | 19:19 |
-!- ryuu_ro [~rory@53562A76.cm-6-7a.dynamic.ziggo.nl] has joined #webgui | 19:29 | |
knowmad | thanks preaction. so what workflow handles the version tag logic? | 19:33 |
-!- ryuu_ro [~rory@53562A76.cm-6-7a.dynamic.ziggo.nl] has quit [Client Quit] | 19:33 | |
knowmad | it's not one of the maint. workflows as the changes went up immediately once the time ticked over | 19:33 |
@preaction | the one the version tag is assigned to use. when you create a version tag, it gets a workflow. if you create one manually, you can assign it | 19:33 |
@preaction | so the default set of "Commit *" version tag workflows all have a WaitUntil bit in them that handles the start, but do not have one that handles the end | 19:34 |
@preaction | that was done because there are a few things you can do at the end, such as delete (rollback) or trash, and not doing it was preferable to making content get deleted | 19:34 |
-!- daviddelikat [~user@adsl-76-204-91-128.dsl.mdsnwi.sbcglobal.net] has quit [Read error: Connection reset by peer] | 19:57 | |
-!- knowmad [~knowmad@99-112-245-79.lightspeed.chrlnc.sbcglobal.net] has quit [Ping timeout: 252 seconds] | 20:06 | |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Ping timeout: 260 seconds] | 20:13 | |
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui | 20:17 | |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 20:17 | |
+perlDreamer | morning, folks | 20:17 |
@preaction | morning | 20:17 |
+perlDreamer | BartJol, I figured how to do the locale testing for PayPal | 20:18 |
+perlDreamer | and it was released yesterday | 20:18 |
+perlDreamer | preaction, I made a dev forum posting! | 20:37 |
@preaction | yay! | 20:38 |
+perlDreamer | No one answered! | 20:39 |
sbaur | I saw it, but don't use paypal | 20:39 |
-!- ryuu_ro [~rory@53562A76.cm-6-7a.dynamic.ziggo.nl] has joined #webgui | 20:40 | |
-!- knowmad [~knowmad@adsl-070-148-067-249.sip.clt.bellsouth.net] has joined #webgui | 20:40 | |
+perlDreamer | whoa! | 20:40 |
+perlDreamer | hordes of developers entering the room | 20:40 |
+perlDreamer | Not even SDuensin, who has been clamoring for PayPal support for months, said anything about the threa | 20:41 |
+perlDreamer | d | 20:41 |
* SDuensin would, but he's up to his nose in stupidity at work | 20:44 | |
-!- webguiquestions [ad2ed001@gateway/web/freenode/ip.173.46.208.1] has joined #webgui | 21:01 | |
-!- webguiquestions [ad2ed001@gateway/web/freenode/ip.173.46.208.1] has quit [] | 21:27 | |
-!- daviddelikat [~user@h184-60-24-176.mdsnwi.broadband.dynamic.tds.net] has joined #webgui | 21:48 | |
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has quit [Quit: bye] | 22:54 | |
ckotil | so im looking at new documentation systems. this one, mindtouch , aka deki wiki has some wierd assumptions about templating. like how a page template is only used when initially creating a page, and not for rendering it. so any change you make to the template you then have to go back and change your content! | 22:55 |
daviddelikat | I'm working on a new Wobject and I have added a templateid to the display page | 22:58 |
@preaction | webgui has that problem if you export static html: if you update the template, you have to re-export | 22:58 |
daviddelikat | which shows up OK but does not have the manage/edit buttons next to it | 22:58 |
daviddelikat | I forget how to make them show up... | 22:58 |
@preaction | <tmpl_var controls> | 22:58 |
daviddelikat | where do I put it? | 22:59 |
ckotil | preaction: yeah! with static! | 22:59 |
ckotil | it essentially makes the entire mindtouch suite static content. good for nothing. | 22:59 |
ckotil | tho, it's entirely possible that I am too familiar with WebGUI and am missing something w/ mindtouch. | 23:00 |
daviddelikat | preaction: where do I put the <templ_var controls> bit? | 23:01 |
@preaction | in the template | 23:01 |
@preaction | the asset template | 23:01 |
@preaction | if you don't have a template, use $self->toolbar | 23:01 |
ckotil | i really like all the wiki stuff tho. inline images/files, comments, (useful) ratings, tags, notification settings. which give me good ideas for a new webgui template | 23:02 |
ckotil | style template that is. | 23:02 |
-!- daviddelikat1 [~user@h184-60-24-176.mdsnwi.broadband.dynamic.tds.net] has joined #webgui | 23:09 | |
-!- daviddelikat [~user@h184-60-24-176.mdsnwi.broadband.dynamic.tds.net] has quit [Ping timeout: 252 seconds] | 23:11 | |
-!- daviddelikat1 [~user@h184-60-24-176.mdsnwi.broadband.dynamic.tds.net] has left #webgui [] | 23:22 | |
+perlDreamer | preaction: pending any discussion on that PayPal topic, do you have any preference for a fix? Hack vs. smarter code? | 23:25 |
@preaction | perlDreamer: replied | 23:33 |
+perlDreamer | you are awfully patient with bossy junior programmers :) | 23:33 |
@preaction | i'm trying to turn over a new leaf of patience and serenity | 23:36 |
@preaction | what if ad spaces were container assets? | 23:46 |
@preaction | we'd remove one API, though it might be more confusing to set up | 23:47 |
-!- ryuu_ro [~rory@53562A76.cm-6-7a.dynamic.ziggo.nl] has quit [Quit: off] | 23:54 | |
--- Day changed Wed Jun 08 2011 | ||
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui | 00:05 | |
@preaction | also, we should do this along with the other major metadata stuffs http://schema.org/ | 00:24 |
@preaction | hmm... that one may be a bit difficult to integrate automatically... | 00:27 |
@preaction | unless we make it part of webgui's metadata system | 00:27 |
+perlDreamer | preaction, making adspaces first class assets would make them simpler to setup, IMO. no macros and such | 00:45 |
+perlDreamer | also, the layouts could detect whether any of their children are adspaces, and disable caching accordingly | 00:45 |
@preaction | well, there would be an AssetProxy macro to get the adspace into the page | 00:48 |
@preaction | if you want it in the style, that is | 00:49 |
knowmad | hey guys. I agree with perlDreamer on this one; it seems easier to have it in an asset. my recollection of working with adspaces on one website was that they are wrapped up in HTML code that was difficult to manage (recollection was that it was part of the wobject code). I think the more standardized way of having them behave like an asset is a good thing. | 00:55 |
@preaction | ooh, yeah, the asset could have templates even | 00:56 |
@preaction | and as it could then be a sku, it could unify the whole thing | 00:56 |
knowmad | yes, that would be my assumption | 00:56 |
+perlDreamer | preaction, and you can still assetproxy it in | 00:56 |
@preaction | mostly i just like getting rid of APIs | 00:56 |
knowmad | about the template, not the sku part (not sure i grok that yet) | 00:57 |
+perlDreamer | but now you have to write in a complete translation layer from macro to assets and ops | 00:57 |
+perlDreamer | knowmad, it's possible to sell Ads on a WebGUI site | 00:57 |
knowmad | gotcha! | 00:57 |
@preaction | if i had my druthers, Admin and Account would be assets too | 00:57 |
+perlDreamer | account should not be an asset | 00:57 |
+perlDreamer | it's a singleton, and I don't like singleton assets | 00:57 |
@preaction | Auth wouldn't be. can't. but why not account? | 00:57 |
@preaction | Admin would be too, what's wrong w/ singletons? | 00:58 |
knowmad | hey perlDreamer, i just responded to that bug report about version tags. i found where i can run an activity to unlock a version but don't see how i tell it which version to unlock | 00:58 |
-!- SquOnk [~emhn@186.93.207.12] has joined #webgui | 00:58 | |
@preaction | knowmad: it's the same tag that was committed with that workflow | 00:58 |
SquOnk | Greetings. | 00:58 |
@preaction | the idea is: first you WaitUntil Start Time | 00:58 |
@preaction | then you commit | 00:58 |
SquOnk | Here I am again with my Asset Report questions... | 00:58 |
@preaction | then you WaitUntil End Time, and you trash/unlock/rollback | 00:59 |
SquOnk | I have an Asset Report pulling only Articles *guaranteed* to have an Image as attachment. | 00:59 |
@preaction | i can't be angry, because i think it was my idea | 00:59 |
knowmad | so if the tag is already committed, i'm hosed? | 00:59 |
+perlDreamer | yup | 00:59 |
@preaction | right, you have to uncommit/rollback yourself | 00:59 |
knowmad | -1 for preaction | 00:59 |
@preaction | which is why i mentioned the scheduled task | 00:59 |
SquOnk | I'm trying to get to the image inside the asset_loop | 00:59 |
+perlDreamer | not only that, because it has to be the commit workflow for the site, you'll get X*K workflows all running all the time | 00:59 |
@preaction | the scheduled task would let you edit it while the tag is out there | 00:59 |
knowmad | joking but this is a bit of a challenge | 01:00 |
@preaction | no, i know. it was a bit of a misstep on our part | 01:00 |
knowmad | will you be addressing in wg8? | 01:00 |
@preaction | SquOnk: use the StorageURL macro and the storageId from the article | 01:00 |
+perlDreamer | it'd be nice to choose from workflow options when you commit | 01:00 |
@preaction | i can, but it's not a priority | 01:00 |
SquOnk | I'm trying <img src="^StorageUrl(<tmpl_var storageId>);"> but I get nothing. | 01:01 |
@preaction | during the 8.0 cycle, i do intend to simplify a bit | 01:01 |
knowmad | right now it's confusing the way it's setup | 01:01 |
SquOnk | preaction: storageId is empty inside the asset_loop | 01:01 |
knowmad | hey, gotta run; i'll follow-up on the bug report to close it out | 01:01 |
@preaction | weird... | 01:02 |
@preaction | you're sure it's the right asset and revision of the asset? | 01:02 |
SquOnk | Yes | 01:03 |
@preaction | i'd do a dump of the properties in the AssetReport to make sure it's getting them correctly | 01:03 |
+perlDreamer | SquOnk, what kind of asset is this? | 01:04 |
SquOnk | Ok, now I've got the storageId showing up in the Asset Report | 01:05 |
+perlDreamer | right, but the asset report reports on assets, so which asset is being reported on? | 01:05 |
SquOnk | perlDreamer: An Asset Report pulling Articles *guaranteed* to have images as their first attachment. | 01:05 |
-!- knowmad [~knowmad@adsl-070-148-067-249.sip.clt.bellsouth.net] has quit [Ping timeout: 240 seconds] | 01:06 | |
SquOnk | perlDreamer: I don't understand the question. | 01:06 |
+perlDreamer | well, you've got the right answer | 01:07 |
@preaction | the Articles are being reported on | 01:08 |
-!- daviddelikat [~user@adsl-76-204-91-40.dsl.mdsnwi.sbcglobal.net] has joined #webgui | 01:08 | |
SquOnk | I've got it working. | 01:16 |
SquOnk | Turns out the images were not *attached* but *embedded* in the Article. | 01:16 |
SquOnk | BTW, using 'thumb' with StorageUrl... cute. | 01:17 |
SquOnk | Now, lets say that the Asset Report is reporting on Shortcuts. | 01:17 |
SquOnk | perlDreamer: (Is that the way to state it?) | 01:17 |
SquOnk | Said Shortcuts are to Articles guaranteed to have images. | 01:18 |
+perlDreamer | sure | 01:18 |
SquOnk | If understood how StorageUrl works, then I would be pointing to the Shortcut and not to the Articles, right? | 01:18 |
+perlDreamer | right | 01:18 |
@preaction | most likely | 01:18 |
SquOnk | And it would be impossible to get to the images in said shortcutted Articles. | 01:18 |
@preaction | not impossible, just not currently in the asset report | 01:19 |
+perlDreamer | it'd take some macros, at best | 01:19 |
@preaction | the shortcut's special features don't take place until view() is called | 01:19 |
SquOnk | To do an n-step indirection. | 01:19 |
@preaction | but the asset report could be extended to get the original asset with overrides | 01:20 |
SquOnk | All right, let's see if this people can live with reporting on Articles for the time being. | 01:20 |
SquOnk | storageId always points to the first attachment, regardless of the Asset, if the Asset is capable of having attachments, right? | 01:37 |
+perlDreamer | no | 01:37 |
+perlDreamer | storageId is the GUID of a storage location | 01:37 |
+perlDreamer | StorageUrl is always the first file in that location | 01:37 |
+perlDreamer | unless you pass a filename | 01:38 |
+perlDreamer | and "first" is a relative thing | 01:38 |
SquOnk | perlDreamer: Got it. | 01:38 |
SquOnk | perlDreamer: Say I have a Story, with images. ^StorageUrl(storageId) would give the "first" image attached, right? | 01:39 |
+perlDreamer | nope | 01:39 |
+perlDreamer | because Story does not have a storageId | 01:39 |
+perlDreamer | brb | 01:39 |
SquOnk | perlDreamer: Aha, good. | 01:39 |
SquOnk | Which Assets have storageId? Better yet, what Assets, besides Article, would I be able to report on and access their attachments via the ^StorageUrl trick? | 01:40 |
+perlDreamer | SquOnk, look in Help/Asset*.pm | 01:40 |
+perlDreamer | or, sub definition in Asset/*/*/*.pm | 01:41 |
SquOnk | Article, File, Post and WikiPage. | 01:41 |
SquOnk | So says grep | 01:41 |
SquOnk | :-) | 01:41 |
SquOnk | perlDreamer: Thanks! | 01:41 |
+perlDreamer | you're welcome :) | 01:41 |
SquOnk | ...I could use ^FetchMimeType(^StorageUrl...)) to at least guess if the thing is an Image... | 01:46 |
+perlDreamer | yes, but that precludes using HTML::Template | 01:48 |
+perlDreamer | since it won't do arbitrary conditionals | 01:48 |
SquOnk | perlDreamer: HTML::Template::Expr | 01:49 |
SquOnk | can | 01:49 |
+perlDreamer | sur | 01:49 |
+perlDreamer | sure | 01:49 |
+perlDreamer | or, use TT and be happy | 01:49 |
SquOnk | This people are having trouble with HTML::Template, imagine what kind of crap they will come up with using TT | 01:49 |
@preaction | eh, sometimes i think TT is better because it doesn't try to look like HTML | 01:50 |
@preaction | <img src="<tmpl_var something>"> <- it gets worse than that, but even that throws me sometimes, and i'm expecting it | 01:51 |
SquOnk | Oh, I have nothing against TT. I have trouble with these particular designers using it. | 01:52 |
-!- SquOnk [~emhn@186.93.207.12] has quit [Quit: Yippie kay-ai-yay, fudder muckers!] | 02:39 | |
-!- sbaur [~Adium@130.157.145.37] has quit [Quit: Leaving.] | 02:40 | |
Haarg | even with HTML::Template::Expr you can't have conditionals based on macros | 03:09 |
-!- knowmad [~knowmad@99-112-245-79.lightspeed.chrlnc.sbcglobal.net] has joined #webgui | 03:20 | |
+perlDreamer | yeah | 03:35 |
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has quit [Quit: Leaving.] | 03:49 | |
kthakore | hallo | 03:54 |
@preaction | bueno | 03:54 |
@scrottie | kthakore! | 04:07 |
kthakore | scrottie: hi | 04:10 |
kthakore | so I found le bug | 04:10 |
kthakore | it is super deep in how we do storage | 04:11 |
kthakore | doing some tests now | 04:11 |
kthakore | getting to food place to nom nom nom nom | 04:11 |
kthakore | brb | 04:11 |
@scrottie | failing tests more than welcome. | 04:12 |
@scrottie | brb, ditto. | 04:18 |
daviddelikat | anybody ever use AssetAspect::installable? | 04:35 |
daviddelikat | do I have to call install explicitly or is there some | 04:36 |
daviddelikat | mechanism that does it elsewhere | 04:36 |
@scrottie | there's a command line utility... | 04:42 |
@scrottie | perl -perl -I /data/projectcode/lib/ installClass.pl --upgrade WebGUI::Asset::Wobject::LocalWhatever | 04:43 |
* scrottie searches through this crib sheets | 04:43 | |
@scrottie | there's no --install option; that's the default, if memory serves | 04:43 |
@scrottie | I've used it on and off. it tries to decide if you're upgrading by whether the table for that asset exists. if it does, it's upgrading and calls the upgrade method. | 04:43 |
daviddelikat | thanks | 04:46 |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 05:08 | |
-!- Netsplit *.net <-> *.split quits: ckotil | 05:11 | |
-!- Netsplit over, joins: ckotil | 05:11 | |
-!- mducharme1 [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Read error: Connection reset by peer] | 05:17 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui | 05:25 | |
@scrottie | kthakore, you promised us a bug. | 05:47 |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Ping timeout: 252 seconds] | 06:55 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 06:57 | |
-!- knowmad [~knowmad@99-112-245-79.lightspeed.chrlnc.sbcglobal.net] has quit [Ping timeout: 246 seconds] | 07:02 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Ping timeout: 252 seconds] | 07:23 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 07:30 | |
-!- lem_ [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 07:35 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Read error: Connection reset by peer] | 07:35 | |
-!- lem_ [~lem@weston-69.65.87.205.myacc.net] has quit [Ping timeout: 276 seconds] | 07:52 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 07:53 | |
@scrottie | bug, bug, bug! | 09:08 |
@scrottie | ah, well. | 09:08 |
-!- ryuu_ro [~rory@D57D69B6.static.ziggozakelijk.nl] has joined #webgui | 10:18 | |
kthakore | scrottie: ?? | 10:45 |
kthakore | scrottie: srry | 10:45 |
kthakore | I ended up getting ... le drunk with friends | 10:45 |
kthakore | the bug was moar my fault | 10:46 |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Ping timeout: 240 seconds] | 11:15 | |
-!- vayde [~vayde@67-4-235-226.mpls.qwest.net] has quit [Remote host closed the connection] | 14:50 | |
-!- vayde [~vayde@67-4-235-226.mpls.qwest.net] has joined #webgui | 14:56 | |
-!- vayde [~vayde@67-4-235-226.mpls.qwest.net] has quit [Remote host closed the connection] | 14:57 | |
-!- vayde [~vayde@67-4-235-226.mpls.qwest.net] has joined #webgui | 14:57 | |
-!- jimX11 [~jjm@n128-227-81-249.xlate.ufl.edu] has joined #webgui | 16:11 | |
-!- fokat [~lem@69.65.87.205] has joined #webgui | 16:19 | |
-!- knowmad [~knowmad@adsl-070-148-067-249.sip.clt.bellsouth.net] has joined #webgui | 16:23 | |
SDuensin | Shibbi! | 16:59 |
+BartJol | ? | 17:00 |
SDuensin | Ok, go rent "Dude, Where's My Car?" right now and watch it. | 17:00 |
+BartJol | long time ago I saw that one | 17:00 |
SDuensin | "Dude, we really need to cut back on the shibbi-ing." | 17:01 |
-!- fokat [~lem@69.65.87.205] has quit [Ping timeout: 258 seconds] | 17:11 | |
-!- webguiquestions [ad2ed001@gateway/web/freenode/ip.173.46.208.1] has joined #webgui | 17:33 | |
webguiquestions | Hello? | 17:33 |
webguiquestions | Anyone monitoring the channel? | 17:35 |
-!- ryuu_ro [~rory@D57D69B6.static.ziggozakelijk.nl] has quit [Quit: ryuu_ro] | 17:38 | |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui | 17:42 | |
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui | 17:50 | |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 17:50 | |
+perlDreamer | BartJol, PayPal does not support a Dutch locale | 17:52 |
webguiquestions | Is there a standard template that holds the "click here to register" prompt in the landing webpage? | 17:55 |
webguiquestions | I'm trying to find where that text is entered in one of the asset files. :-/ | 17:55 |
webguiquestions | (Okay, I'm a sysadmin, not a web designer, it shows, and I admit it.) | 17:55 |
+BartJol | perlDreamer: well, doesn't matter, because apparently it does when you just go to the site, so you can't give dutch, but it will take dutvh | 17:59 |
+perlDreamer | awesome, so it's just that their documentation sucks | 17:59 |
+perlDreamer | webguiquestions, there are many different ways to show "click here to register", it depends on how the site is setup | 18:00 |
+perlDreamer | are you using a macro to display that? | 18:00 |
webguiquestions | I didn't it was with Andreas02 :-) | 18:03 |
-!- sbaur [~Adium@130.157.145.37] has joined #webgui | 18:03 | |
webguiquestions | I'm looking to find where I suspect it was in the layout again. | 18:03 |
webguiquestions | Thought it was related to | 18:04 |
webguiquestions | <h1><a href="^/;">^c;</a></h1> <div id="login"> ^L("","","PBtmpl0000000000000092"); · ^AdminToggle; </div> </div> | 18:04 |
+BartJol | it is prolly the ^L bit | 18:05 |
webguiquestions | I thought the PBtmpl0000000 part referred to a template somewhere. | 18:06 |
+BartJol | exactly | 18:06 |
webguiquestions | But I don't know where it is. | 18:06 |
+BartJol | I was finishing my answer | 18:06 |
+BartJol | I'll have a look | 18:06 |
+BartJol | ah, default te,plates can be found in root->import | 18:09 |
+BartJol | since you have a macrto, it is in subfolder macro | 18:09 |
+BartJol | and it is the horizontal login box | 18:11 |
+BartJol | in the L_loginbox | 18:11 |
+BartJol | folder | 18:11 |
webguiquestions | Okay...hang on... | 18:19 |
webguiquestions | (sorry, digging around on my own still to try finding that text...) | 18:19 |
webguiquestions | I want to get rid of the <a href="<tmpl_var account.create.url>"><tmpl_var account.create.label></a> | 18:21 |
webguiquestions | ? | 18:21 |
+BartJol | yeah, but you'd better make a copy of the template, as it suggest on editting | 18:22 |
+perlDreamer | You do not want people to be able to create accounts on your site? | 18:22 |
webguiquestions | At the moment it's set up to allow our LDAP users automatically in. | 18:22 |
+BartJol | maybe not in that place | 18:22 |
+perlDreamer | it would be better to go into Settings and turn off, Enable Anonymous Registration | 18:22 |
webguiquestions | If they're in AD, it creates an account for them. No registration necessary. | 18:22 |
webguiquestions | What would that do (turning off Enable Anonymous Reg) to our LDAP authentication? | 18:23 |
+BartJol | I haven't used ldap registration yet | 18:23 |
+perlDreamer | Nothing, it just prevents people from creating accounts | 18:23 |
webguiquestions | @perlDreamer: But still allows people in over LDAP to create an account if they didn't previously have an account? | 18:24 |
+perlDreamer | that's a good question, webguiquestions. LDAP is not a commonly used method for authentication, I don't know that much about it | 18:25 |
webguiquestions | In the wording for that feature it sounded like it might cripple part ofour LDAP modification. | 18:25 |
webguiquestions | That's why I didn't touch it. But since we're not planning on ever having any anonymous users (non-Windows based users) I figured I could just get rid of the option for people to click that and log in. | 18:26 |
webguiquestions | Well, click that and register. | 18:26 |
+BartJol | I should go with your original idea webguiquestions | 18:26 |
+BartJol | and just remove the link in the template | 18:26 |
webguiquestions | I'm copying the template now. | 18:27 |
+BartJol | sorry, copied template | 18:27 |
webguiquestions | I'm slowly learning more about web design... | 18:27 |
+BartJol | don't forget to get the id (in the metadata tab) and replace PBtmpl00..0092 with that ID | 18:27 |
+BartJol | in the macro | 18:28 |
webguiquestions | That was the next part I was looking for...where to change it. | 18:30 |
webguiquestions | I was looking for a reference to the horizontal URL name. | 18:30 |
+BartJol | ok, it depends on where the macro is called for | 18:30 |
+BartJol | I suppose that is in the style template of the page | 18:30 |
+BartJol | it mostly is | 18:31 |
webguiquestions | Can I just change the ID to something else psuedo-random? | 18:31 |
+BartJol | eeh, like for the copied template? then no | 18:31 |
+BartJol | it is generated by webgui | 18:32 |
webguiquestions | Nevermind. | 18:32 |
webguiquestions | It's an asset ID number. Can't change. | 18:32 |
+BartJol | exactly | 18:32 |
+perlDreamer | you can change it, it just won't work :) | 18:32 |
+BartJol | smartunderback | 18:32 |
+perlDreamer | BartJol, is that Dutch for rude little jerk? | 18:33 |
webguiquestions | Silly question. Is there a "comment" character for use in HTML? | 18:33 |
+BartJol | no, it is n euphemism for smartass | 18:33 |
webguiquestions | Like # in scripts. | 18:33 |
+BartJol | <!-- --> | 18:33 |
+perlDreamer | <! comment in here --> | 18:33 |
+BartJol | if i don't leave martin will have my hide | 18:34 |
+perlDreamer | See ya! Tell him I said hi. | 18:34 |
+BartJol | ok' | 18:35 |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has quit [Quit: Leaving.] | 18:35 | |
webguiquestions | Now I just have one issue that is going to be a really big issue for us :-/ | 19:41 |
webguiquestions | I don't know if there's a way to solve it. | 19:41 |
webguiquestions | Nuts. Now I have a second problem. | 19:46 |
webguiquestions | If I have a home landing page... | 19:46 |
webguiquestions | root->home | 19:47 |
webguiquestions | And I add some folders. | 19:47 |
webguiquestions | like root->home->buildingname | 19:47 |
webguiquestions | now on the bottom of my root page, it's appending those folders to the bottom. | 19:47 |
webguiquestions | Hrm...must be something in the template. | 19:47 |
sbaur | if you have a nav on home, check that it only shows self and siblings | 19:48 |
sbaur | if you don't need those folders to ever show up in a nav, you can change their permissions so they are not visible in navigations | 19:48 |
sbaur | on home, in the display tab, you can also tell it to hide particular assets | 19:50 |
+perlDreamer | ++sbaur | 19:56 |
webguiquestions | That looks like it might do it. Thanks, @Sbaur. | 20:10 |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Read error: Operation timed out] | 20:29 | |
webguiquestions | Now I just need to figure out how to selectively enable/disable who in our active directory is able to log in to the website :-/ | 20:37 |
webguiquestions | Any way to have it only allow logins if the user object has a particular attribute or belongs to a particular active directory group? | 20:38 |
webguiquestions | There are a couple of object containers where authorized users may have their objects reside, so it would work out if I could get it to only allow objects that are members of, say, the Human Resources group to log in. | 20:39 |
@scrottie | not that I can think of off hand. I'd have to do some digging, and I promised some nice people I'd get back to them on some things already this morning. if you don't get a reply now, try again later? | 20:44 |
@preaction | just because a user can log in, doesn't mean that anything changes for them. they may not be able to actually do anything different on the site just because they're logged in | 20:49 |
webguiquestions | In my site, when they log in, they get a homepage built for them. It's a workflow. | 20:54 |
webguiquestions | In our organization we have individuals that need their own pages for informing outside people what's going on in their respective...departments. | 20:55 |
webguiquestions | So we have it authenticating against Active Directory, and if they're a legit as a login, it creates a home page for the user in their registration process. | 20:56 |
webguiquestions | All automated and invisible to them. | 20:56 |
webguiquestions | The problem is that we have a large population of users that can log into Active Directory that are NOT to have any login privileges to the website. | 20:56 |
webguiquestions | I didn't know if there was a way to specify that users in Active Directory had to be members of a certain group before WebGUI would allow them to authenticate. | 20:59 |
@scrottie | I think what preaction is getting at is that everyone, before logging in with another account, is essentially logged in as "Visitor". Visitor doesn't have permission to see much or anything past the first page on a lot of WebGUIs, but s/he is still a real user. | 21:06 |
@scrottie | it's possible and pretty common to have view permissions set stuff site-wide such that only "registered" users or some other subset of users (excluding Visitor) can see it | 21:07 |
@preaction | you can make sure your user is in a specific group before they get their own homepage | 21:08 |
webguiquestions | @Preaction: how do I insert that check (user XYZ is a specific group member) before allowing them to get the homepage generated? | 21:10 |
@preaction | $user->isInGroup( $someGroupId ); | 21:10 |
webguiquestions | Hmm... | 21:11 |
webguiquestions | That would have to be checked in the script for the workflow, yes? | 21:11 |
@preaction | yes | 21:12 |
webguiquestions | Wouldn't that mean they'd already have to have an account in WebGUI? | 21:12 |
webguiquestions | And be a member of a WebGUI group? | 21:12 |
@preaction | no, you can have WebGUI check LDAP for group membership | 21:13 |
webguiquestions | Ah, that's what I'm looking for. | 21:13 |
webguiquestions | Having it check somewhere against ActiveDirectory to make sure they're in a particular group before allowing it. | 21:13 |
ckotil | i thought you had to use ldap for auth too if that were the case. | 21:13 |
webguiquestions | I am using it for auth. | 21:14 |
ckotil | then you're golden. | 21:14 |
webguiquestions | This way users dont' need multiple accounts/passwords. | 21:14 |
ckotil | i only use ldap for authorization, not authentication | 21:14 |
webguiquestions | Unfortunately I don't have time to go hacking into the scripts at the moment :-/ | 21:14 |
@preaction | they have to have an ldap dn, but they don't necessarily have to use it for authentication | 21:14 |
webguiquestions | Can I get help on this another day? | 21:14 |
webguiquestions | (thanks for giving me hope that this can be done though!) | 21:14 |
ckotil | preaction: i have that. but i swear last time i tried to integrate webgui to our ldap the short answer was, i cant unless using ldap for authentication. | 21:15 |
webguiquestions | I basically need to have the workflow somehow check that the user object in Active Directory exists, has a valid password, and is a member of ZYX group before saying, "Sure, you can log in, here's your home page, you're good to go..." | 21:16 |
@preaction | if the user doesn't exist in AD, they can't log in | 21:16 |
@preaction | the workflow only has to check the group, because at that point they are already logged in | 21:17 |
webguiquestions | Okay. | 21:17 |
webguiquestions | I'll no doubt be on tomorrow or Friday to try seeing what can be cobbled together. | 21:17 |
ckotil | ill have to try it again. | 21:17 |
webguiquestions | Thanks! | 21:18 |
-!- webguiquestions [ad2ed001@gateway/web/freenode/ip.173.46.208.1] has quit [] | 21:18 | |
--- Day changed Thu Jun 09 2011 | ||
-!- knowmad [~knowmad@adsl-070-148-067-249.sip.clt.bellsouth.net] has quit [Ping timeout: 260 seconds] | 01:15 | |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Quit: Leaving.] | 01:24 | |
-!- knowmad [~knowmad@99-112-245-79.lightspeed.chrlnc.sbcglobal.net] has joined #webgui | 01:53 | |
-!- sbaur [~Adium@130.157.145.37] has quit [Quit: Leaving.] | 02:28 | |
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has quit [Quit: Leaving.] | 02:38 | |
knowmad | Greets. I'm looking at the YAPC schedule tonite picking the talks I want to see and wondered who is going to YAPC this month? | 03:20 |
knowmad | I know preaction and JT will be there because they're scheduled to speak | 03:20 |
@preaction | paul's coming, i think scott's coming | 03:20 |
@preaction | graham's coming | 03:20 |
knowmad | y'all want to put together a WebGUI BOF or hackathon? | 03:25 |
knowmad | http://www.yapc2011.us/yn2011/bof.html | 03:25 |
@preaction | sure! | 03:29 |
knowmad | tuesday night? same time as the Parrot/Perl6 BOF? http://www.yapc2011.us/yn2011/schedule?day=2011-06-28 | 03:33 |
knowmad | ok, i've put in the request | 03:36 |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 03:52 | |
knowmad | preaction: where do y'all want to hold the BoF? and for how long? | 04:57 |
knowmad | there's no place to hold it on Tuesday night in the conference rooms; we've got 90 minutes for lunch on Mon, Tue & Wed and could do it during that time one day | 04:58 |
@preaction | lunch tues might be good. i think i speak tuesday | 05:00 |
knowmad | what if i do tues @ 6:30 - 7pm? then anyone who wanted to continue conversation could move elsewhere | 05:01 |
knowmad | we have to be out of conf. rooms by 7 | 05:01 |
knowmad | i know i'm going to see you guys but i'm hoping we can pick up some interest from the broader Perl community via a BoF | 05:02 |
@preaction | right, that's what i'm thinking by doing the same day i speak, since i'll be talking about webgui's testing | 05:02 |
knowmad | i'm hoping we can have dinner with the PB team on Tues | 05:02 |
knowmad | s/we/i/ | 05:02 |
@preaction | that might work, could coordinate w/ JT | 05:03 |
knowmad | that'd be cool; i'm going to see if we can get a room at 6:30pm for the BoF | 05:04 |
knowmad | that way you can focus on your talk during lunch | 05:04 |
@preaction | i speak in the morning, iirc | 05:04 |
knowmad | oh | 05:05 |
@preaction | and it's just 20 miuntes, can do it in my sleep | 05:05 |
knowmad | well i hope you'll be awake b/c I'm attending ;) | 05:05 |
@preaction | yeah, it'll be better if i'm awake and have visual aids | 05:06 |
@preaction | nice metrics on test coverage comparing techniques | 05:06 |
knowmad | i'm looking fwd to it | 05:07 |
kthakore | oh loard I seriously broke my webgui | 05:29 |
@preaction | what's it say? | 05:29 |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Quit: Leaving.] | 05:30 | |
kthakore | Can't call method "setting" on an undefined value at lib/WebGUI/Asset/Wobject/Search.pm line 37. | 05:30 |
kthakore | This is when I click Turn on Admin! | 05:30 |
kthakore | I reset my it too | 05:30 |
kthakore | wgd reset --dev | 05:31 |
kthakore | shit nothing works ... | 05:33 |
kthakore | argh | 05:33 |
kthakore | how | 05:33 |
@preaction | session shouldn't be allowed to be undef | 05:34 |
@preaction | but... what if it's getting the field without an instance... hmm... | 05:35 |
@preaction | if you check for undef in the _searchRoot_builder sub and handle it gracefully it should be fine | 05:35 |
kthakore | ok | 05:38 |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 05:39 | |
kthakore | What should I return if it is undef? | 05:39 |
@preaction | the assetId of the root asset (which is a constant, you can find in lib/WebGUI/Asset.pm sub getRoot | 05:40 |
kthakore | ok | 05:40 |
kthakore | however I have a session.... I am logged in ... | 05:40 |
kthakore | why is this undef? | 05:40 |
@preaction | yes, i think it's something else. and we'll get it fixed later | 05:40 |
kthakore | hehe | 05:40 |
kthakore | and I can't test any of my image stuff right now | 05:40 |
kthakore | yay moar breaking | 05:41 |
@preaction | i think the search asset's properties are being built as class methods, so there is no session | 05:41 |
-!- jimX11 [~jjm@n128-227-81-249.xlate.ufl.edu] has quit [Quit: Leaving] | 05:43 | |
knowmad | Sign-up for the WebGUI BoF --> http://www.yapc2011.us/yn2011/wiki?node=WebGUI%20BOF | 05:45 |
knowmad | i'll throw this up to webgui.org as well | 05:45 |
-!- knowmad [~knowmad@99-112-245-79.lightspeed.chrlnc.sbcglobal.net] has quit [Ping timeout: 260 seconds] | 06:18 | |
-!- elnino [~ninow@user-38q47pn.cable.mindspring.com] has joined #webgui | 07:41 | |
elnino | hi all. | 07:41 |
elnino | LONG ago I looked into trying to use google mail as my smtp server, but I ran into problems, and I'm trying to remember.. I think the issue is that I have to provide some kinda of username/password, and webgui doesn' thave such config optoins. Does that sound right to anyone? | 07:42 |
elnino | I found the rfe about smtp authenticaion. I think that was indeed the issue. | 07:57 |
@scrottie | WebGUI likes having a local mail relay... there might be something in the marketplace for doing IMAP4 or the like but it isn't in core. | 08:08 |
@scrottie | Google is not an SMTP mail relay. | 08:08 |
elnino | I | 08:09 |
elnino | 'm not clear on the terms. so forgive me, | 08:09 |
elnino | but they do have something smtp something. | 08:09 |
@scrottie | SMTP is the old, old email protocol. It has no auth or really any security at all built in. | 08:09 |
@scrottie | Google accepts SMTP mail for delivery to users who have accounts with gmail or whose mail is hosted with Google, but they do not accept SMTP mail bound for other domains. | 08:10 |
@scrottie | If you accept email bound for other domains and then re-deliver it, you're an "email relay". | 08:10 |
@scrottie | There used to be a lot of email relays on the Internet but they get abused to send spam, so they got closed down. | 08:10 |
elnino | right, and the customer did have an a google app setup for their domain in google. so I think that's what I did. | 08:11 |
@scrottie | So, if you want something that accepts SMTP mail and redelivers it, you have to run it locally. | 08:11 |
@scrottie | if all of the email from your WebGUI is going to only to users with gmail accounts, then you certainly could tell it to deliver directly to Google. | 08:11 |
@scrottie | POP is for picking up email. IMAP is newer and more complete and builds in support for sending. both require you to log in. usually email clients speak this to some mail server that's also accepting email via SMTP. | 08:12 |
@scrottie | SMTP auth is pretty much disused. people did that when they were picking up their own email from a mail server with POP but then had to use SMTP on that server to send it, and the server admins didn't want an open relay | 08:14 |
@scrottie | IMAP sends and recieves and requires a login, so it obsoletes that | 08:14 |
elnino | Oh. I'm confused. This is a somewhat recent article, doing what I was trying to do: http://www.paessler.com/knowledgebase/en/topic/2823-can-gmail-google-apps-be-used-for-smtp-relay | 08:15 |
elnino | but I was setting it up within sendmail. | 08:16 |
elnino | but again, I don't know what I'm talking about. and I'm totally using the wrong terms I'm sure. | 08:16 |
@scrottie | hrm, strange that Google is running that, but if that's the case, well, the SMTP delivery in WebGUI might be able to auth itself with some small changes to the code. | 08:17 |
elnino | http://www.webgui.org/rfe/request-for-enhancement/smtp-authentication-missing | 08:17 |
elnino | I think is my answer. | 08:17 |
elnino | so was I right in calling google a "smtp relay"? | 08:18 |
@scrottie | I want to do something different... I want to use a couple of Perl modules wired together that would let WebGUI deliver SMTP mail itself. | 08:18 |
@scrottie | Yup. | 08:18 |
@scrottie | And if this is true, I was wrong in asserting that Google is not an SMTP relay. | 08:18 |
elnino | =) ok. I feel smart.. Thanks! LOL | 08:19 |
@scrottie | heh =) | 08:19 |
@scrottie | sure, no problem. | 08:19 |
elnino | That would be cool if webgui could become the smtp server and deliver smtp itself. | 08:20 |
elnino | and recieve. | 08:20 |
@preaction | better to use existing solutions and connect with them | 08:20 |
@scrottie | it's not cool to be an SMTP server. | 08:21 |
elnino | then everyone vote for this: http://www.webgui.org/rfe/request-for-enhancement/smtp-authentication-missing | 08:22 |
elnino | =) | 08:22 |
@scrottie | relaying mail through Google is likely to fail or get you cut off if you try to send things with a From: address other than your gmail address. | 08:25 |
elnino | perhaps. but I know that her domain is registered in google aps, so I think that makes them just as happy. | 08:26 |
elnino | but maybe it translates to her gmail address. maybe that was the issue too. there were several issues going on so we gave up on it. | 08:27 |
-!- elnino [~ninow@user-38q47pn.cable.mindspring.com] has quit [Quit: Leaving] | 08:35 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Quit: Ex-Chat] | 08:42 | |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui | 09:02 | |
-!- andyiomoon1 [~andyiomoo@vpn246-6.cc.swin.edu.au] has joined #webgui | 09:06 | |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Ping timeout: 244 seconds] | 09:08 | |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui | 10:14 | |
-!- mode/#webgui [+v BartJol] by ChanServ | 10:14 | |
-!- ryuu_ro [~rory@53562A76.cm-6-7a.dynamic.ziggo.nl] has joined #webgui | 12:29 | |
-!- ryuu_ro [~rory@53562A76.cm-6-7a.dynamic.ziggo.nl] has quit [Quit: off] | 12:37 | |
-!- knowmad [~knowmad@99-112-245-79.lightspeed.chrlnc.sbcglobal.net] has joined #webgui | 12:47 | |
-!- knowmad [~knowmad@99-112-245-79.lightspeed.chrlnc.sbcglobal.net] has quit [Ping timeout: 260 seconds] | 13:55 | |
-!- andyiomoon1 [~andyiomoo@vpn246-6.cc.swin.edu.au] has quit [Quit: Leaving.] | 15:25 | |
-!- knowmad [~knowmad@rrcs-98-101-79-60.midsouth.biz.rr.com] has joined #webgui | 15:46 | |
-!- webguiquestions [ad2ed001@gateway/web/freenode/ip.173.46.208.1] has joined #webgui | 15:54 | |
webguiquestions | Hello. | 15:56 |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 15:59 | |
-!- knowmad [~knowmad@rrcs-98-101-79-60.midsouth.biz.rr.com] has quit [Ping timeout: 240 seconds] | 16:00 | |
+BartJol | webguiquestions: hi | 16:15 |
webguiquestions | Hoping PerlDreamer comes on so I can pick his (her?) brain about the modification to the createuserhomeskeleton workflow so it only allows home directories (or logins...actually blocking logins would be ideal) based on whether LDAP has a valid user AND that user is a member of a particular security group. | 16:16 |
webguiquestions | Started getting some information yesterday but had to go to get to the bank before it closed for some paperwork :-/ | 16:16 |
+BartJol | perlDreamer is a "he" | 16:16 |
webguiquestions | Thanks. Didn't want to assume :-) | 16:16 |
webguiquestions | I'm poking around the pm file to see if I can figure out where it's pulling any ldap information or a clue where it's coming from... | 16:17 |
webguiquestions | I'm thinking it must come from another PERL module somewhere else, though. :-( | 16:18 |
+BartJol | well, I suppose it talks via a cpan ldap module, as you say | 16:26 |
+BartJol | perldoc perllocal |grep -i ldap gives nothing though | 16:28 |
webguiquestions | I'm thinking it must since in the homeskeleton pm it has "my ($self, $userobj,$instance) = @_;" which I think means pulling info from something executing the module? | 16:29 |
webguiquestions | (memory fuzzy on PERL syntax) | 16:29 |
webguiquestions | "my $username = $userobj->username;" | 16:29 |
+BartJol | well, I do see Net::LDAP to create an object | 16:30 |
webguiquestions | So the home skeleton is purely for creating the subfolder with proper permissions and name, nothing with the authentication. | 16:30 |
webguiquestions | meaning all the auth stuff is a level previous to this. | 16:30 |
+BartJol | well you do have WebGUI/Auth/LDAP.pm | 16:31 |
webguiquestions | _IsValidLDAPUser looks like it's the method for the initial connect from WebGUI to get access to the AD server (non anonymous authentication)... | 16:33 |
+BartJol | yeah | 16:35 |
webguiquestions | This would be easier if I lived PERL :-/ | 16:36 |
+BartJol | :) | 16:36 |
webguiquestions | Sorry. It's been years since I did PERL programming (or most programming). I'm more sysadmin than programmer. | 16:36 |
webguiquestions | Although thank $DEITY that the maintainer of this module apparently believes in commenting. | 16:36 |
+BartJol | well the dev people try to write readable code | 16:37 |
webguiquestions | Hmm...head two looks promising. | 16:40 |
webguiquestions | 2) Does the user account have the properties set necessary to authenticate using LDAP. | 16:40 |
webguiquestions | Not so promising. looks like it just tries to connect to AD using the supplied username and password and reports success or failure. Nuts. | 16:42 |
SDuensin | Thursday...(complete the quote yourself) | 16:45 |
+BartJol | webguiquestions: so it checks once against the ldap/AD | 16:49 |
webguiquestions | Maybe the check for a group membership would have to be added to the _isValidLDAPUser subroutine. | 17:02 |
webguiquestions | I just don't know how to insert the right variables to have it check for that against the LDAP user object. :-( | 17:05 |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Quit: Ex-Chat] | 17:13 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 17:23 | |
+BartJol | webguiquestions: so it only checks whether it is a valid user, not whether that user is in a certain group in AD | 17:39 |
webguiquestions | At this point. | 17:41 |
webguiquestions | I think there's nothing in the code that ever checks if the user belongs to a specific group or not, as far as I can tell. | 17:41 |
+BartJol | so, you are polishinng up your perl programming skills and will add it ;) | 17:41 |
+BartJol | ? | 17:41 |
webguiquestions | Only if you want an incompetent programmer working with it :-) | 17:42 |
+BartJol | well I have added stuff to the core | 17:42 |
+BartJol | if you want to do that, maybe developing against wg8 might be best | 17:43 |
+BartJol | people can always doublecheck your code | 17:44 |
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui | 17:56 | |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 17:56 | |
+perlDreamer | SDuensin, PayPal changes coming again on Monday | 17:57 |
SDuensin | Good or... like last time? | 17:58 |
+perlDreamer | well, any improvements are good, right? | 17:58 |
+perlDreamer | :) | 17:58 |
SDuensin | Yea, but last time the "big PayPal news" was Email telling us it was broken! :-P | 17:59 |
SDuensin | I just need subscription support. ("Just" he says.) | 18:02 |
webguiquestions | Hi perlDreamer. | 18:04 |
webguiquestions | Wondered if you'd be willing to continue the LDAP conversation started yesterday? | 18:04 |
+perlDreamer | webguiquestions, I can try, but I know very, very little about WebGUI LDAP support | 18:05 |
+perlDreamer | if he's in channel, mducharme or mducharme-work1 would be awesome, since he uses it on his own site | 18:05 |
webguiquestions | Maybe I was mistaken. I thought you had an idea where to start on allowing users who are in AD/LDAP and are in a specific group membership to log in. | 18:06 |
+perlDreamer | nope | 18:06 |
+perlDreamer | you may be able to set that in the LDAP authentication settings | 18:06 |
webguiquestions | I'm not so sure it's in there. | 18:07 |
+perlDreamer | so it's worth reading the online Admin Guide, and the tooltips for the LDAP authentication | 18:07 |
webguiquestions | I have :-/ | 18:07 |
+perlDreamer | both of them, really? | 18:07 |
webguiquestions | LDAP config is working. | 18:08 |
webguiquestions | The problem is that we have users in LDAP that we don't want able to log in. | 18:08 |
webguiquestions | Right now with the added workflow, you log in and you get a home page you can edit. We don't want that for all our users. | 18:08 |
webguiquestions | So as it's set it's all or nothing...everyone gets in, or no one gets in. | 18:09 |
webguiquestions | So I'm looking for a way to get every user in AD that is a member of the "website_allow" group to authenticate successfully, and if they're not part of that group, they're not allowed to authenticate successfully. | 18:09 |
+perlDreamer | and you've seen this wiki page: http://www.webgui.org/user-guides/webgui-administrators-guide/webgui-administrators-guide/ldap ? | 18:10 |
webguiquestions | I'm thinking it might be an alteration to the _isValidLDAPUser subroutine in the LDAP.pm module that would do it, but I am unfamiliar with the variables interacting with LDAP in PERL. | 18:10 |
webguiquestions | There's something about WebGUI groups tied to LDAP groups, but I wasn't sure if that was what I was looking for. | 18:11 |
webguiquestions | Since it had to tie to whether it authenticated the user before the workgroup was executed. | 18:11 |
+perlDreamer | seems like you should be able to change the LDAP authentication settings in WebGUI to only say, in LDAP, the user must be in this group | 18:11 |
+perlDreamer | but I don't know | 18:12 |
+perlDreamer | however, that would prevent people who were not in that group from logging in. | 18:12 |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui | 18:12 | |
webguiquestions | That's what I'm looking for in the...well, workflow, for lack of a better word. | 18:12 |
webguiquestions | WebGUI->LDAP server, "is this user and password valid," then "Is $USER a member of $GROUP", then reject or allow based on that, so they don't get the workflow for a homepage and such executed. | 18:13 |
+perlDreamer | the workflow does it for EVERY user who creates an account | 18:13 |
webguiquestions | Otherwise it's going to litter the site with various home pages. | 18:13 |
webguiquestions | Exactly. | 18:13 |
+perlDreamer | you could try to modify the workflow activity to change that | 18:13 |
webguiquestions | We don't want them to get an account if they're not in the group. | 18:13 |
+perlDreamer | okay, that's a different question/problem though | 18:14 |
webguiquestions | If it prevents them from logging in at all, that's fine. | 18:14 |
webguiquestions | They can stay as a visitor. | 18:14 |
+perlDreamer | then I'd dig into the LDAP authentication settings | 18:14 |
webguiquestions | We want them to stay as visitors, no login privileges. | 18:14 |
webguiquestions | Despite being valid LDAP users. | 18:14 |
-!- jimX11 [~jjm@n128-227-81-249.xlate.ufl.edu] has joined #webgui | 18:15 | |
webguiquestions | The closest I found to the wiki guides were the groups inclusions...if user is in $group on ldap, include in $webgui_group. | 18:16 |
webguiquestions | That's too late in the process. They'd already have authenticated and littered the memberarea with a homepage they shouldn't have had :-/ | 18:16 |
+perlDreamer | right | 18:17 |
webguiquestions | Hmm...so there must be code somewhere in whatever module handles the group binding checking that could be added to the LDAP.pm module for checking membership earlier. | 18:19 |
+perlDreamer | I think that's part of the DN and CN that you attach to the authentication | 18:20 |
+perlDreamer | there are group-looking parts in the example on that webpage | 18:20 |
webguiquestions | The link you sent me at the bottom you mean? | 18:21 |
+perlDreamer | this link: http://www.webgui.org/user-guides/webgui-administrators-guide/webgui-administrators-guide/ldap | 18:21 |
webguiquestions | I may have misread, but I thought that was referring to the if-in-LDAP-group, put-in-webgui group. | 18:22 |
webguiquestions | Maybe the recursive group part? | 18:22 |
webguiquestions | Let's see... | 18:22 |
webguiquestions | nope the recursive group is a setting meant to block out a search so it speeds up authentication, I think. | 18:24 |
+perlDreamer | so, webguiquestions, if this is my LDAP URL, ldaps://ldap.mycompany.com/o=shawshank | 18:28 |
+perlDreamer | what does the o=shawshank do? | 18:28 |
webguiquestions | You mean I'd prepend the o=group to my ldap URL? | 18:31 |
+perlDreamer | I don't know, that's a guess | 18:33 |
+perlDreamer | but it's worth trying :) | 18:33 |
webguiquestions | It appears that the "o" is not used in active directory. | 18:46 |
webguiquestions | I removed a user from the website_users group and it still allowed that user to log in. | 18:46 |
-!- daviddelikat [~user@adsl-76-204-91-40.dsl.mdsnwi.sbcglobal.net] has quit [Quit: Leaving.] | 18:48 | |
+perlDreamer | webguiquestions, maybe you could put something "like" o=shawshank into that URL? | 19:03 |
webguiquestions | I used the name of the security group in the URI. It didn't seem to affect it one way or the other. | 19:04 |
+perlDreamer | then I'd say you're out of chances for using core features, and needing custom coding (either in the LDAP authentication) or the workflow activity | 19:04 |
webguiquestions | pretty much. | 19:08 |
webguiquestions | :-/ | 19:08 |
* perlDreamer goes to the gym | 19:11 | |
-!- knowmad [~knowmad@adsl-070-148-064-118.sip.clt.bellsouth.net] has joined #webgui | 19:20 | |
webguiquestions | Any idea where WebGUI pulls the template setting from when you enter a username/password combination and it's wrong, the "failed login" page? | 19:28 |
webguiquestions | It has the wrong style/theme but I'm not finding where the page is so I can change the theme used. | 19:28 |
@scrottie | I can find out... | 19:33 |
webguiquestions | The URL just goes to /webui/home, but the home asset seems to have the right theme (and I'd set it before with the change branch) :-/ | 19:35 |
@scrottie | during op=auth, the page in the URL isn't being shown | 19:35 |
@scrottie | the auth handler takes over | 19:35 |
@scrottie | /foo/bar?op=auth doesn't show /foo/bar | 19:36 |
-!- knowmad [~knowmad@adsl-070-148-064-118.sip.clt.bellsouth.net] has quit [Ping timeout: 260 seconds] | 19:39 | |
@scrottie | uh... unless I lost the scent, it looks like the template stuff gets wrapped in during auth is taken from the userFunctionStyleId setting | 19:39 |
@scrottie | also, tabs. | 19:40 |
webguiquestions | Where would that setting be found in the assets? | 19:52 |
webguiquestions | Not assets...I'm looking in the settings->users now... | 19:54 |
webguiquestions | maybe it's in there buried. | 19:54 |
@preaction | it's in Settings > UI. User Function Style | 19:55 |
@scrottie | sorry, flopped over to another window. pardon my slowness. | 19:56 |
webguiquestions | Think I got it. | 19:56 |
webguiquestions | I'm juggling several windows too. | 19:56 |
-!- knowmad [~knowmad@adsl-070-148-064-118.sip.clt.bellsouth.net] has joined #webgui | 19:59 | |
* scrottie has a sudden urge to serialize FormBuilder-built trees of Forms | 20:07 | |
webguiquestions | :-/ | 20:10 |
-!- knowmad [~knowmad@adsl-070-148-064-118.sip.clt.bellsouth.net] has quit [Ping timeout: 260 seconds] | 20:10 | |
webguiquestions | I managed to adapt a perl program so if I use perl program.pl username it can tell me if the user object is a member of the group I'm trying to auth against. | 20:10 |
webguiquestions | But is there a way to tie it to WebGUI's authentication routine so that it'll call the perl program and check the output before allowing someone to log in or not? | 20:11 |
@scrottie | yes, you can create new subclasses of WebGUI::Auth besides the ones in /data/WebGUI/lib/WebGUI/Auth | 20:12 |
@scrottie | you could subclass WebGUI::Auth::LDAP, for example. | 20:12 |
@scrottie | the WebGUI Programmer's Guide has a chapter on creating new auth modules. | 20:12 |
webguiquestions | This would work in tandem with the existing ones? | 20:13 |
@scrottie | you should be able to get a pdf of that on webgui.org. | 20:13 |
webguiquestions | I don't want to replace what's working, I just need it to find out one extra detail. | 20:13 |
@scrottie | well, you'd be specializing the LDAP auth that's there, taking that logic and modifying it | 20:13 |
@scrottie | you'd be replacing methods on a method-by-method basis, being able to call back off to the original method to finish work | 20:13 |
@scrottie | hrm. well, any time you add code, you're risking breaking something that's working. | 20:14 |
@scrottie | that's unavoidable. | 20:14 |
@scrottie | in WebGUI as in most OO programs, code is added by adding subclasses and then telling the thing to use your new subclass. | 20:14 |
@preaction | there's a runOnLogin thing in the config file too | 20:25 |
@preaction | but as i mentioned before, better to just let everyone log in and only allow the people in the right group to see the right content. far easier | 20:25 |
@preaction | runOnLogin could close the users session, iirc | 20:26 |
webguiquestions | Don't know if that would work. If they get to that point, they've already had a workflow create a home page for them. | 20:30 |
@scrottie | I think there's some question about how that would interact with the package that creates home pages for people, but it would be worth trying it to see what happens before doing something radical. | 20:30 |
webguiquestions | RunOnLogin is in the WebGUI config file? | 20:31 |
webguiquestions | But is there a way to act on the results of the program that's run? | 20:32 |
webguiquestions | I have this PERL program that'll tell you if the user is a member of the group I'm looking for, whether I'd want them to be logged in or not, but how would I tie it to that mechanism? | 20:33 |
+perlDreamer | wouldn't it be easier if we added additional requirements on LDAP Auth? | 20:34 |
+perlDreamer | where the user could add in a filter that said that the user must be in a certain LDAP directory to create an account? | 20:34 |
webguiquestions | There's a fairly short example in PERL that will check if <user> is in a particular group. | 20:35 |
webguiquestions | That's why I'd rather avoid jumping through 12 hoops to customize it. | 20:35 |
webguiquestions | The part I stumble on is how to integrate the functionality with the existing code. | 20:35 |
+perlDreamer | on our end, it would be even simpler if we could just make it part of the authentication | 20:35 |
webguiquestions | The sample I modified is 3.8k...and that has extra stuff that's probably not needed. | 20:36 |
webguiquestions | Actually I know parts aren't needed since I added things like the "usage" if you don't have ARGV[0] | 20:37 |
@scrottie | webguiquestions, "one program calling another program" isn't an especially useful way to look at the situation. WebGUI is a large OO program. the design and structure are very different. as it is, there are thousands or tens of thousands of hooks, but the hooks are at the object/method level. customized behavior is done that way. all of us are looking at it from that point of view. | 20:40 |
@scrottie | if you wanted to edit your WebGUI source code, you could easily insert the couple of lines of code into the existing LDAP module, but then every time you upgraded WebGUI, you'd have to edit the code again and make the same change. | 20:41 |
@scrottie | it's easier to make an empty module that inherits from an existing module and add the code there. that way, you probably don't have to change anything when you upgrade. | 20:41 |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Ping timeout: 250 seconds] | 20:41 | |
@scrottie | but preaction and perlDreamer have better ideas of how else this could be done besides that. if preaction thinks that permissions will take care of restricting access to the site to only people in the correct LDAP group, then he's probably right and you should at least try it. | 20:42 |
webguiquestions | I don't suppose there's a relatively simple way for a non-PERL programmer to do that working from a working sample program that gives the results I'm looking for in less than a month, is there...? | 20:43 |
@scrottie | that's a good reason to indulge preaction here. he's a smart guy and he knows this stuff cold. | 20:44 |
+perlDreamer | scrottie, the problem is a little more complex than that | 20:44 |
@scrottie | but if you did turn to doing code, the guide walks you through the steps pretty well, and people here are a lot more likely to look at code you're working on and tell you what to change than to start writing it ourselves. it just takes a lot less time to point out corrections to people than to go through the whole process ourself. | 20:44 |
+perlDreamer | webguiquestinos needs to migrate an entire school district of teachers and staff over to WebGUI | 20:45 |
+perlDreamer | and he'd like to use the custom workflow activity that creates user specific pages on account creation | 20:45 |
+perlDreamer | so it's more than just permissions | 20:45 |
@scrottie | perlDreamer, I've got that. | 20:45 |
@scrottie | then I'm not sure why preaction keeps suggesting that even though he (and I) have heard the situation twice now. | 20:45 |
+perlDreamer | 1) His thoughts are way beyond ours | 20:46 |
+perlDreamer | 2) Maybe he's forgotten the original problem | 20:46 |
+perlDreamer | either of those, or something else :) | 20:46 |
@scrottie | right. it seems like there's no harm in setting it up and then saying, "okay, this is what it's doing, this is what I want, what next?" | 20:46 |
@scrottie | you can always add a custom auth module later. preaction also mentioned auth running a script as part of its work that can, among other things, log someone right back out. that seems like it would satisify the requirements as well. | 20:48 |
@scrottie | "there's a runOnLogin thing too" | 20:49 |
webguiquestions | As long as it doesn't run the workflow that creates the home page assets. | 20:49 |
@scrottie | I'd have to see this other code to decide. | 20:49 |
+perlDreamer | if you logged someone out, it would just set the user in their session back to visitor | 20:50 |
+perlDreamer | and then the workflow would still run | 20:50 |
webguiquestions | @Scrottie: You mean http://explodingcoder.com/blog/content/how-query-active-directory-security-group-membership ? | 20:50 |
@scrottie | ah, part of www_login, and it runs the macro processor. | 20:51 |
@scrottie | webguiquestions, have you used a "no paste" service before? | 20:51 |
webguiquestions | No. | 20:51 |
webguiquestions | You're looking for the code sample? | 20:52 |
@scrottie | webguiquestions, I can help you with bits and pieces of this. here's roughly how it would go. you'll have to edit some config and some source code. you'll have to type up the example auth subclass from the Developer's Guide, add your logic you already have in your simple command line program as best you can, paste it with a "no paste" service such as gist.github.com (paste it into the webform and then repeat the URL it | 20:53 |
@scrottie | gives you here), collect comments on the code (when people here have a spare moment), make those changes, try it | 20:53 |
@scrottie | the "no paste" thing is a simple way to collaborate on code | 20:53 |
@scrottie | you need to edit the /data/WebGUI/etc/preload.custom file to include a directory that you put this in. the structure of that directory matches the /data/WebGUI one... it has a lib/WebGUI in it, at least. in your case, it would have lib/WebGUI/Auth and that would contain the .pm file you make. | 20:54 |
webguiquestions | I'll see what I can do. | 20:54 |
@scrottie | I don't think it'll take you a month... with luck, it should take a lot less. | 20:55 |
@scrottie | there's a preload.custom.example in there, by the way | 20:56 |
* scrottie rsyncs stuff... | 20:57 | |
-!- knowmad [~knowmad@adsl-070-148-067-249.sip.clt.bellsouth.net] has joined #webgui | 21:01 | |
-!- webguiquestions [ad2ed001@gateway/web/freenode/ip.173.46.208.1] has quit [] | 21:03 | |
-!- knowmad [~knowmad@adsl-070-148-067-249.sip.clt.bellsouth.net] has left #webgui [] | 21:03 | |
+perlDreamer | If the bits don't link, you must rsync! | 21:06 |
* scrottie snickers | 21:10 | |
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has joined #webgui | 21:49 | |
-!- mode/#webgui [+o pbcj] by ChanServ | 21:49 | |
-!- vayde [~vayde@67-4-235-226.mpls.qwest.net] has quit [Remote host closed the connection] | 22:01 | |
-!- vayde [~vayde@67-4-235-226.mpls.qwest.net] has joined #webgui | 22:04 | |
@preaction | ahh, wrist brace makes everything feel better | 22:18 |
-!- vayde [~vayde@67-4-235-226.mpls.qwest.net] has quit [Remote host closed the connection] | 22:18 | |
-!- vayde [~vayde@67-4-235-226.mpls.qwest.net] has joined #webgui | 22:28 | |
@scrottie | dammit, power cord went bad and I didn't notice until the machine suddenly powered off. | 23:00 |
-!- daviddelikat [~user@adsl-76-204-91-40.dsl.mdsnwi.sbcglobal.net] has joined #webgui | 23:45 | |
--- Day changed Fri Jun 10 2011 | ||
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui | 00:05 | |
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has quit [] | 00:06 | |
-!- andyiomoon1 [~andyiomoo@vpn246-7.cc.swin.edu.au] has joined #webgui | 00:07 | |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Ping timeout: 240 seconds] | 00:10 | |
-!- andyiomoon1 [~andyiomoo@vpn246-7.cc.swin.edu.au] has quit [Ping timeout: 240 seconds] | 01:16 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Read error: Connection reset by peer] | 03:57 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui | 04:07 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Read error: Connection reset by peer] | 04:22 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui | 04:31 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Quit: Leaving.] | 05:34 | |
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has quit [Quit: Leaving.] | 05:54 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 06:03 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Quit: Leaving.] | 07:18 | |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui | 07:27 | |
-!- andyiomoon1 [~andyiomoo@vpn246-19.cc.swin.edu.au] has joined #webgui | 07:29 | |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Ping timeout: 240 seconds] | 07:31 | |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui | 07:36 | |
-!- andyiomoon1 [~andyiomoo@vpn246-19.cc.swin.edu.au] has quit [Ping timeout: 240 seconds] | 07:38 | |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has quit [Remote host closed the connection] | 12:18 | |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui | 12:36 | |
-!- mode/#webgui [+v BartJol] by ChanServ | 12:36 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 12:57 | |
-!- vayde [~vayde@67-4-235-226.mpls.qwest.net] has quit [Quit: Leaving] | 15:27 | |
-!- vayde [~vayde@67-4-235-226.mpls.qwest.net] has joined #webgui | 15:59 | |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Quit: Leaving.] | 16:03 | |
-!- vayde [~vayde@67-4-235-226.mpls.qwest.net] has quit [Remote host closed the connection] | 16:26 | |
-!- vayde [~vayde@67-4-235-226.mpls.qwest.net] has joined #webgui | 16:27 | |
SDuensin | FrIdAy! | 16:39 |
ckotil | Finally | 16:40 |
ckotil | Is there a good way to hide a single asset from the search asset? | 16:40 |
SDuensin | No shit dude. | 16:40 |
SDuensin | Delete it? :-) | 16:40 |
ckotil | yeah, i just told the user we cant do it | 16:52 |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has quit [Quit: Leaving.] | 16:55 | |
-!- BartJol [~bart@213.125.105.181] has joined #webgui | 17:03 | |
-!- mode/#webgui [+v BartJol] by ChanServ | 17:04 | |
-!- sbaur [~Adium@130.157.145.37] has joined #webgui | 17:50 | |
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui | 18:00 | |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 18:00 | |
+perlDreamer | ckotil, re searchable assets, the Search asset obeys permissions | 18:13 |
+perlDreamer | so if you set them to be restrictive, then only people who can view the asset will find it in search results | 18:13 |
SDuensin | Hey, did I miss the amazing PayPal update? | 18:16 |
+perlDreamer | Monday | 18:16 |
SDuensin | Doh! Tease! | 18:17 |
ckotil | perlDreamer: yeah, but the user wants the file to be publicly viewable just not searchable. | 18:31 |
+perlDreamer | you seem to have very demanding users, ckotil | 18:32 |
ckotil | tell me about it. | 18:32 |
ckotil | R&E types. | 18:32 |
ckotil | and we're reviewing content/documentation management systems now. | 18:33 |
ckotil | so im neck deep in drupal/mindtouch/cascade server/alfresco. the last 2 are just to massive for me to even begin understanding | 18:33 |
ckotil | im pushing for webgui to remain our system of choice. | 18:34 |
ckotil | we just need to rework all the template to make everyone happy. | 18:34 |
+perlDreamer | It'd be cool to know in which areas y'all think WebGUI excels, and in which it needs some help | 18:34 |
ckotil | it excels in hackability :) | 18:34 |
ckotil | but yeah, im learning a lot using these other systems. ill let you know | 18:35 |
+perlDreamer | awesome | 18:36 |
+perlDreamer | that is something that preaction and I have wanted to do for a long time, but have been too busy to get around to | 18:36 |
-!- webguiquestions [ad2ed001@gateway/web/freenode/ip.173.46.208.1] has joined #webgui | 18:50 | |
-!- xootom [~xootom@cpc3-shef10-2-0-cust339.barn.cable.virginmedia.com] has joined #webgui | 18:59 | |
webguiquestions | If I take a PERL program and it only adds one small function to the LDAP Auth module, could I just (as the instructions hint) use "use WebGUI::programname;" at the headings of WebGUI::Auth::LDAP? | 19:00 |
+BartJol | you should | 19:02 |
+BartJol | be able to do that | 19:02 |
webguiquestions | Then I'd just need to alter a couple of lines in LDAP.pm to use the subs in that program? | 19:03 |
+BartJol | yeah | 19:04 |
webguiquestions | If that's really all it takes, I'm really close, but I still am missing what to change to trigger an error (disallow the login.) | 19:04 |
+BartJol | you want an error to the logs? | 19:05 |
+BartJol | or inform the user about a failed login | 19:05 |
webguiquestions | Inform the user they can't log in. Login error. Blah. Give a chance to reattempt login like they had a typo or something. | 19:09 |
+BartJol | well, you can return them to the login view, you should be able to figure that code out in WebGUI.pm (the webgui auth plugin | 19:10 |
+BartJol | ) | 19:10 |
webguiquestions | @$#^ Could not instanciate object using new on WebGUI::Auth::LDAP: Could not load WebGUI::Auth::LDAP because Attempt to reload WebGUI/Auth/CheckMemberships.pm aborted. | 19:10 |
webguiquestions | @#%TW$ | 19:10 |
+BartJol | strange code :P | 19:11 |
webguiquestions | It's called curse-ive. | 19:11 |
+BartJol | :) | 19:11 |
webguiquestions | I'm just getting tired. | 19:11 |
+BartJol | well it is weekend time (at least in the Nethelands) | 19:12 |
webguiquestions | I have a sample that tells me the result I would need, I have a proof of concept that works, I just can't integrate it in a way that this works with WebGUI. | 19:12 |
+BartJol | do you guess they're mostly perl or webgui related? | 19:13 |
+BartJol | they= your problems | 19:13 |
webguiquestions | It's literally about 130 lines total, with miscelaneous, test stuff, that gives me the information I need from AD. | 19:13 |
webguiquestions | I think it's my lack of understanding for concepts like creating modules and inheritence. | 19:14 |
+BartJol | can you put it in pastebin> | 19:14 |
webguiquestions | And the design behind webGUI, too. | 19:14 |
+BartJol | I can have a really quick look | 19:14 |
webguiquestions | Like, I can put the subroutines in. That works without error. | 19:14 |
webguiquestions | That is to say I can edit it right into the LDAP module, since it's relatively small. | 19:15 |
webguiquestions | It becomes one line of code to do the check if they're a member of XYZ group. | 19:15 |
webguiquestions | Then I can get a result. | 19:15 |
webguiquestions | But...how to get it to trigger a "no you're not a valid user" type error to the user, I'm not getting it to work. | 19:15 |
webguiquestions | You mean of the sample code I'm working with? | 19:16 |
+BartJol | yeah | 19:16 |
webguiquestions | Hang on and I'll just squilch out a couple things and see the pastebin part. Thanks. | 19:17 |
webguiquestions | http://pastebin.com/Ed7rAaLB | 19:22 |
webguiquestions | Does that link work? | 19:22 |
+BartJol | yup | 19:22 |
webguiquestions | That's the sample program that will tell me if you're a part of the website_allow security group. | 19:23 |
webguiquestions | I was thinking I could largely add the subs to the _isValidLDAPUser method in LDAP.pm | 19:24 |
+BartJol | so it is about line 40-42? | 19:24 |
webguiquestions | And the $connectDN would be used instead of $userDN | 19:25 |
webguiquestions | Yeah, the isMemberOf. | 19:25 |
webguiquestions | And its associated subs. | 19:25 |
webguiquestions | isMemberOf would be the one that actually calls it. When I tested it the CheckResult would be a 1 if the user is a member. | 19:26 |
webguiquestions | It's not really authenticating anything it's just adding a check, just needs to return a boolean. Seems overkill to write an authentication module for it. | 19:29 |
webguiquestions | Even so I'm a rank beginner at programming in PERL...it's been over a decade. So playing with modules and subclassing is something right now beyond me, especially while puzzling out how the existing code base interacts :-/ | 19:30 |
+BartJol | ok, webgui auth has this: | 19:31 |
+BartJol | /data/WebGUI/lib/WebGUI/Operation$ grep -R "The account information you supplied is invalid. Either the account does not exist or the username/password combination was incorrect" /data/WebGUI/lib | 19:31 |
+BartJol | /data/WebGUI/lib/WebGUI/i18n/English/WebGUI.pm:message => q|The account information you supplied is invalid. Either the account does not exist or the username/password combination was incorrect.|, | 19:31 |
+BartJol | /data/WebGUI/lib/WebGUI/i18n/English/AuthLDAP.pm: message => q|The account information you supplied is invalid. Either the account does not exist or the username/password combination was incorrect.|, | 19:31 |
+BartJol | so you should look weher ethaso mesaages are called for and then do the same | 19:32 |
+BartJol | where those messages.... typing on friday 6.30 pm is not good | 19:33 |
webguiquestions | I was thinking triggered in LDAP.pm near line 102. | 19:33 |
webguiquestions | That's where it binds with the user and password. | 19:33 |
webguiquestions | If that works, it should have the access and variables to call the ismemberof and get whether they belong to the group. | 19:34 |
+BartJol | so this code returns the error: | 19:34 |
+BartJol | $error .= '<li>'.$i18n->get(68).'</li>'; | 19:34 |
webguiquestions | If it's an invalid login credential, that's what it looks like. | 19:35 |
webguiquestions | What it looks like it's doing, that is. | 19:36 |
webguiquestions | I thought of adding the ismemberof before that. | 19:36 |
webguiquestions | (and the subs in the _isValidLDAPUser method) | 19:36 |
webguiquestions | But whatever I try doing to get it to trigger that "invalid login credential" just doesn't work. | 19:37 |
webguiquestions | I don't know what variable or flag I could set to trigger it. | 19:37 |
+BartJol | well, prolly there are some more experienced guys around right now | 19:38 |
+BartJol | I am staring while thinking of beer | 19:38 |
webguiquestions | I thought maybe it's because my error is local to the method while that error around 103/104 are checking against something from the LDAP module above. | 19:38 |
+BartJol | well, since that reloaded message is given, that might be an option | 19:39 |
webguiquestions | Reloaded message? | 19:39 |
+BartJol | Could not instanciate object using new on WebGUI::Auth::LDAP: Could not load WebGUI::Auth::LDAP because Attempt to reload | 19:40 |
+BartJol | but, as I said, weekend time for Bart | 19:40 |
+BartJol | sorry | 19:40 |
webguiquestions | That happened when I tried adding it as a use blah::blah at the top of the LDAP.pm module. | 19:40 |
-!- BartJol [~bart@213.125.105.181] has quit [Quit: Leaving.] | 19:42 | |
@scrottie | webguiquestions, reading back, you have a syntax error. this is entirely unsurprising. | 20:41 |
webguiquestions | ? | 20:41 |
@scrottie | at the command line, do: export PERL5LIB=/data/WebGUI/lib | 20:42 |
@scrottie | then: perl -c path/to/YourCode.pm | 20:42 |
@scrottie | that'll tell you where Perl can't parse your code. | 20:42 |
@scrottie | it seems like the authenticate() method returns true if the user is supposed to log in, but I'd have to read more (docs or code) to verify that | 20:43 |
@scrottie | oh, no, wait... $self->user(WebGUI::User->new($self->session,1)); | 20:43 |
@scrottie | okay, I'm not sure about that either =P | 20:44 |
@scrottie | I've got some things up in the air at the moment, but I can help you nail this down. | 20:45 |
@scrottie | can you no-paste what you have for a .pm? | 20:45 |
webguiquestions | It's that code I pasted in earlier. | 20:47 |
webguiquestions | Hang on... | 20:47 |
webguiquestions | pastebin http://pastebin.com/Ed7rAaLB | 20:47 |
webguiquestions | I was trying to integrate the code with the existing module. http://pastebin.com/TmHhsXVs | 20:51 |
webguiquestions | What I learned is that an invalid username will never trigger the printed message to the error log. | 20:52 |
webguiquestions | a valid username + valid password won't either. | 20:52 |
webguiquestions | but a valid username and invalid password will print the error to the logs. | 20:52 |
@scrottie | and you want to change that? | 20:52 |
webguiquestions | I want it to check for the membership to the group and if the user is a valid user with a valid password but not in the group, reject their login. | 20:53 |
@scrottie | right. | 20:53 |
webguiquestions | In order to authenticate, user must be a member of the security group and valid username and valid password. | 20:53 |
webguiquestions | So maybe a scope isue with the conditional blocks? | 20:54 |
@scrottie | okay, this is code that I don't need to see. | 20:54 |
webguiquestions | The first or second one? | 20:54 |
@scrottie | both. | 20:55 |
@scrottie | sorry, I misunderstood. I thought you were pasting a first version of a subclass of WebGUI::Auth::LDAP. | 20:55 |
webguiquestions | I'm not proficient enough in PERL to properly write subclasses :-( | 20:56 |
@scrottie | and I'm too busy to do this myself, right now. we have to meet in the middle here. | 20:57 |
ckotil | is there a wg8 demo site anywhere? | 20:57 |
@scrottie | there are good instructions in the Developer's Guide. it shows you exactly what a "skeleton" Auth subclass looks like. | 20:57 |
@scrottie | all you have to do is type that in and then make an educated guess about where in the skeleton your code goes. | 20:57 |
@scrottie | do that, and I'll do the rest of the leg work of figuring out what's being used incorrectly and what's out of place. | 20:58 |
webguiquestions | The subsection on "authentication plugins"? | 20:58 |
@scrottie | yup, sounds right. | 20:58 |
@preaction | ckotil: not yet, no. soon though | 21:43 |
-!- vayde [~vayde@67-4-235-226.mpls.qwest.net] has quit [Remote host closed the connection] | 21:56 | |
-!- vayde [~vayde@67-4-235-226.mpls.qwest.net] has joined #webgui | 21:57 | |
ckotil | cool | 22:01 |
-!- webguiquestions [ad2ed001@gateway/web/freenode/ip.173.46.208.1] has quit [] | 22:16 | |
CIA-68 | webgui: Paul Driver master * r9dd8658 / (2 files in 2 dirs): fixed #12156: Asset Manager performance - http://bit.ly/lcTWgn | 22:18 |
CIA-68 | webgui: Paul Driver webgui-7.9 * r9b29f8c / (2 files in 2 dirs): fixed #12156: Asset Manager performance - http://bit.ly/irOJJ6 | 22:20 |
-!- vayde [~vayde@67-4-235-226.mpls.qwest.net] has quit [Remote host closed the connection] | 22:22 | |
@preaction | frodwith: how much of a speedup is that? is it awesome? | 22:25 |
@frodwith | pretty awesome | 22:26 |
@preaction | nice | 22:26 |
-!- kaare_ [~kaare@95.209.215.251.bredband.oister.dk] has joined #webgui | 22:33 | |
-!- kaare_ [~kaare@95.209.215.251.bredband.oister.dk] has quit [Ping timeout: 240 seconds] | 22:55 | |
-!- xootom_ [~xootom@cpc3-shef10-2-0-cust339.barn.cable.virginmedia.com] has joined #webgui | 22:57 | |
-!- xootom [~xootom@cpc3-shef10-2-0-cust339.barn.cable.virginmedia.com] has quit [Read error: Connection reset by peer] | 22:59 | |
+perlDreamer | nice work frodwith! | 23:03 |
@frodwith | :) | 23:03 |
@preaction | perlDreamer: i've got a bunch of crud classes that override create() to do an action requiring a completed object. do you think having a "_new" flag and a hook is a good idea? or do I do something in the moose attributes? | 23:04 |
+perlDreamer | how about using 'after' ? | 23:05 |
+perlDreamer | if it was "new" instead of create, then there's also a modifier just for that | 23:05 |
+perlDreamer | it's called BUILD | 23:06 |
@preaction | but i don't know if it's a new object | 23:06 |
+perlDreamer | you didn't mention that earlier :) | 23:07 |
+perlDreamer | so yeah, I think your best choice is to put in a flag | 23:07 |
@preaction | and then read that flag in BUILD | 23:07 |
+perlDreamer | yup | 23:11 |
+perlDreamer | it's exactly what I did with _dirty | 23:15 |
--- Day changed Sat Jun 11 2011 | ||
-!- daviddelikat [~user@adsl-76-204-91-40.dsl.mdsnwi.sbcglobal.net] has quit [Quit: Leaving.] | 00:32 | |
-!- daviddelikat [~user@adsl-76-204-91-40.dsl.mdsnwi.sbcglobal.net] has joined #webgui | 00:34 | |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui | 00:57 | |
-!- SquOnk [~emhn@186.93.207.12] has joined #webgui | 01:25 | |
SquOnk | Greetings. | 01:25 |
SquOnk | Already gone for the weekend? :-) | 01:26 |
kthakore | noi | 01:29 |
kthakore | I have no weekend | 01:29 |
+perlDreamer | howdy, SquOnk | 01:32 |
SquOnk | perlDreamer: Hey there. | 01:32 |
-!- SquOnk [~emhn@186.93.207.12] has quit [Quit: Yippie kay-ai-yay, fudder muckers!] | 01:47 | |
-!- vayde [~vayde@67-4-235-226.mpls.qwest.net] has joined #webgui | 02:09 | |
-!- sbaur [~Adium@130.157.145.37] has quit [Quit: Leaving.] | 02:33 | |
-!- vayde [~vayde@67-4-235-226.mpls.qwest.net] has quit [Ping timeout: 240 seconds] | 02:47 | |
-!- vayde [~vayde@67-4-235-226.mpls.qwest.net] has joined #webgui | 03:02 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Read error: Connection reset by peer] | 03:03 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui | 03:07 | |
@scrottie | oh, hey kthakore. | 04:16 |
kthakore | hi scrottie | 04:53 |
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has quit [Quit: Leaving.] | 06:20 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Quit: Leaving.] | 06:59 | |
-!- kaare_ [~kaare@95.209.219.172] has joined #webgui | 07:29 | |
-!- Janos [~Janos@186.32.185.5] has joined #webgui | 10:50 | |
-!- andyiomoon1 [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui | 11:11 | |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Ping timeout: 240 seconds] | 11:13 | |
-!- andyiomoon1 [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Quit: Leaving.] | 11:45 | |
-!- xootom_ [~xootom@cpc3-shef10-2-0-cust339.barn.cable.virginmedia.com] has quit [Ping timeout: 240 seconds] | 11:47 | |
-!- Janos [~Janos@186.32.185.5] has left #webgui ["Leaving"] | 11:50 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 13:02 | |
-!- xootom_ [~xootom@cpc3-shef10-2-0-cust339.barn.cable.virginmedia.com] has joined #webgui | 17:02 | |
-!- xootom_ is now known as xootom | 17:02 | |
-!- stDavid [~stDavid@static-72-64-138-146.tampfl.fios.verizon.net] has joined #webgui | 17:06 | |
-!- daviddelikat [~user@adsl-76-204-91-40.dsl.mdsnwi.sbcglobal.net] has quit [Quit: Leaving.] | 19:47 | |
-!- daviddelikat [~user@76.204.91.40] has joined #webgui | 20:00 | |
-!- vayde [~vayde@67-4-235-226.mpls.qwest.net] has quit [Remote host closed the connection] | 21:03 | |
-!- vayde [~vayde@67-4-235-226.mpls.qwest.net] has joined #webgui | 21:10 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Ping timeout: 252 seconds] | 21:24 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui | 21:29 | |
--- Day changed Sun Jun 12 2011 | ||
-!- kaare_ [~kaare@95.209.219.172] has quit [Ping timeout: 252 seconds] | 00:29 | |
-!- xootom [~xootom@cpc3-shef10-2-0-cust339.barn.cable.virginmedia.com] has quit [Ping timeout: 255 seconds] | 01:06 | |
-!- stDavid [~stDavid@static-72-64-138-146.tampfl.fios.verizon.net] has quit [Quit: "Three Stooges Beer" - It doesn't taste that good, but it sure is funny.] | 03:16 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Ping timeout: 240 seconds] | 04:46 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui | 04:52 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Quit: Leaving.] | 05:58 | |
-!- kaare_ [~kaare@79.138.163.75.bredband.oister.dk] has joined #webgui | 07:40 | |
-!- kaare_ [~kaare@79.138.163.75.bredband.oister.dk] has quit [Ping timeout: 252 seconds] | 09:01 | |
-!- kaare_ [~kaare@95.209.211.84.bredband.oister.dk] has joined #webgui | 09:45 | |
-!- Netsplit *.net <-> *.split quits: mducharme | 10:38 | |
-!- Netsplit *.net <-> *.split quits: ckotil, @frodwith, vayde, daviddelikat, @scrottie, jimX11, kaare_, gugod | 10:38 | |
-!- Netsplit *.net <-> *.split quits: mducharme-work1, SDuensin, @preaction, Haarg, CIA-68, waxhead, kthakore, +Radix_ | 10:38 | |
-!- Netsplit over, joins: mducharme | 10:43 | |
-!- Netsplit over, joins: kthakore | 10:44 | |
-!- Radix [quasselcor@203.161.71.161.static.amnet.net.au] has joined #webgui | 10:44 | |
-!- Netsplit over, joins: mducharme-work1, Haarg, waxhead, CIA-68, @preaction, SDuensin | 10:44 | |
-!- ServerMode/#webgui [+vo Radix preaction] by gibson.freenode.net | 10:44 | |
-!- Netsplit over, joins: ckotil | 10:44 | |
-!- Radix is now known as 16SAAJ6F8 | 10:44 | |
-!- Netsplit *.net <-> *.split quits: ckotil, mducharme-work1, SDuensin, @preaction, mducharme, kthakore, CIA-68, waxhead, Haarg, +16SAAJ6F8 | 10:44 | |
-!- vayde [~vayde@67-4-235-226.mpls.qwest.net] has joined #webgui | 10:49 | |
-!- kaare_ [~kaare@95.209.211.84.bredband.oister.dk] has joined #webgui | 10:49 | |
-!- Radix_ [quasselcor@203.161.71.161.static.amnet.net.au] has joined #webgui | 10:49 | |
-!- scrottie [~scott@li25-98.members.linode.com] has joined #webgui | 10:49 | |
-!- frodwith [~frodwith@helios.tapodi.net] has joined #webgui | 10:49 | |
-!- gugod [~gugod@114-32-222-155.HINET-IP.hinet.net] has joined #webgui | 10:49 | |
-!- jimX11 [~jjm@n128-227-81-249.xlate.ufl.edu] has joined #webgui | 10:49 | |
-!- daviddelikat [~user@76.204.91.40] has joined #webgui | 10:49 | |
-!- xootom [~xootom@cpc3-shef10-2-0-cust339.barn.cable.virginmedia.com] has joined #webgui | 10:49 | |
-!- Netsplit over, joins: SDuensin, @preaction | 10:49 | |
-!- ServerMode/#webgui [+vooo Radix_ scrottie frodwith preaction] by gibson.freenode.net | 10:49 | |
-!- Netsplit over, joins: CIA-68, waxhead, Haarg, mducharme-work1, kthakore, mducharme | 10:49 | |
-!- Radix_ is now known as Radix-wrk | 10:50 | |
-!- Netsplit over, joins: ckotil | 10:50 | |
-!- Radix-wrk [quasselcor@203.161.71.161.static.amnet.net.au] has quit [Client Quit] | 10:50 | |
-!- Radix_ [quasselcor@203.161.71.161.static.amnet.net.au] has joined #webgui | 10:50 | |
-!- mode/#webgui [+v Radix_] by ChanServ | 10:50 | |
-!- Radix_ [quasselcor@203.161.71.161.static.amnet.net.au] has quit [Client Quit] | 10:50 | |
-!- Radix-wrk [quasselcor@203.161.71.161.static.amnet.net.au] has joined #webgui | 10:51 | |
-!- mode/#webgui [+v Radix-wrk] by ChanServ | 10:51 | |
-!- Radix-wrk is now known as Radix_ | 10:53 | |
-!- xootom [~xootom@cpc3-shef10-2-0-cust339.barn.cable.virginmedia.com] has quit [Ping timeout: 255 seconds] | 11:29 | |
-!- kaare_ [~kaare@95.209.211.84.bredband.oister.dk] has quit [Ping timeout: 260 seconds] | 11:39 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 14:04 | |
-!- kaare_ [~kaare@94.191.194.81.bredband.3.dk] has joined #webgui | 15:26 | |
-!- vayde [~vayde@67-4-235-226.mpls.qwest.net] has quit [Quit: Leaving] | 15:29 | |
-!- mducharme1 [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui | 16:02 | |
-!- Netsplit *.net <-> *.split quits: mducharme | 16:10 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui | 19:17 | |
-!- mducharme1 [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Read error: Operation timed out] | 19:19 | |
-!- kaare_ [~kaare@94.191.194.81.bredband.3.dk] has quit [Ping timeout: 252 seconds] | 22:56 | |
--- Day changed Mon Jun 13 2011 | ||
-!- jimX11 [~jjm@n128-227-81-249.xlate.ufl.edu] has quit [Quit: Leaving] | 01:34 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Read error: Connection reset by peer] | 01:34 | |
-!- jimX11 [~jjm@n128-227-81-249.xlate.ufl.edu] has joined #webgui | 01:35 | |
-!- kaare_ [~kaare@95.209.216.45] has joined #webgui | 06:06 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Quit: Leaving.] | 06:16 | |
-!- kaare_ [~kaare@95.209.216.45] has quit [Ping timeout: 252 seconds] | 06:51 | |
-!- waxhead [~pete@ppp121-45-217-58.lns20.cbr1.internode.on.net] has quit [Read error: Connection reset by peer] | 08:12 | |
-!- kaare_ [~kaare@79.138.165.173.bredband.oister.dk] has joined #webgui | 09:18 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 10:27 | |
-!- Radix_ [quasselcor@203.161.71.161.static.amnet.net.au] has quit [Quit: Connection reset by beer] | 10:51 | |
-!- Radix-wrk [quasselcor@203.161.71.161.static.amnet.net.au] has joined #webgui | 10:52 | |
-!- mode/#webgui [+v Radix-wrk] by ChanServ | 10:52 | |
-!- jimX11 [~jjm@n128-227-81-249.xlate.ufl.edu] has quit [Quit: Leaving] | 11:04 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Quit: Leaving.] | 12:20 | |
-!- carogray [~Caroline@184.242.25.70] has joined #webgui | 12:59 | |
-!- carogray [~Caroline@184.242.25.70] has quit [Ping timeout: 255 seconds] | 13:06 | |
-!- carogray [~Caroline@184-197-126-15.pools.spcsdns.net] has joined #webgui | 13:11 | |
-!- carogray [~Caroline@184-197-126-15.pools.spcsdns.net] has quit [Read error: Connection reset by peer] | 13:15 | |
-!- carogray [~Caroline@173-143-109-122.pools.spcsdns.net] has joined #webgui | 13:20 | |
-!- carogray [~Caroline@173-143-109-122.pools.spcsdns.net] has quit [Ping timeout: 252 seconds] | 13:29 | |
-!- carogray [~Caroline@174-154-168-152.pools.spcsdns.net] has joined #webgui | 13:31 | |
-!- carogray1 [~Caroline@108.117.13.155] has joined #webgui | 14:03 | |
-!- carogray [~Caroline@174-154-168-152.pools.spcsdns.net] has quit [Ping timeout: 240 seconds] | 14:06 | |
-!- carogray1 [~Caroline@108.117.13.155] has quit [Ping timeout: 260 seconds] | 14:15 | |
-!- carogray [~Caroline@108.124.77.57] has joined #webgui | 14:18 | |
-!- carogray1 [~Caroline@72-63-37-163.pools.spcsdns.net] has joined #webgui | 14:42 | |
-!- carogray [~Caroline@108.124.77.57] has quit [Ping timeout: 250 seconds] | 14:44 | |
-!- carogray1 [~Caroline@72-63-37-163.pools.spcsdns.net] has quit [Ping timeout: 246 seconds] | 14:51 | |
-!- kaare_ [~kaare@79.138.165.173.bredband.oister.dk] has quit [Ping timeout: 252 seconds] | 14:59 | |
-!- carogray [~Caroline@184-200-50-17.pools.spcsdns.net] has joined #webgui | 15:05 | |
-!- carogray [~Caroline@184-200-50-17.pools.spcsdns.net] has quit [Ping timeout: 258 seconds] | 15:24 | |
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has joined #webgui | 16:03 | |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui | 16:12 | |
SDuensin | Greetings. | 16:39 |
-!- ampli [c0722a05@gateway/web/freenode/ip.192.114.42.5] has joined #webgui | 17:43 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 17:47 | |
-!- ampli [c0722a05@gateway/web/freenode/ip.192.114.42.5] has left #webgui [] | 17:56 | |
-!- sbaur [~Adium@130.157.145.37] has joined #webgui | 18:00 | |
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui | 18:11 | |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 18:11 | |
-!- daviddelikat [~user@76.204.91.40] has quit [Quit: Leaving.] | 18:12 | |
-!- SquOnk [~emhn@186.93.207.12] has joined #webgui | 18:34 | |
SquOnk | Greetings. | 18:34 |
SquOnk | I'm looking for suggestions on something I'm trying to do... | 18:35 |
SquOnk | There's a Page Layout that has *several* CS (blogs) below. | 18:35 |
SquOnk | The main Page Layout should have a nice menu to each of the blogs. That's easy with a Navigation and it's working. | 18:36 |
SquOnk | Now they want each menu item to have the blog author's picture beside. | 18:36 |
SquOnk | My initial idea is to have the main Layout (/blogs) have Layouts below it (/blogs/blog1, /blogs/blog2, ...) | 18:37 |
SquOnk | Each of those would have an Image and the actual CS. | 18:37 |
+perlDreamer | Use the User macro, along with the StorageUrl macro that you've used before, to find the Avatar for the user | 18:37 |
+perlDreamer | well, that's a start | 18:37 |
SquOnk | perlDreamer: That was my first stab at it. The blogs might not have a user at all. | 18:37 |
+perlDreamer | how can you have an asset with an owner? | 18:38 |
+perlDreamer | sorry, without an owner? | 18:38 |
SquOnk | perlDreamer: Let me rephrase. There will be many blogs handled by the same user, but with different pictures. | 18:38 |
+perlDreamer | so, you want pictures from the Posts? | 18:39 |
SquOnk | perlDreamer: No. A picture per blog. | 18:39 |
SquOnk | perlDreamer: Say we're talking baseball. Each blog would belong to a different team. | 18:39 |
SquOnk | perlDreamer: The men�ushould have the team's logo beside the link to the actual blog. | 18:40 |
+perlDreamer | well, a CS in and of itself cannot directly contain pictures, you can only inline them in the description | 18:40 |
+perlDreamer | so there's no way to pull it out programmatically | 18:40 |
SquOnk | perlDreamer: Exactly. That's why I started thinking of the page with the image and the CS. | 18:41 |
+perlDreamer | I wonder if you could do this with a metadata field that holds the URL to the image | 18:41 |
SquOnk | perlDreamer: Yes! That's it! | 18:41 |
+perlDreamer | I don't know if the metadata gets passed to the navigation though | 18:42 |
SquOnk | Let's check out the code. | 18:42 |
+perlDreamer | line 456 | 18:43 |
+perlDreamer | pageProperties = $page->get(); | 18:43 |
+perlDreamer | nope, that gets keywords, but no metadata | 18:43 |
SquOnk | perlDreamer: All right, sounds like a useful RFE, don't you think? | 18:44 |
+perlDreamer | it'll slow down navigations even more than they are | 18:44 |
SquOnk | perlDreamer: Good point. | 18:44 |
+perlDreamer | since HTML::Template scales with the amount of data you give it | 18:44 |
+perlDreamer | you could write a little macro that accepts an assetId, and a metadata field to pull from it | 18:45 |
+perlDreamer | or, you could try the asset report again, and see if it would work | 18:45 |
SquOnk | perlDreamer: I guess I'm leaning towards the two-leveled page layout idea I described before. | 18:46 |
* perlDreamer goes to the gym | 18:49 | |
-!- jimX11 [~jjm@n128-227-81-249.xlate.ufl.edu] has joined #webgui | 19:05 | |
-!- rizen [~rizen@71-87-113-102.dhcp.mdsn.wi.charter.com] has joined #webgui | 19:10 | |
-!- mode/#webgui [+o rizen] by ChanServ | 19:10 | |
-!- webguiquestions [ad2ed001@gateway/web/freenode/ip.173.46.208.1] has joined #webgui | 19:53 | |
* scrottie waves to webguiquestions | 19:55 | |
webguiquestions | Hello. | 19:55 |
webguiquestions | When you enter an incorrect user/password, what template is pulled up? | 19:55 |
webguiquestions | that's prompting for you to resupply username/password and gives the option to create a new account? | 19:55 |
webguiquestions | I managed to get rid of the "create new account" on the horizontal login template, but it doesn't get rid of it from the full one that comes up when I enter an inocrrect username and password. | 19:56 |
@scrottie | The forms are hard-coded into the auth module. The template is a style template specified in settings. | 19:56 |
webguiquestions | I created a duplicate of the template I think is doing that, and tried an edit, but I need to find where it's being pulled from to change the asset ID. | 19:57 |
+perlDreamer | forms are not hardcoded | 19:57 |
+perlDreamer | they're templated | 19:57 |
@scrottie | perlDreamer is hard-coded too. Don't listen to him. | 19:57 |
@frodwith | settings > authentication > login template | 19:58 |
@frodwith | I think | 19:58 |
+perlDreamer | ++frodwith | 19:58 |
@scrottie | nice. | 19:58 |
+perlDreamer | scrottie, I am sending a horde of nanobots to fix your little red wagon | 19:58 |
ckotil | and root/import/auth/webgui/login/ | 19:58 |
@scrottie | o/~ Oh, you can't MUD on my red VAXen, the CPUs pegged and the discs are thrashin'... o/~ | 19:59 |
+perlDreamer | also, webguiquestions, if you disable anonymous registration on your site, all the templates will stop showing that create a new account link | 19:59 |
@frodwith | perlDreamer, scrottie: if you two don't play nice, you'll have to go on time out. | 19:59 |
+perlDreamer | scrottie, at the speed they move, you have about 30 years to put your affairs in order | 19:59 |
@scrottie | maybe we need a safe word. | 19:59 |
+perlDreamer | then, you're Borg'ed | 19:59 |
webguiquestions | @perlDreamer: I remembered that, but there was something about the way it was set up to work with LDAP that I think it would interfere if I disabled it. | 19:59 |
webguiquestions | So my users in AD could auto-register without having to do anything. | 19:59 |
ckotil | what's the deal with WI legislators trying to get rid of R&E networking? http://arstechnica.com/tech-policy/news/2011/06/wisconsin-public-internet-fights-telecoms-attempts-to-kill-it-off.ars | 20:00 |
ckotil | I've been hearing a lot about it recently. | 20:01 |
@frodwith | what's R&E networking? | 20:01 |
@scrottie | haven't heard about it. is it something they want to kill so they can replace it with their own, essentially privatizing it? | 20:01 |
ckotil | I guess ther are two sides to it. http://www.wsta.info/pdf%20files/UW%20competition%20for%20broadband%20threatens%20local%20jobs%20and%20investment.pdf | 20:02 |
* scrottie will read that later, about to get pulled away | 20:02 | |
+perlDreamer | ckotil, sounds like the telco's are complaining that the government can provide better service at lower cost | 20:02 |
ckotil | but from what I know, yes scrottie, the private industry is trying to get the WI legislators to pass a law effectively shuting down the state run R&E networks | 20:03 |
ckotil | yup | 20:03 |
ckotil | frodwith: research and education | 20:03 |
@frodwith | That's downright heretical in the Church of Free (as in "encouraged to make obscene profits with protective government legislation", not as in "beer" or "freedom") Markets | 20:04 |
ckotil | indeed | 20:04 |
webguiquestions | Edited a copy of the default template, set it in settings so the default login template was my duplicate (edited) and it still prompts to "create a new account." Nutters. | 20:07 |
@frodwith | hmm. | 20:10 |
@frodwith | when I try to login here with a bad uname/pass, it doesn't prompt me to create an account | 20:10 |
webguiquestions | Andrea02 template. | 20:11 |
webguiquestions | If I enter an incorrect uname/pw combo, it takes me to "error", the account information you supplied is invalid...then there's a box to re-enter my uname/password and login, and under that a link to "create a new account." | 20:11 |
@frodwith | Andrea02? | 20:12 |
webguiquestions | Andreas02. | 20:13 |
+perlDreamer | from the AddOns and Plugins part of WebGUI? | 20:16 |
+perlDreamer | webgui.org? | 20:16 |
webguiquestions | yes, downloaded from webgui's bazaar. | 20:16 |
@frodwith | http://beta.webgui.org/demo1307985104_760/home | 20:19 |
@frodwith | that style? | 20:19 |
webguiquestions | @frodwith | 20:20 |
webguiquestions | @frodwith yes. | 20:20 |
@frodwith | so, I tried logging in with bad info, no linky for me | 20:21 |
webguiquestions | ...maybe changing the auth->ldap/login template... | 20:21 |
webguiquestions | Hmm. Not on the beta site, but on mine there's a "Create new account." bullet just under the login button. | 20:22 |
@frodwith | Bizzare. | 20:23 |
@frodwith | oh | 20:24 |
webguiquestions | Any idea what's pulling that template for the "error" at login? | 20:24 |
@frodwith | <tmpl_if anonymousRegistration.isAllowed> | 20:24 |
@frodwith | <li><a href="<tmpl_var createAccount.url>"><tmpl_var createAccount.label></a></li> | 20:24 |
@frodwith | </tmpl_if> | 20:24 |
@frodwith | you killed that? | 20:24 |
@frodwith | in your login template? | 20:24 |
webguiquestions | yes. | 20:25 |
@frodwith | well that what makes the link. Clear your cache, double-check you set the login template correctly? | 20:25 |
webguiquestions | settings->authentication->login template. | 20:25 |
@frodwith | (your webgui cache, i mean) | 20:25 |
webguiquestions | Yup, cleared webgui's cache and my local cache on the browser. | 20:25 |
webguiquestions | Unless it's doing something weird with the session. | 20:25 |
@frodwith | shouldn't be | 20:26 |
webguiquestions | Let me try another machine... | 20:26 |
webguiquestions | Nope, still there. | 20:27 |
webguiquestions | admin->settings-> | 20:27 |
webguiquestions | authentication | 20:27 |
webguiquestions | login template ->edit | 20:28 |
@frodwith | okay, so | 20:28 |
@frodwith | I enabled anonymous registration on the beta site above | 20:28 |
@frodwith | got the link | 20:28 |
@frodwith | edited the template, set it to use the edited one in settings | 20:29 |
@frodwith | and the link went away | 20:29 |
webguiquestions | http://pastebin.com/UXLMRmqZ | 20:30 |
webguiquestions | That's what comes up when I click "edit" for the login template | 20:31 |
webguiquestions | from settings | 20:32 |
@frodwith | Set it back to the other, save, come back, set it back to the right one, save, try again. I dunno what to tell you. | 20:32 |
+perlDreamer | webguiquestions, are you sure you're changing the LDAP set of templates, instead of the WebGUI set? | 20:34 |
+perlDreamer | each authentication methods has a set of templates | 20:34 |
webguiquestions | I changed it's template, but wondered if there's a separate template setting for it. I'll look under LDAP in settings. | 20:35 |
webguiquestions | Last template setting. That's what most likely does it. | 20:35 |
webguiquestions | testing now. | 20:35 |
webguiquestions | :-/ | 20:36 |
+perlDreamer | I'd like the settings (and other parts of WebGUI) better if they were modal | 20:36 |
+perlDreamer | and only show you what you're currently using | 20:36 |
webguiquestions | That did it. | 20:37 |
webguiquestions | I had altered both login templates, but only looked in the user settings for that template to change and it's apparently only tied to the webgui login. | 20:37 |
+perlDreamer | payment methods should be able to tell the cart whether or not billing info is needed | 20:43 |
+perlDreamer | that would allow completely anonymous checkout from WebGUI | 20:43 |
+perlDreamer | using PayPal, anyway | 20:43 |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Read error: Operation timed out] | 20:53 | |
CIA-68 | webgui: Colin Kuskie master * r328826e / (2 files in 2 dirs): Create a fake item to send to PayPal for shipping, so it can be covered by shop credit. Fixes bug #12158. - http://bit.ly/mf1AvE | 21:04 |
CIA-68 | webgui: Colin Kuskie webgui-7.9 * r6165957 / (2 files in 2 dirs): Create a fake item to send to PayPal for shipping, so it can be covered by shop credit. Fixes bug #12158. - http://bit.ly/klnRtz | 21:05 |
-!- webguiquestions [ad2ed001@gateway/web/freenode/ip.173.46.208.1] has quit [] | 21:18 | |
CIA-68 | webgui: Paul Driver master * r1ff1ffe / (5 files in 5 dirs): rfe #12159: Asset Manager sort preferences - http://bit.ly/krlRh2 | 21:26 |
@preaction | sometimes i forget that the config file is user-editable, and its values must be checked for sanity | 22:17 |
CIA-68 | webgui: Doug Bell WebGUI8 * r6dfeb6e / lib/WebGUI/Crud.pm : | 22:49 |
CIA-68 | webgui: add _new flag to Crud objects | 22:49 |
CIA-68 | webgui: This flag allows you to know when an object has been newly-created, so you | 22:49 |
CIA-68 | webgui: can check in the BUILD sub and perform appropriate actions. - http://bit.ly/k3LDiN | 22:49 |
CIA-68 | webgui: Colin Kuskie master * r8b3877c / (4 files in 4 dirs): Update the default CS notification template. - http://bit.ly/jiNmxZ | 23:46 |
+perlDreamer | frodwith, why store the Asset Manager sort preferences in the user profile, instead of in a scratch variable? | 23:47 |
@frodwith | cause then it'd go away next time they logged in | 23:47 |
--- Day changed Tue Jun 14 2011 | ||
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has quit [Ping timeout: 246 seconds] | 00:12 | |
-!- daviddelikat [~user@adsl-76-204-91-40.dsl.mdsnwi.sbcglobal.net] has joined #webgui | 00:17 | |
-!- carogray [~Caroline@32.178.245.14] has joined #webgui | 00:27 | |
SquOnk | Greetings, again. | 00:40 |
@preaction | can anyone come up with a solution for a problem for me? if you delete an asset after you commit but before the commit workflow is completed (due to approval maybe), the tag gets deleted and the workflow can never complete | 00:42 |
@preaction | but stopping the workflow in the middle is dangerous, apparently | 00:43 |
@preaction | should we just not clean up tags as assets are deleted, and instead clean them in a scheduled task? | 00:43 |
@scrottie | why doesn't the workflow activity handle this gracefully? it doesn't realize that the asset went away? | 00:44 |
@scrottie | there's two ways you can go, in my mind... resource locking and general fault tolerance | 00:44 |
SquOnk | preaction: You shouldn't allow deletions of things that are yet to be commited. At least if you want ACIDity in your transactions. | 00:44 |
@preaction | scrottie: the workflow activity never gets started, because the object attached to it cannot be instanced | 00:45 |
@scrottie | oh, hmm. | 00:45 |
@preaction | SquOnk: it's not a DB-level thing, it's application-level | 00:45 |
SquOnk | preaction: Then, either prevent it from being deleted, or abort the commit altogether. | 00:45 |
SquOnk | preaction: I know it's not in the DB, but you are asking for similar semantics. | 00:45 |
@preaction | right, but if we abort the commit workflow, we miss out on some of the activities that may have been run | 00:46 |
SquOnk | preaction: Adopt an "optimistic transaction" posture for commits. The first step of a commit is to make sure it can instantiate all of the needed objects. If it can't, it should be aborted. | 00:46 |
@preaction | not sure HOW they could be run with no assets, but that was the argument that stopped me from fixing this years ago | 00:47 |
@scrottie | it seems like any time a workflow is set to be run on an asset that can't be instanced, there's some kind of exceptional circumstance that the workflow might want to deal with. maybe workflows need a well_you_were_going_to_run_but_your_asset_is_bjorked_so_dont_run_and_heres_the_ID_of_the_bjorked_asset() method | 00:47 |
@preaction | the first step of a commit process that requires approval is to get approval | 00:47 |
SquOnk | preaction: The alternative is to have assets tagged with "it's involved in a yet-to-be-performed commit" (a vulgar lock) preventing deletion. | 00:47 |
@preaction | which punches the user: you must approve this before you can delete it. wat? | 00:48 |
@scrottie | then you'd have to clean up locks when workflows got blasted | 00:48 |
SquOnk | scrottie: Exactly. | 00:48 |
SquOnk | Locks are Bad and Evil. | 00:48 |
@scrottie | no.. | 00:48 |
@scrottie | locks have their place. | 00:48 |
SquOnk | scrottie: Of course. | 00:48 |
@preaction | i'm leaning towards "trash the workflow and to hell with the consequences" | 00:51 |
@preaction | but "clear the tag and have it deleted after its workflows are all done" is valid as well | 00:51 |
@preaction | but when are all its workflows done? do we schedule a task to clean up? or do we have an event and add a listener? | 00:51 |
SquOnk | I tend to think that workflows should be atomic (all or nothing). | 00:51 |
SquOnk | And that they should start with a consistent system and leave a consistent system. | 00:52 |
@preaction | you can have branching and stopping inside the workflow, or is that not what you mean by atomic? | 00:52 |
SquOnk | By atomic I mean a feeling of BEGIN WORK -- COMMIT/ROLLBACK wrapped around the whole thing. | 00:53 |
@preaction | even if the workflow takes days or weeks? | 00:53 |
SquOnk | Either it does everything it was supposed to do, or it does nothing. | 00:53 |
SquOnk | preaction: If the workflow sports an atomicity and integrity guarantee, yes. | 00:53 |
@preaction | i think 8 fixes this particular instance: there's a seperate "approval" and "commit" steps, so it's not bunched into a single workflow that can have problems | 00:54 |
SquOnk | preaction: It's actually a sequence of two workflows, the second one depending on the first. | 00:54 |
@scrottie | starting with a consistent system and leaving a consistent system is at odds with queue'ing work for later run. | 00:54 |
@preaction | then that would require that workflow operands be locked, or workflows to only operate on revisions of assets | 00:54 |
@scrottie | queuing. | 00:55 |
SquOnk | preaction: Yep: use locks (pessimistic concurrency) or "software transactional data" (optimistic concurrency). | 00:55 |
SquOnk | In the first style, you check as you go with all the damnation that locking purports; the second style does everything on "scratch data", and once it has everything ready, it checks to see if the state of the system is the same as it was when it started, and commits or rollbacks. | 00:56 |
@preaction | neither of which are optimal solutions: locks punch the user, and in the case of assets, there are operations that break transactional consistency (clipboard and trash) | 00:56 |
SquOnk | The second style is quite efficient, because you only have to keep track of whatever is it you're changing in your workflow. | 00:56 |
@scrottie | sending copies of asset data down the pike can backfire just as easily. | 00:57 |
@scrottie | there's no automatic correct answer here. | 00:57 |
SquOnk | preaction: I don't know what you mean by "optimal". I'm focusing on making workflos atomic and isolated: if they can run to completion, they do; if they can't, they don't hang but abort without compromising the system's integrity. | 00:57 |
@scrottie | sometimes people want to be working on a reference to the data; sometimes they want their own copy. in the case of workflows, it isn't clear that it is always one or the other. | 00:57 |
@scrottie | quite often, one workflow will do one modification and then another another. | 00:58 |
@scrottie | if they each had a copy, everything would get overwritten with the original copy as modified by the last operation's transformations on it and steps would be lost. | 00:58 |
SquOnk | scrottie: As it happens with VCS... | 00:59 |
@scrottie | let's replace Spectre with a MapReduce system. | 00:59 |
SquOnk | scrottie: Sadly, you can't guarantee that sub-computations don't interfere with one another, so MapReduce is out of the question. | 01:00 |
SquOnk | If each workflow stated its domain (as in "what fields of what stuff") it's going to fiddle with, you could create operators that guarantee there's no overlapping of the read/write operations. | 01:01 |
SquOnk | Stating the domain of a Workflow would be its programmer's responsibility, though. | 01:02 |
SquOnk | So, you could prevent workflows from being started if others already declare they'll work on the same domain. | 01:03 |
SquOnk | ...and I'll stop now. | 01:05 |
SquOnk | perlDreamer: Still no joy with the image-based menu :( | 01:07 |
SquOnk | Navigations only pick up container assets, right? | 01:08 |
+perlDreamer | no | 01:08 |
+perlDreamer | they only pickup the ones that are set to show in navigations, unless you override that | 01:08 |
SquOnk | perlDreamer: Look at http://nuevo.globovision.com, below the poll on the right column. | 01:16 |
SquOnk | perlDreamer: The point is having the picture link to the CS (Weblog) for each author. It's currently hardcoded. | 01:17 |
+perlDreamer | the list of analysts? | 01:19 |
SquOnk | perlDreamer: Yep | 01:19 |
+perlDreamer | I don't see a way to do this, without doing something evil like the AssetReport, or hardcoding | 01:19 |
+perlDreamer | Navigations don't get metadata | 01:19 |
SquOnk | perlDreamer: My point exactly. | 01:19 |
+perlDreamer | CS'es don't have storage Urls | 01:19 |
@preaction | but Navigation has to be fast | 01:20 |
@preaction | it's already way too slow | 01:20 |
+perlDreamer | right, which is why they don't get metadata | 01:20 |
SquOnk | perlDreamer: So, how could we improve WebGUI in order to be able to? | 01:21 |
SquOnk | perlDreamer: Add a | 01:21 |
SquOnk | 'menu image' to Page Layouts? | 01:21 |
SquOnk | (I'm thinking out loud here) | 01:21 |
SquOnk | Or a 'menu image' to everything, just in case? | 01:22 |
+perlDreamer | images are not accessible to people who are visually impaired | 01:22 |
+perlDreamer | you want something like metadata, without bogging down the navigation | 01:22 |
SquOnk | perlDreamer: Fair enough. | 01:22 |
+perlDreamer | or, a macro that allows you to extract a metadata field from a given asset | 01:23 |
+perlDreamer | that coupled with StorageUrl macro, should do the job | 01:24 |
+perlDreamer | sometimes, it's better to extend WebGUI that way, rather than adding more code bloat to assets to handle small niche cases like this | 01:24 |
@preaction | the AssetProperty macro should handle metadata | 01:25 |
-!- carogray [~Caroline@32.178.245.14] has quit [Quit: Leaving.] | 01:25 | |
SquOnk | preaction: Aha | 01:25 |
@preaction | if it doesn't, that's where it should be added | 01:25 |
SquOnk | I don't have AssetProperty in 7.9, that's new, right? | 01:25 |
+perlDreamer | right, but you can backport it, it's just a macro that lets you view the contents of any asset in WebGUI, regardless of permissions | 01:26 |
SquOnk | But, AssetProperty it's only doing ->get() | 01:26 |
+perlDreamer | right, and like preaction said, if it doesn't do get metadata, it should be extended to do that | 01:27 |
+perlDreamer | which is an another awesome opportunity to contribute back to the core! | 01:27 |
SquOnk | perlDreamer: Do I need to file and RFE for that? | 01:27 |
@preaction | if you want to be formal about it, but if you give me the URL here I can approve it right away | 01:28 |
+perlDreamer | you'd have to ask preaction that question, I would assume so | 01:28 |
SquOnk | preaction: http://www.webgui.org/rfe/request-for-enhancement/12163 | 01:32 |
-!- jimX11 [~jjm@n128-227-81-249.xlate.ufl.edu] has quit [Quit: Leaving] | 01:34 | |
CIA-68 | webgui: Doug Bell master * rf29f3e3 / t/AssetAspect/RssFeed.t : XML::FeedPP::RSS returns "" and not undef - http://bit.ly/mBRGOw | 01:54 |
CIA-68 | webgui: Doug Bell master * r0577933 / t/Asset/MapPoint.t : 2 letters is below the minimum word length - http://bit.ly/jVMhaT | 01:54 |
CIA-68 | webgui: Doug Bell master * r3809817 / t/Asset/MapPoint.t : Ave trips mysql's stopwords? - http://bit.ly/lA4F4k | 01:54 |
CIA-68 | webgui: Doug Bell master * r983e73a / t/Asset/Snippet.t : add TemplateToolkit before testing it - http://bit.ly/khuWmJ | 01:54 |
CIA-68 | webgui: Doug Bell master * r4557e20 / lib/WebGUI/Group.pm : handle reset problems more gracefully - http://bit.ly/iyslZ1 | 01:54 |
CIA-68 | webgui: Doug Bell webgui-7.9 * r1293731 / t/AssetAspect/RssFeed.t : XML::FeedPP::RSS returns "" and not undef - http://bit.ly/lzfvSs | 01:59 |
CIA-68 | webgui: Doug Bell webgui-7.9 * r9bd6084 / t/Asset/Snippet.t : | 01:59 |
CIA-68 | webgui: add TemplateToolkit before testing it | 01:59 |
CIA-68 | webgui: Signed-off-by: Doug Bell <doug@plainblack.com> - http://bit.ly/j08seL | 01:59 |
CIA-68 | webgui: Doug Bell webgui-7.9 * ra67c6a0 / lib/WebGUI/Group.pm : handle reset problems more gracefully - http://bit.ly/kvAX7p | 01:59 |
CIA-68 | webgui: Colin Kuskie master * r8b13c38 / lib/WebGUI/i18n/English/Asset_Thingy.pm : Add missing i18n for Thingy RFE for unique fields. - http://bit.ly/kz3gz4 | 02:05 |
+perlDreamer | yow, massive cataclysmic badness | 02:09 |
Haarg | ? | 02:10 |
-!- SquOnk [~emhn@186.93.207.12] has quit [Quit: Yippie kay-ai-yay, fudder muckers!] | 02:10 | |
+perlDreamer | there were some conflicting merges in Thingy | 02:12 |
+perlDreamer | it's only massive cataclysmic because it's going to take a while to clean up | 02:12 |
-!- rizen [~rizen@71-87-113-102.dhcp.mdsn.wi.charter.com] has quit [Quit: rizen] | 02:12 | |
-!- sbaur [~Adium@130.157.145.37] has quit [Quit: Leaving.] | 02:13 | |
-!- Radix-wrk [quasselcor@203.161.71.161.static.amnet.net.au] has quit [Ping timeout: 260 seconds] | 02:23 | |
-!- Radix-wrk [quasselcor@203.161.71.161.static.amnet.net.au] has joined #webgui | 02:24 | |
-!- mode/#webgui [+v Radix-wrk] by ChanServ | 02:24 | |
-!- Radix_ [quasselcor@203.161.71.161.static.amnet.net.au] has joined #webgui | 02:47 | |
-!- mode/#webgui [+v Radix_] by ChanServ | 02:47 | |
-!- Radix-wrk [quasselcor@203.161.71.161.static.amnet.net.au] has quit [Read error: Connection reset by peer] | 02:47 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 02:53 | |
-!- nelsin [~nelson_br@host-1-233.b4.cvc.com.py] has joined #webgui | 03:46 | |
nelsin | how can i install webgui in squeeze? | 03:50 |
@preaction | nelsin: did you try the instructions here? http://www.webgui.org/wiki/installing-webgui-in-debian | 03:51 |
@preaction | in other news, i just ran across a 15 gigabyte httpd access log file | 03:52 |
@preaction | it has completely filled the hard drive | 03:52 |
+perlDreamer | no rotation? | 03:56 |
nelsin | thk, i'll try now.. | 03:56 |
@preaction | that's what i'm assuming, but i don't know if i'm allowed to rotate the file and remove what's already there. i can't do anything until some of that file is deleted | 03:59 |
+perlDreamer | if you can't do anything until it's gone, then it doesn't sound like you have any choice | 04:03 |
CIA-68 | webgui: Colin Kuskie master * r8978abc / lib/WebGUI/Asset/Wobject/Thingy.pm : Restore the patch to fix creating tables unwisely in the Thingy. Fixes numerous bugs due to a bad merge. - http://bit.ly/juQMwu | 04:04 |
+perlDreamer | preaction, t/AssetAspect/RssFeed.t is failing due to this commit, http://bit.ly/mBRGOw | 04:17 |
+perlDreamer | is it missing another piece? | 04:17 |
+perlDreamer | maybe different versions of XML::FeedPP? | 04:18 |
@preaction | maybe | 04:19 |
@preaction | can we just check if it exists and is non-true instead? | 04:19 |
+perlDreamer | yes... ? | 04:19 |
CIA-68 | webgui: Colin Kuskie master * r9154db5 / t/AssetAspect/RssFeed.t : Just test for falseness, not what kind of falseness. - http://bit.ly/kmzVfZ | 04:21 |
+perlDreamer | now, some test is leaking an ldaplink | 04:29 |
+perlDreamer | that shouldn't be too hard to track down | 04:29 |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui | 04:37 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Client Quit] | 04:41 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui | 04:42 | |
CIA-68 | webgui: Colin Kuskie master * r638b2a1 / (t/Asset/Asset.t t/Asset/AssetMetaData.t): Fix tests that were leaking assets. - http://bit.ly/j43MVU | 04:53 |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Quit: Leaving.] | 05:38 | |
CIA-68 | webgui: Colin Kuskie master * r81ae2b4 / t/lib/WebGUI/Test.pm : Fix cleaning up LDAP links in tests. - http://bit.ly/moPjVX | 05:51 |
CIA-68 | webgui: Colin Kuskie webgui-7.9 * r081375f / t/AssetAspect/RssFeed.t : Just test for falseness, not what kind of falseness. - http://bit.ly/jslYuD | 05:52 |
CIA-68 | webgui: Colin Kuskie webgui-7.9 * raa95689 / t/lib/WebGUI/Test.pm : Fix cleaning up LDAP links in tests. - http://bit.ly/mOsS0w | 05:52 |
-!- nelsin [~nelson_br@host-1-233.b4.cvc.com.py] has left #webgui [] | 06:08 | |
CIA-68 | webgui: Colin Kuskie master * rdaa14c5 / docs/create.sql : Ready for 7.10.18 release. - http://bit.ly/mNAdGl | 06:12 |
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has quit [Quit: Leaving.] | 06:31 | |
CIA-68 | webgui: Colin Kuskie master * ra2425bd / (4 files in 4 dirs): Ready for 7.10.19 development. - http://bit.ly/iuKDHJ | 06:31 |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui | 08:45 | |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui | 10:51 | |
-!- mode/#webgui [+v BartJol] by ChanServ | 10:51 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Ping timeout: 260 seconds] | 14:38 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 14:45 | |
-!- lem_ [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 14:57 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Ping timeout: 244 seconds] | 14:57 | |
-!- vayde [~vayde@67-4-235-226.mpls.qwest.net] has joined #webgui | 15:12 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 16:11 | |
SDuensin | Hello, whatever day it is. | 16:35 |
-!- lem_ [~lem@weston-69.65.87.205.myacc.net] has quit [Quit: Ex-Chat] | 17:00 | |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has quit [Quit: Leaving.] | 17:55 | |
-!- sbaur [~Adium@130.157.145.37] has joined #webgui | 18:02 | |
-!- sbaur [~Adium@130.157.145.37] has quit [Quit: Leaving.] | 18:10 | |
-!- sbaur [~Adium@130.157.145.37] has joined #webgui | 18:10 | |
-!- fokat [~lem@66.0.48.131] has joined #webgui | 19:01 | |
-!- ckotil [~ckotil@snare.grnoc.iu.edu] has quit [Ping timeout: 244 seconds] | 20:19 | |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Read error: Operation timed out] | 20:46 | |
CIA-68 | webgui: Chris Hanson master * r995eb34 / (3 files in 3 dirs): Added ability to pass caller assetId to RenderThingMacro - http://bit.ly/jiMCL9 | 22:12 |
-!- mducharme-work [~nothing@206.188.121.4] has joined #webgui | 22:27 | |
-!- mducharme-work1 [~nothing@206.188.121.4] has quit [Read error: Connection reset by peer] | 22:28 | |
--- Day changed Wed Jun 15 2011 | ||
-!- xootom [~xootom@cpc3-shef10-2-0-cust339.barn.cable.virginmedia.com] has joined #webgui | 00:46 | |
@preaction | is :: supposed to include IPv4 addresses? i've got an sshd that binds on :: and then can't bind on 0.0.0.0 (because it's already bound). removing one or the other makes it work | 01:05 |
-!- xootom [~xootom@cpc3-shef10-2-0-cust339.barn.cable.virginmedia.com] has quit [Quit: ~ Trillian Astra - www.trillian.im ~] | 01:09 | |
-!- fokat [~lem@66.0.48.131] has quit [Quit: Ex-Chat] | 01:57 | |
-!- sbaur [~Adium@130.157.145.37] has quit [Quit: Leaving.] | 02:29 | |
-!- jimX11 [~jjm@n128-227-81-249.xlate.ufl.edu] has joined #webgui | 02:48 | |
@scrottie | eval { } around a macro aborting. $@ not set. $SIG{__DIE__} hooked to Carp::confess gives nothing. turns out an XS module was just throwing away stack frames. | 04:22 |
* scrottie sighs | 04:22 | |
@scrottie | er, in WebGUI::Macro::_processMacros. | 04:22 |
@scrottie | best part was in trying to figure why the macro wasn't working, I created a .t. it coredumped when ran. | 04:23 |
@scrottie | I'm pretty sure that's a failure. | 04:23 |
@scrottie | tl;dr, I have some spare hatred if anyone is running low on it. | 04:24 |
-!- daviddelikat1 [~user@adsl-75-42-233-158.dsl.mdsnwi.sbcglobal.net] has joined #webgui | 04:27 | |
-!- Radix-wrk [quasselcor@203.161.71.161.static.amnet.net.au] has joined #webgui | 04:27 | |
-!- mode/#webgui [+v Radix-wrk] by ChanServ | 04:27 | |
-!- Radix_ [quasselcor@203.161.71.161.static.amnet.net.au] has quit [Read error: Connection reset by peer] | 04:28 | |
-!- daviddelikat [~user@adsl-76-204-91-40.dsl.mdsnwi.sbcglobal.net] has quit [Ping timeout: 260 seconds] | 04:28 | |
-!- fokat [~lem@weston-69.65.88.96.myacc.net] has joined #webgui | 05:34 | |
-!- lem_ [~lem@weston-69.65.88.96.myacc.net] has joined #webgui | 06:05 | |
-!- fokat [~lem@weston-69.65.88.96.myacc.net] has quit [Ping timeout: 258 seconds] | 06:05 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Quit: Leaving.] | 06:22 | |
-!- daviddelikat1 [~user@adsl-75-42-233-158.dsl.mdsnwi.sbcglobal.net] has left #webgui [] | 06:31 | |
-!- CIA-68 [cia@cia.atheme.org] has quit [Ping timeout: 246 seconds] | 07:06 | |
-!- CIA-82 [~CIA@cia.atheme.org] has joined #webgui | 07:13 | |
-!- lem_ [~lem@weston-69.65.88.96.myacc.net] has quit [Remote host closed the connection] | 07:26 | |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui | 10:06 | |
-!- mode/#webgui [+v BartJol] by ChanServ | 10:06 | |
-!- ryuu_ro [~rory@D57D69B6.static.ziggozakelijk.nl] has joined #webgui | 10:26 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 12:09 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Quit: Leaving.] | 12:17 | |
-!- waxhead [~pete@ppp121-45-217-58.lns20.cbr1.internode.on.net] has joined #webgui | 13:15 | |
-!- ryuu_ro [~rory@D57D69B6.static.ziggozakelijk.nl] has quit [Ping timeout: 255 seconds] | 13:40 | |
-!- ryuu_ro [~rory@D57D69B6.static.ziggozakelijk.nl] has joined #webgui | 13:47 | |
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has joined #webgui | 15:05 | |
-!- vayde [~vayde@67-4-235-226.mpls.qwest.net] has quit [Read error: Connection reset by peer] | 16:20 | |
-!- vayde [~vayde@67-4-235-226.mpls.qwest.net] has joined #webgui | 16:24 | |
SDuensin | Clock skew detected. Your Wednesday may not be complete. | 16:41 |
-!- SquOnk [~emhn@186.93.207.12] has joined #webgui | 17:05 | |
SquOnk | Greetings. | 17:05 |
+BartJol | howdy | 17:22 |
-!- fokat [~lem@66.0.48.131] has joined #webgui | 17:27 | |
-!- ryuu_ro [~rory@D57D69B6.static.ziggozakelijk.nl] has quit [Quit: ryuu_ro] | 17:32 | |
-!- fokat [~lem@66.0.48.131] has quit [Ping timeout: 258 seconds] | 17:36 | |
-!- sbaur [~Adium@130.157.145.37] has joined #webgui | 18:00 | |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui | 18:14 | |
-!- ryuu_ro [~rory@53562A76.cm-6-7a.dynamic.ziggo.nl] has joined #webgui | 18:29 | |
-!- ckotil [~ckotil@snare.grnoc.iu.edu] has joined #webgui | 18:47 | |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has quit [Quit: Leaving.] | 19:01 | |
-!- ryuu_ro [~rory@53562A76.cm-6-7a.dynamic.ziggo.nl] has quit [Quit: off] | 19:01 | |
-!- mducharme-work1 [~nothing@206.188.121.4] has joined #webgui | 19:34 | |
-!- mducharme-work [~nothing@206.188.121.4] has quit [Ping timeout: 258 seconds] | 19:35 | |
-!- waxhead [~pete@ppp121-45-217-58.lns20.cbr1.internode.on.net] has quit [Ping timeout: 240 seconds] | 20:18 | |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Ping timeout: 276 seconds] | 20:19 | |
-!- waxhead [~pete@ppp121-45-193-185.lns20.cbr1.internode.on.net] has joined #webgui | 20:27 | |
-!- fokat [~lem@66.0.48.131] has joined #webgui | 21:16 | |
-!- SquOnk [~emhn@186.93.207.12] has quit [Ping timeout: 246 seconds] | 22:23 | |
-!- CIA-82 [~CIA@cia.atheme.org] has quit [] | 23:34 | |
-!- CIA-82 [~CIA@cia.atheme.org] has joined #webgui | 23:51 | |
--- Day changed Thu Jun 16 2011 | ||
-!- nelsin [~nelson_br@host-1-233.b4.cvc.com.py] has joined #webgui | 02:06 | |
-!- nelsin [~nelson_br@host-1-233.b4.cvc.com.py] has quit [Ping timeout: 260 seconds] | 02:11 | |
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has quit [Quit: Leaving.] | 02:11 | |
CIA-82 | webgui: Graham Knop template_proxy * r0a09ea4 / (4 files in 4 dirs): add automatic proxy system for passing objects to Template::Toolkit (+25 more commits...) - https://github.com/haarg/webgui/commit/0a09ea4895587086bfdc01fedb8a5dc2cd3d3ae7 | 02:19 |
@preaction | nice | 02:20 |
-!- carogray [~Caroline@108.110.61.212] has joined #webgui | 02:29 | |
-!- sbaur [~Adium@130.157.145.37] has quit [Quit: Leaving.] | 02:39 | |
-!- fokat [~lem@66.0.48.131] has quit [Quit: Ex-Chat] | 02:45 | |
-!- Netsplit *.net <-> *.split quits: vayde, carogray | 02:53 | |
-!- carogray [~Caroline@72-58-94-171.pools.spcsdns.net] has joined #webgui | 02:55 | |
-!- Netsplit over, joins: vayde | 03:00 | |
-!- carogray1 [~Caroline@70-4-160-180.pools.spcsdns.net] has joined #webgui | 03:11 | |
-!- carogray [~Caroline@72-58-94-171.pools.spcsdns.net] has quit [Ping timeout: 244 seconds] | 03:12 | |
-!- nelsin [~nelson_br@host-1-233.b4.cvc.com.py] has joined #webgui | 03:12 | |
-!- daviddelikat [~user@adsl-75-42-233-158.dsl.mdsnwi.sbcglobal.net] has joined #webgui | 03:32 | |
-!- carogray1 [~Caroline@70-4-160-180.pools.spcsdns.net] has quit [Ping timeout: 255 seconds] | 03:42 | |
-!- carogray [~Caroline@72-58-82-138.pools.spcsdns.net] has joined #webgui | 03:45 | |
-!- frodwith [~frodwith@helios.tapodi.net] has quit [Ping timeout: 240 seconds] | 03:46 | |
-!- frodwith [~frodwith@helios.tapodi.net] has joined #webgui | 03:48 | |
-!- mode/#webgui [+o frodwith] by ChanServ | 03:48 | |
-!- carogray [~Caroline@72-58-82-138.pools.spcsdns.net] has quit [Ping timeout: 276 seconds] | 03:54 | |
nelsin | Hola, alguien habla espa�ol para darme una ayuda? | 04:09 |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 04:19 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 04:39 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Quit: Leaving.] | 05:37 | |
-!- nelsin [~nelson_br@host-1-233.b4.cvc.com.py] has left #webgui [] | 05:40 | |
Haarg | preaction, http://gist.github.com/1028587 yes/no? | 05:59 |
Haarg | bleh. mysql is so terrible. | 06:05 |
@preaction | Haarg: yes. eventually that will be the default | 06:20 |
Haarg | ok, i'll just use it locally. the output i care about is getting lost in the sea of derp warnings. | 06:35 |
@preaction | you forgot to herp, that's probably why | 06:35 |
Haarg | tests, so across lots of processes | 06:36 |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Ping timeout: 252 seconds] | 06:39 | |
CIA-82 | webgui: Graham Knop improved_asset_creation * r169845a / lib/WebGUI/Asset/Wobject/InOutBoard.pm : remove unneeded warning - http://bit.ly/lezsNu | 06:55 |
CIA-82 | webgui: Graham Knop improved_asset_creation * r796b38f / lib/WebGUI/AssetVersioning.pm : use sql to copy asset metadata - http://bit.ly/lToMkx | 06:55 |
CIA-82 | webgui: Graham Knop improved_asset_creation * ra1033b7 / (lib/WebGUI/AssetLineage.pm lib/WebGUI/AssetVersioning.pm): | 06:55 |
CIA-82 | webgui: improve asset creation process | 06:55 |
CIA-82 | webgui: The old process would set every property when creating a new revision. | 06:55 |
CIA-82 | webgui: This would run all the setters/triggers, which isn't desired. This | 06:55 |
CIA-82 | webgui: changes it to create the new revision in memory with the previous | 06:55 |
CIA-82 | webgui: values, then update it with the new values. This will cause the | 06:55 |
CIA-82 | webgui: triggers to only be called when new values are provided. - http://bit.ly/mdbWFy | 06:55 |
Haarg | preaction, this ^ causes a few test failures, but should be more correct behavior. i think it is correct itself, and the things it breaks should be changed. | 06:58 |
Haarg | i also need to ask perlDreamer about all the places around is used instead of triggers. hopefully some of those things can be improved. | 06:58 |
@preaction | Haarg: perlDreamer is out until next Wednesday, so hang on to that one | 08:11 |
CIA-82 | webgui: Graham Knop WebGUI8 * r841b1f6 / (docs/previousVersion.sql sbin/preload.perl): remove merge remnants - http://bit.ly/iJnjKr | 08:37 |
-!- frodwith [~frodwith@helios.tapodi.net] has quit [Ping timeout: 240 seconds] | 08:59 | |
-!- scrottie [~scott@li25-98.members.linode.com] has quit [Ping timeout: 240 seconds] | 08:59 | |
-!- frodwith [~frodwith@helios.tapodi.net] has joined #webgui | 09:07 | |
-!- mode/#webgui [+o frodwith] by ChanServ | 09:07 | |
CIA-82 | webgui: Graham Knop cpan-dist * r6f63bde / todo-cpan : add todo (+13 more commits...) - http://bit.ly/llGowX | 09:30 |
-!- hlb [~hlb@114-32-222-155.HINET-IP.hinet.net] has joined #webgui | 09:40 | |
-!- hlb [~hlb@114-32-222-155.HINET-IP.hinet.net] has left #webgui [] | 09:41 | |
CIA-82 | webgui: Graham Knop WebGUI8 * rb177bb5 / (2 files in 2 dirs): convert changeIobStatus.pl to module - http://bit.ly/kD2q55 | 09:57 |
-!- scrottie [~scott@li25-98.members.linode.com] has joined #webgui | 10:55 | |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui | 10:55 | |
-!- mode/#webgui [+v BartJol] by ChanServ | 10:55 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Read error: Connection reset by peer] | 11:23 | |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui | 11:36 | |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Client Quit] | 11:38 | |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui | 11:39 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 12:03 | |
-!- ryuu_ro [~rory@D57D69B6.static.ziggozakelijk.nl] has joined #webgui | 12:11 | |
-!- andyiomoon1 [~andyiomoo@vpn246-9.cc.swin.edu.au] has joined #webgui | 14:02 | |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Ping timeout: 250 seconds] | 14:04 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Read error: Connection reset by peer] | 15:35 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 15:54 | |
-!- andyiomoon1 [~andyiomoo@vpn246-9.cc.swin.edu.au] has quit [Quit: Leaving.] | 16:03 | |
SDuensin | "Hey! Send Lawyers, Guns, and Money! The sh*t has hit the fan!" | 16:46 |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui | 17:05 | |
-!- kaare_ [~kaare@91.100.9.186] has joined #webgui | 17:16 | |
-!- ryuu_ro [~rory@D57D69B6.static.ziggozakelijk.nl] has quit [Quit: off] | 17:32 | |
-!- sbaur [~Adium@130.157.145.37] has joined #webgui | 17:38 | |
-!- daviddelikat1 [~user@adsl-75-42-233-158.dsl.mdsnwi.sbcglobal.net] has joined #webgui | 19:19 | |
-!- daviddelikat [~user@adsl-75-42-233-158.dsl.mdsnwi.sbcglobal.net] has quit [Ping timeout: 240 seconds] | 19:20 | |
-!- kaare_ [~kaare@91.100.9.186] has quit [Ping timeout: 258 seconds] | 19:46 | |
-!- jimX11 [~jjm@n128-227-81-249.xlate.ufl.edu] has quit [Remote host closed the connection] | 20:09 | |
-!- daviddelikat [~user@adsl-75-42-233-158.dsl.mdsnwi.sbcglobal.net] has joined #webgui | 21:42 | |
-!- daviddelikat1 [~user@adsl-75-42-233-158.dsl.mdsnwi.sbcglobal.net] has quit [Ping timeout: 252 seconds] | 21:44 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Read error: Connection reset by peer] | 22:51 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui | 22:52 | |
--- Day changed Fri Jun 17 2011 | ||
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui | 00:39 | |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Client Quit] | 00:39 | |
-!- vayde [~vayde@67-4-235-226.mpls.qwest.net] has quit [Remote host closed the connection] | 02:01 | |
-!- vayde [~vayde@67-4-235-226.mpls.qwest.net] has joined #webgui | 02:03 | |
-!- sbaur [~Adium@130.157.145.37] has quit [Quit: Leaving.] | 02:04 | |
CIA-82 | webgui: Doug Bell WebGUI8 * r1d23bcf / (4 files in 4 dirs): | 02:06 |
CIA-82 | webgui: Merge pull request #13 from haarg/template_proxy | 02:06 |
CIA-82 | webgui: Template proxy to prevent modifying properties inside templates - http://bit.ly/iVoBfa | 02:06 |
CIA-82 | webgui: Chris Hanson master * r8a6ba94 / (2 files in 2 dirs): Added POD and test for RenderThingData macro update - http://bit.ly/iKu2dE | 02:09 |
-!- jimX11 [~jjm@n128-227-81-249.xlate.ufl.edu] has joined #webgui | 02:12 | |
-!- gugod [~gugod@114-32-222-155.HINET-IP.hinet.net] has quit [Quit: leaving] | 04:31 | |
-!- mducharme-work [~nothing@206.188.121.4] has joined #webgui | 04:40 | |
-!- mducharme-work1 [~nothing@206.188.121.4] has quit [Ping timeout: 258 seconds] | 04:43 | |
-!- mducharme-work1 [~nothing@206.188.121.4] has joined #webgui | 04:58 | |
-!- mducharme-work [~nothing@206.188.121.4] has quit [Ping timeout: 258 seconds] | 05:00 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 05:08 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Read error: Connection reset by peer] | 05:21 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 05:21 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Quit: Leaving.] | 05:40 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Ping timeout: 250 seconds] | 06:32 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 06:47 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Ping timeout: 246 seconds] | 07:21 | |
-!- gugod [~gugod@114-32-222-155.HINET-IP.hinet.net] has joined #webgui | 09:59 | |
-!- ryuu_ro [~rory@D57D69B6.static.ziggozakelijk.nl] has joined #webgui | 10:07 | |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui | 10:50 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 13:29 | |
-!- xootom [~xootom@cpc3-shef10-2-0-cust339.barn.cable.virginmedia.com] has joined #webgui | 15:47 | |
xootom | hi all, got a question about using thingy to record data, whether it'll work for this application | 16:09 |
xootom | need to build a site to record energy usage. so a user will have 1+ properties, each has attributes like number of bedrooms. against each property they can record their electricity meter reading on a regular basis. | 16:10 |
xootom | if i set this up as thingies, would it work, but users mustn't see each others' data... does that cause a problem | 16:11 |
jimX11 | Can I get params via $self->session->form->param('foo'), but can I set params? | 17:47 |
-!- xootom [~xootom@cpc3-shef10-2-0-cust339.barn.cable.virginmedia.com] has quit [Ping timeout: 255 seconds] | 17:47 | |
-!- xootom [~xootom@cpc3-shef10-2-0-cust339.barn.cable.virginmedia.com] has joined #webgui | 17:48 | |
-!- ryuu_ro [~rory@D57D69B6.static.ziggozakelijk.nl] has quit [Quit: off] | 17:51 | |
-!- xootom [~xootom@cpc3-shef10-2-0-cust339.barn.cable.virginmedia.com] has quit [Read error: Connection reset by peer] | 17:52 | |
-!- xootom [~xootom@cpc3-shef10-2-0-cust339.barn.cable.virginmedia.com] has joined #webgui | 17:52 | |
-!- sbaur [~Adium@130.157.145.37] has joined #webgui | 18:02 | |
-!- xootom [~xootom@cpc3-shef10-2-0-cust339.barn.cable.virginmedia.com] has left #webgui [] | 18:13 | |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has quit [Quit: Leaving.] | 18:38 | |
-!- kthakore [~kthakore@li136-101.members.linode.com] has quit [Quit: Changing server] | 19:30 | |
scrottie | jimX11, params aren't set so much as links are created. see the perldoc for WebGUI::Session::Url and ack the code for 'session->url' for examples. $session->url->page("foo=bar;baz=quux") is probably what you want in this case. | 19:56 |
-!- khenn [~frank@99-111-115-201.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui | 19:56 | |
-!- mode/#webgui [+o khenn] by ChanServ | 19:56 | |
scrottie | then when the user clicks that link, those form params get passed back. | 19:56 |
scrottie | jimX11, or you can create a form with the form controls under WebGUI::Form | 19:57 |
-!- Netsplit *.net <-> *.split quits: sbaur, @khenn | 20:07 | |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui | 20:07 | |
-!- Netsplit over, joins: @khenn, sbaur | 20:08 | |
-!- Netsplit *.net <-> *.split quits: sbaur, @khenn | 20:14 | |
-!- Netsplit over, joins: @khenn, sbaur | 20:16 | |
--- Day changed Sat Jun 18 2011 | ||
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Ping timeout: 276 seconds] | 00:43 | |
-!- sbaur [~Adium@130.157.145.37] has quit [Quit: Leaving.] | 02:26 | |
-!- daviddelikat [~user@adsl-75-42-233-158.dsl.mdsnwi.sbcglobal.net] has left #webgui [] | 02:28 | |
-!- daviddelikat [~user@adsl-75-42-233-158.dsl.mdsnwi.sbcglobal.net] has joined #webgui | 03:58 | |
CIA-82 | webgui: Doug Bell WebGUI8 * r795d88e / (101 files in 23 dirs): (log message trimmed) | 04:16 |
CIA-82 | webgui: Merge commit 'v7.10.17' into 8 | 04:16 |
CIA-82 | webgui: Conflicts: | 04:16 |
CIA-82 | webgui: docs/upgrades/upgrade_7.9.13-7.10.0.pl | 04:16 |
CIA-82 | webgui: lib/WebGUI.pm | 04:16 |
CIA-82 | webgui: lib/WebGUI/Asset/Template/TemplateToolkit.pm | 04:16 |
CIA-82 | webgui: lib/WebGUI/Asset/Wobject/AssetReport.pm | 04:16 |
CIA-82 | webgui: Doug Bell WebGUI8 * r02c0da3 / (8 files in 7 dirs): | 04:16 |
CIA-82 | webgui: Merge remote-tracking branch 'upstream/WebGUI8' into 8 | 04:16 |
CIA-82 | webgui: Conflicts: | 04:16 |
CIA-82 | webgui: docs/previousVersion.sql - http://bit.ly/kMIy16 | 04:16 |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Ping timeout: 276 seconds] | 04:17 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui | 05:12 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Quit: Leaving.] | 05:41 | |
-!- fokat [~lem@209.60.194.146] has joined #webgui | 05:51 | |
-!- fokat [~lem@209.60.194.146] has quit [Read error: Connection reset by peer] | 05:53 | |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui | 07:56 | |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Ping timeout: 240 seconds] | 08:30 | |
-!- waxhead [~pete@ppp121-45-193-185.lns20.cbr1.internode.on.net] has quit [Read error: Connection reset by peer] | 09:40 | |
-!- waxhead [~pete@ppp121-45-193-185.lns20.cbr1.internode.on.net] has joined #webgui | 09:57 | |
-!- ampli [c0722a05@gateway/web/freenode/ip.192.114.42.5] has joined #webgui | 13:25 | |
-!- ampli [c0722a05@gateway/web/freenode/ip.192.114.42.5] has quit [] | 14:06 | |
-!- ampli [c0722a05@gateway/web/freenode/ip.192.114.42.5] has joined #webgui | 14:12 | |
ampli | Hello, I have a question on wg8. | 14:12 |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 14:13 | |
-!- khenn [~frank@99-111-115-201.lightspeed.mdsnwi.sbcglobal.net] has quit [Quit: khenn] | 14:56 | |
-!- vayde [~vayde@67-4-235-226.mpls.qwest.net] has quit [Ping timeout: 258 seconds] | 15:45 | |
-!- ampli [c0722a05@gateway/web/freenode/ip.192.114.42.5] has quit [] | 15:51 | |
-!- vayde [~vayde@184-100-126-195.mpls.qwest.net] has joined #webgui | 15:58 | |
-!- vayde [~vayde@184-100-126-195.mpls.qwest.net] has quit [Remote host closed the connection] | 16:27 | |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Quit: Leaving.] | 16:34 | |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui | 17:13 | |
-!- fokat [~lem@209.60.194.146] has joined #webgui | 17:20 | |
-!- fokat [~lem@209.60.194.146] has quit [Read error: Connection reset by peer] | 17:22 | |
-!- ampli [c0722a05@gateway/web/freenode/ip.192.114.42.5] has joined #webgui | 18:45 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Quit: Leaving.] | 19:06 | |
-!- vayde [~vayde@184-100-126-195.mpls.qwest.net] has joined #webgui | 21:13 | |
-!- vayde [~vayde@184-100-126-195.mpls.qwest.net] has quit [Remote host closed the connection] | 22:28 | |
-!- vayde [~vayde@184-100-126-195.mpls.qwest.net] has joined #webgui | 22:30 | |
scrottie | ampli, ask away. | 23:16 |
ampli | Hi scrottie | 23:40 |
ampli | I installed wg8 (fresh install) and encountered a main problem | 23:41 |
ampli | When I click on "turn admin on" (in admin mode) nothing happenes. | 23:41 |
ampli | I tried installing several times, following the instructions in install.txt. | 23:42 |
ampli | With 7.10.14 which I previously installed, works well. | 23:42 |
ampli | How can I proceed? What I can check next? | 23:43 |
scrottie | My first guess is that upgrades didn't actually run | 23:43 |
ampli | I did "wdg test" (some failed) | 23:43 |
scrottie | when you did the upgrades step, did it run for a while and spit a bunch of upgrade names out that it was doing, or did it only sit there for a second and spit nothing out? | 23:44 |
scrottie | which program did you use to run the upgrades? | 23:44 |
ampli | I mad "wgd reset --upgrade" and checked that at least some of them have done. | 23:44 |
scrottie | you examined the database to verify changes were made...? | 23:45 |
ampli | The upgrade last several seconds, and said it has been done, I can try to roll back the terminal and check exactly. | 23:45 |
scrottie | do this: grep AdminBar /data/WebGUI/etc/www.medintellibasealerts.com.conf | 23:46 |
scrottie | does it find a line like this: "AdminBar" : "AdminBar", | 23:46 |
ampli | I didn't check the db to see if it has hanged. Can you give me an example of a change that I can check? | 23:46 |
scrottie | this config file change is one and relates to the admin bar... I can dig up some more here too | 23:47 |
ampli | I didn't find how to enable printing the "start_step" in the upgrade to validate all is done. | 23:47 |
scrottie | by default, it is verbose. you have to tell it to be quiet to not print the upgrade names out. | 23:47 |
scrottie | seeing the names of a bunch of upgrade steps is a good indication that things ran. not seeing them is a good indication that it didn't. | 23:48 |
ampli | The upgrade has removed the AdminBar macro, and also changed the configuration much. | 23:48 |
scrottie | hrm, okay. | 23:48 |
scrottie | yeah, the AdminBar macro shouldn't be in there. | 23:48 |
scrottie | I wonder if the "extras" are in place. | 23:48 |
scrottie | the install instructions aren't well tested, by the way. | 23:48 |
* scrottie looks for something | 23:52 | |
scrottie | network is being terrible lately | 23:52 |
scrottie | aha | 23:53 |
ampli | (still rolling back the terminal...) | 23:53 |
scrottie | ls /data/domains/www.example.com/public/extras/admin/toolbar.js # do you have this file? | 23:54 |
scrottie | s/www.example.com/yoursite.tld/ | 23:54 |
ampli | one sec... | 23:56 |
ampli | The upgrade output has already rolled of the terminal screen. I can just do another fresh install in a short time... | 23:59 |
scrottie | ~. | 23:59 |
scrottie | uh, well | 23:59 |
--- Day changed Sun Jun 19 2011 | ||
ampli | I'm tryig the ls... | 00:00 |
scrottie | it looks like the upgrades ran, if the adminbar is out | 00:00 |
scrottie | usually they do or don't | 00:00 |
scrottie | the upgrade system changed and people with older tools don't get them run because the old tools don't know about the new stuff | 00:00 |
scrottie | and some of the older upgrade tools are broken | 00:00 |
scrottie | including some that still come with the wre | 00:00 |
ampli | -rw-r--r-- 1 amir users 3751 Jun 17 00:55 /data/domains/wg8/extras/admin/toolbar.js | 00:00 |
ampli | This is the locatio of extras at my install. | 00:01 |
scrottie | and wg8 is the host+domainname? you have that pointed at 127.0.0.1 in /etc/hosts ? | 00:01 |
ampli | It is rs the same as in the config. | 00:01 |
* scrottie nods | 00:01 | |
ampli | I can see the site if I start plackup and go to http://wg8 | 00:02 |
scrottie | going to afk a bit here in a sec but one thing you might do is look at the error log your web browser and see if it is 404'ing on .js files | 00:02 |
scrottie | for whatever reason | 00:02 |
scrottie | if it is anything really strange, preaction would be better equiped to sort it out. | 00:02 |
ampli | If I don't start plackup I cannot see it, this is one proof that it is the correct site.... | 00:03 |
ampli | Do you know to make wgd reset --upgrad, more verbose, so I can see the steps? | 00:03 |
ampli | I also made some perl debug, and have some results, but I cannot make much sense of them since I don't know muh on the internals of wg. | 00:04 |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Read error: Operation timed out] | 00:05 | |
ampli | When I clcik on "turn admin on", the only thing that happens is that op=admin is appended to the current URL. Is it whats supposed to be appended? | 00:05 |
scrottie | I think so... I don't have a WG8 running at the moment | 00:07 |
scrottie | working on a branch of 7 at the moment | 00:08 |
scrottie | the reply from the thing should include iframes (ugh) with the admin panel in the left one | 00:08 |
ampli | In "wgd test", I get a strange error, I don't know if it is realted: | 00:08 |
ampli | at ./t/Admin.t line 73. ... ERROR: Problems talking to master daemon process. Please restart the web server. | 00:08 |
ampli | But it is up and running, and restarting it doesn't help. | 00:09 |
ampli | It looks as if I get the correct HTML as response (it get changed and includes JS files, e.g. dragdrop.js | 00:13 |
-!- BartJol [~bart@a80-127-245-198.mobile.xs4all.nl] has joined #webgui | 00:14 | |
-!- mode/#webgui [+v BartJol] by ChanServ | 00:14 | |
ampli | BTW, I tried iit on Chrome (latest) and mozilla 4. | 00:15 |
ampli | Meanwhile I checked that the db reflects the upgrade "facebook_auth.sql" (which only means that at least some of the upgrade steps were done). | 00:22 |
ampli | /extras/admin/toolbar.js is not included in the resuled HTML after I "turn admin on", should it be included? | 00:27 |
-!- BartJol [~bart@a80-127-245-198.mobile.xs4all.nl] has left #webgui [] | 00:30 | |
scrottie | yeah, in the left iframe. | 00:46 |
ampli | There is no iframe in the HTML (after I "turn admin on"). I will try to check in the code how it was supposed to be inluded. | 00:52 |
scrottie | lib/WebGUI/Operation/Admin.pm gets called from the lib/WebGUI/Content/Operation.pm content handler | 00:53 |
scrottie | I wish I could hang out and help hunt this one down but I've gotta go do stuff | 00:54 |
scrottie | it usually isn't too long between times when people are active on here so hopefully someone else will have an idea of what's going on. | 00:55 |
scrottie | and thank you for your help testing WG8. | 00:55 |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 00:56 | |
-!- vayde [~vayde@184-100-126-195.mpls.qwest.net] has quit [Remote host closed the connection] | 01:05 | |
-!- jimX11 [~jjm@n128-227-81-249.xlate.ufl.edu] has quit [Remote host closed the connection] | 01:28 | |
-!- jjm [~jjm@adsl-98-70-63-209.gnv.bellsouth.net] has joined #webgui | 01:59 | |
-!- ampli [c0722a05@gateway/web/freenode/ip.192.114.42.5] has quit [Ping timeout: 252 seconds] | 02:26 | |
-!- ampli [c0722a05@gateway/web/freenode/ip.192.114.42.5] has joined #webgui | 02:38 | |
-!- ampli [c0722a05@gateway/web/freenode/ip.192.114.42.5] has quit [] | 03:21 | |
-!- jjm [~jjm@adsl-98-70-63-209.gnv.bellsouth.net] has quit [Quit: Leaving] | 04:52 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Quit: Leaving.] | 05:58 | |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui | 07:25 | |
-!- kaare__ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui | 09:43 | |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Ping timeout: 240 seconds] | 09:44 | |
-!- ampli [c0722a05@gateway/web/freenode/ip.192.114.42.5] has joined #webgui | 11:15 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 12:50 | |
-!- ampli [c0722a05@gateway/web/freenode/ip.192.114.42.5] has left #webgui [] | 13:25 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Quit: Leaving.] | 13:50 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 14:25 | |
-!- waxhead [~pete@ppp121-45-193-185.lns20.cbr1.internode.on.net] has quit [Quit: Ex-Chat] | 14:40 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Quit: Leaving.] | 15:10 | |
-!- ampli [c0722a05@gateway/web/freenode/ip.192.114.42.5] has joined #webgui | 15:31 | |
-!- perlbot [simcop2387@isuckatdomains.net] has quit [Ping timeout: 246 seconds] | 19:35 | |
-!- perlbot [simcop2387@isuckatdomains.net] has joined #webgui | 19:36 | |
-!- ColinHarman [~ColinHarm@mail.blue-ridge.org] has joined #webgui | 20:46 | |
-!- kaare__ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Read error: Operation timed out] | 21:02 | |
-!- ColinHarman [~ColinHarm@mail.blue-ridge.org] has quit [Quit: ZZzzzZzZzz...] | 21:12 | |
-!- jimX11 [~jjm@n128-227-34-156.xlate.ufl.edu] has joined #webgui | 23:01 | |
scrottie | ampli, any luck? | 23:53 |
--- Day changed Mon Jun 20 2011 | ||
-!- ColinHarman [~ColinHarm@h229.121.56.24.cable.rstb.jetbroadband.com] has joined #webgui | 00:12 | |
-!- ColinHarman [~ColinHarm@h229.121.56.24.cable.rstb.jetbroadband.com] has quit [Remote host closed the connection] | 00:13 | |
-!- carogray [~Caroline@32.178.72.105] has joined #webgui | 00:25 | |
-!- carogray [~Caroline@32.178.72.105] has quit [Quit: Leaving.] | 01:07 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Quit: Leaving.] | 03:49 | |
-!- ekennedy [~ekennedy@173-112-177-127.pools.spcsdns.net] has joined #webgui | 04:59 | |
-!- ekennedy [~ekennedy@173-112-177-127.pools.spcsdns.net] has left #webgui [] | 05:00 | |
-!- ekennedy [~ekennedy@173-112-177-127.pools.spcsdns.net] has joined #webgui | 05:03 | |
ekennedy | identify | 05:04 |
-!- ekennedy [~ekennedy@173-112-177-127.pools.spcsdns.net] has left #webgui [] | 05:05 | |
-!- ekennedy [~ekennedy@173-112-177-127.pools.spcsdns.net] has joined #webgui | 05:06 | |
-!- ekennedy [~ekennedy@173-112-177-127.pools.spcsdns.net] has left #webgui [] | 05:06 | |
-!- ekennedy [~ekennedy@173-112-177-127.pools.spcsdns.net] has joined #webgui | 05:06 | |
ekennedy | I've got an asset that is using a scratch variable to affect how it is presented. It works fine when accessed directly, however, when used via an AssetProxy the content seems to be cached. Does anyone have a work around? | 05:10 |
ekennedy | I found the problem. It was a cache time out on a snippet that included another snippet. | 05:17 |
ekennedy | Actually, its not fixed. It is working fine when logged in, however, when using the site as a visitor the asset is being cached. I've seen some messages about these problems. Is there a standard work around? | 05:32 |
-!- ekennedy [~ekennedy@173-112-177-127.pools.spcsdns.net] has quit [Quit: ekennedy] | 05:34 | |
-!- ekennedy1 [~ekennedy@173-112-177-127.pools.spcsdns.net] has joined #webgui | 05:34 | |
ekennedy1 | I've got an asset that is using a scratch variable to affect how it is presented. It works fine when logged in, however, as visitor the content is being cached. I've seen some other messages related to this problem. Is there a good workaround? | 05:36 |
-!- ekennedy1 [~ekennedy@173-112-177-127.pools.spcsdns.net] has quit [Quit: Leaving.] | 06:30 | |
-!- kaare__ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui | 08:37 | |
-!- ryuu_ro [~rory@D57D69B6.static.ziggozakelijk.nl] has joined #webgui | 08:49 | |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui | 09:43 | |
-!- mode/#webgui [+v BartJol] by ChanServ | 09:43 | |
-!- waxhead [~pete@ppp121-45-193-185.lns20.cbr1.internode.on.net] has joined #webgui | 11:19 | |
-!- carogray [~Caroline@173-101-130-161.pools.spcsdns.net] has joined #webgui | 12:49 | |
ampli | Hello, I have a question regarding a problem in WebGUI 8. | 13:42 |
-!- carogray [~Caroline@173-101-130-161.pools.spcsdns.net] has quit [Quit: Leaving.] | 13:46 | |
-!- Radix-wrk is now known as Radix_ | 13:59 | |
-!- vayde [~vayde@184-100-126-195.mpls.qwest.net] has joined #webgui | 14:38 | |
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has joined #webgui | 15:18 | |
+BartJol | ampli: sorry, not yet an wg8 specialist | 15:19 |
-!- ekennedy [~ekennedy@173-112-177-127.pools.spcsdns.net] has joined #webgui | 15:34 | |
-!- ekennedy [~ekennedy@173-112-177-127.pools.spcsdns.net] has left #webgui [] | 15:37 | |
-!- ekennedy1 [~ekennedy@173-112-177-127.pools.spcsdns.net] has joined #webgui | 15:45 | |
-!- ekennedy1 [~ekennedy@173-112-177-127.pools.spcsdns.net] has left #webgui [] | 16:04 | |
-!- daviddelikat [~user@adsl-75-42-233-158.dsl.mdsnwi.sbcglobal.net] has quit [Quit: Leaving.] | 16:17 | |
SDuensin | Monday. Whee. | 16:48 |
-!- ryuu_ro_ [~rory@D57D69B6.static.ziggozakelijk.nl] has joined #webgui | 17:03 | |
-!- ryuu_ro_ [~rory@D57D69B6.static.ziggozakelijk.nl] has quit [Client Quit] | 17:03 | |
-!- ryuu_ro [~rory@D57D69B6.static.ziggozakelijk.nl] has quit [Ping timeout: 258 seconds] | 17:07 | |
ampli | Hello, I have a question regarding a problem in WebGUI 8. | 17:26 |
+BartJol | ampli: I can try... | 17:31 |
ampli | In installed wg8 acording to install.txt. All seems well, but "turn admin on" dowsn't bring up the onsole. The HTML even dowsn't include the console iframe. | 17:33 |
ampli | It seems that all the upgrade steps suceeded. | 17:33 |
+BartJol | you did a 7->8 upgrade? | 17:33 |
ampli | Yes, I did them and check several random ones to be done. | 17:34 |
+BartJol | because in 8 I am not sure whether the "old" admin on content handler is still valid | 17:34 |
ampli | I don't know how to make wgd to print the start_step messages so I cannot be sure everything has been done. | 17:34 |
ampli | The conf upgrade, for ex., has been done. | 17:35 |
ampli | No relevant errors in the logs. | 17:35 |
ampli | I tried to debug the Perl code, have some results but don't know to interpret them.... | 17:36 |
ampli | BTW, I tried to do a fresh installation (+ all the steps in install.txt) several times. | 17:36 |
+BartJol | if you paste "?op=admin" at the end of the url, what happens? | 17:37 |
+BartJol | and check that you're logged in as an admin | 17:38 |
ampli | When I click "turn admin on", op=admin as automatically appended. This brings a page with additional HTML code, like draggable.js, but doesn't bring up the iframe console code. | 17:38 |
+BartJol | mmmm | 17:38 |
ampli | I validated that www_view in Admin.pm is invoked. | 17:38 |
ampli | And also getAdminPluginTemplateVars(). | 17:39 |
ampli | If you have an idea what to check next in the Perl code, I will do it. | 17:39 |
+BartJol | mmm, I just threw my wg8 install away this weekend | 17:39 |
ampli | Previously I installed 7.10.14 (still installed) with no problems. | 17:40 |
+BartJol | yeah, well, 8 has some differences | 17:41 |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui | 17:41 | |
ampli | I underrstood it is aupossed to use AJAX to bring up the new console. | 17:41 |
+BartJol | what kind of url appends did you try? | 17:41 |
-!- kaare__ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Ping timeout: 264 seconds] | 17:42 | |
ampli | For example, I get this URL when I click on "turn admin on": http://wg8:5000/home?op=admin | 17:43 |
ampli | The resulted page ontains some new code (some more JS files) but not the console. | 17:43 |
ampli | If I manually append op=adminConsole I get the system admin console (not what I tried to get, I tried to get the content admin console - the accordion menu). | 17:45 |
+BartJol | ok, assuming you did enable js for your browser | 17:46 |
ampli | Yes, of course. | 17:46 |
+BartJol | strange | 17:46 |
+BartJol | it is a year ago I fiddled with, there were some differences | 17:46 |
ampli | I guess this is a small problem (as always...), I just need to know what to check next, like routine name that makes the AJAX call to bring up the needed console code. | 17:47 |
ampli | I( thought it could be Chrome problem, so I checked with FF too. | 17:48 |
+BartJol | sorry, am afraid it costs me more time than asking some pb people when they wake up, what should not be too long | 17:51 |
ampli | Thanks - I'm wating here. | 17:53 |
-!- sbaur [~Adium@130.157.145.37] has joined #webgui | 18:06 | |
@preaction | ampli: does it look something like http://www.webgui.org/uploads/9e/37/9e37ec0f79964d759fb533c3f1290df9/Screen-shot-2011-04-19-at-11.45.59-AM.png | 19:30 |
CIA-82 | webgui: Chris Hanson master * rc646f01 / (2 files in 2 dirs): Added template var to Thingy to reflect callerAssetId from RenderThingData. - http://bit.ly/lTzhWt | 19:39 |
CIA-82 | webgui: Chris Hanson master * r07d2c38 / (2 files in 2 dirs): Monday morning. Typo correction to 8a6ba94..c646f01 - http://bit.ly/k8P93S | 19:46 |
scrottie | ampli and I verified that the AdminBar macro had been taken out of his config file, extras were where they should be, and various other things. | 20:17 |
scrottie | I had ampli look through the HTML source for iframes. | 20:18 |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Ping timeout: 240 seconds] | 20:43 | |
ampli | preaction: No, the accordion menu at the left doesn't appear. | 21:28 |
@preaction | what does appear? | 21:31 |
@preaction | the same page again? what does the error log say? have you bumped the log level to INFO? | 21:31 |
ampli | Nothing is changed in the page. However, inspection the page code reveals it has been changed. | 21:31 |
ampli | Exatly same look of the patge. But the new page (with op=admin) includes some more JS files, like draggable.js. No iframe in it. | 21:32 |
ampli | No error in the log. I tried also DEBUG, maybe I missed something due to too much info, so I will try INFO. | 21:33 |
ampli | Ok, now I get some errors. | 21:38 |
ampli | Can't call method "setting" on an undefined value at ... Asset/Wobject/Search.pm line 37 | 21:39 |
ampli | Admin (3) connecting from 127.0.0.1 attempted to execute an invalid operation: admin | 21:39 |
ampli | That's all. | 21:40 |
ampli | Searching in the (long) log shows I didn't get these error before. So I will remove some debug code I added, and retry in a minute. | 21:42 |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 21:45 | |
ampli | Same error errors in original code. (the first one is ERROR, the second one WARN). | 21:47 |
ampli | I validated by "git pull" I run an up-to-date code, then cleared wg and browser cache. Same errors again. | 21:54 |
ampli | The full line of the WARN is: WARN - wg8.conf - WebGUI::Operation::execute[64] - Admin (3) connecting from 127.0.0.1 attempted to execute an invalid operation: admin | 22:02 |
-!- lem_ [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 22:56 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Ping timeout: 244 seconds] | 22:56 | |
-!- lem_ is now known as Guest89576 | 22:56 | |
-!- Guest89576 [~lem@weston-69.65.87.205.myacc.net] has quit [Read error: Connection reset by peer] | 23:13 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 23:13 | |
--- Day changed Tue Jun 21 2011 | ||
@preaction | ampli: that sounds like the correct content handler didn't get placed in the config file | 00:03 |
ampli | The config files changed muh by the update process. How can I validate it correctly got all the needed changes? | 00:04 |
ampli | "The config file" .... | 00:04 |
@preaction | check it against WebGUI.conf.original | 00:04 |
@preaction | there should be a "WebGUI::Content::Admin" in the "contentHandlers" section before WebGUI::Content::Operation (which raised that warning you saw) | 00:05 |
ampli | There is! | 00:07 |
ampli | Line 4 of contentHandlers is "WebGUI::Content::Admin", while "WebGUI::Content::Operation" is in line 13 | 00:08 |
scrottie | <ampli> Can't call method "setting" on an undefined value at ... Asset/Wobject/Search.pm line 37 | 00:11 |
@preaction | yeah, that property has to be lazy i think | 00:11 |
scrottie | I'm more interested in that. I think it'll come back with invalid content handler if a valid content handler blows up. | 00:11 |
@preaction | though i'm not sure why the asset isn't getting a session | 00:11 |
scrottie | ampli, can you get a mysql prompt open on your database? then do this: | 00:13 |
scrottie | update settings set value='1' where name='showDebug'; | 00:13 |
scrottie | hrm, or maybe that setting doesn't exist yet | 00:13 |
scrottie | replace into settings (name, value) values ('showDebug', '1'); -- better | 00:13 |
ampli | I'll try | 00:14 |
scrottie | replace into settings (name, value) values ('ipDebug', ''); | 00:14 |
scrottie | those last two | 00:14 |
scrottie | that should get you a stack trace in your web browser | 00:14 |
ampli | (Untill now I did the stack trace in log.conf...) | 00:15 |
ampli | These sql statments both sucedded. | 00:15 |
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has quit [Ping timeout: 264 seconds] | 00:17 | |
scrottie | debug output is kinda in limbo in 8 right now... too much stuff is getting trapped. | 00:18 |
ampli | I got into something looks like a debug console. What should I look there? | 00:21 |
scrottie | cut and paste the stack trace into gist.github.com and paste the URL here? | 00:21 |
scrottie | or alternatively a screenshot of the top of the thing might work | 00:22 |
ampli | (Is private git fine?) git@gist.github.com:1ee9a2c347c06ebcc9c2.git | 00:26 |
-!- carogray [~Caroline@184.242.201.252] has joined #webgui | 00:30 | |
scrottie | mm, I think I would need my gist account added to view that to check that out | 00:31 |
scrottie | if you do a public, I can just pull up a URL | 00:31 |
scrottie | would that be okay? | 00:31 |
ampli | Public Clone URL:git://gist.github.com/1036637.git | 00:33 |
scrottie | beautiful. | 00:34 |
ampli | I can put there the entire HTML output (so you can see the variables). | 00:40 |
scrottie | don't think I want that | 00:41 |
scrottie | the stack trace is already not from the point of view of this error, it looks like | 00:41 |
scrottie | I wish I knew what called that | 00:41 |
scrottie | this code is from 2010, so it has to work to be not blowing up, at least most of the time | 00:42 |
scrottie | or else it is blowing up and the errors have simply been being sunk | 00:43 |
ampli | I have a maybe more detailed stack trace, from a stack trace enabled by log.conf. I will send a URL shortley. | 00:45 |
scrottie | that could be useful | 00:46 |
ampli | Private Clone URL: git@gist.github.com:1036667.git | 00:48 |
ampli | one sec | 00:48 |
ampli | Public Clone URL:git://gist.github.com/1036667.git | 00:48 |
scrottie | the http:// url from the address bar of your browser is preferred | 00:50 |
ampli | https://gist.github.com/1036667 | 00:51 |
scrottie | shooting into the dark slightly here, but, ampli, try upgrading your Moose to the latest version? | 00:54 |
scrottie | wait... | 00:57 |
scrottie | the "execute an invalid operation" $session->log->security call is run when the operation specified isn't in the table of operations hard-coded into the hash in getOperations in WebGUI/Operation.pm. admin isn't one of the keys. | 00:58 |
scrottie | it doesn't even try to run WebGUI::Pluggable::run on the operation unless the op is in that table. | 00:59 |
ampli | Upgraded Moose 2.0007 to 2.0009 ... | 01:00 |
scrottie | you already had a recent Moose. that very likely won't help then. | 01:00 |
ampli | (I don't use the WRE, I just use a system that is up to date.) | 01:01 |
ampli | If this can help, I can print variables from the routines mentioned in the last stack trace. | 01:09 |
ampli | (I use Data::Dumper to print whole objects..) | 01:10 |
scrottie | I'm trying to print $op at lib/WebGUI/Content/Operation.pm line 51 and at lib/WebGUI/Operation.pm line $54. it comes from $form->process('op') and when op is passed in, it reports it being ''. | 01:10 |
scrottie | this is on my copy. | 01:10 |
scrottie | okay, it comes back as '' after the admin kicks in and loads the page in an iframe. | 01:15 |
scrottie | but before that, nothing is printed. that code path isn't taken. | 01:15 |
ampli | I will let you know in a minute what it prints for me.... | 01:15 |
scrottie | okay. I'm doing this: warn "op: $op page: " . $session->request->request_uri; | 01:16 |
scrottie | btw. | 01:16 |
scrottie | ah, looks like that is dead code. | 01:20 |
scrottie | there should be a "WebGUI::Content::Admin" in the "contentHandlers" section before WebGUI::Content::Operation (which raised the warning that you saw) | 01:21 |
scrottie | (pasting from preaction's earlier reply) | 01:21 |
scrottie | did you confirm that this is the case? | 01:22 |
* scrottie reads back some more | 01:22 | |
scrottie | <ampli> Line 4 of contentHandlers is "WebGUI::Content::Admin", while "WebGUI::Content::Operation" is in line 13 | 01:22 |
scrottie | ah | 01:22 |
scrottie | okay, not entirely dead code, but there are two paths now. | 01:23 |
scrottie | so, the execution path is this... WebGUI::handle, lib/WebGUI/Content/Admin.pm handler(), WebGUI::Admin www_view() | 01:25 |
scrottie | you could add warn's to lib/WebGUI/Content/Admin.pm on 51 after that first if, and on both cases of that if near line 75 | 01:27 |
ampli | I printed the whole session object and the result is too be for uploading.... | 01:29 |
scrottie | yeah, I don't want to dig through all of that | 01:29 |
ampli | So I will print only what you mentioned | 01:29 |
scrottie | I'd rather figure out what the execution is supposed to be then figure out where it varies from that | 01:29 |
scrottie | I know what's supposed to happen now, so it's a matter of adding warn's in your copy to figure out how far along that path it makes it | 01:30 |
scrottie | then trying to figure out where it goes off path | 01:30 |
-!- carogray [~Caroline@184.242.201.252] has quit [Ping timeout: 240 seconds] | 01:46 | |
-!- carogray [~Caroline@173.157.17.221] has joined #webgui | 01:48 | |
ampli | https://gist.github.com/1036787 . I used my debug routine. An empty string may mean "undef" (I need to fix it to inidicate such cases). | 01:48 |
-!- carogray [~Caroline@173.157.17.221] has quit [Read error: Connection reset by peer] | 01:52 | |
-!- carogray [~Caroline@173.154.7.63] has joined #webgui | 01:54 | |
-!- carogray [~Caroline@173.154.7.63] has quit [Client Quit] | 01:55 | |
scrottie | it looks like there are subsequent page fetches after the op=admin call, as there should be. | 01:59 |
scrottie | if you warn'd, the output would have the line number as well | 02:00 |
-!- carogray [~Caroline@173.154.7.63] has joined #webgui | 02:00 | |
scrottie | or you could print __LINE__ | 02:01 |
scrottie | I'm curious if the return "ERROR" bit is running... if that side of the if() runs | 02:01 |
scrottie | in lib/WebGUI/Content/Admin.pm around line 75 | 02:02 |
scrottie | oh, wait, one of those items you printed out was that | 02:02 |
scrottie | you have wgd... what do you see when you go to http://localhost:5000/admin_console?func=edit (correcting for hostname and port) ? | 02:05 |
-!- carogray [~Caroline@173.154.7.63] has quit [Ping timeout: 244 seconds] | 02:05 | |
scrottie | that should be a template that includes a number of lines including this one: <tmpl_var body.content> | 02:05 |
-!- carogray [~Caroline@173-125-132-125.pools.spcsdns.net] has joined #webgui | 02:06 | |
scrottie | you could also run Data::Dumper on $var in lib/WebGUI/Admin.pm around line 818 | 02:06 |
scrottie | and in mysql: select * from settings where name='templateIdAdmin'; -- should come back with a value | 02:06 |
ampli | A template with title "Admin Console Style" | 02:07 |
scrottie | good | 02:07 |
scrottie | how about http://localhost:5000/root/import/adminconsole/admin-interface?func=edit ? is that there? | 02:08 |
scrottie | the SQL query comes back with 'p8g7xlQaTeKSRRDo-_ejSQ' for me, which should be root/import/adminconsole/admin-interface | 02:08 |
scrottie | or the assetId of the template at that page | 02:08 |
-!- carogray [~Caroline@173-125-132-125.pools.spcsdns.net] has quit [Ping timeout: 252 seconds] | 02:10 | |
ampli | "Admin Interface" | 02:12 |
scrottie | good. this has about a screenful of extraHeadTags for me, all link rel="stylesheet" and script type="text/javascript" stuff... but I think you said you saw the result of this in the output of the page after op=admin | 02:14 |
scrottie | the template part is several screenfuls for me | 02:14 |
scrottie | screenfulls? eek. | 02:15 |
ampli | I don't see these js files in the HTML of the page with op=admin | 02:18 |
ampli | The page that I get has only a total of 4 js files. | 02:19 |
scrottie | what's the output of that SQL statement I just gave you? | 02:26 |
scrottie | can you create a gist of Data::Dumper on $var at that place I asked about, lib/WebGUI/Admin.pm line 818? | 02:26 |
scrottie | we know execution is getting here, so now I want to know what is different about what happens in this routine for you versus for me | 02:26 |
-!- sbaur [~Adium@130.157.145.37] has quit [Quit: Leaving.] | 02:27 | |
ampli | mysql: templateIdAdmin = p8g7xlQaTeKSRRDo-_ejSQ | 02:28 |
ampli | The rest shortly | 02:29 |
ampli | It doesn't seem to get to lib/WebGUI/Admin.pm line 818 (no printout). | 02:36 |
scrottie | hrm. | 02:36 |
ampli | One sec, maybe I had a syntax error? I will check again. | 02:37 |
scrottie | use Data::Dumper; warn "Admin www_view: " . Data::Dumper::Dumper $var; | 02:38 |
ampli | I apparenly made a syn error in another file when I previously added __LINE__ . I will fix that. | 02:39 |
scrottie | https://gist.github.com/1036884 # that's what I get for that var in there | 02:40 |
scrottie | https://gist.github.com/1036889 # does searching for 'onDOMready' in the HTML output of the page find something like this? | 02:42 |
ampli | Now no syn errors, but still doesn't get there. | 02:43 |
CIA-82 | webgui: Doug Bell master * r4d0e87a / (4 files in 4 dirs): add ticket limits to badge groups. add ticket and badge metadata to templates - http://bit.ly/jicmJL | 02:43 |
CIA-82 | webgui: Doug Bell master * rd0077bd / (docs/changelog/7.x.x.txt sbin/userImport.pl): allow specific expires dates for groups in userImport.pl - http://bit.ly/kbfrr1 | 02:43 |
scrottie | hrmmgm. | 02:43 |
ampli | No onDOMready | 02:44 |
scrottie | "if ( $admin->can( "www_" . $method ) )" ... that is evaluating true? in lib/WebGUI/Content/Admin.pm? | 02:44 |
scrottie | if I'm reading your earlier debug output correctly? | 02:45 |
ampli | Yes, According to the printout it evaluates to sub { "DUMMY" } | 02:46 |
scrottie | want to have a whole lot of fun? and by fun, I mean output? | 02:46 |
ampli | No problem. | 02:46 |
scrottie | cpanm Enbugger Devel::Trace | 02:46 |
scrottie | install those | 02:47 |
ampli | Done. | 02:48 |
scrottie | make lib/WebGUI/Content/Admin.pm, right after that if statement on line 75, read this... er, insert this line there: eval "use Enbugger; use Devel::Trace;"; | 02:50 |
scrottie | then post the first several pages of output from that | 02:50 |
scrottie | you'll probably have to kill plackup before it finishes generating trace data | 02:51 |
scrottie | that's fine | 02:51 |
ampli | ok | 02:51 |
scrottie | I really need to make a version of this that generates an animated gif of the program running... | 02:53 |
ampli | Should I remove all the debug statements to preserve line numbers? | 02:54 |
scrottie | hrm, good question. might be a good idea. | 02:54 |
ampli | ok | 02:55 |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 03:00 | |
ampli | I get nothing. I'm trying to debug that. | 03:06 |
scrottie | then it doesn't even get to there... but you had debug output from there before... | 03:07 |
scrottie | perl -e 'use Enbugger; use Devel::Trace; print "hi\n"; print "bye\n";' # you should get a few lines of trace from this | 03:07 |
ampli | I am putting back that debug statements.. | 03:08 |
ampli | No trace with this one-liner. Just the two words on output. | 03:09 |
scrottie | arg. | 03:35 |
ampli | I managed to produce trace by starting plackup with "perl -d plackup". Howeverr, I had a problem in redirecting the debug output. I will try something. | 03:40 |
scrottie | that will generate a lot of output and the interesting bit starts somewhere in the middle. | 03:42 |
scrottie | ( perl -d:Trace plackup 2>&1 ) > run.log | 03:42 |
scrottie | would do it, but then after a run, you've a multi megabyte file on your hands | 03:42 |
ampli | I used it just with -d, and got trace due to your eval. | 03:43 |
ampli | The complete run was 33K lines. | 03:43 |
ampli | I captured it using "script". | 03:44 |
ampli | 4.4 MB file, but just 38KB after compression... | 03:46 |
scrottie | ah. | 03:47 |
scrottie | mail that to scott@plainblack.com ? | 03:48 |
ampli | ok | 03:48 |
ampli | Sent. | 03:54 |
scrottie | the only part of WebGUI::Admin that entire trace touches is getAssetTypes in there | 04:12 |
scrottie | and I don't see it hit WebGUI::Content::Admin at all either | 04:12 |
scrottie | I see a lot of construction | 04:12 |
scrottie | looks like startup stuff, not an actual hit | 04:12 |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui | 04:14 | |
scrottie | okay, around 31721 it handles a request | 04:14 |
scrottie | 32643 it logs the get /home?op=admin request | 04:16 |
scrottie | I see it looping over the content handlers in WebGUI.pm around line 165 but it doesn't look like it engages any of them | 04:22 |
scrottie | I don't see which it is considering | 04:22 |
scrottie | I have this line at 164: warn "handler: $handler"; | 04:23 |
scrottie | I wonder if WebGUI::Content::Admin makes the list... and its strange that execution went in there before, far enough to figure out that the coderef was valid in "return $admin->can( "www_" . $method )->($admin);", but it doesn't go in there at all now | 04:24 |
ampli | Maybe it was there before the trace started? | 04:24 |
scrottie | oh, right | 04:25 |
scrottie | you have it right before that return $admin->can... line? | 04:25 |
scrottie | if it actually started at that point, I'd see a few lines of trace from WebGUI/Content/Admin.pm | 04:26 |
ampli | Exactly. | 04:26 |
scrottie | I see too much stuff at the start about it loading the universe | 04:28 |
scrottie | line 32651 it calls accept() on a socket | 04:28 |
scrottie | looks like that's the next one after the op=admin one though | 04:30 |
scrottie | this trace doesn't look a thing like mine | 04:30 |
ampli | I don't have an idea why the trace seems not to start at the intended place. Later today I will try to find out how to produce a real trace from that point. | 04:31 |
scrottie | mine starts right in at >> ::_</data/WebGUI/lib/WebGUI/Content/Admin.pm:77: after a few lines in Devel/Trace itself | 04:31 |
scrottie | you can always go back to sprinkling warn statements around the code... | 04:55 |
scrottie | to try to figure out where execution is going | 04:55 |
scrottie | lib/WebGUI.pm around line 164 is where it tries to find the correct handler from the list in the config file to handle the request | 04:56 |
ampli | Let me see... | 04:56 |
scrottie | WebGUI/Content/Admin.pm handler() starting around 47, it should wander into | 04:57 |
scrottie | then around line 77 it should kick execution off to WebGUI/Admin.pm's www_view method | 04:57 |
scrottie | I was just trying to save same time on that but if the trace thing isn't going to work, there's always the old way | 04:58 |
-!- Netsplit *.net <-> *.split quits: fokat | 05:08 | |
ampli | By printouts in WebGUI::handle I found that WebGUI::Content::Admin is found, and when called on the page with op=admin, it returns undef. | 05:19 |
ampli | I will ontinue this way to find out why.... (need to go to sleep now...). Many thanks and see you later. | 05:20 |
scrottie | thanks for your patience! sleep well. | 05:20 |
-!- qwebirc54957 [47c47f14@gateway/web/freenode/ip.71.196.127.20] has joined #webgui | 05:20 | |
qwebirc54957 | My CentOS - WRE-WebGUI installation is on a vmware vm, how do I set up two test sites in webgui? | 05:25 |
qwebirc54957 | I have 1 nic with static ip and I'm able to get to site 1 using this ip. | 05:26 |
scrottie | there should be a /data/wre/sbin/addsite.pl script in the WRE | 05:27 |
scrottie | and it should have documentation built in, if you run perldoc on it | 05:27 |
scrottie | name based virtual hosting is the norm | 05:27 |
qwebirc54957 | Can I connect to site1 & site2 from a different machine. | 05:35 |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Quit: Leaving.] | 05:39 | |
scrottie | yes but you have to set up DNS. a lot of DNS providers (joker.com, godaddy.com, etc) have nice little control panels built in where you can set up which domain names point to which IPs. point them both to your one IP. as long as the domain name matches the domain names you've configured WebGUI for, it'll work. the web browser sends the hostname it wants along with the request so the server knows which site to serve. | 05:39 |
qwebirc54957 | <scrottie> -- I'm doing this at home. I want to learn before I get to the next step. | 05:41 |
scrottie | okay, there are a few other options. you can get one domain name and create two subdomains.... a.foo.com and b.foo.com, for example, point them both at your IP, and configure the machine to host those two sites. | 05:42 |
scrottie | if you know where your hosts file is and can edit it, you can do sort of the same thing but for just that one computer... hard-wire domain names to IPs | 05:42 |
scrottie | if you're on Windows, it could be in one of several places depending on the version and I hear a lot of reports that editing it doesn't actually work | 05:43 |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 05:44 | |
+Radix_ | C:\ | 05:47 |
+Radix_ | %systemroot%\system32\drivers\etc rather | 05:48 |
+Radix_ | that's where it is always | 05:48 |
CIA-82 | webgui: Doug Bell webgui-7.9 * r977f80d / lib/WebGUI/Form/Zipcode.pm : remove useless /d in tr/// to stop warning - http://bit.ly/kotcyN | 05:48 |
qwebirc54957 | If by adding a 2nd nic (2nd ip) to the vm, can it be used for site2 & how? | 05:53 |
@preaction | you do'nt need a 2nd nic, you can use name vhosts | 05:53 |
CIA-82 | wgdev: Doug Bell master * r4977945 / lib/WGDev/Command/Build.pm : extend from WGDev::File to get sync_dirs method - http://bit.ly/liLzqM | 06:04 |
CIA-82 | webgui: Doug Bell webgui-7.9 * r9db58b0 / docs/create.sql : Preparing for 7.9.31 release - http://bit.ly/lg27iM | 06:06 |
scrottie | you have to make sure that your users have at least Netscape Navigator 2 or else MS Internet Explorer 3 for name based vhosts to work. | 06:07 |
qwebirc54957 | Thanks for your help. I've added these two lines to apache /etc/host & windows %systemroot%\system32\drivers\etc\hosts -> 192.168.10.3site1 & 192.168.10.3site2 == it works | 06:13 |
scrottie | you're quite welcome. | 06:17 |
CIA-82 | webgui: Doug Bell webgui-7.9 * r3e02942 / (4 files in 4 dirs): preparing for 7.9.32 dev - http://bit.ly/mcvzau | 06:28 |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Quit: Leaving.] | 06:34 | |
-!- Radix_ changed the topic of #webgui to: [7.9.31-stable | 7.10.18-beta | WRE 0.9.3] Before you ask, check the wiki: http://wiki.webgui.org | Pastebin: http://webgui.pastebin.com | 06:44 | |
-!- qwebirc54957 [47c47f14@gateway/web/freenode/ip.71.196.127.20] has quit [Quit: Page closed] | 06:55 | |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui | 08:26 | |
-!- ryuu_ro [~rory@D57D69B6.static.ziggozakelijk.nl] has joined #webgui | 08:47 | |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui | 08:54 | |
-!- jimX11 [~jjm@n128-227-34-156.xlate.ufl.edu] has quit [Quit: Leaving] | 09:36 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 13:25 | |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Quit: Leaving.] | 15:16 | |
-!- waxhead [~pete@ppp121-45-193-185.lns20.cbr1.internode.on.net] has quit [Quit: Ex-Chat] | 15:57 | |
-!- ryuu_ro_ [~rory@D57D69B6.static.ziggozakelijk.nl] has joined #webgui | 17:27 | |
-!- ryuu_ro_ [~rory@D57D69B6.static.ziggozakelijk.nl] has quit [Client Quit] | 17:27 | |
-!- ryuu_ro [~rory@D57D69B6.static.ziggozakelijk.nl] has quit [Ping timeout: 250 seconds] | 17:30 | |
-!- sbaur [~Adium@130.157.145.37] has joined #webgui | 18:02 | |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Ping timeout: 264 seconds] | 18:28 | |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has quit [Quit: Leaving.] | 18:37 | |
-!- Haarg [~haarg@haarg.org] has quit [Quit: Leaving] | 18:50 | |
-!- Haarg [~haarg@haarg.org] has joined #webgui | 18:51 | |
-!- fokat [~lem@66.0.48.131] has joined #webgui | 19:54 | |
-!- ryuu_ro [~rory@53562A76.cm-6-7a.dynamic.ziggo.nl] has joined #webgui | 20:07 | |
-!- ryuu_ro [~rory@53562A76.cm-6-7a.dynamic.ziggo.nl] has quit [Quit: off] | 21:12 | |
-!- jimX11 [~jjm@n128-227-34-156.xlate.ufl.edu] has joined #webgui | 21:35 | |
-!- SynQ [~koen@f70096.upc-f.chello.nl] has joined #webgui | 21:45 | |
-!- mode/#webgui [+v SynQ] by ChanServ | 21:45 | |
+SynQ | good day | 21:45 |
+SynQ | it's time for WebGUI on squeeze :) | 21:45 |
@preaction | bonjourno | 21:45 |
+SynQ | without the WRE :) | 21:45 |
+SynQ | and 64 bits | 21:45 |
@preaction | nice | 21:46 |
+SynQ | I have downloaded the latest stable and am now using testEnvironment.pl to check the needed perl modules | 21:56 |
+SynQ | which is double work (of course) since webgui is already in http://packages.debian.org/source/sid/webgui | 21:57 |
+SynQ | good | 22:24 |
+SynQ | testEnvironment only reports a few modules that are not available in squeeze | 22:25 |
-!- perlbot [simcop2387@isuckatdomains.net] has quit [Ping timeout: 250 seconds] | 22:43 | |
-!- ampli [c0722a05@gateway/web/freenode/ip.192.114.42.5] has quit [Ping timeout: 252 seconds] | 22:47 | |
-!- perlbot [simcop2387@isuckatdomains.net] has joined #webgui | 22:53 | |
+SynQ | preaction: how bad are these... | 23:37 |
+SynQ | Checking for module JavaScript::Packer: Outdated - Current: 0.0401 / Required: 1.002 | 23:37 |
+SynQ | Checking for module CSS::Packer: Outdated - Current: 0.2 / Required: 1.000 | 23:38 |
+SynQ | Checking for module HTML::Packer: Outdated - Current: 0.4 / Required: 1.000 | 23:38 |
+SynQ | sorry for not using the pasteboard | 23:38 |
+SynQ | it are only three lines | 23:38 |
Haarg | old versions cause perl to run slow | 23:39 |
Haarg | they won't fail though | 23:39 |
+SynQ | good | 23:39 |
+SynQ | the 64bit-ness of the system will compensate for the slowness :P | 23:39 |
+SynQ | what about this 'error': Checking for module Test::Tester: You should load Test::Tester before Test::Builder (or anything that loads Test::Builder) at /usr/share/perl5/Test/Tester.pm line 9. | 23:40 |
Haarg | that shouldn't be a problem | 23:40 |
+SynQ | is Test::Tester only used for testing and not for 'production running'? | 23:40 |
Haarg | i need to ask perlDreamer about that though, i didn't find why we are requiring that module | 23:41 |
+SynQ | probably just for testing :) | 23:41 |
Haarg | it's only for testing, and during tests afaik it will be loaded properly | 23:41 |
+SynQ | good | 23:41 |
+SynQ | and last is this 'remark': WebGUI modules: Ambiguous use of -time resolved as -&time() at /usr/share/perl5/POE/Component/IKC/ClientLite.pm line 396. | 23:41 |
+SynQ | would that be a problem? | 23:41 |
@preaction | nope | 23:41 |
+SynQ | good | 23:41 |
+SynQ | in that case I can go to the next step | 23:42 |
+SynQ | I have all modules required by testEnvironment installed on my system | 23:42 |
@preaction | getting ready to dry-run an 8.0.0 upgrade for plainblack.com/webgui.org | 23:42 |
+SynQ | I only needed to 'hand compile' 8 of them manually to get it working under squeeze with no extra packages required | 23:43 |
+SynQ | and squeeze 64 bit that is | 23:43 |
+SynQ | outlook very good | 23:43 |
+SynQ | :P | 23:43 |
--- Day changed Wed Jun 22 2011 | ||
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui | 00:03 | |
CIA-82 | webgui: Doug Bell WebGUI8 * r0c5acb6 / (107 files in 24 dirs): (log message trimmed) | 00:05 |
CIA-82 | webgui: Merge commit 'v7.10.18' into 8 | 00:05 |
CIA-82 | webgui: Conflicts: | 00:05 |
CIA-82 | webgui: docs/gotcha.txt | 00:05 |
CIA-82 | webgui: docs/previousVersion.sql | 00:05 |
CIA-82 | webgui: docs/templates.txt | 00:05 |
CIA-82 | webgui: lib/WebGUI.pm | 00:05 |
CIA-82 | webgui: Paul Driver master * r3acaa46 / (docs/changelog/7.x.x.txt lib/WebGUI/AssetExportHtml.pm): fixed #12169: extras uploads symlink export - http://bit.ly/iZvxoN | 00:17 |
+SynQ | good | 01:43 |
+SynQ | and there you have it :) | 01:43 |
@preaction | i like that rsync gets the remote file list before checking if it can write the files locally | 01:48 |
+SynQ | preaction: I have done it | 01:51 |
scrottie | did you have the write protect tab in place on your floppy disc? | 01:52 |
+SynQ | look at this: http://host372.procolix.com | 01:52 |
+SynQ | that is a 64 bit debian squeeze installation | 01:52 |
+SynQ | with 7 hand compiled perl modules | 01:52 |
+SynQ | and a specific apache config | 01:53 |
+SynQ | but all you need is basically in debian squeeze | 01:53 |
+SynQ | :) | 01:53 |
scrottie | a non-threaded Perl...? | 01:53 |
+SynQ | This is perl, v5.10.1 (*) built for x86_64-linux-gnu-thread-multi | 01:54 |
* scrottie thumbs-downs | 01:54 | |
+SynQ | why? | 01:54 |
scrottie | threads are disabled by default in a perl build for good reasons. | 01:55 |
+SynQ | well it works | 01:55 |
scrottie | but for some reason I can't fathom, Linux distros ignore all of the warnings and build threaded perls | 01:55 |
+SynQ | ah | 01:56 |
+SynQ | they probably do that for 'good reasons' | 01:56 |
scrottie | no, they don't. | 01:56 |
Haarg | well, even though it is slower, threaded perl generally doesn't break | 01:56 |
Haarg | until you try to use the threads that is | 01:56 |
scrottie | Haarg, or Coro. | 01:56 |
+SynQ | I have a lot of faith in debian stable | 01:56 |
scrottie | Coro is fine with a threaded Perl as long as you don't use threads, but what happens is that perl gets linked against threaded versions of libraries in XS modules and those *do*, then Coro breaks. | 01:57 |
+SynQ | scrottie: can you give me a way to break perl using webgui? | 01:57 |
scrottie | haven't tried it with a threaded perl, but try corona'ing up a WebGUI 8. | 01:58 |
+SynQ | ah | 01:58 |
+SynQ | webgui 8 is very unstable | 01:58 |
scrottie | int his case, it isn't WebGUI's fault. | 01:58 |
scrottie | in this | 01:58 |
+SynQ | fine by me | 01:58 |
+SynQ | I'm looking for something that is a bit (way) more secure than the WRE | 01:59 |
scrottie | even in the best case, a threaded perl is significantly slower than a non-threaded one. | 01:59 |
+SynQ | with all it's outdated packages | 01:59 |
scrottie | yeah, that's a good idea. | 01:59 |
+SynQ | and I'm getting 64 bit for free this way | 01:59 |
scrottie | still, I wish Linux distros would knock it off with the threaded Perls. | 01:59 |
+SynQ | scrottie: you are probably better of hoping to win a lottery | 01:59 |
+SynQ | btw debian has 51 patches applied to the standard perl | 02:00 |
+SynQ | but I was trying to find a way to get WebGUI running on squeeze almost out of the box | 02:01 |
+SynQ | and I found it | 02:01 |
+SynQ | so I am happy | 02:01 |
scrottie | RedHat, Debian and so forth have done a lot of OS projects a lot of good by fixing things. those changes are generally rolled back in to the project. sometimes it doesn't make sense to. sometimes the patches are actually really dumb. | 02:02 |
scrottie | nice. good to hear. | 02:02 |
+SynQ | we will be implementing this 'non wre' environment tomorrow :) | 02:03 |
+SynQ | fully 64 bit with loadbalancers and mysql 5.1 | 02:03 |
-!- sbaur [~Adium@130.157.145.37] has quit [Quit: Leaving.] | 02:28 | |
-!- fokat [~lem@66.0.48.131] has quit [Ping timeout: 258 seconds] | 02:42 | |
CIA-82 | wgdev: Graham Knop master * r91d5939 / Changes : | 02:54 |
CIA-82 | wgdev: v0.1106210 | 02:54 |
CIA-82 | wgdev: - improved error messages for bad parameters | 02:54 |
CIA-82 | wgdev: - detect WebGUI root based on lib/WebGUI.pm instead of | 02:54 |
CIA-82 | wgdev: etc/WebGUI.conf.original | 02:54 |
CIA-82 | wgdev: - fixed build command (+6 more commits...) - http://bit.ly/jTzkRY | 02:54 |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Quit: Leaving.] | 05:44 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 06:48 | |
-!- mducharme-work1 [~nothing@206.188.121.4] has quit [Ping timeout: 258 seconds] | 08:11 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Quit: Ex-Chat] | 09:51 | |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui | 10:42 | |
-!- mode/#webgui [+v BartJol] by ChanServ | 10:42 | |
-!- ryuu_ro [~rory@D57D69B6.static.ziggozakelijk.nl] has joined #webgui | 11:37 | |
-!- waxhead [~pete@ppp121-45-193-185.lns20.cbr1.internode.on.net] has joined #webgui | 12:21 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 12:50 | |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Quit: Leaving.] | 13:07 | |
-!- waxhead [~pete@ppp121-45-193-185.lns20.cbr1.internode.on.net] has quit [Quit: Ex-Chat] | 13:48 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Quit: Leaving.] | 14:02 | |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui | 15:43 | |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Quit: Leaving.] | 15:56 | |
-!- carogray [~Caroline@108.96.156.164] has joined #webgui | 16:32 | |
SDuensin | Greetings. | 16:42 |
-!- webguiquestions [ad2ed001@gateway/web/freenode/ip.173.46.208.1] has joined #webgui | 17:07 | |
webguiquestions | Is there a built-in backup somewhere in WebGUI 7.x that allows for simple restore of the website if something goes wrong? | 17:13 |
SDuensin | Yes. The WRE runs backups of the database. | 17:17 |
SDuensin | I believe it's triggered by the block of cron stuff you add during installation. | 17:18 |
webguiquestions | I have it installed via the Ubuntu repo. :-/ | 17:21 |
webguiquestions | I'll have to look and see what it's doing if it's cron'd. | 17:21 |
SDuensin | Poke around in /etc/cron.d | 17:21 |
webguiquestions | WebGUI is basically entirely kept in an SQL database, yes? | 17:21 |
SDuensin | Uploaded files are kept in the filesystem. | 17:22 |
webguiquestions | So a backup is just dumping the database, restoring should be a matter of importing it? | 17:22 |
SDuensin | More or less, yes. Depends what caused the need to restore. | 17:22 |
-!- carogray [~Caroline@108.96.156.164] has quit [Quit: Leaving.] | 17:27 | |
-!- ryuu_ro_ [~rory@D57D69B6.static.ziggozakelijk.nl] has joined #webgui | 17:45 | |
-!- ryuu_ro_ [~rory@D57D69B6.static.ziggozakelijk.nl] has quit [Client Quit] | 17:45 | |
-!- ryuu_ro [~rory@D57D69B6.static.ziggozakelijk.nl] has quit [Ping timeout: 255 seconds] | 17:48 | |
-!- webguiquestions [ad2ed001@gateway/web/freenode/ip.173.46.208.1] has quit [Quit: Page closed] | 17:49 | |
-!- sbaur [~Adium@130.157.145.37] has joined #webgui | 17:58 | |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui | 18:10 | |
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has joined #webgui | 18:10 | |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has quit [Quit: Leaving.] | 19:17 | |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Ping timeout: 258 seconds] | 19:22 | |
@preaction | the WRE's backup.pl also includes the config files and the uploads directory | 19:32 |
--- Day changed Thu Jun 23 2011 | ||
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui | 00:05 | |
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has quit [Quit: Leaving.] | 00:57 | |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Quit: Leaving.] | 01:23 | |
-!- carogray [~Caroline@173-115-236-253.pools.spcsdns.net] has joined #webgui | 01:28 | |
-!- carogray [~Caroline@173-115-236-253.pools.spcsdns.net] has quit [Ping timeout: 250 seconds] | 01:39 | |
-!- carogray [~Caroline@173-114-156-141.pools.spcsdns.net] has joined #webgui | 01:43 | |
-!- sbaur [~Adium@130.157.145.37] has quit [Quit: Leaving.] | 02:29 | |
@preaction | SynQ: did you have any problems installing Javascript::Packer from cpan? | 02:43 |
@preaction | ah, i see. i'm using an outdated tar | 02:44 |
-!- carogray [~Caroline@173-114-156-141.pools.spcsdns.net] has quit [Quit: Leaving.] | 03:10 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 04:07 | |
-!- daviddelikat [~user@adsl-75-42-233-158.dsl.mdsnwi.sbcglobal.net] has joined #webgui | 04:16 | |
daviddelikat | so I'm trying to edit a tempalte | 04:53 |
daviddelikat | and no matter how many times I try a particular edit | 04:53 |
daviddelikat | it reverts back to the previous | 04:53 |
daviddelikat | content | 04:53 |
daviddelikat | I've made other changes | 04:54 |
daviddelikat | and they stick | 04:54 |
daviddelikat | but thisparticular change won't take.. | 04:54 |
daviddelikat | any ideas? | 04:54 |
Haarg | possibly that template has a revision with a revisionDate in the future | 04:54 |
Haarg | or check the logs | 04:54 |
daviddelikat | perhaps the one I just mae? | 04:54 |
daviddelikat | made? | 04:54 |
-!- knowmad [~knowmad@99-112-245-79.lightspeed.chrlnc.sbcglobal.net] has joined #webgui | 04:58 | |
knowmad | cheers everyone. i just upgraded to 7.9.31 (from 7.9.24) and am seeing an error in my webgui.log that i'm having trouble tracking down. | 04:58 |
knowmad | 2011/06/22 20:23:15 - ERROR - www.midwestheart.com.conf - WebGUI::Asset::newByDynamicClass[1998] - Couldn't find className for asset 'niYg8Da1sULTQnevZ8wYpw' | 04:59 |
knowmad | I tried searching for that assetId in the asset table to no avail | 04:59 |
knowmad | i don't see this error prior to the upgrade this evening | 04:59 |
knowmad | quite baffled | 04:59 |
Haarg | looks like it's part of some duplicate templates that were added | 05:02 |
Haarg | but apparently they are being used on your site | 05:02 |
knowmad | ok, that's a bummer for me; any idea on how i can track down what's making that call? and where it's getting that asset id? | 05:04 |
Haarg | well it's a style template | 05:06 |
knowmad | so it should be pretty obvious ;) | 05:07 |
knowmad | however, this is a large site to have to visit every page to find | 05:08 |
Haarg | select url from assetData inner join wobject using (assetId, revisionDate) where revisionDate = (select max(a.revisionDate) from assetData a where assetData.assetId=a.assetId) and styleTemplateId='niYg8Da1sULTQnevZ8wYpw'; | 05:08 |
Haarg | i think that should work | 05:09 |
Haarg | it's the underground style template. there should be another copy of it on your site. | 05:09 |
Haarg | so it should be pretty easy to update the pages to use the correct one | 05:10 |
Haarg | http://www.webgui.org/use/bugs/tracker/12075 do you know anything about this bug? | 05:11 |
Haarg | it's what introduced the duplicate templates | 05:11 |
Haarg | perlDreamer may be able to shed some light when he gets back | 05:12 |
knowmad | thanks Haarg | 05:22 |
knowmad | still getting an empty set back from that query | 05:22 |
knowmad | i'll submit a bug report for pD to follow-up with me | 05:24 |
Haarg | if it's helpful, here is the package that contains that asset http://haarg.org/temp/style-underground.wgpkg | 05:26 |
Haarg | it was deleted for a reason though so i'd say you should still follow up on it | 05:26 |
knowmad | I appreciate that link Haarg. I've posted a bug and will f/u with Colin on it. Seems like this issue may need to be addressed in the upgrade scripts. | 05:29 |
knowmad | hey haarg, do assets have styles? I can't find the styleTemplateId field in any of the asset tables. | 05:35 |
Haarg | it should be in wobject | 05:35 |
knowmad | i reduced your query down to just searching wobject and got zilch | 05:35 |
knowmad | this is a big site; is it possible that i had an asset with the id which overlaped the tempalte that was deleted? | 05:36 |
Haarg | that is pretty much impossible | 05:36 |
knowmad | is that an md5sum value? | 05:36 |
Haarg | yes | 05:37 |
knowmad | so, i don't see PageLayout in the wobject folder but yet it has a style template | 05:38 |
knowmad | how is that stored in the db? | 05:38 |
Haarg | page layouts are WebGUI::Asset::Wobject::Layout | 05:38 |
knowmad | oh, so simple | 05:39 |
Haarg | stored in assetData, wobject, Layout | 05:39 |
knowmad | well, damn that's just weird; i'll keep an eye on the logs | 05:40 |
Haarg | if you just do select assetId, revisionDate from wobject where styleTemplateId='niYg8Da1sULTQnevZ8wYpw'; | 05:40 |
knowmad | i'm starting to wonder if it was an artifact from the upgrade script | 05:40 |
Haarg | you don't get anything? | 05:40 |
Haarg | oh that could be | 05:41 |
Haarg | that would make sense | 05:41 |
knowmad | nada from that query | 05:41 |
knowmad | yeah, seems to be the only thing that's making any sense right now ;0 | 05:41 |
knowmad | ok, thanks for the assist | 05:41 |
Haarg | yeah that's almost certainly what it is | 05:42 |
knowmad | can i pick your brain on another error regarding workflows? (and i'll update the bug report with that conclusion) | 05:42 |
Haarg | the package was deleted from the upgrades, and an upgrade script was added to delete them | 05:42 |
Haarg | so if you jumped a couple versions, it never would have imported the assets, then the upgrade would have searched for them and caused that log message, even though it wasn't actually an error | 05:43 |
Haarg | i'll give it a shot | 05:43 |
knowmad | thanks, i'll add your comments to the report; so, on to workflows | 05:43 |
knowmad | i'm getting a Last State message of redirect | 05:43 |
knowmad | and an error in the logs -- 2011/06/22 20:28:45 - ERROR - spectre.conf - POE::Kernel::_dispatch_event[1100] - WORKFLOW: Response for www.midwestheart.org - Xqmgg0GTzcgcfAt0kgQFCQ was redirected. This should never happen if configured properly!!! | 05:44 |
knowmad | this is not an artefact as it keeps on coming | 05:44 |
knowmad | what would spectre be calling that would have caused it to get a redirect error? is that perhaps a dns issue? | 05:45 |
Haarg | possibly | 05:46 |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 05:46 | |
Haarg | try running curl http://www.midwestheart.org/?op=spectreStatus | 05:47 |
Haarg | on the server itself | 05:47 |
knowmad | sure enough a 301 redirect message | 05:47 |
Haarg | what is it redirecting to? | 05:47 |
knowmad | with a redirect to another domain owned by the client | 05:47 |
Haarg | hmm | 05:48 |
knowmad | this is a dns config issue on their side | 05:48 |
knowmad | although the site is in /etc/hosts | 05:48 |
Haarg | possibly | 05:48 |
Haarg | are there any rewrite rules or such? | 05:48 |
Haarg | one option is to set up spectre to connect to the modperl instance directly instead of modproxy | 05:49 |
knowmad | i will check after i alter /etc/hosts; i'm seeing several ip's for the same domain | 05:49 |
Haarg | usually you'd do that by changing the webguiPort in spectre.conf to 8081 | 05:49 |
knowmad | i don't see anything unusual in rewrite rules | 05:52 |
Haarg | try curl http://www.midwestheart.org:8081/?op=spectreStatus | 05:53 |
Haarg | if that works, i would recommend changing the port in spectre.conf | 05:53 |
knowmad | well that does present me with the website (i'm not privileged to see the actual op) | 05:54 |
knowmad | i presume you mean the webguiPort | 05:54 |
Haarg | yes | 05:54 |
knowmad | that's weird that port 80 is getting the redirect error... | 05:54 |
Haarg | i'm not sure. usually that's due to rewrite issues. | 05:55 |
knowmad | ahh, i found the sucker! | 05:56 |
knowmad | it looks like the rewrite is being caused by curl picking the default virtual host | 05:57 |
knowmad | which causes the other site's rewrite rules to run | 05:57 |
knowmad | this is only happening for 1 of my sites | 05:58 |
knowmad | the other is working fine | 05:58 |
knowmad | ahh, spectreIp in my webgui config is different; but that still doesn't explain curl's behavior | 05:59 |
knowmad | i would think it properly handled Name-based Virtual Hosts | 06:01 |
knowmad | it does; this is an apache/webgui config error that only showed up when the new site was added | 06:01 |
Haarg | odd | 06:03 |
knowmad | i was giving a specific ip in apache config that was different that what was in /etc/hosts | 06:03 |
knowmad | so when it resolved on the local server, it went to 127.0.0.1 which served the other site which did a redirect | 06:04 |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Quit: Leaving.] | 06:04 | |
Haarg | stuff like that is why i like to have spectre connecting directly to the modperl instance | 06:05 |
Haarg | so whatever you do with modproxy it won't effect the internal workings | 06:05 |
knowmad | i'm heading in that direction as now i have another issue; makes sense to bypass modproxy anyhow since it's of no help | 06:05 |
knowmad | ok, working | 06:10 |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Quit: Ex-Chat] | 07:00 | |
-!- knowmad [~knowmad@99-112-245-79.lightspeed.chrlnc.sbcglobal.net] has quit [Ping timeout: 240 seconds] | 07:50 | |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui | 09:01 | |
-!- andyiomoon1 [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui | 10:02 | |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Ping timeout: 255 seconds] | 10:05 | |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui | 10:56 | |
-!- mode/#webgui [+v BartJol] by ChanServ | 10:56 | |
-!- andyiomoon1 [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Ping timeout: 240 seconds] | 11:31 | |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui | 11:32 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 12:01 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Read error: Connection reset by peer] | 13:04 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui | 13:06 | |
-!- ryuu_ro [~rory@D57D69B6.static.ziggozakelijk.nl] has joined #webgui | 14:06 | |
-!- ryuu_ro [~rory@D57D69B6.static.ziggozakelijk.nl] has quit [Ping timeout: 244 seconds] | 14:33 | |
-!- ryuu_ro [~rory@D57D69B6.static.ziggozakelijk.nl] has joined #webgui | 14:34 | |
-!- knowmad [~knowmad@99-112-245-79.lightspeed.chrlnc.sbcglobal.net] has joined #webgui | 14:54 | |
-!- ryuu_ro [~rory@D57D69B6.static.ziggozakelijk.nl] has quit [Ping timeout: 255 seconds] | 15:11 | |
-!- ryuu_ro [~rory@D57D69B6.static.ziggozakelijk.nl] has joined #webgui | 15:12 | |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Quit: Leaving.] | 15:22 | |
-!- knowmad [~knowmad@99-112-245-79.lightspeed.chrlnc.sbcglobal.net] has left #webgui [] | 15:37 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 15:56 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Ping timeout: 276 seconds] | 16:19 | |
-!- webguiquestions [ad2ed001@gateway/web/freenode/ip.173.46.208.1] has joined #webgui | 16:27 | |
webguiquestions | Anyone have issues with editing page layout in Internet Explorer 8? | 16:28 |
webguiquestions | Firefox can drag articles around to different areas of the page layout, but IE doesn't seem to want to allow the drag. | 16:28 |
SDuensin | Greetings. | 16:42 |
webguiquestions | Hello. | 16:50 |
webguiquestions | Do you know of any issues editing the page layout using IE8? | 16:50 |
SDuensin | IE? What's that? :-P | 16:50 |
webguiquestions | Yeah, I know the feeling. | 16:51 |
webguiquestions | Just odd that I can drag articles around in firefox to rearrange them, but not in IE 8. | 16:51 |
SDuensin | Can't say I've ever tried. | 16:53 |
-!- khenn [aba1a00a@gateway/web/freenode/ip.171.161.160.10] has joined #webgui | 17:21 | |
-!- mode/#webgui [+o khenn] by ChanServ | 17:21 | |
@khenn | morning! | 17:22 |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui | 17:26 | |
-!- ryuu_ro_ [~rory@D57D69B6.static.ziggozakelijk.nl] has joined #webgui | 17:35 | |
-!- ryuu_ro_ [~rory@D57D69B6.static.ziggozakelijk.nl] has quit [Client Quit] | 17:35 | |
-!- ryuu_ro [~rory@D57D69B6.static.ziggozakelijk.nl] has quit [Ping timeout: 258 seconds] | 17:39 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Read error: Connection reset by peer] | 17:44 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui | 17:45 | |
-!- sbaur [~Adium@130.157.145.37] has joined #webgui | 17:53 | |
-!- ryuu_ro [~rory@53562A76.cm-6-7a.dynamic.ziggo.nl] has joined #webgui | 18:12 | |
-!- ryuu_ro [~rory@53562A76.cm-6-7a.dynamic.ziggo.nl] has quit [Client Quit] | 18:12 | |
-!- webguiquestions [ad2ed001@gateway/web/freenode/ip.173.46.208.1] has quit [] | 18:36 | |
scrottie | I got an email from ampli. He went through the debugging process, figured out it was a Moose problem, downgraded Moose, and got his WebGUI8 to work. Huh. | 18:48 |
@preaction | weird | 18:51 |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Ping timeout: 258 seconds] | 19:21 | |
-!- jimX11 [~jjm@n128-227-34-156.xlate.ufl.edu] has quit [Remote host closed the connection] | 20:07 | |
@preaction | It works and now other people can see it! http://www2.webgui.org/ | 20:33 |
@khenn | hey preaction: does the latest wre build out on git work correctly with 64 bit mac? | 20:36 |
@khenn | I know there were issues a few months ago | 20:36 |
@khenn | haven't really tried it since | 20:36 |
@khenn | I just keep commenting out the stuff that doesnt' work | 20:36 |
@preaction | those issues were fixed, and then they happened again, so i don't even know anymore | 20:36 |
@khenn | alright | 20:37 |
@khenn | maybe I should just manually build the stuff | 20:37 |
@khenn | meh | 20:37 |
@preaction | macports works, i can give you a package list for macports to do it | 20:37 |
@khenn | that would be cool | 20:37 |
@khenn | I think I have 2 different perls installed so hopefully this won't install a 3rd | 20:37 |
@preaction | oh, it will | 20:38 |
@khenn | heh | 20:38 |
@khenn | yeah I tried to upgrade to perl 5.12 and wound up just installing a new version | 20:38 |
@khenn | so now /opt/perl has 5.10 | 20:38 |
@preaction | https://gist.github.com/1043079 <- the whole thing | 20:38 |
@khenn | and 5.12 is installed somewhere else | 20:38 |
@khenn | I'll have to get it later from you | 20:39 |
@khenn | skype it to me | 20:39 |
@khenn | I'm not online but I should get it when I get home | 20:39 |
@khenn | forgot my power cord today =( | 20:39 |
@khenn | I think I'm gonna make extjs versions of a few of the assets and throw them out in the bazaar | 20:39 |
@khenn | need soemthing to do for 9 hrs a week on the train | 20:40 |
@preaction | why not AlloyUI instead? | 20:41 |
@khenn | cause I like extjs ... a lot | 20:42 |
@preaction | not saying Ext is evil anymore, now that they're dual-licensing | 20:42 |
@khenn | they are GPL | 20:42 |
@khenn | I read the license | 20:42 |
@preaction | yeah, like mysql. if you want a closed license you can, but you're not required to | 20:42 |
@khenn | as long as the back end is open source you are free to use it | 20:42 |
@khenn | soon as you close source the back end then you have to license it | 20:43 |
@preaction | right, same terms as mysql | 20:43 |
@khenn | yeah I've been using it every day | 20:43 |
@khenn | and it's pretty amazing how much you can do with it in a short amount of time | 20:43 |
@preaction | though really it's Distribution. i could host ExtJS, but if I expected to distribute it to someone else for them to use without being able to modify the source, i need to purchase a license | 20:44 |
@khenn | WG could distribute it sans license | 20:45 |
@khenn | if someone modified WG, they would be required to license it | 20:45 |
@khenn | etc | 20:45 |
@khenn | well modified and closed sourced it | 20:45 |
@khenn | otherwise it wouldn't matter how the site was used | 20:46 |
@preaction | modified and distributed only. GPL's stuff doesn't apply until you give the code to someone else | 20:46 |
@preaction | so you can modify it for yourself and never release those modifications, but if you give your modified version to someone else, you have to give them the GPL | 20:46 |
@khenn | ah | 20:46 |
@khenn | well WG is GPL right? | 20:46 |
@preaction | right | 20:46 |
@khenn | ok | 20:47 |
@preaction | but plainblack, since it owns the copyright, can relicense as sees fit. however if someone else modifies and distributes, they are required to provide the modified source under the same license | 20:47 |
@khenn | I've been messing around with something else too: | 20:47 |
@khenn | http://www.amcharts.com | 20:47 |
@khenn | really cool | 20:47 |
@khenn | yeah | 20:47 |
@khenn | so I was thinking about creating a template for poll that used extjs and amcharts somehow | 20:48 |
@khenn | and then throwing it up on the bazaar | 20:48 |
@khenn | ext4 has it's own chart stuff too | 20:48 |
@khenn | but amcharts is way cooler | 20:48 |
@preaction | nice | 20:48 |
@khenn | we'll see how it goes | 20:49 |
@khenn | probably wind up having to extend Poll and add some ajax stuff | 20:49 |
@khenn | but who knows | 20:49 |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has quit [Quit: Leaving.] | 20:49 | |
@preaction | which is no problem, many people keep telling me we need to provide more JSON services from webgui apps | 20:49 |
@khenn | too bad there's no WUC this year | 20:50 |
@preaction | yeah | 20:51 |
@khenn | well too bad for me | 20:51 |
@khenn | I'm sure you guys are glad you don't have to do all the prep | 20:51 |
@preaction | there is that | 20:52 |
CIA-82 | webgui: Doug Bell WebGUI8 * r7f47927 / lib/WebGUI/Definition/Meta/Class.pm : use a default label instead of requiring one - http://bit.ly/l7H6Oz | 21:03 |
@preaction | i can't see it: https://gist.github.com/013bf7d612cb3aac230e <- I get an error syntax error at Automat/Site.pm line 30, near "has customer" | 21:58 |
scrottie | I commented out the 'use Automat::...' lines, added -I/data/WebGUI/lib, and perl -c works fine on it | 22:28 |
scrottie | hrm, maybe I can uncomment those | 22:28 |
scrottie | nope. I don't have Automat. | 22:28 |
scrottie | hexdump -C it? have a control character in there? | 22:30 |
+SynQ | hi there | 22:44 |
+SynQ | I'm in the process of replacing the apache modproxy by an nginx server | 22:45 |
+SynQ | there is something that is not possible with nginx and that is 'test if a .wgaccess file is available' | 22:45 |
+SynQ | I understand that it would be nice to have files selectively under permissioncontrol of webgui, but that is a bit odd | 22:46 |
+SynQ | either you want all files under permission control of webgui | 22:46 |
+SynQ | or you don't want any | 22:46 |
+SynQ | if you do need a mix you would probably want to store all those files that have to be under permission control in /uploads/private (for example) so that you can simply tell nginx to serve out everything from /uploads exept that which is in /uploads/private | 22:48 |
+SynQ | does that make sense? | 22:48 |
+SynQ | it will work better under apache modproxy too | 22:48 |
+SynQ | since it is backward to do a file lookup of .wgaccess to speed things up | 22:48 |
+SynQ | it is that needed file access that slows the thing right down again | 22:49 |
Haarg | no | 22:49 |
+SynQ | if you do it with a /private directory you don't need that | 22:49 |
Haarg | the thing that slows it down is having the file served by modperl | 22:49 |
+SynQ | that slows it down too | 22:49 |
Haarg | the file check for .wgaccess is pretty tiny | 22:50 |
+SynQ | but if you eleminate that in a suboptimal way | 22:50 |
Haarg | i agree that the thing in the modproxy rules is ugly | 22:50 |
+SynQ | file checking .wgaccess is pretty tiny for a small site maybe | 22:50 |
+SynQ | for huge sites it is just as bad as having webgui parse it | 22:50 |
Haarg | really? | 22:50 |
Haarg | have you tested that? | 22:50 |
+SynQ | no, but I can argue it fairly easy | 22:51 |
Haarg | because it's one extra file stat per file access | 22:51 |
+SynQ | one? | 22:51 |
+SynQ | it is 2 to 3 extra stats for all files requested by modproxy | 22:51 |
+SynQ | if you turn that rule on | 22:51 |
+SynQ | the more loaded your filesystem is the worse it gets | 22:52 |
+SynQ | while if you solve it by putting all private files in a private directory you don't need any extra file access | 22:52 |
+SynQ | you can just serve out anything that is under /uploads | 22:52 |
+SynQ | what adds to the delay even | 22:53 |
Haarg | how does it add more than one file stat? | 22:53 |
+SynQ | is that apache can never trust that there won't be a .wgaccess file the next time that same file is requested | 22:53 |
+SynQ | whereas if you solve it using the directory approach it can just be served from filesystem cache | 22:54 |
+SynQ | which is RAM speed of course | 22:54 |
+SynQ | how much work would it be to move all 'private' files to a /uploads/private directory structure? | 22:54 |
+SynQ | and get rid of the .wgaccess all together? | 22:55 |
+SynQ | that even speeds up serving files from the webgui parsed bit too | 22:55 |
+SynQ | since I believe right now access rights are stored in that wgaccess file is it not? | 22:55 |
+SynQ | btw it is fairly easy to benchmark the difference between using the .wgaccess file method and the private dir method | 22:57 |
+SynQ | just uncomment those lines from the modproxy conf and use yslow net to see the difference | 22:57 |
Haarg | so you are proposing that the urls for the files should change depending on if they are private or not? | 22:58 |
+SynQ | it only gives you the difference for files not under permission control of webgui but it will still give a good indication | 22:58 |
+SynQ | I am proposing that the urls for the 'real files' should change depending on if they are private or not yes | 22:59 |
+SynQ | preferably by using something like /uploads/private | 22:59 |
Haarg | one issue with that is places where the urls end up embedded in pages directly. which is generally a terrible idea. | 23:01 |
Haarg | but it's probably a good idea | 23:01 |
Haarg | i still don't see how it's more than one extra file stat for the .wgaccess check | 23:02 |
+SynQ | uhm | 23:02 |
+SynQ | well, even if it's one extra file stat per file | 23:02 |
+SynQ | it is one extra file stat per file every time a file is requested | 23:03 |
+SynQ | lets take for example www.webgui.org as a site | 23:03 |
+SynQ | that is about 20 extra stats for each page requested | 23:04 |
Haarg | also, webgui 8 will add x-sendfile headers, which will speed up requests that need to go to the perl server | 23:04 |
+SynQ | that will wear out the number of IOPS on your IO subsystem fairly quick | 23:04 |
+SynQ | ah, but optimization in other places doesn't mean you have to leave a chance to optimize elswhere unused | 23:05 |
Haarg | as i said, it's probably a good idea | 23:05 |
+SynQ | ok :) | 23:05 |
+SynQ | how much work do you reckon it is to make that happen? | 23:05 |
+SynQ | raw estimate | 23:05 |
Haarg | i don't really know. the way storage is managed would make it kind of tricky. | 23:07 |
+SynQ | tricky in what way? | 23:07 |
Haarg | the permissions handling in storage is kind of a bolted on piece to the rest of it, so having it directly part of the path finding code would take a bit of reengineering | 23:08 |
+SynQ | ah | 23:08 |
+SynQ | sounds like a good plan to me :) | 23:08 |
+SynQ | but that means it would take a fair bit of work to make it work too | 23:09 |
+SynQ | days more than hours | 23:09 |
Haarg | most likely yeah. i'm terrible at estimating things like that though. | 23:10 |
+SynQ | hehe | 23:10 |
+SynQ | the thing is in that matter that most of the time you have no idea how much time it is going to cost, because it is always 'completly new' what you are going to do | 23:10 |
Haarg | the storage code could use some help in a lot of places. it does tons of file stats and the way it gets used in a lot of places end up doing directory searches. | 23:16 |
+SynQ | oh my | 23:22 |
+SynQ | in webgui 8 too? | 23:22 |
Haarg | storage works almost exactly the same in 8 | 23:23 |
ckotil | Has anyone docoumented passive analytics examples? none of my buckets seem to match anything | 23:26 |
ckotil | maybe im missing something. export raw logs is empty. | 23:28 |
ckotil | just brainstorming here, but custom metadata, aka content profiling might be useful to expose to PA | 23:29 |
@preaction | i thought those two subsystems were together | 23:38 |
+SynQ | compare this http://2009.procolix.com to this http://host372.procolix.com | 23:43 |
+SynQ | that is exactly the same site | 23:43 |
+SynQ | the 2009 is running on a cluster of machines using wre and modproxy apache | 23:44 |
+SynQ | host372 is running on a single machine with nginx as modproxy | 23:44 |
+SynQ | the difference using yslow in my browser at home is 2.1s load time to 1.4s load time | 23:45 |
+SynQ | that is a huge difference | 23:46 |
+SynQ | and I have not optimized the 'out of the box' sql 5.1 of the second yet | 23:46 |
Haarg | SynQ, not tested at all, but it seems like something like http://pastebin.com/LXcexJsa should be the nginx equivalent of the modproxy rewrites for .wgaccess | 23:50 |
Haarg | and i'm certainly not an nginx expert | 23:50 |
+SynQ | let's see | 23:50 |
Haarg | probably need something else in there actually, telling it to go directly to the file system if that doesn't match | 23:52 |
+SynQ | nope | 23:52 |
+SynQ | that is the default | 23:52 |
+SynQ | if the 'if' doesn't match | 23:52 |
+SynQ | then it goes to 'local files' | 23:52 |
Haarg | depending on how you have the proxy rules for the rest of the urls i would think | 23:53 |
+SynQ | if you have any other statements in that block yes | 23:53 |
+SynQ | I have added that | 23:57 |
+SynQ | and on my test server I can see no difference | 23:57 |
+SynQ | but that makes sense | 23:57 |
+SynQ | since it is not 'used' by anyone else but me | 23:57 |
+SynQ | this could be tested quite easily however | 23:58 |
+SynQ | by just getting the same file over and over again | 23:58 |
--- Day changed Fri Jun 24 2011 | ||
@preaction | scrottie: it wasn't that, but if I move the use Moose; use WebGUI::Definition::Crud; lines to after loading any Automat:: lines, I get a bunch of "subroutine redefined" messages but it compiles okay | 00:01 |
@preaction | more curiously, it only fails when one Automat module loads another Automat module that eventually loads the first module again | 00:01 |
Haarg | how are you trying to load it? | 00:02 |
Haarg | by the filename or with -m ? | 00:02 |
@preaction | inside the server it's using "use Whatever" | 00:02 |
Haarg | any time you have circular dependancies though you can run into problems with moose stuff like around | 00:03 |
Haarg | which is why a bunch of things in webgui were switched to require instead of use | 00:03 |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui | 00:04 | |
scrottie | something else with the same package name is doing no Moose? | 00:10 |
@preaction | i checked for the same package name, nothing i could see | 00:11 |
scrottie | there's a module that detects circual uses... don't remember what it's called... I wonder if using that, identifying such a case, and fixing it would make this go away | 00:33 |
@preaction | i tried just doing that manually to little effect | 00:58 |
@preaction | new rule: Workflows should never Wait for anything ever. If it can't do something, it errors and/or skips. If it needs user input, it stops and a new workflow gets started after the user interaction (with scheduled tasks to remind or clean up) | 00:59 |
@preaction | comments or concerns? | 00:59 |
Haarg | seems reasonable | 01:04 |
Haarg | although there are other ways that could be done | 01:04 |
Haarg | like, waiting would be the equivalent to not existing as far as spectre or whatever else cared | 01:05 |
Haarg | basically make it so there could be unlimited idle workflows without causing problems | 01:06 |
@preaction | so then it'd be the UI's job to tell the workflow it can re-start itself | 01:07 |
Haarg | which is similar to what you proposed. it's just a difference between maintaining the same workflow instance or whatever throughout. | 01:09 |
Haarg | not sure if one way would work better | 01:09 |
@preaction | actually i like your way, then i can see what workflows are out on the site and what they are doing in one place instead of having to look in multiple places | 01:10 |
@preaction | both are valid options, at least, but the second one provides more benefit for the user | 01:10 |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Quit: Leaving.] | 01:14 | |
Haarg | if you haven't seen it yet, you might want Plack::Middleware::SizeLimit for the wg8 wre | 01:25 |
@preaction | ah, indeed | 01:26 |
CIA-82 | webgui: Doug Bell WebGUI8 * rb1660fe / lib/WebGUI/Crud.pm : document that tableKey is not allowed to have fieldType - http://bit.ly/kxdtgT | 01:36 |
CIA-82 | webgui: Doug Bell WebGUI8 * re8d1fa0 / lib/WebGUI/Session/Request.pm : allow SSLPROXY header again - http://bit.ly/mIdcXi | 01:36 |
Haarg | why SSLPROXY again? | 01:37 |
@preaction | what's the alternative? | 01:39 |
Haarg | use Plack::Middleware::ReverseProxy | 01:39 |
@preaction | SSLPROXY is still what the documentation in the code says | 01:39 |
Haarg | for a real deployment | 01:39 |
Haarg | it handles the X-Forwarded-Host headers as well | 01:40 |
Haarg | then set the header X-Forwarded-HTTPS or X-Forwarded-Proto | 01:41 |
Haarg | that module needs better documentation, but it's better than inventing out own standard yet again | 01:43 |
@preaction | true dat | 01:45 |
@preaction | and works great too | 01:45 |
CIA-82 | webgui: Doug Bell WebGUI8 * r199e224 / lib/WebGUI/Session/Request.pm : | 01:47 |
CIA-82 | webgui: Revert "allow SSLPROXY header again" | 01:47 |
CIA-82 | webgui: This reverts commit e8d1fa0056a3c8f0498513f0a578740e7328f919. | 01:47 |
CIA-82 | webgui: SSLPROXY should be handled by using Plack::Middleware::ReverseProxy and | 01:47 |
CIA-82 | webgui: setting the X-Forwarded-Proto http header to "https" - http://bit.ly/iYXgsh | 01:47 |
-!- sbaur [~Adium@130.157.145.37] has quit [Quit: Leaving.] | 02:24 | |
@preaction | is there any reason why a pseudo-asset, created with newByPropertyHashRef (or just new()) could not have a parent? | 03:07 |
@preaction | i'm trying to fix www_add being its own page (and requiring overriding for custom add/edit forms), and i want the edit template to be a method/property so that www_add and www_edit can both call it | 03:08 |
@preaction | so to have a custom edit template, you just override the editTemplateId property or whatever | 03:08 |
@preaction | but it might have to grab a templateId from a parent | 03:08 |
@preaction | nevermind, i'm being stupid: it should be a class method that accepts the parent asset as a property | 03:12 |
daviddelikat | now I remember why I never develop using DBIx... | 03:20 |
daviddelikat | it can't handle anything more complex than a basic select | 03:20 |
@preaction | what do you need to do? | 03:32 |
scrottie | someone needs to make a domain specific language as a shorthand for SQL::Statement datastructures. rather than building these big hashes of hashes, you'd just write statements in this little purpose specific language. I know, let's call that language "SQL". | 03:38 |
* scrottie sighs | 03:38 | |
@preaction | apparently you can run arbitrary SQL through a custom class: http://bit.ly/l2JuEG | 03:46 |
@preaction | though why you can't just run arbitrary SQL and, as long as the ID is visible, instantiate the right object is unknown | 03:47 |
scrottie | aggregates, pulling fields from subselects, and other things don't map to objects well. that would be fine if you got exactly one record from one table back but it quickly breaks down. | 03:55 |
scrottie | some computer manufacturer needs to re-introduce core memory. that's the real problem. | 03:55 |
scrottie | everyone is using relational database systems as non-volitile RAM. that's a terrible abstraction that breeds more terrible abstractions. some simple NV RAM in machines along with NUMA buses would solve this and a host of other problems. | 03:56 |
daviddelikat | there is a way to run arbitrary sql | 03:58 |
daviddelikat | $schema->storage->dbh_do( sub { ... $dbh->... } | 04:00 |
daviddelikat | but I would have to write all the code to build the query... | 04:01 |
daviddelikat | I'm not sure which would take longer though... | 04:01 |
daviddelikat | building the query or fixing this... | 04:01 |
daviddelikat | I think I have it now though | 04:02 |
scrottie | you can create custom resultset objects that run SQL and have the fields of your choice | 04:18 |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Quit: Leaving.] | 04:24 | |
daviddelikat | what I need is a random subset of the values in a specific field | 04:25 |
daviddelikat | governed by values ina different set | 04:25 |
scrottie | my programming projects create more change in the Ruby community than the Perl community. | 04:30 |
-!- khenn [aba1a00a@gateway/web/freenode/ip.171.161.160.10] has quit [Ping timeout: 252 seconds] | 05:34 | |
daviddelikat | preaction: are you still on? | 05:49 |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 07:04 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Quit: Leaving.] | 08:00 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Quit: Ex-Chat] | 09:40 | |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui | 10:27 | |
-!- xootom [~xootom@cpc3-shef10-2-0-cust339.barn.cable.virginmedia.com] has joined #webgui | 12:02 | |
-!- Radix_ [quasselcor@203.161.71.161.static.amnet.net.au] has quit [Remote host closed the connection] | 12:56 | |
-!- Radix-wrk [quasselcor@203.161.71.161.static.amnet.net.au] has joined #webgui | 12:56 | |
-!- mode/#webgui [+v Radix-wrk] by ChanServ | 12:56 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 13:05 | |
SDuensin | FrIdAy! | 15:49 |
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui | 15:56 | |
-!- mode/#webgui [+o bopbop] by ChanServ | 15:56 | |
xootom | :-P | 15:56 |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Quit: Leaving.] | 16:42 | |
-!- sbaur [~Adium@130.157.145.37] has joined #webgui | 17:59 | |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui | 18:25 | |
-!- xootom [~xootom@cpc3-shef10-2-0-cust339.barn.cable.virginmedia.com] has quit [Ping timeout: 255 seconds] | 19:05 | |
-!- xootom [~xootom@cpc3-shef10-2-0-cust339.barn.cable.virginmedia.com] has joined #webgui | 19:12 | |
-!- xootom [~xootom@cpc3-shef10-2-0-cust339.barn.cable.virginmedia.com] has quit [Ping timeout: 255 seconds] | 19:20 | |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Read error: Operation timed out] | 19:29 | |
-!- mducharme-work [~nothing@206.188.121.4] has joined #webgui | 20:50 | |
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui | 21:03 | |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 21:03 | |
+perlDreamer | preaction, found and fixed a bug in the helpdesk, and merged it into both the webgui7 and -8 branches | 21:03 |
+perlDreamer | I'll try to remember to do that to both branches, but if you see me miss one, please holler | 21:03 |
@preaction | ok | 21:28 |
-!- carogray1 [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 21:41 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Read error: Connection reset by peer] | 21:41 | |
ckotil | ah, had to have PA enabled before it starts logging and then you can run analysis. | 21:51 |
ckotil | are there plans to add built in parsing of the PA data? or release it as addons to the community? | 21:51 |
-!- advancedalarmtec [~advanceda@adsl-70-128-52-133.dsl.ltrkar.swbell.net] has joined #webgui | 21:56 | |
advancedalarmtec | I would like to move my website from WRE Version 0.9.3 WebGUI Version 7.8.24 to a different machine running WRE Version 0.9.3 WebGUI Version 7.9.31 is there already documentation out there on how to do this? I have tried looking but have found none on my own | 22:01 |
@preaction | ckotil: not really. as far as i know, not many are using passive analytics. though i do have a desire to integrate a proper web stats package of some kind. a nice modular OO stats package would be a great project | 22:04 |
@preaction | advancedalarmtec: you should be able to move the db/uploads to the other box and then run the upgrade, provided 7.8.24 is the last 7.8 version | 22:05 |
ckotil | preaction: cool | 22:08 |
@preaction | i just haven't found a proper one. i think people are bored with web stats | 22:08 |
ckotil | I just want to be able to see what parts of the site get the most traffic | 22:09 |
@preaction | awstats doesn't get what you need? | 22:09 |
ckotil | im not sure. im not feeding all the logs to it tho | 22:10 |
ckotil | ill play with awstats before putting time into PA | 22:10 |
@preaction | also Google Analytics, but i've never used that | 22:12 |
ckotil | awstats will do most of what i want | 22:18 |
ckotil | But i more analytics. e.g. what metadata tag is most popular? | 22:19 |
ckotil | i want more. need more. etc... | 22:19 |
ckotil | it would help identify the content that is of no use. | 22:20 |
@preaction | right, that's what PA is for | 22:21 |
@preaction | though google analytics may help as well, i don't know if there's a way to pass in what WebGUI knows about the objects | 22:21 |
ckotil | ya | 22:22 |
+perlDreamer | passive analytics != passive analysis | 22:38 |
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has quit [Quit: bye] | 22:44 | |
ckotil | i just noticed you can drag and drop images directly to TinyMCE. But they become encoded to data:image/jpegbase64, blahblahblah. | 22:54 |
ckotil | anything on the road map to handle this more elegantly? create a new image/file asset beneatch the asset you're editing? | 22:55 |
+perlDreamer | if you go through the WebGUI Image screen, then it creates an asset for you in the media directory | 23:03 |
ckotil | yeah, im familiar with that. | 23:04 |
ckotil | too many clicks tho | 23:04 |
ckotil | and it's limiting to keep every image in media. | 23:04 |
ckotil | ive been working on a hack that lets you add an image anywhere, and allow you to add metadata while uploading new images. | 23:04 |
+perlDreamer | sounds cool | 23:04 |
ckotil | it's useful for our documentation system | 23:04 |
+perlDreamer | I just found a website where 3 different assets had the same URL | 23:04 |
ckotil | sounds like a problem | 23:05 |
+perlDreamer | yeah, it is | 23:08 |
ckotil | how does that play out? | 23:08 |
ckotil | 2 are just never displayed? RoundRobin? | 23:08 |
+perlDreamer | well, you get the content for each asset | 23:08 |
+perlDreamer | since that's done via assetId | 23:08 |
ckotil | ah | 23:08 |
+perlDreamer | but if you try to edit them, then you the first one | 23:08 |
+perlDreamer | so, it's a way of creating permanently read-only assets | 23:09 |
+perlDreamer | kind of cool, but I have no idea how it was done | 23:09 |
+perlDreamer | since WebGUI is supposed to check for unique asset urls | 23:09 |
CIA-82 | webgui: Doug Bell WebGUI8 * r9a90ad6 / (lib/WebGUI/Asset/Template.pm t/Asset/Template.t): add forms to templates to work directly with FormBuilder objects - http://bit.ly/jyDDMh | 23:12 |
CIA-82 | webgui: Doug Bell WebGUI8 * rf797429 / lib/WebGUI/Asset/Template.pm : clarify docs - http://bit.ly/kBUjWQ | 23:12 |
-!- advancedalarmtec [~advanceda@adsl-70-128-52-133.dsl.ltrkar.swbell.net] has quit [] | 23:14 | |
@preaction | i have a problem with the www_add/www_edit changes with WebGUI 8: every asset currently only overrides www_edit to display a custom templated form to the user (Post, Thread, Event, GalleryAlbum, Photo) | 23:15 |
@preaction | I think I can fix this by refactoring asset to add some methods to override, like so: https://gist.github.com/649bce29e3153a22aa12 | 23:16 |
@preaction | so to fix my problem, i'd override getEditTemplate and getEditTemplateId in those classes to make sure the right template and parameters were given to www_edit (www_edit would not require overriding anymore) | 23:16 |
@preaction | in addition, this gives me the bonus of being able to easily change www_edit's template, and a rich set of default variables that I can use for all cases | 23:17 |
+perlDreamer | do we have a default edit template for other assets? | 23:18 |
@preaction | yes | 23:18 |
@preaction | now | 23:18 |
@preaction | all assets have an edit template now | 23:18 |
+perlDreamer | is it exposed to the UI? | 23:18 |
@preaction | not exactly | 23:18 |
+perlDreamer | cuz, if it's exposed to the UI, there's no need to override it | 23:18 |
+perlDreamer | since the user can pick which one should be used ;) | 23:19 |
@preaction | i think it's a hard-coded ID at the moment, with the future anticipation of putting it in Settings or Config (but never in the asset's properties) | 23:19 |
+perlDreamer | it's starting to act exactly like a view template | 23:19 |
@preaction | except it's not in the asset properties (choose an edit template that doesn't let you change the edit template and you're screwed) | 23:20 |
* perlDreamer reiterates, users, guns, toes/fingers | 23:20 | |
+perlDreamer | but otherwise, you're right, we need an override point that can be shared by www_add and www_edit, and getEditTemplateId is the right way to do it | 23:21 |
@preaction | getEditTemplate is also necessary though, because there are more vars that need adding for those assets, the ones we currently add | 23:22 |
@preaction | we should change to the normal ones, but that's everybody else too | 23:23 |
+perlDreamer | you still keeping track of all these changes in docs/migration.txt ? | 23:24 |
+perlDreamer | preaction: do you know any ruby? | 23:24 |
@preaction | not much, why | 23:25 |
+perlDreamer | there's a git book available as a PDF, and I'd like to try making it into an epub | 23:25 |
+perlDreamer | but I can't do any building at all without installing lots of ruby gems | 23:25 |
--- Day changed Sat Jun 25 2011 | ||
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui | 01:05 | |
-!- sbaur [~Adium@130.157.145.37] has quit [Quit: Leaving.] | 02:38 | |
-!- ampli [c0722a05@gateway/web/freenode/ip.192.114.42.5] has joined #webgui | 02:47 | |
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has quit [Quit: Leaving.] | 03:07 | |
-!- advancedalarmtec [~advanceda@99-101-77-213.lightspeed.ltrkar.sbcglobal.net] has joined #webgui | 06:00 | |
-!- kaare_ [~kaare@95.209.218.176] has joined #webgui | 08:12 | |
-!- andyiomoon1 [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui | 09:58 | |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Ping timeout: 246 seconds] | 09:59 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui | 11:07 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Ping timeout: 260 seconds] | 13:51 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui | 13:56 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Quit: Leaving.] | 14:06 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui | 14:06 | |
-!- carogray1 [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Ping timeout: 255 seconds] | 15:26 | |
-!- andyiomoon1 [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Quit: Leaving.] | 16:32 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 18:42 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Quit: Ex-Chat] | 19:51 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 20:44 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 22:10 | |
-!- kaare_ [~kaare@95.209.218.176] has quit [Ping timeout: 250 seconds] | 23:40 | |
+SynQ | hmm | 23:51 |
+SynQ | is there a preaction around? | 23:51 |
+SynQ | I'm struggling with CHI :) | 23:51 |
--- Day changed Sun Jun 26 2011 | ||
+SynQ | no caching: 27 req/s - db caching: 84 req/s - CHI FastMmap caching: 80 req/s - WebGUI filecaching: 87 req/s (last with errors) | 00:45 |
+SynQ | I'd love to test with memcached | 00:45 |
+SynQ | but I didn't get that working yet | 00:45 |
+SynQ | btw I'm running a 60 second siege 2.66 with 50 concurrent users onto a WebGUI 7.9.31 running on a 64bit debian vm with nginx as proxy and 64bit apache, modperl and mysql 5.1 | 00:47 |
+SynQ | when I turn on memcached logging as described in http://www.webgui.org/forums/dev/chi----faster-caching-for-webgui-7 | 00:52 |
-!- daviddelikat [~user@adsl-75-42-233-158.dsl.mdsnwi.sbcglobal.net] has left #webgui [] | 00:55 | |
+SynQ | instead of the expected page I get a 404 on the main page | 00:57 |
+SynQ | looking further I can see that other pages do not have this problem | 00:57 |
+SynQ | the main page has a 'shortcut' on it | 00:58 |
+SynQ | and that 'cannot be found' when I use the memcached caching method | 00:58 |
+SynQ | perhaps that is a bug | 00:58 |
-!- daviddelikat [~user@adsl-75-42-233-158.dsl.mdsnwi.sbcglobal.net] has joined #webgui | 00:59 | |
+SynQ | what does this mean: An error was encountered while processing your request. | 01:03 |
+SynQ | :P | 01:03 |
+SynQ | if I let loose my siege on a page that is working | 01:19 |
+SynQ | it gives me 32 req/s | 01:19 |
+SynQ | all and all I guess I should just stick with database caching for now | 01:19 |
+SynQ | I guess that CHI caching method is not really 'stable' :) | 01:25 |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui | 01:39 | |
-!- kaare_ [~kaare@79.138.167.35.bredband.oister.dk] has joined #webgui | 07:22 | |
+SynQ | tuning the mysql can bring me up to 90 req/s | 12:22 |
+SynQ | not bad for a 2GB server | 12:22 |
+SynQ | at least there is almost no disk access which is good :) | 12:24 |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Quit: Leaving.] | 14:53 | |
-!- SynQ [~koen@f70096.upc-f.chello.nl] has quit [Ping timeout: 244 seconds] | 15:21 | |
-!- SynQ [~koen@f70096.upc-f.chello.nl] has joined #webgui | 15:51 | |
SynQ | huh | 16:07 |
SynQ | anybody her? | 16:08 |
SynQ | here? | 16:08 |
SynQ | why is the webgui community so damn small | 16:53 |
SynQ | I never stop wondering about that | 16:54 |
SynQ | hello US! it's time to get out of bed :) | 16:59 |
-!- ampli [c0722a05@gateway/web/freenode/ip.192.114.42.5] has quit [Ping timeout: 252 seconds] | 18:21 | |
CIA-82 | webgui: khenn master * r97ec859 / www/extras/yui-webgui/build/layout/draggable.js : Localized a global variable which interferes with other third party js packages. - http://bit.ly/lGQF9P | 20:08 |
-!- xootom [~xootom@cpc3-shef10-2-0-cust339.barn.cable.virginmedia.com] has joined #webgui | 20:11 | |
-!- khenn [~frank@99-111-115-201.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui | 20:13 | |
-!- mode/#webgui [+o khenn] by ChanServ | 20:13 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Ping timeout: 255 seconds] | 20:33 | |
-!- xootom [~xootom@cpc3-shef10-2-0-cust339.barn.cable.virginmedia.com] has quit [Quit: ~ Trillian Astra - www.trillian.im ~] | 20:44 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 22:33 | |
-!- kaare_ [~kaare@79.138.167.35.bredband.oister.dk] has quit [Ping timeout: 240 seconds] | 23:57 | |
--- Day changed Mon Jun 27 2011 | ||
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui | 00:05 | |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Quit: Leaving.] | 01:27 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Ping timeout: 255 seconds] | 03:50 | |
* scrottie waves to SynQ | 04:25 | |
scrottie | SynQ, right now, everyone is on their way to YAPC::NA | 04:25 |
scrottie | it's going to be quiet for a while | 04:25 |
Haarg | we still have about an hour and a half before we get there | 05:05 |
-!- kaare_ [~kaare@79.138.170.54.bredband.oister.dk] has joined #webgui | 07:34 | |
-!- khenn [~frank@99-111-115-201.lightspeed.mdsnwi.sbcglobal.net] has quit [Ping timeout: 252 seconds] | 08:33 | |
-!- khenn [~frank@99-111-115-201.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui | 08:51 | |
-!- mode/#webgui [+o khenn] by ChanServ | 08:51 | |
-!- ampli [c0722a05@gateway/web/freenode/ip.192.114.42.5] has joined #webgui | 12:22 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Read error: Operation timed out] | 13:42 | |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui | 14:00 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 14:32 | |
-!- webguiquestions [ad2ed001@gateway/web/freenode/ip.173.46.208.1] has joined #webgui | 15:41 | |
webguiquestions | Hello. | 15:41 |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Quit: Leaving.] | 15:51 | |
-!- scrottie [~scott@li25-98.members.linode.com] has quit [Ping timeout: 240 seconds] | 15:55 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 16:05 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Quit: Ex-Chat] | 16:33 | |
SDuensin | Morning. | 17:08 |
-!- SquOnk [~emhn@186.93.207.12] has joined #webgui | 17:37 | |
SquOnk | Greetings. | 17:37 |
SDuensin | Hey | 17:37 |
SquOnk | I have an interesting issue I've been unable to solve. | 17:43 |
SquOnk | 1. Create an Article (or use one from a vanilla install). | 17:44 |
SquOnk | 2. Take a shortcut to it and place it somewehere else. The shortcut works fine. | 17:44 |
SquOnk | 3. Now edit the shortcut and override the display template for the archive. It shows ok in the admin session. | 17:44 |
SquOnk | 4. If you open the page from a different session, the *old* template is still being applied. | 17:45 |
SquOnk | Emtpying the cache, doesn't help. | 17:45 |
SDuensin | Did you commit it? | 17:46 |
SquOnk | Yes. | 17:46 |
SquOnk | It happens in auto-commit mode too. | 17:46 |
SDuensin | :-/ | 17:47 |
SquOnk | If you exchange steps 2 and 3, the thing works. | 17:47 |
SDuensin | Really? That's f'ed up. | 17:47 |
SquOnk | Take a shortcut in the same page, apply and override, then move the shortcut to its final location. It works. | 17:48 |
SquOnk | But, take shortcut, move to final location, apply override, only works for the admin session, but other sessions won't see the change. | 17:48 |
SDuensin | Sounds like something is broken to me. | 17:49 |
-!- scrottie [~scott@li25-98.members.linode.com] has joined #webgui | 17:51 | |
-!- sbaur [~Adium@130.157.145.37] has joined #webgui | 17:53 | |
SquOnk | SDuensin: I'll open a bug report, I suppose. I've tried to figure out what's going on, to no avail so far. | 17:54 |
webguiquestions | Are locations of downloadable files kept in the database as binary data? | 18:01 |
Haarg | the storage id is stored as a string. the file system location is based on that. | 18:05 |
sbaur | it's in the FileAsset table | 18:05 |
Haarg | for file assets, yes. there are other things that link to files that store the ids elsewhere. | 18:07 |
webguiquestions | I have a question I posted to the forum about it. | 18:08 |
webguiquestions | I'm trying to migrate the site from an internal test to an externally available website. | 18:08 |
webguiquestions | The URL's for the downloadable files, site map, crumbs...they're pointing to http://<internal ip>/webgui/path instead of http://<urlname>/webgui | 18:09 |
sbaur | as long as you copy over the whole uploads directory and the database, it should be fine | 18:09 |
webguiquestions | I'm not sure where they're generated. | 18:09 |
sbaur | did you change the sitename in your config file to the external name? | 18:09 |
webguiquestions | Generated, or stored. If it's stored I'm looking for where to change it. If it's generated, I'm not sure where it's pulling the site name from. | 18:09 |
sbaur | they are generated, all that's stored is the guid | 18:10 |
* SDuensin grumbles at the config file | 18:10 | |
webguiquestions | webgui.conf has the "domainname.com" as the first setting in the names to use. | 18:10 |
SDuensin | Still say that only thing in the config file should be how to get to the database. | 18:10 |
webguiquestions | well, my domainnam.com | 18:10 |
webguiquestions | Apache has also had references to the internal IP changed. | 18:11 |
webguiquestions | So the next question would be, where is it pulling that IP from when it's generating the URL for the website?... | 18:12 |
webguiquestions | I've restarted apache and webgui from /etc/init.d after making changes, too. | 18:12 |
SDuensin | The URL is in the Settings in the Admin interface too. I think. | 18:12 |
Haarg | are you using the wre? | 18:13 |
sbaur | is every single image, etc. coming from the internal site, or just some of them? | 18:13 |
Haarg | it might have to do with the proxying | 18:13 |
sbaur | If it's only some, perhaps they got added/linked with absolute urls? | 18:14 |
webguiquestions | Admin interface I'm not sure where that would be, as I don't see the IP listed there anywhere in settings. | 18:14 |
webguiquestions | Using the Ubuntu release from the universe repo | 18:14 |
webguiquestions | Everything is coming from off the one server, no files pulled from elsewhere. | 18:15 |
webguiquestions | No proxying is being done. | 18:15 |
sbaur | If you go into the admin console, to Settings, the first tab has a place for URL. I thought that was only used in the email footer, but perhaps not | 18:15 |
webguiquestions | The files should all be uploaded to the local webserver, they have the URL with the IP that was generated at the time of the upload. | 18:15 |
Haarg | the host used for urls can come from a couple places | 18:16 |
webguiquestions | Now I don't know what will happen with *new* files, right now I'm trying to migrate stuff that's already in place. | 18:16 |
webguiquestions | The company URL is already set to the proper domain name. | 18:16 |
Haarg | there is a setting in the admin console for what to use | 18:16 |
Haarg | you said that the first site name was the domain name. do you have more than one sitename? | 18:17 |
webguiquestions | In the webgui.conf file it has " | 18:19 |
webguiquestions | whoops. | 18:19 |
webguiquestions | It has "mydomainname.com","ip address","localhost" | 18:19 |
Haarg | i would remove all but the domain name | 18:20 |
SquOnk | SDuensin: I can reproduce the problem in demo.webgui.org | 18:23 |
SDuensin | SquOnk: Nice! Break PlainBlack's toys! | 18:24 |
SquOnk | All right. I'm looking at Shortcut.pm around getOverrides. The comment says 'Overrides are cached, unless you are in admin mode. The cache is invalidated if it has expired, or if the user's profile field has changed.' | 18:26 |
SquOnk | I think that explains it. | 18:26 |
SquOnk | Shouldn't the cache be invalidated if the admin *changes* the override? | 18:27 |
webguiquestions | I think I see what's causing it now... -going off to make some more changes... | 18:31 |
ampli | Hello, I would like to report a strange problem with WebGUI8 and how I solved it (source change). Maybe someone can make the change without a formal bug report... | 18:37 |
SquOnk | So, looks like Shortcut overrides' are cached for everyone that's not an Admin. This means if an Admin changes an override, it won't show up immediately for non-Admin users visiting the site, am I right? | 18:38 |
webguiquestions | Why would WebGUI be connecting to Apache with a POST? | 18:38 |
webguiquestions | I just saw the server connect to itself as Visitor with a "POST /webgui http/1.1" message in the Apache logs. | 18:39 |
Haarg | the first sitename is used for a couple things. any additional sitenames will only ever be used for url generation. you never want a private host name in there. | 18:39 |
Haarg | ampli, what is the issue you are seeing? | 18:40 |
ampli | The Save button in many pages is not working from WebKit browsers (chrome/safari). | 18:40 |
ampli | This includes the startup page... | 18:40 |
ampli | The reason is mentioned in the YUI docs of Button. If a button name is caleld "submit" this cause a problem due to bugs in browsers. | 18:41 |
ampli | I just change it to "send" and the problem disapeared. There are 26 files affected.... | 18:42 |
Haarg | you could submit a pull request with the changes | 18:43 |
ampli | I am new to WebGUI and git so for now I still don't know how to submit a pull request. Is there a detailed doc on that? | 18:45 |
Haarg | when you say it doesn't work, what actually happens? | 18:45 |
ampli | Just nothing. Absolutely no respose. It is not recognized as form action button. | 18:46 |
Haarg | you create a fork on github, then commit to that, then submit a pull request through the github interface. | 18:46 |
Haarg | there's probably some docs on github for it | 18:47 |
ampli | Can be easily verified with hrome/safari. Just click on Admin Console=>Settings. | 18:47 |
Haarg | but for now, you could probably make a patch and post it somewhere | 18:47 |
Haarg | or try to catch preaction or i at a better time | 18:48 |
Haarg | we're both at yapc | 18:48 |
ampli | What I don't know is if the name of the submit button is used somewhere and checked to be "submit". There are 26 files and it is not easy to verify that.... | 18:49 |
Haarg | i know preaction has been testing with chrome so it's odd he wouldn't have seen it | 18:51 |
ampli | Indeed strange. Maybe it depends on the version of some perl modules? I use the YUI that comes with wg8, but all the other perl lib modules are the newest versions. | 18:55 |
ampli | Maybe someone can verify it too before I contiue with that? | 18:56 |
-!- webguiquestions [ad2ed001@gateway/web/freenode/ip.173.46.208.1] has quit [] | 18:58 | |
ampli | Is there a wg8 demo on the net that I can check this in it? | 18:59 |
Haarg | since it's just the ui screwing up, i don't think it could be related to perl module versions | 19:00 |
SquOnk | I think I found a bug in the caching of overrides, but before opening a ticket I'd like the opinion of someone with appropiate knowledge. | 19:12 |
SquOnk | Shortcut, lines around 494 | 19:13 |
SquOnk | There's a cacheNotExpired key that is *always* true. I believe it should be set to 0 in line 510, and it should be set to 1 before returning from the method. | 19:14 |
@preaction | ampli: you can play with www2.plainblack.com and www2.webgui.org, but there's no demo system up there yet | 19:50 |
SquOnk | preaction: Do you have a couple of minutes for a quick question? | 19:55 |
SquOnk | I think the caching on Shortcut overrides is somewhat broken... | 20:04 |
SquOnk | ...but I'd like to know why a change on an override is not seen *immediately*. | 20:04 |
SquOnk | (except by the admin doing the change). | 20:05 |
ampli | preaction: In order to test it I need to find a page with a button that is used with YAHOO.widget.Button and has name="submit"... In the admin interface there are some, but I didn't find such bottons in the regular user interface. So I need a site in which I can become Admin. | 20:36 |
* scrottie waves to ampli | 21:05 | |
scrottie | hey ampli, I got your email. I've been a bit preoccupied lately but I'll follow up on that a bit here. nice detective work! | 21:05 |
scrottie | I can walk you through doing a fork on github, pulling, pushing the changes, etc. | 21:07 |
scrottie | it isn't bad. | 21:07 |
scrottie | let's see. | 21:10 |
ampli | Hi scrottie, ok, I'm ready. | 21:26 |
scrottie | looking at https://github.com/plainblack/webgui ... look for the "Fork" button. it's near the top right. you need to be logged in to github to do that (create an account first if you don't have one already) | 21:27 |
ampli | I got a fork... | 21:35 |
scrottie | there should be a litle url-bar like thing with something like git@github.com:plainblack/webgui.git in it, but with your name in it rather than plainblack | 21:39 |
scrottie | you want to feed that to git clone | 21:39 |
scrottie | actually, after you make a fork, it gives you a page of instructions on how to check out your fork | 21:40 |
scrottie | and telling it to track the remote branch, etc | 21:40 |
ampli | I already have a local clone of plainblack/webgui. Is there a way to just add my branch to it that will track my fork on github? | 21:45 |
scrottie | yeah, that's fine. you still need a fork on github to do the pull request thing. | 21:46 |
scrottie | but if you have a clone you've changed stuff in, you can 'git add' the files you've changed, 'git commit' that with a message about what you've changed, ... | 21:46 |
ampli | I even already have my branch on my local clone of plainblack/webgui. How I I make it to track my fork on github? | 21:47 |
scrottie | then do 'git push --force git@github.com..... WebGUI8' where the git@github thing is the URL-like-thing from the URL-bar-like-thing on your github fork page | 21:47 |
scrottie | well, your fork tracks github... it knows that github is the "origin" | 21:48 |
ampli | My local opy doesn't know yet on the fork I just have done. How to tell it that? | 21:49 |
ampli | opy=copy | 21:49 |
scrottie | push with --force (because your version is going to be older/different than what you just forked) back over the fork you made. | 21:49 |
scrottie | on github. | 21:49 |
scrottie | then after you push your local copy up to github, do this: git checkout -b webgui8 --track origin/WebGUI8 | 21:52 |
scrottie | er, you need to reset origin | 21:52 |
scrottie | hrm, there's a command to do that, but I only know how to edit .git/config | 21:52 |
scrottie | after where it says: [remote "origin"] | 21:54 |
scrottie | change this line: github.com:plainblack/webgui.git | 21:54 |
scrottie | change plainblack to whatever your account name is on github | 21:54 |
ampli | I made the change in .git/config. When I do "git push --force" I get: fatal: The current branch in is not tracking anything. | 21:57 |
ampli | Maybe I made an error. I'm trying again. | 21:58 |
scrottie | do: git push --force git@github.com/whatever/webgui WebGUI8 | 21:59 |
scrottie | where 'whatever' is your login name there. | 21:59 |
ampli | I now get "Permission denied". I I authenticate to it? | 22:00 |
scrottie | but I think this is what you need to add to your .git/config to make it so you don't have to specify the target... https://gist.github.com/1049542 | 22:00 |
scrottie | okay, you need to go into your account on github and paste your public SSH key in... | 22:00 |
ampli | How to authenticate to it? | 22:00 |
ampli | I see, one moment. | 22:01 |
scrottie | do you have a file at ~/.ssh/id_rsa.pub ? | 22:01 |
scrottie | if not, do ssh-keygen | 22:01 |
ampli | scrottie: ok, now the git push suceeded. | 22:25 |
scrottie | yay | 22:28 |
scrottie | you could send a pull request now, but perhaps you'd like me to look at what you've done first | 22:29 |
ampli | Please look at lib/WebGUI/Operation/Setting.pm, on the line with: name => "submit" | 22:33 |
scrottie | are you ampli on github? | 22:41 |
ampli | What I see there is the original WEBGUI8 copy. How can I see the new version that I pushed? | 22:41 |
ampli | (yes, ampli) | 22:41 |
@preaction | look on your personal github fork, there should be a link to it "Go To My Fork" or something | 22:42 |
scrottie | check out the WebGUI8 branch. | 22:42 |
scrottie | there's a little drop-down near the top of the page for the branch you want to view. | 22:42 |
scrottie | then on the top right, it tells you which branch you're currently on. | 22:42 |
scrottie | https://github.com/ampli/webgui/tree/WebGUI8 | 22:44 |
ampli | I'm am in the "ampli / webgui" fork, and "Branch: WebGUI8". However, when I look in Operation/Settings.pm I see the original version. | 22:46 |
scrottie | yeah, I see one commit by you and it was to .gitignore | 22:47 |
scrottie | do 'git diff' or 'git status' at your command shell | 22:47 |
scrottie | does it show you that Operation/Setting.pm has been modified? | 22:47 |
ampli | "git status" says "nothing to commit. | 22:48 |
ampli | The .gitignore commit was an initial error, it content should be the original one. | 22:49 |
scrottie | is there a list of changed but untracked files? | 22:50 |
@preaction | perhaps try "git log" and see what commits you've done | 22:50 |
scrottie | if so, is Operation/Setting.pm mentioned in there? | 22:50 |
ampli | In "git log" I see the commit I have done of two .pm files. | 22:50 |
scrottie | what's the hash number? | 22:51 |
ampli | It mentiones only the hash, but "git diff HASH" shows it is indeed the said file. | 22:52 |
ampli | fe6e269d73eea20375ef659925f25ec531bdcadd | 22:52 |
scrottie | what branch does 'git status' say you are on? | 22:57 |
scrottie | https://github.com/ampli/webgui/commit/fe6e269d73eea20375ef659925f25ec531bdcadd gives me a 404 | 22:57 |
scrottie | not sure what happened that that didn't get pushed | 22:58 |
scrottie | but if you can get it into the correct branch, and push that branch, it should go | 22:58 |
ampli | I'm in my local branch, named "in". | 22:58 |
scrottie | okay, then you need to push that branch over top of the WebGUI8 branch in your github fork, or else you need to cherry-pick that commit into the WebGUI8 branch in your local git repo and then push it, or you need to merge your 'in' branch into your WebGUI8 branch and push that | 22:59 |
scrottie | or else you could just push your 'in' branch up and let other people cherry-pick that one commit out | 22:59 |
scrottie | but then you'd have to point them at that commit | 23:00 |
ampli | Since I'm new to git, what is the best option? | 23:00 |
SquOnk | preaction: Hey there. | 23:05 |
scrottie | ampli: git checkout WebGUI8 | 23:05 |
scrottie | git cherry-pick fe6e269d73eea20375ef659925f25ec531bdcadd | 23:05 |
scrottie | git push ( did you add that extra stuff to your config file? if not, need to specify extra args here ) | 23:06 |
ampli | error: could not apply fe6e269... | 23:06 |
ampli | hint: after resolving the conflicts (which conflicts?) | 23:07 |
scrottie | don't know. | 23:08 |
scrottie | 'git status' will tell you which files have conflicting changes. | 23:08 |
ampli | how to see them? | 23:08 |
scrottie | you have to edit them, 'git add' them again, then 'git commit' | 23:08 |
scrottie | or if you know you want the version from the 'in' branch, you could just do: git checkout in whatever/whatever.pm | 23:14 |
scrottie | I think most people work in a branch just for the purpose, then either cherry-pick or merge into whatever branch name everyone else is using when they're done, happy, and have tested the changes | 23:18 |
scrottie | cherry-pick grabs one exact specific commit, merge tries to grab all changes | 23:18 |
-!- kaare_ [~kaare@79.138.170.54.bredband.oister.dk] has quit [Ping timeout: 240 seconds] | 23:23 | |
ampli | Now it is fine. The changed line in Operation/Settings.pm is 692. | 23:24 |
ampli | I commited only 2 files. A grep of | 23:39 |
ampli | name => "submit" shows more 25 files,. | 23:39 |
--- Day changed Tue Jun 28 2011 | ||
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui | 00:02 | |
-!- stDavid [~stDavid@static-72-64-138-146.tampfl.fios.verizon.net] has joined #webgui | 00:28 | |
CIA-82 | webgui: Colin Kuskie master * rf728b22 / (5 files in 5 dirs): Do not append ;adminId to the URL stored for calendar feeds. Add upgrade code to fixing existing, broken feeds. Fixes bug #12164 - http://bit.ly/jsYgP8 | 00:42 |
SquOnk | preaction: Got a minute? | 00:42 |
@preaction | SquOnk: i can try, at a presentation in YAPC | 00:43 |
SquOnk | preaction: All right. Real quick. | 00:43 |
SquOnk | preaction: I create an Article. Then Shortcut it. | 00:43 |
SquOnk | preaction: I move the Shortcut somewhere else. | 00:43 |
SquOnk | preaction: I apply an Override changing the Template. | 00:43 |
SquOnk | preaction: It shows perfectly in *my* Admin session. | 00:44 |
SquOnk | preaction: It *doesn't* show on other sessions. | 00:44 |
CIA-82 | webgui: Colin Kuskie webgui-7.9 * re89e0db / (6 files in 5 dirs): Do not append ;adminId to the URL stored for calendar feeds. Add upgrade code to fixing existing, broken feeds. Fixes bug #12164 - http://bit.ly/kGTStd | 00:44 |
@preaction | your session, or your user? | 00:44 |
SquOnk | preaction: The session I applied the Override in. | 00:44 |
@preaction | i see the code here, and yes, overrides are cached with the userId, so the cache is stale for other users | 00:44 |
SquOnk | preaction: Aha. But how come it's not being refreshed immediately. | 00:45 |
SquOnk | ? | 00:45 |
@preaction | because it's not marked as expired for those other users | 00:45 |
@preaction | if you purge the entire cache, it should work again | 00:45 |
@preaction | (if I'm correct) | 00:46 |
SquOnk | preaction: And I'm also trying to understand what good is $overrides{cacheNotExpired} :-) | 00:46 |
SquOnk | preaction: Well, I tried that but still no joy. | 00:46 |
@preaction | client-side caching? | 00:46 |
SquOnk | preaction: No, that's not it. When I comment out the if ( ! $session->var->isAdminOn ) ... everything works as expected. | 00:47 |
SquOnk | preaction: I dismissed it as client-side caching initially, but I've realized it's not that... | 00:47 |
SquOnk | preaction: My question is why is it coded like that? | 00:48 |
@preaction | the code is highly suspect, because of the userId thing | 00:48 |
SquOnk | preaction: My point exactly. | 00:48 |
SquOnk | preaction: And it's giving me grief because one of the sites requires frequent changes to shortcut overrides that must refresh immediately. | 00:49 |
@preaction | that i can't help with, it's very old, and was rewritten by more than 4 people | 00:49 |
@preaction | the cache timout isn't able to be set from the interface | 00:50 |
@preaction | that would be a good feature | 00:50 |
SquOnk | preaction: No. It's hardcoded at an hour. | 00:50 |
SquOnk | preaction: Well, who should I bug about it? | 00:51 |
@preaction | the bugs list | 00:51 |
SquOnk | All right, there it goes... I hope I can explain it well enough :) | 00:53 |
@preaction | it's confusing, but it also seems that shortcut does things differently (caches per-user) than the rest of webgui (assumes users logged-in never see cached content) | 00:54 |
ampli | scrottie: how should I proceed with my fix? | 01:02 |
CIA-82 | webgui: Colin Kuskie master * r720c06a / (2 files in 2 dirs): Fix template help variables for month/year in the Calendar. Fixes bug #12167. - http://bit.ly/m7n0z3 | 01:11 |
SquOnk | preaction: There. Bug #12176 | 01:11 |
CIA-82 | webgui: Colin Kuskie webgui-7.9 * r1d0faef / (2 files in 2 dirs): Fix template help variables for month/year in the Calendar. Fixes bug #12167. - http://bit.ly/mIIl1G | 01:11 |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Quit: Leaving.] | 01:21 | |
-!- SquOnk [~emhn@186.93.207.12] has quit [Quit: Yippie kay-ai-yay, fudder muckers!] | 01:58 | |
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui | 02:08 | |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 02:08 | |
+perlDreamer | preaction: re the underground bug, for reasons undocumented I added that template, so I'm not comfortable pulling it out | 02:13 |
+perlDreamer | plus, there will be other people who have custom User Function templates that differ | 02:13 |
+perlDreamer | so fixing this one case won't solve the whole problem | 02:13 |
@preaction | but are they using the site starter wizard? | 02:13 |
+perlDreamer | no clue | 02:14 |
+perlDreamer | don't we have to assume that they do? | 02:14 |
@preaction | what is the undocumented reason it's in there? | 02:14 |
+perlDreamer | unfortunately, since it's not documented I can't tell you | 02:15 |
@preaction | you don't remember, or you don't want to say? | 02:15 |
+perlDreamer | it's peripherally or accidentally related to "Underground label style forces radio buttons and check boxes to render vertically." | 02:15 |
+perlDreamer | I don't remember | 02:15 |
+perlDreamer | I have no problems sticking my foot in my mouth in this channel | 02:15 |
@preaction | okay, that's fine | 02:15 |
+perlDreamer | and it's not security related ;) | 02:15 |
@preaction | but that problem can be fixed in a different way, which involves using CSS selectors to change the rendering of the fields for the given areas | 02:16 |
@preaction | or even completely overriding how the underground style does those, making them all inline by default (as they are normally) | 02:16 |
@preaction | the plan i set out for the underground style is that we would not modify the stylesheets we got from the vendor, but we would override anything we needed to | 02:17 |
@preaction | that way we can drop in new versions of the style if the vendor updates them | 02:17 |
@preaction | so if we need to override those fields because we do things differently, that's okay | 02:17 |
+perlDreamer | well, it's entirely possible that I didn't fix them the way you intended, but I don't think the user function style would have anything to do with that | 02:18 |
+perlDreamer | since they only differ in title, assetId and topnav blurb | 02:18 |
+perlDreamer | all the same includes | 02:18 |
@preaction | right, there is no way to distinguish user function styles at all | 02:18 |
@preaction | and my design goal for the style wizard was the styles would be drop-in, no hoops necessary | 02:18 |
@preaction | so we have a quandary | 02:18 |
+perlDreamer | my idea of not showing style templates if they don't have a thumbnail would work, but is hackish | 02:19 |
+perlDreamer | we could create a new namespace | 02:19 |
@preaction | but a new namespace would break everything | 02:19 |
@preaction | the user would go to save the settings, and their user function style would change because the current one not in the user_style namespace | 02:20 |
+perlDreamer | we can detect that one | 02:20 |
+perlDreamer | the one they're currently using | 02:20 |
+perlDreamer | but none of the others | 02:20 |
+perlDreamer | and the UI doesn't allow the changing of namespaces anyway | 02:20 |
@preaction | no, so all the user function styles they've created will no longer show up in the dropdown | 02:21 |
@preaction | and there's no way to fix it for them | 02:21 |
+perlDreamer | right | 02:21 |
+perlDreamer | starting to sound like "hackish" - or something else | 02:21 |
@preaction | worse, what if they have a style template they just happen to also use for a user-function style | 02:21 |
+perlDreamer | if it's in the settings, we can detect it and alter the namespace on that one, so that's not a problem | 02:22 |
+perlDreamer | so, for N other user function styles, we can't fix N-1 of them | 02:22 |
+perlDreamer | we could add a checkbox, display in Site Starter that only shows up for templates in the style namespace | 02:23 |
@preaction | but i still don't see a compelling reason that this dichotomy needs to exist. style templates shouldn't need to know where they are being used | 02:24 |
@preaction | they're syntactically fine in any style context, even if they don't look fine | 02:25 |
@preaction | they still only have the variables that style templates have | 02:25 |
+perlDreamer | then why do we have User Function Styles? | 02:25 |
@preaction | because there needs to be a style template there, because style templates are used throughout webgui to define headers, footers, and common UI elements | 02:25 |
@preaction | though many have asked for the user style to be taken from the current asset, and i'm tempted to agree with them | 02:26 |
@preaction | i guess the reason i'm taking the effort here is because i have future ideas for a more unified and extensible webgui UI set | 02:26 |
+perlDreamer | if we can combine this bugfix with your plans for future WebGUI UI domination, I'm game | 02:27 |
@preaction | my only idea is that the user-specific one must be merged into the other one. there has to be some CSS changes, otherwise the issue you mentioned couldn't have been fixed | 02:28 |
+perlDreamer | I _think_ that I got tired of seeing 4 rows of top-nav in the import node | 02:28 |
+perlDreamer | so I made a user function style to fix that | 02:28 |
-!- sbaur [~Adium@130.157.145.37] has quit [Quit: Leaving.] | 02:28 | |
+perlDreamer | and the rendering fix was done at the same time | 02:28 |
+perlDreamer | or... | 02:28 |
+perlDreamer | no, it wasn't a merged package from multiple upgrades, either | 02:30 |
@preaction | so the IDs in the profile stuff are too general? | 02:30 |
+perlDreamer | the top-nav pukes badly when you're not in the site | 02:30 |
+perlDreamer | the settings are ancestor: -Infinity, Descendants, 1 level down, assets to show, descdants | 02:35 |
@preaction | start point should be home page maybe? | 02:35 |
+perlDreamer | you'd think that, but wouldn't it have been setup that way originally? | 02:36 |
ampli | Hello, I need help in sending a Pull Request... | 02:50 |
scrottie | did you manage to push your changes up to github? | 02:51 |
@preaction | perlDreamer: i could have been incorrect in my assumptions | 02:51 |
ampli | It tries to include 5 files but only 2 of them are relevant. How I limit it to only those 2? | 02:51 |
scrottie | you only do 'git add' on the files you want to include. | 02:52 |
+perlDreamer | I've been doing some digging, too | 02:52 |
scrottie | have you already commit the files you don't want? | 02:52 |
ampli | I pushed the changes but 3 files that have been pushed are not relevant to this pull request and should not appear in it. | 02:52 |
+perlDreamer | and I think that I shouldn't have done this in the first place | 02:52 |
+perlDreamer | so I'll upgrade the nav to point to /home | 02:52 |
+perlDreamer | or, / rather | 02:52 |
ampli | I don't know how to exclude them. | 02:52 |
@preaction | if that fixes it, at least | 02:53 |
+perlDreamer | it keeps the nav from freaking out when you wander over into the import node | 02:53 |
ampli | I already comitted the unwanted files. | 02:53 |
scrottie | amply, okay, the easist thing to do would be reset your state back to before that commit, then do a cherry-pick with the '-n' option on that commit to get those changes back. '-n' keeps git from committing the cherry-pick automatically. | 02:53 |
ampli | One of them is a revert of .gitignore. The other one is a bug fix in datatable.js, to be included in another pull request. | 02:54 |
scrottie | ampli, so if 'git log' has commit aaaaaaaa which has more stuff than you wanted in it, and commit bbbbbb right before that, do git reset --hard bbbbbb then git cherry-pick -n aaaaaa then git add only the files you want in there, then git commit those, and git push | 02:54 |
ampli | I will try... | 02:56 |
scrottie | save the hash of the last commit you made. cut and paste it somewhere. | 02:57 |
scrottie | unless you do the "garbage collection" thing, you can always use that to get back to your changes.... | 02:57 |
scrottie | or I can, from pulling your github fork. | 02:57 |
scrottie | or, theoretically, you can get back there. with git, there is some matter of skill =| | 03:00 |
-!- stDavid [~stDavid@static-72-64-138-146.tampfl.fios.verizon.net] has quit [Quit: "Three Stooges Beer" - It doesn't taste that good, but it sure is funny.] | 03:05 | |
-!- Netsplit *.net <-> *.split quits: Haarg, ckotil | 03:09 | |
-!- Netsplit over, joins: Haarg, ckotil | 03:13 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Ping timeout: 255 seconds] | 03:38 | |
-!- stDavid [~stDavid@cpe-72-185-187-22.tampabay.res.rr.com] has joined #webgui | 04:02 | |
-!- nelsin [~nelson_br@host-1-233.b4.cvc.com.py] has joined #webgui | 04:03 | |
CIA-82 | webgui: Colin Kuskie master * r204108e / (3 files in 3 dirs): Remove the Underground User style template, and fix the problem is tried to fix by changing the navigation. Fixes bug #12172 - http://bit.ly/kBUmuo | 04:07 |
ampli | scrottie: I have sent the pull request on the Save buttons problem. I would like to hear some feedback on it before I send my fix for another problem. | 04:08 |
CIA-82 | webgui: Colin Kuskie webgui-7.9 * r806f268 / (3 files in 3 dirs): Remove the Underground User style template, and fix the problem is tried to fix by changing the navigation. Fixes bug #12172 - http://bit.ly/khbzHp | 04:09 |
+perlDreamer | odd | 04:16 |
+perlDreamer | you'd think with all the PB devs using Safari that they'd have found that Save button bug | 04:16 |
+perlDreamer | ampli, what's a URL for the problem that you've found? | 04:16 |
ampli | It is in the initial setup, and also in Settings in the Admin Console. | 04:18 |
+perlDreamer | sure, but in your pull request it says you found a note about that in some YUI doc somewhere | 04:18 |
+perlDreamer | where is that one? | 04:18 |
ampli | I se, one moment.\ | 04:19 |
+perlDreamer | foosball break, back in 20 | 04:20 |
ampli | perlDreamer: http://developer.yahoo.com/yui/button (see the first paragraph in the section "Known Issues". | 04:22 |
Haarg | yapc next year is in madison | 04:25 |
scrottie | no kidding! | 04:36 |
-!- nelsin [~nelson_br@host-1-233.b4.cvc.com.py] has left #webgui [] | 04:37 | |
scrottie | congrats, Madison.PM. | 04:39 |
scrottie | ampli, I'm going to pull your change to my local machine and run the test suite | 04:46 |
scrottie | also, looking for comments on https://github.com/scrottie/webgui/commit/1b4654029c39b00a6c259e5a14da3078fd361916 | 04:49 |
scrottie | before I merge that, if I merge that | 04:49 |
scrottie | and of course as soon as I say that, I see a couple things I never came back to in the tests | 04:49 |
-!- stDavid [~stDavid@cpe-72-185-187-22.tampabay.res.rr.com] has quit [Quit: "Three Stooges Beer" - It doesn't taste that good, but it sure is funny.] | 05:13 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 05:33 | |
-!- ampli [c0722a05@gateway/web/freenode/ip.192.114.42.5] has left #webgui [] | 05:38 | |
-!- stDavid [~stDavid@static-72-64-138-146.tampfl.fios.verizon.net] has joined #webgui | 06:34 | |
+perlDreamer | way to go madmongers! | 06:35 |
-!- kaare_ [~kaare@94.191.193.104.bredband.3.dk] has joined #webgui | 07:24 | |
CIA-82 | webgui: Colin Kuskie master * rac8d95e / t/Asset/Event.t : Okay, I guess we really do need that. - http://bit.ly/mlGW5E | 07:34 |
CIA-82 | webgui: Colin Kuskie master * r4027b5b / (docs/changelog/7.x.x.txt lib/WebGUI/Asset/Wobject/Thingy.pm): Perform the check BEFORE saving the Thing properties. Fixes bug #12157. - http://bit.ly/koprY4 | 07:34 |
CIA-82 | webgui: Colin Kuskie webgui-7.9 * r388ad31 / t/Asset/Event.t : Okay, I guess we really do need that. - http://bit.ly/mDM7qE | 07:38 |
CIA-82 | webgui: Colin Kuskie webgui-7.9 * r018e87e / (docs/changelog/7.x.x.txt lib/WebGUI/Asset/Wobject/Thingy.pm): Perform the check BEFORE saving the Thing properties. Fixes bug #12157. - http://bit.ly/jXEc8J | 07:38 |
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has quit [Quit: Leaving.] | 07:46 | |
CIA-82 | webgui: Colin Kuskie master * r9ab05ad / docs/create.sql : Ready for release of 7.10.19 - http://bit.ly/lDZ07v | 07:54 |
CIA-82 | webgui: Colin Kuskie master * r3fa9d82 / (4 files in 4 dirs): Ready for 7.10.20 development. - http://bit.ly/lex2lI | 08:08 |
-!- KlausH [~KlausH@pD95284EF.dip0.t-ipconnect.de] has joined #webgui | 08:18 | |
-!- KlausH [~KlausH@pD95284EF.dip0.t-ipconnect.de] has quit [Quit: KlausH] | 08:40 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Quit: Ex-Chat] | 08:52 | |
-!- Radix-wrk changed the topic of #webgui to: [7.9.31-stable | 7.10.19-beta | WRE 0.9.3] Before you ask, check the wiki: http://wiki.webgui.org | Pastebin: http://webgui.pastebin.com | 10:27 | |
-!- stDavid [~stDavid@static-72-64-138-146.tampfl.fios.verizon.net] has quit [Quit: "Three Stooges Beer" - It doesn't taste that good, but it sure is funny.] | 13:15 | |
-!- stDavid [~stDavid@static-72-64-138-146.tampfl.fios.verizon.net] has joined #webgui | 13:25 | |
-!- kaare_ [~kaare@94.191.193.104.bredband.3.dk] has quit [Ping timeout: 264 seconds] | 13:28 | |
-!- khenn [~frank@99-111-115-201.lightspeed.mdsnwi.sbcglobal.net] has quit [Quit: khenn] | 13:56 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 13:58 | |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui | 14:38 | |
-!- wischie_ [~willi@deighton.bccn-berlin.de] has joined #webgui | 14:45 | |
-!- wischie_ [~willi@deighton.bccn-berlin.de] has quit [Quit: Ex-Chat] | 14:47 | |
-!- ampli [c0722a05@gateway/web/freenode/ip.192.114.42.5] has joined #webgui | 15:49 | |
SDuensin | Morning. | 15:56 |
Haarg | morning | 17:17 |
-!- mducharme1 [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui | 17:52 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Ping timeout: 246 seconds] | 17:54 | |
-!- sbaur [~Adium@130.157.145.37] has joined #webgui | 18:00 | |
-!- knowmad [~knowmad@68-115-225-250.static.spbg.sc.charter.com] has joined #webgui | 18:18 | |
knowmad | how do i instanciate a template given i know the name of the template? | 18:24 |
-!- knowmad [~knowmad@68-115-225-250.static.spbg.sc.charter.com] has quit [Ping timeout: 258 seconds] | 18:44 | |
-!- sbaur [~Adium@130.157.145.37] has left #webgui [] | 19:01 | |
-!- sbaur [~Adium@130.157.145.37] has joined #webgui | 19:01 | |
-!- knowmad [~knowmad@68-115-225-250.static.spbg.sc.charter.com] has joined #webgui | 20:47 | |
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui | 20:54 | |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 20:54 | |
+perlDreamer | frodwith, does 3acaa46713e9bb83416513ae2ef4fc5915120b37 need to be backported to 7.9, or is it specific to features added to 7.10? | 20:56 |
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has quit [Quit: Leaving.] | 21:19 | |
-!- mducharme1 [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Read error: Connection reset by peer] | 21:27 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui | 21:29 | |
@frodwith | it's specific to 7.10 | 21:37 |
@frodwith | the fork patch, specifically | 21:37 |
@frodwith | (@perldreamer) | 21:37 |
@frodwith | knowmad: you'd need to do a sql query, I think. | 21:38 |
knowmad | frodwith: ok, thanks | 21:50 |
knowmad | frodwith: where can I find the template name? it's not in 'asset' or 'template' table | 21:54 |
@frodwith | assetData has title and menuTitle | 21:54 |
@frodwith | and you want to (probably) make sure you're looking at the most recent revision of the asset | 21:54 |
knowmad | yeah, can you remind me of the code that accomplishes this? | 21:55 |
knowmad | (it's been awhile since i was working at db level) | 21:55 |
@frodwith | easiest way might be to use getLineage with a where clause | 21:55 |
knowmad | i thought there was something to get the max epoch time... | 21:55 |
@frodwith | WebGUI::Asset->getRoot($session)->getLineage(['descendants'], { includeOnlyClasses => ['WebGUI::Asset::Template'], whereClause => 'assetData.title = "My Cool Template"' }) | 21:56 |
@frodwith | or similar | 21:56 |
knowmad | ohh, never tried using that. | 21:57 |
knowmad | so, how compatible is that code with 7.10? | 21:58 |
@frodwith | that's compatible with everything in the 7 series, I think | 21:58 |
knowmad | sorry, meant 8.x | 21:58 |
@frodwith | that I'm not positive about, but I suspect that code will work for a rather long time | 21:59 |
knowmad | or is it too early to say? | 21:59 |
knowmad | ok, i'm at YAPC (wathcing JT's talk) and will see what Doug has to say | 21:59 |
knowmad | thanks for the help | 21:59 |
@frodwith | oh hey, I'm in the Practical AnyEvent talk | 22:00 |
@frodwith | ;) | 22:00 |
@frodwith | it's kind of /yawn | 22:00 |
knowmad | i'm sticking with POE for now | 22:00 |
@preaction | anyevent looks a lot cleaner than POE | 22:01 |
knowmad | plus, i have a project to get out which is why i'm on IRC... | 22:01 |
@preaction | but i'm holding out for the Reflex talk | 22:01 |
@frodwith | yeah, I'm going to the Reflex talk as well | 22:01 |
knowmad | ahh, so you really are there preaction | 22:01 |
@preaction | in and out, gotta write my presentation and some other presentation stuff | 22:01 |
@frodwith | is getLineage changing at all in 8, preaction? | 22:01 |
@preaction | no | 22:02 |
@frodwith | there you go knowmad ;) | 22:02 |
knowmad | i figured it was your bot running as i saw you online earlier today but your laptop was not with you ;) | 22:02 |
knowmad | great! | 22:02 |
@preaction | yeah, i've used an IRC proxy since YAPC 2009 and the internet problems there | 22:02 |
@preaction | i've been doing migration of our other tools and internal code for pb.com and wg.org and it's really a lot easier than i expected it to be | 22:05 |
@preaction | the big ones are definition(), newByDynamicClass -> newById, and the bits of Session::* that go away | 22:05 |
@preaction | (Session::Var is now in Session.pm and Session::Http is now in Session::Response | 22:06 |
knowmad | given the size of the api, that's very reasonable | 22:07 |
@preaction | there's certainly more you can do, the individual accessors for example, but they're not required (they're just faster than the get() method) | 22:08 |
@preaction | oh, getValue() is gone | 22:08 |
knowmad | frodwith: ok, I've got my code written but nothing coming back | 22:16 |
knowmad | i've tested the sql query which is working so am a bit lost; maybe i can find you at the break... | 22:16 |
@frodwith | break is now | 22:17 |
@frodwith | :) | 22:17 |
knowmad | got a sec? | 22:17 |
@frodwith | yessir | 22:17 |
knowmad | i'm in the back row in Mt Pisgah where JT is | 22:17 |
knowmad | i think it's pisgah | 22:17 |
@frodwith | which talk was it? | 22:17 |
@frodwith | TGC? | 22:17 |
knowmad | yep | 22:18 |
@frodwith | yeah pisgah | 22:18 |
@frodwith | i'm in my room, so it'll take me a sec to get there | 22:18 |
@frodwith | but, omw | 22:18 |
knowmad | np | 22:18 |
knowmad | i'll be here | 22:18 |
-!- knowmad [~knowmad@68-115-225-250.static.spbg.sc.charter.com] has quit [Ping timeout: 258 seconds] | 22:37 | |
SynQ | uh | 22:39 |
SynQ | is 7.10 suddenly stable? or am I lagging behind big time? | 22:39 |
@preaction | no to both | 22:40 |
SynQ | since this: | 22:40 |
SynQ | Your version: You are using 7.9.31-stable and 7.10.19-stable is available. | 22:40 |
SynQ | is what my testEnvironment.pl says | 22:41 |
@preaction | colin may have mislabelled the release | 22:42 |
SynQ | prolly | 22:42 |
SynQ | is there a timeframe for 7.10 becoming stable? | 22:42 |
@preaction | 8.0.0 has to be beta first, i anticipate in a few months | 22:42 |
@preaction | well, 8.0 beta. 8.0.x will have a few alpha versions | 22:42 |
SynQ | ah ok | 22:43 |
SynQ | so no 7.10 stable before 8.0 beta | 22:43 |
SynQ | it makes sense in a version perspective | 22:43 |
@preaction | yes | 22:43 |
SynQ | does it also make sense in a stability perspective? | 22:43 |
@preaction | there always needs to be someplace to put beta code | 22:44 |
SynQ | is CHI considered stable? | 22:44 |
@preaction | it's being used in many of our production environments | 22:44 |
SynQ | with memcached? | 22:44 |
@preaction | no | 22:44 |
@preaction | with FastMMap | 22:44 |
SynQ | with fastMMAP | 22:44 |
SynQ | ah | 22:44 |
@preaction | and the DBI backend | 22:44 |
@preaction | and that's all I really require from "stable" software | 22:44 |
SynQ | dbi backend for FastMMap? | 22:44 |
SynQ | can you pastebin me a sample config for something like that? | 22:45 |
@preaction | no, i had a time where it was a DBI cache with FastMmap as an l1 cache | 22:45 |
@preaction | one sec, i made a blog | 22:45 |
SynQ | I read that blog | 22:45 |
SynQ | I tested with memcached | 22:45 |
SynQ | but it just breaks | 22:45 |
SynQ | I guess it breaks on shortcuts | 22:45 |
@preaction | memcached won't work with 7.x, deleteChunk is bad | 22:46 |
SynQ | ah | 22:46 |
@preaction | DBI backend is slow, because deleteChunk is bad again | 22:46 |
SynQ | that should be noted somewhere with that blog of yours :) | 22:46 |
@preaction | which one? | 22:46 |
@preaction | http://blogs.perl.org/users/preaction/2011/03/chi-saves-the-day.html <- that one? | 22:46 |
SynQ | that memcached doesn't work | 22:46 |
SynQ | no | 22:46 |
SynQ | the other one | 22:46 |
@preaction | that blog mentions that i can't use memcached because WebGUI doesn't like it | 22:47 |
SynQ | where you explify the config | 22:47 |
@preaction | ah, the extremely old one | 22:47 |
SynQ | in my setup the WebGUI::Cache::Database is much faster than WebGUI::Cache::CHI with fastMMap | 22:47 |
@preaction | that's kinda weird | 22:47 |
SynQ | in my test setup that is | 22:47 |
SynQ | but then again, all my setups are multi-machine setups | 22:48 |
SynQ | separate databases etc | 22:48 |
@preaction | which won't work well with fastmmap cache (two competing caches) | 22:48 |
SynQ | indeed | 22:48 |
@preaction | that's why i had the DBI backend with fastmmap in front of it | 22:48 |
SynQ | so I stick with DBI for now | 22:48 |
@preaction | but the DBI backend has trouble with deleteChunk | 22:48 |
@preaction | the DBI backend for CHI, i mean | 22:48 |
SynQ | og | 22:48 |
SynQ | I'll stick with WebGUI::Cache::Database for now | 22:49 |
SynQ | that works | 22:49 |
SynQ | and is fast | 22:49 |
@preaction | probably for the best | 22:49 |
SynQ | if I switch to anything it will be a form of memcached probably | 22:49 |
SynQ | or something like memcached | 22:49 |
-!- knowmad [~knowmad@68-115-225-250.static.spbg.sc.charter.com] has joined #webgui | 23:22 | |
--- Day changed Wed Jun 29 2011 | ||
-!- knowmad [~knowmad@68-115-225-250.static.spbg.sc.charter.com] has quit [Ping timeout: 258 seconds] | 00:09 | |
ampli | Hello, I have a question on best practices in pull requests... | 00:17 |
-!- knowmad [~knowmad@68-115-225-250.static.spbg.sc.charter.com] has joined #webgui | 00:17 | |
ampli | If more than one bug is fixed in the same file, is it better to make a pool request for each, or one for all? | 00:19 |
ampli | Also, if several bugs are fixed in several different files, is it better to separate the pull requests? | 00:20 |
@preaction | it's good practice to keep one bugfix to one commit (which means one pull request) | 00:21 |
ampli | I fixed several bugs which are not yet open. Is it better to first send a bug report before I send a pull request? | 00:26 |
@preaction | yes | 00:29 |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Ping timeout: 255 seconds] | 00:58 | |
-!- knowmad [~knowmad@68-115-225-250.static.spbg.sc.charter.com] has quit [Ping timeout: 258 seconds] | 00:58 | |
ampli | preaction: I submited a bug report, but it got totally mangled :(, many lines are missing! (Definitely a bug.), This happened because I wrote the report in vim and then pasted it in. This triggered two bugs in tiny-mce that needed work to clean up, but now I see there is a 3rd bug wich is more severe. | 01:59 |
ampli | Could you please delete this report and I will send it again (by manually writing it instead of doing a paste)? | 02:00 |
ampli | This is what I posted, that got mangled (image of the original post): http://i.imgur.com/8F4iF.png | 02:22 |
scrottie | ampli, have a link to the actual bug report that's messed up? | 02:28 |
sbaur | scrottie: looks like it's http://www.webgui.org/use/bugs/tracker/12178 | 02:29 |
ampli | scrottie: see the URL I sent above (http://i.imgur.com/8F4iF.png). This is the bug report that I sent (I used the Back button and made an image of it). | 02:30 |
-!- sbaur [~Adium@130.157.145.37] has quit [Quit: Leaving.] | 02:30 | |
ampli | Compare it to what actually saved by the bug tracker.... | 02:30 |
scrottie | oh, heh, I'm not a content manager on that WebGUI. | 02:31 |
ampli | This is what the bug tracker got: http://www.webgui.org/use/bugs/tracker/12178 | 02:32 |
scrottie | yeah, sbaur dug that link up (thanks sbaur). | 02:33 |
scrottie | I don't have permissions to fix that. sorry. if you do as perlDreamer suggested and put the corrected info in a comment, he might fix the ticket. | 02:33 |
scrottie | or it might not matter. if the ticket just gets closed with your fix right away, there might not be any point to fixing the ticket. | 02:34 |
ampli | I already fixed and tested it and can send a pull request. | 02:35 |
scrottie | right. do what perlDreamer suggested and just put the correct text of the ticket into a comment, then reference that ticket. he can fix it up later if needed. | 02:37 |
SynQ | good | 02:38 |
SynQ | it's up and running :) | 02:38 |
SynQ | http://www.procolix.com dns update should be coming along nicely | 02:38 |
ampli | Later I will try to debug the problem with the bug tracker... (I saved the original HTML form tiny-mce). | 02:40 |
scrottie | there's a rewrite of the bugtracker that's supposed to go online any day now | 02:41 |
scrottie | if anything, talk to frodwith and ask about helping test it | 02:41 |
@frodwith | don't talk to me about it | 02:42 |
@frodwith | nobody talk to me about the helpdesk! | 02:42 |
@frodwith | talk to ummm | 02:42 |
@frodwith | preaction | 02:42 |
@frodwith | or someone | 02:42 |
scrottie | alright. ahem. would you like to wash your hands of it in the form of offering up a github link to what you've done...? | 02:45 |
ampli | I made a follow-up with the complete info and this time it didn't get mangled :) | 02:49 |
ampli | I will send the pull request shortly. | 02:50 |
ampli | Sent. | 03:07 |
scrottie | w00t | 03:07 |
scrottie | hopefully tomorrow I can catch up on this | 03:07 |
ampli | I have an additional fix for the same file (datatable.js). | 03:08 |
ampli | What is your policy on cleaning up code that offends jslint? | 03:09 |
ampli | I made its parametrs as liberal as possible, and yet 5 lines are offending it. | 03:09 |
ampli | I can just clean them up (very minore changes) along with another bug fix that I would like to send. | 03:10 |
scrottie | I'm not aware of any policy... but I'd leave that to preaction to accept/decline since (I think) he's done most of the owrk in there. | 03:11 |
ampli | Ok, I will send the cosmetic cleanup in an additional pull request. | 03:12 |
CIA-82 | webgui: Colin Kuskie master * r814845b / (docs/changelog/7.x.x.txt lib/WebGUI/User.pm): Do not call group methods on an undefined value. IOW, do not assume that we got a group. - http://bit.ly/iVE5vj | 03:17 |
CIA-82 | webgui: Colin Kuskie webgui-7.9 * rf0ec42d / (docs/changelog/7.x.x.txt lib/WebGUI/User.pm): Do not call group methods on an undefined value. IOW, do not assume that we got a group. - http://bit.ly/jWvKyZ | 03:18 |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Read error: Connection reset by peer] | 03:51 | |
-!- ampli [c0722a05@gateway/web/freenode/ip.192.114.42.5] has quit [Ping timeout: 252 seconds] | 03:54 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui | 03:59 | |
-!- advancedalarmtec [~advanceda@99-101-77-213.lightspeed.ltrkar.sbcglobal.net] has quit [Ping timeout: 240 seconds] | 04:24 | |
-!- advancedalarmtec [~advanceda@99-101-77-213.lightspeed.ltrkar.sbcglobal.net] has joined #webgui | 04:28 | |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui | 05:13 | |
-!- stDavid [~stDavid@static-72-64-138-146.tampfl.fios.verizon.net] has quit [Remote host closed the connection] | 05:27 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Quit: Leaving.] | 06:12 | |
-!- ekennedy [~ekennedy@173.154.162.135] has joined #webgui | 07:47 | |
ekennedy | I'm trying to access a metadata field associated with a Page Layout from the style template. Is there a way to do that? I am able to access it from the Layout template but not from the Style template. Thanks. | 07:49 |
-!- Netsplit *.net <-> *.split quits: +Radix-wrk | 08:09 | |
-!- Netsplit over, joins: Radix-wrk | 08:09 | |
-!- mode/#webgui [+v Radix-wrk] by ChanServ | 08:09 | |
-!- ekennedy1 [~ekennedy@107.34.170.80] has joined #webgui | 08:36 | |
-!- ekennedy [~ekennedy@173.154.162.135] has quit [Ping timeout: 240 seconds] | 08:37 | |
-!- ekennedy1 [~ekennedy@107.34.170.80] has quit [Quit: Leaving.] | 09:37 | |
-!- advancedalarmtec [~advanceda@99-101-77-213.lightspeed.ltrkar.sbcglobal.net] has quit [] | 11:16 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 13:45 | |
-!- waxhead [~pete@ppp121-45-193-147.lns20.cbr1.internode.on.net] has joined #webgui | 13:50 | |
-!- SquOnk [~emhn@186.93.207.12] has joined #webgui | 14:28 | |
SquOnk | Greetings. | 14:29 |
SquOnk | Anyone can give a hint on how to use the 'Friends' functionality. | 14:29 |
SquOnk | I've fiddled and twiddled around Settings but haven't figured it out yet. | 14:29 |
SquOnk | :( | 15:01 |
SquOnk | Seems like everyones is still asleep | 15:02 |
SquOnk | ... | 15:14 |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Read error: Connection reset by peer] | 15:18 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 15:42 | |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Quit: Leaving.] | 15:48 | |
SquOnk | How can a user find another user's profile? | 16:19 |
@preaction | clicking on their username from another application, like collaboration or userlist | 16:21 |
SquOnk | preaction: The default UserList Template doesn't make the names clickable, so I suppose I have to build a custom template. | 16:24 |
SquOnk | preaction: Finding another users' profile is the only way to "make friends" with them? | 16:25 |
@preaction | as far as i know, yes. though the link in the profile could be placed anywhere | 16:25 |
SquOnk | preaction: Excellent. Thank you. I'll try and ask again if I find myself in trouble. | 16:26 |
SDuensin | Morning. | 17:04 |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui | 17:41 | |
-!- sbaur [~Adium@130.157.145.37] has joined #webgui | 17:55 | |
-!- sin [~nelson_br@host-1-233.b4.cvc.com.py] has joined #webgui | 18:20 | |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui | 18:22 | |
-!- sin [~nelson_br@host-1-233.b4.cvc.com.py] has left #webgui [] | 18:28 | |
-!- carogray1 [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 19:11 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Ping timeout: 255 seconds] | 19:13 | |
-!- waxhead [~pete@ppp121-45-193-147.lns20.cbr1.internode.on.net] has quit [Ping timeout: 240 seconds] | 19:31 | |
-!- waxhead [~pete@ppp121-45-207-252.lns20.cbr1.internode.on.net] has joined #webgui | 19:32 | |
* scrottie waves | 20:27 | |
-!- knowmad [~knowmad@68-115-225-250.static.spbg.sc.charter.com] has joined #webgui | 20:43 | |
knowmad | Haarg: I've found that code and copied it into my git repo; is it `git commit -a` and `git push` to get this back up to github for you to review? | 20:45 |
knowmad | is there a way for macros to share subroutines? i have 2 macros that use very similar code and would like to push that code into a module/library to reduce duplicate code | 20:50 |
Haarg | yeah, commit -a then push should work | 20:51 |
Haarg | you can have a sub in one macro, then just call it with the full package+sub name | 20:52 |
knowmad | Haarg: committed to git | 21:14 |
-!- SquOnk [~emhn@186.93.207.12] has quit [Quit: Yippie kay-ai-yay, fudder muckers!] | 21:21 | |
scrottie | knowmad, or have both inherit the shared code from some other module with 'use base "What::Ever";'. ... perldoc base | 21:22 |
@preaction | though i believe macros are not being called correctly to allow for overriding inheritance (no $class->process, just ${$class::process} | 21:25 |
@preaction | so be careful | 21:25 |
knowmad | yeah, i'm thinking that i'll do the full package+sub as Haarg suggested | 21:28 |
-!- SquOnk [~emhn@186.93.207.12] has joined #webgui | 21:30 | |
SquOnk | Greetings. | 21:30 |
SquOnk | How can I build the URL to a user's profile inside the User List template? | 21:30 |
@preaction | inheritance works, just not overriding the inherited methods | 21:31 |
@preaction | SquOnk: i believe it is: ?op=account;module=friends;do=sendFriendRequest;uid=$uid | 21:32 |
SquOnk | preaction: All right. I'll try that. | 21:32 |
SquOnk | preaction: Thank you! | 21:32 |
SquOnk | bbl | 21:32 |
-!- SquOnk [~emhn@186.93.207.12] has quit [Client Quit] | 21:32 | |
-!- webguiquestions [ad2ed001@gateway/web/freenode/ip.173.46.208.1] has joined #webgui | 22:20 | |
webguiquestions | Hello. | 22:20 |
webguiquestions | Does anyone know if the sample configs for WebGUI do smoething to rewrite apache's configs so any requests to the root of a domain URL will bring up the home page? | 22:21 |
webguiquestions | Regardless of what is asked for, fi the page doesn't exist? | 22:22 |
webguiquestions | like www.mysite.com brings up the root page, and www.mysite.com/doesnotexist also brings up the root home page... | 22:22 |
sbaur | in the settings, you can set the error page to be what ever you want, however, it may default to being the same as the home page... | 22:24 |
webguiquestions | I'm trying to get apache to serve awstats. | 22:25 |
sbaur | but it is all handled in webgui, no rewriting in apache | 22:25 |
webguiquestions | so www.mysite.com/awstats/awsats.pl is supposed to give the page, but instead webgui keeps coming up. | 22:25 |
sbaur | then you need to add a passthrough for the awstats dir | 22:25 |
sbaur | i'm not sure how to do that in current versions tho | 22:25 |
webguiquestions | that should be in /etc/apache2/sites-enabled/webgui-standalone, yes? | 22:26 |
sbaur | <- still stuck in 7.5, though about to upgrade one site to 7.6 | 22:26 |
sbaur | not sure, sorry | 22:26 |
webguiquestions | That might be a clue... | 22:26 |
sbaur | passthrough is definitely what you want, I'm just not sure how/where it should be setup for your setup | 22:27 |
sbaur | good luck | 22:27 |
-!- sbaur [~Adium@130.157.145.37] has quit [Quit: Leaving.] | 22:27 | |
webguiquestions | Crap. Now the website will download the awstats.pl file instead of running it. | 22:33 |
CIA-82 | webgui: Graham Knop upgrade_b_inject * r3b0ac1a / lib/WebGUI/Upgrade/Script.pm : use B::Hooks::Parser to trigger upgrade cleanup code (+76 more commits...) - http://bit.ly/lionT2 | 22:36 |
webguiquestions | After adding a passthru in webgui.conf, the web server now wants to download the pl file. | 22:58 |
webguiquestions | ... | 22:58 |
-!- ampli [c0722a05@gateway/web/freenode/ip.192.114.42.5] has joined #webgui | 22:58 | |
webguiquestions | If permissions are set properly on the script, any idea why it would download rather than execute it? | 23:00 |
webguiquestions | Could WebGUI still be interfering somehow? | 23:00 |
-!- knowmad [~knowmad@68-115-225-250.static.spbg.sc.charter.com] has quit [Ping timeout: 258 seconds] | 23:27 | |
scrottie | ExecCGI directive... | 23:40 |
scrottie | in mod_perl | 23:40 |
webguiquestions | you mean under /etc/apache2/mod-enabled? | 23:43 |
scrottie | httpd.conf, probably, or a file it pulls in | 23:44 |
scrottie | Apache won't run cgis from any directory unless you tell it to | 23:44 |
webguiquestions | Alias /awstatsclasses "/usr/share/awstats/lib/" Alias /awstatscss "/usr/share/doc/awstats/examples/css/" Alias /awstats-icon "/usr/share/awstats/icon" Alias /awstatsicons "/usr/share/awstats/icon" ScriptAlias /awstats/ "/usr/lib/cgi-bin/" <Directory /usr/lib/cgi-bin> Options ExecCGI -MultiViews +SymLinksIfOwnerMatch </Directory> | 23:45 |
webguiquestions | okay, formatting that sucked. | 23:45 |
webguiquestions | but there is a options execcgi in there for that directory. | 23:46 |
webguiquestions | this is the file awstats in /etc/apache2/config.d | 23:46 |
scrottie | use gist.github.com or similar for pasting things | 23:46 |
scrottie | don't know. would have to troubleshoot. is your httpd you're actually running pulling in from there? | 23:47 |
webguiquestions | git://gist.github.com/1054916.git | 23:48 |
webguiquestions | Looks like it is. | 23:48 |
webguiquestions | Added this line to webgui.conf before it would even get to the point where it prompts me to download the perl file: | 23:49 |
webguiquestions | { "^/awstats" : "WebGUI::URL::PassThru" }, | 23:49 |
webguiquestions | ? | 23:51 |
webguiquestions | Strange. | 23:51 |
webguiquestions | I sent a line and it didn't appear. | 23:51 |
webguiquestions | -> /etc/apache2/apache2.conf has the line Include conf.d/ so it should be pulling from that directory. | 23:52 |
webguiquestions | Must be the slash. | 23:52 |
webguiquestions | battery is dying...I'll have to sign out soon. | 23:55 |
--- Day changed Thu Jun 30 2011 | ||
-!- webguiquestions [ad2ed001@gateway/web/freenode/ip.173.46.208.1] has quit [] | 00:03 | |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui | 00:05 | |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Read error: Operation timed out] | 00:27 | |
ampli | Hi scrottie, I need some feedback on the fixes I sent. | 00:37 |
scrottie | sorry I've swamped with stuff... I'm getting my WebGUI8 fired up again here right now | 00:38 |
ampli | The last 3 fixes I sent are for master. | 00:39 |
ampli | fer=for | 00:40 |
scrottie | oh | 00:44 |
ampli | I need feedback in order to validate I'm doing things right in the way I send the fixes, so I can continue to send additional fixes... | 00:45 |
* scrottie nods | 00:47 | |
@preaction | ampli: i'm sorry, I'll be able to get to it either late thursday night or friday, I'm at YAPC right now | 00:51 |
ampli | preaction: no problem | 00:51 |
scrottie | looking at https://github.com/plainblack/webgui/pull/15, yeah, this is almost entirely preaction's work. I'd be reluctant to make changes to it without getting his input on it... but your explanations of what is going wrong make sense. | 00:53 |
@preaction | wow, how did that one last this long? | 00:53 |
ampli | scrottie: When you bring wg8 up, I would like to ask if you can validate if a major problem I encountered is real, so I can start to debug it. | 00:55 |
CIA-82 | webgui: ampli master * r8e7beab / www/extras/yui-webgui/build/form/datatable.js : (log message trimmed) | 00:56 |
CIA-82 | webgui: Fix #12179. | 00:56 |
CIA-82 | webgui: In WebKit browsers, when a schema is saved, existing column | 00:56 |
CIA-82 | webgui: field types are reset to "Text". This is not a bug in WebKit, and | 00:56 |
CIA-82 | webgui: will happen in any browser that implements Option() as documented. | 00:56 |
CIA-82 | webgui: Option() is not supposed to have an immediate action if only the | 00:56 |
CIA-82 | webgui: default selection is updated on a newly added select object. | 00:56 |
CIA-82 | webgui: ampli master * r5ea0909 / www/extras/yui-webgui/build/form/datatable.js : (log message trimmed) | 00:56 |
CIA-82 | webgui: Fixed the following jslint warnings: | 00:56 |
CIA-82 | webgui: Lint at line 5 character 16: 'WebGUI' was used before it was defined. | 00:56 |
scrottie | ampli, sure | 00:56 |
CIA-82 | webgui: var WebGUI = {}; | 00:56 |
CIA-82 | webgui: Lint at line 53 character 86: Missing '()' invoking a constructor. | 00:56 |
CIA-82 | webgui: data[ columns[ i ].key ] = columns[i].formatter == "date" ? new Date : ""; | 00:56 |
CIA-82 | webgui: Lint at line 89 character 21: 'i' is already defined. | 00:56 |
CIA-82 | webgui: Doug Bell master * rd448919 / www/extras/yui-webgui/build/form/datatable.js : | 00:56 |
CIA-82 | webgui: Merge pull request #15 from ampli/master | 00:56 |
CIA-82 | webgui: ampli webgui-7.9 * rf5b3857 / www/extras/yui-webgui/build/form/datatable.js : (log message trimmed) | 01:03 |
CIA-82 | webgui: Fixed the following jslint warnings: | 01:03 |
CIA-82 | webgui: Lint at line 5 character 16: 'WebGUI' was used before it was defined. | 01:03 |
CIA-82 | webgui: var WebGUI = {}; | 01:03 |
CIA-82 | webgui: Lint at line 53 character 86: Missing '()' invoking a constructor. | 01:03 |
CIA-82 | webgui: data[ columns[ i ].key ] = columns[i].formatter == "date" ? new Date : ""; | 01:03 |
CIA-82 | webgui: Lint at line 89 character 21: 'i' is already defined. | 01:03 |
CIA-82 | webgui: ampli webgui-7.9 * rc05e752 / www/extras/yui-webgui/build/form/datatable.js : (log message trimmed) | 01:03 |
CIA-82 | webgui: Fix #12179. | 01:03 |
CIA-82 | webgui: In WebKit browsers, when a schema is saved, existing column | 01:03 |
CIA-82 | webgui: field types are reset to "Text". This is not a bug in WebKit, and | 01:03 |
CIA-82 | webgui: will happen in any browser that implements Option() as documented. | 01:03 |
CIA-82 | webgui: Option() is not supposed to have an immediate action if only the | 01:03 |
CIA-82 | webgui: default selection is updated on a newly added select object. | 01:03 |
CIA-82 | webgui: ampli webgui-7.9 * r2caaffc / www/extras/yui-webgui/build/form/datatable.js : (log message trimmed) | 01:03 |
CIA-82 | webgui: Columns in DataTable may be "randomly" deleted. This happens in updateSchema(), | 01:03 |
CIA-82 | webgui: Doug Bell master * r4287f2e / docs/changelog/7.x.x.txt : update changelog - http://bit.ly/jzXL9B | 01:04 |
@preaction | ampli: who should I attribute this to? yourself? is there a company or client? also who should I put in the contrib.txt? | 01:05 |
ampli | preaction: You can attribute it to me directly (no company). | 01:07 |
@preaction | as for the other pull request, you're right, and all the other ones need to change to. I'll merge that Friday when I've got some time to fix the rest of them | 01:08 |
ampli | preaction: so I will continue to send additional fixes (one is already ready to be sent). | 01:10 |
CIA-82 | webgui: Doug Bell master * r9cc5e22 / (docs/changelog/7.x.x.txt docs/credits.txt): proper accredation - http://bit.ly/mjYiHc | 01:10 |
@preaction | ampli: sounds awesome | 01:10 |
CIA-82 | webgui: Doug Bell webgui-7.9 * ra0cb75b / (docs/changelog/7.x.x.txt docs/credits.txt): proper accredation - http://bit.ly/lxpj4M | 01:10 |
CIA-82 | webgui: Scott Walters master * r747f439 / (4 files in 4 dirs): | 01:13 |
CIA-82 | webgui: FormField macro for throwing Form controls directly into templates; | 01:13 |
CIA-82 | webgui: useful for using alternative or improved Form controls without having | 01:13 |
CIA-82 | webgui: to change Asset source code. - http://bit.ly/m8DjEA | 01:13 |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Quit: Leaving.] | 01:25 | |
ampli | How I open a new ticket for WebGUI8? (No New Ticket link in http://www.webgui.org/8 ). | 02:05 |
scrottie | http://www.webgui.org/community/webgui-8/issues?func=add;class=WebGUI::Asset::Ticket ... link is (for me) right under where it says "issues" | 02:07 |
scrottie | right above the tab that says "Open Tickets"... do you not have that link? | 02:07 |
ampli | I have it in http://www.webgui.org/bugs but not in http://www.webgui.org/8 . | 02:10 |
scrottie | strange. | 02:10 |
scrottie | does that link work? | 02:10 |
ampli | Do you have it in http://www.webgui.org/8 too? | 02:10 |
scrottie | yeah. | 02:11 |
ampli | Yet Another problem in WebKit - in FF it appears (I will send a fix...). | 02:14 |
scrottie | just a text link. huh. | 02:14 |
CIA-82 | webgui: ampli WebGUI8 * rebbbeb6 / (lib/WebGUI/Operation/Settings.pm lib/WebGUI/Wizard/Setup.pm): | 02:16 |
CIA-82 | webgui: The Save buttons in the two first steps didn't work in Chrome. | 02:16 |
CIA-82 | webgui: According to a hint in the YUI Button documentation about a problem in using | 02:16 |
CIA-82 | webgui: "submit" as a value of the name attribute, I changed submit button name | 02:16 |
CIA-82 | webgui: in the two first steps from "submit" to "send". This solved the problem. - http://bit.ly/loIK8X | 02:16 |
CIA-82 | webgui: Scott Walters WebGUI8 * r54ae754 / (27 files in 15 dirs): | 02:16 |
CIA-82 | webgui: Repeat ampli's fix (described below) for other occurances on the site. | 02:16 |
CIA-82 | webgui: ``The Save buttons in the two first steps didn't work in Chrome. | 02:16 |
CIA-82 | webgui: According to a hint in the YUI Button documentation about a problem in using | 02:16 |
CIA-82 | webgui: "submit" as a value of the name attribute, I changed submit button name | 02:16 |
CIA-82 | webgui: in the two first steps from "submit" to "send". This solved the problem.'' - http://bit.ly/km75rc | 02:16 |
scrottie | (thank you for your contribution!) | 02:17 |
ampli | Now I see why I don't get this link (it turns out in FF it doesn't appear too - my mistake). When I click on the link you supplied I get "Permission Denied!". | 02:22 |
scrottie | okay, I'm not sure what the permissions are set to. I'm not admin/content manager there so I can't look. I assume you're logged in though, right? that's the only thing I can think of, just guessing. | 02:23 |
ampli | It says "hello ampli" so I guess I am logged in. I have a ready fix for wg8 so I would like to open an appropriate ticket before I send it. | 02:24 |
@preaction | i'll open up the 8 ticket list to everybody | 02:32 |
@preaction | done, you may have to force-refresh the page | 02:33 |
ampli | preaction: Now I get the New Ticket link. Thanks! | 02:34 |
ampli | Sent a pull request for WebGUI8 just now... | 03:09 |
-!- knowmad [~knowmad@99-112-245-79.lightspeed.chrlnc.sbcglobal.net] has joined #webgui | 03:11 | |
* scrottie sees it | 03:26 | |
scrottie | thanks, applied. I've stumbled over that change myself. | 03:31 |
CIA-82 | webgui: ampli WebGUI8 * rf0d5a29 / sbin/findBrokenAssets.pl : | 03:31 |
CIA-82 | webgui: findBrokenAssets.pl: redundant argument in WebGUI::Session->open() (#12181) | 03:31 |
CIA-82 | webgui: Problem: | 03:31 |
CIA-82 | webgui: Doesn't work, prints an error message: | 03:31 |
CIA-82 | webgui: Couldn't parse JSON in config file '/' | 03:31 |
CIA-82 | webgui: Fix: | 03:31 |
CIA-82 | webgui: WebGUI::Session->open() is called with $webguiRoot as first arguments, and it should not be supplied any more due to an API change. - http://bit.ly/iVCFUd | 03:31 |
CIA-82 | webgui: Scott Walters WebGUI8 * r580cb36 / sbin/findBrokenAssets.pl : | 03:31 |
CIA-82 | webgui: Merge pull request #16 from ampli/WebGUI8 | 03:31 |
CIA-82 | webgui: Web gui8 - http://bit.ly/khkrzx | 03:31 |
scrottie | WebGUI::Session::open's API change | 03:31 |
ampli | I added a new feature to DataTable and I would like to consult if such a feature is desired and if so how to implement it "correctly". | 03:37 |
scrottie | that's one part of the system I'm not well versed in but I'll be happy to comment on what you've done. | 03:38 |
ampli | I added a RichEditor support for Textarea fields. | 03:39 |
@preaction | that worked? nice | 03:39 |
scrottie | as far as new features, I think what happens is a general consensus is formed here on whether it's generally useful, and if so, then it goes into the development branch in master. features require unit tests. | 03:39 |
ampli | It seems to work well. | 03:39 |
@preaction | the YUI rich editor or the TinyMCE? not that it matters either way, just curious | 03:39 |
ampli | I added TinyMCE support. | 03:40 |
@preaction | oh wow | 03:40 |
ampli | My implementation is "problematic" in that it upgrades any Textarea to Rich Editor. I guess it would be nicer to add a new field type RichEditor. | 03:42 |
@preaction | HTMLArea maybe? | 03:42 |
@preaction | at least, that's the WebGUI::Form::Control subtype | 03:42 |
ampli | If so, it should be HTMLArea for consistency. | 03:43 |
ampli | The problem I encountered in adding it is that YUI's datatable.js has a closed list of types and it is not easily possible (if at all) to add another type. | 03:44 |
ampli | A solution may be to use some field in the YUI's DataTable data to indicate that a particulat TextArea column should have a Rich Editor. | 03:46 |
ampli | This is a kind of hack (not implemented yet) but I didn't find a better one. | 03:46 |
@preaction | there might be a way to override the "show editor" event for a column | 03:47 |
ampli | Yes, this is what I did (it is a small fix). When the column type is Textarea I just use the TinyMCE editor on it. | 03:48 |
@preaction | yeah, that's probably the most correct way to do it | 03:48 |
ampli | But for now this is done unconditionally... for any textarea column. | 03:48 |
@preaction | ah | 03:48 |
@preaction | it doesn't let you choose a type that isn't known by the YUI datatable? | 03:49 |
ampli | So I thought of adding another field type in "Edit Schema", (let it be HTMLArea) that will be really YUI's Textarea, and a flag in the table data will indicate a RichEditor should be used. | 03:50 |
@preaction | i think that there are two fields in the column metadata that define what the "type" is | 03:52 |
@preaction | let me check quick | 03:52 |
@preaction | ah, i see. there's "formatter" and "editor", which serve two different purposes | 03:53 |
@preaction | using proper objects for the "editor" and "formatter" values would be ideal (as the example shows http://developer.yahoo.com/yui/examples/datatable/dt_cellediting.html ), but requires eval{} which may not be a good idea | 03:56 |
ampli | The formatter (as far as I remember) is used for validity check/transformation of the field value. | 03:58 |
@preaction | yeah | 03:59 |
ampli | I need to check if the editor field value can be anything other than textarea, because I still use the YU's datatable.js textarea editor (tinyMCE is an "external" thing YUI's datatable.js isn't aware to). | 04:01 |
ampli | If it should remain set to textarea even on HTMLArea fileds (as I thought up to now, including), then I need to set another indication in the table data (use some existing field or add, if possible, a new one). This is what I referred to as "hack". | 04:04 |
ampli | ISuch a hack is not so bad, because it is an internal implementation detail, not seen externally and can be changed at any time if a better way is found, without an API chnage (the Schema string will still be HTMLArea in any case). | 04:08 |
@preaction | of course | 04:08 |
ampli | If I send you a full working implementation, is there a good chance you incorporate it into WebGUI (8) ? | 04:14 |
@preaction | most likely, yes. but it'd go into 7.10 (which would make it into 8 then) | 04:15 |
ampli | Ok, I will finish it (add an HTMLArea type to be converted to textarea+flag) and send it. | 04:17 |
ampli | In Asstet's JS, what sould I do if I encounter an internal error? Currently I call alert(), but I didn't see this done in WebGUI code. | 04:46 |
-!- carogray1 [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Quit: Leaving.] | 04:53 | |
-!- knowmad [~knowmad@99-112-245-79.lightspeed.chrlnc.sbcglobal.net] has quit [Ping timeout: 250 seconds] | 05:00 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Quit: Ex-Chat] | 05:23 | |
daviddelikat | which of the asset* subtables is the description field on? | 05:27 |
scrottie | daviddelikat, wobject | 05:37 |
daviddelikat | thanks | 05:38 |
scrottie | ampli, sorry, no idea of any cases where JS errors are handled in any useful way | 05:38 |
daviddelikat | I think thats the oonly one I didn't look at... | 05:38 |
scrottie | heh | 05:38 |
ampli | Is there a way to log error messages from JS? | 05:41 |
scrottie | don't think so | 05:44 |
scrottie | preaction has been working on generalized RPC | 05:44 |
scrottie | that might include a way, and if not, it would be a nice way to do it | 05:45 |
scrottie | heading out here... take care. | 05:45 |
-!- ampli [c0722a05@gateway/web/freenode/ip.192.114.42.5] has quit [] | 05:48 | |
-!- ckotil [~ckotil@snare.grnoc.iu.edu] has quit [Ping timeout: 240 seconds] | 06:21 | |
-!- ckotil [~ckotil@snare.grnoc.iu.edu] has joined #webgui | 06:22 | |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui | 08:56 | |
-!- ampli [c0722a05@gateway/web/freenode/ip.192.114.42.5] has joined #webgui | 09:14 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Read error: Connection reset by peer] | 11:15 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 14:23 | |
-!- knowmad [~knowmad@adsl-070-148-067-249.sip.clt.bellsouth.net] has joined #webgui | 14:39 | |
-!- knowmad [~knowmad@adsl-070-148-067-249.sip.clt.bellsouth.net] has quit [Ping timeout: 258 seconds] | 14:55 | |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Quit: Leaving.] | 15:50 | |
SDuensin | Morning. | 16:53 |
-!- khenn [ab9f400a@gateway/web/freenode/ip.171.159.64.10] has joined #webgui | 17:02 | |
-!- mode/#webgui [+o khenn] by ChanServ | 17:02 | |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui | 17:19 | |
-!- sbaur [~Adium@130.157.145.37] has joined #webgui | 17:22 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui | 17:33 | |
ckotil | does anyone have that walkthrough handy for setting up webgui 8 via git? | 17:38 |
-!- xootom [~xootom@cpc3-shef10-2-0-cust339.barn.cable.virginmedia.com] has joined #webgui | 17:44 | |
ckotil | I just followed http://www.webgui.org/wiki/git and did a git checkout WebGUI8 . that got me where i want to be, i think. | 18:02 |
xootom | sorry for butting in -- i'm wanting to have a go with wg8 too, just on a virtual machine locally.. is it a big job... am i better waiting for a release? what's the recommended OS? is there a corresponding wre? | 18:08 |
Haarg | there isn't a wre equivalent yet | 18:10 |
Haarg | it's pretty easy to set up if you are a developer. | 18:11 |
xootom | looks straight forward just found the quick and dirty install instructions - is it likely to work on a 64 bit box, or stick to 32? | 18:13 |
Haarg | it should work fine on 64 bit | 18:13 |
xootom | great i'll try a centos 5.6 iso | 18:14 |
ckotil | i just tried setting up the 0.9.3 wre for wg8. the --with-wgd flag is not supported, tho it says it should be. | 18:14 |
ckotil | wdk rather | 18:15 |
Haarg | heh, never knew about that flag. it's probably only available in git wre | 18:17 |
ckotil | a couple months ago I foudn a really easy to follow write up about it. i was able to take mye existing dev wre instance and upgrade wg7 to wg8. | 18:33 |
ckotil | but i've since reverted that to wg7. I treid to take it back to 8 a couple weeks ago and failed. today I have a fresh VM i want to put 8 on for a demo to show my team | 18:34 |
xootom | I've got a fresh vm running wg7 I download for testing and demos, it's the stock appliance off the wg site. Works really well. Maybe that's a good starting point? | 18:37 |
ckotil | it should. that's where i started from last time | 18:44 |
ckotil | aaaand , i cant get the wre to build on rh6 64bit. crud. | 18:48 |
ckotil | ./build.sh: line 56: CFLAGS="-fPIC": command not found | 18:48 |
ckotil | WRE ERROR: openssl configure did not complete successfully. | 18:48 |
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui | 19:17 | |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 19:17 | |
xootom | hmm i'm struggling to upgrade the perl environment in the wg 7.8 centos appliance | 19:57 |
xootom | testEnvironment.pl is failing on various modules which won't install | 19:58 |
+perlDreamer | like what? | 19:58 |
+perlDreamer | the appliance could be missing things like a C compiler | 19:58 |
+perlDreamer | base libraries | 19:58 |
xootom | Net:: DNS | 19:58 |
xootom | yeah could be will check | 19:58 |
+perlDreamer | really, the appliance is meant to demonstate what it comes with, and not much else | 19:59 |
xootom | ahh i thought it was the windows recommended thing, just its quite out of date now | 19:59 |
+perlDreamer | which VM are you using? | 20:00 |
xootom | the latest one 7.8.24 from http://www.webgui.org/download (Download WebGUI VMWare Appliance) | 20:02 |
xootom | i've installed gcc, failing now on installing Cache::FastMmap | 20:07 |
+perlDreamer | if it failed before, you may have to manually clean out the cpan build directory and start again | 20:08 |
xootom | yeah it might have, will do that | 20:10 |
scrottie | you're likely to have to install packages to get dev versions of system libraries, too. | 20:53 |
scrottie | oh, perlDreamer mentioned base libraries already. | 20:53 |
+perlDreamer | ya, for CentOs, *-dev packages | 20:53 |
xootom | i'm wondering if it'd be easier to start with a distro based on perl >= 5.12.1 | 20:55 |
+perlDreamer | I wouldn't think so | 21:08 |
+perlDreamer | the version of perl, and the modules that WebGUI use, aren't tied together at all | 21:09 |
+perlDreamer | you're more likely to find that the modules won't work with a newer perl, if anything | 21:09 |
scrottie | 5.12 is pretty good. I've run into some walls with 5.14, though, ImageMagick not the least of them | 21:10 |
+perlDreamer | it wouldn't be too hard to pump out another version of that VM, with updated modules | 21:11 |
+perlDreamer | and WebGUI | 21:11 |
+perlDreamer | and, it wouldn't be much harder to pump out a VM that's WebGUI8'able | 21:11 |
+perlDreamer | except it wouldn't have a WRE8 | 21:12 |
+perlDreamer | since it doesn't exist yet | 21:12 |
* perlDreamer resists the temptation to ramble on in Victor Borge'ish fashion | 21:12 | |
scrottie | don't resist. get it all out. | 21:15 |
+perlDreamer | Normally, I don't do requests | 21:15 |
+perlDreamer | unless I have specifically been asked | 21:15 |
+perlDreamer | this specific request comes from an older lady | 21:16 |
+perlDreamer | In fact, she is dead | 21:16 |
+perlDreamer | The request comes from her son, who I have known for 70 years | 21:16 |
scrottie | Casey Kasem? is that you? | 21:17 |
+perlDreamer | No, that's Victor Borge | 21:17 |
+perlDreamer | http://www.youtube.com/watch?v=NcinTNhju-g | 21:19 |
xootom | ahh from the wg8 instructions Install a recent Perl (5.12.1 or better)? | 21:19 |
* perlDreamer is not aware of any perl version required higher than 5.10 | 21:20 | |
+perlDreamer | but I haven't looked at wg8 for a very long time | 21:20 |
xootom | do you know roughly when it will be released? guess we have 7.10 to go stable first | 21:24 |
+perlDreamer | yes, and there are several issues holding 7.10 going stable | 21:26 |
+perlDreamer | <comedy>The largest of which is me working on it</comedy> | 21:27 |
scrottie | WG8 is looking good but it needs a good shake-down. | 21:27 |
scrottie | and there's some more work that needs to be done. | 21:28 |
* perlDreamer steps out to run some errands, bbiaw, no comedy this time | 21:31 | |
CIA-82 | webgui: Scott Walters master * r6ac46be / docs/upgrades/upgrade_7.10.19-7.10.20.pl : Missed upgrade script for the FormField macro. Here's it. - http://bit.ly/jhMjyD | 21:42 |
ckotil | xootom: which instructions are you looking at? | 22:06 |
ckotil | README? | 22:06 |
xootom | https://github.com/plainblack/webgui/blob/WebGUI8/docs/install.txt | 22:21 |
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has quit [Quit: Leaving.] | 23:08 | |
ckotil | nice. thanks | 23:11 |
xootom | i'm struggling getting just 7.10.31 working, can't get JavaScript :: Packer to install, says it's not recognised as a perl package | 23:15 |
scrottie | cd you could: cd /data/wre/prereqs/sbin; wget http://cpanmin.us; chmod ugo+rx cpanm; ./cpanm JavaScript::Packer | 23:19 |
xootom | brilliant thanks, did the same on CSS :: Packer and HTML :: Packer and it has worked, got 7.9.31 running on the CentOS VM | 23:23 |
xootom | will duplicate the VM before I try anything to get it to WG8! | 23:24 |
scrottie | cpanm is a lot less pathological on the platforms it supports. | 23:24 |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Read error: Operation timed out] | 23:25 | |
--- Log closed Fri Jul 01 00:00:01 2011 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!