Re: [web2py] Re: markmin as separate package

2015-06-02 Thread Gour

Massimo Di Pierro  writes:

> Feel free to fork and we'll keep it in sync or use your as a subpackage.

OK, I'll think about it in case I decide to use it.

> Anyway, I strongly recommend 
> https://github.com/mdipierro/markmin.js/tree/master
> instead of the python based markmin. They are not 100% compatible and the 
> latter does a little more but the former does it better. In particular it 
> handles better the oembed protocol because the request originate from the 
> client and not the server.

Interesting...as well as that Nikola main dev already added markmin support
to Nikola:
https://github.com/getnikola/plugins/commit/edc11efc2cc00ccc0371b8ce150170441683f99e


Sincerely,
Gour

-- 
Everyone is forced to act helplessly according to the qualities 
he has acquired from the modes of material nature; therefore no 
one can refrain from doing something, not even for a moment.

-- 
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 subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] markmin as separate package

2015-05-31 Thread Gour
Hello,

for simply web sites I want to use Nikola - Python-powered
static-site-generator (http://getnikola.com) which supports writing content
by using many different markup languages.

Yesterday, while chatting on IRC with main developer, I asked him about
adding support for markin and he replied it could be done in 5 minutes, but
he noted there is no separate package for it, so I wonder what do you think
about releasing markmin as PyPI package?

Have you thought about using it out of the web2py's scope?

Maybe it could be useful for some people as well as bring some new ones to
web2py.

Just a thought...


Sincerely,
Gour

-- 
A person who is not disturbed by the incessant flow of 
desires — that enter like rivers into the ocean, which is 
ever being filled but is always still — can alone achieve 
peace, and not the man who strives to satisfy such desires.

-- 
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 subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [web2py] Re: web2py Google Group

2015-05-28 Thread Gour

Ian Ryder  writes:

> Any chance of it being removed from history?

You can remove it from web UI ('More message options actions').


Sincerely,
Gour

-- 
As the embodied soul continuously passes, in this body, 
from boyhood to youth to old age, the soul similarly passes 
into another body at death. A sober person is not bewildered 
by such a change.

-- 
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 subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [web2py] web2py 2.11.1 is OUT

2015-05-28 Thread Gour
Massimo Di Pierro  writes:

> web2py 2.11.1 is OUT.

Heh, I pulled from the master yesterday and it was still alpha. :-)

> Just in time for the DePy conference tomorrow.

All the best promoting web2py!!


Sincerely,
Gour

p.s. I notice that your signature contains:

- https://code.google.com/p/web2py/issues/list (Report Issues)

which is linking to https://github.com/web2py/web2py/issues. Time to update
you sig or it's by intention?

-- 
As the embodied soul continuously passes, in this body, 
from boyhood to youth to old age, the soul similarly passes 
into another body at death. A sober person is not bewildered 
by such a change.

-- 
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 subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] file manager with private download area

2015-05-28 Thread Gour
Hello,

I'm starting to learn Python and have need for, hopefully, not too
complicated web app which should allow admin to upload multimedia files
(mostly *.mp3 files) to the server and provide private download area for each
user. I anticipate to have 10 - 20 active users at a time and it's very
important that each user does not have access to files in other users' area.

It would be also convenient to signal to the admin when certain user download
some of the files from his/her private area.

Let me say that there are not so many hits/day required to be server, but
more important is not to use too much memory - I'm on simple Webfaction plan
and do not plan to use my own VPS (recently switched back from Linode).

How do you feel the above task is suitable for web2py?

I'm considering some other options like:

b) Bottle

c) Flask

but the main thing is easy of learning/usage with the framework?

Another concern is that some other Python-powered apps I intend to use *all*
work or are py3k-only.

I use Nikola static-site-generator which has support for Mako and Jinja2
templates and since web development is not my bread'n'butter, it would be
easier not to "switch gears too much", so Bottle's & and Flask's advantage
might be py3k-compatibility as well as support for both mako/jinja which is
same as with Nikola's support.

Afaict, web2py's templates might be closer to Mako.

However, it might be that with web2py one is required to write *much* less
code, but that's what I'm curious to know about, so if there is someone
somewhat familiar with all three frameworks, if you can share some wisdom?


Sincerely,
Gour

-- 
You have a right to perform your prescribed duty, but you
are not entitled to the fruits of action. Never consider 
yourself the cause of the results of your activities,
and never be attached to not doing your duty.

-- 
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 subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: great news: Sphinx Documentation

2014-04-14 Thread Gour
Massimo Di Pierro
 writes:

> Great news! We are finally moving to Sphinx.

Very nice!!

Does it mean the web2py book will also move to reST/Sphinx and/or more
support for using reST within web2py?


Sincerely,
Gour

-- 
One who restrains his senses, keeping them under full control, 
and fixes his consciousness upon Me, is known as a man of 
steady intelligence.

-- 
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 subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: New Merchant service -- WePay.com

2014-04-01 Thread Gour
On Tue, 1 Apr 2014 07:36:47 -0700 (PDT)
villas  wrote:

> @Gour,  maybe this is of interest...

Only partly 'cause I'm in Croatia. :-)


Sincerely,
Gour

-- 
Thus the wise living entity's pure consciousness becomes covered by 
his eternal enemy in the form of lust, which is never satisfied and 
which burns like fire.

http://www.atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


-- 
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 subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: New Merchant service -- WePay.com

2014-04-01 Thread Gour
On Mon, 31 Mar 2014 14:31:57 -0700 (PDT)
Joe  Barnhart 
wrote:

> These guys look very much like Stripe.com as credit-card merchant
> service providers -- that is to say, VERY good!

Stripe was, last time I did check, US-only. What about WePay and EU
customers?


Sincerely,
Gour

-- 
A person who has given up all desires for sense gratification, 
who lives free from desires, who has given up all sense of 
proprietorship and is devoid of false ego — he alone can 
attain real peace.

http://www.atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


-- 
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 subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: sqlite <---> postgresql

2014-02-06 Thread Gour
On Thu, 06 Feb 2014 20:55:20 +
Carlos Correia
 wrote:

> Also with Postgresql (unless you're in Windows).

I'm know...since the time when I was running Bacula (backup) and
recently I moved from linux (Debian Sid) to Free/PC-BSD, one still has
to take care when upgrading server versions as well as to use compatible
version on localhost and production server where I do not control system
software which is installed (I use webfaction-like semi-shared hosting).

With Sqlite, it's no-brainer. :)

Sincerely,
Gour

-- 
A person who has given up all desires for sense gratification, 
who lives free from desires, who has given up all sense of 
proprietorship and is devoid of false ego — he alone can 
attain real peace.

http://www.atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


signature.asc
Description: PGP signature


[web2py] Re: sqlite <---> postgresql

2014-02-06 Thread Gour
On Thu, 6 Feb 2014 06:27:36 -0800 (PST)
Cliff Kachinske  wrote:

> Maybe I'm missing something, but why would you develop on one back
> end if your production target is another?

It's easy to work with sqlite.

> Postgres is not that hard to set up and use. MariaDB/MySQL is equally
> easy.

That's true, but it's still one server more to take care about, while
sqlite is 'already installed' and no need to admin. :-)

> And maybe there's no need to switch. SQLite is not a toy.

It's definitely not a toy, but maybe not the best option for web app
which should muliple users at once?


Sincerely,
Gour

-- 
When your intelligence has passed out of the dense forest 
of delusion, you shall become indifferent to all that has 
been heard and all that is to be heard.

http://www.atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


-- 
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 subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[web2py] Re: sqlite <---> postgresql

2014-02-06 Thread Gour
On Thu, 6 Feb 2014 04:06:55 -0800 (PST)
Alan Etkin  wrote:

> I've posted a module for web2py shell which automates the migration
> here:
> https://groups.google.com/d/msg/web2py-developers/QxeJNByj6qc/cpBHsa1ymUkJ

Thanks a lot. Just what I need. ;)

> BTW: there is a work-in-progress modification of dal so the engine 
> migration is transparent.

This is even better. No rush here, but just curious if there is any ETA
for it?


Sincerely,
Gour

-- 


-- 
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 subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[web2py] sqlite <---> postgresql

2014-02-05 Thread Gour
Hello,

Do you consider it's safe to work with web2py on localhost machine and
use sqlite3 database as storage (which greatly simplifies setup) and
then deploy application on the production server by using e.g.
PostgreSQL database?


Sincerely,
Gour

-- 
One must deliver himself with the help of his mind, and not 
degrade himself. The mind is the friend of the conditioned soul, 
and his enemy as well.

http://www.atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


-- 
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 subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[web2py] Re: Happy New Year everybody!

2014-01-01 Thread Gour
On Wed, 1 Jan 2014 16:06:30 -0600
Massimo DiPierro
 wrote:

> Happy new year everybody,

I wish you & web2py the same!!

> some good news:
> 1) python is growing popularity
> https://sites.google.com/site/pydatalog/pypl/python-blog/pythonisthelanguageoftheyear
> 2) there will be a web2py tutorial at PyCon. I will tell you more
> asap! 3) the web2py community is still growing and in 2013 I saw more
> and more high quality programs built with web2py.

some question: 

1) is there some roadmap what we want to achieve in 2014?


Sincerely,
Gour

-- 
Thus the wise living entity's pure consciousness becomes covered by 
his eternal enemy in the form of lust, which is never satisfied and 
which burns like fire.

http://www.atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


-- 
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 subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[web2py] Re: web2py ala static-site-generator

2013-12-18 Thread Gour
On Tue, 17 Dec 2013 05:33:52 -0800 (PST)
Massimo Di Pierro
 wrote:

> I once made a static side generator that allows to create pages using
> the web2py template languages and or markmin (depending on the
> extension).

Thanks.

> I am sorry as of now this is undocumented.

No problem. However, I believe it's better to just plug web2py to Nikola
(Pelican) which is full-featured static generator.


Sincerely,
Gour

-- 
Many, many births both you and I have passed. I can remember 
all of them, but you cannot, O subduer of the enemy!

http://www.atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


-- 
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 subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[web2py] Re: web2py ala static-site-generator

2013-12-17 Thread Gour
On Mon, 16 Dec 2013 13:46:22 -0800 (PST)
"Yassen D."  wrote:

> How about generating most of the pages and serving them as static
> content (e.g. templates that have nothing to render, just plain
> HTML); 

Is there a way to generate such content offline, e.g. via xmlrpc or
something?

> then having some templates that really have stuff that needs
> to be rendered and processed (e.g. a contact form + a POST handler) ?

That part is probably clear and easy.


Sincerely,
Gour

-- 
Many, many births both you and I have passed. I can remember 
all of them, but you cannot, O subduer of the enemy!

http://www.atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


-- 
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 subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[web2py] web2py ala static-site-generator

2013-12-16 Thread Gour
Hello,

for certain purposes I very much like convenience of static site
generators (e.g. Python-powered Nikola) which allows using makrdown/reST
markup to write offline and then simply update the site.

However, there is time when one would like some dynamic capabilities as
well, so I wonder if you can recommend some way to use web2py to get dynamic
features AND keep convenience of static site generator when it comes to
writing the content?


Sincerely,
Gour

-- 
What is night for all beings is the time of awakening 
for the self-controlled; and the time of awakening for 
all beings is night for the introspective sage.

http://www.atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


-- 
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 subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[web2py] Re: Virtual hosting with web2py

2013-10-30 Thread Gour
On Wed, 30 Oct 2013 12:10:10 -0700 (PDT)
Annet  wrote:

> www.mydomain.com to point to my init application
> admin.mydomain.com to web2py's admin application
> cms.mydomain.com to my cms application
> static.mydomain.com to my dbModel application

I was helped here when asked similar/same question recently and applied
it to my hosting with routes.py having the following content:

- cut-here -
# -*- coding: utf-8 -*-

routers = dict(
BASE = dict(
domains = {
'www.domain1com': 'app1',
'www.domain2.com': 'app2',
'www.domain3.com': 'app3',
}
),
)

--- cut-here 

Considering you're using similar (shared) hosting (webfaction), it's
just question of setting your DNS entries accordingly.


Sincerely,
Gour

-- 
>From wherever the mind wanders due to its flickering and unsteady 
nature, one must certainly withdraw it and bring it back under 
the control of the self.

http://www.atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


-- 
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 subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[web2py] Re: How Do You Choose Frameworks That Will Survive?

2013-10-25 Thread Gour
On Fri, 25 Oct 2013 14:07:09 -0700 (PDT)
Derek  wrote:

> I'd suggest just choosing whatever fits your needs now, and is open
> source, with easily readable (or relatively so) source code. 

Well, I'm here 'cause I did choose framework for *my* use, but posted
that link hoping that someone more experienced with web2py than myself
can shed some light about this framework in the original Slashdot
thread. ;)


Sincerely,
Gour

-- 
As the ignorant perform their duties with attachment to results, 
the learned may similarly act, but without attachment, for the 
sake of leading people on the right path.

http://www.atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


