Re: [web2py] Re: Sublime Text web2py plugin

2015-06-11 Thread António Ramos
IDE is good for what it does just need the auto complete and few minor add ons. On Thursday, June 11, 2015 at 9:21:41 AM UTC-4, Ramos wrote: I got a database locked error opening web2py shell in sublime I think this is a sqlite problem right ? 2015-06-11 14:15 GMT+01:00 António Ramos ramst

Re: [web2py] Re: OFF Topic -RiotJS

2015-06-12 Thread António Ramos
And Components.. 2015-06-12 10:03 GMT+01:00 António Ramos ramstei...@gmail.com: Also you can add https://github.com/vuejs/vue-resource https://github.com/ayamflow/vue-route Also vuejs has Directives, filters, transitions .. 2015-06-12 10:00 GMT+01:00 António Ramos ramstei...@gmail.com

Re: [web2py] Re: Sublime Text web2py plugin

2015-06-12 Thread António Ramos
and few minor add ons. On Thursday, June 11, 2015 at 9:21:41 AM UTC-4, Ramos wrote: I got a database locked error opening web2py shell in sublime I think this is a sqlite problem right ? 2015-06-11 14:15 GMT+01:00 António Ramos ramst...@gmail.com: just saw it in sublime-settings 2015-06-11 14

Re: [web2py] Re: OFF Topic -RiotJS

2015-06-12 Thread António Ramos
Also you can add https://github.com/vuejs/vue-resource https://github.com/ayamflow/vue-route Also vuejs has Directives, filters, transitions .. 2015-06-12 10:00 GMT+01:00 António Ramos ramstei...@gmail.com: In VueJS!!wait-for An event name to wait for on the incoming child component before

Re: [web2py] Re: OFF Topic -RiotJS

2015-06-12 Thread António Ramos
In VueJS!!wait-for An event name to wait for on the incoming child component before switching it with the current component. This allows you to wait for asynchronous data to be loaded before triggering the transition to avoid unwanted flash of emptiness in between. Example: 1 div

Re: [web2py] Re: Sublime Text web2py plugin

2015-06-17 Thread António Ramos
Thank you Gergely Orosz for your work. Having the wep2y console and server console inside Sublime makes me a lot more productive. Just what i was looking for. Regards António 2015-06-12 17:37 GMT+01:00 António Ramos ramstei...@gmail.com: Ok.just some some... Em 12/06/2015 17:27, António

Re: [web2py] Re: Sublime Text web2py plugin

2015-06-12 Thread António Ramos
it does just need the auto complete and few minor add ons. On Thursday, June 11, 2015 at 9:21:41 AM UTC-4, Ramos wrote: I got a database locked error opening web2py shell in sublime I think this is a sqlite problem right ? 2015-06-11 14:15 GMT+01:00 António Ramos ramst...@gmail.com: just

Re: [web2py] Re: Sublime Text web2py plugin

2015-06-12 Thread António Ramos
Ok.just some some... Em 12/06/2015 17:27, António Ramos ramstei...@gmail.com escreveu: My list of missing Web2py IDE features http://code.tutsplus.com/articles/perfect-workflow-in-sublime-text-free-course--net-27293 2015-06-12 16:50 GMT+01:00 Massimo Di Pierro massimo.dipie...@gmail.com

Re: [web2py] Re: What you think about this logotype?

2015-07-03 Thread António Ramos
see mine I see 3 times the w or the 3 letter. [image: Imagem inline 1] 2015-07-03 17:05 GMT+01:00 Massimo Di Pierro massimo.dipie...@gmail.com: :-) On Friday, 3 July 2015 11:00:22 UTC-5, Алексей Трифонов wrote:

Re: [web2py] Re: For those using ractive or vuejs. I need help !!

2015-06-28 Thread António Ramos
a script instead of a div. Massimo On Saturday, 27 June 2015 12:34:31 UTC-5, Ramos wrote: No help :) Im doomed... Em 26/06/2015 17:29, António Ramos ramstei...@gmail.com escreveu: Hello , so far so good i created my second vuejs page inside web2py and this time using components. my

Re: [web2py] Re: OFF Topic -RiotJS

2015-06-11 Thread António Ramos
Massimo why do you call Vuejs a stripped version? what does it lack compared to Ractive? Thank you António 2015-06-10 4:05 GMT+01:00 Massimo Di Pierro massimo.dipie...@gmail.com: vue.js look like a stripped version of ractive.js. The syntax is identical for what it provides. On Tuesday, 9

