So I want to be able to use Janrain, but I also want to have people have to
register. For my app initially i need to control when registration is open
and when it is not, and currently using the examples i've seen, enabling
Janrain makes anyone who can authenticate with one of the third party
via Janrain isn't enough to allow access), or do you
> simply want to require users to add to their profile when they first log in
> with Janrain?
>
> On Wednesday, March 27, 2013 4:08:42 PM UTC-4, DeanK wrote:
>>
>>
>> So I want to be able to use Janrain, but I a
ay, March 28, 2013 11:39:54 AM UTC-4, Anthony wrote:
>
> On Thursday, March 28, 2013 11:06:25 AM UTC-4, DeanK wrote:
>
>> I don't want to have to approve all registrations, but I want to be able
>> to control when people can register (basically just because you have a
>&
Thanks. I could/should have figured most of that out myself so sorry for
the lame question but I appreciate the quick answer. Also I talk about
using Janrain because it exists and works, but all my comments are
applicable to something that is completely free such as sanction if it was
integra
I've been searching and haven't seemed to find someone trying to do this
yet. I'm wondering if there is a way to use the smartgrid, but limit what
fields can be edited after you create an entry. I want to be able to use
the smartgrid interface to create a new entry in some tables, but after th
can edit again).
thanks for your help.
On Monday, April 1, 2013 8:18:10 PM UTC-4, Massimo Di Pierro wrote:
>
> Yes:
>
> db.thetable.thefield.writable = (request.args(-1) == 'new')
>
> On Monday, 1 April 2013 17:31:16 UTC-5, DeanK wrote:
>>
>> I've been
. It gets longer when working with
> child objects.
>
> On Monday, April 1, 2013 11:24:33 PM UTC-4, DeanK wrote:
>>
>> So I'm not sure if I understand this one-liner to properly use it.
>> Request.args(-1) doesn't quite make sense to me...i would think you&
I've been debating using the baked in scheduler and figured I'd try it out
first before fighting to get celery running with web2py. I have a task
that uses Popen to run an external program, processes the result, and
returns. When I run this with the scheduler, an entry in scheduler_run is
cre
:
> #---- do something
> return 1
>
>
>
> On Wednesday, April 24, 2013 8:15:39 PM UTC+2, DeanK wrote:
>>
>> I've been debating using the baked in scheduler and figured I'd try it
>> out first before fighting to get celery running with web2py
So I've read through the documentation twice and could have skipped over
some key point, but i'm having an issue submitting a task from a task.
I've stupefied my to paste it here, but basically from a controller i'm
doing this:
scheduler.queue_task(my_parent_task,
pvars=dict(arg1=val,ar
> A "tasks fired by tasks" is a perfect example: what if you want to queue
> your tasks only if the "parent" completed correctly ?
This makes perfect sense. Also I forget that the "message passing" is
being done through the database. I added a db.commit() at the end of the
parent task and
So one of my model files is somewhat unique (and possibly a bad idea) and
causing me problems...I'll try to describe things the best I can.
My application creates tables dynamically based on user input. To stop
web2py from defining all the tables on every request (which can be a lot in
the who
y fine.
> The only thing I can reproduce is that a task defined as
>
> def mytest_models():
> db.define_table('whatever',
> Field('afield')
> )
> db.whatever.insert(afield='foo')
> db.commit()
>
> works as in
So I'm working to scale up my web2py based app a bit. Part of this was
moving the Scheduler to a separate machine. Since doing this I'm getting
some errors and weird behavior and could use some insight. There are
multiple issues but I sort of need to explain it all so I opted for 1 post
with
Awesome thanks. Everything is working now.
I've used the scheduler monitor a decent amount and it has worked pretty
well for me. This is the first bug I've noticed but if I find more I'll be
sure to let you know. The only tweak I've made is the output from my tasks
contains lots of debug info
quot;.
>
> On Monday, October 21, 2013 4:26:54 PM UTC+2, DeanK wrote:
>>
>> Awesome thanks. Everything is working now.
>>
>> I've used the scheduler monitor a decent amount and it has worked pretty
>> well for me. This is the first bug I've noticed b
I have an instance of web2py running on nginx sitting behind an apache
reverse proxy (soon to be nginx as well) so:
www.mydomain.com/myapppoints to >>myserver1.otherdomain.com
i have /myapp/default/landing set as the default application, controller,
and function. When i go directly
ay, November 5, 2013 11:51:11 AM UTC-5, DeanK wrote:
>
> I have an instance of web2py running on nginx sitting behind an apache
> reverse proxy (soon to be nginx as well) so:
>
> www.mydomain.com/myapppoints to >>myserver1.otherdomain.com
>
> i have /myapp
I'm having trouble with a web2py site sitting behind an Apache2 reverse
proxy that uses web2py's built in ajax capability. The main domain server
configuration is setup like this to point to the server running my web2py
app:
ProxyHTMLInterp On
LogLevel Debug
ProxyHTMLLogVerbose On
ProxyPass /l
proxy-html
ProxyHTMLURLMap http://my.server.com /link/
ProxyHTMLURLMap / /link/
ProxyHTMLURLMap /link/ /link/
RequestHeaderunset Accept-Encoding
On Tuesday, November 5, 2013 11:51:11 AM UTC-5, DeanK wrote:
>
> I have an instance of web2py running on nginx sitting behind an
http://apache.webthing.com/svn/apache/filters/proxy_html/proxy_html.conf.
>
> Anthony
>
> On Thursday, November 14, 2013 6:46:42 PM UTC-5, DeanK wrote:
>>
>> I'm having trouble with a web2py site sitting behind an Apache2 reverse
>> proxy that uses web2py's b
So I have a somewhat unique situation where multiple different users will
be creating separate accounts with unique usernames, using the SAME email
address. I figured I could make this happen by using custom auth tables
like this:
## Manually set up Auth tables so you can have non-unique email
2013 3:58:56 AM UTC-5, Massimo Di Pierro wrote:
>
> Please open a ticket. This needs to be implemented.
>
> On Friday, 15 November 2013 11:07:31 UTC-6, DeanK wrote:
>>
>> So I have a somewhat unique situation where multiple different users will
>> be creating separate a
When I view my site directly through the host server the footer looks
fine. It's snapped to the bottom and centered.
When I view my site through a reverse proxy, the footer content is smashed
to the left, as if its in a column or something. Looking at the html I
can't really see anything diff
I noticed that in web2py.css:
.center {width:100; text-align:center; vertical-align:middle}
if i change this to:
.center {width:100%; text-align:center; vertical-align:middle}
things then work fine.
On Thursday, December 19, 2013 11:54:37 AM UTC-5, DeanK wrote:
>
> When I view m
I've been searching around trying to figure out how to do this without
success. I need to enforce only a single login per user. Out of the box
you can login using the same credentials from different computers, but I
need logging in on a different computer to terminate the session of the
first
; object from the session
> (or simply delete the session entirely). This is a bit more complicated and
> CPU/IO intensive, but it only happens upon login, not on every request.
> Also, it won't work with cookie based sessions.
>
> Anthony
>
> On Tuesday, February 4,
So I started looking into trying to get this to work and I'm stuck, mainly
because web2py storing sessions in Redis is a blackbox to me. I couldn't
find anywhere in the documentation how to query the session db. I'm
storing my sessions in redis following the code snippet in the deployment
rec
I'm looking to use the built in scheduler to farm out work, but run gpu
dependent code. Because of this I need to be able to control on which node
the task is scheduled. I thought I could do this using "groups" but I
don't see how since you set the group in the scheduler constructor
according
>
>
> BTW: did you at least tried to read
> http://web2py.com/books/default/chapter/29/04/the-core#web2py-Schedulerbefore
> asking ?
>
>
> On Tuesday, May 20, 2014 9:46:39 PM UTC+2, DeanK wrote:
>>
>> I'm looking to use the built in scheduler to farm out wor
I'm have a few things that need clarification and am also experiencing some
odd behavior with the scheduler. I'm using my app's db instance (mysql) for
the scheduler.
at the bottom of scheduler.py:
from gluon.scheduler import Scheduler
scheduler = Scheduler(db,heartbeat=3)
I start my worke
ow to be running should
equal tasks listed as running.
Thanks again for the help and making all this easy, awesome, and free.
Dean
On Saturday, June 7, 2014 12:35:56 PM UTC-4, Niphlod wrote:
>
> ok, my responses are inline your post
>
> On Friday, June 6, 2014 9:34:00 PM U
@Derek - Did you get auth0 integrated with web2py?
On Monday, March 2, 2015 at 2:33:59 PM UTC-5, Derek wrote:
>
> It would help if you describe what you are doing, some code behind how you
> are doing it, and what errors you are having.
>
> That said, I've had much success with Auth0.
> https:
I'm trying to hide profile fields based on user role. For example
"basic_user" should have some fields hidden. So in my db.py where I'm
setting up a custom auth table:
if 'profile' in request.args:
# If the user is a basic_user hide power_user stuff
if auth.has_membership('basic_user')
>
> On Saturday, May 30, 2015 at 5:51:45 PM UTC-4, DeanK wrote:
>>
>> I'm trying to hide profile fields based on user role. For example
>> "basic_user" should have some fields hidden. So in my db.py where I'm
>> setting up a custom auth table:
>
35 matches
Mail list logo