includes/template.php
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.
Wed, 13 Aug 2008 08:46:46 -0400 Dan Fixed missing "print page" link in printable theme
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.
Mon, 11 Aug 2008 11:56:25 -0400 Dan Improved miniPrompt and fadefilter to properly overlap parent modal windows. MessageBox() is next. Fixed pref_disable_js_fx not working due to wrong type (number instead of boolean).
Tue, 05 Aug 2008 11:12:01 -0400 Dan Fixed tooltip in Powered By Enano button on the sidebar. It called $lang->get() without checking to see if languages were initted yet.
Mon, 28 Jul 2008 13:08:12 -0600 Dan Fixed undefined REQUEST_URI/HTTP_HOST in ENANO_CLI mode in template var init
Tue, 22 Jul 2008 17:03:53 -0500 Dan Fixed unused $admintitle variable in $template->fading_button code generation; fixed missing CDNPATH, JS_HEADER, and JS_FOOTER in template_nodb; localized onpage_lbl_page_external
Sun, 20 Jul 2008 13:32:04 -0400 Dan Added CDN support: a URL to a CDN can now be specified and Enano will load all images, CSS, and javascript (except TinyMCE) from that server
Wed, 09 Jul 2008 18:38:44 -0400 Dan Fixed lack of str_replace() to runtime-patch cache_anon_sidebar
Mon, 07 Jul 2008 18:12:30 -0400 Dan First stab at cache management backend. Everything seems to have been tested and working so far, but a number of things require a more specialized cache and can't go through the framework (e.g. user ranks which use references to map usernames to user IDs)
Mon, 07 Jul 2008 02:41:50 -0400 Dan Added the theme_is_<themeid> template boolean value to allow conditional template code depending on theme ID (in shared templates, sidebar blocks, etc.)
Mon, 07 Jul 2008 02:37:12 -0400 Dan Added ability to hide or show sidebar blocks based on a {restrict} or {hideif} conditional in the sidebar script
Thu, 03 Jul 2008 15:08:35 -0400 Dan A little more optimization work, client-side this time. I lied, no librijnadel2 here, but it's about to be merged in...
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.
Mon, 30 Jun 2008 17:20:02 -0400 Dan Several optimization changes including getting rid of a few eval()s. Added placeholder functions for the theme manager, which should be working now
Thu, 26 Jun 2008 17:31:33 -0400 Dan Fixed javascript ACL manager and captcha not showing on ajax login lockout_captcha event
Tue, 24 Jun 2008 23:37:23 -0400 Dan Majorly reworked Javascript runtime stuff to use on-demand loading.
Sun, 22 Jun 2008 18:13:59 -0400 Dan Initial progress towards converting auto-completion framework to Spry. Not currently in a very working state.
Mon, 16 Jun 2008 19:20:13 -0400 Dan Fixed access type warning in discussion button generation in template
Mon, 16 Jun 2008 19:16:12 -0400 Dan Fixed: init_vars double-init check ignored theme changes/reloads
Mon, 16 Jun 2008 19:07:15 -0400 Dan Made template parser remember last initted page_id and namespace to avoid double init; made additional_headers reassign only do so if $template->additional_headers is empty (it's being blanked somehow, need to come up with a backtrace sometime)
Sun, 15 Jun 2008 01:30:00 -0400 Dan Renamed some functions (that were new in this release anyway) due to compatibility broken with PunBB bridge
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, 07 Jun 2008 22:50:31 -0400 Dan Made ajaxReset() call the actual requested title instead of effective title; fixed (again) template compiler bug not matching certain tags (probably PCRE bug)
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)
Fri, 16 May 2008 12:22:26 -0400 Dan Added user preference for disabling visual effects in Javascript applets; added re-import button to installed plugins
Mon, 14 Apr 2008 22:02:32 -0400 Dan Merging changes from nighthawk
Mon, 14 Apr 2008 12:13:12 -0400 Dan Rebrand as 1.1.4 (Caoineag alpha 4)
Mon, 14 Apr 2008 21:59:53 -0400 Dan Added template_compile_subst hook
less more (0) -100 -64 tip