-- 
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 subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[web2py] How Do You Choose Frameworks That Will Survive?

2013-10-25 Thread Gour
Web2py seems to be good example for it:

http://ask.slashdot.org/story/13/10/23/1633232/ask-slashdot-how-do-you-choose-frameworks-that-will-survive

but it needs some points from more experienced ones...


Sincerely,
Gour

-- 
As the ignorant perform their duties with attachment to results, 
the learned may similarly act, but without attachment, for the 
sake of leading people on the right path.

http://www.atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


-- 
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 subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[web2py] Re: Performance problem at webfaction.

2013-10-19 Thread Gour
On Fri, 18 Oct 2013 23:47:00 -0700 (PDT)
Annet  wrote:

> How do I check web2py's memory consumption? I searched the book
> for 'memory usage' but did not find any useful information. 

I use scrpt like this on my hosting:

#!/bin/sh

ps -u youruserid -o pid,rss,command | awk '{print $0}{sum+=$2} END {print 
"Total", sum}'


where you should replace 'youruserid' with your login name.

> Webfaction currently provides 512 Mb RAM, I thought that would be
> enough to not experience any problems.

Well, those kind of shared hostings might be tricky in regard how the
total memory usage is calculated.

In the past I e.g. had problem with running my own instance of Cherokee
webserver due to number of processes I'm allowed to use which was
crashing its admin.

Btw, if you're in EU, I can recomend you to try djangoeurope.com which
is more flexible than webfaction and good prices.


Sincerely,
Gour

-- 
What is night for all beings is the time of awakening 
for the self-controlled; and the time of awakening for 
all beings is night for the introspective sage.

http://www.atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


-- 
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 subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[web2py] Re: Performance problem at webfaction.

2013-10-18 Thread Gour
On Fri, 18 Oct 2013 23:26:19 -0700 (PDT)
Annet  wrote:

> My first question is, when my application performs well locally, the
> cause of the problem cannot be web2py or my application, can it?

First things which comes to mind is whether you checked memory
consumption on your localhost?

Webfaction is constrained sharing hosting and, having experience with a
similar one, sometimes one experience strange behaviour of apps in
practice...


Sincerely,
Gour

-- 
It is far better to discharge one's prescribed duties, even though 
faultily, than another's duties perfectly. Destruction in the course 
of performing one's own duty is better than engaging in another's
duties, for to follow another's path is dangerous.

http://www.atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


-- 
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 subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[web2py] Pynuke CMS

2013-10-11 Thread Gour
Hello,

I noticed that Bruno abandoned Movuca CMS ("project is not updated/maintained 
anymore") and he recommends ("If you want a stable CMS for web2py take a look 
at..") Pynuke (https://bitbucket.org/pynukedev/pynuke), so I wonder if anyone 
is using it and/or whether there is plan to provide some English docs for i18n 
audience?


Sincerely,
Gour

-- 
A person who has given up all desires for sense gratification, 
who lives free from desires, who has given up all sense of 
proprietorship and is devoid of false ego — he alone can 
attain real peace.

http://www.atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


-- 
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 subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[web2py] Re: github issue tracker

2013-10-09 Thread Gour
On Wed, 9 Oct 2013 12:56:49 -0700 (PDT)
Niphlod  wrote:

> What "downloads" ? 

E.g. http://tortoisehg.bitbucket.org/download/index.html

But now I see that it seems Github has brought the feature back. :-)


Sincerely,
Gour

-- 
Many, many births both you and I have passed. I can remember 
all of them, but you cannot, O subduer of the enemy!

http://www.atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


-- 
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 subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[web2py] Re: github issue tracker

2013-10-09 Thread Gour
On Wed, 9 Oct 2013 11:44:28 -0700 (PDT)
Niphlod  wrote:

> on the other end, we never crossed the "discussion" about the fact
> that posting an issue to google code requires no signup like posting
> an issue on github, and that you can't add attachments to github
> issues.

Well, then the answer is Bitbucket which on top of that provides
downloads as well. ;)

It's not that I'm big fan of Github, just consider it's better than
GoogleCode, nothing else. :-)


Sincerely,
Gour

-- 
He who is satisfied with gain which comes of its own accord, who 
is free from duality and does not envy, who is steady in both 
success and failure, is never entangled, although performing actions.

http://www.atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


-- 
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 subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[web2py] Re: github issue tracker

2013-10-09 Thread Gour
On Wed, 9 Oct 2013 11:20:24 +0200
Michele Comitini
 wrote:

> Could you find some literature to help accomplish the task?  This
> would help a lot.

Something like this:

https://github.com/arthur-debert/google-code-issues-migrator ?


Sincerely,
Gour

-- 
Not by merely abstaining from work can one achieve freedom 
from reaction, nor by renunciation alone can one attain perfection.

http://www.atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


-- 
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 subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[web2py] github issue tracker

2013-10-09 Thread Gour
Hello,

one of the items on web2py's wish list is moving tickets from Google to
Github (https://trello.com/c/u9Iyz3B0/31-move-tickets-to-github).

It would be really nice to have the complete project at Github, so I
wonder if web2py noob can help somehow make it happen sooner than later?


Sincerely,
Gour

-- 
What is night for all beings is the time of awakening 
for the self-controlled; and the time of awakening for 
all beings is night for the introspective sage.

http://www.atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


-- 
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 subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[web2py] Re: How to serve multiple domains and multiple applications on nginx using pattern-based route

2013-10-09 Thread Gour
On Wed, 9 Oct 2013 09:51:35 +0200
Khalil KHAMLICHI
 wrote:

> hope this helps.

Ahh...forgot to restart gunicorn. :-(

All is well now or web2py rocks. ;)


Sincerely,
Gour

-- 
As the embodied soul continuously passes, in this body, 
from boyhood to youth to old age, the soul similarly passes 
into another body at death. A sober person is not bewildered 
by such a change.

http://www.atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


-- 
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 subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[web2py] Re: How to serve multiple domains and multiple applications on nginx using pattern-based route

2013-10-09 Thread Gour
On Wed, 9 Oct 2013 09:51:35 +0200
Khalil KHAMLICHI
 wrote:

> supposing you have the correct dns settings for those domaines, you
> only need to modify the routes.py file located inside web2py
> directory .

I did not find any existing routes.py file?

> here is a working file example (I am using it)
> 
> # -*- coding: utf-8 -*-
> 
> routers = dict(
> BASE = dict(
> domains = {
> 'www.example1.com': 'app1',
> 'www.example2.com': 'app2',
> }
> ),
> )

With the above one I always get the default 'welcome' app, although set
my domains to map to cloned apps.

I've:

routers = dict(
BASE = dict(
domains = {
'domain1.com': 'welcome',
'domain2.com': 'clone2',
'domain3.com': 'clone3',
}
),
)

If I visit: www.domain2.com/clone2 I get access to 'clone2' app.

Probably I do miss something..will do some more reading...

> hope this helps.

Yes. Is the above-like setup also recommended in the practice?

I'm asking 'cause it really makes deploying web2py-powered sites (aka
apps) breeze in comparison with the fiddling required for django sites.


Sincerely,
Gour

-- 
One who restrains the senses of action but whose mind dwells on 
sense objects certainly deludes himself and is called a pretender.

http://www.atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


-- 
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 subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[web2py] Re: How to serve multiple domains and multiple applications on nginx using pattern-based route

2013-10-09 Thread Gour
On Fri, 4 Oct 2013 19:32:36 -0700 (PDT)
IVINH  wrote:

> Nginx config:

In my case Nginx is setup as reverse-proxy and it dispatches reuqests to
gunicorn listening on local port.

> routes_in = ((
> (('.*http://demo.ivinh.com.* /*', '/demo')),
> (('.*http://demo1.ivinh.com.* /*', '/demo1'))
> ))

Would you recommend same setup, iow. using one web2py instance  if I
e.g. need to serve 3 indepdendant web sites each at different TLD, like:

http://www.domain1.com/

http://www.domain2.com/

http://www.domain3.com/

or there is some more suitable setup in such use case?


Sincerely,
Gour

-- 
A person is said to be elevated in yoga when, having renounced 
all material desires, he neither acts for sense gratification 
nor engages in fruitive activities.

http://www.atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


-- 
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 subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[web2py] Re: bug in rewrite.py ?

2013-10-06 Thread Gour
On Sat, 5 Oct 2013 11:47:36 -0700 (PDT)
Niphlod  wrote:

> web2py looks for remote_port to look for the parameters_xxx.py file,
> not http_x_forwarded port.

I did some further testing...

First of all, tried to write minimal Flask app showing headers and
tolerating web2py bashing in #flask.

Then I found out that flask is also sets SERVER_PORT & REMOTE_PORT to
'80'.

Further experiments, revealed that e.g. diesel server reports the
following:

HTTP_HOST   :   
atmarama.sites.djangohosting.ch
HTTP_X_FORWARDED_PORT   :   
443
HTTP_X_FORWARDED_PROTO  :   
https
HTTP_X_FORWARDED_PROTOCOL   :   
https
HTTP_X_REAL_IP  :   
93.139.202.152
HTTP_X_REAL_PORT:   
93.139.202.152
PATH_INFO   :   
/welcome/default/index
QUERY_STRING:   
RAW_URI :   
/welcome/default/index
REMOTE_ADDR :   
127.0.0.1
REQUEST_METHOD  :   
GET
SCRIPT_NAME :   
SERVER_PORT :   
62019

and by providing parameters_62019.py, web2py is happy now. :-)

And I assume it's correct assuming that wsgiserver is listening on that
port, right?

I've two questions:

1) why web2py puts strange (to me) value in HTTP_REAL_PORT?

2) why is wsgi.url_scheme   :   
http

and not https?

So, e.g cherrypy, diesel, rocket correctly report 62019 port, while
gunicorn does not.

Thank you for all the input, let me contact gunicorn dev about it.


Sincerely,
Gour

-- 
A person who is not disturbed by the incessant flow of 
desires — that enter like rivers into the ocean, which is 
ever being filled but is always still — can alone achieve 
peace, and not the man who strives to satisfy such desires.

http://www.atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


-- 
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 subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[web2py] Re: bug in rewrite.py ?

2013-10-06 Thread Gour
On Sat, 5 Oct 2013 11:47:36 -0700 (PDT)
Niphlod  wrote:

> are you sure that is the only one gunicorn instance running in your
> env ? if yes, do you access web2py using 127.0.0.1:62019 ?

Yes, 127.0.0.1:62019 is the port gunicorn is listening on.

> if remote_port is set to 62019, then the instance you're accessing is
> the right one. 

> If it's instead 80, something else is running web2py that reports
> remote_port as 80. 

Or web2py is setting remote_port to 80 itself?

> web2py looks for remote_port to look for the parameters_xxx.py file,
> not http_x_forwarded port.

OK.


> What does inspect and "trust" is instead http_x_forwarded_proto to
> tell if the request is an https one (meaning that even if the
> "lowest-middleware" is not doing any SSL secured transmission, if
> there is that header it means that on the layers on top (probably
> nginx in your setup) the connection is secure). This is a pretty
> standard behaviour in any piece of software working on reverse
> proxies because there is no other way for the "lower tiers" to know
> if the connection is secured or not from the "upper tiers". 

Well, on the same hosting, iow. same nginx at the front-end, I run few
PHP sites which are served by Hiawatha web serving also listening on
similar localport.

If I try simple test.php script, no matter which port is forwarded, iow.
no matter whether I use http/https to access the script, phpinfo()
reports that SERVER_PORT = localport where Hiawatha server is listening
and all the apps are working as expected.

E.g. in #flask I'm told: "Flask works fine behind remote proxies but you
do need to take care of setting the Host and X-Forwarded-For headers
correctly."

I'll try to research more and check nginx setup, although it works with
all the other apps.


Sincerely,
Gour

-- 
While contemplating the objects of the senses, a person 
develops attachment for them, and from such attachment lust 
develops, and from lust anger arises.

http://www.atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810

-- 
A person is said to be elevated in yoga when, having renounced 
all material desires, he neither acts for sense gratification 
nor engages in fruitive activities.

http://www.atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


-- 
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 subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[web2py] Re: bug in rewrite.py ?

2013-10-05 Thread Gour
On Sat, 5 Oct 2013 06:08:37 -0700 (PDT)
Niphlod  wrote:

> I don't think that there's a bug. is_https is set because of the 
> http_x_forwarded_proto header, that is an header sent by your
> webserver back to web2py telling it that the request is coming from
> an https realm. 

OK.

> http_port is set to 80, so it's now totally clear
> that your setup has a web2py app mounted on the lowest-middleware in
> your setup (being that gunicorn or whatever else) that is listening
> on port 80.

How you explain that gunicorn is listening on port 80 when after
starting it, it reports e.g.:

starting gunicorn on 127.0.0.1:62019...
/usr/lib/python2.6/dist-packages/pytz/__init__.py:32: UserWarning: Module 
_mysql was already imported from /usr/lib/pymodules/python2.6/_mysql.so, but 
/usr/lib/pymodules/python2.6 is being added to sys.path
  from pkg_resources import resource_stream
