[web2py] Re: Questions on the scheduler

2012-04-12 Thread blackthorne
Saturday, 11 February 2012 18:59:43 UTC, blackthorne wrote: > > Massimo: > For instance, I created a method that returns the progress of the task > that I am running > I guess my questions could collapse into this example: > > Consider, > in a db file > &g

Re: [web2py] smartgrids with references (auth_user)

2012-04-09 Thread blackthorne
e form = SQLFORM.smartgrid... and leave the model as it is? Thanks On Monday, 9 April 2012 17:50:40 UTC+1, Jim S wrote: > > readable and writable need to be true on the submitted_by field. > > -Jim > > On 4/9/2012 11:44 AM, blackthorne wrote: > > I'm trying to

[web2py] smartgrids with references (auth_user)

2012-04-09 Thread blackthorne
I'm trying to make a smartgrid using a table that has references to other (auth_user). The smartgrid show up but it does not include the field where I reference the other table. with code: -- in the db: auth = Auth(db, hmac_key=Auth.get_or_create_key()) crud, service, plugins = Crud(db), Serv

[web2py] Re: Python Negative Popularity

2012-03-29 Thread blackthorne
I'm not an expert in statistics but 2.45% decline is a lot because that relates to the whole language ecosystem. If you look at the numbers specific to Python, it means a drop from ~7% to ~3% which is about 50% decrease concerning what Python was a year ago. Now, this a metric, it's value,it's

[web2py] Tracking/Tracing actions

2012-03-29 Thread blackthorne
Hello, I am working on a "secure" documentation system that should support file uploads but also to give the ability to trace user actions like download/upload of files. This should be integrated in the portal itself so that the administrator doesn't need to parse web log files and trace users

[web2py] Accessing asynchronously to Scheduler Workers

2012-02-18 Thread blackthorne
Is there in web2py's scheduler any interface to access a running scheduler worker? I've posted, in another way, this question with an example here: http://groups.google.com/group/web2py/msg/4af10e9cb23d5833 Thank you

[web2py] Re: Questions on the scheduler

2012-02-11 Thread blackthorne
3:39 PM, Massimo Di Pierro > > > > > > > > wrote: > > Not sure I understand. You do not call scheduled_workers functions. > > You schedule tasks. Workers pick them up from queue an execute them > > using the available power. > > > On Feb 10, 4:54 am, blackthorne w

[web2py] Re: Questions on the scheduler

2012-02-11 Thread blackthorne
n execute them > using the available power. > > On Feb 10, 4:54 am, blackthorne wrote: > > > > > > > > > - Is it possible to call scheduled_workers functions asynchronously? > > How? > > - How should I adapt the behavior of a scheduled_worker as changing > > its model and adding new functionality? > > > Thank you

[web2py] Re: Scheduler json string for vars parm

2012-02-10 Thread blackthorne
Never mind, just did it! args=[] vars={"plugin_title":"http","targets":["http://www.google.pt"]} On Feb 11, 2:08 am, blackthorne wrote: > Sorry, to reopen this thread, I have a question close to this one. > I want to invoke a method called "pl

[web2py] Re: Scheduler json string for vars parm

2012-02-10 Thread blackthorne
Sorry, to reopen this thread, I have a question close to this one. I want to invoke a method called "plugin_run" from a scheduler task. def plugin_run(plugin_title, **kw): <- this is the signature plugin_run('http',targets=['https://www.google.pt']) <- valid example considering this, how should

[web2py] Questions on the scheduler

2012-02-10 Thread blackthorne
- Is it possible to call scheduled_workers functions asynchronously? How? - How should I adapt the behavior of a scheduled_worker as changing its model and adding new functionality? Thank you

[web2py] PyCon Web Development Summit 2012 Panel Discussions

2012-02-08 Thread blackthorne
Hey, this is your time to ask questions about Python on the web! Google Moderator: Submit questions to panelists at the PyCon Web Development Summit (March 8, 2012, Santa Clara CA) http://www.google.com/moderator/#16/e=1c9a94 Best regards

[web2py] Re: CSS broken when using LOAD()

2012-02-04 Thread blackthorne
rget" > argument. > > Anthony > > > > > > > > On Saturday, February 4, 2012 2:44:49 PM UTC-5, blackthorne wrote: > > > hi, > > > I'm importing a JS gallery system to web2py using the LOAD. The idea > > is to generate a gallery to a select

