[web2py:33705] Re: plugin system again

2009-10-26 Thread suiato
. (may need some hybridzation.) not asking any changes to web2py at this moment. could be developed as another independent project. welcome any comments. Cheers, Teru 2009/10/23 suiato: > > hi all, > > although i'm a mere user who may not have full understanding of web2py

[web2py:33604] Re: plugin system again

2009-10-24 Thread suiato
Hi All, 2009/10/24 Yarko Tymciurak : > On Fri, Oct 23, 2009 at 11:09 PM, mdipierro wrote: >> >> It seems to me this would move us completely in the wrong direction. > > First, since you are not writing in context, I will guess you are talking > about the concept that

[web2py:33490] Re: plugin system again

2009-10-22 Thread suiato
hi all, although i'm a mere user who may not have full understanding of web2py mechanisms, i'm interested in how the web2py plugin system is developed thru these discussions. because it will affect the evolution path of this software, and probably decide if or how i am going to use this system in

[web2py:32128] Re: Proposal for plugin system in web2py - RFC

2009-10-02 Thread suiato
Hi it's great to see web2py is going to have plugin/component :-) my two cents below. - plugins and components enhance functionalities of web2py. - to augment the web2py system, API and namespace are important issues to be addressed. - plugin is an application which happens to interact with ot

[web2py:31782] Re: Ubuntu web2py

2009-09-28 Thread suiato
.freespire.org/index.php/Using_Apt man apt-get is available on terminal always for manual of course. > Regards, > Jason Brower Best, Teru > > On Sep 28, 3:44 am, suiato wrote: > > > i run web2py on ubuntu 9.04. > > > try > > sudo apt-get install python-tk

[web2py:31771] Re: Ubuntu web2py