2013-10-05 15:36:23 [1649] [INFO] Starting gunicorn 18.0
INFO:gunicorn.error:Starting gunicorn 18.0
2013-10-05 15:36:23 [1649] [INFO] Listening at: http://127.0.0.1:62019 (1649)
INFO:gunicorn.error:Listening at: http://127.0.0.1:62019 (1649)
2013-10-05 15:36:23 [1649] [INFO] Using worker: sync
INFO:gunicorn.error:Using worker: sync
2013-10-05 15:36:23 [1661] [INFO] Booting worker with pid: 1661
INFO:gunicorn.error:Booting worker with pid: 1661

> BTW, you may be missing that all of this is OUTSIDE the things that
> web2py can manage: those headers are sent by your frontend and
> there's nothing web2py can do about it, except treat them as
> parameters.

I dont't get it...

HTTP_X_FORWARDED_PORT   :   
443
HTTP_X_FORWARDED_PROTO  :   
https
HTTP_X_FORWARDED_PROTOCOL   :   
https

and server port is set to 80? How?

At the moment I can't look further having some obligations outside, but
will try muc later in the evening and/or tomorrow.


Sincerely,
Gour

-- 
Not by merely abstaining from work can one achieve freedom 
from reaction, nor by renunciation alone can one attain perfection.

http://www.atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


-- 
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 subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[web2py] bug in rewrite.py ? (wasRe: admin disabled... or why is parameters_80.py needed)

2013-10-05 Thread Gour
On Sat, 5 Oct 2013 05:05:26 -0700 (PDT)
Niphlod  wrote:

> and see where web2py is told to listen on :D

I belive it's bug in web2py, iow. how it handles working behind reverse
proxy.

See the env:

HTTP_ACCEPT :   
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_ACCEPT_ENCODING:   
gzip, deflate
HTTP_ACCEPT_LANGUAGE:   
en,hr;q=0.5
HTTP_CONNECTION :   
close
HTTP_COOKIE :   
session_id_welcome=93.139.171.186-2c523139-4c5c-4ba9-bc62-ec11a313a6b9; 
session_id_admin=93.139.171.186-9833e092-1503-4d0d-88b7-df46550d652b
HTTP_HOST   :   
atmarama.sites.djangohosting.ch
HTTP_REFERER:   
https://atmarama.sites.djangohosting.ch/admin/default/site
HTTP_SCHEME :   
https
HTTP_USER_AGENT :   
Mozilla/5.0 (X11; Linux x86_64; rv:23.0) Gecko/20100101 Firefox/23.0 
Iceweasel/23.0 FirePHP/0.7.4
HTTP_X_FORWARDED_FOR:   
93.139.171.186
HTTP_X_FORWARDED_HOST   :   
atmarama.sites.djangohosting.ch
HTTP_X_FORWARDED_PORT   :   
443
HTTP_X_FORWARDED_PROTO  :   
https
HTTP_X_FORWARDED_PROTOCOL   :   
https
HTTP_X_INSIGHT  :   
activate
HTTP_X_REAL_IP  :   
93.139.171.186
HTTP_X_REAL_PORT:   
93.139.171.186
PATH_INFO   :   
/welcome/default/index
QUERY_STRING:   
RAW_URI :   
/welcome/default/index
REMOTE_ADDR :   
93.139.171.186
REMOTE_PORT :   
80
REQUEST_METHOD  :   
GET
SCRIPT_NAME :   
SERVER_NAME :   
atmarama.sites.djangohosting.ch
SERVER_PORT :   
80
SERVER_PROTOCOL :   
HTTP/1.0
SERVER_SOFTWARE :   
gunicorn/18.0
db_sessions :   
set([])
debugging   :   
False
http_accept :   
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
http_accept_encoding:   
gzip, deflate
http_accept_language:   
en,hr;q=0.5
http_connection :   
close
http_cookie :   
session_id_welcome=93.139.171.186-2c523139-4c5c-4ba9-bc62-ec11a313a6b9; 
session_id_admin=93.139.171.186-9833e092-1503-4d0d-88b7-df46550d652b
http_host   :   
atmarama.sites.djangohosting.ch
http_referer:   
https://atmarama.sites.djangohosting.ch/admin/default/site
http_scheme :   
https
http_user_agent :   
Mozilla/5.0 (X11; Linux x86_64; rv:23.0) Gecko/20100101 Firefox/23.0 
Iceweasel/23.0 FirePHP/0.7.4
http_x_forwarded_for:   
93.139.171.186
http_x_forwarded_host   :   
atmarama.sites.djangohosting.ch
http_x_forwarded_port   :   
443
http_x_forwarded_proto  :   
https
http_x_forwarded_protocol   :   
https
http_x_insight  :   
activate
http_x_real_ip  :   
93.139.171.186
http_x_real_port:   
93.139.171.186
is_jython   :   
False
is_pypy :   
False
is_source   :   
True
local_hosts :   
atmarama.sites.djangohosting.ch
:::127.0.0.1
::1
s9.wservices.ch
78.46.120.231
127.0.0.1
path_info   :   
/welcome/default/index
query_string:   
raw_uri :   
/welcome/default/index
remote_addr :   
93.139.171.186
remote_port :   
80
request_method  :   
GET
request_uri :   
/welcome/default/index
script_name :   
server_name :   
atmarama.sites.djangohosting.ch
server_port :   
80
server_protocol :   
HTTP/1.0
server_software :   
gunicorn/18.0
web2py_version  :   
2.6.4-stable+timestamp.2013.10.01.15.24.15
local_hosts :   
atmarama.sites.djangohosting.ch
:::127.0.0.1
::1
s9.wservices.ch
78.46.120.231
127.0.0.1
web2py_version  :   
2.6.4-stable+timestamp.2013.10.01.15.24.15
is_https:   
True
is_local:   
False
is_restful  :   
False
now :   
datetime.datetime(2013, 10, 5, 14, 49, 22, 784103)
post_vars   :   
raw_args:   
raw_extension   :   
None
url :   
/welcome/default/index
utcnow  :   
datetime.datetime(2013, 10, 5, 12, 49, 22, 784108)
uuid:   
welcome/93.139.171.186.2013-10-05.14-49-22.05a7d131-0ecb-48a5-a062-08d32f14644d
vars:   

It shows that is_https: True and sets: remote_port to 80 ??

I believe that rewriting code in rewrite.py does not handle properly
working behind reverse proxy when wsgi is listening on non-standard
port and it wouldn't be the first piece of software having such bug - I
met several PHP projects with the same problem.


Sincerely,
Gour

-- 
>From anger, complete delusion arises, and from delusion 
bewilderment of memory. When memory is bewildered, 
intelligence is lost, and when intelligence is lost 
one falls down again into the material pool.

http://www.atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


-- 
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 subscribed to the Google Groups 
"we

[web2py] Re: admin disabled... or why is parameters_80.py needed

2013-10-05 Thread Gour
On Sat, 5 Oct 2013 05:05:26 -0700 (PDT)
Niphlod  wrote:

> then let's make things even easier  web2py expects a
> parameters_xxx.py file that is extracted from
> request.env.server_port

OK, now it's even more clear.

> make a test page that does
> 
> def test():
> return dict(a=request.env.server_port)
> 
> and see where web2py is told to listen on :D

Obviously, if web2py refuses to work without parameters_80.py is that it
is listening on port 80.

What is not clear and is puzzle to me is where in the setup it is told
so?

When I try with the above test page, Firebug shows w.x.y.z:443 as IP,
gunicorn is also listening on port /= 80...can you help with it?

> BTW, I didn't mean that you **need** to look over at all the source
> code of web2py on the first day, but that's pretty much the beauty of
> opensource ... you **can** read it :P

Yeah, I'll do it, but on the 7th day. ;)


Sincerely,
Gour

-- 
Whenever and wherever there is a decline in religious practice, 
O descendant of Bharata, and a predominant rise of irreligion — 
at that time I descend Myself.

http://www.atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


-- 
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 subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[web2py] Re: web2py 2.7.1 is OUT

2013-10-05 Thread Gour
On Fri, 4 Oct 2013 19:54:25 -0500
Massimo DiPierro
 wrote:

> Changelog

When I try with the trunk just cloned from github:

python web2py.py -p localport -a ""

and attempt to access admin remotely (see the "admin disabled... or why is 
parameters_80.py needed" thread, I get only 'a' as response for both
http and https requests:

/usr/lib/python2.6/dist-packages/pytz/__init__.py:32: UserWarning: 
Module _mysql was already imported
from /usr/lib/pymodules/python2.6/_mysql.so,
but /usr/lib/pymodules/python2.6 is being added to sys.path from
pkg_resources import resource_stream web2py Web Framework Created by
Massimo Di Pierro, Copyright 2007-2013 Version
2.7.1-stable+timestamp.2013.10.04.21.30.48 Database drivers available:
SQLite(sqlite2), SQLite(sqlite3), MySQL(pymysql), MySQL(MySQLdb),
PostgreSQL(psycopg2), PostgreSQL(pg8000), MSSQL(pyodbc), DB2(pyodbc),
Teradata(pyodbc), Ingres(pyodbc), CouchDB(couchdb), MongoDB(pymongo),
IMAP(imaplib) please visit: http://127.0.0.1:localport/ use "kill
-SIGTERM 16411" to shutdown the web2py server


Sincerely,
Gour

-- 
As a blazing fire turns firewood to ashes, O Arjuna, so does the 
fire of knowledge burn to ashes all reactions to material activities.

http://www.atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


-- 
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 subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[web2py] Re: admin disabled... or why is parameters_80.py needed

2013-10-05 Thread Gour
ases, listening is happening on the same
localport different than 443 or 80, and the working case in c) is, to me
proof, that nginx reverse proxy does it job of properly
dispatching requests.

However, when gunicorn comes into play, for some reason, web2py expects
existence of parameters_80.py file.

Any explanation?


Sincerely,
Gour

-- 
Before giving up this present body, if one is able to tolerate 
the urges of the material senses and check the force of desire and 
anger, he is well situated and is happy in this world.

http://www.atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


-- 
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 subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[web2py] Re: admin disabled... or why is parameters_80.py needed

2013-10-04 Thread Gour
On Fri, 4 Oct 2013 14:41:30 -0400
Richard Vézina
 wrote:

> This may help!

Thank you. I'll try to learn something about nginx from it, but let me
say that I do NOT have access to the setup of nginx at the front-end and
therefore not sure, how much I can do via custom *.conf file.

Of course, I could build my own webserver, but it would still be able
only to rubn on some local privileged port waiting requests from the
main nginx reverse-proxy.


Sincerely,
Gour

-- 
One who sees inaction in action, and action in inaction, 
is intelligent among men, and he is in the transcendental position, 
although engaged in all sorts of activities.

http://www.atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


-- 
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 subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[web2py] Re: admin disabled... or why is parameters_80.py needed

2013-10-04 Thread Gour
On Fri, 4 Oct 2013 11:53:22 -0700 (PDT)
Niphlod  wrote:

> as often, you're making things much more complicated then they really
> are. 

I don't understand?

> web2py "calculates" what password_portnumber.py to use seeing where
> the server listens to. It has (and can't have) knowledge of any
> proxies in between.

My setup is nothing special, just the opposite - common scenario where
one use real webserver (nginx) on the front-end and acting as
reverse-proxy serving static content and dispatching requests for
dynamic content to the wsgi server (gunicorn) listening on
127.0.0.1:localport.

Actually, the setup is pretty much the same as well-known webfaction
hosting.

> So, even if your site is reachable from the outside world on the port
> 443, the web2py code will see those request coming to the 80 port if
> you configured gunicorn to listen on that one it's nginx that is 
> "translating" whatever comes through 443 to the 80 of gunicorn
> (because of your configuration). 

My site is nothing else than vanilla web2py installation and default
(welcome) application is available from the outside world on the port
80.

>From where do you conclude that I configured gunicorn to listen on port
80?

Otoh, afaik, web2py allows accessing admin interface
remotely only via https...

> So, in your case, web2py will search the parameters_80.py file because
> it's where the requests are coming from (nginx) 

Can you, please, explain me how are requests coming from port 80 if I
access the site with: https://tld/ ?

> because it can't know that the nginx configuration is doing the
> translation between 443 and 80.

I admit I'm not very familiar with nginx (after Apache, mostly used
lighty, cherokee and hiawatha for PHP sites) and just modified ISP's
recipe, but from where I can see that nging is 'doing the translation
between 443 and 80' ?


Sincerely,
Gour


-- 
For him who has conquered the mind, the mind is the best of 
friends; but for one who has failed to do so, his mind will 
remain the greatest enemy.

http://www.atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


-- 
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 subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[web2py] Re: admin disabled... or why is parameters_80.py needed

2013-10-04 Thread Gour
On Fri, 4 Oct 2013 10:45:13 -0700 (PDT)
LightDot  wrote:

