From 58956d2ece744c0002accfe9ee8fa523793dbf13 Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Mon, 11 May 2020 17:31:14 +0200 Subject: [PATCH] Update changelog and ldapsaisie.NEWS file about next major release --- debian/changelog | 51 +++++++++++++++++++++++++++++++++++++++++- debian/ldapsaisie.NEWS | 49 +++++++++++++++++++++++++++++++++++++++- 2 files changed, 98 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 6be84361..99459252 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,52 @@ +ldapsaisie (3.0.0-1) UNRELEASED; urgency=medium + + * A lot of code cleaning and PHP notices fixes + * Introduce LSurl, a new URL routing manager for LdapSaisie : all pages + and files served by the application is now outside the web root directory. + * Define base URL in page templates by using public_root_url parameter + * Add a CLI commands manager and the ldapsaisie CLI tool that currently + permit to: + * search/list, show, create, modify and remove LSobject + * run procedure implemented in LdapSaisie (useful to run it as cron for + instance). + * Replace generate_lang_file.php and generate_ldapsaisie.pot.sh script by + CLI commands generate_lang_file and generate_ldapsaisie_pot + * LSsession: + * includeFile() : allow inclusion of external file with include path search + support (see $external parameter). + * deprecate redirect() method in favor of LSurl :: redirect() + * move lang stuff to a dedicated LSlang class + * LSsearch: + * fix handling approx parameter + * fix possibility to specify a filter and a pattern (in the same time) + * fix sorting by extraDisplayedColumns (on one setParams() call) + * fix search customActions JS validation + * LdapObject: + * add __toString() method to fix password recovery bug + (report by Adrien Malgoyre ) + * change getDisplayName $spe parameter default value from empty string to + null + * LSlog : + - fix handling non-string message + - add loggers, filters and format message by handlers + * LSauthMethod::CAS : Remove deprecated LSAUTH_CAS_SERVER_SSL_CERT parameter + (since corresponding bogus setCasServerCert() method has been remove in + phpCAS) + * LSaddon :: mail: Improve mail forging method by using PEAR Mail_mime lib + * LSattr_html :: mail : add autocomplete feature + * LSformRile :: imagesize : fix parameters handling problem + * LSformRule :: filesize : improve by avoiding to create a temporary file + * Add ___() function to allow declaration of messages that will be translated + at display time + * LSimport: fix data removing on LSobject import + * Templates : + * Globally rework on templates files to use blocks. Common basic templates + files are now deprecated in favor to base.tpl and base_connected.tpl : + accueil.tpl, blank.tpl, empty.tpl, top.tpl, bottom.tpl + * Add var_dump template function helper + + -- Benjamin Renard Wed, 06 May 2020 14:21:48 +0200 + ldapsaisie (2.4.1-0) unstable; urgency=medium * generate_lang_file.php : handle LSprofiles's label @@ -241,7 +290,7 @@ ldapsaisie (1.5-1) unstable; urgency=medium ldapsaisie (1.4-2) unstable; urgency=medium * Add new type of HTML attribut : jsonCompositeAttribute - * LSrelation : + * LSrelation : + improve and make it easy to configure simple relation + add possibilty to handle relation with multiple key values * Fix some PHP 7 compatibility errors diff --git a/debian/ldapsaisie.NEWS b/debian/ldapsaisie.NEWS index 4d7a5d7c..522ce19e 100644 --- a/debian/ldapsaisie.NEWS +++ b/debian/ldapsaisie.NEWS @@ -1,3 +1,51 @@ +ldapsaisie (3.0.0-1) unstable; urgency=medium + + This release introduce important modifications and especially : + - All pages and files served by the application is now using LSurl, + an URL routing engine. This new mechanisms require you enable Apache + HTTP mod_rewrite and allow RewriteRule defined in .htaccess file + provided with the application. The web-root directory also changed + to /usr/share/ldapsaisie/public_html : make sure to consequently adapt + your configuration. + You also have to adapt the public_root_url to your environment in + /etc/ldapsaisie/conf/config.inc.php (default: /ldapsaisie/). This URL + is now specify as base URL in all templates file. Consequently, a miss + configured URL will cause problems to load any resources files (images, + CSS, Javascript, ...). + We try to keep compatibility to old-style URL but we display a warning to + invite you to update your custom code. Please note, this compatibility only + handle redirect to new URL, but POST data are not keep during this + redirection. Moreover, Ajax calls on old index_ajax.php URL is not handled + and only show the warning message. + Furthermore, the LSsession :: redirect() method helper is now deprecated in + favor of LSurl :: redirect(). A warning message is also displayed if you + have custom code that keep using it. + Necessarily, a lot of small change have been made in templates and CSS files. + If you customize your web interface, please refer to default files delivered + with the application to correctly reintroduce your changes. + - Templates files of the application evolve to use blocks. Blocks permit to + extends templates from another and just add/replace some blocks of the extended + template. This permit to avoid template code duplication and make easier to + create custom theme. Common basic templates files are now deprecated in favor + to base.tpl and base_connected.tpl : accueil.tpl, blank.tpl, empty.tpl, top.tpl + and bottom.tpl. + - A CLI tool is now provided with the application : its currently permit + to search/list, show, create, modify and delete LSobject as its possible in web + interface. You also could run procedure implemented in LdapSaisie (useful to run + it as cron for instance). + Furthermore, the generate_lang_file.php and generate_ldapsaisie.pot.sh scripts + are replaced by LScli commands generate_lang_file and generate_ldapsaisie_pot. + - LSlog, the logging manager, have also gain flexibility: it's now possible to + configure log level by component, filter log by components in log handlers + configuration and configure log format by handler. To make LdapSaisie components + using this new flexibility, a lot of small changes have been make, especially in + class files. The old-LSdebug function is now in way to be deprecated, or at least + deprioritized in favor of using LSlog :: debug(). + Please see /usr/share/doc/ldapsaisie/changelog.Debian.gz for complete list of + changes. + + -- Benjamin Renard Wed, 06 May 2020 14:30:03 +0200 + ldapsaisie (1.7-1) unstable; urgency=medium This release introduce some modifications for PHP7 and Debian Strech @@ -13,4 +61,3 @@ ldapsaisie (1.7-1) unstable; urgency=medium + helper function loadDir() ($regexpr parameter) -- Benjamin Renard Mon, 08 Jan 2018 20:27:15 +0100 -