[web2py] Re: how to use pycurl in web2py?

2012-07-31 Thread Niphlod
never had problems with pycurl installation (normal pip install) but there are a lot of alternatives that are valid (this 2 or 3 year ago wasn't true, pycurl was the only really advanced implementation of an http client) and in plain python. have you looked at requests (http://docs.python-reque

Re: [web2py] Re: how to achieve public/private key authentication for web service in web2py?

2012-07-31 Thread Amit
Hi Michele, Still I am not able to achieve X509 authentication, I am able to generate following files using CA menu: cacert.key (CA private key) CA certificate request (cacsr.pem) CA self signed certificate(cacrt.pem) there is one more menu called Public which is having options "Get CA certificat

[web2py] free ssl alternative encryption

2012-07-31 Thread Robin Manoli
Hey, I'm looking for an alternative way to encrypt data, a free way rather than to pay for an ssl certificate. The case is as follows: there are two servers, one local on the office which contains a database, and another public web server which needs to synchronize data with the local server. U

Re: [web2py] Re: A Web2py CMS like Joomla ?

2012-07-31 Thread Nikolay Marusov
Dear friends, 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. Web2py is much more powerful and flexible tool than PHP-CMS's. I see web2py CMS as an "ecosystem" of loosely coupled components sharing some par

[web2py] Re: free ssl alternative encryption

2012-07-31 Thread newnomad
> > try http://www.cacert.org/ --

Re: [web2py] free ssl alternative encryption

2012-07-31 Thread José Luis Redrejo Rodríguez
mmm, you can use ssl without using a public certificate, if it's your certificate I think you can trust it. Secondly, you can use a valid and certified free ssl certificate, take a look at http://www.startssl.com/ Regards. 2012/7/31 Robin Manoli : > Hey, > I'm looking for an alternative way to e

Re: [web2py] Re: how to achieve public/private key authentication for web service in web2py?

2012-07-31 Thread Amit
Problem facing to generate client and server certificates and key files: I am not able to generate following files using simpatica: 1. server pem encoded cert file 2. server pem encoded key file 3. client pem encoded cert file 4. server pem encoded key file I am able to create certificate using Pu

[web2py] Possible scheduler bug, stable version

2012-07-31 Thread Tim Richardson
My scheduled task returns a dictionary which is serialized and stored in the scheduler_run table in the result column. The dictionary is actually a dictionary of dictionaries, only one level deep. I used eval to recover the original dict. Oddly True and False values are serialised as true and fa

Re: [web2py] Re: how to use pycurl in web2py?

2012-07-31 Thread Vasile Ermicioi
why do you need pycurl if there is requests ? http://docs.python-requests.org/en/latest/index.html --

[web2py] Questions on Muvuca

2012-07-31 Thread Tim Michelsen
Hello, as a follow up on the CMS thread two questions on the Mucuva CMS: Page order _ Is it possible to make a sticky page hierarchy such as like with Wordpress pages? Example: http://codex.wordpress.org/Pages#Organizing_Your_Pages Products __ http://movu.ca/demo/a

[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

Re: [web2py] Re: Recommendations on model file size (database tables)

2012-07-31 Thread Johann Spies
On Tuesday, 17 July 2012 19:46:02 UTC+2, Massimo Di Pierro wrote: > > I remind the readers we have conditional models: > > models/db.py (runs for every action) > models/default/db.py runs (runs only for actions in controllers/default.py) > models/default/index/db.py runs (runs only for action index

Re: [web2py] Re: Adding icons to navbar (response.menu)?

2012-07-31 Thread Massimo Di Pierro
search_form = SQLFORM.factory(Field('Search', requires=IS_ALPHANUMERIC()) button = search_form.element('input[type=submit]') button['_type'] = 'image' button['_src'] = '' On Tuesday, 31 July 2012 00:27:37 UTC-5, Alec Taylor wrote: > > Thanks, is there also some way of adding the icon to

[web2py] Re: Possible scheduler bug, stable version

2012-07-31 Thread Massimo Di Pierro
Thry the trunk version. schedules has changed a lot since last stable. On Tuesday, 31 July 2012 06:11:32 UTC-5, Tim Richardson wrote: > > My scheduled task returns a dictionary which is serialized and stored in > the scheduler_run table in the result column. > The dictionary is actually a diction

[web2py] Re: A Web2py CMS like Joomla ?

2012-07-31 Thread Massimo Di Pierro
Django has been in existence 5 years or more before web2py. On Tuesday, 31 July 2012 07:52:04 UTC-5, Gour wrote: > > 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-itse

Re: [web2py] Re: A Web2py CMS like Joomla ?

2012-07-31 Thread Mariano Reingart
On Mon, Jul 30, 2012 at 6:13 PM, Tim Michelsen wrote: >> Instant Press is built by @Martin and I dont know if he gets contribution >> Movu.ca is built by @rochacbruno (me) and I did not get too much >> contribution (two or 3 people helped with ideas and translations) > > Do you think muvuca could

[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 whateve

[web2py] web2pyslices.com down

2012-07-31 Thread Dave
it was down yesterday too --

Re: [web2py] Re: Adding icons to navbar (response.menu)?

2012-07-31 Thread Alec Taylor
Thanks, but I haven't been able to get that to work either: search_form = SQLFORM.factory(Field('Search', requires=IS_ALPHANUMERIC ()), submit_button=' ') # #Go! # button = search_form.element('input[type=submit]') #button['_type'] = 'image' button['_class'] = 'btn;

Re: [web2py] Re: A Web2py CMS like Joomla ?

2012-07-31 Thread Mariano Reingart
On Tue, Jul 31, 2012 at 10:08 AM, Mariano Reingart wrote: > On Mon, Jul 30, 2012 at 6:13 PM, Tim Michelsen > wrote: >>> Instant Press is built by @Martin and I dont know if he gets contribution >>> Movu.ca is built by @rochacbruno (me) and I did not get too much >>> contribution (two or 3 people

Re: [web2py] Re: Recommendations on model file size (database tables)

2012-07-31 Thread Anthony
With the -S command line option, you can optionally specify a controller, and even a function. python web2py.py -S akb/default -M -N will give you an environment with the default.py controller exposed, and presumably should run the /models/default/db.py model file. You can also specify -S akb/

[web2py] Serving excel file on GAE right from the controller

2012-07-31 Thread marcin jaworski
Hello, My web2py (1.99.5) app is on GAE. I would like to serve Excel file right from the controller. I have managed to prepare wb object to serve: --- def serve_xls_file(): import xlwt import cStringIO stream = cStr

[web2py] Tip: Solution for markmin anchor being concealed by Navbar

2012-07-31 Thread villas
This solution took a while for me to find, so I am sharing it to hopefully save time for others. Problem: The Bootstrap top navbar is great, but it conceals any anchors in your markmin text set with [[myanchor]] Solution: Use this CSS style /*move markmin anchor tags down*/ a[name^="ma

[web2py] `update_or_insert()` is always inserting?

2012-07-31 Thread Alec Taylor
I want only one value stored per unique user, but using the `update_or_insert()` function is storing multiple values: db.define_table( 'foo', Field('haz', notnull=True, unique=True, requires=IS_IN_SET(['a', 'b', 'c'])), Field('user_id', db.auth_user, unique=True)) db.foo.update_or_i

Re: [web2py] Re: Adding icons to navbar (response.menu)?

2012-07-31 Thread Massimo Di Pierro
search_form = SQLFORM.factory(Field('Search', requires=IS_ALPHANUMERIC())) button = search_form.element('input[type=submit]') ... there should not be submit_button=' '. You can try change it to button: parent=search_form.element('input[type=submit]').parent parent.contents=[TAG.BUTTON()]

Re: [web2py] Re: A Web2py CMS like Joomla ?

2012-07-31 Thread Luther Goh Lu Feng
I wish to share that imho one of the strengths of web2py is its dedication towards backwards compatibility. This is something not frequently found in other frameworks, eg in Django or in Drupal. Therefore, I believe that if a web2py project, be it CMS or otherwise gains a sufficient following,

[web2py] Re: `update_or_insert()` is always inserting?

2012-07-31 Thread Cliff Kachinske
You need the other form of update_or_insert:. This is covered in the manual. I always encourage people to Read The Fine Manual (RTFM) to gain a good understanding what's going on. db.person.update_or_insert(db.person.name=='John', name='John',birthplace='Chicago') or db.foo.update_or_inse

Re: [web2py] Re: Adding icons to navbar (response.menu)?

2012-07-31 Thread Anthony
> > parent.contents=[TAG.BUTTON()] > Do you mean parent.components? Anthony --

[web2py] Re: Tip: Solution for markmin anchor being concealed by Navbar

2012-07-31 Thread Niphlod
That is not a markmin problem. If you use the navbar there is a fixed padding-top margin on the body. Ideally you should insert a "void" first element or use the first section with the same padding-top. Il giorno martedì 31 luglio 2012 17:09:44 UTC+2, villas ha scritto: > > This solution took a

[web2py] Re: Possible scheduler bug, stable version

2012-07-31 Thread Niphlod
uhm. try the trunk version remains a valid point. Anyway, are you aware that results are json encoded (so to read back them into python dictionary you have to do simplejson.loads(results)) ? Il giorno martedì 31 luglio 2012 13:11:32 UTC+2, Tim Richardson ha scritto: > > My scheduled task returns

Re: [web2py] free ssl alternative encryption

2012-07-31 Thread Niphlod
ssl certificates are generally free. Ssl certificates that have root certificates installed in most browser costs money. Noone is forcing you to NOT use a free self-made ssl certificate and verify against your own certificate the connection. PS: you can use send on plain http pgp encrypted payl

[web2py] Re: `update_or_insert()` is always inserting?

2012-07-31 Thread Massimo Di Pierro
What you have is correct in the sense that you want to do something that update_or_insert cannot do. As I look at it I realize update_or_insert is a little useless as implemented. I just changed it in trunk. Get the latest trunk and try this: db.foo.update_or_insert({'user_id':1},haz='a') thi

Re: [web2py] Re: `update_or_insert()` is always inserting?

2012-07-31 Thread Alec Taylor
Thanks, that did the trick. On Wed, Aug 1, 2012 at 1:21 AM, Cliff Kachinske wrote: > You need the other form of update_or_insert:. This is covered in the > manual. I always encourage people to Read The Fine Manual (RTFM) to gain a > good understanding what's going on. > > > db.person.update_or

Re: [web2py] Re: A Web2py CMS like Joomla ?

2012-07-31 Thread Massimo Di Pierro
I agree web2py needs a good CMS. The problem is that different people expect different things from a CMS. Some time ago I posted code for web2cms but nobody has contributed to it. :-( Now I am trying put some of that logic into auth.wiki() On Tuesday, 31 July 2012 10:21:24 UTC-5, Luther Goh L

Re: [web2py] Re: Adding icons to navbar (response.menu)?

2012-07-31 Thread Massimo Di Pierro
I do. Sorry. On Tuesday, 31 July 2012 10:32:14 UTC-5, Anthony wrote: > > parent.contents=[TAG.BUTTON()] >> > > Do you mean parent.components? > > Anthony > --

Re: [web2py] Re: Adding icons to navbar (response.menu)?

2012-07-31 Thread Alec Taylor
Thanks, it's working now. Final question: search_form = SQLFORM.factory(Field('Search', requires=IS_ALPHANUMERIC())) button = search_form.element('input[type=submit]', _class='appendedInputButton') parent = search_form.element('input[type=submit]').parent parent.components = [DIV(

[web2py] Re: headers argument behavior in v1.97.1

2012-07-31 Thread Oskari
Why do you have to define all headers? I would only want to display the headers to those columns that I define in the columns list but now it requires me to set headers to every other column too that I'm not showing. That is stupid On Friday, 8 July 2011 04:17:39 UTC+2, ニコノコ wrote: > > Nope, I'

[web2py] Re: Tip: Solution for markmin anchor being concealed by Navbar

2012-07-31 Thread villas
Hi Niphlod, Thanks for your comments. As you say, this problem can affect all anchor tags, not just markmin ones. My solution therefore is a little more specific than it needed to be. However, although you mention an 'ideal' solution, you do not describe it sufficiently clearly for me

[web2py] JSONRPC authentication without disabling normal authentication?

2012-07-31 Thread Alec Taylor
Practically just finished my little proof-of-concept social-network backend (DAL+controller) & web-frontend (web2py views). Now I plan to make the mobile app with PhoneGap . PhoneGap allows you to create native mobile-apps for 7 different mobile platforms in HTML+JS+CSS. I

Re: [web2py] Re: Adding icons to navbar (response.menu)?

2012-07-31 Thread Massimo Di Pierro
How about you do something simpler, all in one line: search_form = FORM(LABEL('Search:'),INPUT(_name='Search',requires=IS_ALPHANUMERIC(), TAG.BUTTON(TAG.I(_class='icon-search'), _class='btn input-append')) I do not think SQLFORM.factory is for you in this case. On Tuesda

[web2py] Re: How to personalise a SQLTABLE ?

2012-07-31 Thread Oskari
This is a great option but what is the best practice then to have the represents-functionality still on board? It is a bit messy to do that totally on your own On Friday, 30 November 2007 16:26:12 UTC+1, mdipierro wrote: > > What you try to do is too much personalization for sqltable. You > sho

[web2py] Re: headers argument behavior in v1.97.1

2012-07-31 Thread Massimo Di Pierro
I do not think this is the case. The thread is one year old and SQLTABLE got better. Anyway, perhaps I misunderstand you. Please post an example of behavior that you think should be changed. On Tuesday, 31 July 2012 11:06:49 UTC-5, Oskari wrote: > > Why do you have to define all headers? I would

[web2py] Re: Tip: Solution for markmin anchor being concealed by Navbar

2012-07-31 Thread Massimo Di Pierro
would you say this is a bootstrap bug? On Tuesday, 31 July 2012 11:08:43 UTC-5, villas wrote: > > Hi Niphlod, > > Thanks for your comments. As you say, this problem can affect all anchor > tags, not just markmin ones. My solution therefore is a little more > specific than it needed to be.

[web2py] Re: web2pyslices.com down

2012-07-31 Thread Don_X
Yeap ... does any one know what is going on ? ... will it be back up & running soon ??? ... On Tuesday, July 31, 2012 9:31:45 AM UTC-4, Dave wrote: > > > it was down yesterday too --

[web2py] Re: JSONRPC authentication without disabling normal authentication?

2012-07-31 Thread Massimo Di Pierro
I am not sure what that comment means. How would you like to authenticate using JSONRPC? basic_auth? You should be able to do that by enabling basic_auth. The problem is that JSONRPC does have the concept of state therefore you need to send credentials (basic_auth) in every request. Perhaps th

Re: [web2py] Re: Adding icons to navbar (response.menu)?

2012-07-31 Thread Alec Taylor
Thanks, but that gives me a "non-keyword arg after keyword arg" error. On Wed, Aug 1, 2012 at 2:31 AM, Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > How about you do something simpler, all in one line: > > search_form = > FORM(LABEL('Search:'),INPUT(_name='Search',requires=IS_ALPHANUM

Re: [web2py] Re: JSONRPC authentication without disabling normal authentication?

2012-07-31 Thread Alec Taylor
Here's the comment

Re: [web2py] Re: web2pyslices.com down

2012-07-31 Thread Alec Taylor
I'm using Google Cache for it On Wed, Aug 1, 2012 at 2:37 AM, Don_X wrote: > Yeap ... does any one know what is going on ? ... will it be back up & > running soon ??? ... > > > On Tuesday, July 31, 2012 9:31:45 AM UTC-4, Dave wrote: >> >> >> it was down yesterday too > > -- > > > > --

[web2py] Re: Tip: Solution for markmin anchor being concealed by Navbar

2012-07-31 Thread villas
In my opinion it is simply an omission in the CSS. The Navbar has a fixed position which takes it out of the 'flow' of the document. One unfortunate side-effect is that it covers anchor tags which, by default, are displayed at the top (under the bar!) On Tuesday, July 31, 2012 5:34:50 PM UTC

[web2py] Simple guide to putting my application online

2012-07-31 Thread adohertyd
Can anyone give me a simple guide to putting my web2py app online? I have been looking for ages and getting nowhere. The book is too complicated for me to understand what I'm meant to do. I need to be able to access the application from another computer for testing purposes. I also have to make

Re: [web2py] Re: Adding icons to navbar (response.menu)?

2012-07-31 Thread Annet
> How do I append the search button to the field, like on the twitter-bootstrap > site ? > Given your example, closer to twitter would be something like: search_form = SQLFORM.factory(Field('Search', requires=IS_ALPHANUMERIC())) parent=

Re: [web2py] Re: Adding icons to navbar (response.menu)?

2012-07-31 Thread Alec Taylor
Thanks, but that didn't work (can't tab to it + clicking it does nothing). On Wed, Aug 1, 2012 at 3:02 AM, Annet wrote: > > How do I append the search button to the field, like on the twitter-bootstrap >> site ? >> > > > Given your example

[web2py] Generating web2py views for use in PhoneGap?

2012-07-31 Thread Alec Taylor
Practically just finished my little proof-of-concept social-network backend (DAL+controller) & web-frontend (web2py views). Now I plan to make the mobile app with PhoneGap . PhoneGap allows you to write native mobile-apps for 7 different mobile platforms in HTML+JS+CSS. *

Re: [web2py] Re: A Web2py CMS like Joomla ?

2012-07-31 Thread Luther Goh Lu Feng
@Massimo is there a page somewhere listing the projects derived from web2py? I think maybe one reason is the lack of awareness and visibility of such web2py derivative projects On Tuesday, July 31, 2012 11:51:56 PM UTC+8, Massimo Di Pierro wrote: > > I agree web2py needs a good CMS. The problem

[web2py] Re: Generating web2py views for use in PhoneGap?

2012-07-31 Thread Luther Goh Lu Feng
Unless I am mistaken, I do not think this is possible. You should have most of your html css in the phonegap app and let your web2py server be a RESTful service On Wednesday, August 1, 2012 1:17:28 AM UTC+8, Alec Taylor wrote: > > Practically just finished my little proof-of-concept social-netwo

[web2py] Re: Serving excel file on GAE right from the controller

2012-07-31 Thread marcin jaworski
I have just missed some important parts and mess up other things in my respons. The solution is: instead: content = wb it should be: content = stream.getvalue() And everything works as expected now. W dniu wtorek, 31 lipca 2012 15:57:45 UTC+2 użytkownik marcin jaworski napisał: > > H

[web2py] Re: How to personalise a SQLTABLE ?

2012-07-31 Thread Massimo Di Pierro
Again this thread was started in 2007. I suggest you look into the book with contains more recent API. I do not know that people use SQLTABLE any more. You can do db.table.field.represent = lambda value: row: value and you can change the representation of the value any way you want. Most p

Re: [web2py] Re: JSONRPC authentication without disabling normal authentication?

2012-07-31 Thread Massimo Di Pierro
You can cache things. You can serve pages which {{=LOAD()}} components. Only the components would be refreshed. I am sure other users will have better advice in this respect. On Tuesday, 31 July 2012 11:42:10 UTC-5, Alec Taylor wrote: > > Here's the > comment

[web2py] Re: Tip: Solution for markmin anchor being concealed by Navbar

2012-07-31 Thread Massimo Di Pierro
Can you write a patch which is not markmin specific? On Tuesday, 31 July 2012 11:52:16 UTC-5, villas wrote: > > In my opinion it is simply an omission in the CSS. > The Navbar has a fixed position which takes it out of the 'flow' of the > document. > One unfortunate side-effect is that it cover

[web2py] Re: Simple guide to putting my application online

2012-07-31 Thread Massimo Di Pierro
Do you start web2py using the GUI? Is so, before you start it, where you see "127.0.0.1" just type "0.0.0.0". Then try figure out what your public IP address is http://lifehacker.com/5833108/how-to-find-your-local-and-external-ip-address People from outside should be able to access your machin

Re: [web2py] Re: Adding icons to navbar (response.menu)?

2012-07-31 Thread Massimo Di Pierro
Try this: search_form = SQLFORM.factory(Field('Search', requires=IS_ALPHANUMERIC())) parent=search_form.element('input[type=submit]').parent parent.components =[TAG.INPUT(TAG.I(_class='icon-search'),'submit',_class='btn',_type='submit')] The problem is... the web2py code does what it is supposed

Re: [web2py] Re: A Web2py CMS like Joomla ?

2012-07-31 Thread Massimo Di Pierro
Good ones are listed here: http://web2py.com/poweredby Example projects are here: http://web2py.com/appliances The majority of projects are closed source and used in intranets. massimo On Tuesday, 31 July 2012 12:23:22 UTC-5, Luther Goh Lu Feng wrote: > > @Massimo is there a page somewhere li

[web2py] Re: Tip: Solution for markmin anchor being concealed by Navbar

2012-07-31 Thread villas
The reason I made it specific to markmin is because I would otherwise have to style all tags. I was not sure whether that would break anything else. Look at the markmin code here... >>> MARKMIN('[[myanchor]]').xml() '' The only way to style that 'generally' would be to do this: a { posit

Re: [web2py] Re: Generating web2py views for use in PhoneGap?

2012-07-31 Thread Lucas R. Martins
You can generate and use your views and serve it as a common webapp. Just include phonegap.js If you are planning an offline only app, you can download and pack your content with wget. --

Re: [web2py] Re: Recommendations on model file size (database tables)

2012-07-31 Thread pbreit
migrate=False definitely helps. Another test: 10 tables, migrate=True: 125ms 10 tables, migrate=Fasle: 120ms 200 tables, migrate=True: 650ms 200 tables, migrate=False: 450ms --

Re: [web2py] Re: Recommendations on model file size (database tables)

2012-07-31 Thread Massimo Di Pierro
125ms for 10 tables seems high. Perhaps you are using references or validators which, under the hood, create lists from DB. If you do make sure you move the settings of those validators where needed. If you have 200 tables, you should probably break them down into conditional models. On Tuesd

[web2py] Re: Tip: Solution for markmin anchor being concealed by Navbar

2012-07-31 Thread Niphlod
this is not an issue related to anchor links relative to a. Now you can have a and url#something will treat that as an anchor. The issue is described here in more detail https://github.com/twitter/bootstrap/issues/1768 If one has to use the fixed navbar on the top (and want to use anchors) he

[web2py] Re: A Web2py CMS like Joomla ?

2012-07-31 Thread Tim Michelsen
web2cms but nobody has contributed to it. :-( To me this looked more of a web scraper proof of concept. Now I am trying put some of that logic into auth.wiki() what is auth.wiki(), please? --

Re: [web2py] Re: web2pyslices.com down

2012-07-31 Thread Bruno Rocha
HI! Sorry, it is getting too much hits/day and my VPS are not able to handle. I am migrating the website to PythonAnywhere.com - which is now the hosting sponsor for web2pylices. I hope to get it published there by end of the day. Thanks On Tue, Jul 31, 2012 at 1:43 PM, Alec Taylor wrote: >

[web2py] Re: unordered list in markmin and no bullets

2012-07-31 Thread Steve Witham
They seem to be using ul and li to build menus of some kind somewhere and setting this style to the default. Apparently people abuse "ul" for all sorts of "lists" in their layouts. But web2py is supposed to be a tool you can put your own HTML content into! > > --

[web2py] Making part of User's Profile public - viewable by anyone with url

2012-07-31 Thread Rob_McC
Haven't been able to find a solution to this on Groups - I'm NEW to web2py, but enjoying it a great deal. Note: I learned how to make custom fields in User's table, that was easy. *Assumptions*: *User: jsmith Custom fields: Country, Age Country=Canada Age=34* I want to make a few of the

[web2py] Markmin patch with nested lists

2012-07-31 Thread Dirk Krause
Hi, I am trying to apply this patch: http://code.google.com/p/web2py/issues/attachmentText?id=524&aid=5240002000&name=markmin_nested_list.diff&token=kjJqRhq0Kmpw7px0Idciodnzvyo%3A1343665747008 (IIRC Massimo posted this somewhere here.) I successfully patched it to the markmin2html.py file, but I

[web2py] Markmin Questions

2012-07-31 Thread villas
1. Why not include line breaks in Markmin? This question was asked before, and this was the proposed solution from the last time. However, this is fine as a workaround but requires more code. Line breaks may be required for all kinds of reasons. MARKMIN(text, extra={'space':lambda code:

[web2py] Re: A Web2py CMS like Joomla ?

2012-07-31 Thread Tim Michelsen
On 31.07.2012 17:51, wrote Massimo Di Pierro: > I agree web2py needs a good CMS. The problem is that different people On 31.07.2012 15:08, wrote Mariano Reingart: On Mon, Jul 30, 2012 at 6:13 PM, Tim Michelsen wrote: Instant Press is built by @Martin and I dont know if he gets contribution Mov

[web2py] Re: A Web2py CMS like Joomla ?

2012-07-31 Thread Tim Michelsen
Hello, as a follow up on the CMS thread two questions on the Mucuva CMS: Instant Press is built by @Martin and I dont know if he gets contribution Movu.ca is built by @rochacbruno (me) and I did not get too much contribution (two or 3 people helped with ideas and translations) Page order

Re: [web2py] Re: A Web2py CMS like Joomla ?

2012-07-31 Thread Bruno Rocha
I agree that we need to focus on PLUGIN-SYSTEM improvement. Web2py needs a better plugin architecture, integrated with git/hg repos, with a distribution tool like PyPi or RubyGEMS (I think plugins has to be independent Python modules distributed in PyPi and instaled with "pip install web2py-plugin

[web2py] Re: Making part of User's Profile public - viewable by anyone with url

2012-07-31 Thread Cliff Kachinske
Check out fields and readonly in the SQLFORM signature at http://web2py.com/books/default/chapter/29/7 Also see crud.read() and crud.select() at http://web2py.com/books/default/chapter/29/7#Methods Either of these should do the job for you. On Tuesday, July 31, 2012 3:11:47 PM UTC-4, Rob_McC w

Re: [web2py] Re: A Web2py CMS like Joomla ?

2012-07-31 Thread Bruno Rocha
Movu.ca can be used as a base for all those things. Also, the publushing system that Massimo created can be easily integrated with Movu.ca for page administrations. The most complete website I made with Movuca is ( http://www.menuvegano.com.br/) - The whole thing was created for the needs of this

[web2py] Re: Making part of User's Profile public - viewable by anyone with url

2012-07-31 Thread Massimo Di Pierro
Assuming you have auth.settings.extra_fields=[Field('age','integer'),Field('country')] auth.define_tables(username=True) you define def userinfo() user = db.auth_user(username=request.args(0)) or redirect(URL('error')) return dict(user=user) with a view {{extend 'layout.html'}} So

[web2py] Re: unordered list in markmin and no bullets

2012-07-31 Thread Massimo Di Pierro
I just changed this in trunk. On Thursday, July 26, 2012 10:59:35 AM UTC-5, mweissen wrote: > > I have tried the "buletted list" (unorder list) of markmin: > > - one > - two > - three > > These lines look like > > one > two > three > > without any bullets. The reason seems to be the line > >

[web2py] Re: A Web2py CMS like Joomla ?

2012-07-31 Thread Massimo Di Pierro
On Tuesday, July 31, 2012 2:40:22 PM UTC-5, Timmie wrote: > > > web2cms but nobody has contributed to it. :-( > To me this looked more of a web scraper proof of concept. > That is a component of it. It is the first thing that stands out but it can be disabled. It contains all the logic to handl

Re: [web2py] Re: A Web2py CMS like Joomla ?

2012-07-31 Thread Massimo Di Pierro
On Tuesday, July 31, 2012 3:12:40 PM UTC-5, rochacbruno wrote: > > The most complete website I made with Movuca is ( > http://www.menuvegano.com.br/) - The whole thing was created for the > needs of this website, cooking recipes, people, conenctions, comments. > It is a fantastic site! --

Re: [web2py] Re: A Web2py CMS like Joomla ?

2012-07-31 Thread Bruno Rocha
Thanks! That is a "vegan" cooking social network. where people has a profile[1] to post recipes and tips, and also creates a virtual cook book. It has an Android app for recipe publishing/searching [1]http://www.menuvegano.com.br/person/show/rochacbruno --

[web2py] Re: Tip: Solution for markmin anchor being concealed by Navbar

2012-07-31 Thread villas
Yes, this is tricky (at least for me). I tried this JS below, but it was not a good solution either, but it might be an interesting avenue to pursue. For in-page links it seems OK but not when navigating from other pages. var shiftWindow = function() { scrollBy(0, -50) }; if (location.hash

[web2py] Re: A Web2py CMS like Joomla ?

2012-07-31 Thread Tim Michelsen
Movu.ca can be used as a base for all those things. Also, the publushing system that Massimo created can be easily integrated with Movu.ca for page administrations. I am trying it out now on web2py trunk: http://localhost:8000/demo/setup/install yields: invalid function (setup/install) Is thi

[web2py] Re: A Web2py CMS like Joomla ?

2012-07-31 Thread Tim Michelsen
I agree that we need to focus on PLUGIN-SYSTEM improvement. This would mean: Every new functionality a developer creates for the own appliance shall be in a modular fashion like on your exaplanation: http://movu.ca/demo/article/show/9/using-modules-in-web2py Then they woudl be easily shareable

[web2py] Re: A Web2py CMS like Joomla ?

2012-07-31 Thread Tim Michelsen
1) Get trunk 2) make a group called 'wiki_editor', make ourself member of the group using appadmin 3) def index(): return auth.wiki() 4) visit index(). I get the new menu but cannot edit pages --

Re: [web2py] Re: A Web2py CMS like Joomla ?

2012-07-31 Thread Bruno Rocha
> > > > http://localhost:8000/demo/**setup/install > > yields: > invalid function (setup/install) For security reason, I did a temporary change in setup controller https://github.com/rochacbruno/Movuca/blob/master/controllers/setup.py You can see I incl

[web2py] Re: A Web2py CMS like Joomla ?

2012-07-31 Thread Tim Michelsen
1) Get trunk 2) make a group called 'wiki_editor', make ourself member of the group using appadmin 3) def index(): return auth.wiki() 4) visit index(). I get the new menu but cannot edit pages http://127.0.0.1:8000/auth_wiki/default/index/_edit/index Object exists and cannot be redefined:

[web2py] Re: A Web2py CMS like Joomla ?

2012-07-31 Thread Tim Michelsen
To work, you can just remove the 'x' arg from the install function. (include the x again after you installed it, you do not want someone to redefine your setup) after that, the page just showed: bootstrap an then, index shows the error: Traceback (most recent call last): File "/web2py_git

Re: [web2py] Re: A Web2py CMS like Joomla ?

2012-07-31 Thread Bruno Rocha
> > > Traceback (most recent call last): > File "/web2py_github/gluon/**restricted.py", line 205, in restricted > exec ccode in environment > File "/web2py_github/applications/**muvuca/views/bootstrap/app/**home.html", > line 423, in > NameError: name 'featured_members' is not defined ht

[web2py] router(domains) + routes.py

2012-07-31 Thread Marek Mollin
Hello, I have certain problems configuring router + routes.py. First of all I had a problem that was mentioned earlier routes.py file was not working while using nginx + uwsgi. Nevertheless I decided to update to trunk and just copied admin from stable (since there were some problems with it...

[web2py] Exploring Muvuca [Re: A Web2py CMS like Joomla ?]

2012-07-31 Thread Tim Michelsen
Is this list OK for discussing the app? Or do you prefer Github issues? --

Re: [web2py] router(domains) + routes.py

2012-07-31 Thread Jonathan Lundell
On 31 Jul 2012, at 4:29 PM, Marek Mollin wrote: > I have certain problems configuring router + routes.py. > First of all I had a problem that was mentioned earlier routes.py file was > not working while using nginx + uwsgi. Nevertheless I decided to update to > trunk and just copied admin from s

Re: [web2py] Re: Running SSH commands and capturing the results (Threading)

2012-07-31 Thread Tito Garrido
Thanks a lot Margaret! On Mon, Jul 30, 2012 at 9:09 AM, greaneym wrote: > Tito, > > As a suggestion, > you could look at apps like > > npaci-rocks (python-based), uses a program called 411 to communicate > to servers > > parallel ssh > > cfengine > > and other sysadmin type tools to see > how th

Re: [web2py] Re: A Web2py CMS like Joomla ?

2012-07-31 Thread Luther Goh Lu Feng
Hi Massimo: Looking at http://web2py.com/poweredby it seems that there are both examples and derivative projects listed. A derivative project imho is a site that is based on web2py as its core and probably FOSS or installable. I would expect a listing to contain projects like * Muvuca * Ins

Re: [web2py] Re: Generating web2py views for use in PhoneGap?

2012-07-31 Thread Luther Goh Lu Feng
https://groups.google.com/forum/?fromgroups#!searchin/phonegap/reject/phonegap/Nw8OcAzOyw0/r1FBoGoz2wkJ I think Apple might have issues if the views are generated by the server. Maybe best to clarify in the phonegap mailing list? On Wednesday, August 1, 2012 2:44:46 AM UTC+8, Lucas R. Martins wr

Re: [web2py] Re: Generating web2py views for use in PhoneGap?

2012-07-31 Thread Bruno Rocha
In my point of view mobile projects with PhoneGap have to be RESTful, you need to create static/JavaScript based pages and use jquery to access the API created in web2py. I've done some apps with Tiggzi.com --

Re: [web2py] Re: Generating web2py views for use in PhoneGap?

2012-07-31 Thread Alec Taylor
On Wednesday, August 1, 2012 4:44:46 AM UTC+10, Lucas R. Martins wrote: > > You can generate and use your views and serve it as a common webapp. > Just include phonegap.js > > If you are planning an offline only app, you can download and pack your > content with wget. > It seems that this won'

[web2py] JSONRPC, XMLRPC or REST?

2012-07-31 Thread Alec Taylor
I'm creating mobile apps with PhoneGap, and in order to be approved by the App Store, I need to write them from scratch using JavaScript. I have been using the JSONRPC protocol, but it seems to have some trouble with authentication when I require normal authentication to still work with web2py

  1   2   >