[web2py] Re: Rich Text

2016-02-24 Thread Leonel Câmara
Use Tim's plugin it works great https://github.com/timrichardson/web2py_ckeditor4 -- 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 messa

[web2py] All HTTP requests redirected to HTTPS

2016-02-24 Thread Joe
I just reloaded my app on Pythonanywhere and after reloading, my site is forced to https for some reason. All HTTP requests are redirected to HTTPS. I didn't uncomment the #request.requires_https() Anyone had a similar issue? What is the best way to resolve this? I asked Python anywhere, they sa

[web2py] Re: All HTTP requests redirected to HTTPS

2016-02-24 Thread Niphlod
why a should it be a problem only lord knows . but if you have request.requires_https() anywhere it tells to redirect the request over to https ... sure you "didn't uncomment it" ? On Wednesday, February 24, 2016 at 3:08:08 PM UTC+1, Joe wrote: > > I just reloaded my app on Pythonanywhere

Re: [web2py] Re: Rich Text

2016-02-24 Thread Fabiano Almeida
Thanks Leonel! 2016-02-24 7:33 GMT-03:00 Leonel Câmara : > Use Tim's plugin it works great > > https://github.com/timrichardson/web2py_ckeditor4 > > -- > Resources: > - http://web2py.com > - http://web2py.com/book (Documentation) > - http://github.com/web2py/web2py (Source code) > - https://code.

Re: [web2py] Restored DB, _enable_record_versioning() and fake migrations?

2016-02-24 Thread Richard Vézina
Hmm... About app/databases/ I don't know exactly all how it works, but I think your issue come form there... uuid if there is one, would not have anything to do with your computer, I am pretty sure of that, and you can leave these files there for sure without any problem... Though there surely som

[web2py] Re: Setting up the scheduler, and letting it run from a certain point of time

2016-02-24 Thread Lucas Schreiber
Alright, so far i am able to create the tables, but nothing runs. So far i have this: Model: database: dba = DAL(connection) dba.define_table('test_table', Field('test_table_id', 'integer'), Field('test_table_value')) scheduler: from gluon.scheduler import Scheduler scheduler = Scheduler(dba)

Re: [web2py] Restored DB, _enable_record_versioning() and fake migrations?

2016-02-24 Thread Alex Glaros
am a beginner and not sure if this suggestion makes sense my restore/migrate/fake_migrate didn't work but everything else worked normally I downloaded a new copy of web2py and everything now works flawlessly. I already had the latest version and it was the same version as I already had but so

[web2py] Re: Setting up the scheduler, and letting it run from a certain point of time

