for?
On Dec 8, 11:59 am, Miguel Lopes mig.e.lo...@gmail.com wrote:
Hi,
I'm looking to service another application with a web2py service.
A goal is connect to web2py and download a file via a webservice. I've
managed to do this using urllib (on the desktop client) and by
exposing a service.run
I'm posting this reluctantly, because I would expect to be doing
something wrong. However I can't figure out what is wrong.
Playing around with the CRM appliance I introduced a simple ajax
search. Strangely the target div gets loaded with a copy of the entire
page.
My view is as simple as it
On Mon, Dec 14, 2009 at 12:58 PM, Miguel Lopes mig.e.lo...@gmail.com wrote:
I'm posting this reluctantly, because I would expect to be doing
something wrong. However I can't figure out what is wrong.
Playing around with the CRM appliance I introduced a simple ajax
search. Strangely the target
On Mon, Dec 14, 2009 at 2:29 PM, mdipierro mdipie...@cs.depaul.edu wrote:
The view of the action served via ajax should NOT {{extend
'layout.html'}}.
I suppose / expect this is only the case with the crm appliance?
And, that the wiki example provided in the book correctly extends
layout, as if
:37 am, Miguel Lopes mig.e.lo...@gmail.com wrote:
On Mon, Dec 14, 2009 at 2:29 PM, mdipierro mdipie...@cs.depaul.edu wrote:
The view of the action served via ajax should NOT {{extend
'layout.html'}}.
I suppose / expect this is only the case with the crm appliance?
And, that the wiki example
would expect, no page in page.
Can you send me a screenshot?
Massimo
On Dec 14, 8:58 am, Miguel Lopes mig.e.lo...@gmail.com wrote:
On Mon, Dec 14, 2009 at 2:41 PM, mdipierro mdipie...@cs.depaul.edu wrote:
The page has layout. pieces of the page loadad via ajax do not need to
declare
On Mon, Dec 14, 2009 at 4:14 PM, mdipierro mdipie...@cs.depaul.edu wrote:
I just saw the effect and reminded of a similar problem in the past.
Txs for the help. I was going nuts!
Miguel
--
You received this message because you are subscribed to the Google Groups
web2py-users group.
To post to
I have a field with the following requirements:
Field('origin_account_id', db.account),
db.oppty_main.origin_account_id.requires=IS_IN_DB(db, 'account.id', '%(name)s')
In the controller:
form=SQLFORM(db.oppty_main, record=oppty_main, deletable=True,
On Wed, Dec 30, 2009 at 2:57 PM, Miguel Lopes mig.e.lo...@gmail.com wrote:
On Wed, Dec 30, 2009 at 2:54 PM, mdipierro mdipie...@cs.depaul.edu wrote:
before the form=... try
db.oppty_main.origin_account_id.writable=False
you may also want to add:
db.oppty_main.origin_account_id.readable
On Wed, Dec 30, 2009 at 3:17 PM, mdipierro mdipie...@cs.depaul.edu wrote:
Please try 1.74.4 before I look into this more.
I get the same problem with 1.74.4.
I've just reproduced this with a new application using appdamin I also
get the select tag.
I would say this is a bug.
The reproduction
On Thu, Dec 31, 2009 at 3:57 PM, mdipierro mdipie...@cs.depaul.edu wrote:
Before
db.oppty_main.origin_account_id.writable=False
insert
db.oppty_main.origin_account_id.represent=lambda id: SPAN(db.account
[id].name)
Others my think differently, but I feel that the expected behavior
would
I have:
form=crud.update(db.contact,contact)
which raises an exception due to the model having writable=False on a relation:
db.define_table('contact',
...
Field('account_id',db.account,writable=False),
...
)
Is this correct?
How can I use crud without allowing for the relation to
I have a form to create related records with an input type select
element that should display a list of records that are also related to
the parent record. What would be the best approach to populate this
form. I'm trying to stick with SQLFORM since I feel this is not
achievable through CRUD.
In
In many models I have the following field definitions:
...
Field('created_by',db.auth_user,default=me,writable=False),
Field('created_on','datetime',default=request.now,writable=False),
Field('modified_by',db.auth_user, default=me),
On Wed, Jan 6, 2010 at 5:50 PM, Miguel Lopes mig.e.lo...@gmail.com wrote:
I have a form to create related records with an input type select
element that should display a list of records that are also related to
the parent record. What would be the best approach to populate this
form. I'm
I have the following tables: task, opportunity, and oppty_main
With the following relations:
* task.opportunity_id-opportunity.id
* opportunity.oppty_main_id-oppty_main.id
When updating a task I have a SELECT for the related opportunities:
db.task.opportunity_id.requires=IS_NULL_OR(
On Wed, Jan 13, 2010 at 2:07 PM, Alexandre Andrade
alexandrema...@gmail.com wrote:
this works for me:
db.plano_aplicacao.codigo.represent= lambda codigo:
db.natureza_despesa[codigo].codigo + ' - ' +
db.natureza_despesa[codigo].especificacao ),
(Olá Alexandre == Hello Alexandre)
I'm not
No success.
Here's what I tested in the controller:
* All these alternatives result in an input text with the integer value of
opportunity_id being rendered:
1) db.task.opportunity_id.represent=lambda opportunity_id:
opportunity_id.oppy_main_id.name
2) db.task.opportunity_id.represent=lambda
On Thu, Jan 14, 2010 at 3:26 PM, mdipierro mdipie...@cs.depaul.edu wrote:
I think all the problems arise from the fact that you do:
IS_IN_DB(db(db.opportunity.id==db.task.opportunity_id),...)
this is a join and you cannot do a JOIN in a validator because you are
referencing one table,
).
Miguel
2010/1/15 Miguel Lopes mig.e.lo...@gmail.com
I have a select field on a form. It might be empty or take one related
value.
I the model:
db.task.contact_id.requires=IS_IN_DB(db,'contact.id','%(name)s')
db.task.contact_id.requires.zero=''
In a custom form:
{{keys, values=[''],[0
On Fri, Jan 15, 2010 at 2:00 PM, DenesL denes1...@yahoo.ca wrote:
Does the error occur on the 'empty' option of the select?.
You are introducing a 0 index value which is invalid in the db
Yes. You are right!
But how can I have a select with an empty option.
Please note the following extra
On Fri, Jan 15, 2010 at 3:20 PM, DenesL denes1...@yahoo.ca wrote:
Hi Miguel,
contact_set=dict([(contact.id,contact.name) for contact in contacts])
and in your controller override your requires:
db.task.contact_id.requires=IS_EMPTY_OR(IS_IN_SET
(contact_set,zero=None))
note that you can
I'm wondering how to filter query results based on some sort of user access
rights.
Can this be accomplished with Auth?
The basic use case is giving access to all records to all users, and then
have certain users create records that will be only accessible to a limited
number of users. Limited
On Sun, Jan 17, 2010 at 4:50 PM, mdipierro mdipie...@cs.depaul.edu wrote:
Yes. Look into auth.accessible_query.
For example:
db(auth.accessible_query('read', db.mytable)).select(db.mytable.ALL)
returns a all records of mytable that current logged in user has
access to:
This does nested
Cool!
Has soon as I clean somethings I'll upgrade my development version and
check!
Miguel
On Sun, Jan 17, 2010 at 9:27 PM, mdipierro mdipie...@cs.depaul.edu wrote:
I have rewritten some of the code that deals with dropdowns, in trunk.
In particular now you can do
IS_IN_SET(...,sorted=True)
On Sun, Jan 17, 2010 at 10:55 PM, mdipierro mdipie...@cs.depaul.edu wrote:
No auth takes security by the book. If used everything is restricted
unless permission is granted explicitly.
In your case is would just add a Field
('private','boolean',default=False) and if a user tried to access a
With crud when using a custom form boolean fields are not being updated.
If using the default form booleans get updated.
Leopard
web2py source 1.74.4
db SQLite
MacPython 2.5.4
Miguel
--
You received this message because you are subscribed to the Google Groups "web2py-users" group.
To post to
On Mon, Jan 18, 2010 at 7:46 AM, mdipierro mdipie...@cs.depaul.edu wrote:
By custom you mean {{=form.custom.widget.field}} or something else?
That's what I mean.
if I replace the custom form with a regular form everything works fine.
Miguel
--
You received this message because you are
On Wed, Jan 20, 2010 at 4:57 PM, Stefan stefan.louis.no...@gmail.comwrote:
Thanks for the heads up!
On Jan 20, 10:09 am, mdipierro mdipie...@cs.depaul.edu wrote:
The way the web normally works is that requests are initiated by the
client, not by the server.
To have the server trigger
There's some problem with the noticia view since the html of the news body
is rendering as text.
Congratulations on the site. Nice icon set. Is it opensource / free?
Miguel
--
You received this message because you are subscribed to the Google Groups
web2py-users group.
To post to this group,
Hello Massimo,
I wonder if web2py's license would allow for a SaaS kind of application?
By SaaS I mean access to the site (web app) would be paid for. In practice
end users would pay a fee for accessing the site functionality. This seems
very, very borderline to me. I know you are not laywers.
On Mon, Feb 22, 2010 at 9:46 AM, Kuba Kucharski kuba.kuchar...@gmail.comwrote:
I think short answer is this is allowed.
http://osdir.com/ml/web2py/2009-09/msg01859.html
--
Kuba
You are right. But I still have doubts.
The way I see it if company X is selling access to some SaaS
On Mon, Feb 22, 2010 at 7:06 PM, Thadeus Burgess thade...@thadeusb.comwrote:
This has come up in the past, the topics on this subject are in the
google group if the search would actually work I would share the links
to the posts.
I've searched too, but what I've found in the group was, in my
Is there a way to find the previous location / address in an action?
For example:
Currently in www.domain.com/a/c/f/arg1
Follow some link to action_x
def action_x:
if something_is_wrong:
redirect(request.last_location) # including args
...
My goal is to send the user to the page is
if it's reliable or safe but request.env.http_referer
might be what you're looking for.
On May 3, 4:39 pm, Miguel Lopes mig.e.lo...@gmail.com wrote:
Is there a way to find the previous location / address in an action?
For example:
Currently inwww.domain.com/a/c/f/arg1
Follow some link
On Mon, May 3, 2010 at 11:08 PM, Jonathan Lundell jlund...@pobox.comwrote:
web2py probably isn't setting referer on a redirect, and if it did, you'd
have to interpret the URL.
No. If I have no redirect and call a location with no args the referer is
not set when I arrive at web2py's default
Encapsulating javascript code within some widgets is a good solution when
the functionality is generic. This widgets act like drop-in components.
Two examples by mr.freeze are (txs for the nice concept mr.freeze):
http://www.web2pyslices.com/main/slices/take_slice/24
+1 * (Works out of the box) All in one packages with no dependencies and no
config files
+1 * Backward compatibility
* Very easy to extend (like Python fits my brain)
Miguel
On Thu, May 6, 2010 at 4:18 PM, Álvaro Justen [Turicas]
alvarojus...@gmail.com wrote:
Hi folks,
I'm writing an
On Thu, May 6, 2010 at 6:37 AM, Anthony av201...@yahoo.com wrote:
I am brand new to web application development, and I'm looking for a
good web framework to learn in order to build a new web application
(sort of a personal task/project management system). I want it to look
(and act) like a
must
change all form error displaying functionality everywhere!
Miguel
On May 7, 7:26 am, Miguel Lopes mig.e.lo...@gmail.com wrote:
Encapsulating javascript code within some widgets is a good solution when
the functionality is generic. This widgets act like drop-in components.
Two
On Fri, May 7, 2010 at 4:06 PM, blackthorne francisco@gmail.com wrote:
Is it possible to customize the order by which models are loaded/
imported in a web2py application?
Are they loaded by alphabetical order?
Yes. They are loaded alphabetically.
It comes to my mind an idea of an
On Fri, May 7, 2010 at 3:42 PM, Miguel Lopes mig.e.lo...@gmail.com wrote:
On Fri, May 7, 2010 at 3:29 PM, mdipierro mdipie...@cs.depaul.edu wrote:
Errors in form.errors (which is a Storage object and extends a dict).
Perhaps they can be displayed somewhere else?
Yes of course
Yeah! shows how conservative I am :-)
On Fri, May 7, 2010 at 10:10 PM, mdipierro mdipie...@cs.depaul.edu wrote:
Massimo already answered this. But I've been using web2py from the
beginning, have a site running on it with absolutely no problems.
Upgrading
to a new release is as simple as
I followed the www.web2py.com/AlterEgo/default/show/140 in order to generate
a self-certified ssl key using OpenSSL for windows(
http://www.slproweb.com/products/Win32OpenSSL.html)
The certificates are in the web2py folder
Running web2py I get this error:
C:\Programas\web2pyc:\python26\python
On Mon, May 10, 2010 at 10:09 PM, mdipierro mdipie...@cs.depaul.edu wrote:
Anthony made some good points:
http://groups.google.com/group/web2py/msg/a40b27807edc8603
For now let's concentrate on one of them for now. If you have
developed software in web2py that you use internally in your
Very cool.
Congratulations,
Miguel
On Tue, May 11, 2010 at 7:54 PM, mdipierro mdipie...@cs.depaul.edu wrote:
This is concerns me more:
WARNING:root:WEB2PY CRON: Disabled because no file locking
what os are you using?
Windows XP I can check the flavour and service pack tomorrow.
On Tue, May 11, 2010 at 9:41 PM, mr.freeze nat...@freezable.com wrote:
Do you have the win32 extension for Python installed?
http://sourceforge.net/projects/pywin32/
No. Maybe that's he problem.
Tomorrow I'll re-test the thing with pywin32 installed.
Miguel
I've managed to successfully call on a jsonrpc service using localhost.
However I cannot replicate this with a remote server.
For the client I'm using jsonrpc at the Python prompt:
sv = ServiceProxy('http://127.0.0.1:8000/testapp/default/call/jsonrpc')
sv.getRequests()
['json test']
The very
On Wed, May 12, 2010 at 1:48 AM, mdipierro mdipie...@cs.depaul.edu wrote:
Can you describe what happens in the uncessful test? Do you see a new
ticket file being generate in the errors/ folder? What does it say?
Upps! Sorry false alarm. I was calling the remote server with the port and
this
I suppose you want to return several positions that match (domain ==
session.target_domain) then you must not use return (as it escapes the loop
and exits the function scope). You should collect all your matches in a list
and the return the list in the end. Something like:
def check():
On Tue, May 11, 2010 at 9:41 PM, mr.freeze nat...@freezable.com wrote:
Do you have the win32 extension for Python installed?
http://sourceforge.net/projects/pywin32/
On May 11, 3:33 pm, Miguel Lopes mig.e.lo...@gmail.com wrote:
On Tue, May 11, 2010 at 7:54 PM, mdipierro mdipie
On Wed, May 12, 2010 at 7:45 PM, Timothy Farrell tfarr...@swgen.com wrote:
This is the error that Jon Lundell's guys found already. Note that it's
trying to connect to port 8000 as HTTP. Connect as HTTPS and it should
work.
Also try upgrading to trunk, that should issue a 400 Bad Request.
Thanks for sharing.
Miguel
On Thu, May 13, 2010 at 4:50 PM, mr.freeze nat...@freezable.com wrote:
This has been updated for anyone interested:
http://www.web2pyslices.com/main/static/share/web2py.app.web2pyslices.w2p
nice to know the reason.
Keeping with Massimo's suggestion I added solved to the post!
LOL
On 5/13/2010 1:40 PM, Miguel Lopes wrote:
On Wed, May 12, 2010 at 7:45 PM, Timothy Farrell tfarr...@swgen.comwrote:
This is the error that Jon Lundell's guys found already. Note that it's
trying
I have an app running smoothly on OSX that fails on Windows XP.
I've traced the cause to the use of response.files.append(URL(...)) in views
that extend layout
In OSX this works with web2py 1.74.4:
{{response.files.append(URL(r=request, c='static/biz', f='common.js'))}}
Correction and extra data:
Fails on Windows XP with 1.78.2 with SSL enabled,
Works on the same setting with 1.77.3 SSL off.
On Mon, May 17, 2010 at 7:12 PM, Miguel Lopes mig.e.lo...@gmail.com wrote:
I have an app running smoothly on OSX that fails on Windows XP.
I've traced the cause
The net effect is that response.files.append seems to be ignored.
The client receives the page but the appended files are missing.
On Mon, May 17, 2010 at 7:38 PM, mdipierro mdipie...@cs.depaul.edu wrote:
How does it fail?
On May 17, 1:29 pm, Miguel Lopes mig.e.lo...@gmail.com wrote
this
does not look like a browser problem)?
Massimo
On May 17, 1:43 pm, Miguel Lopes mig.e.lo...@gmail.com wrote:
The net effect is that response.files.append seems to be ignored.
The client receives the page but the appended files are missing.
On Mon, May 17, 2010 at 7:38 PM, mdipierro
On Sun, Aug 1, 2010 at 9:20 AM, Neveen Adel nevo.a...@gmail.com wrote:
Hello,
i have function for example
def form_1():
form = SQLFORM (_name='form_1')
and i want inside a different function to load this form and insert
element into it
For example:
def another_fn(form_name):
On Thu, Jul 29, 2010 at 2:38 PM, pabloest pab...@gmail.com wrote:
Hi,
I'm having some trouble simply getting started with Eclipse and Pydev
for web2py development.
I can't get into a debugging mode with web2py.py and the web server
will not even start. When I right-click and select Debug As
Here's my naif setup - note that this should be exactly the same for Eclipse
or Aptana (Aptana is Eclipse + goodies):
1. Use web2py source.
2. Make sure you have PyDev installed in Eclipse/Aptana.
3. Create a project a PyDev project:
* this will link to the web2py folder on the file system - so
I have several functions returning forms in a module file, and started
experimenting with the LOAD function, but I can figure out how to use this
functions without moving them to the controller. I would prefer to keep
these functions in a module for code organization reasons. I wonder if it is
, 2010 at 2:51 PM, Bruno Rocha rochacbr...@gmail.com wrote:
Have you tried local_import()?
I really dont know if that will work in your case, Give it a try
http://web2py.com/book/default/chapter/04?search=local_import
2010/8/2 Miguel Lopes mig.e.lo...@gmail.com
I have several functions
On Tue, Aug 3, 2010 at 2:41 AM, pabloest pab...@gmail.com wrote:
Thank you for the extended description.
This is almost exactly what I had been following.
You welcome. Interesting to know you came up with a similar solution.
I had skipped the
arguments partially because I think Eclipse is
(...)
Iceberg
On Aug 2, 10:19 pm, Miguel Lopes mig.e.lo...@gmail.com wrote:
yes I've tried it. local_import does not work. the LOAD function
signature
expects a controller name and function name (defaulting to the
request.application), as far as I know it is not possible to pass it a
function
I'm pretty sure this as been asked, but I can't find it anywhere.
I would like to use the URL function to construct a link inside
a component view (i.e. views/components/view_x.load). This would be a link
to a completely new page, to be loaded in the browser and not in the
component div. However,
(request.application,'default','view_detail',args=[rec.contact.id])
.load is not appended to the link.
2010/8/10 Miguel Lopes mig.e.lo...@gmail.com
I'm pretty sure this as been asked, but I can't find it anywhere.
I would like to use the URL function to construct a link inside
a component view (i.e
In order to include scripting in a very dynamic component I'm appending a js
file to the response files of every template that uses the component, such
as:
{{response.files.append(URL(request.application,'static/base_components','view_oppty.js'))}}
{{extend 'layout.html'}}
However, this has the
Yes your explanation makes perfect sense, and that solves my encapsulation
problem. Thank you.
You mention normal web2py controllers and views, what would the other kind
be?
Miguel
On Fri, Aug 13, 2010 at 1:19 PM, mdipierro mdipie...@cs.depaul.edu wrote:
2) You can include a js in a component
.
On Aug 13, 10:01 am, Miguel Lopes mig.e.lo...@gmail.com wrote:
Yes your explanation makes perfect sense, and that solves my
encapsulation
problem. Thank you.
You mention normal web2py controllers and views, what would the other
kind
be?
Miguel
On Fri, Aug 13, 2010 at 1:19 PM
I'm using the same name to all input type submits technique. This is very
nice because it avoids some js and works like a charm :-)
In a regular controller the code works flawlessly. However when I try to put
it in a controller, it fails:
status_form = FORM(_id='status_form')
for status in
set a hidden
input text field via the click event of each button.
Miguel
On Mon, Aug 23, 2010 at 3:54 AM, Miguel Lopes mig.e.lo...@gmail.com wrote:
I'm using the same name to all input type submits technique. This is very
nice because it avoids some js and works like a charm :-)
In a regular
://www.johnnycode.com/blog/2010/04/08/jquery-form-serialize-doesnt-post-submit-and-button-values-duh/
We cannot fork jQuery to fix this. Eventually they will fix it.
Massimo
On Aug 23, 8:46 am, Miguel Lopes mig.e.lo...@gmail.com wrote:
As an update, the issue remains with the following
On Tue, Aug 24, 2010 at 1:04 PM, mdipierro mdipie...@cs.depaul.edu wrote:
jquery serialize also does not support type=file. If you have a way to
get around these, please let me know.
I've researched this a bit. Although I have not found an authoritarive
source, the problem is that Javascript
I need to deploy fast.
Since currently I've way too much on my hands already, I wonder if any
of the available hosting alternatives will setup a web2py environment
for the customer and if any of you could express their personal
experience with it (positive, negative, things to watch for...).
A little typo!
Should be isinstance
Traceback (most recent call last):
...
@service.amfrpc3
File /Applications/web2py/gluon/tools.py, line 2128, in amfrpc3
if not ininstance(domain,str):
NameError: global name 'ininstance' is not defined
web2py version 1.65.5 (2009-07-15 17:10:40)
On Sun, Jul 26, 2009 at 4:11 AM, mdipierromdipie...@cs.depaul.edu wrote:
It should be
@service.amfrpc3('somedomain')
is this what you are using?
Massimo
Since it's exposed at: http://localhost:8000/myapp/default/call/amfrpc
I guess that the controller is default, I'm using
On Tue, Jul 28, 2009 at 4:48 PM, carlosyseng...@gmail.com wrote:
After several tries I have to ask: are any particular issues with
embedding flash objects in views?
I put the usual in my view:
{{url=URL(r=request,c='static',f='somefilename.swf)}}
object width=550 height=400
param
On Thu, Jul 30, 2009 at 12:18 PM, carlosyseng...@gmail.com wrote:
Thank you Miguel but I found out that the problem is with my swf file.
It is originally an mp4 file, I tried to convert it with Flash CS4 but
any options I choose seems not working when I call the file form my
web2py view.
If
On Thu, Jul 30, 2009 at 4:58 PM, Jonathan Lundelljlund...@pobox.com wrote:
On Jul 30, 2009, at 7:47 AM, Jonathan Lundell wrote:
On Jul 30, 2009, at 7:42 AM, Miguel Lopes wrote:
If its in swf, it should work.
Although, I notice an error in the original snippet you posted
(besides
On Fri, Jul 31, 2009 at 1:21 AM, Miguel Lopesmig.e.lo...@gmail.com wrote:
On Thu, Jul 30, 2009 at 4:58 PM, Jonathan Lundelljlund...@pobox.com wrote:
On Jul 30, 2009, at 7:47 AM, Jonathan Lundell wrote:
On Jul 30, 2009, at 7:42 AM, Miguel Lopes wrote:
If its in swf, it should work
I also prefer A.
But I like the current logo better and think that it should have been
included in the pool?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
web2py-users group.
To post to this group, send email to
On Fri, Aug 14, 2009 at 3:21 PM, mdipierromdipie...@cs.depaul.edu wrote:
On Aug 14, 8:57 am, Miguel Lopes mig.e.lo...@gmail.com wrote:
I also prefer A.
But I like the current logo better and think that it should have been
included in the pool?
What do you refer to as current logo?
The one
I'm having problems trying to make gluon.tools.Mail work on a vps, and
wonder if anyone knows what would be a minimal setup for sending mail.
I just need to send the an occasional mail. The server as sendmail working,
which I've confirmed in the command line. However, I'm unable to make it
work
uses port 25 by default.
Miguel
On Dec 3, 6:36 pm, Miguel Lopes mig.e.lo...@gmail.com wrote:
I'm having problems trying to make gluon.tools.Mail work on a vps, and
wonder if anyone knows what would be a minimal setup for sending mail.
I just need to send the an occasional mail
Hi Bernado,
2010/12/4 Bernardo Botella Corbí estem...@gmail.com
Hi Miguel,
which test did you do from command line?
does web2py print something? Any error?
Try to do the next thing from the command line:
tail -f /var/log/mail.log
If I try to send mail from web2py using local resources
.
Txs for pointing me to the right direction.
Miguel
On Sun, Dec 5, 2010 at 5:17 PM, Miguel Lopes mig.e.lo...@gmail.com wrote:
Ok. here's the situation:
I only have sendmail installed and running, no exim, postfix or other. I've
checked this listing running services by using:
netstat -tap
I
Hi,
To learn Python I found these very helpful (no particular order):
- Hetland's stuff is concise and clear which is not always the case :-)
- http://hetland.org/writing/instant-hacking.html
- http://hetland.org/writing/instant-python.html
- Alan Gaud's on-line is also very
gluons/tools.py
Txs,
Miguel
On Sat, Jan 29, 2011 at 12:29 AM, Niphlod niph...@gmail.com wrote:
call_or_redirect() is the real addition here you can use both a
URL or a function to manage on_failed_authentication and
on_failed_authorization ... take a look in gluon/utils.py
On Jan 28,
On Fri, Jan 28, 2011 at 11:01 PM, mikech mp.ch...@gmail.com wrote:
I've also found it pretty useful recently to run the web2py app from source
in a good ide, in my case WingIDE which I have a 10 day trial on, and step
thru the program using the debugger.
Eclipse or Aptana with PyDev is also a
You got me in the right direction.
Txs.
I'll be starting a separate thread on what I'm trying to achieve, so
far without success.
On Sat, Jan 29, 2011 at 8:13 PM, Niphlod niph...@gmail.com wrote:
sorry, my mistake!
On Jan 29, 4:01 pm, Miguel Lopes mig.e.lo...@gmail.com wrote:
gluons/tools.py
on_failed_authorization can be a URL or a function.
I'm think I could use this to achieve conditional login redirection.
A use case would be service calls returning a simple string (or a JSON
or an XML reply to non-validated requests), while still allowing for
regular (non-service requests) to be
))
auth.settings.on_failed_authorization = failedAuthHandler
Since using failed_login as a regular action or as a public_call
makes no difference. is this the correct way to use
auth.settings.on_failed_authorization = function ?
Txs for the help,
Miguel
On Sun, Jan 30, 2011 at 10:55 AM, Miguel
On Sun, Jan 30, 2011 at 9:16 PM, Niphlod niph...@gmail.com wrote:
try with auth.settings.on_failed_authorization =
failedAuthHandlerandler()
it works for me ^_^
Not for me! And I can't see how.
Miguel
www.tecnicon.pt
is powered by web2py.
miguel
On Mon, Oct 26, 2009 at 2:46 AM, mdipierro mdipie...@cs.depaul.edu wrote:
www.appliedstacks.com is dead. This means I lost a way to keep track
of web2py sites. So I made something trivial for now:
http://web2py.com/poweredby
I am sure I
Hi,
I'm looking to service another application with a web2py service.
A goal is connect to web2py and download a file via a webservice. I've
managed to do this using urllib (on the desktop client) and by
exposing a service.run in web2py. But the access to the service must
be secure, so I'm
This is not strictly a web2py issue. Though it is a problem that apps
dealing with some character sets must deal with.
I confess that the source of my problem is that I have been delaying
reading-up on encoding and decoding far too long. But I'm pressed for time
and I'm sure that this is a simple
No dia 27 de Mar de 2012 16:13, Miguel Lopes mig.e.lo...@gmail.com
escreveu:
BTW this is a prettyPhoto widget I developed for plugin_wiki, which is
awesome :-)
I mean plugin_wiki is awesome :-)
lol
No dia 27 de Mar de 2012 17:41, Derek sp1d...@gmail.com escreveu:
What's the character set in your browser?
I have safari set for default. But I don't think that's the problem,
because if I hardcode the string there is no problem.
I'm certainly missing something, but the culprit operation seems
1 - 100 of 134 matches
Mail list logo