--- Log opened Fri Jul 01 00:00:01 2011 | ||
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui | 00:05 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has left #webgui ["Leaving."] | 00:16 | |
xootom | hmm i'm trying to checkout wg8, after running git clone https://github.com/plainblack/webgui.git | 00:48 |
---|---|---|
xootom | then git checkout WebGUI8 --track | 00:48 |
xootom | but it says not a git repository or any of the parent directories: .git | 00:49 |
xootom | the first command downloads me a copy of wg 7.10.20-beta though | 00:50 |
scrottie | after the git clone, did you cd into the webgui directory? | 00:57 |
xootom | yeah when i try that it says missing branch name try -b | 01:04 |
xootom | i just tried git checkout -b WebGUI8 --track, it says switched to a new branch WebGUI8, do I run the clone again now? | 01:05 |
scrottie | nope. once you clone, you have a copy of the repo, at least in one point in time. now to update it, do 'git pull' | 01:06 |
xootom | says already up to date | 01:06 |
scrottie | if you try to update it now, right after having cloned it, you'll probably find there are no updates... but if you come back in a week, you'll probably have a few. | 01:07 |
scrottie | yup. | 01:07 |
xootom | but the webgui directory i have contains the normal docs etc lib sbin t www | 01:07 |
xootom | seems to only be wg 7.10.20 | 01:07 |
scrottie | what does this say: grep VERSION lib/WebGUI.pm | 01:09 |
xootom | our $VERSION = '7.10.20'; | 01:10 |
scrottie | "switched to new branch". hrm. okay. | 01:11 |
scrottie | do this: | 01:11 |
scrottie | git checkout master | 01:11 |
xootom | switched to branch 'master' | 01:11 |
scrottie | git branch -d WebGUI8 | 01:11 |
scrottie | git checkout WebGUI8 --track # no -b... -b creates a new branch... you want the existing WebGUI8 branch, not to create a new one | 01:12 |
xootom | deleted branch WebGUI8 (was 6ac46be). | 01:12 |
scrottie | actually, I kind of doubt that'll work. you'll probably have to re-pull the WebGUI8 branch... | 01:12 |
xootom | missing branch name; try -b | 01:12 |
xootom | how do I do that though | 01:12 |
scrottie | git pull git@github.com:/plainblack/webgui WebGUI8:WebGUI8 ... never seems to do what I expect it to | 01:13 |
scrottie | reading | 01:13 |
xootom | shall i empty my webgui directory of the 7.10 stuff? | 01:14 |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Quit: Leaving.] | 01:14 | |
scrottie | that doesn't sound sane. | 01:14 |
scrottie | er, try that 'git pull' line. if that doesn't work, perhaps clone again, but when you checkout the WebGUI8 branch, don't use the -b flag | 01:16 |
xootom | the git pull line says permission denied publickey | 01:16 |
scrottie | oh, right, use the other URL style you pulled from before... it should be http:// something or the like. | 01:17 |
xootom | lots of removing, auto-merging, then automatic merge failed, fix conflicts then commit the result | 01:18 |
xootom | seems more promising though can i just rm -Rf the lot and re pull from a fresh (i'm working in /root/webgui) | 01:19 |
scrottie | blow the clone away and clone again. | 01:19 |
scrottie | that didn't work in the way I thought it wouldn't. | 01:19 |
xootom | hmm tried emptying it, downloaded loads but now says pull's not possible as i have unmerged files | 01:20 |
scrottie | when you give git a src and dest ref, it always seems to act on the current branch regardless. maybe it knows how to pull a branch into an empty branch but I don't want to find out. | 01:20 |
xootom | this is complicated :) | 01:20 |
scrottie | you don't have unmerged files if you cd ..; rm -rf webgui | 01:20 |
scrottie | then git pull again | 01:20 |
xootom | says not a git repository now i'm in /root | 01:20 |
scrottie | git clone doesn't care if you're in a git repo so you didn't do a git clone. | 01:21 |
scrottie | blow away your repo and clone agakin. | 01:21 |
xootom | the original line without reference to WebGUI8? | 01:21 |
scrottie | I don't know the "original line" is. | 01:21 |
xootom | sorry it's git clone https://github.com/plainblack/webgui.git | 01:22 |
scrottie | yes, do that. then cd into the webgui dir (you're now in the repo and can use other git commands besides clone). then do git checkout WebGUI8 (no args) | 01:23 |
scrottie | whlie you're on the WebGUI8 branch, you can always pull changes from github with: git pull https://github.com/plainblack/webgui.git WebGUI8 | 01:24 |
-!- sbaur [~Adium@130.157.145.37] has quit [Quit: Leaving.] | 01:24 | |
xootom | half way there on the clone | 01:25 |
xootom | cd webgui | 01:27 |
xootom | done the git checkout, says switched to a new branch WebGUI8 | 01:27 |
scrottie | "new branch"? | 01:27 |
scrottie | did you give 'git checkout WebGUI8' any other args? | 01:28 |
xootom | no, full message is Branch WebGUI8 set up to track remote branch WebGUI8 from origin. Switched to a new branch 'WebGUI8' | 01:28 |
scrottie | what's the first hash in 'git log' now? | 01:29 |
xootom | ohh just looked in the lib/WebGUI.pm and version is 8.0.0 | 01:29 |
xootom | going to upgrade my install to 7.10.4-beta then follow the instructions | 01:32 |
xootom | thanks for your patience scrottie :) | 01:32 |
scrottie | you're welcome. good luck! one thing to note... | 01:32 |
scrottie | if you're just playing with a fresh WebGUI8 (and it sounds like you aren't)... you still have to run upgrades. create.sql is for 7.10.something. | 01:33 |
scrottie | also, upgrades have changed. you need a fresh wgd or else it'll miss all of your upgrades, silently fail, and leave you wondering why everything is broken. | 01:33 |
scrottie | the upgrade script that comes with WebGUI might work too. I don't know. | 01:33 |
scrottie | but upgrades silently not running is the main problem I've been seeing with it right now. | 01:34 |
scrottie | I should add some of these sanity checks we were talking about... | 01:34 |
xootom | i'm starting with the 7.8.24 virtual machine, taken that to 7.9.31, 7.10.4 then 8...hopefully!! | 01:34 |
scrottie | craziness =P | 01:34 |
scrottie | but good for shaking out problems. | 01:35 |
xootom | actually i might have messed up with 7.9.31, which version precedes the 7.10 branch? | 01:35 |
scrottie | good question. | 01:35 |
scrottie | you can always: ls docs/upgrades (except WG8 moves the upgrades to share/upgrades) and see what the upgrade scripts are for. | 01:36 |
scrottie | there should be one in there like: upgrade_<your current version>-<the version after that>.pl, or else you've gone too far ahead. | 01:37 |
xootom | looks like 7.9.13 goes to 7.10.0 | 01:37 |
xootom | might start again and save a snapshot at each version | 01:38 |
xootom | 7.8.24/7.9.13/7.10.0/7.10.4 | 01:39 |
CIA-82 | webgui: Colin Kuskie webgui-7.9 * r9d22921 / (4 files in 4 dirs): | 02:20 |
CIA-82 | webgui: Change the generic tax driver to remove spaces around commas when adding a new | 02:20 |
CIA-82 | webgui: row. Add tests and a convenience method for getting one line of tax | 02:20 |
CIA-82 | webgui: information. Upgrade sub fixes any information already in the db. - | 02:20 |
CIA-82 | webgui: http://bit.ly/kBSOH2 | 02:20 |
CIA-82 | webgui: Colin Kuskie webgui-7.9 * r75ec485 / docs/upgrades/upgrade_7.9.31-7.9.32.pl : Fixup some upgrade subs. - http://bit.ly/lGPntr | 02:20 |
CIA-82 | webgui: Colin Kuskie master * r2bcda0c / (5 files in 4 dirs): | 02:21 |
CIA-82 | webgui: Change the generic tax driver to remove spaces around commas when adding a new | 02:21 |
CIA-82 | webgui: row. Add tests and a convenience method for getting one line of tax | 02:21 |
CIA-82 | webgui: information. Upgrade sub fixes any information already in the db. - | 02:21 |
CIA-82 | webgui: http://bit.ly/jWe2NE | 02:21 |
xootom | getting there with the webgui 8 from 7.10.4 upgrade, installed all the modules with testEnvironment, trying to run the wgd reset --upgrade but it says No WebGUI config file available | 03:05 |
xootom | hmm set WEBGUI_CONFIG and tried upgrading with wgd, says can't find upgrade path from 7.10.4 to 8.0.0 | 03:21 |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui | 03:25 | |
xootom | upgrade looks like it's from 7.10.18 to 8.0.0 | 03:31 |
-!- xootom [~xootom@cpc3-shef10-2-0-cust339.barn.cable.virginmedia.com] has quit [Ping timeout: 255 seconds] | 03:54 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Quit: Leaving.] | 05:38 | |
@preaction | damn he left | 06:33 |
-!- stDavid [~stDavid@static-72-64-138-146.tampfl.fios.verizon.net] has joined #webgui | 06:38 | |
-!- daviddelikat [~user@adsl-75-42-233-158.dsl.mdsnwi.sbcglobal.net] has left #webgui [] | 06:39 | |
-!- vayde [~vayde@184-100-126-195.mpls.qwest.net] has quit [Remote host closed the connection] | 07:20 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 07:34 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Ping timeout: 255 seconds] | 09:01 | |
-!- xootom [~xootom@cpc3-shef10-2-0-cust339.barn.cable.virginmedia.com] has joined #webgui | 10:44 | |
-!- xootom [~xootom@cpc3-shef10-2-0-cust339.barn.cable.virginmedia.com] has quit [Quit: ~ Trillian Astra - www.trillian.im ~] | 11:24 | |
-!- xootom [~xootom@cpc3-shef10-2-0-cust339.barn.cable.virginmedia.com] has joined #webgui | 11:26 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 12:46 | |
-!- stDavid [~stDavid@static-72-64-138-146.tampfl.fios.verizon.net] has quit [Quit: "This conversation can serve no purpose anymore. Goodbye."] | 12:51 | |
-!- stDavid [~stDavid@static-72-64-138-146.tampfl.fios.verizon.net] has joined #webgui | 13:25 | |
xootom | hi all, i've successfully upgraded the vmware appliance through 7.8.24 to 7.9.13 through various 7.10s to get to 7.10.18 then to 8.0.0 --- all working so far except that when I try and turn admin mode on (?op=admin) the plack server bombs out - anyone any ideas? where does plack log... lots of stuff scrolls up the screen but wondering where to start | 13:44 |
-!- daviddelikat [~user@adsl-75-42-233-158.dsl.mdsnwi.sbcglobal.net] has joined #webgui | 14:02 | |
SDuensin | FrIdAy! | 16:48 |
xootom | hey :) anyone know what glibc detected - starman free() invalid pointer 0x0b81d3ac means :/ | 17:03 |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui | 17:40 | |
-!- Radix-wrk [quasselcor@203.161.71.161.static.amnet.net.au] has quit [Remote host closed the connection] | 17:42 | |
-!- Radix-wrk [quasselcor@203.161.71.161.static.amnet.net.au] has joined #webgui | 17:45 | |
-!- mode/#webgui [+v Radix-wrk] by ChanServ | 17:46 | |
-!- stDavid [~stDavid@static-72-64-138-146.tampfl.fios.verizon.net] has quit [Quit: "I've just picked up a fault in the AE-35 unit."] | 17:51 | |
@preaction | xootom: something very bad. did you run testEnvironment.pl? is there anything in the webgui.log? | 19:08 |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Ping timeout: 264 seconds] | 19:09 | |
xootom | yeah testEnvironmented and installed new modules each step of the way | 19:11 |
xootom | nothing in the webgui.log | 19:11 |
@preaction | i might try using starlet to see if it's a webgui problem or a starman problem | 19:13 |
xootom | i installed starman later, first it was using HTTP:: Server:: PSGI, failed on the same thing (entering admin mode) | 19:15 |
xootom | just tried it now using PSGI, error is glibc detected *** /data/wre/prereqs/bin/plackup: munmap_chunk(): invalid pointer: 0x0b0a0790 | 19:16 |
scrottie | xootom, did you install a fresh wgd and use that to do the 7.10.18 -> 8.0.0 upgrades like I warned you that you'd have to? | 19:17 |
xootom | yes ended up doing normal upgrades to get to a 7.10.18 box, then downloaded wgd from haarg to run the wgd reset | 19:17 |
scrottie | re: the glibc error, you might switch cache driver. I'm guessing that's Cache::FastMmap at work there. look for "cache" : { "driver" : "FastMmap", ... in the config file. | 19:20 |
xootom | yes it's using FastMmap, what can I switch to? | 19:21 |
scrottie | good question. there were a pile of cache drivers around here somewhere, I thought | 19:22 |
xootom | I could use reset to go back to the site starter wizard, that worked ok to set the basic site parameters. can login fine, just can't get to admin mode | 19:22 |
scrottie | admin is probably something else... I'll have you check some other things for that | 19:23 |
scrottie | xootom, do perldoc CHI | 19:24 |
scrottie | any of those should work | 19:24 |
@preaction | Memory might be good for now | 19:24 |
scrottie | eg, instead of FastMmap, File, but then you have to give it a root_dir arg | 19:24 |
scrottie | ah, FastMmap already takes a root_dir arg, so that in the config file should work as an example | 19:25 |
xootom | yeah changed it to File, same crash | 19:26 |
xootom | (this glibc error is what happens when turning admin on) | 19:27 |
scrottie | hrm. | 19:27 |
scrottie | gdb | 19:27 |
@preaction | try using plackup without -S starman? | 19:27 |
scrottie | set args plackup app.psgi | 19:27 |
scrottie | run | 19:27 |
scrottie | (then when it crashes:) | 19:27 |
scrottie | bt | 19:27 |
scrottie | and paste that into a gist.github.com? | 19:28 |
xootom | daft question but how do I copy the console error dumps from a VMware player console | 19:29 |
@preaction | you could ssh in instead maybe? | 19:30 |
@preaction | otherwise dunno | 19:30 |
xootom | good idea | 19:30 |
xootom | wish I'd have thought of that last night would have saved an hour or two ;) | 19:31 |
xootom | https://gist.github.com/1058879 | 19:34 |
scrottie | oh me oh my. that crash is in perl itself. | 19:39 |
@preaction | what does perl --version say? | 19:40 |
scrottie | as preaction suggested, try a different plack server, just to try to avoid whatever is triggering this? | 19:40 |
xootom | This is perl, v5.10.0 built for i686-linux | 19:40 |
scrottie | and yeah, it has probably been fixed in a newer perl but not necessarily. | 19:40 |
xootom | I tried Starman too which was the alternative error at the same point (munmap_chunk(): invalid pointer) | 19:41 |
scrottie | you might download and build and install 5.10.1... wait, 5.10.1 is the latest 5.10? | 19:41 |
scrottie | they only did one patch release before going to 5.12? | 19:41 |
@preaction | yep | 19:41 |
scrottie | anyway, if you upgrade to the latest in the 5.10 series, that bug might be fixed and you shouldn't have to rebuild any of the CPAN modules. | 19:42 |
@preaction | i think that was when they were hammering out how the shorter release cycles would work | 19:42 |
xootom | could it be a module that didn't install properly from cpan? | 19:42 |
@preaction | no, it wouldn't work at all. it's memory that's being double-freed (afaik) | 19:42 |
scrottie | I would suspect that too, but reading this strack trace, it looks like the coredump is in perl | 19:42 |
* scrottie nods | 19:42 | |
scrottie | looks like perl was requiring a module, died in there, and then double-freed something | 19:43 |
xootom | is 5.10.0 the standard perl in wre 0.9.3? | 19:43 |
@preaction | i think so, but i've run 8 on 5.10.1 and 5.12.3 without issue | 19:43 |
@preaction | strace might be able to figure out which module is trying to be loaded | 19:44 |
scrottie | if you did upgrade 5.10, you'd have to be careful to go through all of the manual config questions and point everything inside /data/wre/prereqs, or else get the WRE source and change out the perl in there | 19:49 |
xootom | yeah i'm just going through configure now to point it to the wre directories.. so many questions about where to put libs, site specific libs, device specific etc | 19:51 |
scrottie | I find that it takes me a few tries to get it all right, and my patience quickly exhausts. | 19:52 |
scrottie | stealing the config.sh (I think it is) that the wre source configures might be a short-cut too, if this way proves too tedious. | 19:53 |
xootom | good idea might as well grab the wre source and have a look | 19:54 |
scrottie | dammit, I cannot get Tavis and Jamie in one place at the same time and now Jamie is out for a week. | 19:57 |
xootom | doesn't appear to be a config script in wre's perl source | 19:59 |
xootom | (presets that is) | 19:59 |
scrottie | well, if you run the build script, one will be left over as a side-effect | 20:00 |
xootom | ah yes its in wrebuild | 20:00 |
xootom | grrr i put perl 5.10.1 source into the wrebuild directory then edited build.sh to cd into that one, and used the build.sh to just build perl... fails on make miniperl | 20:10 |
xootom | hmm the 5.10.0 source in wre compiles fine though | 20:22 |
xootom | that recompiled 5.10.0 seems to have stopped it crashing... just when I go to Turn Admin On now, the screen refreshes but nothing's happened | 20:24 |
@preaction | check the webgui.log file | 20:24 |
xootom | it's empty - /data/wre/var/logs/webgui.log? | 20:25 |
@preaction | yes | 20:26 |
@preaction | provided that's what /data/WebGUI/etc/log.conf says that | 20:26 |
@preaction | might want to bump the log level to INFO while you're in there | 20:26 |
xootom | ah it's in /var/log.. wg8 must have changed it | 20:27 |
xootom | 2011/07/01 17:44:29 - ERROR - www.example.com.conf.conf - WebGUI::Middleware::StackTrace::__ANON__[42] - Can't call method "setting" on an undefined value at /data/WebGUI/lib/WebGUI/Asset/Wobject/Search.pm line 37. | 20:28 |
@preaction | god damn that bug... | 20:28 |
@preaction | i can't reproduce it, so i don't even know... | 20:28 |
@preaction | go to line 37 and add "return unless $_[0]->session;" before the session->setting->blah | 20:29 |
xootom | current line is: return $session->setting->get("defaultPage"); | 20:30 |
xootom | same error | 20:34 |
scrottie | at the mysql prompt (eg, do: wgd db), do this: replace into settings (name, value) values ('showDebug', '1'); | 20:36 |
scrottie | then: replace into settings (name, value) values ('ipDebug', '127.0.0.1/24'); | 20:36 |
scrottie | if everything goes well, that should give you a stack trace in the web browser when it blows up. | 20:37 |
xootom | have adjusted the ip and yep got a trace | 20:39 |
xootom | https://gist.github.com/1059047 | 20:42 |
scrottie | thank you github for truncating columns. you make me feel like I'm programming an IBM mainframe. nicely done. | 20:51 |
scrottie | one minute here... minimum =| | 20:52 |
xootom | how do you make sense of that lot :) | 20:53 |
scrottie | the module names mentioned in there are familiar, that's how, mostly | 20:54 |
scrottie | and the scenarios in which they call each other | 20:54 |
scrottie | or elseyou spend a lot of time digging | 20:54 |
scrottie | mmm, actually, this looks like another useless stack trace. I've been meaning to go in and fix that problem too. | 20:56 |
xootom | are any of the links on the right useful? | 20:57 |
scrottie | it's from the perspective of where the error got caught, not from where it happened. to catch them from where they happen, I have to do something that causes mass breakage. | 20:57 |
scrottie | not in this case. sorry. | 20:57 |
scrottie | local $SIG{__DIE__} = sub { $session->log->error(@_) if $_[0] !~ m/Can't locate /; die $@; }; # add this line to WebGUI.pm right before line 76 if you want to go on a little adventure here and try the stack trace thing again | 21:00 |
xootom | not getting a stack trace now, still got the debug panel open though | 21:02 |
scrottie | it's likely associated with the action of turning the admin on rather than with admin being on. | 21:03 |
xootom | logs show it died at line 75 | 21:03 |
xootom | still the error on line 37 or Search.pm | 21:04 |
xootom | *of | 21:04 |
scrottie | post the log? | 21:04 |
scrottie | the die spammed WebGUI.pm line 75 but that's almost certainly not the cause of it ... it just got involved in it, which it is intended to | 21:04 |
xootom | 2011/07/01 18:19:56 - ERROR - www.example.com.conf.conf - WebGUI::Middleware::StackTrace::__ANON__[42] - Can't call method "session" on an undefined value at /data/WebGUI/lib/WebGUI/Asset/Wobject/Search.pm line 37. 2011/07/01 18:19:56 - ERROR - www.example.com.conf.conf - WebGUI::Middleware::StackTrace::__ANON__[42] - Died at /data/WebGUI/lib/WebGUI.pm line 75. | 21:05 |
-!- mducharme-work [~nothing@206.188.121.4] has quit [Ping timeout: 258 seconds] | 21:05 | |
xootom | from the logger tab on the debug bar: | 21:16 |
xootom | error WebGUI::Middleware::StackTrace::__ANON__[42] Can't call method "session" on an undefined value at /data/WebGUI/lib/WebGUI/Asset/Wobject/Search.pm line 37. error WebGUI::Middleware::StackTrace::__ANON__[42] Died at /data/WebGUI/lib/WebGUI.pm line 75. warn WebGUI::Operation::execute[64] admin (3) connecting from 192.168.138.1 attempted to execute an invalid operation: admin | 21:16 |
xootom | back in 10 | 21:17 |
xootom | back now | 21:32 |
-!- waxhead [~pete@ppp121-45-207-252.lns20.cbr1.internode.on.net] has quit [Ping timeout: 240 seconds] | 21:42 | |
-!- waxhead [~pete@ppp121-45-207-252.lns20.cbr1.internode.on.net] has joined #webgui | 21:43 | |
scrottie | did you get browser output...? or a text version of the same in your webgui.log...? gist.github.com one of em? | 21:46 |
xootom | that's all there is, those couple of lines above | 21:46 |
* scrottie grumbles | 21:53 | |
xootom | i wonder why it says admin is an invalid operation | 21:54 |
scrottie | that's the operation it was trying to execute when this can't-call-method-session-on-an-undef-value problem happened. | 21:54 |
scrottie | "invalid operation" isn't a good term in this case. | 21:55 |
scrottie | oh, wait | 21:55 |
scrottie | memory... | 21:55 |
scrottie | this is what ampli (I think it was, have to check my notes) was struggling with that turned out to be a Moose problem | 21:55 |
scrottie | he had to downgrade Moose to get it to work | 21:55 |
scrottie | torn at the moment but if you catch me later I'll check my notes | 21:56 |
xootom | sure thanks! | 21:56 |
scrottie | yup, Amir says he "downgraded Moose to 1.25, and Class::MOP to 1.12" and it worked fine. | 22:01 |
scrottie | same problem. | 22:01 |
xootom | one lemme try | 22:01 |
scrottie | so the fix here is probably to make this part of construction in this module more robust | 22:01 |
scrottie | rather than having you downgrade Moose, we should try to fix the problem on the latest Moose | 22:02 |
scrottie | https://gist.github.com/1059179 <-- email from Amir | 22:04 |
xootom | the version i have is 2.0010 | 22:12 |
xootom | for both Moose and Class::MOP | 22:12 |
scrottie | how's your Moose, xootom? | 22:13 |
xootom | new to me :( | 22:13 |
scrottie | it seems like this code would suffer from order-of-operations problems with construction... | 22:13 |
scrottie | it should probably just be reworked | 22:14 |
@preaction | or it could be marked as lazy maybe? | 23:12 |
scrottie | worth a try... xootom, you willing to try this, since you seem to be suffering from this problem and we're not? | 23:18 |
xootom | sure, what do I need to do? | 23:21 |
scrottie | in WebGUI/Asset/Wobject/Search.pm, in the list of properties defined right after line 28, add this to the list: lazy => 1, | 23:23 |
xootom | ok done | 23:25 |
scrottie | restart it, try to turn on admin, tell us if it has stopped blowing up | 23:25 |
xootom | yes! | 23:25 |
xootom | in admin mode | 23:25 |
scrottie | woot | 23:25 |
xootom | brilliant thanks | 23:26 |
scrottie | ampli++ | 23:26 |
xootom | ooohh liking the new admin system | 23:27 |
scrottie | JS apps feel too much like Flash apps to me... poor fault tolerance (can't just reload to retry a POST), monolithic, not REST-ful | 23:28 |
CIA-82 | webgui: Scott Walters WebGUI8 * r28668d4 / lib/WebGUI/Asset/Wobject/Search.pm : (log message trimmed) | 23:32 |
CIA-82 | webgui: Fix for ``unable to call method setting on undefined value'' when turning admin on. Details follow. | 23:32 |
CIA-82 | webgui: It turned out this problem is related to Moose and/or Class::MOP. I downgraded Moose to 1.25, and Class::MOP to 1.12, and then I got the console just fine when I clicked on "turn admin on". | 23:32 |
CIA-82 | webgui: I managed to operate the Perl debugger on the code, by putting Enbugger->stop at the desired point. I could then debug it interactively. | 23:32 |
CIA-82 | webgui: The stack trace at the point of failure in Search.pm is: | 23:32 |
CIA-82 | webgui: DB<3> T | 23:32 |
CIA-82 | webgui: $ = | 23:32 |
xootom | I'm going to save the state of this VM now... I wonder, I've now got the VM Appliance in different states for 7.9.13, 7.10.18 and now working 8.0.0, are they useful e.g. to make available as downloads? | 23:34 |
scrottie | it would be an improvement over what's there but it also feels kind of odd not to release an image based on a more recent system/perl/etc | 23:35 |
xootom | this is true | 23:35 |
scrottie | I'm not familiar with the design/construction/releng process of those things or else I might just give a sideways look and throw it online. | 23:36 |
xootom | only thing with the 8.0.0 is i'd need to change init scripts as it'll still be trying to load modperl etc | 23:36 |
scrottie | I guess I'd be reluctant to post something with a current data that didn't have security updates pulled | 23:37 |
xootom | yes i suppose people will go and use it for a production site etc | 23:38 |
xootom | would be good if there was a wg8 demo site to play with though | 23:39 |
scrottie | the naughty creatures they are | 23:39 |
xootom | hehe | 23:39 |
xootom | thanks for all your help guys, got to get off though its fri night here. have a good weekend all | 23:39 |
scrottie | thanks for your help testing! | 23:40 |
scrottie | cheers! | 23:41 |
--- Day changed Sat Jul 02 2011 | ||
-!- ampli [c0722a05@gateway/web/freenode/ip.192.114.42.5] has quit [Ping timeout: 252 seconds] | 00:00 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Quit: Leaving.] | 00:54 | |
-!- ampli [c0722a05@gateway/web/freenode/ip.192.114.42.5] has joined #webgui | 01:07 | |
ampli | Hello. I added support in Datatable for textarea and HTMLarea fields. You can pull it from ampli/webgui.git master, commit d923aa0390 . It is useful as is, but there are several things that I would like to improve. Any feedback would be much appreciated. | 01:07 |
-!- xootom [~xootom@cpc3-shef10-2-0-cust339.barn.cable.virginmedia.com] has quit [Ping timeout: 255 seconds] | 01:14 | |
scrottie | ampli, nice. preaction had some ideas about that so I'll leave it to him. I pushed a fix for the Moose problem we were debugging on here a while back, that you emailed me about. | 01:51 |
scrottie | ampli, we're going into a holiday weekend here so it's going to be quiet for a while. | 01:52 |
scrottie | (I know, I just said the same thing about YAPC) | 01:52 |
@preaction | unlucky time to get into 8 development ;) | 01:54 |
ampli | Hi scrottie and preaction. I have several general questions that got raised while I woked on the add fields to DataTable, and of course particular ones regarding the DataTable asset. I can post to the developer forum about these issues (several ones, so maybe several posts, but it is not too noisy there :) ). | 02:04 |
@preaction | posting to the forums is best, keeps the answers for the ages. i should be able to get to them either tonight or Sunday | 02:04 |
scrottie | good for longer posts too. | 02:05 |
-!- ampli [c0722a05@gateway/web/freenode/ip.192.114.42.5] has left #webgui [] | 03:56 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 04:37 | |
-!- qwebirc43541 [cef88a0d@gateway/web/freenode/ip.206.248.138.13] has joined #webgui | 05:51 | |
-!- qwebirc43541 [cef88a0d@gateway/web/freenode/ip.206.248.138.13] has quit [Client Quit] | 05:55 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Quit: Leaving.] | 06:42 | |
-!- kaare_ [~kaare@94.191.193.179.bredband.3.dk] has joined #webgui | 06:50 | |
-!- xootom [~xootom@cpc3-shef10-2-0-cust339.barn.cable.virginmedia.com] has joined #webgui | 11:12 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 11:15 | |
-!- waxhead [~pete@ppp121-45-207-252.lns20.cbr1.internode.on.net] has quit [Ping timeout: 252 seconds] | 11:47 | |
-!- waxhead [~pete@ppp121-45-211-72.lns20.cbr1.internode.on.net] has joined #webgui | 11:59 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Read error: Connection reset by peer] | 12:30 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui | 12:37 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has left #webgui [] | 12:38 | |
-!- xootom [~xootom@cpc3-shef10-2-0-cust339.barn.cable.virginmedia.com] has quit [Ping timeout: 255 seconds] | 13:58 | |
-!- stDavid [~stDavid@static-72-64-138-146.tampfl.fios.verizon.net] has joined #webgui | 15:55 | |
-!- xootom [~xootom@cpc3-shef10-2-0-cust339.barn.cable.virginmedia.com] has joined #webgui | 18:44 | |
-!- xootom [~xootom@cpc3-shef10-2-0-cust339.barn.cable.virginmedia.com] has quit [Ping timeout: 255 seconds] | 19:42 | |
-!- xootom [~xootom@cpc3-shef10-2-0-cust339.barn.cable.virginmedia.com] has joined #webgui | 20:21 | |
-!- xootom [~xootom@cpc3-shef10-2-0-cust339.barn.cable.virginmedia.com] has quit [Ping timeout: 255 seconds] | 20:53 | |
-!- wischie [5882b4fb@gateway/web/freenode/ip.88.130.180.251] has joined #webgui | 21:45 | |
-!- wischie [5882b4fb@gateway/web/freenode/ip.88.130.180.251] has left #webgui [] | 21:45 | |
-!- kaare_ [~kaare@94.191.193.179.bredband.3.dk] has quit [Ping timeout: 260 seconds] | 22:23 | |
--- Day changed Sun Jul 03 2011 | ||
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 00:03 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui | 01:02 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Quit: Leaving.] | 06:25 | |
-!- kaare_ [~kaare@79.138.161.38.bredband.oister.dk] has joined #webgui | 08:05 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Read error: Connection reset by peer] | 08:17 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui | 08:19 | |
-!- stDavid [~stDavid@static-72-64-138-146.tampfl.fios.verizon.net] has quit [Quit: "This conversation can serve no purpose anymore. Goodbye."] | 08:27 | |
-!- kaare_ [~kaare@79.138.161.38.bredband.oister.dk] has quit [Ping timeout: 276 seconds] | 08:47 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 09:26 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Quit: Leaving.] | 10:49 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 11:03 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Quit: Leaving.] | 11:15 | |
-!- waxhead [~pete@ppp121-45-211-72.lns20.cbr1.internode.on.net] has quit [Ping timeout: 252 seconds] | 12:57 | |
-!- waxhead [~pete@ppp121-45-207-183.lns20.cbr1.internode.on.net] has joined #webgui | 13:09 | |
-!- xootom [~xootom@cpc3-shef10-2-0-cust339.barn.cable.virginmedia.com] has joined #webgui | 14:11 | |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui | 15:10 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 15:34 | |
-!- stDavid [~stDavid@static-72-64-138-146.tampfl.fios.verizon.net] has joined #webgui | 15:46 | |
-!- xootom [~xootom@cpc3-shef10-2-0-cust339.barn.cable.virginmedia.com] has quit [Ping timeout: 255 seconds] | 19:33 | |
-!- xootom [~xootom@cpc3-shef10-2-0-cust339.barn.cable.virginmedia.com] has joined #webgui | 20:38 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Quit: Leaving.] | 21:12 | |
-!- ampli [c0722a05@gateway/web/freenode/ip.192.114.42.5] has joined #webgui | 21:12 | |
-!- xootom [~xootom@cpc3-shef10-2-0-cust339.barn.cable.virginmedia.com] has quit [Ping timeout: 255 seconds] | 22:35 | |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Ping timeout: 240 seconds] | 23:04 | |
-!- xootom [~xootom@cpc3-shef10-2-0-cust339.barn.cable.virginmedia.com] has joined #webgui | 23:31 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 23:54 | |
--- Day changed Mon Jul 04 2011 | ||
-!- ampli [c0722a05@gateway/web/freenode/ip.192.114.42.5] has left #webgui [] | 02:32 | |
-!- xootom [~xootom@cpc3-shef10-2-0-cust339.barn.cable.virginmedia.com] has quit [Ping timeout: 255 seconds] | 03:00 | |
-!- gugod [~gugod@114-32-222-155.HINET-IP.hinet.net] has quit [Remote host closed the connection] | 03:24 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Quit: Leaving.] | 05:42 | |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui | 06:43 | |
-!- ampli [c0722a05@gateway/web/freenode/ip.192.114.42.5] has joined #webgui | 07:38 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Quit: Ex-Chat] | 07:51 | |
-!- xootom [~xootom@cpc3-shef10-2-0-cust339.barn.cable.virginmedia.com] has joined #webgui | 12:41 | |
-!- stDavid [~stDavid@static-72-64-138-146.tampfl.fios.verizon.net] has quit [Quit: "This conversation can serve no purpose anymore. Goodbye."] | 13:19 | |
-!- stDavid [~stDavid@static-72-64-138-146.tampfl.fios.verizon.net] has joined #webgui | 13:25 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 14:14 | |
-!- ampli [c0722a05@gateway/web/freenode/ip.192.114.42.5] has left #webgui [] | 14:27 | |
-!- stDavid [~stDavid@static-72-64-138-146.tampfl.fios.verizon.net] has quit [Quit: "This conversation can serve no purpose anymore. Goodbye."] | 15:30 | |
-!- stDavid [~stDavid@static-72-64-138-146.tampfl.fios.verizon.net] has joined #webgui | 15:36 | |
-!- ampli [c0722a05@gateway/web/freenode/ip.192.114.42.5] has joined #webgui | 19:35 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 19:44 | |
CIA-82 | webgui: Graham Knop guard-not-scope-guard * r2a94d66 / (13 files in 10 dirs): use Guard module instead of Scope::Guard (+5 more commits...) - http://bit.ly/k2QGFn | 19:48 |
-!- ampli [c0722a05@gateway/web/freenode/ip.192.114.42.5] has left #webgui [] | 20:05 | |
-!- xootom [~xootom@cpc3-shef10-2-0-cust339.barn.cable.virginmedia.com] has quit [Ping timeout: 255 seconds] | 20:08 | |
CIA-82 | webgui: Graham Knop WebGUI8 * r6d4d1af / (lib/WebGUI/Command/classLoadTest.pm sbin/classLoadTest.pl): convert classLoadTest to WebGUI::Command - http://bit.ly/jtCHZb | 20:16 |
CIA-82 | webgui: Graham Knop WebGUI8 * r279d0c3 / lib/WebGUI/Command/changeIobStatus.pm : remove useless option from changeIobStatus - http://bit.ly/mMKulR | 20:16 |
-!- scrottie [~scott@li25-98.members.linode.com] has quit [Ping timeout: 240 seconds] | 20:52 | |
-!- frodwith [~frodwith@helios.tapodi.net] has quit [Ping timeout: 240 seconds] | 20:52 | |
-!- frodwith [~frodwith@helios.tapodi.net] has joined #webgui | 20:52 | |
-!- mode/#webgui [+o frodwith] by ChanServ | 20:52 | |
-!- stDavid [~stDavid@static-72-64-138-146.tampfl.fios.verizon.net] has left #webgui [] | 22:41 | |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Ping timeout: 258 seconds] | 22:47 | |
-!- ampli [c0722a05@gateway/web/freenode/ip.192.114.42.5] has joined #webgui | 23:30 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Quit: Ex-Chat] | 23:34 | |
-!- scrottie [~scott@li25-98.members.linode.com] has joined #webgui | 23:43 | |
-!- mode/#webgui [+o scrottie] by ChanServ | 23:43 | |
--- Day changed Tue Jul 05 2011 | ||
-!- scrottie [~scott@li25-98.members.linode.com] has quit [Ping timeout: 240 seconds] | 00:02 | |
-!- scrottie [~scott@li25-98.members.linode.com] has joined #webgui | 00:05 | |
-!- mode/#webgui [+o scrottie] by ChanServ | 00:05 | |
CIA-82 | webgui: Colin Kuskie master * r7e8ae8f / (docs/changelog/7.x.x.txt lib/WebGUI/DateTime.pm t/DateTime.t): Fix spacing issues with WebGUI::DateTime->webguiDate. - http://bit.ly/mQegDX | 00:15 |
CIA-82 | webgui: Colin Kuskie master * re3a4afe / (4 files in 4 dirs): Allow reasonable default dates in ISO 9601 format. Fixes bug #12165. - http://bit.ly/mx1kEl | 00:15 |
CIA-82 | webgui: Colin Kuskie webgui-7.9 * r1b68580 / (docs/changelog/7.x.x.txt lib/WebGUI/DateTime.pm t/DateTime.t): Fix spacing issues with WebGUI::DateTime->webguiDate. - http://bit.ly/kIcLwn | 00:15 |
CIA-82 | webgui: Colin Kuskie webgui-7.9 * r5473e26 / (4 files in 4 dirs): Allow reasonable default dates in ISO 9601 format. Fixes bug #12165. - http://bit.ly/jKXJjg | 00:15 |
-!- xootom [~xootom@cpc3-shef10-2-0-cust339.barn.cable.virginmedia.com] has joined #webgui | 00:16 | |
-!- xootom [~xootom@cpc3-shef10-2-0-cust339.barn.cable.virginmedia.com] has quit [Read error: Connection reset by peer] | 03:02 | |
-!- ampli [c0722a05@gateway/web/freenode/ip.192.114.42.5] has left #webgui [] | 05:44 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Quit: Leaving.] | 06:30 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 11:32 | |
-!- ampli [c0722a05@gateway/web/freenode/ip.192.114.42.5] has joined #webgui | 12:17 | |
-!- Radix-wrk is now known as Radix_ | 13:53 | |
-!- vayde [~vayde@67-4-145-3.mpls.qwest.net] has joined #webgui | 14:29 | |
-!- ampli [c0722a05@gateway/web/freenode/ip.192.114.42.5] has quit [Ping timeout: 252 seconds] | 14:55 | |
SDuensin | Morning! | 16:53 |
Haarg | morning | 17:05 |
SDuensin | Haaaaaaaaaaaaaarg! | 17:05 |
* SDuensin is in a good mood for the first time in months! | 17:05 | |
CIA-82 | webgui: Graham Knop WebGUI8 * r3929d16 / (lib/WebGUI/Command/diskUsage.pm sbin/diskUsage.pl): convert diskUsage to WebGUI::Command (+7 more commits...) - http://bit.ly/misVNp | 17:22 |
Haarg | yay for decoupling components. WebGUI::SQL no longer has a session at all. | 17:34 |
@preaction | sweet | 17:35 |
CIA-82 | webgui: Graham Knop WebGUI8 * r3db4021 / (lib/WebGUI/Command/upgrade.pm lib/WebGUI/Upgrade.pm): allow upgrading a specific site or list of sites - http://bit.ly/iobvjm | 17:47 |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 17:52 | |
-!- sbaur [~Adium@130.157.145.37] has joined #webgui | 17:58 | |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui | 19:06 | |
-!- ampli [c0722a05@gateway/web/freenode/ip.192.114.42.5] has joined #webgui | 20:00 | |
ampli | (My message didn't get echoed from the chanel, so I will send it again...) | 20:02 |
ampli | Hi preaction, I posted a message to the devel. forum regarding the DataTable problem in IE9. Maybe you have ideas what I can check next. | 20:04 |
@scrottie | hi ampli | 20:23 |
ampli | Hi scrottie | 20:24 |
-!- jjm [~jjm@adsl-98-70-129-36.gnv.bellsouth.net] has joined #webgui | 21:14 | |
jjm | update product set description = '0.5µL is less than 1.5 µL'; | 21:14 |
jjm | opps, wrong window. Stupid autofocus. | 21:14 |
-!- jjm is now known as jim_x11 | 21:15 | |
-!- jim_x11 [~jjm@adsl-98-70-129-36.gnv.bellsouth.net] has quit [Quit: Leaving] | 21:24 | |
ampli | I found that with YUI 2.9.0 the IE9 problem (of DataTable corruption on save) doesn't exist! Is there a reason not to switch to 2.9.0? | 22:26 |
Haarg | i doubt there would be any problem with switching to 2.9 | 22:29 |
Haarg | it's rather annoying that yui2 doesn't have a decent change log | 22:30 |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Ping timeout: 240 seconds] | 22:42 | |
--- Day changed Wed Jul 06 2011 | ||
ampli | I have a question regarding default stylesheet for an asset, can I consult someone?. | 01:55 |
@scrottie | ask away! | 02:07 |
@scrottie | if anyone can answer, they will. | 02:07 |
ampli | I try to finalize my modes to datatable.js, and currently the default style for textarea/htmlarea columns is hard-coded in the javascript and cannot be overwritten by the DataTable asset creator. (because it is an inline style). | 02:13 |
ampli | It will be a very useful thing to allow to ovrride it in the the Metadata header tags. | 02:14 |
ampli | To that end the default style ffor textarea/htmlarea should be defined in a styleshet, internal or external. For simplicity I would choose internal. | 02:15 |
ampli | I found two ways to do that, maybe there are betetr ways that I'm not aware of. | 02:15 |
@preaction | my choice would be a stylesheet in www/extras/css (a folder that doesn't yet exist in 7.10, but does in 8) | 02:16 |
ampli | 1. in datatable.js, dynamically add a stylesheet to the start of the iframe's head tag (this is a one-line stylesheet). | 02:17 |
@preaction | i think the better idea would be to link the stylesheet from the template itself, that way it can be overridden by the end-user | 02:18 |
@preaction | i'm trying to get away from inline HTML and CSS and JS | 02:18 |
ampli | 2. Add it in WebGUI/DataTable.pm, in sub prepare. | 02:18 |
ampli | Do you mean to define it in a file like www/extras/css/datatable.css, and link it in sub prepare (or a better place if exists)? | 02:20 |
ampli | And how to do it for 7.9.X? | 02:22 |
ampli | (sorry, for 7.10.X) | 02:23 |
ampli | I see now, such a folder can be added in 7.10.X too. | 02:24 |
-!- sbaur [~Adium@130.157.145.37] has quit [Quit: Leaving.] | 02:31 | |
@scrottie | most assets have a stylesheet template specified | 02:32 |
@scrottie | if you put it in a file, it won't be easily changed by the end user | 02:33 |
@scrottie | do you have the 'wgd' tool? are you able to 'wgd edit' things? | 02:34 |
ampli | I have wgd, but didn't try its edit feature. | 02:37 |
@scrottie | if you edit your DataTable with 'wgd edit' (by URL or assetId), one of the fields will be styleTemplateId. this field is inherited from Wobject. a default is built-in there, PBtmpl0000000000000060. a new version of that could be shipped with WebGUI as one of the upgrades. | 02:37 |
ampli | Currently, the user has 2 easy ways to overide system default styles: | 02:38 |
@scrottie | I'm not clear how the selectable site styles interact with this. | 02:38 |
@scrottie | rather than changing the system value, I would change the style template already specified. | 02:38 |
ampli | .1. Put a "private" stylesheet in a place that can be served by the http server (e.g. in /extras) and refer to it in the "Extra <head> elements" of the Metadata tab. | 02:40 |
@scrottie | wgd edit PBtmpl0000000000000060 # make changes there, then do wgd package PBtmpl0000000000000060, put the wgpkg file that creates into doc/upgrades/packages-7.7.xx where xx is the current patchlevel being worked on, add it with git, commit it with the rest of your stuff | 02:40 |
ampli | 2. If this is a short stylesheet, define it directly in the "Extra <head> elements". | 02:41 |
@scrottie | 3, edit the style template that defines styles site-wide | 02:42 |
ampli | But this has a the usual problem of getting reset by the next update. | 02:43 |
ampli | (wgd edit <assetid> works for me.) | 02:44 |
@scrottie | re: reset by the next update, the ?func=edit mode strongly discourages people from editing system templates. | 02:45 |
@scrottie | each upgrade may upgrade a system template. | 02:45 |
-!- vayde [~vayde@67-4-145-3.mpls.qwest.net] has quit [Read error: Operation timed out] | 02:48 | |
@scrottie | system templates are just like files except they get upgraded by the upgrader and it is easy for users to copy and modify them. | 02:48 |
ampli | II look at Wobject::DataTable of the example DataTable asset I created, and see 3 style templates: | 02:55 |
@scrottie | Fail Safe may not be what you want. took me a few to get wgd running agian. Image::Magick doesn't build under the latest perl. | 02:55 |
ampli | 1. mobileStyleTemplateId: PBtmpl0000000000000060 ; 2. printableStyleTemplateId ; 3. styleTemplateId | 02:56 |
ampli | It looks like no one of them is appropriate for my purpose. | 02:58 |
@scrottie | crystalx_style / OiJNwP1gAlcva8_yOtL4gA just turns around and does this: <link rel="stylesheet" type="text/css" href="^/(crystalx/crystalx.css);" /> | 02:59 |
@scrottie | similar for style-underground/style-underground, style_01, ... | 02:59 |
-!- vayde [~vayde@67-4-129-115.mpls.qwest.net] has joined #webgui | 03:01 | |
ampli | The defaulr DataTable style I need to define is not related to any particular Style Template. | 03:01 |
ampli | So there is no point to define it (repeatably the same thing) in all the possible Style Templates. | 03:01 |
@scrottie | perldoc WebGUI::Session::Style ... setRawHeadTags() ... may make sense here. | 03:03 |
ampli | To that end there should be a style template which particular for DataTabel assets. | 03:03 |
ampli | (excuse me for the typos...) | 03:04 |
@scrottie | you might add a <style>@import(/url)</style> to the head from code, and then add the file as you were thinking before. | 03:04 |
@scrottie | right. | 03:04 |
@scrottie | the other option might be to add it to the extraHeadTags for the default template for that asset, but then if people have copied and modified the system template, and are using that instead, they won't automatically get the change. | 03:06 |
ampli | They will get the change if they include the URL of their copy in a style tag of the "Extra <head> elements" of their asset. | 03:09 |
ampli | This is because it comes after the system defaults. | 03:10 |
ampli | For DataTable, did you refer to the extraHeadTags of the default DataTable templates? | 03:15 |
ampli | I indeed needd to check which comes first, the extraHeadTags of the default template or of the user asset. | 03:17 |
ampli | A very strange thing happed: When I added a line to extraHeadTags of the "default Datatable template (YUI)" and saved it, the YUI template DISAPEARED from the selection! | 03:25 |
ampli | It doesn't appear any more in the NewContent->Basic->Datatable, and not in my example asset.... | 03:27 |
ampli | It is still found under /root/import/datatable. | 03:32 |
ampli | Using "wgd edit" I removed the extraHeadTags line that I added to it, but apparenly some permanent "damage" occured by my original addition because it is still not found the the DataTable Template selection (only the HTML DataTable template is there now). | 03:37 |
@scrottie | 'wgd edit' interacts badly with packed templates. you have to turn off using those. | 03:45 |
@scrottie | don't know if that's the problem here but it's something to watch for. | 03:45 |
ampli | Are there any packed templates by default? BTW, I added the extraHeadTags line via the web interface. | 03:47 |
@scrottie | "the YUI template DISAPEARED from the selection!"... I don't understand. | 03:48 |
@scrottie | which YUI template? | 03:48 |
ampli | Where is the DataTable Template selection gets filled in? I would like to start debug from there to see why it misses the YUI template. | 03:49 |
@scrottie | I think I don't know this asset well enough to follow what's going on. | 03:49 |
@scrottie | I can look into it more though if you tell me what to look at. | 04:25 |
ampli | ok. First I would like to make sure I was clear about the fault that happened. | 04:26 |
ampli | The problem is seen in the Display tag of the default asset (New Content) and of any DataTable user asset. | 04:27 |
ampli | Only the HTML Datatable template appearse there now in the selection. Until I added the extraHeadTags field to the YUI DAtaTable teplate, it appeared there too. | 04:28 |
ampli | No relevant erros in webgui.log. I looked in mysql query.log, and it seems to query the same properties of both templates (YUI and HTML). as it did before (could not find the difference). | 04:30 |
@scrottie | what do I have to click to see this? | 04:30 |
@scrottie | oh, wait, hang on | 04:31 |
@scrottie | https://gist.github.com/1066355 ... when you run that query, do you get a similar result? I'm wondering if the 'namespace' value got corrupted for the template you've been working on. | 04:38 |
@scrottie | 'namespace' has to have to correct value to be included in any given template selector | 04:38 |
ampli | For what I checked, I get results that seem correct. | 04:38 |
ampli | I wanted to check the integrity of the db using findBrokenAssets.pl, but for some reason it didn't get the patch I sent even though I did "git pull" from plainblack repository... | 04:40 |
@scrottie | I may have done github wrong... | 04:40 |
ampli | When I look now on the plainblack repository, WebGUI8 branche, sbin directory, I see findBrokenAssets.pl with my commit message. But cliking on it reveals my fix is not there. | 04:43 |
@scrottie | in your 'git log' output, what's the hash of the commit with that change, to findBrokenAssets.pl? | 04:47 |
@scrottie | I'm looking through the 'git log' of your WebGUI8 branch and I don't see this commit offhand | 04:47 |
ampli | Git diff on my original commit shows my change. | 04:48 |
@scrottie | which commit is that? what's the hash of it? | 04:48 |
@scrottie | ah, f0d5a29e2971794991f2c09b12eb163c795b7791 | 04:48 |
ampli | If you look My fix is correctly found in the history of this file. | 04:50 |
@scrottie | URL? | 04:50 |
@scrottie | I must not have this pulled. | 04:50 |
ampli | I am in the history page of plainblak, how I can see the URL? | 04:51 |
@scrottie | "history page" ...? | 04:51 |
@scrottie | are you at github.com? are you looking at this with a web browser? | 04:52 |
ampli | github.com, web browser. | 04:52 |
ampli | Header: History for webgui / sbin / findBrokenAssets.pl | 04:53 |
@scrottie | can you copy the URL out of the address bar of the web browser into here...? | 04:53 |
ampli | https://github.com/plainblack/webgui/commits/WebGUI8/sbin/findBrokenAssets.pl | 04:53 |
ampli | If you click on the first history item you see the pat6ch as I sent it. | 04:54 |
ampli | However, the file after the patch doesn't contain it. | 04:55 |
ampli | (lick on the comit hash at the LHS to see my diff) | 04:56 |
@scrottie | right. | 04:56 |
ampli | click... | 04:56 |
@scrottie | I just wanted to make sure I was looking at the same thing you were. | 04:56 |
@scrottie | I also just completely hosed my own git repo... apparently I did something as root, then did something as myself, and after a bunch of 'permission denied' messages, the thing is ruined. | 04:56 |
ampli | but if you click on the commit message on the same line, you see that the file is unpatched. | 04:57 |
@scrottie | I was going to try to pull again (I didn't have that change in my repo) but that's going to take me a minute now. | 04:57 |
@scrottie | okay, pulled, checked out the WebGUI8 branch, and I see this change. | 05:03 |
@scrottie | when you do 'git status', does it say you're on branch 'WebGUI8'? | 05:03 |
ampli | it says: # On branch WebGUI8, and in the next line: nothing to commit (working directory clean) | 05:07 |
ampli | But I see that on github sbin/findBrokenAssets.pl is identical to my copy (and it is without my chnage). | 05:07 |
@scrottie | URL? | 05:07 |
@scrottie | never reference github without giving me a URL =) | 05:08 |
ampli | https://github.com/plainblack/webgui/blob/WebGUI8/sbin/findBrokenAssets.pl | 05:08 |
ampli | look for the word "start" (without the quotes).. This is the line I changed. | 05:09 |
ampli | It is the old line from before the change. But the commit message is my message, and the commit diff is correct.... | 05:10 |
ampli | Inside the above mentioned URL, click on history, and then click on the hash to see the diff. | 05:14 |
@scrottie | your change is on line 236. I see that change in https://github.com/plainblack/webgui/blob/WebGUI8/sbin/findBrokenAssets.pl and in my copy of the file from this fresh checkout. | 05:16 |
@scrottie | my $session = WebGUI::Session->open( $configFile ); ... in the start() function | 05:17 |
ampli | This is the correct line. | 05:18 |
ampli | You are right1 It is indeed there. | 05:19 |
ampli | let me see why apprently I didn't get the new file. | 05:19 |
@scrottie | it takes practice to figure out how to keep git happy. | 05:21 |
@scrottie | it's easy to lose track of stuff even though officially git never loses anything. | 05:21 |
ampli | So in github it is fine. | 05:21 |
@scrottie | yeah. you might try to pull to get that change into your repo/branch... git pull git@github.com:/ampli/webgui WebGUI8:WebGUI8 (while you have WebGUI8 checked out) | 05:22 |
ampli | I will do it. I hope yo still have patiatience for a few minutes of look at the place of the previous problem | 05:23 |
@scrottie | if it says that it can't fast-forward, then history conflicts. you can try to add --rebase to the git pull, but for now, you might be better off creating .diff files of other changes you've made using git diff | 05:23 |
@scrottie | sure! happy to help. | 05:23 |
ampli | Just enter to AdminConsol's New Content tab. | 05:23 |
ampli | And then Basic and DataTable. Chnage to the Display tab. and then look at the Datatable teplate selection. | 05:24 |
ampli | there are two teplates there, YUI and HTML. I lost the YUI. | 05:24 |
@scrottie | what was the URL *or* the assetId of it? | 05:25 |
@scrottie | is this a change I have, or is this only on your system? | 05:25 |
ampli | The assetid of the lost template is 3rjnBVJRO6ZSkxlFkYh_ug . | 05:25 |
ampli | It is still in the db, and it looks fine in wgd edit. | 05:26 |
ampli | I guess there is some corruption in the last revision of it in the db. | 05:27 |
@scrottie | this is in *your* database, not mine, right? | 05:28 |
ampli | Please clarify.... | 05:28 |
@scrottie | data for assets is stored in the database. | 05:28 |
ampli | yes.... | 05:29 |
@scrottie | if you create an instance of an asset, it is stored in your database. | 05:29 |
@scrottie | I don't have access to see that. | 05:29 |
@scrottie | I can only see assets I've created and stock ones that come with WebGUI. | 05:29 |
ampli | This is the original DataTable YUI template. | 05:29 |
@scrottie | okay. that's what I was asking. let's see. | 05:29 |
ampli | Menu Title : Default DataTable Template (YUI) | 05:30 |
ampli | URL : root/import/datatable/default-datatable-template-yui | 05:30 |
@scrottie | and you were changing this system asset and messed it up so it doesn't show up in that drop down any more? | 05:31 |
@scrottie | can you still edit it with 'wgd edit 3rjnBVJRO6ZSkxlFkYh_ug' ? | 05:31 |
ampli | In one of my tries I got the up-to-date findBrokenAssets.pl. It doesn't find any db corruption. | 05:32 |
@scrottie | well, just because the database isn't corrupt doesn't mean that it is *correct* | 05:32 |
@scrottie | on the other hand, if the database is correct, then it isn't corrupt ;) | 05:33 |
@scrottie | can you wgd edit this asset? | 05:33 |
ampli | Yes, since is a test copy of the db, I just went and changed its extraHeadTags | 05:33 |
ampli | I'm out of sync with my answers... | 05:34 |
ampli | Yes, I can still edit it with this exact ommand ('wgd edit 3rjnBVJRO6ZSkxlFkYh_ug') | 05:35 |
@scrottie | okay, you can still edit it with 'wgd edit'. so it isn't gone, it just isn't on that list. | 05:35 |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Quit: Leaving.] | 05:35 | |
@scrottie | look for 'properties:' inside of 'wgd edit'. one thing under properties: should be 'namespace: DataTable'. is that there? | 05:35 |
ampli | namespace: '' !!! | 05:36 |
ampli | So somehow its value got set to nothing. | 05:37 |
ampli | I will change it back and check. | 05:38 |
ampli | It returned to its place! | 05:39 |
ampli | I can try to repeat the problem now that I know how to fix it. | 05:40 |
@scrottie | yeah, if the 'edit' screen causes that, that's a bug | 05:40 |
ampli | This was definitely casued by cliking save there (in the edit screen). I'm not sure it is because of the extraHeadTags addition, maybe other chnages or no chnages make the same problem. Will need to check. | 05:41 |
ampli | This reminds me a related question. | 05:42 |
ampli | What is your policy on checking error conditions of things that "shouldn't happen"? I have a particular example from datatable.js. | 05:43 |
@scrottie | I'm not aware of any good error reporting from JavaScript. | 05:43 |
@scrottie | ask preaction about it. he might have some ideas. | 05:44 |
ampli | The question is general, including perl... | 05:44 |
@scrottie | error handling is changing in WebGUI8 | 05:45 |
ampli | The code calls the function 'YAHOO.util.Event.addListener(...)" without checking its return value. It returns false when failing. If no bugs, it should never fail. | 05:45 |
ampli | I think that validating return value anyway, in all cases, could be a good idea, even though it ads many code lines. | 05:46 |
@scrottie | in WebGUI8, API methods that user written code (eg assets) can call is no longer supposed to log. I imagine session->log->error and log->fatal calls will be replaced. instead, it is supposed to raise an exception that if uncaught in user code will be logged. | 05:47 |
@scrottie | but this is in Perl. I can't comment on JavaScript. | 05:47 |
@scrottie | yeah, talk to preaction about that. | 05:47 |
@scrottie | in Perl in WebGUI7, it is common to check return values and do $session->log->error if something is not set that should be. | 05:48 |
ampli | Last q regarding the stylesheet inclusion. You mentuioned adding <style>@import(/url)</style> in the header. I always wondered what the difference is between that and adding <link rel=stylesheet ...> | 05:50 |
@scrottie | similar. I'm not sure what different semantics it has. | 05:51 |
@scrottie | I only suggested that because, reading through the style templates, they seemed to be doing a lot of that. | 05:51 |
@scrottie | I'm more familiar with <link rel="stylesheet"> myself. | 05:51 |
ampli | Ok, so I will do it for consistency, at least. | 05:51 |
@scrottie | you should probably use whichever one you know best and then people can talk to you if that causes some particular problem. | 05:52 |
@scrottie | heh, either way. | 05:52 |
ampli | I have to go now, so I will continue in several hours. Thanks and bye for now. | 05:54 |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Quit: Leaving.] | 05:54 | |
@scrottie | you're quite welcome, and thank you. take care! | 05:58 |
CIA-82 | webgui: Colin Kuskie webgui-7.9 * rd7fd492 / docs/create.sql : Ready for 7.9.32 release. - http://bit.ly/noBtXd | 07:29 |
CIA-82 | webgui: Colin Kuskie webgui-7.9 * r550b007 / (4 files in 4 dirs): Preparing for 7.9.33 development. - http://bit.ly/r0U0bt | 07:58 |
-!- Radix_ changed the topic of #webgui to: [7.9.32-stable | 7.10.19-beta | WRE 0.9.3] Before you ask, check the wiki: http://wiki.webgui.org | Pastebin: http://webgui.pastebin.com | 09:54 | |
@scrottie | okay, where's the stupid error console in MSIE8? | 09:55 |
@scrottie | oh, there it is. | 09:56 |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 12:21 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Client Quit] | 12:23 | |
-!- carogray [~Caroline@72-63-117-101.pools.spcsdns.net] has joined #webgui | 12:53 | |
-!- carogray1 [~Caroline@108.113.40.234] has joined #webgui | 13:09 | |
-!- carogray [~Caroline@72-63-117-101.pools.spcsdns.net] has quit [Ping timeout: 252 seconds] | 13:09 | |
-!- carogray [~Caroline@173-125-147-70.pools.spcsdns.net] has joined #webgui | 13:30 | |
-!- carogray1 [~Caroline@108.113.40.234] has quit [Ping timeout: 240 seconds] | 13:32 | |
-!- carogray [~Caroline@173-125-147-70.pools.spcsdns.net] has quit [Quit: Leaving.] | 14:43 | |
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has joined #webgui | 14:56 | |
-!- waxhead [~pete@ppp121-45-207-183.lns20.cbr1.internode.on.net] has quit [Ping timeout: 252 seconds] | 16:34 | |
SDuensin | "I'm not callin' in sick. I'm callin' in GONE!" | 16:53 |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui | 17:42 | |
@preaction | http://beta.metacpan.org/module/dip <- this looks awesome | 18:24 |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Quit: Ex-Chat] | 19:53 | |
xdanger | why does upgrade in wg8 still require root privileges? | 22:51 |
@preaction | because the old one required root privileges and we didn't change it | 22:51 |
xdanger | =) | 22:52 |
xdanger | so how is 8 coming along? | 22:55 |
@preaction | doing final bugfixing before alpha release | 22:55 |
xdanger | great. I haven't been following the progres for a few months... | 22:57 |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 23:01 | |
SynQ | ohm | 23:23 |
SynQ | have you seen the new http://www.procolix.com | 23:23 |
SynQ | served by 64bit debian squeeze | 23:24 |
SynQ | and nginx | 23:24 |
@scrottie | bah. I'll be impressed when WebGUI is running on an Amiga =) | 23:29 |
SynQ | hehe | 23:29 |
SynQ | a cluster of amiga's | 23:29 |
--- Day changed Thu Jul 07 2011 | ||
-!- jjm [~jjm@adsl-98-70-129-36.gnv.bellsouth.net] has joined #webgui | 00:00 | |
-!- jjm is now known as jim_x11 | 00:01 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Remote host closed the connection] | 00:07 | |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Ping timeout: 240 seconds] | 00:11 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 00:12 | |
jim_x11 | svn has the blame function which gives the last commit of all lines. What's a git equivalent? | 01:02 |
-!- jim_x11 [~jjm@adsl-98-70-129-36.gnv.bellsouth.net] has quit [Quit: Leaving] | 01:07 | |
@preaction | git blame | 01:10 |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Quit: Ex-Chat] | 01:35 | |
ampli | Hello everyone | 02:03 |
ampli | preaction: I found a major problem in 8 and would like to verify that it is not only me. | 02:06 |
@preaction | ampli: sure go ahead | 02:06 |
ampli | When saving a system template, the namespace variable is reset to an empty string. This causes the affected template to disapear from the Defaukt Templats list. Can be restored by wgd edit. | 02:08 |
ampli | I really only ancountered the problem, and scrottie found its reason (empty namespace)... | 02:09 |
ampli | next, I found a problem in extraHeadTags inclusion in 8, I guess it could be also in 7. | 02:12 |
@preaction | ampli: i can reproduce the template namespace problem, though honestly i hate that the namespace cannot be changed if it's already set | 02:13 |
ampli | Why cannot it be changed? | 02:14 |
@preaction | the code doesn't allow it. if a namespace is set, it becomes a readonly field | 02:14 |
@preaction | i'll fix this one | 02:14 |
ampli | I also found an anoying problems in extraHeadTags inclusion... | 02:15 |
@preaction | ok | 02:15 |
ampli | Due to my datatable tests I had a page with a plenty of datatabls. When I add the default include in the temlates extraHeadTags, I got it included in the page tens of times.... | 02:16 |
ampli | For css is only overhead, js can just get problems. | 02:17 |
ampli | This I can try to fix in the code. | 02:18 |
@preaction | oh, no, that's expected behavior | 02:18 |
@preaction | you could add them as attachments, they would be checked for duplicates | 02:18 |
ampli | Why is there a need for 30 times the same css file one line after another? | 02:19 |
@preaction | there isn't one, but webgui can't know that it's doing it | 02:19 |
ampli | I added as attachment in the extraHeadTags textarea. | 02:19 |
@preaction | there's an "Attachments" section at the bottom of the Properties tab | 02:20 |
@preaction | for templates only | 02:20 |
@preaction | it has structure, unlike extraHeadTags, which allows duplicates to be ignored | 02:20 |
ampli | I see. So the extraHeadTags cannot be really used? | 02:20 |
@preaction | sure it can, it just should be avoided if at all possible | 02:20 |
@preaction | attachments is a better way | 02:20 |
ampli | I see. | 02:21 |
@preaction | extraHeadTags was there first, and most templates are not yet migrated to using Attachments | 02:21 |
@preaction | (which I believe was added in 7.7 or 7.8) | 02:21 |
ampli | The other problem encountered with extraHeadTags, I need to check with Atachments (I ting it should be there too). | 02:23 |
ampli | So I will continue in my checkings. | 02:23 |
@preaction | ampli: namespace issues are fixed, if you pull from origin you'll get my changes | 02:28 |
CIA-82 | webgui: Doug Bell WebGUI8 * rcc26d97 / lib/WebGUI/Asset/Template.pm : fix namespace issues with templates - http://bit.ly/q1cFeI | 02:28 |
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has quit [Read error: Connection reset by peer] | 02:28 | |
ampli | preacation: the Attachments button doesn't work propely for me. It goes to an "add files" in /root/imort/datatable, with totally another page style. | 02:36 |
ampli | (I tried in two ways, from the "manage" button and directly from "Tree"). | 02:37 |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 02:39 | |
@preaction | yep, looks like it's busted. i'll take a look | 02:40 |
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has joined #webgui | 02:42 | |
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has quit [Read error: Connection reset by peer] | 02:46 | |
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has joined #webgui | 02:55 | |
@preaction | ampli: template attachments should be fixed now | 03:16 |
CIA-82 | webgui: Doug Bell WebGUI8 * rd15891d / (lib/WebGUI/Asset/Template.pm lib/WebGUI/Form/JsonTable.pm): fix template parser and attachments fields - http://bit.ly/qQdGXD | 03:16 |
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has quit [Ping timeout: 258 seconds] | 04:14 | |
-!- carogray [~Caroline@72-60-129-89.pools.spcsdns.net] has joined #webgui | 04:24 | |
-!- carogray1 [~Caroline@107.26.84.16] has joined #webgui | 06:18 | |
-!- carogray [~Caroline@72-60-129-89.pools.spcsdns.net] has quit [Ping timeout: 264 seconds] | 06:20 | |
-!- carogray1 [~Caroline@107.26.84.16] has quit [Quit: Leaving.] | 06:28 | |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui | 06:51 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 07:02 | |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Ping timeout: 240 seconds] | 07:19 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Quit: Ex-Chat] | 07:21 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Quit: Leaving.] | 07:46 | |
@scrottie | Cox not-route-to-host'ing every other connection attempt makes it an absolute horror to use any AJAX app. | 07:55 |
* scrottie sighs | 07:55 | |
@scrottie | with POST/GET, I can sit there and hit refresh as many times as needed... AJAX apps, I may very well have to force reload the page, do all of the form changes over again, hit submit, and pray | 07:56 |
@scrottie | very few apps try to recover from this situation | 07:56 |
@scrottie | or from failure in general | 07:56 |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui | 10:29 | |
-!- waxhead [~pete@ppp121-45-207-183.lns20.cbr1.internode.on.net] has joined #webgui | 11:38 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 14:32 | |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui | 15:29 | |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Quit: Leaving.] | 15:38 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 16:26 | |
SDuensin | (Insert witty entrance message here.) | 16:34 |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui | 17:16 | |
-!- sbaur [~Adium@130.157.145.37] has joined #webgui | 18:07 | |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Ping timeout: 252 seconds] | 18:57 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Ping timeout: 246 seconds] | 19:56 | |
-!- jjm [~jjm@adsl-98-70-129-36.gnv.bellsouth.net] has joined #webgui | 20:16 | |
-!- jjm is now known as jim_X11 | 20:16 | |
jim_X11 | I'm using WebGUI::Form::Image with WebGUI::FormBuilder. I think FormBuilder just does the right thing, and just shows an image. but it's not. It's showing the storage WebGUI id and not the image associated with that id. | 20:22 |
@preaction | what do you mean? the value of the field is the storage ID which contains the files. in your case, the only file in there ($storage->getFiles->[0]) is the file you want | 20:22 |
jim_X11 | WebGUI::Form::Image has a method called getValueAsHtml, do I use that from FormBuilder? | 20:23 |
@preaction | no, you should get the storageId, instantiate a WebGUI::Storage object, and get the first file inside | 20:24 |
jim_X11 | Ok | 20:24 |
jim_X11 | then to preview the image in formbuilder I create html using WebGUI::Storage? | 20:25 |
@preaction | when displaying the form, the control should show the preview automatically | 20:26 |
jim_X11 | that's what I hoped for. Hmm. | 20:27 |
@preaction | as long as the control gets the storageId, it'll show all the files inside | 20:27 |
jim_X11 | the control gets the storage id from value, when I create the W:Image object, yes? | 20:28 |
jim_X11 | yea, I just had to fill in the storage id for the value when I created W:Image (or created it using the helper code in W;FormBuilder). | 20:30 |
jim_X11 | it's working, now. | 20:30 |
jim_X11 | Thanks! | 20:30 |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 20:38 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Quit: Ex-Chat] | 21:05 | |
SynQ | ohm | 22:41 |
SynQ | preaction: are you plainblack guys using filepump anywhere? | 22:41 |
@preaction | not presently that i'm aware of. i think there might be one or two bundles in core, i'm not sure | 22:41 |
SynQ | ah | 22:42 |
SynQ | since it's broken in current stable | 22:42 |
SynQ | it doesn't include images in the bundle | 22:42 |
SynQ | none what so ever | 22:42 |
@preaction | i thought it was only CSS and JS | 22:42 |
@preaction | because those can be concatenated and minified | 22:43 |
SynQ | http://www.webgui.org/wiki/filepump | 22:43 |
SynQ | it also adds 'all other files' | 22:44 |
@preaction | ah, yeah | 22:44 |
SynQ | well | 22:44 |
SynQ | it should | 22:44 |
SynQ | but it doesn't actually :P | 22:44 |
@preaction | where do the images get output though? | 22:45 |
@preaction | anyway, post it as a bug of course | 22:45 |
SynQ | as far as I understand from the documentation | 22:45 |
SynQ | the images get copied to the bundle.epoch directory | 22:45 |
SynQ | and you can reference them relatively in your stylesheets | 22:46 |
SynQ | so that all files used in your stylesheet, like background images, get a +10year expiry too | 22:46 |
SynQ | which helps yslow score | 22:46 |
SynQ | All collateral files (in our case the css images) are copied as-is into the new folder. | 22:47 |
SynQ | here you are: http://www.webgui.org/use/bugs/tracker/12187 | 22:50 |
SynQ | my guess is that it is quite an easy bug to fix | 22:51 |
-!- SquOnk [~emhn@186.93.207.12] has joined #webgui | 23:54 | |
SquOnk | Greetings. | 23:54 |
SquOnk | Looking for suggestions and guidance. | 23:54 |
@preaction | ok go | 23:54 |
SquOnk | I have a customer who needs to have different sizes for the same image (normal size and thumbnail are not enough), because their site is going to show on different mobile devices. | 23:55 |
SquOnk | Uploading the multiple sized images is not an option given their workflow. | 23:55 |
SquOnk | (I made an RFE regarding that) | 23:55 |
SquOnk | I'm trying to provide a workaround for the time being. | 23:56 |
@preaction | i'd subclass image, override applyConstraints to make the other sizes, the Photo asset does this, you can probably steal it | 23:56 |
SquOnk | I thought about writing a macro to be used like ^ResizeImage(<tmpl_var image.url>,160) with the obvious intentions. | 23:56 |
SquOnk | preaction: Let me see the code. | 23:57 |
Haarg | creating a macro with a side effect seems like a very bad idea to me | 23:58 |
@preaction | yes | 23:58 |
SquOnk | Haarg: That was my main concern, that's why I'm asking here before writing anything. | 23:58 |
SquOnk | So, to get back to preaction's line of thought... | 23:58 |
SquOnk | ...write something like Image::Resizable? | 23:59 |
--- Day changed Fri Jul 08 2011 | ||
SquOnk | A new Asset? | 00:00 |
SquOnk | Photo belongs to 7.10, right? I have to use 7.9 for the time being. | 00:00 |
@preaction | Photo is part of the Gallery, which was 7.7 i think | 00:00 |
SquOnk | Asset/File/GalleryFile/Photo.pm, right. | 00:01 |
SquOnk | Can I attach a Photo to an Article (that being the use case). | 00:03 |
SquOnk | These people use Articles (or Stories) and attach Images to them, one or two tops. | 00:03 |
@preaction | attachments aren't assets | 00:03 |
SquOnk | Those are the images that need to be resized for display. | 00:03 |
SquOnk | preaction: Aha | 00:03 |
SquOnk | So, not being Assets brings me back to the Macro :/ | 00:07 |
@preaction | or a custom article that does what you want | 00:22 |
-!- xootom [~xootom@cpc3-shef10-2-0-cust339.barn.cable.virginmedia.com] has joined #webgui | 00:25 | |
-!- jim_X11 [~jjm@adsl-98-70-129-36.gnv.bellsouth.net] has quit [Quit: Leaving] | 01:02 | |
-!- xootom [~xootom@cpc3-shef10-2-0-cust339.barn.cable.virginmedia.com] has quit [Ping timeout: 255 seconds] | 01:18 | |
-!- SquOnk [~emhn@186.93.207.12] has quit [Quit: Yippie kay-ai-yay, fudder muckers!] | 01:33 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Read error: Connection reset by peer] | 01:50 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 02:00 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 02:03 | |
ampli | preaction: I would like to consult regarding the current state of my work on DataTable. | 02:23 |
@preaction | ok | 02:23 |
ampli | The version that I published today is already usefull as is. So maybe it can be included in a beta. | 02:25 |
ampli | There is an original anoying problem in the original code that I would like to fix: a row of textbox elements gets collapsed to almost nothing if all its elements are empty. | 02:27 |
ampli | To that end I need to add css style to it, and the only way I found is by adding it in Form/DataTable.pm. | 02:28 |
ampli | I also would like to add Rich Editor selection like in DataForm. | 02:29 |
@preaction | adding a link in there (using $session->style->setLink) would be the best way to add a CSS file to the DataTable | 02:29 |
@preaction | for that, you'd need to add a property to the Form/DataTable.pm module, and then set that property from the Asset/Wobject/DataTable.pm module | 02:30 |
-!- sbaur [~Adium@130.157.145.37] has quit [Quit: Leaving.] | 02:31 | |
ampli | The needed css is a fixed one (minimum height for rows), so I thought to just to generate a <style> ...</style> line in prepare(). | 02:33 |
@preaction | but style tags would repeat themselves, and cannot be cached | 02:33 |
@preaction | i'm trying to build a more robust, stable style/theme mechanism in webgui | 02:34 |
ampli | There is already the needed classes in the HTML. Only one CSS definition is needed for the whole table. | 02:34 |
ampli | Note that this is not user style (not something that users would need/want to change). | 02:35 |
@preaction | right, that's why it'd go in the www/extras/css directory | 02:35 |
ampli | It is just part of the admin intrface look (in that case - the admin interface of Edit DataTable). | 02:35 |
@preaction | oh, you don't want it to be part of the normal page? | 02:35 |
ampli | No, the problem it referes too is in the admin interface only. | 02:36 |
ampli | (There is a similar one in the normal page, but it can be corrected with user style.) | 02:37 |
@preaction | ah, then it should probably be a <style> tag | 02:40 |
@preaction | at the very least, if it becomes a problem with styling later, we can move it out into its own place | 02:41 |
ampli | Regarding css in the normal page, I have a question about their order: The header lines generated by Templates (both metadata extra <head> elements and Attachment) come before the ones generated by Assets. | 02:41 |
ampli | (No, one sec.) | 02:41 |
ampli | What I menat to say they come AFTER the ones generated by Assets... | 02:44 |
ampli | This makes it problematic to overide their definitions by headers defined in the Assset Metadata. | 02:45 |
ampli | Is this intentional? | 02:45 |
@preaction | i don't believe it's intentional, just how the blocks fell as they were made | 02:46 |
ampli | It looks like headers defined in templates should come before ones defined in assets, it order to allow the users to overide default definitions. | 02:47 |
@preaction | well, it gets muddy when you start talking about page layouts, for example | 02:47 |
ampli | (one can use !important on all css definitions, but this is not nice and less flexible.) | 02:48 |
@preaction | do we put all the templates' head tags before all the assets' head tags? or do we interlace | 02:48 |
@preaction | i'd lean towards all templates' head tags always go before all assets' head tags | 02:48 |
@preaction | well, all other assets' head tags | 02:48 |
ampli | As far as I could check,, all the template head tags come before the other assets ones. | 02:49 |
@preaction | isn't that correct though? | 02:50 |
ampli | This can be fixed in a backward-compatible way (if at all backward compatibility is needed here) by adding Attachmet to regular Asset definitions too. | 02:50 |
ampli | (That will come after the ones of the Template). | 02:50 |
@preaction | i have a plan to add file and image attachments to all assets, css and js attachments could work too | 02:51 |
ampli | Please consider to generate their inclusion after the ones of Temlates. | 02:52 |
@preaction | if they happened, it would be in the same order as the extra head tags (but probably before extra head tags, to allow overriding inside extra head tags) | 02:54 |
ampli | But should't extra head tags of regular assets be chnaged to come aftr the extra head tags/attachments of Templates? | 02:57 |
@preaction | wait, do they or don't they? | 02:57 |
ampli | The extra head tags defined in regular Assets currently come BEFORE the ones defined in Tenplates (including Attachment) | 02:58 |
ampli | Moreover, extra head tags of regular Assets even come before all other css (it is generated first in the <head>). | 03:05 |
@preaction | okay, then that could be changed | 03:05 |
ampli | Will it be a good idea to include my current modes to DataTable in the next beta, so some actual testing will hopefully be done? | 03:12 |
@preaction | sure, as long as all the i18n is done | 04:32 |
ampli | I added there i18n for everything missing (labels that were w/o i18n in the original code and 2 new labels that appeared in yui-2.9.0). I have a question about the desired way to do i18n: | 05:16 |
ampli | In the original code, all labels were pulled from 118n/Form_DataTable.pm, even those that commonly repeat in other pages (like Save and Cancel). | 05:20 |
ampli | One of the i18n labels that I added is "Loading...' which is found in i18n/WebGUI.pm, and I took it from there. Should I, instead, add it to 118n/Form_DataTable.pm? | 05:22 |
@preaction | no, using the one from WebGUI.pm is correct | 05:23 |
ampli | I added the needed style in Form/DataTable.pm (one code line) and it solved the problem. Now I'm going to add the Rich Editor selection as implemented in DataForm. | 05:41 |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Quit: Ex-Chat] | 05:56 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Quit: Leaving.] | 06:24 | |
-!- mducharme1 [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui | 06:49 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Ping timeout: 258 seconds] | 06:52 | |
-!- kaare_ [~kaare@79.138.167.214.bredband.oister.dk] has joined #webgui | 07:55 | |
-!- mducharme1 [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Read error: Connection reset by peer] | 11:49 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui | 11:53 | |
-!- ryuu_ro [~rory@D57D69B6.static.ziggozakelijk.nl] has joined #webgui | 12:25 | |
SynQ | whoo hoo | 12:25 |
SynQ | there he is | 12:25 |
ryuu_ro | here i am | 12:26 |
ryuu_ro | indeed | 12:26 |
SynQ | http://sixrevisions.com/css/font-face-guide/ for great justice | 12:26 |
SynQ | joeri still has to find an irc client for his mac | 12:26 |
ryuu_ro | what....... colluqy works fine | 12:28 |
SynQ | Of course, we can.t possibly expect all the browsers to play nice and agree on a given solution! That would just be unreasonable. | 12:29 |
-!- dapperedodo [~dapperedo@D57D69B5.static.ziggozakelijk.nl] has joined #webgui | 12:30 | |
SynQ | Confused yet? You should be. Fortunately, there are brilliant developers that have worked this all out for you by developing simple systems to follow. | 12:30 |
SynQ | when is YAPC 2012? | 12:30 |
ryuu_ro | in 2012 | 12:31 |
SynQ | uh huh | 12:31 |
ryuu_ro | juni 15 to 17 | 12:31 |
ryuu_ro | i think | 12:31 |
SynQ | in the high season | 12:31 |
ryuu_ro | yeah sort of | 12:31 |
-!- dapperedodo [~dapperedo@D57D69B5.static.ziggozakelijk.nl] has quit [Quit: Leaving] | 13:54 | |
-!- dappere-dodo [~dappere-d@D57D69B5.static.ziggozakelijk.nl] has joined #webgui | 14:01 | |
-!- dappere-dodo [~dappere-d@D57D69B5.static.ziggozakelijk.nl] has quit [Client Quit] | 14:02 | |
-!- dappere-dodo [~dappere-d@D57D69B5.static.ziggozakelijk.nl] has joined #webgui | 14:07 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 14:33 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 14:50 | |
-!- xootom [~xootom@cpc3-shef10-2-0-cust339.barn.cable.virginmedia.com] has joined #webgui | 15:04 | |
-!- xootom [~xootom@cpc3-shef10-2-0-cust339.barn.cable.virginmedia.com] has quit [Ping timeout: 250 seconds] | 17:11 | |
-!- ryuu_ro_ [~rory@D57D69B6.static.ziggozakelijk.nl] has joined #webgui | 17:32 | |
-!- ryuu_ro_ [~rory@D57D69B6.static.ziggozakelijk.nl] has quit [Client Quit] | 17:32 | |
-!- ryuu_ro [~rory@D57D69B6.static.ziggozakelijk.nl] has quit [Read error: Operation timed out] | 17:35 | |
-!- dappere-dodo [~dappere-d@D57D69B5.static.ziggozakelijk.nl] has quit [Quit: Leaving] | 17:56 | |
-!- sbaur [~Adium@130.157.145.37] has joined #webgui | 18:01 | |
-!- ryuu_ro [~rory@53562A76.cm-6-7a.dynamic.ziggo.nl] has joined #webgui | 18:08 | |
-!- ryuu_ro [~rory@53562A76.cm-6-7a.dynamic.ziggo.nl] has quit [Client Quit] | 18:09 | |
-!- SquOnk [~emhn@186.93.207.12] has joined #webgui | 18:35 | |
SquOnk | Greetings. | 18:35 |
@preaction | morning | 18:35 |
SquOnk | I was just trying to install a custom Wobject we wrote. | 18:35 |
SquOnk | Using wg-install. | 18:36 |
SquOnk | It has the WebGUI::AssetAspect::Installable magic and all... | 18:36 |
SquOnk | Sorry, I meant installClass.pl | 18:36 |
SquOnk | Anyway... | 18:36 |
SquOnk | If I put the .pm under WebGUI/Asset/Wobject, the thing installs fine. | 18:37 |
SquOnk | If I put it in any of the local preload.custom directories, it doesn't. | 18:37 |
SquOnk | It bugs me because I like to separate what comes with WebGUI from what we write. | 18:37 |
SquOnk | Is that intended behavior? | 18:38 |
@preaction | no, sounds like installClass.pl doesn't use preload.custom properly | 18:38 |
SquOnk | preaction: Good, so I found a bug :-) | 18:38 |
SquOnk | installClass handles @INC manually and no, it doesn't seem to pay attention to preload.custom | 18:39 |
* SquOnk ready to file a bug | 18:39 | |
SquOnk | Bug filed. | 18:49 |
SquOnk | preaction: Another thing related to installation. How do I go automating the installation of Asset icons? | 18:50 |
-!- knowmad [~knowmad@99-112-245-79.lightspeed.chrlnc.sbcglobal.net] has joined #webgui | 19:15 | |
@preaction | i tend to make a symlink in /data/WebGUI/www/extras for each project, and then put icons and collateral in there | 19:23 |
sbaur | So, I'm trying to move a survey from one 7.6 site to another. I've packaged it and imported it, but none of the templates where included. Is there some easy way to bring the templates over, besides finding them all and then packaging them separately? | 19:57 |
sbaur | alternatively, since I'll have to do this on production later, is there a way to group a lot of different assets (survey + templates) into one package? | 20:08 |
@scrottie | that would be a nice extension to wgd... --include-templates. | 20:17 |
@scrottie | often, you wouldn't want to, instead wanting to deal with those seperately. | 20:18 |
sbaur | since i'm not at all familiar with wgd, is there a way to install multiple packages at once? | 20:29 |
@scrottie | sure, with wgd =) | 20:38 |
@scrottie | wgd package -i *.wgpkg | 20:38 |
sbaur | thanks, that may be quite useful for my next upgrade | 20:47 |
@scrottie | you betcha! | 20:48 |
sbaur | hmmm, looks like it's not possible to tell the survey to number questions (at least not in 7.6) have to add the numbers to the question text then i guess | 20:50 |
sbaur | too bad that messes up the wrapping of long questions | 20:52 |
-!- xootom [~xootom@cpc3-shef10-2-0-cust339.barn.cable.virginmedia.com] has joined #webgui | 21:50 | |
-!- xootom [~xootom@cpc3-shef10-2-0-cust339.barn.cable.virginmedia.com] has quit [Ping timeout: 250 seconds] | 22:31 | |
-!- kaare_ [~kaare@79.138.167.214.bredband.oister.dk] has quit [Ping timeout: 250 seconds] | 23:16 | |
SquOnk | What would it take for the *metadata* fields to be used as filters for an AssetReport? | 23:35 |
--- Day changed Sat Jul 09 2011 | ||
@preaction | SquOnk: someone with the desire to add it, it shouldn't be exceedingly difficult | 00:06 |
SquOnk | preaction: Well, it looks somewhat difficult. Since metadata fields live in two tables, the Asset Report query constructor will get hairy in no time :) | 00:07 |
@preaction | in theory, it doesn't have to be done all in one query | 00:07 |
@preaction | i'm a poet and didn't know it! | 00:07 |
SquOnk | preaction: LOL | 00:08 |
SquOnk | preaction: I think I asked this before, so feel free to remind me if indeed I did... | 00:46 |
SquOnk | An Asset Report reporting on Articles can get to the Article's image vía StorageUrl. | 00:46 |
SquOnk | An Asset Report reporting on Shortcuts to Articles, can't do the same. | 00:47 |
SquOnk | Right? | 00:47 |
@preaction | not that i'm aware of. i don't think asset report handles shortcuts | 00:47 |
@preaction | but | 00:47 |
@preaction | you could use the shortcut's property "shortcutToAssetId" inside the AssetProperty macro to get the storageId | 00:47 |
@preaction | then pass that to the StorageUrl macro | 00:48 |
@preaction | so, with some fancy macros in a custom template, you might be able to do it | 00:48 |
SquOnk | Aha. Let's see. | 00:48 |
SquOnk | Asset Report does handle Shortcut, yes. | 00:48 |
@preaction | AssetProperty was only recently added | 00:48 |
@preaction | well, it gets the Shortcut, but doesn't get the shortcutted asset properties | 00:49 |
@preaction | it handles Shortcut as any other asset | 00:49 |
@preaction | shortcut is a weird asset that way | 00:49 |
SquOnk | preaction: "recently added" means 7.10? | 00:50 |
@preaction | probably | 00:50 |
SquOnk | Well, I think I could backport it. | 00:50 |
SquOnk | Anyway... what would be the macro | 00:50 |
SquOnk | ^StorageUrl( ^AssetProperty( <tmpl_var assetId> , 'shortcutToAssetId')) | 00:52 |
@preaction | yeah, something like that | 00:52 |
@preaction | wait | 00:52 |
@preaction | more like: ^StorageUrl( ^AssetProperty( "storageId", <tmpl_var shortcutToAssetId> ); ); | 00:52 |
@preaction | storageUrl takes a storageId as its first argument | 00:53 |
@preaction | i might be wrong on the assetproperty args though | 00:53 |
SquOnk | Right, right... | 00:53 |
@preaction | but <tmpl_var shortcutToAssetId> is the right assetId | 00:53 |
@preaction | no need to macro that, as the template should just have it | 00:53 |
SquOnk | Ok, let me try and do that. | 00:53 |
SquOnk | I hope perlDreamer takes care of the shortcut caching issue soon. It's the only showstopper now. | 00:57 |
SquOnk | preaction: Largest "anti-government" TV channel is going WebGUI as soon as that's fixed :) | 00:57 |
SquOnk | There's no shortcutToAssetId in Asset Report templates. The Asset Report only sports common Asset properties. | 00:58 |
@preaction | it doesn't do a $self->get? | 01:01 |
@preaction | yeah, it does $self->get, so all the asset properties are in the templates | 01:01 |
SquOnk | preaction: Then how come I can't access image.url or whatever from an Article? | 01:12 |
SquOnk | preaction: (Inside the Asset Loop) | 01:13 |
@preaction | those are template vars | 01:13 |
@preaction | not asset properties | 01:13 |
SquOnk | preaction: Oh, my bad | 01:13 |
@preaction | image.url is not a column in the Article table of the database, is the difference | 01:13 |
@preaction | it's calculated from the storageId from the database and the first image file in the storage location | 01:13 |
SquOnk | preaction: shortcutToAssetId is working in the template, yes. | 01:15 |
SquOnk | preaction: Now I just need to get the image attached to that... | 01:15 |
SquOnk | I need the storageId of the shortcutToAssetId, right? | 01:17 |
@preaction | yes | 01:17 |
@preaction | and then give that to the StorageUrl macro | 01:17 |
SquOnk | preaction: I came up with | 01:19 |
SquOnk | ^StorageUrl(^AssetProperty(<tmpl_var shortcutToAssetId>,'storageId');,'thumb'); | 01:19 |
SquOnk | I get a path, not an URL. | 01:19 |
SquOnk | The path is empty. | 01:19 |
-!- knowmad [~knowmad@99-112-245-79.lightspeed.chrlnc.sbcglobal.net] has quit [Remote host closed the connection] | 01:22 | |
@preaction | does the article have a storage location? | 01:22 |
SquOnk | preaction: How can I find that out? | 01:22 |
@preaction | go to the real article and see if it has an attached file maybe? | 01:23 |
CIA-82 | webgui: Colin Kuskie webgui-7.9 * rde748f0 / (docs/changelog/7.x.x.txt lib/WebGUI/Asset/Wobject/Thingy.pm): Remove debug code, replace with line accidently deleted during debug. Fixes bug #12188 - http://bit.ly/nnDoiQ | 01:23 |
SquOnk | preaction: Oh, it has. That's the purpose of this :) | 01:23 |
SquOnk | It's a one line article with an image attached. | 01:23 |
@preaction | make sure each level of macro returns the expected value? | 01:24 |
SquOnk | The <tmpl_var short...> is fine. | 01:24 |
SquOnk | It has the Article's assetId, as expected. | 01:24 |
SquOnk | The AssetProperty returns a string that looks like an Id. How can I find out if it is, indeed, the storageId I'm expecting? | 01:26 |
@preaction | check the database, Article table, storageId field? | 01:26 |
SquOnk | That Id is supposed to point to the first attachment. | 01:26 |
@preaction | storageIds don't really point to files, they just point to the directory. it's the storageUrl that should automatically grab the first file if you don't specify one | 01:27 |
SquOnk | It's in the database as storageId of the Article, yes. | 01:28 |
@preaction | then my final try would be to add debug code to the storageUrl macro itself, see what's happening | 01:28 |
@preaction | what are you getting and what do you expect to get? | 01:28 |
SquOnk | preaction: ^StorageUrl( ^AssetProperty (...) ) gets me a blank | 01:29 |
SquOnk | preaction: I was expecting the URL for the image, which is the first attachment. | 01:30 |
SquOnk | preaction: If I add 'thumb' to StorageUrl, I get what looks like a pathname, valid in the filesystem, but empty. | 01:31 |
@preaction | paste what you get here | 01:33 |
SquOnk | I get /uploads/02/cb/02cb1eb4fae8a5eaedc999053d25db855604bed01c700479601400/thumb | 01:33 |
SquOnk | The image is actually in uploads/d3/f9/d3f963bb5802c7c8768d9283b1c66ea3/A-real-hero.jpg | 01:34 |
@preaction | looks like the arguments aren't being processed correctly | 01:36 |
@preaction | might have to remove the spaces and maybe add quotes | 01:36 |
SquOnk | This is what I have | 01:38 |
SquOnk | ^StorageUrl(^AssetProperty(<tmpl_var shortcutToAssetId>,"storageId");,"thumb"); | 01:38 |
SquOnk | I'm getting the StorageId for the Article all right. | 01:38 |
SquOnk | But StorageUrl doesn't seem to get to the first attachment. | 01:39 |
SquOnk | If I drop the "thumb", I get a blank. | 01:39 |
@preaction | yeah, then i'd add debug code to the storageUrl macro to make sure it's getting the storage location correctly | 01:41 |
@preaction | it seems like it's getting the wrong storage location entirely | 01:41 |
@preaction | perhaps it's a different revision? | 01:41 |
SquOnk | preaction: You mean the first argument to StorageUrl, right? | 01:42 |
@preaction | that's the ID, yes, but it seems like it's not getting the right WebGUI::Storage object for some reason | 01:42 |
SquOnk | Well, I have to go. | 01:44 |
SquOnk | preaction: Thanks a lot. I have a better idea of what to look for. | 01:44 |
-!- SquOnk [~emhn@186.93.207.12] has quit [Quit: Yippie kay-ai-yay, fudder muckers!] | 01:45 | |
-!- sbaur [~Adium@130.157.145.37] has quit [Quit: Leaving.] | 02:31 | |
@scrottie | these "IE7 standalone" projects don't seem to work. I did get IE3 running, much to my amusement. | 02:37 |
@scrottie | any suggestions on how I might get an IE7 up and running for testing with? | 02:37 |
@scrottie | next time someone asks me what OS I'm running, I'm going to tell them "Speak and Spell". | 02:38 |
@scrottie | now there's a UI I can get behind. | 02:38 |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Ping timeout: 260 seconds] | 02:49 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 02:50 | |
-!- kaare_ [~kaare@79.138.163.94.bredband.oister.dk] has joined #webgui | 06:09 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Read error: Connection reset by peer] | 06:59 | |
-!- kaare_ [~kaare@79.138.163.94.bredband.oister.dk] has quit [Ping timeout: 250 seconds] | 07:06 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Quit: Ex-Chat] | 09:15 | |
-!- kaare_ [~kaare@94.191.188.38.bredband.3.dk] has joined #webgui | 11:53 | |
-!- xootom [~xootom@cpc3-shef10-2-0-cust339.barn.cable.virginmedia.com] has joined #webgui | 12:44 | |
-!- xootom [~xootom@cpc3-shef10-2-0-cust339.barn.cable.virginmedia.com] has quit [Ping timeout: 250 seconds] | 13:55 | |
-!- kaare_ [~kaare@94.191.188.38.bredband.3.dk] has quit [Ping timeout: 276 seconds] | 14:05 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 15:39 | |
-!- xootom [~xootom@cpc3-shef10-2-0-cust339.barn.cable.virginmedia.com] has joined #webgui | 15:51 | |
-!- xootom [~xootom@cpc3-shef10-2-0-cust339.barn.cable.virginmedia.com] has quit [Ping timeout: 250 seconds] | 16:18 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Quit: Leaving.] | 16:18 | |
-!- kaare_ [~kaare@79.138.170.204.bredband.oister.dk] has joined #webgui | 18:30 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 19:07 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Remote host closed the connection] | 19:09 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 19:09 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 19:31 | |
-!- kaare_ [~kaare@79.138.170.204.bredband.oister.dk] has quit [Ping timeout: 246 seconds] | 21:38 | |
--- Day changed Sun Jul 10 2011 | ||
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Ping timeout: 240 seconds] | 00:07 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 00:21 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Quit: Leaving.] | 05:16 | |
-!- kaare_ [~kaare@79.138.162.183.bredband.oister.dk] has joined #webgui | 12:19 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 12:35 | |
-!- vayde [~vayde@67-4-129-115.mpls.qwest.net] has quit [Ping timeout: 276 seconds] | 13:15 | |
-!- vayde [~vayde@184-100-69-80.mpls.qwest.net] has joined #webgui | 13:29 | |
-!- vayde [~vayde@184-100-69-80.mpls.qwest.net] has quit [Ping timeout: 246 seconds] | 13:39 | |
-!- vayde [~vayde@67-4-129-94.mpls.qwest.net] has joined #webgui | 13:52 | |
-!- vayde [~vayde@67-4-129-94.mpls.qwest.net] has quit [Ping timeout: 258 seconds] | 14:04 | |
-!- vayde [~vayde@67-4-230-66.mpls.qwest.net] has joined #webgui | 14:16 | |
-!- ampli [c0722a05@gateway/web/freenode/ip.192.114.42.5] has quit [Quit: Page closed] | 15:51 | |
-!- kaare_ [~kaare@79.138.162.183.bredband.oister.dk] has quit [Ping timeout: 276 seconds] | 19:01 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Read error: Connection reset by peer] | 19:09 | |
-!- xootom [~xootom@cpc3-shef10-2-0-cust339.barn.cable.virginmedia.com] has joined #webgui | 22:18 | |
-!- xootom [~xootom@cpc3-shef10-2-0-cust339.barn.cable.virginmedia.com] has quit [Ping timeout: 255 seconds] | 22:39 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 22:55 | |
-!- xootom [~xootom@cpc3-shef10-2-0-cust339.barn.cable.virginmedia.com] has joined #webgui | 23:13 | |
-!- xootom [~xootom@cpc3-shef10-2-0-cust339.barn.cable.virginmedia.com] has quit [Ping timeout: 255 seconds] | 23:39 | |
--- Day changed Mon Jul 11 2011 | ||
-!- xootom [~xootom@cpc3-shef10-2-0-cust339.barn.cable.virginmedia.com] has joined #webgui | 01:04 | |
-!- xootom [~xootom@cpc3-shef10-2-0-cust339.barn.cable.virginmedia.com] has quit [Read error: Connection reset by peer] | 01:31 | |
-!- khenn [ab9f400a@gateway/web/freenode/ip.171.159.64.10] has quit [Ping timeout: 252 seconds] | 03:35 | |
CIA-82 | webgui: Colin Kuskie webgui-7.9 * r7505b1a / (docs/changelog/7.x.x.txt lib/WebGUI.pm): Specify the auth type when HTTP Basic auth fails. Fixes bug #12184. - http://bit.ly/nnHlgi | 04:11 |
CIA-82 | webgui: Colin Kuskie master * r5d74b24 / (docs/changelog/7.x.x.txt lib/WebGUI/Asset/Wobject/Thingy.pm): Remove debug code, replace with line accidently deleted during debug. Fixes bug #12188 - http://bit.ly/oyI00M | 04:12 |
CIA-82 | webgui: Colin Kuskie master * r200b4c3 / (docs/changelog/7.x.x.txt lib/WebGUI.pm): Specify the auth type when HTTP Basic auth fails. Fixes bug #12184. - http://bit.ly/pleGbo | 04:12 |
CIA-82 | webgui: Colin Kuskie master * r87d252e / (3 files in 3 dirs): Make sure that the keywords template variable is provided by processTemplate, since we documented that it does that. Fixes bug #12186. - http://bit.ly/qQOheS | 04:30 |
CIA-82 | webgui: Colin Kuskie webgui-7.9 * r779292c / (3 files in 3 dirs): Make sure that the keywords template variable is provided by processTemplate, since we documented that it does that. Fixes bug #12186. - http://bit.ly/oTh2LO | 04:31 |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Read error: Connection reset by peer] | 04:57 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui | 05:02 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Read error: Connection reset by peer] | 05:34 | |
-!- vayde [~vayde@67-4-230-66.mpls.qwest.net] has quit [Ping timeout: 252 seconds] | 06:37 | |
-!- vayde [~vayde@67-4-142-22.mpls.qwest.net] has joined #webgui | 06:49 | |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui | 11:53 | |
-!- daviddelikat1 [~user@adsl-75-42-233-158.dsl.mdsnwi.sbcglobal.net] has joined #webgui | 12:31 | |
-!- Netsplit *.net <-> *.split quits: vayde | 12:40 | |
-!- Netsplit *.net <-> *.split quits: perlbot, daviddelikat, fokat | 12:40 | |
-!- Netsplit over, joins: vayde | 12:46 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 12:47 | |
-!- perlbot [simcop2387@isuckatdomains.net] has joined #webgui | 12:56 | |
-!- mducharme1 [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui | 14:12 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Ping timeout: 240 seconds] | 14:15 | |
-!- waxhead_ [~pete@ppp121-45-211-56.lns20.cbr1.internode.on.net] has joined #webgui | 14:32 | |
-!- waxhead [~pete@ppp121-45-207-183.lns20.cbr1.internode.on.net] has quit [Ping timeout: 240 seconds] | 14:34 | |
-!- carogray [~Caroline@184-198-203-9.pools.spcsdns.net] has joined #webgui | 16:30 | |
-!- carogray [~Caroline@184-198-203-9.pools.spcsdns.net] has quit [Read error: Connection reset by peer] | 16:40 | |
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has joined #webgui | 17:07 | |
@frodwith | scrottie: IETester seems to work well enough for me. | 17:07 |
-!- sbaur [~Adium@130.157.145.37] has joined #webgui | 18:00 | |
@scrottie | I'll look into that, but I've got my RD3D running IE7 now. Safari for Mac is next on the list. I don't know if it's versions or what, but I can't reproduce a problem on my Windows Safari install. | 20:28 |
@scrottie | I'm debating between a Chinese MacBook clone, building a hack-in-tosh, or doing the full Tiger install on an Apple TV. | 20:28 |
@scrottie | AppleTV has the upshot of not occupying much space. | 20:28 |
-!- carogray1 [~Caroline@host2.209.113.248.conversent.net] has joined #webgui | 22:30 | |
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has quit [Ping timeout: 240 seconds] | 22:33 | |
CIA-82 | webgui: Colin Kuskie webgui-7.9 * rc041ade / t/Form/Workflow.t : Remove test comment. - http://bit.ly/nLgDP5 | 23:03 |
CIA-82 | webgui: Colin Kuskie webgui-7.9 * r0fd8c34 / (2 files in 2 dirs): Keywords fixes to prevent leaks. - http://bit.ly/mXzaqv | 23:03 |
CIA-82 | webgui: Colin Kuskie webgui-7.9 * r28294a1 / (14 files in 2 dirs): Override new in Form plugins that set their options, so the options are always available. Fixes bug #12190. - http://bit.ly/qwrSDq | 23:03 |
CIA-82 | webgui: Colin Kuskie master * r1c08796 / (2 files in 2 dirs): Keywords fixes to prevent leaks. - http://bit.ly/qFBG2n | 23:05 |
CIA-82 | webgui: Colin Kuskie master * r4b663fd / (14 files in 2 dirs): Override new in Form plugins that set their options, so the options are always available. Fixes bug #12190. - http://bit.ly/nydRYT | 23:05 |
CIA-82 | webgui: Colin Kuskie master * r64567f9 / t/Form/Workflow.t : Remove test comment. - http://bit.ly/mSVlnm | 23:05 |
CIA-82 | webgui: Colin Kuskie master * ra945396 / (docs/changelog/7.x.x.txt sbin/testEnvironment.pl): Add a requirement to check on the common::sense module for JSON::XS. Fixes bug #12135 - http://bit.ly/pMhyB0 | 23:16 |
-!- Trex [~Dale@x-160-94-170-39.borg.umn.edu] has joined #webgui | 23:20 | |
Trex | Hey folks. Can someone please remind me what the syntax is for running a single WebGUI test from the command line? | 23:21 |
Trex | I remember there was some environment variable you had to set and perhaps more...but forgot to write down what I did last time. | 23:22 |
Trex | Quiet in here today. I haven't dropped by in a while, but this seems unusual. | 23:30 |
@scrottie | export WEBGUI_CONFIG=/data/WebGUI/etc/www.example.com.conf ... that env variable? | 23:35 |
@scrottie | prove by itself should work, or you can run perl directly on the .t files... I think you have to also do export PERL5LIB=/data/WebGUI/lib:/data/WebGUI/t/lib ... but if you have that set when you start apache, it'll mess up mod_perl badly and in confusing ways | 23:36 |
Trex | Yes, to the first. I also found these instructions: http://www.webgui.org/wiki/developer-s-guide-to-testing-in-webgui | 23:37 |
Trex | However, when I try to follow the example to run via perl directly (rather than prove) I get "Can't locate WebGUI/Test.pm in @INC (@INC contains: /data/WebGUI/t/Group/lib..." | 23:38 |
Trex | So it seems I'm overlooking something obvious. | 23:38 |
Trex | And yes, I did run setenvironment.sh. :) | 23:39 |
Haarg | WEBGUI_CONFIG=/data/WebGUI/etc/www.example.com.conf perl -I/data/WebGUI/lib t/test.t | 23:48 |
--- Day changed Tue Jul 12 2011 | ||
-!- carogray1 [~Caroline@host2.209.113.248.conversent.net] has quit [Quit: Leaving.] | 00:10 | |
Trex | Thanks, scrottie and Haarg. I'm thinking the test system I'm trying to work on may be having some confusion between perl and cpan in WRE vs. the regular distro location. | 00:18 |
Trex | Time to find a simpler system. | 00:18 |
Haarg | are you messing with webgui 8? | 00:18 |
Trex | Nope. Trying to test for a bug in 7. | 00:18 |
Haarg | hmm | 00:19 |
Haarg | with 7, you shouldn't need to set PERL5LIB or use -l when running tests | 00:19 |
Trex | The servers I'd normally work on aren't exactly ones I'd want to run tests in at this point. | 00:19 |
Haarg | might have to do with the directory you are currently in though | 00:19 |
Trex | I've tried various places. Where should I be when running tests? | 00:20 |
Haarg | generally from /data/WebGUI | 00:20 |
Trex | I keep getting errors like: Can't locate Sub/Delete.pm in @INC... | 00:20 |
Trex | OK, that is one that I've tried. I figured as much when your previous example pointed to t/test.t | 00:21 |
Haarg | try running sbin/testEnvironment.pl | 00:21 |
Trex | That does its usual thing -- OK except for optoinal things not installed. | 00:23 |
Trex | Though it claims that I don't have Monkey::Patch, even though I can find it in both the wre and non-wre cpan locations. | 00:23 |
Haarg | probably because it can't load it because it can't find Sub::Delete | 00:24 |
Haarg | which means it got installed in a broken fashion for some reason | 00:25 |
Haarg | you might try deleting the Monkey::Patch pm file, then reinstalling it | 00:25 |
-!- carogray [~Caroline@174-154-19-14.pools.spcsdns.net] has joined #webgui | 00:35 | |
-!- carogray1 [~Caroline@68-244-65-218.pools.spcsdns.net] has joined #webgui | 00:41 | |
-!- carogray [~Caroline@174-154-19-14.pools.spcsdns.net] has quit [Read error: Connection reset by peer] | 00:41 | |
@scrottie | cpanm --force should work too. | 00:47 |
Trex | The thing is that as soon as I add one thing and re-try running the test, I get a report that something else can't be found. So I'm thinking there is something bigger going on with this system. | 00:52 |
Trex | I was able to find another system on which I could successfully run a single test manually...so now I'm just trying to get the system where I'd prefer to do tests to also be properly configured. | 00:53 |
-!- carogray [~Caroline@173-124-217-157.pools.spcsdns.net] has joined #webgui | 00:55 | |
-!- carogray1 [~Caroline@68-244-65-218.pools.spcsdns.net] has quit [Ping timeout: 250 seconds] | 00:56 | |
Trex | I'm going to have to head out soon, but I did want to ask about WG8 while I was here. Is that still on track for a release sometime this summer? | 00:57 |
CIA-82 | webgui: Colin Kuskie master * r9113408 / (3 files in 3 dirs): When a post is purged, disqualify it as the last post in its thread, and the parent CS. Fixes bug #12183 - http://bit.ly/qOtz9h | 01:06 |
CIA-82 | webgui: Colin Kuskie webgui-7.9 * r391b9ab / (3 files in 3 dirs): When a post is purged, disqualify it as the last post in its thread, and the parent CS. Fixes bug #12183 - http://bit.ly/phD01u | 01:06 |
-!- Trex [~Dale@x-160-94-170-39.borg.umn.edu] has left #webgui [] | 01:09 | |
CIA-82 | webgui: Colin Kuskie master * r9985d24 / (docs/changelog/7.x.x.txt sbin/installClass.pl): make installClass read lines from preload.custom for additional directories. Fixes bug #12189 - http://bit.ly/qduaqQ | 01:10 |
-!- carogray1 [~Caroline@174-154-19-14.pools.spcsdns.net] has joined #webgui | 01:21 | |
-!- carogray [~Caroline@173-124-217-157.pools.spcsdns.net] has quit [Ping timeout: 255 seconds] | 01:22 | |
-!- daviddelikat1 [~user@adsl-75-42-233-158.dsl.mdsnwi.sbcglobal.net] has left #webgui [] | 01:23 | |
-!- ampli [c0722a05@gateway/web/freenode/ip.192.114.42.5] has joined #webgui | 01:27 | |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Ping timeout: 264 seconds] | 01:31 | |
-!- daviddelikat [~user@adsl-75-42-233-158.dsl.mdsnwi.sbcglobal.net] has joined #webgui | 01:40 | |
CIA-82 | webgui: Colin Kuskie webgui-7.9 * re290e92 / (docs/changelog/7.x.x.txt sbin/installClass.pl): make installClass read lines from preload.custom for additional directories. Fixes bug #12189 - http://bit.ly/oiH2fc | 01:44 |
-!- carogray [~Caroline@70-14-87-66.pools.spcsdns.net] has joined #webgui | 02:10 | |
-!- carogray1 [~Caroline@174-154-19-14.pools.spcsdns.net] has quit [Ping timeout: 240 seconds] | 02:12 | |
-!- carogray1 [~Caroline@184-200-31-172.pools.spcsdns.net] has joined #webgui | 02:16 | |
-!- carogray1 [~Caroline@184-200-31-172.pools.spcsdns.net] has quit [Client Quit] | 02:18 | |
-!- carogray [~Caroline@70-14-87-66.pools.spcsdns.net] has quit [Ping timeout: 255 seconds] | 02:18 | |
-!- jimX11 [~jjm@n128-227-15-232.xlate.ufl.edu] has joined #webgui | 02:23 | |
-!- sbaur [~Adium@130.157.145.37] has quit [Quit: Leaving.] | 02:33 | |
CIA-82 | webgui: Colin Kuskie master * r7fda01b / (lib/WebGUI/Macro/FormField.pm t/Macro/FormField.t): Fixup of FormField macro tests and POD. - http://bit.ly/nUlNqx | 03:23 |
ampli | preaction: Hi, I would like to consult with you regarding my final version of DataTable. | 03:55 |
@preaction | ok | 03:56 |
ampli | I originally made the changes as a serries of commits. They include modifications of my own code, and one bug fix (the last one I posted). | 03:59 |
ampli | I would like to send the mods as a suggestion for adding to 7 beta and 8. | 03:59 |
ampli | The question is whether to send the last version as one commit instead of multiple. | 04:00 |
ampli | Also, whether to include the bug fix in the final version, or send a seperate initial commit for it. | 04:00 |
ampli | (This is a minor bug) | 04:00 |
ampli | The easiest way for me is send as one commit... | 04:02 |
@preaction | sending the bugfix seperately will help us backport it around | 04:09 |
@preaction | but the rest as a single commit is fine | 04:09 |
ampli | Ok, I will do that so. | 04:11 |
-!- jimX11 [~jjm@n128-227-15-232.xlate.ufl.edu] has quit [Quit: Leaving] | 06:09 | |
CIA-82 | webgui: Colin Kuskie master * r6e27305 / docs/create.sql : Preparing for 7.10.20 release. - http://bit.ly/ouYlFK | 07:04 |
CIA-82 | webgui: Colin Kuskie master * r39165c5 / (4 files in 4 dirs): Ready for 7.10.20 development. - http://bit.ly/nkjnrr | 07:04 |
-!- Radix_ changed the topic of #webgui to: [7.9.32-stable | 7.10.20-beta | WRE 0.9.3] Before you ask, check the wiki: http://wiki.webgui.org | Pastebin: http://webgui.pastebin.com | 07:08 | |
ampli | There is apparently a major problem in wg8 with the cancel button. | 07:47 |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui | 08:11 | |
-!- waxhead_ is now known as waxhead | 08:30 | |
-!- mducharme1 [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Ping timeout: 264 seconds] | 10:46 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui | 10:53 | |
-!- mducharme1 [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui | 11:22 | |
-!- kaare__ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui | 11:23 | |
-!- Haaarg [~haarg@haarg.org] has joined #webgui | 11:23 | |
-!- Netsplit *.net <-> *.split quits: vayde, Haarg, mducharme, kaare_ | 11:29 | |
-!- Haaarg is now known as Haarg | 11:29 | |
-!- Netsplit over, joins: vayde | 11:35 | |
ckotil | weee! finally got wg8 up and running. following https://github.com/plainblack/webgui/blob/WebGUI8/docs/install.txt | 16:44 |
ckotil | tho i cant do much. the admin bar macro seems to not have loaded. | 16:44 |
-!- mducharme-laptop [~MDucharme@206.188.121.4] has joined #webgui | 17:21 | |
-!- sbaur [~Adium@130.157.145.37] has joined #webgui | 17:22 | |
-!- carogray [~Caroline@69.26.113.242] has joined #webgui | 17:50 | |
ckotil | is editing busted in wg8 right now? | 17:59 |
ckotil | Or maybe it's the template im using. Calling ^AdminBar which appears to have been removed in wg8. Also ?func=edit or ?op=assetManager doesnt take me anywhere either. | 18:15 |
ckotil | found a backup of my wg8 test from a couple months ago. with it, i can load the AdminBar and asset manager and edit. but its ROUGH | 18:39 |
* ckotil goes back to waiting patiently | 18:39 | |
@preaction | AdminBar is gone, ?func=edit should work. ?op=assetManager is gone. ?op=admin should work | 18:51 |
ckotil | yeah, i got them going with my old Wg8 checkout. but the one i checked out yesterday I couldnt get working. | 19:09 |
@scrottie | ckotil, did you do the bit about getting a fresh wgd and using that to run the upgrades? | 19:17 |
@scrottie | ckotil, it should work better than you're describing. | 19:17 |
@preaction | also check the error log | 19:20 |
@scrottie | hrm, I should really take these diagnostic steps and roll up a .t out of them. perhaps call it ScottMcnealyAutoHealingClocklessSysVBSDOracleWebGUI.t | 19:30 |
ckotil | scrottie: no, i pry need to do that. | 19:35 |
@scrottie | the problem I had and a problem I keep seeing other people have is the upgrades not actually running but just silently failing. | 19:45 |
ckotil | yeah i think mine are silenty failing. | 19:58 |
ckotil | meeting. bbiab | 19:58 |
ampli | There is apparently a major problem in wg8 with the cancel button. | 20:07 |
@preaction | probably | 20:08 |
ampli | For me, at least, it a synonym to Save. | 20:10 |
ckotil | scrottie: for the wgd --upgrade , I did a checkout of WebGUI8 from git. do I still need to run those upgrades? | 20:30 |
@scrottie | ckotil, yes. | 20:31 |
@scrottie | the database dump, config file, etc are all 7.10.something | 20:32 |
@scrottie | after a WebGUI8 "1.0" is released, it'll probably ship with 8.0 everything, but right now we need to continue testing the 7->8 upgrade path as much as possible | 20:32 |
ckotil | ok gotcha, thanks | 20:33 |
-!- carogray [~Caroline@69.26.113.242] has quit [Quit: Leaving.] | 20:34 | |
ckotil | running upgrade script .. DONE takes 2 seconds to copmlete. might be failing silently. | 20:35 |
@scrottie | yes, probably. | 20:38 |
@scrottie | you used a *fresh* wgd, just fetched from http://haarg.org/wgd ? | 20:38 |
@scrottie | or built from github.com/haarg/wgd ? | 20:38 |
ckotil | yeah i just built it from the git repo | 20:38 |
@scrottie | in the "macros" section of your .conf file, is "AdminBar" listed? | 20:39 |
ckotil | nope | 20:39 |
ckotil | im using the example conf from the WebGUI8 tree | 20:40 |
@scrottie | that one, last I saw, still had that in it until upgrades are run, then it does and should come out | 20:41 |
@scrottie | so that's one indication that upgrades did actually run | 20:41 |
ckotil | AdminBar is missing from the macros section in WebGUI.conf.original | 20:41 |
@scrottie | oh. hmm. | 20:42 |
ckotil | at least from the WebGUI8 branch. | 20:42 |
@scrottie | right. | 20:42 |
ckotil | so using a simliar method to verify the upgrade has complete. i looked for session->config->deleteFromArray( 'contentHandlers', 'WebGUI::Content::AssetManager' ); | 20:42 |
ckotil | in my config. | 20:42 |
ckotil | new content handler for AssetManager, and it's not there. so it must be failing | 20:43 |
@scrottie | wait, the upgrade is trying to delete that from the .conf? | 20:44 |
ckotil | errr, so it is. | 20:44 |
ckotil | sorry i misread that. | 20:44 |
ckotil | ok so another one, is to addToArrayAfter() 'contentHandlers', 'WebGUI::Content::Referral', 'WebGUI::Content::Admin' | 20:45 |
ckotil | and both Referral and Admin are in my conf. | 20:45 |
@scrottie | /data/WebGUI/www/extras/admin/admin.js ... is that file visible from under /data/domains/www.example.com<or whatever domain>/public/extras? | 20:45 |
@scrottie | ie, did the new extras get installed correctly? | 20:46 |
ckotil | checking. | 20:48 |
@scrottie | and as preaction said, no errors in the webgui.log...? feel free to paste to git.github.com or wherever any errors for comment | 20:49 |
ckotil | nothing relevant in the logs. just AdminBar macro errors, and cron spectre errors. | 20:51 |
@scrottie | post it anyway? there shouldn't be AdminBar macro errors. | 20:51 |
@scrottie | nothing should be trying to use that. | 20:51 |
@scrottie | not on a fresh WG8 install anyway. | 20:51 |
ckotil | my template is trying to use it | 20:52 |
ckotil | ive tried a few templates, all stock. and they all have ^AdminBar(); at the top | 20:52 |
@scrottie | WebGUI8 stock templates...? such as which? | 20:52 |
ckotil | you know, that new site setup thing. | 20:52 |
@scrottie | okay, I wonder if your templates aren't being upgraded from the wgpkgs that ship with the thing... | 20:52 |
@scrottie | ^AdminBar() should be gone from the .conf and gone from the templates... | 20:53 |
ckotil | ok. i set that up before doing the upgrade via wgd. | 20:53 |
ckotil | ill start over | 20:53 |
@scrottie | better version checking is on the todo list... | 21:02 |
ckotil | can anyone pinpoint this error? http://pastebin.ch/6590 | 21:15 |
@scrottie | need more stack trace | 21:18 |
@scrottie | but yeah, that needs to be fixed | 21:19 |
ckotil | similiarly http://pastebin.ch/6591 | 21:20 |
ckotil | errm wrong ?op , duh. | 21:20 |
ckotil | that's right. | 21:20 |
ckotil | when trying to turn admin on. | 21:21 |
@scrottie | these www_switchOnAdmin / www_switchOffAdmin methods are still in there and they call a non-existant method in WebGUI::Session as your log says. those should probably just go away, or else punt over. | 21:24 |
ckotil | intersting. | 21:26 |
ckotil | the webgui8 checkout from 2 months ago still has those switchAdminOff/On functions in WebGUI/Session.pm | 21:27 |
ckotil | which explains why it works when i run wg8 out of the 2 month old code | 21:27 |
@scrottie | http://pastebin.ch/6590 ... could you please post the full stack trace of that one? | 21:32 |
@scrottie | or if it happens again, post it then? | 21:32 |
ckotil | sure. how do i get hte full stack trace? | 21:34 |
@scrottie | add %T to the log pattern in log.conf is one way | 21:35 |
ckotil | easy enough. | 21:35 |
ckotil | http://pastebin.ch/6592 | 21:37 |
ckotil | http://www.america.gov/ looks like it's dead | 21:42 |
ckotil | a link to that site is included with every webgui istallation | 21:43 |
@scrottie | Log4Perl doesn't play nice with Exception::Class. l4p will generate a stack trace, as you can see, but it's one from its point of view, at the point that it is called, which is likely to be much after the fact of the error. Exception::Class has a stack trace from the moment of the error, but l4p won't use that one. | 21:47 |
@scrottie | I have a fix for this but it is _ugly_. | 21:47 |
@scrottie | turns out that it is really hard to extend l4p. | 21:48 |
ckotil | k | 21:50 |
-!- mducharme-laptop [~MDucharme@206.188.121.4] has quit [Quit: Leaving.] | 22:57 | |
-!- mducharme-laptop [~MDucharme@206.188.121.4] has joined #webgui | 22:58 | |
-!- mducharme-laptop [~MDucharme@206.188.121.4] has quit [Ping timeout: 258 seconds] | 23:02 | |
--- Day changed Wed Jul 13 2011 | ||
-!- Trex [~Trex@c-71-63-130-170.hsd1.mn.comcast.net] has joined #webgui | 00:09 | |
Trex | Hello again. Got the test system I was having problems with yesterday sorted out, so now I was hoping to get some assistance with setting up users as visitors in formal tests... | 00:11 |
Trex | What I'd like to do is have 2+ visitors with separate sessions so I can check whether certain information is being kept distinct per session, but I'm having trouble with the separate-sessions part. | 00:13 |
Trex | If I set up a user1 and user2 wiht WebGUI::User->new, and set userId to 1 for each, then check their session IDs, the session IDs come out the same. | 00:14 |
Trex | So either I'm not checking the session ID properly (getting the testing session id instead, perhaps?) or I'm not properly setting up separate visitors. | 00:14 |
@scrottie | new() doesn't create a new user but creates a new instance of an object that represents a user. | 00:15 |
@scrottie | there's no reason you can't have two or more instances of objects representing the same user. | 00:15 |
-!- kaare__ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Ping timeout: 240 seconds] | 00:16 | |
Trex | So what should I be doing to set up separate instances of separate users...but both with the same ID of 1? | 00:16 |
Trex | (user ID that is) | 00:16 |
@scrottie | well, unless you pass new() "new". then it creates a new user. | 00:16 |
@scrottie | sounds like you want to create multiple sessions though, not multiple users. | 00:17 |
@scrottie | or user objects. | 00:17 |
@scrottie | there are examples of this in the tests somewhere... | 00:17 |
Trex | Yes...that sounds like what i was trying to describe: multiple sessions. | 00:18 |
Trex | I found examples of multiple users being set up in tests, but they all appared to be "regular" users, rather than separate sessions with their own visitor user. | 00:18 |
@scrottie | t/Session.t looks like it opens a bunch of sessions concurrently... ack'ing for Session->open, I see it opening a bunch including one on line 132, 135, 139, 147, 150, 160, etc | 00:19 |
@scrottie | I think a newly opened session will default to visitor, but you can also call ->user("1") on the session to force the user associated with that session to be visitor | 00:20 |
Trex | Is that t/Session.t in WG8? I'm looking at t/Session.t in 7.9.32 and it's a much shorter script. | 00:20 |
@scrottie | yeah... | 00:21 |
@scrottie | er, yeah, re: WebGUI8 | 00:21 |
Trex | OK...if I were to download WG8 would t/Session.t at least be similar enough to learn some useful syntax? | 00:21 |
@scrottie | https://github.com/plainblack/webgui/blob/d15891dbb9295f6f9b9d04d94b07967a32a04e22/t/Session.t | 00:22 |
@scrottie | Session->open might take one fewer arg | 00:23 |
@scrottie | if memory serves | 00:23 |
Trex | I'll check the API to see what it's expecting in 7. | 00:23 |
@scrottie | but that should still be a pretty good example. basically, you're just creating multiple session objects and doing things with them. | 00:23 |
Trex | Thanks! Hopefully this will get me started. | 00:23 |
@scrottie | good idea. | 00:23 |
@scrottie | you're quite welcome. let us know if you get stuck. | 00:23 |
@scrottie | happy to comment on code you're writing if you post it. | 00:24 |
Trex | Will do, if I either get stuck or have some interesting results to show. | 00:26 |
-!- mducharme1 [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Read error: Connection reset by peer] | 01:07 | |
Trex | Initial results look good, but nothing to show yet...and I must head out. | 01:29 |
Trex | Thanks again for your help, scrottie! | 01:29 |
-!- Trex [~Trex@c-71-63-130-170.hsd1.mn.comcast.net] has left #webgui [] | 01:29 | |
-!- sbaur [~Adium@130.157.145.37] has quit [Quit: Leaving.] | 01:55 | |
@scrottie | https://alumni.plainblack.net/seas/news/announcements/announcements?func=editMail;aid=T3-NghRPpb7qyaAp6EwnjQ ... I don't see a "make changes" button...? | 02:46 |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 03:37 | |
-!- carogray1 [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 03:39 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Ping timeout: 255 seconds] | 03:41 | |
-!- carogray1 [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Read error: Connection reset by peer] | 05:44 | |
CIA-82 | webgui: Doug Bell WebGUI8 * r5736e5e / lib/WebGUI/Asset.pm : | 06:21 |
CIA-82 | webgui: refactor www_add/www_edit to fix existing www_edit overrides | 06:21 |
CIA-82 | webgui: If you previously overrode www_edit to create a template, you must | 06:21 |
CIA-82 | webgui: instead override getEditTemplate and return your template from there. | 06:21 |
CIA-82 | webgui: Make sure to set your style template correctly. - http://bit.ly/o8feq9 | 06:21 |
CIA-82 | webgui: Doug Bell WebGUI8 * rb815228 / docs/migration.txt : add note about www_edit changes to migration.txt - http://bit.ly/pNL2Zi | 06:21 |
-!- ckotil [~ckotil@snare.grnoc.iu.edu] has quit [Ping timeout: 264 seconds] | 07:39 | |
-!- ckotil [~ckotil@snare.grnoc.iu.edu] has joined #webgui | 07:39 | |
-!- mducharme-laptop [~MDucharme@thsnmb01dc1-193-139.dynamic.mtsallstream.net] has joined #webgui | 08:33 | |
-!- mducharme-laptop [~MDucharme@thsnmb01dc1-193-139.dynamic.mtsallstream.net] has quit [Quit: Leaving.] | 09:28 | |
-!- ryuu_ro [~rory@D57D69B6.static.ziggozakelijk.nl] has joined #webgui | 09:46 | |
@scrottie | http://pghpw.org/ppw2011/talk/3640 ... comments welcome. | 12:40 |
ryuu_ro | The requested URL /ppw2011/talk/3640 was not found on this server. | 12:42 |
-!- perlbot_ [simcop2387@isuckatdomains.net] has joined #webgui | 12:44 | |
-!- perlbot [simcop2387@isuckatdomains.net] has quit [Ping timeout: 255 seconds] | 12:47 | |
-!- perlbot_ is now known as perlbot | 12:47 | |
-!- mducharme-laptop [~MDucharme@thsnmb01dc1-193-139.dynamic.mtsallstream.net] has joined #webgui | 12:48 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui | 12:55 | |
-!- mducharme-laptop [~MDucharme@thsnmb01dc1-193-139.dynamic.mtsallstream.net] has quit [Quit: Leaving.] | 13:51 | |
-!- ampli [c0722a05@gateway/web/freenode/ip.192.114.42.5] has quit [Quit: Page closed] | 14:10 | |
-!- daviddelikat [~user@adsl-75-42-233-158.dsl.mdsnwi.sbcglobal.net] has quit [Read error: Connection reset by peer] | 14:47 | |
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has joined #webgui | 15:00 | |
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has quit [Read error: Connection reset by peer] | 15:01 | |
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has joined #webgui | 15:08 | |
SDuensin | Morning. | 16:40 |
ckotil | Hello | 17:03 |
-!- kaare__ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui | 17:04 | |
ckotil | I pulled down the latest wg8 tree w/ 'refactor www_add/www_edit'. But im still unable to edit or enable admin mode. | 17:06 |
-!- Trex [~Trex@c-71-63-130-170.hsd1.mn.comcast.net] has joined #webgui | 17:23 | |
Trex | Good morning, folks! (For those of you in the western hemisphere anyway...) | 17:24 |
Trex | Quick question: when using diff (outside of git) to create a patch, what is the order in which the two files being compared should be placed? | 17:25 |
Trex | diff new.file old.file > patch.txt | 17:25 |
Trex | or diff old.file new.file > patch.txt? | 17:25 |
Trex | I haven't jumped into git yet, but looking at the docs on the WG wiki, it seems git takes the guesswork out of this step. :) | 17:26 |
ckotil | looks like old new. http://jungels.net/articles/diff-patch-ten-minutes.html | 17:26 |
-!- ryuu_ro_ [~rory@D57D69B6.static.ziggozakelijk.nl] has joined #webgui | 17:28 | |
-!- ryuu_ro_ [~rory@D57D69B6.static.ziggozakelijk.nl] has quit [Client Quit] | 17:28 | |
Trex | Thanks, ckotil. Do you know if there are there any particular flags that are particularly useful to set? | 17:29 |
Trex | (I think I should take particular care in reading over my comments to reduce particular redundancies...) | 17:30 |
-!- vayde [~vayde@67-4-142-22.mpls.qwest.net] has quit [Remote host closed the connection] | 17:30 | |
-!- ryuu_ro [~rory@D57D69B6.static.ziggozakelijk.nl] has quit [Ping timeout: 252 seconds] | 17:32 | |
ckotil | using diff to create a patch is pretty straight forward. I dunno what complexities brining git into the mix adds. Im new to git, and havent done much with it. im used to cvs/svn | 17:33 |
-!- vayde [~vayde@67-4-142-22.mpls.qwest.net] has joined #webgui | 17:35 | |
Trex | OK. I was curious about things like the example on the page you linked to included the -u flag when creating a patch with diff. Do folks here care whether you include the extra information -u creates, or is a straight "diff old.file new.file > patch" sufficient? | 17:36 |
Trex | Probably doesn't matter for a patch as simple as the one I'm working on. | 17:36 |
-!- sbaur [~Adium@130.157.145.37] has joined #webgui | 17:59 | |
-!- mducharme-laptop [~MDucharme@35-121-188-206.rev.knet.ca] has joined #webgui | 18:00 | |
Trex | OK, bug submitted with test and suggested patch: http://www.webgui.org/use/bugs/tracker/12195 | 19:19 |
Trex | Thanks to the folks who helped me along the way! Now I'm off to my "real" job. | 19:20 |
-!- Trex [~Trex@c-71-63-130-170.hsd1.mn.comcast.net] has left #webgui [] | 19:20 | |
-!- ampli [c0722a05@gateway/web/freenode/ip.192.114.42.5] has joined #webgui | 19:24 | |
--- Day changed Thu Jul 14 2011 | ||
@preaction | did we take out automatic serialization for asset properties? | 00:08 |
-!- advancedalarmtec [46803485@gateway/web/freenode/ip.70.128.52.133] has joined #webgui | 00:29 | |
-!- advancedalarmtec [46803485@gateway/web/freenode/ip.70.128.52.133] has quit [Quit: Page closed] | 00:42 | |
-!- kaare__ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Ping timeout: 240 seconds] | 01:07 | |
-!- daviddelikat [~user@76.204.89.252] has joined #webgui | 01:35 | |
-!- mducharme-laptop [~MDucharme@35-121-188-206.rev.knet.ca] has quit [Quit: Leaving.] | 01:52 | |
-!- sbaur [~Adium@130.157.145.37] has quit [Quit: Leaving.] | 02:27 | |
-!- mducharme-laptop [~MDucharme@35-121-188-206.rev.knet.ca] has joined #webgui | 02:49 | |
-!- mducharme-laptop [~MDucharme@35-121-188-206.rev.knet.ca] has quit [Quit: Leaving.] | 03:01 | |
-!- mducharme-laptop [~MDucharme@thsnmb01dc1-193-24.dynamic.mtsallstream.net] has joined #webgui | 03:09 | |
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has quit [Ping timeout: 260 seconds] | 04:12 | |
-!- carogray [~Caroline@108.122.240.56] has joined #webgui | 04:26 | |
-!- mducharme-laptop [~MDucharme@thsnmb01dc1-193-24.dynamic.mtsallstream.net] has quit [Quit: Leaving.] | 04:50 | |
-!- mducharme-laptop [~MDucharme@thsnmb01dc1-193-24.dynamic.mtsallstream.net] has joined #webgui | 04:58 | |
-!- carogray [~Caroline@108.122.240.56] has quit [Quit: Leaving.] | 05:20 | |
-!- mducharme-laptop [~MDucharme@thsnmb01dc1-193-24.dynamic.mtsallstream.net] has quit [Quit: Leaving.] | 07:08 | |
-!- daviddelikat [~user@76.204.89.252] has quit [Read error: Connection reset by peer] | 07:28 | |
-!- kaare__ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui | 07:34 | |
-!- ryuu_ro [~rory@D57D69B6.static.ziggozakelijk.nl] has joined #webgui | 09:59 | |
-!- mducharme-laptop [~MDucharme@thsnmb01dc1-193-24.dynamic.mtsallstream.net] has joined #webgui | 11:01 | |
-!- mducharme-laptop [~MDucharme@thsnmb01dc1-193-24.dynamic.mtsallstream.net] has quit [Read error: Connection reset by peer] | 11:19 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 13:10 | |
-!- kaare__ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Read error: Operation timed out] | 13:46 | |
-!- zylopfa [~zylopfa@0x555116f0.adsl.cybercity.dk] has joined #webgui | 14:48 | |
zylopfa | Hello webguians! | 14:48 |
zylopfa | A little question, I am making a shop and in the Product template i would like to add more than 1 item at a time, as it is default you can only add 1 item unless you go to the shopping chart and change it there | 14:49 |
-!- daviddelikat [~user@adsl-76-204-89-252.dsl.mdsnwi.sbcglobal.net] has joined #webgui | 15:36 | |
SDuensin | Greetings, Earthlings. | 16:42 |
-!- sbaur [~Adium@130.157.145.37] has joined #webgui | 17:36 | |
-!- kaare__ [~kaare@94.191.200.39.bredband.3.dk] has joined #webgui | 17:48 | |
zylopfa | Greetings SDuensin | 17:52 |
SDuensin | Hi zylopfa | 17:53 |
-!- ryuu_ro_ [~rory@D57D69B6.static.ziggozakelijk.nl] has joined #webgui | 18:05 | |
-!- ryuu_ro_ [~rory@D57D69B6.static.ziggozakelijk.nl] has quit [Client Quit] | 18:05 | |
-!- ryuu_ro [~rory@D57D69B6.static.ziggozakelijk.nl] has quit [Ping timeout: 240 seconds] | 18:07 | |
zylopfa | Anyone know when the "download" or language files will be updated once you made changes to a language file? I have tried to Commit my changes but nothing but an old version when i download. | 18:41 |
-!- TheSeparator [3ef966ad@gateway/web/freenode/ip.62.249.102.173] has joined #webgui | 18:50 | |
-!- TheSeparator [3ef966ad@gateway/web/freenode/ip.62.249.102.173] has quit [Quit: Page closed] | 19:01 | |
@preaction | if i wanted to get a plug computer to do a timemachine backup service (at a lower price than the TimeCapsule), what plug computer should I get? | 20:54 |
@preaction | guruplug seems to suffer from overheating | 20:54 |
@preaction | DreamPlug and D2Plug seem like a nice pair, the first for file servers, the second for playing video | 20:58 |
xdanger | I wondered the same, settled for a old laptop underclocked to the max | 22:46 |
-!- kaare__ [~kaare@94.191.200.39.bredband.3.dk] has quit [Ping timeout: 264 seconds] | 23:22 | |
sbaur | are the old svn logs for webgui available somewhere? I'd like to try to figure out which bug was fixed by my patch against rev. 9474 of Operation/Profile.pm | 23:57 |
--- Day changed Fri Jul 15 2011 | ||
@preaction | svn was imported into git, so the logs should be there | 00:05 |
sbaur | guess it's time to learn some git in that case :-) | 00:05 |
@scrottie | which bug was fixed by my patch... 'git blame' on the file, scanning for the lines in question, should answer that | 00:07 |
@scrottie | and woe to the fool who reformats whitespace on buggy code without fixing the bug for he shall be blamed for the bug | 00:07 |
@preaction | doesn't seem that the git logs have which svn revision they came from, so dunno | 00:07 |
@preaction | scrottie: but in that case, they deserve it. | 00:08 |
sbaur | so, do i have to get git setup locally or can i do my investigations on github? | 00:08 |
@preaction | github should work fine | 00:08 |
sbaur | thanks scrottie and preaction, I figured out that i don't need to carry 4 of my patches forward anymore, 2 i still need to, and 1 I'm unsure on... That one gets to be looked at by someone who can maybe figure out what the heck it's supposed to do | 00:45 |
@scrottie | I'm not sure exactly what you're up to so let me know if I should look at something. | 01:00 |
sbaur | i'm getting ready to upgrade from 7.5.40 to 7.6.35, and looking at all the old patches to see which ones i might still need | 01:08 |
@scrottie | ah, local patches | 01:17 |
sbaur | one is the assetManager security patch, so not all are local, but the one in question most definitely is | 01:25 |
-!- zylopfa [~zylopfa@0x555116f0.adsl.cybercity.dk] has quit [Read error: Connection reset by peer] | 01:35 | |
-!- zylopfa [~zylopfa@0x555116f0.adsl.cybercity.dk] has joined #webgui | 01:51 | |
zylopfa | A little question, I am making a shop and in the Product template i would like to add more than 1 item at a time, as it is default you can only add 1 item unless you go to the shopping chart and change it there | 02:15 |
-!- zylopfa [~zylopfa@0x555116f0.adsl.cybercity.dk] has quit [Remote host closed the connection] | 02:20 | |
-!- sbaur [~Adium@130.157.145.37] has quit [Quit: Leaving.] | 02:32 | |
-!- SynQ [~koen@f70096.upc-f.chello.nl] has quit [Ping timeout: 276 seconds] | 02:45 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Quit: Leaving.] | 06:01 | |
-!- kaare__ [~kaare@79.138.161.111.bredband.oister.dk] has joined #webgui | 07:26 | |
-!- advancedalarmtec [~advanceda@99-101-77-213.lightspeed.ltrkar.sbcglobal.net] has joined #webgui | 08:00 | |
advancedalarmtec | FYI for anyone that cares, I was trying to edit one of my sites from the office and I kept having issues saving changes to any of the assets on the site. Apparently it was flagged as possible spyware by our Untangle firewall at the office and that's what the problem was. I don't know if anyone else has had a similar experience or not. | 08:14 |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Read error: Operation timed out] | 08:23 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 08:34 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 11:37 | |
-!- waxhead_ [~pete@ppp121-45-221-196.lns20.cbr1.internode.on.net] has joined #webgui | 12:26 | |
-!- waxhead [~pete@ppp121-45-211-56.lns20.cbr1.internode.on.net] has quit [Ping timeout: 258 seconds] | 12:27 | |
-!- xdanger [xdanger@mentalhouse.net] has quit [Ping timeout: 246 seconds] | 15:09 | |
--- Log closed Fri Jul 15 15:09:36 2011 | ||
--- Log opened Fri Jul 15 16:49:58 2011 | ||
SDuensin | Morning! | 16:49 |
* scrottie waves hello | 16:52 | |
SDuensin | LOL - http://www.mobygames.com/game/browser/portal-tetris/screenshots | 16:55 |
@scrottie | SDuensin, http://www.youtube.com/watch?v=0x8UWYxDV-E >=) | 17:00 |
SDuensin | hehe | 17:05 |
-!- knowmad [~knowmad@adsl-070-148-067-249.sip.clt.bellsouth.net] has joined #webgui | 17:48 | |
-!- sbaur [~Adium@130.157.145.37] has joined #webgui | 17:57 | |
* scrottie waves to knowmad | 17:59 | |
knowmad | has anyone else found that webgui & basic auth do not play well together? i've got a ton of errors in my logs due to authen() trying to use the username for my basic auth realm to login to my webgui site | 18:18 |
-!- knowmad [~knowmad@adsl-070-148-067-249.sip.clt.bellsouth.net] has left #webgui [] | 18:45 | |
ampli | I opened a pull request on dataTable changes two days ago. Can it be I closed it by mistake just after I opened it (? | 18:53 |
ampli | If this is what happened I will just open it again. | 18:57 |
-!- vayde [~vayde@67-4-142-22.mpls.qwest.net] has quit [Ping timeout: 260 seconds] | 19:19 | |
-!- vayde [~vayde@184-100-113-21.mpls.qwest.net] has joined #webgui | 19:32 | |
-!- vayde [~vayde@184-100-113-21.mpls.qwest.net] has quit [Ping timeout: 252 seconds] | 19:59 | |
-!- vayde [~vayde@67-4-224-86.mpls.qwest.net] has joined #webgui | 20:11 | |
-!- Tunnelblick [~knoppix@koln-5d81c6a2.pool.mediaWays.net] has joined #webgui | 22:56 | |
Tunnelblick | hello | 22:56 |
@scrottie | hey Tunnelblick. | 22:57 |
Tunnelblick | I have a problem with webgui under ubuntu | 22:57 |
Tunnelblick | can't get it to work | 22:57 |
Tunnelblick | and I found nothing that could help me on google | 22:58 |
Tunnelblick | scrottie may I query you ? | 22:58 |
@scrottie | sure, ask away. if I can't answer something, likely someone else can. | 23:02 |
@scrottie | (best to address questions to the channel) | 23:02 |
@scrottie | I'm not familiar with the Debian package, only the source install and WRE install | 23:02 |
Tunnelblick | hm currently I'm trying eBox to fix webgui strange :( | 23:04 |
Tunnelblick | perhaps eBox will work out | 23:05 |
@scrottie | eBox? | 23:05 |
@scrottie | you haven't told us what problem you're having or what step you're having problems with. | 23:07 |
@scrottie | "not working" doesn't narrow down the problem. | 23:07 |
-!- kaare__ [~kaare@79.138.161.111.bredband.oister.dk] has quit [Ping timeout: 240 seconds] | 23:10 | |
Tunnelblick | ok I tried to install webgui via apt-get install webgui | 23:10 |
Tunnelblick | on ubuntu 10.4 server | 23:11 |
Tunnelblick | now it does not work as supposed | 23:11 |
Tunnelblick | and I am wondering what went wrong | 23:11 |
@scrottie | I think there are some additional setup instructions that put into a share directory somewhere but I don't remember where. | 23:11 |
@scrottie | er, get put | 23:12 |
Tunnelblick | I went through all tutos and didn't find a clue :( | 23:12 |
@preaction | which tutorials did you go through? | 23:15 |
@preaction | many of them do not apply, because they use a source install of WebGUI or the WRE install of WebGUI, unfortunately | 23:15 |
CIA-82 | webgui: Paul Driver master * r5159e52 / (docs/changelog/7.x.x.txt lib/WebGUI/Content/PDFGenerator.pm): WebGUI::Content::PDFGenerator - http://bit.ly/rgQZVI | 23:17 |
Tunnelblick | hm .... | 23:19 |
Tunnelblick | what about the wre install then ? | 23:19 |
@scrottie | you haven't told us if you're able to connect to the port, if anything generates any errors... | 23:19 |
@scrottie | if it generates errors on startup or when you connect... | 23:19 |
@scrottie | no one is going to have a guess what is wrong unless you can tell us the exact step that goes wrong. | 23:20 |
@scrottie | believe us, if there were exactly one thing that kept WebGUI from working, we'd fix it ;) | 23:20 |
@preaction | yes, the more specific you are, the better we can help. a few people have come by here with working debian/ubuntu installs of WebGUI, so i'm fairly certain it will work | 23:21 |
Tunnelblick | ok | 23:22 |
Tunnelblick | hm ... I did apt-get install webgui ... what else to do now ? | 23:22 |
Tunnelblick | I'm rather new to this | 23:22 |
@preaction | did you find any docs or tutorials? if so, which ones? | 23:22 |
Tunnelblick | hm ok wait | 23:23 |
Tunnelblick | http://www.webgui.org/wiki/how-to-include-webgui-in-ubuntu-server-startup | 23:23 |
@preaction | that's a WRE thing, which doesn't apply to the ubuntu package. the ubuntu package is already enabled at startup (as part of the ubuntu apache2 package) | 23:24 |
@preaction | the readme is in /usr/share/doc/webgui/README.Debian.gz, that's probably a good place to start | 23:24 |
Tunnelblick | ok | 23:25 |
Tunnelblick | thnaks | 23:25 |
-!- knowmad [~knowmad@adsl-070-148-067-249.sip.clt.bellsouth.net] has joined #webgui | 23:30 | |
-!- knowmad [~knowmad@adsl-070-148-067-249.sip.clt.bellsouth.net] has left #webgui [] | 23:31 | |
@scrottie | knowmad, you asked a question this morning and you lef.. | 23:31 |
* scrottie rolls his eyes | 23:31 | |
-!- knowmad [~knowmad@adsl-070-148-067-249.sip.clt.bellsouth.net] has joined #webgui | 23:31 | |
-!- knowmad [~knowmad@adsl-070-148-067-249.sip.clt.bellsouth.net] has left #webgui [] | 23:32 | |
ampli | Hello, I would like to ask (again) about the "cancel" button in asset editing on wg8... | 23:39 |
ampli | I observed that it acts as "save" and found why. | 23:39 |
@scrottie | I remember your report about that but haven't looked into it myself. | 23:40 |
ampli | It just makes a "submit" of the form, exactly like "save". The only differebce is that it sends also "cancel=cancel", but this is apparently not checked. | 23:41 |
ampli | My question is whether there was a speial intention to make it to do "submit", instead of just changing the page to be of the containg asset. | 23:42 |
ampli | (like done in wg7) | 23:42 |
@preaction | no, it shouldn't be a submit button, it should be a history.go(-1) as it used to | 23:43 |
@preaction | though there are problems with that, it's the best thing we have right now | 23:43 |
ampli | Ok, so I looked at the code how to change it. | 23:43 |
@preaction | the problem could be that it's a YUI Button now, and the onclick handler isn't getting translated over | 23:44 |
ampli | I found that toJtml() in WebGUI/Form/Button.pm just disregards onclik. | 23:45 |
@preaction | oh, whoops | 23:45 |
ampli | Why doesn't it suport setting any field, disregarding its name? | 23:45 |
@preaction | not all fields in the object are html attributes | 23:46 |
@preaction | but onclick should be one | 23:46 |
@preaction | i went and refactored Submit to be a subclass of Button, apparently not realizing that Submit had more functions that Button should have | 23:46 |
ampli | Ok, but why not suppose any additional one is an html attribute? It is more flexible and I see no harm in that. | 23:46 |
@preaction | short answer is because the definition won't let us | 23:47 |
@preaction | though a workaround for that could be an attributes hash in the definition | 23:48 |
ampli | I am not deep enough in the ode to understand why.... I can look at how to fix that. | 23:49 |
@preaction | in all honested, WebGUI::Form::Control objects try to combine html inputs with database columns, and it doesn't work out well for either | 23:49 |
@preaction | for now, it'd probably be best to just add onclick= to the toHtml function of Button | 23:50 |
@preaction | WebGUI::Form::Control->definition is where the basic attributes are | 23:50 |
ampli | Another question is the page url to go to. Is it fine just to use the containg form action as the url? Is it alwys equal to history(-1)? | 23:50 |
@preaction | no, it's not always the same as history.go(-1), which is the problem. right now history.go(-1) will work, but a better solution will need to be worked out later | 23:51 |
@preaction | possibly something with returnUrl | 23:51 |
--- Day changed Sat Jul 16 2011 | ||
-!- Radix-wrk [quasselcor@203.161.71.161.static.amnet.net.au] has joined #webgui | 00:00 | |
-!- mode/#webgui [+v Radix-wrk] by ChanServ | 00:00 | |
-!- Netsplit *.net <-> *.split quits: +Radix_ | 00:07 | |
Tunnelblick | hm cool seems to almost work now :D | 00:39 |
@scrottie | heh, remarkable! | 00:39 |
Tunnelblick | well it will be remarkle as soon as I can login | 00:40 |
@preaction | did you run through the site starter wizard? | 00:40 |
Tunnelblick | in the ready installed webgui :D | 00:40 |
Tunnelblick | atm I'm doin wg-testEnvironment | 00:40 |
Tunnelblick | hm it works thanks alot :D | 01:05 |
@scrottie | cheers! | 01:05 |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Quit: Leaving.] | 01:06 | |
CIA-82 | webgui: Doug Bell master * r39f026f / (6 files in 4 dirs): | 01:31 |
CIA-82 | webgui: Merge pull request #18 from ampli/datatable | 01:31 |
CIA-82 | webgui: DataTable changes and additions - http://bit.ly/ofnb1D | 01:31 |
-!- sbaur [~Adium@130.157.145.37] has left #webgui [] | 01:39 | |
-!- sbaur [~Adium@130.157.145.37] has joined #webgui | 01:39 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Read error: Connection reset by peer] | 02:20 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui | 02:33 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Client Quit] | 02:35 | |
-!- sbaur [~Adium@130.157.145.37] has quit [Quit: Leaving.] | 02:35 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui | 02:35 | |
-!- waxhead_ [~pete@ppp121-45-221-196.lns20.cbr1.internode.on.net] has quit [Quit: Ex-Chat] | 03:01 | |
-!- knowmad [~knowmad@99-112-245-79.lightspeed.chrlnc.sbcglobal.net] has joined #webgui | 04:05 | |
-!- Tunnelblick [~knoppix@koln-5d81c6a2.pool.mediaWays.net] has quit [Ping timeout: 255 seconds] | 04:06 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Read error: Connection reset by peer] | 04:19 | |
-!- Tunnelblick [~knoppix@koln-4d0d1ab8.pool.mediaWays.net] has joined #webgui | 04:21 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui | 04:27 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 04:34 | |
@scrottie | knowmad, re: Apache spamming the log with auth failure messages, yup, I see that too. I thought HTTP-Auth used headers for username/password, not CGI params. | 04:52 |
knowmad | hey scrottie, it seems like the authen() sub is rewriting cookies and headers | 04:53 |
@scrottie | hrm. I do and don't wonder what ever for. | 04:53 |
knowmad | which is causing all kinds of havoc with apache using basic auth; it seems to me that webgui is using basic auth headers as an integral part of its authentication | 04:54 |
knowmad | i didn't realize the extent until enabling basic auth to prevent access to our staging server | 04:54 |
@scrottie | hrm, similar situation, but everything seems to *work*, except I have to grep -v 'need AuthType' on the modperl.error.log to get rid of the noise. | 04:55 |
@scrottie | not that that's any defense of this. | 04:55 |
@scrottie | are you seeing any havok beyond just the noise? | 04:55 |
knowmad | the recent releases do fix the AuthType warnings due to a patch I submitted; however, the problem we're seeing is where webgui is presenting a basic auth login to the user | 04:57 |
knowmad | i don't think this should ever happen | 04:57 |
knowmad | and it's confusing to my users who try to enter the apache auth credentials | 04:57 |
knowmad | which fail; but even entering the webgui credentials fail -- i've reported this problem here --> http://www.webgui.org/use/bugs/tracker/12198 | 04:59 |
@scrottie | thanks for bringing that to my attention. I don't usually follow WebGUI 7 bugs very closely beyond the git commits announced to the channel by the bot. | 05:00 |
knowmad | i'm glad someone else is interested in tracking down the issue | 05:01 |
knowmad | it seems like there's a logic bug somewhere in authen but i'd need to spend a lot more time to understand the concepts as authen() is called by handler() which is called for every request to webgui; don't want to go mucking that up! | 05:02 |
@scrottie | I keep fleeing the fires of mod_perl heck only to be dragged back in =P | 05:04 |
knowmad | I did comment out lines 145-148 in WebGUI.pm but that still doesn't completely resolve the issues | 05:04 |
@scrottie | yeah, mucking around in there will probably require writing some more tests first. | 05:04 |
knowmad | lol -- can't blame you for that but apache is pretty pervasive | 05:04 |
knowmad | FWIW, i just completed compiling wre on mac os x x86_64! woot! | 05:05 |
@scrottie | nice! | 05:05 |
knowmad | i'll be writing up the workarounds i had to go through to get everything to compile | 05:05 |
@scrottie | beautiful. | 05:05 |
knowmad | surprisingly imagemagick was not a source of pain | 05:05 |
@scrottie | heh | 05:06 |
knowmad | follow-up with me on the bug if you start digging into it; even though it's apache, i think there's some good to the exercise of figuring out why webgui is behaving this way | 05:07 |
knowmad | we'll always have the need to lock down a server from external access during development | 05:08 |
@scrottie | I have one little mission I'm on right now, and then one other thing on my plate, but after that, if this is still pending, I'll dig into it, unless something catches on fire. not especially helpful, I know. | 05:08 |
@scrottie | perlDreamer will likely beat me to the punch. | 05:08 |
knowmad | it's a bit surprising that webgui is mucking around with my cookies and headers (I'm convinced that's happening as we're using cookie info to control display settings which changes when we login) | 05:09 |
knowmad | yeah, priorities take precedence | 05:09 |
knowmad | thanks for the chat | 05:09 |
@scrottie | erm, yeah. not too surprising. there's some strange "legacy" stuff lurking around some of the dark corners. that's always how it goes. people are reluctant to go ripping stuff out for fear of breaking stuff that depends on the brokenness. | 05:09 |
@scrottie | sure, pleasure. | 05:10 |
knowmad | the joy of legacy apps | 05:10 |
@scrottie | heh | 05:10 |
-!- waxhead [~pete@ppp121-45-221-196.lns20.cbr1.internode.on.net] has joined #webgui | 06:23 | |
advancedalarmtec | Tunnelblick, I have spent a lot of time with ubuntu and webgui if I can help you with anything I will. | 06:27 |
-!- kaare__ [~kaare@79.138.167.112.bredband.oister.dk] has joined #webgui | 07:30 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Quit: Leaving.] | 09:11 | |
-!- waxhead_ [~pete@ppp121-45-221-196.lns20.cbr1.internode.on.net] has joined #webgui | 11:00 | |
-!- waxhead [~pete@ppp121-45-221-196.lns20.cbr1.internode.on.net] has quit [Ping timeout: 255 seconds] | 11:01 | |
Tunnelblick | hm well it works fine now thanks to this channel | 11:39 |
-!- vayde [~vayde@67-4-224-86.mpls.qwest.net] has quit [Ping timeout: 260 seconds] | 11:48 | |
-!- vayde [~vayde@184-100-72-115.mpls.qwest.net] has joined #webgui | 12:01 | |
-!- vayde [~vayde@184-100-72-115.mpls.qwest.net] has quit [Ping timeout: 258 seconds] | 13:16 | |
-!- vayde [~vayde@67-4-150-241.mpls.qwest.net] has joined #webgui | 13:29 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 15:14 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Quit: Leaving.] | 16:14 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 16:15 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Quit: Leaving.] | 18:39 | |
-!- knowmad [~knowmad@99-112-245-79.lightspeed.chrlnc.sbcglobal.net] has left #webgui [] | 18:41 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Read error: Connection reset by peer] | 19:00 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui | 19:05 | |
-!- mducharme1 [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui | 19:42 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Ping timeout: 240 seconds] | 19:44 | |
-!- Tunnelblick [~knoppix@koln-4d0d1ab8.pool.mediaWays.net] has quit [Remote host closed the connection] | 21:07 | |
-!- mducharme1 [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Read error: Connection reset by peer] | 21:24 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui | 21:30 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 21:51 | |
-!- kaare__ [~kaare@79.138.167.112.bredband.oister.dk] has quit [Ping timeout: 264 seconds] | 23:18 | |
--- Day changed Sun Jul 17 2011 | ||
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Read error: Connection reset by peer] | 00:02 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui | 00:07 | |
-!- ampli [c0722a05@gateway/web/freenode/ip.192.114.42.5] has quit [Quit: Page closed] | 02:58 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Quit: Leaving.] | 04:08 | |
-!- kaare__ [~kaare@94.191.192.228.bredband.3.dk] has joined #webgui | 08:18 | |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui | 08:39 | |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Quit: Leaving.] | 10:04 | |
-!- kaare__ [~kaare@94.191.192.228.bredband.3.dk] has quit [Ping timeout: 252 seconds] | 10:54 | |
-!- kaare__ [~kaare@94.191.188.67.bredband.3.dk] has joined #webgui | 11:34 | |
-!- Radix_ [quasselcor@203.161.71.161.static.amnet.net.au] has joined #webgui | 12:34 | |
-!- mode/#webgui [+v Radix_] by ChanServ | 12:34 | |
-!- Radix-wrk [quasselcor@203.161.71.161.static.amnet.net.au] has quit [Read error: Connection reset by peer] | 12:34 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 14:36 | |
-!- Radix_ [quasselcor@203.161.71.161.static.amnet.net.au] has quit [Quit: No Ping reply in 180 seconds.] | 14:48 | |
-!- Radix-wrk [quasselcor@203.161.71.161.static.amnet.net.au] has joined #webgui | 14:56 | |
-!- mode/#webgui [+v Radix-wrk] by ChanServ | 14:56 | |
-!- Radix-wrk [quasselcor@203.161.71.161.static.amnet.net.au] has quit [Read error: Operation timed out] | 15:24 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Quit: Ex-Chat] | 15:33 | |
-!- Radix-wrk [quasselcor@203.161.71.161.static.amnet.net.au] has joined #webgui | 15:34 | |
-!- mode/#webgui [+v Radix-wrk] by ChanServ | 15:34 | |
-!- carogray1 [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 15:59 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Ping timeout: 255 seconds] | 16:03 | |
-!- carogray1 [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Quit: Leaving.] | 17:33 | |
-!- ampli [c0722a05@gateway/web/freenode/ip.192.114.42.5] has joined #webgui | 20:20 | |
-!- kaare__ [~kaare@94.191.188.67.bredband.3.dk] has quit [Ping timeout: 276 seconds] | 23:30 | |
--- Day changed Mon Jul 18 2011 | ||
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 02:21 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Quit: Leaving.] | 04:32 | |
-!- perlbot [simcop2387@isuckatdomains.net] has quit [Remote host closed the connection] | 04:57 | |
-!- perlbot [simcop2387@isuckatdomains.net] has joined #webgui | 04:58 | |
-!- kaare__ [~kaare@95.209.219.201] has joined #webgui | 06:49 | |
-!- waxhead_ is now known as waxhead | 10:13 | |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui | 10:18 | |
-!- mode/#webgui [+v BartJol] by ChanServ | 10:18 | |
-!- kaare__ [~kaare@95.209.219.201] has quit [Ping timeout: 260 seconds] | 10:47 | |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has quit [Remote host closed the connection] | 10:59 | |
-!- carogray [~Caroline@173.156.168.210] has joined #webgui | 12:49 | |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui | 12:56 | |
-!- mode/#webgui [+v BartJol] by ChanServ | 12:56 | |
-!- carogray1 [~Caroline@174-147-13-153.pools.spcsdns.net] has joined #webgui | 14:24 | |
-!- carogray [~Caroline@173.156.168.210] has quit [Ping timeout: 264 seconds] | 14:26 | |
-!- carogray1 [~Caroline@174-147-13-153.pools.spcsdns.net] has quit [Quit: Leaving.] | 14:40 | |
-!- kaare__ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui | 14:52 | |
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has joined #webgui | 14:55 | |
SDuensin | Morning all. | 16:48 |
ckotil | Good Morning | 17:44 |
-!- sbaur [~Adium@130.157.145.37] has joined #webgui | 18:01 | |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has quit [Quit: Leaving.] | 18:55 | |
-!- fokat [~lem@2001:4f8:3:6e:217:f2ff:fe4c:bfd] has joined #webgui | 21:34 | |
ampli | Hello. I checked the problems in wg8 with the save/cancel buttons and I think I can suggest a fix.However, I first need to know the exact specifications - to which page they should return. | 21:51 |
ckotil | and I am unable to get to an edit page or admin screen in my fresh install from the Wg8 branch. | 22:18 |
@preaction | ampli: i believe it should be "the page the user came from". in the case of an asset edit screen, then, the asset | 22:19 |
@preaction | but in the asset edit screen, you can get to another asset edit screen (for the template), when you're done editing the template and are back on the asset edit screen, cancel should take you back to the asset again. <- that's the case that was causing problems | 22:20 |
@preaction | ckotil: did the upgrade complete fully? is there a WebGUI::Operation::Admin in your config? do you go to /?op=admin | 22:26 |
ckotil | WebGUI::Operation::Admin is not in the config | 22:32 |
@preaction | oh, WebGUI::Content::Admin, sorry | 22:32 |
ckotil | yes , there is. | 22:33 |
-!- fokat [~lem@2001:4f8:3:6e:217:f2ff:fe4c:bfd] has quit [Quit: Ex-Chat] | 22:35 | |
ampli | The problem of the cancel button making a save operation can be fixed by checking for the "cancel" form variable in www_addSave() and www_editSave(). This still sends the form to the server (which may include much data) but I think it may be still fine. | 22:39 |
@preaction | but that will include file uploads, no? | 22:40 |
ampli | Can it be done this way, or should it be done using an action with javascript on a non-submit "cancel" button? | 22:41 |
ampli | This includes file upload, but they save routines just disregard it, and immediately make proceed(). whih effectively cancels any saving. | 22:43 |
ampli | "they save" = "the save" ... | 22:43 |
@preaction | i like the idea of proceed() being run, but maybe the form should reset() using javascript if the cancel button is hit? would that prevent the file upload? | 22:48 |
@preaction | i just don't want cancel to take 5 minutes waiting for a file upload | 22:48 |
ampli | I will check how to prevent file upload on cancel. | 22:53 |
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has quit [Read error: Connection reset by peer] | 22:54 | |
@preaction | i honestly think the easier option is just to use javascript to make the user go back a page | 22:55 |
ampli | It looks to me as the only way to make it correctly. Using proceed() to return to the asset edit (from another asset edit) is going to discard changes in the asset you return to (unless mush effort is done to preserve all of its variables), a thing that the user will not expact. | 23:00 |
@preaction | ok | 23:00 |
ckotil | preaction: am I not upgraded since I have WebGUI::Content::Admin in the config? | 23:04 |
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has joined #webgui | 23:05 | |
@preaction | ckotil: no, WebGUI::Content::Admin must be in there for ?op=admin to work | 23:05 |
ckotil | k | 23:06 |
ampli | If so, to sum up: URLs of editing assets should not include any more proceed= and returnUrl=, and instead "cancel" should be a regular button with action=history.go(-1). Is this correct? | 23:06 |
@preaction | no, proceed= and returnURL= serve different purposes than cancel, so they should remain | 23:07 |
@preaction | but cancel should be history.go(-1) is correct | 23:07 |
ampli | What should happen on save, should it go to the exat same place as cancel? | 23:07 |
ampli | exat=exact... | 23:08 |
@preaction | no, save should do exactly what it is doing now, handling proceed=, otherwise going to the asset or its container | 23:09 |
ampli | So in editing an asset while editing another asset, save should return to the site's page, while cancel should return to the previous page (of editing the first asset)? | 23:13 |
@preaction | when editing an asset from editing another asset, proceed= and returnUrl= both get set | 23:13 |
ampli | It looks they are set to return to the site's page (if I start editing from a site page). I.e saving a second levvel asset-edit will return to the site age and not the first-level asset-edit. Is this the intention? | 23:15 |
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has quit [Read error: Connection reset by peer] | 23:15 | |
@preaction | no, but that's not as important to fix | 23:15 |
ampli | I could fix both if I knew the exact specification to where save should go, and how this is different than where cancel should go (cancel should always to history.go(-1) as we discussed). | 23:17 |
@preaction | in the Edit button next to a template field, proceed= and returnUrl= should be set. this should be part of WebGUI::Form::Template | 23:19 |
ampli | This is indeed what happens now. What I didn't understand is where the save of an edit-asset from another edit-asset should go. | 23:21 |
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has joined #webgui | 23:22 | |
@preaction | but that's it, if you get to another edit-asset screen, you came from a button from the first edit-asset screen. if you just typed in the URL, then we don't know where to go | 23:24 |
ampli | So should save (after of course making a save operation) return to the previous screen,, the same screen cancel would return to? | 23:26 |
ampli | Currently returnUrl is not always set to a URL that enables proceed() will return to the previous screen. I can be more specific about that. | 23:41 |
@preaction | i think returnUrl by itself just works | 23:41 |
@preaction | save/proceed should work just fine as-is | 23:41 |
ampli | I think it doesn't work as intended, with two different problems. | 23:43 |
--- Day changed Tue Jul 19 2011 | ||
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has quit [Quit: Leaving.] | 00:12 | |
-!- fokat [~lem@2001:4f8:3:6e:217:f2ff:fe4c:bfd] has joined #webgui | 00:18 | |
-!- kaare__ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Ping timeout: 276 seconds] | 00:20 | |
-!- carogray [~Caroline@184.243.196.176] has joined #webgui | 00:27 | |
-!- SquOnk [~emhn@186.93.207.12] has joined #webgui | 00:44 | |
SquOnk | Greetings. | 00:44 |
* sbaur waves at SquOnk | 00:44 | |
-!- carogray [~Caroline@184.243.196.176] has quit [Read error: Connection reset by peer] | 01:20 | |
-!- SquOnk [~emhn@186.93.207.12] has quit [Quit: Yippie kay-ai-yay, fudder muckers!] | 01:59 | |
-!- sbaur [~Adium@130.157.145.37] has quit [Quit: Leaving.] | 02:29 | |
-!- Netsplit *.net <-> *.split quits: ckotil | 02:37 | |
-!- Netsplit over, joins: ckotil | 02:43 | |
-!- fokat [~lem@2001:4f8:3:6e:217:f2ff:fe4c:bfd] has quit [Ping timeout: 260 seconds] | 04:19 | |
-!- jjm [~jjm@69.150.79.92] has joined #webgui | 06:18 | |
-!- jjm is now known as jimX11 | 06:18 | |
-!- jimX11 [~jjm@69.150.79.92] has quit [Quit: Leaving] | 06:23 | |
CIA-82 | webgui: Colin Kuskie webgui-7.9 * r5615d26 / (3 files in 3 dirs): Handle the case when the defaultValue is in mysql format for the Thingy, but we have to save in epoch. Fix a timezone offset issue. Fixes bug #12197 - http://bit.ly/qyi3fv | 06:33 |
-!- mducharme1 [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui | 07:23 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Ping timeout: 240 seconds] | 07:25 | |
CIA-82 | webgui: Colin Kuskie master * r2ce2d76 / (3 files in 3 dirs): Handle the case when the defaultValue is in mysql format for the Thingy, but we have to save in epoch. Fix a timezone offset issue. Fixes bug #12197 - http://bit.ly/nAiqLG | 07:27 |
CIA-82 | webgui: Colin Kuskie webgui-7.9 * rbca7bff / docs/create.sql : Ready for 7.9.33 release - http://bit.ly/n21X2X | 07:32 |
CIA-82 | webgui: Colin Kuskie webgui-7.9 * rf8d6c64 / (4 files in 4 dirs): Ready for 7.9.34 development - http://bit.ly/n8buVE | 07:51 |
-!- daviddelikat [~user@adsl-76-204-89-252.dsl.mdsnwi.sbcglobal.net] has quit [Ping timeout: 250 seconds] | 09:05 | |
-!- fokat [~lem@70-90-173-49-California.hfc.comcastbusiness.net] has joined #webgui | 09:11 | |
-!- daviddelikat [~user@75.42.232.39] has joined #webgui | 09:12 | |
-!- Radix-wrk changed the topic of #webgui to: [7.9.33-stable | 7.10.20-beta | WRE 0.9.3] Before you ask, check the wiki: http://wiki.webgui.org | Pastebin: http://webgui.pastebin.com | 09:13 | |
-!- fokat [~lem@70-90-173-49-California.hfc.comcastbusiness.net] has quit [Ping timeout: 276 seconds] | 09:21 | |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui | 10:10 | |
-!- mode/#webgui [+v BartJol] by ChanServ | 10:10 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 14:03 | |
-!- waxhead [~pete@ppp121-45-221-196.lns20.cbr1.internode.on.net] has quit [Quit: Ex-Chat] | 14:14 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Read error: Connection reset by peer] | 15:16 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 15:24 | |
-!- carogray1 [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 16:12 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Ping timeout: 255 seconds] | 16:14 | |
SDuensin | Greetings. | 16:44 |
+BartJol | howdy | 16:50 |
SDuensin | Hey BartJol | 17:08 |
+BartJol | I'm alive | 17:08 |
SDuensin | Me too! Again! New job has me not hating life every morning. | 17:09 |
-!- sbaur [~Adium@130.157.145.37] has joined #webgui | 17:57 | |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has quit [Quit: Leaving.] | 18:44 | |
-!- kaare__ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui | 18:51 | |
@scrottie | bad jobs for lyfe! | 19:07 |
-!- vayde [~vayde@67-4-150-241.mpls.qwest.net] has quit [Ping timeout: 276 seconds] | 19:12 | |
-!- vayde [~vayde@184-100-68-187.mpls.qwest.net] has joined #webgui | 19:23 | |
-!- fokat [~lem@2001:4f8:3:6e:217:f2ff:fe4c:bfd] has joined #webgui | 20:16 | |
-!- zylopfa [~zylopfa@0x555116f0.adsl.cybercity.dk] has joined #webgui | 20:29 | |
zylopfa | Hello webguians. anyone know when the i18n will be updated on the site? I committed some changes to danish a week ago but the download there is still the old one | 20:29 |
-!- lem_ [~lem@2001:4f8:3:6e:217:f2ff:fe4c:bfd] has joined #webgui | 20:39 | |
-!- lem_ is now known as Guest46823 | 20:39 | |
-!- fokat [~lem@2001:4f8:3:6e:217:f2ff:fe4c:bfd] has quit [Read error: No route to host] | 20:39 | |
-!- Guest46823 [~lem@2001:4f8:3:6e:217:f2ff:fe4c:bfd] has quit [Ping timeout: 260 seconds] | 23:26 | |
--- Day changed Wed Jul 20 2011 | ||
-!- kaare__ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Ping timeout: 252 seconds] | 00:17 | |
-!- Guest46823 [~lem@2001:4f8:3:6e:217:f2ff:fe4c:bfd] has joined #webgui | 00:22 | |
CIA-82 | webgui: Paul Driver master * ra4ee31f / (lib/WebGUI/Asset.pm t/Asset/editFormOverride.t): Re-fixed #11379, with tests this time. - http://bit.ly/rrPo2p | 00:44 |
CIA-82 | webgui: Paul Driver webgui-7.9 * r60e71fd / (lib/WebGUI/Asset.pm t/Asset/editFormOverride.t): Re-fixed #11379, with tests this time. - http://bit.ly/o2rJMi | 00:47 |
-!- zylopfa [~zylopfa@0x555116f0.adsl.cybercity.dk] has quit [Remote host closed the connection] | 01:23 | |
-!- sbaur [~Adium@130.157.145.37] has quit [Quit: Leaving.] | 02:30 | |
-!- carogray1 [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Read error: Connection reset by peer] | 06:47 | |
-!- Guest46823 [~lem@2001:4f8:3:6e:217:f2ff:fe4c:bfd] has quit [Ping timeout: 260 seconds] | 07:14 | |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui | 10:29 | |
-!- mode/#webgui [+v BartJol] by ChanServ | 10:29 | |
-!- Tunnelblick [~knoppix@koln-4db44821.pool.mediaWays.net] has joined #webgui | 10:45 | |
-!- Tunnelblick [~knoppix@koln-4db44821.pool.mediaWays.net] has left #webgui [] | 10:45 | |
-!- waxhead [~pete@ppp121-45-221-196.lns20.cbr1.internode.on.net] has joined #webgui | 13:27 | |
-!- zylopfa [~zylopfa@0x555116f0.adsl.cybercity.dk] has joined #webgui | 13:29 | |
-!- waxhead [~pete@ppp121-45-221-196.lns20.cbr1.internode.on.net] has quit [Quit: Ex-Chat] | 13:50 | |
-!- Tunnelblick [~knoppix@koln-4db44821.pool.mediaWays.net] has joined #webgui | 13:51 | |
-!- Tunnelblick [~knoppix@koln-4db44821.pool.mediaWays.net] has quit [Remote host closed the connection] | 14:06 | |
-!- kaare__ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui | 14:32 | |
-!- carogray [~Caroline@173-118-48-226.pools.spcsdns.net] has joined #webgui | 14:58 | |
-!- carogray1 [~Caroline@184.242.33.140] has joined #webgui | 15:34 | |
-!- carogray [~Caroline@173-118-48-226.pools.spcsdns.net] has quit [Ping timeout: 250 seconds] | 15:36 | |
ckotil | http://techblog.netflix.com/2011/07/netflix-simian-army.html | 15:56 |
zylopfa | Haa sounds good, fun to see how it can be done | 16:07 |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has left #webgui [] | 16:12 | |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui | 16:12 | |
-!- mode/#webgui [+v BartJol] by ChanServ | 16:12 | |
zylopfa | Does anyone know why Shelf.pm doesn't show Shortcuts to Products | 16:14 |
zylopfa | Would be good to have that feature so you can forexample make a Special-Offers shelf with shortcuts to products which is on special offer | 16:14 |
+BartJol | nope, I haven't got a clue | 16:15 |
+BartJol | it can be that in the content loop the shelf only looks for products | 16:15 |
zylopfa | Ok fair enough, i'd like to make it so it use shortcuts also | 16:16 |
zylopfa | else products would need to be created in 2 shelfs | 16:16 |
+BartJol | but that is checked easily enough in the code | 16:16 |
zylopfa | its not so hard to make it so it also take shortcuts | 16:16 |
zylopfa | yeah i am on it already | 16:16 |
+BartJol | that would be horrible | 16:16 |
zylopfa | it search for Shu's | 16:16 |
zylopfa | why horrible? | 16:16 |
+BartJol | well, if it has a limited stock | 16:17 |
+BartJol | it just does not work | 16:17 |
zylopfa | well if you have an item on offer | 16:17 |
+BartJol | then you have to split | 16:17 |
zylopfa | so i have it in a shelf called: "Paper Goods" | 16:17 |
zylopfa | and in the "Special Offer" section? | 16:17 |
zylopfa | as 2 sku? | 16:17 |
+BartJol | I mean, if you can't use shortcuts, it is horrible | 16:17 |
zylopfa | ahh yeah true that | 16:18 |
zylopfa | thats what i wanna fix | 16:18 |
+BartJol | :) | 16:18 |
+BartJol | communication error :) | 16:18 |
zylopfa | Making an RFE now and submitting the code | 16:18 |
zylopfa | yeah you said it would be horrible the thing i wanna fix and i thought you ment the fix was horrible | 16:18 |
+BartJol | does the shelf really only check for products and sub-shelfs? strange | 16:19 |
zylopfa | yeah | 16:19 |
+BartJol | I might even call that a bug instead of a rfe | 16:19 |
zylopfa | haa yeah true | 16:19 |
+BartJol | I have made a macro for such stuff | 16:19 |
zylopfa | Ahh sweett | 16:19 |
zylopfa | I'd like it to be standard to check shortcuts, right on it now | 16:20 |
+BartJol | wanna have that macro? | 16:23 |
zylopfa | yeah sure thing would be nice to see it | 16:23 |
+BartJol | http://www.webgui.org/addons/specials | 16:28 |
zylopfa | Nice one, thanks a lot :D | 16:29 |
+BartJol | it is some time ago, so I don't have the manual in my head anymore | 16:30 |
zylopfa | no worries ;D | 16:30 |
-!- carogray1 [~Caroline@184.242.33.140] has quit [Read error: Connection reset by peer] | 16:45 | |
SDuensin | Greetings. | 16:48 |
zylopfa | Greetings ! | 16:49 |
SDuensin | Hey zylopfa | 16:51 |
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has joined #webgui | 16:53 | |
-!- sbaur [~Adium@130.157.145.37] has joined #webgui | 18:01 | |
-!- zylopfa [~zylopfa@0x555116f0.adsl.cybercity.dk] has quit [Remote host closed the connection] | 18:25 | |
-!- Guest46823 [~lem@70-90-173-49-California.hfc.comcastbusiness.net] has joined #webgui | 19:18 | |
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has quit [Read error: Connection reset by peer] | 20:12 | |
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has joined #webgui | 20:20 | |
-!- Guest46823 [~lem@70-90-173-49-California.hfc.comcastbusiness.net] has quit [Ping timeout: 252 seconds] | 21:05 | |
-!- fokat [~lem@2001:4f8:3:6e:217:f2ff:fe4c:bfd] has joined #webgui | 21:36 | |
-!- fokat [~lem@2001:4f8:3:6e:217:f2ff:fe4c:bfd] has quit [Client Quit] | 21:36 | |
-!- ampli [c0722a05@gateway/web/freenode/ip.192.114.42.5] has quit [Ping timeout: 252 seconds] | 22:08 | |
--- Day changed Thu Jul 21 2011 | ||
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has quit [Read error: Connection reset by peer] | 00:08 | |
-!- kaare__ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Ping timeout: 255 seconds] | 00:14 | |
-!- barryrgreene [~Adium@2001:4f8:3:65:226:bbff:fe07:5b92] has joined #webgui | 01:07 | |
-!- barryrgreene [~Adium@2001:4f8:3:65:226:bbff:fe07:5b92] has quit [Quit: Leaving.] | 01:28 | |
-!- barryrgreene [~Adium@dhcp-wifi-216.sql1.isc.org] has joined #webgui | 01:29 | |
-!- vayde_ [~vayde@184-100-68-187.mpls.qwest.net] has joined #webgui | 01:51 | |
-!- Netsplit *.net <-> *.split quits: vayde | 01:54 | |
-!- barryrgreene [~Adium@dhcp-wifi-216.sql1.isc.org] has left #webgui [] | 02:01 | |
-!- sbaur [~Adium@130.157.145.37] has quit [Quit: Leaving.] | 02:45 | |
-!- Tunnelblick [~knoppix@koln-4db46131.pool.mediaWays.net] has joined #webgui | 09:23 | |
-!- Tunnelblick [~knoppix@koln-4db46131.pool.mediaWays.net] has quit [Remote host closed the connection] | 10:18 | |
-!- waxhead [~pete@ppp121-45-221-196.lns20.cbr1.internode.on.net] has joined #webgui | 11:51 | |
-!- kaare__ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui | 14:09 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 15:04 | |
-!- kaare__ is now known as kaare_ | 15:37 | |
-!- SquOnk [~emhn@186.93.207.12] has joined #webgui | 16:34 | |
SquOnk | Greetings. | 16:34 |
SquOnk | Who's awake? :-) | 16:34 |
ckotil | Good Morning | 16:41 |
SquOnk | ckotil: Morning | 16:41 |
SquOnk | ckotil: Are you familiar with Asset Reports' paginations? | 16:43 |
SquOnk | Or anyone here, for that matter :) | 16:43 |
ckotil | no, sorry. | 16:49 |
ckotil | ive only ever added a variable to the search asset's pagination function. that's the extent of my pagination knowledge | 16:50 |
SquOnk | I see. | 16:52 |
SquOnk | Well, I'll just explain the problem, maybe you can suggest things to look for. | 16:52 |
SquOnk | I have a page that has an Asset Report in it. | 16:52 |
SquOnk | The Asset Report collects several Articles and sports the pagination links. | 16:53 |
SquOnk | The thing is, when clicking on any of the pagination links one gets the Asset Report page. I'd like to get the original page, but with the Asset Report paginated. | 16:53 |
SquOnk | (I hope I made myself clear) | 16:53 |
SquOnk | Page A contains several assets, Asset Report R being one of them. | 16:54 |
SquOnk | If I click on 'Next' on R, I end up in R's page instead of A with R paged. | 16:54 |
SquOnk | ...or something like that :) | 16:54 |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Ping timeout: 252 seconds] | 17:53 | |
-!- zylopfa [~zylopfa@0x555116f0.adsl.cybercity.dk] has joined #webgui | 18:08 | |
-!- sbaur [~Adium@130.157.145.37] has joined #webgui | 18:09 | |
ckotil | dunno SquOnk. but someone who knows ought to be along soon. | 18:11 |
SquOnk | preaction: Are you there? | 18:50 |
@preaction | sup | 18:51 |
SquOnk | preaction: Hi there. Look at 12202. Annoying, but solved. | 18:51 |
@preaction | actually, i'm not sure JsonTable requires connection at all | 18:52 |
@preaction | i mean, if it's been working, it must not need it | 18:52 |
SquOnk | preaction: Well, I didn't know. That's why I ask people "in the know" :) | 18:53 |
SquOnk | 12176 is the one really bugging me anyway. | 18:54 |
zylopfa | preaction, sorry to bother you also, http://www.webgui.org/use/bugs/tracker/12200 I made this as a bug and I have solved it, just want to hear if you think its a bug or rfe | 18:58 |
@preaction | it would be more of an RFE. the shelf currently has two ways to display products: direct children, and keywords | 18:59 |
zylopfa | yeah i just thought the "shortcut" system should be integrated into all aspects | 18:59 |
zylopfa | its very intuitive to use them also in shelves | 18:59 |
@preaction | so you could have "special offer" as a keyword on both Product and Shelf and it would show up in the shelf | 18:59 |
@preaction | but yes, we will take it as an RFE in 7.10.x | 18:59 |
zylopfa | I made the change to Shelf.pm and i will make it available through github where i will make a pull request to you guys | 19:00 |
@preaction | sounds great | 19:01 |
zylopfa | It was an easy fix and its more intuitive i think, it check for children shortcuts and if they point to a sku wobject | 19:01 |
SquOnk | Now to solve the ':Apache2 IO flush: (103) Software caused connection abort at -e line 0' error | 19:02 |
zylopfa | Ohh btw I bumped into working with Joomla recently. It was sooo un-intuitive compared to webgui, so i persuaded the customer to shift to webgui | 19:04 |
zylopfa | Webgui is 10000 years ahead of webgui, even comparing those two would be meaningless realy | 19:05 |
zylopfa | lol ahead of joomla thatr was ^ | 19:06 |
ckotil | I agree | 19:44 |
zylopfa | I never looked at joomla before i had to cause of the client | 19:46 |
zylopfa | but from the days i looked into it it seems very incomplete, and most things are addons you have go get from third parties or buy | 19:47 |
SquOnk | zylopfa: "But is programmed in PHP", the good folks will cry out :) | 19:47 |
zylopfa | haa yeah which is a ripoff of perl | 19:47 |
SquOnk | zylopfa: "We can find PHP programmers a dime a dozen", usually being the next argument. | 19:47 |
zylopfa | lol yeah | 19:47 |
zylopfa | Do you guys know why you dont get karma from solving bugs btw? Seems only given out for rfes? | 19:49 |
zylopfa | Guys i have a github question, when i have previously made a fork of webgui/plainblack and changed it. when i checkout my fork again from github will it contain the changes from the parent also? or just the changes i made in my own fork? | 20:06 |
@scrottie | only the changes you made in your fork, but you can get the changes from the repo you forked from in | 20:17 |
@scrottie | as far as I know, on a brach by branch basis | 20:17 |
@scrottie | there are a few ways to do that | 20:17 |
zylopfa | how do i do it scrottie, will i have to make a new fork? | 20:17 |
@scrottie | nope, but that's one option | 20:17 |
zylopfa | I just wanna work with my fork but have all changes from the main repo also included | 20:17 |
zylopfa | but i dont seem to be able to find anything about that | 20:18 |
@scrottie | you can: pull git@github.com/plainblack/WebGUI --rebase <whatever branch> (while you have <whatever branch> currently checked out) | 20:18 |
@scrottie | eg, checkout WebGUI8; git pull pull git@github.com/plainblack/WebGUI --rebase WebGUI8 | 20:18 |
zylopfa | you are pro! thanks a lot | 20:18 |
zylopfa | git clone git@github.com:zylopfa/webgui.git | 20:18 |
@scrottie | no, I'm only intermediate with git. try it before you thank you. | 20:18 |
zylopfa | That one i did just now to check out my fork | 20:19 |
@scrottie | you might want to read about what rebase does. | 20:19 |
@scrottie | it's probably better to make a fork... | 20:19 |
zylopfa | yeah i wont be working on webguyi 8 though | 20:19 |
zylopfa | still the 7 branch | 20:19 |
zylopfa | haa true scrottie | 20:19 |
@scrottie | that's fine. you can do that with any branch. it's just an example. | 20:19 |
zylopfa | sweet | 20:19 |
zylopfa | I need to ask you | 20:19 |
zylopfa | http://www.webgui.org/rfe/request-for-enhancement/9668 | 20:20 |
@scrottie | you can also do this: git checkout temp; git pull pull git@github.com/plainblack/WebGUI master:temp; git checkout master; git merge temp | 20:20 |
zylopfa | Is an old bug | 20:20 |
zylopfa | I mean RFE and the guy who said he would finish it in 1 week havent been back | 20:20 |
@scrottie | er, s/pull pull/ | 20:20 |
zylopfa | so i was gonna do it myself | 20:20 |
zylopfa | thanks a lot scrottie | 20:21 |
@scrottie | er, actually (sorry), you'd want to merge your changes onto the plainblack WebGUI master | 20:21 |
zylopfa | ahh yeah | 20:21 |
@scrottie | well, that depends I guess. that would be if you wanted your branch to look like plainblack's after plainblack pulled your diff. | 20:22 |
zylopfa | true about that | 20:22 |
zylopfa | so what do you think about http://www.webgui.org/rfe/request-for-enhancement/9668 | 20:22 |
zylopfa | Should i finish it? Prettu sure i can finish it in an hour | 20:22 |
zylopfa | and its been there since 2009 | 20:22 |
@scrottie | heh | 20:22 |
@scrottie | seems like a reasonable nice-to-have feature. | 20:23 |
zylopfa | Its a simple new addition to the $var hash for the view methods | 20:23 |
@scrottie | seems like something hard to argue against. | 20:23 |
zylopfa | i dont know why it has taken 2 years | 20:23 |
@scrottie | oh, because people have been doing other things =) | 20:23 |
zylopfa | Its also been aproved by JT | 20:23 |
@scrottie | yeah, I saw that. | 20:23 |
zylopfa | yeah ofc no arguing with that | 20:23 |
zylopfa | thats why i wanna help | 20:24 |
@preaction | yes, go ahead | 20:24 |
@scrottie | if you send up a patch, I'll apply it. a simple test would be good but I could help with that. and I can help with git. | 20:24 |
zylopfa | I need to lear about testing | 20:24 |
@scrottie | there are lots of examples. | 20:24 |
zylopfa | yeah i will take on them also | 20:24 |
zylopfa | I am realy excited abuot webgui 8 | 20:25 |
@scrottie | just making sure the extension is correct in a couple of test cases should be adequate. | 20:25 |
zylopfa | And i must say the progress is sick fast | 20:25 |
@scrottie | preaction is kicking some serious butt. | 20:25 |
zylopfa | yeah its insane | 20:25 |
zylopfa | Best thing perl i ever come by is webgui and i love perl | 20:25 |
zylopfa | guys it seems i cant make a new fork from webgui/plainblack/master i bet i need to checkout my fork anyway? and change that, but does it contain the new code in the master branch also? | 20:33 |
@preaction | zylopfa: your personal instance (not your fork on github) needs to have an "upstream" remote with plainblack's webgui. then you can pull from plainblack's webgui, and push to yours to merge the changes | 20:34 |
zylopfa | i thought it might be something with "git rebase" ? | 20:36 |
zylopfa | that i need to use it on my local clone of my fork to update it with the upstream | 20:36 |
@preaction | yes, you rebase from plainblack's repository | 20:36 |
@preaction | yes | 20:36 |
zylopfa | sick thansk | 20:36 |
zylopfa | sorry for these noob questions | 20:36 |
zylopfa | I apreciate your help thanks a lot | 20:37 |
zylopfa | guys do you know which wobject he refers to in his rfe: http://www.webgui.org/rfe/request-for-enhancement/9668 | 21:00 |
zylopfa | when he speaks of the attachment loop? | 21:01 |
@preaction | probably the collaboration | 21:01 |
zylopfa | I would think he means the asset wobject but it could be any wobject which lists files or filenames | 21:01 |
@preaction | but maybe also the Article | 21:01 |
zylopfa | I will try to find all assets that work with displaying files then | 21:01 |
-!- fokat [~lem@2001:4f8:3:6e:217:f2ff:fe4c:bfd] has joined #webgui | 21:03 | |
-!- fokat [~lem@2001:4f8:3:6e:217:f2ff:fe4c:bfd] has quit [Ping timeout: 260 seconds] | 21:23 | |
-!- fokat [~lem@2001:4f8:3:65:217:f2ff:fe4c:bfd] has joined #webgui | 21:35 | |
-!- mducharme-laptop [~MDucharme@206.188.121.4] has joined #webgui | 22:00 | |
-!- SquOnk [~emhn@186.93.207.12] has quit [Quit: Yippie kay-ai-yay, fudder muckers!] | 22:15 | |
-!- lem_ [~lem@2001:4f8:3:6e:217:f2ff:fe4c:bfd] has joined #webgui | 22:22 | |
-!- lem_ is now known as Guest25319 | 22:22 | |
-!- fokat [~lem@2001:4f8:3:65:217:f2ff:fe4c:bfd] has quit [Ping timeout: 260 seconds] | 22:23 | |
-!- kaare_ [~kaare@95.209.216.153] has joined #webgui | 22:24 | |
zylopfa | preaction, I have made the RFE and submitted a pull request to pb. changed the following assets: Article,Post,Event,File,Form::Attachments | 22:47 |
-!- SynQ [~koen@f70096.upc-f.chello.nl] has joined #webgui | 23:12 | |
-!- mode/#webgui [+v SynQ] by ChanServ | 23:12 | |
+SynQ | good day | 23:12 |
+SynQ | anyone here with the right to close RFE's? | 23:12 |
+SynQ | please do so on my request | 23:13 |
+SynQ | there are some RFE's I submitted years ago | 23:13 |
+SynQ | and I don't need them anymore | 23:13 |
zylopfa | I have not got the power, but i am curious which rfe# is it ? | 23:17 |
+SynQ | take a look at the recently modified RFE's and you'll see | 23:18 |
+SynQ | there is a lot of old stuff that I submitted that is just not relevant any longer | 23:18 |
-!- kaare_ [~kaare@95.209.216.153] has quit [Ping timeout: 240 seconds] | 23:18 | |
+SynQ | at least to me it isn't | 23:18 |
+SynQ | and it's cluttering my 'my tickets' view | 23:18 |
zylopfa | haa yeah | 23:18 |
zylopfa | I just solved one of the old ones | 23:18 |
+SynQ | wow, thanks | 23:20 |
+SynQ | please go on :) | 23:20 |
zylopfa | but you are right there are many from old times which havent been solved | 23:21 |
zylopfa | but thats where I come in ;) | 23:21 |
+SynQ | ah | 23:21 |
+SynQ | well | 23:21 |
zylopfa | unless ofc they arent relevant now | 23:21 |
+SynQ | please focus on the 'programming' and skip all the webgui.org requests | 23:22 |
zylopfa | yeah true, I cant do the webgui ones anyway though as i am not staff there | 23:22 |
+SynQ | this would be really nice: http://www.webgui.org/rfe/request-for-enhancement/expire-password-now-button-in-the-user-manager | 23:22 |
+SynQ | fairly easy to implement | 23:22 |
zylopfa | ahh good idea let me check | 23:22 |
zylopfa | sounds like a very resonable thing, and i see its been aproved, I will get on it asap | 23:27 |
+SynQ | great | 23:29 |
+SynQ | :) | 23:29 |
zylopfa | seems like someone made a patch for it and it hasnt been continued cause the link was not in the right place | 23:30 |
zylopfa | will check it out | 23:30 |
--- Day changed Fri Jul 22 2011 | ||
zylopfa | preaction, I have rebased the changelog file and commited my local and repushed it | 00:14 |
@preaction | k, i'll check | 00:15 |
zylopfa | gonna make myself a git manual for all this so i can do it fast | 00:17 |
-!- waxhead [~pete@ppp121-45-221-196.lns20.cbr1.internode.on.net] has quit [Quit: Ex-Chat] | 00:49 | |
zylopfa | preaction, I am trying to become a webgui partner also | 01:32 |
@preaction | that sounds like something that would be Jamie or Tavis's perogative | 01:33 |
zylopfa | I might have been invited to the partner program some time i have access to the partner forum | 01:33 |
zylopfa | Long ago i got invited to some partner forum i remember but i cant see that i am in http://www.webgui.org/partners | 01:34 |
@preaction | you'd definitely want to talk to tavis then | 01:37 |
zylopfa | Sounds good | 01:38 |
zylopfa | Btw. are there any RFE days? Can't seem to find the calendar anymore :( | 01:38 |
zylopfa | I will try to get hold of Tavis tomorrow then, thanks a lot | 01:39 |
@preaction | there hasn't been RFE days, we've been focused on wrapping up 8 development | 01:40 |
zylopfa | yeah you are doing great with that. Whats the best way for me to contribute? By solving rfe's for 7.x or doing something on 8? | 01:41 |
zylopfa | In my work as a company i find bugs some times that i can solve and also some rfe that i can create and solve myself | 01:42 |
zylopfa | I know the api for 7 very well | 01:42 |
@preaction | RFEs for 7 is a good thing, especially since we haven't had the opportunity to do those in a while | 01:44 |
@preaction | they get ported to 8, so everybody benefits | 01:44 |
@preaction | right now 8 is in an initial bugfix mode, so if you want to try it out and find/fix bugs, that's helpful too | 01:44 |
zylopfa | As long as the rfe/bugfixes can be ported to 8 its not completely useless what i make there | 01:46 |
zylopfa | My big todo is to learn to write tests though | 01:46 |
@preaction | 8 has much nicer testing environment, due to PSGI/Plack | 01:46 |
zylopfa | ahh nice. I guess the best way to learn it is to look at the tests in the t directory realy | 01:47 |
zylopfa | I am looking very much forward to 8, with the new speed improvements cause of psgi/plack | 01:48 |
-!- sbaur [~Adium@130.157.145.37] has quit [Quit: Leaving.] | 02:24 | |
-!- mducharme-laptop [~MDucharme@206.188.121.4] has quit [Quit: Leaving.] | 03:31 | |
@scrottie | why would $i18n->{_table}->{ $help->{$key}->{title} } bring an entry back for something while, immediately afterwards, $i18n->get($help->{$key}->{title}) wouldn't? | 03:35 |
@preaction | that it is a good question, sir | 03:36 |
* scrottie notices http://jobs.perl.org/job/14544 | 03:48 | |
zylopfa | Yeah scrottie sometimes i wish i lived in the US | 03:48 |
@scrottie | where do you live? | 03:49 |
zylopfa | In denmark | 03:49 |
@scrottie | ha | 03:49 |
@scrottie | wanna trade? | 03:50 |
zylopfa | I have my own company that host, design, custom program webgui apps. | 03:50 |
zylopfa | Haa sure scrottie ! | 03:50 |
@scrottie | I had better start learning Danish. | 03:50 |
zylopfa | yeah its hard to learn so many exceptions | 03:51 |
zylopfa | scrottie, what is for you the most important "feature" or thing about Webgui? | 03:51 |
zylopfa | ( I am getting inspiration for my website ) | 03:52 |
@scrottie | how specific do I have to be? if not very, then the document model behind "assets". | 03:52 |
@scrottie | but I'm up to my eyeballs in backend stuff, so I would say that. | 03:52 |
zylopfa | yeah i am saying the API and the modularity of it all | 03:52 |
@scrottie | at the risk of starting a holy war that I don't have energy for right now, I think MVC is a lame idiom most of the time. the CRUD style that WebGUI does so well is much better. | 03:53 |
@scrottie | I'd really like to see WebGUI8 take on Catalyst and those. | 03:53 |
zylopfa | Yeah I have not much understanding about other systems than webgui, but after a lot of development for webgui for my customers, i am hooked | 03:54 |
@scrottie | from a programming point of view, the groups-of-groups model of permissions and permissions on edit/view of each asset takes care of a huge amount of work. | 03:54 |
zylopfa | yeah thats something joomla havent found out | 03:54 |
@scrottie | hrm. | 03:54 |
zylopfa | but would be rude to compare webgui to joomla anyway | 03:54 |
@scrottie | I don't know anything about Joomla, but I imagine that some of these systems do well because, for simple cases, they're easy. | 03:55 |
zylopfa | Haa thats not even true from joomlas example | 03:55 |
zylopfa | I had a meeting with a customer where i was supposed to help them with joomla, they had some people who was into it aswell | 03:55 |
zylopfa | The good thing about joomla is that there are templates and a lot of them | 03:56 |
zylopfa | but the bad thing is that there is not much else | 03:56 |
zylopfa | the access control system is none existant unless you buy addons | 03:56 |
zylopfa | and the creation of content is so abstract | 03:57 |
zylopfa | menus arent created automatically | 03:57 |
zylopfa | and to create the equivalent of an article you have to create 2 things and you cant edit things on the pageview as webgui | 03:57 |
@scrottie | interesting. | 03:58 |
zylopfa | Joomla and other php cms systems are popular cause they can be installed on a 1$ a month host | 03:58 |
@scrottie | maybe your company should start a $2/month WebGUI host ;) | 03:58 |
zylopfa | And believe me before i tried joomla i was sure WebGUI was so much harder for the user | 03:58 |
@preaction | in theory, with 50 sites on a server, you might be able to break even with $2/site | 03:59 |
zylopfa | yeah true words | 03:59 |
@preaction | $5 is still impulse-buy territory for "supported site" | 03:59 |
@scrottie | most people who sign up for things, especially really inexpensive things, don't do a whole lot with it. | 03:59 |
@scrottie | or they put it off for a while. | 03:59 |
zylopfa | my customers pay around $20-40 a month | 03:59 |
@preaction | exactly | 03:59 |
zylopfa | But i take them under my wings also | 04:00 |
@preaction | yeah, support is the expensive bit | 04:00 |
zylopfa | if they need some custom programming i do that and integrate their backend systems with their web | 04:00 |
@scrottie | for $1/$2, you really have to do a community supported thing, where users help support each other. | 04:00 |
zylopfa | Yeah | 04:00 |
zylopfa | all that they have there is "Button to get joomla installed", " button to get x-php-cms installed" | 04:01 |
zylopfa | and thats it | 04:01 |
zylopfa | My business model is about helping the customer do business to I inturn can do business | 04:01 |
zylopfa | I am interested in my customers using their sites and getting everyting from them | 04:01 |
@preaction | and you're our target audience, really | 04:02 |
@scrottie | some people are just going to want to fire up 20 different CMSes and play with them each. they might not even have a business in mind. or their business might just be like yours -- helping other businesses -- and playing with a bunch of CMSes lets them do that. | 04:02 |
zylopfa | yeah true scrottie | 04:03 |
zylopfa | I have researched the $1 hosting firms how many domains they have on each server | 04:03 |
zylopfa | its around 3000 | 04:03 |
@scrottie | that's easy for relatively low traffic static sites but WebGUI is far from static. | 04:04 |
zylopfa | But its not serious when they say they offer unlimited bandwidth | 04:04 |
@preaction | unlimited bandwidth? $1/mo? how much space? that might be awesome for a dropbox-like thing | 04:04 |
@scrottie | preaction, or you could fire up smbserver on a Unix machine somewhere. | 04:05 |
zylopfa | yeah thats with 20gb space for 10 domains | 04:05 |
zylopfa | ohh wait they went away from the unlimited bandwidth now | 04:06 |
zylopfa | its 50 gigs a month now | 04:07 |
zylopfa | still you could use them as a backup server | 04:07 |
zylopfa | LOL i just read some of the "unlimited traffic" hosters disclaimers | 04:10 |
zylopfa | they do not offer it for downloads, image archives, file archives, video archives or other archives | 04:10 |
zylopfa | Thats lame. I wont be like that, offering "no bandwidth limit" with its not | 04:11 |
zylopfa | I am making a shop in webgui for a fashion company atm. : http://www.ca-worldfashion.dk/shop/tunika | 04:19 |
zylopfa | Fuck i love webgui, now i am making a gallery slider macro for sku's to display on the main page | 04:23 |
@scrottie | =) | 04:30 |
zylopfa | Sorry for my rambeling ;D | 04:30 |
@scrottie | heh, it's quite alright | 04:32 |
@scrottie | pardon my quietness. | 04:32 |
zylopfa | haa thats no problem at all! | 04:33 |
-!- Guest25319 [~lem@2001:4f8:3:6e:217:f2ff:fe4c:bfd] has quit [Ping timeout: 260 seconds] | 04:52 | |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui | 04:54 | |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Client Quit] | 04:54 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Quit: Leaving.] | 06:28 | |
advancedalarmtec | good evening all | 06:36 |
-!- zylopfa [~zylopfa@0x555116f0.adsl.cybercity.dk] has quit [Remote host closed the connection] | 06:37 | |
@scrottie | hey advancedalarmtec | 06:40 |
advancedalarmtec | does anyone have advice on getting a flash animation working on a template? I downloaded a template from dreamtemplate.com and have converted the entire design over with the exception of the front flash animation | 06:55 |
-!- elnino [~ninow@user-38q47pn.cable.mindspring.com] has joined #webgui | 06:56 | |
elnino | hi! | 06:56 |
elnino | what is the permissions supposed to be on /data/wre/etc/my.cnf? | 06:57 |
advancedalarmtec | this is what mine's set at: -rw-r--r-- 1 webgui webgui 320 2011-06-24 16:59 my.cnf | 07:04 |
-!- kaare_ [~kaare@79.138.164.154.bredband.oister.dk] has joined #webgui | 07:04 | |
elnino | thank you. | 07:04 |
advancedalarmtec | np | 07:04 |
-!- elnino [~ninow@user-38q47pn.cable.mindspring.com] has quit [Quit: Leaving] | 07:19 | |
-!- daviddelikat [~user@75.42.232.39] has quit [Ping timeout: 252 seconds] | 07:48 | |
advancedalarmtec | is there any documentation on embeding a flash header into a style template? I have downloaded a style template from a 3rd party and am converting it over to use with WebGui. I have the style template installed and everything is working with the exception of the flash header at the top. | 09:42 |
-!- elnino [~ninow@user-38q47pn.cable.mindspring.com] has joined #webgui | 09:58 | |
elnino | anyone awake? | 09:59 |
elnino | I want to link a directory into my uploads directory, and when I try to accesss it via url, it says403 forbidden. The chown and chmods are set the same as any other file in uploads. So what am I missing? what do I need to change? | 10:00 |
elnino | there doesn't seem to be a htaccess file to modify. I was thinking I needed to add Options +FollowSymLinks to something. | 10:01 |
elnino | I'll be back in the morning... | 10:01 |
-!- daviddelikat [~user@ppp-70-226-160-87.dsl.mdsnwi.ameritech.net] has joined #webgui | 13:08 | |
-!- zylopfa [~zylopfa@0x555116f0.adsl.cybercity.dk] has joined #webgui | 15:37 | |
zylopfa | good day fine webguians | 15:51 |
+BartJol | hello | 16:08 |
zylopfa | I found a bug in Cart.pm for the Shop. Pr. item shipping kicks in regardsless of wether or not the product is marked as ships seperately | 16:39 |
SDuensin | FrIdAy! | 16:41 |
zylopfa | haa indeed!! | 16:42 |
zylopfa | Damn i need to be able to create tests. Have a problem cause i need to test template variables in a test, not so keen on how it works | 17:02 |
zylopfa | preaction, I found a new bug for the shop / cart.pm and posted it to the bug teacker on webgui, i can fix it if you give the go-ahead or whoever does that in there | 17:04 |
elnino | Good morning! I want to link a directory into my uploads directory, and when I try to accesss it via url, it says403 forbidden. The chown and chmods are set the same as any other file in uploads. So what am I missing? what do I need to change? There doesn't seem to be a htaccess file to modify. I was thinking I needed to add Options +FollowSymLinks to something. | 17:05 |
zylopfa | hello elnino , the target directory you want to link to with "ln -s" i suppose? Is that set with correct owner:group and chmod ? | 17:07 |
zylopfa | and is the link itself also set correctly? | 17:07 |
elnino | from what i can see, yes. | 17:08 |
elnino | I didn't use the -s option though. | 17:08 |
elnino | I'm sorry, yes, I did. | 17:08 |
zylopfa | ok you used -s? | 17:08 |
elnino | yes. | 17:08 |
zylopfa | ok how do you access the directory via the browser? | 17:09 |
elnino | www.site.com/uploads/directoryname | 17:09 |
elnino | and I get a 403 | 17:09 |
elnino | which I can usually do with a "real" directory. but let me try again. | 17:10 |
zylopfa | ok can you put a file there say: readme.txt and write some random in it | 17:10 |
zylopfa | and try: www.site.com/uploads/directoryname/readme.txt | 17:10 |
elnino | works great. | 17:11 |
elnino | I'll try the ln again. It was 2 AM when I wsa tryign this. | 17:11 |
zylopfa | ahh ok | 17:12 |
elnino | still doesn't work. everything is root:root | 17:14 |
elnino | and readable | 17:14 |
zylopfa | ok you need it to be webgui:webgui | 17:14 |
elnino | so I still think I need a FollowSymLinks | 17:14 |
zylopfa | and btw what upload directory do you use? the sites or the global one? | 17:14 |
elnino | nothing else in the uploads is webgui:webgui | 17:14 |
zylopfa | you need to enter your sites upload dir | 17:15 |
zylopfa | like /data/domains/your-site/public/uploads | 17:15 |
elnino | the /data/domain/domainname/public/uploads | 17:15 |
zylopfa | ok | 17:15 |
elnino | yep. | 17:15 |
elnino | =) | 17:15 |
zylopfa | and there you need to do | 17:15 |
zylopfa | ln -s /test/ | 17:15 |
elnino | yep, I did the ln -s | 17:15 |
zylopfa | where /test/ is the directory you wish to link to | 17:15 |
zylopfa | ok good | 17:15 |
zylopfa | then as you stay in the /data/domain/domainname/public/uploads directory do: | 17:16 |
zylopfa | chown webgui:webgui test (or what the name is for the link) | 17:16 |
zylopfa | and also do chown webgui:webgui on the directory you linked to | 17:16 |
elnino | but that'sthe thing, nothing in my uploads is webgui:webgui. they are all root: root | 17:17 |
elnino | infact, it's all 777 root:root | 17:17 |
zylopfa | autch | 17:17 |
elnino | translation. ? | 17:17 |
zylopfa | it means that everyone on the server has write access to your uploads directory | 17:18 |
zylopfa | maybe you run webgui as the root user? | 17:18 |
elnino | well, the actual uploads directory is webgui:webgui | 17:18 |
zylopfa | well anyway if its 777 it should be readable anyway | 17:18 |
elnino | everything in it is root:root | 17:18 |
zylopfa | ok wierd | 17:18 |
zylopfa | but with 777 its readable anyway | 17:18 |
elnino | I didn't set this up. I'm fixing it. =) | 17:18 |
zylopfa | ahh fair enough | 17:19 |
zylopfa | how did the linking work when you followed what i said? | 17:19 |
zylopfa | you should access the linked directory like this from the browser: | 17:20 |
zylopfa | http://www.yourdomain.com/uploads/test/test.txt | 17:20 |
elnino | I just chowned the link directory, and the test file I put in my link directory and can now see the test file. | 17:22 |
elnino | the rest of the files in my link directory are still not readable. | 17:23 |
zylopfa | ok good | 17:23 |
elnino | so then I looked at a normal upload/Pp/LY/etc... structure. | 17:23 |
elnino | the subdirectorys and files are all root:root weird. | 17:23 |
elnino | I guess I'll just recursively change my link directory. Thanks! BRB | 17:24 |
zylopfa | yeah wierd at me its webgui:webgui | 17:24 |
zylopfa | yeah good idea | 17:24 |
zylopfa | chown -r webgui:webgui uploads | 17:24 |
zylopfa | sorry -R | 17:24 |
zylopfa | in my installations it seems to be webgui:webgui all the way but i dont remember if it was me who did it or the site creator | 17:25 |
elnino | well, it's funny that the actuall uploads is webgui:webgui | 17:25 |
zylopfa | yeah and the sub dires isnt ? | 17:26 |
elnino | correct! they are root: root | 17:26 |
elnino | weird. | 17:26 |
zylopfa | Can i ask you to do something? | 17:26 |
elnino | I thought there was a sticky bit that carries the parent directories permissions. | 17:26 |
elnino | sure. | 17:26 |
zylopfa | enter the file: /data/wre/etc/modproxy.conf | 17:27 |
zylopfa | and search for user | 17:27 |
zylopfa | the second match should show you | 17:27 |
zylopfa | User <some user> | 17:28 |
elnino | webgui | 17:28 |
zylopfa | Group <somegroup> | 17:28 |
zylopfa | ahh ok | 17:28 |
zylopfa | strange | 17:28 |
elnino | Group is commented out. | 17:28 |
zylopfa | so your webgui actually runs as the webgui user | 17:28 |
zylopfa | it can only access the files in the upload cause they are 777 | 17:28 |
elnino | you know what... | 17:28 |
zylopfa | cause the root user can (first 7) and the root group can second (7) and the last 7 is all users on the system = also the webgui user | 17:29 |
elnino | She was complaining about not being able to upload stuff about a year ago... I just figured it was all resolved. Apparantly not. | 17:29 |
elnino | I should probably try and see. I just assumed that the other party fixed this. | 17:29 |
zylopfa | ahh | 17:29 |
zylopfa | i would go to the site directory | 17:29 |
zylopfa | :O | 17:30 |
zylopfa | woops | 17:30 |
zylopfa | go to the /data domains directory | 17:30 |
zylopfa | hmm wierd cant write it out | 17:31 |
zylopfa | cd /data/domains | 17:31 |
zylopfa | there | 17:31 |
zylopfa | and do | 17:31 |
zylopfa | chown -R webgui:webgui * | 17:31 |
elnino | well, so, if they are the wrong permissions, wouldn't the images not show up on the website? because they show up fine.... | 17:32 |
zylopfa | the access bits (777) is not changed | 17:32 |
zylopfa | only the owner | 17:32 |
zylopfa | and if webgui user doesn't own the directories it has to upload things into, it wont happen | 17:33 |
zylopfa | so by this we change the directories and stuff already created to be owned by webgui | 17:33 |
zylopfa | so when she upload next time the webgui user (as webgui runs as) has access and makes its files | 17:33 |
zylopfa | as webgui user | 17:33 |
zylopfa | the reason they show up now elnino is that they have chmod 777 | 17:34 |
zylopfa | which means user,group,and everyoe on the system has complete access to read write and modify the files | 17:34 |
zylopfa | and execute | 17:34 |
elnino | but not via http; | 17:34 |
zylopfa | no if they are logged into your system say via ssh | 17:34 |
elnino | why then was I able to see the readme file in the non-inked directory via http? | 17:35 |
zylopfa | still you chould propably do a | 17:35 |
zylopfa | chmod -R 660 /data/domains | 17:35 |
zylopfa | which directory was that elnino? | 17:36 |
elnino | The first one I made. I creatd a subdirectory with a test file in it. | 17:36 |
elnino | non-linked. then we proceeded by relinking the directory I wanted to do, and created a test file there. | 17:36 |
zylopfa | you created a directory under uploads | 17:37 |
elnino | yep | 17:37 |
elnino | that is root:root | 17:37 |
zylopfa | ok go there and do a: ls -l <directory-name-of-the-dir-you-created> | 17:37 |
zylopfa | without trailing / | 17:37 |
zylopfa | what does the left part say | 17:38 |
elnino | that's why I came here, because making a sub directory worked, adn the linked directory didn't, even though they both had the same owners and permissions as all the other preexisting upload directories albeit wrong. | 17:38 |
zylopfa | ok the directory you made for linking whats that called? | 17:39 |
elnino | sorry, I know I'm confusing. | 17:39 |
zylopfa | naa its ok | 17:39 |
elnino | the "hard directory" I made was zzz | 17:39 |
elnino | the linked irectory is wgbacksups | 17:39 |
elnino | drwxr-xr-x 2 root root 4096 2011-07-22 10:37 zzz | 17:40 |
elnino | lrwxrwxrwx 1 root root 14 2011-07-22 10:12 wgbackups -> /home/backups/ | 17:40 |
zylopfa | ok | 17:40 |
zylopfa | now show me | 17:40 |
zylopfa | ln -s /home/backups | 17:40 |
zylopfa | the access to this dir | 17:41 |
zylopfa | wait do this instead: stat /home/backups | 17:42 |
elnino | drwx------ 8 webgui webgui 4096 2011-07-22 10:12 backups | 17:42 |
zylopfa | ok | 17:42 |
zylopfa | good | 17:42 |
zylopfa | you can see here that the user webgui has read,write and execute access to the directory | 17:42 |
elnino | right, BUT the readme file in zzz is readable via http: | 17:43 |
elnino | -rw-r--r-- 1 root root 16 2011-07-22 10:40 readme | 17:43 |
zylopfa | true | 17:43 |
elnino | why? | 17:43 |
zylopfa | cause that one is readable by root, and group root and all users | 17:43 |
zylopfa | = the webgui user on the system also that run webgui | 17:44 |
zylopfa | list me a file in the backups directory | 17:44 |
zylopfa | and lets see its permissions | 17:44 |
elnino | -rw-r--r-- 1 webgui webgui 16 2011-07-22 10:12 readme.txt | 17:44 |
elnino | -> the readme in the wgbackups | 17:44 |
zylopfa | ok and you can read that right from the browser? | 17:45 |
elnino | yes, because it's webgui:webgui, but originally, when it wsa root:root, I coldn't. | 17:46 |
zylopfa | ok | 17:46 |
zylopfa | try to make a new file | 17:46 |
zylopfa | in the /home/backups | 17:46 |
zylopfa | just a test text file or something | 17:46 |
zylopfa | and do a ls -l <filename> | 17:46 |
zylopfa | then i will tell you why you couldnt read it | 17:47 |
elnino | oh wait... | 17:48 |
elnino | that worked too, but it's because /home/backups is webgui:webgui still, while /data/domains//uploads/wgbackups is still root:root | 17:48 |
elnino | -rw-r--r-- 1 root root 3 2011-07-22 10:46 hi | 17:49 |
elnino | was my new file. | 17:49 |
zylopfa | ok | 17:49 |
zylopfa | good | 17:49 |
zylopfa | it was created default with read/write permissions for user root | 17:49 |
elnino | but I think yesterday /home/backups was root:root | 17:49 |
zylopfa | and read permissions for group root | 17:49 |
elnino | which is why nothing worked. | 17:49 |
zylopfa | AND read permissions for all= readable by webgui user also | 17:49 |
zylopfa | from a security perspective you should propablty not have the files readable by all on the system (if they are logged in via ssh) | 17:51 |
zylopfa | I dont know how many use the machine apart from you | 17:51 |
zylopfa | Will you be copying files to the /home/backup directory manualy? or via webgui or ? | 17:52 |
elnino | I create them on the system. it's my backup directory, and I'm creating this uploads link so that plainblack.com can get my files to set this server up on their servers. | 17:52 |
elnino | I'm using it as a "ftp" site. =) | 17:53 |
zylopfa | ahh ok | 17:53 |
zylopfa | seems to work now right? | 17:53 |
elnino | yes. Thank you. | 17:53 |
zylopfa | always, just ask whenever you need help i am happy to help | 17:53 |
-!- richard [40eb643e@gateway/web/freenode/ip.64.235.100.62] has joined #webgui | 17:55 | |
-!- richard is now known as Guest53295 | 17:55 | |
elnino | so, theoritically, everthing should be webgui:webgui and 644? | 17:57 |
elnino | in the uploads? | 17:57 |
elnino | 600 | 17:57 |
elnino | 660 | 17:57 |
elnino | Thatnks for the tip btw about modproxy.conf, I was wondering where that was set. | 17:58 |
zylopfa | i'd say it should be webgui:webgui and 660 | 17:58 |
zylopfa | but directories should be 770 because they need to be able to be written in | 17:58 |
elnino | ok good to know. I'm goign to ask if she is still having that problem from a year ago. | 17:59 |
zylopfa | if the directory doesnt have 770 you arent able to enter it and see the directory tree | 18:00 |
zylopfa | so its not 660 for all but for the files, not for the directories which should be 770 | 18:00 |
zylopfa | still if you do a chown -R webgui:webgui on the /data/domains you are running | 18:01 |
zylopfa | for all the sites | 18:01 |
+BartJol | whoohoo, automatic webgui sites seem to work almost | 18:02 |
zylopfa | whats that BartJol ? | 18:02 |
+BartJol | A site where you can buy a slimmed down webgui site | 18:02 |
zylopfa | ahh sweet where is it? | 18:02 |
+BartJol | well it isn't live yet | 18:03 |
zylopfa | its an enhanced demo kind? | 18:03 |
+BartJol | should become webguistarter.com | 18:03 |
zylopfa | or altered | 18:03 |
+BartJol | yeah | 18:03 |
zylopfa | I am gonna make a demo site for my company also, but with different layout and all that | 18:03 |
zylopfa | so my customers can try it | 18:03 |
zylopfa | but try it on a copy of my sites layout instead of the plainblack design | 18:04 |
+BartJol | but especially the end of terms is something to make extra stuff for | 18:04 |
zylopfa | ahh yeah so it closes down if they havent paid? | 18:05 |
+BartJol | yup | 18:05 |
zylopfa | should propablt be a content handler? | 18:05 |
zylopfa | that gets run regardless and moves on if they have payed | 18:05 |
+BartJol | something like that yes | 18:05 |
+BartJol | it just has an end date in a table | 18:06 |
zylopfa | thats what i love about webgui its so fucking thought through, the api of it | 18:06 |
+BartJol | but the setup seems to work | 18:07 |
zylopfa | totaly a good idea | 18:08 |
zylopfa | will they be able to choose templates? | 18:08 |
+BartJol | yes, in the setup | 18:08 |
zylopfa | ahh nice | 18:08 |
+BartJol | just the default wg templates | 18:09 |
zylopfa | yeah | 18:09 |
zylopfa | will they have a sub domain or a directory entry point? | 18:09 |
-!- sbaur [~Adium@130.157.145.37] has joined #webgui | 18:10 | |
+BartJol | they need a domain name, with which a subdomain is created | 18:10 |
+BartJol | if they have the domain, the can use that too | 18:10 |
zylopfa | ahh sweet | 18:10 |
zylopfa | it will be kickass if it works well | 18:10 |
elnino | sounds great BartJol! let me know when I can sign up! | 18:10 |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 18:12 | |
+BartJol | ok | 18:12 |
zylopfa | elnino, is everythign working as intended? | 18:12 |
+BartJol | we disabled some assets to make it a bit lighter and dump functionality that makes it overcomplicated | 18:13 |
zylopfa | yeah good idea, so they dont get too overwhelmed | 18:13 |
elnino | I was waiting for her to wake up. the uploads thing never worked for her all this time. goofy girl, how can you run a site like that? | 18:14 |
zylopfa | yeah its wierd :O | 18:14 |
zylopfa | you can create articles though i think | 18:14 |
zylopfa | but you cant have the pictures in them saved afaik | 18:14 |
zylopfa | and you can make forum posts and all that | 18:14 |
zylopfa | but things that need a storage location like images will not work | 18:15 |
@preaction | zylopfa: there's no real need to get approval to fix a bug | 18:20 |
-!- sbaur [~Adium@130.157.145.37] has quit [Quit: Leaving.] | 18:20 | |
-!- sbaur [~Adium@130.157.145.37] has joined #webgui | 18:20 | |
@preaction | but i think we've got a disconnect: ships seperately is just for cost calculation | 18:20 |
@preaction | it's another item that needs to be shipped | 18:20 |
@preaction | per-item shipping is "any item can be shipped to any location you want in a single transaction" | 18:21 |
zylopfa | yeah thats what i ment preaction | 18:26 |
zylopfa | but the address chooser pr. individual item is showing even if the sku is only marked as "needs shipping" | 18:27 |
zylopfa | that doesnt mean it needs to be send to a different place than the items at large in the cart | 18:27 |
+BartJol | mmm, ik zie de conf nog niet te voorschijn komen | 18:28 |
+BartJol | sorry | 18:28 |
zylopfa | ik hou van koeien! | 18:29 |
+BartJol | 'ja, lekker | 18:29 |
+BartJol | van de barbequew | 18:29 |
zylopfa | ja! | 18:29 |
zylopfa | preaction, i can show you a visual of what i mean if you wanna visit one of my shops | 18:30 |
@preaction | ok | 18:30 |
zylopfa | http://www.ca-worldfashion.dk/shop/tunika | 18:32 |
zylopfa | Actually as you said preaction I think we have a disconnect | 18:33 |
elnino | have a great friday everyone! | 18:33 |
elnino | thanks again zylopfa! | 18:33 |
zylopfa | But then i dont know why you have to choose a different shipping address for every item in your cart that needs shipping | 18:33 |
zylopfa | always elnino , and have a good one! | 18:33 |
-!- elnino [~ninow@user-38q47pn.cable.mindspring.com] has quit [Quit: Leaving] | 18:33 | |
@preaction | you don't need to, you just have the option to | 18:33 |
zylopfa | ahh yeah true | 18:33 |
zylopfa | my bad then i think | 18:34 |
@preaction | you can certainly remove that column from your template if you want to simplify things a bit | 18:34 |
zylopfa | yeah i just misunderstood the concept | 18:34 |
zylopfa | you always get me like that | 18:34 |
@preaction | yeah, a lot of our stuff is "reveal every feature, even the rarely-used ones. they can remove what they don't want" | 18:35 |
@preaction | which may or may not be the best idea when it comes to "what most people want" | 18:35 |
zylopfa | yeah that makes perfect sense to me, i just saw the "individual shipping" thing as send things to another address instead of the cost part | 18:35 |
zylopfa | naa the templates imo should be showcasing what the system can do | 18:36 |
zylopfa | and then its up to the integrator to make their own templates for their needs | 18:36 |
zylopfa | do you know if Tavis is at the office today? | 18:37 |
@preaction | he should be | 18:48 |
zylopfa | thanks | 18:48 |
-!- mducharme-laptop [~MDucharme@206.188.121.4] has joined #webgui | 19:07 | |
SDuensin | Cool - http://jashkenas.github.com/coffee-script/ | 19:17 |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has quit [Quit: Leaving.] | 19:17 | |
sbaur | just a thought, but how about at least two templates for everything that has a template; the default, for the most common use case, and a separate kitchen sink one with everything possible in it, including using every single template variable available to that template | 19:24 |
sbaur | I'll submit as an RFE if the idea finds favor... | 19:25 |
-!- sin [~nelson_br@host-1-233.b4.cvc.com.py] has joined #webgui | 19:40 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Ping timeout: 255 seconds] | 19:46 | |
-!- Guest53295 [40eb643e@gateway/web/freenode/ip.64.235.100.62] has quit [Quit: Page closed] | 19:54 | |
zylopfa | sounds like a good idea sbaur | 20:07 |
-!- sin [~nelson_br@host-1-233.b4.cvc.com.py] has quit [Remote host closed the connection] | 20:18 | |
-!- sin [~nelson_br@host-1-233.b4.cvc.com.py] has joined #webgui | 20:18 | |
zylopfa | I have found a bug in Thingy when you save a thing data via ajax, the error message returned as json only contain the error messages | 20:19 |
zylopfa | It should return then name of the fields also, so you can use that to forexample highlight fields that are missing or what not | 20:19 |
zylopfa | what you say to that one preaction | 20:20 |
@preaction | sounds like a good idea | 20:20 |
zylopfa | its a oneliner | 20:20 |
zylopfa | whats best, to make a patch -p0 or to make a github request | 20:20 |
zylopfa | I dont know how to write tests yet but i would like to fix it | 20:21 |
-!- sin [~nelson_br@host-1-233.b4.cvc.com.py] has quit [Ping timeout: 264 seconds] | 20:23 | |
zylopfa | Well i fixed it now | 20:26 |
@scrottie | github pull request | 20:55 |
zylopfa | yes sir | 20:55 |
-!- sin [~nelson_br@host-1-233.b4.cvc.com.py] has joined #webgui | 20:56 | |
@scrottie | Asset/Wobject/Thingy.t already has one test for www_editThingDataSaveViaAjax | 20:58 |
zylopfa | sweet, i hope i can figure it out | 20:58 |
@scrottie | one that checks success... | 20:58 |
@scrottie | on line 482 or so, but I have WebGUI8 checked out at the moment | 20:58 |
zylopfa | I always am wondering if i need to see changes in templates how i edit a template and test it via tests | 20:58 |
@scrottie | it's about 20 lines of code, but I'd be glad to help if you don't see how to do something. basically you'd want to change it make a request that should fail, and then make sure that the failure response looks correct | 20:59 |
@scrottie | er, copy and change it | 20:59 |
zylopfa | I will try to make one, I'd be happy for your input when i am done, cause i realy need to be able to write tests | 20:59 |
@scrottie | I don't understand... if you need to see changes in templates? basically you just want to test the output from a template and make sure it has stuff in it? | 21:00 |
zylopfa | Well forexample if i change "Shelf.pm" to provide additional templatevariables for the www_view | 21:00 |
zylopfa | then i want to see that these indeed show up in the template | 21:01 |
@scrottie | ah | 21:01 |
zylopfa | so i have to change a template to have the new <tmpl_var xx> in it | 21:01 |
zylopfa | and if the value is in the bounds of what it should be | 21:01 |
@scrottie | do you have the `ack` utility installed? | 21:02 |
zylopfa | always | 21:02 |
@scrottie | =) | 21:02 |
@scrottie | do: ack viewTemplateVariables /data/WebGUI/t | 21:02 |
@scrottie | a lot of tests just call viewTemplateVariables directly and then look at the datastructure to make sure stuff is in it and looks correct | 21:02 |
@scrottie | Asset/Story.t is one | 21:02 |
@scrottie | around line 327 for me | 21:03 |
@scrottie | for example | 21:03 |
@scrottie | there are some tests that parse the output of www_view... WebGUI::Test has a getPage() function... that'll partially simulate a web request... very partially ;) | 21:04 |
@scrottie | but that gives you HTML output which you can parse. | 21:04 |
zylopfa | its sounds a bit arcane though | 21:04 |
@scrottie | a little bit. it's used here and there in the tests. I think viewTemplateVariables is adequate for most purposes. you can always become more ambitious later. | 21:05 |
@scrottie | I have some tests laying around somewhere that look for a bunch of elements by DOM structure/CSS using Web::Scraper on the output of a real HTTP request. | 21:06 |
zylopfa | its just wierd this example in Story.t | 21:06 |
@scrottie | what about it? cmp_deeply? | 21:07 |
zylopfa | I mean its the template variable for the www_view method i want to check if they come out to the template ok | 21:07 |
zylopfa | i dont want to see the properties of the asset | 21:07 |
@scrottie | in that case, people usually just test the template variables, not the template. | 21:08 |
zylopfa | yeah wonder how its dont, guess i can find it somewhere in the tests | 21:08 |
@scrottie | the template parser has its own set of tests that make sure that it does the right thing in the general case | 21:08 |
@scrottie | you could always get the template variables from your asset and then feed them to the template parser along with a hard-coded template and then do an extract string eq on the result | 21:09 |
zylopfa | ok say i changed the Shelf.pm so instead of only looking for SKU's (to be on the shelf) it also looks for Shortcuts to sKUs | 21:11 |
@scrottie | call $asset->processTemplate($template_vars, undef, "<tmpl_var whatEver>") eq $template_vars->{whatEver} | 21:11 |
zylopfa | Then i would have to create a shelf ofc | 21:11 |
zylopfa | and create a bunch of sku assets | 21:11 |
zylopfa | and a bunch of shortcuts to skus and a bunch of shortcuts to none skus | 21:11 |
zylopfa | and from that test the templatevariable output to see if the right skus are on the shelf? | 21:12 |
@scrottie | I don't know the API for the shelf, but that should be a matter of calling an API method in it and checking the result | 21:12 |
@scrottie | most tests are API level tests, not output tests | 21:13 |
zylopfa | yeah but still i'd need to create some assets to test with? | 21:13 |
@scrottie | right. | 21:13 |
@scrottie | and you can do that. that's pretty common. | 21:13 |
zylopfa | awesome | 21:13 |
@scrottie | Story.t should have some examples of that. any .t for a built-in asset should have an example of that for that asset. | 21:13 |
zylopfa | The hardest for me atm is writing tests but i wanna learn. I am pretty good to find the things to test for but i just need to code that | 21:13 |
@scrottie | one of the things you have to do use use the WebGUI::Test addToCleanup() function to tell it to delete that asset when the test finishes | 21:14 |
@scrottie | start easy ;) | 21:14 |
zylopfa | ahh yeah true, even if it should be performed on a none-production machine | 21:14 |
@scrottie | adding one more test to set/Wobject/Thingy.t that's similar to a test already in there is a good place to start. | 21:14 |
zylopfa | Its a genious way to program, that you "prove" that it works with programs | 21:15 |
zylopfa | Also cause so many work on webgui so if some change an asset and breaks something, the tests will show it | 21:15 |
@scrottie | hopefully ;) | 21:15 |
zylopfa | I will write a test for my latest pull request now then. I fixed the Shelf asset to also take in Shortcuts to Skus instead of just skus | 21:16 |
zylopfa | May i ask you one more thing scrottie ? | 21:16 |
@scrottie | of course. ask away. just pardon me if I get distracted with something. if I vanish, try again later. | 21:24 |
zylopfa | ok when i make patches / rfes against the 7 branch and when i learn to create tests and i make a pull request to you guys | 21:27 |
zylopfa | Are you having much work to do or is it trivial for you to add it? | 21:27 |
zylopfa | I mean you are working on 8 and all, so will the patches be applied fast or does it take a lot of work extra for you guys? | 21:27 |
@scrottie | perlDreamer and preaction have been doing the work of merging changes made to the 'master' (WebGUI7 latest) branch to WebGUI 8 | 21:30 |
@scrottie | so they'll have to comment on that | 21:31 |
@scrottie | but so far I haven't heard them tell anyone to stop working on 7. I think we all know 7 is going to be around for a while. | 21:31 |
zylopfa | ok fair enough | 21:31 |
zylopfa | yeah true, all the errors and rfe i find when i work with webgui with my firm, i solve myself | 21:31 |
zylopfa | it will be even better now that i learn to write tests | 21:32 |
zylopfa | I am reading through the Story.t now seems like you | 21:32 |
zylopfa | have to create your objects first and then go throug the testplan | 21:32 |
zylopfa | sounds reaonable easy so far but i am just started so who knows | 21:32 |
@scrottie | basically, yeah | 21:37 |
@scrottie | there are various test functions defined by Test::More, Test::Deep and so on | 21:38 |
@scrottie | ok(), cmp(), cmp_deeply(), etc... all of them basically just figure out if a test passed or not | 21:38 |
@scrottie | and the number of those tests match the number of tests you said you were going to run, unless you're running on newer versions of the test modules and decide you don't want to have a test plan | 21:39 |
zylopfa | haa yeah, I will get right on to making the tests for the new shelf rfe | 21:40 |
@scrottie | well, learning to modify existing tests might be a good place to start | 21:40 |
@scrottie | but it's up to you | 21:40 |
zylopfa | exactly and the Shelf.pm has tests already so i will look to it first and if i need more than it does i will look to other tests thats been made | 21:41 |
-!- Guest25319 [~lem@2001:4f8:3:65:217:f2ff:fe4c:bfd] has joined #webgui | 22:01 | |
-!- gqlewis [~gqlewis@cpe-075-176-007-159.carolina.res.rr.com] has joined #webgui | 22:09 | |
-!- gqlewis_ [~gqlewis@cpe-075-176-007-159.carolina.res.rr.com] has joined #webgui | 22:11 | |
-!- gqlewis [~gqlewis@cpe-075-176-007-159.carolina.res.rr.com] has quit [Client Quit] | 22:11 | |
-!- gqlewis_ [~gqlewis@cpe-075-176-007-159.carolina.res.rr.com] has left #webgui [] | 22:12 | |
zylopfa | scrottie, I have a hard time understanding how i can test the view method, that my new template variables are in there. | 22:45 |
zylopfa | I could parse the view methods output but first i have to change the default view template to have my new variables | 22:46 |
zylopfa | I saw inside StoryArchive how they do it, but they have a function in it called viewTemplateVariables that return a has of all the template variables | 22:54 |
zylopfa | the Article asset doesn't have a function like that, the template variables is set inside the view sub | 22:55 |
-!- preaction [~preaction@li79-149.members.linode.com] has quit [Excess Flood] | 22:56 | |
-!- preaction [~preaction@li79-149.members.linode.com] has joined #webgui | 22:58 | |
zylopfa | Hello preaction it said you flooded :O | 22:58 |
zylopfa | ok i think i got how to do it now then | 23:00 |
zylopfa | I am creating a new Template asset in the root tree programmatically | 23:00 |
zylopfa | and I will only have the new "<tmpl_var xxx>" in it, and then i can test the view method that it return the value i suspect | 23:01 |
zylopfa | scrottie, and how can you test things that has to do with fileupload? | 23:05 |
-!- preaction [~preaction@li79-149.members.linode.com] has quit [Quit: ZNC - http://znc.sourceforge.net] | 23:09 | |
-!- preaction [~preaction@li79-149.members.linode.com] has joined #webgui | 23:09 | |
-!- mode/#webgui [+o preaction] by ChanServ | 23:10 | |
-!- preaction [~preaction@li79-149.members.linode.com] has quit [Client Quit] | 23:14 | |
-!- preaction [~preaction@li79-149.members.linode.com] has joined #webgui | 23:17 | |
-!- mode/#webgui [+o preaction] by ChanServ | 23:17 | |
@scrottie | zylopfa, right, to call viewTemplateVariables() and check the out template variable data, you have to have a viewTemplateVariables() method | 23:17 |
zylopfa | yeah so i have a new idea | 23:17 |
zylopfa | my $viewTemplate = $node->addChild({className=>'WebGUI::Asset::Template'}); | 23:17 |
zylopfa | So i make a new nearly blank Article template | 23:17 |
zylopfa | which only contains the file loop and the new variable <tmpl_var extension> | 23:18 |
zylopfa | And create a new article using my template and tests the output from the view method | 23:18 |
zylopfa | Its very complex to test things cause in order to test the files attached to the article i need to create 2 storagelocation and assign them to the article | 23:22 |
-!- preaction [~preaction@li79-149.members.linode.com] has quit [Quit: ZNC - http://znc.sourceforge.net] | 23:23 | |
-!- kaare_ [~kaare@79.138.164.154.bredband.oister.dk] has quit [Ping timeout: 276 seconds] | 23:54 | |
--- Day changed Sat Jul 23 2011 | ||
-!- sbaur [~Adium@130.157.145.37] has quit [Quit: Leaving.] | 00:07 | |
-!- preaction [~preaction@li79-149.members.linode.com] has joined #webgui | 00:16 | |
-!- mode/#webgui [+o preaction] by ChanServ | 00:16 | |
-!- sbaur [~Adium@130.157.145.37] has joined #webgui | 00:17 | |
@scrottie | well, I'm happy to try to help track down examples of doing various things in the tests | 00:35 |
@scrottie | so you have examples to work from. | 00:35 |
-!- sbaur [~Adium@130.157.145.37] has left #webgui [] | 00:35 | |
-!- sbaur [~Adium@130.157.145.37] has joined #webgui | 00:35 | |
@scrottie | just let me know, and then be patient =) | 00:35 |
zylopfa | I figured it out scrottie i am awesome at making tests now | 00:35 |
@scrottie | haha, I knew it | 00:35 |
zylopfa | Its totaly easy | 00:35 |
zylopfa | I just make a template in the root with the new variables i need to test | 00:35 |
zylopfa | and then i run the view method and compare the output | 00:36 |
zylopfa | its not in a style so its 1 line or so | 00:36 |
@scrottie | nice. my earlier suggestion would save a few lines of code but that certainly works. | 00:37 |
@scrottie | one reason I like tests is they kind of give you permission to be tricky in a way that is discouraged in "real" code | 00:39 |
zylopfa | yeah its awesome, i noticed the Article doesn't have any tests for the view method at all | 00:40 |
zylopfa | they wrote they would make it but its not been done | 00:40 |
zylopfa | dont know if its important | 00:40 |
@scrottie | tests are a sort of insurance. I don't know if it is important either. you don't know until you're in a position where you're wishing that you had had a test ;) | 00:41 |
zylopfa | yeah | 00:41 |
zylopfa | still my addon to the Article.pm a new field in the attached file look called extensions (showing the files extension) | 00:42 |
zylopfa | is kind of the same | 00:42 |
zylopfa | but as its a new thing to the article i think i need to document it in test | 00:42 |
@scrottie | another reason tests are awesome is that they're good examples of how to use API features | 00:44 |
@scrottie | way better than the docs usually | 00:44 |
zylopfa | yeah its pretty sick what you can do in code | 00:44 |
zylopfa | thats what amazed me with webgui | 00:44 |
zylopfa | you can basicall create everyting in code that you as a user can make on the website visually | 00:45 |
@scrottie | >=) | 00:45 |
zylopfa | GOnna cheat a bit in my test and make the article able to have 10 attachemtns to it | 00:46 |
zylopfa | cause i want to check the different extensions | 00:46 |
zylopfa | the WebGUI::Test->addToCleanup is very smart | 00:49 |
@scrottie | oh, hmm. http://pghpw.org/ppw2011/talks | 00:56 |
@scrottie | oh, wait, it put mine in the list not because it was accepted but because heaven knows why | 01:00 |
* scrottie scratches his head | 01:00 | |
-!- mducharme-laptop [~MDucharme@206.188.121.4] has quit [Read error: Connection reset by peer] | 01:07 | |
-!- mducharme-laptop [~MDucharme@206.188.121.4] has joined #webgui | 01:07 | |
@scrottie | apparently because I'm looking at it. | 01:36 |
zylopfa | haa :D | 01:37 |
zylopfa | scrottie, can I persuade you to look at my first test? | 01:49 |
@scrottie | sure. what've ya got? | 01:54 |
zylopfa | http://pastebin.com/ig7fiMwj | 01:57 |
@scrottie | even though it's a test, I'd still recommend #!/usr/bin/perl use strict; use warnings; | 02:00 |
@scrottie | oh, this comes from somewhere in the middle | 02:00 |
@scrottie | nevemrind | 02:00 |
zylopfa | yeah its in there though it just shown you the part of the test in Article.t that i made | 02:01 |
@scrottie | # | 02:02 |
@scrottie | if ( $tmplExtensions[0] ne "tar") {$extPassed = 0;} .. rather than doing that, I'd just make each one a test | 02:02 |
zylopfa | ahh good idea so i make an ok () for each? | 02:03 |
@scrottie | ok( $tmplExtensions[0] ne "tar", "Yup, extension template variable in fileLoop working for tar" ); | 02:03 |
@scrottie | yeah | 02:03 |
zylopfa | good idea thanks | 02:03 |
@scrottie | I'm 99.9% sure they'll all pass or fail together, but it seems to be the way that things are done | 02:03 |
zylopfa | Its awesome cause this way i wrote it is exactly the same way i tested it manually | 02:03 |
@scrottie | I guess it might be easier to skim and see what's going on | 02:03 |
@scrottie | what's being tested | 02:03 |
@scrottie | nice | 02:04 |
zylopfa | yeah good idea i think it wold be good like that | 02:04 |
@scrottie | if that stuff works, that's what you want. nicely done. | 02:04 |
zylopfa | I bet it could be made more elegant but then again its perl ;D | 02:04 |
@scrottie | heh | 02:04 |
@scrottie | well, sometimes verbosity is good | 02:04 |
zylopfa | In theory Article.pm only accept 2 attachments | 02:05 |
zylopfa | but you can put more in if you do it in code, you cant do it in the web | 02:05 |
zylopfa | Maybe it counts as a but but i dont see the big deal in it anyway | 02:06 |
zylopfa | Sure a malicious content manager could circumvent the normal forms and add more attachments, but wtf who cares ;D | 02:06 |
-!- sbaur [~Adium@130.157.145.37] has quit [Quit: Leaving.] | 02:30 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui | 02:38 | |
-!- mducharme1 [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Ping timeout: 276 seconds] | 02:40 | |
-!- mducharme-laptop [~MDucharme@206.188.121.4] has quit [Quit: Leaving.] | 03:02 | |
zylopfa | preaction, can you see if you want to add my latest rfe fix to the main branch, i made changes to the pullrequest? | 03:03 |
zylopfa | and do i get karma for making it? | 03:03 |
zylopfa | i made tests now | 03:04 |
zylopfa | or scrottie but i think its preaction that do those things | 03:05 |
@scrottie | I'm looking at https://github.com/plainblack/webgui/pull/19 right now... | 03:28 |
@scrottie | in the diffs for lib/WebGUI/Asset/Event.pm, is the line you added not lining up because you used a tab to indent rather than spaces? | 03:28 |
@scrottie | heh, you actually put "Yup" in the test output =P | 03:29 |
@scrottie | it looks like you ran the tests and fixed the things where cmp_bag etc failed | 03:29 |
zylopfa | yeah | 03:30 |
zylopfa | there is still problems with cmp_bag though | 03:31 |
zylopfa | dont know what the problem is though as it a test i didnt make | 03:31 |
zylopfa | It complains in one of the modules | 03:31 |
zylopfa | scrottie, I propably used space :/ | 03:32 |
@scrottie | I'm not sure from looking at the diff... it may be that tabs were already there... there are some floating around... | 03:33 |
CIA-82 | webgui: Peter Christiansen master * rfd33465 / (7 files in 4 dirs): | 03:33 |
CIA-82 | webgui: - added #9668 extension template variable to attachment loops for the following assets: | 03:33 |
CIA-82 | webgui: Article,Post,Event,File,Form::Attachments,Folder - https://github.com/plainblack/webgui/commit/fd3346586ecf9de3eccb8fae90274e7b74510911 | 03:33 |
@scrottie | but I think we're trying to standardize on spaces | 03:33 |
CIA-82 | webgui: Peter Christiansen master * r3128741 / docs/changelog/7.x.x.txt : | 03:33 |
CIA-82 | webgui: Rebased changelog and added changes. | 03:33 |
CIA-82 | webgui: - added #9668 extension template variable to attachment loops for the following assets: | 03:33 |
CIA-82 | webgui: Article,Post,Event,File,Form::Attachments,Folder - https://github.com/plainblack/webgui/commit/3128741b4b4d579ce2d7b4d67fbe2782fa3aeb75 | 03:33 |
CIA-82 | webgui: Peter Christiansen master * ra9ac52a / (t/Asset/Post.t t/Asset/Wobject/Article.t): | 03:33 |
CIA-82 | webgui: Added tests to Article.t and Post.t for checking that the template variables | 03:33 |
CIA-82 | webgui: contain the new extension variable. - https://github.com/plainblack/webgui/commit/a9ac52aee3a6a8a5aa1247250e7d262aa4a66102 | 03:33 |
zylopfa | sounds wierd it seems aligned on my part | 03:33 |
CIA-82 | webgui: Scott Walters master * rda6cf05 / (9 files in 6 dirs): | 03:33 |
CIA-82 | webgui: Merge pull request #19 from zylopfa/master | 03:33 |
CIA-82 | webgui: RFE: 9668 template variable "extensions" added, for various assets containing fileloops in their templates - https://github.com/plainblack/webgui/commit/da6cf052daac7b5be0c57984455c9f3e982e1559 | 03:33 |
@scrottie | just FYI | 03:33 |
zylopfa | Sweeet thanks!! | 03:33 |
zylopfa | btw scrottie do i get karma for it? | 03:33 |
zylopfa | as its been karmaed with a lot | 03:33 |
@scrottie | haha | 03:34 |
@scrottie | I have no idea if you got karma | 03:34 |
zylopfa | damn ;/ | 03:34 |
@scrottie | I don't think I have access to webgui.org... er, admin access | 03:34 |
@scrottie | so you'll have to talk to preaction or perlDreamer about that | 03:34 |
zylopfa | yeah, I haven't seem peardDreamer for a long time | 03:35 |
zylopfa | seen | 03:35 |
@scrottie | you're welcome. I will pull things if I think I understand what's going on, but a lot of the system I still don't know well. | 03:35 |
@scrottie | and, thank you for your contribution =) | 03:35 |
zylopfa | Its awesome you taught me to weite tests !! | 03:35 |
@scrottie | naw, just gave you a gentle push in the right direction | 03:35 |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 04:15 | |
-!- zylopfa [~zylopfa@0x555116f0.adsl.cybercity.dk] has quit [Quit: Leaving] | 04:54 | |
-!- Guest25319 [~lem@2001:4f8:3:65:217:f2ff:fe4c:bfd] has quit [Ping timeout: 260 seconds] | 05:04 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Quit: Leaving.] | 05:52 | |
-!- sin [~nelson_br@host-1-233.b4.cvc.com.py] has left #webgui [] | 05:59 | |
-!- Guest25319 [~lem@207.239.83.130] has joined #webgui | 07:12 | |
CIA-82 | webgui: Colin Kuskie master * r50ddc03 / (2 files in 2 dirs): Fix the HTML in the default forum notification template. Fixes bug #12204 - https://github.com/plainblack/webgui/commit/50ddc03cd8c2543bc6758a7d8bb90506f4ed4f59 | 07:32 |
-!- kaare_ [~kaare@79.138.172.234.bredband.oister.dk] has joined #webgui | 07:45 | |
-!- Guest25319 [~lem@207.239.83.130] has quit [Ping timeout: 258 seconds] | 07:56 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 14:09 | |
-!- zylopfa [~zylopfa@0x555116f0.adsl.cybercity.dk] has joined #webgui | 16:42 | |
-!- vayde_ [~vayde@184-100-68-187.mpls.qwest.net] has quit [Ping timeout: 250 seconds] | 17:13 | |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui | 18:12 | |
zylopfa | Does anyone know if you make templates for inclusion in webgui, can you make it so they use other than the default article layout? | 18:24 |
zylopfa | or will the sitegenerator use the default always? | 18:24 |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Quit: Leaving.] | 18:32 | |
@scrottie | default templates are hard-coded into the assets | 19:12 |
@scrottie | to change the default, you have to change which the code uses or else edit the default template directly | 19:12 |
zylopfa | Autch scrottie | 19:16 |
zylopfa | That way if you make templates (for the startup wizard) your site will not look as intended | 19:17 |
zylopfa | I ALWAYS make new templates for Articles and Layout templates | 19:17 |
zylopfa | Well fair enough its only the wizard | 19:19 |
zylopfa | I can make site generator that makes it on its own with the article templates it needs | 19:19 |
zylopfa | I am about to make a demo site for my own company | 19:20 |
@scrottie | your site generator could always update the templates that are specified as the default templates | 19:20 |
@scrottie | copy some other template over them | 19:20 |
zylopfa | yeah or change the assets in code | 19:20 |
@scrottie | sure. or load one of several wgpkgs in that replaces the templates in question. | 19:20 |
zylopfa | yeah true! | 19:21 |
zylopfa | I made converted whole new site template to webgui, incl style tempate(ofc), layout template, article template, menu template in 2 hours | 19:22 |
zylopfa | s/made converted/converted a/g; | 19:22 |
@scrottie | nice. | 19:22 |
zylopfa | Webgui is easy to make good templates in | 19:23 |
zylopfa | I tried it in Joomla also | 19:23 |
@scrottie | that's something I'm bad at ;) | 19:23 |
zylopfa | if you need any good functionality you have to hack it so much | 19:23 |
zylopfa | Well you rock at everything else | 19:23 |
@scrottie | everything I do looks 1.0. I had fake COMET going in Netscape 3, but I can't make something look good to save my life. | 19:23 |
zylopfa | I am not a designer myself i cant make designs, I hire external designers for it | 19:24 |
zylopfa | but i can take any design and convert it into webgui | 19:24 |
@scrottie | I'd pick out a good one and try to bribe you to do it as a new theme, but I couldn't even pick out a good one. | 19:25 |
zylopfa | haa ofc you can ;D | 19:25 |
@scrottie | http://hates-software.com/ ... that's my idea of a website | 19:26 |
zylopfa | Problem as i see it with the theme selector is that it use default article templates and default page layouts | 19:26 |
zylopfa | Haa thats an old school university site, atleast it looks like it! | 19:26 |
@scrottie | the theme selector could probably be modified to replace other templates. I'm not sure. I've never looked at the code. | 19:26 |
@scrottie | that might be deemed too hackish and another plan counter-proposed. | 19:27 |
zylopfa | Doesn't the wpkg files choose which templates for articles and what not to use? | 19:27 |
@scrottie | sure, but new articles created are still going to use the hard-coded default template, by ID | 19:27 |
zylopfa | haa yeah then its fair enough | 19:27 |
@scrottie | so you'd have to import a wgpkg that replaced the template that this default ID points to | 19:27 |
zylopfa | just the initial thing then the user has to say which template thye will use for say articles | 19:28 |
zylopfa | ahh damn | 19:28 |
@scrottie | no big deal in my mind but others might have different opinions | 19:28 |
@scrottie | more assets could be modified to take which ID they use as default from site settings | 19:28 |
zylopfa | yeah | 19:28 |
@scrottie | then changing the article template would be a matter of adding a new template of its own ID and then updating this setting | 19:28 |
@scrottie | it might work that way right now. I'd have to look. | 19:29 |
zylopfa | sweet thanks | 19:29 |
@scrottie | hey, I'm just helping you help me ;) | 19:29 |
-!- kaare_ [~kaare@79.138.172.234.bredband.oister.dk] has quit [Ping timeout: 240 seconds] | 23:18 | |
--- Day changed Sun Jul 24 2011 | ||
zylopfa | scrottie, what wobject would be kick ass to make for webgui? | 00:18 |
CIA-82 | webgui: Colin Kuskie webgui-7.9 * r7d20406 / (docs/changelog/7.x.x.txt lib/WebGUI/Form/JsonTable.pm): Fix a bad script link in the JsonTable. Fixes bug #12202. - https://github.com/plainblack/webgui/commit/7d20406f621bd5d13c3f7d11f85d9ba57c83f2e6 | 00:38 |
CIA-82 | webgui: Colin Kuskie master * r4aeb70d / (docs/changelog/7.x.x.txt lib/WebGUI/Form/JsonTable.pm): Fix a bad script link in the JsonTable. Fixes bug #12202. - https://github.com/plainblack/webgui/commit/4aeb70d3235434852c98a056ae46423ced322d78 | 00:39 |
zylopfa | Anyone know if there are any default scratch variables set in a webgui session? | 00:43 |
@preaction | zylopfa: not that i'm aware of | 00:54 |
zylopfa | Ok i made a macro dumping all scratch variables. | 00:54 |
zylopfa | was interested if there was one mentioning if the user was logged in or not | 00:54 |
zylopfa | i need it in the navigation template | 00:54 |
zylopfa | not gonna show "login" in the menu if the user is logged in | 00:54 |
@preaction | which user the session is tied to is part of the userSession table | 00:56 |
@preaction | so !$session->user->isVisitor or $session->user->isRegistered or soemthing (see WebGUI::User) | 00:56 |
zylopfa | yeah but i woul like it in the template, i can always make a macro to do it but would be more elegant in the template | 00:57 |
zylopfa | preaction, my rfe got closed and I was the one who solved it, do i get the karma assigned to it or how does it work? | 00:59 |
@preaction | i'm with JT on this one: RFEs are a karma sink to remove it from the economy | 00:59 |
zylopfa | so i cant get karma at all ? | 01:00 |
@preaction | you can through the normal ways: posting to forums, bugs, RFEs, etc... | 01:00 |
zylopfa | damn | 01:01 |
zylopfa | as i see it its the people who make things who should be rewarded not the ones wanting them made | 01:01 |
zylopfa | Then the idea with bringing rfe's up by assigning karma to them flawed | 01:01 |
zylopfa | cause no one would solve the high karma ones rather than the low karma ones | 01:02 |
@preaction | no, that was there to get plain black to look at them. | 01:02 |
zylopfa | Oh | 01:02 |
@preaction | the idea being that plain black would do the top 5-10 RFEs each minor version | 01:02 |
zylopfa | So the only way to get high karma and to get noticed as a developer is to make rfe's and bug reports for others to fix? | 01:03 |
@scrottie | "noticed as a developer"? ha. | 01:03 |
zylopfa | well i wanna contribute | 01:04 |
@scrottie | if you do stuff, people notice. period. | 01:04 |
@scrottie | if you're at a Perl conf and I'm there, I'll buy you a drink. | 01:05 |
zylopfa | yeah i guess, and I do. | 01:05 |
zylopfa | Haa you are kind <3 | 01:05 |
zylopfa | I will keep on doing stuff anyway regardless of the karma thing, I will tell you inhere when i fix bugs and make pull requests | 01:06 |
zylopfa | I have learned to make tests now also so all should be good | 01:06 |
zylopfa | scrottie, whats the killer wobject you'd like to see in webgui? | 01:10 |
@scrottie | I'd like to see something like Yahoo! Pipes that let people build their own custom logic, visually. there's a Perl knock-off of Yahoo! Pipes that's open source, so the parts are there. | 01:11 |
@scrottie | but that's not on my short list of things to do. | 01:11 |
@scrottie | that's just the one Wobject I'd like to see. | 01:11 |
zylopfa | I have to look at that then | 01:11 |
zylopfa | I am going to make a SMS Tagwall also | 01:12 |
@scrottie | Yahoo! Pipes is pretty cool. it pulls data in from RSS feeds and lets you mash it up different ways. it's a mini programming "language". | 01:12 |
zylopfa | so people can text to a number and the messages gets to a tagwall of sorts | 01:12 |
@scrottie | some friend-of-a-friend junk would go down well too. | 01:12 |
@scrottie | hrm. | 01:12 |
@scrottie | the thing that is on my shortlist is giving WebGUI8 a performance boost. | 01:12 |
zylopfa | It will be sick with the new app stack | 01:13 |
zylopfa | so you can run webgui on nearly all | 01:13 |
@scrottie | Moose is bogging it down right now. | 01:13 |
zylopfa | as long as it can do plack | 01:13 |
zylopfa | So it makes perl slower? | 01:14 |
zylopfa | in exchange of making it easier to do oop? | 01:14 |
zylopfa | i mean webgui ofc | 01:14 |
@scrottie | essentially, yes. | 01:14 |
zylopfa | whats the point then? | 01:14 |
@scrottie | properties of assets in WebGUI8 are built on top of Moose. | 01:15 |
zylopfa | :O | 01:15 |
@scrottie | they're customized attributes. | 01:15 |
@scrottie | it looks really nice. | 01:15 |
zylopfa | sick good | 01:15 |
zylopfa | can moose be persuaded faster? | 01:15 |
zylopfa | Or is it just generally slowing things down? | 01:15 |
@scrottie | in the simple case, yes, there's Mouse and an even newer stack I think which does the basic stuff but much more quickly | 01:16 |
@scrottie | but building customized attributes isn't part of the basic stuff | 01:16 |
zylopfa | I watch the video last night of Patrick Donelan about plack and webgui | 01:17 |
@scrottie | he's a smart cookie | 01:17 |
zylopfa | Its totaly awesome | 01:17 |
zylopfa | Ok i found out what the standard scratch variables are, webguiCsrfToken and sortDir | 01:27 |
zylopfa | ohh smart the sortDir is called MZJnis4nvJFprKOjvI4OCg_sortDir that way you get a sort dir for each asset | 01:29 |
zylopfa | MZJnis4nvJFprKOjvI4OCg is the asset id of my forum | 01:29 |
zylopfa | Ohh i got an important question, when will the language files be merged in? I have made updates to the danish translation a week ago but when i download it at i18n.webgui.org i dont get the new update | 01:33 |
zylopfa | But when i edit the additions i made they are in there | 01:33 |
@scrottie | no idea. that's not stuff I'm familiar with. | 01:43 |
zylopfa | fair enough | 01:43 |
zylopfa | I hate to have my translations locally, cause i want them to be in webgui as standard | 01:43 |
@scrottie | I think this is one of those tasks that someone gets to now and then | 01:46 |
zylopfa | ahh yeah | 01:46 |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has left #webgui ["Leaving."] | 02:08 | |
-!- waxhead_ [~pete@ppp121-45-221-196.lns20.cbr1.internode.on.net] has joined #webgui | 02:11 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui | 02:16 | |
zylopfa | scrottie, I also tough about making a new webgui auth method with bcrypt instead, so it will be harder for attackers to bruteforce if they get hold of the password hashes | 02:22 |
@scrottie | is auth unsalted right now? the best thing to do would be to salt it heavily. encryption time matters little by comparison. | 02:40 |
zylopfa | Its md5 salted yeah | 02:46 |
zylopfa | the bcrypt thing can be configured so it takes computationally long to generate hashes | 02:47 |
zylopfa | so it makes sense in order to make bruteforce harder | 02:47 |
-!- vayde [~vayde@184-100-68-187.mpls.qwest.net] has joined #webgui | 02:49 | |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui | 02:51 | |
zylopfa | We need to make a complete paypal driver that also can do recurring transactions | 03:24 |
zylopfa | Next week i am making a paydriver for the danish payment service | 03:25 |
@scrottie | there's been a lot of discussion about that in here. I don't know the particulars of it, but there's apparently some difficulty with doing that. | 03:27 |
zylopfa | Wierd, I made a recurring thing in perl from scratch long ago, so it shouldnt be hard to implement it in webgui | 03:28 |
@scrottie | I've seen the PayPal API and nothing stood out from it as causing a difficulty here but I'm sure that one does exist. | 03:28 |
zylopfa | I can figure it out scrottie I am good at payment drivers | 03:28 |
@scrottie | I don't happen to remember who else was working on that but you might want to get in touch with them. | 03:28 |
zylopfa | Made 1 for the danish payment service making an updated one next week for their new service | 03:28 |
zylopfa | I cant see why it should be a problem | 03:29 |
* scrottie is working on back taxes... ouch, 2010 is brutal | 03:29 | |
zylopfa | I mean you have the callbacks from www_ functions | 03:29 |
zylopfa | nooo scrottie !! | 03:29 |
@scrottie | yeah, no idea. | 03:29 |
zylopfa | You think i get some karma if i make it? | 03:30 |
@scrottie | considering it would be preaction (who has better things to do, like WebGUI8) or perlDreamer (who is a bit crotchety) doing it, no, I don't think anyone will give you karma for doing it. | 03:31 |
@scrottie | also, you probably have more karma than I do on the site. | 03:31 |
@scrottie | so I don't want to hear about it. | 03:31 |
zylopfa | lol i have 600 only | 03:31 |
@scrottie | on the other hand, chorewars.com would be a cool model | 03:32 |
@scrottie | use that for project management / contributors / etc | 03:32 |
zylopfa | haa thats fucking nice | 03:32 |
zylopfa | gonna check it out thoroughly soon | 03:32 |
@scrottie | I have 206 karma. | 03:32 |
zylopfa | But you help all the time | 03:32 |
@scrottie | it's not _real_ karma. it's fake, electronic, simulated karma. | 03:33 |
zylopfa | yeah true | 03:34 |
@scrottie | wheee. now I get to do 2009! | 03:34 |
zylopfa | NOOO | 03:34 |
-!- mducharme1 [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui | 03:48 | |
-!- Netsplit *.net <-> *.split quits: mducharme | 03:51 | |
-!- gqlewis [~gqlewis@cpe-075-176-000-030.carolina.res.rr.com] has joined #webgui | 04:51 | |
-!- zylopfa [~zylopfa@0x555116f0.adsl.cybercity.dk] has quit [Quit: Leaving] | 05:01 | |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Quit: Leaving.] | 05:23 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Quit: Leaving.] | 05:54 | |
-!- gqlewis_ [~gqlewis@cpe-075-176-000-030.carolina.res.rr.com] has joined #webgui | 06:02 | |
-!- gqlewis [~gqlewis@cpe-075-176-000-030.carolina.res.rr.com] has quit [Read error: Connection reset by peer] | 06:02 | |
-!- kaare_ [~kaare@79.138.165.17.bredband.oister.dk] has joined #webgui | 08:34 | |
-!- mducharme1 [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Read error: Connection reset by peer] | 09:35 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui | 09:38 | |
-!- waxhead_ is now known as waxhead | 10:03 | |
-!- waxhead [~pete@ppp121-45-221-196.lns20.cbr1.internode.on.net] has quit [Ping timeout: 252 seconds] | 10:24 | |
-!- waxhead [~pete@ppp121-45-221-196.lns20.cbr1.internode.on.net] has joined #webgui | 10:25 | |
-!- waxhead [~pete@ppp121-45-221-196.lns20.cbr1.internode.on.net] has quit [Ping timeout: 255 seconds] | 10:59 | |
-!- Netsplit *.net <-> *.split quits: mducharme | 11:19 | |
-!- Netsplit over, joins: mducharme | 11:19 | |
-!- waxhead [~pete@ppp121-45-221-196.lns20.cbr1.internode.on.net] has joined #webgui | 12:48 | |
-!- kaare_ [~kaare@79.138.165.17.bredband.oister.dk] has quit [Ping timeout: 250 seconds] | 13:49 | |
-!- gqlewis [~gqlewis@cpe-075-176-000-030.carolina.res.rr.com] has joined #webgui | 14:07 | |
-!- gqlewis_ [~gqlewis@cpe-075-176-000-030.carolina.res.rr.com] has quit [Ping timeout: 260 seconds] | 14:11 | |
-!- gqlewis [~gqlewis@cpe-075-176-000-030.carolina.res.rr.com] has quit [Read error: Connection reset by peer] | 14:16 | |
-!- gqlewis [~gqlewis@cpe-075-176-000-030.carolina.res.rr.com] has joined #webgui | 14:17 | |
-!- gqlewis [~gqlewis@cpe-075-176-000-030.carolina.res.rr.com] has quit [Read error: Connection reset by peer] | 14:17 | |
-!- gqlewis [~gqlewis@cpe-075-176-000-030.carolina.res.rr.com] has joined #webgui | 14:17 | |
-!- waxhead [~pete@ppp121-45-221-196.lns20.cbr1.internode.on.net] has quit [Quit: Ex-Chat] | 14:33 | |
-!- gqlewis [~gqlewis@cpe-075-176-000-030.carolina.res.rr.com] has quit [Remote host closed the connection] | 14:55 | |
-!- gqlewis [~gqlewis@cpe-075-176-000-030.carolina.res.rr.com] has joined #webgui | 14:56 | |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui | 15:04 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Ping timeout: 240 seconds] | 15:08 | |
-!- qwebirc77873 [187fc35c@gateway/web/freenode/ip.24.127.195.92] has joined #webgui | 15:56 | |
qwebirc77873 | Hi | 15:59 |
qwebirc77873 | I'm installing wre-wg current stable on centos-5.6 and having problems installing JavaScript::Packer, CSS::Packer, HTML::Packer, this is the message: /bin/tar: Error exit delayed from previous errors Couldn't untar JavaScript-Packer-1.004.tar | 15:59 |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Ping timeout: 252 seconds] | 16:15 | |
-!- zylopfa [~zylopfa@0x555116f0.adsl.cybercity.dk] has joined #webgui | 16:19 | |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui | 16:54 | |
zylopfa | Anyone know what decides wether or not the site init routine should be run? | 17:30 |
zylopfa | I mean what flag is set to show that its a "new" site | 17:32 |
zylopfa | ALright, I figured it out, its a setting in the database always set to "init" | 17:38 |
zylopfa | on sitecreation | 17:38 |
zylopfa | which inturn sets off the "Setup" content handler which inturn run the Wizard | 17:39 |
-!- qwebirc77873 [187fc35c@gateway/web/freenode/ip.24.127.195.92] has quit [Quit: Page closed] | 18:06 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 19:34 | |
-!- mducharme-laptop [~MDucharme@206.188.121.4] has joined #webgui | 20:00 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui | 20:17 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Ping timeout: 264 seconds] | 20:28 | |
-!- gqlewis [~gqlewis@cpe-075-176-000-030.carolina.res.rr.com] has quit [Remote host closed the connection] | 20:57 | |
-!- zylopfa [~zylopfa@0x555116f0.adsl.cybercity.dk] has quit [Quit: Leaving] | 21:30 | |
-!- gqlewis [~gqlewis@user-0c99g05.cable.mindspring.com] has joined #webgui | 21:36 | |
-!- gqlewis [~gqlewis@user-0c99g05.cable.mindspring.com] has quit [Remote host closed the connection] | 22:49 | |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Ping timeout: 250 seconds] | 22:56 | |
-!- qwebirc43658 [187fc35c@gateway/web/freenode/ip.24.127.195.92] has joined #webgui | 23:48 | |
-!- advancedalarmtec [~advanceda@99-101-77-213.lightspeed.ltrkar.sbcglobal.net] has quit [Ping timeout: 258 seconds] | 23:59 | |
--- Day changed Mon Jul 25 2011 | ||
-!- gqlewis [~gqlewis@cpe-075-176-000-030.carolina.res.rr.com] has joined #webgui | 00:21 | |
-!- gqlewis [~gqlewis@cpe-075-176-000-030.carolina.res.rr.com] has quit [Read error: Connection reset by peer] | 00:33 | |
-!- gqlewis [~gqlewis@cpe-075-176-000-030.carolina.res.rr.com] has joined #webgui | 00:33 | |
-!- Tunnelblick [~knoppix@koln-4d0d1821.pool.mediaWays.net] has joined #webgui | 01:40 | |
-!- Tunnelblick [~knoppix@koln-4d0d1821.pool.mediaWays.net] has left #webgui [] | 01:40 | |
-!- qwebirc43658 [187fc35c@gateway/web/freenode/ip.24.127.195.92] has quit [Quit: Page closed] | 04:28 | |
-!- gqlewis [~gqlewis@cpe-075-176-000-030.carolina.res.rr.com] has quit [Remote host closed the connection] | 06:34 | |
-!- gqlewis [~gqlewis@cpe-075-176-000-030.carolina.res.rr.com] has joined #webgui | 06:46 | |
-!- gqlewis [~gqlewis@cpe-075-176-000-030.carolina.res.rr.com] has quit [Remote host closed the connection] | 07:45 | |
-!- gqlewis [~gqlewis@cpe-075-176-000-030.carolina.res.rr.com] has joined #webgui | 07:46 | |
-!- gqlewis [~gqlewis@cpe-075-176-000-030.carolina.res.rr.com] has quit [Remote host closed the connection] | 07:47 | |
-!- dappere-dodo [~dappere-d@D57D69B6.static.ziggozakelijk.nl] has joined #webgui | 09:29 | |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui | 10:39 | |
-!- mode/#webgui [+v BartJol] by ChanServ | 10:39 | |
-!- Radix-wrk [quasselcor@203.161.71.161.static.amnet.net.au] has quit [Remote host closed the connection] | 10:51 | |
-!- carogray [~Caroline@72-58-44-159.pools.spcsdns.net] has joined #webgui | 12:48 | |
-!- carogray1 [~Caroline@72-63-225-23.pools.spcsdns.net] has joined #webgui | 12:53 | |
-!- carogray [~Caroline@72-58-44-159.pools.spcsdns.net] has quit [Ping timeout: 255 seconds] | 12:55 | |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui | 13:15 | |
-!- carogray [~Caroline@108.119.11.224] has joined #webgui | 13:16 | |
-!- carogray1 [~Caroline@72-63-225-23.pools.spcsdns.net] has quit [Ping timeout: 260 seconds] | 13:17 | |
-!- carogray1 [~Caroline@174-146-15-199.pools.spcsdns.net] has joined #webgui | 13:22 | |
-!- carogray [~Caroline@108.119.11.224] has quit [Ping timeout: 276 seconds] | 13:25 | |
-!- carogray [~Caroline@174-146-15-199.pools.spcsdns.net] has joined #webgui | 14:36 | |
-!- Netsplit *.net <-> *.split quits: carogray1, kaare_ | 14:36 | |
-!- Netsplit over, joins: kaare_ | 14:37 | |
-!- carogray [~Caroline@174-146-15-199.pools.spcsdns.net] has quit [Read error: Connection reset by peer] | 14:37 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Read error: Connection reset by peer] | 14:52 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui | 15:00 | |
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has joined #webgui | 15:04 | |
-!- Radix-wrk [quasselcor@203.161.71.161.static.amnet.net.au] has joined #webgui | 15:59 | |
-!- mode/#webgui [+v Radix-wrk] by ChanServ | 15:59 | |
-!- qwebirc35457 [187fc35c@gateway/web/freenode/ip.24.127.195.92] has joined #webgui | 16:00 | |
qwebirc35457 | Good morning. I am having issues with Apache Modperl. It shuts down after running for just a few minutes or less. | 16:04 |
qwebirc35457 | The installation is CentOS 6.0 minimal + WebGUI 7.9.33 + wre 0.9.3 | 16:04 |
SDuensin | Greetings and stuff. | 16:48 |
+BartJol | qwebirc35457: I suppose you don't see any errors in the logs? | 17:20 |
qwebirc35457 | modproxy.error.log [Mon Jul 25 06:18:17 2011] [warn] Init: Session Cache is not configured [hint: SSLSessionCache] [Mon Jul 25 06:18:17 2011] [notice] Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8k configured -- resuming normal operations [Mon Jul 25 06:18:18 2011] [error] (111)Connection refused: proxy: HTTP: attempt to connect to 127.0.0.1:8081 (*) failed | 17:22 |
-!- Radix-wrk [quasselcor@203.161.71.161.static.amnet.net.au] has quit [Read error: Operation timed out] | 17:23 | |
+BartJol | mmm, I've seen that one, lemme think, I do see a wiki page for a very similar issue: http://www.webgui.org/community-wiki/troubleshooting-modproxy.error.log | 17:25 |
+BartJol | does that help? | 17:32 |
-!- Radix-wrk [quasselcor@203.161.71.161.static.amnet.net.au] has joined #webgui | 17:37 | |
-!- mode/#webgui [+v Radix-wrk] by ChanServ | 17:37 | |
qwebirc35457 | It hasn't helped. I haven't had enough time to setup the first site; Apache Modperl shuts down. | 17:47 |
+BartJol | ah, and the links on that page don't work | 17:49 |
+BartJol | it does look like a more common error of apache, which you might be able to fix in your conffile after which modperl should keep running | 17:51 |
-!- sbaur [~Adium@130.157.145.37] has joined #webgui | 18:07 | |
-!- dappere-dodo [~dappere-d@D57D69B6.static.ziggozakelijk.nl] has quit [Quit: This computer has gone to sleep] | 18:14 | |
-!- fokat [~lem@weston-69.65.92.206.myacc.net] has joined #webgui | 18:15 | |
-!- fokat [~lem@weston-69.65.92.206.myacc.net] has quit [Read error: Operation timed out] | 18:19 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 18:32 | |
-!- Radix-wrk [quasselcor@203.161.71.161.static.amnet.net.au] has quit [Quit: No Ping reply in 180 seconds.] | 18:40 | |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has quit [Quit: Leaving.] | 18:41 | |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui | 18:41 | |
-!- mode/#webgui [+v BartJol] by ChanServ | 18:41 | |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has quit [Client Quit] | 18:42 | |
-!- mducharme-laptop [~MDucharme@206.188.121.4] has quit [Ping timeout: 258 seconds] | 19:07 | |
-!- mducharme-laptop [~MDucharme@206.188.121.4] has joined #webgui | 19:08 | |
-!- mducharme-laptop [~MDucharme@206.188.121.4] has quit [Ping timeout: 258 seconds] | 19:15 | |
-!- mducharme-laptop [~MDucharme@206.188.121.4] has joined #webgui | 20:07 | |
-!- sin [~nelson_br@host-1-233.b4.cvc.com.py] has joined #webgui | 20:17 | |
-!- sin [~nelson_br@host-1-233.b4.cvc.com.py] has quit [Ping timeout: 252 seconds] | 20:21 | |
-!- zylopfa [~zylopfa@0x555116f0.adsl.cybercity.dk] has joined #webgui | 20:37 | |
zylopfa | hello webguians! | 20:37 |
sbaur | Hi zylopfa | 20:45 |
zylopfa | Anyone had problems with Poll.pm on custom demo sites? | 21:00 |
zylopfa | "The proxy server received an invalid response from an upstream server." I get when trying to add a poll to the site | 21:00 |
zylopfa | All the other wobjects are fine to add but the poll acts wierd | 21:01 |
zylopfa | its on 7.10.21-beta btw | 21:01 |
@scrottie | hullo | 21:13 |
zylopfa | hello scrottie ! | 21:36 |
zylopfa | preaction, can you update the i18n so i get the lates downloads from danish? | 21:56 |
@preaction | zylopfa: what do you mean? | 22:04 |
zylopfa | I have translated the shop section of the danish text at i18n.wegui.org | 22:04 |
zylopfa | i have saved and committed it | 22:04 |
zylopfa | and i can see it if i open the Shop section to make other changes | 22:05 |
zylopfa | BUT when i press Download i get an old version of the translation | 22:05 |
@preaction | i'll take a look, i'm fairly sure the download version is compiled on a periodic basis | 22:06 |
zylopfa | Yeah i thought so too :( | 22:06 |
CIA-82 | webgui: Paul Driver master * r182fc16 / (9 files in 9 dirs): added WaitForUserConfirmation activity - https://github.com/plainblack/webgui/commit/182fc16021917f665e91a8d43abbfde1daada711 | 22:08 |
CIA-82 | webgui: Paul Driver master * r7b1e385 / (5 files in 5 dirs): Added new setting - Enable Users after Anonymous Registration? - https://github.com/plainblack/webgui/commit/7b1e385dd31a7091ba5a1bc9cc581d7430c88b9d | 22:08 |
-!- dappere-dodo [~dappere-d@ip4da72a6b.direct-adsl.nl] has joined #webgui | 22:14 | |
@scrottie | zylopfa, re: Poll, open a ticket? I can't get around to trying to recreate that right now | 22:44 |
zylopfa | scrottie, its some proxy stuff i am doing it on a customized demo on my local machine | 23:03 |
zylopfa | I think its something with the local ip addresses and proxy there at the same time | 23:03 |
zylopfa | I havent been able to crete it on the pb demosite or my production servers | 23:03 |
-!- dappere-dodo [~dappere-d@ip4da72a6b.direct-adsl.nl] has quit [Quit: This computer has gone to sleep] | 23:22 | |
-!- ampli [c0722a05@gateway/web/freenode/ip.192.114.42.5] has joined #webgui | 23:36 | |
-!- elnino [~ninow@user-38q47pn.cable.mindspring.com] has joined #webgui | 23:45 | |
elnino | hi everybody! I'm back! | 23:45 |
elnino | I have a question! | 23:45 |
elnino | so.. how much flexibility do I have to incorporate a custom form into the shop? I need to ask additional information before puchase. | 23:46 |
elnino | would that require a custom "product.pm"? | 23:46 |
--- Day changed Tue Jul 26 2011 | ||
ampli | Hello. Regarding asset addition/editing in wg8: I continued to investigate the way navigation is done there, and found several problems. I fixed them, but I have a question about the desired behavior specifications. | 00:08 |
-!- zylopfa [~zylopfa@0x555116f0.adsl.cybercity.dk] has quit [Quit: Leaving] | 00:14 | |
-!- qwebirc35457 [187fc35c@gateway/web/freenode/ip.24.127.195.92] has quit [Quit: Page closed] | 00:17 | |
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has quit [Ping timeout: 258 seconds] | 00:22 | |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Ping timeout: 264 seconds] | 00:25 | |
@preaction | ok, go ahead | 00:34 |
ampli | I preaction: What are the specifications regarding save/cancel in an asset add/edit screen? Should these operations always return to the screen from which the user arrived? | 00:40 |
@preaction | yes | 00:47 |
@preaction | elnino: yes, probably. a dataform could work, but it wouldn't be required to purchase the product | 00:48 |
ampli | The current code doesn't do that. When editing an asset in a page of the site, save/cancel return to the assets page (in which the asset is shown standalone). If you edit another asset from the Dislay tab and then save/cancel, it returns to a template editing screen (that you didn't come from). In most other cases that I checked, save/cancel return to places I don't expect. | 00:58 |
CIA-82 | webgui: Colin Kuskie master * rfef167b / lib/WebGUI/Form/JsonTable.pm : Fix a syntax error in the Json table caused by my bad merge. - https://github.com/plainblack/webgui/commit/fef167bd0f655f1f754161471e4c756470b0558d | 01:01 |
ampli | Another problem is the way save is making the return. It does it by HTTP redirection. If you add/edit an asset and make a few changes, then go to the Display tab and edit another asset, then save, you would lose your changes on the original asset if you use redirect for returning! | 01:02 |
ampli | I managed to fix all of these problems by using history.go instead of redirect (also in case of save). | 01:03 |
ampli | The way I used is even simpler to implement. My test changes still use proceed(), but can be simplified by not using it. | 01:10 |
CIA-82 | webgui: Paul Driver master * r29f06a1 / (docs/gotcha.txt etc/WebGUI.conf.original): A couple of forgotten things for the WaitForUserConfirmation workflow - https://github.com/plainblack/webgui/commit/29f06a1062f614badcc5505e62313e36005593eb | 01:11 |
ampli | But maybe I missed something, since I didn't understand why the current implementaion uses redirection in order to return to the previous location. | 01:13 |
ampli | I need a feedback on that, so I will know if to continue this way and fix everything left in the same way. | 01:15 |
ampli | I also found problems regarding YUI buttons, and also have some questions regarding that.... | 01:16 |
CIA-82 | webgui: Colin Kuskie master * rd7112b2 / lib/WebGUI/Content/PDFGenerator.pm : Add POD to PDFGenerator so it passes tests. - https://github.com/plainblack/webgui/commit/d7112b2a3bc8d168af940a0f58d570439789b812 | 02:13 |
-!- sbaur [~Adium@130.157.145.37] has quit [Quit: Leaving.] | 02:29 | |
-!- Radix-wrk [quasselcor@203.161.71.161.static.amnet.net.au] has joined #webgui | 02:41 | |
-!- mode/#webgui [+v Radix-wrk] by ChanServ | 02:41 | |
CIA-82 | webgui: Colin Kuskie master * r0ed4d4a / (3 files in 2 dirs): Fix bad tests that were order dependent on the FS. Fix tests that leaked assets and/or version tags. - https://github.com/plainblack/webgui/commit/0ed4d4a122a7c56497d30fa13d964b969dc90256 | 02:59 |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 03:21 | |
-!- mducharme-laptop [~MDucharme@206.188.121.4] has quit [Quit: Leaving.] | 03:29 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Read error: Connection reset by peer] | 05:04 | |
-!- perlbot [simcop2387@isuckatdomains.net] has quit [Read error: Operation timed out] | 06:00 | |
elnino | hi preaction. I'm back. I was thinking if I use the store, I would use subscriptions, but it sounds like there isn't any "form" to fill out per se. | 06:02 |
elnino | From what I gather, they want peopel to register on the site and then have people fill in an application. I would use a store or subscription because they want the application to be renewed every X months. | 06:03 |
elnino | so that why I thought about subscriptions. AND I believe depending on the answers on the form, they would be put into certain security group. | 06:03 |
-!- perlbot [simcop2387@isuckatdomains.net] has joined #webgui | 06:09 | |
@scrottie | hi perlbot | 06:09 |
@scrottie | perlbot, varvars? | 06:10 |
@scrottie | perlbot, botsnack! | 06:10 |
@scrottie | odd. | 06:10 |
elnino | I suppose I'm not makeing any sense. | 06:10 |
elnino | I'm going to watch stargate SG1 and think about this more. | 06:10 |
perlbot | scrottie: hi | 06:12 |
perlbot | scrottie: No factoid found. Did you mean one of these: [var vars] [varvar] [varvarname] | 06:12 |
perlbot | scrottie: I'm not your prank monkey | 06:12 |
@scrottie | perlbot, var vars? | 06:17 |
perlbot | scrottie: http://perl.plover.com/varvarname.html | 06:17 |
@scrottie | perlbot, webgui? | 06:17 |
perlbot | scrottie: WebGUI - an open source content management system written in Perl - http://webgui.org | Also see #webgui on irc.freenode.net | 06:17 |
@scrottie | carry on, soldier. | 06:21 |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Ping timeout: 250 seconds] | 06:44 | |
CIA-82 | webgui: Colin Kuskie master * r3b67bd2 / docs/create.sql : Preparing for 7.10.21 release. - https://github.com/plainblack/webgui/commit/3b67bd244b8634470b9e7df363b65a6e3a6ceae8 | 06:56 |
CIA-82 | webgui: Colin Kuskie master * r5e40bf4 / (4 files in 4 dirs): Ready for 7.10.21 development - https://github.com/plainblack/webgui/commit/5e40bf45285e5eb5f167f741e0859e508ef30647 | 07:24 |
elnino | can I still use custom fields on the user registration form? | 07:25 |
@preaction | yes | 07:28 |
elnino | I'll just user that. | 07:28 |
elnino | s/user/use | 07:28 |
elnino | is there anything in webgui where, if a user selects an item in one drop list, another drop list's choices change depending on the first drop lists's selection? | 07:54 |
elnino | I sure hope thingy has somethign like that. I guess I'll be finding out soon. Good night. | 08:10 |
-!- elnino [~ninow@user-38q47pn.cable.mindspring.com] has quit [Quit: Leaving] | 08:10 | |
-!- daviddelikat [~user@ppp-70-226-160-87.dsl.mdsnwi.ameritech.net] has quit [Ping timeout: 276 seconds] | 09:06 | |
-!- daviddelikat [~user@ppp-70-226-164-226.dsl.mdsnwi.ameritech.net] has joined #webgui | 09:13 | |
CIA-82 | webgui: Scott Walters WebGUI8 * re945a94 / (12 files in 8 dirs): Reworked error handling to propogate errors downward, especially when webgui.debug is set - https://github.com/plainblack/webgui/commit/e945a94c63e2c39eea5369b2ef549aefc6bd7710 | 10:11 |
-!- waxhead [~pete@ppp121-45-197-126.lns20.cbr1.internode.on.net] has joined #webgui | 10:31 | |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui | 10:52 | |
-!- mode/#webgui [+v BartJol] by ChanServ | 10:52 | |
-!- frodwith [~frodwith@helios.tapodi.net] has quit [Ping timeout: 240 seconds] | 12:06 | |
-!- frodwith [~frodwith@helios.tapodi.net] has joined #webgui | 12:07 | |
-!- mode/#webgui [+o frodwith] by ChanServ | 12:07 | |
-!- dappere-dodo [~dappere-d@ip4da72a6b.direct-adsl.nl] has joined #webgui | 12:29 | |
-!- dappere-dodo [~dappere-d@ip4da72a6b.direct-adsl.nl] has quit [Quit: This computer has gone to sleep] | 12:37 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 14:24 | |
-!- kaare_ [~kaare@95.209.214.226.bredband.oister.dk] has joined #webgui | 14:51 | |
-!- dappere-dodo [~dappere-d@ip4da72a6b.direct-adsl.nl] has joined #webgui | 15:32 | |
-!- carogray1 [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 15:43 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Ping timeout: 255 seconds] | 15:47 | |
-!- dappere-dodo [~dappere-d@ip4da72a6b.direct-adsl.nl] has quit [Quit: This computer has gone to sleep] | 16:32 | |
SDuensin | Greetings. | 16:54 |
-!- Radix-wrk [quasselcor@203.161.71.161.static.amnet.net.au] has quit [Ping timeout: 252 seconds] | 16:59 | |
-!- Radix-wrk [quasselcor@203.161.71.161.static.amnet.net.au] has joined #webgui | 17:40 | |
-!- mode/#webgui [+v Radix-wrk] by ChanServ | 17:40 | |
-!- sbaur [~Adium@130.157.145.37] has joined #webgui | 17:59 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 18:19 | |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has quit [Quit: Leaving.] | 18:36 | |
-!- qwebirc57163 [187fc35c@gateway/web/freenode/ip.24.127.195.92] has joined #webgui | 18:40 | |
qwebirc57163 | Please help with Perl modules install. JavaScript::Packer, CSS::Packer, HTML::Packer ... I get Error - Couldn't untar "module-name-version.tar" | 18:46 |
qwebirc57163 | I've setup CentOS 5.6 + WRE-WG - Beta 7.10.21 on a VMware vm. | 18:46 |
@scrottie | yikes. I don't know CentOS, but is it possible you need to do 'yum install tar'? surely CentOS does not not come without a tar | 18:51 |
@scrottie | type 'tar' at the command shell and see if it finds it...? | 18:51 |
@scrottie | if so, more diagnostic output is needed | 18:51 |
-!- vanjwilson [~vanjwilso@adsl-070-148-067-249.sip.clt.bellsouth.net] has joined #webgui | 18:53 | |
qwebirc57163 | Package 2:tar-1.15.1-30.el5.i386 already installed and latest version Nothing to do | 18:53 |
@scrottie | run this as root: cpan JavaScript::Packer | 18:54 |
@scrottie | if it fails, paste the full output of that into a gist.github.com note and paste the URL to that here | 18:55 |
-!- mducharme-laptop [~MDucharme@206.188.121.4] has joined #webgui | 18:58 | |
vanjwilson | Does anyone have a preference for how to save an SQL Report out to an Excel file? (I've seen Spreadsheet::WriteExcel mentioned--is there an internal Webgui asset?) | 19:04 |
qwebirc57163 | <@scrottie> git://gist.github.com/1107100.git | 19:05 |
@scrottie | you should be able to export them as csvs. Excel will read a csv file. | 19:07 |
@scrottie | qwebirc57163, btw, the URL from the URL bar, eg https://gist.github.com/1107100, is preferred in this case | 19:07 |
@scrottie | then I can just open it in my browser | 19:07 |
@scrottie | qwebirc, that's very informative but sort of depressing... it looks like 'tar' worked fine but exited with a failure code because it didn't know how to handle some extensions to the tar format present in this tar file... it looks like those extensions are utterly unimportant and just causing trouble, as usual. | 19:09 |
qwebirc57163 | thanks. First time user. | 19:09 |
@scrottie | I don't have a good fix for this off hand, without resorting to radical measures. | 19:09 |
-!- Radix-wrk [quasselcor@203.161.71.161.static.amnet.net.au] has quit [Ping timeout: 260 seconds] | 19:09 | |
@scrottie | for what it's worth, it's some problem between RedHat and the tar that created that tar file. | 19:10 |
@scrottie | in a larger context, it's a 'cpan' (program) problem, since it has to support all of this garbage. | 19:10 |
@scrottie | sorry I don't have better news for ya. if you do 'man tar' on your system, there might be instructions about setting an environment variable to silence/ignore these warnings... that would make this work. | 19:11 |
@scrottie | if it is GNU tar, it is probably just configured oddly by RedHat... what does it say when you do this at the command shell: echo $TAR_OPTIONS | 19:12 |
qwebirc57163 | Put me back at prompt | 19:13 |
@scrottie | okay, so nothing. | 19:13 |
qwebirc57163 | correct | 19:14 |
vanjwilson | @scrottie, Thanks for the tip, but we are also looking for a way to have a little PDF icon on a dashboard, so that's it's one click without even having to view the report onscreen (sorry if this is a noob question, but I thought the download option wasn't that customizable) | 19:14 |
@scrottie | do this: export TAR_OPTIONS='--warning==none';cpan JavaScript::Packer | 19:15 |
@scrottie | vanjwilson, question is fine. sounds like you have a healthy relationship with the docs. I don't entirely follow. how were you meaning to go from xls to pdf? do you have some other software for that? did you see frodwith's recent PDF support patch? that should be in the latest dev/beta version of WebGUI now. | 19:17 |
qwebirc57163 | <@scrottie> https://gist.github.com/1107152 | 19:18 |
@scrottie | oops, --warning=none, not ==... trying it myself here right quick | 19:18 |
@scrottie | oh, for crying outloud... | 19:20 |
@scrottie | utterly fails for entirely different reasons | 19:20 |
@scrottie | uh, nope. fails for reasons related to this tar being wonky. | 19:21 |
* scrottie ponders his existance | 19:21 | |
vanjwilson | @scrottie, sorry, we are looking for 2 ways to export the same on-screen SQL report (we did see http://www.webgui.org/forums/dev/webgui::content::pdfgenerator), and we only want the Excel export to be raw cells (no formulas, charts, etc.) | 19:21 |
@scrottie | vanjwilson, unless you can convince me otherwise, I'm certain that the existing CSV output should work fine for your purposes. | 19:22 |
@scrottie | you should be able to process it however you're processing .xls files. | 19:22 |
@scrottie | the only difference is that many spreadsheet programs can read csv (including Excel) whereas only Excel can read .xls (except for cases where other spreadsheets went through great effort to try to implement Microsoft's secret file format) | 19:22 |
vanjwilson | scrottie, okay, I'm sold, but do we need to create 2 versions of the asset, one with screen output, and another called from the cute little Excel icon link that has no screen output--just direct to download option? | 19:24 |
@scrottie | qwebirc57163: here's something of an outside path. go to search.cpan.org, find JavaScript::Packer there, find the 1.003 version of it (or 1.002 version if you need to), download that, do tar -xzvf JavaScript-Packer-1.003.tar.gz on that, cd into the directory it makes, then do 'cpan .' in there | 19:24 |
@scrottie | qwebirc57163: that's based on the guess that only this latest .tar.gz is completely mucked up and the last one wasn't. | 19:24 |
@scrottie | vanjwilson: shouldn't need two copies of the asset, merely an extra link to it with ?func=export on the end | 19:25 |
@scrottie | I'm still not clear on how you're thinking of automating converting the spreadsheet export into a pdf... other software? | 19:25 |
@scrottie | if it doesn't concern me right now, that's fine. | 19:26 |
@scrottie | just don't want to steer you wrong. | 19:26 |
vanjwilson | scrottie, great, thanks (sounds like I was overthinking the excel option), oh, no, we are not convert the excel to PDF, but the onscreen report to PDF | 19:27 |
@scrottie | ah | 19:28 |
@scrottie | sure, happy to comment. | 19:28 |
qwebirc57163 | <@scrottie> tar xzvf JavaScript-Packer-1.004.tar.gz --- tar -xzvf JavaScript-Packer-1.004.tar.gz, doesn't untar the file -- tar: unrecognized option `--warning==none' Try `tar --help' or `tar --usage' for more information. | 19:44 |
sbaur | qwebirc57163: export TAR_OPTIONS='' (those are two single quotes) | 19:53 |
sbaur | it's complaining about the tar options scrottie gave you earlier | 19:53 |
qwebirc57163 | <sbaur> New error while installing javascript::packer -- Couldn't untar Regexp-RegGrp-1.002.tar | 20:00 |
* sbaur perplexed | 20:01 | |
sbaur | i just tried installing it on one of my rhel vms, and got an error about the version of perl. Of course I'm running a really old wre so that may be the problem | 20:06 |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 20:07 | |
@scrottie | on this Debian machine, rather than files containing what they were supposed to, they contained what looks like warnings from tar about unknown properties | 20:09 |
@scrottie | this is the Module::Build stuff in inc:: / inc/ | 20:09 |
@scrottie | bizarre. | 20:09 |
@scrottie | so, I decided to blame the .tar.gz rather than tar | 20:09 |
@scrottie | my tar wouldn't finish without --warning=none | 20:09 |
@scrottie | and qwebirc, --warning=none, not --warning==none (I put an extra = in there... ) | 20:10 |
@scrottie | when it did finish with --warning=none, the output was incorrect | 20:10 |
@scrottie | so, try an earlier version | 20:10 |
@scrottie | but if this is happening on other files, I have no idea. | 20:10 |
sbaur | qwebirc57163 and scrottie: on my rhel5 box, running the same version of tar, tar-1.15.1-30.el5, I get a whole bunch of extedned header keyword errors that end in a could not untar error | 20:22 |
sbaur | this is on a box without webgui or wre, just stock rhel packages | 20:23 |
@scrottie | sbaur, I get the same warnings from that particular .tar.gz using some Debian | 20:25 |
-!- dappere-dodo [~dappere-d@ip4da72a6b.direct-adsl.nl] has joined #webgui | 20:35 | |
-!- dappere-dodo [~dappere-d@ip4da72a6b.direct-adsl.nl] has quit [Quit: This computer has gone to sleep] | 20:49 | |
-!- ampli [c0722a05@gateway/web/freenode/ip.192.114.42.5] has quit [Quit: Page closed] | 21:01 | |
-!- dreamersgirl [~chatzilla@137.53.249.129] has joined #webgui | 21:36 | |
-!- dreamersgirl [~chatzilla@137.53.249.129] has quit [Quit: ChatZilla 0.9.87 [Firefox 5.0/20110615151330]] | 21:47 | |
-!- dappere-dodo [~dappere-d@ip4da72a6b.direct-adsl.nl] has joined #webgui | 22:04 | |
-!- sin [~nelson_br@host-1-233.b4.cvc.com.py] has joined #webgui | 22:04 | |
-!- sin [~nelson_br@host-1-233.b4.cvc.com.py] has quit [Ping timeout: 252 seconds] | 22:08 | |
-!- dappere-dodo [~dappere-d@ip4da72a6b.direct-adsl.nl] has quit [Quit: Leaving] | 22:23 | |
-!- vanjwilson [~vanjwilso@adsl-070-148-067-249.sip.clt.bellsouth.net] has left #webgui [] | 22:25 | |
-!- dappere-dodo [~dappere-d@ip4da72a6b.direct-adsl.nl] has joined #webgui | 22:28 | |
-!- sin [~nelson_br@host-1-233.b4.cvc.com.py] has joined #webgui | 22:30 | |
-!- dappere-dodo [~dappere-d@ip4da72a6b.direct-adsl.nl] has quit [Client Quit] | 22:30 | |
-!- kaare_ [~kaare@95.209.214.226.bredband.oister.dk] has quit [Ping timeout: 240 seconds] | 23:42 | |
--- Day changed Wed Jul 27 2011 | ||
-!- SquOnk [~emhn@186.93.207.12] has joined #webgui | 00:06 | |
SquOnk | Greetings. | 00:06 |
-!- qwebirc57163 [187fc35c@gateway/web/freenode/ip.24.127.195.92] has quit [Quit: Page closed] | 00:08 | |
-!- carogray1 [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Read error: Connection reset by peer] | 00:47 | |
-!- carogray1 [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 00:53 | |
-!- Radix-wrk [quasselcor@203.161.71.161.static.amnet.net.au] has joined #webgui | 01:07 | |
-!- mode/#webgui [+v Radix-wrk] by ChanServ | 01:07 | |
-!- sin [~nelson_br@host-1-233.b4.cvc.com.py] has left #webgui [] | 01:13 | |
SquOnk | Hi people. | 01:41 |
SquOnk | Inside an Asset Report Template that is reporting on Articles *only*. | 01:42 |
@scrottie | hrm? | 01:42 |
SquOnk | ^AssetProperty(<tmpl_var shortcutToAssetId>,storageId); is giving me the correct storageId for the Article. | 01:43 |
SquOnk | But | 01:43 |
SquOnk | ^StorageUrl(^AssetProperty(<tmpl_var shortcutToAssetId>,storageId);,'thumb',0); | 01:43 |
SquOnk | is NOT giving me the correct URL for the first image. | 01:43 |
SquOnk | scrottie: I have an AR reporting on Articles, and I use StorageUrl to get to the first attached image, just fine. | 01:44 |
SquOnk | scrottie: No I have an AR reporting on Shortcuts to Articles, and I want to have access to the first attached image. | 01:44 |
SquOnk | scrottie: I used ^AssetProperty(<tmpl_var shortcutToAssetId>,storageId); and it's giving me the correct storageId for the Article. | 01:44 |
SquOnk | scrottie: But nesting ^AssetPropert(...) as first argument to ^StorageUrl is not working. | 01:45 |
@scrottie | no guesses from me on that one. sorry. | 01:46 |
SquOnk | scrottie: All right. | 01:46 |
SquOnk | scrottie: I browsed both macros and they couldn't be any simpler. | 01:46 |
SquOnk | scrottie: If I hardcode the storageId in the nested call, it works :/ | 01:46 |
SquOnk | scrottie: I tried adding quotes around the nested call, no joy. | 01:47 |
sbaur | could it be a character in the storage Id that needs to be escaped? | 01:47 |
SquOnk | sbaur: Good point, but in this case, both storageIds are plain... | 01:48 |
SquOnk | ti_HyJkeqMTEzPpR3O9rxg and f0Qqm9LG96LR6YsbkFMgNQ | 01:48 |
SquOnk | (nothing to escape there) | 01:48 |
sbaur | something we've run into before with nested macros... | 01:48 |
SquOnk | sbaur: However, you sparked an idea. | 01:50 |
SquOnk | If I use single quotes (') around the nested call, the thing doesn't work. | 01:50 |
SquOnk | If I use double quotes (") around the nested call, the darn thing works. | 01:50 |
SquOnk | sbaur: So thanks for the lateral hint :) | 01:50 |
sbaur | w00t | 01:50 |
sbaur | glad to help :) | 01:50 |
@scrottie | hurm. | 01:53 |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Ping timeout: 255 seconds] | 02:28 | |
-!- sbaur [~Adium@130.157.145.37] has quit [Quit: Leaving.] | 02:31 | |
-!- SquOnk [~emhn@186.93.207.12] has quit [Quit: Yippie kay-ai-yay, fudder muckers!] | 02:33 | |
-!- mducharme-laptop [~MDucharme@206.188.121.4] has quit [Quit: Leaving.] | 03:17 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Ping timeout: 240 seconds] | 03:25 | |
-!- mech422 [41139772@gateway/web/freenode/ip.65.19.151.114] has joined #webgui | 03:34 | |
mech422 | Hi all | 03:35 |
mech422 | quick question wrt wg 7.7.9 - is there an easy way to access cookies from a template ? | 03:35 |
mech422 | for instance I'd like to see if a 'wgLogin' cookie exists, and if so display 'Logged In' otherwise display "Login Please" ? | 03:36 |
@scrottie | the login box WebGUI macro can be templated. | 03:39 |
@scrottie | that's the sane route. | 03:39 |
mech422 | yeah - this is just an example | 03:40 |
mech422 | what I'd really like is be able to reference a cookie without writing a macro for every use case | 03:40 |
@scrottie | looks like ^L sets template vars for hello.label, logout.url, logout.label and a few other things... user.isVisitor | 03:40 |
mech422 | it appears I get access to some session vars in templates - but not all of them ? | 03:40 |
@scrottie | then you can display one or another thing based on that. | 03:41 |
@scrottie | depends on what is displaying the template. | 03:41 |
@scrottie | in this case, I'm suggesting that you provide a custom template for the login macro, since it sets the template vars it sounds like you want. | 03:41 |
@scrottie | more in general, as far as accessing cookies from the template, one would have ask, "server side or client side?" | 03:41 |
mech422 | server side | 03:42 |
@scrottie | I don't see a macro offhand that does that. | 03:42 |
mech422 | I want to be able to use the existance of a cookie (or even better its value) to enable conditional processing | 03:42 |
mech422 | I didn't see one either | 03:42 |
mech422 | suppose I'll just write a macro then | 03:43 |
@scrottie | you could do that. I think what's generally done in this case is multiple assets are added to a page layout with permission set on some of them such that they're only viewable by registered users (group) | 03:43 |
@scrottie | you may sort of be re-inventing that wheel. | 03:44 |
mech422 | actually - the only goal here is to determine the presence (or better value) of the cookie... | 03:44 |
mech422 | it has nothing to do with content | 03:44 |
mech422 | I'm just testing the logic I added to login/logout are actually setting and removing the cookies properly | 03:45 |
mech422 | and I don't feel like looking at every request in firebug :-P | 03:45 |
@scrottie | right. you could do that server side or client side, sounds like. | 03:45 |
mech422 | eh - clientside isn't my strong suit... | 03:46 |
mech422 | suppose I could try it though | 03:46 |
mech422 | prolly faster just to do a macro though | 03:46 |
@scrottie | that's a pretty simple chore... looking up a cookie... | 03:46 |
mech422 | thing is - what would it _do_ ? I don't want a popup as this is a live site... oh! I could have it rewrite the login box title thru the DOM... | 03:47 |
mech422 | Hmm - ok... | 03:47 |
mech422 | thanks for the help | 03:47 |
@scrottie | sure, happy to comment on stuff. | 03:48 |
-!- mech422 [41139772@gateway/web/freenode/ip.65.19.151.114] has quit [Quit: Page closed] | 03:48 | |
-!- fokat [~lem@adsl-98-64-221-68.mia.bellsouth.net] has joined #webgui | 04:03 | |
-!- fokat [~lem@adsl-98-64-221-68.mia.bellsouth.net] has quit [Ping timeout: 260 seconds] | 04:16 | |
-!- preaction [~preaction@li79-149.members.linode.com] has quit [Quit: ZNC - http://znc.sourceforge.net] | 05:14 | |
-!- preaction [~preaction@li79-149.members.linode.com] has joined #webgui | 05:14 | |
-!- mode/#webgui [+o preaction] by ChanServ | 05:14 | |
-!- carogray1 [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Read error: Connection reset by peer] | 05:26 | |
-!- elnino [~ninow@user-38q47pn.cable.mindspring.com] has joined #webgui | 05:26 | |
-!- elnino [~ninow@user-38q47pn.cable.mindspring.com] has quit [Quit: Leaving] | 05:45 | |
-!- kaare_ [~kaare@79.138.166.95.bredband.oister.dk] has joined #webgui | 06:18 | |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui | 10:33 | |
-!- mode/#webgui [+v BartJol] by ChanServ | 10:34 | |
-!- Radix-wrk [quasselcor@203.161.71.161.static.amnet.net.au] has quit [Ping timeout: 246 seconds] | 12:55 | |
-!- carogray [~Caroline@174-152-63-27.pools.spcsdns.net] has joined #webgui | 12:55 | |
-!- Radix-wrk [quasselcor@203.161.71.161.static.amnet.net.au] has joined #webgui | 12:55 | |
-!- mode/#webgui [+v Radix-wrk] by ChanServ | 12:55 | |
-!- daviddelikat [~user@ppp-70-226-164-226.dsl.mdsnwi.ameritech.net] has quit [Ping timeout: 240 seconds] | 13:12 | |
-!- carogray1 [~Caroline@184.240.69.219] has joined #webgui | 13:21 | |
-!- carogray [~Caroline@174-152-63-27.pools.spcsdns.net] has quit [Ping timeout: 260 seconds] | 13:22 | |
-!- carogray [~Caroline@173-103-243-193.pools.spcsdns.net] has joined #webgui | 13:29 | |
-!- carogray1 [~Caroline@184.240.69.219] has quit [Ping timeout: 260 seconds] | 13:31 | |
-!- carogray1 [~Caroline@108.127.203.220] has joined #webgui | 14:34 | |
-!- carogray [~Caroline@173-103-243-193.pools.spcsdns.net] has quit [Read error: Connection reset by peer] | 14:35 | |
-!- carogray [~Caroline@173-103-243-193.pools.spcsdns.net] has joined #webgui | 14:49 | |
-!- carogray1 [~Caroline@108.127.203.220] has quit [Ping timeout: 276 seconds] | 14:52 | |
-!- carogray [~Caroline@173-103-243-193.pools.spcsdns.net] has quit [Read error: Connection reset by peer] | 14:58 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 15:09 | |
-!- carogray1 [~Caroline@host2.209.113.248.conversent.net] has joined #webgui | 15:28 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Read error: Connection reset by peer] | 15:35 | |
SDuensin | Greetings. | 16:45 |
-!- sbaur [~Adium@130.157.145.37] has joined #webgui | 16:55 | |
-!- mducharme1 [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui | 16:57 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Ping timeout: 252 seconds] | 16:59 | |
sbaur | I don't seem to be getting any email from PB forums/helpdesks this morning... | 17:42 |
+BartJol | mm, maybe they have to do a spectre restart | 17:43 |
sbaur | maybe... | 17:43 |
+BartJol | haven't posted anything today | 17:44 |
sbaur | i've added an update to a private ticket, which I still haven't received in email this morning | 17:44 |
+BartJol | well, can't help you with that, haven't got access | 17:48 |
sbaur | 2 out of 3 sites updated on this server, now it's time for the upgrade that will take forever... | 17:48 |
+BartJol | from what version? | 17:49 |
sbaur | 7.5.40 to 7.6.35, the one with all the utf-8 checks and userprofile privileges changes | 17:50 |
sbaur | and i have 69K users... | 17:50 |
+BartJol | ah, joy | 17:51 |
sbaur | it may finish in an hour or so... | 17:51 |
+Radix-wrk | heh.. and here I am with only 19k users and 7.0.8 and thinking I had it bad ;) | 17:52 |
+Radix-wrk | hey BartJol :) | 17:52 |
+BartJol | mmm, staring at upgrade script output... | 17:52 |
+BartJol | Hey Radix-wrk | 17:52 |
+BartJol | hows life down under? | 17:52 |
+Radix-wrk | good good :) | 17:53 |
+Radix-wrk | always busy lately.. which sucks, but it seems to be the norm everywhere of late | 17:53 |
+BartJol | winter over there, with a whooping cold 19 C | 17:54 |
+Radix-wrk | I know.. it's terrible when it gets so cold ;) | 17:54 |
+BartJol | yeah, busy people all around | 17:54 |
+Radix-wrk | actually it's only just warmed up a bit.. was around 2-3'C overnight not that long ago.. got a bit of rain now and things have warmed up because of it | 17:55 |
+BartJol | well our summer is about the same atm | 17:55 |
+BartJol | rain, 19 C | 17:55 |
+Radix-wrk | aww.. that's no good - hope it warms up for you soon | 17:55 |
+BartJol | well it is better at the office with these temperature | 17:56 |
+BartJol | this | 17:56 |
+Radix-wrk | would you believe it's been 5 years since I was at Oqapi - I'm planning another sabbatical atm | 17:56 |
+BartJol | oh, cool | 17:56 |
+Radix-wrk | off to the US in oct | 17:56 |
+BartJol | cool, which part(s) | 17:57 |
+BartJol | ? | 17:57 |
+Radix-wrk | everywhere lol | 17:57 |
+Radix-wrk | sf, seattle, ny, dc, pheonix, honolulu is the plan atm | 17:57 |
+Radix-wrk | a month in total | 17:57 |
+BartJol | ah, no madison? | 17:57 |
+Radix-wrk | not this trip | 17:58 |
+Radix-wrk | is there a wuc this year? I couldn't find anything about it.. | 17:58 |
+Radix-wrk | going to a conference in sf and another in seattle | 17:58 |
+BartJol | not afaik | 17:58 |
+BartJol | ah, on perl? | 17:58 |
+Radix-wrk | a week in new york.. visiting extended family in pheonix and then honolulu to relax before we get back home | 17:59 |
+Radix-wrk | not on perl this time.. attending StackOverflow's DevDays in SF and then Visual Studio Live at Microsoft HQ in Redmond, Seattle | 18:00 |
+BartJol | wife is coming along? | 18:00 |
+Radix-wrk | yeah, Yumi's coming :) | 18:00 |
+BartJol | microsoft, well evil is spreading | 18:00 |
+Radix-wrk | hehe | 18:00 |
+BartJol | even I am doing win sysadmin courrse atm | 18:00 |
+Radix-wrk | Well the company I work for makes its money selling windows software, so can't help the MS connection ;) | 18:01 |
+BartJol | well as long as you sell your soul for the right price | 18:02 |
+Radix-wrk | haha | 18:02 |
+Radix-wrk | Well I gotta get to bed, but good to say hi Bart :) - send my regards to Joeri, Martin, Koen and the rest of the gang for me :) | 18:06 |
+BartJol | I will | 18:07 |
+BartJol | sleep tight | 18:07 |
+BartJol | sbaur: I do get bug notifications | 18:24 |
sbaur | i just got 5 messages from various fora too | 18:25 |
sbaur | including the ones that were missing earlier | 18:25 |
sbaur | guess they restarted spectre | 18:26 |
sbaur | :) | 18:26 |
+BartJol | :) | 18:27 |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has quit [Quit: Leaving.] | 18:34 | |
-!- vayde [~vayde@184-100-68-187.mpls.qwest.net] has quit [Remote host closed the connection] | 18:35 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 18:47 | |
-!- vayde [~vayde@184-100-68-187.mpls.qwest.net] has joined #webgui | 18:58 | |
-!- mducharme-laptop [~MDucharme@206.188.121.4] has joined #webgui | 19:03 | |
-!- rizen [~rizen@71-87-113-102.dhcp.mdsn.wi.charter.com] has joined #webgui | 19:07 | |
-!- mode/#webgui [+o rizen] by ChanServ | 19:08 | |
CIA-82 | webgui: Paul Driver webgui-7.9 * ra3a894b / (3 files in 3 dirs): | 19:22 |
CIA-82 | webgui: fixed #12206: Bad Subscription Groups in Duplicated Threads | 19:22 |
CIA-82 | webgui: Conflicts: | 19:22 |
CIA-82 | webgui: docs/changelog/7.x.x.txt - https://github.com/plainblack/webgui/commit/a3a894ba45239bc7e650409d5b349c0546b85657 | 19:22 |
CIA-82 | webgui: Paul Driver master * r9738ec0 / (3 files in 3 dirs): fixed #12206: Bad Subscription Groups in Duplicated Threads - https://github.com/plainblack/webgui/commit/9738ec0171a503bab304f75268dd2a2e592f8e46 | 19:22 |
-!- rizen [~rizen@71-87-113-102.dhcp.mdsn.wi.charter.com] has left #webgui [] | 19:24 | |
sbaur | 2 hours and 15 minutes to update one site to 7.6.35, wow | 20:12 |
sbaur | now to replace the survey on the other site | 20:13 |
sbaur | Is there anyway to delete an entry out of a survey? (through the UI) | 20:39 |
sbaur | UI* | 20:40 |
@scrottie | delete a question? or a response? | 20:57 |
sbaur | delete a response | 20:57 |
@scrottie | hrm. | 20:57 |
@scrottie | I see a deleteResponses func that "Deletes all responses from this survey instance." | 20:59 |
@scrottie | technically, that accomplishes what you requested, deleting _a_ response ;) | 20:59 |
sbaur | wonder why I didn't see that, since my response is the only one right now, that would be fine | 21:00 |
@scrottie | still, that's less than satisfactory. | 21:00 |
@scrottie | you could always take the responseId from the URL when viewing that response and do: delete from Survey_response where responseId = 'whatever'; | 21:00 |
@scrottie | at the mysql prompt | 21:01 |
sbaur | i don't seem to have a link for delete all, or any way to view one, may be a custom template problem | 21:01 |
@scrottie | ?func=deleteResponses should do it, if I'm reading this right | 21:02 |
@scrottie | there doesn't seem to be any sort of confirmation | 21:02 |
sbaur | am giving it a try | 21:03 |
sbaur | that did not delete anything, so it's there but not implemented somehow? | 21:04 |
sbaur | at least not yet in 7.6.35, which was the first iteration of this new survey | 21:04 |
@scrottie | I'm looking at the WebGUI8 branch... you might do grep 'sub www_' lib/WebGUI/Asset/Wobject/Survey.pm to see what funcs are implemented | 21:04 |
@scrottie | git show v7.6.35 -- li^CWebGUI/Asset/Wobject/Survey.pm # nada. hrm. | 21:05 |
sbaur | there is a sub called deleteResponses | 21:05 |
@scrottie | er, without the li^C | 21:06 |
@scrottie | looks like it should work but I haven't tested it. | 21:06 |
sbaur | it's a simple looking sub, but didn't seem to work | 21:07 |
sbaur | i think I'll check the db (with the hint here) and see if I can do it there | 21:07 |
@scrottie | okay. just be careful.. if you delete from Survey_response without any 'where' clause, it'll delete all responses for all surveys, so you need to pin it down by either responseId or assetId (from the survey) | 21:09 |
sbaur | i'll get the response IDs | 21:09 |
sbaur | that got rid of them, thanks scrottie | 21:11 |
@scrottie | sure. | 21:11 |
sbaur | next thing will be figuring out importing data from our old survey to the new survey, but that one's on someone else's plate :-) | 21:12 |
@scrottie | oh, fun. | 21:14 |
sbaur | encoding and decoding json, not my idea of a good time | 21:14 |
@scrottie | as it is, the responses link to not just a survey, but the exact version of it... | 21:14 |
@scrottie | and old versions of the survey are kept around just so that the responses can be viewed | 21:15 |
@scrottie | change anything in the survey and the responses don't match up correctly any more otherwise | 21:15 |
@scrottie | trying to make old responses work with newer revisions of the survey is going to be interesting | 21:15 |
@scrottie | (this is rare instance of a topic coming up on IRC related to WebGUI that I actually know anything about) | 21:15 |
sbaur | It's even rarer when I can answer a question | 21:16 |
sbaur | hopefully, we'll get our responses in before we change anything in the survey. | 21:16 |
@scrottie | mother... | 23:01 |
-!- kaare_ [~kaare@79.138.166.95.bredband.oister.dk] has quit [Read error: Operation timed out] | 23:15 | |
-!- qwebirc33250 [187fc35c@gateway/web/freenode/ip.24.127.195.92] has joined #webgui | 23:20 | |
qwebirc33250 | Can Story Manager, Story Archive or more specifically Story Topic have a 'read more' implemented like that used in the Collaboration System? | 23:23 |
CIA-82 | webgui: Colin Kuskie master * r1d54196 / (8 files in 7 dirs): Add payment driver for Authorize.net. i18n, upgrade script, config file changes, and new template. - https://github.com/plainblack/webgui/commit/1d54196f449ba5f5f1ab9ac67cd2ad7086dd3497 | 23:25 |
qwebirc33250 | Yesterday you helped me with Centos 5.6, WRE & WG current beta - issues with JavaScript, CSS, HTML ::Packer. I gave up because or more issues and is currently using Debian-6.0.2.1; it works great with both stable and beta wg. | 23:30 |
--- Day changed Thu Jul 28 2011 | ||
-!- daviddelikat [~user@76.201.153.155] has joined #webgui | 00:10 | |
-!- carogray1 [~Caroline@host2.209.113.248.conversent.net] has quit [Read error: Connection reset by peer] | 00:14 | |
-!- carogray [~Caroline@173-103-23-62.pools.spcsdns.net] has joined #webgui | 00:34 | |
-!- SquOnk [~emhn@186.93.207.12] has joined #webgui | 00:39 | |
SquOnk | Greetings | 00:39 |
-!- carogray1 [~Caroline@108.110.240.232] has joined #webgui | 00:40 | |
@scrottie | howdy | 00:42 |
-!- carogray [~Caroline@173-103-23-62.pools.spcsdns.net] has quit [Ping timeout: 255 seconds] | 00:42 | |
-!- waxhead [~pete@ppp121-45-197-126.lns20.cbr1.internode.on.net] has quit [Quit: Ex-Chat] | 00:43 | |
-!- SquOnk [~emhn@186.93.207.12] has quit [Quit: Yippie kay-ai-yay, fudder muckers!] | 01:21 | |
-!- sbaur [~Adium@130.157.145.37] has quit [Quit: Leaving.] | 01:35 | |
-!- carogray [~Caroline@173-124-63-224.pools.spcsdns.net] has joined #webgui | 02:06 | |
-!- carogray1 [~Caroline@108.110.240.232] has quit [Ping timeout: 258 seconds] | 02:08 | |
-!- carogray [~Caroline@173-124-63-224.pools.spcsdns.net] has quit [Quit: Leaving.] | 02:17 | |
-!- mducharme-laptop [~MDucharme@206.188.121.4] has quit [Quit: Leaving.] | 02:34 | |
-!- Radix-wrk [quasselcor@203.161.71.161.static.amnet.net.au] has quit [Ping timeout: 252 seconds] | 02:46 | |
-!- Radix-wrk [quasselcor@203.161.71.161.static.amnet.net.au] has joined #webgui | 02:47 | |
-!- mode/#webgui [+v Radix-wrk] by ChanServ | 02:47 | |
-!- daviddelikat [~user@76.201.153.155] has quit [Ping timeout: 250 seconds] | 03:01 | |
-!- Radix-wrk [quasselcor@203.161.71.161.static.amnet.net.au] has quit [Quit: No Ping reply in 180 seconds.] | 03:13 | |
-!- Radix-wrk [quasselcor@203.161.71.161.static.amnet.net.au] has joined #webgui | 03:13 | |
-!- mode/#webgui [+v Radix-wrk] by ChanServ | 03:13 | |
-!- Radix-wrk [quasselcor@203.161.71.161.static.amnet.net.au] has quit [Client Quit] | 03:17 | |
-!- qwebirc33250 [187fc35c@gateway/web/freenode/ip.24.127.195.92] has quit [Quit: Page closed] | 03:48 | |
-!- Radix-wrk [quasselcor@203.161.71.161.static.amnet.net.au] has joined #webgui | 04:09 | |
-!- mode/#webgui [+v Radix-wrk] by ChanServ | 04:09 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 04:09 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Ping timeout: 250 seconds] | 04:24 | |
-!- daviddelikat [~user@76.201.153.155] has joined #webgui | 04:27 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Quit: Leaving.] | 05:29 | |
-!- Radix_ [quasselcor@203.161.71.161.static.amnet.net.au] has joined #webgui | 06:09 | |
-!- mode/#webgui [+v Radix_] by ChanServ | 06:09 | |
-!- Radix-wrk [quasselcor@203.161.71.161.static.amnet.net.au] has quit [Ping timeout: 246 seconds] | 06:10 | |
-!- kaare_ [~kaare@79.138.167.114.bredband.oister.dk] has joined #webgui | 06:19 | |
CIA-82 | webgui: Colin Kuskie WebGUI8 * r7238b2a / t/Account/Friends.t : Fix a broken test. - https://github.com/plainblack/webgui/commit/7238b2ae09e609ba229b0b2bab097457bc61e26b | 08:17 |
CIA-82 | webgui: Colin Kuskie WebGUI8 * r9492882 / lib/WebGUI/Asset/Shortcut.pm : Fix whitespace problem with POD in Asset/Shortcut - https://github.com/plainblack/webgui/commit/94928825f261dd2447084138df694ae6a5dad66a | 08:21 |
CIA-82 | webgui: Colin Kuskie WebGUI8 * r94761c4 / lib/WebGUI/Session/Response.pm : Fix whitespace problems with POD in Session/Response - https://github.com/plainblack/webgui/commit/94761c46e452dadad8139c8e408037352471796f | 08:22 |
CIA-82 | webgui: Colin Kuskie WebGUI8 * rd4cbee1 / share/upgrades/7.10.18-8.0.0/root_import_adminconsole_admin-interface.wgpkg : Fix bad i18n in the admin console admin interface template - https://github.com/plainblack/webgui/commit/d4cbee1f999ba604a9bfda64849c2332c6d2dc55 | 08:25 |
-!- elnino [~ninow@user-38q47pn.cable.mindspring.com] has joined #webgui | 08:26 | |
elnino | feeling stupid here.. I've created many dataforms, but today I can't find where I add fields.. help? | 08:27 |
elnino | is there a bug? 7.9.29-stable | 08:28 |
elnino | never mind. bye | 08:31 |
-!- elnino [~ninow@user-38q47pn.cable.mindspring.com] has quit [Client Quit] | 08:31 | |
CIA-82 | webgui: Colin Kuskie WebGUI8 * rb2eda80 / t/Asset/Wobject/WeatherData.t : Update a test for WebGUI 8 mock asset creation. - https://github.com/plainblack/webgui/commit/b2eda80839b12213afc116c473d89140bf39273c | 08:37 |
CIA-82 | webgui: Colin Kuskie WebGUI8 * r0b74f25 / (4 files in 3 dirs): Update test for changes to the underlying form code, submit => send - https://github.com/plainblack/webgui/commit/0b74f25dd1405931415d22fb9028d8ca61e9627d | 08:41 |
CIA-82 | webgui: Colin Kuskie WebGUI8 * r04ea5ab / t/Definition/Asset.t : Update test for change in Definition behavior. Labels/noFormPost is not required any longer. - https://github.com/plainblack/webgui/commit/04ea5ab5335778b6c6cd07ce6e031f628bf79462 | 08:46 |
CIA-82 | webgui: Colin Kuskie WebGUI8 * r56a0f0d / lib/WebGUI/Account/Friends.pm : No need to remake the same user object. - https://github.com/plainblack/webgui/commit/56a0f0dd3d81f01f2e7b633c645f82d6dc3a69fa | 08:47 |
CIA-82 | webgui: Graham Knop improved-asset-creation * r173a046 / (lib/WebGUI/AssetLineage.pm lib/WebGUI/AssetVersioning.pm): | 08:51 |
CIA-82 | webgui: improve asset creation process | 08:51 |
CIA-82 | webgui: The old process would set every property when creating a new revision. | 08:51 |
CIA-82 | webgui: This would run all the setters/triggers, which isn't desired. This | 08:51 |
CIA-82 | webgui: changes it to create the new revision in memory with the previous | 08:51 |
CIA-82 | webgui: values, then update it with the new values. This will cause the | 08:51 |
CIA-82 | webgui: triggers to only be called when new values are provided. (+24 more commits...) - https://github.com/haarg/webgui/commit/173a046d40f4dd097b294695eff9681b73519aea | 08:51 |
CIA-82 | webgui: Graham Knop improved-asset-creation * r1c99eae / (lib/WebGUI/AssetLineage.pm lib/WebGUI/AssetVersioning.pm): | 08:53 |
CIA-82 | webgui: improve asset creation process | 08:53 |
CIA-82 | webgui: The old process would set every property when creating a new revision. | 08:53 |
CIA-82 | webgui: This would run all the setters, which isn't desired. This changes it | 08:53 |
CIA-82 | webgui: to create the new revision in memory with the previous values, then | 08:53 |
CIA-82 | webgui: update that with the new values. This will cause the setters to only | 08:53 |
CIA-82 | webgui: be called when new values are provided. - https://github.com/haarg/webgui/commit/1c99eaee1cd509f90407bb54d517652f2c144e5c | 08:53 |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui | 09:41 | |
-!- dappere-dodo [~dappere-d@D57D69B6.static.ziggozakelijk.nl] has joined #webgui | 09:47 | |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui | 10:13 | |
-!- mode/#webgui [+v BartJol] by ChanServ | 10:13 | |
-!- waxhead [~pete@ppp121-45-197-126.lns20.cbr1.internode.on.net] has joined #webgui | 11:19 | |
-!- zylopfa [~zylopfa@0x3e2c8722.mobile.telia.dk] has joined #webgui | 12:19 | |
zylopfa | Hello webguians | 12:19 |
+BartJol | howdy | 12:20 |
-!- zylopfa [~zylopfa@0x3e2c8722.mobile.telia.dk] has quit [Ping timeout: 240 seconds] | 12:57 | |
-!- zylopfa [~zylopfa@0x3e2c8722.mobile.telia.dk] has joined #webgui | 12:58 | |
-!- zylopfa [~zylopfa@0x3e2c8722.mobile.telia.dk] has quit [Ping timeout: 258 seconds] | 14:13 | |
-!- zylopfa [~zylopfa@0x3e2c8722.mobile.telia.dk] has joined #webgui | 14:14 | |
-!- vayde [~vayde@184-100-68-187.mpls.qwest.net] has quit [Read error: Connection reset by peer] | 14:34 | |
-!- zylopfa [~zylopfa@0x3e2c8722.mobile.telia.dk] has quit [Ping timeout: 258 seconds] | 15:26 | |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Quit: Leaving.] | 15:59 | |
-!- Radix_ [quasselcor@203.161.71.161.static.amnet.net.au] has quit [Quit: No Ping reply in 180 seconds.] | 16:10 | |
-!- Radix-wrk [quasselcor@203.161.71.161.static.amnet.net.au] has joined #webgui | 16:13 | |
-!- mode/#webgui [+v Radix-wrk] by ChanServ | 16:13 | |
-!- zylopfa [~zylopfa@0x555116f0.adsl.cybercity.dk] has joined #webgui | 16:25 | |
SDuensin | Greetings. | 16:43 |
-!- dappere-dodo [~dappere-d@D57D69B6.static.ziggozakelijk.nl] has quit [Quit: This computer has gone to sleep] | 16:59 | |
+BartJol | can it be that the hasAddedToCart property of sku's is just saved in the current instance of an asset and that after requesting for that sku again will not assign that value again? | 17:33 |
+BartJol | so it isn't stored in the session? | 17:33 |
-!- dappere-dodo [~dappere-d@ip4da72a6b.direct-adsl.nl] has joined #webgui | 17:36 | |
-!- sbaur [~Adium@130.157.145.37] has joined #webgui | 17:57 | |
-!- sbaur [~Adium@130.157.145.37] has left #webgui [] | 18:00 | |
-!- sbaur [~Adium@130.157.145.37] has joined #webgui | 18:00 | |
-!- qwebirc16141 [187fc35c@gateway/web/freenode/ip.24.127.195.92] has joined #webgui | 18:13 | |
qwebirc16141 | Can Story Manager, Story Archive or more specifically Story Topic have a 'read more' similar to that used in the Collaboration System? | 18:15 |
+BartJol | I suppose that is templatable, but unfortunately I have to go now | 18:16 |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has quit [Quit: Leaving.] | 18:16 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 18:25 | |
-!- dappere-dodo [~dappere-d@ip4da72a6b.direct-adsl.nl] has quit [Quit: This computer has gone to sleep] | 18:46 | |
-!- mducharme-laptop [~MDucharme@206.188.121.4] has joined #webgui | 18:57 | |
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui | 19:09 | |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 19:09 | |
zylopfa | Hello perlDreamer long time no see! | 19:11 |
+perlDreamer | hey zylopfa | 19:11 |
+perlDreamer | How is WebGUI treating you these days? | 19:12 |
zylopfa | its awesome! | 19:12 |
zylopfa | Finding things to add many times | 19:12 |
zylopfa | like now i am using thingy with some ajaxing | 19:12 |
+perlDreamer | there's no lack of new things to add to WebGUI | 19:12 |
+perlDreamer | are you using the built-in ajax features of the Thingy for that, or new ones? | 19:12 |
zylopfa | yeah i am | 19:13 |
zylopfa | but i want to make an rfe for the build in one | 19:13 |
zylopfa | www_editThingDataSaveViaAjax | 19:13 |
zylopfa | It should return the error message as it does now ofc | 19:13 |
zylopfa | but also it should return the fieldId | 19:13 |
+perlDreamer | that would be handy | 19:13 |
zylopfa | then you can do things where you highlight fields with error | 19:13 |
zylopfa | I have made the change already but i need to make tests and an rfe for it | 19:14 |
+perlDreamer | "i need to make the tests" <- sweet sounds to my ears | 19:14 |
zylopfa | yeah i learned it some days ago!! | 19:14 |
zylopfa | When i solved a 5000 karma rfe | 19:15 |
sbaur | is there some way to do a trace of a custom asset? I have an asset that appears to be running fine in development (now on 7.6) was running fine in production on 7.5, has been upgraded to 7.6 and is doing some really odd things. | 19:51 |
zylopfa | you can make it report errors in the logs by using | 19:52 |
sbaur | Log file isn't generating anything odd, the custom asset is under version control and is at the same version on both boxes | 19:52 |
zylopfa | $session->errorHandler->error("some thing to test for"); | 19:52 |
zylopfa | Sounds wierd, is the asset loaded in the config file? | 19:52 |
sbaur | in debug, the queries diverge at query 9, and some things that should be warns in the log, aren't getting written or set | 19:53 |
sbaur | good idea zylopfa, i'll double check | 19:53 |
zylopfa | roger that | 19:53 |
sbaur | it's in the conf file in assets, in utilities... | 19:54 |
sbaur | on both boxes | 19:55 |
zylopfa | so something like this: | 19:56 |
zylopfa | WebGUI::Asset::File | 19:56 |
zylopfa | "WebGUI::Asset::File" : { | 19:56 |
zylopfa | "category" : "utilities" | 19:56 |
zylopfa | }, | 19:56 |
sbaur | "WebGUI::Asset::Wobject::Exam" : { | 19:56 |
sbaur | "category" : "utilities" | 19:56 |
zylopfa | ignore the second line :D | 19:56 |
sbaur | with a closing brace too | 19:56 |
zylopfa | And have you double checked that the asset is in the directory /data/WebGUI/lib/WebGUI/Asset/Wobject | 19:57 |
sbaur | I have a meeting to get to, but maybe my subconscious now has something to chew on | 19:57 |
sbaur | it's in my directory being loaded through preload.custom | 19:58 |
zylopfa | yeah :D best of speed! | 19:58 |
zylopfa | you modified preload.custom? | 19:58 |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 20:09 | |
-!- carogray1 [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 20:13 | |
+perlDreamer | yeah, that's the next step, preload.custom | 20:31 |
zylopfa | why do you need to use that? | 20:31 |
zylopfa | I never did | 20:31 |
+perlDreamer | some people keep their core installs clean, with all foreign files kept outside of /data/WebGUI | 20:31 |
zylopfa | Dont you just specify which things are loaded pr. site basis in the /data/WebGUI/etc/site.conf | 20:31 |
+perlDreamer | by module name, yes | 20:31 |
+perlDreamer | but not by location | 20:31 |
zylopfa | i never knew about preload.custom | 20:31 |
+perlDreamer | it's worth some time digging around in sbin for that, and preload.exclude and other stuff | 20:33 |
zylopfa | Oi thats an awesome idea that | 20:34 |
zylopfa | with preload.custom | 20:34 |
zylopfa | I always had the problem of copying my custom assets into new installs | 20:35 |
zylopfa | and remembering them all | 20:35 |
zylopfa | now i can use preload.custom | 20:35 |
zylopfa | thanks a lot perlDreamer | 20:35 |
+perlDreamer | you're welcome :) | 20:35 |
zylopfa | perlDreamer, as you are the expert tester i ask you something | 20:36 |
+perlDreamer | sure | 20:36 |
+perlDreamer | actually, Haarg is better at writing tests that I am. I just write a whole bunch of them. | 20:36 |
zylopfa | forexample i made a rfe for several assets like Article.pm , to include <tmpl_var extension> to show the extension of files in the file loop | 20:36 |
+perlDreamer | yes | 20:36 |
zylopfa | To test that i did this: | 20:36 |
zylopfa | 1) Create an empty template with just <tmpl_loop fileloop><tmpl_var extension></tmpl_loop> | 20:37 |
zylopfa | 2) create an articla and assign it this new template | 20:37 |
zylopfa | 3) upload files from the testdirectory to the article | 20:38 |
zylopfa | 4) test output from the view method of the article to know values for the files extensions | 20:38 |
zylopfa | Is this a way to do it? | 20:38 |
+perlDreamer | that is one way, but it's the hard way :) | 20:39 |
zylopfa | yeah but the only one in article cause it doesnt have a prepareTemplatevars style function | 20:39 |
zylopfa | some of the bigger assets has that | 20:39 |
+perlDreamer | have a peek at this: https://github.com/plainblack/webgui/commit/0ed4d4a122a7c56497d30fa13d964b969dc90256#diff-1 | 20:39 |
zylopfa | :O someone altered my tests :O | 20:41 |
+perlDreamer | that's because they were dependent on the filesystem | 20:41 |
+perlDreamer | and were failing for me | 20:41 |
+perlDreamer | testing for order of files in a storage location is never good idea | 20:41 |
zylopfa | ahh i thought the files was assorted and choosen by plainblack to always be there | 20:42 |
zylopfa | it was in the testarea | 20:42 |
zylopfa | let me look again at the modification you did | 20:42 |
+perlDreamer | nope, once you put them into a storage location and call getFiles, the order is not guaranteed any longer | 20:42 |
zylopfa | ahh yeah the order sorry | 20:43 |
zylopfa | I thought you ment the files themselves | 20:43 |
zylopfa | I sure did it wrong then | 20:43 |
zylopfa | perlDreamer, I dontr understand this: | 20:45 |
zylopfa | foreach my $f (@extTestFiles) { | 20:45 |
zylopfa | my $pathedFile = WebGUI::Test->getTestCollateralPath($f); | 20:45 |
zylopfa | my $storedFilename = $storage->addFileFromFilesystem($pathedFile); | 20:45 |
zylopfa | } | 20:45 |
+perlDreamer | that adds the files to the storage location | 20:46 |
+perlDreamer | but when you call $storage->getFiles, you don't get them back in the same order | 20:46 |
zylopfa | so that will be in correct order? | 20:46 |
zylopfa | ahhh ok | 20:46 |
zylopfa | so the array is trhere to maintain the order? | 20:46 |
zylopfa | more or less | 20:46 |
+perlDreamer | the array @extTestFiles ? | 20:46 |
zylopfa | yeah | 20:46 |
zylopfa | and ofc to give the filenames | 20:46 |
zylopfa | I was thinking about the order thing when i did the test actually | 20:47 |
+perlDreamer | that array only maintains order in which they get added to the storage location | 20:47 |
zylopfa | yeah | 20:47 |
+perlDreamer | and lets you use a foreach loop to add them | 20:47 |
+perlDreamer | rather than lots of copy/paste/change filename | 20:47 |
zylopfa | haa yeah true | 20:47 |
zylopfa | btw i dont understand the Test::Mock business | 20:48 |
zylopfa | you dont create a real template ? | 20:48 |
+perlDreamer | no, you create a fake one | 20:49 |
+perlDreamer | so that you can get access to the template variables directly | 20:49 |
+perlDreamer | rather than trying to parse a template | 20:49 |
-!- carogray1 [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has left #webgui [] | 20:50 | |
zylopfa | sounds like a good idea, but it all seems a bit arcane | 20:50 |
* scrottie comes in late in the conversation | 20:52 | |
zylopfa | Hello Sir scrottie | 20:52 |
@scrottie | Test::Mock is just meant to make it a little easier to create your own minimal, test purpose specific implementations of interfaces | 20:53 |
@scrottie | heya zolopfa | 20:53 |
zylopfa | Fair enough | 20:53 |
zylopfa | it seems hard to understand | 20:53 |
zylopfa | Its not that hard to pass templates on your own | 20:53 |
zylopfa | reading though test.pm now to figure it out | 20:53 |
@scrottie | so if you need a Widget::Gonkulator to test a Teletronic::Blinkenlight but its hard to test with a real Widget::Gonkulator, you can make a minimal, test specific fake Widget::Gonkulator instead | 20:54 |
@scrottie | you could do it without Test::Mock, but T::M has some shortcuts built in. pretty simple =) | 20:54 |
zylopfa | I still dont get how it introduce the new <tmpl_var extension> | 20:56 |
zylopfa | cant see it from the test :( | 20:56 |
zylopfa | https://github.com/plainblack/webgui/blob/0ed4d4a122a7c56497d30fa13d964b969dc90256/t/Asset/Wobject/Article.t | 20:57 |
zylopfa | I can see it tricks article to use a fake template | 20:57 |
zylopfa | atleast i found 1 thing out | 21:02 |
zylopfa | it takes 1000 times longer to write tests that writing the actual rfe or bug fix | 21:02 |
@scrottie | it's a developed skill. | 21:04 |
zylopfa | yeah i will learn it | 21:04 |
@scrottie | if it takes as long to write the test as the implementation, you're doing well. | 21:04 |
zylopfa | gonna test that Article.t and make some debug output for myself | 21:04 |
zylopfa | so i know whats going on | 21:04 |
zylopfa | scrottie, btw!! | 21:05 |
zylopfa | I have created my own demosite for my company. With my own companys layout and content | 21:06 |
@scrottie | well, content is king, they say. | 21:08 |
zylopfa | Indeed! | 21:10 |
zylopfa | perlDreamer, when run the Article.t i get: Called UNIVERSAL::isa() as a function, not a method | 21:11 |
+perlDreamer | yup | 21:11 |
zylopfa | 10 times. I suppose its in the cmp_bag section | 21:11 |
+perlDreamer | yes | 21:11 |
zylopfa | but it doesnt work then the test | 21:12 |
+perlDreamer | yes, warnings from code in tests are fine | 21:12 |
+perlDreamer | but bad test output is not fine | 21:12 |
zylopfa | but it doesnt say if it tested it to work or not | 21:12 |
zylopfa | ahh it did only "ok 18" | 21:12 |
@scrottie | I tried to fix that UNIVERSAL::isa() thing but Devel::Caller chokes and breaks. *sigh* | 21:12 |
zylopfa | I wanted it to be more elaborate ;D | 21:12 |
+perlDreamer | did i miss a comment? | 21:12 |
+perlDreamer | that's quite likely | 21:13 |
zylopfa | is it cmp_bag that does those nasty errors? | 21:13 |
@scrottie | wanted to have it correctly figure out if it was being used as a function or method rather than guessing wrong but the bytecode traversing logic fails. | 21:13 |
zylopfa | Can we make it work so it doesnt spit out that error things? | 21:14 |
CIA-82 | webgui: Colin Kuskie master * r97644da / t/Asset/Wobject/Article.t : Forgot a comment for the extension test in the attachment_loop - https://github.com/plainblack/webgui/commit/97644dae49612d19f1be531c081aa38d5fa4a2ec | 21:14 |
zylopfa | Haa sick good Colin! | 21:14 |
zylopfa | perlDreamer, when i make changes it takes long time for the addition :( | 21:15 |
zylopfa | cause i dont have rights to add to the main branch myself | 21:15 |
+perlDreamer | it takes a while to get commit privileges to the main repo | 21:15 |
+perlDreamer | I'll try to be quicker on doing merges in the future | 21:15 |
@scrottie | zylopfa, I've seen preaction pull your changes right after you mention them here, and I've done the same thing. I think you're exaggerating. | 21:16 |
@scrottie | *sometimes* it takes a while for some reason but usually we're pretty quick. | 21:16 |
+perlDreamer | scrottie, he's sent stuff directly to me in the past and I've been slow in merging | 21:16 |
+perlDreamer | you and prection have indeed done better | 21:16 |
+perlDreamer | even if you didn't rerun the full test suite after the merge :) | 21:16 |
@scrottie | github pull requests are nice. anyone who is confident of the change can merge it. | 21:17 |
* perlDreamer refuses to believe that only Ubuntu failed those file order tests | 21:17 | |
zylopfa | naa it wasnt met rude scrottie | 21:17 |
@scrottie | you know, it would be nice to have a webgui smoke box... | 21:17 |
zylopfa | I know it takes time if i dont have the rights myself | 21:17 |
@scrottie | not taken rude, but I politely disagree =) | 21:17 |
zylopfa | its not that it took much time | 21:17 |
zylopfa | just mroe time than 5 seconds | 21:17 |
zylopfa | is all | 21:17 |
@scrottie | zylopfa, it takes up to a week for a change to WebGUI to make it into a dev release anyway (which is actually also a very short period of time) | 21:18 |
zylopfa | ahh fair enough! | 21:19 |
zylopfa | I will make my new additioon to Thingy.pm soon | 21:19 |
zylopfa | I am wresteling a lot with it so i find things that are good to add to its functionality | 21:20 |
zylopfa | Woo shit that mock thing is smart | 21:37 |
@scrottie | as long as code plays by the rules, it works pretty well. | 21:38 |
@scrottie | (->isa, not ref; ->can, using the API, etc) | 21:39 |
zylopfa | Its fucking genious it can hook onto a call to Template->process and then take the arguments out to use for more tests | 21:39 |
@scrottie | I really need to write a little Tk app to pop up a window and ask me what I'm doing every 15 minutes... | 21:39 |
* scrottie sighs | 21:39 | |
zylopfa | ahhh | 21:40 |
zylopfa | you are crazed!! | 21:40 |
@scrottie | am I? or am I the product of craziness? | 21:40 |
zylopfa | thats a good question!! | 21:40 |
@scrottie | and/or | 21:40 |
zylopfa | If i am crazy also i'd say nr 2 | 21:40 |
zylopfa | I wanna be good at writing tests | 21:41 |
@scrottie | MySQL, how I hate thee, let me count the ways... | 21:44 |
zylopfa | whats it doing unto you? | 21:44 |
Haarg | perlDreamer, have you had a chance to look at that asset creation change i wanted to make? | 21:47 |
+perlDreamer | yes, but the reported test failure make me nervous | 21:47 |
zylopfa | Its genious that new Article.t test, I can use it for all my templatevariable tests | 21:47 |
+perlDreamer | Haarg, if they're just tests that need to be updated, that's one thing | 21:48 |
zylopfa | cause ALL assets that view things has to call Template->prepare | 21:48 |
+perlDreamer | but without installing the patch and seeing what's failing and why it's hard just to merge it | 21:49 |
Haarg | i haven't checked the tests since i wrote it a while back, but it was like 3 different test failures across three tests. they are most likely just tests that need to be adjusted. | 21:49 |
Haarg | i'll take another look at it, but did the change itself seem reasonable? | 21:49 |
+perlDreamer | oh yeah | 21:49 |
+perlDreamer | it's like the dirty write flag we talked about months ago | 21:49 |
+perlDreamer | it'd be fun to bench mark asset creation and see if the patch speeds it up | 21:50 |
Haarg | there are a couple things with asset instantiation that are kind of messed up, even with that change | 21:51 |
Haarg | iirc it recalculates packed head tags for every asset instance created | 21:51 |
Haarg | simple to fix, but i didn't want to bother until the other changes got it | 21:52 |
Haarg | *in | 21:52 |
zylopfa | Where is cmp_bag defined? | 21:55 |
+perlDreamer | Test::Deep | 21:55 |
zylopfa | thank you Sir | 21:55 |
-!- qwebirc16141 [187fc35c@gateway/web/freenode/ip.24.127.195.92] has quit [Quit: Page closed] | 22:15 | |
zylopfa | perlDreamer, could i persuade you to accept my latest RFE? Its a thingy thing i'd like to add | 22:26 |
zylopfa | http://www.webgui.org/rfe/request-for-enhancement/12207 | 22:27 |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Ping timeout: 264 seconds] | 22:36 | |
* perlDreamer is not able to accept RFE's. That's preaction's responsibility | 22:36 | |
+perlDreamer | however, I don't see anything that would stop him from approving it | 22:36 |
+perlDreamer | it's completely backwards compatible | 22:36 |
zylopfa | ahh sorry :D. yeah it destroys nothing, the old tests still run | 22:37 |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 22:37 | |
zylopfa | + if you are gonna use ajax you need feedback so you can do fancy things | 22:37 |
+perlDreamer | totally | 22:41 |
-!- kaare_ [~kaare@79.138.167.114.bredband.oister.dk] has quit [Ping timeout: 258 seconds] | 22:46 | |
zylopfa | perlDreamer, i am making my first cmp_bag test now, its awesome | 23:16 |
-!- dappere-dodo [~dappere-d@ip4da72a6b.direct-adsl.nl] has joined #webgui | 23:18 | |
-!- dappere-dodo [~dappere-d@ip4da72a6b.direct-adsl.nl] has quit [Quit: This computer has gone to sleep] | 23:27 | |
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has quit [Quit: Leaving.] | 23:34 | |
zylopfa | preaction, I made a rfe and coded it and send a pull request, if its ok to include it i'd apreciate it. | 23:39 |
sbaur | is there a way to diff two webgui conf files? something that reads in the json and then compares it? | 23:52 |
zylopfa | you want it in code? or just in the shell? | 23:57 |
sbaur | in shell is fine | 23:57 |
zylopfa | you cant use the diff command or you need it to translate the json? | 23:57 |
sbaur | the conf files are in totally different orders, so diff is no good | 23:58 |
zylopfa | ahh yeah | 23:58 |
--- Day changed Fri Jul 29 2011 | ||
sbaur | right now I've sorted the lines and am diffing the sorts, but that is significantly less than ideal | 00:01 |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui | 00:01 | |
zylopfa | yeah i was thinking about taking the conf file and making it my $dataStructure = from_json(conffile); | 00:01 |
zylopfa | and then do a diff with hashes | 00:02 |
zylopfa | there is something about it here http://www.perlmonks.org/?node_id=11284 | 00:05 |
-!- dappere-dodo [~dappere-d@ip4da72a6b.direct-adsl.nl] has joined #webgui | 00:35 | |
-!- dappere-dodo [~dappere-d@ip4da72a6b.direct-adsl.nl] has quit [Client Quit] | 00:35 | |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Quit: Leaving.] | 01:12 | |
sbaur | so, my crazy problem where it upgraded fine in dev but not in production... was a bad setting, followed by that bad setting being cached, for who knows how long in /tmp/WebGUICache | 02:02 |
sbaur | @#$%^! caching | 02:03 |
-!- sbaur [~Adium@130.157.145.37] has quit [Quit: Leaving.] | 02:19 | |
zylopfa | autch shit | 02:21 |
zylopfa | so you fixed it? | 02:21 |
-!- preaction [~preaction@li79-149.members.linode.com] has quit [Remote host closed the connection] | 02:21 | |
-!- preaction [~preaction@gremmie.emeraldkingdom.com] has joined #webgui | 02:38 | |
-!- mode/#webgui [+o preaction] by ChanServ | 02:38 | |
-!- preaction [~preaction@gremmie.emeraldkingdom.com] has quit [Quit: Changing server] | 02:44 | |
-!- preaction [~preaction@gremmie.emeraldkingdom.com] has joined #webgui | 02:46 | |
-!- mode/#webgui [+o preaction] by ChanServ | 02:48 | |
zylopfa | Good evening preaction | 02:49 |
@preaction | sup | 02:49 |
zylopfa | just fixed the rfe you aproved even with tests this time | 02:50 |
@preaction | awesome | 02:50 |
zylopfa | in the bug and rfe thing is 1 the easiest difficulty right? | 02:51 |
@preaction | difficulty is a rating of how many hours we think it will take, hours / karma = karma score. highest karma score will be implemented first | 02:52 |
zylopfa | ahh | 02:53 |
zylopfa | could i persuade you to close an rfe i made? Its already been updated to the beta | 02:53 |
@preaction | which one? | 02:53 |
zylopfa | http://www.webgui.org/rfe/request-for-enhancement/9668 | 02:53 |
@preaction | done | 02:55 |
zylopfa | thank you! | 02:55 |
@scrottie | zylopfa, if you use JSON and from_json on both, you could cmp_bag them =) | 02:57 |
zylopfa | I did do that i think | 02:58 |
@scrottie | ah. read a bit more. yup. | 02:59 |
zylopfa | Its awesome the testing stuff | 02:59 |
zylopfa | www_ methods are sick easy to test | 03:01 |
zylopfa | also all things that use templates | 03:01 |
zylopfa | preaction can i use your powers once more? | 03:04 |
@preaction | i can try | 03:04 |
zylopfa | http://www.webgui.org/rfe/request-for-enhancement/12207 | 03:04 |
zylopfa | I made this rfe and fixed it and made a pull request to you guys | 03:04 |
zylopfa | also included tests | 03:05 |
@scrottie | hrm, should I buy a DEC 5000? | 03:08 |
zylopfa | Digital Equipment Corp?? Do they exist still? | 03:08 |
@scrottie | no, the company is long gone, but a lot of the stuff they made is still out there. | 03:08 |
@scrottie | DEC -> Compaq -> HP | 03:09 |
zylopfa | Haaa nice | 03:09 |
zylopfa | sounds fun! | 03:10 |
@scrottie | so many toys, so little time... | 03:10 |
zylopfa | true words! | 03:10 |
zylopfa | I am gonna try to install webgui on a gumstixx | 03:10 |
@scrottie | have you seen the bifferboard? | 03:10 |
zylopfa | http://www.gumstix.com/ | 03:10 |
CIA-82 | webgui: Peter Christiansen master * r8b9be1e / (docs/changelog/7.x.x.txt lib/WebGUI/Asset/Wobject/Thingy.pm): | 03:11 |
CIA-82 | webgui: RFE 12207 : www_editThingDataSaveViaAjax should return more info if thingdata fails to be saved. | 03:11 |
CIA-82 | webgui: As it is it returns json with an array of error messages: [{error_message=>"some error"},..] | 03:11 |
CIA-82 | webgui: But to be able to do anything useful with this. eg. highlighting of form fields whose | 03:11 |
CIA-82 | webgui: input is erroneous we should also return the fieldName. | 03:11 |
CIA-82 | webgui: This patch takes care of this. - https://github.com/plainblack/webgui/commit/8b9be1e036651abee6d74579a24dd87a375c09ee | 03:11 |
CIA-82 | webgui: Peter Christiansen master * rbcfe174 / t/Asset/Wobject/Thingy/www_editThingDataSaveViaAjax.t : | 03:11 |
CIA-82 | webgui: RFE 12207 : www_editThingDataSaveViaAjax should return more info if thingdata fails to be saved. | 03:11 |
CIA-82 | webgui: As it is it returns json with an array of error messages: [{error_message=>"some error"},..] | 03:11 |
CIA-82 | webgui: But to be able to do anything useful with this. eg. highlighting of form fields whose | 03:11 |
@scrottie | yeah, I've got a gumstix ;) | 03:11 |
CIA-82 | webgui: input is erroneous we should also return the fieldName. | 03:11 |
CIA-82 | webgui: This patch takes care of this. - https://github.com/plainblack/webgui/commit/bcfe1740dd523c47302549fd2e47ac3f5aa3a742 | 03:11 |
CIA-82 | webgui: Doug Bell master * r3a535b3 / (3 files in 3 dirs): | 03:11 |
zylopfa | WTF thats epic scrottie | 03:11 |
@scrottie | http://bifferos.bizhat.com/ | 03:11 |
CIA-82 | webgui: Merge pull request #20 from zylopfa/master | 03:11 |
CIA-82 | webgui: RFE 12207 : www_editThingDataSaveViaAjax should return more info if thingdata fails to be saved. - https://github.com/plainblack/webgui/commit/3a535b357235821b14c9e84df8c879701f9a5b90 | 03:11 |
@scrottie | my girlfriend's roommate's toaster has one of those in it. it sings songs and tells jokes when she makes toast. | 03:12 |
zylopfa | lol totaly awesome | 03:12 |
@scrottie | USB sound card. | 03:12 |
zylopfa | I am so gonna get one of those | 03:12 |
zylopfa | and it even has ethernet | 03:12 |
@scrottie | should be able to run the WRE on that, but no reason WebGUI wouldn't run on a gumstix either | 03:12 |
zylopfa | thanks a lot preaction for helping | 03:12 |
zylopfa | true, gumstix run linux also | 03:13 |
zylopfa | but the one you showed me is more handy | 03:13 |
zylopfa | the gumstix are more modules | 03:13 |
zylopfa | so the have to attach to eachother and it can be fragile unless you make a case for it | 03:13 |
@scrottie | bifferboard has ethernet, USB and various things on the daughter board included with it... they're only showing the main board there. kind of cheating. so its two boards the same size stacked, really. | 03:14 |
zylopfa | aww damn | 03:14 |
zylopfa | thought it had headerpins for ethernet on the main board | 03:15 |
@scrottie | there are two sizes, a small one with one host usb and a larger with two. since the drive is USB thumb drive, you really need a small hub (which is what I did) or the one with two host USB ports. | 03:15 |
zylopfa | Sweet | 03:15 |
zylopfa | hey have you read about that mouse with build-in flash and keyboard interface | 03:16 |
zylopfa | they send it to a company as promotion gift | 03:16 |
@scrottie | flash? like a camera flash? | 03:16 |
zylopfa | and they plugged it in | 03:16 |
zylopfa | no cf | 03:16 |
@scrottie | oh, yeah, security thing | 03:16 |
zylopfa | and it sees when the light is off | 03:16 |
@scrottie | root a system that's behind a firewall with no open ports | 03:16 |
@scrottie | yeah, I read about that | 03:16 |
zylopfa | and it makes keypresses to get a cmd | 03:16 |
zylopfa | they used dns port to contact outside | 03:17 |
zylopfa | and used some keypresses or some shit to deactivate mcaffe | 03:17 |
@scrottie | DEFCON is coming up soon. | 03:17 |
zylopfa | I wish i had gold to get there | 03:17 |
zylopfa | I live far away in denmark | 03:17 |
zylopfa | Are you going? | 03:18 |
@scrottie | not sure. I'd have to take more time off work besides an already *generous* vacation PlainBlack gave me. | 03:18 |
zylopfa | haa they gave you a day off?? | 03:18 |
@scrottie | a little more than that ;) | 03:19 |
zylopfa | Ohh and the stuff they did once on defcon where they placed hidden rfid scanners, so the agents from fbi that was there got their badges copied | 03:19 |
@scrottie | heh | 03:19 |
zylopfa | crazy stuff | 03:19 |
@scrottie | I've seen a lot of things at DEFCON | 03:19 |
zylopfa | sick, i so wish to go there | 03:19 |
-!- mducharme-laptop [~MDucharme@206.188.121.4] has quit [Quit: Leaving.] | 03:23 | |
zylopfa | it only use 1w | 03:26 |
@scrottie | my original plan for the thing was to hide it in a coffee shop inside a power strip (I bought an identical power strip to the one they have in my favorite neighborhood coffee shop), have it hop on the wifi there, sniff the 'net, and then post to a twitter feed the twitter username of everyone it sees accessing twitter on that wlan | 03:27 |
@scrottie | but people were convinced I would get arrested if I did that so they talked me out of it | 03:27 |
zylopfa | THATS FUCKING AWEOSME! | 03:28 |
@scrottie | I might hide one in a powerstrip in there anyway and just not do anything with it for a while... I've been meaning to hide a tiny computer in a coffee shop for a long time... | 03:28 |
zylopfa | but does it come with wifi the board? | 03:28 |
@scrottie | nope, have to plug in a USB wifi dongle | 03:29 |
zylopfa | its a damn good idea imo | 03:29 |
zylopfa | ohh sweet | 03:29 |
zylopfa | can you get small ones? | 03:29 |
zylopfa | I know only 1 kickass one | 03:29 |
@scrottie | don't know how small you can get them... the ones I've seen are pretty ordinary size | 03:29 |
zylopfa | I got 2 alfa ones | 03:30 |
zylopfa | they send with 500mw | 03:30 |
@scrottie | nice | 03:31 |
zylopfa | you have to have cheap stuff there though | 03:31 |
zylopfa | i wont lay 300$ there | 03:31 |
@scrottie | I've got a 500mw Realtek thing but it crashes Linux when you unplug it.. | 03:31 |
zylopfa | woo shit | 03:31 |
zylopfa | whats the max wattage for wifi in the US? | 03:31 |
@scrottie | don't remember but a lot less than that. import. | 03:32 |
@scrottie | probably not legal anywhere. | 03:32 |
zylopfa | yeah | 03:32 |
zylopfa | we are only allowed 300mw | 03:32 |
zylopfa | http://chinagrabber.com/buy-cheap-portable-wireless-wifi-usb-adapters-w637.aspx | 03:35 |
@scrottie | yeah, that's pretty small | 03:37 |
zylopfa | ok this is better and its local to me to get: http://www.edbpriser.dk/Product/Details.aspx?pid=4818395 | 03:37 |
@scrottie | bet the antenna is terrible | 03:37 |
zylopfa | yeah needs to be meters from the ap. | 03:37 |
zylopfa | i might try it on a gumstix | 03:39 |
zylopfa | i got the wifi one | 03:39 |
zylopfa | but still they are expensive | 03:39 |
@scrottie | Frank... I love ya man but if I want to find the commit for something you talked about, I have to scroll through the history until I find stuff in the date range and look at them one by one because every commit is named "fix", "maybe now it will finally work", and garbage like that. | 03:40 |
* scrottie sighs | 03:40 | |
zylopfa | haa | 03:41 |
zylopfa | i saw some of those also | 03:41 |
zylopfa | like they say the solution | 03:41 |
zylopfa | but you dont know if they made it | 03:41 |
-!- zylopfa [~zylopfa@0x555116f0.adsl.cybercity.dk] has quit [Quit: Leaving] | 03:53 | |
-!- waxhead [~pete@ppp121-45-197-126.lns20.cbr1.internode.on.net] has quit [Ping timeout: 240 seconds] | 04:35 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Quit: Leaving.] | 05:53 | |
-!- kaare_ [~kaare@79.138.163.59.bredband.oister.dk] has joined #webgui | 06:26 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Ping timeout: 240 seconds] | 07:09 | |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui | 09:20 | |
-!- dappere-dodo [~dappere-d@ip4da72a6b.direct-adsl.nl] has joined #webgui | 09:21 | |
-!- dappere-dodo [~dappere-d@ip4da72a6b.direct-adsl.nl] has quit [Quit: This computer has gone to sleep] | 09:28 | |
-!- dappere-dodo [~dappere-d@D57D69B6.static.ziggozakelijk.nl] has joined #webgui | 10:03 | |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Ping timeout: 276 seconds] | 10:12 | |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui | 10:17 | |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Ping timeout: 246 seconds] | 10:21 | |
-!- waxhead [~pete@ppp121-45-221-177.lns20.cbr1.internode.on.net] has joined #webgui | 10:24 | |
-!- waxhead [~pete@ppp121-45-221-177.lns20.cbr1.internode.on.net] has quit [Remote host closed the connection] | 10:24 | |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui | 10:27 | |
-!- mode/#webgui [+v BartJol] by ChanServ | 10:27 | |
-!- waxhead [~pete@ppp121-45-221-177.lns20.cbr1.internode.on.net] has joined #webgui | 10:28 | |
-!- dappere-dodo [~dappere-d@D57D69B6.static.ziggozakelijk.nl] has quit [Ping timeout: 252 seconds] | 10:34 | |
-!- dappere-dodo [~dappere-d@D57D69B5.static.ziggozakelijk.nl] has joined #webgui | 10:39 | |
-!- waxhead [~pete@ppp121-45-221-177.lns20.cbr1.internode.on.net] has quit [Ping timeout: 255 seconds] | 11:59 | |
-!- waxhead [~pete@ppp121-45-201-249.lns20.cbr1.internode.on.net] has joined #webgui | 12:11 | |
-!- zylopfa [~zylopfa@0x555116f0.adsl.cybercity.dk] has joined #webgui | 13:09 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 14:47 | |
-!- dappere-dodo [~dappere-d@D57D69B5.static.ziggozakelijk.nl] has quit [Quit: This computer has gone to sleep] | 15:40 | |
-!- mducharme1 [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Read error: Connection reset by peer] | 15:45 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui | 15:49 | |
-!- dappere-dodo [~dappere-d@ip4da72a6b.direct-adsl.nl] has joined #webgui | 16:21 | |
SDuensin | FrIdAy! | 16:41 |
zylopfa | Ohh yes!! | 16:41 |
zylopfa | Happy weekend! | 16:41 |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 16:51 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Quit: Leaving.] | 17:11 | |
-!- sbaur [~Adium@130.157.145.37] has joined #webgui | 18:05 | |
-!- dappere-dodo [~dappere-d@ip4da72a6b.direct-adsl.nl] has quit [Quit: This computer has gone to sleep] | 18:30 | |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has quit [Quit: Leaving.] | 18:50 | |
-!- qwebirc36794 [187fc35c@gateway/web/freenode/ip.24.127.195.92] has joined #webgui | 18:55 | |
-!- mducharme-laptop [~MDucharme@206.188.121.4] has joined #webgui | 18:55 | |
-!- SquOnk [~emhn@186.93.207.12] has joined #webgui | 19:07 | |
SquOnk | Greetings | 19:07 |
-!- qwebirc36794 [187fc35c@gateway/web/freenode/ip.24.127.195.92] has quit [Quit: Page closed] | 19:31 | |
zylopfa | Greetings SquOnk | 19:31 |
SquOnk | zylopfa: Hi there | 19:32 |
SDuensin | http://www.cnn.com/2011/TECH/web/07/29/internet.explorer.dumb/index.html?eref=mrss_igoogle_cnn | 19:54 |
zylopfa | haa nice one SDuensin | 20:00 |
zylopfa | What browser are you using? | 20:00 |
SDuensin | Mostly Chrome. | 20:00 |
SDuensin | I have all the "big" ones installed though. | 20:01 |
zylopfa | yeah same foe me need it with designs | 20:01 |
-!- SquOnk [~emhn@186.93.207.12] has quit [Quit: Yippie kay-ai-yay, fudder muckers!] | 20:09 | |
@scrottie | dammit, no reported on w3m users. I don't know if I'm stupid or not now =( | 20:47 |
@scrottie | no data reported | 20:47 |
@scrottie | oh, I wonder if the old "multiIE bundle" of MSIE 3, 4, 5 and 6 runs under wine | 20:48 |
@preaction | it should | 20:50 |
@preaction | at least, it did last time I used it, which was 6 years ago :p | 20:50 |
@preaction | and wine has progressed leaps and bounds since then | 20:50 |
zylopfa | Guys i need your help, my Thingy.pm doesnt seem to want to start workflows, i made some lines to write to the log but it doesnt seem to get to the second log-line can you say why? | 20:59 |
zylopfa | http://pastebin.com/jiQ9NJCb | 20:59 |
@preaction | most likely there's a serious error somewhere that's being silenced somehow. more granular log messages may point it out | 21:04 |
zylopfa | yeah, its wierd cause in the flow it has to get to: $self->session->errorHandler->error("Checking for errors : " . to_json(@errors)); | 21:04 |
zylopfa | And the thing data gets added to the thingy thing | 21:04 |
zylopfa | So its realy wierd | 21:04 |
zylopfa | and the only place it can exit is right after my error test | 21:05 |
@preaction | unless there's an exception and the message from the exception is being caught and not reported | 21:06 |
zylopfa | yeah gonna try to get warn messages also | 21:06 |
zylopfa | problem is i have a testserver where it works flawless | 21:06 |
@preaction | if someone is trapping die with eval and not doing anything with it, warn messages aren't going to do any good | 21:06 |
zylopfa | Still its wierd that it actually add the thing data | 21:07 |
@preaction | this is a common problem in webgui, people just wrap random sub calls in an eval to stop them from dying | 21:07 |
zylopfa | sick | 21:07 |
@preaction | not weird, the exception happens after the data is added | 21:07 |
@preaction | but they forget to report the exception, so you spend hours wondering what the hell went wrong | 21:07 |
@preaction | so the new policies are: if there's an error message to the user, there's one to the log. only trap exceptions in www_ methods and always report them. | 21:08 |
@preaction | i should write those down | 21:08 |
-!- mducharme-laptop [~MDucharme@206.188.121.4] has quit [Quit: Leaving.] | 21:09 | |
zylopfa | GOnna do some more debugging | 21:13 |
-!- mducharme-laptop [~MDucharme@206.188.121.4] has joined #webgui | 21:18 | |
zylopfa | shouldnt instances where it cant find an object method be errors? | 21:18 |
-!- dappere-dodo [~dappere-d@ip4da72a6b.direct-adsl.nl] has joined #webgui | 21:22 | |
@preaction | they are exceptions, yes, but as i said, they could be being trapped and ignored | 21:24 |
-!- dappere-dodo [~dappere-d@ip4da72a6b.direct-adsl.nl] has quit [Quit: This computer has gone to sleep] | 21:27 | |
* scrottie pastes to http://www.webgui.org/community/webgui-8/issues/11639 | 21:47 | |
@scrottie | I'm kinda working on this stuff at the moment, fwiw, btw | 21:48 |
@scrottie | well, not this exact moment... | 21:48 |
@scrottie | hrm, maybe docs in WebGUI::Exception would be a good place for that | 21:48 |
zylopfa | sounds good scrottie | 21:50 |
zylopfa | scrottie | 21:56 |
@scrottie | yup? | 21:56 |
zylopfa | Check this out: | 21:56 |
zylopfa | http://www.ca-worldfashion.dk/shop/tunika/sort-tunika-med-blondekrave | 21:56 |
zylopfa | and click on the link to the right of the letter logo | 21:57 |
zylopfa | "Foreslå til en ven" | 21:57 |
@scrottie | that's pretty good but I like mine better. | 21:57 |
zylopfa | whats yours? | 21:58 |
zylopfa | Mine is made only with thingy and a on add workflow and ofc javascript | 21:58 |
@scrottie | gopher://cluster.slowass.net | 21:58 |
zylopfa | wtf gopher isnt that oldschool | 21:58 |
@scrottie | hrm, it's having trouble with its hostname, need to fix that | 21:59 |
zylopfa | haa yeah nice site | 22:00 |
zylopfa | are you making clusters? | 22:00 |
@scrottie | now its biting it on wide characters | 22:01 |
@scrottie | zylopfa, http://openssi.org | 22:01 |
@scrottie | dammit | 22:01 |
@scrottie | thought I fixed that | 22:01 |
zylopfa | wasnt there some opensomething that hp and some major others support? | 22:01 |
@scrottie | NUMA? | 22:01 |
zylopfa | http://www.openstack.org/ | 22:02 |
@scrottie | I'll check it out | 22:03 |
@scrottie | afk a bit here | 22:04 |
zylopfa | ok me too | 22:04 |
@scrottie | oh, cloud. that's different. | 22:04 |
@scrottie | a proper cluster looks like one big computer with lots of RAM and CPUs and mounted discs. way more fun. | 22:05 |
zylopfa | isnt that also some kind of cluster? | 22:05 |
CIA-82 | webgui: Scott Walters WebGUI8 * r766be8a / lib/WebGUI/Exception.pm : Docs about how to do error handling from the user app side in WG8 - https://github.com/plainblack/webgui/commit/766be8ae7f7262b12f8ac48c55197e912621fe8f | 22:05 |
@scrottie | gah, grammar. and the error handling patch should have a changelog entry. | 22:34 |
-!- kaare_ [~kaare@79.138.163.59.bredband.oister.dk] has quit [Ping timeout: 260 seconds] | 22:42 | |
--- Day changed Sat Jul 30 2011 | ||
-!- mducharme-laptop [~MDucharme@206.188.121.4] has quit [Quit: Leaving.] | 00:23 | |
-!- zylopfa [~zylopfa@0x555116f0.adsl.cybercity.dk] has quit [Quit: Leaving] | 01:03 | |
-!- sbaur [~Adium@130.157.145.37] has quit [Quit: Leaving.] | 01:32 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 01:43 | |
-!- elnino [~ninow@user-38q47pn.cable.mindspring.com] has joined #webgui | 02:33 | |
elnino | hi. This is weird - I'm trying to export a package, and I'm being brought to the assetmanager when I click on the "export" button. 7.9.33-stable I see no bug reports. | 02:35 |
elnino | any ideas of what I should look at? | 02:36 |
elnino | great. and now I'm getting: "Unable to extract package! The package may be corrupt, or there may be a server error preventing packages from being imported. " | 02:37 |
@scrottie | what's in your webgui.log? | 02:57 |
@scrottie | import or export? | 02:59 |
@scrottie | I only see that error used in www_packageImport | 02:59 |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Ping timeout: 240 seconds] | 03:31 | |
-!- Netsplit *.net <-> *.split quits: waxhead, @preaction | 05:15 | |
elnino | OK. the import is taken care of. | 05:15 |
elnino | but I am still getting kicked out of exporting a package in a different site on the same server. | 05:15 |
elnino | I don't have acess to the logs as it isn't my machine. =( so we're doing this the hardway, I ask the client and they tell me, and I tell you. | 05:15 |
-!- Netsplit over, joins: waxhead, @preaction | 05:17 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Quit: Leaving.] | 05:25 | |
-!- kaare_ [~kaare@94.191.198.182.bredband.3.dk] has joined #webgui | 06:24 | |
-!- elnino [~ninow@user-38q47pn.cable.mindspring.com] has quit [Quit: Leaving] | 07:17 | |
-!- kaare_ [~kaare@94.191.198.182.bredband.3.dk] has quit [Ping timeout: 250 seconds] | 07:46 | |
-!- dappere-dodo [~dappere-d@ip4da72a6b.direct-adsl.nl] has joined #webgui | 13:31 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 13:40 | |
-!- dappere-dodo [~dappere-d@ip4da72a6b.direct-adsl.nl] has quit [Quit: This computer has gone to sleep] | 15:28 | |
-!- elnino [~ninow@user-38q47pn.cable.mindspring.com] has joined #webgui | 15:52 | |
elnino | does exportpath in the conf file have anyting to do with exporting packages?? | 15:52 |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 17:56 | |
-!- zylopfa [~zylopfa@0x555116f0.adsl.cybercity.dk] has joined #webgui | 18:21 | |
-!- SynQ [~koen@f70096.upc-f.chello.nl] has quit [Read error: Operation timed out] | 19:09 | |
zylopfa | Shouldnt the Shop/Cart put the same sku together instead of placing every sku on 1 item pr line? | 19:16 |
zylopfa | Like if you add 2 items of the same sku to the cart, it shows them on 2 lines instead of putting them on 1 line with 2 items | 19:17 |
-!- SynQ [~koen@f70096.upc-f.chello.nl] has joined #webgui | 19:17 | |
@preaction | elnino: no, it's the static HTML export | 19:50 |
@preaction | zylopfa: "is it the exact same configuration" is the problem, every sku in the cart can have a different configuration, so it's difficult to roll-up | 19:51 |
zylopfa | Bus a sku isnt it unique? | 20:09 |
zylopfa | but even | 20:09 |
zylopfa | i know there is a main sku but then you make these sub skus with sizes or whatever | 20:10 |
zylopfa | and prices | 20:10 |
zylopfa | in the cart itself you can say 2 of one sku | 20:10 |
zylopfa | but if you take em alone "Add to cart" they show on n different lines | 20:11 |
zylopfa | http://www.ca-worldfashion.dk/shop/tunika/sort-tunika-blonder | 20:12 |
zylopfa | If you choose "Læg i kurv" some times on this and choose the same sku like "S", and click "Til Kassen" you can see it | 20:13 |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Ping timeout: 258 seconds] | 20:45 | |
-!- kaare_ [~kaare@79.138.160.8.bredband.oister.dk] has joined #webgui | 20:56 | |
-!- dappere-dodo [~dappere-d@ip4da72a6b.direct-adsl.nl] has joined #webgui | 21:22 | |
-!- dappere-dodo [~dappere-d@ip4da72a6b.direct-adsl.nl] has quit [Quit: This computer has gone to sleep] | 22:37 | |
-!- zylopfa [~zylopfa@0x555116f0.adsl.cybercity.dk] has quit [Quit: Leaving] | 23:09 | |
-!- kaare_ [~kaare@79.138.160.8.bredband.oister.dk] has quit [Ping timeout: 252 seconds] | 23:15 | |
elnino | Thanks preaction. They reverted and redid the upgrade from 7.8.23 to 7.9.33 and are still having problems exporting packages. Instead of being propted for downlonad a file, I get brought back to the asset manager of the package I'm trying to download. Sigh. | 23:24 |
elnino | I'm unable to loook at the log files. I'm hopeing the client will look as I asked. | 23:25 |
--- Day changed Sun Jul 31 2011 | ||
elnino | it was a permission thing again. Thnks | 01:07 |
-!- elnino [~ninow@user-38q47pn.cable.mindspring.com] has quit [Quit: Leaving] | 01:07 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Read error: Connection reset by peer] | 03:38 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui | 03:39 | |
-!- waxhead_ [~pete@ppp121-45-205-4.lns20.cbr1.internode.on.net] has joined #webgui | 04:33 | |
-!- waxhead [~pete@ppp121-45-201-249.lns20.cbr1.internode.on.net] has quit [Ping timeout: 250 seconds] | 04:35 | |
-!- elnino [~ninow@user-38q47pn.cable.mindspring.com] has joined #webgui | 05:16 | |
elnino | hi! how do I get to the fields that are not assigned tabs yet on the dataform? | 05:17 |
elnino | oh I see, I have to change the tempalte. | 05:18 |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 05:18 | |
-!- elnino [~ninow@user-38q47pn.cable.mindspring.com] has quit [Quit: Leaving] | 05:38 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Quit: Leaving.] | 06:10 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Read error: Connection reset by peer] | 06:31 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui | 06:36 | |
-!- daviddelikat [~user@76.201.153.155] has quit [Read error: Connection reset by peer] | 06:45 | |
-!- daviddelikat [~user@76.201.153.155] has joined #webgui | 06:58 | |
-!- kaare_ [~kaare@79.138.171.207.bredband.oister.dk] has joined #webgui | 07:35 | |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Quit: Leaving.] | 08:29 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Ping timeout: 250 seconds] | 09:41 | |
-!- dappere-dodo [~dappere-d@ip4da72a6b.direct-adsl.nl] has joined #webgui | 11:02 | |
-!- dappere-dodo [~dappere-d@ip4da72a6b.direct-adsl.nl] has quit [Quit: This computer has gone to sleep] | 11:14 | |
-!- dappere-dodo [~dappere-d@ip4da72a6b.direct-adsl.nl] has joined #webgui | 11:15 | |
-!- dappere-dodo [~dappere-d@ip4da72a6b.direct-adsl.nl] has quit [Client Quit] | 11:17 | |
-!- dappere-dodo [~dappere-d@ip4da72a6b.direct-adsl.nl] has joined #webgui | 12:01 | |
-!- dappere-dodo [~dappere-d@ip4da72a6b.direct-adsl.nl] has quit [Quit: This computer has gone to sleep] | 12:23 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 13:23 | |
-!- dappere-dodo [~dappere-d@ip4da72a6b.direct-adsl.nl] has joined #webgui | 14:26 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has quit [Quit: Leaving.] | 15:04 | |
-!- carogray [~Caroline@c-75-68-148-164.hsd1.nh.comcast.net] has joined #webgui | 15:06 | |
-!- kaare_ [~kaare@79.138.171.207.bredband.oister.dk] has quit [Ping timeout: 276 seconds] | 15:38 | |
-!- daviddelikat [~user@76.201.153.155] has quit [Read error: Connection reset by peer] | 16:50 | |
-!- dappere-dodo [~dappere-d@ip4da72a6b.direct-adsl.nl] has quit [Quit: This computer has gone to sleep] | 16:53 | |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 17:47 | |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui | 18:04 | |
-!- dappere-dodo [~dappere-d@ip4da72a6b.direct-adsl.nl] has joined #webgui | 19:42 | |
-!- dappere-dodo [~dappere-d@ip4da72a6b.direct-adsl.nl] has quit [Quit: This computer has gone to sleep] | 21:06 | |
-!- DHGE [~eduard@i5E8614A6.versanet.de] has joined #webgui | 22:27 | |
-!- daviddelikat [~user@76.201.153.155] has joined #webgui | 22:45 | |
-!- DHGE [~eduard@i5E8614A6.versanet.de] has left #webgui ["Konversation terminated!"] | 23:02 | |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Ping timeout: 276 seconds] | 23:05 | |
--- Log closed Mon Aug 01 00:00:02 2011 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!