No problem with auth.has_permission web2py. But I don't think it exists in
py4web. Someone please correct me if I'm spreading misinformation. You
can write it yourself, but I don't think it's included in py4web.
-Jim
On Thursday, January 23, 2020 at 10:02:00 AM UTC-6, Lovedie JC wrote:
>
>
I havent looked at py4web so far, because I dont get how it does permission
in general.
Is there an easy way to use JWT tokens and OIDC/OAUTH2 with Vue.js easily?
I think its quite a pain to go through this in general.
This is why I really liked about rendered HTML page apps.
If its not a
Is there a problem with @auth_has _permission?
I intend to use it.
Regards
On Thu, Jan 23, 2020, 18:57 Jim S wrote:
> You'll be fine with the new system I believe as long as you're not
> currently using @auth.has_permission. While you can do it with py4web it
> is more challenging than in
You'll be fine with the new system I believe as long as you're not
currently using @auth.has_permission. While you can do it with py4web it
is more challenging than in web2py.
-Jim
On Thursday, January 23, 2020 at 9:47:43 AM UTC-6, Christian Varas wrote:
>
> Hi Jim.
>
> Yes I'm using the auth
Hi Jim.
Yes I'm using the auth system permission.
I'm using 2 decorators in fact
@auth.requires_membership() and @auth.requires_login()
I'm gonna port my app to py4web then :)
Thanks
Cheers.
Chris
El jue., 23 de ene. de 2020 11:27, Jim Steil escribió:
> Sounds like a great app to do in
Sounds like a great app to do in py4web.
1. You are already comfortable with javascript.
2. You're not using grid/smartgrid.
3. Are you using the web2py auth system with permissions? If only using
groups (roles) then this would be great to do with py4web.
4. Much faster and you
Thanks for all that you share guys.
I would like to ask for a recommendation.
I have a web interface made with web2py, this interface manage a web
application firewall (nginx and modsecurity). It does commands and file
modifications in the system to manage properly the WAF, the database is
Thanks for sharing you experience with py4web, Jim.
Em qua., 22 de jan. de 2020 às 20:04, Kevin Keller
escreveu:
> The datatables integration for web2py would be super useful. I'm sure we
> could port it over to py4web easily.
>
> I just feel like with all the stuff web2py gave us to get
The datatables integration for web2py would be super useful. I'm sure we
could port it over to py4web easily.
I just feel like with all the stuff web2py gave us to get something quickly
going missing, it'd just another api framework and there are fastapi and
apistar as well falcon out..
I think
Yes, I will post my main utils.py when I have it working better. I still
have to clean up a couple pieces. It would be up to Massimo if he wanted
to add it. But in response to one of my earlier questions I was told
Massimo kept a utility like this out of py4web so people might use better
Jim,
Could your helpers be considered to be added to thr py4web code base?
If you say you have a sqlform.grid equivalent or something in that
direction?
I think there was mtable that should take the spot, but haven't seen any
examples yet or at least none thst would replace a sqlform or
For me, there is no porting, it is re-writing. While a lot of the
capabilities are there in py4web not all are part of py4web. Due to the
nature of how things work, a lot of the 'global' structures in web2py have
to be handled differently in py4web.
SQLFORM.grid is gone. FORM replaces
Hey Massimo, thanks for the great info.
How about porting apps from web2py to py4web?
What steps would you recommend?
Em qua., 22 de jan. de 2020 às 08:21, AGRogers
escreveu:
> OK, thanks. Re reporting errors, I suspect most errors will be due to my
> ignorance. But thanks for the
OK, thanks. Re reporting errors, I suspect most errors will be due to my
ignorance. But thanks for the encouragement.
On Tue, Jan 21, 2020, 1:26 PM Massimo Di Pierro
wrote:
> You should use the py4web documentation. Also please report any error you
> find.
>
>
> On Tuesday, 14 January 2020
You should use the py4web documentation. Also please report any error you
find.
On Tuesday, 14 January 2020 22:03:59 UTC-8, Andrew Rogers wrote:
>
> Hi
>
> Is the documentation for web2py still mostly relevant for py4web?
>
> Thanks
> Andrew
>
> On Thursday, 12 December 2019 20:47:05 UTC+6:30,
Hi
Is the documentation for web2py still mostly relevant for py4web?
Thanks
Andrew
On Thursday, 12 December 2019 20:47:05 UTC+6:30, icodk wrote:
>
> Should I use Web2py or py4web for a brand new project ?
> What is still missing from py4web ?
> Can I debug with pycharm ?
> I need all the
Thanks for that info. I am about to start a new project which is also my
first. So i would like to go with py4web. But i am nervous about not having
good documentation for py4web.
Is the old documentation and videos etc that you have made (which are great
- thanks) still mostly relevant?
On
Good question.
web2py and py4web share a lot of libraries and their syntax is very
similar. Both will be maintained.
web2py was born in 2007 and it is mostly for Python 2 although it now works
well with python 3.
As a rule of thumb, if you are porting a Python 2 project to Python 3, use
18 matches
Mail list logo