Fix film strip on mobile device => fix various diaporama stuff
Reproduce the "background image" of the current public link page directly as an AjxpPane option. WIP : make a "download page" template to replace public_links php file.
Don't preg_quote() and later stripslashes(), move preg_quote in the right places

see https://github.com/pydio/pydio-core/commit/bb6ca2a5c1f98e4558b2f11887695472a2fad59c
see #437

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@fiducial.net>
Use self:: instead of AuthService:: in AuthService

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@fiducial.net>
Replace eval with constant in getConfInst

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@fiducial.net>
Move regexpToLike to AJXP_Utils

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@fiducial.net>
Introduce cleanRegexp()

Use it instead of changing regexpToLike input parameter (less error prone)

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@fiducial.net>
Introduce likeToLike and cleanLike in AJXP_Utils

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@fiducial.net>
getUsersCount auth.sql: use dibi ... again

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@fiducial.net>
Stop restraining search by putting ^

The ^ was introduced in a609f723eee83a7274cc27444cc064b5ccf7057c
This broke da8e24e633c1da350c9474f3707a8c08b23d8057 (which was only taking care of sql, not ldap)
If i only remember that the login contains with "jeu", now i can search ...
Introduce regexpToLdap, and use it.

"^a" matches everything that start with a
"a$" matches everything that end with a
"^a$" matches exactly a
"a" matches everything that contains a

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@fiducial.net>
Remove 2 weird JOINS with ajxp_users in conf.sql

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@fiducial.net>
Introduce groupMatchToLike in AJXP_Utils

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@fiducial.net>
Use ajxp_user_rights instead of ajxp_users to know existing users in listUserTeams

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@fiducial.net>
Rework deleteUser deleteGroup, put logic in AuthService

Deleting a group wasn't calling the hooks user.before_delete
and user.after_delete

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@fiducial.net>
Move groupPath from ajxp_users to ajxp_user_rights

With this commit conf.sql doesn't depend anymore on auth.sql
(auth now depends on conf for group_path filtering)
In ajxp_user_rights it's stored like:
(login, "ajxp.group_path", groupPath)

see plugins/conf.sql/update_group_path.sql for the sql migration

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@fiducial.net>
Add abstract functions getUsersCountFromConf, userExistsInConf,
listUsersFromConf in AbstractConfDriver

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@fiducial.net>
Implement functions getUsersCountFromConf, userExistsInConf,
listUsersFromConf in sqlConfDriver

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@fiducial.net>
Implement functions getUsersCountFromConf, userExistsInConf,
listUsersFromConf in serialConfDriver

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@fiducial.net>
Add empty functions getUsersCountFromConf, userExistsInConf,
listUsersFromConf in BootConfLoader.

(~30 empty functions in BootConfLoader)

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@fiducial.net>
Add supportsUsersPaginationInConf const

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@fiducial.net>