> Couple of things I don't understand - are you using anyserver.py or
> not? 

No.

> Are you using nginx in front of gunicorn, or..?

Yes, nginx is used as reverse proxy.

> Please post your relevant config files and full startup lines.

Here is ~/nginx/conf/sites/web2py:

upstream gunicorn.web2py {
server unix:/home/somepath/virtualenvs/web2py/web2py.sock;
}

server {
listen 127.0.0.1:somelocalport;
server_name my.domain.com;

location / {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;
proxy_redirect off;
if (!-f $request_filename) {
proxy_pass  http://gunicorn.web2py;
break;
}
}

}

and here is part of gunicorn init script:

#!/bin/sh
### BEGIN INIT INFO
# Provides:
# Required-Start: $local_fs $syslog
# Required-Stop:  $local_fs $syslog
# Default-Start:  2 3 4 5
# Default-Stop:   0 1 6
# Short-Description: Gunicorn processes
### END INIT INFO

NAME="web2py"
PROJECT_DIR="$HOME/virtualenvs/$NAME"
PYTHONPATH="$PROJECT_DIR/web2py"

PIDFILE="$PROJECT_DIR/$NAME.pid"
SOCKET="$PROJECT_DIR/$NAME.sock"
DAEMON=$PROJECT_DIR/bin/gunicorn
PATH=/sbin:/bin:/usr/sbin:/usr/bin:$PATH
OPTS="-D -b unix:///$SOCKET --worker-class sync --pid $PIDFILE
--pythonpath $PYTHONPATH --chdir $PYTHONPATH wsgihandler --preload"
WORKERS=1


start()
{
printf "Starting $NAME "
export PYTHONPATH=$PYTHONPATH;
cd $PROJECT_DIR;
$DAEMON $OPTS && echo "OK" || echo "failed";
}


[...]


Let me repeat that now it works, but I wonder why it didn't work without
having parameters_80.py file present in PROJECT_DIR/web2py ?


Sincerely,
Gour

-- 
As the ignorant perform their duties with attachment to results, 
the learned may similarly act, but without attachment, for the 
sake of leading people on the right path.

http://www.atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810

-- 
The embodied soul may be restricted from sense enjoyment, 
though the taste for sense objects remains. But, ceasing 
such engagements by experiencing a higher taste, 
he is fixed in consciousness.

http://www.atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


-- 
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 subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[web2py] Re: admin disabled... or why is parameters_80.py needed

2013-10-04 Thread Gour
On Fri, 4 Oct 2013 13:10:48 -0400
Richard Vézina
 wrote:

> You miss the -a "password" parameter I think!
> 
> You pass the same password that is encrypted in you parameters_443.py
> file...
> 
> It may still miss some parameter to specify you want to run the
> server in https mode.

I know about '-a' and "", but the point is that here I'm not
starting web2py via 'python web2py.py', but invoking it via gunicorn:

gunicorn -D -b unix:///some_socket --worker-class sync --pid $PID wsgihandler 
--preload...


So, the original question why parameter_80.py is required remains. ;)


Sincerely,
Gour

-- 
The senses are so strong and impetuous, O Arjuna, 
that they forcibly carry away the mind even of a man 
of discrimination who is endeavoring to control them.

http://www.atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


-- 
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 subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[web2py] admin disabled... or why is parameters_80.py needed

2013-10-04 Thread Gour
Hello!

Today I had problem making web2py working under cloned project with
gunicorn server.

In the beginning I did start web2py with: 

python anyserver.py -s gunicorn -p localport

and I was able to use stored password to access admin interface remotely
via https.

However, when I tried with a new 'project' cloning web2py from the
scratch and cp-ing parameters_443.py from the original project, no matter
what I was doing, I always got:

admin disabled because unable to access password

which, I confess, is a bit misleading 'cause the same parameters_443.was
there with the same perms.

Finally, don't know why (I did not went through the whole book yet), I
tried by cp-ing parameters_80.py from the original project and I was
able to login.

Here, I'm a little bit puzzled 'cause I was always trying to access my
site by using: https://tld/ and not http://tld, so I wonder why is
parameters_80.py required to get the form for admin interface and how to
populate it when starting from the scratch?

In case of https, I was using save_password method...


Sincerely,
Gour

-- 
For him who has conquered the mind, the mind is the best of 
friends; but for one who has failed to do so, his mind will 
remain the greatest enemy.

http://www.atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


-- 
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 subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[web2py] Re: gunicorn vs uwsgi

2013-10-02 Thread Gour
On Thu, 3 Oct 2013 06:24:09 +0200
"Roberto De Ioris"  wrote:

> And don't you think it would be better to understand why ?

Sure, I just said it did not work out-of-the-box as with gunicorn.

> Maybe it is an easy thing, maybe it is something "isp-specific" that
> would be great to address.

I'll investigate further.

> I am not forcing you to use uWSGI (sorry if i gave you such idea) 

Nope, np.

> but as you are a developer i suspect when a customer simply says "does
> not work" without context you became a fury :) 

Well, I didn't mean to troubleshoot uwsgi problem here and I apologize
seeing that I didn't provide details about my 'https' problem in #uwsgi
either. :-(


Sincerely,
Gour

-- 
The senses are so strong and impetuous, O Arjuna, 
that they forcibly carry away the mind even of a man 
of discrimination who is endeavoring to control them.

http://www.atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


-- 
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 subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[web2py] Re: gunicorn vs uwsgi

2013-10-02 Thread Gour
On Wed, 2 Oct 2013 17:32:46 +0200
"Roberto De Ioris"  wrote:

> 
> The problem is that when you are just learning, the first objective is
> getting things done, you are generally not interested in problems you
> do not even immagine will arise (soon or later)

Correct.

> It is not (only) a matter of performance, from a sysadmin point of
> view things are different, that is why i removed "developer-friendly"
> from the uWSGI front-page :P

:-)

> wait wait, you are talking about anyserver.py, it is a cool script
> included in web2py for simplified deployments, you cannot really say
> you have tried gunicorn and its true power :)

I never said I did, but it served 'getting things done' objective. ;)

> regarding the https problem, well, if the password file is correct it
> should works transparently (uWSGI honour the X-Forwarded-SSL header
> sent by the webfaction proxy).

First, I'm not on webfaction, but on something similar to it and it does
not work with uWSGI, while it works with gunicorn.


Sincerely,
Gour

-- 
One who is not disturbed in mind even amidst the threefold 
miseries or elated when there is happiness, and who is free 
from attachment, fear and anger, is called a sage of steady mind.

http://www.atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


-- 
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 subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[web2py] Re: gunicorn vs uwsgi

2013-10-02 Thread Gour
On Wed, 2 Oct 2013 15:16:23 +0200
"Roberto De Ioris"  wrote:

> While the "complexity" of uWSGI in latest times is questionable
> (documentation improved a lot and the quickstart introduce to
> basically everything you need), i always suggest newcomers to go
> pure-python (rocket, gunicorn, flup...) as compilation can be a
> problem sometimes.

Compilation is not the problem here 'cause I installed it via pip on my
hosting server without any problem.


> The problem is that once you start placing apps in constrained
> environments, you will soon start to face low-level problems (dealing
> with rss, address space, monitoring), something uWSGI is optimized
> for (for example you can tell it to reboot after a memory limit is
> reached and so on)

Hmm, that's good.

> In addition to this uWSGI uses lot less memory and supports threading
> that when you have few resources is a good approach for increasing
> concurrency.

Another 'pro'..

> The "overkill" definition is really funny (you are not the first
> person saying it) becase generally uWSGI has hundreds more features
> than "competitors" but it is the one consuming less resources :)

Well, I was mostly thinking if/whether uWSGI's power/advantage is
becoming more obvious when serving big web sites with *LOT* of traffic
where one wants to squueze last drop of performance.

> And just as a note (from the web2py directory, after having copied
> wsgihandler.py from the handlers directory):

I did that.

> gunicorn --bind :9090 wsgihandler

I did run gunicorn with:

python anyserver.py -p localport -s gunicorn

and I was able to access my web site at: http://tld/ without any further
port fiddling considering that nginx front-end is sending request to
127.0.0.1:localport, as well as web2py's adming interface via
https://tld/ by having previously saved with save_password call.

> uwsgi --http-socket :9090 --wsgi wsgihandler

Otoh, I was able to use uWSGI in the same configuration with:

[uwsgi]
http-socket = :localport
chdir = /home/some_path/virtualenvs/web2py/web2py
module = wsgihandler
master = true
processes = 4
venv = /home/some_path//virtualenvs/web2py


and running:

uwsgi uwsgi.ini

but could not accomplish same thing trying to access admin interface via
https?

> is it so different ;) ?

Well, *in theory* is quite close, but in practice it was huge difference
for me. :-)


Sincerely,
Gour

-- 
It is far better to discharge one's prescribed duties, even though 
faultily, than another's duties perfectly. Destruction in the course 
of performing one's own duty is better than engaging in another's
duties, for to follow another's path is dangerous.

http://www.atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


-- 
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 subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[web2py] gunicorn vs uwsgi

2013-10-02 Thread Gour
Hello,


I'm testing both gunicorn and uwsgi with web2py on my (production)
server with nginx acting as front-end/reverse-proxy. Deploying of
gunicorn is pure simplicity which I like (it reminds me on webpy) and I
can access web2py's admin via https, while having problem to do the same
with uwsgi.
│
My sites are and, after converting to web2py, will be small/low-traffic
and can raise to medium/medium-traffic in the future, while on my
hosting (ala webfaction) I have limit on the total memory used by apps
to 512MB and number of procs is 50. 

Any idea which WSGI server behave better in such constrained
environment?

uWSGI certainly looks as very powerful, but maybe it is an overkill for
our needs and brings more trouble with configuration comparing it with
simple deployment via gunicorn? 


Sincerely,
Gour

-- 
He is a perfect yogī who, by comparison to his own self, 
sees the true equality of all beings, in both their 
happiness and their distress, O Arjuna!

http://www.atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


-- 
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 subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[web2py] Re: Manual: RE built-in wiki

2013-10-01 Thread Gour
On Fri, 31 May 2013 11:55:24 -0700 (PDT)
Massimo Di Pierro
 wrote:

> You are right. The book is missing something. 

I agree that that content of the book is a bit misleading.

Otoh, after 'discovering' wki, now I realize that, after creating static
HTML/CSS design using some (CSS) framewoork, the wiki can help add content
to the 'static' parts of the site and then add dynamic aspects of the
site via apps later. :-)

Let me say that this 'discovery' is strongly pulling me towards web2py
considering to abandon Django/Mezzannine realizing here is the
simpler as well as more powerful/intuitive platform to be used for
building web sites in general. Congrats, Massimo!!

Sincerely,
Gour (hoping to learn enough soon to contribute back somehow)

-- 
Even a man of knowledge acts according to his own nature, for 
everyone follows the nature he has acquired from the three modes. 
What can repression accomplish?

http://www.atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


-- 
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 subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[web2py] Re: from devel list (was Re: [web2py-dev] Here they come...)

2013-10-01 Thread Gour
On Tue, 01 Oct 2013 10:59:38 +0200
Manuele Pesenti
 wrote:

> I mean... why a post again something he do not know instead a post on
> Django and Ruby advantages?

Well, that is the fun of the web - everybody can publish whatever he/she
desires. :-)


Sincerely,
Gour

-- 
>From wherever the mind wanders due to its flickering and unsteady 
nature, one must certainly withdraw it and bring it back under 
the control of the self.

http://www.atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


-- 
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 subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[web2py] Re: one instance - multiple sites

2013-09-30 Thread Gour
On Mon, 30 Sep 2013 16:59:47 +0200
Michele Comitini
 wrote:

> I do not know if it is recommended or not, I works perfectly. 

With uwsgi's emperor mode?

> There is on gotcha (no big deal unless serving very busy sites):  if
> you use routes and or modules in your applications the wsgi process
> must be restarted.

My sites are certainly not (yet) in the category of 'very busy', so it
sounds good.


Sincerely,
Gour

-- 
Even a man of knowledge acts according to his own nature, for 
everyone follows the nature he has acquired from the three modes. 
What can repression accomplish?

http://www.atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


-- 
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 subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[web2py] one instance - multiple sites

2013-09-30 Thread Gour
Hello,

web2py site says: "One web2py instance can run multiple web sites using 
different databases.", so I wonder if it is recommended to run several 
independant web sites under one web2py instances?

If yes, do you recommend uwsgi[1] for such scenario


[1]: The uwsgi would run behind nginx front-end server acting as
reverse-proxy.


Sincerely,
Gour

-- 

Everyone is forced to act helplessly according to the qualities 
he has acquired from the modes of material nature; therefore no 
one can refrain from doing something, not even for a moment.

http://www.atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


-- 
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 subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[web2py] Re: web2py website down

2013-09-30 Thread Gour
On Sun, 29 Sep 2013 17:19:11 -0700 (PDT)
LightDot  wrote:

> BTW, web2py book is on the github. It's a web2py application, you can
> run it locally or on your web hosting / VPS.

