diff --git a/ChangeLog b/ChangeLog
index 2e1556ae3e6..3a04104b128 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -39,13 +39,11 @@ For users:
- New: [ task #165 ] Add import/export of multiprices.
- New: Add Maghreb regions and departments.
- New: A more responsive desgin for statistic box of home page.
-- Qual: Implement same rule for return value of all command line scripts (0 when success, <>0 if error).
- New: [ task #1005 ] Adapting to Spanish legislation bill numbering
- New: [ task #1011 ] Now supplier order and invoice deal with payment terms and mode.
- New: [ task #1014 ] Add option to recursivly add parent category.
- New: [ task #1016 ] Can define a specific numbering for deposits.
- New: [ task #918 ] Stock replenishment.
-- Fix: [ bug #992 ] Proforma invoices don't have a separated numeric count.
- New : Add pdf link into supplier invoice list and supplier order list.
- New : Genrate auto the PDF for supplier invoice.
- New : Add category into filter webservice thirdparty method getListOfThirdParties.
@@ -60,17 +58,22 @@ For users:
- New: Add hidden option MAIN_VAT_DEFAULT_IF_AUTODETECT_FAILS.
- New: Can send an email from thirdparty card.
- New: Can cancel holidays that were previously validated.
-- Fix: [bug #1022] correct margin calculation for credit notes.
- New: Can choose contact on event (action com) creation, and filtred by thirdparty.
- New: Add hidden option MAIN_FORCE_DEFAULT_STATE_ID.
- New: Add page to make mass stock movement.
- New: Add field oustanding limit into thirdparty properties.
- New: Can enter a vat payment of zero.
+- New: Add path to installed dir of external modules + Name and web of module provider.
+- New: Add option to use a specific mask for uploaded filename
+- Qual: Implement same rule for return value of all command line scripts (0 when success, <>0 if error).
+- Fix: [ bug #992 ] Proforma invoices don't have a separated numeric count.
+- Fix: [ bug #1022 ] correct margin calculation for credit notes.
+- Fix: Better management of using ajax for upload form (to solve problem when enabling ajax jquery multifile upload in some cases).
For translators:
- Qual: Normalized sort order of all languages files with english reference files.
-- New: Add language code files for South Africa, France new caledonia.
-- New: Translate the email to change password.
+- New: Add language code files for South Africa, France new caledonia, Vietnam.
+- New: Translate string for email to change password.
For developers:
- New: DolGraph can build graph with three lines.
@@ -86,7 +89,6 @@ For developers:
MAIN_MOTD_SETUPPAGE, MAIN_MOTD_SETUPPAGE, MAIN_HOME now accept "|langfile" into translation
key to use a specific language file.
- New: Make some changes to allow usage of several alternative $dolibarr_main_url_root variables.
- Fix also several bugs with old code.
- Qual: All nowrap properties are now using CSS class nowrap.
- Qual: Move hardcoded code of module mailmanspip into trigger.
- New: Into POST forms, if you can add a parameter DOL_AUTOSET_COOKIE with a vlue that is list name,
@@ -97,6 +99,7 @@ For developers:
- New: A trigger can return an array of error strings instead of one error string.
- New: Add method to use a dictionnary as a combo box.
- New: Add update method for web service product.
+- Fix also several bugs with old code.
WARNING: Following change may create regression for some external modules, but was necessary to make
Dolibarr better:
diff --git a/build/debian/README.howto b/build/debian/README.howto
index 6f06f5ab91b..7108f0a381f 100644
--- a/build/debian/README.howto
+++ b/build/debian/README.howto
@@ -8,6 +8,9 @@ script to build a package, ready to be distributed,
with format .DEB (for Debian, Ubuntu, ...).
+
+##### Prepare linux env to work
+
# To build a debian package, you need first
# With Ubuntu 12.04
# apt-get install debhelper dpkg-source gpg lintian git-buildpackage pkg-php-tools schroot sbuild dh-linktree dh-make-php
@@ -41,6 +44,9 @@ END
* Ask to be included into project collab-maint: http://alioth.debian.org/projects/collab-maint/
+
+##### Some interesting command to know
+
# To translate .po files
# debconf-updatepo To run into po dir to regenate templates.pot
# podebconf-report-po --from email@email.com To send email to ask translations
@@ -66,9 +72,8 @@ END
# gdebi package.deb Install a package + dependencies
-##########################################################
-To submit a package to Debian:
+##### Global view of submit new package to Debian:
- Post an ITP with reportbugs :
> reportbug -B debian --email username@domain.tld wnpp
@@ -90,19 +95,28 @@ http://bugs.debian.org/package
-##########################################################
-
-To generate a package
+##### Testing a package into unstable env
Create a chroot called "unstable-amd64-sbuild"
> sudo sbuild-createchroot --keyring= unstable /srv/chroot/unstable http://ftp.uk.debian.org/debian
+Pour lister les env chroot
+> schroot -l
+
Puis pour se connecter
-> schroot
+> schroot -c name_of_chroot
+
+Pour tester un package
+> cp *.deb /srv/chroot/unstable/tmp
+> schroot -c name_of_chroot
+> dpkg -i dolibarr*.deb
+> sudo apt-get install -f
-##########################################################
+
+
+##### Create/Maintain TCPDF package
To update tcpdf package:
@@ -128,7 +142,7 @@ from origin/upstream and origin/pristine.
Note: If there was errors solved manually, you may need to make a git commit
* Add an entry into debian/changelog
-> dh "My comment" will add entry.
+> dch -v x.y.z-1 "My comment" will add entry.
For example: dch -v x.y.z-1 "New upstream release." for a new version
Warning: Date must have format reported by "date -R"
@@ -157,7 +171,8 @@ http://packages.qa.debian.org/t/tcpdf.html
* Package will be into release when test will be moved as stable.
-##########################################################
+
+##### Create/Maintain dolibarr package
To update dolibarr debian package
@@ -183,7 +198,7 @@ from origin/upstream and origin/pristine.
Note: If there was errors solved manually after get-orig-sources.sh, you may need to make a git commit
* Add an entry into debian/changelog
-> dh "My comment" will add entry.
+> dch -v x.y.z-1 "My comment" will add entry.
For example: dch -v x.y.z-1 "New upstream release." for a new version
Then modify changelog to replace "unstable" with "UNRELEASED".
diff --git a/build/obs/README b/build/obs/README
index c7dda9093f1..56589299b89 100644
--- a/build/obs/README
+++ b/build/obs/README
@@ -23,12 +23,13 @@ To submit a snapshot for building, we should have a service file with content
www.dolibarr.org
http
- /files/stable/package_rpm_generic/dolibarr-3.3.2-3.src.rpm
+ /files/stable/package_rpm_generic/dolibarr-x.y.z-3.src.rpm
-How to have such a service ?
-Try to make "Add file" and select Remote URL and enter http://www.dolibarr.org/files/stable/package_rpm_generic/dolibarr-3.3.2-3.src.rpm
+How to have such a service file created automatically ?
+Click on "Add file", then select mode "Upload From: Remote URL"
+Enter the Remote URL that should looks like this: http://www.dolibarr.org/files/stable/package_rpm_generic/dolibarr-x.y.v-3.src.rpm
Then add into advanded - attributes
OBS:Screenshots http://www.dolibarr.org/images/dolibarr_screenshot1.png
diff --git a/build/rpm/dolibarr_generic.spec b/build/rpm/dolibarr_generic.spec
index 2418698e12d..609a5d27158 100755
--- a/build/rpm/dolibarr_generic.spec
+++ b/build/rpm/dolibarr_generic.spec
@@ -464,7 +464,11 @@ echo Restart mysql server
/sbin/service mysqld restart
%else
%if 0%{?suse_version}
+if [ -f /etc/init.d/mysqld ]; then
+ /etc/init.d/mysqld restart
+else
/sbin/service mysql restart
+fi
%else
if [ -f /etc/init.d/mysqld ]; then
/etc/init.d/mysqld restart
diff --git a/build/rpm/dolibarr_opensuse.spec b/build/rpm/dolibarr_opensuse.spec
index bdfb0eab0af..692114e508b 100755
--- a/build/rpm/dolibarr_opensuse.spec
+++ b/build/rpm/dolibarr_opensuse.spec
@@ -288,7 +288,11 @@ fi
# Restart mysql
echo Restart mysql
-/sbin/service mysql restart
+if [ -f /etc/init.d/mysqld ]; then
+ /etc/init.d/mysqld restart
+else
+ /sbin/service mysql restart
+fi
# Show result
echo
diff --git a/doc/images/dolibarr_screenshot1_300x188.png b/doc/images/dolibarr_screenshot1_300x188.png
new file mode 100644
index 00000000000..51c949ee67e
Binary files /dev/null and b/doc/images/dolibarr_screenshot1_300x188.png differ
diff --git a/htdocs/admin/modules.php b/htdocs/admin/modules.php
index 4aca54817e8..b4e6ff2f628 100644
--- a/htdocs/admin/modules.php
+++ b/htdocs/admin/modules.php
@@ -1,7 +1,7 @@
* Copyright (C) 2003 Jean-Louis Bergamo
- * Copyright (C) 2004-2012 Laurent Destailleur
+ * Copyright (C) 2004-2013 Laurent Destailleur
* Copyright (C) 2004 Eric Seigne
* Copyright (C) 2005-2012 Regis Houssin
* Copyright (C) 2011 Juanjo Menent
@@ -154,22 +154,21 @@ foreach ($modulesdir as $dir)
$const_name = 'MAIN_MODULE_'.strtoupper(preg_replace('/^mod/i','',get_class($objMod)));
if ($objMod->version == 'development' && (empty($conf->global->$const_name) && ($conf->global->MAIN_FEATURES_LEVEL < 2))) $modulequalified=0;
if ($objMod->version == 'experimental' && (empty($conf->global->$const_name) && ($conf->global->MAIN_FEATURES_LEVEL < 1))) $modulequalified=0;
- // We discard modules according to property disabled
+ // We discard modules according to property disabled
if (isset($objMod->hidden) && $objMod->hidden) $modulequalified=false;
-
+
// Define array $categ with categ with at least one qualified module
if ($modulequalified)
{
$modules[$i] = $objMod;
$filename[$i]= $modName;
$orders[$i] = $objMod->family."_".$j; // Sort by family, then by module number
- $special = isset($specialtostring[$objMod->special])?$specialtostring[$objMod->special]:'unknown';
+ $dirmod[$i] = $dir;
+ // Set categ[$i]
+ $special = isset($specialtostring[$objMod->special])?$specialtostring[$objMod->special]:'unknown';
if ($objMod->version == 'development' || $objMod->version == 'experimental') $special='expdev';
-
- //print "x".$modName." ".$orders[$i]." ".$special."\n ";
if (isset($categ[$special])) $categ[$special]++; // Array of all different modules categories
else $categ[$special]=1;
- $dirmod[$i] = $dir;
$j++;
$i++;
}
@@ -337,7 +336,7 @@ if ($mode != 'marketplace')
// Print a separator if we change family
//print "