Prepare release

This commit is contained in:
Garvin Hicking 2014-04-08 09:22:30 +02:00
parent 3d92fb099f
commit 178371eed6
3 changed files with 131 additions and 105 deletions

134
docs/NEWS
View File

@ -1,6 +1,6 @@
#
Version 2.0 ()
Version 2.0-beta1 (April 8th, 2014)
------------------------------------------------------------------------
@ -13,11 +13,136 @@ Version 2.0 ()
will remember the timestamp of the last template change,
to make sure that the browser will not cache a mismatching CSS.
* try to fix template change issues with global template vars in core (1559472ca3)
see 'temporary added empty $template_config_groups' in 1.7-rc2 (eb77dc369a)
* Fix template change issues with global template vars in core
(1559472ca3) see 'temporary added empty $template_config_groups'
in 1.7-rc2 (eb77dc369a)
* Use Smarty for backend display output
* Templates are now called Templates. The term "Design", "Theme",
"Layouts" has been removed.
* WYSIWYG-Spawn-API reworked (2k11/admin/wysiwyg_init.tpl)
* All Javascript-functions like SetCookie now reside in a
serendipity-object, simulating a namespace.
SetCookie(...)
became
serendipity.SetCookie(...)
* Renamed JS-Function:
toggleCategorySelector became toggle_category_selector
* The advanced js option (eyecandy) got removed, as such a thing
like advanced js doesn't exist anymore
* dashboard_plugin has an equivalent in the core, replacing the
frontpage
* Constants like S9Y_FRAMEWORK_COMPAT are no longer set
(include_once is used instead)
* New additional option to render smarty-functions:
serendipity_smarty_show($template, $data)
* A number of functions now returns their result instead of echoing
them (TODO: a bunch of image- and
trackback-functions still use echo for messages"):
serendipity_plugin_config
serendipity_printEntryForm
serendipity_printEntries
function serendipity_showMedia
serendipity_showPropertyForm
showMediaLibrary
serendipity_guessInput
memSnap
serendipity_displayTopUrlList
serendipity_displayTopExits
serendipity_displayTopReferrers
serendipity_printConfigTemplate
show_plugins
* Functions removed from the core:
serendipity_printConfigJS
* Functions added to the core:
serendipity_generateImageSelectorParams
* All internal plugins got extracted from plugin_internal.inc.php
and moved to plugins/.
They are renamed to work there (upgrader task provides migration):
serendipity_calendar_plugin became serendipity_plugin_calendar
serendipity_quicksearch_plugin became serendipity_plugin_quicksearch
serendipity_archives_plugin became serendipity_plugin_archives
serendipity_categories_plugin became serendipity_plugin_categories
serendipity_syndication_plugin became serendipity_plugin_syndication
serendipity_superuser_plugin became serendipity_plugin_superuser
serendipity_plug_plugin became serendipity_plugin_plug
* Add plugin hook "js", generating a virtual serendipity.js
* Admin JS is now bundled in serendipity_editor.js.tpl and
rendered using smarty in the template config
* Admin JS got rewritten using jQuery where applicable
* serendipity_define.js.php removed
* Removed support for layout.php
* The whole PHP-Code now almost never echoes integrated HTML, but
uses smarty template (TODO: Remove the almost)
The necessary smarty-templates reside in 2k11/admin/
Every template can generate its own backend if it integrates those
templates under admin/ itself
* 2k11 is set as the new default backend, replacing bulletproof.
default remains the fallback so far.
* A number of functions had some arguments removed:
* function serendipity_displayImageList:
From
function serendipity_displayImageList($page = 0, $lineBreak = NULL, $manage = false, $url = NULL, $show_upload = false, $limit_path = NULL, $smarty_display = true)
to
function serendipity_displayImageList($page = 0, $lineBreak = NULL, $manage = false, $url = NULL, $show_upload = false, $limit_path = NULL)
* function serendipity_showMedia
From
function serendipity_showMedia(&$file, &$paths, $url = '', $manage = false, $lineBreak = 3, $enclose = true, $smarty_vars = array(), $smarty_display = true)
to
function serendipity_showMedia(&$file, &$paths, $url = '', $manage = false, $lineBreak = 3, $enclose = true, $smarty_vars = array())
* generate_plugins
From
static function generate_plugins($side, $tag = '', $negate = false, $class = null, $id = null, $tpl = 'sidebar.tpl')
to
static function generate_plugins($side, $negate = false, $class = null, $id = null, $tpl = 'sidebar.tpl')
* serendipity_showMedia now no longer returns the used template and
echoes the generated HTML, but only returns the generated HTML
* Templates now have their own configuration page,
?serendipity[adminModule]=templates&serendipity[adminAction]=editConfiguration
* jQuery in the backend no longer runs in noConflict-mode. Use
$(...) instead of jQuery(...)
* The entryproperty-plugin will now always delete its cache on
uninstall, not only if the cache is activated then
* serendipity_is_iframe now really only checks for iframe and
doesn't also echo it
* Added option simpleFilters (meant to indicate to show less
filters and poweruser-options)
* serendipity_admin_image_selector.php no longer used by 2k11,
instead the media library (with admin/media_choose.tpl,
admin/media_upload.tpl, media_pane.tpl, media_items.tpl)
can generat the imageselector on its own. The editor calls
serendipity_admin.php?serendipity[adminModule]=media instead,
with serendipity[textarea] indicating the target, and
serendipity[showMediaToolbar] activating the imageSelector modus
* New required PHP-Version: 5.3 or higher (checked in the installer)
Version 1.7.8 (February 9th, 2014)
------------------------------------------------------------------------
@ -49,7 +174,8 @@ Version 1.7.5 (January 18th, 2014)
* Fixed textile PHP 5.2 (namespace) compat issue
* Added default value to spamblocks required_fields option [name,comment]
* Added default value to spamblocks required_fields option [name,
comment]
Version 1.7.4 (January 11th, 2014)

View File

@ -1,100 +0,0 @@
* the wysiwyg-spawn-api is partly removed (from 2k11/admin/wysiwyg_init.tpl) (TODO: Replace or fix)
* All Javascript-functions like SetCookie now reside in a serendipity-object, simulating a namespace.
SetCookie(...)
became
serendipity.SetCookie(...)
* Renamed JS-Function:
toggleCategorySelector became toggle_category_selector
* The advanced js option (eyecandy) got removed, as such a thing like advanced js doesn't exist anymore
* dashboard_plugin has an equivalent in the core, replacing the frontpage
* Constants like S9Y_FRAMEWORK_COMPAT are no longer set (include_once is used instead)
* New additional option to render smarty-functions: serendipity_smarty_show($template, $data)
* A number of functions now returns their result instead of echoing them (TODO: a bunch of image- and
trackback-functions still use echo for messages"):
serendipity_plugin_config
serendipity_printEntryForm
serendipity_printEntries
function serendipity_showMedia
serendipity_showPropertyForm
showMediaLibrary
serendipity_guessInput
memSnap
serendipity_displayTopUrlList
serendipity_displayTopExits
serendipity_displayTopReferrers
serendipity_printConfigTemplate
show_plugins
* Functions removed from the core:
serendipity_printConfigJS
* Functions added to the core:
serendipity_generateImageSelectorParams
* All internal plugins got extracted from plugin_internal.inc.php and moved to plugins/.
They are renamed to work there (upgrader task provides migration):
serendipity_calendar_plugin became serendipity_plugin_calendar
serendipity_quicksearch_plugin became serendipity_plugin_quicksearch
serendipity_archives_plugin became serendipity_plugin_archives
serendipity_categories_plugin became serendipity_plugin_categories
serendipity_syndication_plugin became serendipity_plugin_syndication
serendipity_superuser_plugin became serendipity_plugin_superuser
serendipity_plug_plugin became serendipity_plugin_plug
* Add plugin hook "js", generating a virtual serendipity.js
* Admin JS is now bundled in serendipity_editor.js.tpl and rendered using smarty in the template config
* Admin JS got rewritten using jQuery where applicable
* serendipity_define.js.php removed
* Removed support for layout.php
* The whole PHP-Code now almost never echoes integrated HTML, but uses smarty template (TODO: Remove the almost)
The necessary smarty-templates reside in 2k11/admin/
Every design can generate its own backend if it integrates those templates under admin/ itself
* 2k11 is set as the new default backend, replacing bulletproof. default remains the fallback so far.
* A number of functions had some arguments removed:
* function serendipity_displayImageList:
From
function serendipity_displayImageList($page = 0, $lineBreak = NULL, $manage = false, $url = NULL, $show_upload = false, $limit_path = NULL, $smarty_display = true)
to
function serendipity_displayImageList($page = 0, $lineBreak = NULL, $manage = false, $url = NULL, $show_upload = false, $limit_path = NULL)
* function serendipity_showMedia
From
function serendipity_showMedia(&$file, &$paths, $url = '', $manage = false, $lineBreak = 3, $enclose = true, $smarty_vars = array(), $smarty_display = true)
to
function serendipity_showMedia(&$file, &$paths, $url = '', $manage = false, $lineBreak = 3, $enclose = true, $smarty_vars = array())
* generate_plugins
From
static function generate_plugins($side, $tag = '', $negate = false, $class = null, $id = null, $tpl = 'sidebar.tpl')
to
static function generate_plugins($side, $negate = false, $class = null, $id = null, $tpl = 'sidebar.tpl')
* serendipity_showMedia now no longer returns the used template and echoes the generated HTML, but only returns the generated HTML
* Designs now have their own configuration page, ?serendipity[adminModule]=templates&serendipity[adminAction]=editConfiguration
* jQuery in the backend no longer runs in noConflict-mode. Use $(...) instead of jQuery(...)
* The entryproperty-plugin will now always delete its cache on uninstall, not only if the cache is activated then
* serendipity_is_iframe now really only checks for iframe and doesn't also echo it
* Added option simpleFilters (meant to indicate to show less filters and poweruser-options)
* serendipity_admin_image_selector.php no longer used by 2k11, instead the media library (with admin/media_choose.tpl, admin/media_upload.tpl, media_pane.tpl, media_items.tpl)
can generat the imageselector on its own. The editor calls serendipity_admin.php?serendipity[adminModule]=media instead, with serendipity[textarea] indicating the target, and
serendipity[showMediaToolbar] activating the imageSelector modus
* New required PHP-Version: 5.3 or higher (checked in the installer)

View File

@ -45,7 +45,7 @@ if (defined('USE_MEMSNAP')) {
}
// The version string
$serendipity['version'] = '2.0-alpha4';
$serendipity['version'] = '2.0-beta1';
// Setting this to 'false' will enable debugging output. All alpha/beta/cvs snapshot versions will emit debug information by default. To increase the debug level (to enable Smarty debugging), set this flag to 'debug'.
if (!isset($serendipity['production'])) {