====== Changelog dels canvis de 1.1.4 a 1.1.6 (unstable) ======
Aquests són els canvis fets de la versió 1.1.4 a la versió 1.1.6. Al llistat s'esmenta,
* el nom del fitxer modificat
* la versió del fitxer al [[http://bumblebeeman.cvs.sourceforge.net/bumblebeeman/ | CVS de Sourceforge]] (**extended:**)
* una descripció breu dels canvis fets
===== ChangeLog file =====
Aquestes són les línies al fitxer //ChangeLog// que descriuen de forma general els canvis entre les 1.1.4 i 1.1.6. A l'apartat següent es poden consultar les modificacions a nivell de fitxer.
* bugfix: add $tableprefix in config class.
* bugfix: masquerade warning only is shown once at the user main menu.
* janitorial: clean up some PHP4isms (vars passed by reference in some functions)
* feature: new option at user main menu 'My Bookings' where users are able to view a list of his next bookings
* feature: new "I forgot my password" link at login page. It action, ask to the user his username and email. If these are correct a new password is generated in the database and sent to the user by email.
* feature: two groups of actions made at Administrator menu.
* feature: menu Help has its own section at the menu.
* feature: local Help at new window.
* feature: add a new menu option About bumblebee.
* feature: at edit booking form, some field have changed the order.
* feature: administrators can change the username of a booking, like masquerade.
* feature: add table headers at lists.
* feature: 'create new' and 'show deleted' options at lists are out of the table and there are shown twice, above and below the list.
* feature: add a quick sort toolbar with all the letter of the alphabet at the top of the lists.
* feature: all the columns from a list are the same link.
* feature: 'return to ..' some time were redundant.
* feature: after delete, return to lists automatically.
* feature: new option at user main menu 'My account'. The user can view his user data and change the subscribed email-lists options.
* feature: formslib Staticlist that prints a non editable list form the database.
* feature: phone field for groups that can use null values.
* feature: listing option at Lists menu available for admins and supervisors.
* feature: two digits at Group membership (%).
* feature: drop list for Default charging band in projects form.
* feature: group form shows a list of projects from this group.
* feature: different columns at user list.
* feature: 'show suspended users' option.
* feature: instrument form shows a list of users who can book it.
* feature: drop list for Charging class in instruments form.
* feature: new option at config field to choose the order used to display the lists at consume action.
* feature: check the drop lists at projects and users for cases where there are duplicates or items only have changed the order.
===== General files (inc/) =====
==== inc/config.php ====
* **Extended: 1.38**
* remove global variables //REBASEINSTALL// AND //NONFATALCONFIG//
* make //BUMBLEBEEVERSION// a fix value available for the whole application.
==== inc/db.php ====
* **Extended: 1.27**
* remove global variables //TABLEPREFIX,// //DB_CONNECT_DEBUG// and //NON_FATAL_DB//
==== inc/i18n_config.php ====
* **Extended: 1.15**
* added //moneyformat//
* change default //timezone// to Madrid
==== inc/jsquickwalk.php ====
* **Extended: 1.8**
* remove blank spaces
==== inc/menu.php ====
* **Extended: 1.35**
* add a //help// header
* make help local
* use the old permission model
* put //_alertmasquerade// in an appropriate place
* use the constant //bumblebeeversion//
==== inc/passwords.php ====
* **Extended: 1.6**
* add email check function to use in the "I forgot my password" action
==== inc/permissions.php ====
* **Extended: 1.3**
* add //use_help// permission to display the help menu
==== inc/typeinfo.php ====
* **Extended: 1.47**
* require //configreader//
* delete reference variables
==== inc/i18n.php ====
* **Extended: 1.1**
* correct the path
===== Booking files (inc/bookings) =====
==== inc/bookings/booking.php ====
* **Extended: 1.22**
* add two variables //instrumentname// and //description// to this class
* remove //freebusyonly// condition at //displaycell//
* change the //calbookperson link// into an //edit booking// link
* improve (more efficient) the condition to show the telephone number in the calendar booking
==== inc/bookings/bookingdata.php ====
* **Extended: 1.15**
* remove blank spaces
* remove global variable //TABLEPREFIX//
==== inc/bookings/cell.php ====
* **Extended: 1.8**
* delete reference variables
==== inc/bookings/matrix.php ====
* **Extended: 1.16**
* clean blank spaces
==== inc/bookings/timeslotrule.php ====
* **Extended: 1.28**
* clean blank spaces
* delete reference variables
==== inc/bookings/vacancy.php ====
* **Extended: 1.18**
* add //configreader//
===== BB files (inc/bb/) =====
==== inc/bb/auth.php ====
* **Extended: 1.41**
* clean blank spaces
* delete global variable //SESSIDX//
* add Help permission
==== inc/bb/basicauth.php ====
* **Extended: 1.11**
* add "I forgot my password" function, and reset new password
* add more options to show messages caused by login errors
* fix for RADIUS and LDAP auth methods
* delete global variable //TABLEPREFIX// and add it to the configuration file
==== inc/bb/basicconfigreader.php ====
* **Extended: 1.14**
* delete global variable //TABLEPREFIX// and add it to the configuration file
==== inc/bb/bookingentry.php ====
* **Extended: 1.42**
* add configuration and clean up old global variables
* allow administrators to change the use of the booked slot
* always show //bookedby// field
* hide the IP field to users
* add a warning message when administrators change the user field
==== inc/bb/calendar.php ====
* **Extended: 1.49**
* add //configreader//
* use old //href// and //show details// functions
==== inc/bb/configreader.php ====
* **Extended: 1.11**
* add a constant value for version
* add variable //copyrightowner//
* add constant value of //LOAD_ALL_PHP_FILES//
==== inc/bb/group.php ====
* **Extended: 1.18**
* add a static list that shows all projects for the current group
* add a new field //telephone//
==== inc/bb/instrument.php ====
* **Extended: 1.30**
* change //Charging class// to a droplist
==== inc/bb/instrumentclass.php ====
* **Extended: 1.8**
* remove blank spaces
==== inc/bb/project.php ====
* **Extended: 1.25**
* change default //changing band// to a droplist
==== inc/bb/user.php ====
* **Extended: 1.30**
* add //configreader//
* add //my account// action/form
* only administrators can change the //username,// //name,// //phone// and //email//
* //announce checkbox// not selected by default
* do not update //suspended// when the user is deleted
==== inc/bb/userclass.php ====
* **Extended: 1.7**
* remove blank spaces
===== Actions files (inc/actions/) =====
==== inc/actions/actionaction.php ====
* **Extended: 1.6**
* the way to get past values in //mungedata// function has been extended
* add //showsuspended users// option
==== inc/actions/actionfactory.php ====
* **Extended: 1.30**
* added path
* added actions for "I forgot my password" action and to reset password
==== inc/actions/actions.php ====
* **Extended: 1.25**
* remove blank spaces
* add actions: //mybookings,// //myaccount,// //forgotpassword,// //resetpassword,// //about,// and //help//
* change the order of some actions
==== inc/actions/backupdatabase.php ====
* **Extended: 1.16**
* correct //getfilename// parameter
==== inc/actions/billing.php ====
* **Extended: 1.32**
* use old //getFilename// function
* use old //absurl// no trobo aquest mètode/funció/variable per enlloc, potser és que no entenc el que posa a la llibreta.
==== inc/actions/consumables.php ====
* **Extended: 1.23**
* only display a return link when it is needed
* move out of the table the "create new" and "show deleted" links
* add a quick sort bar at the top of the list
* after delete, return automatically to the list
==== inc/actions/consume.php ====
* **Extended: 1.30**
* add //chooseOrder// to the config file
* remove blank spaces
* add a quick sort bar at the top of the list
* add columns //email// and //phone// to the user list
==== inc/actions/costs.php ====
* **Extended: 1.24**
* only display a return link when it is needed
* move out of the table the "create new" and "show deleted" links
* add a quick sort bar at the top of the list
==== inc/actions/deletedbookings.php ====
* **Extended: 1.15**
* remove blank spaces
==== inc/actions/export.php ====
* **Extended: 1.28**
* delete reference variables, e.g. "&$export" becomes "$export"
==== inc/actions/groups.php ====
* **Extended: 1.27**
* remove blank spaces
* only display a return link when it is needed
* move out of the table the "create new" and "show deleted" links
* add a quick sort bar at the top of the list
* after delete, return automatically to the list
==== inc/actions/instrumentclass.php ====
* **Extended: 1.12**
* only display a return link when it is needed
* moved out of the table the "create new" and "show deleted" links
* added a quick sort bar at the top of the list
* added "show deleted" option
==== inc/actions/instruments.php ====
* **Extended: 1.25**
* only display a return link when it is needed
* moved out of the table the "create new" and "show deleted" links
* added a quick sort bar at the top of the list
* after delete, return automatically to the list
==== inc/actions/login.php ====
* **Extended: 1.18**
* remove blank spaces
* use //configreader// class
* added path
* added "I forgot my password" link
==== inc/actions/masquerade.php ====
* **Extended: 1.20**
* remove blank spaces
* only display a return link when it is needed
==== inc/actions/password.php ====
* **Extended: 1.15**
* added class to return link
==== inc/actions/projects.php ====
* **Extended: 1.30**
* check duplicate group entries
* only display a return link when it is needed
* moved out of the table the "create new" and "show deleted" links
* added a quick sort bar at the top of the list
* after delete, return automatically to the list
==== inc/actions/specialcosts.php ====
* **Extended: 1.19**
* change the return link to cost list
==== inc/actions/unknownaction.php ====
* **Extended: 1.17**
* added //configreader//
* remove blank spaces
==== inc/actions/userclass.php ====
* **Extended: 1.12**
* only display a return link when it is needed
* moved out of the table the "create new" and "show deleted" links
* added a quick sort bar at the top of the list
* added "show deleted" option
==== inc/actions/users.php ====
* **Extended: 1.24**
* only display a return link when it is needed
* moved out of the table the "create new" and "show deleted" links
* added a quick sort bar at the top of the list
* after delete, return automatically to the list
* check duplicate entries for projects & instruments
* added "showsuspended" option to lists
==== inc/actions/view.php ====
* **Extended: 1.58**
* use //configreader// class
* remove blank spaces
* add //STATUS_WARN//
* allow administrators to change the user field of a booking
* refresh data when administrators change the user field of a booking
===== Export files (inc/export/) =====
==== inc/export/arrayexport.php ====
* **Extended: 1.15**
* delete reference variables, e.g. "&$row" becomes "$row"
==== inc/export/exportypes.php ====
* **Extended: 1.16**
* added path
* removed blank spaces
==== inc/export/htmlexport.php ====
* **Extended: 1.14**
* added path
* use //configreader// class
* deleted reference variables, e.g. "&$exportArray" becomes "$exportArray"
==== inc/export/pdfexport.php ====
* **Extended: 1.18**
* removed blank spaces
* use a global value //PDF_FONT//
* added path
* deleted reference variables, e.g. "&$this->..." becomes "$this->..."
===== Formlib files (inc/formslib/) =====
==== inc/formslib/anchortablelist.php ====
* **Extended: 1.13**
* added path
* remove blank spaces
* added quick sort bar at the top of the list
* moved out of the table the “create new” and “show deleted” links in one row
* added class to headers and anchors html/css
==== inc/formslib/checkboxtablelist.php ====
* **Extended: 1.12**
* remove blank spaces
* added a checkbox namebase prefix
* added restrictions to show suspended users in a separate list
==== inc/formslib/choicelist.php ====
* **Extended: 1.29**
* added code to show suspended users in a separate list
==== inc/formslib/dbchoicelist.php ====
* **Extended: 1.38**
* use //configreader// class
* deleted global variable TABLEPREFIX
==== inc/formslib/dblist.php ====
* **Extended: 1.21**
* use //configreader// class
* deleted global variable TABLEPREFIX
* deleted reference variables
==== inc/formslib/dbobject.php ====
* **Extended: 1.25**
* added new variables to control when a booking user changes
==== inc/formslib/dbnew.php ====
* **Extended: 1.50**
* added //configreader// class
* deleted global variable TABLEPREFIX
* added SQL join clause
* always update in //myaccount// form
* control when administrators change the user field of a booking
* update the project when a booking user changes
* added new //checkduplicate// before "update" and "check order" to droplist
==== inc/formslib/droplist.php ====
* **Extended: 1.16**
* remove blank spaces
==== inc/formslib/exampleentries.php ====
* **Extended: 1.11**
* deleted references variables
==== inc/formslib/field.php ====
* **Extended: 1.40**
* do not use //valuecleaner//
* added a control to user field for the cases when it changes in a booking
==== inc/formslib/joindata.php ====
* **Extended: 1.29**
* added an optional restriction in SQL "deleted <> 1 == 0"
==== inc/formslib/joinmatrix.php ====
* **Extended: 1.11**
* use //configreader// class
* deleted global TIMEPREFIX
==== inc/formslib/nondbrow.php ====
* **Extended: 1.9**
* remove blank spaces
==== inc/formslib/sql.php ====
* **Extended: 1.26**
* use //configreader// class
* deleted global TIMEPREFIX
* used more restrictions in //quickselect//
* added join clause to //quickselect//
* added //mysql_fetch_rowsarr()// function
* get //mysql_error// function
==== inc/formslib/timefield.php ====
* **Extended: 1.26**
* remove "require_once 'field.php'"
===== CSS files (theme/) =====
==== theme/bumblebee.css ====
* **Extended: 1.40**
* added two new classes //td.itemL.a// and //a.search//
==== theme/contentfooter.css ====
* **Extended: 1.19**
* created a global constant value BUMBLEBEE_VERSION
* used //copyrightowner// variable from //configreader// class
==== theme/pagelayout.css ====
* **Extended: 1.10**
* reduce padding-top from footer
* added new footer "p" to clean
* added new classes used in //help action//: sflogo, photo, photoimg, floatleft, floatright, menulist, naventry, table tabular definition, dd, dt, formula, question, answer
==== theme/contentheader.css ====
* **Extended: 1.9**
* added conditions to show header with options from the configuration file
===== Configuration files (config/) =====
==== config/bumblebee.ini ====
* **Extended: 1.19**
* added some documentation
* added an option to show a warning if folder "install" is still in the server, only for administrations
* added timezone variable
* change some default values
* added template and subject for emails when the user forgets his/her password
* added order to choose in //consume action//
* added options about how to show the header
==== config/ldap.ini ====
* **Extended: 1.4**
* remove blank spaces
===== Install files (install/) =====
==== install/install.ini ====
* **Extended: 1.18**
* make global "require loadconfig.php"
==== install/upgrade.ini ====
* **Extended: 1.6**
* corrected dbhost
* use //configreader// class
* new step to verify upgrade
==== install/setup-tables.sql ====
* **Extended: 1.11**
* added comments
* added IFNOT EXISTS
* added UNIQUE KEYS
==== install/installer/checks.php ====
* **Extended: 1.12**
* use //configreader// class
* corrected errors in checks with includes
* used FPDF
* deleted NON_FATAL_CONFIG global variable
* not used //makeAbsURL//
* not used //magicTab// (no trobo aquesta funció o variable per enlloc)
* corrected return password
==== install/installer/loadconfig.php ====
* **Extended: 1.5**
* remove global variables NON_FATAL_CONFIG and REBASE_INSTALL
==== install/installer/createdatabase.php ====
* **Extended: 1.5**
* used //configreader// class
==== install/installer/upgradedatabase.php ====
* **Extended: 1.9**
* used //configreader// class
* do not upgrade permissions