Hi Folks,
Anybody knows an autocomplete plugin with pic support?
Like:
Name of something | pic |
||
Regards,
Tito
--
Linux User #387870
.
_/_õ|__|
..º[ .-.___.-._| . . . .
.__( o)__( o).:___
--
code mirror works ok for me in chrome, opera and firefox (ubuntu).
--
Thats great! I started using codemirror on another project and I find it
awesome.
I will update from trunk now and test in Ubuntu..
--
Hello everyone,
I am trying to duplicate an issue I have with jQuery UI and load helper.
I have the following in a file named test.load (test.load contains a link
that upon clicking will show a jQuery UI modal -- AKA dialog box)
$(document).ready(function() {
$('div#thedialog').dialog({ autoOpe
Worth a look, but I couldn't find this magic checkbox. I thought I must
have missed something so obvious.
Sorry Massimo, I must have accidentally put the s there while having a
look at layout.html.
Here is what I'm doing, keeping it as simple as possible (using trunk
version).
Steps:
1) Fr
we are considering replacing the admin editor with codemirror since it
should work with IE.
Can you please help us try it?
get web2py form github and edit admin/models/0.py and set the editor to
'codemirror'.
let us know what browser you try and your findings.
Massimo
--
Now in trunk:
auth.wiki(render='html')
will allow html, will do autolink, oembed and allows @ syntax as well
as @{component:...} syntax.
On Saturday, 8 September 2012 20:34:25 UTC-5, Massimo Di Pierro wrote:
>
> Looking at the source code... this is already possible.
>
> Wiki(render=lambda
Ahh thats excellent. Thanks! So it seems that the cooperation portion will
work great with what I need. and the auth system using CAP will be great
too. thanks.
On Sat, Sep 8, 2012 at 5:20 PM, Anthony wrote:
> Maybe have a look at
> http://web2py.com/books/default/chapter/29/04#Cooperation and
>
Thanks Anthony, that worked!
On Sunday, September 9, 2012 4:03:07 AM UTC+8, Anthony wrote:
>
>
>
> On Saturday, September 8, 2012 12:14:16 PM UTC-4, lyn2py wrote:
>>
>> Thanks Anthony for stepping up.
>>
>> I have a views file, it has quite a chunk of html in it. If I could put
>> it in the cont
Looking at the source code... this is already possible.
Wiki(render=lambda page: page.body)
I now exposed in auth.wiki(render=lambda page: page.body). This option will
allow html in wiki. We may want to allow autolinks as well.
On Saturday, 8 September 2012 19:42:18 UTC-5, Anthony wrote:
>
>
On Saturday, September 8, 2012 5:16:32 PM UTC-4, Massimo Di Pierro wrote:
>
> I guess it can be made an option but I really hate WYSIWG. I think wiki
> markup are superior.
>
I think it really depends on the end user -- some folks just aren't
realistically going to learn wiki markup and will exp
While this is a possibility, it may be easier if people publicly sponsor
features they want and pay directly the developer who gets it done.
Massimo
On Saturday, 8 September 2012 18:59:28 UTC-5, Ovidio Marinho wrote:
>
> I think we need to come together and make donations of at least U.S. 10:00
Maybe have a look at
http://web2py.com/books/default/chapter/29/04#Cooperation and
http://web2py.com/books/default/chapter/29/09#Central-Authentication-Service
.
Anthony
On Saturday, September 8, 2012 5:19:03 PM UTC-4, luckysmack wrote:
>
> Ok will do. But im still curious though if web2py as a
I think we need to come together and make donations of at least U.S. 10:00
U.S. dollars to fund the changes. The community web2py will be happier,
harder and making the job easier.
Ovidio Marinho Falcao Neto
Web Developer
ovidio...@gmail.com
ovidioma
I have been speaking with some friends and heavy web2py users and we agree that
the following issue need to be addressed:
1) Improve Mercurial and Git support. Currently Git+web2py allows "clone" and
"push" whirl Hg+web2py allows "commit", "status" and "revert". I think we need
an abstraction l
No, what you have will work as expected.
On Saturday, 8 September 2012 17:02:00 UTC-5, rochacbruno wrote:
>
> I am using:
>
> cache_key = "%s_%s_%s" % (query, start, end)
> total, rows = cache.ram(cache_key, lambda: (db(query).count(),
> db(query).select(limitby=(start, end), cacheable=True)), 36
El sábado, 8 de septiembre de 2012 17:47:49 UTC-3, Massimo Di Pierro
escribió:
>
> In trunk. Could you check it?
>
Works fine!
Jose
--
And the documentation of auth.wiki will be ready on
>>>
>>> Regards,
>>>
>>
> Ashraf
>>>
--
I am using:
cache_key = "%s_%s_%s" % (query, start, end)
total, rows = cache.ram(cache_key, lambda: (db(query).count(),
db(query).select(limitby=(start, end), cacheable=True)), 3600)
Should I put a dummy cache=(...) just to have the benefits?
--
Ok will do. But im still curious though if web2py as a whole would fit my
idea? In web2py I you have applications, one for each app.If I had this
core as one app, and the others build on it (they wouldnt just use the api,
the api would be part of the app). So it seems like I would need to
dupli
I guess it can be made an option but I really hate WYSIWG. I think wiki
markup are superior.
On Saturday, 8 September 2012 15:46:16 UTC-5, Andrew W wrote:
>
> Good point.
>
> On Sunday, September 9, 2012 8:44:32 AM UTC+12, Tito Garrido wrote:
>>
>> auth.wiki shouldn't include a WYSIWYG widget by
In trunk. Could you check it?
On Saturday, 8 September 2012 15:40:37 UTC-5, Jose wrote:
>
>
>
> El sábado, 8 de septiembre de 2012 16:47:56 UTC-3, Anthony escribió:
>>
>> I'd say, when cacheable=True and cache!=None, then cache the entire Rows
>> object (new behavior). However, if cacheable=False
Good point.
On Sunday, September 9, 2012 8:44:32 AM UTC+12, Tito Garrido wrote:
>
> auth.wiki shouldn't include a WYSIWYG widget by default instead of a text
> box?
>
> On Mon, Sep 3, 2012 at 10:16 PM, Andrew W
> > wrote:
>
>> I've just done some tests on tools.py
>> On edit: The page.body is b
Yes, I guess we just need a few notes to encourage everyone to use it.
I was disappointed at first with auth_wiki because I was unsure how to use
my previous work with plugin_wiki, but I think I will be able to re-use
this making use of the 'component' which is really more flexible.
The flexibi
auth.wiki shouldn't include a WYSIWYG widget by default instead of a text
box?
On Mon, Sep 3, 2012 at 10:16 PM, Andrew W wrote:
> I've just done some tests on tools.py
> On edit: The page.body is being updated correctly, but page.html does not
> change.
>
> I've added some print statements and
auth.wiki is looking pretty good (for what I need it for). Sorry, but just
can't wait for the doco to arrive.
I want to create a doco site with a look and feel
like http://hginit.com/01.html. Note the tags off to the left.
This is done with
hg init creates a
repository http://hginit.com
El sábado, 8 de septiembre de 2012 16:47:56 UTC-3, Anthony escribió:
>
> I'd say, when cacheable=True and cache!=None, then cache the entire Rows
> object (new behavior). However, if cacheable=False, then revert to the old
> caching behavior (which should be the default).
+1
--
Let us know if everything works fine. I have not used the script in a while.
On Saturday, 8 September 2012 14:46:46 UTC-5, luckysmack wrote:
>
> Thanks, that is helpful. I'll have to try it out when I get to my computer.
--
Most of the functionality of plugin_wiki is in auth.wiki. Only comments and
star ratings are missing. Everything else is done better in auth.wiki. yet
we provide plugin_comments and plugin_ratings as separate which work with
auth.wik()
On Saturday, 8 September 2012 14:55:19 UTC-5, apps in tabl
On Saturday, September 8, 2012 12:14:16 PM UTC-4, lyn2py wrote:
>
> Thanks Anthony for stepping up.
>
> I have a views file, it has quite a chunk of html in it. If I could put it
> in the controller, I would, but it's quite hefty.
>
> I have about 15 fields, displayed via SQLFORM, just a simple
Thanks, Villas
I understand that i can use both.
The first one will be deprecated, but it is documented.
The second one has better design and integrated, but it is not documented.
I prefer to wait for the second to be documented.
Regards,
Ashraf
>
>
--
I'd say, when cacheable=True and cache!=None, then cache the entire Rows
object (new behavior). However, if cacheable=False, then revert to the old
caching behavior (which should be the default).
Anthony
On Saturday, September 8, 2012 1:22:32 PM UTC-4, Massimo Di Pierro wrote:
>
> What do other
Thanks, that is helpful. I'll have to try it out when I get to my computer.
--
I actually meant having a git repository on your local development machine
not pushing to github or something similar. How do you use git and web2py?
On Friday, September 7, 2012 11:46:13 PM UTC+1, Massimo Di Pierro wrote:
>
> One of the new features is that in admin you can use a git url to ins
I don't understand (ckickin?)
It should be optional and it shouldn't default to current behavior as it
breaks old apps.
On Sat, Sep 8, 2012 at 7:22 PM, Massimo Di Pierro <
massimo.dipie...@gmail.com> wrote:
> What do other people think? We can make the new behavior optional and only
> ckickin wh
Good eye Niphlod!
On Saturday, September 8, 2012 1:59:11 PM UTC-4, Joel Carrier wrote:
>
>
> Ha, as soon as I pasted this snippet I realized that and was looking to
> modify.
> When developing I was working off the trunk and having this problem.
> For some reason I thought maybe after deploying t
Ha, as soon as I pasted this snippet I realized that and was looking to
modify.
When developing I was working off the trunk and having this problem.
For some reason I thought maybe after deploying to linux and using a stable
version the problem would go away.
Then I deployed to a linux machine
Hi, am currently running version 2.0.7. Also, my internet access is not
always up.
On Sat, Sep 8, 2012 at 1:46 PM, Niphlod wrote:
> are you on the latest web2py version ?
>
> BTW: the book is still online at web2py.com/book if you want to read it:
> it's not required to download the app to read
Hmmm... i never call auth.define_tables I guess because I wanted to
customize the auth_user table.
And yet the following tables all get created:
| auth_cas |
| auth_cas_archive |
| auth_event |
| auth_event_archive
raising a little hand here... 2.0.8 and salt=True in auth are incompatible.
Someone here is:
- posting the wrong code
- use the wrong web2py version
- telling lies :P
@Joel: jokes apart, can you please verify ?
On Saturday, September 8, 2012 7:48:14 PM UTC+2, Massimo Di Pierro wrote:
>
> Suppose
works for me
>>> db= DAL()
>>> from gluon.tools import Auth
>>> auth = Auth(db)
>>> auth.define_tables()
>>> db._common_fields.append(auth.signature)
>>> db.define_table('thing',
Field('name'),
Field('name2',
writable=False,
Supposed to work any update_record but let me give it a try.
On Saturday, 8 September 2012 12:39:20 UTC-5, Joel Carrier wrote:
>
> At first I thought it was related to running on a windows machine using
> the development server.
> Then I deployed to a linux machine using the setup-web2py-ubuntu.s
At first I thought it was related to running on a windows machine using the
development server.
Then I deployed to a linux machine using the setup-web2py-ubuntu.sh script
Yes, the version is: Version 2.0.8 (2012-09-07 03:47:51) stable
db.py:
# -*- coding: utf-8 -*-
if 0:
from gluon.sql impo
What do other people think? We can make the new behavior optional and only
ckickin when both cache!=None and cacheable=True.
Massimo
On Saturday, 8 September 2012 09:20:24 UTC-5, Anthony wrote:
>
> Does this break backward compatibility? If so, should we make caching the
> full Rows object
Thanks Anthony for stepping up.
I have a views file, it has quite a chunk of html in it. If I could put it
in the controller, I would, but it's quite hefty.
I have about 15 fields, displayed via SQLFORM, just a simple
form = SQLFORM(db.table)
I want to insert a {{include html_file}} in the mid
Just a thought, but doesn't the wiki page have an is_public field? If
so, did you tick it?
On Saturday, September 8, 2012 9:41:35 AM UTC+1, Andrew W wrote:
>
> Just Checking, were you logged in when you tried to open up the page ?
> Just to clarify, if I'm logged in it will take me directl
Like you, I understand that plugin_wiki will eventually be deprecated, but
you can still use it as it is and I am sure Massimo will accept patches and
fix bugs etc. However, I can't imagine there would ever be any kind of
'conversion' program.
The basic design of auth_wiki is better and inte
--
If you are building a custom form in the view, then yes, you should be able
to do an include in the middle of it. If you just have the SQLFORM object
and want something inserted when it is serialized in the view, it's
trickier but probably doable (need to call response.render() and insert the
r
I am trying to reproduce the problem but I cannot. Are you running 2.0.8?
On Saturday, 8 September 2012 07:34:19 UTC-5, Joel Carrier wrote:
>
> I want to maintain an audit history of all my objects.
>
> So near the beginning of my model definition I have
>
> db._common_fields.append(auth.signature
Does this break backward compatibility? If so, should we make caching the
full Rows object an option (maybe just via the new "cacheable" argument)?
Anthony
On Saturday, September 8, 2012 10:06:56 AM UTC-4, Massimo Di Pierro wrote:
>
> Short answer:
>
> if you cache the select, subqueries are mis
works for me. Do you have a views/generic.json? If you do did you enable it?
response.generic_patterns = ['/myapp/dashboard/call_stats.json']
On Saturday, 8 September 2012 03:59:47 UTC-5, Daniel Gonzalez wrote:
>
> Hi,
>
> I am trying to access an action returning json data. According to Example
Short answer:
if you cache the select, subqueries are missing. So you have to replace
email = row.emails.select().first()
with
email = db(db.emails.studio==row.id).select().first()
This is probably the only change of behavior and it is due to the need of
speedup. before cache was caching v
Use belongs (http://web2py.com/books/default/chapter/29/06#belongs)
db(db.Articles.User.belongs([make,user_ids,into,a,list])).select()
On Saturday, September 8, 2012 9:48:43 PM UTC+8, BlueShadow wrote:
>
> I got a table for articles which contains an ids of users which commented
> on that part
yes.
On Saturday, 8 September 2012 03:54:55 UTC-5, Andrew W wrote:
>
> I've noticed that on Windows with tortoiseHG installed, that web2py
> doesn't recognise it as a Mercurial Installation.I guess I have to
> install Mercurial separately, although I'm using it through TortoiseHG ?
>
>
> On
I do not have that extra "s". Are you saying it in the distribution?
On Saturday, 8 September 2012 03:51:35 UTC-5, Andrew W wrote:
>
> The S comes from Welcome App's layout.html, line 80:
> s
>
>
>
> On Saturday, September 8, 2012 8:41:35 PM UTC+12, Andrew W wrote:
>>
>> Just Checking, were you l
http://web2py.com/books/default/chapter/29/14#Building-a-minimalist-web2py
On Saturday, 8 September 2012 02:39:26 UTC-5, luckysmack wrote:
>
> I am somewhat new to python, and * shock * have an idea for a simple app I
> want to build. To start the app will be relatively light weight, but if it
>
I got a table for articles which contains an ids of users which commented
on that particular image.
now I like to read all the user ids of an particular aricle and display a
list off all articles those users commented on.
here is my first attempt: but its pretty aweful:
db.define_table('Article',
Hi,
reading through the recent posts about user_signature=False/True I have a
better understanding of digitally signed signatures and why they are
important for security.
I think this answers my question. Thanks!
On Tuesday, September 4, 2012 6:08:56 PM UTC-5, greaneym wrote:
>
> Hello,
>
> I
Hi all
In Version 2.0.0 (2012-06-04 18:49:33) dev works well
Model:
tb_studio = db.define_table('studio',
Field('name', label=T('Name')),
#...
format='%(name)s',
migrate=MIGRATE
)
tb_emails = db.define_table('emails',
Field('studio', tb_studio, readable=False, writable=False
are you on the latest web2py version ?
BTW: the book is still online at web2py.com/book if you want to read it:
it's not required to download the app to read it ^_^
On Saturday, September 8, 2012 2:16:44 PM UTC+2, ikdme wrote:
>
> I'm not getting any errors. The images are not displaying. Every
I want to maintain an audit history of all my objects.
So near the beginning of my model definition I have
db._common_fields.append(auth.signature)
and at the very end I have
auth.enable_record_versioning(db)
The problem I am having is that when I pull up all the records representing
the hist
I'm not getting any errors. The images are not displaying. Every other is
working well. I miss the line numbers.
On Sat, Sep 8, 2012 at 10:30 AM, Alec Taylor wrote:
> The documentation is starting to look much better :)
>
> Maybe the chapters have gotten a little large though and should each
> b
I have a SQLFORM with many fields. I want to insert a html file (like
{{include abc.html}} in views) into the middle of the form.
Can I do that?
--
The documentation is starting to look much better :)
Maybe the chapters have gotten a little large though and should each
be separated into "Basic use" and "Advanced use"...
Also the new code boxes are much nicer than before, but still doesn't
have python syntax-highlighting. Can we get this also
Hi,
I am trying to access an action returning json data. According to Example
12 here: http://www.web2py.com/examples/default/examples, all actions
requested with .json and returning a dict are automatically converted to
json. But this is not working for me, maybe because routing is interfering
I use TortoiseHG on Windows which I find quite simple to use, although
sometimes I have to go back to the command line.
I recommend it.
In any case, the tar.gz should work. Are you getting an error ?
On Saturday, September 8, 2012 7:47:38 AM UTC+12, ikdme wrote:
>
> Hello,
> Please am a windows
I've noticed that on Windows with tortoiseHG installed, that web2py doesn't
recognise it as a Mercurial Installation.I guess I have to install
Mercurial separately, although I'm using it through TortoiseHG ?
On Saturday, September 8, 2012 10:46:13 AM UTC+12, Massimo Di Pierro wrote:
>
> One
The S comes from Welcome App's layout.html, line 80:
s
On Saturday, September 8, 2012 8:41:35 PM UTC+12, Andrew W wrote:
>
> Just Checking, were you logged in when you tried to open up the page ?
> Just to clarify, if I'm logged in it will take me directly to the page -
> as expected. I wan
Thanks. That would be great.
On Saturday, September 8, 2012 8:31:16 AM UTC+12, Massimo Di Pierro wrote:
>
> Yes. I will post the script soon. I need to fix it because I changed the
> markmin syntax of links so my previous script broke.
>
>
> On Friday, 7 September 2012 14:58:06 UTC-5, Andrew W w
I am somewhat new to python, and * shock * have an idea for a simple app I
want to build. To start the app will be relatively light weight, but if it
works out in my grand scheme could be far more complex.but the core will be
fairly simple. something an experienced python dev could probably whip up
The IS_IN_DB etc didn't work for me -- perhaps I did something wrong -- but
the variations with IS_IN_SET do. Thanks!
On Saturday, September 8, 2012 2:46:24 AM UTC-4, rochacbruno wrote:
>
> maybe this?
>
> form = SQLFORM.factory(
> Field('test',
> type='string',
> require
72 matches
Mail list logo