I "web2py_framework.js" part of the framework is a good idea. We could have a way to access it like this in a view
{{=web2py_js(version='1.0', embed=True)}} -> expanded inline {{=web2py_js(version='1.0', embed=False)}} -> a proper url is generated so that it's content can be fetched in parallel and cached by the browser mic 2013/6/27 Richard Vézina <ml.richard.vez...@gmail.com> > Maybe just a check sum on file that should be update after an upgrade > could allow to display a message in admin and maybe if the files to be > updated have the sum of one of the precedent file mean that the user has > didn't change anything those file could be overwritten whitout issue... I > would prefer updating them manually even if they had not be modify and only > be inform that they should be update... > > Richard > > > On Thu, Jun 27, 2013 at 2:42 AM, Jason (spot) Brower > <encomp...@gmail.com>wrote: > >> We could also minify it so people would be nuts to try to change it. :) >> >> >> >> On Thu, Jun 27, 2013 at 9:42 AM, Jason (spot) Brower <encomp...@gmail.com >> > wrote: >> >>> I wonder if we should have a comment in the file that they shouldn't >>> change this file as it will be overwritten. >>> >>> >>> >>> On Thu, Jun 27, 2013 at 9:38 AM, Massimo Di Pierro < >>> massimo.dipie...@gmail.com> wrote: >>> >>>> The problem is that an old app can be installed after an upgrade and it >>>> would not work because it would still come with the old web2py.js. I do not >>>> think web2py.js can be update automatically nor it should. >>>> >>>> >>>> >>>> On Wednesday, 26 June 2013 14:35:05 UTC-5, LightDot wrote: >>>>> >>>>> +1 for considering web2py.js as a part of web2py framework, so users >>>>> should be requested to update it along with the framework. >>>>> >>>>> How about extending this definition and requirement to appadmin..? >>>>> >>>>> Also - what happens with old apps that have ancient jquery.js? Will >>>>> new web2py.js cause a chain of upgrades for such users, ie. requires new >>>>> jquery.js -> requires new 3rd party js libs -> requires code adjustments >>>>> in >>>>> the application? >>>>> >>>>> I guess now would be a good time to try out old vanilla welcome apps >>>>> with new web2py/web2py.js... I really hate suggesting such things rather >>>>> than doing them, but I'm up to ears in a project that's on the deadline so >>>>> I have very little free time right now :/ >>>>> >>>>> Regards, >>>>> Ales >>>>> >>>>> On Wednesday, June 26, 2013 7:00:46 PM UTC+2, viniciusban wrote: >>>>>> >>>>>> +1 >>>>>> >>>>>> >>>>>> On Wed, Jun 26, 2013 at 1:46 PM, Anthony <abas...@gmail.com> wrote: >>>>>> > On Wednesday, June 26, 2013 11:33:59 AM UTC-4, Massimo Di Pierro >>>>>> wrote: >>>>>> >> >>>>>> >> Are you suggested web2py.js should be served by a spacial action >>>>>> and not >>>>>> >> being part of the applications? >>>>>> > >>>>>> > >>>>>> > Interesting idea. >>>>>> > >>>>>> > -- >>>>>> > >>>>>> > --- >>>>>> > You received this message because you are subscribed to the Google >>>>>> Groups >>>>>> > "web2py-users" group. >>>>>> > To unsubscribe from this group and stop receiving emails from it, >>>>>> send an >>>>>> > email to web2py+un...@googlegroups.com. >>>>>> > For more options, visit >>>>>> > https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>. >>>>>> >>>>>> > >>>>>> > >>>>>> >>>>> -- >>>> >>>> --- >>>> You received this message because you are subscribed to the Google >>>> Groups "web2py-users" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to web2py+unsubscr...@googlegroups.com. >>>> For more options, visit https://groups.google.com/groups/opt_out. >>>> >>>> >>>> >>> >>> >> -- >> >> --- >> You received this message because you are subscribed to the Google Groups >> "web2py-users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to web2py+unsubscr...@googlegroups.com. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > > -- > > --- > You received this message because you are subscribed to the Google Groups > "web2py-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to web2py+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.