History of Discuss_Version_0.40_DevTrack
The most recent revision number of this page is 26. It has been viewed 515 time(s). It was last modified Wed Nov 12 16:51:52 UTC 2014 by AaronGraves. There are 156 lines of text, 1,438 words, 9,029 characters with spaces and 7,674 without. The total page size (including metadata) is 10,058 bytes (9.82 KB)

See all pages that link to Discuss_Version_0.40_DevTrack

16:51 UTC (current) Revision 26 . . . . AaronGraves ( – The sub **DoRevision()** has been removed. **DoRequest()** now can handle `revision=` parameters of the URL. So beginning with this version of Aneuch, to see a past revision of a page, one simply need append `?revision=**NUMBER**` to their request.
15:53 UTC Revision 25 . . . . AaronGraves ( – I wrote the [[Plugins Snippets|snippets plugin]], however I'm debating on adding it in to the base code of Aneuch. There are obvious benefits, but also obvious drawbacks.Firstly, I'd like to attempt to keep Aneuch fairly light-weight. To avoid feature creep. Yet, this might be a handy feature.On the other hand, snippets open a channel for abuse. Given the way they work, a malicious user could fairly easily use them for nefarious purposes. Which is why it's important that only authenticated administrators can edit/create snippet code.
19:57 UTC Revision 24 . . . . AaronGraves ( – Several changes were made today:* The framework for editing pages was updated to allow editing previous versions of the page* The "DoRevert" action was removed. Instead, clicking on the revert button takes you the edit screen where you are editing that revision of the page* DoEdit now uses ReadDB and WriteDB to store temp files (rather than the hokey way it was doing it before)The second change mentioned above should all but eliminate bots "accidentally" reverting pages to previous revisions.
15:50 UTC Revision 23 . . . . AaronGraves ( – A couple of things for the 0.40 release...For nowiki switches, I need to code to the creole standard and use triple-braces (**{** and **}**). However, the creole standard does not allow for HTML code embedded in the nowiki switches. This is particularly problematic, as anywhere I use nowiki switches, it's to embed HTML (another user has expressed similar concerns).However, from a security standpoint, allowing an "anybody can edit" wiki to have embedded HTML code is a recipe for disaster. So a couple of things need to be done. I'm thinking that I will make HTML embedded code non-allowable inside the nowiki switches by default. Then I'll add a toggle option to the config file to switch that on if desired by the site administrator. Finally, I'm thinking of making it so that even if HTML embeds are allowed, you will have to have the administrator password. This, however, could cause some site admins to balk a bit, because they might want to allow certain users to embed HTML, however not give them the site password.This will require the introduction of another password possibility, something like "editor password" or similar. Or, I could simply code the wiki to allow individual accounts with ACLs. This will be a **HUGE** undertaking, however, and 0.40 has already languished in development stage for quite some time. So maybe as a stop-gap measure, introduce the editor password to 0.40, and work on user accounts for 0.50.
19:41 UTC Revision 22 . . . . AaronGraves ( – For the problem of bots triggering a revert of a page, I'm thinking this solution will work... allow Aneuch to edit previous versions of a page. When the revert button is clicked, an edit is triggered of the particular version of the page. This would require the edit to be submitted, which would require it to pass all the other sanity checks. This would (effectively) eliminate bots from triggering a page reversion.
03:33 UTC Revision 21 . . . . AaronGraves ( – Ok, gotta get my butt in gear on this. I need to take stock and figure out what's waiting to go into 0.40, and what can be pushed. This has gone on long enough, and it needs to get out the door.
14:43 UTC Revision 20 . . . . AaronGraves ( – Before I push out 0.40, I want to add in the basic elements for notifications/subscriptions. The goal is to make subscribing to the RecentChanges possible at minimum.
21:01 UTC Revision 19 . . . . AaronGraves ( – As a temporary stop-gap measure, in the development version of Aneuch running this website, I have set the **DoRevert** action to pass the **IsAdmin()** check. It will fail if it does not.
16:08 UTC Revision 18 . . . . AaronGraves ( – There's actually even a third option:* Allow the editing of page versions besides the current version. When revert is triggered, call edit on the version that was triggered by the revert.
16:01 UTC Revision 17 . . . . AaronGraves ( – A bot has again triggered the reversion of some pages on the main Aneuch site. So for the next release, page reversion needs to be rethought so that it cannot be triggered by a bot in any way. A couple of ideas:* Make page reversion only possible if the user is logged in (IsAdmin)* Make page reversion require a unique identifier in the confirm= field. So instead of 'yes' maybe it could be something like the date, time, and IP address
20:25 UTC Revision 16 . . . . AaronGraves ( – Version 0.40 should be pushed to ship. It's stalled for too long. The things holding it back will likely get scrubbed in favor of [[Version 0.50]].
13:34 UTC Revision 15 . . . . AaronGraves ( – Yesterday I implemented robots.txt handling. Now, I want to implement page description and keyword fields, for SEO purposes. I also want to develop an algorithm that will auto-populate the description and keyword fields if they have not been manually set.
19:44 UTC Revision 14 . . . . AaronGraves ( – Thinking of a new short code, called `discusspage` which provides a link to the discussion page (if enabled) of an article. If you're on the discussion page, it'll provide a link back to the article page. Further, it can take arguments for link text, and possibly even page (for example, if you want to point to the discussion page for article XYZ)
18:06 UTC Revision 13 . . . . AaronGraves ( – I have fixed a bug in the URI handling for Aneuch whereby the semicolon was being sent at %3B by some requesters (ahem, Google), and was causing some rather unexpected results.
18:37 UTC Revision 12 . . . . AaronGraves ( – Reading and writing cookies has been converted to CGI.pm methods.
19:33 UTC Revision 11 . . . . AaronGraves ( – The code for reading/writing cookies needs to be changed (convert to using CGI.pm)
19:57 UTC Revision 10 . . . . AaronGraves ( – Today I changed the way **DoVisit** and **DoAdminListVisitors** work. Basically, the visitor log file will be much easier to get information from.
14:48 UTC Revision 9 . . . . AaronGraves ( – Debating on renaming Shortcodes to Macros.Also, I changed shortcodes from using single brackets to single percent signs.
16:26 UTC Revision 8 . . . . AaronGraves ( – Shortcodes were implemented on the 20th of March.
18:06 UTC Revision 7 . . . . AaronGraves ( – Here's a list of mime types (for reference): [[http://webdesign.about.com/od/multimedia/a/mime-types-by-file-extension.htm]]
16:36 UTC Revision 6 . . . . AaronGraves ( – Moved File Uploads to Implemented, and CGI.pm to Partially Implemented
16:11 UTC Revision 5 . . . . AaronGraves ( – File uploads are implemented, and working. This will introduce two new variables to the config file. They are:* **$UploadsAllowed** - Set to 1 for allowed, 0 for not allowed. Default will be 0.* **@UploadTypes** - Array that holds the MIME types of allowed file uploads. The default is set to include 'image/jpeg', 'image/gif', and 'image/png'.
17:15 UTC Revision 4 . . . . AaronGraves ( – New search is in place and seems to work fairly well. Unsure at this time if there is a "noticeable" speed difference.
16:24 UTC Revision 3 . . . . AaronGraves ( – **DoSearch()** is going to be re-written to be faster (it's fast if you only have a few pages, but as you get up around 100 or more, it slows down noticeably).Also, file uploads should be implemented soon and tested.
16:16 UTC Revision 2 . . . . AaronGraves ( – Actually it turns out it didn't break quite a bit, only one thing was broken. That one thing was the **ReDirect()** sub. It's been fixed, and things seem to be working well now. I may move the prototype 0.40 into active state for the main site.
21:50 UTC Revision 1 . . . . AaronGraves ( – Beginning to move over to using CGI.pm, and it has broken quite a bit already. This will be quite an involved and trying process.