[web2py] Re: CSS broken when using LOAD()

2012-02-04 Thread blackthorne
Thank you On Feb 4, 7:46 pm, Anthony wrote: > LOAD(..., target='your_div_id') > > You only get that randomly generated id if you don't specify the "target" > argument. > > Anthony > > > > > > > > On Saturday, February 4, 2012 2

[web2py] CSS broken when using LOAD()

2012-02-04 Thread blackthorne
hi, I'm importing a JS gallery system to web2py using the LOAD. The idea is to generate a gallery to a selected option asynchronously (AJAX). I made the request LOAD to generate the right HTML code but the CSS breaks because instead of html > body > div.background > div.navigation-container > div#

[web2py] Re: routes.py in webfaction with favicon

2011-08-04 Thread blackthorne
Thank you, it worked! :) On Aug 4, 6:56 am, annet wrote: > For what it's worth, this works at webfaction: in the > section of your layout simply put this: > > rel="shortcut icon" type="image/x-icon" /> > > In case of your solution, should this: > > routes_in = ( (r'.*:/favicon.ico', r'/init/sta

[web2py] routes.py in webfaction with favicon

2011-08-03 Thread blackthorne
Just trying to set a favicon in an application called init on a webfaction. However, I just get Internal Server Error everytime I use routes.py. Here's the code: default_application = 'init'# ordinarily set in base routes.py default_controller = 'default' # ordinarily set in app-specific rou

[web2py] Re: Web2py talk proposal - Codebits 2011

2011-07-24 Thread blackthorne
ideas, tips and contributions you may want to see included. Thank you and hope to see you there On Jul 23, 4:03 pm, blackthorne wrote: > hey, maybe we should talk. > I don't want to take your change here and I already have submitted > other talk proposal.. > > On Jul 2

[web2py] Re: Web2py talk proposal - Codebits 2011

2011-07-23 Thread blackthorne
hey, maybe we should talk. I don't want to take your change here and I already have submitted other talk proposal.. On Jul 23, 11:19 am, Francisco Costa wrote: > I was also going to do it.. but if you submitted first I'm going to > watch it :) > > On Jul 23, 2:10 

[web2py] Web2py talk proposal - Codebits 2011

2011-07-22 Thread blackthorne
Hi, just submitted a talk proposal on web2py for the Codebits 2011 event yield in Lisbon, Portugal (November). I invite you to support me with your votes at and join me if you're close by: http://codebits.eu/intra/s/proposal/152 So, don't forget to put your thumbs up to my talk proposal and hope

[web2py] Re: web2py on github

2011-07-20 Thread blackthorne
be aware that google code hosting now supports git.. On Jul 20, 4:44 am, luckysmack wrote: > Well i was going to for the original. But it being so out of date, i > thought i would just take the mercurial branch and use a tool to > convert the code and its branches with history to git. that way it

[web2py] Oh Noes! template parsing conflict!

2011-07-18 Thread blackthorne
While editing a javascript code to adapt the behavior of an addthis button I got something unexpected... Checkout this JS code and thing about web2py template code: var addthis_share = { templates: { twitter: 'check out {{title}} @ {{url}}' } } First try: templ

[web2py] Re: new plugin - web2py Form Wizard - PowerFormWizard