Now I know. Thanks. ;)


Sincerely,
Gour

-- 
As a strong wind sweeps away a boat on the water, 
even one of the roaming senses on which the mind 
focuses can carry away a man's intelligence.

http://www.atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


-- 
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 subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[web2py] Re: web2py website down

2013-09-29 Thread Gour
On Sun, 29 Sep 2013 05:27:51 -0700 (PDT)
黄祥  wrote:

> i still can't access web2py website and mine on pythonanywhere. the
> status is Unhandled Exception

It looks that is real meaning of cloud computing - in some parts the
sun is shining through, while in the other ones, overcast is too strong.
:-)

Lesson: "If you want to learn web2py, better have copy of web2py's book
on the shelf or, at least, pdf copy on the localhost!" 


Sincerely,
Gour


-- 
Thus the wise living entity's pure consciousness becomes covered by 
his eternal enemy in the form of lust, which is never satisfied and 
which burns like fire.

http://www.atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810

-- 
Before giving up this present body, if one is able to tolerate 
the urges of the material senses and check the force of desire and 
anger, he is well situated and is happy in this world.

http://www.atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


-- 
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 subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[web2py] Re: web2py website down

2013-09-29 Thread Gour
On Sun, 29 Sep 2013 00:09:36 -0700 (PDT)
Loïc  wrote:

> Pythonanywhere seems to have some issues this morning. My web-apps
> were down too... Everything seems OK now. 

I still see 'Unhandled Exception"...interesting it happens just in
time when I was considering whether to use something like PythonAnywhere
instead of my solid webfaction-like shared hosting.


Sincerely,
Gour

-- 
Those who are on this path are resolute in purpose, 
and their aim is one. O beloved child of the Kurus, 
the intelligence of those who are irresolute is many-branched.

http://www.atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


-- 
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 subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[web2py] Re: from devel list

2013-09-28 Thread Gour
On Fri, 27 Sep 2013 17:06:02 +0200
Loïc ESPERN  wrote:

> Depends on what you (or your customers) need...

Exactly.

> I developped my little CMS to build a presentation website for a local
> organization of firefighters in my city. They hadn't a lot of money to
> expend, and they needed something very simple, to edit some webpages
> content. Wordpress / Joomla were already overcomplicated for them.

Similarly, I did web site for non-profit here which is running under
Textpattern (PHP) CMS allowing easy adding/editing of the content by
using Textile markup.

> And so on...
> 
> Finally, of course, a specific app that addresses exactly each
> customer needs is ideal for them. But not every customer will accept
> to pay thousands of dollars for only a few of basic features.

I'm in a similar boat...

My friend running web agency here in Croatia is complaining to me that
many customers just want modified generic WP template and that's all and
not ready to pay for more than few hours work modifying the WP theme.

Now I wonder what to do in a case when

a) I'd like not to combine PHP technology with web2py

b) there is no web2py-powered CMS providing features similar to e.g.
some PHP solutions

c) not having (yet) skills to roll my own CMS ?

In general, one starts by creating static design using some CSS
framework. Then, depending on the customer's needs, I could leave the
site as it is or convert design into some CMS enabling easy
adding/editing of the content.

The option which I am considering lately for my own purpose is to use
some python-powered static-site-generator.

When the need arises to add some interactive/dynamic features to the
site, static-site-generator and/or plain static site is not good-enough.

So, the question is how to start building web2py-powered web site which
should start e.g. as simple brochure site onto which one can further
functionality by writing small apps in web2py?

Do you all write some kind of CMS allowing to add larger portions of
static text/media which make the major portion of the site or do you
combine smaller web2py apps with something else?

What do you think about e.g. building web site via some static site
generator and then write web2py handling some dynamic aspects?

How is e.g. added/edited content to the web2py.com site itself?
Manually?


Sincerely,
Gour

-- 
For him who has conquered the mind, the mind is the best of 
friends; but for one who has failed to do so, his mind will 
remain the greatest enemy.

http://www.atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810

-- 
A person who is not disturbed by the incessant flow of 
desires — that enter like rivers into the ocean, which is 
ever being filled but is always still — can alone achieve 
peace, and not the man who strives to satisfy such desires.

http://www.atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


-- 
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 subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[web2py] Re: web2py vs flask

2013-09-28 Thread Gour
On Sat, 28 Sep 2013 21:28:13 -0700 (PDT)
Massimo Di Pierro
 wrote:

> This was not on the web2py IRC channel, was it?

No, it was on the channel unrelated to either web2py or flask.


Sincerely,
Gour

-- 
Thus the wise living entity's pure consciousness becomes covered by 
his eternal enemy in the form of lust, which is never satisfied and 
which burns like fire.

http://www.atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


-- 
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 subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[web2py] Re: web2py vs flask

2013-09-28 Thread Gour
On Sat, 28 Sep 2013 07:09:51 -0700 (PDT)
Anthony  wrote:

> Note, even if we update PyPI, download comparisons with web2py will
> likely still not be valid, unless we stop offering the easy zip
> download/install from web2py.com, as many people will still take that
> route. Also, many people upgrade web2py via the "admin" app once it
> is first installed, so upgrades wouldn't be counted by PyPI either
> (unless the admin upgrade mechanism did so from PyPI).

So, we can safely conclude that those download numbers do not speak much
about the popularitity of the two frameworks in question.


Sincerely,
Gour

p.s. It's not that I care much about the popularity (would e.g. use
Windows instead of Linux), but caring about web2py I have brought
that point to the light.

-- 
Those who are on this path are resolute in purpose, 
and their aim is one. O beloved child of the Kurus, 
the intelligence of those who are irresolute is many-branched.

http://www.atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


-- 
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 subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[web2py] Re: web2py vs flask

2013-09-28 Thread Gour
On Sat, 28 Sep 2013 04:26:40 -0700 (PDT)
LightDot  wrote:

> Web2py is downloaded primarily from it's web site, not PyPI. That
> explains the PyPI download statistics.

I see...still, it might be worthy to make web2py available via PyPy in
order to prevent such skewed statistics?


Sincerely,
Gour

-- 
The working senses are superior to dull matter; mind is higher 
than the senses; intelligence is still higher than the mind; 
and he [the soul] is even higher than the intelligence.

http://www.atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


-- 
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 subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[web2py] Re: status of web3py

2013-09-28 Thread Gour
On Sat, 28 Sep 2013 12:51:12 +0200
Marin Pranjić 
wrote:

> Web3py is still far away from being ready to use. There are even
> typos in import statements :)

Is there any (semi)official roadmap and/or feature list planned for it?


Sincerely,
Gour

-- 
As the ignorant perform their duties with attachment to results, 
the learned may similarly act, but without attachment, for the 
sake of leading people on the right path.

http://www.atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


-- 
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 subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[web2py] Re: web2py vs flask

2013-09-28 Thread Gour
On Sat, 28 Sep 2013 04:12:31 -0700 (PDT)
LightDot  wrote:

> Heh, everybody is registering hyped .io domains these days. Why do
> you think this one is relevant?

Well, I can't say how much it is relevant, but Github page says: "Next
Generation Python Packaging Index...Crate is a PyPI Mirror/Python
Package Index that was written to make it easy to discover packages,
evaluate them for usefulness, and then install them..."

> Also, saying "on IRC" is like saying "on the web". Which IRC channel
> did you ask this on and who answered? And why is he/she's answer
> authoritative in some way?

It's not important who did I ask and where 'cause the main topic of the
talk were templating engines, iow. Mako vs. Jinja2. Here the relevant
point is that ratio between web2py/Flask as presented by Crate has any
(practical) meaning?



Sincerely,
Gour

-- 
You have a right to perform your prescribed duty, but you
are not entitled to the fruits of action. Never consider 
yourself the cause of the results of your activities,
and never be attached to not doing your duty.

http://www.atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


-- 
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 subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[web2py] status of web3py

2013-09-28 Thread Gour
Today I watched presentation from EuroPython 2013 conference where
Massimo is answering that web3py is 'scheduled' for March.

Is it still valid and what is happening with web3py in general?


Sincerely,
Gour

-- 
The embodied soul may be restricted from sense enjoyment, 
though the taste for sense objects remains. But, ceasing 
such engagements by experiencing a higher taste, 
he is fixed in consciousness.

http://www.atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


-- 
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 subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[web2py] web2py vs flask

2013-09-28 Thread Gour
Hello,

today when I asked on IRC about whether to use Jinja2 or Mako templates for
some static site generator explaining that if we choose Django, than
Jinja2 is more similar and same with Mako & choosing web2py, I'm asked
'why web2py?' and was recommended to use Flask.

The reply why not web2py was "nobody uses it" and I was given the
following URLs:

a) https://crate.io/packages/web2py/#description

b) https://crate.io/packages/Flask/

with the explanation that there are ~2M downloads for Flask and only ~9k
for web2py.

Can someone compare it and/or explain why the last version for web2py
listed there is 2.1.1, while for Flask is the last stable one?


Sincerely,
Gour

-- 
For him who has conquered the mind, the mind is the best of 
friends; but for one who has failed to do so, his mind will 
remain the greatest enemy.

http://www.atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


-- 
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 subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[web2py] Re: from devel list

2013-09-27 Thread Gour
On Fri, 27 Sep 2013 17:53:57 +0200
Loïc ESPERN  wrote:

> Neither do I...

:-)

> However I'm open to ideas/contributions to improve it, step by step

Pls. give me some today to learn more about web development in general,
as well as about web2py to be able to give some worthy piece of advice.

For now I can only say that having features set similar to
Mezzanine/Cartridge and easy way to create custom content types
(http://mezzanine.jupo.org/docs/content-architecture.html#creating-custom-content-types)
is something I'd like to see.

Moreover, I like this one: "Seamless integration with third-party Django
apps" (mentioned here: http://mezzanine.jupo.org/docs/overview.html),
but I'm not 100% sure what is web2py's equivalent of 'django app'.


Sincerely,
Gour

-- 
There is no possibility of one's becoming a yogī, O Arjuna, 
if one eats too much or eats too little, sleeps too much 
or does not sleep enough.

http://www.atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


-- 
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 subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[web2py] Re: from devel list

2013-09-27 Thread Gour
On Fri, 27 Sep 2013 12:17:04 -0400
Richard Vézina
 wrote:

> I don't say re-invent the wheel. If you have a couple of clients, you
> will re-use app, so it get tested overtime. 

Why not contributing such codebase to the web2py community, so that
others can built on that.

> A basic html page is more then enough for greate number of small
> business because of lack of vision maybe or just because there core
> business doesn't required online tool.

That's true and I also plan to use some SSG (static site generator) for
such use cases, but, fortunately, there are plenty of them and they're
free. :-)

>  I setup many CMS for many organisation since 2000 and most of the
>  time the client where calling me to update stuff on the site even if
>  I give them a formation to show how easy it was to update or add more
>  content on their site. That why I say CMS is dead. It will never
>  really reach it objective for small business. 

There are tons of sites out built with WordPress, Joomla, Drupal,
Concre5, CMS Made Simple, SilverStripe, MODx...(not mentioning ones with
Ruby-powered CMS-es) and I simply do not believe that most of them are
updated by developers.

> CSM is good for mid to large organisation, but most of the time they
> will build their own solution with a framework today...

Here I also believe that most of such organization does not care what is
used to run their site as long as ot provides what they want, so it
depends on the agency/developer doing the work.

Here (https://www.django-cms.org/en/case-studies/mercedes-benz/) you can
see how the agency used e.g. Django-CMS to build the site for Mercedes
Benz. So, if it's good-enough for Mercedes Benz to have web site built
upon open-source Django framework and 'general' CMS, why not based on
web2py and appropriate CMS?

> So, I am not against creating a CMS, but what serve to create another
> pizza shop in town, there is already 3...

Maybe there is no pizza shop in the town suitable for vegetarians. ;)

> I think it is more pragmatic to combine technology that works, even
> if I where prefere to keep everything simple by doing everthing in
> web2py...

There is nice quote on web2py site: "Please use www.web2py.com when
using MVC , no PHP/SQL stuff please...its 2011 not 1999!"

It seems to be that, according to your logic, we should leave the users
with no option except using Windows OS and let all the devs use
Slackware/Gentoo or LFS. :-)

Fortunately, someone invented Ubuntu (btw, I use Debian Sid) and it was
not enough so some brave users went further and provided Linux Mint or
even PC-BSD. :-)

I'm encouraged by Massimo's "+1" and strongly believe that in order to
say thank you for his work of providing such a wonderful piece of
software for *free*, that web2py community should come together and
give something back in the form of general web2py-ppowered CMS easy
enough to be used stand-alone by end-users as well as flexible enough to
allow devs/agencies to build upon it custom solutions.

I know that if I'd be capable to do it, I wouldn't not think twice.

However, I'm at the beginning of python-based web development and will
probably have to start my modifying Mezzaning to build some sites, but I
won't forget idea of web2py CMS. ;)

> This is just my opinion and only my opinion...

