The pop and shift methods would be useful when the collection contains objects with methods.
The list method should just return the dereferenced collection (like @$collection).
2. it would be nice if a Mojolicious app could display descriptions and usage on the command line for all Command packages in the app.
Currently it picks up only those that have their own files. My command packages are often so short that it's more handy to have them in the app file itself.
My wish would be to allow storing secrets in the database :-)
I think it would be great if we could set the base_path in the "listen" string like : listen => ['http://*/prefix:3000']
Or we could just add a "base_path" option.
I'd love to see a way where Mojolicious autoloads plugins if told to do so in configuration file or perhaps by naming convention. Given the request base thing, it'd solve that and let people perhaps solve that particular wish. I'd have use for it because I keep repeating the same boilerplate in my startup function that just loads plugins, be easier to run them out of a configuration file.
--
You received this message because you are subscribed to the Google Groups "Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mojolicious...@googlegroups.com.
To post to this group, send email to mojol...@googlegroups.com.
Visit this group at http://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.
I'd love to see a way where Mojolicious autoloads plugins if told to do so in configuration file or perhaps by naming convention.
I would love a way to use a personnal boilerplate when generating a new app.
True, but the idea would be to make all apps do it without having to explicitly code for it, but it would indeed make a suitable plug-in too
--
2. it would be nice if a Mojolicious app could display descriptions and usage on the command line for all Command packages in the app.
Currently it picks up only those that have their own files. My command packages are often so short that it's more handy to have them in the app file itself.
What about my first wish, the tests? Any comment (not meaning to nag :-))?
True, but the idea would be to make all apps do it without having to explicitly code for it, but it would indeed make a suitable plug-in too.
guess I've got me a weekend project then :D
--
If this was one chapter in a book, I'd buy the whole thing just for that as I have this feeling that I'm still missing something either conceptually or in code.
rather than hardwiring SHA1 into everything -- and in particular having it bethe only choice for signed cookies and session keys -- which makes me a bit nervousseeing as we're really all supposed to be using SHA256 by now.
Small wish: the ability to see if a plug-in has been loaded (eg $self->has_plugin(...) or something similar)
Rerequest for a way to set a custom error class name to override field-with-error in TagHelpers. I believe this has been rejected before. :) - V
--
Small wish: the ability to see if a plug-in has been loaded (eg $self->has_plugin(...) or something similar)
Rerequest for a way to set a custom error class name to override field-with-error in TagHelpers.
Yes: using the error class from twitter bootstrap (or any other css framework).
For an autoload-bunch-of-plugins plugin it's sort of essential to avoid loading things multiple times if not needed, thats kind of the only reason I'd want it.
--
expand the documentation for a couple of deeply worked examples. Still quite new to Mojolicious, I'm working my way through the docs to implement authenticated sessions for a site and would've appreciated something that packages all the pieces together: put authentication here, all authenticated routes go here, non-authenticated routes go over there, handle authentication failures and logouts this way and implement mixed http/https calls like so.
It would be great to have the simple blog example be expanded to have an Ajax interface that did not do a page refresh for each action, use non-blocking form in the Mojo::Pg models, and have a simple authentication system with authorization requirements for specific routes.Just like with the blog example, each of the additional examples wouldn't need to be much, just enough to demonstrate best practices.
It would be great to have the simple blog example be expanded to have an Ajax interface that did not do a page refresh for each action, use non-blocking form in the Mojo::Pg models, and have a simple authentication system with authorization requirements for specific routes.
I'm not sure if this is something that makes sense to include in core as I don't know much about it, but I hope it doesn't hurt to ask...
Websockets are built in to mojolicious and available out of the box. Would it be possible and in line with project mission to do something similar for WebRTC?
--
Would it be possible and in line with project mission to do something similar for WebRTC?
WebRTC is crazy complicated, so even if we wanted to do it, i doubt we currently have the resources.
but you do have a number of places using unadorned SHA1
(including one where I'm really not sure why you're not using HMAC
see DefaultHelpers::_csrf_token)