2009-09-27 Thread suiato
i run web2py on ubuntu 9.04. try sudo apt-get install python-tk i have libsqlite3 installed: sudo apt-get install libsqlite3-0 (not sure if it's required.) always good to do sudo apt-get update sudo apt-get dist-upgrade -- Teru On 9月28日, 午前6:30, Thadeus Burgess wrote: > I am not on ubuntu,

[web2py:31679] Re: Addressbook by web2py?

2009-09-25 Thread suiato
Hi Iceberg it will be nice to have an address book application. when googled a bit, i found at http://www.mail-archive.com/web2py@googlegroups.com/msg17179.html JoshuaJ wrote "...I'm writing a basic multi-user address book application." (Jul. 21) Maybe he's still on this list and working on the p

[web2py:31587] Re: Versioning using Mercurial

2009-09-23 Thread suiato
; object is unsubscriptable commit.html:54 shows response.write(repo[None].rev()) -- Teru On 9月22日, 午後8:44, suiato wrote: > Hi Anthon > > yes, i'm interested since i have  web2py running in mod_wsgi. > > in my current setting, hittingn the 'versioning' m

[web2py:31460] Re: Versioning using Mercurial

2009-09-22 Thread suiato
Hi Anthon yes, i'm interested since i have web2py running in mod_wsgi. in my current setting, hittingn the 'versioning' menu issues a ticket IOError: sys.stdin access restricted by mod_wsgi -- Teru Error ticket for "admin" Error traceback Traceback (most recent call last): File "gluon/rest

[web2py:31371] Re: remote_addr

2009-09-20 Thread suiato
solved when i replaced the top part (upto response.menu) of appadmin.py in the appliances application with that of appadmin.py in the ajaxSpreadsheet application. __ Teru On 9月19日, 午後10:49, suiato wrote: > Thanks for commenting, Massimo. > > On 9月19日, 午後5:40, mdipierro wrote: >

[web2py:31321] Re: remote_addr

2009-09-19 Thread suiato
have missed something obvious. will appreciate any hints or suggestions. > > Massimo -- Teru > > On Sep 18, 11:46 pm, suiato wrote: > > > thanks to the instructions on the book and the example > > web2py_wsgi.conf, i now can run web2py with mod_wsgi on apache. a

[web2py:31294] remote_addr

2009-09-18 Thread suiato
thanks to the instructions on the book and the example web2py_wsgi.conf, i now can run web2py with mod_wsgi on apache. admin with https worked fine, too, but i had to comment out the lines if request.env.remote_addr!=request.env.http_host.split(':')[0]: raise HTTP(400) in models/appadmin.py. i

[web2py:31072] Re: note on web2py examples

2009-09-15 Thread suiato
you! > > Massimo > > On Sep 14, 10:11 pm, suiato wrote: > > > when i found web2py, the examples > > athttp://web2py.com/examples/default/examples > > was a very good introduction for me. as part of my relearning process, > > i went thru the examples, running we

[web2py:31060] Re: free appliances

2009-09-15 Thread suiato
unctions. > > All provide errors using latest stable on linux. FYI, in my case, i ran web2py 1.67.0, Python 2.5, and Ubuntu 9.04-ja desktop. python-tk is installed. python-dev is also installed. > > -Thadeus -- Teru > > On Mon, Sep 14, 2009 at 10:49 PM, suiato wrote: > > &

[web2py:31059] Re: free appliances

2009-09-15 Thread suiato
ot;sqlite://db.db") is changed to db=SQLDB("sqlite:// storage.db") in models/db.py for some reason still unclear to me. -- Teru On 9月15日, 午後12:49, suiato wrote: > web2py's free appliances are great assets to know its capability and > codes. on my PC, i installed all o

[web2py:31037] free appliances

2009-09-14 Thread suiato
web2py's free appliances are great assets to know its capability and codes. on my PC, i installed all of them shown at http://mdp.cti.depaul.edu/appliances as well as jPolite and pyForum, and listed the ones that seemlingly work right away (out of the box) and the others which don't (giving ticket

[web2py:31036] Re: note on web2py examples

2009-09-14 Thread suiato
so fast :-) On 9月15日, 午後12:29, mdipierro wrote: > Fixed them all. Thank you! > > Massimo > > On Sep 14, 10:11 pm, suiato wrote: > > > when i found web2py, the examples > > athttp://web2py.com/examples/default/examples > > was a very good introduction for

[web2py:31034] note on web2py examples

2009-09-14 Thread suiato
when i found web2py, the examples at http://web2py.com/examples/default/examples was a very good introduction for me. as part of my relearning process, i went thru the examples, running web2py(ver.1.67.0). mostly ran perfectly :-) some typos and memos are listed below. Example 3 hello3.xml worke

[web2py:30799] Re: autocomplete

2009-09-11 Thread suiato
g and developing software. -- Teru On 9月12日, 午前12:09, Yarko Tymciurak wrote: > On Fri, Sep 11, 2009 at 1:11 AM, suiato wrote: > > Hi Teru - > > Something better than "cut/paste" and very simple, if you use Firefox > browser is this plugin: > > "It's All Text

[web2py:30691] Re: autocomplete

2009-09-10 Thread suiato
Hi Iceberg 2009/9/11 Iceberg : ... > Actually, Limodou, the author of uliweb and ulipad is one of the early > contributors of web2py, and is still recognized in web2py's > contributor list. For some design philosophy reason he decided to > start his own uliweb project which is not as popular as w

[web2py:30674] Re: Enable line numbering in the admin interface editor???

2009-09-10 Thread suiato
On 9月11日, 午前10:00, cesmiga wrote: > All: > > Is there a way to enable line numbering in the admin interface editor? i see line numbers on the web2py editor when editing models/ controllers/views. what is 'admin interface editor'? > > Thank you, > Christopher --~--~-~--~~

[web2py:30672] Re: autocomplete

2009-09-10 Thread suiato
:// uliwebproject.appspot.com/), too. it is built by combining existing tools/ideas including Werkzeug, Django and web2py :), with modification/addition. -- Teru On 9月5日, 午後1:21, suiato wrote: > quickly reading the manual of Amy Editor, its 'snippets' chapter shows > rich features i

[web2py:30087] Re: autocomplete

2009-09-04 Thread suiato
quickly reading the manual of Amy Editor, its 'snippets' chapter shows rich features including what i mentioned in the previous post. to make full use of its power, it can run on a server, written in PHP. Timmie in [web2py:29959] showed links to editors: * http://labs.mozilla.com/bespin/ * http:

[web2py:30069] Re: autocomplete

2009-09-04 Thread suiato
ote: > editarea does not do autocomplete but amy editor does. There is a flag > in admin/models/0.py that ley you use Amy editor. It does not work > with every browser but does autocomplete. > > On Sep 4, 9:49 am, suiato wrote: > > > in the Auto-completion section, Chap.10, it

[web2py:30044] Re: autocomplete

2009-09-04 Thread suiato
admin/static/edit_area directory. can i apply the method described in the above section in this case? -- Teru On 9月4日, 午後9:43, mdipierro wrote: > Do you know this is discussed in the book? Chapter 10. > > Massimo > > On Sep 4, 5:45 am, suiato wrote: > > > O

[web2py:30043] Re: autocomplete

2009-09-04 Thread suiato
On 9月4日, 午後9:43, mdipierro wrote: > Do you know this is discussed in the book? Chapter 10. Thanks, Massimo. Sorry. I will read it :-) > > Massimo -- Teru --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-use

