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>
New option in Auth to preset a login, providing a password-only protection for minisites
Reput the main templates in gui.ajax instead of action.share, otherwise they can be not found.
Make all calls to ShareCenter no more static, and split this class into a new ShareStore class, that will implement a DB-based storage (and maintain backward compat to publiclets).
Add a download preProcessor to count the downloads.
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>
Download page
Minisites & publiclinks convergence, use simpleStoreGet/Set/List methods to store shares in the DB.
Fix pending login mechanism. Still somethig todo with various sessions opened.
fix Jumploader
fix Jumploader
Revert "fix Jumploader"

This reverts commit d6c26b3c8284a5a06a4baeb337893b0d8840b0e8.
fix Jumploader
fix Jumploader
Revert "fix Jumploader"

This reverts commit b98ca0ba7c1790db168d9c14686e9328140d3ff5.