mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-18 00:09:06 +01:00
106 lines
6.9 KiB
Text
106 lines
6.9 KiB
Text
ldapsaisie (3.0.2-1) unstable; urgency=medium
|
|
|
|
This release include a lot of small fixes and improvements, especially in logging.
|
|
It also include some noteworthy improvements :
|
|
- Empty LSldapObject PHP classes for your custom object types is now useless: they
|
|
will be self-generated if they don't exists.
|
|
- SVG images are now supported as preferred format.
|
|
- Possible values list of select attributes could now be generated using a custom
|
|
configurable function (see doc for details).
|
|
- Date attribute now support configurable special values
|
|
- LSldapObject :: getValue() method now accept $first and $default parameters that
|
|
could be useful to simplify your custom code.
|
|
- LSldapObject :: loadData() explicitly list need attributes in LDAP request. More
|
|
than permit to be more efficient, this permit to handle special LDAP attributes
|
|
which must be explicitly requested to be return by LDAP server.
|
|
- LSformElement::getEmptyField() / LSformElement.tpl now provide value index as
|
|
$value_idx template variable. This could be useful to handle composite attribute.
|
|
- Improve POSIX, Samba and Supann support: handle some new attributes
|
|
- Add showTechInfo LSaddon that could be useful for admin to see technical information
|
|
of LDAP object.
|
|
- "0" (zero string) value are finally properly managed.
|
|
Please see /usr/share/doc/ldapsaisie/changelog.Debian.gz for complete list of
|
|
changes.
|
|
|
|
-- Benjamin Renard <brenard@easter-eggs.com> Wed, 30 Sep 2020 11:35:29 +0200
|
|
|
|
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.
|
|
- Interface is now responsive. To take advantage of this, however, you may need
|
|
to update your graphic adaptations as well as your custom code.
|
|
- 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.
|
|
- The default loaded CSS file light-blue.css evolve to defined color used as CSS
|
|
variables. All other light-*.css files now have to be used in addition of the
|
|
file light-blue.css (to load first). This files now only overide defined colors
|
|
variables.
|
|
- 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). BASH autocompletion is also provided.
|
|
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().
|
|
- It's now possible to configure more than one LSobject type that can connect on
|
|
application as user. Consequently, if your LDAP directory contains more than one
|
|
type of users, LdapSaisie can now handle it. Furthermore, a new default LSprofile
|
|
is added for each authenticable object type to easily allow all users of one type
|
|
to do something.
|
|
- LSselect and select_object attributes permit to selection of multiple object types.
|
|
Consequently and for instance, its now possible to have group of multiple object
|
|
types (group of users & groups, group of multiple user object types, ...).
|
|
- LSsession methods to manage custom JS & CSS are now handle and expose by LStemplate
|
|
- Internet Explorer is now officially unsupported and an error popup is now displayed
|
|
when users try to access LdapSaisie with this browser.
|
|
Please see /usr/share/doc/ldapsaisie/changelog.Debian.gz for complete list of
|
|
changes.
|
|
|
|
-- Benjamin Renard <brenard@easter-eggs.com> 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
|
|
compatibility, especialy :
|
|
- The /var/tmp/ldapsaisie moved to /var/cache/ldapsaisie (to be
|
|
compatible with PrivateTmp=True directive of Apache systemd unit file)
|
|
- ereg() function calls are replaced by preg_match() function. All
|
|
internal regex have been consequently modified but you should have to
|
|
modify your own regex in your configuration files. This concerns the
|
|
following components :
|
|
+ LSattr_html :: maildir (remoteRootPathRegex parameter)
|
|
+ LSaddon :: maildir (LS_MAILDIR_FTP_MAILDIR_PATH_REGEX parameter)
|
|
+ helper function loadDir() ($regexpr parameter)
|
|
|
|
-- Benjamin Renard <brenard@easter-eggs.com> Mon, 08 Jan 2018 20:27:15 +0100
|