2011-06-29 Thread blackthorne
yes! awesome! just came to my mind having such a system for multiple forms/wizards managed by the db. So you could easily add forms like that in your app and manage them. Good for more complex apps like SAP. On Jun 29, 5:17 pm, GoldenTiger wrote: > iujuu > > Bruno, it`s the best web2py plugi

[web2py] Re: proven hosting sites for web2py

2011-06-29 Thread blackthorne
well, I have to disagree. Not that I wouldn't think like with your experience. I just have to say that I have a webfaction account with around 3-4 apps at the most cheap plan which is really low and It's working very well. Until now, I had a great experience with them, almost 2 years have passed. N

[web2py] Re: proven hosting sites for web2py

2011-06-28 Thread blackthorne
nice one! here's one: Webfaction latest 2.4/3.2 Linux 2.6.18 8 dollars/month (more or less depending on the plan) USA great control panel, great support, feature rich, many auxiliary services available On Jun 28, 2:54 pm, DenesL wrote: > Hello list, > > I want to compile a list of the know hosti

[web2py] Re: spawning response.flash in plugin_wiki page

2011-06-23 Thread blackthorne
the possibility of loading a custom response.flash in a plugin_wiki page so that plugin_wiki users can also define this flash message for a page if they want to. On Jun 23, 5:43 pm, Massimo Di Pierro wrote: > can you explain more? > > On Jun 23, 10:03 am, blackthorne wrote: > >

[web2py] spawning response.flash in plugin_wiki page

2011-06-23 Thread blackthorne
is this possible? how would you implement a change to make it work? thanks

[web2py] content category aware behavior using sessions

2011-06-22 Thread blackthorne
hello everyone, Consider this example. I have a geek side like probably most of you and that can degrade my social side. So, I'm making a homepage with my personal geek and social contents and it came to my made a content aware behavior. Let me explain: - if a user enters my site by visiting a gee

[web2py] Re: making requests to components from outside

2011-06-17 Thread blackthorne
this is gook. Things like this make me think how cool would it be to have some sort of system in the web2py admin app or an API to handle updates for plugins as well

[web2py] Re: Auth over SSL

2011-06-16 Thread blackthorne
> Are you saying that once the user logs in, any existing session they had > should be erased and a new one started? I don't think that's how it works > now, and I'm not sure that would always be the thing to do, but maybe it > should be an option. I was just suggesting regenerating the session id,

[web2py] Re: Auth over SSL

2011-06-16 Thread blackthorne
Well, a lot has changed in the past 20 years. ARP Spoofing attacks emerged, Wireless shared channel communications emerged, attackers multiplied and his methods got and more sophisticated. Facebook, Twitter and are examples of very expensive migrations related to social networks considered necessa

[web2py] Re: Auth over SSL

2011-06-16 Thread blackthorne
On Jun 16, 11:08 pm, Anthony wrote: > On Thursday, June 16, 2011 6:02:00 PM UTC-4, blackthorne wrote: > > > Anthony: I don't really understand how would that solve the problem. > > The problem has to do with transmission of the session cookie in a non > > secure

[web2py] Re: Auth over SSL

2011-06-16 Thread blackthorne
Anthony: I don't really understand how would that solve the problem. The problem has to do with transmission of the session cookie in a non secure channel. Regenerate it won't solve the problem. We need to enforce not to allow the transmission of authenticated sessions threw non secure channels. I

[web2py] Re: Auth over SSL

2011-06-16 Thread blackthorne
Anthony: I don't really understand how would that solve the problem. The problem has to do with transmission of the session cookie in a non secure channel. Regenerate it won't solve the problem. We need to enforce not to allow the transmission of authenticated sessions threw non secure channels. I

[web2py] Re: debugging WSGI web2py python apps

2011-06-16 Thread blackthorne
r the flow behind this situation. the request.toolbar() doesn't give me that, although it seems very useful. Any ideas on how to read prints done in WSGI web2py apps? Thank you On Jun 16, 4:55 pm, Massimo Di Pierro wrote: > does the {{=response.toolbar()}} help? > > On Jun 16, 10:2

[web2py] debugging WSGI web2py python apps

2011-06-16 Thread blackthorne
I'm trying to debug a web2py app working with WSGI on webfaction. First, I've activated the Logging = True in the wsgihandler and now I can read the httpserver.log. I've also read many things on exposing request/response objects but what I really wanted would be the possibility to read print calls

[web2py] Re: Auth over SSL

2011-06-16 Thread blackthorne
It could. I think it would be interesting to have a control to redirect by default to https, whether it is a login or an authenticated session, kind of what we already have for appadmin... On Jun 16, 2:57 pm, Anthony wrote: > On Thursday, June 16, 2011 9:48:47 AM UTC-4, Massimo Di Pierro wrote:

[web2py] Auth over SSL

2011-06-16 Thread blackthorne
There may be a security problem for all of you using Auth. Even if the login process is done threw SSL the session should be also kept over SSL or else you may be vulnerable to session hijacking ( http://en.wikipedia.org/wiki/Session_hijacking ) attacks. My question is, is there a control to make

[web2py] Re: prettyPhoto with web2py

2011-06-15 Thread blackthorne
I am using in on www.casasdocastro.com. Check out http://www.casasdocastro.com/init/default/houses/sbento#img_gallery On Jun 15, 1:31 pm, Sahil Arora wrote: > I got the problem solved but don't know why this happened. The images whose > link i was giving were in uploads folder. when i changed the

[web2py] migration problem with languages

2011-06-14 Thread blackthorne
just migrated an application from 1.67 to latest. Generally speaking things went fine, just need to update maps API but there is one exception. languages got broken. Instead of showing language 'pt-pt' being forced in the model code, it showed the keys values of T. So I started digging and found th

[web2py] one-click installer for web2py on Webfaction

2011-06-14 Thread blackthorne
hi, if you, like me, are interested too on this, please add likes to my question! http://community.webfaction.com/questions/4025/is-there-going-to-be-a-one-click-installer-for-web2py-anytime-soon Thank you, Best regards

[web2py] Re: components and timers

2011-06-06 Thread blackthorne
thank you On Jun 6, 11:15 pm, Massimo Di Pierro wrote: > look into gluon/contrib/comet_messaging.py > > On Jun 6, 5:08 pm, blackthorne wrote: > > > > > hi > > > Let's say I have a component that gets the last 10 tweets from some > > list or that shows

[web2py] components and timers

2011-06-06 Thread blackthorne
hi Let's say I have a component that gets the last 10 tweets from some list or that shows current CPU and memory metrics and requires to be cyclically reloaded once every 5 mins for example. How can I do this? Thank you Best regards

[web2py] Re: importing a db/model from other app

2011-05-31 Thread blackthorne
well, a script than runs every time when loading my admin app to copy/ sync the models's and the model DAL line, should work... I think I will go for that solution if I can't find anything better. On May 31, 5:38 am, mart wrote: > well then, not sure then is this helps, but I have 1 web app look

[web2py] Re: importing a db/model from other app

2011-05-31 Thread blackthorne
Yes, that is the thing I want to change. I don't want to be dependent of the source app, just its db/model. All I want is an admin app that plugs into any other app by simply defining it's name or path. It should run on the same machine and there should be no problem in importing things by path. Un

[web2py] Re: importing a db/model from other app

2011-05-30 Thread blackthorne
What I want is not to clone a db or model but to be able to manage one DB from other app. I am trying to do a modified version of the admin app where you just have to chose an option to a target app and it will plug into it working as a backoffice for managers/administrators of that app. if I use

[web2py] importing a db/model from other app

2011-05-30 Thread blackthorne
1) How can I import the db/model of one application for another? I've been reading threads like this, on sharing models and I've seen some suggestions on creating a module to export a DB from the source app and the use of the local_import() method. I've tried that, but couldn't make it work. Would

[web2py] adding columns to SQLTABLE and costumizing headers order

2011-05-22 Thread blackthorne
I have two tables connected. One is owners, the other is dogs. Let's say I'm listing owners with a nice SQLTABLE(db.owners). Now I wanted to add a column in the generated table with the number of owned dogs db(db.dogs.owner == owner).count() so the end result would be SQLTABLE with an extra column

[web2py] Re: Prepopulate forms with AJAX

2011-05-21 Thread blackthorne
: name = request.vars.values()[0] issue = db(db.issues.title.like(name)).select() return XX <- what goes here so that I can process in the View side ? On May 21, 6:45 pm, blackthorne wrote: > hi, > here's my problem. > > I have a database with

[web2py] Prepopulate forms with AJAX

2011-05-21 Thread blackthorne
hi, here's my problem. I have a database with security issues I found in the past and I want to be able to fill new ones based on it. the idea was to fill one input field "title" with a word that could exist in a previous inserted item. A select box would show up with top 5 possibilities, just lik

[web2py] Re: response.menu in web2py

2011-05-11 Thread blackthorne
It would become easier to understand if you brought your concrete example but why don't consider to use a single form for both purposes? Even if that form allows 2 difference use cases (which shall be appropriately handled by the right controller) that could help... Alternatively you could use res

[web2py] Re: backward compatibility problem?

2011-05-10 Thread blackthorne
Just to confirm, it was fixed to me Thanks On Apr 24, 5:07 am, Massimo Di Pierro wrote: > This should be solved in latest trunk. Can you confirm? > We are testing a new import mechanism. > > On Apr 23, 12:20 am, blackthorne wrote: > > > > > hi > > > trying

[web2py] AppAdmin Notification feature

2011-05-04 Thread blackthorne
I was testing Instantpress app and finding it very good. Congratulations. Wondering if there is any option to show up notifications like in InstantPress for AppAdmin. If now, do you it makes sense? Thank you

[web2py] Theming web2py admin app

2011-04-23 Thread blackthorne
hey, call me old fashioned guy, I was wondering if I can switch the current theme of the web2py administration app to the old blue and orange theme that I loved so much. Is there any control for this other than rebuilding views in css? Thank you Best regards

[web2py] backward compatibility problem?

2011-04-22 Thread blackthorne
hi trying to solve a problem that emerged when I moved my app from an older (v1.92) installation to latest. Here is the error: File "/Users/blackthorne/Dropbox/Code/Workspaces/web2py/applications/ homepage/controllers/default.py", line 47, in get_tweets import gluon.contrib.sim

[web2py] Re: Reutilizing/Extending web2py admin panel

2011-04-13 Thread blackthorne
ionalities of appadmin are available via crud. > > Massimo > > On Apr 13, 3:41 pm, blackthorne wrote: > > > > > Yes, Django have done a good work there. I just got a client that > > wants a backoffice and yes I am final on using web2py. I was > > considering on reu

[web2py] Re: Reutilizing/Extending web2py admin panel

2011-04-13 Thread blackthorne
Yes, Django have done a good work there. I just got a client that wants a backoffice and yes I am final on using web2py. I was considering on reusing the admin ap in the best possible way.. Any reference on this? On Apr 13, 7:28 pm, Mengu wrote: > blackthorne, you mean like Django admin? >

[web2py] Reutilizing/Extending web2py admin panel

2011-04-13 Thread blackthorne
Well, this is one of things I need the most. Being able to use parts of the web2py admin panel or building something based on it for direct use by clients threw the public web. Is there anything about this? Have you considered making it "exportable" or easily reusable? Thank you

[web2py] Re: Python fourth on the list

2011-02-27 Thread blackthorne
that is programming language popularity not web programming language popularity On Feb 28, 12:28 am, Plumo wrote: > wow, more popular than PHP? I find that hard to believe.

[web2py] Re: Displaying br instead new line in views

2011-02-27 Thread blackthorne
t; Actually I think Denes is right. If you have to use '\\n' instead of > '\n' something is wrong with the data you have (it is escaped twice?) > > Massimo > > On Feb 26, 1:50 pm, blackthorne wrote: > > > > > guys, > > if you have the sam

[web2py] Re: Displaying br instead new line in views

2011-02-26 Thread blackthorne
guys, if you have the same trouble I just did, this should work. Try it: {{=XML(note.content.replace('\\n',''),sanitize=True)}} Best regards On Feb 20, 9:35 pm, DenesL wrote: > {{=XML(note.content.replace('\n',''),sanitize=True)}} > > On Feb 20, 12:10 pm, Alexandre Strzelewicz > > > > wrote: >

[web2py] Re: Blog about my adventures with web2py

2011-02-19 Thread blackthorne
seems to be poundhost.. On Feb 19, 4:45 pm, Ross Peoples wrote: > How are you hosting this? Shared hosting provider, VPS, or running > your own server? > > The reason I'm asking is because I run WordPress with BlueHost shared > hosting, and more recently, I started running a site on my own > dedi

[web2py] Re: PyPy faster than C ...

2011-02-09 Thread blackthorne
i have to match that to my latest old addiction, Assembly. On Feb 7, 11:14 pm, elffikk wrote: > I think this is cool > > http://morepypy.blogspot.com/2011/02/pypy-faster-than-c-on-carefully-...

[web2py] Re: plugin_wiki suggestions

2011-02-09 Thread blackthorne
Would you consider the idea of putting plugin_wiki source code in a (git?) repository for versioning? On Feb 7, 2:26 pm, Massimo Di Pierro wrote: > If you are in mode 3 (code allowed) you can do ``{{=response.title}} > ``:template > > On Feb 7, 12:29 am, Plumo wrote: > > > > > I also made this c

[web2py] Testing model validation

2011-01-28 Thread blackthorne
I'm looking for a hook in web2py that allows me to check if a model is valid. It doesn't have to work 100%, but "best-offer", kind of what we have on the web editor right after saving the model file. Is this possible to do for a given file? Thank you, Best regards

[web2py] Re: Why web2py? and not django?

2011-01-26 Thread blackthorne
chmpion of what? object dabatases are the champions storing... objects relational dbms are the champions storing... relational data use the right tools right. On Jan 26, 4:59 pm, Lars Hansson wrote: > Yeah, but if everyone sits around waiting for the champion to appear > there won't be one. So

[web2py] Re: Why web2py? and not django?

2011-01-26 Thread blackthorne
few people mention this, don't know why but it is huge. ORM's are a computational vietnam. it troubles my mind, how come so many good programmers don't have this notion and ORM's are actually very well seen. the relational model has its own way of working, its mindset, its optimizations. the objec

[web2py] patch for select widget in plugin_wiki

2011-01-24 Thread blackthorne
support for table headers in the select widget of plugin_wiki Example: `` name: select table: plugin_wiki_page query_field: category query_value: article fields: id,description,modified_on headers: title, description, Last modified ``:widget it uses fields to match the table headers if not defined

[web2py] patch for jqgrid widget in plugin_wiki

2011-01-24 Thread blackthorne
It adds the functionality width: auto which redefines width as sum of all col_widths values. This way you don't have to guess the adequate width based on your col_widths. example: `` name: jqgrid table: plugin_wiki_page fields: id,description,modified_on fieldname: category fieldvalue: article co

[web2py] Re: using plugin_wiki for a blog

2011-01-23 Thread blackthorne
I'm working in my homepage based on a modified version of the plugin_wiki. I think you can easily adapt to make it work that way. Install it, check the controller/plugin_wiki.py index() to understand how it works and define your frontpage the way it suits the best for a blog. You may also want to e

[web2py] Re: Adding restructuredtext support for plugin_wiki or translating to markmin

2011-01-23 Thread blackthorne
have you tried html2markdown to import things to plugin_wiki? I'm not sure about the differences between markmin and markdown, don't know if they are "compatible" but that would be a smaller step. In last case, you can even adapt plugin_wiki to work with it... On Jan 21, 12:53 am, Offray Vladimir

[web2py] Re: Installation on GoDaddy shared server

2011-01-21 Thread blackthorne
unless you or anyone are interested in sharing an account with me... blackthorne at ironik .org On Jan 21, 8:23 pm, blackthorne wrote: > watch out becausa you don't have ssh access on godaddy. if possible it > may be difficult. > > If you find a cheaper hoster for python than W

[web2py] Re: Installation on GoDaddy shared server

2011-01-21 Thread blackthorne
watch out becausa you don't have ssh access on godaddy. if possible it may be difficult. If you find a cheaper hoster for python than Webfaction, please tell me. have to say that I love webfaction as a service, i just want to save some money... best regards On Jan 21, 7:56 pm, stargate wrote: >

[web2py] Re: Table of Contents for plugin_wiki pages

2011-01-20 Thread blackthorne
I found this awesome! Please take a look until the final result: http://www.jankoatwarpspeed.com/post/2009/08/20/Table-of-contents-using-jQuery.aspx On Jan 17, 4:25 pm, Massimo Di Pierro wrote: > http://code.google.com/p/samaxesjs/wiki/TableOfContentsPlugin > > On Jan 17, 5:31 am, bl

[web2py] Re: pyQT & web2py

2011-01-20 Thread blackthorne
well, I think he didn't made it clear but I see many ways: - create a component for web2py that instead of generating the html/ css/js source you use to see it in a website, it would generate the GUI application (controllers+view) as well as linking it to a shared model. This is a lot of work but

[web2py] Re: pyQT & web2py

2011-01-20 Thread blackthorne
Pyqt channel on irc.freenode.net Best regards On Jan 20, 9:39 pm, mart wrote: > This is great to hear! I was looking at making a few pieces (with a > UI) that would have both web version and non-web version! So, I made a > note that "blackthorne" knows all about this when I get stu

[web2py] Re: pyQT & web2py

2011-01-20 Thread blackthorne
yes, I fully recommend it. i think it's the best way of developing gui in a portable and native-respectful way. you also have Pyside. Qt creator is great. you can use Qt designer with pyuic for translation. make your questions, I will try to answer even though it is fairly offtopic. On Jan 20, 8

[web2py] Re: plugin_wiki widget jqgrid: colnames or columns?

2011-01-20 Thread blackthorne
I would also adopt the title to report something missing in the docs. There is an undocumented features, it's the keyword "col_widths" which is a list of numbers that defines specific widths for each jqgrid column. example: .. col_widths: 100,80,200 .. I think this should be, at least, documented

[web2py] Re: plugin_wiki widget jqgrid: colnames or columns?

2011-01-20 Thread blackthorne
it's a list of strings, such as: colnames: dogs,cats,mouses Best regards On Jan 19, 5:03 pm, blackthorne wrote: > The way you define the column names in the Jqgrid plugin is done, > according to the book, with the "columns" attribute is a list of > columns names to be

[web2py] Re: plugin_wiki widget jqgrid: colnames or columns?

2011-01-20 Thread blackthorne
sorry for the mess, this is the right link. I have to stop doing patchs manually ;/ http://www.speedyshare.com/files/26373627/plugin_wiki_jqgrid_colnames_bug.patch On Jan 20, 12:36 pm, blackthorne wrote: > Sorry, that link is wrong. > This is the > one:http://www.speedyshare.com/files

[web2py] Re: plugin_wiki widget jqgrid: colnames or columns?

2011-01-20 Thread blackthorne
Sorry, that link is wrong. This is the one: http://www.speedyshare.com/files/26373484/plugin_wiki_jqgrid_colnames_bug.patch On Jan 20, 12:31 pm, blackthorne wrote: > Concerning my question, this is a bug. > > Here is the > patch:http://www.speedyshare.com/fi

[web2py] Re: plugin_wiki widget jqgrid: colnames or columns?

2011-01-20 Thread blackthorne
ch as: colnames: dogs,cats,mouses Best regards On Jan 19, 5:03 pm, blackthorne wrote: > The way you define the column names in the Jqgrid plugin is done, > according to the book, with the "columns" attribute is a list of > columns names to be displayed. However, in the plugin_wiki

[web2py] Re: plugin_wiki widget jqgrid: colnames or columns?

2011-01-20 Thread blackthorne
ch column Best regards On Jan 19, 5:03 pm, blackthorne wrote: > The way you define the column names in the Jqgrid plugin is done, > according to the book, with the "columns" attribute is a list of > columns names to be displayed. However, in the plugin_wiki widget > bu

[web2py] plugin_wiki widget jqgrid: colnames or columns?

2011-01-19 Thread blackthorne
The way you define the column names in the Jqgrid plugin is done, according to the book, with the "columns" attribute is a list of columns names to be displayed. However, in the plugin_wiki widget builder interface that is done with the attribute "colnames". In the code plugin_wiki controller, the

[web2py] Re: social network idea

2011-01-19 Thread blackthorne
Maybe the bookmarking networks are considerably explored. Yet, most people don't even use the web for anything useful. All they want is already on Facebook galleries and those "social" networks. Bookmarking options are limited by its sources and most people sources are always the same, you just see

[web2py] Re: social network idea

2011-01-19 Thread blackthorne
Maybe the bookmarking networks are considerably explored. Yet, most people don't even use the web for anything useful. All they want is already on Facebook galleries and those "social" networks. Bookmarking options are limited by its sources and most people sources are always the same, you just see

[web2py] Re: reply-to setting in Mail()

2011-01-18 Thread blackthorne
TC-5, cjrh wrote: > > > On Jan 18, 7:37 pm, blackthorne wrote: > > > Maybe, this should be documented in the book. > > > Done.  I included it in the example, but I also added a description of > > the full signature of the mail.send() command.  I am hesitant to do &g

[web2py] Re: reply-to setting in Mail()

2011-01-18 Thread blackthorne
Just got there, if reply_to: payload['Reply-To'] = encode_header(reply_to.decode(encoding)) where reply_to is an arg for send(...reply_to=None...). Maybe, this should be documented in the book. Thanks On Jan 18, 5:17 pm, Anthony wrote: > Mail is documented in the book > (

[web2py] Re: reply-to setting in Mail()

2011-01-18 Thread blackthorne
and looks strange to me that I'm the first to need something like this on web2py. Considering the contents of your own reference, I gently ask you to go deeper on your reply, so it becomes clear. Thank you, Best regards On Jan 18, 3:27 pm, Gary Herron wrote: > On 01/18/2011 07:18 AM, bla

[web2py] reply-to setting in Mail()

2011-01-18 Thread blackthorne
Is it possible? how?

[web2py] Re: Table of Contents for plugin_wiki pages

2011-01-17 Thread blackthorne
iki/TableOfContentsPlugin > > On Jan 17, 5:31 am, blackthorne wrote: > > > > > Something that might interest plugin_wiki users, is the possibility to > > automatically generate tables of contents from a page based on > > headings and specially tagged divs. > > > just

[web2py] Table of Contents for plugin_wiki pages

2011-01-17 Thread blackthorne
Something that might interest plugin_wiki users, is the possibility to automatically generate tables of contents from a page based on headings and specially tagged divs. just put this on the page.html view of the plugin: {{extend 'layout.html'}} {{if page:}} {{if page.slug.startswith('meta-'):}}{{

[web2py] plugin_wiki using wiki and html mode

2011-01-16 Thread blackthorne
Consider a control for the page mode and that info would be stored with the page so that plugin_wiki would know how to render it. When editing it would be up to you, for each post to decide how do you want to do it.. Someone already tried to make the two of them to work simultaneously? Thanks Fra

[web2py] representing custom aliases to generate RSS feeds from generic tables

2011-01-15 Thread blackthorne
if you have an RSS feed generator like this: def feed(): w = db.plugin_wiki_page return db(w.active==True) (w.public==True).select(orderby=w.created_on).as_list() it won't work for plugin_wiki_pages out of the box because it doesn't respect the RSS format, being: dict(title="my fe

[web2py] Recommended links in web2py

2011-01-15 Thread blackthorne
hi ok this is not a specific web2py problem but I intend to solve it using web2py and I like you guys, so here it goes: I have a DB with posts, links, comments and other interesting contents. These contents are generated from an App. Let's say I use it to make a post. It would be nice to have a s

[web2py] Re: patch for URL() in meta-menu (plugin_wiki)

2011-01-07 Thread blackthorne
thanks, that must have been the only line of code I haven't really thought about On Jan 7, 5:36 pm, Jonathan Lundell wrote: > On Jan 7, 2011, at 9:26 AM, blackthorne wrote: > > > > > ok, after some work, here's the patch. > > Massimo, I tried to follow your way,

[web2py] Re: patch for URL() in meta-menu (plugin_wiki)

2011-01-07 Thread blackthorne
wiki.patch Best regards On Jan 5, 1:53 pm, Jonathan Lundell wrote: > On Jan 5, 2011, at 2:25 AM, blackthorne wrote: > > > > > ok > > > What about the menu option "/Computer /option", wouldn it be caught by > > the same regex currently used? > > I h

[web2py] Re: congratulations on making it to pycon2011 :)

2011-01-06 Thread blackthorne
Congratulations, that's a big deal. :) On Jan 5, 11:32 pm, Massimo Di Pierro wrote: > I just found out. Here is a complete list: > >  am happy to announce that we have been able to accept the following > tutorials for PyCon 2011: > Wednesday AM (7) > * Python 101 > * Pinax Solutions > * Web2py Se

[web2py] Re: patch for URL() in meta-menu (plugin_wiki)

2011-01-05 Thread blackthorne
ok What about the menu option "/Computer /option", wouldn it be caught by the same regex currently used? On Jan 5, 1:07 am, mdipierro wrote: > No it would not because ? is not allowed in args. > > On Jan 4, 5:58 pm, blackthorne wrote: > > > > > there I'

[web2py] Re: patch for URL() in meta-menu (plugin_wiki)

2011-01-04 Thread blackthorne
se. Are you suggesting a= to > specify args? Why the / on the right of =? > > On Jan 4, 3:55 pm, blackthorne wrote: > > > > > what if? > >   menu item             path               possible arg > > /Computer_option     /path/function?a=/Computer /opti

  1   2   3   >