Re: [web2py] Re: initilize GPIO in web2py-Scheduler

2015-05-23 Thread António Ramos
Why do people use raspbery pi ? I use electric imp or even esp8266 and have my sensors connected to the cloud where the app lives. No more problems with setting up linux, drivers, etc Its IOT time!! 2015-05-22 19:55 GMT+01:00 Niphlod niph...@gmail.com: every scheduler task is executed

Re: [web2py] Re: Sublime Text web2py plugin

2015-05-21 Thread António Ramos
web2py application 2015. május 6., szerda 12:34:17 UTC+2 időpontban Ramos a következőt írta: On more question. i installed sublime repl but how do i get the web2py interactive console ? thank u 2015-05-06 11:25 GMT+01:00 António Ramos ramst...@gmail.com: From the controller i can open

Re: [web2py] Re: When will we have a proper forum ?

2015-08-03 Thread António Ramos
Another one using the same thing http://community.appgyver.com/ 2015-08-03 13:45 GMT+01:00 Anthony abasta...@gmail.com: On Monday, August 3, 2015 at 8:12:14 AM UTC-4, Mirek Zvolský wrote: Some WORKING place for addon software (like plugins) would be much more useful. Why we cannot have

Re: [web2py] Re: web2py inspired framework

2015-07-31 Thread António Ramos
this is another simple python web framework . http://toastdriven.com/blog/2009/mar/07/itty-sinatra-inspired-micro-framework/ 2015-07-31 18:26 GMT+01:00 Massimo Di Pierro massimo.dipie...@gmail.com: I think the more the merrier. It has less batteries included when compared to web2py but it

[web2py] When will we have a proper forum ?

2015-07-29 Thread António Ramos
I hate google groups because its not easy to find help so people keep asking the same question over and over again. we should follow other ideas as Massimo said Ideas we had, ideas we... This one is very good as an example. https://forums.meteor.com A lot easier to learn from something like

Re: [web2py] Re: When will we have a proper forum ?

2015-08-05 Thread António Ramos
That is tooo archaic... I can have proposals in my email but a CRM is best suited right ? From a noobie point of view, using a dedicated app he could easily see hot topics that he didn't new existed. and this is a big advantage for me. We can see the big picture ahead. i´m not limited to my

[web2py] MVC vs Flux

2015-07-22 Thread António Ramos
https://medium.com/@amix3k/flux-vs-mvc-design-patterns-57b28c0f71b7 What does it mean for web2py MVC architecture ? Is there a better way? Regards António -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] another Web2py online book

2015-07-16 Thread António Ramos
Its in Portuguese http://juliarizza.gitbooks.io/curso-web2py/content/ But its easier to navigate that the web2py.com online book. Regards -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

Re: [web2py] Web2py is Badly designed framework and Does not scale

2015-07-15 Thread António Ramos
Look in the right side under activity . You will see Bruno saying it... Am i wrong too ? 2015-07-15 18:30 GMT+01:00 Anthony abasta...@gmail.com: I don't see where the second con is attributed to Bruno - no source is listed for that one. -- Resources: - http://web2py.com -

Re: [web2py] Re: Web2py is Badly designed framework and Does not scale

2015-07-17 Thread António Ramos
As AngularJS died to reborn in this rapidly changing web world, i think web2py should also born again. I see myself using web2py as a rest API, coding more and more with javascript and less with python and i dont like it! It feels so UGLY When will we have web2py with new batteries included ?

Re: [web2py] Re: Web2py is Badly designed framework and Does not scale

2015-07-19 Thread António Ramos
web2bry! 2015-07-19 17:04 GMT+01:00 Anthony abasta...@gmail.com: On Sunday, July 19, 2015 at 11:10:19 AM UTC-4, eric cuver wrote: can we use brython with web2py ? Sure. Brython simply generates Javascript code that then gets executed in the browser, so you can use Brython with web2py in

