Re: {Disarmed} [web2py] Re: web2py OpenID or Oauth2 provider

2018-01-09 Thread Stodge
Tuesday, January 9, 2018 at 12:26:03 PM UTC-8, Stodge wrote: >> >> That's a shame - I was just looking for a framework to prototype single >> sign on for our website. >> > > If you're primarily concerned about different web apps on the same server, > wou

Re: {Disarmed} [web2py] Re: web2py OpenID or Oauth2 provider

2018-01-09 Thread Stodge
That's a shame - I was just looking for a framework to prototype single sign on for our website. On Tuesday, 5 December 2017 11:11:31 UTC-5, Carlos Cesar Caballero wrote: > > Thanks for your answer Massimo, I will study if is feasible to implement > that for this project, or I will use a 3rd par

[web2py] Re: Bootstrap is really killing web2py

2014-07-29 Thread Stodge
My guess is that web2py includes BS2. On Saturday, 26 July 2014 18:41:24 UTC-4, sasogeek wrote: > > So... I'm not really sure what this whole conversation is about, as to > whether it's an issue of web2py coming with bs2 by default or some > difficulty in implementing bs3. I use bs3 just fine in

[web2py] Using web2py as a centralised auth server?

2014-07-29 Thread Stodge
I have several Django websites and I want to create a centralized auth provider - I'm looking at various web frameworks including web2py, for a simple solution for prototyping. The auth provider site (web2py) would contain the user accounts and be the only repository for user details and passwo

[web2py] Re: Systems Management Web App for Ubuntu

2012-03-22 Thread Stodge
Does this share any functionality with: http://cloudsilverlining.org/ Cheers On Mar 22, 8:43 am, Eduardo Bergavera wrote: > Hi Everyone! > > I would like to ask some guidance regarding anyone who may be > interested in developing web-based python app for systems management > in Ubuntu. The web-a

[web2py] Re: Authenticate a user against Twitter and them create a user in web2py's db?

2012-03-09 Thread Stodge
Could you not use the Twitter username instead? Or does web2py only accept email addresses? Sorry new to web2py. On Mar 9, 9:20 pm, Bruno Rocha wrote: > the only problem with twitter is that it does not inform user's email > address. > > On Fri, Mar 9, 2012 at 11:07 PM, Stodge

[web2py] Authenticate a user against Twitter and them create a user in web2py's db?

2012-03-09 Thread Stodge
I have the simple authentication example working from http://dougwarren.org/2010/06/oauth-and-web2py-part-1/. Actually I think it's more like authorisation as it gives you access to Twitter data as well as authenticating the user. Anyway. Are there any tutorials for taking this a step further and c

[web2py] Re: LessCSS -- really interesting CSS "compiler"

2011-06-27 Thread Stodge
I thought there was a Python tool that did that. I can't remember the name offhand. On Jun 26, 4:16 pm, Jason Brower wrote: > As nice and easy as it is (I love how easy the language is).  Couldn't > we just do this with python? That way we could just add our css file as > a dynamic file like the

[web2py] Re: Deploying with default web2py server?

2011-06-02 Thread Stodge
Please do - that would be an interesting read! On Jun 2, 5:42 am, cjrh wrote: > On May 30, 10:50 pm, "Sebastian E. Ovide" > wrote: > > > For this reason it is best to deploy web2py behind > > Apache78 > >  , Lighttpd85 or > > Cherokee86

[web2py] Re: Gigya - Janrain alternative

2011-05-13 Thread Stodge
Why tie yourself to a third party provider? Maybe direct integration with sites like Facebook and Twitter is the best direction. On May 13, 1:08 am, Bruno Rocha wrote: > HI, > > I am not very satisfied with Janrain, so I started a search for a different > solution, I already tried SimpleAuth but

[web2py] Re: Lighter processing for AJAX requests ?

2011-05-13 Thread Stodge
Tornado is Python and very lightweight. On May 13, 9:59 am, Alexandre Strzelewicz wrote: > Hi, > > I use a lot of ajax requests to get data asynchronously but each > requests are heavy to handle on server side. > > Indeed, when web2py receive an ajax request, it process : > - web2py python core f