In my case I'm glad I'm not alone with my opinion. :P


Sincerely,
Gour

-- 
Not by merely abstaining from work can one achieve freedom 
from reaction, nor by renunciation alone can one attain perfection.

http://www.atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


-- 
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 subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[web2py] Re: from devel list

2013-09-27 Thread Gour
On Fri, 27 Sep 2013 08:12:37 -0700 (PDT)
Loïc  wrote:

> Yes simple is the word :-)

:-)

> https://github.com/espern/tiny_website
> http://www.tinywebsite.net/

Nope, I didn't try it. It was created *after* I already pretty much gave
up idea to find appropriate web2py-based CMS, but your project looks
promising, although  Ican't say if it would be possible to enhance it up
to the level of something like Mezzanine.


Sincerely,
Gour

-- 
Never was there a time when I did not exist, 
nor you, nor all these kings; nor in the future 
shall any of us cease to be.

http://www.atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


-- 
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 subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[web2py] Re: from devel list

2013-09-27 Thread Gour
On Fri, 27 Sep 2013 06:32:28 -0700 (PDT)
Loïc  wrote:

> Personnally when I looked for a CMS build in web2py I didn't find
> anything generic and *simple *enough to build my customers websites.

Same here and that's why I'll explore Mezzanine for my needs.

> Then I decided to develop my own little CMS. (I think many other
> Web2py users are in the same case)

That's pity and waste of resources, imho, but everyone has its own free
will. :-)

> I released the sources, here, but it seems that only a few people are 
> interested in. (I received only one PR for a typo in a fixture file)

I do not recall if I tried it...maybe it was too simple. Which one it
was?

> So I think we have a lot of disorganized CMS apps, each used by a few
> of people, but (until now) nobody has accumulate enough contributors
> to compete with something like mezzanine.

You're right and I believe that *disorganized* is keyword here. :-(


Sincerely,
Gour

-- 
The working senses are superior to dull matter; mind is higher 
than the senses; intelligence is still higher than the mind; 
and he [the soul] is even higher than the intelligence.

http://www.atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


-- 
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 subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[web2py] Re: from devel list

2013-09-27 Thread Gour
On Fri, 27 Sep 2013 10:16:12 -0400
Richard Vézina
 wrote:

> CMS is dead!! 

I don't agree.

> Yes there is still need for it, but there is plenty of
> already mature and working solution out there. 

But not for web2py.

> With the frameworks
> you can make much better than any CMS will never be able to do by
> developping a specific app that address the exact needs of your
> cusomers. For sure it requires more skills, but you should master
> what you do anyway if you are serious. 

I do not believe it's wise to re-invent major part of the common tasks
for every client's app. It means that such apps will have very limited
userbase and therefore not much testing in the filed and therefore prone
to all kinds of problems.

> For a serious cusomer 5K is a basic check in the Web. For this price a
> good developper can build something really good for the specific needs
> of the client using Frameworks. The resulting app will be easy to
> evolve database centric according to the need of the client. 

If we put Mezzanine thorugh sloccount, we get the following:

Total Physical Source Lines of Code (SLOC)= 14,849
Development Effort Estimate, Person-Years (Person-Months) = 3.40 (40.78)
 (Basic COCOMO model, Person-Months = 2.4 * (KSLOC**1.05))
Schedule Estimate, Years (Months) = 0.85 (10.23)
 (Basic COCOMO model, Months = 2.5 * (person-months**0.38))
Estimated Average Number of Developers (Effort/Schedule)  = 3.99
Total Estimated Cost to Develop   = $ 459,117
 (average salary = $56,286/year, overhead = 2.40).


so your estimated 5k budget won't accomplish much. :-)

> For others that only one page on the web there is CMS (WP, Joomla,
> etc.). But I think that trying to build a custom site with CMS as many
> are doing with plugins is a waste of time and money and only lead to a
> poorly secure web site. I had issue with WordPress and plugins in the
> pass and there is no way to know if a plugins is safe or not even if
> it is largely used.

Let's don't mix apples and oranges. Here I'm mostly thinking about
Python-based frameworks, iow. Django vs. web2py. ;)

> I am not saying that creating a good web2py CMS is not useful, but
> maybe just use WP or Joomla with a custom app for client specific
> need in symbiosis is more money wise?? So you have best of both
> world...

Complete-stack frameworks like Django, Pyramid...have CMS projects and
even microframework like Flask has it, but it looks as web2py are
special not having one nor considering it needed, so no wonder it
occupies only specific niche.


Sincerely,
Gour

-- 
Before giving up this present body, if one is able to tolerate 
the urges of the material senses and check the force of desire and 
anger, he is well situated and is happy in this world.

http://www.atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


-- 
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 subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[web2py] Re: from devel list

2013-09-26 Thread Gour
On Thu, 26 Sep 2013 14:40:54 -0700 (PDT)
Cliff Kachinske  wrote:

Hi Cliff,

> Gour,
> 
> Do you mean something like Drupal?

No, I mean Mezzanine (http://mezzanine.jupo.org/ &
http://cartridge.jupo.org/) based on Django framework which was created
and developed by a single guy.

THe project is, according to Bitbucket created on 2010-06-08 and it has,
according to github ~3k commits, 139 contributors, a337 stargazers,
impressive set of features and decent list of sites built with it
(http://mezzanine.jupo.org/sites/)

I know about the argument that Django is older and/or more mature than
web2py, but, according to the web2py site, the project had version 1.0
in 2007, and in comparison with Mezzanine, I believe it's old enough to
get some decent CMS enabling people to choose it as preferred platform
(instead of using WP, Joomla, Drupal...) for building *geneneral* web
sites which can be easily customized/tailored according to the client's
needs.

Mezzanine also has fair number of 3rd party add-ons
(https://github.com/stephenmcd/mezzanine) filling the potential gaps of
the core app.

Sometimes within the Django community it was heard that there are no
'general' CMS solutions 'cause it is too easy to build one from the
scratch.

Fortunately, such concept is not prevailing any longer and there are
several apps available: https://www.djangopackages.com/grids/g/cms/

If there is no value in abstracting some common features and make it
'general' CMS, then one can reason that there is no value to abstract
some tasks and make them into full-featured framework.

Shortly, my point is that at the moment web2py is filling specific niche
of being mostly used in intranet and/or smaller apps, but by having
general CMS/ecommerce app ala Mezzanine/Cartridge, the usage of the
framework could exponentially increase considering other 'pros' of the
framework.


Sincerely,
Gour

-- 
Thus the wise living entity's pure consciousness becomes covered by 
his eternal enemy in the form of lust, which is never satisfied and 
which burns like fire.

http://www.atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


-- 
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 subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[web2py] from devel list (was Re: [web2py-dev] Here they come...)

2013-09-26 Thread Gour
On Tue, 24 Sep 2013 07:39:40 -0500
Massimo DiPierro
 wrote:

> I posted a comment. It is a good sign that they are worried. They
> should be. ;-)  

Not to clutter dev list, I'm replying here on the comment which was
posted recently on Quora...

(http://www.quora.com/Wei-Wei-1/Posts/10-reasons-not-to-use-web2py)

At the moment I am working on the Real Python for the Web course which
covers from the very basic stuff over Flask to full-featured frameworks
like web2py & Django.

Moreover, I agree with all the advantages of web2py over Django
mentioned in the comments, but, imho, if web2py wants to get *much* more
popular then it needs something like Mezzanine/Cartridge which allows
new category of users to build web site(s) quickly with most of the
required features shipping out of the box...yes, I'm the one not wanting
to roll yet another CMS. ;)


Sincerely,
Gour


-- 
He is a perfect yogī who, by comparison to his own self, 
sees the true equality of all beings, in both their 
happiness and their distress, O Arjuna!

http://www.atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


-- 
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 subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[web2py] Re: A Web2py CMS like Joomla ?

2012-07-31 Thread Gour
On Tue, 31 Jul 2012 06:06:00 -0700 (PDT)
Massimo Di Pierro
 wrote:

> Django has been in existence 5 years or more before web2py.

Heh, that's much better explanation than saying it does not make
sense. :-)


Sincerely,
Gour

-- 
Whatever action a great man performs, common men follow. And 
whatever standards he sets by exemplary acts, all the world pursues.

http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


signature.asc
Description: PGP signature


[web2py] Re: A Web2py CMS like Joomla ?

2012-07-31 Thread Gour
On Tue, 31 Jul 2012 12:26:02 +0400
Nikolay Marusov 
wrote:

> I'm glad to read such valued opinions here. Now I've got the
> perception that web2py CMS as thing-in-itself doesn't make any
> practical sense. 

Hmm...any explanation why Django has several decent CMS-es being,
practically, in the same league of frameworks as Web2py?


Sincerely,
Gour

-- 
He is a perfect yogī who, by comparison to his own self, 
sees the true equality of all beings, in both their 
happiness and their distress, O Arjuna!

http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


signature.asc
Description: PGP signature


[web2py] Re: Django vs. Web2py

2012-07-30 Thread Gour
On Mon, 30 Jul 2012 10:56:21 -0700 (PDT)
Anthony  wrote:

> Perhaps when developers need a CMS, they tend to go with one of the
> big, popular, well-refined ones, like Joomla, Drupal, WordPress, etc.

> Frameworks like web2py may be seen as more useful for custom
> applications that cannot be implemented via a standard CMS -- there
> may be little motivation to reinvent the CMS wheel with web2py when
> there are already so many CMS'es out there. 

Well, I was thinking that it's logical and easier to implement specific custom
applications in the same framework in which there is e.g. bigger part of
the site, than combining and gluing together stuff from several
frameworks or even using different languages.

> This is not unique to web2py -- I don't think the other Python
> frameworks have well developed CMS'es either (except Plone, based on
> Zope). 

Plone is bloated and it wants lot of hardware...

> Django and Rails each have a couple CMS'es, but even they pale in
> comparison to the various PHP-based CMS'es when it comes to popularity
> and ecosystem. 

Don't know about RoR, but there are several decent CMS-es written and
Django and having only one such in web2py, would be good-enough for us.

Sure, PHP CMS are really polished, but we want to contribute to the
'movement' of leaving pHP for web development. :-)

> That doesn't mean we can't or shouldn't have at least a basic
> web2py-based CMS, but it may be unrealistic to expect something as
> comprehensive and polished as Joomla any time soon (even Django and
> Rails don't really have that). Developing and maintaining a CMS like
> that is probably as much work as developing and maintaining the
> framework itself (maybe more), so it's not likely to arise as a mere
> side project of a few community members -- it needs its own full,
> dedicated developer core and active community.

Thank you very much for your input...it would be better if I would ask
this question a little bit earlier. :-)

In one sense, I'm a little sad for leaving web2py, but should not be
attached 'cause one has to use right tool for the job.

All the best to web2py project!


Sincerely,
Gour


-- 
A person who has given up all desires for sense gratification, 
who lives free from desires, who has given up all sense of 
proprietorship and is devoid of false ego — he alone can 
attain real peace.

http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


signature.asc
Description: PGP signature


[web2py] Re: Django vs. Web2py

2012-07-30 Thread Gour
On Mon, 30 Jul 2012 21:45:15 +1000
Alec Taylor 
wrote:

> If I wasn't working on a separate sizable web2py project (a
> social-network) then I'd build this (a CMS) with specifications
> similar to Mezzanine.

Nice to hear.

> But hold on a month or two, and you'll see fairly similar features in
> my social-network + more.

Well, I'm afraid that it will be another one-man project without much
community around it.

I'll try & play with Mezzanine to get a feel for it, but I might
reconsider web2py at a later point in time.


Still, I'm interested why there are not more CMS/blog apps written in
web2py...maybe that is niche market for this framework...


Sincerely,
Gour

-- 
From wherever the mind wanders due to its flickering and unsteady 
nature, one must certainly withdraw it and bring it back under 
the control of the self.

http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


signature.asc
Description: PGP signature


[web2py] Django vs. Web2py (was Re: A Web2py CMS like Joomla ?)

2012-07-30 Thread Gour
On Fri, 25 May 2012 19:47:56 +1000
Alec Taylor 
wrote:

> I still think Mezzanine with plugins would be the best style CMS to
> build with web2pyq

We're probably leaving web2py and will try to embrace Django &
Mezzanine, but having high estimation about web2py as framework and
being sorry for not having applications like Mezzanine ready for new
users wanting decent CMS/blog functionality, I wonder what is the
problem?

There are lot of users here and this group has generated lot of messages
(my archive shows >90K which is much more than most of the mailing list
which I follow), but I'm curious what is the reason that web2py does not
have some/more CMS/blog apps?

Do all the users write their own (possibly commercial) CMS/blog stuff
(from the scratch) and/or web2py is simply not meant for writing such
apps...or the reason is that it's too young framework and not enough
users?


We did mistake trying to focus our desktop project on D language (now
moved to wxpython) which is simply 'not there yet' and do not want to
commit similar mistake with our choice of the framework, so we'd
appreciate any insight on the topic?