[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

Re: [web2py] DAL alternatives

2015-10-22 Thread António Ramos
is amanzing piece of software and I don't mind if it stays a > really good kept secret... > > :) > > Richard > > On Thu, Oct 22, 2015 at 8:52 AM, António Ramos <ramstei...@gmail.com> > wrote: > >> Why is there very litle interest in the DAL github repo (very litle fo

Re: [web2py] DAL alternatives

2015-10-28 Thread António Ramos
my inconvenients: 1 - Bootstrap, i need layout.html but dont want bootstrap. How do i get rid of bootstrap or change it to semantic ? Bootstrap should not be a constraint but just an add-on. 2 - web2py custom forms and tables. Are nice tools but if they dont do what you want you will have a

Re: [web2py] DAL alternatives

2015-10-27 Thread António Ramos
pyDAL is the choice. But if i use it outside web2py i need an alternative http server/rest endpoint and something to auth clients. What do you suggest to add to pyDAL ? Regards António 2015-10-22 14:56 GMT+01:00 António Ramos <ramstei...@gmail.com>: > I agree with you except for

[web2py] DAL alternatives

2015-10-22 Thread António Ramos
Why is there very litle interest in the DAL github repo (very litle forks and stars) ? Are people using better alternatives or does it suffer from some lack of publicity or even worse, people dont like it because they dont like web2py either. Regards António -- Resources: - http://web2py.com -

Re: [web2py] Re: web2py and python3

2015-11-11 Thread António Ramos
What banks? can you share that info ? 2015-11-11 15:21 GMT+00:00 Massimo Di Pierro : > As of today python 3 is used almost exclusively in schools. Do you know of > any large company that uses Python 3? I do not. But I know many large > companies that use Python 2,

Re: [web2py] Re: what if i want bootstrap with semanticui ?

2015-11-15 Thread António Ramos
This is the login form where i see bootstrap all over the place. First nameLast nameE-mailPasswordConfirm Password If i want to use semantic instead i not only have to change layout but also have to look for all of the forms. and remove css classes. I

Re: [web2py] Re: what if i want bootstrap with semanticui ?

2015-11-15 Thread António Ramos
Thank you Anthony. As always very informative. There is so much knowledge waiting for us about web2py internals if we start from scratch. Things that we take for granted and never questioned them. there should be a chapter about "Starting from scratch" in the book. It will help me and others.

Re: [web2py] web2py course on pluralsight

2015-11-09 Thread António Ramos
That should be advertised on web2py.com 2015-11-09 1:02 GMT+00:00 Jason Solack : > just wanted to call attention to a training on pluralsight on web2py. I > know a few people that have taken it and it gives a good introduction to > the framework. I've been using web2py for

Re: [web2py] Re: web2py and python3

2015-11-04 Thread António Ramos
@massimo When will it be available ? 2015-11-04 14:38 GMT+00:00 Massimo Di Pierro : > There will be a new framework similar to web2py for python 3. web2py has > to be backward compatible and it is pointless to port it to python 3. > > > On Wednesday, 4 November 2015

Re: [web2py] Re: WEB2PY FOR MANAGING RESOURCES

2015-10-19 Thread António Ramos
2015-10-17 8:19 GMT+01:00 Laurent Lc : > grr http://fullcalendar.io/ -- 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

Re: [web2py] Re: Can web2py "front-end" an API?

2015-10-19 Thread António Ramos
DAL as a webservice ? like a REST endpoint ? There is something like that and i like it http://loopback.io/ 2015-10-18 13:48 GMT+01:00 Anthony : > Maybe check out the IMAP adapter > for > some ideas. > >

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

2015-10-08 Thread António Ramos
Niphold, i dont see where you are pointing on https://www.qualys.com/ where is the web2py app that survived the security scan ? thank you 2015-10-05 11:25 GMT+01:00 Niphlod : > here in ***undisclosed company web2py survives a > https://www.qualys.com/ security scan with

Re: [web2py] The shell on web2py does not execute any instruction

2015-10-20 Thread António Ramos
shell sucks :P 2015-10-20 15:59 GMT+01:00 Vladimir Torres : > Good Morning users about web2py > > I am learning about web2py, I must to connect to Oracle data base, I want > to test the conecction DAL from shell but it only shows "none", any > instruction executed shows

Re: [web2py] PyCharm license for web2py dev - who wants?

2015-10-12 Thread António Ramos
Picharm eats more memory than sublime. In sublime i have everything, w2py console and server logs so 2015-10-12 11:01 GMT+01:00 Paolo Amboni : > I'm using pycharm community edition, that for what I understand is free. > Are these licenses for the pro version? > Is the pro

Re: [web2py] Re: web2py for onion.io ?

2015-10-13 Thread António Ramos
That is not my idea. I´m going down the specs to see the smallest web2py enabled IOT device. Thank you 2015-10-13 11:24 GMT+01:00 Leonel Câmara : > It's a little low on the memory side but it runs python so I don't see why > not as long as you don't expect to be serving

[web2py] web2py for onion.io ?

2015-10-13 Thread António Ramos
is is possible to have web2py inside this ? https://onion.io/omega/ Regards António -- 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

[web2py] what if i want bootstrap with semanticui ?

2015-10-13 Thread António Ramos
I like semantic a lot better than bootstrap. Why the hell did you glue bootstrap with web2py ? It should be kind of a "plugin" like npm install bootstrap or something like that. I know there has been some discussion about it but using google groups mess i cant find it so i need to ask again

Re: [web2py] Re: Web2py and AngularJs route collision

2015-07-08 Thread António Ramos
Forget Angular, use Vuejs or Ractivejs You will live longer... 2015-07-08 15:30 GMT+01:00 lyn2py lyn...@gmail.com: use web2py for routing and angular for frontend On Wednesday, July 8, 2015 at 8:53:41 PM UTC+8, Aravind S wrote: Our *web2py* project has two parts : 1) Dashboard console

