Canvas 2 Beta
I'm very happy to announce the beta for Canvas 2. Before I say anything at all about this release, I want to give thanks to Mark Mazelin. 100% of Canvas 2 is his work. It has been ready for a while now but I've just been too busy to release it yet. I'm releasing his work as a beta not because I don't trust his work - but mainly that it is so big a change that I need additional eyes to look at it. Plus, there are two changes I want to add in before the final release is done. So what exactly is in Canvas 2?
- implemented "What links here" for a page
- implemented delete page functionality
- implemented move (rename) page functionality
- implemented "Orphaned pages" for a site
- implemented mediawiki-like code section detection (lines that start with a space)
- reworked the paragraphing a bit to make it more mediawiki like
- added automatic table of contents (based on all the hx tags on the page)
- Per page category(ies) using mediawiki-type URL naming [[Category:MyCategoryName]]
- Categories page listing all available categories
- Individual Category pages for each category used listing all pages that use that category
- Recent Updates page
- "Stub" variable component
- Search will automatically redirect to a page if the page title (path) exactly matches the search criteria
- Ability to use spaces in document names (e.g. Use [[My Page Name]] in the wiki code)
- Modified Page History logic to show most recent at top instead of bottom, since most people are interested in the most recent revisions, rather than the oldest
- Authentication (login/logout/unique id stored as page author)
- Authorization: global authZ required for view/edit; page-level authZ for view; page-level authZ for edit
- AuthZ-based navigation inclusion
- Ability for a page to automatically redirect to another page: #REDIRECT [[RedirectPage]]
- Mediawiki-like headers (series of equals signs)
- Mediawiki-like bold (3 single quotes)
- Mediawiki-like italics (2 single quotes)
- Embedded lists (e.g. 2 asterisks embeds an unordered list within a list, complete with indentation), up to 3 levels deep
- Delete a page
- Printable (HTML or PDF)
- Diff engine
What is left to do? There will be a design change. I'll be keeping the design simple as it is now - but I want something a bit less top heavy and a design that can use the new logo. Secondly, to add to the new security methods I want to add LylaCaptcha.
So - download the zip and send me the bug reports. Please note I was too lazy to delete the SVN files and folders so pretend they don't exist.
Comments
I will download and start testing it.
Any other upgrade recommendations you might have?
Thanks MUCHO Mark and of course BIG thanks again Ray, you totally rule.
Can’t wait to read it.
Just a heads-up. I'm sure you already know this, but in case you don't... To remove the SVN subfolders use "export" instead of "checkout". That will export the files without any SVN subfolders (or CVS if you were using that instead).
Thanks
Prem
I also remember reading somewhere about someone trying to port it to Mach II. Do you know anything about this?
Wiki's getting spammed is a huge problem. Doesnt the moderator have to approve the edit before it goes permanently into the wiki?
I am planning on implementing a coldfusion based wiki pretty soon and I hope to use Canvas Wiki for this project.
Thanks
Prem
Thanks again.
Prem
PS: I guess Im not the only one working 90 hours this holiday week hehe
Perhaps I will re-port when Canvas 2 is officially released. Unless of course if someone else is more anxious to do so. It is a good way to learn MG and M2 differences, which is why I did it in the first place.
So development slowed down during the holidays and I want to get it back up. So please hit this up and lets get it ready for production. I wanted to get captcha end, but for now I can wait till 2.1.
Thanks, Don.
Message Element INSTANCE.POSTLOGINPATH is undefined in VARIABLES.
Detail
Extended Info
Tag Context E:\web_data\laboratory\canvas\model\UserRecord.cfc (95)
E:\web_data\laboratory\canvas\controller\UserController.cfc (39)
E:\web_data\laboratory\mg\ModelGlue\ModelGlue.cfc (482)
E:\web_data\laboratory\mg\ModelGlue\ModelGlue.cfc (379)
E:\web_data\laboratory\mg\ModelGlue\ModelGlue.cfc (336)
E:\web_data\laboratory\mg\ModelGlue\ModelGlue.cfc (296)
E:\web_data\laboratory\mg\ModelGlue\ModelGlue.cfm (64)
E:\web_data\laboratory\canvas\index.cfm (26)
I hope it's something trivial.
Attribute validation error for tag file.
The tag does not have an attribute called result. The valid attribute(s) are action, charset, accept, destination, filefield, nameconflict, mode, attributes, source, file, variable, output, addnewline.
The error occurred in D:\InetPub\wwwroot\bytality_com\ModelGlue\ModelGlue.cfc: line 85
Called from D:\InetPub\wwwroot\bytality_com\ModelGlue\Core\XMLModelGlueLoader.cfc: line 48
Called from D:\InetPub\wwwroot\bytality_com\ModelGlue\ModelGlue.cfm: line 12
Called from D:\InetPub\wwwroot\bytality_com\canvaswiki\index.cfm: line 26
83 : <cfargument name="type" type="string" required="true" hint="I am the type of the controller, i.e. ""com.myapp.mycontroller"".">
84 :
85 : <cfset var controllerInstance = createObject("component", arguments.type).init(this, arguments.name) />
86 :
87 : <cfif getConfigSetting("autowireControllers")>
When a user goes to one of the pages, lets just say "http://www.site.com/index.cfm/new page" we get a "file not found" error.
We are using IIS web server. My best guess is that its treating "new page" like a folder instead of processing the page through index.cfm as it should.
Any clues would be appreciated.