[web2py:30042] Re: autocomplete

2009-09-04 Thread suiato
On 9月4日, 午後7:45, suiato wrote: ... > - editArea (made by Christophe Dolivet) is used for editing the code. > - its code and usage actually look more straightforward than those of > nicEdit. > - autocomple feature is in its todo list :-) well, found that autocompletion.js is alre

[web2py:30032] Re: autocomplete

2009-09-04 Thread suiato
On 9月1日, 午後3:20, suiato wrote: ... > > so far, i've found the web2py editor uses nicEdit, which is written in > JavaScript and uses jQuery. jQuery has anautocompleteplugin (http:// > bassistance.de/jquery-plugins/jquery-plugin-autocomplete/). looking further, i found: - ni

[web2py:29803] Re: little bug on web2py editor

2009-09-01 Thread suiato
On 9月1日, 午後9:55, mdipierro wrote: > which controller? in any controllers, i think... > > On Sep 1, 3:44 am, suiato wrote: > > > found that commenting out a function as > > """ > > def show(): > >     ... > > """ > &

[web2py:29778] little bug on web2py editor

2009-09-01 Thread suiato
found that commenting out a function as """ def show(): ... """ works, but the web2py editor still lists the function. -- Teru --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this

[web2py:29776] Re: autocomplete

2009-08-31 Thread suiato
ally for newbies and students. data for autocomplete could become large for clients, but using ajax can reduce the burden on the client side. -- Teru > > 2009/9/1 suiato > > > > > > > would it be difficult to incorporate autocomplete feature on the > > web2py

[web2py:29774] autocomplete

2009-08-31 Thread suiato
would it be difficult to incorporate autocomplete feature on the web2py editor, something like we see on Eclipse? it'd be awfully nice to have for a person like me who have difficulty in remembering those terms and forms... so far, i've found the web2py editor uses nicEdit, which is written in Ja

[web2py:29297] Re: The TAO of Key-Value DBs "NoSQL" (V. Good List of NoSQL DBs)

2009-08-24 Thread suiato
recently installed Tokyo Cabinet/Tyrant on my test server. interested in using it from within web2py thru memcached or RESTful http interface... any activities along this line of development? -- Teru --~--~-~--~~~---~--~~ You received this message because you are s

[web2py:29287] Re: fyi

2009-08-24 Thread suiato
I posted on reddit for the first time : frequent updates that don't break code is an important point to be made. Linux kernel development is, of course, far larger in scale, but the same principle applies. Its statistics show - 5.45 patches per hour - 10,923 lines of code are added a day - 5,547 l

[web2py:29219] typo in gluon/utils.py (Version 1.66.2)

2009-08-24 Thread suiato
just downloaded from the trunk (Version 1.66.2 (2009-08-24 04:27:11), and found a typo in gluon/utils.py: retrun -> return :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this grou

[web2py:28720] Re: eStore + jQueryUI + ThemeRoller

2009-08-15 Thread suiato
Hi Philip, jQueryUI-oriented version of eStore sounds good :-) I myself have been working toward the direction for a while now to realize some ideas I have on e-commerce applications, but I am also realizing that these applications may require rather consorted/ continuous efforts of a team of pe

[web2py:28718] Re: Bug with T.force()

2009-08-15 Thread suiato
Hi HC 2009/8/16 hcvst : > > Just tested locally on an older version - happens too and > independently of browser settings. > No idea why I could not reproduce it earlier for 'it' and 'fr'. > > web2py Shell Version 1.65.7 (2009-07-28 18:50:03) > In[0]: T('Hello World').xml() > Out[0]: 'Hello Worl

[web2py:28330] Re: On customizing auth_user

2009-08-10 Thread suiato
as for translation of auth messages, found in we2py-developers Álvaro is working on it with Massimo. he's testing. wish him success! -- Teru On 8月10日, 午前5:14, suiato wrote: > 2009/8/9 suiato : > > > > > Thanks, Yarko and Massimo > > > Yes, translation of mes