Re: [web2py] Re: Web2py application running very slow on rocket server in production mode

2015-07-08 Thread António Ramos
a server with 8 GB of RAM, 8 Core processor should not be slow even with rocket. Maybe your code is not very clean :P I had web2py running in a raspberry pi 2015-07-08 6:49 GMT+01:00 Ramashish Gaurav ramashis...@gmail.com: Hello Richard, I appreciate your interest in my issue. I tried

Re: [web2py] SQlite to Postgres insert problems

2015-11-18 Thread António Ramos
Be carefull that imported records will get a fresh new id and because of that you may get that error. ;) Em 18/11/2015 15:35, "Carla Raquel" escreveu: > I'm having some troubles importing from csv files while using a Postgres > connection, when a table has one or more

Re: [web2py] Re: web2py and python3

2015-11-14 Thread António Ramos
weppy looks like a short webp2y environment, however lacks some good documentation like web2py and all of the code samples are very short and errors come often. Seems that the only one helping is the "creator" itself. Unfortunately i dont see it as a good alternative to web2py. At least web2py

Re: [web2py] Web2py - Front-end performance optimization tutorial

2015-09-14 Thread António Ramos
speaking about optimization , here is my homework https://github.com/ramstein74/Coffee_Jade_Stylus_inside_web2py 2015-09-14 15:11 GMT+01:00 Louis Amon : > Indeed I should look into contributing the book at some point. Still feel > a bit too noobish for that just yet ^^ > > As

Re: [web2py][OT] Workflow

2015-09-16 Thread António Ramos
My company and many others would buy a web workflow framework. for example a Workflow as a service... We dont want blogs we want real enterprise tools. 2015-09-16 3:11 GMT+01:00 Richard Vézina : > I thought it could be used for workflow management... > > Richard > >

Re: [web2py] Re: web2py SPA(single page application)

2015-09-16 Thread António Ramos
My favourite is Vuejs learn from here http://vuejs.org/guide/ https://laracasts.com/series/learning-vuejs you can go very crazy with it 2015-09-16 15:05 GMT+01:00 Márcio Almeida : > Thank you, I will study it. > If anyone has more information, please post. >

Re: [web2py] web2py hosting services

2015-09-15 Thread António Ramos
webfaction !! https://wiki.webfaction.com/wiki/InstallScripts 2015-09-15 16:48 GMT+01:00 Blutoh : > Hi all, > > Most of the threads I found regarding Hosting Services seem to be very old. > AFAIK, the only current hosting service is Pythonanywhere. > I found this company,

Re: [web2py] web2py SPA(single page application)

2015-09-15 Thread António Ramos
elm lang is very interesting youtubing right now... 2015-09-15 10:14 GMT+01:00 Michele Comitini : > Richard is right, using Ractive.js allows the creation of SPA easily. > Much more effective than angular due to a saner template design that > limits the number

Re: [web2py][OT] Workflow

2015-09-16 Thread António Ramos
I need a sample web2py app :) How do i integrate it with dal records? For example a simple expenses approval.. Em 16/09/2015 19:26, "Dave S" escreveu: > > > On Wednesday, September 16, 2015 at 4:01:19 AM UTC-7, Ramos wrote: >> >> My company and many others would buy a web

Re: [web2py] Re: web2py SPA(single page application)

