includes/template.php
Sat, 15 Sep 2012 13:16:59 -0400 Dan Fuhry Merged
Sat, 15 Sep 2012 13:18:01 -0400 Dan Fuhry Added template context API and render_getpage_norender hook. This allows variable sets to be pushed and popped from $template, so that variables in a template inclusion can be accessed and pre-processed by plugins.
Wed, 25 Apr 2012 02:03:38 -0400 Dan Fuhry Small change to generation time formatting to make all pages the same time. Makes apachebench not screw up.
Sun, 04 Sep 2011 02:32:49 -0400 Dan Fuhry SECURITY: Various security enhancements to password resets. They are now rate-limited by username and IP, and it is possible to disable username autofill for guests.
Thu, 02 Jun 2011 05:46:13 -0400 Dan Fuhry Removed TinyMCE.
Sun, 19 Sep 2010 04:04:28 -0400 Dan Fuhry Hide the "Create an account" button if registration is disabled (Enanium only, but there is a template boolean called "registration_disabled" so other themes can use it too)
Fri, 30 Jul 2010 14:39:04 -0400 Dan Moved sidebar editor into the admin CP. Icon still needs to be added, no Internet right now to go find one. Also fixed a few template related things.
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, 08 Feb 2010 17:04:08 -0500 Dan Fixed unescaped ampersands in "&enano_version" cache breaking
Tue, 05 Jan 2010 09:56:00 -0500 Dan Fixed ENANO_VERSION under databaseless template class
Sun, 27 Dec 2009 02:28:21 -0500 Dan All javascript and css requests now append the version number to the URL to break browser caches and prevent from having to clear the cache upon upgrade
Mon, 21 Dec 2009 15:41:05 -0500 Dan Fixed two "declaration should be compatible" errors encountered by the BitNami folks. Thanks Neal for reporting.
Fri, 18 Dec 2009 05:12:02 -0500 Dan Comments (AJAX): Now paginated server side. Fixes issue 2.
Tue, 03 Nov 2009 22:08:48 -0500 Dan Logins: reorganized data structures a bit. WiP - needs test routine done.
Fri, 21 Aug 2009 20:41:38 -0400 Dan Sessions: Improved inactive account UX; shuffled around a bit of code so that whitelist checks are shared; fixed a bunch of bugs related to ban code and IPv6 addresses
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
Tue, 04 Aug 2009 15:02:00 -0400 Dan Fixed some "declaration should be compatible" errors that showed up under WinXP QA
Fri, 31 Jul 2009 19:15:48 -0400 Dan Merged development from Scribus and Charlie
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.
Fri, 17 Jul 2009 20:23:48 -0400 Dan Fixed some formatter engine errors that were exposed through the wiki edit notice
Wed, 29 Jul 2009 11:48:54 -0400 Dan Tweaked URL sanitizing a bit to make Enanium work better.
Wed, 29 Jul 2009 10:48:43 -0400 Dan Added method add_header_js() to template to allow insertion of code to be run immediately after JS init
Sat, 11 Jul 2009 20:25:50 -0400 Dan One word: Internet Explorer 6. This includes a rewrite of $paths->parseAdminTree() that encodes to JSON instead of manually generating JS, so good-bye to stupid parser problems I hope.
Wed, 08 Jul 2009 23:37:01 -0400 Dan OK, JS preloading on a CDN works perfectly now. I'm sure of it.
Wed, 08 Jul 2009 22:44:46 -0400 Dan Fixed inconsistency in JS component load order between CDN sites and non-CDN sites
Wed, 08 Jul 2009 22:27:24 -0400 Dan Fixed a series of infinite loops with preloading components and placeholders
Wed, 08 Jul 2009 18:51:48 -0400 Dan Template: minor: documented sidebar_widget()
Mon, 15 Jun 2009 20:09:58 -0400 Dan Added support for preloading javascript libs ($template->preload_js()). Updated admin theme and Tigra Tree Menu to support this + JS_{HEADER,FOOTER} variables.
Wed, 27 May 2009 09:44:07 -0400 Dan Class "currentpage" is now added to all internal links, including sidebar buttons, if the link points to the current page.
Thu, 14 May 2009 11:34:24 -0400 Dan A few safety changes to tolerate no $session when it's not available
Wed, 13 May 2009 09:44:46 -0400 Dan Render / Template: No longer does exist checks for wikilinks on sidebar
Sun, 10 May 2009 14:41:51 -0400 Dan Fixed a couple bugs with protection UI; fixed stray <enano:no-opt> in Special:CSS (do people still use that?)
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.
Fri, 17 Apr 2009 08:40:48 -0400 Dan Made handling of $perms being non-object work properly in template
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 19:44:47 -0400 Dan New, beautiful, rethought Admin:Home. No, really, you'll like it.
Mon, 13 Apr 2009 14:43:28 -0400 Dan New page protection UI. Both miniPrompt and failsafe HTML.
Sat, 04 Apr 2009 22:24:49 -0400 Dan Oxygen (and general): cleaned up sidebar CSS, wikitext blocks are now sent through alternate block
Sun, 15 Mar 2009 11:07:28 -0400 Dan New template feature: template hooks (<!-- HOOK foo -->)
Fri, 06 Mar 2009 11:19:55 -0500 Dan template: added ability for themes to hide user, tools, and search sidebar blocks
Sun, 01 Mar 2009 22:52:20 -0500 Dan Template: addslashes() around wiki_edit_notice_text (whoops)
Thu, 26 Feb 2009 01:07:32 -0500 Dan Added possibility for auth plugins, which can log a user in using non-standard authentication methods.
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: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, 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.
Wed, 31 Dec 2008 08:40:38 -0500 Dan Redid error handler (it was causing some problems with gzip enabled)
Fri, 19 Dec 2008 21:29:17 -0500 Dan template: Fixed undefined $from_internal in assign_bool(); theme.cfg now require()d on theme load
Tue, 02 Dec 2008 21:11:22 -0500 Dan External links in sidebar now work with manual port numbers and IPv6 addresses
Sat, 15 Nov 2008 18:23:25 -0500 Dan Added ability to have alternate main page for members
Sun, 09 Nov 2008 14:10:24 -0500 Dan Made defectivebydesign.org image local
Sat, 08 Nov 2008 22:34:27 -0500 Dan [minor] $template->footer() no longer flushes output buffers, due to headers being sent prematurely
Sun, 24 Aug 2008 13:43:04 -0400 Dan Rewrote sidebar compilation code, caching is more stable now and things were cleaned up/separated into more functions/made plugin-expandable. In theory, plugins can add new sidebar block types now. I'd personally like to see a fully plugin-based sidebar editor that completely overhauls what Enano has now sometime now that this framework is in place.
Sat, 23 Aug 2008 16:03:32 -0400 Dan More work on auto-completion - it auto-scrolls now and limits result divs to 300px height
Thu, 21 Aug 2008 11:24:56 -0400 Dan Autocomplete further stabilized. Made Special:PasswordReset and Special:Register prevent use if logged in.
Thu, 21 Aug 2008 08:24:04 -0400 Dan Removed Adobe Spry and replaced with jQuery. Please report any new bugs on the forums or via IRC. In a related note, auto-completion should work now at least for usernames. Still hacking away at page name completion...
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.
less more (0) -100 -56 tip