The web in a box - a next generation web framework for the Perl programming language

IRC log for #mojo, 2015-06-22

| Channels | #mojo index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
01:09 howitdo joined #mojo
01:17 klapperl joined #mojo
01:20 woz joined #mojo
01:25 dvinciguerra joined #mojo
01:30 woz joined #mojo
01:46 hshong joined #mojo
01:59 circ-user-7mpBC joined #mojo
02:16 noganex_ joined #mojo
02:32 woz joined #mojo
02:38 zivester joined #mojo
02:42 marmez joined #mojo
02:42 marmez left #mojo
02:44 vicash left #mojo
03:34 woz joined #mojo
04:36 woz joined #mojo
04:49 kaare joined #mojo
05:37 woz joined #mojo
06:00 dod joined #mojo
06:04 Lee joined #mojo
06:05 dod joined #mojo
06:38 woz joined #mojo
06:46 ans joined #mojo
06:58 trone joined #mojo
07:12 mr_trousers joined #mojo
07:13 cpan_mojo Statocles-0.048 by PREACTION https://metacpan.org/release/PREACTION/Statocles-0.048
07:19 eseyman joined #mojo
07:24 McA joined #mojo
07:28 batman this is untested, but i think i'm on the right track: https://github.com/Nordaaker/convos/blob/batcode/lib/Convos/Core/Backend/File.pm#L139
07:28 batman i went for File::ReadBackwards
07:29 batman for..? with..? :S
07:30 berov joined #mojo
07:41 woz joined #mojo
07:47 dod joined #mojo
07:57 Vandal joined #mojo
08:08 dp_ joined #mojo
08:11 woz joined #mojo
08:15 cpan_mojo Swagger2-0.34 by JHTHORSEN https://metacpan.org/release/JHTHORSEN/Swagger2-0.34
08:24 ans1 joined #mojo
08:32 bin_005 joined #mojo
08:40 dod joined #mojo
08:46 kaare joined #mojo
09:15 bakanov_da joined #mojo
09:26 ans joined #mojo
09:37 bakanov_da joined #mojo
09:53 punter joined #mojo
10:24 dod joined #mojo
10:42 bakanov_da joined #mojo
12:01 Kripton joined #mojo
12:02 neilhwatson joined #mojo
12:48 ajr_ joined #mojo
13:10 zivester joined #mojo
13:20 ToApolytoXaos joined #mojo
13:28 jb360 joined #mojo
13:44 mattastrophe joined #mojo
13:48 gryphon joined #mojo
13:50 dvinciguerra joined #mojo
14:12 asarch joined #mojo
14:18 PryMar56 joined #mojo
14:27 marcusr joined #mojo
14:30 storskegg joined #mojo
14:34 Lee joined #mojo
14:49 lluad joined #mojo
15:57 Kogurr joined #mojo
16:28 sh4 joined #mojo
16:36 mtj joined #mojo
16:47 sri_ this keeps coming up every now and then https://github.com/kraih/mojo/issues/812
16:47 sri_ maybe worth figuring out
16:48 * Grinnz_ has no idea about validation stuff
17:10 sri_ i mean, we could just mix uploads into the validation input hash... but i fear that would cause confusion when checks don't work with those upload objects
17:10 sri_ like ->size() not actually checking the file size
17:11 sri_ and if ->size() got extended to support it... then it would have to be a very special case
17:11 sri_ same for all checks i guess
17:18 jberger batman has used the validation stuff quite a bit, IIUC
17:18 jberger I keep meaning to, but my codebase isn't nearly ready for it
17:19 * neilhwatson wishes he'd noticed the validation stuff sooner.
17:22 mattastrophe joined #mojo
17:42 dod joined #mojo
17:57 ajr_ joined #mojo
18:04 trone joined #mojo
18:30 batman sri_: i don't care about validation for uploads.
18:31 * tempire usually does his own validation, because json
18:31 batman sri_: i totally agree that validation should only care about get/post data
18:31 batman tempire: you do your own validation, because you don't use swagger ;)
18:32 pink_mist maybe simply put it in the docs that uploads aren't validated?
18:32 pink_mist (unless it's already there)
18:34 storskegg joined #mojo
18:42 bin_005 joined #mojo
18:45 marmez joined #mojo
18:45 marmez left #mojo
18:58 sri_ the docs are very specific
18:59 sri_ looks like nobody really cares though
18:59 sri_ perhaps there is nothing to do after all
19:00 stephan48 i care but i can't really come up with a solution to the problem you mentioned above
19:00 stephan48 uploads would need quite some special handling
19:04 amon joined #mojo
19:19 disputin joined #mojo
19:21 berov1 joined #mojo
19:28 mib_i903m7 joined #mojo
19:30 jb360 joined #mojo
19:33 batman i don't know how to respond to #812. i only see problems...
19:35 batman like copying the content from the upload to $v->output...? that seems so strange
19:36 batman i really like that the app doesn't have to consume memory for uploads (...when they get big)
19:47 jberger can the validation object be passed the controller instance?
19:47 jberger if so then you could build a check which asks about uploads?
19:47 jberger then again, I'm building this off of about 3 minutes of skimming the code
19:49 jberger add ->controller($c) here https://github.com/kraih/mojo/blob/master/lib/Mojolicious/Controller.pm#L344
19:49 jberger well $self I guess
19:50 jberger but you know what I mean
20:32 amon joined #mojo
20:51 storskegg joined #mojo
22:17 PryMar56 joined #mojo
22:44 marty_ joined #mojo
22:59 mattastrophe joined #mojo
23:36 mattastrophe joined #mojo
23:57 marty joined #mojo

| Channels | #mojo index | Today | | Search | Google Search | Plain-Text | summary