Skip to content

Commit

Permalink
Merge pull request #62 from mjrider/release-prep-9.1
Browse files Browse the repository at this point in the history
release 9.1
  • Loading branch information
mjrider committed Sep 1, 2015
2 parents a35101b + f35286f commit 0430445
Show file tree
Hide file tree
Showing 9 changed files with 214 additions and 5 deletions.
105 changes: 105 additions & 0 deletions docs/CHANGES
@@ -1,3 +1,108 @@
========================
Changes Ariadne 9.1
========================

- sessions are no longer cached, even if it is a public session, unless
you manually ar::putvar('arDoCachePrivate', true);
- refactored SVN support, updated to latest SVN format
- made backend UI more responsive, more touch friendly and added better support for https
- added onbeforeclearprivatecache and onclearprivatecache events
- onbeforecall can now set the return value of the call
- added muze.bus.js, a cross browser window application bus, used by Helene
- removed support for output compression in Ariadne, use your favourite
webserver plugin to do this from now on
- improved password hashing, auto-updates to newest version
- added support for cover image in mod_wkhtmltopdf
- added geo, tags and number properties
- added scope to all properties
- added support for simpler webserver config files by rewriting the URL in the loader
- ar::error() now also prints the code and messages of previous exceptions
- made numerous performance and disk usage improvements
- ariadne now sends correct mimetype headers by default, depending on the extension of a template. You no longer need to send these manually.

ar('html/form') Improvements
----------------------------
- added form validation for fieldsets
- added support for conditional form fields
- form input names now follow PHP when special characters are rewritten

Vedor Editor Improvements
-------------------------
- allow inserting and editing active gadgets, e.g. RSS feeds.
- added support for custom properties, not visible on the page
- improved support for FireFox (missing onSelectionChange event)
- improved visibility of empty editable fields
- improved performance and positioning of hovering toolbars
- added a language select toolbar, if more than one language is available
- browse dialog now follows the UI language
- browse dialog is now relative to the current site
- added option to dock hovering toolbars
- option settings are now stored in localStorage

Muze libraries
--------------
- muze.cms/base
- added priority to base.menu-item.html, to allow sorting the menu
- removed vedor editor attributes in the content templates, when not in edit mode
- muze.cms/gadgets/image-gallery
- fixed layout on mobile devices
- added muze.cms/gadgets/search, shows items matching a given query
- moved muze.cms/vedor to seperate library tree

-muze.dev/helene
- improved styling of warnings and errors to make them more visible
- added merge dialog to prevent overwriting changes by others
- fixed collapse toggle
- improved crossbrowser layout
- added cross window application bus to update the debugger live
- templates are now listed alphabetically
- added dutch translations
- templates now use \r\n line endings, to conform with the form submit standard
- added an 'add template' link in each template list block
- muze.dev/docify
- made code more re-usable and less likely to conflict with layout templates
- muze.dev/debugger
- debugger now live reloads on each template save

- muze.layout/base-layout:
- added support for nice 404 pages
- added manifest to better manage loading of plugins and dependencies
- added muze.layout/stub-layout to start from 'scratch' while using muze.cms layout plugins
- added muze.layout/plugins/image-gallery/
- added muze.layout/plugins/fancybox/
- added muze.layout/plugins/jquery/

- added muze.rad/router/
- simple application router for use in user.notfound.html / onnotfound event handler

Vedor libraries
---------------
This is a new set of libraries specifically made to improve / enhance the Vedor Editor. It includes:
- vedor/editor/ - the integration code to start using the editor
- vedor/editor-plugins/base-form/ - formbuilder toolkit
- vedor/editor-plugins/sortable/ - drag/drop ordering of menu items, forms, etc.
- vedor/editor-plugins/browsable/ - changing images or other content using the browse dialog
- vedor/editor-plugins/objectlist/ - making editable lists of styled content
- vedor/editor-plugins/gadgets/ - inserting and managing ariadne gadgets
- vedor/editor-plugins/fixes/ - a set of browser specific workarounds and fixes

Scaffolds
---------
- Added Coffeehouse scaffold, showing off a modern responsive design, sortable repeating content items, formmanagement in the vedor editor and more.
- Added Sublime scaffold
- Added Empty project scaffold, to ease starting from 'scratch'

bugfixes
--------
- fixed cache being too eager to cache in active sessions
- fixed attribute parsing in mod_htmlparser and mod_htmlcleaner
- fixed string code support for ar::error, as PHP \Exception forces int
- fixed session cookie handling when hideSessionIDFromURL is active
- fixed relative path handling of parents() call
- added missing methods in ar('connect/soap'), now fully compatible with PHP's SoapClient
- fixed arIsNewObject flag in the onbeforesave event
- fixed ar('http/cookie') getting/setting complex values

========================
Changes in Ariadne 9.0
========================
Expand Down
4 changes: 4 additions & 0 deletions ftp/loader.php
Expand Up @@ -21,6 +21,10 @@

chdir($currentDir);
}

require_once($ariadne."/configs/ftp/$configfile");
require_once($ariadne."/modules/mod_mimemagic.php");

/* this function has been taken from the php manual */

