Commit Graph

477 Commits

Author SHA1 Message Date
Regis Houssin
16145ca7ce Test: smarty integration and iphone template 2009-12-26 02:03:04 +00:00
Regis Houssin
3b5735bd9c Fix: uniformize code
Fix: if the contact's address is empty, it uses one of the company
2009-12-23 10:07:48 +00:00
Laurent Destailleur
8924f1104a New: Serious speed optimizations (time to show a page is reduced by 40%) when using the hidden option MAIN_OPTIMIZE_SPEED. 2009-12-17 15:44:51 +00:00
Laurent Destailleur
ffaa8dc08f New: VAT number is saved in one field only. This is more "international". 2009-12-09 13:17:16 +00:00
Laurent Destailleur
666c42eb72 Prepare 2.8 version 2009-12-01 10:25:09 +00:00
Laurent Destailleur
ec52ea9c63 Prepare 2.7 release 2009-11-29 22:02:35 +00:00
Laurent Destailleur
6e54be177d Fix: Better user agent scanning 2009-11-09 08:58:24 +00:00
Laurent Destailleur
8fe17308cf New: Debian package build is finished. 2009-10-29 22:28:03 +00:00
Regis Houssin
960afb50ed Fix: functions "ereg", "ereg_replace", "eregi", "eregi_replace" is deprecated since php 5.3.0 2009-10-24 06:10:00 +00:00
Laurent Destailleur
538736bedb A lot of fix on point of sale module 2009-10-22 00:36:21 +00:00
Regis Houssin
3e4414becd Fix: functions "ereg", "ereg_replace", "eregi", "eregi_replace" is deprecated since php 5.3.0 2009-10-21 18:14:00 +00:00
Regis Houssin
c226de4f00 Fix: functions "ereg", "ereg_replace", "eregi", "eregi_replace" is deprecated since php 5.3.0 2009-10-21 14:02:14 +00:00
Laurent Destailleur
7d46652453 Remove deprecated code. Now usage of smarty is simpler (no need to declare things in config file) 2009-10-20 17:53:24 +00:00
Regis Houssin
01291c4a7c Fix: function "split" is deprecated since php 5.3.0 2009-10-20 13:14:44 +00:00
Regis Houssin
f66b2f5316 Fix: Deprecated since php 5.3.0, syslog variables no longer need to be initialized 2009-10-19 18:54:50 +00:00
Laurent Destailleur
aab3fc9e7c First try to reduce usage of $dolibarr_main_url_root. 2009-10-09 18:32:35 +00:00
Laurent Destailleur
bd98d01d99 Hidden feature to help test on phone emulators 2009-10-06 15:23:32 +00:00
Regis Houssin
ab93a4ef8c Fix: limit to company name for a server with multiple instance of dolibarr 2009-09-15 16:05:58 +00:00
Laurent Destailleur
7036c67414 New: First change to test how to optimize for smartphone. 2009-09-15 01:22:19 +00:00
Laurent Destailleur
b0e3b124e0 Work on import module 2009-09-02 23:46:55 +00:00
Laurent Destailleur
0dc74aced7 Add log to help debug 2009-09-01 15:52:08 +00:00
Laurent Destailleur
db9c7804b9 Add log to help debug 2009-09-01 15:51:21 +00:00
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