Hmm, I'll need to look into this some more.
On Sat, Mar 12, 2011 at 3:04 AM, pbreit wrote:
> Wow, I'm not sure how or if you are going to be able to run a doctest on a
> form in a controller.
>
> Running it in a web2py shell only returns the form:
>
> In [1] : import os
> In [2] : execfile(os.pa
I'd like to run a doctest that simulates submitting a form, how would that
look?
Here's my trivial example:
def do_nothing():
'''
>>> request.vars.text = 'earafae faefaf afeaf aefafeaef'
>>> do_nothing()
'I'm doing nothing'
'''
form=FORM('Your name:',
I believe web2py can act as a CAS authentication server. If you CMS does CAS
then you're good. Maybe an easier place to start is to figure what CMSes out
there can authenticate against CAS.
2011/1/15 Kenneth Lundström
> I was thinking about using web2py as the authentication platform as it
> hol
Angularjs looks interesting.
On Tue, Jan 11, 2011 at 11:49 PM, Luther Goh Lu Feng wrote:
> Tks for the suggestions. I should be going with angularjs
>
>
> http://misko.hevery.com/2010/07/29/a-radically-different-way-of-building-ajax-apps/
> http://angularjs.org/
>
>
> On Jan 12, 2:12 am, pbreit
Let me second the Plone for CMS/Web2py for rapid apps meme.
I'm also a regular user of Plone and Plone 4 is excellent. Point of
trivia, while Plone latest release has gotten faster, Drupal's latest
release has gotten slower.
Anyway I've had to dive into web2py because it was the best choice for
t
key is is the literal ascii string "", if you change the hmac_key this will break.
from hashlib import md5
import hmac
hmac_key = ''
password = 'insecure'
thehash = hmac.new(hmac_key, password).hexdigest()
print thehash
On Tue, Jan 4, 2011 at 8:13 PM, David Bain wrot
I think janrain might work for me.
On Tue, Jan 4, 2011 at 8:06 PM, mdipierro wrote:
> you are right... You can use janrain. You just need to configure admin/
> models/db.py but mind you loose the configuration on web2py upgrade.
>
> On Jan 4, 5:23 pm, David Bain wrote:
>> Woul
to cetrain attacks.
>
> Web2py uses hmac+md5 or hmac+sha512.
>
> The password can be specified by:
>
> auth.settings.hmac_kay='sha512:mypassword'
>
> which is passed to the validator
>
> CRYPT(hmac_key='')
>
>
> Massimo
>
> The prefix:
I'm not sure how passwords are hashed in web2py. If it uses a token, where
is it stored.
I'm guessing that it uses something like this:
from hashlib import md5
token = 'insecure'
tokenizedHash = md5(password + token)
print tokenizedHash.hexdigest()
information.
On Tue, Jan 4, 2011 at 5:14 PM, mdipierro wrote:
> never mind. should now be fixed in trunk.
>
> On Jan 4, 4:05 pm, David Bain wrote:
> > I didn't get much out of commenting out those lines. In Chrome I got an
> > unresolvable url.
> >
> > On Tue,
I didn't get much out of commenting out those lines. In Chrome I got an
unresolvable url.
On Tue, Jan 4, 2011 at 4:47 PM, mdipierro wrote:
> I think this is now fixed.
>
> On Jan 4, 1:10 pm, David Bain wrote:
> > When I try to access /admin/appadmin in Multiuser/Teachin
tials
return get_session(request, other_application).authorized
File "/home/user/web2pytrunkagain/gluon/fileutils.py", line 278, in
get_session
raise KeyError
KeyError
On Tue, Jan 4, 2011 at 1:01 PM, mdipierro wrote:
>
>
> On Jan 4, 11:07 am, David Bain wrote:
>
@mdpierro,
More flags in 0.py would be "good enough (tm)" for my use case.
On Tue, Jan 4, 2011 at 1:01 PM, mdipierro wrote:
>
>
> On Jan 4, 11:07 am, David Bain wrote:
> > Possible bug:
> > The teacher account is fine. However I created my first student account
Okay the register button is now present :)
[image: user login-1.jpg]
On Tue, Jan 4, 2011 at 12:17 PM, VP wrote:
> Okay. Thanks.
>
> On Jan 4, 11:13 am, David Bain wrote:
> > VP,
> > No the password is the password that the first user signs up with.
> >
> > On
e email sending code in front of the firewall e.g. something
hosted on google appengine.
Any other thoughts on this?
On Tue, Jan 4, 2011 at 12:13 PM, David Bain wrote:
> VP,
> No the password is the password that the first user signs up with.
>
>
> On Tue, Jan 4, 2011 at 12:10
VP,
No the password is the password that the first user signs up with.
On Tue, Jan 4, 2011 at 12:10 PM, VP wrote:
>
> >> One more caveat. For security, the first user is the teacher and
> registration is enabled by default.
>
> I haven't tried this, but will soon. One question: Would the passwo
eir hands on the
> system.
>
> Massimo
>
> On Jan 4, 10:44 am, David Bain wrote:
> > Massimo,
> > Nice! It works... so as long as I register first I'm the teacher :).
> > I'm just looking at web2py again in the last few weeks. I'm very happy to
>
atures
On Tue, Jan 4, 2011 at 11:57 AM, mdipierro wrote:
> It would be nice to have some documentation. For now even a simple
> blog post that explains purpose, how to, and shows some screen shots
> will do.
>
> Massimo
>
> On Jan 4, 10:44 am, David Bain wrote:
> > Mass
Okay... I've started hacking the "Teaching version" of web2py. Hardcoded my
own twitter feed.
I think it would be nice to offer custom feeds on the admin page:
see screenshot below:
[image: site.jpg]
On Tue, Jan 4, 2011 at 11:47 AM, Bruno Rocha wrote:
> Thanks! this will ne very usefull for me t
Just a note. There was no option to register.
I had to visit localhost:8000/admin/default/user/register
On Tue, Jan 4, 2011 at 11:44 AM, David Bain wrote:
> Massimo,
> Nice! It works... so as long as I register first I'm the teacher :).
> I'm just looking at web2py again in
On Tue, Jan 4, 2011 at 10:54 AM, David Bain wrote:
> Thanks Massimo,
> Checking out trunk now.
>
>
> On Tue, Jan 4, 2011 at 10:49 AM, mdipierro wrote:
>
>> In trunk.
>>
>> - Deploy the latest admin
>> - edit file applications/admin/models/0.py and set
>
> access to the entire web2py folder.
>
> At the moment students get access to each other appdmin controllers.
>
> Please help with testing!
>
> On Jan 4, 8:28 am, David Bain wrote:
> > I like the modified admin approach, it would be simpler, for teaching
> > purp
I like the modified admin approach, it would be simpler, for teaching
purposes it would work, it would need to be modified for production style
scenarios as it would not be an acceptable risk.
On Tue, Jan 4, 2011 at 6:50 AM, mdipierro wrote:
> This can be done but it would not prevent one use to
I'm setting up a webserver that supports web2py, each user should have their
own web2py instance, hopefully everything will be deployed via mod_wsgi.
This my goal:
Each user will be able to deploy their apps to their own 'www' folder on the
webserver
filesystem:
~user/www/
for a the web2py app
Thadeus,
So basically it creates a dictionary that represents all the content of a
wordpress databse.
Is this strictly for migration or more for syncing?
I suppose it could be used for both.
On Tue, Dec 1, 2009 at 9:53 AM, mdipierro wrote:
> Could you explain again what is does?
>
> On Dec 1, 1:
Massimo,
This is very useful. An excellent start to the plugin system.
On Mon, Nov 9, 2009 at 11:55 AM, mdipierro wrote:
>
> Assuming the 408 layouts in http://web2py.com/layouts are not enough
> you can use this:
>
> http://code.google.com/p/web2py/source/browse/trunk/scripts/layout_make.py
>
>
For the record, I have used both services and have a preference for
Coactivate.org. Both of them have a feature where they will email you when
there is activity around something that you're interested in, the
implementation is different between them.
On Wed, Oct 28, 2009 at 5:48 PM, david
ems with google groups) and we
> should
> > > > have also a forum. I don't think that we must necessarily use a forum
> > > > software realized in web2py, not immediately at least.
> >
> > > > 2009/10/28 mdipierro
> >
> > > &
at 9:58 PM, mdipierro
> wrote:
> >
> > > All together I am happy with it.
> >
> > > On Oct 27, 9:53 pm, david bain wrote:
> > > > I understand the spam issue with Google Groups, however I wouldn't
> "throw
> > > > the baby out wi
I understand the spam issue with Google Groups, however I wouldn't "throw
the baby out with the bathwater". I find mailing lists to be very valuable.
On Tue, Oct 27, 2009 at 9:50 PM, mengu wrote:
>
> i think a forum would be more helpful and better.
>
> On Oct 28, 2:56 am, mdipierro wrote:
> >
Just to extend the feature set, it would be nice if you could 'register' and
manage/present the bookings of multiple properties.
On Mon, Oct 26, 2009 at 4:38 PM, villas wrote:
>
> We have a similar system requirement: accommodation bookings. In
> this case, each room/property is booked for a
Couldn't get to surrenderthebooty
On Sun, Oct 25, 2009 at 10:19 PM, Thadeus Burgess wrote:
> surrenderthebooty.thadeusb.com
>
> is also powered by web2py (when it gets back online haha)
>
> -Thadeus
>
>
>
>
>
> On Sun, Oct 25, 2009 at 10:16 PM, Miguel Lopes wrote:
>
>>
>> www.tecnicon.pt
>>
>> is
I like the site. BTW I noticed a Plone favicon for some reason.
What were your reasons for chosing web2py over Django?
What database are you using on the backend? sqlite, mysql, postgres?
On Fri, Oct 23, 2009 at 10:25 PM, JorgeRpo wrote:
>
> Cool.
>
> Nice work ;)
>
> On Oct 23, 9:02 pm, Darcy
implementing a captcha or recaptcha based system should help.
On Mon, Oct 5, 2009 at 9:27 AM, Web2py-SuperFan wrote:
>
> Hi all,
>
> I'm implementing a comments and wiki feature on my web2py app. Is
> there any best practices or strategies you've used or would recommend
> on preventing spam or
do not
> have the resources to maintain applications as well as I maintain
> web2py.
>
> Massimo
>
>
> On Sep 16, 11:47 am, david bain wrote:
>> Will this always be the case?
>> Will there be a stable "t-something" in the future? Or are the t
>> projects pr
Will this always be the case?
Will there be a stable "t-something" in the future? Or are the t
projects proving grounds for technologies that eventually get into
core?
On Wed, Sep 16, 2009 at 11:06 AM, mdipierro wrote:
>
> yes
>
> On Sep 16, 10:26 am, david bain wrote:
&g
rent by much more powerful. In the manual this is covered in the
> chapters on Crud, Auth and Service.
>
> t3 was built on t2 so it is deprecated to in favor of t4 which is
> being built and you can find some recent posts about it.
>
> Massimo
>
> On Sep 15, 4:46 pm, David B
Hopefully I've done enough RTFMing before asking this question.
What's the status of t2?
In the t2 tutorial video it was noted that the api was not stable and
it might change. Is it stable now? Can I start deploying "production"
stuff on t2?
Where's the best source of uptodate documentation?
I ch
38 matches
Mail list logo