2015-09-16 Thread António Ramos
Massimo, can you explain what it "chancing the triple delimiters" ? i used web2py with vuejs without a problem... for example i import my app.js in my view to kick vuejs (function ($, Vue) { $(document).ready(function () { Vue.config.delimiters = ['(%', '%)']; new Vue({ el: '#demo',

Re: [web2py] Re: web2py SPA(single page application)

2015-09-17 Thread António Ramos
I get it you meant "Changing" right ? this is the way Vue.config.delimiters = ['(%', '%)']; 2015-09-16 23:27 GMT+01:00 António Ramos <ramstei...@gmail.com>: > Massimo, can you explain what it "chancing the triple delimiters" ? > > i used web2py with vuejs wit

Re: [web2py] Re: Self-referencing tables and queries

2015-09-17 Thread António Ramos
+1 *There's no need for an extension to have a supervisor, because the supervisor is already stored in Person. !!!* 2015-09-17 11:10 GMT+01:00 Carla Raquel : > *So what? You should future proof the app. Some day there might be > extensions in India or something.* > >

Re: [web2py] Re: web2py SPA(single page application)

2015-09-17 Thread António Ramos
;Changing" right ? >> this is the way Vue.config.delimiters = ['(%', '%)']; >> >> 2015-09-16 23:27 GMT+01:00 António Ramos <ramstei...@gmail.com>: >> >>> Massimo, can you explain what it "chancing the triple delimiters" ? >>> >>>

Re: [web2py] Re: web2py SPA(single page application)

2015-09-17 Thread António Ramos
matically changed unsafe_delimiters to >>> '{{%','%}}' so it was conflicting with web2py delimiters {{.}}. >>> >>> >>> On Thursday, 17 September 2015 03:25:43 UTC-5, Ramos wrote: >>>> >>>> I get it >>>> you meant "Changin

[web2py] Off topic - A good talk

2015-09-21 Thread António Ramos
https://www.youtube.com/watch?v=__dDAD0Y_WU some good messages under the hood -- 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

Re: [web2py] Re: web2py 2.13.3 is OUT

2015-12-28 Thread António Ramos
can i do @auth.requires_jwt() I would like to use web2py just as a rest api , auth included... 2015-12-27 7:09 GMT+00:00 Massimo Di Pierro : > good catch! we will have to refactor that to support earlier versions of > python. > > > On Sunday, 27 December 2015

Re: [web2py] web2py 2.13.3 is OUT

2015-12-28 Thread António Ramos
Vuejs/web components http://vuejs.org/guide/application.html +semantic ui +some build tools like browserify to build just a single Js file out of many. However I need a persistence/auth api. No dia segunda-feira, 28 de dezembro de 2015, Dave S escreveu: > On Monday,

Re: [web2py] web2py 2.13.3 is OUT

2015-12-29 Thread António Ramos
Just a windows machine... so far. its not a finished product yet 2015-12-29 3:56 GMT+00:00 Dave S : > > > On Monday, December 28, 2015 at 3:45:23 PM UTC-8, Ramos wrote: >> >> Vuejs/web components >> http://vuejs.org/guide/application.html >> +semantic ui +some build tools

[web2py] Querying data using admin

2016-06-09 Thread António Ramos
hello how can i, via admin query a table using in the input box more than 1 field to query? i tried db.amostras.n==203027 & db.amostras.estante1=="_E_000" - >error db.amostras.n==203027 and db.amostras.estante1=="_E_000" -> no error but seems to search only the second field

Re: [web2py] Re: Querying data using admin

2016-06-09 Thread António Ramos
Yes it works now. Too bad that i cannot only return some of the columns. It would be perfect because i have many columns and i have to scroll to the right a lot. 2016-06-09 14:55 GMT+01:00 isi_jca : > Hello!!! > > Try using Parenthesis, for example: > >

Re: [web2py] Re: Querying data using admin

2016-06-09 Thread António Ramos
Oops Thank you Anthony António 2016-06-09 14:39 GMT+01:00 Anthony : > (db.amostras.n==203027) & (db.amostras.estante1=="_E_000") -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] Off Topic - no-more-mvc-frameworks

2016-05-29 Thread António Ramos
https://www.infoq.com/articles/no-more-mvc-frameworks -- 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 because you are

Re: [web2py] Re: web2pyslices again

2016-01-14 Thread António Ramos
if you dont like web2pyslices wait until you see the appliances.. http://www.web2py.com/appliances many dont work... 2016-01-14 8:13 GMT+00:00 Mirek Zvolský : > Yes. Anthony. > Today the INSTALL (from web2py admin - install application) works. > So I don't know what to think.

Re: [web2py] Re: What are the platforms for free web hosting of web2py apps?

2016-02-26 Thread António Ramos
webfaction is very good 2016-02-26 15:59 GMT+00:00 Massimo Di Pierro : > I agree: > > pythonanywhere.com (free with limitation) > google app engine (also free with limitations) > digital ocean is $5/month for a full VM > > > On Friday, 26 February 2016 09:03:30 UTC-6,

Re: [web2py] Re: Any angular templates?

2016-01-25 Thread António Ramos
check this https://github.com/amberdoctor/angularjs_and_web2py Also consider angular alternatives like ractive or vuejs . Check also Json Web Tokens in we2bpy latest version if you dont want to mix the 2. 2016-01-23 6:31 GMT+00:00 Seraaj Muneer : > You could easily use the

Re: [web2py] How good a combo of MongoDB and web2py as a restful backend for a vast mobile application?

2016-03-14 Thread António Ramos
for something like socket.io you have tornado https://www.youtube.com/watch?v=MUWy-NSrvNQ for mongodb, i suggest using postgresql . It has also support for json objects and is faster than even mongodb, they say... http://www.enterprisedb.com/nosql-for-enterprise But, i´m just a curious guy with

[web2py] No form.errors in custom user form ?

2016-03-15 Thread António Ramos
Hello i have this custom user form. When i enter a wrong password i form.errors is empty.. Any help ? {{extend 'layout.html'}} {{=form.custom.begin}} Registo {{if request.args(0)!='login':}}

Re: [web2py] Re: How do I take picture using camera and save it in db?

2016-03-11 Thread António Ramos
Try the filepicker cloud service in your views Em 11/03/2016 19:01, "Dave S" escreveu: > On Friday, March 11, 2016 at 9:52:20 AM UTC-8, RAGHIB R wrote: >> >> What syntax do you use for the same? >> >> > For a camera on the server, you use an external program that saves the

[web2py] Functional programming in web2py...

2016-03-19 Thread António Ramos
Hello i´m a confused guy so bare with me.. I recently discovered elixir language and its so much different mainly because its a functional programming style. One of the things i like is the pipe operator. See here info about it and a way to do it in ruby.

[web2py] Re: No form.errors in custom user form ?

2016-03-15 Thread António Ramos
Guess i have to use =form.custom.widget.fieldname 2016-03-15 18:03 GMT+00:00 António Ramos <ramstei...@gmail.com>: > Hello i have this custom user form. When i enter a wrong password i > form.errors is empty.. > Any help ? > > {{extend 'layout.html'}} >

Re: [web2py] Re: for those of us who do not understand ...

2016-03-11 Thread António Ramos
I´d like to know why Massimo took his time to create stupid.css Should we go Stupid and why? 2016-03-11 15:53 GMT+00:00 Ron Chatterjee : > This is by far the best dashboard I ever seen. Massimo, if there is a best > teacher award in US, I will vote for you to get

Re: [web2py] web2py pygal graph

2016-03-11 Thread António Ramos
Forget that view associated with graph function. you need a different view and controller. For example controllerA and viewA def controllerA(): return dict(your_vars_here...) viewA.html here should paste the content of your previous view. This way you will have the graph and MY FIRST

Re: [web2py] new Starter app (alternative to Welcome app)

2016-03-23 Thread António Ramos
evious versions. > Anybody know? > > What version of web2py are you using? > > I should probably move Starter to the stable release. > > On Wednesday, March 23, 2016 at 1:08:10 PM UTC-4, Ramos wrote: >> >> error in login/register >> [image: Imagem inline 1]

Re: [web2py] new Starter app (alternative to Welcome app)

2016-03-23 Thread António Ramos
error in login/register [image: Imagem inline 1] 2016-03-23 17:07 GMT+00:00 António Ramos <ramstei...@gmail.com>: > i cannot log in or register... > > 2016-03-23 12:13 GMT+00:00 Michael Beller <mjbel...@gmail.com>: > >> I just added the appconfig.ini to

Re: [web2py] new Starter app (alternative to Welcome app)

2016-03-23 Thread António Ramos
i cannot log in or register... 2016-03-23 12:13 GMT+00:00 Michael Beller : > I just added the appconfig.ini to the repo since that will cause > confusion. It contained the item for host_names supported by the current > web2py in trunk. > > auth = Auth(db,

Re: [web2py] new Starter app (alternative to Welcome app)

2016-03-23 Thread António Ramos
I already copied appconfig.ini to private but next error... [image: Imagem inline 1] then i changed auth above to just auth=auth(db) and now i could open the app but when i go to login or sign up i get another error [image: Imagem inline 2] 2016-03-23 11:41 GMT+00:00 Massimiliano

Re: [web2py] new Starter app (alternative to Welcome app)

2016-03-25 Thread António Ramos
This starter is sooo cool. Its was time we had something like this. 2016-03-24 19:51 GMT+00:00 Ron Chatterjee : > Its all good. Just asked. > > > On Thursday, March 24, 2016 at 3:33:00 PM UTC-4, Michael Beller wrote: >> >> No Avatar field yet! It's hardcoded in the

[web2py] Postgres Notify ..!?

2016-03-25 Thread António Ramos
http://bjorngylling.com/2011-04-13/postgres-listen-notify-with-node-js.html hi , could postgres NOTIFY be better/simpler than having to install tornado to have socket message to my app? Regards António -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

Re: [web2py] web2py Job and Recruitment site

2016-03-27 Thread António Ramos
+1 if web2py inside!! ( you forgot to tell) 2016-03-26 10:58 GMT+00:00 Francisco Tomé Costa : > Hi, > At https://www.emprego.pt we've developed a job posting site, where > candidates can create their professional profile (like LinkedIn) >

Re: [web2py] new Starter app (alternative to Welcome app)

2016-03-23 Thread António Ramos
Nice but i get an error installing it as "starter" application any help ? [image: Imagem inline 1] 2016-03-23 9:40 GMT+00:00 Massimiliano : > Very very nice. > > Thank you for sharing > > On Wed, Mar 23, 2016 at 3:17 AM, Michael Beller > wrote: > >> I

Re: [web2py] Re: OFF Topic - Cycle.js

2016-04-03 Thread António Ramos
I bought this course and it looks amazing.. https://pragmaticstudio.com/elm Now my head is sooo confused. 2016-04-04 0:03 GMT+01:00 Leonel Câmara : > I think elm looks pretty good actually. I'm wait and see on it because I > have some resistance to learning yet another

Re: [web2py] Re: OFF Topic - Cycle.js

2016-04-03 Thread António Ramos
There goes react. i hate it by the way.. have you also tried elm??? Its also a functional reactive programing language http://elm-lang.org/examples 2016-04-02 18:45 GMT+01:00 Massimo Di Pierro : > I like it a lot better than React. I still prefer ractive.js and

[web2py] OFF Topic - Cycle.js

2016-03-30 Thread António Ramos
Can i have some opinions on this new thing? http://cycle.js.org/ thank you -- 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] 'Table' object has no attribute 'edit'

2016-05-13 Thread António Ramos
Hi all I just added editable=True to a sqlform.grid but i get the error 'Table' object has no attribute 'edit' when i press the edit button Any help ? Thank you António -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source

Re: [web2py] Re: 'Table' object has no attribute 'edit'

2016-05-13 Thread António Ramos
The button "Edit" appears in the table but pressing it gives me that error. 2016-05-13 16:18 GMT+01:00 António Ramos <ramstei...@gmail.com>: > i had editable=False and got that error when changing to True > > [image: Imagem inline 1] > > > 2016-05-13 16:02 GMT+

Re: [web2py] Re: 'Table' object has no attribute 'edit'

2016-05-13 Thread António Ramos
i had editable=False and got that error when changing to True [image: Imagem inline 1] 2016-05-13 16:02 GMT+01:00 Anthony : > More code... > > > On Friday, May 13, 2016 at 10:21:53 AM UTC-4, Ramos wrote: >> >> Hi all >> I just added >> editable=True to a sqlform.grid >> >>

Re: [web2py] Re: 'Table' object has no attribute 'edit'

2016-05-13 Thread António Ramos
António Ramos <ramstei...@gmail.com>: > web2py™ Version 2.9.5-stable+timestamp.2014.03.16.02.35.39 > Python Python 2.7.9: /usr/local/bin/python (prefix: /usr/local)Traceback > > 1. > 2. > 3. > 4. > 5. > 6. > 7. > 8. > 9. > 10. > 11. > 12. > 13.

Re: [web2py] Re: 'Table' object has no attribute 'edit'

2016-05-13 Thread António Ramos
web2py™ Version 2.9.5-stable+timestamp.2014.03.16.02.35.39 Python Python 2.7.9: /usr/local/bin/python (prefix: /usr/local)Traceback 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. Traceback (most recent call last): File "/home/ramstein74/webapps/2py/web2py/gluon/restricted.py", line 220, in

[web2py] DAL suggestion with relations to list fields under a list:reference

2016-08-01 Thread António Ramos
Hello i have this situation and need some good ideas I have table :auth_user ("John","Oliver","Trump") table :dbentities ( for example Person,Equipment,Company) each entity on entities table has subentities field of type: list:string for example for Person , subentities=["A","B","C"] My case is

[web2py] list:reference table but filtered based on row.field?

2016-08-01 Thread António Ramos
Hello how can i have a requires=XXX to filter data on the referenced table based on the field entities selected by the user? db.define_table( 'usersubentities', Field('auth_user', db.auth_user), Field('entities' , "list:reference db.dbentities",requires=IS_IN_DB(db,

Re: [web2py] Re: Rethinkdb on Web2py

2016-07-26 Thread António Ramos
You can connect to rethinkdb with javascript... 2016-07-26 12:41 GMT+01:00 Marlysson Silva : > I think that no.. because the DAL adapters in the web2py support only > these databases: > > >

Re: [web2py] Re: jquery-pjax

2016-08-02 Thread António Ramos
any demo with web2py? 2016-06-18 14:04 GMT+01:00 Massimo Di Pierro : > Nice library. It is a lot like web2py components but better. Perhaps > web3py should use pjax.js > > > On Tuesday, 14 June 2016 09:48:44 UTC-5, Niphlod wrote: >> >> great, simple, done. >> >> On

Re: [web2py] Re: jquery-pjax

2016-08-11 Thread António Ramos
pjax without jquery dependency https://github.com/MoOx/pjax 2016-08-02 22:11 GMT+01:00 Dave S <snidely@gmail.com>: > > > On Tuesday, August 2, 2016 at 12:04:08 PM UTC-7, Ricardo Pedroso wrote: >> >> On 8/2/16, António Ramos <ramst...@gmail.com> wrote: >

[web2py] Making a filter to filter a collection in the view

2016-08-11 Thread António Ramos
Hello in a code like this {{for row in rows:}} {{=row.param1}} {{pass}} i would like to have a way to have the user filter the result based on an input box. I like the angular and vue style of ng-repeat or v-for="row in rows" to dinamically filter the rows without having to ask again the

Re: [web2py] Web2py and WebRTC?

2016-08-04 Thread António Ramos
https://www.youtube.com/watch?v=MUWy-NSrvNQ 2016-08-03 19:26 GMT+01:00 'Fernando Villarroel' via web2py-users < web2py@googlegroups.com>: > Dear. > > I think the deploy coments use a server like Asterisk or FreeSWITCH. > > So the deploy from Django surely use some library JavaScript for >

Re: [web2py] Re: How to check for the existence of a var in the layout.html?

2016-08-08 Thread António Ramos
:) 2016-08-08 15:24 GMT+01:00 Massimo Di Pierro : > > {{if 'f1' in globals():}} {{pass}} > > > On Monday, 8 August 2016 06:33:55 UTC-5, Ramos wrote: >> >> hello i need to check for some vars in my *layout.html* >> >> if i have in my controllers return locals() >>

[web2py] convert plain html to web2y HTML Helpers

2016-08-08 Thread António Ramos
How do i convert this BlaBlaBla 23 Abril 2016 to using A(_href=URL(...).etc?) Thank you António -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

[web2py] How to check for the existence of a var in the layout.html?

2016-08-08 Thread António Ramos
hello i need to check for some vars in my *layout.html* if i have in my controllers return locals() i can then in the view do {{if var1 in locals():0}} ... {{pass}} however some of my views need a function from the controller so i do def f1() return "something" def index() ... return

[web2py] Re: convert plain html to web2y HTML Helpers

2016-08-08 Thread António Ramos
Found it {{=A( I(_class='menu-icon fa fa-file bg-white'), DIV( H4('file.pdf',_class="control-sidebar-subheading"), P('23 Abril 2016'), _class="menu-info"), _href="")}} 2016

<    5   6   7   8   9   10   11   12   13   14   >