includes/pageprocess.php
2010-06-03 Dan Rewrote category editor. This breaks the JSON API. Also fixed a few bugs with how Wiki Mode is set in $paths. (Hopefully that doesn't cause infinite loops, heh). Fixes issue 20.
2010-03-29 Dan Going ahead with the switch to tabs. This is a major coding standards change! If any unusual parser bugs show up, check this changeset. Converted all .php, .js, .tpl, .css, and .json files and did basic testing.
2010-02-01 Dan Fixed more places where author_uid wasn't right.
2009-12-19 Dan Fixed no author_uid in PageProcessor::rename_page()
2009-12-19 Dan Logs: Fully integrated an author_uid column. Logs are now linked by user ID instead of just username, so they survive username changes better. Database is changed. Fixes issue 6.
2009-08-21 Dan Fixed some upgrade bugs; added support for choosing one's own date/time formats; rebrand as 1.1.7
2009-07-18 Dan Editor: completely moved wiki edit notice to AJAX fetch, so it's not shipped with the page anymore.
2009-06-21 Dan First implementation of new parser; Text_Wiki is now gone. VERY BETA! WiP.
2009-05-10 Dan Wikitext redirects should work again + get_redirect() added to Namespace_* to allow plugins to extend
2009-05-05 Dan Made some more changes to the way namespaces are handled, for optimization purposes. This is a bit of a structural reorganization: $paths->pages is obsoleted in its entirety; calculating page existence and metadata is now the job of the Namespace_* backend class. There are many things in PageProcessor that should be reorganized, and page actions in general should really be rethought. This is probably the beginning of a long process that will be taking place over the course of the betas.
2009-04-17 Dan Cleared up a few discrepancies in page handling, template var init, and how NewsBoy works.
2009-04-15 Dan Deletion vote reset is now logged and able to be rolled back
2009-04-15 Dan File rollbacks should be all up to date now.
2009-04-13 Dan Live Re-Auth is now required for deleting pages, editing ACLs, protecting pages, and clearing logs. Committing in a hurry as a storm is coming in, hope everything is in there.
2009-04-13 Dan Whoops, page protection code didn't flush page_meta cache
2009-03-21 Dan Silenced check for page_format due to warning thrown when saving new page
2009-02-16 Dan Major redesign of rendering pipeline that separates pages saved with MCE from pages saved with the plaintext editor (full description in long commit message)
2009-01-26 Dan Merging Nighthawk (anti-spam work) and Scribus (AJAX work + debugging + CLI installer) branches
2009-01-26 Dan Added (very basic) spam filtering plugin support. Plugins can mark a message as spam by hooking into the spam check API, which is documented in functions.php. No spam checking functionality is built-in.
2009-01-26 Dan PageProcessor: fix not setting page_exists to true after create_page() success (todo: move to Namespace_*?); add $visible parameter to create_page()
2009-01-04 Dan Two big commits in one day I know, but redid password storage to use HMAC-SHA1. Consolidated much AES processing to three core methods in session that should handle everything automagically. Installation works; upgrades should. Rebranded as 1.1.6.
2009-01-03 Dan Major underlying changes to namespace handling. Each namespace is handled by its own class which extends Namespace_Default. Much greater customization/pluggability potential, at the possible expense of some code reusing (though code reusing has been avoided thus far). Also a bit better handling of page passwords [SECURITY].
2008-12-23 Dan Added dynamic reload-less re-auth to admin panel, so that if a session is lost it can be recovered without a reload. Support for hooking into form submits will be added in the future.
2008-11-15 Dan Added ability to have alternate main page for members
2008-08-18 Dan Revamped page deletion interface; fixed bug where page_meta cache was not being cleared upon restoration of deleted page.
2008-08-13 Dan Changed namespace properties (including core identifier) for external pages that load the Enano API to be a uniform "API" namespace and "SystemAPI:" prefix.
2008-08-12 Dan Rebranded as 1.1.5 (Caoineag alpha 5) and fixed a couple bugs related to CDN support in template_nodb and installerUI. Updated readme.
2008-08-05 Dan Made customizable 404 page have a {STANDARD404} variable available to allow embedding the "default" 404 content.
2008-07-28 Dan Added tab-based interface to userpage UI. Yes, it is plugin expansible, and yes, it breaks existing plugins that add code to the userpage (but that can be fixed with a "colspan=4")
2008-07-10 Dan Added Gravatar support! And it's really configurable too.
2008-07-07 Dan Fixed missing require() on stats.php in pageprocess; made pageprocess update the metadata cache on page rename
2008-07-03 Dan More optimization work. Moved special page init functions to common instead of common_post hook. Allowed paths to cache page metadata on filesystem. Phased out the redundancy in $paths->pages that paired a number with every urlname as foreach loops are allowed now (and have been for some time). Fixed missing includes for several functions. Rewrote str_replace_once to be a lot more efficient.
2008-07-02 Dan Another sweep from the optimization monster.
2008-06-15 Dan Got ACL scope logic working again and began enforcing it. Breaking API change: assigning page title with $template->tpl_strings['PAGE_NAME'] will no longer work, use $template->assign_vars(). Workaround may be added later. Test for assign_vars method if compatibility needed. Added namespace processor API (non-breaking change). Several other things tweaked around as well.
2008-06-15 Dan Fixed some plugin compatibility issues seen in Nuggie
2008-06-07 Dan Modified $template->init_vars() to pivot to local page metadata and permissions from a PageProcessor object instead of global data from $paths and permissions from $session to allow redirects to affect on-page controls as well as the actual content (only partially complete, protection and several other elements still need to be localized)
2008-05-06 Dan Added ETag support and increased caching settings to try and speed the system up. Result of a YSlow audit.
2008-05-05 Dan Massive commit with various changes. Added user ranks system (no admin interface yet) and ability for users to have custom user titles. Made cron framework accept fractions of hours through floating-point intervals. Modifed ACL editor to use miniPrompt framework for close confirmation box. Made avatar system use a special page as opposed to fetching the files directly for caching reasons.
2008-04-14 Dan Rebrand as 1.1.4 (Caoineag alpha 4)
2008-03-27 Dan Made some improvements to ACL system including: warning on setting Deny for Everyone on the entire site, added ACL_ALWAYS_ALLOW_ADMIN_EDIT_ACL, and changed behavior as noted in the docs so that Deny for Everyone is no longer able to be overridden
2008-03-18 Dan Fixed some stray version numbers (again!); added support for Diffie-Hellman logins in the normal login form (not AJAX) - even works in IE
2008-03-11 Dan Fixed some display issues with breadcrumbs (thanks Manoj)
2008-03-07 Dan Hopefully completed rewrite and localization of rollback backend and interface
2008-03-03 Dan Added modal dialog support for page editor; added customizability for breadcrumbs (thanks to Manoj for idea)
2008-03-03 Dan Implemented password reset (albeit hackishly) into the new login API; added dummy window.console object to hopefully reduce errors when Firebug isn't around; fixed the longstanding ACL dismiss/close button bug; fixed a couple undefined variables in mailer; fixed PHP error on attempted opening of /dev/(u)random in rijndael.php; clarified documentation for PageProcessor::update_page(); fixed some logic problems in theme ACL code; disabled CAPTCHA debug
2008-03-01 Dan Fixed the fact that cron just didn't work at all (brain fart that day or something)
2008-02-22 Dan Merging fixes and updates from stable branch
2008-01-02 Dan Adding a few stray files and removing the no-longer-needed Creative Commons Attribution 2.0 license (no more libraries under that license are included with Enano); adding hooks pageprocess_render_{head,tail} to be run before and after the final page render, respectively.
2008-02-18 Dan Modernized Special:CreatePage.
2008-02-11 Dan Rebrand as 1.1.2; made upgrade framework functional
2008-01-30 Dan Localization is FINISHED, DAMN IT HELLAH YEAH! OVER WITH! Man, it feels to get that off my chest. Release is in under 48 hours, folks. And we're ready for it.
2008-01-29 Dan Rebranded source code as 1.1.1; added TinyMCE ACL rule as per Vadi's request: http://forum.enanocms.org/viewtopic.php?f=7&t=54
2008-01-26 Dan Removed stray debugging info from ACL editor success notification; added ability for guests to set language on URI (?lang=eng); added html_in_pages ACL type and separated from php_in_pages so HTML can be embedded but not PHP; rewote portions of the path manager to better abstract URL input; added Zend Framework into list of BSD-licensed libraries; localized some remaining strings; got the migration script working, but just barely; fixed display bug in Special:Contributions; localized Main Page button in admin panel
2008-01-25 Dan A number of scattered changes. Profiler added and only enabled in debug mode (currently on), but awfully useful for fixing performance in the future. Started work on Admin:LangManager
2008-01-22 Dan Localized the 404 page, w00t.
2008-01-22 Dan Finished localizing PageProcessor, we hope
2008-01-03 Dan WiP commit for admin panel localization. All modules up to Admin:UserManager (working down the list) are localized except Admin:ThemeManager, which is due for a rewrite
2007-12-30 Dan Localized the first parts of the admin panel. As a consequence, also wrote a brand new Admin:PageManager that doesn't suck like the old one did.
2007-12-28 Dan Replaced TinyMCE 2.x with 3.0 beta 3. Supports everything but IE. Also rewrote the editor interface completely from the ground up.
2007-12-21 Dan Added update-checking function (still a little rough around the edges); added support into admin user CP for changing avatars
2007-12-21 Dan Added initial avatar support. Currently rather feature complete except for admin controls for avatar.
2007-12-20 Dan Redid merge, the previous one had a few problems
2007-12-19 Dan Fixed: $paths->page_id not set when the page doesn't exist; finally fixed garbled page names for IP addresses
2007-12-19 Dan Many changes. Installer with PostgreSQL is broken badly and will be for some time.
2007-12-15 Dan SURPRISE! Preliminary PostgreSQL support added. The required schema file is not present in this commit and will be included at a later date. No installer support is implemented. Also in this commit: several fixes including <!-- SYSMSG ... --> was broken in template compiler; set fixed width on included images to prevent the thumbnail box from getting huge; added a much more friendly interface to AJAX responses that are invalid JSON
2007-12-12 Dan Fixed focus of AJAX login form fields in IE; removed stale/unused call to $template->makeParserText() in paginate_array(); added hook page_create_request to possibly help control creation of pages of certain namespaces from plugins; fixed critical bug in user CP that prevented plugins from adding custom CP modules
2007-12-07 Dan Localized remainder of on-page tools and parts of PageProcess
2007-12-07 Dan Merging in changes from stable
2007-12-03 Dan Improved physical pages: they support comments and have their own dedicated namespace now. Still some consistency fixes to make.
2007-12-02 Dan Merging in the newly stable Coblynau
2007-11-24 Dan Fixed a number of issues with SQL query readability and some undefined index-ish errors; consequently the SQL report feature was added
2007-11-23 Dan Changed all urlname/page_id columns to varchar(255) because 63 characters just isn't long enough
2007-11-03 Dan Merging in fixes and updates from d8156d18ac58
2007-10-07 Dan Rebrand as 1.1.1; everything should now be bumped to "unstable" status
2007-09-27 Dan Sync from stable (Coblynau beta)
2007-09-24 Dan Rebrand as 1.0.2 (Coblynau); internal links are now parsed by RenderMan::parse_internal_links()
2007-08-29 Dan Implemented some extra functionality for friends/foes in comments; fixed lack of table_prefix in stats.php line 63
2007-08-27 Dan Several major improvements: Memberlist page added (planned since about beta 2), page group support added for non-JS ACL editor (oops!), and attempting to view a page for which you lack read permissions will get you logged.
2007-08-17 Dan Redirections to the main page use the redirect() function now
2007-08-15 Dan Fixed stupid redirect bug that referenced $paths without importing it, gah...
2007-08-14 Dan Added ability to detag deleted pages
2007-08-06 Dan Tag cloud is now implemented
2007-07-21 Dan Made the move to Loch Ness, and got some basic page grouping functionality working. TODO: fix some UI issues in Javascript ACL editor and change non-JS ACL editor to work with page groups too
2007-07-11 Dan Redirect pages actually work stable-ish now; critical extraneous debug message removed (oops!)
2007-07-10 Dan I fixed the statistics!!! YAY!!
2007-07-06 Dan OK, that last commit only made things worse...it's fixed now.
2007-07-06 Dan Fixed minor userpage issue where comments posted by guests under the same name as the username being displayed were shown on that user's userpage
2007-07-01 Dan More image tag parser fixes
2007-07-01 Dan Finished everything on the TODO list (yay!); several CSS cleanups; tons more changes in this commit - see the patch for details
2007-06-28 Dan Finished Special:Preferences/Profile page! Only the wikitext parser cleanup left, yay!
2007-06-27 Dan Deleting pages now requires a reason
2007-06-27 Dan ...again
2007-06-27 Dan Fixed invalid HTML caused by wikitext processor on non-templated pages
2007-06-27 Dan Fixed tons of bugs relating to non-templated pages
2007-06-27 Dan More preliminary l10n work; userpage portal style basics implemented
2007-06-26 Dan Updated all version numbers back to Banshee; a few preliminary steps towards full UTF-8 support in page URLs
2007-06-23 Dan Emergency version change to 1.0rc3 to fix XSS vulnerabilities
2007-06-23 Dan Fixed complicated SQL injection vulnerability in URL handler, updated license info for Tigra Tree Menu, and killed one XSS vulnerability
2007-06-16 dan Following fixes: admin theme supports <button> tag now, PageProcessor can eval now, and SpecialAdmin.php plugin can no longer be disabled
2007-06-13 dan Fixed plugin hooks in pageprocess
2007-06-13 dan Adding /includes
less more (0) tip