Commit Graph

455 Commits

Author SHA1 Message Date
Laurent Destailleur
07e90696b7 Add log to help debug 2009-09-01 15:50:40 +00:00
Laurent Destailleur
c812c32808 Fix: Bad init of conf->entity 2009-09-01 15:47:29 +00:00
Laurent Destailleur
070b160450 New: Add option MAIN_ONLY_LOGIN_ALLOWED to lock login to any user that is not value of constant.
For example MAIN_ONLY_LOGIN_ALLOWED=admin will lock login to any login except admin.
This make possible to make maintenance works.
A page to add/remove this constant will be added later in system-tools
2009-08-30 01:39:40 +00:00
Laurent Destailleur
9a8f90679b Perf: Some optimization in ajax usage. 2009-08-29 18:08:46 +00:00
Laurent Destailleur
5864427b32 Now utf8 is default for database creation 2009-08-26 18:59:13 +00:00
Laurent Destailleur
c3d045227b New: Change to allow a module to add subsitutions keys.
Change to be compatible with numberwords plugin.
2009-08-25 20:57:54 +00:00
Laurent Destailleur
7edaddcd17 Sec: Add warning if conf.php is not in read only mode.
Sec: Use a more common way to save the encoded password in conf file.
2009-08-21 19:09:20 +00:00
Laurent Destailleur
a7e73eaf0e Add constant to put static ressources on another server/domain 2009-08-13 13:34:05 +00:00
Laurent Destailleur
6b7d3ad0c1 Qual: Code to calucalte VAT is now more clear. 2009-07-29 16:13:33 +00:00
Laurent Destailleur
f210d6c889 Qual: Uniformize code 2009-07-27 22:48:05 +00:00
Regis Houssin
8d6eddcf1e Experimental: add function to encrypt sensitive data in database 2009-06-27 06:56:41 +00:00
Regis Houssin
6f6a292cb4 Fix: la clŽ de cryptage sera crŽŽ automatiquement et sera donc obligatoire, ceci permet aussi de ne pas tenir compte du cookie si on n'utilise pas le module multi-societe 2009-06-12 10:32:26 +00:00
Laurent Destailleur
7b68ed8cd5 Qual: Removed deprecated source code 2009-06-10 19:51:00 +00:00
Laurent Destailleur
e86917a148 Renamed conf->cookie_cryptkey into conf->file->cookie_cryptkey. The goal is to have all parameters defined inside file conf.php to be in $conf->file->xxx. Excep for database that are stored in $conf->db (historic reasons). This make code easier to understand and to know origine of a value (file or database). 2009-05-24 00:19:06 +00:00
Regis Houssin
29b707d380 Add: just used cookie for remind last user and last entity
Look: use cookie for view logo of last used entity
2009-05-23 17:56:01 +00:00
Regis Houssin
f45caf216f Add: just used cookie for remind last user and last entity
Look: use cookie for view logo of last used entity
2009-05-23 17:44:36 +00:00
Regis Houssin
6f163a94a8 Add: entity cookie just used for the login page 2009-05-22 15:24:32 +00:00
Laurent Destailleur
8e167d3f80 Qual: Now creation of session is done before the loading of conf. This make code much easier to understand. 2009-05-22 00:20:45 +00:00
Laurent Destailleur
fb0e668fc0 Qual: Now creation of session is done before the loading of conf. This make code much easier to understand. 2009-05-21 22:28:05 +00:00
Laurent Destailleur
9a38002c46 Session name DOLSESSID_databasename is replace with DOLSESSID_dolibarrwebinstance. This remove a key read in conf.class.php used to name session because, to make code simpler, we will need to create session before the conf is loaded. This is also most secure because it is possible to use 2 dolibarr instances even if database names are same on two different mysql server.
Add also comments on code to remember to simplify things.
2009-05-21 13:37:18 +00:00
Regis Houssin
3786711822 Fix: ouverture d'une session temporaire de securite pour stocker une de cryptage aléatoire pour
encryption du cookie
2009-05-20 18:18:25 +00:00
Regis Houssin
43ee2c4acb Fix: ouverture d'une session temporaire de securite pour stocker une de cryptage aléatoire pour
encryption du cookie
2009-05-20 18:18:25 +00:00
Regis Houssin
f43d69faef Todo: utiliser $user->datelastlogin pour un cryptage aléatoire 2009-05-08 21:17:02 +00:00
Regis Houssin
149e232bd3 Add: /core/cookie.class.php for create and encrypt/decrypt cookie value with personnal key
configured in conf.php with $dolibarr_main_cookie_cryptkey
2009-05-08 19:46:07 +00:00
Laurent Destailleur
326cd8b227 All data from conf file are stored into conf->file->xxx
Multicompany should be ok to logon with no breaking sessions when disabled
2009-05-08 01:23:33 +00:00
Regis Houssin
81a5393e70 Todo: il faut qu'on trouve une autre solution, il n'y a que comme ca que la multicompany a un fonctionnement correct... 2009-05-07 16:11:57 +00:00
Regis Houssin
f1a5c6fae3 Fix: seul le superadmin peut changer la config de syslog 2009-05-07 09:06:57 +00:00
Laurent Destailleur
1e37d24bf4 Can make a link between a member and a user 2009-05-06 23:30:49 +00:00
Laurent Destailleur
04915533f2 Fix: Must not use DOL_DATA_ROOT directly 2009-04-29 18:44:37 +00:00
Laurent Destailleur
7d7646adad Prepare 2.7 2009-04-29 13:05:10 +00:00
Regis Houssin
260f762e97 Fix: create session and cookie for multi-company 2009-04-23 13:19:28 +00:00
Laurent Destailleur
0e4b85fe08 Prepare 2.6.0 2009-04-20 16:08:43 +00:00
Laurent Destailleur
b8fd6bb74c Fix: Correct pb of warnings during install that appeared on some config due to multicompany changes. 2009-04-17 18:38:15 +00:00
Regis Houssin
c52636bd38 New: early development of multi-company module 2009-04-17 07:45:00 +00:00
Laurent Destailleur
8377263333 Prepare 2.6 version 2009-03-28 17:15:24 +00:00
Laurent Destailleur
55d0ad29d3 Removed source code from conf dir that is dedicatd to store dolibarr config file. 2009-03-11 18:34:46 +00:00
Laurent Destailleur
75b738eff9 Added XDebug tools 2009-02-21 01:04:35 +00:00
Laurent Destailleur
0823322ba1 Qual: All call to dolibarr_ functions are made on dol_ functions. 2009-02-20 22:53:15 +00:00
Laurent Destailleur
e83b22b29b Added XDebug tools 2009-02-20 20:28:16 +00:00
Laurent Destailleur
65edeb2c13 Prepare version 2.6 2009-01-29 02:02:01 +00:00
Laurent Destailleur
9ec8049e11 Prepare 2.5.1 2009-01-25 13:51:01 +00:00
Laurent Destailleur
bcef81a453 Removed PHP warnings with E_ALL level 2009-01-21 15:06:34 +00:00
Laurent Destailleur
0befb92a12 Removed PHP warnings with E_ALL level 2009-01-21 14:09:42 +00:00
Laurent Destailleur
7683f0f85e Removed PHP warnings with E_ALL level 2009-01-21 13:20:26 +00:00
Laurent Destailleur
bdfecdc751 Removed PHP warnings with E_ALL level 2009-01-21 13:06:34 +00:00
Laurent Destailleur
8e06b62715 New: Upgrade FPDF to 1.6
New: Added keywords in PDF
Fix: Author, title and topic are correctly encoded i nPDF.
Fix: Now HTML output is always UTF8, this solve bad PDF encoding on old users.
2009-01-15 22:49:06 +00:00
Laurent Destailleur
530c1312ac Maxi debug of multiprice feature
Prepare 2.5.1
2009-01-10 01:11:17 +00:00
Laurent Destailleur
3f29d4835d Prepare 2.6 dev 2009-01-02 15:33:08 +00:00
Laurent Destailleur
d4124f190a Prepare 2.5 release 2008-12-28 05:23:00 +00:00
Laurent Destailleur
ed995be568 Prepare beta 2008-12-11 22:29:27 +00:00