2016-02-24 Thread Dave S
On Wednesday, February 24, 2016 at 10:10:54 AM UTC-8, Lucas Schreiber wrote: > > Alright, so far i am able to create the tables, but nothing runs. > > So far i have this: > > Model: > database: > dba = DAL(connection) > dba.define_table('test_table', > Field('test_table_id', 'integer'), > Field('

[web2py] plural forms dict for French - how to create one ?

2016-02-24 Thread Pierre
Hi everyone, How do I create one ? I have this row in web2py admin language section : fr.py ( Plural-Forms: *are not used yet* ) -- Resources: - http://web2py.com - http://web2py.com/book (Documentation

Re: [web2py] conflict with JQuery using multiple upload

2016-02-24 Thread Richard Vézina
What the issue exactly? Your app name seems to refer to multiple LOAD() issue, but you are talking about jQuery issue... Richard On Wed, Feb 24, 2016 at 10:33 AM, Ron Chatterjee wrote: > Hi Guys, I have an app where I use the model and it works fine. The moment > I have the Jquery upload script

[web2py] plural forms dict for French

2016-02-24 Thread Pierre
Hi everyone, I created a plural-fr.py but it only relates to singular english forms. How do I make a singular-french_forms TO plural-french_forms translator ? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://co

Re: [web2py] conflict with JQuery using multiple upload

2016-02-24 Thread Ron Chatterjee
Seems strange. The issue is. If I delete that JQuery (everything inside the script), the modal works fine (just click main_page in the controller and then the button subsequently). The moment I insert the multi file upload (from the link in the slide) and for which I need the jQuery, the model

Re: [web2py] conflict with JQuery using multiple upload

2016-02-24 Thread Richard Vézina
Ok, I was just talking about the name of your app... I think you will have more help if you append some relevant code to the issue to this thread... Installing an app from someone else is generally the lasting I do when I can't help the person by simple code review... Is this something you writ

Re: [web2py] conflict with JQuery using multiple upload

2016-02-24 Thread Richard Vézina
This thread seems to talk about how to do it : https://groups.google.com/forum/#!msg/web2py/OysSkb6c-zI/Lz26h9uZog0J Here there is a recipe : http://in10min.blogspot.ca/2013/04/web2py-implement-multiple-files-upload.html Richard On Wed, Feb 24, 2016 at 4:58 PM, Richard Vézina wrote: > Ok, I wa

[web2py] Re: How to install web2py on CentOS 6.5 with Apache?

2016-02-24 Thread Esau Hernandez Valles
I prefer web2py nginx on Centos. I think this combination is better. check this link http://mwiki.yyovkov.net/index.php/Install_Web2py_on_CentOS_6 On DigitalOcean there are a lot of tutorial. Only You have to sign-in. I think You have to checkscripts/setup-web2py-centos7.sh good lock

[web2py] Re: WinINet and basic auth

2016-02-24 Thread Dave S
On Tuesday, February 23, 2016 at 12:39:27 PM UTC-8, Dave S wrote: > > I'm trying to use Basic Auth with my restful service; see > http://web2py.com/books/default/chapter/29/10/services#Access-Control > ) > for my starting point, although I'm doing a post. > Also, does Web2Py support Digest auth

Re: [web2py] conflict with JQuery using multiple upload

2016-02-24 Thread Ron Chatterjee
In other words, this code that I leveraged from: http://www.web2pyslices.com/slice/show/1428/quick-and-dirty-multi-file-ajax-file-upload Should be updated using the links you send me because if seems there are others who also experienced the same issues. Let me post the code. And I agree, it w

[web2py] Re: Setting up the scheduler, and letting it run from a certain point of time

2016-02-24 Thread Lucas Schreiber
I have read the book. But it doesn't state where to actually write the code snipes given. Both, the book and google is very fancy about explaining how to start a scheduler by the console. But i literally do not see how i can start the scheduler. If i write this into the controller, scheduler.

[web2py] Re: Setting up the scheduler, and letting it run from a certain point of time

2016-02-24 Thread Dave S
On Wednesday, February 24, 2016 at 4:57:43 PM UTC-8, Lucas Schreiber wrote: > > I have read the book. But it doesn't state where to actually write the > code snipes given. Both, the book and google is very fancy about explaining > how to start a scheduler by the console. But i literally do not

Re: [web2py] Re: Has anyone done a detailed security analysis or attempted a methodical attack on web2py?

2016-02-24 Thread Jason Solack
Any updates on this? I am in the process of finding a supplier to pen test, wondering if i should be prepared for anything. On Friday, October 9, 2015 at 11:26:55 AM UTC-4, Michael M wrote: > > My company has to have an outside firm Pen test all Web-Service > applications. So I am spinning up

Re: [web2py] conflict with JQuery using multiple upload

2016-02-24 Thread Richard Vézina
Here a repo of a presumably functional implementation of the recipe link above : https://bitbucket.org/xavrenard/multiupload_module/src It was mention at the end of the post completly. Good luck Richard On Wed, Feb 24, 2016 at 7:47 PM, Ron Chatterjee wrote: > In other words, this code that I

Re: [web2py] conflict with JQuery using multiple upload

2016-02-24 Thread Richard Vézina
As the slice says : Quick and Dirty... I would stay away of that... You may also consider js lib for that... Why not : http://fineuploader.com/purchase_form.html If your app is open source and doesn't make money. Richard On Wed, Feb 24, 2016 at 10:02 PM, Richard Vézina < ml.richard.vez...@gma

Re: [web2py] conflict with JQuery using multiple upload

2016-02-24 Thread Ron Chatterjee
Seems to be little overkill with all that code in the view! lol. Anyway, here is the app that demonstrate the conflict. Model: db.define_table('mytable', Field('name', type='list:string', requires=IS_IN_SET (('True','False', 'Neither'), multiple=True))) *View (default/main_page

Re: [web2py] conflict with JQuery using multiple upload

2016-02-24 Thread Ron Chatterjee
On the high side, could have been worst. lol. Anyway, well. thanks Richard for taking your time on this. On Wednesday, February 24, 2016 at 11:55:05 PM UTC-5, Ron Chatterjee wrote: > > Seems to be little overkill with all that code in the view! lol. Anyway, > here is the app that demonstrate

[web2py] Preventing hackers from exploiting web2py with wsgi

2016-02-24 Thread Robin Manoli
Hello! I was recommended by #ubuntu-server on Freenode not to use wsgi. I wonder if you recommend this as well (which means not using web2py with apache)? I'm wondering if there is certain type of web2py code I can look for to prevent unauthorized access. In particular, how to prevent apache to