Sincerely,
Gour


-- 
As fire is covered by smoke, as a mirror is covered by dust, 
or as the embryo is covered by the womb, the living entity is 
similarly covered by different degrees of this lust.

http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


signature.asc
Description: PGP signature


[web2py] Re: A Web2py CMS like Joomla ?

2012-07-20 Thread Gour
On Fri, 20 Jul 2012 10:32:21 -0300
Martín Mulone 
wrote:

> Yes I was a bit disappear cause personal problems, I know there are
> some bugs reported, I'm a little busy at the moment but I have in
> mind to make changes to instant press. 

I'm sorry hearing about your problems hoping you will resolve it.

> As bruno said I didn't get any contribution from the project, but is
> open source feel free to merge /fork or whatever.

I'm aware there were no contribution to InstantPress which is a pity
considering it looks very nice and it might become nice CMS/blog
platform in the web2py's ecosystem...


Sincerely,
Gour

-- 
He who is satisfied with gain which comes of its own accord, who 
is free from duality and does not envy, who is steady in both 
success and failure, is never entangled, although performing actions.

http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


signature.asc
Description: PGP signature


[web2py] Re: A Web2py CMS like Joomla ?

2012-07-20 Thread Gour
On Fri, 20 Jul 2012 08:07:50 -0700 (PDT)
Anthony  wrote:

> I guess that's the problem. You want others to contribute and
> generate some traction before getting involved yourself. That's
> perfectly reasonable, but of course, if everyone feels that way,
> nothing will happen.

Well, I'm noob and not capable to contribute in a significant way to
mold a project into robust/decent app, but I hope/beleive there are
other more advanced users who would like to have good CMS powered by
web2py and/or are capable to contibute.


Web2py is not so young project, so it's reasonable that 'oldtimers' are
providing some infrastructure (besides framework itself) on which new
users/devs can jump on.


Sincerely,
Gour


-- 
While contemplating the objects of the senses, a person 
develops attachment for them, and from such attachment lust 
develops, and from lust anger arises.

http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


signature.asc
Description: PGP signature


[web2py] Re: A Web2py CMS like Joomla ?

2012-07-20 Thread Gour
On Thu, 19 Jul 2012 18:03:19 -0300
Bruno Rocha  wrote:

> > IMHO the real question is *what is the cause of plugins little
> > usage?*

> The misunderstanding of plugin system, to be honest I think the web2py
> plugin system is not good.

Can you shed some more light on it, please?

> Now with modules, we can have a better base for plugin development.

Excuse me for my ignorance, but what does it mean 'now with modules'?
How 'new' are the modules in web2py?


Sincerely,
Gour 


-- 
The intricacies of action are very hard to understand. 
Therefore one should know properly what action is, 
what forbidden action is, and what inaction is.

http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


signature.asc
Description: PGP signature


[web2py] Re: A Web2py CMS like Joomla ?

2012-07-20 Thread Gour
On Thu, 19 Jul 2012 13:06:09 -0300
Bruno Rocha  wrote:

> Sorry community, but we do not have to expect a ready-to-use solution
> if nobody contributes with running code! Both projects are open
> source in github or bitbicket. get the source, propose patches, send
> pull requests. 

I understand the point, but as user of PHP CMS-es wanting to leave PHP
and embrace web2py, I simply do not feet secure investing in the project
with bus-factor of 1...seeing that community is a bit behind 'em woudl
be great.

> Lets put our forces together and may be build the
> next-great-web2py-thing! it have not to be called Movuca, aldo it has
> not to be called Instant Press, but I think community should take
> these two projects as example and may be merge/fork/contribute.

That would be great and hopefully there would be place to noob to
contribute with some add-ons, themes etc.


Sincerely,
Gour

-- 
The humble sages, by virtue of true knowledge, see with equal 
vision a learned and gentle brāhmana, a cow, an elephant, a dog 
and a dog-eater.

http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


signature.asc
Description: PGP signature


[web2py] Re: A Web2py CMS like Joomla ?

2012-07-17 Thread Gour
On Wed, 13 Jun 2012 02:23:35 -0700 (PDT)
Andrew  wrote:

> I have started doing some trials with both instantpress and movuca,
> and I would have to say that it is not a question of which is better,
> each has a different focus and I've enjoyed using both (I'm still
> learning and still have heaps of questions though). 

I've decided to use (wx)python instead of D for our multi-platform
project, so being already in Python-world it really makes sense to
forget about PHP and use Python framework.

Here we prefer full-stack one and between Django an Web2py, the latter
wins in all the aspects except the number of ready apps...and here we
think about blog/CMS ones.

In Django there is Django-CMS, FeinCMS, Mezzanine...(there are
more, but just picked 1st three from the below mentioned URL)... having
blog engines and/or ecommerce packages nicely integrating with them.

There is another aspect of the game: Django-CMS has (according to
http://www.djangopackages.com/grids/g/cms/) 1654 repo watchers and 525
repo forks, FeinCMS (384/110) and Mezzanine (662/176).

All of them are actively developed, there are submitted tickets which
are commented by the devs and we can say there are communities
developed around the projects.

Otoh, situation with the two web2py CMS-es (there is also w2cms but not
with much activity) is the following:

1) InstantPress: 18 followers, 0 forks, last commit >5 months ago, 5
(new) issues and not a *single* comment from the developer

2) Movuca CMS: 80 watchers, 14 forks, active development,  9 issues and
*every* issue is commented by the main developer.

I cannot judge the quality of the code itself, but it is pretty obvious
which project build community around it.

It's clear that web2py is simply too young and/or small to compare in
numbers of apps within the Django community, but I'm sure  it would be
possible to focus on one CMS platform which is (more) focused on
end-users (as it was already expressed in this thread) and make it
actively developed, maintained & sufficient flexible in order that all
sites developed by it would not look as WP with Kubrick theme.

Is there any interest for it?

Personally, InstantPress looks more appealing to me as 'general'
CMS/blog app in comparison with Movuca which seems to be more focused
towards social networking, but I simply do not feel confident to invest
time in learning the former.

It could be that there is simply no interest within web2py community
to build such thing, but the list referenced in wikipedia article
( http://en.wikipedia.org/wiki/Web2py):


Applications built on Web2py

Movuca CMS and Social Network Engine.
Instant Press Blog platform.
Ourway Social networking site.
NoobMusic A rock music website.
LinkFindr Network diagnostic tool.
StarMaker Develops karaoke-style social music apps.



is, imho, too short for such fine quality web framework.


Sincerely,
Gour


-- 
As the ignorant perform their duties with attachment to results, 
the learned may similarly act, but without attachment, for the 
sake of leading people on the right path.

http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


signature.asc
Description: PGP signature


[web2py] Re: A Web2py CMS like Joomla ?

2012-06-13 Thread Gour
On Tue, 12 Jun 2012 14:21:36 -0700 (PDT)
"Arthur P."  wrote:

> Having installed my first CMS using Joomla, my albums using Gallery2,
> and having more recently used Drupal, I think most if not all Python
> based CMS's are still very much "programmer's products", have not yet
> reached the plug and play level of Joomla. Web2Py as framework
> certainly seems the easiest to install and to get something up and
> running with, but I have the feeling I will have to do a bit more
> reading than with Joomla...

I agree that Web2py is still very much "programmer's product" and
that's why I still stay with Concrete5 (PHP).

Otoh, there are several mature Django-based  CMS-es (Django-CMS,
Mezzanine, FeinCMS...) which are approaching PHP ones in terms of ease
of use for end user, add-ons etc.

However, we still hope that some robust web2py-based CMS will evolve in
due course of time not requiring to write most of the stuff from the
scratch.


Sincerely,
Gour

-- 
Never was there a time when I did not exist, 
nor you, nor all these kings; nor in the future 
shall any of us cease to be.

http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


signature.asc
Description: PGP signature


[web2py] Re: A Web2py CMS like Joomla ?

2012-05-25 Thread Gour
On Fri, 25 May 2012 19:47:56 +1000
Alec Taylor 
wrote:

> I still think Mezzanine with plugins would be the best style CMS to
> build with web2pyq

I agree...CMS+blog+shopping cart (ecommerce)...all in one. 


Sincerely,
Gour

-- 
A person is considered still further advanced when he regards honest 
well-wishers, affectionate benefactors, the neutral, mediators, the
envious, friends and enemies, the pious and the sinners all with an
equal mind.

http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


signature.asc
Description: PGP signature


[web2py] HTSQL & web2py

2012-05-20 Thread Gour
Hello,

some time ago we were considering to use HTSQL (http://htsql.org/) in
our project to make it easier for end-users to perform complex queries
on their database easily, but the barrier was HTSQL's licensing.

Now we see that they did change a license and noticed: "...We provide
meta-data adapters for Django and SQLAlchemy."
(http://htsql.org/doc/overview.html), so the question arises what do you
think about having adapter for web2py?


Sincerely,
Gour


-- 
The intricacies of action are very hard to understand. 
Therefore one should know properly what action is, 
what forbidden action is, and what inaction is.

http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


signature.asc
Description: PGP signature


[web2py] Re: nginx uwsgi error 502 bad gate way

2012-05-20 Thread Gour
On Sun, 20 May 2012 05:38:35 -0700 (PDT)
Deidre  wrote:

> Can I just say thank you to Gour for his suggestion of setting up a
> virtual machine and then the same linux as on my VPS. 

I'm glad it was helpful to you. :-)

> This approach had not occurred to me, but is such a good solution to
> allowing me to experiment.

Well, it is always easier to troubleshoot when the environment is (more)
under our control. ;)


Sincerely,
Gour


-- 
For him who has conquered the mind, the mind is the best of 
friends; but for one who has failed to do so, his mind will 
remain the greatest enemy.

http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


signature.asc
Description: PGP signature


[web2py] Re: nginx uwsgi error 502 bad gate way

2012-05-19 Thread Gour
On Fri, 18 May 2012 14:53:40 -0700 (PDT)
Lewis  wrote:

> Well, I revised my init.d script to work.
> 
> Config files do not work at all in any way, shape or form.  Just
> broken utterly.

> It turns out even loading simple startup variables to the init script
> does not work.  Period.

[...]

> So, I have wasted 20 hours attempting to debug config files that are
> inherently unusable.

Based on my experience I can say that Cherokee works with uWSGI and I
believe it won't be a problem to make it work with lighttpd, although I
do not have personal experience with nginx.

Moreover, I also did manage to make uWSGI work with --http option.

So, my well-wished suggestion is to start from the simple setup on your
localhost (desktop/netbook/whatever) machine using Linux under VM (e.g.
virtuablbox) if your desktop is non-Linux and make it work there. Then,
knowing what's going on, you can proceed towards your Linode VPS.


Sincerely,
Gour

-- 
A person is said to be established in self-realization and is called a
yogī [or mystic] when he is fully satisfied by virtue of acquired
knowledge and realization. Such a person is situated in transcendence
and is self-controlled. He sees everything — whether it be pebbles,
stones or gold — as the same.

http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


signature.asc
Description: PGP signature


[web2py] Re: nginx uwsgi error 502 bad gate way

2012-05-16 Thread Gour
On Thu, 17 May 2012 07:27:53 +0200
"Roberto De Ioris"  wrote:

> In my mind, less than 20 concurrent connections :)

Good. I'm in. ;)

> For others it is often a matter of money, if i get 10$ for
> configuring a webserver would you prefer to setup
> lighttpd/nginx/apache/cherokee/mongrel2 + uwsgi/gunicorn/mod_wsgi
> 
> or simply do:
> 
> uwsgi --https :443,cert.pem,cert.key --wsgi-file web2py/wsgihandler.py
> --master --processes 4

Fair enough.

> obviously if you start needing features, like client certificate
> management, ssl caching and so on, the uWSGI https implementation is
> no more than a toy.

Probably good-enough for our anticipated setup.


Sincerely,
Gour

-- 
Never was there a time when I did not exist, 
nor you, nor all these kings; nor in the future 
shall any of us cease to be.

http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


signature.asc
Description: PGP signature


[web2py] Re: nginx uwsgi error 502 bad gate way

2012-05-16 Thread Gour
On Thu, 17 May 2012 06:22:20 +0200
"Roberto De Ioris"  wrote:

> If you are able to follow it, then adding a webserver should be a
> pretty easy task (and yesterday, uWSGI got https support so you do
> not even need a full webserver for simple deployments)

What is considered 'simple deployment'?

At the moment we use lighttpd for a few small-medium PHP-based sites
which we plan to migrate (with a time) to web2py-based CMS. 

Does this scenario count in?


Sincerely,
Gour

-- 
As the ignorant perform their duties with attachment to results, 
the learned may similarly act, but without attachment, for the 
sake of leading people on the right path.

http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


signature.asc
Description: PGP signature


[web2py] Re: CMS question

2012-05-16 Thread Gour
On Thu, 3 May 2012 21:11:20 -0700 (PDT)
Massimo Di Pierro
 wrote:

> This is what I have so far.

Here is a nice feature list for potential web2py-based CMS:

Hierarchical page navigation
Save as draft and preview on site
Scheduled publishing
Drag-n-drop page ordering
WYSIWYG editing
In-line page editing
Drag-n-drop HTML5 forms builder with CSV export
Custom templates per page or blog post
Twitter Bootstrap integration
API for custom content types
SEO friendly URLs and meta data
Search engine and API
Configurable dashboard widgets
Multi-device detection and template handling
Shopping cart module (Cartridge)
Blogging engine
Tagging
One step migration from other blogging engines
Disqus integration or built-in threaded comments
Gravatar integration
Google Analytics integration
Twitter feed integration
bit.ly integration
Akismet spam filtering
Sharing via Facebook or Twitter
Built-in test suite
User accounts with email verification

It's from Django-based Mezzanine (http://mezzanine.jupo.org/) CMS.


Sincerely,
Gour

-- 
Therefore, without being attached to the fruits of activities, 
one should act as a matter of duty, for by working without 
attachment one attains the Supreme.

http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


signature.asc
Description: PGP signature


[web2py] Re: quotes & invoices app

2012-05-16 Thread Gour
On Wed, 16 May 2012 05:32:06 -0700 (PDT)
Alan Etkin  wrote:

> Check out this projects:
> 
> *GestionLibre* <http://code.google.com/p/gestionlibre/>
> *FacturaLibre*<http://code.google.com/p/pyafipws/source/checkout?repo=gui2py-app>

Thank you...Let me check it out...


Sincerely,
Gour


-- 
Before giving up this present body, if one is able to tolerate 
the urges of the material senses and check the force of desire and 
anger, he is well situated and is happy in this world.

http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


signature.asc
Description: PGP signature


[web2py] Re: web2py uWSGI cherokee -- I give up

2012-05-16 Thread Gour
On Tue, 15 May 2012 23:13:33 -0700 (PDT)
Lewis  wrote:

> I hadn't realized Cherokee had been abandoned.  

Who told you that?

The main developer is busy with a new job and slowly working on a new
version which should support SPDY protocol.


Sincerely,
Gour

-- 
Never was there a time when I did not exist, 
nor you, nor all these kings; nor in the future 
shall any of us cease to be.

http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


signature.asc
Description: PGP signature


[web2py] quotes & invoices app

2012-05-15 Thread Gour
Hello!

Is there some web2py appliance to create quotes & invoices, handling
customers etc. suitable for freelancers, iow. no corporate environment?

I'm aware about CRM, but didn't found anything for invoices...


Sincerely,
Gour

-- 
The working senses are superior to dull matter; mind is higher 
than the senses; intelligence is still higher than the mind; 
and he [the soul] is even higher than the intelligence.

http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


signature.asc
Description: PGP signature


[web2py] Re: Another misinformed article about web2py

2012-05-06 Thread Gour
On Sun, 6 May 2012 15:42:14 -0700 (PDT)
Massimo Di Pierro
 wrote:

> Yes this is a source of criticism mostly for people who do not
> understand why we do it (to enable hot install and uninstall of apps
> without conflicts). It is better than what other frameworks do
> (reload module when they change and that can cause memory leaks and
> other problems) and yet do not achieve the clean multi-app support
> that web2py has.

That's the point...Why making web2py look like 'other frameworks?

> Still working on it anyway. Any feedback is appreciated.

It seems that web2py is gathering new followers despite of such
'criticism' and it's good to have choices...there are plenty of 'em, so.
pls. stay with you design concepts...including built-in editor. ;)