[web2py] Re: some new cool stuff in trunk under testing

2011-05-05 Thread Stodge
This should make it more attractive to a wider audience, especially as web2py has a decent feature list overall. I know web2py has a mantra of retaining backward compatibility, but at what cost? Does it complicate the code? Not a fair comment I know --> but look where it got Microsoft. ;) On May 4

[web2py] Re: web2py as CAS consumer; The page isn't redirecting properly

2011-04-30 Thread Stodge
Thanks. Feel free to tell me I'm crazy - this is based on my limited understanding of CAS and I'm sure you're more knowledgable than I am. On Apr 29, 11:36 pm, Massimo Di Pierro wrote: > thanks. WIll process it asap. > > On Apr 29, 8:42 pm, Stodge wrote: > > &g

[web2py] Re: Multi-Company System

2011-04-30 Thread Stodge
How about using a more generic concept of 'site'? That way it could apply to multi-company, multi-project, multi-location, multi-group etc... On Apr 29, 8:30 pm, villas wrote: > Hi All, > > I would like to use a single web2py app for many companies using a > single DB.  For simplicity,  I would p

[web2py] Re: web2py as CAS consumer; The page isn't redirecting properly

2011-04-29 Thread Stodge
created ticket 251 - http://code.google.com/p/web2py/issues/detail?id=251 On Apr 29, 8:14 pm, Stodge wrote: > Im still stuck at this point; I don't see how maps can possibly be > setup properly if I use teh code from web2py.com/cas: > > from gluon.contrib.login_methods.cas_auth

[web2py] Re: Web2Py Powerd By Error

2011-04-29 Thread Stodge
web2py.com is really slow for me, but it does load. On Apr 29, 8:36 pm, Anthony wrote: > Are you only having a problem with the Poweredby site -- I can't access > web2py.com at all? > > Anthony > > > > > > > > On Friday, April 29, 2011 8:32:56 PM UTC-4, Gilson Filho wrote: > > Sorry, I wrote wron

[web2py] Re: Web2Py Powerd By Error

2011-04-29 Thread Stodge
web2py.com isn't working for me either. On Apr 29, 8:32 pm, Gilson Filho wrote: > Sorry, I wrote wrong. The site is giving error. > _ > *Gilson Filho* > *Web Developerhttp://gilsondev.com*

[web2py] Re: Unknown auth_user injected in 1.95.1

2011-04-29 Thread Stodge
Did someone gain unauthorised access to your server and add a database fixture to create that user? On Apr 29, 5:31 pm, nic wrote: > Thanks Ron, > > Looks like my web2py is corrupted. > I may have to reload web2py on my server I have been using the upgrade > button on the admin app for some time

[web2py] Re: web2py as CAS consumer; The page isn't redirecting properly

2011-04-29 Thread Stodge
py.com/cas/ cas", actions=['login','check','logout']) Where does 'v' come from? On Apr 29, 3:20 pm, Stodge wrote: > Now I'm stuck: > >     def __init__(self, g, >                  urlbase = "https://web2py.com/cas/cas";, &

[web2py] Re: (Bug?) Re: web2py as CAS consumer; The page isn't redirecting properly

2011-04-29 Thread Stodge
The CAS spec defines the login response as yes username So maybe the provider is wrong. http://www.jasig.org/cas/protocol On Apr 29, 7:47 pm, Stodge wrote: > Hmm, the CAS provider is replying with: > > ['yes\r', 'mike\r', ''] > > The CAS consumer

[web2py] (Bug?) Re: web2py as CAS consumer; The page isn't redirecting properly

2011-04-29 Thread Stodge
Hmm, the CAS provider is replying with: ['yes\r', 'mike\r', ''] The CAS consumer code in web2py is: data = data.split('\n') So it's not parsing the response correctly. Is this a bug? On Apr 29, 3:20 pm, Stodge wrote: > Now I'm stuck: >

[web2py] Re: web2py as CAS consumer; The page isn't redirecting properly

