[web2py] Re: Field('upload') : problem with file name

2015-07-20 Thread Scott Hunter
Is this an oversight or a conscious decision? If I understand you, if one's filesystem allowed filenames greater than 512 characters, long-enough but still legal names will still be truncated, and thus thwart the ability to extract the original file name. That could be a nasty surprise. P.S.

[web2py] Re: sub sub menu in newest version

2015-07-20 Thread Rakesh Singh
Hi Apologies for resurrecting an old topic, but I have not used web2py in quite a while and found myself asking the same question. The application I intend to create needs to have 3rd level menus (perhaps even 4th) Without it, my menu structure will be a real mess and there would be no way to

Re: [web2py] Re: Building desktop apps with web2py ??

2015-07-20 Thread Anthony
Some interesting points made here: https://medium.com/@collinmathilde/why-desktop-apps-are-making-a-comeback-5b4eb0427647 On Monday, July 20, 2015 at 4:23:37 PM UTC-4, Iuri Guilherme dos Santos Martins wrote: > > > On Monday, July 20, 2015 at 10:47:25 AM UTC-7, Massimo Di Pierro wrote: >>> >>> W

Re: [web2py] Re: Building desktop apps with web2py ??

2015-07-20 Thread Iuri Guilherme dos Santos Martins
> On Monday, July 20, 2015 at 10:47:25 AM UTC-7, Massimo Di Pierro wrote: >> >> What I do not understand is why. Why would anybody want to build a >> desktop in this day and age. You can always install a webapp locally, with >> a single user, run the server in background via a .bat script and auto-

[web2py] Re: Building desktop apps with web2py ??

2015-07-20 Thread Dave S
On Monday, July 20, 2015 at 10:47:25 AM UTC-7, Massimo Di Pierro wrote: > > What I do not understand is why. Why would anybody want to build a desktop > in this day and age. You can always install a webapp locally, with a single > user, run the server in background via a .bat script and auto-op

[web2py] Re: addremove; hg api change again

2015-07-20 Thread Dave S
On Sunday, July 19, 2015 at 8:10:30 AM UTC-7, zenze...@gmail.com wrote: > > Hi Dave, > > I am a mercurial-cli very addicted user. > In my very very very personal opinion mercurial is better than git for my > projects, > but now I'm not looking for a flame mercurial vs git or hg-cli vs hg-api. >

Re: [web2py] Re: We do not delete posts

2015-07-20 Thread Richard Vézina
Mail crossing :) Richard On Mon, Jul 20, 2015 at 1:50 PM, Anthony wrote: > On Monday, July 20, 2015 at 1:43:33 PM UTC-4, Richard wrote: >> >> Does the second button allow also the message of the user? >> > > Yes, exactly. > > -- > Resources: > - http://web2py.com > - http://web2py.com/book (Doc

[web2py] Re: logout other user

2015-07-20 Thread Anthony
> storing the session ID in the auth_user table upon login sounds like a > good idea. I get the session ID from response.session_id and when I want to > logout the user I generate the session filename with > recfile.generate(user.session_id) > That's not how the session filename is generated,

Re: [web2py] Re: We do not delete posts

2015-07-20 Thread Anthony
On Monday, July 20, 2015 at 1:43:33 PM UTC-4, Richard wrote: > > Does the second button allow also the message of the user? > Yes, exactly. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2

[web2py] Re: Building desktop apps with web2py ??

2015-07-20 Thread Massimo Di Pierro
What I do not understand is why. Why would anybody want to build a desktop in this day and age. You can always install a webapp locally, with a single user, run the server in background via a .bat script and auto-open the browser. How is that different than a desktop app in practice? On Monday,

Re: [web2py] Re: We do not delete posts

2015-07-20 Thread Richard Vézina
Does the second button allow also the message of the user? On Mon, Jul 20, 2015 at 1:36 PM, Anthony wrote: > One problem we have is that some moderators approve individual messages of > new members but fail to change the permissions of the member from Moderated > to Allowed. So, instead of havin