Sincerely,
Gour

-- 
A person who is not disturbed by the incessant flow of 
desires — that enter like rivers into the ocean, which is 
ever being filled but is always still — can alone achieve 
peace, and not the man who strives to satisfy such desires.

http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


signature.asc
Description: PGP signature


[web2py] Re: Another misinformed article about web2py

2012-05-06 Thread Gour
On Sun, 6 May 2012 08:11:07 -0700 (PDT)
Massimo Di Pierro
 wrote:

> http://me.veekun.com/blog/2012/05/05/python-faq-webdev/

The post which says "Allegedly...so don’t use it if you care..." 
spekas for itself.

I just wonder why writing about things one does not have a clue.


Sincerely,
Gour

-- 
The intricacies of action are very hard to understand. 
Therefore one should know properly what action is, 
what forbidden action is, and what inaction is.

http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


signature.asc
Description: PGP signature


[web2py] Re: An insult to web2py ?

2012-05-04 Thread Gour
On Fri, 4 May 2012 16:18:02 -0300
Mariano Reingart 
wrote:

Hello Mariano,

> Also, please note that the relational model (and so the DAL) has a
> "mathematical" formal theory behind (relational algebra and database
> normalization) with a industry standard query language (ANSI SQL,
> worldwide recognized as ISO/IEC 9075-1:2012):

Thank you very much for your post expressing the same ideas I was
considering to post, but you did it much better than I'd able to do. 

It shows that it's not (always) wise to just follow whatever buzzword
the industry spits out in the attempt to bring sheeps to their flock.


Sincerely,
Gour


-- 
The humble sages, by virtue of true knowledge, see with equal 
vision a learned and gentle brāhmana, a cow, an elephant, a dog 
and a dog-eater.

http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


signature.asc
Description: PGP signature


[web2py] Re: CMS question

2012-05-02 Thread Gour
On Wed, 2 May 2012 15:03:36 -0700 (PDT)
Massimo Di Pierro
 wrote:

> There is theme folder. you can simply put it in there.

Tis is very nice...simplicity rox. ;)

> This is where I am stuck. I am leaning towards using something like 
> @{widget.name} to embed stuff in page. 

This also looks simple & powerful.

> You would than use web2y plugins to extend the list of @{widget.*}
> supported. The widget could have its own models/views/controllers.

Very smart to take advantage of every bit of web2py instead of providing
another layer on top of it.


Sincerely,
Gour (curios to see released version soon)


-- 
The senses, the mind and the intelligence are the sitting places 
of this lust. Through them lust covers the real knowledge of the 
living entity and bewilders him.


signature.asc
Description: PGP signature


[web2py] Re: CMS question

2012-05-02 Thread Gour
On Tue, 1 May 2012 13:35:28 -0700 (PDT)
Massimo Di Pierro
 wrote:

> This is what I have so far... 

Thank you very much for working on it.

> - can clone any existing web site (copies, html, css, js, images and
> fixes all links)

What about creating from the scratch?

> What else would you like to see in a CMS?

I'm also curious how do you envision one would create custom content
type blocks, or let's say, in general, different kind of add-ons like
(themes, blog engine, news add-on etc.) ?


Iow, we would like to have 'standard' way to create custom content
types, themes, 'plugins' which add functionality...all based on
well-known web2py concepts.


Sincerely,
Gour


-- 
Even if you are considered to be the most sinful of all sinners, 
when you are situated in the boat of transcendental knowledge 
you will be able to cross over the ocean of miseries.

http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


signature.asc
Description: PGP signature


[web2py] Re: Time to move from Google Groups to a web2py or python??

2012-05-01 Thread Gour
On Tue, 1 May 2012 12:06:03 -0700 (PDT)
"Julio F. Schwarzbeck" 
wrote:

> Not really suggesting anything in particular, just another tool and
> "proof" that we can eat our own dog food, simple as that.

OK.

I'm just concerned to be left without my preferred medium for posting.

> Now ability to "post" from within a newsreader/nntp that is an
> interesting thought..

Check: http://forum.dlang.org/ which uses forum software (written in D)
which is connected to D-related newsgroups so both web/mailing_list/news
users can have their own way. ;)


Sincerely,
Gour

-- 
Those who are on this path are resolute in purpose, 
and their aim is one. O beloved child of the Kurus, 
the intelligence of those who are irresolute is many-branched.

http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


signature.asc
Description: PGP signature


[web2py] Re: Time to move from Google Groups to a web2py or python??

2012-05-01 Thread Gour
On Tue, 1 May 2012 10:42:03 -0700 (PDT)
"Julio F. Schwarzbeck" 
wrote:

> http://www.qa-stack.com/ 100% web2py, 100% open source.

It says "Welcome to QA-Stack.com - QA-Stack is a Q&A open source web
application..." so I wonder whether you suggest to move from mailing
list which is e.g. available as nntp group via Gmane and to which I can
post (just doing it) using my preferred mailer to web forum?


Sincerely,
Gour

-- 
As a lamp in a windless place does not waver, so the transcendentalist, 
whose mind is controlled, remains always steady in his meditation on
the transcendent self.

http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


signature.asc
Description: PGP signature


[web2py] Re: Time to move from Google Groups to a web2py or python??

2012-04-24 Thread Gour
On Tue, 24 Apr 2012 12:58:27 -0700 (PDT)
Yarin  wrote:

> Every time I have a web2py question I'm forced to weigh the benefits
> of posting on SO, where I know I'll get an answer within 10 minutes,
> vs posting in this forum where I'll wait a few hours to get an answer
> from Massimo/Anthony. 

If you're in hurry and cannot wait few hours, why not #web2py?


Sincerely,
Gour

-- 
While contemplating the objects of the senses, a person 
develops attachment for them, and from such attachment lust 
develops, and from lust anger arises.

http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


signature.asc
Description: PGP signature


[web2py] Re: Little little Document Management System with flatbed scanners

2012-04-24 Thread Gour
On Mon, 23 Apr 2012 23:43:14 -0700 (PDT)
szimszon  wrote:

> Now it is in github :) Sorry I had to move to a smaller virtual
> server but now you can try :)

I'll definitely try it.

> Nowadays I have little time to work on it but I'm open to receive
> pull requests :)

I did abandon idea to use Java-based solutions and, so far, like Mayan
EDMS written in Django (http://rosarior.github.com/mayan/), but having
one in web2py would be even more cool. ;)

Too bad, you're not occupied with it since DMS is nice opportunity for
a serious application testing the capabilities of the framework, but
maybe someone will jump in.


Sincerely,
Gour

-- 
Before giving up this present body, if one is able to tolerate 
the urges of the material senses and check the force of desire and 
anger, he is well situated and is happy in this world.

http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


signature.asc
Description: PGP signature


[web2py] Re: CMS question

2012-04-23 Thread Gour
On Mon, 23 Apr 2012 11:29:25 -0700 (PDT)
Ross Peoples 
wrote:

> The question is, do we really want to go in this direction for a CMS?
> The content is basically imprisoned in hard-coded HTML, making theme
> changes difficult at best. I could see making static HTML pages for
> sites with this (i.e. like Dreamwaver), but for a CMS, I'm not sure.

I agree and would prefer more top-down approach which is the way web2py
is created (according to the docs).

The point is, as I wrote in another post, that it's easy for designer to
quickly convert HTML/CSS/JS design into native theme.


Sincerely,
Gour

-- 
Bewildered by the modes of material nature, the ignorant fully 
engage themselves in material activities and become attached. But 
the wise should not unsettle them, although these duties are inferior 
due to the performers' lack of knowledge.

http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


-- 
One who is able to withdraw his senses from sense objects, 
as the tortoise draws its limbs within the shell, 
is firmly fixed in perfect consciousness.

http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


signature.asc
Description: PGP signature


[web2py] Re: CMS question

2012-04-23 Thread Gour
On Mon, 23 Apr 2012 14:19:24 -0700 (PDT)
howesc  wrote:

> what i have seen in the CMS world is all this hoopla about
> themesin practice once the site is setup for a customer they
> *rarely* if ever swap to a new theme - they tend to tweak what they
> have.   

Well, my experience is that companies (even big ones) do kind of
face-lifting from time to time to 'refresh' their web sites, so it's
important to do it if the new theme supports the same layout as the old
one.

> so based on my experience i'd like to select a base theme,
> then be able to edit my pages - probably in up to 4 parts: header,
> footer, sidebar(s), content.  

I'd like to be able to create as many parts are required and then
put content-type blocks in those areas freely.


Sincerely,
Gour


-- 
Whatever action a great man performs, common men follow. And 
whatever standards he sets by exemplary acts, all the world pursues.

http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


signature.asc
Description: PGP signature


[web2py] Re: CMS question

2012-04-23 Thread Gour
On Mon, 23 Apr 2012 06:39:56 -0700 (PDT)
Massimo Di Pierro
 wrote:

> For personal use I prefer the latter option. I make my own themes and
> stick to them. Yet as a CMS for others the latter option cannot win
> because we would never have enough themes to compete with others.

I'd like to add one point in regards...it's not neccessary to have
'enough themes to compete with others', but it may be sufficient that
it's easy-enough to convert themes to web2py-CMS considering that themes
are anyway mostly created as HTML/CSS/JS template.

In case of e.g. Concrete5, it's very easy to adapt such HTML/CSS/JS
design to the native theme, while in the case of WP it is not so.



Sincerely,
Gour


-- 
Just try to learn the truth by approaching a spiritual master. 
Inquire from him submissively and render service unto him. 
The self-realized souls can impart knowledge unto you because 
they have seen the truth.

http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810


signature.asc
Description: PGP signature


  1   2   3   >