[web2py] Re: Upload - need help

2019-01-07 Thread Weronika Swiechowicz
Hi. I am trying to allow the user to upload files using UI. If I cannot search their filesystem the user will have to upload documents on the machine where the server is run. That is not very helpful if UI is accessed remotely. On Sunday, January 6, 2019 at 9:26:13 AM UTC-5, Anthony wrote: > >

[web2py] Re: Upload hangs when submit is hit

2019-01-07 Thread wswiecho
To add more to this post. I truly only need the path to the file not the file itself. On Monday, January 7, 2019 at 8:31:59 AM UTC-5, wswi...@hawk.iit.edu wrote: > > Good morning, > > I have had problems with the buildin upload functionality of the > SQLFORM.factory(). > > When I use code in s4

[web2py] Re: Upload - need help

2019-01-07 Thread Val K
https://developer.mozilla.org/en-US/docs/Web/API/File_and_Directory_Entries_API -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message

[web2py] Re: Upload - need help

2019-01-07 Thread Val K
https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/webkitdirectory -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this messag

Re: [web2py] Happy New Year

2019-01-07 Thread António Ramos
5) admin were a simpler vue.js app. +1!!! dont forget vuex !! Em qui, 3 de jan de 2019 às 02:54, Carlos Cesar Caballero Díaz < carlos.caball...@cfg.jovenclub.cu> escreveu: > Happy new year!! > > I have answered this in other thread because for some reason I have missed > this one, and many of my

Re: [web2py] Happy New Year

2019-01-07 Thread Ben Duncan
8) auth logic were simpler and not tied to the current cookie/session/form logic. I know that auth logic is a PITA, but still a lot of users use it. Even when use 3rd party services, is common to use some kind of authorization mechanism, so, I think that the framework should, at least, build some

[web2py] Re: Deleting all items of a selecte ID at the same time

2019-01-07 Thread Anthony
On Monday, January 7, 2019 at 2:06:43 AM UTC-5, mostwanted wrote: > > My delete function is not working, I think I am doing doing something > wrong but i'm not sure where, I thought the code below would get me home > but nothing is happening, nothing is getting deleted! Please advice: > > *DELETE

[web2py] Re: Upload - need help

2019-01-07 Thread Anthony
On Monday, January 7, 2019 at 8:14:39 AM UTC-5, Weronika Swiechowicz wrote: > > Hi. I am trying to allow the user to upload files using UI. If I cannot > search their filesystem the user will have to upload documents on the > machine where the server is run. That is not very helpful if UI is acce

[web2py] Re: Upload hangs when submit is hit

2019-01-07 Thread Anthony
Hard to say without seeing all the code. What are you expecting to do with the uploaded file? Note, using SQLFORM.factory for file uploads can be tricky, as the file is saved with a new filename, which you may then not be recording anywhere if nothing is saved to a database. You must also expli

Re: [web2py] Re: web2py apps & github

2019-01-07 Thread Dave S
On Sunday, January 6, 2019 at 12:45:27 PM UTC-8, Vlad wrote: > > Oh, I didn't express myself precisely: I am asking about Github - I am > setting up a Github repository and wondering what exactly from the app > directory should go in there - without extra files and without missing > files - t

[web2py] Re: urls with spaces

2019-01-07 Thread Dave S
On Sunday, January 6, 2019 at 8:53:34 AM UTC-8, Massimo Di Pierro wrote: > > Do you mean static files with spaces in their names? uploaded content does > not allow this because names are auto-generated. > Yes, these are static files added by the administrator (my humble self) rather than using

[web2py] Re: Deleting all items of a selecte ID at the same time

2019-01-07 Thread mostwanted
With regards to validation considering the scope of the app i'm working on, i will be using @auth.requires_login() to control and restrict who does what but thanks for bringing up digitally signed URL, i will be looking extensively in to that, its an interesting topic. I have changed my code, i

[web2py] Re: Delete sessions

2019-01-07 Thread Dave S
On Tuesday, December 4, 2018 at 9:34:44 PM UTC-8, Dave S wrote: > > > > On Tuesday, December 4, 2018 at 12:17:52 AM UTC-8, Gaël Princivalle wrote: >> >> Hello. >> >> Is there a way to delete automatically the sessions? >> I mean the folders/files inside this folder: >> web2py/applications/my_app/