[web2py:28274] Re: On customizing auth_user

2009-08-09 Thread suiato
2009/8/9 suiato : > > Thanks, Yarko and Massimo > > Yes, translation of messages in auth without T() worked :-) After doing some follow-ups, I now think I haven't really made it work... (web2py 1.65.11) My understanding was not sufficient and I made a mistake in the course of my

[web2py:28248] Re: On customizing auth_user

2009-08-08 Thread suiato
Thanks, Yarko and Massimo Yes, translation of messages in auth without T() worked :-) I inserted auth.messages.label_first_name = 'Given name' into models/db.py and, after hitting 'update all languages', found an item 'Given name' in a language file for translation. It's good to know how it work

[web2py:28222] On customizing auth_user

2009-08-08 Thread suiato
Yet another auth-related posting... I was a bit surprised, when trying to customize the auth_user table, that the fields 'first_name' and 'last_name' were mandatory. Because they are used in other places in gluon/tools.py: table_membership, table_event, get_or_create_user0 and description for a

[web2py:27885] Re: Fwd: My thoughts on web2py

2009-08-03 Thread suiato
I found this thread encouraging. It shows Massimo and members here are open to different views/opinions while maintaining integrity. That's essential for open-source software to evolve. E.g., who thought in the early 1990's Linux was going to be as serious a software as we see today? Cheers, Ter

[web2py:27738] Re: Can I use HTTP PUT method?

2009-07-31 Thread suiato
CouchDB seems to support PUT. -- Teru --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to

[web2py:27296] Re: eStore appliance

2009-07-23 Thread suiato
applicance? -- Teru On 7月13日, 午後8:56, Benigno wrote: > Suiato, > >    I have just sent the code to Massimo, I dont know if the format I > sent it will be ok, or if the code will be ok. But if you are in a > hurry what you need is actually very simple: > >     https://www.sa

[web2py:26334] Re: eStore appliance

2009-07-12 Thread suiato
, there is a very simple way to set it up that works almost > > exactly like what Massimo shows for google. I am just in the process > > of modifyingEStoreto put it in place in a very simplified way, but I > > am sure you can take it up from there to do whatever you want. I&#

[web2py:25611] Re: eStore appliance

2009-07-03 Thread suiato
just restarted to work on eStore yesterday, trying to use it as a reference for one of my projects. it's a good and useful example for me to learn translation and system in web2py. Google checkout for merchants is still not available in countries other than US and UK, though its application pages

[web2py:23401] Re: Translating a line with a link

2009-06-05 Thread suiato
alse) right? or, would it be a bad practice? > Massimo -- Teru > > On Jun 5, 9:40 pm, suiato wrote: > > > I changed the regular expression in gluon/languages.py as below, and > > "update all languages" now updates the strings in T() and Tx() :-) > >

[web2py:23396] Re: Translating a line with a link

2009-06-05 Thread suiato
'')|"\ + r"(?:'(?:[^'\\]|\\.)*')|" + r'(?:"""(?:[^"]|"{1,2}(?!")) *""")|'\ + r'(?:"(?:[^"\\]|\\.)*"))' To follow naming convention in web2py, would it be better called T

[web2py:23394] Re: Translating a line with a link

2009-06-05 Thread suiato
uot;)|'\ + r'(?:"(?:[^"\\]|\\.)*"))' regex_translate = re.compile(PY_STRING_LITERAL_RE, re.DOTALL) By the way, in epydoc(http://mdp.cti.depaul.edu/examples/static/ epydoc/), it's regex_translate = re.compile(r'(?s)(?<=[^\w]T\()(?P[uU]?[rR]?(?: \&#x

[web2py:23310] Re: Translating a line with a link

2009-06-04 Thread suiato
On 6月5日, 午前1:47, JorgeR wrote: > cool > > this should go in the wiki under 'tips and tricks' Oh, in https://mdp.cti.depaul.edu/wiki/ ? Actually, it'd be nice to have a topic on translation/i18n/l10n. > > On Jun 3, 11:08 pm, suiato wrote: > > > 2009/06/04

[web2py:23273] "update all languages" in admin updates *.bak files too

