Re: [Mojolicious] Re: Couple probelms with the growing tut form the Docs.

2014-08-03 Thread Dotan Dimet
Shoudn't that be MyUsers-new ? You've got MyUsers=new Replace = with - and you'll hopefully have a MyUsers object. On 08/03/2014 03:15 AM, Ray Sleeper wrote: Here is the full code: #!/usr/bin/env perl

Re: [Mojolicious] Re: Swag!

2014-11-12 Thread Dotan Dimet
Right. Sri, can I have it back in gold now? I was dithering over the LE shirt, and the silver looks too much like the white. - Dotan On 11/10/2014 09:19 PM, Viktor Nacht wrote: Order placed. I shall wear it proudly. - V

Re: [Mojolicious] Re: Swag!

2014-11-12 Thread Dotan Dimet
Sweet :) I caught it when reloading the page. Ordered! On 11/12/2014 05:17 PM, sri wrote: Sri, can I have it back in gold now? Sure. :D

Re: [Mojolicious] broken cookie tests after update from 5.68 to 5.71

2015-01-03 Thread Dotan Dimet
Hi Jay, You mention you tried changing the value of $domain, but maybe you can see what the value really is in the server by printing out $t-app-ua-server-url-to_abs (or maybe $t-app-url_for('/testGetCookie')-to_abs ) - Dotan On 1/3/15, 2:00 AM, jay m wrote: we have some trivial cookie tests

Re: [Mojolicious] Re: Problem with Mojo::Pg

2015-03-24 Thread Dotan Dimet
There's a $delay-pass at the 2nd line of the 2nd step, which I think will cause it to skip right down to the 3rd step? On 03/24/2015 04:01 PM, Dan Book wrote: That is not correct. The callback from $delay-begin is intended to be invoked

Re: [Mojolicious] Re: Inconsistent decamelization?

2016-02-21 Thread Dotan Dimet
When I noticed a similar issue, people pointed out that decamelize needs to be rever‏sable while class_to_file isn't https://github.com/kraih/mojo/issues/892 On 19/02/16 13:22, 'sri' via Mojolicious wrote:

{Disarmed} Re: [Mojolicious] Basic non-Lite WebSocket Application

2016-05-16 Thread Dotan Dimet
Hi, Sent you edits in github. Looks like $self is undef because you have a typo when setting it in wsinit(). Also, looking at the docs it seems websocket() just creates a GET handler for the initial websocket handshake, if you want to actually send

Re: [Mojolicious] Wishlist thread (fourth edition)

2016-07-11 Thread Dotan Dimet
Make more stuff extensible. Mojolicious has plugins and commands, but there are a few other tools in the toolkit that could do with more flexible extensibility, specifically the User Agent and Test::Mojo. Extending these requires subclassing or wrapping,

Re: [Mojolicious] using Mojolicious::Plugin::RevealJS in a full app

2017-01-16 Thread Dotan Dimet
Hi, My guess is that your route ('/revealjs/:id') interferes with requests for the static Reveal.js files bundled in the plugin, which are served from /revealjs/... This line in the plugin's register() method: push @{ $app->static->paths }, $home->rel_dir('public'); adds the directory

Re: [Mojolicious] Re: Mojolicious application to show markdown as slides

2017-01-12 Thread Dotan Dimet
I hesitated to mention my own single-user markdown slideshow app, Allenby: https://github.com/dotandimet/Allenby It has a config file with a list of directories where it looks for talks (markdown files + corresponding directories of images) and designs (various javascript slideshow frameworks

Re: [Mojolicious] Mojolicious debugging with perl -d

2016-12-04 Thread Dotan Dimet
пятница, 2 декабря 2016 г., 13:58:32 UTC+8 пользователь Dotan Dimet написал: perl -d script/my_app get /route/to/controller Stepping through mojo code until it reaches your startup() method is tricky and time-consuming. The best way to avoid all that is to add the line

Re: [Mojolicious] Mojo::UserAgent transaction error message confusion

2017-03-07 Thread Dotan Dimet
״Service Unavailable״ is the error message of the HTTP transaction, which appears in the HTTP headers. ״Invalid app permissions" is an error message specific to the application you're talking to, encoded in the body of the transaction. Mojo::UserAgent

Re: [Mojolicious] course management app in M, plus a few touches

2017-05-23 Thread Dotan Dimet
On 23/05/17 02:28, iaw4 wrote: I am still running in morbo development mode.  My error messages are deliberately worded for end users, and rely on "die ...".   When I

Re: [Mojolicious] icon

2017-05-23 Thread Dotan Dimet
Put a favicon.ico file in your app's public directory, or use a link tag in your HTML. On 23/05/17 13:51, amka1...@gmail.com wrote: Hi, Can please someone explain me how to change the dispayed icon (on the browser tab) ?

Re: [Mojolicious] CalDAV server?

2017-09-10 Thread Dotan Dimet
Possible? Sure. Easy? Nope. Mojolicious lets you specify whatever HTTP method you want in routes (using the any() method), so you can define responses to all those exotic verbs defined in WebDAV and CalDav. However, you need to implement all

Re: [Mojolicious] Re: Please add a versionnumber to Mojo::UserAgent

2019-01-07 Thread Dotan Dimet
The actual breaking change was the removal of the success() method from Mojo::UserAgent in Mojolicious version v8.05 I don't think that removing it from your code is a backwards-compatible change, though. On 6.1.2019 21:38, sri