Time |
Nick |
Message |
00:01 |
* marcus |
& # standby |
00:03 |
|
spleenjack left #mojo |
00:12 |
toebu |
my first public mojolicious project www.remocular.org |
00:29 |
|
ltriant left #mojo |
00:29 |
|
tempire_ left #mojo |
00:34 |
|
ltriant joined #mojo |
01:51 |
|
MojoGuest784 joined #mojo |
01:51 |
MojoGuest784 |
From: http://www.google.ca/search?sourceid=chrome&ie=UTF-8&q=html5+irc+client (3 hits) |
01:52 |
|
MojoGuest784 left #mojo |
01:56 |
|
yakudzo left #mojo |
02:07 |
crab |
http://i.imgur.com/c0yP2.jpg |
02:18 |
|
daviddelikat left #mojo |
02:48 |
|
MojoGuest777 joined #mojo |
02:48 |
MojoGuest777 |
From: http://www.reddit.com/r/html5/comments/bt76k/irc_client/ (17 hits) |
02:48 |
|
MojoGuest777 left #mojo |
02:52 |
|
jdixon left #mojo |
03:02 |
|
daviddelikat joined #mojo |
03:59 |
omega |
can I use mojo renderers to capture output? |
03:59 |
omega |
I want to render my tex using templates |
03:59 |
omega |
and then respond to the web request with something else |
04:04 |
|
tl joined #mojo |
04:06 |
|
tholen42 left #mojo |
04:53 |
|
rich42 joined #mojo |
04:56 |
rich42 |
just started reading docs on mojo lite. There is no explanation about "@@ index.html.ep " What does that mean? |
04:57 |
|
yakudzo joined #mojo |
04:58 |
omega |
its templates |
05:01 |
yakudzo |
morning |
05:01 |
|
achromic left #mojo |
05:01 |
rich42 |
Thanks. which module explains that? it will be nice for newcomers to read about special symbols. |
05:03 |
omega |
http://search.cpan.org/~kraih/Mojolicious-0.999950/lib/Mojolicious/Guides/Rendering.pod has some info |
05:03 |
omega |
not sure about the specific syntax, since I just used them for the first time today |
05:05 |
rich42 |
Just searched that page. '@@' is used there without any explanation as well. |
05:06 |
omega |
well @@ denotes a template, I know that much |
05:06 |
omega |
http://search.cpan.org/~kraih/Mojolicious-0.999950/lib/Mojo/Template.pm explains the syntax for each template |
05:07 |
rich42 |
Thanks. I suppose it meant the start of a new template file. |
05:12 |
omega |
yeah |
05:12 |
omega |
its just a way to split the __DATA__ sectino into multiple "files" |
05:12 |
omega |
the important, and fun, stuff, is what happens between the @@ lines :) |
05:17 |
yakudzo |
is there any solution in showing url path by its names. e.g '/foo/' ->name('Foo'); /foo/bar/ ->name('Bar'); and in template of /foo/bar/ path will show Foo -> Bar |
05:18 |
yakudzo |
? |
05:20 |
|
rich42 left #mojo |
05:22 |
|
achromic joined #mojo |
05:23 |
|
kimoto joined #mojo |
05:45 |
|
kimoto left #mojo |
06:03 |
|
kaare joined #mojo |
06:09 |
|
su-bzero joined #mojo |
06:25 |
|
ysyrota joined #mojo |
06:26 |
|
ltriant left #mojo |
06:35 |
|
und3f[A] is now known as und3f |
06:39 |
omega |
yakudzo: I didn't understand that? |
06:42 |
|
und3f is now known as und3f[A] |
06:57 |
|
koban joined #mojo |
06:57 |
perlrocks |
Twitter: "RT @kraih: Released #mojolicious 0.999950, most likely the last release before 1.0 later this month, enjoy! :) #perl" --chernomyrdin http://twitter.com/chernomyrdin/status/10226107890532352 |
06:58 |
|
kvorg left #mojo |
07:10 |
|
achromic left #mojo |
07:30 |
|
achromic joined #mojo |
07:46 |
|
Christian joined #mojo |
07:46 |
Christian |
moin |
07:58 |
omega |
https://gist.github.com/51757ed709eae98aa751 |
07:58 |
omega |
why oh why wont my first render call put anything in body? |
07:58 |
omega |
(line 29) |
08:03 |
|
kvorg joined #mojo |
08:07 |
|
achromic left #mojo |
08:10 |
|
yko joined #mojo |
08:22 |
yko |
toebu: very nice |
08:28 |
toebu |
smile |
09:11 |
|
kvorg left #mojo |
09:47 |
|
dotan joined #mojo |
10:06 |
|
s0va left #mojo |
10:24 |
|
spleenjack joined #mojo |
11:06 |
|
y0j joined #mojo |
11:16 |
Christian |
where should i report errors in the Mojolicious::Lite doku on CPAN. it is a very small error. forgotten simikolon in an example. |
11:26 |
yko |
pull request on github? |
11:28 |
yko |
if you are familiar with git, sure... otherwise i think message via github or in mojolicious google group would be enough |
11:29 |
yko |
or just catch sri right here. but i'm sure he's deadly busy now |
11:30 |
yko |
http://bit.ly/feZTxL |
11:35 |
yko |
or you can just tell me, i'm going to create little typo pull request in nearest day or two |
11:39 |
|
achromic joined #mojo |
11:50 |
Christian |
ok later ykom i will tell you the error, now i must test a little bit |
11:50 |
Christian |
s/ykom/yko/ |
11:54 |
|
koban left #mojo |
11:55 |
|
koban joined #mojo |
12:23 |
|
fhelmber_ joined #mojo |
12:29 |
perlrocks |
Twitter: "Something more strange state of mojolicious." (ja) --nijisaigai5518 http://twitter.com/nijisaigai5518/status/10309685882130432 |
12:38 |
|
daviddelikat left #mojo |
12:58 |
|
MojoGuest886 joined #mojo |
12:58 |
MojoGuest886 |
From: http://www.google.com/search?client=opera&rls=en&q=websocket+demo&sourceid=opera&ie=utf-8&oe=utf-8 (1 hits) |
13:01 |
sri |
omega: my $tex = $self->render_partial('print', format => 'tex') |
13:01 |
sri |
you forgot the template name |
13:01 |
omega |
ahh |
13:01 |
omega |
thaught it figured it out :) |
13:01 |
sri |
the route would need a name for that |
13:01 |
MojoGuest886 |
Are there many people online now? |
13:01 |
sri |
nobody |
13:02 |
sri |
Christian: you can report typos here, real bugs on github |
13:03 |
|
MojoGuest886 left #mojo |
13:03 |
* moritz |
guesses that at any given point in time, at least half a billion people are online |
13:07 |
|
forwardever joined #mojo |
13:09 |
Christian |
sri, the example on cpan "Conditions such as agent allow even more powerful route constructs." there are missing the semicolon after the subs |
13:11 |
|
GitHub164 joined #mojo |
13:11 |
GitHub164 |
mojo: master Sebastian Riedel * 3cbb746 (1 files in 1 dirs): fixed typos - http://bit.ly/hKKJ7S |
13:11 |
|
GitHub164 left #mojo |
13:11 |
sri |
Christian: thanks, fixed |
13:14 |
Christian |
please |
13:28 |
|
arpadszasz joined #mojo |
13:36 |
|
kimoto joined #mojo |
13:37 |
|
stephan48 left #mojo |
13:38 |
spleenjack |
is there any way to get real request's scheme? |
13:38 |
|
stephan48 joined #mojo |
13:38 |
spleenjack |
(if my mojo application stays behind the front-end proxy) |
13:39 |
DaTa |
spleenjack: depends on your proxy, some set X-Forwarded-Protocol or something |
13:41 |
spleenjack |
i can change nginx.conf. do mojo detect it? |
13:45 |
spleenjack |
by the way, what is this standard de-facto for proxying request scheme (like X-Real-IP for client's ip)? |
14:06 |
spleenjack |
eh, there's no standard header for this. i wrote plugin with simple line: $c->req->url->scheme(scalar $c->req->headers->header('X-Forwarded-Proto')) |
14:07 |
spleenjack |
just thought about including handlers for this in the transaction core |
14:21 |
sri |
there doesn't seem to be a standard header |
14:21 |
sri |
so no core support |
14:22 |
sri |
a cookbook recipe for url hacks like this would be nice |
14:23 |
sri |
showing how before_dispatch hooks are used |
14:30 |
rhaen |
lo! |
14:31 |
crab |
and behold? |
14:31 |
crab |
there was some sort of csrf protection plugin for mojo, right? does anyone remember where/what? |
14:38 |
|
GitHub129 joined #mojo |
14:38 |
GitHub129 |
mojo: master Sebastian Riedel * 491e84c (1 files in 1 dirs): added deployment recipe - http://bit.ly/eilGz2 |
14:38 |
|
GitHub129 left #mojo |
14:39 |
sri |
that migth help |
14:43 |
perlrocks |
Twitter: "Created group #Mojolicious (alias #Mojo) for #Perl." --tolfsen http://twitter.com/tolfsen/status/10343280654950401 |
14:43 |
|
GitHub188 joined #mojo |
14:43 |
GitHub188 |
mojo: master Sebastian Riedel * c60e67e (1 files in 1 dirs): cleaned up recipe - http://bit.ly/hLbnCm |
14:43 |
|
GitHub188 left #mojo |
14:43 |
sri |
maybe a little more realistic |
14:49 |
|
daviddelikat joined #mojo |
14:57 |
|
MojoGuest241 joined #mojo |
14:57 |
|
MojoGuest720 joined #mojo |
14:57 |
|
kimoto left #mojo |
14:57 |
MojoGuest241 |
sss |
15:01 |
crab |
hiss |
15:17 |
sri |
ALL GLORY TO THE HYPNOTOAD! |
15:24 |
|
GitHub127 joined #mojo |
15:24 |
GitHub127 |
mojo: master Sebastian Riedel * c900a63 (1 files in 1 dirs): cleaned up cookbook - http://bit.ly/gAx2TI |
15:24 |
|
GitHub127 left #mojo |
15:28 |
spleenjack |
sri: there is typo in recipe 'X-Forwarded-Porotcol' |
15:30 |
spleenjack |
another example of front-end emulation: $self->tx->remote_address( scalar $self->req->headers->header('X-Real-IP') ) |
15:39 |
dotan |
crab: re CSRF protection, look at vti's github stuff. |
15:41 |
dotan |
crab: hmm. I thought he had something there, but I can't see it. |
15:41 |
crab |
yeah |
15:42 |
crab |
where is vti, anyway? |
15:43 |
sri |
taking a break |
15:53 |
|
koban left #mojo |
15:53 |
Christian |
cu all |
15:55 |
|
Christian left #mojo |
15:57 |
su-bzero |
crab: vti is here, but hidden at #mojo. |
15:57 |
su-bzero |
Call him. |
15:58 |
su-bzero |
Twice and one more time. |
15:58 |
su-bzero |
In Russia we call Ded Moroz (Santa Claus) 3 times and he comes. |
15:59 |
moritz |
in capitalist USA, Santa Claus calls YOU! |
16:06 |
|
jamesw left #mojo |
16:06 |
forwardever |
crab: maybe https://github.com/vti/mojox-common, but had no time so far to check what it does |
16:07 |
sri |
ll |
16:07 |
sri |
... |
16:07 |
sri |
lol |
16:07 |
sri |
!tweet in capitalist USA, Santa Claus calls YOU! |
16:07 |
|
su-bzero left #mojo |
16:07 |
perlrocks |
sri: http://twitter.com/perlrocks/status/10364524796321792 |
16:08 |
|
su-bzero joined #mojo |
16:11 |
|
jamesw joined #mojo |
16:13 |
|
perlrocks left #mojo |
16:19 |
|
perlrocks joined #mojo |
16:20 |
|
arthas joined #mojo |
16:26 |
spleenjack |
argh. mojox-renderer-tt have failed on rendering template with bad tt-syntax |
16:41 |
|
spleenjack left #mojo |
16:42 |
|
dotan left #mojo |
16:42 |
|
spleenjack joined #mojo |
16:52 |
|
MojoGuest135 joined #mojo |
16:52 |
MojoGuest135 |
From: http://www.google.com/search?rlz=1C1_____enUS374US374&sourceid=chrome&ie=UTF-8&q=extjs+demo (1 hits) |
16:53 |
MojoGuest135 |
/fish |
16:56 |
|
MojoGuest135 left #mojo |
17:00 |
spleenjack |
sri: found a bug i guess. render_exception() need to check $e by isa('Mojo::Exception') or something similarly. because $e may be a reference of another exception class that have no message() method. and we have an error with rendering exception template on line calling $e->message. |
17:00 |
moritz |
or maybe UNIVERSAL::can($e, 'message') |
17:01 |
moritz |
less intrusive than a type check |
17:03 |
|
ysyrota left #mojo |
17:09 |
sri |
we depend on more methods |
17:09 |
sri |
for showing the code |
17:12 |
|
alnewkirk joined #mojo |
17:13 |
|
polvo left #mojo |
17:14 |
sri |
we actually need a blessed and isa check |
17:18 |
|
GitHub163 joined #mojo |
17:18 |
GitHub163 |
mojo: master Sebastian Riedel * a049780 (1 files in 1 dirs): made render_exception more resilient - http://bit.ly/ibnrLi |
17:18 |
|
GitHub163 left #mojo |
17:22 |
spleenjack |
sri: thanks! now mojox-renderer-tt pass the test. |
17:22 |
sri |
:) |
17:31 |
|
und3f[A] is now known as und3f |
17:36 |
|
perlrocks left #mojo |
17:41 |
|
MojoGuest37 joined #mojo |
17:42 |
|
MojoGuest63 joined #mojo |
17:42 |
MojoGuest63 |
From: http://xantus.tumblr.com/post/495976757/extjs-and-websockets-demo-irc-client (1 hits) |
17:42 |
|
MojoGuest37 left #mojo |
18:06 |
|
perlrocks joined #mojo |
18:10 |
|
MojoGuest63 left #mojo |
18:19 |
|
MojoGuest127 joined #mojo |
18:19 |
|
Akron joined #mojo |
18:19 |
|
ilbot2 joined #mojo |
18:19 |
|
Topic for #mojo is now ♥ Join the revolution! ♥ | http://mojolicio.us | http://irclog.perlgeek.de/mojo/today |
18:19 |
|
moritz left #mojo |
18:34 |
|
MojoGuest720 left #mojo |
18:34 |
|
MojoGuest241 left #mojo |
18:44 |
|
moritz joined #mojo |
18:56 |
|
Htbaa joined #mojo |
19:01 |
|
spleenjack left #mojo |
19:09 |
|
MojoGuest127 left #mojo |
19:35 |
|
MojoGuest207 joined #mojo |
19:36 |
|
MojoGuest207 left #mojo |
20:27 |
|
fhelmber_ left #mojo |
20:42 |
|
Akron left #mojo |
20:46 |
|
kvorg joined #mojo |
20:51 |
|
ltriant joined #mojo |
20:59 |
sri |
the new exception page will be awesome :) |
21:08 |
|
yko left #mojo |
21:35 |
marcus |
I like awesome. |
21:38 |
|
MojoGuest169 joined #mojo |
21:38 |
MojoGuest169 |
From: http://news.ycombinator.com/item?id=1277067 (71 hits) |
21:38 |
|
MojoGuest169 left #mojo |
21:56 |
|
Htbaa left #mojo |
22:07 |
|
daviddelikat left #mojo |
22:12 |
|
perlrocks left #mojo |
22:19 |
|
perlrocks joined #mojo |
22:19 |
|
spleenjack joined #mojo |
22:29 |
|
kaare left #mojo |
22:31 |
|
kimoto joined #mojo |
23:17 |
|
daviddelikat joined #mojo |
23:24 |
|
kimoto left #mojo |