includes/pageprocess.php
Wed, 29 Dec 2010 13:25:32 -0500 Dan Fuhry Added some more hooks to the page editing pipeline. It should now be possible to add controls to the page editor, send the data from them out to the server, and process them on the server side.
Wed, 02 Jun 2010 21:58:26 -0400 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.
Sun, 28 Mar 2010 23:10:46 -0400 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.
Mon, 01 Feb 2010 02:15:04 -0500 Dan Fixed more places where author_uid wasn't right.
Fri, 18 Dec 2009 21:01:09 -0500 Dan Fixed no author_uid in PageProcessor::rename_page()
Fri, 18 Dec 2009 19:06:49 -0500 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.
Thu, 20 Aug 2009 20:01:55 -0400 Dan Fixed some upgrade bugs; added support for choosing one's own date/time formats; rebrand as 1.1.7
Fri, 17 Jul 2009 20:48:53 -0400 Dan Editor: completely moved wiki edit notice to AJAX fetch, so it's not shipped with the page anymore.
Sun, 21 Jun 2009 00:20:32 -0400 Dan First implementation of new parser; Text_Wiki is now gone. VERY BETA! WiP.
Sun, 10 May 2009 15:52:53 -0400 Dan Wikitext redirects should work again + get_redirect() added to Namespace_* to allow plugins to extend
Tue, 05 May 2009 00:10:26 -0400 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.
Thu, 16 Apr 2009 22:48:59 -0400 Dan Cleared up a few discrepancies in page handling, template var init, and how NewsBoy works.
Wed, 15 Apr 2009 17:14:20 -0400 Dan Deletion vote reset is now logged and able to be rolled back
Wed, 15 Apr 2009 16:20:33 -0400 Dan File rollbacks should be all up to date now.
Mon, 13 Apr 2009 16:57:20 -0400 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.
Mon, 13 Apr 2009 12:32:28 -0400 Dan Whoops, page protection code didn't flush page_meta cache
Sat, 21 Mar 2009 14:54:53 -0400 Dan Silenced check for page_format due to warning thrown when saving new page
Mon, 16 Feb 2009 16:17:25 -0500 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)
Sun, 25 Jan 2009 21:21:07 -0500 Dan Merging Nighthawk (anti-spam work) and Scribus (AJAX work + debugging + CLI installer) branches
Sun, 25 Jan 2009 21:18:05 -0500 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.
Sun, 25 Jan 2009 20:26:50 -0500 Dan PageProcessor: fix not setting page_exists to true after create_page() success (todo: move to Namespace_*?); add $visible parameter to create_page()
Sun, 04 Jan 2009 00:55:40 -0500 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.
Sat, 03 Jan 2009 18:11:18 -0500 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].
Mon, 22 Dec 2008 21:26:19 -0500 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.
Sat, 15 Nov 2008 18:23:25 -0500 Dan Added ability to have alternate main page for members
Sun, 17 Aug 2008 23:24:41 -0400 Dan Revamped page deletion interface; fixed bug where page_meta cache was not being cleared upon restoration of deleted page.
Wed, 13 Aug 2008 08:55:26 -0400 Dan Changed namespace properties (including core identifier) for external pages that load the Enano API to be a uniform "API" namespace and "SystemAPI:" prefix.
Mon, 11 Aug 2008 22:31:04 -0400 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.
Tue, 05 Aug 2008 13:59:06 -0400 Dan Made customizable 404 page have a {STANDARD404} variable available to allow embedding the "default" 404 content.
Mon, 28 Jul 2008 13:13:09 -0600 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")
Wed, 09 Jul 2008 22:40:41 -0400 Dan Added Gravatar support! And it's really configurable too.
Mon, 07 Jul 2008 02:47:20 -0400 Dan Fixed missing require() on stats.php in pageprocess; made pageprocess update the metadata cache on page rename
Wed, 02 Jul 2008 22:15:55 -0400 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.
Wed, 02 Jul 2008 19:36:44 -0400 Dan Another sweep from the optimization monster.
Sun, 15 Jun 2008 00:59:37 -0400 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.
Sat, 14 Jun 2008 22:01:24 -0400 Dan Fixed some plugin compatibility issues seen in Nuggie
Sat, 07 Jun 2008 12:39:24 -0400 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)
Mon, 05 May 2008 20:06:37 -0400 Dan Added ETag support and increased caching settings to try and speed the system up. Result of a YSlow audit.
Sun, 04 May 2008 21:57:48 -0400 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.
Mon, 14 Apr 2008 12:13:12 -0400 Dan Rebrand as 1.1.4 (Caoineag alpha 4)
Wed, 26 Mar 2008 20:20:22 -0400 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
Tue, 18 Mar 2008 14:32:40 -0400 Dan Fixed some stray version numbers (again!); added support for Diffie-Hellman logins in the normal login form (not AJAX) - even works in IE
Tue, 11 Mar 2008 17:09:20 -0400 Dan Fixed some display issues with breadcrumbs (thanks Manoj)
Thu, 06 Mar 2008 22:45:41 -0500 Dan Hopefully completed rewrite and localization of rollback backend and interface
Sun, 02 Mar 2008 22:52:23 -0500 Dan Added modal dialog support for page editor; added customizability for breadcrumbs (thanks to Manoj for idea)
Sun, 02 Mar 2008 19:32:19 -0500 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
Sat, 01 Mar 2008 18:57:07 -0500 Dan Fixed the fact that cron just didn't work at all (brain fart that day or something)
Fri, 22 Feb 2008 12:51:53 -0500 Dan Merging fixes and updates from stable branch
Tue, 01 Jan 2008 22:30:53 -0500 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.
Sun, 17 Feb 2008 20:19:17 -0500 Dan Modernized Special:CreatePage.
Mon, 11 Feb 2008 14:33:31 -0500 Dan Rebrand as 1.1.2; made upgrade framework functional
Tue, 29 Jan 2008 23:15:44 -0500 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.
Tue, 29 Jan 2008 16:19:51 -0500 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
Sat, 26 Jan 2008 15:42:32 -0500 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
Thu, 24 Jan 2008 22:06:09 -0500 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
Tue, 22 Jan 2008 00:38:19 -0500 Dan Localized the 404 page, w00t.
Tue, 22 Jan 2008 00:22:14 -0500 Dan Finished localizing PageProcessor, we hope
Thu, 03 Jan 2008 00:53:33 -0500 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
Sun, 30 Dec 2007 01:13:24 -0500 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.
Thu, 27 Dec 2007 22:09:33 -0500 Dan Replaced TinyMCE 2.x with 3.0 beta 3. Supports everything but IE. Also rewrote the editor interface completely from the ground up.
Fri, 21 Dec 2007 18:21:20 -0500 Dan Added update-checking function (still a little rough around the edges); added support into admin user CP for changing avatars
Thu, 20 Dec 2007 22:23:07 -0500 Dan Added initial avatar support. Currently rather feature complete except for admin controls for avatar.
Wed, 19 Dec 2007 22:55:40 -0500 Dan Redid merge, the previous one had a few problems
Wed, 19 Dec 2007 17:15:48 -0500 Dan Fixed: $paths->page_id not set when the page doesn't exist; finally fixed garbled page names for IP addresses
Tue, 18 Dec 2007 23:44:55 -0500 Dan Many changes. Installer with PostgreSQL is broken badly and will be for some time.
Sat, 15 Dec 2007 18:10:14 -0500 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
Tue, 11 Dec 2007 19:15:26 -0500 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
Fri, 07 Dec 2007 18:47:37 -0500 Dan Localized remainder of on-page tools and parts of PageProcess
Fri, 07 Dec 2007 16:42:22 -0500 Dan Merging in changes from stable
Mon, 03 Dec 2007 18:45:37 -0500 Dan Improved physical pages: they support comments and have their own dedicated namespace now. Still some consistency fixes to make.
Sun, 02 Dec 2007 16:00:10 -0500 Dan Merging in the newly stable Coblynau
Sat, 24 Nov 2007 00:53:23 -0500 Dan Fixed a number of issues with SQL query readability and some undefined index-ish errors; consequently the SQL report feature was added
Fri, 23 Nov 2007 17:59:24 -0500 Dan Changed all urlname/page_id columns to varchar(255) because 63 characters just isn't long enough
Sat, 03 Nov 2007 07:43:35 -0400 Dan Merging in fixes and updates from d8156d18ac58
Sat, 06 Oct 2007 20:36:40 -0400 Dan Rebrand as 1.1.1; everything should now be bumped to "unstable" status
Thu, 27 Sep 2007 15:55:37 -0400 Dan Sync from stable (Coblynau beta)
Sun, 23 Sep 2007 23:21:10 -0400 Dan Rebrand as 1.0.2 (Coblynau); internal links are now parsed by RenderMan::parse_internal_links()
Wed, 29 Aug 2007 18:23:37 -0400 Dan Implemented some extra functionality for friends/foes in comments; fixed lack of table_prefix in stats.php line 63
Sun, 26 Aug 2007 20:45:33 -0400 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.
Thu, 16 Aug 2007 20:35:49 -0400 Dan Redirections to the main page use the redirect() function now
Tue, 14 Aug 2007 20:48:29 -0400 Dan Fixed stupid redirect bug that referenced $paths without importing it, gah...
Tue, 14 Aug 2007 15:13:40 -0400 Dan Added ability to detag deleted pages
Mon, 06 Aug 2007 10:09:48 -0400 Dan Tag cloud is now implemented
Sat, 21 Jul 2007 18:12:10 -0400 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
Wed, 11 Jul 2007 13:00:19 -0400 Dan Redirect pages actually work stable-ish now; critical extraneous debug message removed (oops!)
Tue, 10 Jul 2007 12:31:12 -0400 Dan I fixed the statistics!!! YAY!!
Fri, 06 Jul 2007 11:04:38 -0400 Dan OK, that last commit only made things worse...it's fixed now.
Fri, 06 Jul 2007 10:59:46 -0400 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
Sun, 01 Jul 2007 17:12:42 -0400 Dan More image tag parser fixes
Sun, 01 Jul 2007 14:08:39 -0400 Dan Finished everything on the TODO list (yay!); several CSS cleanups; tons more changes in this commit - see the patch for details
Thu, 28 Jun 2007 15:26:40 -0400 Dan Finished Special:Preferences/Profile page! Only the wikitext parser cleanup left, yay!
Wed, 27 Jun 2007 12:09:02 -0400 Dan Deleting pages now requires a reason
Tue, 26 Jun 2007 22:01:17 -0400 Dan ...again
Tue, 26 Jun 2007 21:57:43 -0400 Dan Fixed invalid HTML caused by wikitext processor on non-templated pages
Tue, 26 Jun 2007 21:49:46 -0400 Dan Fixed tons of bugs relating to non-templated pages
Tue, 26 Jun 2007 20:48:44 -0400 Dan More preliminary l10n work; userpage portal style basics implemented
Tue, 26 Jun 2007 17:28:18 -0400 Dan Updated all version numbers back to Banshee; a few preliminary steps towards full UTF-8 support in page URLs
Sat, 23 Jun 2007 10:16:53 -0400 Dan Emergency version change to 1.0rc3 to fix XSS vulnerabilities
Sat, 23 Jun 2007 09:55:58 -0400 Dan Fixed complicated SQL injection vulnerability in URL handler, updated license info for Tigra Tree Menu, and killed one XSS vulnerability
Sat, 16 Jun 2007 18:47:06 -0400 dan Following fixes: admin theme supports <button> tag now, PageProcessor can eval now, and SpecialAdmin.php plugin can no longer be disabled
Wed, 13 Jun 2007 18:59:14 -0400 dan Fixed plugin hooks in pageprocess
Wed, 13 Jun 2007 16:07:17 -0400 dan Adding /includes
less more (0) tip