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.
Archived Comments
AWESOME! I hope I have a use for it very soon!
WOW! That is a lot of changes! Thanks Mark for all the work!
I will download and start testing it.
Any upgrade recomendations? I see the database has changed so i will manually setup the new fields in my existing table.
Any other upgrade recommendations you might have?
I’m tooooo excited!
Thanks MUCHO Mark and of course BIG thanks again Ray, you totally rule.
Can’t wait to read it.
I forgot to mention that there is no readme to tell you what needs to change. Obviously that WILL be in the real release.
Looks great Ray. Thanks!
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).
Jeff, I thought export only got the latest version. I haven't yet updated my SVN so the files are all still dirty (or whatever you call it).
When exporting you can tell it to get the trunk or a specific package.
I don't use trunks. Just one folder.
Can someone point me towards an implementation somewhere? Id like to see this in action
Thanks
Prem
@prem - Not yet. When C2 is done I'll have a demo. I had one before but it got spammed.
Raymond - Thanks for the info. Since I havent seen another wiki that uses ColdFusion. I am guessing that there is also a database schema for the underlying database to be used with the wiki.
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
Lots of questions there. :) I'd suggest reading the docs as it does cover most of this. Yes - it does use a db. I don't know about a Mach II port. Right now there is no moderation, but you can enable security in C2 so that only certain people can post.
Will check out the docs. Thanks. I am in the planning phase right now and not quite ready to take on implementation.
Thanks again.
Prem
PS: I guess Im not the only one working 90 hours this holiday week hehe
Zip updated with fix for uploading jpegs via IE.
There was a Mach II port of the original Canvas wiki release ( I did it). I don't know if the code is still around, but it would be majorly out of date if it was.
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.
Thanks Ray.
Zip is updated. It includes some fixes from Mark. Also, I'm making the executive decision that I will NOT be supporting "old" style markup for code, B, I, headers. I will supply a conversion tool.
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.
How hard would this be to port into Fusebox 5.+
I have no idea as I'm not a Fusebox user. Maybe someone else here does...
Ray, I love your work! Can I run Canvas with a MSAccess database? Do you have any hints on how I can make one with the SQL file, or does anyone have one available?
Thanks, Don.
I haven't tested with Access, but it should work. You should be able to read the sql script and create a version in Access.
Got it working. It was easier than I thought. If anyone wants the access db, let me know. Thanks.
Where should I report bugs to? After I enabled LoginRequiredForEditing, I used the "admin" account and logged in. After it accepted the password, it gave me this error:
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.
Zip is refreshed. Please try again.
Sorry, not sure where to post for help, but I just downloaded canvas (and also modelglue for the fist time) and can't seem to get it working. I have this beta version of canvas and ModelGlue 1.1 Here's the error I'm getting:
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")>
Ah, that is an MX7 only attribute. I don't think Canvas required MX7 before, but it may going forward.
This is probably a no-brainer but it's stumping us a bit as we have not had to deal with this kind of problem before.
When a user goes to one of the pages, lets just say "http://www.site.com/index.c... 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.
Make sure you follow the directions here:
http://www.adobe.com/cfusio...