Does auth.wiki need to be included in the doco todo list ? If plugin_wiki
is to be phased out does the Components chapter need updating to refer to
auth.wiki?
By the way, thanks for putting the book on github. A good lesson in
itself for a documentation app (on my list)
I need to add so
I know some of you have taught, or presented web2py in classrooms/seminars.
Massimo Now that version 2 is out, I am introducing web2py to my work
colleagues who are a little green to python, and programming in general.
Couldn't think of a better way to get them showing good results with a
mi
ing
an updated page.
Does you have to be in default/index to call auth.wiki() ?
Do users have to log in to see the wiki pages ? The login screen comes up
by default. I would like a wik page to come up by default.
Thanks
Andrew W
> wiki media are embedded with @5/slug.jpg where 5 is
In your web2py directory type in "touch NEWINSTALL" and then restart web2py.
It recreates the file you need. It should be there, unless it was deleted.
--
I can create pages OK, but when I click on Edit, make some changes and
then press Submit, the changes do not get displayed. The changes are still
there if I open up the Edit screen again, but the html won't change. I've
stopped and restarted rocket but the old html stays. I've tried on a few
P.S. Menu changes work, in that the menu text gets updated, but the
displayed menu text in the "content" area after I press submit still has
the old text.
On Tuesday, September 4, 2012 11:42:48 AM UTC+12, Andrew W wrote:
>
> I can create pages OK, but when I click on Edit, m
nt updates - page.html is not getting updated when
editing an existing page.
Hope this helps. Not sure how to fix it though. Is it the SQLFORM call
not triggering a compute of page.html?
On Tuesday, September 4, 2012 11:47:03 AM UTC+12, Andrew W wrote:
>
> P.S. Menu changes work, in th
(Starting a new post for this issue, mentioned in thread of a "simple wiki")
Issue:
On edit of an existing page, the wiki_page.body is being updated correctly, but
wiki_page.html does not change, it's compute function does not get called.
I've added some print statements and markmin_render() (t
Fixed in patch "fixed update with compute fields (again) and ecomponents in
markmin"
Thanks Massimo.
On Wednesday, September 5, 2012 2:19:44 AM UTC+12, Andrew W wrote:
>
> (Starting a new post for this issue, mentioned in thread of a "simple
> wiki")
>
> Is
Don't forget to "migrate=False" if you go to external databases.
--
Type in auth.wiki in the book's search field.
P.s. keen to learn more about auth.wiki.
--
Good work Martin,
I was thinking of looking at the book app for the same purpose.
I want to document some Disaster Recovery procedures, so I therefore also need
to create a PDF version as well. Do you think the book app vs auth.wiki() is
better (easier?) for generating PDFs.?
So many choices
Pasting in one of my urls into the browser, I always get a login screen. I
haven't turned on permissions=True.
Is there an extra step ?.
--
Good example Cliff.
--
No I didn't. Only just found out about URL=True. Di I pass as a URL variable
?
--
Thanks. My intention is to make , and print, a PDF of the markmin content,
just like the book. For disaster recovery doco, I want a hard copy.
With the new book app, are you still planning to have available a PDF from the
files?
--
Thanks. That would be great.
On Saturday, September 8, 2012 8:31:16 AM UTC+12, Massimo Di Pierro wrote:
>
> Yes. I will post the script soon. I need to fix it because I changed the
> markmin syntax of links so my previous script broke.
>
>
> On Friday, 7 September 2012 14:58:
The S comes from Welcome App's layout.html, line 80:
s
On Saturday, September 8, 2012 8:41:35 PM UTC+12, Andrew W wrote:
>
> Just Checking, were you logged in when you tried to open up the page ?
> Just to clarify, if I'm logged in it will take me directly to the page -
I've noticed that on Windows with tortoiseHG installed, that web2py doesn't
recognise it as a Mercurial Installation.I guess I have to install
Mercurial separately, although I'm using it through TortoiseHG ?
On Saturday, September 8, 2012 10:46:13 AM UTC+12, Massimo Di Pierro wrote:
>
> One
I use TortoiseHG on Windows which I find quite simple to use, although
sometimes I have to go back to the command line.
I recommend it.
In any case, the tar.gz should work. Are you getting an error ?
On Saturday, September 8, 2012 7:47:38 AM UTC+12, ikdme wrote:
>
> Hello,
> Please am a windows
auth.wiki is looking pretty good (for what I need it for). Sorry, but just
can't wait for the doco to arrive.
I want to create a doco site with a look and feel
like http://hginit.com/01.html. Note the tags off to the left.
This is done with
hg init creates a
repository http://hginit.com
Good point.
On Sunday, September 9, 2012 8:44:32 AM UTC+12, Tito Garrido wrote:
>
> auth.wiki shouldn't include a WYSIWYG widget by default instead of a text
> box?
>
> On Mon, Sep 3, 2012 at 10:16 PM, Andrew W
> > wrote:
>
>> I've just done some tests o
blic field? If
> so, did you tick it?
>
>
>
> On Saturday, September 8, 2012 9:41:35 AM UTC+1, Andrew W wrote:
>>
>> Just Checking, were you logged in when you tried to open up the page ?
>> Just to clarify, if I'm logged in it will take me directly to
Thanks Massimo, I'm testing it out now.
Does it support html helpers like H1("Hello") or {{ type python stuff
here}} ?
In another thread, the topic of WYSIWYG editors came up, but I think that
was in relation to just doing Markmin text entry. Does a WYSIWYG editor
make sense for render='h
I've looked for the magic is_public button, but I can't find it.
On Sunday, September 9, 2012 3:57:28 AM UTC+12, villas wrote:
>
> Just a thought, but doesn't the wiki page have an is_public field? If
> so, did you tick it?
>
>
>
> On Saturday, Septembe
Thanks Bruno for the comments,
I have been looking into the modelless approach so it's interesting to read
your views on the new lazy_tables feature.I think it is a lot simpler
creating an app that follows the MVC structure out of the box, so the lazy
option sounds like a great breakthrough
Excellent. Great explanation.
On Monday, September 10, 2012 1:15:32 PM UTC+12, rochacbruno wrote:
>
> On Sun, Sep 9, 2012 at 9:27 PM, Andrew W
> > wrote:
>
>> (although I still don't quite really understand what a lazy table is).
>
>
> imagine you
private but the author
> can choose the names of the groups who can read or write it. You can use
> the "everybody" group to make it public.
>
> On Sunday, 9 September 2012 18:19:30 UTC-5, Andrew W wrote:
>>
>> I've looked for the magic is_public button, but I
Hi Bruno,
I got the same error with movuca, which I downloaded today:
File "D:\Mercurial\web2py\gluon\dal.py", line 7149, in __getattr__
if ogetattr(self,'_lazy_tables') and \
AttributeError: 'DataBase' object has no attribute '_lazy_tables'
On Monday, September 10, 2012 7:24:15 AM UTC+1
With its SQL http://code.google.com/p/orient/wiki/GraphDatabase#SQL it sounds
like a candidate for a straight dal database adapter.
A graph database sounds interesting..
--
Is anyone else using Movuca with web2py version 2.x experiencing this ? I
downloaded the latest Movuca and I'm running web2py off trunk.
On Monday, September 10, 2012 4:59:08 PM UTC+12, Andrew W wrote:
>
> Hi Bruno,
> I got the same error with movuca, which I downloaded today
missing some s for the first "span12"s ?
On Wednesday, September 12, 2012 5:42:29 PM UTC+12, Annet wrote:
>
> Anthony is right, it's the span12 that's causing the problem. I had the
> same problem, and solved it by following the bootstrap pattern more
> strictly.
>
>
>
>
>
>
>
Perfect ! Thanks for the quick response.
I saw your solution above, but assumed that you had added it to github.
All's Good.
One more question please (which I asked on web2py slices):
How to use auth.wiki with movuca. There was a web2pyslices post in
relation to plugin_wiki, and I was won
Thankyou, an excellent resource.
If I could suggest one more, and I'd be happy to attempt this. I don't
know about others, but before I can make any sense of a page's layout and
what other people are saying about css ids and classes (this happened with
the menu bar), is that I have to draw a
Yes option 1 sounds right.
Otherwise you're entering 4th normal form territory
http://en.wikipedia.org/wiki/Fourth_normal_form
There may be many ways to do things in web2py, but you should still have a good
database design.
--
The book example is specifically talking about field names in a form. You have
an id for a HTML element. Maybe it is field/form specific, in that it is
getting the text from the specific named field.
--
Not sure, but try adding the attribute name= to the element.
--
You don't use LOAD() in the page.load file, you use it to from another x.html
file to load the page.load.
Is that what you were doing?
--
Great idea, allowing a core set of options, and add your own as well.
I've been meaning to have a look at Martin's bootstrap app, it would fit
into this approach - Having more than one valid option/approach.
On Friday, September 14, 2012 8:43:27 AM UTC+12, rochacbruno wrote:
>
> also it will nee
Having troubles installing web2py as a windows service. I'm running 2.0.9
windows exe.Note that I've never run it like this before until version
2.0.x.
File "gluon/winservice.py", line 157, in web2py_windows_service_handler
WindowsError: [Error 267] The directory name is invalid : 'E:\\ ...
Done. 1011.
--
Thanks. Well it installs OK, but won't start - just times out.
Found some inconsistencies in the book:
*Deployment Recipes:*
"In order to use web2py as a Windows service, you must create a file
"options.py" with startup parameters"
and one of the options mentioned "numthreads" appears in the
I used the nightly build, I'll try the source version next.
--
Thanks Tim,
Just confirming, you used the settings in options_std.py file in web2 py dir,
not the ones shown in book.
--
Anyone using Instantpress with web2py V2.x ?
I get this error when I click on Users icon on the panel:
File "applications/instantpress/modules/plugins/users.py", line 135, in
db.auth_user.username.represent = lambda value, row: status(value, row)
File "applications/instantpress/modules/
FYI, I've also logged this on the project's bitbucket site:
https://bitbucket.org/mulonemartin/instantpress/issue/12/error-clicking-on-users-menu-option
In case you're using Instantpress, the issue is caused by a mismatch
between the specified fields and then referencing a field that is not in
Hi,
I need some help please. I've just deployed my first auth.wiki app. I'll
let you know what it is once it's working properly.
I've deployed to HostGator using web2py 2.3.2 (and the posts in this forum
on the subject were very helpful).
Using render='markmin'
Everything was looking good o
Projects
On Thursday, January 10, 2013 8:19:23 AM UTC+13, Andrew W wrote:
>
> Hi,
> I need some help please. I've just deployed my first auth.wiki app.
> I'll let you know what it is once it's working properly.
>
> I've deployed to HostGator us
I'll answer my own questions :) :
It's because the wiki page saves the body (user entered content) and the
generated html separately. The html has not been regenerated.
How do I get it to regenerate all of the pages after deployment in the new
environment ?
Thanks
Andrew W
O
and again:
I edited each page and submitted. All OK.Just a little bit of a pain.
It is only a one off task, but would a Submit All button be appropriate on
the Manage Pages page ?
On Thursday, January 10, 2013 8:42:34 AM UTC+13, Andrew W wrote:
>
> I'll answer my ow
re too.
How do I do it ?
P.S. If we mention Chapter numbers in the book, should we also include
them on the chapter index ?
Thanks
Andrew W
--
Thankyou very much !
On Friday, January 11, 2013 8:18:11 AM UTC+13, Jonathan Lundell wrote:
>
> On 10 Jan 2013, at 11:04 AM, Andrew W >
> wrote:
> > Anyway, for my auth.wiki app, I don't want people to see this:
> > http://www.myweb2pywebsite.com/init/default/i
hony
>
> On Thursday, January 10, 2013 2:04:31 PM UTC-5, Andrew W wrote:
>>
>> Hi all,
>>
>> Did we prune some content out of the book on this ? I'm sure there was
>> more before.
>>
>> This is a line out of the Services chapter, talking about
Hello Brian,
Thanks very much for sharing your script. It works a treat and saved me a
lot of time and confusion.
Andrew
On Wednesday, May 2, 2012 11:18:25 PM UTC+12, RAHUL PRIYADARSI wrote:
>
> Dear Mr.Brian,
> Thank you very much for you reply.
> " If you're worried about text alignment and
I
would like it to redirect and find my new page at (with full url)
"mydomain.com/init/default/index/aboutus.
It is not obvious (to me) after looking at router_example.py and the
book. Do I need to use the pattern based approach for this ?
thanks
Andrew W
On Friday, January 11, 2013 1
Don't bother, I should have looked in routes_example.py too. Thanks.
On Friday, January 11, 2013 4:13:39 PM UTC+13, Andrew W wrote:
>
> One more question if I may (I still don't get it):
>
> I am also replacing an existing website with a new web2py site. I'
I've tried touching and renaming the fcgi file but I can't see any changes.
Either it hasn't picked up the changes, or I've done it wrong. Any way of
knowing if routes.py has kicked in ?
P.S. I'm running shared on HostGator, with no admin (ssl) access.
Will killing all the fcgi running pr
utes_app = ((r'/(?Padmin|init)\b.*', r'\g'),
(r'(.*)', r'init'),
(r'/?(.*)', r'init'))
Do I need to put something in:
BASE = '' # optonal prefix for incoming URLs
such as the domain name ?
If I fill in routes_app, do I then need to have a separate routes.py for
each of the applications in their respective application folder ?
Thanks
Andrew W
>>>>>
--
Great work.
And if you want to see a deployed auth.wiki, go to:
performancecomposites.co.nz
There are still some routes.py and IE things to sort out, but it's working.
Any one in need of a wheel for their racing yacht ?
On Sunday, January 13, 2013 4:45:11 AM UTC+13, wwwgong wrote:
>
> Th
Thanks
default/index.
The main page has a lot of tags like {{=auth.wiki('whatwedo')}} so that
each subsection can be edited through the [Wiki] menu. The rest are
straight one wiki page for each url. (except for Contact where I use a
component. I would probably rejig the front page at some poi
I just tried something like this:
if request.function != 'wiki':
response.menu += Wiki(auth).menu(controller="default", function="wiki")
On Wednesday, January 16, 2013 10:07:06 PM UTC+13, Paolo valleri wrote:
>
> Hi Alan, thank for the tip :-), it seems to work correctly.
> The only issue is
I won't get it done before Saturday, but here's one:
replace the first "http://code.google.com/p/instant-press/";
with
"https://github.com/rochacbruno/Movuca";
On Tuesday, January 22, 2013 1:29:25 AM UTC+13, dhmorgan wrote:
>
> Signed, I hope!
>
> I just downloaded diff and am looking forward to
Would you use ember with web2py? Why?
Is having two mvc frameworks at the same time too many?
--
---
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+unsubs
the [wiki] menu option is good for the person maintaining the website, but
shouldn't be seen by others (at least those not logged in) .
How do I hide it for unauthorised users ?
Any update on when the book will contain auth.wiki information ? I can see
plugin_wiki still there.
Thanks
A
I logged that one, and I emailed Martin with details of a fix.
Hoping to here from him.
On Sunday, September 30, 2012 5:47:22 AM UTC+13, Jimi wrote:
>
> Never mind, I see now it's been logged as an issue.
>
> On Sunday, September 23, 2012 11:17:49 AM UTC-4, Jimi wrote:
>>
>>
>> New to web2py,
You may be looking at the wrong version.
There is one at https://bitbucket.org/mulonemartin/instantpress , last
updated early 2012.
You are probably looking at http://code.google.com/p/instant-press/. which
I believe is the old version.
Martin, could you remove the second one please (if it
Trying to run the windows app with Apache, but it doesn't have the
wsgihandler.py file.
Can this version run with Apache, or do I need the source version.
What should WSGIScriptAlias in the Apache conf file be set to ?
--
12 2:22:36 AM UTC+13, Massimo Di Pierro wrote:
>
> I agree. Changed the behavior in trunk.
>
> On Thursday, 25 October 2012 03:44:08 UTC-5, Andrew W wrote:
>>
>> the [wiki] menu option is good for the person maintaining the website,
>> but shouldn't be seen by o
Because you don't. ( at least I haven't had to)-
Back to your first post, how did you create your first page because the URL you
have there is not what web2y produces.
It's working ok for me so far so if you could add some more detail as to how
you did it and what you clicked.
--
I can't step through it right now, but in step6 did you type in the name of
your new page before pressing the button?
You need to enter the name of the page, or "slug" before pressing Create from
Slug.
Maybe that is it, your page doesn't actually have a "slug". ( who came up with
that name in t
ing
> something wrong because there would be a lot of broken sites out there. Can
> someone else test and let me know if I am being an idiot or confirm that
> there is a problem.
>
> Thanks
> Simon
>
> On Sunday, 28 October 2012 07:56:30 UTC, Andrew W wrote:
>>
>&
You're welcome, and I agree - doco is required to make any sense of it.
I have gleamed what I know from various posts to this group. It does need
to be combined and given a bit of context. I would like to do the same but
am trying to get a little more understanding first (and time !). I guess
Is it a web service interface to ebay what you are after, and storing some
details locally ? If it is I'm not sure that extending the DAL is the
right way to go. If you just want to interface to query ebay, look
at
http://developer.ebay.com/DevZone/shopping/docs/Concepts/ShoppingAPIGuide.html
Yes, there are a lot of advantages, but if your legacy tables can't be changed ?
Is it worth exploring The addition of PK support in forms and the grid? Not
the most optimised solution, but one that you may have to do.
--
?
I can post this to the developer group if more appropriate.
Thanks.
On Saturday, October 27, 2012 9:01:42 AM UTC+13, Andrew W wrote:
>
> Looking at the change, it looks like a non logged in person can still see
> "[Wiki]".
> Could I suggest that the append statement c
Works great, thanks. I've also sent Massimo a patch for tools.py to fix
it in trunk.
I hope to deploy a website soon using auth.wiki and this was one of my last
hurdles.
On Wednesday, November 7, 2012 12:25:44 AM UTC+13, villas wrote:
>
> I do not want the wiki menu to be displayed to anyone e
Is anyone using video links with auth.wiki ?
I'm just getting the bottom bar with the Play button, but nothing else and
nothing happens when I press Play.
I did have success with plugin_wiki, but I would like to get it up and
running with auth.wiki.
I've tried with Chrome and Safari.
Thanks
No, I was posting a link to a youtube video.
On Friday, November 16, 2012 2:41:01 PM UTC+13, Massimo Di Pierro wrote:
>
> what video type. Are the video hosted in the wiki?
>
> On Thursday, 15 November 2012 02:05:20 UTC-6, Andrew W wrote:
>>
>> Is anyone using video links
Does the plugin_wiki syntax work in auth.wiki ? (I'll try it tonight).
>From the book (plugins section):
For example, to embed a YouTube video in a plugin_wiki page, you can do
``
name: youtube
code: l7AWnfFRc7g
``:widget
or to embed the same widget in a web2py view, you can do:
{{=plugin_w
Yes, it's broken: AttributeError: 'Wiki' object has no attribute 'extra'
I made the change below and it works.
On Saturday, November 17, 2012 12:54:14 AM UTC+13, villas wrote:
>
> Hi Massimo,
> I've just been checking it.
> I think you need to change this...
>
> Wiki __init__()
>
> This
Thanks.
That's what I did.
On Friday, November 16, 2012 11:56:49 PM UTC+13, Massimo Di Pierro wrote:
>
> No. You do not need it. You just cut and paste the link to the youtube
> video page and it will embed the video automatically.
>
> On Thursday, 15 November 2012 22:3
I'm assuming it works differently to the markmin document.I can see is
adds a class called "custom", but I don't see the lambda function working
as in:
>>> markmin2html("‘‘aaa‘‘:custom", extra=dict(custom=lambda text:
’x’+text+’x’
generates
’xaaax’
(the ‘‘...‘‘:custom block i
Have you read the Overview chapter of the book?
To achieve what you want you would not put controllers in the model folder,
they go in the controllers folder. The default/index in the path refers to
the file name and the function within the file name.
So green/eggs/ham.refers to the green app,
The book has been at 4th edition for a while and I'm sure there have been
updates since then. The edition numbers may tick over at major updates,but is
it possible to put a last update date on it to tell when it has changed.
One thing we talked about before version 2 was getting the doco up to
Thanks.
On Friday, November 23, 2012 2:39:41 PM UTC+13, villas wrote:
>
> Hi Andrew
> You can see the current state and updates here:
> https://github.com/mdipierro/web2py-book
>
>
> On Thursday, November 22, 2012 4:32:39 PM UTC, Andrew W wrote:
>>
>> The book ha
Could you please confirm that it's working OK ?
thanks
On Saturday, November 17, 2012 10:37:14 AM UTC+13, Andrew W wrote:
>
> Thanks.
> That's what I did.
>
> On Friday, November 16, 2012 11:56:49 PM UTC+13, Massimo Di Pierro wrote:
>>
>> No. You do no
This is what I see and the play button doesn't work (see attached). The
link is OK as I can open it if I right click and press Open Video in new
tab.
Thanks
On Friday, November 23, 2012 3:51:49 PM UTC+13, Andrew W wrote:
>
> Could you please confirm that it's working
What about a "prefix" column, and filter all selects on the prefix. A single
database ctructure sounds more scalable and logically you're partitioning the
data based on login or context. Prefixing table names doesn't sound like a
good idea.
--
May I ask, in terms of status, where are we up to ?
What is *still left to do* to bring the documentation up to date for
Version 2.2.x ?
Thanks.
On Friday, November 23, 2012 3:46:01 PM UTC+13, Andrew W wrote:
>
> Thanks.
>
> On Friday, November 23, 2012 2:39:41 PM UTC+13,
:13 UTC-6, Andrew W wrote:
>>
>>
>> This is what I see and the play button doesn't work (see attached). The
>> link is OK as I can open it if I right click and press Open Video in new
>> tab.
>>
>> Thanks
>>
>>
>> On Friday, Nov
t a video. it is a page containing a video. You have
> to let web2py's oembed protocol figure out how to embed it.
>
> On Wednesday, 28 November 2012 02:27:03 UTC-6, Andrew W wrote:
>>
>> It's:
>>
>> Ecover at sea
>>
>> [[ecover http://w
publishing to 5th edition.
>
> Massimo
>
> On Tuesday, 27 November 2012 23:01:17 UTC-6, Andrew W wrote:
>>
>> May I ask, in terms of status, where are we up to ?
>>
>> What is *still left to do* to bring the documentation up to date for
>> Version 2.2.x ?
&g
But I think you need to differentiate between the wiki static pages, and
"blog" type of article pages.I think the intent of auth.wiki was to
allow the simple creation of a user updated website, not so much with blog
type articles pages.
But that's an interesting way to get both. What a
omised style to
your auth.wiki page.
I hope to show it in use very soon.
On Monday, November 19, 2012 1:15:52 AM UTC+13, Massimo Di Pierro wrote:
>
> Should work the same. Perhaps this is a bug. Please open a ticket and I
> will look asap.
>
> On Saturday, 17 November 2012 19:21:
I assume you are no longer talking about markmin. I didn't think you
could use {{ }} in markmin.
Correct ?
On Sunday, December 2, 2012 10:51:49 PM UTC+13, apps in tables wrote:
>
> Thank you...
>
> On Sunday, December 2, 2012 7:45:50 AM UTC+3, Massimo Di Pierro wrote:
>>
>> You are missing
Hi Alan,
I have been checking out auth.wiki to see what can be done, in particular
how to get different page layouts within the one "index" controller and
view.
Would you wrap something like this example (from the slice) in an if clause
? Or, I imagine you could use this scenario for boilerplat
Does your dbms support count(distinct ) ?
What happens if you only put one column in COUNT(DISTINCT vista.municipio) ?
On Friday, December 14, 2012 1:13:32 PM UTC+13, Niphlod wrote:
>
> it may help knowing what are you trying to count (e.g. write down the
> plain sql syntax you'd like to fire
Also, with Images I can do left , right, center.
Can I do something like a css clear / clear: both ?
On Friday, December 14, 2012 6:35:11 AM UTC+13, viniciusban wrote:
>
> I need to identify images by its location. When they're inside a
> table, it's easier because I can attach a class to the ta
I hope to have a website up and running soon where I have done the
following (If you have a better idea, then please let me know)
in layout.html, or in default/index.html
{{if request.args==['index'] or request.args==[]: }} # The Main Page
.other stuff
# Or
Thanks, but how do I specify the class in the wiki page?
--
1 - 100 of 155 matches
Mail list logo