2011-04-29 Thread Stodge
s above my head. Any suggestions? Thanks On Apr 29, 3:04 pm, Stodge wrote: > I had to use: > > actions=['login','validate','logout'] > > Now I'm getting: > >   File "/home/mike/Development/python/web2py/gluon/contrib/ > login_meth

[web2py] Re: web2py as CAS consumer; The page isn't redirecting properly

2011-04-29 Thread Stodge
on/web2py/gluon/contrib/ login_methods/cas_auth.py", line 45, in maps=dict(username=lambda v:v[2], IndexError: list index out of range Working on it! On Apr 29, 2:58 pm, Stodge wrote: > Ah, the CAS code is assuming that the provider supports at least three > actions: &

[web2py] Re: web2py as CAS consumer; The page isn't redirecting properly

2011-04-29 Thread Stodge
tions=['login','check','logout'] I guess django-cas-providor doesn't support 'check'. On Apr 29, 2:53 pm, Stodge wrote: > I added some debug to web2py: > > in _CAS_login: > >         print >         print self.cas_login_url >  

[web2py] Re: web2py as CAS consumer; The page isn't redirecting properly

2011-04-29 Thread Stodge
 pm, Stodge wrote: > I'm trying to get web2py to authenticate against a Django CAS > provider. The CAS provider is athttp://10.1.1.1:1/cas. The CAS > provider works for Django based CAS consumers. > > I commented out the existing auth code in my db.py and added this as &g

[web2py] web2py as CAS consumer; The page isn't redirecting properly

2011-04-29 Thread Stodge
I'm trying to get web2py to authenticate against a Django CAS provider. The CAS provider is at http://10.1.1.1:1/cas. The CAS provider works for Django based CAS consumers. I commented out the existing auth code in my db.py and added this as per the instructions on http://web2py.com/cas: from

[web2py] Re: How to define/store chunks that users can choose to display?

2011-04-29 Thread Stodge
Thanks. I want to define a number of "blocks" in the DB, say: - the last 10 posts - the last 10 posts for a specific category - a list of categories - a list of the most popular tags I want to let users choose which of these blocks they want to display. This is the part I'm struggling with. On A

[web2py] How to define/store chunks that users can choose to display?

2011-04-28 Thread Stodge
I'm trying to think of ways to provide 'chunks', which can be either HTML fragments or the output from plugins (components?), e.g. the output from: {{=LOAD('default','latest.load')}} I want to pre-create various chunk records for things like this latest.load example; users can't change these. Bu

[web2py] How to avoid computing a field when updating a record?

2011-04-28 Thread Stodge
How do I avoid computing a field when a record is updated? When I display the form to edit the record using CRUD, the computed field isn't included. So when I hit save, the computed field doesn't exist in the record and it gets computed again. Thanks

[web2py] Re: Best practice to start background process

2011-04-27 Thread Stodge
I don't know about web2py specific processes, but I believe py2exe can install your python application as a Windows service. On Apr 27, 1:04 pm, teemu wrote: > Hi, > > I would like to know what would be the best way to start background > process in production environment. I have implemented backg

[web2py] Re: Some Advice for a Novice

2011-04-26 Thread Stodge
Why not move the 'promotion' field out of the 'inventory' table into a new table? That way you don't have to store a promotion value for every item. You might also then need to add a reference to the promotion in the order. If that all makes sense. On Apr 24, 7:44 pm, JoshC wrote: > good news! We

[web2py] Re: Architectural question applications/components/etc

2011-04-23 Thread Stodge
ot; is supposed to work without the others, > than each part is its own application. > If the parts only make sense together, they belong to one single > application. You can make it more modular using different controllers > for different parts. > > On Apr 22, 8:11 pm, Stodge wr

[web2py] Architectural question applications/components/etc

2011-04-22 Thread Stodge
Quick architecture question. Say I have a project management application. Typically I'm used to creating separate django apps for tickets and requirements and then I can import modules between them as needed. How would this be done with web2py? Is the preferred way to create one application that in

[web2py] Create custom session store?

2011-02-20 Thread Stodge
Does web2py provide the ability to write custom session stores? I'm still reading through the book but I haven't seen anything yet. Thanks