Tags: plugorgau/ugmm
Tags
plug-ugmm v0.6.4
debian/changelog updated
www/plug/pagefunctions.inc.php:
+ utility defines for `display_page()` args: `use_header`,
`no_header`, `use_footer`, `no_footer`
+ only sets 'title' smarty var if `$title` is set
- this tells header.tpl to not display the header block
www/plug/pagefunctions.inc.php:
+ `$submenu['ctte']['expiredmembers']`: added 'label' element to avoid
error in `generate_menus()`
www/plug/session.inc.php:
+ `loginform()`: `$title` is now a global, and is set to the empty
string when showing the login page, i.e. loginform.tpl
+ custom `$pagetitle` suffix for the login page, i.e. loginform.tpl
+ 'usercreated' smarty var now defaults to false
www/ctte-newmember.php:
+ `$_get['expiredmembers']` can now be safely absent
www/resetpassword.php:
+ 'resetform' and 'successform' smarty vars now default to false
+ custom `$pagetitle` suffix for the page, i.e. resetpasswordform.tpl
www/resendack.php:
+ added `display_page()` vars: `$access_level`, `$toplevel`, `$pagetitle`, `$title`
www/signup.php:
+ custom `$pagetitle` suffix for the page, i.e. signup.tpl
www/templates/footer.tpl:
+ fixed closing diff comment for #content
+ added closing diff for #page
www/templates/header.tpl:
+ smarty `if` block around "header block" (h2 element and includes
for menu.tpl & messages.tpl); this lets pages using this template
leave `$title` unset to tell this template not to show the header
block, e.g. if their specific template has its own header block
(with h2 and includes as necessary)
+ 'title' smarty var can be absent without error thanks to `default`
modifier (without params, this modifier supplies the empty string)
www/templates/resetpasswordform.tpl:
+ includes messages.tpl given that header.tpl is used in "no header
block" mode in this case
www/templates/signup.tpl:
+ includes messages.tpl given that header.tpl is used in "no header
block" mode in this case
+ smarty `if` blocks around uses of `$newmember.givenname` etc. and
`$newmembernotes`
www/templates/listusers.tpl:
+ smarty `if` blocks around uses of `$user.description` and
`$user.type`
plug-ugmm v0.6.3
debian/plug-ugmm.install:
+ Changes the way files are installed into /usr/share/doc/plug-ugmm/; the
contents of the extras/ subdirectory is installed, instead of the
subdirectory itself
debian/control:
+ Depends on 'nginx' or 'apache2-bin' package
+ Depends on 'php' virtual package instead of 'php7.0'
+ Recommends 'php-fpm' virtual package
debian/postinst: script no longer uses Apache commands or initscripts
Added debian/postrm:
+ Removes /usr/share/plug-ugmm/www/templates_c/
README.md: Moved "System package installation" section
Moved groups.ldif to extras/examples/ for consistency and so it will get
installed by the package
www/PLUG/Members.class.php:
+ `Person::change_forward()`: Avoids warning if `$this->userldaparray['mailForward']` isn't set
+ `Person::update_ldap()`: Avoids warning from nested arrays
+ Converted tabs to spaces
www/PLUG/session.inc.php:
+ `loginForm()`: Fixed typo with `$error`
www/templates/editmember.tpl:
+ Allows for `$member.mailForward` to be absent
www/templates/editselfdetails.tpl:
+ Allows for `$member.pager` to be absent
www/templates/editselfforwarding.tpl:
+ Allows for `$member.mailForward` to be absent
www/templates/listusers.tpl:
+ Allows for `$user.mailForward` to be absent
www/templates/memberself.tpl:
+ Allows for any of `$memberself.mobile`, `$memberself.pager` or
`$memberself.homePhone` to be absent
+ Fix for `$memberself.mailForward` check
Added extras/examples/nginx/plug-ugmm.section.conf
Removed old plug-ugmm.conf
Added www/{favicon.ico,images/logo.png}
v0.6.1: Now works under PHP 7
debian/changelog updated
Added lib/ containing tweaked version of pear/auth
www/PLUG/accesscheck.inc.php:
+ `check_level()`: Can now handle if `$user_details['memberOf']` is a
single value
www/PLUG/pagefunctions.inc.php:
+ Added `UnauthorisedException`
+ `display_page()` can now handle `generate_menus()` throwing an
exception
+ `generate_menus()` throws UnauthorisedException instead of returning
false when not logged in
+ Fixed menu labels
All the above .php files:
+ Fixed space-at-end-of-line
+ Made statement parentheses consistent
+ Added Vim & Emacs tab width settings (don't worry, it uses spaces!)
www/templates/loginform.tpl:
+ $error is conditionally shown
+ Used CSS classes for improved error highlighting: `ui-widget`
`messagewidget` `ui-state-error` `ui-corner-all` `ui-icon`
`ui-icon-alert`
Tweaked .gitignore
PreviousNext