2009-06-04 Thread suiato
Currently "update all languages" in admin updates *.bak files, too. Suppose I have ja.py in the languages directory, delete some items on the web2py's web editor, and update. Yes, these items are now deleted from the file. But, when I hit "update all languages" later, those deleted items in ja.bak

[web2py:23256] Re: Translating a line with a link

2009-06-03 Thread suiato
2009/06/04 12:57 mdipierro : > > In model you can just do > > Tx=lambda *a: XML(str(T(*a)) > > and use Tx instead. This is a good learning experience for me. Lots of thanks, Massimo. By the way, XML(T()) seems to work when I tested with an example. Cheers, Teru --~--~-~--~~-

[web2py:23251] Re: Translating a line with a link

2009-06-03 Thread suiato
L(str(T(...)))}}} in the source code when internationalizing. -- Teru On 6月4日, 午後12:01, suiato wrote: > 2009/06/04 11:16 mdipierro : > > > > > It can > > > {{=XML(str(T('Users can access the store here', > > (request.application)))}} > > > Massi

[web2py:23246] Re: Translating a line with a link

2009-06-03 Thread suiato
2009/06/04 11:16 mdipierro : > > It can > > {{=XML(str(T('Users can access the store here', > (request.application)))}} > > Massimo Wow, great! It worked after adding a paranthesis ) to close XML. (The correction was easy to make thanks to the friendly editor in web2py.) Thanks a lot. -- Teru -

[web2py:23242] Re: Translating a line with a link

2009-06-03 Thread suiato
'm about to finish a draft of Japanese translation of eStore. I will be happy to share the results if anyone is interested. > > Massimo Cheers, Teru > > On Jun 3, 7:14 pm, suiato wrote: >> This may be a newbie question, but will someone tell me what'd be the >

[web2py:23233] Translating a line with a link

2009-06-03 Thread suiato
This may be a newbie question, but will someone tell me what'd be the proper way of putting T() to the line below? Users can access the store here It's in manage/setup.html of the eStore appliance. I've tried like {{=T('Users can access the store here', dict (req=request.application))}} but show

[web2py:22992] Re: web2py2po/po2web2py

2009-05-31 Thread suiato
Hi, Fran Thanks for your comment and pointers. On 5月31日, 午前7:17, Fran wrote: > On May 30, 4:29 am, suiato wrote: > > > I'm translating an appliance eStore as an example in learning how to > > localize web2py appliances, and found web2py2po/po2web2py programs > >

[web2py:22990] Re: eStore appliance

2009-05-31 Thread suiato
print form.errors > response.flash='welcome to the store setup' > return dict(form=form) > > And let me know what it prints. > > On May 31, 12:20 pm, suiato wrote: > > > I have run an appliance eStore, and it works fine except that I cannot &g

[web2py:22972] eStore appliance

2009-05-31 Thread suiato
I have run an appliance eStore, and it works fine except that I cannot set parameters under Merchant ID at http://localhost:8000/eStore/manage/setup because the condition form.accepts(request.vars,session) in setup() is false. Is it because I don't have an official Merchant ID? I am yet to learn

[web2py:22929] web2py2po/po2web2py

2009-05-29 Thread suiato
I'm translating an appliance eStore as an example in learning how to localize web2py appliances, and found web2py2po/po2web2py programs useful because I usually work on po format in traslation. Has anyone here worked on these? --~--~-~--~~~---~--~~ You received this

[web2py:20312] Re: Compliments

2009-04-22 Thread suiato
Look forward to T3 evolving :-) Tried it after downloading from http://web2py.appspot.com/t3, and it seems to work fine so far. Noticed some updating is needed on the Main page (http:// web2py.appspot.com/t3/default/wiki/main) for the current T3 version: - Click on Configure -> Click on Manage Se

[web2py:19644] Re: Ajax Auth and Multiple Single Signon

2009-04-12 Thread suiato
The page (https://rpxnow.com/docs) has example code in C#, Java, PHP and RoR. Not in Python, but supposedly the program in C# or Java can be called by Python... ? --- Teru --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Gro

[web2py:19477] Re: Best deployment via apache to hide controller and app name?

2009-04-08 Thread suiato
The syntax suggested looks a bit different from the examples given in 2 and 3 below. When the IP address is omitted, does it default to any IPs (i.e., catch all)? E.g., Is ('/admin/(?P.*)','/admin/\g') the same as ('^.*:/admin/(?P.*)','/admin/\g') ? By the way, could someone teach me what the key