Commit Graph

458 Commits

Author SHA1 Message Date
Laurent Destailleur
95709f9336 Work to externalize geoip library. 2011-08-21 15:26:15 +00:00
Laurent Destailleur
cc94dd87d1 Try to rename some fields with english name 2011-08-18 22:25:46 +00:00
Laurent Destailleur
75652c1681 Qual: Removed magpier class and snoopy libraries (replaced with my own code) 2011-08-17 13:44:13 +00:00
Laurent Destailleur
2409c7fbfd Qual: Can externalize fonts. 2011-08-14 18:25:15 +00:00
Laurent Destailleur
d6bb618dfe Qual: Work to allow externalizing of fonts. 2011-08-14 17:17:19 +00:00
Laurent Destailleur
76f1880583 Qual: Removed php_writexcel lib. Replaced with phpexcell.
Fix: Make script export-contaxts-xls-example.php working.
Qual: removed not used code.
2011-08-11 19:12:37 +00:00
Laurent Destailleur
dcd3ab435d Qual: Removed no more used external libraries (fpdi_protection)
Qual: Centralize include of external libray fpdi
Qual: Now use fpdi with no changes
2011-08-11 12:13:59 +00:00
Regis Houssin
36ed42c1f8 New: possibility to use includes/modules in external modules dir 2011-08-01 12:25:14 +00:00
Laurent Destailleur
37ead2f97e Fix: Avoid errors into rpm packages 2011-07-31 23:19:04 +00:00
Laurent Destailleur
53e157912b Fix: Code could not works for debian packages 2011-07-30 10:23:24 +00:00
Regis Houssin
3f31623b5a Test: commit to git branch dev to sync in cvs 2011-06-28 15:06:26 +00:00
Philippe Grand
9872ecfb6d add possibility to fill trainer Accreditation number 2011-06-15 17:35:26 +00:00
Laurent Destailleur
ddc0d4f3c3 Restore old properties for compatibility 2011-02-20 19:41:27 +00:00
Laurent Destailleur
6f24a7abfd Moved code into correct file 2011-02-20 12:16:18 +00:00
Laurent Destailleur
a3f942ff70 Qual: Remove usage of deprecated properties 2011-02-20 12:09:37 +00:00
Laurent Destailleur
371c4a6090 Qual: Remove usage of deprecated properties 2011-02-20 12:06:11 +00:00
Laurent Destailleur
998bbe9280 New: a specialized menu is now used when using smartphones 2011-02-17 19:32:11 +00:00
Laurent Destailleur
20991abe04 Fix: Another try to make usage of alt feature working. 2010-12-29 12:13:36 +00:00
Laurent Destailleur
14e70e6e53 Fi:x Restore a security system broken by adding alt feature. 2010-12-27 19:13:06 +00:00
Regis Houssin
5d34c94158 New: add possibility to overwrite mailing limit sendbyweb in conf.php 2010-12-27 14:54:27 +00:00
Regis Houssin
82a35d3954 Fix: session lost if use custom2 for external module 2010-12-27 10:48:50 +00:00
Laurent Destailleur
749b9c333e Fix: Fix a lot of regression. There still a lot of new bugs to fix (like compatibility through proxy, or restore performance by avoiding huge number of fil_exists). 2010-12-19 03:04:06 +00:00
Laurent Destailleur
1e151d9864 Fix: Fix a lot of regression. There still a lot of new bugs to fix (like compatibility through proxy, or restore performance by avoiding huge number of fil_exists). 2010-12-19 02:42:53 +00:00
Regis Houssin
201a28e952 Fix: regression and use an exist alternative root 2010-12-16 10:42:51 +00:00
Regis Houssin
546d4f20f3 Fix: regression and use an exist alternative root 2010-12-16 10:37:05 +00:00
Regis Houssin
ad16244f08 New: add directory for external module and other customization 2010-12-15 15:24:43 +00:00
Regis Houssin
4a577412d5 New: add directory for external module and other customization 2010-12-15 15:12:35 +00:00
Regis Houssin
c0913acf92 New: add directory for external module and other customization 2010-12-15 10:58:45 +00:00
Regis Houssin
1e69b95c9f New: add DOL_CUSTOM_PATH 2010-12-15 07:54:40 +00:00
Laurent Destailleur
2498426867 Fix: Restore stable version for 3.0 2010-12-14 23:27:17 +00:00
Regis Houssin
c9e41e00f5 New: add directory for external module and other customization 2010-12-14 22:31:59 +00:00
Regis Houssin
efbc57566b New: add DOL_CUSTOM_PATH 2010-12-14 22:08:49 +00:00
Regis Houssin
510baa2584 Work on multicompany 2010-10-21 13:34:31 +00:00
Laurent Destailleur
0c83bf4779 Work on module paypal 2010-10-03 00:12:54 +00:00
Laurent Destailleur
85635cdeea Allow to disable CSRF permission 2010-10-01 18:48:00 +00:00
Laurent Destailleur
7948b0e0d3 Allow to disable CSRF permission 2010-10-01 18:33:07 +00:00
Laurent Destailleur
c948a09a6c Enable smartphone menu template only if level 2 2010-09-29 11:08:52 +00:00
Regis Houssin
11c88cb534 Works on multi-company module 2010-09-26 09:53:42 +00:00
Regis Houssin
ca900c68d1 Experimental: add smartphone maemo system 2010-09-25 11:03:58 +00:00
Regis Houssin
101b9ce166 Fix: iWebKit is compatible with Android and Blackberry 2010-09-21 17:02:57 +00:00
Laurent Destailleur
abb31f26b5 Perf: A little speed improvement 2010-09-14 22:14:55 +00:00
Laurent Destailleur
e78a9b8a01 Fix: Do not use global variable to fix pb with autoload 2010-09-04 18:04:47 +00:00
Laurent Destailleur
ded3200073 Work on FPDF replacement by TCPDF 2010-08-31 23:52:19 +00:00
Laurent Destailleur
1b9ee9c597 Qual: Clean code
Perf: Country id+code is now stored into MAIN_INFO_SOCIETE_PAYS instead of only id. This avoid a select to finf country code at each request.
2010-08-21 15:30:17 +00:00
Laurent Destailleur
7ee685640b Qual: Clean code
Perf: Country id+code is now stored into MAIN_INFO_SOCIETE_PAYS instead of only id. This avoid a select to finf country code at each request.
2010-08-21 15:30:17 +00:00
Laurent Destailleur
1b928068e9 Fix: master should works even if langs not defined. 2010-08-21 14:05:51 +00:00
Laurent Destailleur
47bdadd6b5 New: For germany, we invert order of address 2010-08-20 23:06:20 +00:00
Laurent Destailleur
688bdf8b1d New: Support NPR in customer product prices 2010-08-09 19:08:22 +00:00
Laurent Destailleur
4e58a9e8c4 Prepare release 2.9.0 2010-08-01 19:07:21 +00:00
Laurent Destailleur
ffb3fe8db4 Fix: Removed warnings 2010-07-27 22:07:50 +00:00
Laurent Destailleur
31ab3691ce Prepare 2.9 version 2010-06-27 21:21:46 +00:00
Laurent Destailleur
bdd0672917 Add state 2010-06-17 22:19:37 +00:00
Regis Houssin
b2bd7e0d25 Add possibility to limit users 2010-06-07 05:11:45 +00:00
fcharpentier
4f47b666ea Define constant 'DOL_CLASS_PATH' for compatibilty between 2.8 and 2.9 releases
This allow to include class from modules like this :
if (!defined('DOL_CLASS_PATH'))
	define('DOL_CLASS_PATH', null);