function ftp_ErrorHandler ($errno, $errmsg, $filename, $linenum, $vars) {
Expand Down
2 changes: 1 addition & 1 deletion lib/templates/pobject/system.export.files.phtml
Expand Up @@ -17,6 +17,7 @@
!$this->newObject->arIsNewObject && $this->CheckLogin("edit"))
) {

$new_filestore=$this->newObject->store->get_filestore("files");
if ($ARCurrent->options["force"]) {
$new_filestore->purge($this->newObject->id);
}
Expand All @@ -29,7 +30,6 @@
}
}

$new_filestore=$this->newObject->store->get_filestore("files");

foreach($orig_files as $file){
display("\n");
Expand Down
1 change: 1 addition & 0 deletions lib/templates/pobject/system.export.phtml
Expand Up @@ -2,6 +2,7 @@
if ($this->CheckLogin("read")) {
global $AR;
$saved_object = array();
$ARCurrent->grants_list = array();

if (!function_exists('display')) {
function display($str) {
Expand Down
4 changes: 2 additions & 2 deletions lib/version.php
@@ -1,5 +1,5 @@
<?php
$ARversion = array();
$ARversion['version'] = '9.0';
$ARversion['date'] = strtotime('2015-03-10');
$ARversion['version'] = '9.1';
$ARversion['date'] = strtotime('2015-09-01');
$ARversion['year'] = strftime('%G', $ARversion['date']);
18 changes: 18 additions & 0 deletions www/install/install_base_package.php
Expand Up @@ -44,5 +44,23 @@
$version = $ARversion['version'];
ar::get('/system/ariadne/version/')->call('system.save.data.phtml', array('value' => $version));


$ax_config["writeable"]=false;
$ax_config["database"]="packages/lib.ax";
set_time_limit(0);
$inst_store = $ax_config["dbms"]."store";
$axstore=new $inst_store("", $ax_config);
if (!$axstore->error) {
$ARCurrent->importStore=&$store;
$args="srcpath=/&destpath=/";
$axstore->call("system.export.phtml", $args,
$axstore->get("/"));
$error=$axstore->error;
$axstore->close();
} else {
$error=$axstore->error;
echo $error;
}

$store->close();
?>
Binary file added www/install/packages/lib.ax
Binary file not shown.
68 changes: 68 additions & 0 deletions www/install/upgrade/all/upgrade.muze.libs.php
@@ -0,0 +1,68 @@
<pre>
<?php
$importpath = '/system/lib/muze/';

if( $importpath) {
print "importing $importpath\n";
$ARCurrent->nolangcheck = true;
$ARCurrent->options["verbose"]=true;
$ARCurrent->options["force"]=true;
$ARCurrent->AXAction == "import";

// become admin
$AR->user=new object;
$AR->user->data=new object;
$AR->user->data->login=$ARLogin="admin";

$ax_config["writeable"]=false;
$ax_config["database"]="../packages/lib.ax";
echo "ax file (".$ax_config["database"].")\n";
set_time_limit(0);
$inst_store = $ax_config["dbms"]."store";
$axstore=new $inst_store("", $ax_config);
if (!$axstore->error) {
$ARCurrent->importStore=&$store;
$args['srcpath'] = $importpath;
$args['destpath'] = $importpath;
$axstore->call("system.export.phtml", $args, $axstore->get("/"));
$error=$axstore->error;
$axstore->close();
} else {
$error=$axstore->error;
}
}

$importpath = '/system/lib/vedor/';

if($importpath) {
print "importing $importpath\n";
$ARCurrent->nolangcheck = true;
$ARCurrent->options["verbose"]=true;
$ARCurrent->options["force"]=true;
$ARCurrent->AXAction == "import";

// become admin
$AR->user=new object;
$AR->user->data=new object;
$AR->user->data->login=$ARLogin="admin";

$ax_config["writeable"]=false;
$ax_config["database"]="../packages/lib.ax";
echo "ax file (".$ax_config["database"].")\n";
set_time_limit(0);
$inst_store = $ax_config["dbms"]."store";
$axstore=new $inst_store("", $ax_config);
if (!$axstore->error) {
$ARCurrent->importStore=&$store;
$args['srcpath'] = $importpath;
$args['destpath'] = $importpath;
$axstore->call("system.export.phtml", $args, $axstore->get("/"));
$error=$axstore->error;
$axstore->close();
} else {
$error=$axstore->error;
}
}

?>
</pre>
17 changes: 15 additions & 2 deletions www/install/upgrade/upgrade.php
Expand Up @@ -200,12 +200,12 @@
"operation" => "9.0/upgrade.database.php",
"newversion" => '9.0-rc1'
));
case '9.0-rc1.7':
case '9.0-rc1.7': // because of previous released upgrade scripts
case '9.0-rc1':
array_push($todo, array(
"description" => "Installing missing objects",
"operation" => "9.0/install.missing.data.php",
"newversion" => "9.0-rc2.1"
"newversion" => "9.0"
));
case '9.0-rc2.1':
array_push($todo, array(
Expand All @@ -219,6 +219,19 @@
"operation" => "9.1/upgrade.database.php",
"newversion" => "9.1-rc1.1"
));
case '9.1-rc1.1':
array_push($todo, array(
"description" => "Update libraries for muze and vedor",
"operation" => "all/upgrade.muze.libs.php",
"newversion" => "9.1"
));
case '9.1-rc1.2':
array_push($todo, array(
"description" => "Bumping revision to 9.1",
"operation" => "all/dummy.php",
"newversion" => "9.1"
));

}


Expand Down

0 comments on commit 0430445

Please sign in to comment.