- config.inc: add define for show/not show all errors when parsning
through Error.Handling.inc with SHOW_ALL_ERRORS
- Error.Handling.inc: check php error level and do not show ones that
are not flagged unless SHOW_ALL_ERRORS is set to true
- db_pgsql.inc for fetch array, call the internal wrapper method, not
the pg method directly
- db_pgsql_pdo.inc: test insert for alternative with pdo lib instead of
php internal postgresql interface
- Class.DB.IO.inc: on prepared check if cursor exist before returing
inserted id in INSERT queries. fail if no insert id could be aquired
if there was no cursor (or other error)
- Class.Basic.inc: rewrite Time to string method for speed up and
removal of old php microtime format
For the host name set, if there is no data in the HTTP_HOST var, then
set it to NA instead. Also default set to port 80 if no port info could
be found.
Whenever a query is executed without the db_return method and it is a
select query, then it is counted and if it is over a max value it will
return false and terminate.
With those functions that counter value can be checked and reset.
To be used carefully. It is recommended to rather make often called
queries with the same values prepare/execute style instead of resetting
the count.
The login class and edit interface has added lock/strict login and a
basic layout add for forced change password in X days (not yet
implemented)
Also start adding pdo interface wrapper class for pgsql
If a user login fails and the user exists count the error and date of
last error.
If the user is set strict and the error login count is bigger than 10,
lock the user. User can only be unlocked from admin user.
Add new view only form table array type that is not saved, but only
viewed as is from the database value.
Add strict/lock yes/no into the edit user form.
Update edit user table with login error count, login error date, strict
and locked rows.
In login class an extra current page name variable was set, it is the
same as the page name variable set in the Basic class which is inherited
into the Login class.
Removed the current page name setting and variable and replaced it with
the page name variable
If no page list data for admin backend is read, the pages array is not
set, init it, so it doesn't throw an error.
Update jquery 1 to 1.11.1, jquery 2 to 2.1.1 and prototype to 1.7.1.0
Some tables do not have primary keys, so an override code is needed to
avoid getting auto returning set there.
If db exec is called 'NULL' (or the async version), then no RETURNING is
added or checked.
schema to the current one
* check current schema and set prefix to table if needed
* check that if cursor is null we do not try to get any data but return false
change the order of the includes and change them to require.
move session start away and only set session name as the session is no
started automatically.
set_paths.inc:
missing form set detection, auto create picture cache root folder if it
does not exist
Class.Login.inc
set new acl var show_ea_extra. Is set to 1 if the user has more than one
edit access group