require_once(DOL_DOCUMENT_ROOT.'/categories/'.DOL_CLASS_PATH.'categorie.class.php');
2010-05-10 13:18:59 +00:00
Laurent Destailleur
fe8a652fe0 Remove deprecated properties and use a method instead to get the full address string. 2010-05-09 14:47:02 +00:00
Philippe Grand
ed9144957a according to new tree directory 2010-04-29 15:23:21 +00:00
Philippe Grand
16a8ab7d59 according to new tree directory 2010-04-29 14:54:12 +00:00
Philippe Grand
24725ce2a6 according to new tree directory 2010-04-28 10:11:41 +00:00
Philippe Grand
b68a359265 according to new tree directory 2010-04-28 10:02:54 +00:00
Laurent Destailleur
badb56dddf Add constant to force driver type. 2010-04-25 13:55:58 +00:00
Juanjo Menent
18aef6981c Works on enhancement of local taxes. fix : define if company use local taxes 2010-04-24 15:56:37 +00:00
Philippe Grand
e5a5c2ae98 move translate.class.php to core directory 2010-04-13 14:23:31 +00:00
Regis Houssin
6822502876 Fix: change some dyslexic code 2010-04-07 11:37:01 +00:00
Philippe Grand
e3d874f72c change some dyslexic code 2010-04-07 10:44:18 +00:00
Philippe Grand
44fed2ce8b add one forgotten property 2010-04-07 10:21:04 +00:00
Regis Houssin
86e27744b9 Fix: css optimizing
Fix: wrong position of link

:link :visited :hover :active
2010-04-07 09:21:30 +00:00
Regis Houssin
ecc51347b3 Fix: uniformize code 2010-04-06 16:12:00 +00:00
Philippe Grand
671ce8a542 move societe class file to societe directory 2010-03-29 20:52:30 +00:00
Philippe Grand
ff5d7ee824 move file class user to user directory 2010-03-23 21:17:18 +00:00
Laurent Destailleur
ba32176b35 Prepare 2.9 dev 2010-02-20 12:00:58 +00:00
Laurent Destailleur
73eeda8cb4 Message more clear 2010-02-20 11:54:54 +00:00
Laurent Destailleur
3acd11c13c Move conf file information into page of dolibarr conf information.
New: Enhance https forcing.
2010-02-20 11:40:36 +00:00
Laurent Destailleur
eaf2c7ebb1 Prepare 2.8.0 2010-02-11 08:36:17 +00:00
Juanjo Menent
d0493583fe Works on enhancement of local taxes 2010-02-07 10:28:40 +00:00
Laurent Destailleur
0943a28445 Use a better value for constant FACTURE_LOCAL_TAX1_OPTION and FACTURE_LOCAL_TAX2_OPTION 2010-02-02 08:22:50 +00:00
Laurent Destailleur
5c6089ef32 Apply patch by juanjo 2010-01-23 22:01:34 +00:00
Laurent Destailleur
1374e7eeab Fix: Css relative url must start with / as it means relative to DOL_URL_ROOT. 2010-01-13 13:11:32 +00:00
Regis Houssin
9747506cbd Fix: add ipod browser phone list 2009-12-29 23:12:40 +00:00
Laurent Destailleur
d4e89552e3 Fix: Code to manage view output must be stored or initialized into main and not into master (dedicated to all script included command line scripts). 2009-12-28 01:53:45 +00:00
Laurent Destailleur
380be061f5 Code simpler. Smarty setup in conf file is deprecated. 2009-12-28 00:57:15 +00:00
Regis Houssin
ba091af947 Test: smarty integration and iphone template 2009-12-27 05:50:46 +00:00
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 alatoire 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 alatoire pour
encryption du cookie
2009-05-20 18:18:25 +00:00
Regis Houssin
f43d69faef Todo: utiliser $user->datelastlogin pour un cryptage alatoire 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