[web2py] Re: We do not delete posts

2015-07-20 Thread Anthony
To approve both a message and the new member, click the button on the right (the left button approves only the message but doesn't change the member's status). Anthony On Monday, July 20, 20

[web2py] Re: We do not delete posts

2015-07-20 Thread Anthony
One problem we have is that some moderators approve individual messages of new members but fail to change the permissions of the member from Moderated to Allowed. So, instead of having just the first post moderated, some members end up being moderated for much longer. In the admin interface, wh

[web2py] Building desktop apps with web2py ??

2015-07-20 Thread António Ramos
I know there is a post somewhere about this but i´m just sharing something i found http://electron.atom.io/ https://www.fyears.org/2015/06/electron-as-gui-of-python-apps.html -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source cod

[web2py] using plugin_ckeditor as default editor for built-in wiki

2015-07-20 Thread 'Karl Thomas Schmidt' via web2py-users
Hi @ all, is there a easy or preferred way to integrate plugin_ckeditor as the default editor for built-in wiki? I'm sure i'm missing a basic point there. Any hints/links to docs? Kalle -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2p

[web2py] Re: Field('upload') : problem with file name

2015-07-20 Thread Massimo Di Pierro
Nowhere. We only state that Field(..., lenght=) is a parameter. We do not say that for "upload" fields this is also the length of the tmp filename. On Monday, 20 July 2015 05:28:02 UTC-5, Scott Hunter wrote: > > Where is this spelled out in the documentation? I could not find it. > > - Scot

[web2py] Re: logout other user

2015-07-20 Thread Alex
thanks, Anthony. storing the session ID in the auth_user table upon login sounds like a good idea. I get the session ID from response.session_id and when I want to logout the user I generate the session filename with recfile.generate(user.session_id) Alex -- Resources: - http://web2py.com -

[web2py] Re: Docker Based Work Flow -- Web2py Needs Something Like This

2015-07-20 Thread Mark Graves
Anyone who is interested in getting this up and running, please email me privately and we can talk. On Wednesday, May 20, 2015 at 8:03:14 PM UTC-5, jjs0sbw wrote: > > https://opbeat.com/ > > -- > Joe Simpson > “Reasonable people adapt themselves to the world. Unreasonable people > attempt to ad

[web2py] Re: Another online store based in web2py+ractive+stripe

2015-07-20 Thread LoveWeb2py
I submitted a pull request. My orders is requesting the user be a manager and not authorized user. On Monday, July 20, 2015 at 6:17:27 AM UTC-4, Massimo Di Pierro wrote: > > If you are logged in, you should be able to see them. > > On Friday, 17 July 2015 03:05:21 UTC-5, Walter Munguia wrote: >>

[web2py] Re: Field('upload') : problem with file name

2015-07-20 Thread Scott Hunter
Where is this spelled out in the documentation? I could not find it. - Scott On Monday, July 20, 2015 at 2:24:24 AM UTC-4, Massimo Di Pierro wrote: > > This is handled by web2py. The filenames are truncated according to the > size of the uploadfield. This defaults to 512. In new versions of win

[web2py] Re: Another online store based in web2py+ractive+stripe

2015-07-20 Thread Massimo Di Pierro
If you are logged in, you should be able to see them. On Friday, 17 July 2015 03:05:21 UTC-5, Walter Munguia wrote: > > I should be able to see "My orders"? > > I have: > >> Not Authorized >> Privilegios insuficientes > > > > > El martes, 14 de julio de 2015, 11:44:29 (UTC-5), Massimo Di Pierro >

[web2py] We do not delete posts

2015-07-20 Thread Massimo Di Pierro
We never delete posts from users, unless the users ask (because they accidentally post the server password, for example). Yet first posts are moderated to avoid spam. Usually when a post is on hold for moderation it is approved within 24 hours or less. There are some glitches in the process. -