mirror of
https://github.com/YunoHost-Apps/dolibarr_ynh.git
synced 2024-09-03 18:35:53 +02:00
Major rework
Major rework of the app: - Update to latest sources - Auto-install - Install, upgrade, remove, backup, restore scripts - Readme - Sets up LDAP (still a bug to solve with the passwords preventing LDAP auth) - Sync YNH users with Dolibarr users and/or members - Check_process (broken because of CURL?) - Hooks (broken)
This commit is contained in:
parent
5477eac2c4
commit
cc4c506757
8401 changed files with 519 additions and 1322563 deletions
|
@ -631,8 +631,8 @@ to attach them to the start of each source file to most effectively
|
||||||
state the exclusion of warranty; and each file should have at least
|
state the exclusion of warranty; and each file should have at least
|
||||||
the "copyright" line and a pointer to where the full notice is found.
|
the "copyright" line and a pointer to where the full notice is found.
|
||||||
|
|
||||||
<one line to give the program's name and a brief idea of what it does.>
|
{one line to give the program's name and a brief idea of what it does.}
|
||||||
Copyright (C) <year> <name of author>
|
Copyright (C) {year} {name of author}
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
|
@ -652,7 +652,7 @@ Also add information on how to contact you by electronic and paper mail.
|
||||||
If the program does terminal interaction, make it output a short
|
If the program does terminal interaction, make it output a short
|
||||||
notice like this when it starts in an interactive mode:
|
notice like this when it starts in an interactive mode:
|
||||||
|
|
||||||
<program> Copyright (C) <year> <name of author>
|
{project} Copyright (C) {year} {fullname}
|
||||||
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||||
This is free software, and you are welcome to redistribute it
|
This is free software, and you are welcome to redistribute it
|
||||||
under certain conditions; type `show c' for details.
|
under certain conditions; type `show c' for details.
|
22
README.md
Normal file
22
README.md
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
# DOLIBARR ERP & CRM
|
||||||
|
|
||||||
|
[Dolibarr](http://dolibarr.org) ERP & CRM is a modern software to manage your organization's activity (contacts, suppliers, invoices, orders, stocks, agenda, ...).
|
||||||
|
|
||||||
|
It's an Open Source software (wrote in PHP language) designed for small and medium companies, foundation and freelances.
|
||||||
|
|
||||||
|
You can freely use, study, modify or distribute it according to it's Free Software licence.
|
||||||
|
|
||||||
|
You can use it as a standalone application or as a web application to be able to access it from the Internet or a LAN.
|
||||||
|
|
||||||
|
![ScreenShot](http://www.dolibarr.org/images/dolibarr_screenshot1_640x400.png)
|
||||||
|
|
||||||
|
# DOLIBARR for YunoHost
|
||||||
|
|
||||||
|
**The app is still unstable. Use at your own risk!**
|
||||||
|
|
||||||
|
What does not work yet: see Issues
|
||||||
|
|
||||||
|
What works:
|
||||||
|
- Install, upgrade, remove, backup, restore
|
||||||
|
- Sync YNH users with Dolibarr users
|
||||||
|
- Sync YNH users with members in Dolibarr
|
36
check_process
Normal file
36
check_process
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
;; Test Dolibarr
|
||||||
|
auto_remove=1
|
||||||
|
; Manifest
|
||||||
|
domain="domain.tld" (DOMAIN)
|
||||||
|
path="/dolibarr" (PATH)
|
||||||
|
password="admin" (PASSWORD)
|
||||||
|
is_public=0 (PUBLIC|public=0|private=1)
|
||||||
|
; Checks
|
||||||
|
pkg_linter=1
|
||||||
|
setup_sub_dir=1
|
||||||
|
setup_root=1
|
||||||
|
setup_nourl=0
|
||||||
|
setup_private=1
|
||||||
|
setup_public=1
|
||||||
|
upgrade=1
|
||||||
|
backup_restore=1
|
||||||
|
multi_instance=0
|
||||||
|
wrong_user=0
|
||||||
|
wrong_path=1
|
||||||
|
incorrect_path=1
|
||||||
|
corrupt_source=0
|
||||||
|
fail_download_source=0
|
||||||
|
port_already_use=0
|
||||||
|
final_path_already_use=0
|
||||||
|
;;; Levels
|
||||||
|
Level 1=auto
|
||||||
|
Level 2=auto
|
||||||
|
Level 3=auto
|
||||||
|
Level 4=na
|
||||||
|
# LDAP is not integrated yet
|
||||||
|
Level 5=auto
|
||||||
|
Level 6=auto
|
||||||
|
Level 7=auto
|
||||||
|
Level 8=0
|
||||||
|
Level 9=0
|
||||||
|
Level 10=0
|
9
conf/ldap.sql
Normal file
9
conf/ldap.sql
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
REPLACE INTO ynh_const (`name`, `value`, `type`) VALUES
|
||||||
|
('LDAP_SERVER_TYPE', 'openldap', 'chaine'),
|
||||||
|
('LDAP_SERVER_PROTOCOLVERSION', '3', 'chaine'),
|
||||||
|
('LDAP_SERVER_HOST', 'localhost', 'chaine'),
|
||||||
|
('LDAP_SERVER_PORT', '389', 'chaine'),
|
||||||
|
('LDAP_SERVER_DN', 'ou=users,dc=yunohost,dc=org', 'chaine'),
|
||||||
|
('LDAP_SERVER_USE_TLS', '0', 'chaine'),
|
||||||
|
('LDAP_SYNCHRO_ACTIVE', '0', 'chaine'),
|
||||||
|
('LDAP_MEMBER_ACTIVE', '0', 'chaine');
|
15
conf/ldap_member.sql
Normal file
15
conf/ldap_member.sql
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
REPLACE INTO ynh_const (`name`, `value`, `type`) VALUES
|
||||||
|
('LDAP_MEMBER_DN', 'ou=users,dc=yunohost,dc=org', 'chaine'),
|
||||||
|
('LDAP_MEMBER_FIELD_FULLNAME', 'cn', 'chaine'),
|
||||||
|
('LDAP_MEMBER_FIELD_FIRSTNAME', 'givenName', 'chaine'),
|
||||||
|
('LDAP_MEMBER_FIELD_NAME', 'sn', 'chaine'),
|
||||||
|
('LDAP_MEMBER_FIELD_LOGIN', 'uid', 'chaine'),
|
||||||
|
('LDAP_MEMBER_FIELD_MAIL', 'mail', 'chaine'),
|
||||||
|
('LDAP_MEMBER_FIELD_PASSWORD_CRYPTED', 'userPassword', 'chaine'),
|
||||||
|
('LDAP_MEMBER_FILTER', '&(objectClass=posixAccount)', 'chaine'),
|
||||||
|
('LDAP_MEMBER_OBJECT_CLASS', 'organizationalUnit,top', 'chaine'),
|
||||||
|
('LDAP_MEMBER_FIELD_MAIL', 'mail', 'chaine'),
|
||||||
|
('LDAP_MEMBER_ACTIVE', 'ldap2dolibarr', 'chaine');
|
||||||
|
|
||||||
|
REPLACE INTO ynh_adherent_type (`rowid`, `libelle`, `subscription`, `vote`) VALUES
|
||||||
|
('1', 'yunohost', '0', '0');
|
12
conf/ldap_user.sql
Normal file
12
conf/ldap_user.sql
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
REPLACE INTO ynh_const (`name`, `value`, `type`) VALUES
|
||||||
|
('LDAP_USER_DN', 'ou=users,dc=yunohost,dc=org', 'chaine'),
|
||||||
|
('LDAP_USER_OBJECT_CLASS', 'organizationalUnit,top', 'chaine'),
|
||||||
|
('LDAP_FILTER_CONNECTION', '&(objectClass=posixAccount)', 'chaine'),
|
||||||
|
('LDAP_FIELD_FULLNAME', 'cn', 'chaine'),
|
||||||
|
('LDAP_FIELD_LOGIN', 'uid', 'chaine'),
|
||||||
|
('LDAP_FIELD_NAME', 'sn', 'chaine'),
|
||||||
|
('LDAP_FIELD_FIRSTNAME', 'givenName', 'chaine'),
|
||||||
|
('LDAP_FIELD_MAIL', 'mail', 'chaine'),
|
||||||
|
('LDAP_KEY_USERS', 'uid', 'chaine'),
|
||||||
|
('LDAP_FIELD_PASSWORD_CRYPTED', 'userPassword', 'chaine'),
|
||||||
|
('LDAP_SYNCHRO_ACTIVE', 'ldap2dolibarr', 'chaine');
|
|
@ -1,5 +1,5 @@
|
||||||
location PATHTOCHANGE/ {
|
location YNH_WWW_PATH/ {
|
||||||
alias ALIASTOCHANGE;
|
alias YNH_WWW_ALIAS;
|
||||||
|
|
||||||
if ($scheme = http) {
|
if ($scheme = http) {
|
||||||
rewrite ^ https://$server_name$request_uri? permanent;
|
rewrite ^ https://$server_name$request_uri? permanent;
|
||||||
|
@ -10,7 +10,7 @@ location PATHTOCHANGE/ {
|
||||||
|
|
||||||
location ~ [^/]\.php(/|$) {
|
location ~ [^/]\.php(/|$) {
|
||||||
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
|
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
|
||||||
fastcgi_pass unix:/var/run/php5-fpm-dolibarr.sock;
|
fastcgi_pass unix:/var/run/php5-fpm-YNH_WWW_APP.sock;
|
||||||
fastcgi_index index.php;
|
fastcgi_index index.php;
|
||||||
include fastcgi_params;
|
include fastcgi_params;
|
||||||
fastcgi_param REMOTE_USER $remote_user;
|
fastcgi_param REMOTE_USER $remote_user;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
; Start a new pool named 'www'.
|
; Start a new pool named 'www'.
|
||||||
; the variable $pool can we used in any directive and will be replaced by the
|
; the variable $pool can we used in any directive and will be replaced by the
|
||||||
; pool name ('www' here)
|
; pool name ('www' here)
|
||||||
[NAMETOCHANGE]
|
[YNH_WWW_APP]
|
||||||
|
|
||||||
; Per pool prefix
|
; Per pool prefix
|
||||||
; It only applies on the following directives:
|
; It only applies on the following directives:
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
; specific port;
|
; specific port;
|
||||||
; '/path/to/unix/socket' - to listen on a unix socket.
|
; '/path/to/unix/socket' - to listen on a unix socket.
|
||||||
; Note: This value is mandatory.
|
; Note: This value is mandatory.
|
||||||
listen = /var/run/php5-fpm-NAMETOCHANGE.sock
|
listen = /var/run/php5-fpm-YNH_WWW_APP.sock
|
||||||
|
|
||||||
; Set listen(2) backlog. A value of '-1' means unlimited.
|
; Set listen(2) backlog. A value of '-1' means unlimited.
|
||||||
; Default Value: 128 (-1 on FreeBSD and OpenBSD)
|
; Default Value: 128 (-1 on FreeBSD and OpenBSD)
|
||||||
|
@ -170,7 +170,7 @@ request_slowlog_timeout = 5s
|
||||||
; The log file for slow requests
|
; The log file for slow requests
|
||||||
; Default Value: not set
|
; Default Value: not set
|
||||||
; Note: slowlog is mandatory if request_slowlog_timeout is set
|
; Note: slowlog is mandatory if request_slowlog_timeout is set
|
||||||
slowlog = /var/log/nginx/NAMETOCHANGE.slow.log
|
slowlog = /var/log/nginx/YNH_WWW_APP.slow.log
|
||||||
|
|
||||||
; Set open file descriptor rlimit.
|
; Set open file descriptor rlimit.
|
||||||
; Default Value: system defined value
|
; Default Value: system defined value
|
||||||
|
@ -195,7 +195,7 @@ rlimit_core = 0
|
||||||
; Chdir to this directory at the start.
|
; Chdir to this directory at the start.
|
||||||
; Note: relative path can be used.
|
; Note: relative path can be used.
|
||||||
; Default Value: current directory or / when chroot
|
; Default Value: current directory or / when chroot
|
||||||
chdir = /var/www/NAMETOCHANGE
|
chdir = YNH_WWW_ALIAS
|
||||||
|
|
||||||
; Redirect worker stdout and stderr into main error log. If not set, stdout and
|
; Redirect worker stdout and stderr into main error log. If not set, stdout and
|
||||||
; stderr will be redirected to /dev/null according to FastCGI specs.
|
; stderr will be redirected to /dev/null according to FastCGI specs.
|
||||||
|
|
17
hooks/post_user_create
Normal file
17
hooks/post_user_create
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
#!/bin/bash
|
||||||
|
app=YNH_APP
|
||||||
|
src_path=/var/www/$app
|
||||||
|
user=YNH_USER
|
||||||
|
member=YNH_MEMBER
|
||||||
|
|
||||||
|
# If YNH users should be users, sync users
|
||||||
|
if [ $user = 1 ];
|
||||||
|
then
|
||||||
|
sudo sudo -u www-data php $src_path/scripts/user/sync_users_ldap2dolibarr.php commitiferror --server=localhost -y
|
||||||
|
fi
|
||||||
|
|
||||||
|
# If YNH users should be members, sync members
|
||||||
|
if [ $member = 1 ];
|
||||||
|
then
|
||||||
|
sudo sudo -u www-data php $src_path/scripts/members/sync_members_ldap2dolibarr.php commitiferror 1 --server=localhost -y
|
||||||
|
fi
|
17
hooks/post_user_delete
Normal file
17
hooks/post_user_delete
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
#!/bin/bash
|
||||||
|
app=YNH_APP
|
||||||
|
src_path=/var/www/$app
|
||||||
|
user=YNH_USER
|
||||||
|
member=YNH_MEMBER
|
||||||
|
|
||||||
|
# If YNH users should be users, sync users
|
||||||
|
if [ $user = 1 ];
|
||||||
|
then
|
||||||
|
sudo sudo -u www-data php $src_path/scripts/user/sync_users_ldap2dolibarr.php commitiferror --server=localhost -y
|
||||||
|
fi
|
||||||
|
|
||||||
|
# If YNH users should be members, sync members
|
||||||
|
if [ $member = 1 ];
|
||||||
|
then
|
||||||
|
sudo sudo -u www-data php $src_path/scripts/members/sync_members_ldap2dolibarr.php commitiferror 1 --server=localhost -y
|
||||||
|
fi
|
|
@ -1,33 +1,81 @@
|
||||||
{
|
{
|
||||||
"name": "Dolibarr",
|
"name": "Dolibarr",
|
||||||
"id": "dolibarr",
|
"id": "dolibarr",
|
||||||
|
"packaging_format": 1,
|
||||||
"description": {
|
"description": {
|
||||||
"en": "Dolibarr ERP & CRM is a modern and easy to use web software to manage your business (contacts, invoices, orders, products, stocks, agenda, emailings, etc...).",
|
"en": "Dolibarr ERP & CRM is a modern and easy to use web software to manage your business (contacts, invoices, orders, products, stocks, agenda, emailings, etc...).",
|
||||||
"fr": "Dolibarr ERP & CRM est un logiciel moderne de gestion de votre activité professionnelle ou associative (contacts, factures, commandes, stocks, agenda, etc...)."
|
"fr": "Dolibarr ERP & CRM est un logiciel moderne de gestion de votre activité professionnelle ou associative (contacts, factures, commandes, stocks, agenda, etc...)."
|
||||||
},
|
},
|
||||||
"license": "GPL-3+",
|
"url": "https://www.dolibarr.org/",
|
||||||
|
"license": "free",
|
||||||
"maintainer": {
|
"maintainer": {
|
||||||
"name": "bram",
|
"name": "scith",
|
||||||
"email": "cortex@worlddomination.be",
|
"url": "https://github.com/scith"
|
||||||
"url": "http://worlddomination.be"
|
|
||||||
},
|
},
|
||||||
"multi_instance": "false",
|
"requirements": {
|
||||||
|
"yunohost": ">> 2.4.0"
|
||||||
|
},
|
||||||
|
"multi_instance": false,
|
||||||
|
"services": [
|
||||||
|
"nginx",
|
||||||
|
"php5-fpm",
|
||||||
|
"mysql"
|
||||||
|
],
|
||||||
"arguments": {
|
"arguments": {
|
||||||
"install" : [
|
"install" : [
|
||||||
{
|
{
|
||||||
"name": "domain",
|
"name": "domain",
|
||||||
|
"type": "domain",
|
||||||
"ask": {
|
"ask": {
|
||||||
"en": "Choose a domain for Dolibarr"
|
"en": "Choose a domain for Dolibarr",
|
||||||
|
"fr": "Choisissez un nom de domaine pour Dolibarr"
|
||||||
},
|
},
|
||||||
"example": "domain.org"
|
"example": "domain.org"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "path",
|
"name": "path",
|
||||||
|
"type": "path",
|
||||||
"ask": {
|
"ask": {
|
||||||
"en": "Choose a path for Dolibarr"
|
"en": "Choose a path for Dolibarr",
|
||||||
|
"fr": "Choisissez un chemin pour Dolibarr"
|
||||||
},
|
},
|
||||||
"example": "/dolibarr",
|
"example": "/dolibarr",
|
||||||
"default": "/dolibarr"
|
"default": "/dolibarr"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "password",
|
||||||
|
"type": "password",
|
||||||
|
"ask": {
|
||||||
|
"en": "Choose a strong password for the 'admin' user",
|
||||||
|
"fr": "Choisissez un mot de passe fort pour l'administrateur 'admin'"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "is_public",
|
||||||
|
"type": "boolean",
|
||||||
|
"ask": {
|
||||||
|
"en": "Is it a public site?",
|
||||||
|
"fr": "Est-ce un site public ?"
|
||||||
|
},
|
||||||
|
"default": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "user",
|
||||||
|
"type": "boolean",
|
||||||
|
"ask": {
|
||||||
|
"en": "Should YunoHost users be users in Dolibarr?",
|
||||||
|
"fr": "Les utilisateurs YunoHost doivent-ils être des utilisateurs Dolibarr ?"
|
||||||
|
},
|
||||||
|
"default": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "member",
|
||||||
|
"type": "boolean",
|
||||||
|
"ask": {
|
||||||
|
"en": "Should YunoHost users be draft members in Dolibarr?",
|
||||||
|
"fr": "Les utilisateurs YunoHost doivent-ils être des adhérents à l'état brouillon dans Dolibarr ?"
|
||||||
|
},
|
||||||
|
"default": true
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
25
scripts/backup
Executable file
25
scripts/backup
Executable file
|
@ -0,0 +1,25 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Exit on command errors and treat unset variables as an error
|
||||||
|
set -eu
|
||||||
|
|
||||||
|
app=$YNH_APP_INSTANCE_NAME
|
||||||
|
|
||||||
|
# Source YunoHost helpers
|
||||||
|
source /usr/share/yunohost/helpers
|
||||||
|
|
||||||
|
# Backup sources & data
|
||||||
|
ynh_backup "/var/www/${app}" "sources"
|
||||||
|
|
||||||
|
# MySQL
|
||||||
|
dbname=$app
|
||||||
|
dbuser=$app
|
||||||
|
dbpass=$(ynh_app_setting_get "$app" mysqlpwd)
|
||||||
|
mysqldump -u "$dbuser" -p"$dbpass" --no-create-db "$dbname" > ./dump.sql
|
||||||
|
|
||||||
|
# Copy NGINX configuration
|
||||||
|
domain=$(ynh_app_setting_get "$app" domain)
|
||||||
|
ynh_backup "/etc/nginx/conf.d/${domain}.d/${app}.conf" "nginx.conf"
|
||||||
|
|
||||||
|
# PHP
|
||||||
|
ynh_backup "/etc/php5/fpm/pool.d/${app}.conf" "php-fpm.conf"
|
162
scripts/install
162
scripts/install
|
@ -1,66 +1,134 @@
|
||||||
set -e
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -eu
|
||||||
|
app=$YNH_APP_INSTANCE_NAME
|
||||||
|
version=$(cat ../sources/version)
|
||||||
|
|
||||||
|
# Source YunoHost helpers
|
||||||
|
source /usr/share/yunohost/helpers
|
||||||
|
|
||||||
# Retrieve arguments
|
# Retrieve arguments
|
||||||
domain=$1
|
domain=$YNH_APP_ARG_DOMAIN
|
||||||
path=$2
|
path=$YNH_APP_ARG_PATH
|
||||||
|
password=$YNH_APP_ARG_PASSWORD
|
||||||
|
is_public=$YNH_APP_ARG_IS_PUBLIC
|
||||||
|
user=$YNH_APP_ARG_USER
|
||||||
|
member=$YNH_APP_ARG_MEMBER
|
||||||
|
|
||||||
|
# Correct path: puts a / at the start and nothing at the end
|
||||||
|
if [ "${path:0:1}" != "/" ]; then
|
||||||
|
path="/$path"
|
||||||
|
fi
|
||||||
|
if [ "${path:${#path}-1}" == "/" ] && [ ${#path} -gt 1 ]; then
|
||||||
|
path="${path:0:${#path}-1}"
|
||||||
|
fi
|
||||||
|
|
||||||
# Check domain/path availability
|
# Check domain/path availability
|
||||||
sudo yunohost app checkurl $domain$path -a dolibarr
|
sudo yunohost app checkurl "${domain}${path}" -a "$app" \
|
||||||
if [[ ! $? -eq 0 ]]; then
|
|| ynh_die "Path not available: ${domain}${path}"
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
path=${path%/}
|
# Store settings
|
||||||
|
ynh_app_setting_set $app domain $domain
|
||||||
|
ynh_app_setting_set $app is_public $is_public
|
||||||
|
ynh_app_setting_set $app user $user
|
||||||
|
ynh_app_setting_set $app member $member
|
||||||
|
ynh_app_setting_set $app version $version
|
||||||
|
|
||||||
sudo yunohost app setting dolibarr version -v "3.8.0"
|
# Copy source files
|
||||||
|
src_path=/var/www/$app
|
||||||
|
sudo mkdir -p $src_path
|
||||||
|
# Download, unzip and copy source
|
||||||
|
sudo wget -q https://github.com/Dolibarr/dolibarr/archive/${version}.zip -O dolibarr-${version}.zip
|
||||||
|
sudo unzip -qq dolibarr-${version}.zip
|
||||||
|
sudo cp -a dolibarr-${version}/. $src_path
|
||||||
|
# Create necessary files
|
||||||
|
sudo touch $src_path/htdocs/conf/conf.php
|
||||||
|
sudo mkdir -p $src_path/documents
|
||||||
|
|
||||||
final_path=/var/www/dolibarr
|
# MySQL
|
||||||
sudo mkdir -p $final_path
|
dbuser=$app
|
||||||
sudo cp -a ../sources/dolibarr/* $final_path
|
dbname=$app
|
||||||
|
dbpass=$(ynh_string_random 12)
|
||||||
|
ynh_app_setting_set "$app" mysqlpwd "$dbpass"
|
||||||
|
ynh_mysql_create_db "$dbname" "$dbuser" "$dbpass"
|
||||||
|
|
||||||
sudo touch $final_path/htdocs/conf/conf.php
|
# Modify Nginx configuration file and copy it to Nginx conf directory
|
||||||
sudo chown -R www-data: $final_path
|
nginx_conf=../conf/nginx.conf
|
||||||
|
sed -i "s@YNH_WWW_PATH@${path%/}@g" $nginx_conf
|
||||||
if [[ "$path" == "" ]]; then
|
sed -i "s@YNH_WWW_ALIAS@$src_path/htdocs/@g" $nginx_conf
|
||||||
sed -i "s@PATHTOCHANGE@/@g" ../conf/nginx.conf
|
sed -i "s@YNH_WWW_APP@$app@g" $nginx_conf
|
||||||
else
|
sudo cp $nginx_conf /etc/nginx/conf.d/$domain.d/$app.conf
|
||||||
sed -i "s@PATHTOCHANGE@$path@g" ../conf/nginx.conf
|
|
||||||
fi
|
|
||||||
|
|
||||||
sed -i "s@ALIASTOCHANGE@$final_path/htdocs/@g" ../conf/nginx.conf
|
|
||||||
|
|
||||||
sudo cp ../conf/nginx.conf /etc/nginx/conf.d/$domain.d/dolibarr.conf
|
|
||||||
|
|
||||||
sed -i "s@NAMETOCHANGE@dolibarr@g" ../conf/php-fpm.conf
|
|
||||||
|
|
||||||
finalphpconf=/etc/php5/fpm/pool.d/dolibarr.conf
|
|
||||||
|
|
||||||
db_pwd=$(dd if=/dev/urandom bs=1 count=200 2> /dev/null | tr -c -d '[A-Za-z0-9]' | sed -n 's/\(.\{24\}\).*/\1/p')
|
|
||||||
|
|
||||||
sudo yunohost app initdb dolibarr -p $db_pwd
|
|
||||||
|
|
||||||
|
# PHP
|
||||||
|
sed -i "s@YNH_WWW_APP@$app@g" ../conf/php-fpm.conf
|
||||||
|
sed -i "s@YNH_WWW_ALIAS@$src_path@g" ../conf/php-fpm.conf
|
||||||
|
finalphpconf=/etc/php5/fpm/pool.d/$app.conf
|
||||||
sudo cp ../conf/php-fpm.conf $finalphpconf
|
sudo cp ../conf/php-fpm.conf $finalphpconf
|
||||||
sudo chown root: $finalphpconf
|
sudo chown root: $finalphpconf
|
||||||
sudo chmod 644 $finalphpconf
|
sudo chmod 644 $finalphpconf
|
||||||
|
sudo service php5-fpm reload
|
||||||
|
|
||||||
# Reload Nginx and regenerate SSOwat conf
|
# Install parameters
|
||||||
sudo service php5-fpm restart
|
sed -i "s@YNH_WWW_ALIAS@$src_path@g" ../sources/install.forced.php
|
||||||
|
sed -i "s@YNH_DBNAME@$dbname@g" ../sources/install.forced.php
|
||||||
|
sed -i "s@YNH_DBUSER@$dbuser@g" ../sources/install.forced.php
|
||||||
|
sed -i "s@YNH_DBPASS@$dbpass@g" ../sources/install.forced.php
|
||||||
|
if [ $member = 1 ];
|
||||||
|
then
|
||||||
|
# If YNH users are members, we must activate the members module
|
||||||
|
sed -i "s@modLdap@modLdap,modAdherent@g" ../sources/install.forced.php
|
||||||
|
fi
|
||||||
|
forcedinstall=$src_path/htdocs/install/install.forced.php
|
||||||
|
sudo cp ../sources/install.forced.php $forcedinstall
|
||||||
|
|
||||||
|
# Set permissions to app files
|
||||||
|
sudo chmod -R 755 $src_path
|
||||||
|
sudo chown -R www-data: $src_path
|
||||||
|
|
||||||
|
# Reload Nginx
|
||||||
sudo service nginx reload
|
sudo service nginx reload
|
||||||
|
|
||||||
|
# Install
|
||||||
|
# Disable SSO
|
||||||
|
ynh_app_setting_set "$app" unprotected_uris "/"
|
||||||
sudo yunohost app ssowatconf
|
sudo yunohost app ssowatconf
|
||||||
|
|
||||||
sudo yunohost app setting dolibarr unprotected_uris -v "/"
|
# Install with CURL
|
||||||
|
curl -kL -H "Host: $domain" -X POST https://$domain$path/install/fileconf.php > /dev/null 2>&1
|
||||||
|
curl -kL -H "Host: $domain" -X POST https://$domain$path/install/step1.php --data "testpost=ok&action=set&selectlang=fr_FR" > /dev/null 2>&1
|
||||||
|
curl -kL -H "Host: $domain" -X POST https://$domain$path/install/step2.php --data "testpost=ok&action=set&dolibarr_main_db_character_set=latin1&dolibarr_main_db_collation=latin1_swedish_ci&selectlang=fr_FR" > /dev/null 2>&1
|
||||||
|
curl -kL -H "Host: $domain" -X POST https://$domain$path/install/step4.php --data "testpost=ok&action=set&selectlang=fr_FR" > /dev/null 2>&1
|
||||||
|
curl -kL -H "Host: $domain" -X POST https://$domain$path/install/step5.php --data "testpost=ok&action=set&selectlang=fr_FR&pass=$password&pass_verif=$password" > /dev/null 2>&1
|
||||||
|
|
||||||
|
# Populate the LDAP parameters
|
||||||
|
mysql -u ${dbuser} -p${dbpass} ${dbname} < ../conf/ldap.sql
|
||||||
|
|
||||||
|
# If YNH users should be users, populate the database accordingly and sync users. Set the script as executable by all users to tackle a Hook limitation
|
||||||
|
if [ $user = 1 ];
|
||||||
|
then
|
||||||
|
mysql -u ${dbuser} -p${dbpass} ${dbname} < ../conf/ldap_user.sql
|
||||||
|
sudo sudo -u www-data php php $src_path/scripts/user/sync_users_ldap2dolibarr.php commitiferror --server=localhost -y
|
||||||
|
fi
|
||||||
|
|
||||||
|
# If YNH users should be members, populate the database accordingly, create the member list, and sync members
|
||||||
|
if [ $member = 1 ];
|
||||||
|
then
|
||||||
|
mysql -u ${dbuser} -p${dbpass} ${dbname} < ../conf/ldap_member.sql
|
||||||
|
sudo sudo -u www-data php $src_path/scripts/members/sync_members_ldap2dolibarr.php commitiferror 1 --server=localhost -y
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Enable SSO if chosen by the user
|
||||||
|
if [ $is_public = 0 ];
|
||||||
|
then
|
||||||
|
ynh_app_setting_delete $app unprotected_uris
|
||||||
sudo yunohost app ssowatconf
|
sudo yunohost app ssowatconf
|
||||||
|
fi
|
||||||
|
|
||||||
curl -kL -H "Host: $domain" -X POST https://127.0.0.1$path/install/setp1.php --data "testpost=ok&action=set&main_dir=%2Fvar%2Fwww%2Fdolibarr%2Fhtdocs&main_data_dir=%2Fvar%2Fwww%2Fdolibarr%2Fdocuments&main_url=https://$domain$path&db_name=dolibarr&db_type=mysqli&db_host=localhost&db_port=&db_prefix=llx_&db_user=dolibarr&db_pass=$db_pwd&selectlang=fr_FR" > /dev/null 2>&1
|
# Setup hooks
|
||||||
|
sed -i "s@YNH_APP@$app@g" ../hooks/post_user_create
|
||||||
|
sed -i "s@YNH_USER@$user@g" ../hooks/post_user_create
|
||||||
|
sed -i "s@YNH_MEMBER@$member@g" ../hooks/post_user_create
|
||||||
|
|
||||||
curl -kL -H "Host: $domain" -X POST https://127.0.0.1$path/install/setp2.php --data "testpost=ok&action=set&dolibarr_main_db_character_set=latin1&dolibarr_main_db_collation=latin1_swedish_ci&selectlang=fr_FR" > /dev/null 2>&1
|
sed -i "s@YNH_APP@$app@g" ../hooks/post_user_delete
|
||||||
|
sed -i "s@YNH_USER@$user@g" ../hooks/post_user_delete
|
||||||
curl -kL -H "Host: $domain" -X POST https://127.0.0.1$path/install/setp4.php --data "testpost=ok&action=set&selectlang=fr_FR" > /dev/null 2>&1
|
sed -i "s@YNH_MEMBER@$member@g" ../hooks/post_user_delete
|
||||||
|
|
||||||
curl -kL -H "Host: $domain" -X POST https://127.0.0.1$path/install/setp5.php --data "testpost=ok&action=set&login=admin&pass=neutrinet&pass_verif=neutrinet&selectlang=fr_FR" > /dev/null 2>&1
|
|
||||||
|
|
||||||
sudo yunohost app setting dolibarr unprotected_uris -v ""
|
|
||||||
sudo yunohost app ssowatconf
|
|
||||||
|
|
||||||
# TODO
|
|
||||||
# Attention, pour des raisons de sécurité, afin de bloquer une nouvelle utilisation des outils d'installation/migration, une fois l'installation terminée, il est conseillé de placer dans le répertoire document de Dolibarr un fichier nommé install.lock en lecture seule.
|
|
||||||
|
|
|
@ -1,18 +1,29 @@
|
||||||
set -e
|
#!/bin/bash
|
||||||
|
|
||||||
domain=$(sudo yunohost app setting dolibarr domain)
|
set -u
|
||||||
root_pwd=$(sudo cat /etc/yunohost/mysql)
|
app=$YNH_APP_INSTANCE_NAME
|
||||||
|
|
||||||
db_name=dolibarr
|
# Source YunoHost helpers
|
||||||
db_user=dolibarr
|
source /usr/share/yunohost/helpers
|
||||||
|
|
||||||
mysql -u root -p$root_pwd -e "DROP DATABASE $db_name ; DROP USER $db_user@localhost ;"
|
# Retrieve app settings
|
||||||
|
domain=$(ynh_app_setting_get "$app" domain)
|
||||||
|
|
||||||
final_path=/var/www/dolibarr
|
# Remove sources
|
||||||
|
sudo rm -rf /var/www/$app
|
||||||
|
|
||||||
sudo rm -rf $final_path
|
# Remove nginx configuration file
|
||||||
sudo rm -f /etc/nginx/conf.d/$domain.d/dolibarr.conf
|
sudo rm -f /etc/nginx/conf.d/$domain.d/$app.conf
|
||||||
sudo rm -f /etc/php5/fpm/pool.d/dolibarr.conf
|
|
||||||
|
|
||||||
sudo service php5-fpm restart
|
# PHP
|
||||||
|
sudo rm -f /etc/php5/fpm/pool.d/$app.conf
|
||||||
|
sudo service php5-fpm reload
|
||||||
|
|
||||||
|
# MySQL
|
||||||
|
dbname=$app
|
||||||
|
dbuser=$app
|
||||||
|
ynh_mysql_drop_db "$dbname" || true
|
||||||
|
ynh_mysql_drop_user "$dbuser" || true
|
||||||
|
|
||||||
|
# Reload nginx service
|
||||||
sudo service nginx reload
|
sudo service nginx reload
|
||||||
|
|
42
scripts/restore
Executable file
42
scripts/restore
Executable file
|
@ -0,0 +1,42 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Exit on command errors and treat unset variables as an error
|
||||||
|
set -eu
|
||||||
|
|
||||||
|
app=$YNH_APP_INSTANCE_NAME
|
||||||
|
|
||||||
|
# Source YunoHost helpers
|
||||||
|
source /usr/share/yunohost/helpers
|
||||||
|
|
||||||
|
# Retrieve old app settings
|
||||||
|
domain=$(ynh_app_setting_get "$app" domain)
|
||||||
|
path=$(ynh_app_setting_get "$app" path)
|
||||||
|
|
||||||
|
# Check domain/path availability
|
||||||
|
sudo yunohost app checkurl "${domain}${path}" -a "$app" \
|
||||||
|
|| ynh_die "Path not available: ${domain}${path}"
|
||||||
|
|
||||||
|
# Restore sources & data
|
||||||
|
src_path="/var/www/${app}"
|
||||||
|
sudo cp -a ./sources "$src_path"
|
||||||
|
|
||||||
|
# Restore permissions to app files
|
||||||
|
sudo chmod -R 755 $src_path
|
||||||
|
sudo chown -R www-data: $src_path
|
||||||
|
|
||||||
|
# MySQL
|
||||||
|
dbname=$app
|
||||||
|
dbuser=$app
|
||||||
|
dbpass=$(ynh_app_setting_get "$app" mysqlpwd)
|
||||||
|
ynh_mysql_create_db "$dbname" "$dbuser" "$dbpass"
|
||||||
|
ynh_mysql_connect_as "$dbuser" "$dbpass" "$dbname" < ./dump.sql
|
||||||
|
|
||||||
|
# Restore NGINX configuration
|
||||||
|
sudo cp -a ./nginx.conf "/etc/nginx/conf.d/${domain}.d/${app}.conf"
|
||||||
|
|
||||||
|
# PHP
|
||||||
|
sudo cp -a ./php-fpm.conf "/etc/php5/fpm/pool.d/${app}.conf"
|
||||||
|
sudo service php5-fpm reload
|
||||||
|
|
||||||
|
# Restart webserver
|
||||||
|
sudo service nginx reload
|
76
scripts/upgrade
Executable file
76
scripts/upgrade
Executable file
|
@ -0,0 +1,76 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Exit on command errors and treat unset variables as an error
|
||||||
|
set -eu
|
||||||
|
|
||||||
|
app=$YNH_APP_INSTANCE_NAME
|
||||||
|
version=$(cat ../sources/version)
|
||||||
|
|
||||||
|
# Source YunoHost helpers
|
||||||
|
source /usr/share/yunohost/helpers
|
||||||
|
|
||||||
|
# Retrieve app settings
|
||||||
|
domain=$(ynh_app_setting_get "$app" domain)
|
||||||
|
path=$(ynh_app_setting_get "$app" path)
|
||||||
|
is_public=$(ynh_app_setting_get "$app" is_public)
|
||||||
|
old_version=$(ynh_app_setting_get "$app" version)
|
||||||
|
|
||||||
|
# Copy source files
|
||||||
|
src_path=/var/www/$app
|
||||||
|
# Download, unzip and copy source
|
||||||
|
sudo wget -q https://github.com/Dolibarr/dolibarr/archive/${version}.zip -O dolibarr-${version}.zip
|
||||||
|
sudo unzip -qq dolibarr-${version}.zip
|
||||||
|
sudo unzip -qq /tmp/dolibarr-${version}.zip
|
||||||
|
sudo cp -a dolibarr-${version}/. $src_path
|
||||||
|
|
||||||
|
# Modify Nginx configuration file and copy it to Nginx conf directory
|
||||||
|
nginx_conf=../conf/nginx.conf
|
||||||
|
sed -i "s@YNH_WWW_PATH@${path%/}@g" $nginx_conf
|
||||||
|
sed -i "s@YNH_WWW_ALIAS@$src_path/htdocs/@g" $nginx_conf
|
||||||
|
sed -i "s@YNH_WWW_APP@$app@g" $nginx_conf
|
||||||
|
sudo cp $nginx_conf /etc/nginx/conf.d/$domain.d/$app.conf
|
||||||
|
|
||||||
|
# PHP
|
||||||
|
sed -i "s@YNH_WWW_APP@$app@g" ../conf/php-fpm.conf
|
||||||
|
sed -i "s@YNH_WWW_ALIAS@$src_path@g" ../conf/php-fpm.conf
|
||||||
|
finalphpconf=/etc/php5/fpm/pool.d/$app.conf
|
||||||
|
sudo cp ../conf/php-fpm.conf $finalphpconf
|
||||||
|
sudo chown root: $finalphpconf
|
||||||
|
sudo chmod 644 $finalphpconf
|
||||||
|
sudo service php5-fpm reload
|
||||||
|
|
||||||
|
# Set permissions to app files
|
||||||
|
sudo chmod -R 755 $src_path
|
||||||
|
sudo chown -R www-data: $src_path
|
||||||
|
|
||||||
|
# Reload nginx service
|
||||||
|
sudo service nginx reload
|
||||||
|
|
||||||
|
# Upgrade
|
||||||
|
# Disable SSO
|
||||||
|
ynh_app_setting_set "$app" unprotected_uris "/"
|
||||||
|
sudo yunohost app ssowatconf
|
||||||
|
|
||||||
|
# Remove the lock if it exists
|
||||||
|
lock=$src_path/documents/install.lock
|
||||||
|
[[ -f $lock ]] && sudo rm $lock
|
||||||
|
|
||||||
|
# Upgrade with CURL
|
||||||
|
curl -kL -H "Host: $domain" "https://$domain$path/install/upgrade.php?action=upgrade&versionfrom=$old_version&versionto=$version" > /dev/null 2>&1
|
||||||
|
curl -kL -H "Host: $domain" -X POST "https://$domain$path/install/upgrade2.php?versionfrom=$old_version&versionto=$version" --data "testpost=ok&action=upgrade" > /dev/null 2>&1
|
||||||
|
curl -kL -H "Host: $domain" -X POST "https://$domain$path/install/step5.php?versionfrom=$old_version&versionto=$version" --data "testpost=ok&action=upgrade" > /dev/null 2>&1
|
||||||
|
|
||||||
|
# Recreate the lock
|
||||||
|
sudo touch $lock
|
||||||
|
sudo chmod 444 $lock
|
||||||
|
sudo chown www-data: $lock
|
||||||
|
|
||||||
|
# Enable SSO if chosen by the user
|
||||||
|
if [ $is_public = 0 ];
|
||||||
|
then
|
||||||
|
ynh_app_setting_delete $app unprotected_uris
|
||||||
|
sudo yunohost app ssowatconf
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Store the new version
|
||||||
|
ynh_app_setting_set $app version $version
|
|
@ -1,84 +0,0 @@
|
||||||
How to contribute to Dolibarr
|
|
||||||
=============================
|
|
||||||
|
|
||||||
Bug reports and feature requests
|
|
||||||
--------------------------------
|
|
||||||
|
|
||||||
*Note*: Issues are not a support forum. If you need help using the software, please use [the forums](http://www.dolibarr.org/forum).
|
|
||||||
|
|
||||||
**NEW**
|
|
||||||
|
|
||||||
Issues are now managed on [GitHub](https://github.com/Dolibarr/dolibarr/Issues).
|
|
||||||
|
|
||||||
1. Please [use the search engine](https://help.github.com/articles/searching-issues) to check if nobody's already reported your problem.
|
|
||||||
2. [Create an issue](https://help.github.com/articles/creating-an-issue). Choose an appropriate title. Prepend appropriately with Bug or Feature Request.
|
|
||||||
3. Report with as much detail as possible ([Use screenshots or even screencasts whenever possible](https://help.github.com/articles/issue-attachments)).
|
|
||||||
|
|
||||||
We're still figuring out how to migrate old issues to GitHub. In the meantime, they are still available at [Doliforge](https://doliforge.org/projects/dolibarr).
|
|
||||||
|
|
||||||
<a name=code></a>Code
|
|
||||||
---------------------
|
|
||||||
|
|
||||||
### Basic workflow
|
|
||||||
|
|
||||||
1. [Fork](https://help.github.com/articles/fork-a-repo) the [GitHub repository](https://github.com/Dolibarr/dolibarr).
|
|
||||||
2. Clone your fork.
|
|
||||||
3. Choose a branch(See the [Branches](#branches) section below).
|
|
||||||
4. Commit and push your changes.
|
|
||||||
5. [Make a pull request](https://help.github.com/articles/creating-a-pull-request).
|
|
||||||
|
|
||||||
### <a name=branches></a>Branches
|
|
||||||
|
|
||||||
Unless you're fixing a bug, all pull requests should be made against the *develop* branch.
|
|
||||||
|
|
||||||
If you're fixing a bug, it is preferred that you cook your fix and pull request it
|
|
||||||
against the oldest version affected that's still supported.
|
|
||||||
|
|
||||||
We officially support versions N, N − 1 and N − 2 for N the latest version available.
|
|
||||||
|
|
||||||
Choose your base branch accordingly.
|
|
||||||
|
|
||||||
### General rules
|
|
||||||
Please don't edit the ChangeLog file. A project manager will update it from your commit messages.
|
|
||||||
|
|
||||||
### Commits
|
|
||||||
Use clear commit messages with the following structure:
|
|
||||||
|
|
||||||
<pre>
|
|
||||||
FIX|Fix #456 Short description (where #456 is number of bug fix, if it exists. In upper case to appear into ChangeLog)
|
|
||||||
or
|
|
||||||
CLOSE|Close #456 Short description (where #456 is number of feature request, if it exists. In upper case to appear into ChangeLog)
|
|
||||||
or
|
|
||||||
NEW|New Short description (In upper case to appear into ChangeLog, use this if you add a feature not tracked, otherwise use CLOSE #456)
|
|
||||||
or
|
|
||||||
Short description (when the commit is not introducing feature nor closing a bug)
|
|
||||||
|
|
||||||
Long description (Can span accross multiple lines).
|
|
||||||
</pre>
|
|
||||||
|
|
||||||
### Pull Requests
|
|
||||||
When submitting a pull request, use same rule than Commits. With upper case keyword to appear into ChangeLog.
|
|
||||||
|
|
||||||
|
|
||||||
### Resources
|
|
||||||
[Developer documentation](http://wiki.dolibarr.org/index.php/Developer_documentation)
|
|
||||||
|
|
||||||
Translations
|
|
||||||
------------
|
|
||||||
The source language (en_US) is maintained in the repository. See the [Code](#code) section above.
|
|
||||||
|
|
||||||
All other translations are managed online at [Transifex](https://www.transifex.com/projects/p/dolibarr).
|
|
||||||
|
|
||||||
Join an existing translation team or create your own and translate into the interface.
|
|
||||||
|
|
||||||
Your translations will be available in the next major release.
|
|
||||||
|
|
||||||
### Resources
|
|
||||||
[Translator documentation](http://wiki.dolibarr.org/index.php/Developer_documentation)
|
|
||||||
|
|
||||||
Documentation
|
|
||||||
-------------
|
|
||||||
The project's documentation is maintained on the [Wiki](http://wiki.dolibarr.org/index.php).
|
|
||||||
|
|
||||||
*You need to create an account before being able to edit.*
|
|
||||||
|
|
|
@ -1,185 +0,0 @@
|
||||||
|
|
||||||
License
|
|
||||||
-------
|
|
||||||
|
|
||||||
Dolibarr is released under the terms of the GNU General Public License as
|
|
||||||
published by the Free Software Foundation; either version 3 of the License,
|
|
||||||
or (at your option) any later version (GPL-3+).
|
|
||||||
More information: http://www.gnu.org/licenses/gpl-3.0.txt
|
|
||||||
|
|
||||||
Dolibarr uses some external libraries released under different licenses. This is compatibility summary:
|
|
||||||
|
|
||||||
Component Version License GPL Compatible Usage
|
|
||||||
-------------------------------------------------------------------------------------
|
|
||||||
PHP libraries:
|
|
||||||
AdoDb-Date 0.33 Modified BSD License Yes Date convertion (not into rpm package)
|
|
||||||
ChromePHP 4.3.3 Apache Software License 2.0 Yes Return server log to chrome browser console
|
|
||||||
CKEditor 4.3.3 LGPL-2.1+ Yes Editor WYSIWYG
|
|
||||||
FPDI 1.5.2 Apache Software License 2.0 Yes PDF templates management
|
|
||||||
GeoIP 1.4 LGPL-2.1+ Yes Sample code to make geoip convert (not into deb package)
|
|
||||||
Mobiledetect 2.8.3 MIT License Yes Detect mobile devices browsers
|
|
||||||
NuSoap 0.9.5 LGPL 2.1+ Yes Library to develop SOAP Web services (not into rpm and deb package)
|
|
||||||
PEAR Mail_MIME 1.8.9 BSD Yes NuSoap dependency
|
|
||||||
odtPHP 1.0.1 GPL-2+ b Yes Library to build/edit ODT files
|
|
||||||
PHPExcel 1.8.0 LGPL-2.1+ Yes Read/Write XLS files, read ODS files
|
|
||||||
php-iban 1.4.7 LGPL-3+ Yes Parse and validate IBAN (and IIBAN) bank account information in PHP
|
|
||||||
PHPPrintIPP 1.3 GPL-2+ Yes Library to send print IPP requests
|
|
||||||
Restler 3.0 LGPL-3+ Yes Library to develop REST Web services
|
|
||||||
TCPDF 6.2.6 LGPL-3+ Yes PDF generation
|
|
||||||
EvalMath 1.0 BSD Yes Safe math expressions evaluation
|
|
||||||
|
|
||||||
JS libraries:
|
|
||||||
jQuery 1.11.3 MIT License Yes JS library
|
|
||||||
jQuery UI 1.11.4 GPL and MIT License Yes JS library plugin UI
|
|
||||||
jQuery select2 3.5.2 GPL and Apache License Yes JS library plugin for sexier multiselect
|
|
||||||
jQuery blockUI 2.70.0 GPL and MIT License Yes JS library plugin blockUI (to use ajax popups)
|
|
||||||
jQuery Colorpicker 1.1 MIT License Yes JS library for color picker for a defined list of colors
|
|
||||||
jQuery DataTables 1.9.4 BSD Yes JS library for tables output
|
|
||||||
jQuery FileUpload 5.0.3 GPL and MIT License Yes JS library to upload files
|
|
||||||
jQuery Flot 0.7 MIT License Yes JS library to build graph
|
|
||||||
jQuery JCrop 0.9.8 GPL and MIT License Yes JS library plugin Crop (to crop images)
|
|
||||||
jQuery Jeditable 1.7.1 GPL and MIT License Yes JS library plugin jeditable (to edit in place)
|
|
||||||
jQuery jNotify 1.1.00 Apache Software License 2.0 Yes JS library plugin jNotify (to use ajax popups)
|
|
||||||
jQuery jPicker 1.1.6 GPL and MIT License Yes JS library for color picker with not defined list of colors
|
|
||||||
jQuery jqueryFileTree 1.0.1 GPL and MIT License Yes JS library for color picker with not defined list of colors
|
|
||||||
jQuery jquerytreeview 1.4.1 MIT License Yes JS library for color picker with not defined list of colors
|
|
||||||
jQuery Layout 1.4.3 GPL and MIT License Yes JS library plugin Layout
|
|
||||||
jQuery Mobile 1.3.0 GPL and MIT License Yes JS library for smartphone (not used)
|
|
||||||
jQuery TableDnD 0.6 GPL and MIT License Yes JS library plugin TableDnD (to reorder table rows)
|
|
||||||
jQuery Timepicker 1.1.0 GPL and MIT License Yes JS library Timepicker addon for Datepicker
|
|
||||||
jQuery Tiptip 1.3 GPL and MIT License Yes JS library for tooltips
|
|
||||||
jsGantt 1.2 BSD License Yes JS library (to build Gantt reports)
|
|
||||||
JsTimezoneDetect 1.0.4 MIT Licence Yes JS library to detect user timezone
|
|
||||||
|
|
||||||
For licenses compatibility informations:
|
|
||||||
http://www.fsf.org/licensing/licenses/index_html
|
|
||||||
|
|
||||||
|
|
||||||
Copyright
|
|
||||||
---------
|
|
||||||
|
|
||||||
Copyright (C) 2015
|
|
||||||
- Laurent Destailleur <eldy@users.sourceforge.net>
|
|
||||||
- Marcos García <marcosgdf@gmail.com>
|
|
||||||
- Alexandre Spangaro <aspangaro.dolibarr@gmail.com>
|
|
||||||
- Frederic France <frederic.france@free.fr>
|
|
||||||
- Regis Houssin <regis.houssin@capnetworks.com>
|
|
||||||
|
|
||||||
Copyright (C) 2014
|
|
||||||
- Laurent Destailleur <eldy@users.sourceforge.net>
|
|
||||||
- Raphaël Doursenaud <rdoursenaud@gpcsolutions.fr>
|
|
||||||
- Jean-François Ferry <jfefe@aternatik.fr>
|
|
||||||
- Marcos García <marcosgdf@gmail.com>
|
|
||||||
- Philippe Grand <philippe.grand@atoo-net.com>
|
|
||||||
- Florian Henry <florian.henry@open-concept.pro>
|
|
||||||
- Regis Houssin <regis.houssin@capnetworks.com>
|
|
||||||
- Maxime Kohlhaas <mko@atm-consulting.fr>
|
|
||||||
- Juanjo Menent <jmenent@2byte.es>
|
|
||||||
- Alexandre Spangaro <aspangaro.dolibarr@gmail.com>
|
|
||||||
- Frederic France <frederic.france@free.fr>
|
|
||||||
|
|
||||||
Copyright (C) 2013
|
|
||||||
- Christophe Battarel <christophe.battarel@altairis.fr>
|
|
||||||
- Laurent Destailleur <eldy@users.sourceforge.net>
|
|
||||||
- Jean-François Ferry <jfefe@aternatik.fr>
|
|
||||||
- Marcos García <marcosgdf@gmail.com>
|
|
||||||
- Philippe Grand <philippe.grand@atoo-net.com>
|
|
||||||
- Florian Henry <florian.henry@open-concept.pro>
|
|
||||||
- Regis Houssin <regis.houssin@capnetworks.com>
|
|
||||||
- Maxime Kohlhaas <mko@atm-consulting.fr>
|
|
||||||
- Juanjo Menent <jmenent@2byte.es>
|
|
||||||
- Adolfo Segura <adolfo.segura@gmail.com>
|
|
||||||
- Alexandre Spangaro <aspangaro.dolibarr@gmail.com>
|
|
||||||
|
|
||||||
Copyright (C) 2012
|
|
||||||
- Christophe Battarel <christophe.battarel@altairis.fr>
|
|
||||||
- Laurent Destailleur <eldy@users.sourceforge.net>
|
|
||||||
- Jean-François Ferry <jfefe@aternatik.fr>
|
|
||||||
- Marcos García <marcosgdf@gmail.com>
|
|
||||||
- Philippe Grand <philippe.grand@atoo-net.com>
|
|
||||||
- Jean Heimburger <jean@tiaris.info>
|
|
||||||
- Florian Henry <florian.henry@open-concept.pro>
|
|
||||||
- Regis Houssin <regis.houssin@capnetworks.com>
|
|
||||||
- Maxime Kohlhaas <mko@atm-consulting.fr>
|
|
||||||
- Juanjo Menent <jmenent@2byte.es>
|
|
||||||
- Nicolas Péré <nicolas@amarok2.net>
|
|
||||||
- Alexandre Spangaro <aspangaro.dolibarr@gmail.com>
|
|
||||||
|
|
||||||
Copyright (C) 2011
|
|
||||||
- Laurent Destailleur <eldy@users.sourceforge.net>
|
|
||||||
- Regis Houssin <regis.houssin@capnetworks.com>
|
|
||||||
- Juanjo Menent <jmenent@2byte.es>
|
|
||||||
- Philippe Grand <philippe.grand@atoo-net.com>
|
|
||||||
- Jean Heimburger <jean@tiaris.info>
|
|
||||||
|
|
||||||
Copyright (C) 2010
|
|
||||||
- Laurent Destailleur <eldy@users.sourceforge.net>
|
|
||||||
- Regis Houssin <regis.houssin@capnetworks.com>
|
|
||||||
- Juanjo Menent <jmenent@2byte.es>
|
|
||||||
- r2gnl
|
|
||||||
- meos
|
|
||||||
|
|
||||||
Copyright (C) 2009
|
|
||||||
- Laurent Destailleur <eldy@users.sourceforge.net>
|
|
||||||
- Regis Houssin <regis.houssin@capnetworks.com>
|
|
||||||
- Juanjo Menent <jmenent@2byte.es>
|
|
||||||
|
|
||||||
Copyright (C) 2008
|
|
||||||
- Laurent Destailleur <eldy@users.sourceforge.net>
|
|
||||||
- Regis Houssin <regis.houssin@capnetworks.com>
|
|
||||||
- Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
|
||||||
- Jeremie Ollivier <jeremie.o@laposte.net>
|
|
||||||
|
|
||||||
Copyright (C) 2007
|
|
||||||
- Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
|
||||||
- Laurent Destailleur <eldy@users.sourceforge.net>
|
|
||||||
- Regis Houssin <regis.houssin@capnetworks.com>
|
|
||||||
- Auguria SARL <info@auguria.org>
|
|
||||||
- Jean Heimburger <jean@tiaris.info>
|
|
||||||
- Jeremie Ollivier <jeremie.o@laposte.net>
|
|
||||||
|
|
||||||
Copyright (C) 2006
|
|
||||||
- Auguria SARL <info@auguria.org>
|
|
||||||
- Marc Barilley/Ocebo <marc@ocebo.com>
|
|
||||||
- Laurent Destailleur <eldy@users.sourceforge.net>
|
|
||||||
- Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
|
||||||
- Regis Houssin <regis.houssin@capnetworks.com>
|
|
||||||
- Andre Cianfarani <acianfa@free.fr>
|
|
||||||
- Yannick Warnier <ywarnier@beeznest.org>
|
|
||||||
- Jean Heimburger <jean@tiaris.info>
|
|
||||||
|
|
||||||
Copyright (C) 2005
|
|
||||||
- Brice Davoleau <brice.davoleau@gmail.com>
|
|
||||||
- Laurent Destailleur <eldy@users.sourceforge.net>
|
|
||||||
- Benoit Mortier <benoit.mortier@opensides.be>
|
|
||||||
- Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
|
||||||
- Eric Seigne <erics@rycks.com>
|
|
||||||
- Matthieu Valleton <mv@seeschloss.org>
|
|
||||||
- Regis Houssin <regis.houssin@capnetworks.com>
|
|
||||||
|
|
||||||
Copyright (C) 2004
|
|
||||||
- Laurent Destailleur <eldy@users.sourceforge.net>
|
|
||||||
- Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
|
||||||
- Eric Seigne <erics@rycks.com>
|
|
||||||
- Benoit Mortier <benoit.mortier@opensides.be>
|
|
||||||
- Christophe Combelles <ccomb@free.fr>
|
|
||||||
- Sebastien Di Cintio <sdicintio@ressource-toi.org>
|
|
||||||
|
|
||||||
Copyright (C) 2003
|
|
||||||
- Jean-Louis Bergamo <jlb@j1b.org>
|
|
||||||
- Xavier Dutoit <doli@sydesy.com>
|
|
||||||
- Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
|
||||||
- Emmanuel Raviart <eraviart@entrouvert.com>
|
|
||||||
- Eric Seigne <erics@rycks.com>
|
|
||||||
|
|
||||||
Copyright (C) 2002
|
|
||||||
- Jean-Louis Bergamo <jlb@j1b.org>
|
|
||||||
- Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
|
||||||
|
|
||||||
Copyright (C) 2001
|
|
||||||
- Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,14 +0,0 @@
|
||||||
FROM php:5.6-apache
|
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y libpng12-dev libjpeg-dev \
|
|
||||||
&& rm -rf /var/lib/apt/lists/* \
|
|
||||||
&& docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr \
|
|
||||||
&& docker-php-ext-install gd
|
|
||||||
|
|
||||||
RUN docker-php-ext-install mysqli
|
|
||||||
|
|
||||||
COPY htdocs/ /var/www/html/
|
|
||||||
|
|
||||||
RUN chown -hR www-data:www-data /var/www/html
|
|
||||||
|
|
||||||
EXPOSE 80
|
|
|
@ -1,6 +0,0 @@
|
||||||
INSTALL
|
|
||||||
-------
|
|
||||||
|
|
||||||
English: See README.md file.
|
|
||||||
|
|
||||||
French: Voir fichier README-FR.md.
|
|
|
@ -1,138 +0,0 @@
|
||||||
# DOLIBARR ERP & CRM
|
|
||||||
|
|
||||||
Dolibarr ERP & CRM est un logiciel moderne pour gérer votre activité (société, association, auto-entrepreneurs, artisans).
|
|
||||||
Il est simple d'utilisation et modulaire, vous permettant de n'activez que les fonctions dont vous avez besoin (contacts, fournisseurs, factures, commandes, stocks, agenda, ...).
|
|
||||||
|
|
||||||
![ScreenShot](http://www.dolibarr.org/images/dolibarr_screenshot1_640x480.png)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## LICENCE
|
|
||||||
|
|
||||||
Dolibarr est distribué sous les termes de la licence GNU General Public License v3+ ou supérieure.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## INSTALLER DOLIBARR
|
|
||||||
|
|
||||||
Si vous n'avez pas de connaissances techniques, et que vous recherchez
|
|
||||||
un programme d'installation qui install Dolibarr ERP/CRM en quelques clics,
|
|
||||||
vous devez vous réorienter vers DoliWamp (la version tout-en-un
|
|
||||||
de Dolibarr pour Windows), DoliDeb (la version tout-en-un pour Debian ou
|
|
||||||
Ubuntu) ou DoliRpm (la version tout-en-un de Dolibarr pour Fedora, Redhat,
|
|
||||||
OpenSuse, Mandriva ou Mageia).
|
|
||||||
|
|
||||||
Vous pouvez les télécharger depuis la rubrique *download* du portail officiel:
|
|
||||||
http://www.dolibarr.org/
|
|
||||||
|
|
||||||
Si vous avez déjà installé un serveur Web avec PHP et une base de donnée (Mysql),
|
|
||||||
vous pouvez installer Dolibarr avec cette version de la manière suivante:
|
|
||||||
|
|
||||||
- Copier le répertoire "dolibarr" et son contenu dans la racine de votre serveur
|
|
||||||
web, ou bien copier le répertoire sur le serveur et configurer ce serveur pour
|
|
||||||
utiliser "dolibarr/htdocs" comme racine d'un nouveau virtual host (ce second
|
|
||||||
choix requiert des compétences et habilitations en administration du serveur
|
|
||||||
web).
|
|
||||||
|
|
||||||
- Créer un fichier vide "htdocs/conf/conf.php" et attribuer les permissions
|
|
||||||
en lecture et écriture pour le user du serveur web (les permissions en
|
|
||||||
écriture seront supprimées une fois l'installation terminée).
|
|
||||||
|
|
||||||
- Depuis votre navigateur, appeler la page "install/" de dolibarr. L'url dépend
|
|
||||||
du choix fait à la première etape:
|
|
||||||
http://localhost/dolibarr/htdocs/install/
|
|
||||||
ou
|
|
||||||
http://yourdolibarrvirtualhost/install/
|
|
||||||
|
|
||||||
- Suivez les instructions fournies par l'installeur...
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## METTRE A JOUR DOLIBARR
|
|
||||||
|
|
||||||
Pour mettre a jour Dolibarr depuis une vieille version vers celle ci:
|
|
||||||
- Ecraser les vieux fichiers dans le vieux repertoire 'dolibarr' par les fichiers
|
|
||||||
fournis dans ce nouveau package.
|
|
||||||
|
|
||||||
- Si vous venez d'une version x.y.z vers x.y.w (seul le 3eme chiffre varie),
|
|
||||||
il n'y a pas besoin de migration de données.
|
|
||||||
|
|
||||||
- Si vous venez d'une beta ou d'un version x.y.z vers une autre ou les numeros x
|
|
||||||
ou y varient, vous devez appelez la page "install/" de migration dans votre
|
|
||||||
navigateur (ceci doit se faire automatiquement au premier accès de l'application).
|
|
||||||
Ce sera une URL du genre:
|
|
||||||
http://localhost/dolibarr/htdocs/install/index.php
|
|
||||||
ou
|
|
||||||
http://yourdolibarrhost/install/index.php
|
|
||||||
|
|
||||||
Ensuite, choisir l'option de "mise a jour" en rapport avec votre cas.
|
|
||||||
Note: Le processus de migration peut etre lance plusieurs fois sans risque.
|
|
||||||
|
|
||||||
|
|
||||||
## CE QUI EST NOUVEAU
|
|
||||||
|
|
||||||
Voir fichier ChangeLog.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## CE QUE DOLIBARR PEUT FAIRE
|
|
||||||
|
|
||||||
Modules principaux:
|
|
||||||
- Annuaires des prospects et/ou client et/ou fournisseurs
|
|
||||||
- Gestion de catalogue de produits et services
|
|
||||||
- Gestion de stock
|
|
||||||
- Gestion des comptes bancaires
|
|
||||||
- Agenda partagé
|
|
||||||
- Gestion des commandes
|
|
||||||
- Gestion des devis, propositions commerciales
|
|
||||||
- Gestion des factures clients et fournisseurs
|
|
||||||
- Gestion de contrats de services
|
|
||||||
- Gestion des paiements
|
|
||||||
- Gestion des virements bancaires
|
|
||||||
- Gestion des expéditions
|
|
||||||
- GED (Gestion Electronique de Documents)
|
|
||||||
- EMailings de masse
|
|
||||||
- Réalisation de sondages
|
|
||||||
- Point de vente/Caisse enregistreuse
|
|
||||||
|
|
||||||
Autres modules:
|
|
||||||
- Gestion de marque-pages
|
|
||||||
- Gestion des promesses de dons
|
|
||||||
- Gestion de la TVA NPR (non perçue récupérable - pour les utilisateurs français des DOM-TOM)
|
|
||||||
- Rapports
|
|
||||||
- Imports/Exports des données
|
|
||||||
- Connectivité LDAP
|
|
||||||
- Export PDF de tous les éléments (factures, propositions commerciales, commandes, bons expéditions, etc...)
|
|
||||||
- De nombreuses autres fonctionnalités issues de modules officiels ou non (AWStats, Bittorrent, Gravatar, Google, Webcalendar...)
|
|
||||||
|
|
||||||
Divers:
|
|
||||||
- Application multi-utilisateurs avec différents niveaux de permissions par module.
|
|
||||||
- Plusieurs gestionnaires de menus (possibilité de différencier les menus pour les utilisateurs internes ou externes comme les clients ou fournisseurs).
|
|
||||||
- Application simple à utiliser.
|
|
||||||
- Plusieurs thèmes visuels.
|
|
||||||
- Code simple et facilement personnalisable.
|
|
||||||
- Requiert PHP et Mysql ou Postgresql (Voir versions exactes sur http://wiki.dolibarr.org/index.php/Prérequis).
|
|
||||||
- Compatible avec toutes les offres Cloud du marché respectant les prérequis MySQL et PHP ou Postgresql.
|
|
||||||
|
|
||||||
|
|
||||||
## CE QUE DOLIBARR NE PEUT PAS FAIRE (TACHES A FAIRE)
|
|
||||||
|
|
||||||
Voici un liste de fonctionnalites pas encore gérées par Dolibarr:
|
|
||||||
- Pas de compta analytique double-partie (uniquement gestion de trésorerie).
|
|
||||||
- Dolibarr ne gère qu'une seule monnaie à la fois (mono-devise).
|
|
||||||
- Dolibarr ne gère en standard qu'une société/institution/association mère (mono-société). Pour en gérer plusieurs (comme vos filiales), il faut, soit faire plusieurs installations de Dolibarr, soit installer le module MultiCompany qui permet de gérer n société/institutions/associations dans une seule instance par une isolation logique des données.
|
|
||||||
- Dolibarr ne contient pas de module de Gestion de la paie.
|
|
||||||
- Les tâches du module de gestion de projets n'ont pas de dépendance entre elle.
|
|
||||||
- Dolibarr ne contient pas de Webmail.
|
|
||||||
- Dolibarr ne fait pas le café (pas encore).
|
|
||||||
|
|
||||||
|
|
||||||
## RESEAUX SOCIAUX
|
|
||||||
|
|
||||||
Suivez le projet Dolibarr project sur
|
|
||||||
|
|
||||||
Facebook: <https://www.facebook.com/dolibarr.fr>
|
|
||||||
|
|
||||||
Google+: <https://plus.google.com/+DolibarrFrance>
|
|
||||||
|
|
||||||
Twitter: <http://www.twitter.com/dolibarr_france>
|
|
|
@ -1,166 +0,0 @@
|
||||||
# DOLIBARR ERP & CRM
|
|
||||||
|
|
||||||
Dolibarr ERP & CRM is a modern software to manage your organization's activity (contacts, suppliers, invoices, orders, stocks, agenda, ...).
|
|
||||||
|
|
||||||
It's an Open Source software (wrote in PHP language) designed for small and medium companies, foundation and freelances.
|
|
||||||
|
|
||||||
You can freely use, study, modify or distribute it according to it's Free Software licence.
|
|
||||||
|
|
||||||
You can use it as a standalone application or as a web application to be able to access it from the Internet or a LAN.
|
|
||||||
|
|
||||||
![ScreenShot](http://www.dolibarr.org/images/dolibarr_screenshot1_640x400.png)
|
|
||||||
|
|
||||||
## LICENSE
|
|
||||||
|
|
||||||
Dolibarr is released under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version (GPL-3+).
|
|
||||||
|
|
||||||
See the [COPYING](COPYING) file for a full copy of the license.
|
|
||||||
|
|
||||||
Other licenses apply for some included dependencies. See [COPYRIGHT](COPYRIGHT) for a full list.
|
|
||||||
|
|
||||||
## INSTALLING
|
|
||||||
|
|
||||||
### Download
|
|
||||||
|
|
||||||
Releases can be downloaded from [official website](http://www.dolibarr.org/).
|
|
||||||
|
|
||||||
### Simple setup
|
|
||||||
|
|
||||||
If you have low technical skills and you're looking to install Dolibarr ERP/CRM in few clicks, you can use one of the packaged versions:
|
|
||||||
|
|
||||||
- DoliWamp for Windows
|
|
||||||
- DoliDeb for Debian or Ubuntu
|
|
||||||
- DoliRpm for Redhat, Fedora, OpenSuse, Mandriva or Mageia
|
|
||||||
|
|
||||||
### Advanced setup
|
|
||||||
|
|
||||||
You can use a Web server and a supported database (MySQL recommended) to install the standard version.
|
|
||||||
|
|
||||||
- Uncompress the downloaded archive
|
|
||||||
- Copy directory "dolibarr" and all its files inside your web server root, or copy directory anywhere and set up your web server to use "dolibarr/htdocs" as root for a new web server virtual host (second choice need to be server administrator)
|
|
||||||
- Create an empty file "htdocs/conf/conf.php" and set permissions for your web server user (write permissions will be removed once install is finished)
|
|
||||||
- From your browser, go to the dolibarr "install/" page
|
|
||||||
|
|
||||||
The URL will depends on choices made in the first step:
|
|
||||||
|
|
||||||
http://localhost/dolibarr/htdocs/install/
|
|
||||||
|
|
||||||
or
|
|
||||||
|
|
||||||
http://localhost/dolibarr/install/
|
|
||||||
|
|
||||||
or
|
|
||||||
|
|
||||||
http://yourdolibarrvirtualhost/install/
|
|
||||||
|
|
||||||
- Follow the installer instructions
|
|
||||||
|
|
||||||
## UPGRADING
|
|
||||||
|
|
||||||
- Overwrite all old files from 'dolibarr' directory with files provided into the new version's package.
|
|
||||||
- If you're upgrading from version x.y.z to x.y.w (only third number differs), there is no need to run any migration process.
|
|
||||||
- If you're upgrading from a beta version or from any version x.y.z to any other where x or y number differs, you must call the Dolibarr "install/" page in your browser (this should be done automatically at first dolibarr access) and follow the upgrade process.
|
|
||||||
|
|
||||||
*Note: migration process can safely be done multiple times.*
|
|
||||||
|
|
||||||
## NEWS
|
|
||||||
|
|
||||||
See the [ChangeLog](ChangeLog) file.
|
|
||||||
|
|
||||||
## FEATURES
|
|
||||||
|
|
||||||
### General features
|
|
||||||
- Users and groups with finely grained rights
|
|
||||||
- Localization in most major languages
|
|
||||||
- Very user friendly and easy to use
|
|
||||||
- Highly customizable: enable only the modules you need, add user personalized fields, choose your skin, several menu managers (can be used by internal users as a back-office with a particular menu, or by external users as a front-office with another one)
|
|
||||||
- Works with PHP 5.3+ and MySQL 4.1+ or PostgreSQL 8.1. (See requirements on the [Wiki](http://wiki.dolibarr.org/index.php/Prerequisite))
|
|
||||||
- Compatible with all Cloud solutions that match MySQL, PHP or PostgreSQL prerequisites.
|
|
||||||
- An easy to understand, maintain and code interfaces with your own information system (PHP with no heavy framework; trigger and hook architecture)
|
|
||||||
- Support for country specific features:
|
|
||||||
- Spanish Tax RE and ISPF
|
|
||||||
- French NPR VAT rate (VAT called "Non Perçue Récupérable" for DOM-TOM)
|
|
||||||
- Canadian double taxes (federal/province) and other countries using cumulative VAT
|
|
||||||
- Tunisian tax stamp
|
|
||||||
- Compatible with [European directives](http://europa.eu/legislation_summaries/taxation/l31057_en.htm) (2006/112/CE ... 2010/45/UE)
|
|
||||||
- ...
|
|
||||||
|
|
||||||
### Main modules
|
|
||||||
|
|
||||||
- Customers, Prospects and/or Suppliers directory
|
|
||||||
- Products and/or Services catalog
|
|
||||||
- Bank accounts management
|
|
||||||
- Customer and Supplier Orders management
|
|
||||||
- Commercial proposals management
|
|
||||||
- Contracts management
|
|
||||||
- Invoices management
|
|
||||||
- Projects management
|
|
||||||
- Events management
|
|
||||||
- Payments management
|
|
||||||
- Standing orders management
|
|
||||||
- Stock management
|
|
||||||
- Shipping management
|
|
||||||
- Interventions management
|
|
||||||
- PDF or ODT generation for invoice, proposals, orders...
|
|
||||||
- Agenda with ical and vcal export for third party tools integration
|
|
||||||
- Electronic Document Management (EDM)
|
|
||||||
- Foundations members management
|
|
||||||
- Employee's holidays management
|
|
||||||
- Mass emailing
|
|
||||||
- Surveys
|
|
||||||
- Point of Sale
|
|
||||||
- …
|
|
||||||
|
|
||||||
### Other modules
|
|
||||||
|
|
||||||
- Bookmarks management
|
|
||||||
- Donations management
|
|
||||||
- Reporting
|
|
||||||
- Data export/import
|
|
||||||
- Thirdparties and/or products categories
|
|
||||||
- Barcodes support
|
|
||||||
- Margin calculations
|
|
||||||
- LDAP connectivity
|
|
||||||
- ClickToDial integration
|
|
||||||
- RSS integration
|
|
||||||
- Skype integration
|
|
||||||
- Payment platforms integration (PayBox, PayPal)
|
|
||||||
- …
|
|
||||||
|
|
||||||
### Extending
|
|
||||||
|
|
||||||
Dolibarr can be extended with a lot of other external modules from third party developers available at the [DoliStore](http://www.dolistore.com).
|
|
||||||
|
|
||||||
## FUTURE
|
|
||||||
|
|
||||||
These are features that Dolibarr does **not** yet fully support:
|
|
||||||
|
|
||||||
- Double-entry bookkeeping (only bank and treasury management)
|
|
||||||
- Multiple currencies
|
|
||||||
- Multiple companies
|
|
||||||
If you want to manage several companies or foundations, you must install the software several times (on same server or not) or use the MultiCompany addon module that allows to manage several companies in one Dolibarr instance (one database but with a logical isolation of datas)
|
|
||||||
- Tasks dependencies in projects
|
|
||||||
- Payroll module
|
|
||||||
- Webmail
|
|
||||||
- Dolibarr can't do coffee (yet)
|
|
||||||
|
|
||||||
## DOCUMENTATION
|
|
||||||
|
|
||||||
Administrator, user, developer and translator's documentations are available along with other community resources on the [Wiki](http://wiki.dolibarr.org).
|
|
||||||
|
|
||||||
## CREDITS
|
|
||||||
|
|
||||||
Dolibarr is the work of many contributors over the years and uses some fine libraries.
|
|
||||||
|
|
||||||
See [COPYRIGHT](COPYRIGHT) file.
|
|
||||||
|
|
||||||
## SOCIAL NETWORKS
|
|
||||||
|
|
||||||
Follow Dolibarr project on:
|
|
||||||
|
|
||||||
- [Facebook](https://www.facebook.com/dolibarr)
|
|
||||||
- [Google+](https://plus.google.com/+DolibarrOrg)
|
|
||||||
- [Twitter](http://www.twitter.com/dolibarr)
|
|
||||||
- [LinkedIn](https://www.linkedin.com/company/association-dolibarr)
|
|
||||||
- [YouTube](https://www.youtube.com/user/DolibarrERPCRM)
|
|
||||||
- [GitHub](https://github.com/Dolibarr/dolibarr)
|
|
|
@ -1,93 +0,0 @@
|
||||||
README (English)
|
|
||||||
##################################################
|
|
||||||
Building packages
|
|
||||||
##################################################
|
|
||||||
|
|
||||||
All sub-directories of "build" directory contains files required to build
|
|
||||||
automatically Dolibarr packages.
|
|
||||||
There are several tools:
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
- To build full Dolibarr packages, launch the script
|
|
||||||
> Launch command perl makepack-dolibarr.pl
|
|
||||||
|
|
||||||
Note: Prerequisites to build tgz, debian, rpm package
|
|
||||||
> apt-get install tar dpkg dpatch p7zip-full rpm zip
|
|
||||||
|
|
||||||
Note: Prerequisites to build autoexe DoliWamp package:
|
|
||||||
> Install InnoSetup
|
|
||||||
For example by running isetup-5.3.9.exe (http://www.jrsoftware.org)
|
|
||||||
> Install WampServer into "C:\Program Files\Wamp"
|
|
||||||
For example by running wampserver2.2e-php5.4.3-httpd-2.4.2-mysql5.5.24-x64.exe (http://www.wampserver.com)
|
|
||||||
> Install WampServer addon to have versions: Apache2.2.11, Mysql5.0.45, Php5.3.0
|
|
||||||
For example by running WampServer2-APACHE2211.exe (http://www.wampserver.com)
|
|
||||||
For example by running WampServer2-MYSQL5045.exe (http://www.wampserver.com)
|
|
||||||
For example by running WampServer2-PHP530.exe (http://www.wampserver.com)
|
|
||||||
> To build from Windows (running from makepack-dolibarr.pl script is however
|
|
||||||
recommanded), open file build/exe/doliwamp.iss and click on button "Compile".
|
|
||||||
The .exe file will be build into directory build.
|
|
||||||
|
|
||||||
- To build a theme package, launch the script
|
|
||||||
> perl makepack-dolibarrtheme.pl
|
|
||||||
|
|
||||||
- To build a package for a module, launch the script
|
|
||||||
> perl makepack-dolibarrmodule.pl
|
|
||||||
|
|
||||||
- To build developper documentation, launch the script
|
|
||||||
> perl dolybarr-doxygen-build.pl
|
|
||||||
|
|
||||||
|
|
||||||
Note:
|
|
||||||
The build directory and all its contents is absolutely not required to make
|
|
||||||
Dolibarr working. It is here only to build Dolibarr packages, and those
|
|
||||||
generated packages will not contains this "build" directory.
|
|
||||||
|
|
||||||
|
|
||||||
We can find in "build", following sub-directories:
|
|
||||||
|
|
||||||
* aps:
|
|
||||||
To build APS package.
|
|
||||||
|
|
||||||
* debian:
|
|
||||||
To build Debian package.
|
|
||||||
|
|
||||||
* dmg:
|
|
||||||
To build Mac OS package (not ready yet).
|
|
||||||
|
|
||||||
* doap:
|
|
||||||
To build Doap descriptor to promote/describe Dolibarr releases.
|
|
||||||
|
|
||||||
* doxygen:
|
|
||||||
Dir with config file to build doxygen documentation.
|
|
||||||
|
|
||||||
* exe:
|
|
||||||
To build exe package for Windows that distribute Dolibarr sources or
|
|
||||||
to build the complete DoliWamp package.
|
|
||||||
|
|
||||||
* launchpad:
|
|
||||||
Doc file to explain how to use launchpad.
|
|
||||||
|
|
||||||
* live:
|
|
||||||
Doc file to explain how to create a demo live CD.
|
|
||||||
|
|
||||||
* obs:
|
|
||||||
Doc file to explain how to push release onto OBS.
|
|
||||||
|
|
||||||
* pad:
|
|
||||||
To build a PAD file descriptor to promote/describe Dolibarr releases.
|
|
||||||
|
|
||||||
* patch:
|
|
||||||
Script file to generate a patch file to distribute a Dolibarr mod.
|
|
||||||
|
|
||||||
* perl:
|
|
||||||
Tool to install dolibarr when using virtualmin pro
|
|
||||||
|
|
||||||
* rpm:
|
|
||||||
To build Redhat, Opensuse or Mandriva package.
|
|
||||||
|
|
||||||
* tgz:
|
|
||||||
To build a tgz package.
|
|
||||||
|
|
||||||
* zip:
|
|
||||||
To build a zip package.
|
|
|
@ -1,78 +0,0 @@
|
||||||
README (French)
|
|
||||||
################################
|
|
||||||
Building packages
|
|
||||||
################################
|
|
||||||
|
|
||||||
Les sous repertoires du repertoire "build" contiennent tous les fichiers
|
|
||||||
requis pour packager Dolibarr de maniere automatisee.
|
|
||||||
On trouve plusieurs outils:
|
|
||||||
|
|
||||||
- Pour construire un package Dolibarr complet, il suffit de
|
|
||||||
> Editer la version dans le fichier makepack-dolibarr.pl
|
|
||||||
> Lancer la commande perl makepack-dolibarr.pl
|
|
||||||
|
|
||||||
- Pour construire un package d'une traduction, il suffit de lancer le script
|
|
||||||
> perl makepack-dolibarrlang.pl
|
|
||||||
|
|
||||||
- Pour construire un package d'un theme, il suffit de lancer le script
|
|
||||||
> perl makepack-dolibarrtheme.pl
|
|
||||||
|
|
||||||
- Pour construire un package d'un module, il suffit de lancer le script
|
|
||||||
> perl makepack-dolibarrmodule.pl
|
|
||||||
|
|
||||||
- Pour construire un package DoliWamp autoexe:
|
|
||||||
> Installer InnoSetup (http://www.jrsoftware.org)
|
|
||||||
> Installer WampServer dans "C:\Program Files\Wamp" (http://www.wampserver.com)
|
|
||||||
> Installer les addon WampServer afin d'y mettre les versions:
|
|
||||||
Apache2.2.6, Mysql5.0.45, Php5.2.5
|
|
||||||
> Modifier dans le fichier build/exe/doliwamp.iss la variable SourceDir
|
|
||||||
afin d'y mettre le repository Dolibarr.
|
|
||||||
> Modifier AppVerName et OutputBaseFilename.
|
|
||||||
> Lancer innosetup, ouvrir le fichier build/exe/doliwamp.iss et cliquer sur
|
|
||||||
le bouton "Compile". Le fichier .exe sera fabrique dans le repertoire build.
|
|
||||||
|
|
||||||
- Pour generer la documentation developpeur, lancer le script
|
|
||||||
> perl dolybarr-doxygen-build.pl
|
|
||||||
|
|
||||||
|
|
||||||
Note:
|
|
||||||
|
|
||||||
Le repertoire build et tout ce qu'il contient n'est absolument pas requis
|
|
||||||
pour faire fonctionner Dolibarr. Ils ne servent qu'a la generation des
|
|
||||||
packages. Certains packages, une fois construit, n'incluent par le repertoire
|
|
||||||
"build".
|
|
||||||
|
|
||||||
On trouve dans le repertoire "build", les sous-repertoires utilises par
|
|
||||||
l'outil makepack-dolibarr.pl:
|
|
||||||
|
|
||||||
* deb:
|
|
||||||
Fichier de config pour construire un package Debian.
|
|
||||||
|
|
||||||
* rpm:
|
|
||||||
Fichier de config pour construire un package Redhat ou Mandrake.
|
|
||||||
|
|
||||||
* tgz:
|
|
||||||
Fichier de config pour construire un package tgz.
|
|
||||||
|
|
||||||
* exe:
|
|
||||||
Fichier de config pour construire un package exe pour Windows des sources
|
|
||||||
ou pour construire l'assistant d'installation complet DoliWamp.
|
|
||||||
|
|
||||||
* zip:
|
|
||||||
Fichier de config pour construire un package zip.
|
|
||||||
|
|
||||||
* live:
|
|
||||||
Fichier pour fabriquer un live CD de demo de Dolibarr.
|
|
||||||
|
|
||||||
* patch:
|
|
||||||
Fichier exemple de generation de fichier patch pour diffusion d'une
|
|
||||||
modification de Dolibarr.
|
|
||||||
|
|
||||||
* doap:
|
|
||||||
Fichier descriptif DOAP pour promouvoir/decrire la version de Dolibarr.
|
|
||||||
|
|
||||||
* pad:
|
|
||||||
Fichier descriptif PAD pour promouvoir/decrire la version de Dolibarr.
|
|
||||||
|
|
||||||
* dmg:
|
|
||||||
Fichier de config pour construire un package dmg DoliMamp pour Mac OS X
|
|
|
@ -1,123 +0,0 @@
|
||||||
<!-- Application namespaces and APS version (step 9) -->
|
|
||||||
<application xmlns="http://apstandard.com/ns/1" version="1.1">
|
|
||||||
<!-- Application common properties (step 9) -->
|
|
||||||
<name>Dolibarr ERP-CRM</name>
|
|
||||||
<version>__VERSION__</version>
|
|
||||||
<release>__RELEASE__</release>
|
|
||||||
<homepage>http://www.dolibarr.org/</homepage>
|
|
||||||
<vendor>
|
|
||||||
<name>Dolibarr</name>
|
|
||||||
<homepage>http://www.dolibarr.org/</homepage>
|
|
||||||
<icon path="images/appicon_64.png" />
|
|
||||||
</vendor>
|
|
||||||
<packager>
|
|
||||||
<name>Laurent Destailleur</name>
|
|
||||||
<homepage>http://www.nltechno.com</homepage>
|
|
||||||
<uri>uuid:e743ee30-9fe8-11e0-a32e-0025115d642c</uri>
|
|
||||||
</packager>
|
|
||||||
<presentation>
|
|
||||||
<summary>Dolibarr ERP-CRM, the easy to use software to manage small or medium companies, freelancers or foundations</summary>
|
|
||||||
<description>
|
|
||||||
Dolibarr is a free modular software (you see only
|
|
||||||
features you need) to manage small and medium companies, freelancers
|
|
||||||
or foundations.
|
|
||||||
This OpenSource software is designed to provide all features you need to
|
|
||||||
manage information on many aspects of your business
|
|
||||||
into an intuitive and user-friendly graphical interface
|
|
||||||
It's an OpenSource software you can install on a web server or as a
|
|
||||||
standalone software. Dolibarr is designed to provide simplicity to end-user.
|
|
||||||
</description>
|
|
||||||
<icon path="images/appicon_64.png" />
|
|
||||||
<screenshot path="images/dolibarr_screenshot1_640x480.png">
|
|
||||||
<description>Screenshot 1</description>
|
|
||||||
</screenshot>
|
|
||||||
<changelog>
|
|
||||||
<version version="3.1.0" release="0">
|
|
||||||
<entry>See http://www.dolibarr.org/files/ChangeLog</entry>
|
|
||||||
</version>
|
|
||||||
</changelog>
|
|
||||||
<categories>
|
|
||||||
<category>Back office/Billing</category>
|
|
||||||
<category>Back office/Accounting and Financial</category>
|
|
||||||
<category>Back office/Customer Relationship Management</category>
|
|
||||||
<category>Back office/Enterprise Resource Planning</category>
|
|
||||||
</categories>
|
|
||||||
<languages>
|
|
||||||
<language>en</language>
|
|
||||||
<language>fr</language>
|
|
||||||
<language>es</language>
|
|
||||||
<language>de</language>
|
|
||||||
<language>pt</language>
|
|
||||||
</languages>
|
|
||||||
</presentation>
|
|
||||||
<upgrade match="/application/version = '3.0'" />
|
|
||||||
<!-- Application service (step 4) -->
|
|
||||||
<service id="dolibarr">
|
|
||||||
<!-- Service presentation properties (step 7) -->
|
|
||||||
<license must-accept="false">
|
|
||||||
<text>
|
|
||||||
<name>GPL-3.0+</name>
|
|
||||||
<file>COPYING</file>
|
|
||||||
</text>
|
|
||||||
</license>
|
|
||||||
<presentation>
|
|
||||||
<name>Dolibarr instance</name>
|
|
||||||
<summary>Dolibarr services</summary>
|
|
||||||
<entry-points>
|
|
||||||
<entry class="frontpage" dst="/">
|
|
||||||
<label>Application entry point</label>
|
|
||||||
</entry>
|
|
||||||
</entry-points>
|
|
||||||
</presentation>
|
|
||||||
<!-- Service settings (step 7) -->
|
|
||||||
<settings>
|
|
||||||
<!--
|
|
||||||
<group>
|
|
||||||
<name>Administrator's preferences</name>
|
|
||||||
<setting id="admin_name" type="string" default-value="admin"
|
|
||||||
min-length="1" max-length="32" regex="^[a-zA-Z][0-9a-zA-Z_\-]*">
|
|
||||||
<name>Administrator's login</name>
|
|
||||||
<error-message>
|
|
||||||
Please make sure the text you entered starts with a letter and continues with either numbers, letters, underscores or hyphens.
|
|
||||||
</error-message>
|
|
||||||
</setting>
|
|
||||||
<setting id="admin_password" type="password" min-length="1">
|
|
||||||
<name>Password</name>
|
|
||||||
</setting>
|
|
||||||
</group>
|
|
||||||
-->
|
|
||||||
</settings>
|
|
||||||
<!-- Service used technologies (step 6) -->
|
|
||||||
<requirements xmlns:php="http://apstandard.com/ns/1/php"
|
|
||||||
xmlns:db="http://apstandard.com/ns/1/db">
|
|
||||||
<php:version min="4.2.0" />
|
|
||||||
<php:extension>mysql</php:extension>
|
|
||||||
<php:extension>mbstring</php:extension>
|
|
||||||
<php:safe-mode>false</php:safe-mode>
|
|
||||||
<db:db>
|
|
||||||
<db:id>main</db:id>
|
|
||||||
<db:default-name>dolibarr</db:default-name>
|
|
||||||
<db:can-use-tables-prefix>false</db:can-use-tables-prefix>
|
|
||||||
<db:server-type>mysql</db:server-type>
|
|
||||||
<db:server-min-version>4.3.1</db:server-min-version>
|
|
||||||
</db:db>
|
|
||||||
</requirements>
|
|
||||||
<!-- Content delivery settings (step 8) -->
|
|
||||||
<provision>
|
|
||||||
<url-mapping>
|
|
||||||
<default-prefix>dolibarr</default-prefix>
|
|
||||||
<installed-size>35000000</installed-size>
|
|
||||||
<mapping url="/" path="htdocs" xmlns:php="http://apstandard.com/ns/1/php">
|
|
||||||
<php:handler>
|
|
||||||
<php:extension>php</php:extension>
|
|
||||||
</php:handler>
|
|
||||||
</mapping>
|
|
||||||
</url-mapping>
|
|
||||||
<!-- Service configuration script declaration (step 10) -->
|
|
||||||
<configuration-script name="configure.php">
|
|
||||||
<configuration-script-language>php</configuration-script-language>
|
|
||||||
<status-control/>
|
|
||||||
</configuration-script>
|
|
||||||
</provision>
|
|
||||||
</service>
|
|
||||||
</application>
|
|
|
@ -1,121 +0,0 @@
|
||||||
<!-- Application namespaces and APS version (step 9) -->
|
|
||||||
<application xmlns="http://apstandard.com/ns/1" version="1.2">
|
|
||||||
<!-- Application common properties (step 9) -->
|
|
||||||
<id>dolibarr</id>
|
|
||||||
<name>Dolibarr</name>
|
|
||||||
<version>__VERSION__</version>
|
|
||||||
<release>__RELEASE__</release>
|
|
||||||
<homepage>http://www.dolibarr.org/</homepage>
|
|
||||||
<vendor>
|
|
||||||
<name>Dolibarr</name>
|
|
||||||
<homepage>http://www.dolibarr.org/</homepage>
|
|
||||||
<icon path="images/appicon_64.png" />
|
|
||||||
</vendor>
|
|
||||||
<packager>
|
|
||||||
<name>Laurent Destailleur</name>
|
|
||||||
<homepage>http://www.nltechno.com</homepage>
|
|
||||||
<uri>uuid:e743ee30-9fe8-11e0-a32e-0025115d642c</uri>
|
|
||||||
</packager>
|
|
||||||
<presentation>
|
|
||||||
<summary>Dolibarr ERP - CRM, the easy to use software to manage small or medium companies, freelancers or foundations</summary>
|
|
||||||
<description>
|
|
||||||
Dolibarr is a free modular software (you see only
|
|
||||||
features you need) to manage small and medium companies, freelancers
|
|
||||||
or foundations.
|
|
||||||
This OpenSource software is designed to provide all features you need to
|
|
||||||
manage information on many aspects of your business
|
|
||||||
into an intuitive and user-friendly graphical interface
|
|
||||||
It's an OpenSource software you can install on a web server or as a
|
|
||||||
standalone software. Dolibarr is designed to provide simplicity to end-user.
|
|
||||||
</description>
|
|
||||||
<icon path="images/appicon_64.png" />
|
|
||||||
<screenshot path="images/dolibarr_screenshot1_640x480.png">
|
|
||||||
<description>Screenshot 1</description>
|
|
||||||
</screenshot>
|
|
||||||
<changelog>
|
|
||||||
<version version="3.1.0" release="0">
|
|
||||||
<entry>See http://www.dolibarr.org/files/ChangeLog</entry>
|
|
||||||
</version>
|
|
||||||
</changelog>
|
|
||||||
<categories>
|
|
||||||
<category>Back office/Billing</category>
|
|
||||||
<category>Back office/Accounting and Financial</category>
|
|
||||||
<category>Back office/Customer Relationship Management</category>
|
|
||||||
<category>Back office/Enterprise Resource Planning</category>
|
|
||||||
</categories>
|
|
||||||
<languages>
|
|
||||||
<language>en</language>
|
|
||||||
<language>fr</language>
|
|
||||||
<language>es</language>
|
|
||||||
<language>de</language>
|
|
||||||
<language>pt</language>
|
|
||||||
</languages>
|
|
||||||
</presentation>
|
|
||||||
<upgrade match="/application/version = '3.0'" />
|
|
||||||
<!-- Application service (step 4) -->
|
|
||||||
<service id="dolibarr">
|
|
||||||
<!-- Service presentation properties (step 7) -->
|
|
||||||
<license must-accept="false">
|
|
||||||
<text xml:lang="">
|
|
||||||
<name>GPL-3.0+</name>
|
|
||||||
<file>COPYING</file>
|
|
||||||
</text>
|
|
||||||
</license>
|
|
||||||
<presentation>
|
|
||||||
<name>Dolibarr instance</name>
|
|
||||||
<entry-points>
|
|
||||||
<entry class="frontpage" dst="/">
|
|
||||||
<label>Application entry point</label>
|
|
||||||
</entry>
|
|
||||||
</entry-points>
|
|
||||||
</presentation>
|
|
||||||
<!-- Service settings (step 7) -->
|
|
||||||
<settings>
|
|
||||||
<group>
|
|
||||||
<name>Administrator's preferences</name>
|
|
||||||
<setting id="admin_name" type="string" default-value="admin"
|
|
||||||
min-length="1" max-length="32" regex="^[a-zA-Z][0-9a-zA-Z_\-]*">
|
|
||||||
<name>Administrator's login</name>
|
|
||||||
<error-message>
|
|
||||||
Please make sure the text you entered starts with a letter and continues with either numbers, letters, underscores or hyphens.
|
|
||||||
</error-message>
|
|
||||||
</setting>
|
|
||||||
<setting id="admin_password" type="password" min-length="1">
|
|
||||||
<name>Password</name>
|
|
||||||
</setting>
|
|
||||||
</group>
|
|
||||||
</settings>
|
|
||||||
<!-- Service used technologies (step 6) -->
|
|
||||||
<requirements xmlns:php="http://apstandard.com/ns/1/php"
|
|
||||||
xmlns:db="http://apstandard.com/ns/1/db">
|
|
||||||
<php:version min="4.2.0" />
|
|
||||||
<php:extension>mysql</php:extension>
|
|
||||||
<php:extension>mbstring</php:extension>
|
|
||||||
<php:safe-mode>false</php:safe-mode>
|
|
||||||
<db:db>
|
|
||||||
<db:id>main</db:id>
|
|
||||||
<db:default-name>dolibarr</db:default-name>
|
|
||||||
<db:can-use-tables-prefix>false</db:can-use-tables-prefix>
|
|
||||||
<db:server-type>mysql</db:server-type>
|
|
||||||
<db:server-min-version>4.3.1</db:server-min-version>
|
|
||||||
</db:db>
|
|
||||||
</requirements>
|
|
||||||
<!-- Content delivery settings (step 8) -->
|
|
||||||
<provision>
|
|
||||||
<url-mapping>
|
|
||||||
<default-prefix>dolibarr</default-prefix>
|
|
||||||
<installed-size>35000000</installed-size>
|
|
||||||
<mapping url="/" path="htdocs" xmlns:php="http://apstandard.com/ns/1/php">
|
|
||||||
<php:handler>
|
|
||||||
<php:extension>php</php:extension>
|
|
||||||
</php:handler>
|
|
||||||
</mapping>
|
|
||||||
</url-mapping>
|
|
||||||
<!-- Service configuration script declaration (step 10) -->
|
|
||||||
<configuration-script name="configure.php">
|
|
||||||
<script-language>php</script-language>
|
|
||||||
<status-control/>
|
|
||||||
</configuration-script>
|
|
||||||
</provision>
|
|
||||||
</service>
|
|
||||||
</application>
|
|
|
@ -1,89 +0,0 @@
|
||||||
<html><head>
|
|
||||||
<title> Limitations of APS Support in the Panel </title>
|
|
||||||
<meta name="Keywords" content="">
|
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
||||||
<link rel="stylesheet" type="text/css" href="Limitations%20of%20APS%20Support%20in%20the%20Panel_fichiers/stylesheet.css">
|
|
||||||
<link href="Limitations%20of%20APS%20Support%20in%20the%20Panel_fichiers/prettify.css" type="text/css" rel="stylesheet">
|
|
||||||
<script type="text/javascript" src="Limitations%20of%20APS%20Support%20in%20the%20Panel_fichiers/prettify.js"></script>
|
|
||||||
<script src="Limitations%20of%20APS%20Support%20in%20the%20Panel_fichiers/highlight.js"></script></head>
|
|
||||||
|
|
||||||
<body onload="prettyPrint()" link="#0000A0" text="#000000" vlink="#FF0000" alink="#008000" bgcolor="#FFFFFF">
|
|
||||||
<h1 class="heading1">Limitations of APS Support in the Panel</h1>
|
|
||||||
<h2 class="heading2">About This Document</h2>
|
|
||||||
<p class="bodytext">This document is addressed to independent software
|
|
||||||
vendors who plan to distribute web applications among the Panel users.
|
|
||||||
The aim of the document is to help vendors find out whether they can
|
|
||||||
package their applications to APS to make them available through the
|
|
||||||
Panel.</p>
|
|
||||||
<p class="bodytext">The document does not contain information about
|
|
||||||
Application Packaging Standard itself or give application packaging
|
|
||||||
instructions. It focuses on how the Panel implements APS and what APS
|
|
||||||
packages are not supported by this implementation.</p>
|
|
||||||
<p class="bodytext"></p>
|
|
||||||
<h2 class="heading2">APS Support in the Panel</h2>
|
|
||||||
<p class="bodytext"><em class="emphasis"><em class="emphasis">Application Packaging Standard</em></em> (<em class="emphasis">APS</em>)
|
|
||||||
is a set of rules that defines a web application packaging format. This
|
|
||||||
standard is designed to ease the integration of applications in a
|
|
||||||
service provider's infrastructure. It covers provisioning, management,
|
|
||||||
and integration of cloud-based services and applications.</p>
|
|
||||||
<p class="bodytext">The Panel uses APS to offer third-party applications to hosting customers. These applications are presented in <em class="emphasis">APS catalog</em>, where the customers can buy or download them.</p>
|
|
||||||
<p class="bodytext">Currently, the Panel does not support all aspects of
|
|
||||||
APS. Therefore, customers may have problems trying to install certain
|
|
||||||
applications. To find out whether your application is compatible with
|
|
||||||
the Panel, see section <strong class="specialbold"><strong class="specialbold">Plesk Panel Restrictions.</strong></strong></p>
|
|
||||||
<p class="bodytext">You can find more information about APS at http://www.apsstandard.org/.</p>
|
|
||||||
<p class="bodytext">APS specification and supporting documents are available at http://www.apsstandard.org/isv/documentation/.</p>
|
|
||||||
<p class="bodytext"></p>
|
|
||||||
<h2 class="heading2">Restrictions on Packages Processing</h2>
|
|
||||||
<p class="bodytext">The current Panel version has restrictions on APS
|
|
||||||
applications processing. If an application requires performing
|
|
||||||
restricted actions, the Panel will not install it. Particularly, these
|
|
||||||
actions are the following:</p>
|
|
||||||
<ul class="listbullet"><li class="listbullet">Sending e-mails or processing incoming mail.<p class="listcontinue">See <strong class="specialbold">Mail aspect</strong> of APS in <strong class="specialbold">APS Format Specification v1.2</strong>, section <strong class="specialbold">8.8. Mail </strong>at http://www.apsstandard.org/r/doc/package-format-specification-1.2/index.html#s.aspects.mail</p>
|
|
||||||
</li><li class="listbullet">Changing the DNS resource records of an environment where the application works.<p class="listcontinue">See <strong class="specialbold">DNS aspect</strong> in <strong class="specialbold">APS Format Specification v1.2</strong>, section <strong class="specialbold">8.10. DNS Zone </strong>at http://www.apsstandard.org/r/doc/package-format-specification-1.2/index.html#s.aspects.dns</p>
|
|
||||||
</li><li class="listbullet">Installing third-party dynamic libraries (*.dll, *.so).<p class="listcontinue">See<strong class="specialbold"> DLL aspect</strong> in <strong class="specialbold">APS Format Specification v1.2</strong>, section <strong class="specialbold">8.11. DLL Content Processing Method </strong>at http://www.apsstandard.org/r/doc/package-format-specification-1.2/index.html#s.aspects.dll</p>
|
|
||||||
</li><li class="listbullet">Updating older version of application with
|
|
||||||
complex changes in application settings or deployment logic. According
|
|
||||||
to APS, such updates are called <em class="emphasis">upgrades. </em>For more information on the application updates, see the <strong class="specialbold">APS Format Specification v1.2</strong>, section <strong class="specialbold">5.1.15 Updates </strong>at http://www.apsstandard.org/r/doc/package-format-specification-1.2/index.html#s.metadata.common.update</li></ul><p class="bodytext">If
|
|
||||||
you need you application to perform these actions, consider other ways
|
|
||||||
of integration with the Panel: API RPC, modules or Panel Notifications.</p>
|
|
||||||
<p class="bodytext">Also, the Panel does not support the following actions defined in the application package: </p>
|
|
||||||
<ul class="listbullet"><li class="listbullet">Checking application settings for consistency via <strong class="specialbold">verification script. </strong>For more information on verification scripts, see the <strong class="specialbold">APS Format Specification v1.2</strong>, section <strong class="specialbold">5.3.3 Verification Script </strong>at http://www.apsstandard.org/r/doc/package-format-specification-1.2/index.html#s.metadata.provision.verification-script</li><li class="listbullet">Processing application resource usage reports defined by <strong class="specialbold">resource counters</strong> and passed by <strong class="specialbold">resource script</strong> . For more information on resource counters and resource scripts, see the <strong class="specialbold">APS Format Specification v1.2</strong>, section <strong class="specialbold">5.2.6. Resources</strong> at http://www.apsstandard.org/r/doc/package-format-specification-1.2/index.html#s.metadata.service.resources and <strong class="specialbold">5.3.3 Resources Script </strong>at http://www.apsstandard.org/r/doc/package-format-specification-1.2/index.html#s.metadata.provision.resource-script</li>
|
|
||||||
|
|
||||||
<h1 class="heading1">Copyright Notice</h1>
|
|
||||||
<p class="copyright">Parallels Holdings, Ltd.</p>
|
|
||||||
<p class="copyright">c/o Parallels International GmbH</p>
|
|
||||||
<p class="copyright">Vordergasse 59</p>
|
|
||||||
<p class="copyright">CH-Schaffhausen</p>
|
|
||||||
<p class="copyright">Switzerland</p>
|
|
||||||
<p class="copyright">Phone: +41-526320-411</p>
|
|
||||||
<p class="copyright">Fax: +41-52672-2010</p>
|
|
||||||
<p class="copyright"> </p>
|
|
||||||
<p class="copyright">Copyright © 1999-2011 Parallels Holdings, Ltd. and its affiliates. All rights reserved. </p>
|
|
||||||
<p class="copyright"> </p>
|
|
||||||
<p class="copyright">This product is protected by United States and
|
|
||||||
international copyright laws. The product's underlying technology,
|
|
||||||
patents, and trademarks are listed at
|
|
||||||
http://www.parallels.com/trademarks. </p>
|
|
||||||
<p class="copyright"> </p>
|
|
||||||
<p class="copyright">Microsoft, Windows, Windows Server, Windows NT, Windows Vista, and MS-DOS are registered trademarks of Microsoft Corporation.</p>
|
|
||||||
<p class="copyright">Linux is a registered trademark of Linus Torvalds.</p>
|
|
||||||
<p class="copyright">Mac is a registered trademark of Apple, Inc.</p>
|
|
||||||
<p class="copyright">All other marks and names mentioned herein may be trademarks of their respective owners.</p>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<p class="bodytext">
|
|
||||||
<a target="_blank" title="Send feedback through a web form" href="http://www.parallels.com/en/support/usersdoc/?problemSubject=Feedback+on+Help+Page+" onclick="var u = parent.BODY.location.href;
|
|
||||||
u = u.replace(/.+\/([^/]+).htm$/,'$1');
|
|
||||||
u+= '+of+the+'+parent.document.title.replace(/ /g,'+');
|
|
||||||
|
|
||||||
this.href+=u;
|
|
||||||
|
|
||||||
window.location.reload(false);">Please send us your feedback on this help page.</a></p>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</ul></body></html>
|
|
||||||
<!-- Edited by post-publisher -->
|
|
|
@ -1,64 +0,0 @@
|
||||||
function last(href)
|
|
||||||
{
|
|
||||||
var ret = href.split("/");
|
|
||||||
return ret[ret.length-1];
|
|
||||||
}
|
|
||||||
|
|
||||||
function StopProcess()
|
|
||||||
{
|
|
||||||
LeftFrame = parent.TOC.document.location.href;
|
|
||||||
LeftFrame = last(LeftFrame);
|
|
||||||
if (LeftFrame == "dhtml_search.htm") return 1
|
|
||||||
else return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
function highlightTOC(str) {
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if (StopProcess()) return;
|
|
||||||
try {
|
|
||||||
|
|
||||||
str = str || parent.BODY.document.location.href;
|
|
||||||
uri = last(str);
|
|
||||||
list = parent.TOC.document.getElementsByTagName("a");
|
|
||||||
for(i=0; i<list.length; i++)
|
|
||||||
{
|
|
||||||
if (last(list[i].href) == uri)
|
|
||||||
{
|
|
||||||
list[i].style.backgroundColor = "#6697cc";
|
|
||||||
list[i].style.padding = "2px";
|
|
||||||
list[i].style.color = "#ffffff";
|
|
||||||
|
|
||||||
} else {
|
|
||||||
list[i].style.backgroundColor = "#ffffff";
|
|
||||||
list[i].style.color = "#003380";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
} catch (e) {}
|
|
||||||
}
|
|
||||||
|
|
||||||
function FindCorrectTOCPage()
|
|
||||||
{
|
|
||||||
if (StopProcess()) return;
|
|
||||||
//Updated on 30.04.2008
|
|
||||||
list = parent.BODY.document.getElementsByTagName("a") || document.getElementsByTagName("a");
|
|
||||||
for(i=0; i<list.length; i++)
|
|
||||||
{
|
|
||||||
if (list[i].target == "TOC")
|
|
||||||
{
|
|
||||||
|
|
||||||
if (last(list[i].href) != last(parent.TOC.document.location.href))
|
|
||||||
{
|
|
||||||
parent.TOC.document.location.href = list[i].href;
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
|
@ -1,60 +0,0 @@
|
||||||
/* Pretty printing styles. Used with prettify.js. */
|
|
||||||
|
|
||||||
.str { color: #FF0000; }
|
|
||||||
.vr { color: #0000FF; }
|
|
||||||
.kwd { color: #000080; font-weight: bold}
|
|
||||||
.com { color: #EA8110; }
|
|
||||||
.typ { color: #606; }
|
|
||||||
.lit { color: #066; }
|
|
||||||
.pun { color: #660; }
|
|
||||||
.pln { color: #000; }
|
|
||||||
.tag { color: #008; }
|
|
||||||
.atn { color: #606; }
|
|
||||||
.atv { color: #080; }
|
|
||||||
.dec { color: #606; }
|
|
||||||
pre.preformatted {
|
|
||||||
|
|
||||||
display: block;
|
|
||||||
font-family: "Courier New", verdana, arial, helvetica, sans-serif;
|
|
||||||
font-style: normal;
|
|
||||||
font-variant: normal;
|
|
||||||
font-weight: normal;
|
|
||||||
font-size: 10pt;
|
|
||||||
color: #000000;
|
|
||||||
background-color: #f4f4f4;
|
|
||||||
word-spacing: normal;
|
|
||||||
letter-spacing: normal;
|
|
||||||
vertical-align: baseline;
|
|
||||||
text-decoration: none;
|
|
||||||
text-transform: none;
|
|
||||||
line-height: normal;
|
|
||||||
margin-top: 0pt;
|
|
||||||
margin-bottom: 0pt;
|
|
||||||
margin-left: 0pt;
|
|
||||||
margin-right: 6pt;
|
|
||||||
padding-top: 1pt;
|
|
||||||
padding-bottom: 1pt;
|
|
||||||
padding-left: 5pt;
|
|
||||||
padding-right: 5pt;
|
|
||||||
float: none;
|
|
||||||
clear: none;
|
|
||||||
text-align: left;
|
|
||||||
text-indent: 0cm;
|
|
||||||
width: auto;
|
|
||||||
height: auto;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
@media print {
|
|
||||||
.vr { color: #f0f; }
|
|
||||||
.str { color: #060; }
|
|
||||||
.kwd { color: #006; font-weight: bold; }
|
|
||||||
.com { color: #600; font-style: italic; }
|
|
||||||
.typ { color: #404; font-weight: bold; }
|
|
||||||
.lit { color: #044; }
|
|
||||||
.pun { color: #440; }
|
|
||||||
.pln { color: #000; }
|
|
||||||
.tag { color: #006; font-weight: bold; }
|
|
||||||
.atn { color: #404; }
|
|
||||||
.atv { color: #060; }
|
|
||||||
}
|
|
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
@ -1,20 +0,0 @@
|
||||||
README (English)
|
|
||||||
##################################################
|
|
||||||
This directory is dedicated to APS package building
|
|
||||||
##################################################
|
|
||||||
|
|
||||||
Docs for APS format 1.1:
|
|
||||||
http://www.apsstandard.org/r/doc/aps-format-1.1-packaging-guide/index.htm
|
|
||||||
|
|
||||||
Docs for APS format 1.2 (need APP-LIST.xml):
|
|
||||||
http://www.apsstandard.org/r/doc/aps-format-1.2-packaging-guide/index.htm
|
|
||||||
|
|
||||||
|
|
||||||
To check an APS package on Debian:
|
|
||||||
* Install libgdiplus with
|
|
||||||
apt-get install libgdiplus
|
|
||||||
* Install apslint.exe (http://www.apsstandard.org/r/doc/aps-format-1.2-packaging-guide/57414.htm)
|
|
||||||
tar -xvf xxxx.tgz
|
|
||||||
* Go into directory of apslint and run command
|
|
||||||
mono ./apslint.exe '/media/DATA/Mes Developpements/dolibarr/build/dolibarr-3.1.0-dev.app.zip'
|
|
||||||
|
|
|
@ -1,151 +0,0 @@
|
||||||
#!/usr/bin/php
|
|
||||||
<?php
|
|
||||||
/*-----------------------------------------------------
|
|
||||||
*
|
|
||||||
*----------------------------------------------------- */
|
|
||||||
|
|
||||||
// This is list of predefined variables when script is ran
|
|
||||||
// We have to set them manually to run script outside context.
|
|
||||||
/*putenv('SETTINGS_admin_name=admin');
|
|
||||||
putenv('SETTINGS_admin_password=admin-ad');
|
|
||||||
putenv('BASE_URL_SCHEME=http');
|
|
||||||
putenv('BASE_URL_HOST=localhost');
|
|
||||||
putenv('BASE_URL_PORT=0');
|
|
||||||
putenv('BASE_URL_PATH=/');
|
|
||||||
//putenv('WEB___DIR=/var/wwww/dolibarr/htdocs'); // WEB___DIR is dir to htdocs
|
|
||||||
putenv('WEB___DIR=../htdocs'); // WEB___DIR is dir to htdocs
|
|
||||||
putenv('DB_main_NAME=dolibarr');
|
|
||||||
putenv('DB_main_HOST=localhost');
|
|
||||||
putenv('DB_main_PORT=3306');
|
|
||||||
putenv('DB_main_LOGIN=root');
|
|
||||||
putenv('DB_main_PASSWORD=root');
|
|
||||||
*/
|
|
||||||
|
|
||||||
// Check parameters
|
|
||||||
if(count($_SERVER['argv']) < 2)
|
|
||||||
{
|
|
||||||
print "Usage: configure.php (install | upgrade <version> | configure | remove)\n";
|
|
||||||
exit(1);
|
|
||||||
}
|
|
||||||
$command = $_SERVER['argv'][1]; //$command stores the argument with which the script was invoked.
|
|
||||||
|
|
||||||
|
|
||||||
if($command == "install")
|
|
||||||
{
|
|
||||||
$db_id = 'main';
|
|
||||||
|
|
||||||
$rootdir = getenv("WEB___DIR");
|
|
||||||
if ($rootdir != '/') $rootdir = preg_replace('/\/$/','',$rootdir); // Remove last /
|
|
||||||
$datadir = $rootdir.'/dolibarr_documents';
|
|
||||||
|
|
||||||
//List of database-related variables that are passed to the configuration
|
|
||||||
//script. See the 6.3.1.1.1. Environment variables section of the
|
|
||||||
//Specification for details.
|
|
||||||
$db_address = getenv("DB_${db_id}_HOST");
|
|
||||||
$db_port = getenv("DB_${db_id}_PORT");
|
|
||||||
$dblogin = getenv("DB_${db_id}_LOGIN");
|
|
||||||
$dbpassword = getenv("DB_${db_id}_PASSWORD");
|
|
||||||
$dbname = getenv("DB_${db_id}_NAME");
|
|
||||||
|
|
||||||
|
|
||||||
//PHP functions for connecting to the mysql server and
|
|
||||||
//executing SQL queries.
|
|
||||||
//mysql_connect($dbaddress, $dblogin, $dbpassword);
|
|
||||||
//mysql_select_db($dbname);
|
|
||||||
/*
|
|
||||||
$sql_queries = file($query_file);
|
|
||||||
foreach ($sql_queries as $query) mysql_query($query);
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
//Other code to be executed on invoking configure with
|
|
||||||
//the install argument.
|
|
||||||
|
|
||||||
// Create empty config file
|
|
||||||
$file=$rootdir.'/conf/conf.php';
|
|
||||||
print "Create conf file ".$file."\n";
|
|
||||||
$fp = fopen($file, 'wb');
|
|
||||||
if ($fp)
|
|
||||||
{
|
|
||||||
fclose($fp);
|
|
||||||
chmod($file,0775);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
print "configure.php install: Unable to write file $file.\n";
|
|
||||||
exit(1);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Create empty directory that will be used by software to store uploaded documents
|
|
||||||
print "Create directory ".$datadir."\n";
|
|
||||||
@mkdir($datadir);
|
|
||||||
chmod($datadir,0775);
|
|
||||||
|
|
||||||
// Create install.forced.php into htdocs/install directory with value.
|
|
||||||
// This will set parameters of install for web installer wizard.
|
|
||||||
$file_source=$rootdir.'/../build/aps/install.forced.php.install';
|
|
||||||
$file=$rootdir.'/install/install.forced.php';
|
|
||||||
print "Create file ".$file.' from '.$file_source."\n";
|
|
||||||
|
|
||||||
$modify_hash=array(
|
|
||||||
'WEB___DIR'=>$rootdir,
|
|
||||||
'DB_'.$db_id.'_HOST'=>$db_address,
|
|
||||||
'DB_'.$db_id.'_PORT'=>$db_port,
|
|
||||||
'DB_'.$db_id.'_LOGIN'=>$dblogin,
|
|
||||||
'DB_'.$db_id.'_PASSWORD'=>$dbpassword,
|
|
||||||
'DB_'.$db_id.'_NAME'=>$dbname
|
|
||||||
);
|
|
||||||
|
|
||||||
$file_content = fread(fopen($file_source, 'r'), filesize($file_source));
|
|
||||||
foreach($modify_hash as $param => $val){
|
|
||||||
$file_content = str_replace($param, php_quote($val), $file_content);
|
|
||||||
}
|
|
||||||
$fp = fopen($file, 'wb');
|
|
||||||
if ($fp)
|
|
||||||
{
|
|
||||||
fputs($fp, $file_content);
|
|
||||||
fputs($fp, "\n");
|
|
||||||
fclose($fp);
|
|
||||||
chmod($file,0775);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
print "configure.php install: Unable to write file $file.\n";
|
|
||||||
exit(2);
|
|
||||||
}
|
|
||||||
|
|
||||||
exit(0);
|
|
||||||
}
|
|
||||||
|
|
||||||
if($command == "remove")
|
|
||||||
{
|
|
||||||
//Code to be executed on invoking configure with the remove argument
|
|
||||||
exit(0);
|
|
||||||
}
|
|
||||||
|
|
||||||
if($command == "upgrade")
|
|
||||||
{
|
|
||||||
//Code to be executed on invoking configure with the upgrade argument
|
|
||||||
exit(0);
|
|
||||||
}
|
|
||||||
|
|
||||||
if($command == "configure")
|
|
||||||
{
|
|
||||||
//Code to be executed on invoking configure with the configure argument
|
|
||||||
exit(0);
|
|
||||||
}
|
|
||||||
|
|
||||||
print "configure.php: Error: unknown command $command.\n";
|
|
||||||
exit(1);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// Content of file-util.php we need
|
|
||||||
|
|
||||||
function php_quote($val)
|
|
||||||
{
|
|
||||||
$res_val = str_replace("\\", "\\\\", $val);
|
|
||||||
$res_val = str_replace("'", "\\'", $res_val);
|
|
||||||
return $res_val;
|
|
||||||
}
|
|
||||||
|
|
|
@ -1,24 +0,0 @@
|
||||||
<?php
|
|
||||||
// File to force Dolibarr wizard installer choices.
|
|
||||||
//
|
|
||||||
// This file must be present into htdocs/install directory
|
|
||||||
// during install process to be used.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
$force_install_noedit=1;
|
|
||||||
$force_install_message='KeepDefaultValuesDeb';
|
|
||||||
$force_install_main_data_root='WEB___DIR/dolibarr_documents';
|
|
||||||
$force_install_type='mysqli';
|
|
||||||
$force_install_dbserver='DB_main_HOST';
|
|
||||||
$force_install_port='DB_main_PORT';
|
|
||||||
$force_install_database='DB_main_NAME';
|
|
||||||
$force_install_createdatabase='0';
|
|
||||||
$force_install_databaselogin='DB_main_LOGIN';
|
|
||||||
$force_install_databasepass='DB_main_PASSWORD';
|
|
||||||
$force_install_createuser='0';
|
|
||||||
$force_install_databaserootlogin='';
|
|
||||||
$force_install_databaserootpass='';
|
|
||||||
$force_install_dolibarrlogin='admin';
|
|
||||||
$force_install_nophpinfo='1';
|
|
||||||
$force_install_lockinstall='444';
|
|
||||||
?>
|
|
|
@ -1,13 +0,0 @@
|
||||||
Information about Dolibarr in Debian
|
|
||||||
------------------------------------
|
|
||||||
|
|
||||||
The Debian package provides integration with apache2 and lighttpd.
|
|
||||||
If you have one of those servers installed, then Dolibarr is immediately
|
|
||||||
accessible at http://localhost/dolibarr/
|
|
||||||
|
|
||||||
But it won't be usable until you configure it via
|
|
||||||
http://localhost/dolibarr/install/
|
|
||||||
|
|
||||||
To complete the setup process you will need the MySQL root credentials
|
|
||||||
because the Dolibarr installer will create the database and the dedicated user
|
|
||||||
for you.
|
|
|
@ -1,359 +0,0 @@
|
||||||
README (English)
|
|
||||||
##################################################
|
|
||||||
DEB Package tools
|
|
||||||
##################################################
|
|
||||||
|
|
||||||
This directory contains files used by makepack-dolibarr.pl
|
|
||||||
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
|
|
||||||
# With Debian 7
|
|
||||||
# apt-get install debhelper dpkg gnupg lintian git-buildpackage pkg-php-tools schroot sbuild dh-linktree dh-make-php
|
|
||||||
|
|
||||||
|
|
||||||
# To generate gpg key for email used into changelog
|
|
||||||
* Check your existing keys/emails
|
|
||||||
> gpg --list-key
|
|
||||||
* Generate a new one, if none exists for email you use as author
|
|
||||||
> gpg --gen-key Generate a GPG key (-> pubring.gpg + secring.gpg)
|
|
||||||
Files are saved int .gnupg directory
|
|
||||||
* Create a file ~/.gpb.conf by
|
|
||||||
> cat >~/.gbp.conf <<END
|
|
||||||
[DEFAULT]
|
|
||||||
pristine-tar = True
|
|
||||||
|
|
||||||
[git-buildpackage]
|
|
||||||
sign-tags = True
|
|
||||||
export-dir = ../build-area/
|
|
||||||
|
|
||||||
[git-import-orig]
|
|
||||||
filter-pristine-tar = True
|
|
||||||
END
|
|
||||||
|
|
||||||
|
|
||||||
# Complete .bashrc with DEBEMAIL and DEBFULLNAME
|
|
||||||
Example:
|
|
||||||
export DEBFULLNAME="Laurent Destailleur (eldy)"
|
|
||||||
export DEBEMAIL=eldy@users.sourceforge.net
|
|
||||||
Other example:
|
|
||||||
export DEBFULLNAME="Laurent Destailleur"
|
|
||||||
export DEBEMAIL="eldy@destailleur.fr"
|
|
||||||
|
|
||||||
|
|
||||||
# To use Alioth.debian.org
|
|
||||||
* Create an account login
|
|
||||||
* Update your ~/.ssh/config file to add:
|
|
||||||
Host svn.debian.org git.debian.org bzr.debian.org hg.debian.org darcs.debian.org arch.debian.org
|
|
||||||
User eldy-guest
|
|
||||||
IdentityFile ~/.ssh/id_rsa
|
|
||||||
* Check login on page https://alioth.debian.org/users/login
|
|
||||||
Ex: https://alioth.debian.org/users/eldy-guest
|
|
||||||
* Setup your ssh as described into page: http://wiki.debian.org/Alioth/SSH
|
|
||||||
* 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
|
|
||||||
# Edit manually file XX.po and remove all lines "#, fuzzy" when translation is complete
|
|
||||||
# msgfmt -v -c -o /dev/null XX.po To have status of translation for language XX
|
|
||||||
|
|
||||||
# To check package integrity
|
|
||||||
# lintian --pedantic -E -I package.deb To test a package
|
|
||||||
|
|
||||||
# To manipulate packages
|
|
||||||
# dpkg -l List all packages
|
|
||||||
# dpkg -b To build binary only package
|
|
||||||
# dpkg -c package.deb List content of package
|
|
||||||
# dpkg -I package.deb Give informations on package
|
|
||||||
# dpkg -i package.deb Install a package
|
|
||||||
# dpkg-reconfigure -plow package Reconfigure package
|
|
||||||
# dpkg -L packagename List content of installed package
|
|
||||||
# dpkg -r packagename Remove config files and interactive saved answers
|
|
||||||
# dpkg -s packagename Give status of installed package
|
|
||||||
# dpkg --purge Remove config files and interactive saved answers
|
|
||||||
#
|
|
||||||
# dpkg-buildpackage -us -uc Build a source and binary package
|
|
||||||
#
|
|
||||||
# gdebi package.deb Install a package + dependencies
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
##### Global view of submit new package to Debian:
|
|
||||||
|
|
||||||
- Post an ITP with reportbugs :
|
|
||||||
> reportbug -B debian --email username@domain.tld wnpp
|
|
||||||
See page http://www.debian.org/devel/wnpp/#l1 for example of ITP requests contents.
|
|
||||||
|
|
||||||
- Wait until you received bug number.
|
|
||||||
For first ITP submission of Dolibarr, bug id was 634783.
|
|
||||||
|
|
||||||
- Check bug is into database by searching with id on
|
|
||||||
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=634783
|
|
||||||
|
|
||||||
- Add a line for upstream into file changelog with bug number
|
|
||||||
|
|
||||||
- Call for a mentor on ML debian-mentors to upload packages
|
|
||||||
|
|
||||||
- Once package is uploaded, following URL are available:
|
|
||||||
http://packages.qa.debian.org/package.html
|
|
||||||
http://bugs.debian.org/package
|
|
||||||
|
|
||||||
|
|
||||||
##### Modify severity of a bug ticket
|
|
||||||
|
|
||||||
- Send this email to control@bugs.debian.org and wait 10 minutes
|
|
||||||
|
|
||||||
severity 123 xxx
|
|
||||||
|
|
||||||
|
|
||||||
##### Update bug tracker system
|
|
||||||
|
|
||||||
To set status of a bug to "pending"
|
|
||||||
> bts --smtp-host=yoursmtpserver tag 999999 +pending
|
|
||||||
|
|
||||||
or replay to email 999999@bugs.debian.org + submitter of bug
|
|
||||||
With a message starting with:
|
|
||||||
|
|
||||||
Control: tag -1 +pending
|
|
||||||
Thanks. Fixed into git.
|
|
||||||
|
|
||||||
or replay to email control@bugs.debian.org
|
|
||||||
With only message
|
|
||||||
tag 729538 +pending
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
##### Testing a package into unstable env
|
|
||||||
|
|
||||||
Check you have a mysql server available from another interface than "localhost".
|
|
||||||
Comment line in /etc/mysql/my.cnf if required and restart mysql
|
|
||||||
#bind-address = 127.0.0.1
|
|
||||||
|
|
||||||
Create a chroot called "unstable-amd64-sbuild".
|
|
||||||
Chroot env is stored into /srv/chroot directory.
|
|
||||||
> 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 et préparer l'environnement
|
|
||||||
> schroot -c name_of_chroot
|
|
||||||
> cat /etc/debian_chroot to check which debian branch we are into
|
|
||||||
> vi /usr/sbin/policy-rc.d and replace return code 101 (not allowed) into 0 (ok)
|
|
||||||
> apt-get install links mysql-client
|
|
||||||
|
|
||||||
Pour tester un package
|
|
||||||
> On host server, stop any server on port 80 and 3306 (same port will be used by chroot env)
|
|
||||||
> cp ../build-area/* /srv/chroot/unstable/tmp
|
|
||||||
> sudo schroot -c name_of_chroot
|
|
||||||
> cd /tmp
|
|
||||||
> lintian --pedantic -E -I dolibarr*.deb
|
|
||||||
> lintian --pedantic -E -I dolibarr*.dsc
|
|
||||||
> dpkg -i dolibarr*.deb ou pour avoir des traces: dpkg -D77777 -i dolibarr*.deb
|
|
||||||
> apt-get install -f
|
|
||||||
|
|
||||||
If there is a problem launching apache, because port is already used, change it into your chroot install with
|
|
||||||
> vi /etc/apache2/ports.conf
|
|
||||||
Then restart.
|
|
||||||
Then you can call/test dolibarr with http://localhost:port/dolibarr/ (It can be also called from host).
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
##### Create/Maintain TCPDF package
|
|
||||||
|
|
||||||
To update tcpdf package:
|
|
||||||
|
|
||||||
* You can git clone tcpdf
|
|
||||||
> git clone git.debian.org:/git/collab-maint/tcpdf.git [tcpdf-debian]
|
|
||||||
or better
|
|
||||||
> mkdir gitdebian
|
|
||||||
> cd gitdebian
|
|
||||||
> gbp-clone git.debian.org:/git/collab-maint/tcpdf.git
|
|
||||||
|
|
||||||
* You can then create a PHP project from Eclipse called tcpdf-debian
|
|
||||||
from git clone dir and make link to git.
|
|
||||||
|
|
||||||
* If local branch upstream and pristine-tar does not exists, create it
|
|
||||||
from origin/upstream and origin/pristine.
|
|
||||||
|
|
||||||
* Into root dir, launch:
|
|
||||||
> debian/get-orig-source.sh
|
|
||||||
If script fails with error Bad certificate, you can set "export PERL_LWP_SSL_VERIFY_HOSTNAME=0" to solve this.
|
|
||||||
|
|
||||||
* Some files are removed from archive by the get-orig-source.sh
|
|
||||||
|
|
||||||
* Staying into git root directory, run
|
|
||||||
> git-import-orig -vv ../tcpdf_x.y.z+dfsg.orig.tar.xz --debian-branch=[master|jessie] --upstream-branch=[upstream|upstream-3.5.x]
|
|
||||||
|
|
||||||
Note: If there was errors solved manually, you may need to make a git commit
|
|
||||||
|
|
||||||
* Add an entry into debian/changelog
|
|
||||||
> dch -v x.y.z+dfsg-1 "My comment" will add entry.
|
|
||||||
For example: dch -v x.y.z+dfsg-1 "New upstream release." for a new version
|
|
||||||
Then modify changelog to replace "version" or "unstable" with "UNRELEASED".
|
|
||||||
|
|
||||||
Warning: Date must have format reported by "date -R"
|
|
||||||
Warning: Name and email must match value into debian/control file (Entry added here is used by next step).
|
|
||||||
|
|
||||||
* We try to build package
|
|
||||||
> rm -fr ../build-area;
|
|
||||||
> git-buildpackage -us -uc --git-debian-branch=[master|jessie] --git-upstream-branch=[upstream|upstream-3.5.x]
|
|
||||||
|
|
||||||
Note: To build an old version, do: git checkout oldtagname -b newbranchname; git-buildpackage -us -uc --git-debian-branch=newbranchname --git-upstream-branch=[upstream|upstream-3.5.x]
|
|
||||||
Note: You can use git-buildpackage -us -uc --git-ignore-new if you want to test build with uncommited file
|
|
||||||
Note: You can use git-buildpackage -us -uc -d if you want to test build when dependencies does not match
|
|
||||||
Note: Package is built into directory ../build-area
|
|
||||||
Note: To compare 2 packages: debdiff package1.dsc package2.dsc
|
|
||||||
|
|
||||||
|
|
||||||
* If package .deb is ok:
|
|
||||||
Note: If there was errors managed manually, you may need to make a git commit but do not use option "amend" previous commit
|
|
||||||
> git push --all ou git push origin --all
|
|
||||||
|
|
||||||
* If ok, you can tag.
|
|
||||||
> Edit debian/changelog to replace "UNRELEASED" into "unstable", then push
|
|
||||||
> git-buildpackage --git-tag-only --git-retag --git-debian-branch=[master|jessie] --git-upstream-branch=[upstream|upstream-3.5.x]
|
|
||||||
> git push --tags
|
|
||||||
|
|
||||||
* Compilation is then done by a debian developer and sent
|
|
||||||
> sbuild ...
|
|
||||||
> dput ...
|
|
||||||
|
|
||||||
* Go into page. You should see new package into unstable.
|
|
||||||
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 when upstream version has changed
|
|
||||||
|
|
||||||
* You can git clone debian git repo
|
|
||||||
> git clone git.debian.org:/git/collab-maint/dolibarr.git [dolibarr-debian]
|
|
||||||
or better
|
|
||||||
> cd ~; mkdir git-debian; cd git-debian
|
|
||||||
> gbp-clone git.debian.org:/git/collab-maint/dolibarr.git
|
|
||||||
|
|
||||||
* You can then create a PHP project from Eclipse called dolibarr-debian
|
|
||||||
from git clone dir and make link to git.
|
|
||||||
|
|
||||||
* If local branch upstream and pristine-tar does not exists, create it
|
|
||||||
from origin/upstream and origin/pristine.
|
|
||||||
|
|
||||||
* When new upstream is available onto sourceforge, launch:
|
|
||||||
> debian/get-orig-source.sh
|
|
||||||
If script fails with error Bad certificate, you can set "export PERL_LWP_SSL_VERIFY_HOSTNAME=0" to solve this.
|
|
||||||
|
|
||||||
* Edit tgz file to remove
|
|
||||||
- htdocs/includes/ckeditor
|
|
||||||
- htdocs/includes/jquery/plugins/datatables/extras/TableTools/swf
|
|
||||||
- htdocs/includes/phpexcel
|
|
||||||
- htdocs/includes/tcpdf
|
|
||||||
And rename file into
|
|
||||||
dolibarr-x.y.z+dfsgw.tgz
|
|
||||||
(x.y.z = version, w start from 1 and is increased for each new git-import-orig already done)
|
|
||||||
|
|
||||||
* Staying into git root directory, run
|
|
||||||
> git-import-orig -vv ../dolibarr-x.y.z+dfsgw.tgz --debian-branch=[master|jessie] --upstream-branch=[upstream|upstream-3.5.x]
|
|
||||||
and enter version when requested with format
|
|
||||||
x.y.z+dfsgw
|
|
||||||
(x.y.z = version, w start from 1 and is increased for each new import)
|
|
||||||
|
|
||||||
Note: If there was errors solved manually after get-orig-sources.sh, you may need to make a git commit
|
|
||||||
|
|
||||||
* Fix debian/* files used to build package.
|
|
||||||
Add an entry into debian/changelog
|
|
||||||
> dch -v x.y.z+dfsgw-v "My comment" will add entry.
|
|
||||||
For example: dch -v x.y.z+dfsgw-1 "New upstream release." for a new version (x.y.z = version, w start from 1 and increased for each new import)
|
|
||||||
Then check/modify changelog to replace "version" or "unstable" with "UNRELEASED".
|
|
||||||
Then check/modify also the user/date signature:
|
|
||||||
- Date must have format reported by "date -R"
|
|
||||||
- Name and email must match value into debian/control file (Entry added here is used by next step).
|
|
||||||
|
|
||||||
|
|
||||||
To update dolibarr debian package when only files into debian has changed
|
|
||||||
|
|
||||||
* Change files and commit.
|
|
||||||
* Add a tag debian/x.y.z+dfsgw-2 (increase the last 1 into 2)
|
|
||||||
|
|
||||||
|
|
||||||
Once files has been prepared, it's time to test:
|
|
||||||
|
|
||||||
* Try to build package
|
|
||||||
> rm -fr ../build-area;
|
|
||||||
> git-buildpackage -us -uc --git-debian-branch=[master|jessie] --git-upstream-branch=[upstream|upstream-3.5.x]
|
|
||||||
|
|
||||||
Note: To build an old version, do: git checkout oldtagname -b newbranchname; git-buildpackage -us -uc --git-debian-branch=newbranchname --git-upstream-branch=[upstream|upstream-3.5.x]
|
|
||||||
Note: You can use git-buildpackage -us -uc --git-ignore-new if you want to test build with uncommited file
|
|
||||||
Note: You can use git-buildpackage -us -uc -d if you want to test build when dependencies does not match
|
|
||||||
Note: Package is built into directory ../build-area
|
|
||||||
Note: To compare 2 packages: debdiff package1.dsc package2.dsc
|
|
||||||
|
|
||||||
* Test package (see dedicated chapter to test it with debian unstable env)
|
|
||||||
|
|
||||||
* If package .deb is ok:
|
|
||||||
Note: If there was errors managed manually, you may need to make a git commit but do not use option "amend" previous commit
|
|
||||||
> git push --all
|
|
||||||
|
|
||||||
* If ok, you can tag.
|
|
||||||
> Edit debian/changelog to replace "UNRELEASED" into "unstable", then push
|
|
||||||
> git-buildpackage --git-tag-only --git-retag --git-debian-branch=[master|jessie] --git-upstream-branch=[upstream|upstream-3.5.x]
|
|
||||||
> git push --tags
|
|
||||||
|
|
||||||
|
|
||||||
* Compilation is then done by a debian developer and sent
|
|
||||||
> sbuild ...
|
|
||||||
> dput ...
|
|
||||||
|
|
||||||
* Package arrives into FTPmaster taskboard with status NEW (pending upload). You can view it at:
|
|
||||||
http://ftp-master.debian.org/new/
|
|
||||||
|
|
||||||
* Once package is validated, you should see it into area unstable at:
|
|
||||||
http://packages.qa.debian.org
|
|
||||||
|
|
||||||
* Package will be into release when test will be moved as stable.
|
|
||||||
|
|
||||||
|
|
||||||
##### Send an unblock request
|
|
||||||
|
|
||||||
Use this to move from unstable to testing.
|
|
||||||
|
|
||||||
reportbug -B debian
|
|
||||||
Choose package "release.debian.org"
|
|
||||||
Then "unblock"
|
|
||||||
Then name of package "dolibarr"
|
|
||||||
Fill message, for example:
|
|
||||||
"Please unblock package dolibarr
|
|
||||||
A security error CVE-2015-3935 was reported and is fixed into package 3.5.7.
|
|
||||||
Note that package 3.5.7 contains not only fixed for bugs reported to debian. It includes other fixes, but they are all related to stability or security,
|
|
||||||
so it is a better solution to validate this maintenance release than applying a patch of the only CVE-2015-3935.
|
|
||||||
After discussion with ..., it appears that security holes are enough to request this unblock request."
|
|
||||||
|
|
||||||
|
|
||||||
Use this to request an update of a stable package
|
|
||||||
|
|
||||||
reportbug -B debian
|
|
||||||
Choose package "release.debian.org"
|
|
||||||
Then "unblock"
|
|
||||||
Then name of package "dolibarr"
|
|
||||||
Fill message, for example:
|
|
||||||
"Please unblock package dolibarr
|
|
||||||
A security error CVE-2015-3935 was reported and is fixed into package 3.5.7.
|
|
||||||
Note that package 3.5.7 contains not only fixed for bugs reported to debian. It includes other fixes, but they are all related to stability or security,
|
|
||||||
so it is a better solution to validate this maintenance release than applying a patch of the only CVE-2015-3935.
|
|
||||||
After discussion with ..., it appears that security holes are enough to request this unblock request."
|
|
||||||
|
|
||||||
|
|
|
@ -1,8 +0,0 @@
|
||||||
# File used to disable access into directory documents
|
|
||||||
<IfVersion >= 2.3>
|
|
||||||
Require all denied
|
|
||||||
</IfVersion>
|
|
||||||
<IfVersion < 2.3>
|
|
||||||
Order deny, allow
|
|
||||||
Denied from all
|
|
||||||
</IfVersion>
|
|
|
@ -1,56 +0,0 @@
|
||||||
# Apache config file for Dolibarr
|
|
||||||
<IfModule mod_alias.c>
|
|
||||||
Alias /dolibarr /usr/share/dolibarr/htdocs
|
|
||||||
</IfModule>
|
|
||||||
|
|
||||||
# You can also use dolibarr as a VirtualHost
|
|
||||||
# <VirtualHost *:*>
|
|
||||||
# ServerName mydolibarrhostname.com
|
|
||||||
# ServerAdmin root@example.com
|
|
||||||
# DocumentRoot /usr/share/dolibarr/
|
|
||||||
# ErrorLog logs/ldap.example.com-error.log
|
|
||||||
# CustomLog logs/ldap.example.com-access.log common
|
|
||||||
#
|
|
||||||
# <IfVersion >= 2.3>
|
|
||||||
# Require all granted
|
|
||||||
# </IfVersion>
|
|
||||||
# <IfVersion < 2.3>
|
|
||||||
# Order allow, deny
|
|
||||||
# Allow from all
|
|
||||||
# </IfVersion>
|
|
||||||
#
|
|
||||||
# </VirtualHost>
|
|
||||||
|
|
||||||
# Directory for web pages
|
|
||||||
<Directory /usr/share/dolibarr/htdocs>
|
|
||||||
<IfVersion >= 2.3>
|
|
||||||
Require all granted
|
|
||||||
</IfVersion>
|
|
||||||
<IfVersion < 2.3>
|
|
||||||
Order allow, deny
|
|
||||||
Allow from all
|
|
||||||
</IfVersion>
|
|
||||||
|
|
||||||
DirectoryIndex index.php
|
|
||||||
Options +FollowSymLinks +Indexes
|
|
||||||
|
|
||||||
ErrorDocument 401 /dolibarr/public/error-401.php
|
|
||||||
ErrorDocument 404 /dolibarr/public/error-404.php
|
|
||||||
|
|
||||||
<IfModule mod_php5.c>
|
|
||||||
php_flag magic_quotes_gpc Off
|
|
||||||
php_flag register_globals Off
|
|
||||||
</IfModule>
|
|
||||||
|
|
||||||
# OPTIMIZE: To use cache on static pages (A259200 = 1 month).
|
|
||||||
# Note that you must also enable the module mod_expires.
|
|
||||||
#ExpiresActive On
|
|
||||||
#ExpiresByType image/x-icon A2592000
|
|
||||||
#ExpiresByType image/gif A2592000
|
|
||||||
#ExpiresByType image/png A2592000
|
|
||||||
#ExpiresByType image/jpeg A2592000
|
|
||||||
#ExpiresByType text/css A2592000
|
|
||||||
#ExpiresByType text/javascript A2592000
|
|
||||||
#ExpiresByType application/x-javascript A2592000
|
|
||||||
#ExpiresByType application/javascript A2592000
|
|
||||||
</Directory>
|
|
|
@ -1,6 +0,0 @@
|
||||||
dolibarr (__VERSION__) UNRELEASED; urgency=low
|
|
||||||
|
|
||||||
[ Laurent Destailleur (eldy) ]
|
|
||||||
* New upstream release.
|
|
||||||
|
|
||||||
-- Laurent Destailleur (eldy) <eldy@users.sourceforge.net> Tue, 12 May 2015 12:00:00 +0100
|
|
|
@ -1 +0,0 @@
|
||||||
7
|
|
|
@ -1,230 +0,0 @@
|
||||||
<?php
|
|
||||||
# Dolibarr conf.php file
|
|
||||||
#
|
|
||||||
# Do not edit this file without changing its name.
|
|
||||||
# This file is used by Dolibarr setup process to create true Dolibarr
|
|
||||||
# config file called "conf.php".
|
|
||||||
#
|
|
||||||
|
|
||||||
|
|
||||||
###################
|
|
||||||
# Main parameters #
|
|
||||||
###################
|
|
||||||
|
|
||||||
# dolibarr_main_url_root
|
|
||||||
# This parameter defines the root URL of your Dolibarr index.php page.
|
|
||||||
# It must link to the htdocs directory htdocs.
|
|
||||||
# In most cases, this is autodetected but it still required to show full
|
|
||||||
# url bookmarks for some services (ie: agenda rss export url, ...) or
|
|
||||||
# when using Apache dir aliases (autodetect fails).
|
|
||||||
# Examples:
|
|
||||||
# $dolibarr_main_url_root='http://localhost';
|
|
||||||
# $dolibarr_main_url_root='http://mydolibarrvirtualhost';
|
|
||||||
# $dolibarr_main_url_root='http://myserver/dolibarr/htdocs';
|
|
||||||
# $dolibarr_main_url_root='http://myserver/dolibarralias';
|
|
||||||
#
|
|
||||||
$dolibarr_main_url_root='http://localhost';
|
|
||||||
|
|
||||||
|
|
||||||
# dolibarr_main_document_root
|
|
||||||
# This parameter contains absolute file system directory of Dolibarr
|
|
||||||
# htdocs directory
|
|
||||||
# Examples:
|
|
||||||
# $dolibarr_main_document_root='/var/www/dolibarr/htdocs';
|
|
||||||
# $dolibarr_main_document_root='C:/My web sites/dolibarr/htdocs';
|
|
||||||
#
|
|
||||||
$dolibarr_main_document_root='/usr/share/dolibarr/htdocs';
|
|
||||||
|
|
||||||
|
|
||||||
# dolibarr_main_data_root
|
|
||||||
# This parameter contains absolute file system directory of Dolibarr
|
|
||||||
# directory used to store uploaded and generated physical files.
|
|
||||||
# Examples:
|
|
||||||
# $dolibarr_main_data_root='/var/www/dolibarr/documents';
|
|
||||||
# $dolibarr_main_data_root='E:/My web sites/dolibarr/documents';
|
|
||||||
#
|
|
||||||
$dolibarr_main_data_root='/var/lib/dolibarr/documents';
|
|
||||||
|
|
||||||
|
|
||||||
# dolibarr_main_db_host
|
|
||||||
# This parameter contains host name or ip address of Dolibarr database
|
|
||||||
# server.
|
|
||||||
# Examples:
|
|
||||||
# $dolibarr_main_db_host='localhost';
|
|
||||||
# $dolibarr_main_db_host='127.0.0.1';
|
|
||||||
# $dolibarr_main_db_host='192.168.0.10';
|
|
||||||
# $dolibarr_main_db_host='mysql.myserver.com';
|
|
||||||
#
|
|
||||||
$dolibarr_main_db_host='127.0.0.1';
|
|
||||||
|
|
||||||
|
|
||||||
# dolibarr_main_db_port
|
|
||||||
# This parameter contains the port of the Dolibarr database.
|
|
||||||
# Default value: none
|
|
||||||
# Examples:
|
|
||||||
# $dolibarr_main_db_host='3306';
|
|
||||||
#
|
|
||||||
$dolibarr_main_db_port='3306';
|
|
||||||
|
|
||||||
|
|
||||||
# dolibarr_main_db_name
|
|
||||||
# This parameter contains name of Dolibarr database.
|
|
||||||
# Examples:
|
|
||||||
# $dolibarr_main_db_name='dolibarr';
|
|
||||||
# $dolibarr_main_db_name='mydatabase';
|
|
||||||
#
|
|
||||||
$dolibarr_main_db_name='dolibarr';
|
|
||||||
|
|
||||||
|
|
||||||
# dolibarr_main_db_user
|
|
||||||
# This parameter contains user name used to read and write into
|
|
||||||
# Dolibarr database.
|
|
||||||
# Examples:
|
|
||||||
# $dolibarr_main_db_user='admin';
|
|
||||||
# $dolibarr_main_db_user='dolibarruser';
|
|
||||||
#
|
|
||||||
$dolibarr_main_db_user='dolibarruser';
|
|
||||||
|
|
||||||
|
|
||||||
# dolibarr_main_db_pass
|
|
||||||
# This parameter contains password used to read and write into
|
|
||||||
# Dolibarr database.
|
|
||||||
# Examples:
|
|
||||||
# $dolibarr_main_db_pass='myadminpass';
|
|
||||||
# $dolibarr_main_db_pass='myuserpassword';
|
|
||||||
#
|
|
||||||
$dolibarr_main_db_pass='';
|
|
||||||
|
|
||||||
|
|
||||||
# dolibarr_main_db_type
|
|
||||||
# This parameter contains the name of the driver used to access your
|
|
||||||
# Dolibarr database.
|
|
||||||
# Default value: none
|
|
||||||
# Possible values: mysql, mysqli, pgsql
|
|
||||||
# Examples:
|
|
||||||
# $dolibarr_main_db_type='mysql';
|
|
||||||
# $dolibarr_main_db_type='mysqli';
|
|
||||||
# $dolibarr_main_db_type='pgsql';
|
|
||||||
#
|
|
||||||
$dolibarr_main_db_type='mysqli';
|
|
||||||
|
|
||||||
|
|
||||||
# dolibarr_main_db_character_set
|
|
||||||
# Database character set used to store data (forced during database creation).
|
|
||||||
# Default value: depends on database driver
|
|
||||||
# Examples:
|
|
||||||
# dolibarr_main_db_character_set='latin1';
|
|
||||||
#
|
|
||||||
$dolibarr_main_db_character_set='latin1';
|
|
||||||
|
|
||||||
|
|
||||||
# dolibarr_main_db_collation
|
|
||||||
# Database character set used to sort data (forced during database creation).
|
|
||||||
# Default value: depends on database driver
|
|
||||||
# Examples:
|
|
||||||
# dolibarr_main_db_collation='latin1_swedish_ci';
|
|
||||||
#
|
|
||||||
$dolibarr_main_db_collation='latin1_swedish_ci';
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
##################
|
|
||||||
# Login #
|
|
||||||
##################
|
|
||||||
|
|
||||||
# dolibarr_main_authentication
|
|
||||||
# This parameter contains the way authentication is done.
|
|
||||||
# If value "ldap" is used, you must also set parameters dolibarr_main_auth_ldap_*
|
|
||||||
# Default value: dolibarr
|
|
||||||
# Possible values: Any values found in files in htdocs/core/login directory after
|
|
||||||
# the "function_" string and before the ".php" string. You can also separate several
|
|
||||||
# values using a ",". In this case, Dolibarr will check login/pass for each value in
|
|
||||||
# order defined into value. However, note that this can't work with all values.
|
|
||||||
# Examples:
|
|
||||||
# $dolibarr_main_authentication='http';
|
|
||||||
# $dolibarr_main_authentication='dolibarr';
|
|
||||||
# $dolibarr_main_authentication='ldap';
|
|
||||||
# $dolibarr_main_authentication='openid,dolibarr';
|
|
||||||
#
|
|
||||||
$dolibarr_main_authentication='dolibarr';
|
|
||||||
|
|
||||||
|
|
||||||
# Parameters used to setup LDAP authentication.
|
|
||||||
# Uncomment them if dolibarr_main_authentication = 'ldap'
|
|
||||||
#
|
|
||||||
# $dolibarr_main_auth_ldap_host='127.0.0.1';
|
|
||||||
# $dolibarr_main_auth_ldap_port='389';
|
|
||||||
# $dolibarr_main_auth_ldap_version='3';
|
|
||||||
# $dolibarr_main_auth_ldap_servertype='openldap'; # openldap, activedirectory or egroupware
|
|
||||||
# $dolibarr_main_auth_ldap_login_attribute='loginfield'; # Ex: uid or samaccountname for active directory
|
|
||||||
# $dolibarr_main_auth_ldap_dn='ou=users,dc=my-domain,dc=com'; # Ex: ou=users,dc=my-domain,dc=com
|
|
||||||
# $dolibarr_main_auth_ldap_filter = ''; # If defined, two previous parameters are not used to find a user into LDAP. Ex: (uid=%1%) or &(uid=%1%)(isMemberOf=cn=Sales,ou=Groups,dc=opencsi,dc=com).
|
|
||||||
# $dolibarr_main_auth_ldap_admin_login=''; # Required only if anonymous bind disabled. Ex: cn=admin,dc=example,dc=com
|
|
||||||
# $dolibarr_main_auth_ldap_admin_pass=''; # Required only if anonymous bind disabled. Ex: secret
|
|
||||||
# $dolibarr_main_auth_ldap_debug='false';
|
|
||||||
|
|
||||||
|
|
||||||
# dolibarr_main_demo
|
|
||||||
# Login and pass to use in a demo mode.
|
|
||||||
# Default value: ''
|
|
||||||
# Examples:
|
|
||||||
# $dolibarr_main_demo='autologin,autopass'
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
##################
|
|
||||||
# Security #
|
|
||||||
##################
|
|
||||||
|
|
||||||
# dolibarr_main_force_https
|
|
||||||
# This parameter allows to force the HTTPS mode.
|
|
||||||
# Warning: If you enable this parameter, your web server must be configured
|
|
||||||
# to respond URL with https protocol.
|
|
||||||
# Default value: 0
|
|
||||||
# Possible values: 0 or 1
|
|
||||||
# Examples:
|
|
||||||
# $dolibarr_main_force_https='0';
|
|
||||||
#
|
|
||||||
$dolibarr_main_force_https='0';
|
|
||||||
|
|
||||||
# dolibarr_nocsrfcheck
|
|
||||||
# This parameter can be used to disable CSRF protection.
|
|
||||||
# This might be required if you access Dolibarr behind a proxy that make
|
|
||||||
# URL rewriting to avoid false alarms.
|
|
||||||
# Default value: 0
|
|
||||||
# Possible values: 0 or 1
|
|
||||||
# Examples:
|
|
||||||
# $dolibarr_nocsrfcheck='0';
|
|
||||||
#
|
|
||||||
$dolibarr_nocsrfcheck='0';
|
|
||||||
|
|
||||||
# dolibarr_main_prod
|
|
||||||
# When this parameter is defined, all errors messages are not reported.
|
|
||||||
# This feature exists for production usage to avoid to give any information to hackers.
|
|
||||||
# Default value: 0
|
|
||||||
# Possible values: 0 or 1
|
|
||||||
# Examples:
|
|
||||||
# $dolibarr_main_prod='0';
|
|
||||||
#
|
|
||||||
$dolibarr_main_prod='0';
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
##################
|
|
||||||
# Other #
|
|
||||||
##################
|
|
||||||
|
|
||||||
# dolibarr_main_limit_users
|
|
||||||
# Can set a limit on the number of users it will be possible to create
|
|
||||||
# (the superadmin not included), can be used for a restricted mode.
|
|
||||||
# Default value: 0 (unlimited)
|
|
||||||
# Examples:
|
|
||||||
# $dolibarr_main_limit_users='0';
|
|
||||||
|
|
||||||
# dolibarr_mailing_limit_sendbyweb
|
|
||||||
# Can set a limit for mailing send by web, can be used for a restricted mode.
|
|
||||||
# Default value: 0 (use database value if exist)
|
|
||||||
# Examples:
|
|
||||||
# $dolibarr_mailing_limit_sendbyweb='0';
|
|
||||||
|
|
||||||
?>
|
|
|
@ -1,73 +0,0 @@
|
||||||
Source: dolibarr
|
|
||||||
Section: web
|
|
||||||
Priority: optional
|
|
||||||
Maintainer: Laurent Destailleur (eldy) <eldy@users.sourceforge.net>
|
|
||||||
# Uploaders: Laurent Destailleur (eldy) <eldy@users.sourceforge.net> # Only if differs from Maintainer
|
|
||||||
Standards-Version: 3.9.6
|
|
||||||
Homepage: http://www.dolibarr.org
|
|
||||||
Build-Depends: debhelper (>= 9), po-debconf
|
|
||||||
# This package need at least debian 7 or ubuntu 13.04 or any distribution based on this version
|
|
||||||
|
|
||||||
Package: dolibarr
|
|
||||||
Architecture: all
|
|
||||||
Depends: libapache2-mod-php5 | libapache2-mod-php5filter | php5-cgi | php5-fpm | php5,
|
|
||||||
php5-cli,
|
|
||||||
# Required PHP extensions
|
|
||||||
php5-mysql | php5-mysqli, php5-curl, php5-gd, php5-ldap, php5-geoip,
|
|
||||||
# Required PHP libraries
|
|
||||||
php-pear, php-mail-mime,
|
|
||||||
# php-tcpdf, libfpdi-php,
|
|
||||||
# libfpdf-tpl-php, php-fpdf,
|
|
||||||
# libphp-adodb,
|
|
||||||
# libnusoap-php,
|
|
||||||
# libphp-pclzip,
|
|
||||||
# Required javascript libraries
|
|
||||||
# javascript-common, libjs-jquery, libjs-jquery-ui, libjs-jquery-flot, ckeditor,
|
|
||||||
# Misc dependencies
|
|
||||||
# fonts-dejavu-core | ttf-dejavu-core,
|
|
||||||
xdg-utils,
|
|
||||||
mysql-server,
|
|
||||||
mysql-client,
|
|
||||||
${misc:Depends},
|
|
||||||
${perl:Depends}
|
|
||||||
Recommends: apache2 | lighttpd | httpd
|
|
||||||
Suggests: www-browser
|
|
||||||
Description: Web based software to manage a company or foundation
|
|
||||||
Dolibarr ERP & CRM is an easy to use open source/free software for small
|
|
||||||
and medium companies, foundations or freelances. It includes different
|
|
||||||
features for Enterprise Resource Planning (ERP) and Customer Relationship
|
|
||||||
Management (CRM) but also for different other activities.
|
|
||||||
.
|
|
||||||
It's a web software you can install as a standalone program or on any web
|
|
||||||
hosting provider to use it from anywhere with any web browser.
|
|
||||||
.
|
|
||||||
Dolibarr was designed to be easy to use. Only the features that you need
|
|
||||||
are visible, depending on which modules were activated.
|
|
||||||
.
|
|
||||||
This is an example of most common used modules:
|
|
||||||
.
|
|
||||||
Customers, Suppliers or Prospects directory,
|
|
||||||
Contacts directory,
|
|
||||||
Orders management,
|
|
||||||
Commercial proposals management,
|
|
||||||
Invoices management,
|
|
||||||
Products and services catalog,
|
|
||||||
Stock management,
|
|
||||||
Foundations members management,
|
|
||||||
Bank accounts management,
|
|
||||||
Point of Sale,
|
|
||||||
Payments management,
|
|
||||||
Commercial actions management,
|
|
||||||
Contracts management,
|
|
||||||
Standing orders management,
|
|
||||||
Shipping management,
|
|
||||||
Donations management,
|
|
||||||
Bookmarks management,
|
|
||||||
Mass Emailings,
|
|
||||||
Reports,
|
|
||||||
Wizards to export and import data,
|
|
||||||
LDAP connectivity,
|
|
||||||
PDF exports,
|
|
||||||
And a lot more modules...
|
|
||||||
.
|
|
||||||
You can also add external modules from third parties or develop yours.
|
|
|
@ -1,390 +0,0 @@
|
||||||
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
|
||||||
Upstream-Name: Dolibarr
|
|
||||||
Upstream-Contact: Laurent Destailleur <eldy@users.sourceforge.net>
|
|
||||||
Source: http://www.dolibarr.org/files/stable/standard/
|
|
||||||
|
|
||||||
Files: *
|
|
||||||
Copyright: 2002-2009, Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
|
||||||
2003-2006, Jean-Louis Bergamo <jlb@j1b.org>
|
|
||||||
2003-2013, Laurent Destailleur <eldy@users.sourceforge.net>
|
|
||||||
2003, Xavier Dutoit <doli@sydesy.com>
|
|
||||||
2004-2013, Regis Houssin <regis.houssin@capnetworks.com>
|
|
||||||
2004, Sebastien Di Cintio <sdicintio@ressource-toi.org>
|
|
||||||
2004, Benoit Mortier <benoit.mortier@opensides.be>
|
|
||||||
2004, Christophe Combelles <ccomb@free.fr>
|
|
||||||
2004, Guillaume Delecourt <guillaume.delecourt@opensides.be>
|
|
||||||
2004, Eric Seigne <eric.seigne@ryxeo.com>
|
|
||||||
2005, Brice Davoleau <brice.davoleau@gmail.com>
|
|
||||||
2005, Kai Blankenhorn <kaib@bitfolge.de>
|
|
||||||
2005-2006, Marc Barilley/Ocebo <marc@ocebo.com>
|
|
||||||
2005, Matthieu Valleton <mv@seeschloss.org>
|
|
||||||
2005, Patrick Rouillon <patrick@rouillon.net>
|
|
||||||
2005, Simon TOSSER <simon@kornog-computing.com>
|
|
||||||
2006, Andre Cianfarani <acianfa@free.fr>
|
|
||||||
2006-2011, Auguria SARL <info@auguria.org>
|
|
||||||
2006, Jean Heimburger <jean@tiaris.info>
|
|
||||||
2006, Roman Ozana <ozana@omdesign.cz>
|
|
||||||
2006, Yannick Warnier <ywarnier@beeznest.org>
|
|
||||||
2007, Patrick Raguin <patrick.raguin@gmail.com>
|
|
||||||
2007, Franky Van Liedekerke <franky.van.liedekerker@telenet.be>
|
|
||||||
2007-2008, Jeremie Ollivier <jeremie.o@laposte.net>
|
|
||||||
2008, Matteli <unknown@unknown.com>
|
|
||||||
2008, Raphael Bertrand (Resultic) <raphael.bertrand@resultic.fr>
|
|
||||||
2010, Francois Legastelois <flegastelois@teclib.com>
|
|
||||||
2010-2013, Juanjo Menent <jmenent@2byte.es>
|
|
||||||
2010-2013, Philippe Grand <philippe.grand@atoo-net.com>
|
|
||||||
2010, Pierre Morin <pierre.morin@auguria.net>
|
|
||||||
2010, Servitux Servicios Informaticos <info@servitux.es>
|
|
||||||
2011, Herve Prot <herve.prot@symeos.com>
|
|
||||||
2011, Remy Younes <ryounes@gmail.com>
|
|
||||||
2012-2013, Christophe Battarel <christophe.battarel@altairis.fr>
|
|
||||||
License: GPL-3+
|
|
||||||
This program is free software; you can redistribute it
|
|
||||||
and/or modify it under the terms of the GNU General Public
|
|
||||||
License as published by the Free Software Foundation; either
|
|
||||||
version 3 of the License, or (at your option) any later
|
|
||||||
version.
|
|
||||||
.
|
|
||||||
This program is distributed in the hope that it will be
|
|
||||||
useful, but WITHOUT ANY WARRANTY; without even the implied
|
|
||||||
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
|
||||||
PURPOSE. See the GNU General Public License for more
|
|
||||||
details.
|
|
||||||
.
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
.
|
|
||||||
On Debian systems, the full text of the GNU General Public
|
|
||||||
License version 3 can be found in the file
|
|
||||||
`/usr/share/common-licenses/GPL-3'.
|
|
||||||
|
|
||||||
Files: htdocs/includes/adodbtime/*
|
|
||||||
Copyright: 2003-2005, John Lim
|
|
||||||
unknown, jackbbs
|
|
||||||
License: BSD-3-Clause
|
|
||||||
Redistribution and use in source and binary forms, with or without
|
|
||||||
modification, are permitted provided that the following conditions
|
|
||||||
are met:
|
|
||||||
.
|
|
||||||
Redistributions of source code must retain the above copyright notice,
|
|
||||||
this list of conditions and the following disclaimer.
|
|
||||||
.
|
|
||||||
Redistributions in binary form must reproduce the above copyright notice,
|
|
||||||
this list of conditions and the following disclaimer in the documentation
|
|
||||||
and/or other materials provided with the distribution.
|
|
||||||
.
|
|
||||||
Neither the name of the John Lim nor the names of its contributors may be
|
|
||||||
used to endorse or promote products derived from this software without
|
|
||||||
specific prior written permission.
|
|
||||||
Comment:
|
|
||||||
Those files are not shipped in the binary package since we use
|
|
||||||
the library as packaged in "libphp-adodb".
|
|
||||||
|
|
||||||
Files: htdocs/includes/ckeditor/*
|
|
||||||
Copyright: 2003-2012 CKSource - Frederico Knabben
|
|
||||||
License: GPL-2+
|
|
||||||
The ckeditor is tripple licensed under the GNU General Public License (GPL),
|
|
||||||
GNU Lesser General Public License (LGPL), and Mozilla Public License (MPL).
|
|
||||||
In Debian, it is distributed under the GNU General Public License (GPL).
|
|
||||||
.
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU General Public License as published by
|
|
||||||
the Free Software Foundation; either version 2 of the License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
.
|
|
||||||
This program is distributed in the hope that it will be useful,
|
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
.
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
.
|
|
||||||
On Debian systems, the complete text of the GNU General Public License
|
|
||||||
can be found in /usr/share/common-licenses/GPL-2 file.
|
|
||||||
Comment:
|
|
||||||
Sources for all minified javascript libraries are available in same directory
|
|
||||||
than minified version (.min.js), except for ckeditor whose sources are files
|
|
||||||
ckeditor_basic_source.js, ckeditor_source.js and files into directory _source.
|
|
||||||
Those files are not shipped in the binary package since we use the
|
|
||||||
library as packaged in "ckeditor".
|
|
||||||
|
|
||||||
Files: htdocs/includes/fonts/*
|
|
||||||
Copyright: 2003, Bitstream Inc
|
|
||||||
unknown, Gavin Graham
|
|
||||||
License: other
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining
|
|
||||||
a copy of the fonts accompanying this license ("Fonts") and associated
|
|
||||||
documentation files (the "Font Software"), to reproduce and distribute
|
|
||||||
the Font Software, including without limitation the rights to use,
|
|
||||||
copy, merge, publish, distribute, and/or sell copies of the Font
|
|
||||||
Software, and to permit persons to whom the Font Software is furnished
|
|
||||||
to do so, subject to the following conditions:
|
|
||||||
.
|
|
||||||
The above copyright and trademark notices and this permission notice
|
|
||||||
shall be included in all copies of one or more of the Font Software
|
|
||||||
typefaces.
|
|
||||||
.
|
|
||||||
The Font Software may be modified, altered, or added to, and in
|
|
||||||
particular the designs of glyphs or characters in the Fonts may be
|
|
||||||
modified and additional glyphs or characters may be added to the
|
|
||||||
Fonts, only if the fonts are renamed to names not containing either
|
|
||||||
the words "Bitstream" or the word "Vera".
|
|
||||||
.
|
|
||||||
This License becomes null and void to the extent applicable to Fonts
|
|
||||||
or Font Software that has been modified and is distributed under the
|
|
||||||
"Bitstream Vera" names.
|
|
||||||
.
|
|
||||||
The Font Software may be sold as part of a larger software package but
|
|
||||||
no copy of one or more of the Font Software typefaces may be sold by
|
|
||||||
itself.
|
|
||||||
.
|
|
||||||
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
||||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
||||||
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL
|
|
||||||
BITSTREAM OR THE GNOME FOUNDATION BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
|
||||||
OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL,
|
|
||||||
OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR
|
|
||||||
OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE THE FONT
|
|
||||||
SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
||||||
.
|
|
||||||
Except as contained in this notice, the names of Gnome, the Gnome
|
|
||||||
Foundation, and Bitstream Inc., shall not be used in advertising or
|
|
||||||
otherwise to promote the sale, use or other dealings in this Font
|
|
||||||
Software without prior written authorization from the Gnome Foundation
|
|
||||||
or Bitstream Inc., respectively. For further information, contact:
|
|
||||||
fonts at gnome dot org.
|
|
||||||
Comments:
|
|
||||||
Those files are not shipped in the binary package as we
|
|
||||||
configure Dolibarr to use Dejavu fonts from "fonts-dejavu-core".
|
|
||||||
|
|
||||||
Files: docs/images/*
|
|
||||||
Copyright: Laurent Destailleur
|
|
||||||
License: CC-BY-SA-3.0
|
|
||||||
You are free:
|
|
||||||
to Share (to copy, distribute and transmit the work) and
|
|
||||||
to Remix (to adapt the work) under the following conditions:
|
|
||||||
.
|
|
||||||
Attribution - You must attribute the work in the manner specified by the
|
|
||||||
author or licensor (but not in any way that suggests that they endorse you
|
|
||||||
or your use of the work).
|
|
||||||
.
|
|
||||||
Share Alike - If you alter, transform, or build upon this work, you may
|
|
||||||
distribute the resulting work only under the same, similar or a compatible
|
|
||||||
license.
|
|
||||||
.
|
|
||||||
For more information, see http://creativecommons.org/licenses/by-sa/3.0/
|
|
||||||
|
|
||||||
Files: htdocs/includes/fpdi/*
|
|
||||||
Copyright: 2004-2011 Setasign - Jan Slabon
|
|
||||||
License: GPL-2+
|
|
||||||
This program is free software; you can redistribute it
|
|
||||||
and/or modify it under the terms of the GNU General Public
|
|
||||||
License as published by the Free Software Foundation; either
|
|
||||||
version 2 of the License, or (at your option) any later
|
|
||||||
version.
|
|
||||||
.
|
|
||||||
This program is distributed in the hope that it will be
|
|
||||||
useful, but WITHOUT ANY WARRANTY; without even the implied
|
|
||||||
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
|
||||||
PURPOSE. See the GNU General Public License for more
|
|
||||||
details.
|
|
||||||
.
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
.
|
|
||||||
On Debian systems, the full text of the GNU General Public
|
|
||||||
License version 2 can be found in the file
|
|
||||||
`/usr/share/common-licenses/GPL-2'.
|
|
||||||
Comment:
|
|
||||||
Those files are not shipped in the binary package as we
|
|
||||||
configure Dolibarr to use the library packaged in "libfpdi-php".
|
|
||||||
|
|
||||||
Files: htdocs/includes/geoip/*
|
|
||||||
Copyright: 2007 MaxMind LLC
|
|
||||||
License: LGPL-2.1+
|
|
||||||
This library is free software; you can redistribute it and/or
|
|
||||||
modify it under the terms of the GNU Lesser General Public
|
|
||||||
License as published by the Free Software Foundation; either
|
|
||||||
version 2.1 of the License, or (at your option) any later version.
|
|
||||||
.
|
|
||||||
This library is distributed in the hope that it will be useful,
|
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
Lesser General Public License for more details.
|
|
||||||
.
|
|
||||||
You should have received a copy of the GNU Lesser General Public License
|
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
.
|
|
||||||
On Debian systems, the full text of the GNU Lesser General Public
|
|
||||||
License version 2.1 can be found in the file
|
|
||||||
`/usr/share/common-licenses/LGPL-2.1'.
|
|
||||||
|
|
||||||
Files: htdocs/includes/jquery/*
|
|
||||||
Copyright: JQuery team
|
|
||||||
License: GPL-2+ or MIT
|
|
||||||
=== GPL-2+ LICENSE NOTICE ===
|
|
||||||
.
|
|
||||||
This program is free software; you can redistribute it
|
|
||||||
and/or modify it under the terms of the GNU General Public
|
|
||||||
License as published by the Free Software Foundation; either
|
|
||||||
version 2 of the License, or (at your option) any later
|
|
||||||
version.
|
|
||||||
.
|
|
||||||
This program is distributed in the hope that it will be
|
|
||||||
useful, but WITHOUT ANY WARRANTY; without even the implied
|
|
||||||
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
|
||||||
PURPOSE. See the GNU General Public License for more
|
|
||||||
details.
|
|
||||||
.
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
.
|
|
||||||
On Debian systems, the full text of the GNU General Public
|
|
||||||
License version 2 can be found in the file
|
|
||||||
`/usr/share/common-licenses/GPL-2'.
|
|
||||||
.
|
|
||||||
=== MIT LICENSE ===
|
|
||||||
.
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
|
||||||
in the Software without restriction, including without limitation the rights
|
|
||||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
||||||
copies of the Software, and to permit persons to whom the Software is
|
|
||||||
furnished to do so, subject to the following conditions:
|
|
||||||
.
|
|
||||||
The above copyright notice and this permission notice shall be included in
|
|
||||||
all copies or substantial portions of the Software.
|
|
||||||
.
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
||||||
THE SOFTWARE.
|
|
||||||
Comment:
|
|
||||||
JQuery itself is not shipped in the binary package, instead Dolibarr is
|
|
||||||
configured to use the packaged version from "libjs-jquery" and
|
|
||||||
"libjs-jquery-ui". Most of the plugins are shipped though.
|
|
||||||
|
|
||||||
|
|
||||||
Files: htdocs/includes/jquery/plugins/flot/*
|
|
||||||
Copyright: Flot team
|
|
||||||
License: Public-Domain
|
|
||||||
This work is not subject to copyright in any jurisdiction
|
|
||||||
Comment:
|
|
||||||
Those files are not shipped in the binary package because we configure
|
|
||||||
Dolibarr to use the files provided by "libjs-flot".
|
|
||||||
|
|
||||||
Files: htdocs/includes/jsgantt/*
|
|
||||||
Copyright: JSGantt team
|
|
||||||
License: GPL-2+
|
|
||||||
This program is free software; you can redistribute it
|
|
||||||
and/or modify it under the terms of the GNU General Public
|
|
||||||
License as published by the Free Software Foundation; either
|
|
||||||
version 2 of the License, or (at your option) any later
|
|
||||||
version.
|
|
||||||
.
|
|
||||||
This program is distributed in the hope that it will be
|
|
||||||
useful, but WITHOUT ANY WARRANTY; without even the implied
|
|
||||||
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
|
||||||
PURPOSE. See the GNU General Public License for more
|
|
||||||
details.
|
|
||||||
.
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
.
|
|
||||||
On Debian systems, the full text of the GNU General Public
|
|
||||||
License version 2 can be found in the file
|
|
||||||
`/usr/share/common-licenses/GPL-2'.
|
|
||||||
|
|
||||||
Files: htdocs/includes/nusoap/*
|
|
||||||
Copyright: 2002-2010 NuSphere Corporation
|
|
||||||
License: LGPL-2.1+
|
|
||||||
This library is free software; you can redistribute it and/or
|
|
||||||
modify it under the terms of the GNU Lesser General Public
|
|
||||||
License as published by the Free Software Foundation; either
|
|
||||||
version 2.1 of the License, or (at your option) any later version.
|
|
||||||
.
|
|
||||||
This library is distributed in the hope that it will be useful,
|
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
Lesser General Public License for more details.
|
|
||||||
.
|
|
||||||
You should have received a copy of the GNU Lesser General Public License
|
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
.
|
|
||||||
On Debian systems, the full text of the GNU Lesser General Public
|
|
||||||
License version 2.1 can be found in the file
|
|
||||||
`/usr/share/common-licenses/LGPL-2.1'.
|
|
||||||
Comment:
|
|
||||||
Those files are not shipped in the binary package since we
|
|
||||||
configure Dolibarr to use the library provided in "libnusoap-php".
|
|
||||||
|
|
||||||
Files: htdocs/includes/odtphp/*
|
|
||||||
Copyright: 2008, Julien Pauli
|
|
||||||
2008, Cyril PIERRE de GEYER
|
|
||||||
2010, Laurent Destailleur <eldy@users.sourceforge.net>
|
|
||||||
License: GPL-2+
|
|
||||||
This program is free software; you can redistribute it
|
|
||||||
and/or modify it under the terms of the GNU General Public
|
|
||||||
License as published by the Free Software Foundation; either
|
|
||||||
version 2 of the License, or (at your option) any later
|
|
||||||
version.
|
|
||||||
.
|
|
||||||
This program is distributed in the hope that it will be
|
|
||||||
useful, but WITHOUT ANY WARRANTY; without even the implied
|
|
||||||
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
|
||||||
PURPOSE. See the GNU General Public License for more
|
|
||||||
details.
|
|
||||||
.
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
.
|
|
||||||
On Debian systems, the full text of the GNU General Public
|
|
||||||
License version 2 can be found in the file
|
|
||||||
`/usr/share/common-licenses/GPL-2'.
|
|
||||||
|
|
||||||
Files: htdocs/includes/phpexcel/*
|
|
||||||
Copyright: 2006-2011 PHPExcel (http://www.codeplex.com/PHPExcel)
|
|
||||||
License: LGPL-2.1+
|
|
||||||
This library is free software; you can redistribute it and/or
|
|
||||||
modify it under the terms of the GNU Lesser General Public
|
|
||||||
License as published by the Free Software Foundation; either
|
|
||||||
version 2.1 of the License, or (at your option) any later version.
|
|
||||||
.
|
|
||||||
This library is distributed in the hope that it will be useful,
|
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
||||||
Lesser General Public License for more details.
|
|
||||||
.
|
|
||||||
You should have received a copy of the GNU Lesser General Public License
|
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
.
|
|
||||||
On Debian systems, the full text of the GNU Lesser General Public
|
|
||||||
License version 2.1 can be found in the file
|
|
||||||
`/usr/share/common-licenses/LGPL-2.1'.
|
|
||||||
|
|
||||||
Files: htdocs/includes/tcpdf/*
|
|
||||||
Copyright: 2002-2013 Nicola Asuni - Tecnick.com LTD
|
|
||||||
License: LGPL-3.0+
|
|
||||||
TCPDF is free software: you can redistribute it and/or modify it
|
|
||||||
under the terms of the GNU Lesser General Public License as
|
|
||||||
published by the Free Software Foundation, either version 3 of the
|
|
||||||
License, or (at your option) any later version.
|
|
||||||
.
|
|
||||||
TCPDF is distributed in the hope that it will be useful, but
|
|
||||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
||||||
See the GNU Lesser General Public License for more details.
|
|
||||||
.
|
|
||||||
You should have received a copy of the GNU Lesser General Public License
|
|
||||||
along with TCPDF. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
.
|
|
||||||
On Debian systems, the complete text of the GNU Lesser General
|
|
||||||
Public License version 3 can be found in "/usr/share/common-licenses/LGPL-3".
|
|
||||||
Comment:
|
|
||||||
Those files are not shipped in the binary package since we configure
|
|
||||||
Dolibarr to use the library provided by "php-tcpdf".
|
|
|
@ -1,81 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
# Debian install package run: config, preinst, prerm, postinst, postrm
|
|
||||||
#
|
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
|
|
||||||
. /usr/share/debconf/confmodule
|
|
||||||
|
|
||||||
db_version 2.0
|
|
||||||
|
|
||||||
|
|
||||||
echo Run the dolibarr config script
|
|
||||||
|
|
||||||
# Rotate old configuration
|
|
||||||
#if [ "$1" = "reconfigure" ] ; then
|
|
||||||
# config="/etc/dolibarr/apache.conf"
|
|
||||||
# if [ -f $config ] ; then
|
|
||||||
# for i in $(seq 8 -1 0) ; do
|
|
||||||
# if [ -f ${config}.$i ] ; then
|
|
||||||
# mv ${config}.$i ${config}.$(($i +1))
|
|
||||||
# fi
|
|
||||||
# done
|
|
||||||
# mv ${config} ${config}.0
|
|
||||||
# fi
|
|
||||||
#fi
|
|
||||||
# Rotate old configuration
|
|
||||||
#if [ "$1" = "reconfigure" ] ; then
|
|
||||||
# config="/etc/dolibarr/lighttpd.conf"
|
|
||||||
# if [ -f $config ] ; then
|
|
||||||
# for i in $(seq 8 -1 0) ; do
|
|
||||||
# if [ -f ${config}.$i ] ; then
|
|
||||||
# mv ${config}.$i ${config}.$(($i +1))
|
|
||||||
# fi
|
|
||||||
# done
|
|
||||||
# mv ${config} ${config}.0
|
|
||||||
# fi
|
|
||||||
#fi
|
|
||||||
|
|
||||||
|
|
||||||
db_capb backup
|
|
||||||
|
|
||||||
db_title "dolibarr" || true
|
|
||||||
|
|
||||||
|
|
||||||
# Ask if we must delete database
|
|
||||||
echo "Ask for web server to setup"
|
|
||||||
db_input critical dolibarr/reconfigure-webserver || true
|
|
||||||
|
|
||||||
if db_go ; then
|
|
||||||
okcancel="1"
|
|
||||||
else
|
|
||||||
okcancel="0"
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
# Get the database administrator name and password.
|
|
||||||
#db_beginblock
|
|
||||||
# db_input critical "dolibarr/db/admin/name" || true
|
|
||||||
# db_input critical "dolibarr/db/admin/password" || true
|
|
||||||
#db_endblock
|
|
||||||
|
|
||||||
# Ask for DB name.
|
|
||||||
#db_input critical "dolibarr/db/name" || true
|
|
||||||
|
|
||||||
# Get the DBMS account username
|
|
||||||
#db_input critical "dolibarr/db/user/name" || true
|
|
||||||
|
|
||||||
# Get the DBMS account password
|
|
||||||
#db_input critical "dolibarr/db/user/password" || true
|
|
||||||
|
|
||||||
# Ask for deleting all the database on package purge.
|
|
||||||
#db_input critical "dolibarr/postrm" || true
|
|
||||||
|
|
||||||
# Launch input screens
|
|
||||||
#db_go || true
|
|
||||||
|
|
||||||
onsuccess='finished="true"'
|
|
||||||
db_stop
|
|
||||||
|
|
||||||
exit 0
|
|
|
@ -1,26 +0,0 @@
|
||||||
[Desktop Entry]
|
|
||||||
# This file is used to add Ubuntu menu entry
|
|
||||||
# It must be saved into directory /usr/share/applications
|
|
||||||
Version=1.0
|
|
||||||
Name=Dolibarr ERP & CRM
|
|
||||||
Name[es]=Dolibarr ERP & CRM
|
|
||||||
Name[fr]=Dolibarr ERP & CRM
|
|
||||||
Name[it]=Dolibarr ERP & CRM
|
|
||||||
GenericName=Dolibarr ERP & CRM
|
|
||||||
Comment=The easy to use manager (ERP & CRM) for small and medium enterprises or foundations
|
|
||||||
Comment[es]=Software para gestión de PYMES, profesionales independientes, auto emprendedores ó asociaciones
|
|
||||||
Comment[fr]=L'ERP & CRM simple pour la gestion des PME et associations
|
|
||||||
Comment[it]=Programma gestionale open source e gratuito per piccole e medie imprese, fondazioni e liberi professionisti
|
|
||||||
# Command to open an URL
|
|
||||||
# For Fedora: xdg-open
|
|
||||||
# For Debian/Ubuntu: xdg-open or x-www-browser
|
|
||||||
# (exo-open for xfde, gnome-open for gnome, ...)
|
|
||||||
Exec=xdg-open http://localhost/dolibarr
|
|
||||||
Icon=dolibarr
|
|
||||||
Terminal=false
|
|
||||||
Type=Application
|
|
||||||
Categories=Office
|
|
||||||
StartupNotify=true
|
|
||||||
InitialPreference=5
|
|
||||||
#NoDisplay=true
|
|
||||||
#OnlyShowIn=GNOME
|
|
|
@ -1,2 +0,0 @@
|
||||||
README.md
|
|
||||||
README-FR.md
|
|
|
@ -1,11 +0,0 @@
|
||||||
debian/dolibarr.desktop usr/share/applications/
|
|
||||||
debian/dolibarr.xpm usr/share/pixmaps/
|
|
||||||
debian/apache/.htaccess var/lib/dolibarr/documents/
|
|
||||||
debian/apache/dolibarr.conf etc/apache2/conf-available/
|
|
||||||
debian/lighttpd/50-dolibarr.conf etc/lighttpd/conf-available/
|
|
||||||
debian/install.forced.php.install etc/dolibarr/
|
|
||||||
htdocs usr/share/dolibarr/
|
|
||||||
scripts usr/share/dolibarr/
|
|
||||||
doc/install usr/share/doc/dolibarr/
|
|
||||||
doc/user usr/share/doc/dolibarr/
|
|
||||||
doc/index.html usr/share/doc/dolibarr/
|
|
|
@ -1,7 +0,0 @@
|
||||||
# We want a www-data group-writable /var/lib/dolibarr/documents/
|
|
||||||
dolibarr: non-standard-dir-perm var/lib/dolibarr/documents/ 2775 != 0755
|
|
||||||
# We depend on xdg-utils providing xdg-open and we use that to open an URL
|
|
||||||
dolibarr: desktop-command-not-in-package usr/share/applications/dolibarr.desktop xdg-open
|
|
||||||
# We use <IfVersion> to include the correct configuration for each apache version
|
|
||||||
dolibarr: apache2-deprecated-auth-config Order
|
|
||||||
dolibarr: apache2-deprecated-auth-config Allow
|
|
|
@ -1,218 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
# postinst script for dolibarr
|
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
# summary of how this script can be called:
|
|
||||||
# * <postinst> `configure' <most-recently-configured-version>
|
|
||||||
# * <old-postinst> `abort-upgrade' <new version>
|
|
||||||
# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
|
|
||||||
# <new-version>
|
|
||||||
# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
|
|
||||||
# <failed-install-package> <version> `removing'
|
|
||||||
# <conflicting-package> <version>
|
|
||||||
# for details, see /usr/share/doc/packaging-manual/
|
|
||||||
|
|
||||||
if [ -e /usr/share/apache2/apache2-maintscript-helper ] ; then
|
|
||||||
# Needs to be run outside of functions to have access to parameters
|
|
||||||
. /usr/share/apache2/apache2-maintscript-helper
|
|
||||||
fi
|
|
||||||
|
|
||||||
setup_empty_conf() {
|
|
||||||
echo Create empty file $config
|
|
||||||
mkdir -p /etc/dolibarr
|
|
||||||
touch /etc/dolibarr/conf.php
|
|
||||||
chown root:www-data /etc/dolibarr/conf.php
|
|
||||||
chmod 664 /etc/dolibarr/conf.php
|
|
||||||
}
|
|
||||||
|
|
||||||
is_new_upstream_version() {
|
|
||||||
# $1 can be empty (not installed) and will result in a true value
|
|
||||||
# for the check
|
|
||||||
old_version=$(echo "$1" | sed -e 's/-[^-]*$//' -e 's/^[0-9]*://')
|
|
||||||
new_version=$(dpkg-query -f '${Version}' -W dolibarr | \
|
|
||||||
sed -e 's/-[^-]*$//' -e 's/^[0-9]*://')
|
|
||||||
test "$old_version" != "$new_version"
|
|
||||||
}
|
|
||||||
|
|
||||||
enable_install_upgrade_wizard() {
|
|
||||||
echo Enable install wizard by removing install.lock file if present
|
|
||||||
rm -f /var/lib/dolibarr/documents/install.lock
|
|
||||||
}
|
|
||||||
|
|
||||||
apache_install() {
|
|
||||||
webserver=$1
|
|
||||||
if which a2enconf >/dev/null 2>&1 ;then
|
|
||||||
# a2enconf exists for ubuntu only
|
|
||||||
a2enconf dolibarr
|
|
||||||
else
|
|
||||||
if [ -d /etc/$webserver/conf.d ] && [ ! -e /etc/$webserver/conf.d/dolibarr.conf ]; then
|
|
||||||
echo "Add link for Apache config file"
|
|
||||||
ln -s /etc/$webserver/conf-available/dolibarr.conf /etc/$webserver/conf.d/dolibarr.conf
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
lighttpd_install() {
|
|
||||||
if which lighty-enable-mod >/dev/null 2>&1 ; then
|
|
||||||
echo "Enable lighttpd link for dolibarr config file"
|
|
||||||
lighty-enable-mod dolibarr fastcgi-php
|
|
||||||
else
|
|
||||||
echo "Lighttpd not installed, skipping"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
. /usr/share/debconf/confmodule
|
|
||||||
|
|
||||||
db_version 2.0
|
|
||||||
|
|
||||||
|
|
||||||
echo Run the dolibarr postinst script
|
|
||||||
|
|
||||||
|
|
||||||
# Define vars
|
|
||||||
docdir='/var/lib/dolibarr/documents'
|
|
||||||
installfileorig="/etc/dolibarr/install.forced.php.install"
|
|
||||||
installconfig="/etc/dolibarr/install.forced.php"
|
|
||||||
config="/etc/dolibarr/conf.php"
|
|
||||||
|
|
||||||
|
|
||||||
case "$1" in
|
|
||||||
configure)
|
|
||||||
if [ -z "$2" ]; then
|
|
||||||
echo First install
|
|
||||||
#setup_empty_conf
|
|
||||||
else
|
|
||||||
echo This is not a first install
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Apache 2 setup
|
|
||||||
if which a2enmod >/dev/null 2>&1 ;then
|
|
||||||
a2enmod alias
|
|
||||||
fi
|
|
||||||
|
|
||||||
apache_install
|
|
||||||
lighttpd_install
|
|
||||||
|
|
||||||
# Remove lock file
|
|
||||||
if is_new_upstream_version "$2"; then
|
|
||||||
enable_install_upgrade_wizard
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Create document directory for uploaded data files
|
|
||||||
mkdir -p $docdir
|
|
||||||
chown -R www-data:www-data $docdir
|
|
||||||
chmod -R 775 $docdir
|
|
||||||
chmod -R g+s $docdir
|
|
||||||
|
|
||||||
# Copy install config file (with matching Debian values) into target directory
|
|
||||||
superuserlogin=''
|
|
||||||
superuserpassword=''
|
|
||||||
if [ -f /etc/mysql/debian.cnf ] ; then
|
|
||||||
# Load superuser login and pass
|
|
||||||
superuserlogin=$(grep --max-count=1 "user" /etc/mysql/debian.cnf | sed -e 's/^user[ =]*//g')
|
|
||||||
superuserpassword=$(grep --max-count=1 "password" /etc/mysql/debian.cnf | sed -e 's/^password[ =]*//g')
|
|
||||||
fi
|
|
||||||
echo Mysql superuser found to use is $superuserlogin
|
|
||||||
if [ -z "$superuserlogin" ] ; then
|
|
||||||
cat $installfileorig | sed -e 's/__SUPERUSERLOGIN__/root/g' | sed -e 's/__SUPERUSERPASSWORD__//g' > $installconfig
|
|
||||||
else
|
|
||||||
cat $installfileorig | sed -e 's/__SUPERUSERLOGIN__/'$superuserlogin'/g' | sed -e 's/__SUPERUSERPASSWORD__/'$superuserpassword'/g' > $installconfig
|
|
||||||
fi
|
|
||||||
chown -R root:www-data $installconfig
|
|
||||||
chmod -R 660 $installconfig
|
|
||||||
|
|
||||||
# If a conf already exists and its content was already completed by installer
|
|
||||||
if [ ! -s $config ] || ! grep -q "File generated by" $config
|
|
||||||
then
|
|
||||||
# Create an empty conf.php with permission to web server
|
|
||||||
setup_empty_conf
|
|
||||||
#else
|
|
||||||
# File already exist. We add params not found.
|
|
||||||
#echo Add new params to overwrite path to use shared libraries/fonts
|
|
||||||
#grep -q -c "dolibarr_lib_ADODB_PATH" $config || [ ! -d "/usr/share/php/adodb" ] || echo "<?php \$dolibarr_lib_ADODB_PATH='/usr/share/php/adodb'; ?>" >> $config
|
|
||||||
#grep -q -c "dolibarr_lib_FPDI_PATH" $config || [ ! -d "/usr/share/php/fpdi" ] || echo "<?php \$dolibarr_lib_FPDI_PATH='/usr/share/php/fpdi'; ?>" >> $config
|
|
||||||
##grep -q -c "dolibarr_lib_GEOIP_PATH" $config || echo "<?php \$dolibarr_lib_GEOIP_PATH=''; ?>" >> $config
|
|
||||||
#grep -q -c "dolibarr_lib_NUSOAP_PATH" $config || [ ! -d "/usr/share/php/nusoap" ] || echo "<?php \$dolibarr_lib_NUSOAP_PATH='/usr/share/php/nusoap'; ?>" >> $config
|
|
||||||
#grep -q -c "dolibarr_lib_ODTPHP_PATHTOPCLZIP" $config || [ ! -d "/usr/share/php/libphp-pclzip" ] || echo "<?php \$dolibarr_lib_ODTPHP_PATHTOPCLZIP='/usr/share/php/libphp-pclzip'; ?>" >> $config
|
|
||||||
##grep -q -c "dolibarr_lib_PHPEXCEL_PATH" $config || echo "<?php \$dolibarr_lib_PHPEXCEL_PATH=''; ?>" >> $config
|
|
||||||
##grep -q -c "dolibarr_lib_TCPDF_PATH" $config || echo "<?php \$dolibarr_lib_TCPDF_PATH=''; ?>" >> $config
|
|
||||||
#grep -q -c "dolibarr_js_CKEDITOR" $config || [ ! -d "/usr/share/javascript/ckeditor" ] || echo "<?php \$dolibarr_js_CKEDITOR='/javascript/ckeditor'; ?>" >> $config
|
|
||||||
#grep -q -c "dolibarr_js_JQUERY" $config || [ ! -d "/usr/share/javascript/jquery" ] || echo "<?php \$dolibarr_js_JQUERY='/javascript/jquery'; ?>" >> $config
|
|
||||||
#grep -q -c "dolibarr_js_JQUERY_UI" $config || [ ! -d "/usr/share/javascript/jquery-ui" ] || echo "<?php \$dolibarr_js_JQUERY_UI='/javascript/jquery-ui'; ?>" >> $config
|
|
||||||
#grep -q -c "dolibarr_js_JQUERY_FLOT" $config || [ ! -d "/usr/share/javascript/flot" ] || echo "<?php \$dolibarr_js_JQUERY_FLOT='/javascript/flot'; ?>" >> $config
|
|
||||||
#grep -q -c "dolibarr_font_DOL_DEFAULT_TTF_BOLD" $config || echo "<?php \$dolibarr_font_DOL_DEFAULT_TTF_BOLD='/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Bold.ttf'; ?>" >> $config
|
|
||||||
fi
|
|
||||||
|
|
||||||
db_get dolibarr/reconfigure-webserver
|
|
||||||
|
|
||||||
webservers="$RET"
|
|
||||||
|
|
||||||
# Set up web server.
|
|
||||||
for webserver in $webservers ; do
|
|
||||||
webserver=${webserver%,}
|
|
||||||
echo Complete config of server $webserver
|
|
||||||
|
|
||||||
# Detect webuser and webgroup
|
|
||||||
webuser=
|
|
||||||
webgroup=
|
|
||||||
|
|
||||||
if [ -z "$webuser" ] ; then
|
|
||||||
webuser=www-data
|
|
||||||
fi
|
|
||||||
if [ -z "$webgroup" ] ; then
|
|
||||||
webgroup=www-data
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo Web user.group used is $webuser.$webgroup
|
|
||||||
|
|
||||||
# Set permissions to web server
|
|
||||||
chown -R $webuser:$webgroup /usr/share/dolibarr
|
|
||||||
chown -R root:$webgroup $config
|
|
||||||
done
|
|
||||||
|
|
||||||
# Restart web server.
|
|
||||||
for webserver in $webservers; do
|
|
||||||
webserver=${webserver%,}
|
|
||||||
if [ "$webserver" = "lighttpd" ] ; then
|
|
||||||
lighttpd_install
|
|
||||||
else
|
|
||||||
apache_install $webserver
|
|
||||||
fi
|
|
||||||
# Reload webserver in any case, configuration might have changed
|
|
||||||
# Redirection of 3 is needed because Debconf uses it and it might
|
|
||||||
# be inherited by webserver. See bug #446324.
|
|
||||||
if [ -f /etc/init.d/$webserver ] ; then
|
|
||||||
if [ -x /usr/sbin/invoke-rc.d ]; then
|
|
||||||
echo Restart web server $server using invoke-rc.d
|
|
||||||
# This works with Debian (5.05,...) and Ubuntu (9.10,10.04,...)
|
|
||||||
invoke-rc.d $webserver reload 3>/dev/null || true
|
|
||||||
else
|
|
||||||
echo Restart web server $server using $server reload
|
|
||||||
/etc/init.d/$webserver reload 3>/dev/null || true
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
|
|
||||||
echo ----------
|
|
||||||
echo "Call Dolibarr page http://localhost/dolibarr/ to complete the setup and use Dolibarr."
|
|
||||||
echo ----------
|
|
||||||
;;
|
|
||||||
|
|
||||||
abort-upgrade|abort-remove|abort-deconfigure)
|
|
||||||
;;
|
|
||||||
|
|
||||||
*)
|
|
||||||
echo "postinst called with unknown argument $1" >&2
|
|
||||||
exit 0
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
#DEBHELPER#
|
|
||||||
|
|
||||||
db_stop
|
|
||||||
|
|
||||||
exit 0
|
|
|
@ -1,246 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
# postrm script for dolibarr
|
|
||||||
#
|
|
||||||
# see: dh_installdeb(1)
|
|
||||||
|
|
||||||
#set -e
|
|
||||||
set +e
|
|
||||||
|
|
||||||
# summary of how this script can be called:
|
|
||||||
# * <postrm> `remove'
|
|
||||||
# * <postrm> `purge'
|
|
||||||
# * <old-postrm> `upgrade' <new-version>
|
|
||||||
# * <new-postrm> `failed-upgrade' <old-version>
|
|
||||||
# * <new-postrm> `abort-install'
|
|
||||||
# * <new-postrm> `abort-install' <old-version>
|
|
||||||
# * <new-postrm> `abort-upgrade' <old-version>
|
|
||||||
# * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version>
|
|
||||||
# for details, see /usr/share/doc/packaging-manual/
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
lighttpd_remove() {
|
|
||||||
if [ -f /etc/lighttpd/conf-available/50-dolibarr.conf ] ; then
|
|
||||||
echo "postrm Remove link for Lighttpd config file"
|
|
||||||
rm -f /etc/lighttpd/conf-available/50-dolibarr.conf
|
|
||||||
if which lighty-enable-mod >/dev/null 2>&1 ; then
|
|
||||||
lighty-disable-mod dolibarr
|
|
||||||
else
|
|
||||||
echo "postrm Lighttpd not installed, skipping"
|
|
||||||
fi
|
|
||||||
# See bug #448682
|
|
||||||
if [ -h /etc/lighttpd/conf-enabled/50-dolibarr.conf ] ; then
|
|
||||||
echo "postrm Manually deleting lighttpd/dolibarr configuration link"
|
|
||||||
rm /etc/lighttpd/conf-enabled/50-dolibarr.conf
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
apache_remove() {
|
|
||||||
if [ -d /etc/$webserver/conf.d ] && [ -L /etc/$webserver/conf.d/dolibarr.conf ]; then
|
|
||||||
echo "postrm Remove link for Apache config file"
|
|
||||||
rm -f /etc/$webserver/conf.d/dolibarr.conf
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if [ -f /usr/share/debconf/confmodule ]; then
|
|
||||||
. /usr/share/debconf/confmodule
|
|
||||||
fi
|
|
||||||
|
|
||||||
db_version 2.0
|
|
||||||
|
|
||||||
echo Run the dolibarr postrm script
|
|
||||||
|
|
||||||
|
|
||||||
docdir='/var/lib/dolibarr/documents'
|
|
||||||
config="/etc/dolibarr/conf.php"
|
|
||||||
lockfile="$docdir/install.lock"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
case "$1" in
|
|
||||||
|
|
||||||
# Call when we upgrade
|
|
||||||
upgrade)
|
|
||||||
echo "postrm upgrade"
|
|
||||||
;;
|
|
||||||
|
|
||||||
# Call when we uninstall
|
|
||||||
remove)
|
|
||||||
echo "postrm remove"
|
|
||||||
rm -f $lockfile
|
|
||||||
|
|
||||||
# Reconfigure web server
|
|
||||||
db_get dolibarr/reconfigure-webserver
|
|
||||||
|
|
||||||
webservers="$RET"
|
|
||||||
|
|
||||||
# Restart web servers
|
|
||||||
for webserver in $webservers; do
|
|
||||||
webserver=${webserver%,}
|
|
||||||
if [ "$webserver" = "lighttpd" ] ; then
|
|
||||||
lighttpd_remove
|
|
||||||
else
|
|
||||||
apache_remove $webserver
|
|
||||||
fi
|
|
||||||
# Redirection of 3 is needed because Debconf uses it and it might
|
|
||||||
# be inherited by webserver. See bug #446324.
|
|
||||||
if [ -f /etc/init.d/$webserver ] ; then
|
|
||||||
if [ -x /usr/sbin/invoke-rc.d ]; then
|
|
||||||
invoke-rc.d $webserver reload 3>/dev/null || true
|
|
||||||
else
|
|
||||||
/etc/init.d/$webserver reload 3>/dev/null || true
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
;;
|
|
||||||
|
|
||||||
# Call when we uninstall and purge
|
|
||||||
purge)
|
|
||||||
echo "postrm purge"
|
|
||||||
|
|
||||||
# Ask if we must delete database
|
|
||||||
echo "postrm db_input dolibarr/postrm"
|
|
||||||
db_input critical dolibarr/postrm || true
|
|
||||||
db_go || true
|
|
||||||
|
|
||||||
echo "postrm db_get dolibarr/postrm"
|
|
||||||
# We disable set -e to avoid premature end of script if error
|
|
||||||
set +e
|
|
||||||
db_get dolibarr/postrm
|
|
||||||
set -e
|
|
||||||
|
|
||||||
if [ "$RET" = "true" ] ; then
|
|
||||||
echo postrm Mysql database deletion
|
|
||||||
# Get database configuration
|
|
||||||
dbserver="localhost"
|
|
||||||
dbuser="dolibarrdebian"
|
|
||||||
dbname="dolibarrdebian"
|
|
||||||
#db_get "dolibarr/db/name"
|
|
||||||
#dbname="$RET"
|
|
||||||
superuserlogin=''
|
|
||||||
superuserpassword=''
|
|
||||||
if [ -f /etc/mysql/debian.cnf ] ; then
|
|
||||||
# Load superuser login and pass
|
|
||||||
superuserlogin=$(grep --max-count=1 "user" /etc/mysql/debian.cnf | sed -e 's/^user[ =]*//g')
|
|
||||||
superuserpassword=$(grep --max-count=1 "password" /etc/mysql/debian.cnf | sed -e 's/^password[ =]*//g')
|
|
||||||
fi
|
|
||||||
echo postrm Mysql superuser found to use is $superuserlogin
|
|
||||||
dbadmin="$superuserlogin"
|
|
||||||
dbadmpass="$superuserpassword"
|
|
||||||
dbtype="mysql"
|
|
||||||
|
|
||||||
# To delete a mysql user (disabled)
|
|
||||||
# Needs: $dbuser - the user name to create (or replace).
|
|
||||||
# $dballow - what hosts to allow (defaults to %).
|
|
||||||
# $dbname - the database that user should have access to.
|
|
||||||
# $dbpass - the password to use.
|
|
||||||
# $dbserver - the server to connect to.
|
|
||||||
# $dbadmin - the administrator name.
|
|
||||||
# $dbadmpass - the administrator password.
|
|
||||||
# which
|
|
||||||
# mysql
|
|
||||||
# /usr/share/wwwconfig-coomon/mysql.get
|
|
||||||
#. /usr/share/wwwconfig-common/${dbtype}-dropuser.sh
|
|
||||||
|
|
||||||
# To delete database
|
|
||||||
# Needs: $dbname - the database that user should have access to.
|
|
||||||
# $dbserver - the server to connect to.
|
|
||||||
# $dbadmin - the administrator name.
|
|
||||||
# $dbadmpass - the administrator password.
|
|
||||||
# which
|
|
||||||
# mysql
|
|
||||||
# /usr/share/wwwconfig-common/mysql.get
|
|
||||||
echo "postrm Delete database $dbname on server $dbserver using account $dbadmin"
|
|
||||||
|
|
||||||
# Define mysqlcmd
|
|
||||||
if [ -z "$dbserver" ] || [ "$dbserver" = "localhost" ]; then
|
|
||||||
hostopt=""
|
|
||||||
dbserver=localhost
|
|
||||||
else
|
|
||||||
case "$dbserver" in
|
|
||||||
:*)
|
|
||||||
dbsocket=`echo $dbserver | sed -e 's/^://'`
|
|
||||||
hostopt="-S $dbsocket"
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
hostopt="-h $dbserver"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
fi
|
|
||||||
if [ -z "$dbadmpass" ] ; then
|
|
||||||
log="${log}No password used."
|
|
||||||
passopt=""
|
|
||||||
else
|
|
||||||
passopt="--password='"`echo "$dbadmpass" | sed -e "s/'/'"'"'"'"'"'"'/g"`"'"
|
|
||||||
fi
|
|
||||||
mysqlcmd="mysql $hostopt $passopt -u $dbadmin"
|
|
||||||
mysqlcmdnopass="mysql $hostopt -u $dbadmin"
|
|
||||||
|
|
||||||
# Now run the drop user
|
|
||||||
if eval $mysqlcmd -f -e "\"DROP USER '$dbuser'@'localhost';\"" ; then
|
|
||||||
echo postrm Database login $dbuser@localhost removed
|
|
||||||
else
|
|
||||||
error="Unable to run $mysqlcmdnopass -f -e \"DROP USER '$dbuser'@'localhost';\""
|
|
||||||
echo postrm $error
|
|
||||||
fi
|
|
||||||
if eval $mysqlcmd -f -e "\"DROP USER '$dbuser'@'%';\"" ; then
|
|
||||||
echo postrm Database login $dbuser@% removed
|
|
||||||
else
|
|
||||||
error="Unable to run $mysqlcmdnopass -f -e \"DROP USER '$dbuser'@'%';\""
|
|
||||||
echo postrm $error
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Now run the drop commands
|
|
||||||
if eval $mysqlcmd -f -e "\"show databases;\"" | grep -e "^$dbname" > /dev/null 2>&1 ; then
|
|
||||||
log="${log}Droping database $dbname."
|
|
||||||
if eval $mysqlcmd -f -e "\"DROP DATABASE $dbname;\"" ; then
|
|
||||||
if eval $mysqlcmd -f -e "\"show databases;\"" | grep -e "^$dbname" > /dev/null 2>&1 ; then
|
|
||||||
error="Database $dbname NOT successfully droped. You have to do it manually."
|
|
||||||
echo postrm $error
|
|
||||||
else
|
|
||||||
status=drop
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
error="Unable to run the drop database script."
|
|
||||||
echo postrm $error
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
status=nothing
|
|
||||||
log="${log}Database $dbname already not exists."
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "postrm Remove directory $docdir"
|
|
||||||
rm -rf $docdir ;
|
|
||||||
|
|
||||||
else
|
|
||||||
echo "postrm Delete of dolibarr database and uploaded files not wanted"
|
|
||||||
fi
|
|
||||||
|
|
||||||
rm -rf /etc/dolibarr
|
|
||||||
|
|
||||||
# We clean variable (we ignore errors because db_reset can fails if var was never set)
|
|
||||||
set +e
|
|
||||||
db_reset dolibarr/reconfigure-webserver
|
|
||||||
db_reset dolibarr/postrm
|
|
||||||
set -e
|
|
||||||
|
|
||||||
#db_purge
|
|
||||||
;;
|
|
||||||
|
|
||||||
failed-upgrade|abort-install|abort-upgrade|disappear)
|
|
||||||
;;
|
|
||||||
|
|
||||||
*)
|
|
||||||
echo "postrm called with unknown argument $1" >&2
|
|
||||||
exit 0
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
#DEBHELPER#
|
|
||||||
|
|
||||||
db_stop
|
|
||||||
|
|
||||||
exit 0
|
|
|
@ -1,15 +0,0 @@
|
||||||
Template: dolibarr/reconfigure-webserver
|
|
||||||
Type: multiselect
|
|
||||||
Choices: apache2, lighttpd
|
|
||||||
Default: apache2, lighttpd
|
|
||||||
_Description: Web server to reconfigure automatically:
|
|
||||||
Please choose the web server that should be automatically configured
|
|
||||||
to run dolibarr.
|
|
||||||
|
|
||||||
Template: dolibarr/postrm
|
|
||||||
Type: boolean
|
|
||||||
Default: false
|
|
||||||
_Description: Delete database and uploaded files ?
|
|
||||||
Answer if you want to removed the Dolibarr MySQL database and all other
|
|
||||||
datas (datas related to this question are the Dolibarr DBMS account, all
|
|
||||||
Dolibarr tables, and all uploaded files).
|
|
|
@ -1,105 +0,0 @@
|
||||||
#Template: dolibarr/configuration/note
|
|
||||||
#Type: note
|
|
||||||
#Description: Package configuration note
|
|
||||||
# Dolibarr can be and should be configured entirely via web, so, in the
|
|
||||||
# following configuration steps, I'm going to prompt you for the passwords that
|
|
||||||
# Dolibarr uses for web configuration and some default values for the
|
|
||||||
# application startup. Then you should point your browser to the Dolibarr
|
|
||||||
# setup, for example:
|
|
||||||
# .
|
|
||||||
# http://localhost/dolibarr/install.php
|
|
||||||
# .
|
|
||||||
# continue the configuration, fill the database and let Dolibarr be aware of
|
|
||||||
# the installed modules.
|
|
||||||
|
|
||||||
#Template: dolibarr/webserver
|
|
||||||
#Type: select
|
|
||||||
#Choices: Apache, Apache-ssl, Both, None
|
|
||||||
#Description: Which Web Server are you running ?
|
|
||||||
# Dolibarr supports any web server with PHP capabilities, but this
|
|
||||||
# configuration process only supports Apache and Apache-SSL.
|
|
||||||
|
|
||||||
#Template: dolibarr/db
|
|
||||||
#Type: text
|
|
||||||
#Description: Dolibarr DB setup note
|
|
||||||
# Now you should specify the DBMS settings. You must provide the host name on
|
|
||||||
# which the DBMS server is installed, the type (i.e. MySql), the DB name, the DBMS administrator user-name, etc.
|
|
||||||
|
|
||||||
#Template: dolibarr/db/host
|
|
||||||
#Type: string
|
|
||||||
#Default: localhost
|
|
||||||
#Description: Please, insert your database host name:
|
|
||||||
# This should be the host-name or IP address that dolibarr will use to access
|
|
||||||
# the DB.
|
|
||||||
|
|
||||||
#Template: dolibarr/db/port
|
|
||||||
#Type: string
|
|
||||||
#Default: 3306
|
|
||||||
#Description: Please, insert your database port:
|
|
||||||
# This should be the port value that Dolibarr will use to access
|
|
||||||
# the DB.
|
|
||||||
|
|
||||||
#Template: dolibarr/db/name
|
|
||||||
#Type: string
|
|
||||||
#Default: dolibarr
|
|
||||||
#Description: Please, insert Dolibarr database name:
|
|
||||||
# This is the name of the database that Dolibarr will use.
|
|
||||||
|
|
||||||
#Template: dolibarr/db/user/name
|
|
||||||
#Type: string
|
|
||||||
#Default: dolibarr
|
|
||||||
#Description: Please, insert the DBMS user-name to access the DB:
|
|
||||||
# This is the user-name that Dolibarr will use to access the DB.
|
|
||||||
|
|
||||||
#Template: dolibarr/db/user/password
|
|
||||||
#Type: password
|
|
||||||
#Description: Please, insert the password to access the DB:
|
|
||||||
# This is the password that Dolibarr will use, along with user-name you
|
|
||||||
# provided, to access the DB.
|
|
||||||
|
|
||||||
#Template: dolibarr/db/user/password/confirm
|
|
||||||
#Type: password
|
|
||||||
#Description: Please, retype the password to access the DB:
|
|
||||||
# Please insert the DB access password again. If the password you are going to
|
|
||||||
# retype mismatch the previous inserted one, I'll ask you to insert them again.
|
|
||||||
|
|
||||||
#Template: dolibarr/db/user/password/mismatch
|
|
||||||
#Type: text
|
|
||||||
#Description: Passwords mismatch
|
|
||||||
# The DB access passwords you inserted mismatch. Please, try again.
|
|
||||||
|
|
||||||
#Template: dolibarr/db/admin/name
|
|
||||||
#Type: string
|
|
||||||
#Default: root
|
|
||||||
#Description: Please, insert the DBMS administrator user-name:
|
|
||||||
# This user-name will be used to access the DBMS to create (if needed):
|
|
||||||
# .
|
|
||||||
# (1) The new Dolibarr database
|
|
||||||
# (2) The new database account that Dolibarr will use to access the DB
|
|
||||||
# .
|
|
||||||
# It should be 'root' for MySql.
|
|
||||||
|
|
||||||
#Template: dolibarr/db/admin/password
|
|
||||||
#Type: password
|
|
||||||
#Description: Please, insert the DBMS administrator password (if any):
|
|
||||||
# This is the password that will be used along with the DBMS administrator
|
|
||||||
# user-name.
|
|
||||||
# .
|
|
||||||
# NOTE: This password will not be asked twice, since it's not a new password.
|
|
||||||
|
|
||||||
Template: dolibarr/postrm
|
|
||||||
Type: boolean
|
|
||||||
Default: true
|
|
||||||
Description: Delete database ?
|
|
||||||
Delete the Dolibarr MySQL database and all its datas (datas related
|
|
||||||
to this quetion are the Dolibarr DBMS account and all
|
|
||||||
Dolibarr tables) ?
|
|
||||||
|
|
||||||
#Template: dolibarr/postrmfile
|
|
||||||
#Type: boolean
|
|
||||||
#Default: true
|
|
||||||
#Description: Delete attached files ?
|
|
||||||
# Delete also all uploaded and generated files (datas related
|
|
||||||
# to this quetion are all files found into /usr/share/dolibarr/documents,
|
|
||||||
# uploaded or generated when using Dolibarr) ?
|
|
||||||
|
|
|
@ -1,196 +0,0 @@
|
||||||
/* XPM */
|
|
||||||
static char * dolibarr_xpm[] = {
|
|
||||||
"32 32 161 2",
|
|
||||||
" c None",
|
|
||||||
". c #4378AA",
|
|
||||||
"+ c #4277A8",
|
|
||||||
"@ c #4175A7",
|
|
||||||
"# c #3F74A5",
|
|
||||||
"$ c #3E72A3",
|
|
||||||
"% c #3D71A2",
|
|
||||||
"& c #487AA8",
|
|
||||||
"* c #5A87B0",
|
|
||||||
"= c #5987B0",
|
|
||||||
"- c #5986B0",
|
|
||||||
"; c #5583AE",
|
|
||||||
"> c #4678A6",
|
|
||||||
", c #326A9D",
|
|
||||||
"' c #356C9F",
|
|
||||||
") c #3B70A1",
|
|
||||||
"! c #3B6FA0",
|
|
||||||
"~ c #90ADC9",
|
|
||||||
"{ c #FFFFFF",
|
|
||||||
"] c #DFE7EF",
|
|
||||||
"^ c #A6BED4",
|
|
||||||
"/ c #5683AD",
|
|
||||||
"( c #346A9D",
|
|
||||||
"_ c #3A6E9F",
|
|
||||||
": c #8CAAC7",
|
|
||||||
"< c #CFDCE8",
|
|
||||||
"[ c #4B7AA6",
|
|
||||||
"} c #3A6E9E",
|
|
||||||
"| c #396D9D",
|
|
||||||
"1 c #8BA9C6",
|
|
||||||
"2 c #FEFEFE",
|
|
||||||
"3 c #6C92B6",
|
|
||||||
"4 c #376B9C",
|
|
||||||
"5 c #386B9B",
|
|
||||||
"6 c #8AA8C5",
|
|
||||||
"7 c #648CB1",
|
|
||||||
"8 c #366A9A",
|
|
||||||
"9 c #89A8C4",
|
|
||||||
"0 c #FCFCFD",
|
|
||||||
"a c #356898",
|
|
||||||
"b c #89A7C3",
|
|
||||||
"c c #F1F4F8",
|
|
||||||
"d c #C2D1E0",
|
|
||||||
"e c #C4D2E0",
|
|
||||||
"f c #C8D6E3",
|
|
||||||
"g c #E1E8EF",
|
|
||||||
"h c #A4BBD1",
|
|
||||||
"i c #336797",
|
|
||||||
"j c #346797",
|
|
||||||
"k c #88A6C2",
|
|
||||||
"l c #D0DBE6",
|
|
||||||
"m c #285F91",
|
|
||||||
"n c #2F6494",
|
|
||||||
"o c #2E6394",
|
|
||||||
"p c #2B6192",
|
|
||||||
"q c #366898",
|
|
||||||
"r c #A1B9CE",
|
|
||||||
"s c #2A6091",
|
|
||||||
"t c #336595",
|
|
||||||
"u c #88A5C1",
|
|
||||||
"v c #D0DCE7",
|
|
||||||
"w c #2C6092",
|
|
||||||
"x c #2E6193",
|
|
||||||
"y c #9CB4CB",
|
|
||||||
"z c #557FA7",
|
|
||||||
"A c #316493",
|
|
||||||
"B c #86A4C0",
|
|
||||||
"C c #D0DCE6",
|
|
||||||
"D c #2B5F90",
|
|
||||||
"E c #799AB9",
|
|
||||||
"F c #306392",
|
|
||||||
"G c #86A4BF",
|
|
||||||
"H c #2A5E8E",
|
|
||||||
"I c #265B8C",
|
|
||||||
"J c #F2F5F8",
|
|
||||||
"K c #89A5C0",
|
|
||||||
"L c #2F6190",
|
|
||||||
"M c #85A3BE",
|
|
||||||
"N c #285C8D",
|
|
||||||
"O c #23588A",
|
|
||||||
"P c #F7F9FB",
|
|
||||||
"Q c #86A3BF",
|
|
||||||
"R c #2E608E",
|
|
||||||
"S c #85A2BD",
|
|
||||||
"T c #CFDBE5",
|
|
||||||
"U c #275B8A",
|
|
||||||
"V c #3A6995",
|
|
||||||
"W c #7092B2",
|
|
||||||
"X c #2C5E8D",
|
|
||||||
"Y c #84A1BC",
|
|
||||||
"Z c #CFDAE5",
|
|
||||||
"` c #26598A",
|
|
||||||
" . c #245889",
|
|
||||||
".. c #B1C3D4",
|
|
||||||
"+. c #46729B",
|
|
||||||
"@. c #2B5D8B",
|
|
||||||
"#. c #83A0BB",
|
|
||||||
"$. c #CEDAE5",
|
|
||||||
"%. c #235787",
|
|
||||||
"&. c #265988",
|
|
||||||
"*. c #255988",
|
|
||||||
"=. c #215686",
|
|
||||||
"-. c #376692",
|
|
||||||
";. c #B3C5D6",
|
|
||||||
">. c #F3F5F8",
|
|
||||||
",. c #205585",
|
|
||||||
"'. c #2A5C8A",
|
|
||||||
"). c #82A0BA",
|
|
||||||
"!. c #CEDAE4",
|
|
||||||
"~. c #467199",
|
|
||||||
"{. c #C8D5E0",
|
|
||||||
"]. c #C9D6E1",
|
|
||||||
"^. c #E7EDF2",
|
|
||||||
"/. c #94ADC4",
|
|
||||||
"(. c #285B89",
|
|
||||||
"_. c #285A88",
|
|
||||||
":. c #819FB9",
|
|
||||||
"<. c #527A9F",
|
|
||||||
"[. c #F9FAFB",
|
|
||||||
"}. c #275987",
|
|
||||||
"|. c #275986",
|
|
||||||
"1. c #819DB8",
|
|
||||||
"2. c #CED9E3",
|
|
||||||
"3. c #51799E",
|
|
||||||
"4. c #567DA0",
|
|
||||||
"5. c #265785",
|
|
||||||
"6. c #809DB8",
|
|
||||||
"7. c #51789D",
|
|
||||||
"8. c #698AAA",
|
|
||||||
"9. c #245584",
|
|
||||||
"0. c #255683",
|
|
||||||
"a. c #809CB7",
|
|
||||||
"b. c #CDD8E3",
|
|
||||||
"c. c #4F779B",
|
|
||||||
"d. c #EDF1F5",
|
|
||||||
"e. c #4B7399",
|
|
||||||
"f. c #235582",
|
|
||||||
"g. c #235482",
|
|
||||||
"h. c #819DB7",
|
|
||||||
"i. c #D2DCE5",
|
|
||||||
"j. c #4F769B",
|
|
||||||
"k. c #D7E0E8",
|
|
||||||
"l. c #7896B2",
|
|
||||||
"m. c #1B4E7D",
|
|
||||||
"n. c #225380",
|
|
||||||
"o. c #36628B",
|
|
||||||
"p. c #53799C",
|
|
||||||
"q. c #52789C",
|
|
||||||
"r. c #477095",
|
|
||||||
"s. c #2F5D87",
|
|
||||||
"t. c #6A8BA9",
|
|
||||||
"u. c #6F8FAD",
|
|
||||||
"v. c #688AA8",
|
|
||||||
"w. c #4F769A",
|
|
||||||
"x. c #235380",
|
|
||||||
"y. c #1A4D7B",
|
|
||||||
"z. c #21527E",
|
|
||||||
"A. c #20507D",
|
|
||||||
"B. c #1E4F7B",
|
|
||||||
"C. c #1D4D7A",
|
|
||||||
"D. c #1B4C78",
|
|
||||||
". . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ",
|
|
||||||
"+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ",
|
|
||||||
"@ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ ",
|
|
||||||
"# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # ",
|
|
||||||
"$ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ ",
|
|
||||||
"% % % % % % & * = = = = = = - ; > , ' ) % % % % % % % % % % % % ",
|
|
||||||
"! ! ! ! ! ! ~ { { { { { { { { { { { ] ^ / ( ! ! ! ! ! ! ! ! ! ! ",
|
|
||||||
"_ _ _ _ _ _ : { { { { { { { { { { { { { { < [ } _ _ _ _ _ _ _ _ ",
|
|
||||||
"| | | | | | 1 { { { { { { { { { { { { { { 2 { 3 4 | | | | | | | ",
|
|
||||||
"5 5 5 5 5 5 6 { { { { { { { { { { { { { { { 2 { 7 5 5 5 5 5 5 5 ",
|
|
||||||
"8 8 8 8 8 8 9 { { { { { { { { { { { { { { { { 2 0 5 8 8 8 8 8 8 ",
|
|
||||||
"a a a a a a b { { { { { c d e f g { { { { { { { { h i a a a a a ",
|
|
||||||
"j j j j j j k { { { { { l m n o p q r { { { { { { 0 s j j j j j ",
|
|
||||||
"t t t t t t u { { { { { v w t t t t x y { { { { { { z t t t t t ",
|
|
||||||
"A A A A A A B { { { { { C D A A A A A A { { { { { { E A A A A A ",
|
|
||||||
"F F F F F F G { { { { { l H F F F F F I J { { { { { K F F F F F ",
|
|
||||||
"L L L L L L M { { { { { l N L L L L L O P { { { { { Q L L L L L ",
|
|
||||||
"R R R R R R S { { { { { T U R R R R R V { { { { { { W R R R R R ",
|
|
||||||
"X X X X X X Y { { { { { Z ` X X X X ...{ { { { { { +.X X X X X ",
|
|
||||||
"@.@.@.@.@.@.#.{ { { { { $.%.&.*.=.-.;.{ { { { { { >.,.@.@.@.@.@.",
|
|
||||||
"'.'.'.'.'.'.).{ { { { { !.~.{.].^.{ { { { { { { { /.(.'.'.'.'.'.",
|
|
||||||
"_._._._._._.:.{ { { { { !.<.{ { { { { { { { { 2 [.}._._._._._._.",
|
|
||||||
"|.|.|.|.|.|.1.{ { { { { 2.3.{ { { { { { { { 2 { 4.|.|.|.|.|.|.|.",
|
|
||||||
"5.5.5.5.5.5.6.{ { { { { 2.7.{ { { { { { { 2 { 8.9.5.5.5.5.5.5.5.",
|
|
||||||
"0.0.0.0.0.0.a.{ { { { { b.c.{ { { { { 2 { d.e.f.0.0.0.0.0.0.0.0.",
|
|
||||||
"g.g.g.g.g.g.h.{ { { { { i.j.{ { { { { k.l.m.g.g.g.g.g.g.g.g.g.g.",
|
|
||||||
"n.n.n.n.n.n.o.p.q.q.q.q.r.s.t.u.v.w.x.y.n.n.n.n.n.n.n.n.n.n.n.n.",
|
|
||||||
"z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.z.",
|
|
||||||
"A.A.A.A.A.A.A.A.A.A.A.A.A.A.A.A.A.A.A.A.A.A.A.A.A.A.A.A.A.A.A.A.",
|
|
||||||
"B.B.B.B.B.B.B.B.B.B.B.B.B.B.B.B.B.B.B.B.B.B.B.B.B.B.B.B.B.B.B.B.",
|
|
||||||
"C.C.C.C.C.C.C.C.C.C.C.C.C.C.C.C.C.C.C.C.C.C.C.C.C.C.C.C.C.C.C.C.",
|
|
||||||
"D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D.D."};
|
|
|
@ -1,26 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
tmpdir=$(mktemp -d)
|
|
||||||
|
|
||||||
|
|
||||||
# Download source file
|
|
||||||
if [ -n "$1" ]; then
|
|
||||||
uscan_opts="--download-version=$1"
|
|
||||||
fi
|
|
||||||
#uscan --noconf --force-download --no-symlink --verbose --destdir=$tmpdir $uscan_opts
|
|
||||||
|
|
||||||
cd $tmpdir
|
|
||||||
|
|
||||||
# Other method to download (comment uscan if you use this)
|
|
||||||
wget http://www.dolibarr.org/files/stable/standard/dolibarr-3.5.4.tgz
|
|
||||||
|
|
||||||
# Rename file to add +dfsg
|
|
||||||
tgzfile=$(echo *.tgz)
|
|
||||||
version=$(echo "$tgzfile" | perl -pi -e 's/^dolibarr-//; s/\.tgz$//; s/_/./g; s/\+nmu1//; ')
|
|
||||||
|
|
||||||
cd - >/dev/null
|
|
||||||
|
|
||||||
mv $tmpdir/dolibarr-${version}.tgz ../
|
|
||||||
echo "File ../dolibarr-${version}.tgz is ready for git-import-orig"
|
|
||||||
|
|
||||||
rm -rf $tmpdir
|
|
|
@ -1,46 +0,0 @@
|
||||||
<?php
|
|
||||||
// File to force Dolibarr wizard installer choices.
|
|
||||||
//
|
|
||||||
// This file must be present into htdocs/install or /etc/dolibarr directory
|
|
||||||
// during install process to be used.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
|
|
||||||
$force_install_packager='deb';
|
|
||||||
$force_install_noedit=2;
|
|
||||||
$force_install_message='KeepDefaultValuesDeb';
|
|
||||||
#$force_install_main_data_root='/usr/share/dolibarr/documents';
|
|
||||||
$force_install_main_data_root='/var/lib/dolibarr/documents';
|
|
||||||
$force_install_type='mysqli';
|
|
||||||
$force_install_dbserver='localhost';
|
|
||||||
$force_install_port='3306';
|
|
||||||
$force_install_database='dolibarrdebian';
|
|
||||||
$force_install_createdatabase='1';
|
|
||||||
$force_install_databaselogin='dolibarrdebian';
|
|
||||||
$force_install_databasepass='';
|
|
||||||
$force_install_createuser='1';
|
|
||||||
$force_install_databaserootlogin='__SUPERUSERLOGIN__';
|
|
||||||
$force_install_databaserootpass='__SUPERUSERPASSWORD__';
|
|
||||||
$force_install_dolibarrlogin='admin';
|
|
||||||
$force_install_nophpinfo='1';
|
|
||||||
$force_install_lockinstall='444';
|
|
||||||
|
|
||||||
// Value to overwrite path to use shared libraries/fonts instead of embedded one.
|
|
||||||
// If we enable/disable libraries declaration during install, we must also check they are
|
|
||||||
// - not removed from package (see rm in rules file),
|
|
||||||
// - declared into dependencies (see Depends in control file)
|
|
||||||
//$force_dolibarr_lib_TCPDF_PATH='';
|
|
||||||
//$force_dolibarr_lib_FPDF_PATH='/usr/share/php/fpdf';
|
|
||||||
//$force_dolibarr_lib_FPDI_PATH='/usr/share/php/fpdi';
|
|
||||||
//$force_dolibarr_lib_ADODB_PATH='/usr/share/php/adodb';
|
|
||||||
//$force_dolibarr_lib_GEOIP_PATH='';
|
|
||||||
//$force_dolibarr_lib_NUSOAP_PATH='/usr/share/php/nusoap';
|
|
||||||
//$force_dolibarr_lib_ODTPHP_PATHTOPCLZIP='/usr/share/php/libphp-pclzip';
|
|
||||||
//$force_dolibarr_lib_PHPEXCEL_PATH=''; // Use '' or 'disabled'
|
|
||||||
//$force_dolibarr_js_CKEDITOR='/javascript/ckeditor'; // Use '/javascript/ckeditor' or 'disabled'
|
|
||||||
//$force_dolibarr_js_JQUERY='/javascript/jquery';
|
|
||||||
//$force_dolibarr_js_JQUERY_UI='/javascript/jquery-ui';
|
|
||||||
//$force_dolibarr_js_JQUERY_FLOT='/javascript/flot';
|
|
||||||
//$force_dolibarr_font_DOL_DEFAULT_TTF_BOLD='/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Bold.ttf';
|
|
||||||
|
|
||||||
?>
|
|
|
@ -1,22 +0,0 @@
|
||||||
# Alias for dolibarr directory
|
|
||||||
alias.url += (
|
|
||||||
"/dolibarr" => "/usr/share/dolibarr/htdocs",
|
|
||||||
)
|
|
||||||
|
|
||||||
# Disallow access to libraries
|
|
||||||
#$HTTP["url"] =~ "^/dolibarr/libraries" {
|
|
||||||
# url.access-deny = ( "" )
|
|
||||||
#}
|
|
||||||
|
|
||||||
# Limit access to setup script
|
|
||||||
#$HTTP["url"] =~ "^/dolibarr/setup" {
|
|
||||||
# auth.backend = "htpasswd"
|
|
||||||
# auth.backend.htpasswd.userfile = "/etc/dolibarr/htpasswd.setup"
|
|
||||||
# auth.require = (
|
|
||||||
# "/" => (
|
|
||||||
# "method" => "basic",
|
|
||||||
# "realm" => "Dolibarr Setup",
|
|
||||||
# "require" => "valid-user"
|
|
||||||
# )
|
|
||||||
# )
|
|
||||||
#}
|
|
|
@ -1 +0,0 @@
|
||||||
use-etc-dolibarr-conf.patch
|
|
|
@ -1,50 +0,0 @@
|
||||||
Description: Enable /etc/dolibarr/conf.php so that we use packaged libraries
|
|
||||||
Update some PHP include files to refer to /etc/dolibarr/conf.php
|
|
||||||
instead of the in-tree conf/conf.php.
|
|
||||||
.
|
|
||||||
/etc/dolibarr/conf.php configures Dolibarr to use packaged libraries
|
|
||||||
instead of the embedded ones.
|
|
||||||
Author: Laurent Destailleur <eldy@users.sourceforge.net>
|
|
||||||
Forwarded: not-needed
|
|
||||||
Last-Update: 2013-07-29
|
|
||||||
---
|
|
||||||
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
|
|
||||||
--- a/htdocs/filefunc.inc.php
|
|
||||||
+++ b/htdocs/filefunc.inc.php
|
|
||||||
@@ -63,8 +63,8 @@ $conffiletoshowshort = "conf.php";
|
|
||||||
$conffile = "conf/conf.php";
|
|
||||||
$conffiletoshow = "htdocs/conf/conf.php";
|
|
||||||
// For debian/redhat like systems
|
|
||||||
-//$conffile = "/etc/dolibarr/conf.php";
|
|
||||||
-//$conffiletoshow = "/etc/dolibarr/conf.php";
|
|
||||||
+$conffile = "/etc/dolibarr/conf.php";
|
|
||||||
+$conffiletoshow = "/etc/dolibarr/conf.php";
|
|
||||||
|
|
||||||
|
|
||||||
// Include configuration
|
|
||||||
--- a/htdocs/install/inc.php
|
|
||||||
+++ b/htdocs/install/inc.php
|
|
||||||
@@ -73,8 +73,8 @@ $conffiletoshowshort = "conf.php";
|
|
||||||
$conffile = "../conf/conf.php";
|
|
||||||
$conffiletoshow = "htdocs/conf/conf.php";
|
|
||||||
// For debian/redhat like systems
|
|
||||||
-//$conffile = "/etc/dolibarr/conf.php";
|
|
||||||
-//$conffiletoshow = "/etc/dolibarr/conf.php";
|
|
||||||
+$conffile = "/etc/dolibarr/conf.php";
|
|
||||||
+$conffiletoshow = "/etc/dolibarr/conf.php";
|
|
||||||
|
|
||||||
|
|
||||||
if (! defined('DONOTLOADCONF') && file_exists($conffile))
|
|
||||||
--- a/htdocs/support/inc.php
|
|
||||||
+++ b/htdocs/support/inc.php
|
|
||||||
@@ -69,8 +69,8 @@ $conffiletoshowshort = "conf.php";
|
|
||||||
$conffile = "../conf/conf.php";
|
|
||||||
$conffiletoshow = "htdocs/conf/conf.php";
|
|
||||||
// For debian/redhat like systems
|
|
||||||
-//$conffile = "/etc/dolibarr/conf.php";
|
|
||||||
-//$conffiletoshow = "/etc/dolibarr/conf.php";
|
|
||||||
+$conffile = "/etc/dolibarr/conf.php";
|
|
||||||
+$conffiletoshow = "/etc/dolibarr/conf.php";
|
|
||||||
|
|
||||||
|
|
||||||
if (! defined('DONOTLOADCONF') && file_exists($conffile))
|
|
|
@ -1 +0,0 @@
|
||||||
[type: gettext/rfc822deb] dolibarr.templates
|
|
|
@ -1,62 +0,0 @@
|
||||||
#
|
|
||||||
# Translators, if you are not familiar with the PO format, gettext
|
|
||||||
# documentation is worth reading, especially sections dedicated to
|
|
||||||
# this format, e.g. by running:
|
|
||||||
# info -n '(gettext)PO Files'
|
|
||||||
# info -n '(gettext)Header Entry'
|
|
||||||
#
|
|
||||||
# Some information specific to po-debconf are available at
|
|
||||||
# /usr/share/doc/po-debconf/README-trans
|
|
||||||
# or http://www.debian.org/intl/l10n/po-debconf/README-trans
|
|
||||||
#
|
|
||||||
# Developers do not need to manually edit POT or PO files.
|
|
||||||
#
|
|
||||||
msgid ""
|
|
||||||
msgstr ""
|
|
||||||
"Project-Id-Version: 1.0\n"
|
|
||||||
"Report-Msgid-Bugs-To: dolibarr@packages.debian.org\n"
|
|
||||||
"POT-Creation-Date: 2013-04-23 12:16+0200\n"
|
|
||||||
"PO-Revision-Date: 2011-07-29 22:45+0100\n"
|
|
||||||
"Last-Translator: Laurent Destailleur (eldy) <eldy@users.sourceforge.net>\n"
|
|
||||||
"Language-Team: Laurent Destailleur (eldy) <eldy@users.sourceforge.net>\n"
|
|
||||||
"Language: \n"
|
|
||||||
"MIME-Version: 1.0\n"
|
|
||||||
"Content-Type: text/plain; charset=utf-8\n"
|
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
|
||||||
"Project-Id: dolibarr\n"
|
|
||||||
|
|
||||||
#. Type: multiselect
|
|
||||||
#. Description
|
|
||||||
#: ../dolibarr.templates:1001
|
|
||||||
msgid "Web server to reconfigure automatically:"
|
|
||||||
msgstr "Seveur web à reconfigurer automatiquement:"
|
|
||||||
|
|
||||||
#. Type: multiselect
|
|
||||||
#. Description
|
|
||||||
#: ../dolibarr.templates:1001
|
|
||||||
msgid ""
|
|
||||||
"Please choose the web server that should be automatically configured to run "
|
|
||||||
"dolibarr."
|
|
||||||
msgstr ""
|
|
||||||
"Selectionnez le serveur web à configurer automatiquement pour utiliser "
|
|
||||||
"dolibarr."
|
|
||||||
|
|
||||||
#
|
|
||||||
#. Type: boolean
|
|
||||||
#. Description
|
|
||||||
#: ../dolibarr.templates:2001
|
|
||||||
msgid "Delete database and uploaded files ?"
|
|
||||||
msgstr "Effacer la base de donnée et les fichiers uploadés ?"
|
|
||||||
|
|
||||||
#
|
|
||||||
#. Type: boolean
|
|
||||||
#. Description
|
|
||||||
#: ../dolibarr.templates:2001
|
|
||||||
msgid ""
|
|
||||||
"Answer if you want to removed the Dolibarr MySQL database and all other "
|
|
||||||
"datas (datas related to this question are the Dolibarr DBMS account, all "
|
|
||||||
"Dolibarr tables, and all uploaded files)."
|
|
||||||
msgstr ""
|
|
||||||
"Indiquez si vous voulez supprimer la base Dolibarr et toutes ces données "
|
|
||||||
"(les données en question ici sont les comptes de la base, les tables et tous "
|
|
||||||
"les fichiers téléchargés)."
|
|
|
@ -1,47 +0,0 @@
|
||||||
# SOME DESCRIPTIVE TITLE.
|
|
||||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
|
||||||
# This file is distributed under the same license as the PACKAGE package.
|
|
||||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
|
||||||
#
|
|
||||||
#, fuzzy
|
|
||||||
msgid ""
|
|
||||||
msgstr ""
|
|
||||||
"Project-Id-Version: dolibarr\n"
|
|
||||||
"Report-Msgid-Bugs-To: dolibarr@packages.debian.org\n"
|
|
||||||
"POT-Creation-Date: 2013-04-23 12:16+0200\n"
|
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
|
||||||
"Language: \n"
|
|
||||||
"MIME-Version: 1.0\n"
|
|
||||||
"Content-Type: text/plain; charset=CHARSET\n"
|
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
|
||||||
|
|
||||||
#. Type: multiselect
|
|
||||||
#. Description
|
|
||||||
#: ../dolibarr.templates:1001
|
|
||||||
msgid "Web server to reconfigure automatically:"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. Type: multiselect
|
|
||||||
#. Description
|
|
||||||
#: ../dolibarr.templates:1001
|
|
||||||
msgid ""
|
|
||||||
"Please choose the web server that should be automatically configured to run "
|
|
||||||
"dolibarr."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. Type: boolean
|
|
||||||
#. Description
|
|
||||||
#: ../dolibarr.templates:2001
|
|
||||||
msgid "Delete database and uploaded files ?"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#. Type: boolean
|
|
||||||
#. Description
|
|
||||||
#: ../dolibarr.templates:2001
|
|
||||||
msgid ""
|
|
||||||
"Answer if you want to removed the Dolibarr MySQL database and all other "
|
|
||||||
"datas (datas related to this question are the Dolibarr DBMS account, all "
|
|
||||||
"Dolibarr tables, and all uploaded files)."
|
|
||||||
msgstr ""
|
|
|
@ -1,121 +0,0 @@
|
||||||
#!/usr/bin/make -f
|
|
||||||
|
|
||||||
# Uncomment this to turn on verbose mode.
|
|
||||||
export DH_VERBOSE=1
|
|
||||||
export DH_OPTIONS=-v
|
|
||||||
|
|
||||||
#export DH_COMPAT=7 # This is the debhelper compatability version to use, now defined into compat file
|
|
||||||
|
|
||||||
|
|
||||||
%:
|
|
||||||
dh $@
|
|
||||||
|
|
||||||
override_dh_auto_clean:
|
|
||||||
# Do nothing. Added to disable launchpad to use bugged dh_auto_clean search for ant
|
|
||||||
|
|
||||||
override_dh_auto_build:
|
|
||||||
# Do nothing. Added to disable launchpad to use bugged dh_auto_build search for ant
|
|
||||||
|
|
||||||
override_dh_install:
|
|
||||||
dh_install
|
|
||||||
# Delete files
|
|
||||||
rm -f .buildpath
|
|
||||||
rm -fr .cache
|
|
||||||
rm -fr .git
|
|
||||||
rm -f .gitmodules
|
|
||||||
rm -f .gitignore
|
|
||||||
rm -fr .project
|
|
||||||
rm -fr .settings
|
|
||||||
rm -f build.xml
|
|
||||||
rm -f quickbuild.xml
|
|
||||||
rm -f pom.xml
|
|
||||||
|
|
||||||
rm -f htdocs/install/mssql/README
|
|
||||||
rm -f htdocs/install/mysql/README
|
|
||||||
rm -f htdocs/install/pgsql/README
|
|
||||||
|
|
||||||
rm -fr dev/codesniffer
|
|
||||||
rm -fr dev/codetemplates
|
|
||||||
rm -fr dev/dbmodel
|
|
||||||
rm -fr dev/initdata
|
|
||||||
rm -fr dev/iso-normes
|
|
||||||
rm -fr dev/ldap
|
|
||||||
rm -fr dev/licence
|
|
||||||
rm -fr dev/mail
|
|
||||||
rm -fr dev/phpcheckstyle
|
|
||||||
rm -fr dev/phpunit
|
|
||||||
rm -fr dev/security
|
|
||||||
rm -fr dev/spec
|
|
||||||
rm -fr dev/test
|
|
||||||
rm -fr dev/uml
|
|
||||||
rm -fr dev/xdebug
|
|
||||||
rm -f dev/dolibarr_changes.txt
|
|
||||||
rm -f dev/README
|
|
||||||
|
|
||||||
rm -f doc/images/dolibarr_screenshot2.png
|
|
||||||
rm -f doc/images/dolibarr_screenshot3.png
|
|
||||||
rm -f doc/images/dolibarr_screenshot4.png
|
|
||||||
rm -f doc/images/dolibarr_screenshot5.png
|
|
||||||
rm -f doc/images/dolibarr_screenshot6.png
|
|
||||||
rm -f doc/images/dolibarr_screenshot7.png
|
|
||||||
rm -f doc/images/dolibarr_screenshot8.png
|
|
||||||
rm -f doc/images/dolibarr_screenshot9.png
|
|
||||||
rm -f doc/images/dolibarr_screenshot10.png
|
|
||||||
rm -f doc/images/dolibarr_screenshot11.png
|
|
||||||
rm -f doc/images/dolibarr_screenshot12.png
|
|
||||||
|
|
||||||
rm -fr test
|
|
||||||
|
|
||||||
rm -fr build/aps
|
|
||||||
rm -fr build/dmg
|
|
||||||
rm -fr build/doap
|
|
||||||
rm -fr build/exe
|
|
||||||
rm -fr build/launchpad
|
|
||||||
rm -fr build/live
|
|
||||||
rm -fr build/patch
|
|
||||||
rm -fr build/perl
|
|
||||||
rm -fr build/rpm
|
|
||||||
rm -fr build/zip
|
|
||||||
|
|
||||||
# clean from all PHP embedded libraries (we use package dependencies instead)
|
|
||||||
# rm -fr htdocs/includes/adodbtime
|
|
||||||
# rm -fr htdocs/includes/fpdfi
|
|
||||||
# rm -fr htdocs/includes/geoip
|
|
||||||
# rm -fr htdocs/includes/nusoap
|
|
||||||
# rm -fr htdocs/includes/odtphp/zip/pclzip
|
|
||||||
# clean from all JS-CSS embedded libraries (we use package dependencies instead)
|
|
||||||
# rm -fr htdocs/includes/ckeditor
|
|
||||||
# rm -fr htdocs/includes/jquery/js
|
|
||||||
# rm -fr htdocs/includes/jquery/css
|
|
||||||
# rm -fr htdocs/includes/jquery/plugins/flot
|
|
||||||
# clean from all embedded fonts (we use package dependencies instead)
|
|
||||||
# rm -fr htdocs/includes/fonts
|
|
||||||
|
|
||||||
# clean from useless files
|
|
||||||
rm -fr htdocs/includes/jquery/plugins/multiselect
|
|
||||||
rm -fr htdocs/includes/phpexcel/PHPExcel/Shared/PDF
|
|
||||||
rm -fr htdocs/includes/phpexcel/PHPExcel/Shared/PCLZip
|
|
||||||
rm -fr htdocs/includes/tcpdf/fonts/dejavu-fonts-ttf-2.33
|
|
||||||
rm -fr htdocs/includes/tcpdf/fonts/freefont-20100919
|
|
||||||
rm -fr htdocs/includes/tcpdf/fonts/utils
|
|
||||||
# clean from files to avoid warning of missing dependencies
|
|
||||||
rm -fr htdocs/includes/jquery/plugins/jqueryFileTree/connectors/jqueryFileTree.py
|
|
||||||
|
|
||||||
# Licence files are already included into copyright file.
|
|
||||||
rm -f htdocs/includes/jquery/plugins/flot/LICENSE.txt
|
|
||||||
rm -f htdocs/includes/phpexcel/license.txt
|
|
||||||
rm -f htdocs/includes/tcpdf/LICENSE.TXT
|
|
||||||
|
|
||||||
# Drop unwanted executable permissions
|
|
||||||
find debian/dolibarr/usr/share/dolibarr/htdocs -type f -print0 | \
|
|
||||||
xargs -0 chmod 644
|
|
||||||
# Add missing executable permissions
|
|
||||||
find debian/dolibarr/usr/share/dolibarr/scripts -type f -name '*.php' -print0 | \
|
|
||||||
xargs -0 chmod 755
|
|
||||||
|
|
||||||
override_dh_fixperms:
|
|
||||||
dh_fixperms
|
|
||||||
# Give rights to the webserver on the upload directory
|
|
||||||
chown www-data:www-data debian/dolibarr/var/lib/dolibarr/documents
|
|
||||||
chmod 2775 debian/dolibarr/var/lib/dolibarr/documents
|
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
3.0 (quilt)
|
|
|
@ -1,5 +0,0 @@
|
||||||
# watch control file for uscan
|
|
||||||
version=3
|
|
||||||
|
|
||||||
#http://sf.net/dolibarr/dolibarr-(.+)\.tgz
|
|
||||||
http://www.dolibarr.org/files/stable/standard/dolibarr-(.+)\.tgz
|
|
|
@ -1,7 +0,0 @@
|
||||||
README (English)
|
|
||||||
##################################################
|
|
||||||
DOLIMAMP Package tools
|
|
||||||
##################################################
|
|
||||||
|
|
||||||
This directory contains files and docs used to build
|
|
||||||
a DoliMamp package for Mac OS X.
|
|
|
@ -1,16 +0,0 @@
|
||||||
<?php
|
|
||||||
$force_install_message='KeepDefaultValuesMamp';
|
|
||||||
$force_install_main_data_root='/Applications/MAMP/dolibarr_documents';
|
|
||||||
$force_install_type='mysqli';
|
|
||||||
$force_install_dbserver='localhost';
|
|
||||||
$force_install_port='8889';
|
|
||||||
$force_install_database='dolibarr';
|
|
||||||
$force_install_createdatabase='1';
|
|
||||||
$force_install_databaselogin='dolibarrmysql';
|
|
||||||
$force_install_databasepass='root';
|
|
||||||
$force_install_createuser='1';
|
|
||||||
$force_install_databaserootlogin='root';
|
|
||||||
$force_install_databaserootpass='root';
|
|
||||||
$force_install_dolibarrlogin='admin';
|
|
||||||
$force_install_nophpinfo='1';
|
|
||||||
$force_install_lockinstall='444';
|
|
|
@ -1,13 +0,0 @@
|
||||||
README (English)
|
|
||||||
##################################################
|
|
||||||
Building DOAP files
|
|
||||||
##################################################
|
|
||||||
|
|
||||||
This directory contains files and docs used to build
|
|
||||||
a DOAP descriptor file for Dolibarr.
|
|
||||||
DOAP files are files to describe a software to submit
|
|
||||||
easily its description, in one way, to several software
|
|
||||||
directories.
|
|
||||||
|
|
||||||
Note: a DOAP descriptor file can be generated by sourceforge:
|
|
||||||
http://sourceforge.net/api/project/name/dolibarr/doap
|
|
|
@ -1,55 +0,0 @@
|
||||||
#!/usr/bin/perl
|
|
||||||
#--------------------------------------------------------------------
|
|
||||||
# Lance la generation de la doc dev doxygen
|
|
||||||
#--------------------------------------------------------------------
|
|
||||||
|
|
||||||
# Detecte repertoire du script
|
|
||||||
($DIR=$0) =~ s/([^\/\\]+)$//;
|
|
||||||
$DIR||='.';
|
|
||||||
$DIR =~ s/([^\/\\])[\\\/]+$/$1/;
|
|
||||||
|
|
||||||
$OPTIONS="";
|
|
||||||
#$OPTIONS="-d Preprocessor";
|
|
||||||
|
|
||||||
$CONFFILE="dolibarr-doxygen.doxyfile";
|
|
||||||
|
|
||||||
use Cwd;
|
|
||||||
my $dir = getcwd;
|
|
||||||
|
|
||||||
print "Current dir is: $dir\n";
|
|
||||||
print "Running dir for doxygen must be: $DIR\n";
|
|
||||||
|
|
||||||
if (! -s $CONFFILE)
|
|
||||||
{
|
|
||||||
print "Error: current directory for building Dolibarr doxygen documentation is not correct.\n";
|
|
||||||
print "\n";
|
|
||||||
print "Change your current directory then, to launch the script, run:\n";
|
|
||||||
print '> perl .\dolibarr-doxygen-build.pl (on Windows)'."\n";
|
|
||||||
print '> perl ../dolibarr-doxygen-build.pl (on Linux or BSD)'."\n";
|
|
||||||
sleep 4;
|
|
||||||
exit 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
$SOURCE="../..";
|
|
||||||
|
|
||||||
# Get version $MAJOR, $MINOR and $BUILD
|
|
||||||
$result = open( IN, "< " . $SOURCE . "/htdocs/filefunc.inc.php" );
|
|
||||||
if ( !$result ) { die "Error: Can't open descriptor file " . $SOURCE . "/htdocs/filefunc.inc.php\n"; }
|
|
||||||
while (<IN>) {
|
|
||||||
if ( $_ =~ /define\('DOL_VERSION','([\d\.a-z\-]+)'\)/ ) { $PROJVERSION = $1; break; }
|
|
||||||
}
|
|
||||||
close IN;
|
|
||||||
($MAJOR,$MINOR,$BUILD)=split(/\./,$PROJVERSION,3);
|
|
||||||
if ($MINOR eq '') { die "Error can't detect version into ".$SOURCE . "/htdocs/filefunc.inc.php"; }
|
|
||||||
|
|
||||||
|
|
||||||
$version=$MAJOR.".".$MINOR.".".$BUILD;
|
|
||||||
|
|
||||||
|
|
||||||
print "Running doxygen for version ".$version.", please wait...\n";
|
|
||||||
print "cat $CONFFILE | sed -e 's/x\.y\.z/".$version."/' | doxygen $OPTIONS - 2>&1\n";
|
|
||||||
$result=`cat $CONFFILE | sed -e 's/x\.y\.z/$version/' | doxygen $OPTIONS - 2>&1`;
|
|
||||||
|
|
||||||
print $result;
|
|
||||||
|
|
||||||
0;
|
|
|
@ -1,88 +0,0 @@
|
||||||
#!/usr/bin/perl
|
|
||||||
#--------------------------------------------------------------------
|
|
||||||
# \brief This script is a preprocessor for PHP files to be used
|
|
||||||
# on PHP source files before running Doxygen.
|
|
||||||
# \author Laurent Destailleur
|
|
||||||
#--------------------------------------------------------------------
|
|
||||||
|
|
||||||
# Usage: dolibarr-doxygen-filter.pl pathtofilefromdolibarrroot
|
|
||||||
|
|
||||||
$file=$ARGV[0];
|
|
||||||
if (! $file)
|
|
||||||
{
|
|
||||||
print "Usage: dolibarr-doxygen-filter.pl pathtofilefromdolibarrroot\n";
|
|
||||||
exit;
|
|
||||||
}
|
|
||||||
|
|
||||||
open(FILE,$file) || die "Failed to open file $file";
|
|
||||||
while (<FILE>)
|
|
||||||
{
|
|
||||||
if ($_ =~ /\\version\s/i)
|
|
||||||
{
|
|
||||||
$_ =~ s/\$Id://i;
|
|
||||||
$_ =~ s/(Exp|)\s\$$//i;
|
|
||||||
$_ =~ s/(\\version\s+)[^\s]+\s/$1/i;
|
|
||||||
$_ =~ s/(\w)\s(\w)/$1_$2/g;
|
|
||||||
}
|
|
||||||
$_ =~ s/exit\s*;/exit(0);/i;
|
|
||||||
$i=0;
|
|
||||||
$len=length($_);
|
|
||||||
$s="";
|
|
||||||
$insidequote=0;
|
|
||||||
$insidedquote=0;
|
|
||||||
$ignore="";
|
|
||||||
while ($i < $len)
|
|
||||||
{
|
|
||||||
$c=substr($_,$i,1);
|
|
||||||
if ($c eq "\\")
|
|
||||||
{
|
|
||||||
if ($insidequote) { $ignore="'"; };
|
|
||||||
if ($insidedquote) { $ignore="\""; };
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
if ($c eq "'")
|
|
||||||
{
|
|
||||||
if (! $insidedquote)
|
|
||||||
{
|
|
||||||
$c="\"";
|
|
||||||
#print "X".$ignore;
|
|
||||||
if ($ignore ne "'")
|
|
||||||
{
|
|
||||||
#print "Z".$ignore;
|
|
||||||
$insidequote++;
|
|
||||||
if ($insidequote == 2)
|
|
||||||
{
|
|
||||||
$insidequote=0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#print "X".$insidequote;
|
|
||||||
}
|
|
||||||
elsif ($c eq "\"")
|
|
||||||
{
|
|
||||||
#print "Y".$insidequote;
|
|
||||||
if ($insidequote)
|
|
||||||
{
|
|
||||||
$c="'";
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
if ($ignore ne "\"")
|
|
||||||
{
|
|
||||||
$insidedquote++;
|
|
||||||
if ($insidedquote == 2)
|
|
||||||
{
|
|
||||||
$insidedquote=0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
$ignore="";
|
|
||||||
}
|
|
||||||
$s.=$c;
|
|
||||||
$i++;
|
|
||||||
}
|
|
||||||
print $s;
|
|
||||||
}
|
|
||||||
close(FILE);
|
|
|
@ -1,21 +0,0 @@
|
||||||
#!/usr/bin/perl
|
|
||||||
#--------------------------------------------------------------------
|
|
||||||
# Script to get version of a source file
|
|
||||||
# Does not work with cygwin cvs command on Windows.
|
|
||||||
#
|
|
||||||
#--------------------------------------------------------------------
|
|
||||||
|
|
||||||
# Usage: dolibarr-doxygen-getversion.pl pathtofilefromdolibarrroot
|
|
||||||
|
|
||||||
$file=$ARGV[0];
|
|
||||||
if (! $file)
|
|
||||||
{
|
|
||||||
print "Usage: dolibarr-doxygen-getversion.pl pathtofilefromdolibarrroot\n";
|
|
||||||
exit;
|
|
||||||
}
|
|
||||||
|
|
||||||
$commande='cvs status "'.$file.'" | sed -n \'s/^[ \]*Working revision:[ \t]*\([0-9][0-9\.]*\).*/\1/p\'';
|
|
||||||
#print $commande;
|
|
||||||
$result=`$commande 2>&1`;
|
|
||||||
|
|
||||||
print $result;
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,45 +0,0 @@
|
||||||
<!--
|
|
||||||
File added into doxygen generated documentation
|
|
||||||
-->
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Google analytics -->
|
|
||||||
<script type="text/javascript">
|
|
||||||
|
|
||||||
var _gaq = _gaq || [];
|
|
||||||
_gaq.push(['_setAccount', 'UA-9049390-1']);
|
|
||||||
_gaq.push(['_trackPageview']);
|
|
||||||
|
|
||||||
(function() {
|
|
||||||
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
|
|
||||||
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
|
|
||||||
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
|
|
||||||
})();
|
|
||||||
|
|
||||||
</script>
|
|
||||||
<!-- End google analytics -->
|
|
||||||
|
|
||||||
|
|
||||||
<hr class="footer" />
|
|
||||||
<address class="footer"><small>Generated on $datetime
|
|
||||||
for <a href="http://www.dolibarr.org">$projectname</a> by Doxygen $doxygenversion </small></address>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Google AdSense -->
|
|
||||||
<div class="center">
|
|
||||||
<script type="text/javascript"><!--
|
|
||||||
google_ad_client = "pub-1071905880519467";
|
|
||||||
/* PUBBANDEAUDOLIBARR */
|
|
||||||
google_ad_slot = "1421205532";
|
|
||||||
google_ad_width = 468;
|
|
||||||
google_ad_height = 60;
|
|
||||||
//-->
|
|
||||||
</script>
|
|
||||||
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
|
|
||||||
</div>
|
|
||||||
<!-- End google adsense -->
|
|
||||||
<br>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
|
@ -1,63 +0,0 @@
|
||||||
<!--
|
|
||||||
File added into doxygen generated documentation
|
|
||||||
-->
|
|
||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
||||||
<head>
|
|
||||||
<title>$title</title>
|
|
||||||
<!-- from dolibarr.org -->
|
|
||||||
<meta http-equiv="Content-Type" content="text/html" charset=utf-8 />
|
|
||||||
<meta name="verify-v1"
|
|
||||||
content="5uTEtcSaRHlZVnb3L4x4QrpRzdw3zMZ51+mJxf/4Cd8=" />
|
|
||||||
<meta name="verify-v1"
|
|
||||||
content="ygCOli7T1nnmmIz2ikasGV2Y+1DLmLcsblrDp+tSo/Q=" />
|
|
||||||
<link href="tabs.css" rel="stylesheet" type="text/css" />
|
|
||||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
||||||
<!-- End from dolibarr.org -->
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<div id="top">
|
|
||||||
|
|
||||||
<div class="topmaincol">
|
|
||||||
<div class="divpath">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="logodol">
|
|
||||||
<div class="center">
|
|
||||||
<table width="100%">
|
|
||||||
<tr>
|
|
||||||
<td><div id="projectname">$projectname</div> - <span id="projectnumber">$projectnumber</span></td>
|
|
||||||
<td align="right"><!-- banner start -->
|
|
||||||
<table cellpadding="0" cellspacing="0" class="moduletablemybanner">
|
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
<div class="bannergroupmybanner">
|
|
||||||
|
|
||||||
<div class="banneritemmybanner">
|
|
||||||
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
|
|
||||||
<!-- BAN_728x90_DOXYGEN -->
|
|
||||||
<ins class="adsbygoogle"
|
|
||||||
style="display:inline-block;width:728px;height:90px"
|
|
||||||
data-ad-client="ca-pub-1465985984238664"
|
|
||||||
data-ad-slot="4297390217"></ins>
|
|
||||||
<script>
|
|
||||||
(adsbygoogle = window.adsbygoogle || []).push({});
|
|
||||||
</script>
|
|
||||||
<div class="clr"></div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
<!-- banner end --></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- End doxygen_header.html -->
|
|
||||||
|
|
||||||
|
|
|
@ -1,99 +0,0 @@
|
||||||
#!/usr/bin/php
|
|
||||||
<?php
|
|
||||||
/* Copyright (C) 2015 Laurent Destailleur <eldy@users.sourceforge.net>
|
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or modify
|
|
||||||
* it under the terms of the GNU General Public License as published by
|
|
||||||
* the Free Software Foundation; either version 3 of the License, or
|
|
||||||
* (at your option) any later version.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU General Public License for more details.
|
|
||||||
*
|
|
||||||
* You should have received a copy of the GNU General Public License
|
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* \file build/generate_filecheck_xml.php
|
|
||||||
* \ingroup dev
|
|
||||||
* \brief This script create a xml checksum file
|
|
||||||
*/
|
|
||||||
|
|
||||||
$sapi_type = php_sapi_name();
|
|
||||||
$script_file = basename(__FILE__);
|
|
||||||
$path=dirname(__FILE__).'/';
|
|
||||||
|
|
||||||
// Test if batch mode
|
|
||||||
if (substr($sapi_type, 0, 3) == 'cgi') {
|
|
||||||
echo "Error: You are using PHP for CGI. To execute ".$script_file." from command line, you must use PHP for CLI mode.\n";
|
|
||||||
exit;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// Main
|
|
||||||
parse_str($argv[1]);
|
|
||||||
//$outputfile=dirname(__FILE__).'/../htdocs/install/filelist-'.$release.'.xml';
|
|
||||||
$outputfile=dirname(__FILE__).'/../htdocs/install/filelist.xml';
|
|
||||||
$fp = fopen($outputfile,'w');
|
|
||||||
fputs($fp, '<?xml version="1.0" encoding="UTF-8" ?>'."\n");
|
|
||||||
fputs($fp, '<checksum_list version="'.$release.'">'."\n");
|
|
||||||
|
|
||||||
fputs($fp, '<dolibarr_htdocs_dir>'."\n");
|
|
||||||
|
|
||||||
$dir_iterator1 = new RecursiveDirectoryIterator(dirname(__FILE__).'/../htdocs/');
|
|
||||||
$iterator1 = new RecursiveIteratorIterator($dir_iterator1);
|
|
||||||
// need to ignore document custom etc
|
|
||||||
$files = new RegexIterator($iterator1, '#^(?:[A-Z]:)?(?:/(?!(?:custom|documents|conf|install|nltechno))[^/]+)+/[^/]+\.(?:php|css|html|js|json|tpl|jpg|png|gif|sql|lang)$#i');
|
|
||||||
$dir='';
|
|
||||||
$needtoclose=0;
|
|
||||||
foreach ($files as $file) {
|
|
||||||
$newdir = str_replace(dirname(__FILE__).'/../htdocs', '', dirname($file));
|
|
||||||
if ($newdir!=$dir) {
|
|
||||||
if ($needtoclose)
|
|
||||||
fputs($fp, '</dir>'."\n");
|
|
||||||
fputs($fp, '<dir name="'.$newdir.'" >'."\n");
|
|
||||||
$dir = $newdir;
|
|
||||||
$needtoclose=1;
|
|
||||||
}
|
|
||||||
if (filetype($file)=="file") {
|
|
||||||
fputs($fp, '<md5file name="'.basename($file).'">'.md5_file($file).'</md5file>'."\n");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
fputs($fp, '</dir>'."\n");
|
|
||||||
fputs($fp, '</dolibarr_htdocs_dir>'."\n");
|
|
||||||
|
|
||||||
|
|
||||||
fputs($fp, '<dolibarr_script_dir version="'.$release.'">'."\n");
|
|
||||||
|
|
||||||
$dir_iterator2 = new RecursiveDirectoryIterator(dirname(__FILE__).'/../scripts/');
|
|
||||||
$iterator2 = new RecursiveIteratorIterator($dir_iterator2);
|
|
||||||
// need to ignore document custom etc
|
|
||||||
$files = new RegexIterator($iterator2, '#^(?:[A-Z]:)?(?:/(?!(?:custom|documents|conf|install|nltechno))[^/]+)+/[^/]+\.(?:php|css|html|js|json|tpl|jpg|png|gif|sql|lang)$#i');
|
|
||||||
$dir='';
|
|
||||||
$needtoclose=0;
|
|
||||||
foreach ($files as $file) {
|
|
||||||
$newdir = str_replace(dirname(__FILE__).'/../scripts', '', dirname($file));
|
|
||||||
if ($newdir!=$dir) {
|
|
||||||
if ($needtoclose)
|
|
||||||
fputs($fp, '</dir>'."\n");
|
|
||||||
fputs($fp, '<dir name="'.$newdir.'" >'."\n");
|
|
||||||
$dir = $newdir;
|
|
||||||
$needtoclose=1;
|
|
||||||
}
|
|
||||||
if (filetype($file)=="file") {
|
|
||||||
fputs($fp, '<md5file name="'.basename($file).'">'.md5_file($file).'</md5file>'."\n");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
fputs($fp, '</dir>'."\n");
|
|
||||||
fputs($fp, '</dolibarr_script_dir>'."\n");
|
|
||||||
|
|
||||||
|
|
||||||
fputs($fp, '</checksum_list>'."\n");
|
|
||||||
fclose($fp);
|
|
||||||
|
|
||||||
print "File ".$outputfile." generated\n";
|
|
||||||
|
|
||||||
exit(0);
|
|
|
@ -1,163 +0,0 @@
|
||||||
README (English)
|
|
||||||
##################################################
|
|
||||||
Launchpad Package tools
|
|
||||||
##################################################
|
|
||||||
|
|
||||||
This directory contains files to explain how to publish
|
|
||||||
a package onto LaunchPad
|
|
||||||
|
|
||||||
|
|
||||||
# This is standard command to work on RPM packaging:
|
|
||||||
#
|
|
||||||
# To install all packagers tools:
|
|
||||||
# sudo apt-get install bzr-builder bzr dpatch pbuilder debootstrap devscripts
|
|
||||||
|
|
||||||
|
|
||||||
# Init local working env
|
|
||||||
#----------------------------------
|
|
||||||
|
|
||||||
- Create account on launchpad.org
|
|
||||||
- Create Project
|
|
||||||
- Link project to official SCM server
|
|
||||||
- Upload SSH public key onto account
|
|
||||||
- Upload you GPG sign key
|
|
||||||
- Run from command line:
|
|
||||||
bzr launchpad-login yourlogin
|
|
||||||
bzr whoami "Your Name <email@email.com>"
|
|
||||||
bzr whoami
|
|
||||||
- Edit file ~/.bashrc to add
|
|
||||||
DEBFULLNAME="<Your name>"
|
|
||||||
DEBEMAIL="<Your email address>"
|
|
||||||
- Create a Bazaar directory
|
|
||||||
mkdir bzr
|
|
||||||
|
|
||||||
If you want to build/test package locally:
|
|
||||||
- Create a file ~/.pbuilderrc with content
|
|
||||||
COMPONENTS="main universe multiverse restricted"
|
|
||||||
- Create chroot ubuntu env
|
|
||||||
sudo pbuilder create [--distribution sid|squeeze]
|
|
||||||
|
|
||||||
|
|
||||||
# Push/declare Dolibarr sources to Launchpad
|
|
||||||
#----------------------------------
|
|
||||||
- From Launchpad project (https://launchpad.net/dolibarr), register a series:
|
|
||||||
Call it 'trunk' or 'beta' or 'stable'
|
|
||||||
Use branch (dev):
|
|
||||||
~eldy/dolibarr/develop
|
|
||||||
~eldy/dolibarr/beta
|
|
||||||
~eldy/dolibarr/stable
|
|
||||||
or
|
|
||||||
Use URL pattern (beta or stable):
|
|
||||||
For stable: http://www.dolibarr.org/files/lastbuild/package_debian-ubuntu/dolibarr_x.z.*.tar.gz
|
|
||||||
For beta: http://www.dolibarr.org/files/stable/package_debian-ubuntu/dolibarr_x.y.*.tar.gz
|
|
||||||
|
|
||||||
- For Dev, you can also add link serie to GIT HEAD.
|
|
||||||
- For beta and stable, you can init from command line
|
|
||||||
cd bzr/dolibarr-[beta|stable]
|
|
||||||
bzr init
|
|
||||||
bzr add
|
|
||||||
bzr commit -m "Init"
|
|
||||||
bzr push lp:~yourlogin/dolibarr/[beta|stable]
|
|
||||||
|
|
||||||
- List of series are visible here: https://launchpad.net/dolibarr/+series
|
|
||||||
|
|
||||||
# To update Dolibarr into launchpad (when remote repository for sources already exists)
|
|
||||||
#----------------------------------
|
|
||||||
# create local repository
|
|
||||||
cd bzr
|
|
||||||
bzr branch lp:~yourlogin/dolibarr/[develop|beta|stable] dolibarr-[dev|beta|stable]
|
|
||||||
cd dolibarr-[dev|beta|stable]
|
|
||||||
# Update
|
|
||||||
bzr update
|
|
||||||
-- Update files here. Remove all and overwrite --
|
|
||||||
bzr status
|
|
||||||
bzr add *
|
|
||||||
bzr commit -m "Description of change"
|
|
||||||
bzr push
|
|
||||||
|
|
||||||
# Init debian dir repository into launchpad (when repository for sources does not exist)
|
|
||||||
#----------------------------------
|
|
||||||
- Create debian directory and upload it onto bzr branch lp:~yourlogin/+junk/debian-[dev|beta|stable]
|
|
||||||
cd bzr
|
|
||||||
mkdir debian
|
|
||||||
cd debian
|
|
||||||
cp -pr dolibarr_root/debian bzr/debian
|
|
||||||
bzr init
|
|
||||||
bzr add
|
|
||||||
bzr commit -m "Init control files"
|
|
||||||
bzr push lp:~yourlogin/+junk/debian-[dev|beta|stable] (put here any branch name or just bzr push if into a known branch)
|
|
||||||
- or download it from launchpad bazaar:
|
|
||||||
cd bzr
|
|
||||||
bzr branch lp:~yourlogin/+junk/debian-[dev|beta|stable]
|
|
||||||
|
|
||||||
# Get debian dir repository from launchpad (when repository for sources already exists)
|
|
||||||
#----------------------------------
|
|
||||||
cd bzr
|
|
||||||
bzr branch lp:~yourlogin/+junk/debian-[dev|beta|stable]
|
|
||||||
|
|
||||||
# To update debian dir into launchpad (when repository for sources already exists)
|
|
||||||
#----------------------------------
|
|
||||||
cd bzr
|
|
||||||
bzr branch lp:~yourlogin/+junk/debian-[dev|beta|stable]
|
|
||||||
cd debian-[dev|beta|stable]
|
|
||||||
bzr status
|
|
||||||
-- Update files here --
|
|
||||||
bzr commit -m "Description of change"
|
|
||||||
bzr push lp:~yourlogin/+junk/debian-[dev|beta|stable]
|
|
||||||
|
|
||||||
|
|
||||||
# Define a recipe into launchpad (a rule to build packages into a PPA)
|
|
||||||
#----------------------------------
|
|
||||||
- Create a file dolibarr.recipe with content
|
|
||||||
cd bzr
|
|
||||||
vi dolibarr.recipe
|
|
||||||
For dev:
|
|
||||||
# bzr-builder format 0.3 deb-version {debupstream}-0~{revno}
|
|
||||||
lp:dolibarr
|
|
||||||
merge packaging lp:~yourlogin/+junk/debian-dev
|
|
||||||
For beta:
|
|
||||||
# bzr-builder format 0.3 deb-version {debupstream}-1~{revno}
|
|
||||||
lp:dolibarr/beta
|
|
||||||
merge packaging lp:~yourlogin/+junk/debian-beta
|
|
||||||
For stable:
|
|
||||||
# bzr-builder format 0.3 deb-version {debupstream}-2~{revno}
|
|
||||||
lp:dolibarr/stable
|
|
||||||
merge packaging lp:~yourlogin/+junk/debian-stable
|
|
||||||
- Run command
|
|
||||||
cd bzr
|
|
||||||
bzr dailydeb dolibarr.recipe working-dir
|
|
||||||
This will create a directory "working-dir" with dolibarr sources and will add sources from ~yourlogin/+junk/debian-[dev|beta|stable]
|
|
||||||
- Test package sources
|
|
||||||
sudo pbuilder build <working-dir>/<project>_<version>.dsc
|
|
||||||
|
|
||||||
List of recipes created
|
|
||||||
https://code.launchpad.net/~eldy/+recipe/dolibarr-dev
|
|
||||||
https://code.launchpad.net/~eldy/+recipe/dolibarr-beta
|
|
||||||
https://code.launchpad.net/~eldy/+recipe/dolibarr-stable
|
|
||||||
|
|
||||||
|
|
||||||
# To get/download package from PPA:
|
|
||||||
#----------------------------------
|
|
||||||
|
|
||||||
- Add signing key of the Launchpad repository:
|
|
||||||
> gpg --keyserver keyserver.ubuntu.com --recv-key A38BF8FD
|
|
||||||
> sudo apt-key add ~/.gnupg/pubring.gpg
|
|
||||||
|
|
||||||
- Add Dolibarr Launchpad repository to your system setup by adding the two lines to /etc/apt/sources.list
|
|
||||||
For the development snapshot version:
|
|
||||||
deb http://ppa.launchpad.net/yourlogin/dolibarr-dev/ubuntu precise main
|
|
||||||
deb-src http://ppa.launchpad.net/yourlogin/dolibarr-dev/ubuntu precise main
|
|
||||||
For the beta version:
|
|
||||||
deb http://ppa.launchpad.net/yourlogin/dolibarr-beta/ubuntu precise main
|
|
||||||
deb-src http://ppa.launchpad.net/yourlogin/dolibarr-beta/ubuntu precise main
|
|
||||||
For the stable version:
|
|
||||||
deb http://ppa.launchpad.net/yourlogin/dolibarr-stable/ubuntu precise main
|
|
||||||
deb-src http://ppa.launchpad.net/yourlogin/dolibarr-stable/ubuntu precise main
|
|
||||||
|
|
||||||
- Update your package cache:
|
|
||||||
> apt-get update
|
|
||||||
|
|
||||||
- Install Dolibarr:
|
|
||||||
> apt-get install dolibarr
|
|
||||||
|
|
||||||
|
|
|
@ -1,74 +0,0 @@
|
||||||
Howto (English)
|
|
||||||
##################################################
|
|
||||||
Building a live CD/USB
|
|
||||||
##################################################
|
|
||||||
|
|
||||||
This is all steps to follow to build a live CD/USB demo of Dolibarr using
|
|
||||||
SLAX distribution.
|
|
||||||
|
|
||||||
1) Download SLAX (www.slax.org) as a zip file.
|
|
||||||
|
|
||||||
2) Unzip file on a directory on any USB key with at least 512Mo free (even
|
|
||||||
if you want to build a CD live).
|
|
||||||
|
|
||||||
3) Download following modules from SLAX web sites and put files
|
|
||||||
into the /slax/modules directory:
|
|
||||||
apr-1.2.12-i486-1.lzm
|
|
||||||
apr-util-1.2.12-i486-1.lzm
|
|
||||||
cairomm-1.4.8-i686.lzm
|
|
||||||
cli-ftp-pack.lzm
|
|
||||||
codecs-essential-20071007.lzm
|
|
||||||
firefox-2.0.0.14.lzm
|
|
||||||
ghostscript-8.62-i486-5.lzm
|
|
||||||
gimp-2.4.5-i486-1sl.lzm
|
|
||||||
gparted-0.3.7-i486-1as.lzm
|
|
||||||
grsync.lzm
|
|
||||||
httpd-2.2.8-i486-1.lzm
|
|
||||||
libsigc++-2.0.18-i686.lzm
|
|
||||||
mysql-5.0.51b-i486-1.lzm
|
|
||||||
php-5.2.6-i486-1.lzm
|
|
||||||
printmodule-s6.lzm
|
|
||||||
Save_by_Pastrugno-0.1.lzm
|
|
||||||
telnet-1.5.lzm
|
|
||||||
|
|
||||||
4) Copy dolibarr files into path
|
|
||||||
\slax\changes\var\www\htdocs\dolibarr
|
|
||||||
|
|
||||||
5) Run the script
|
|
||||||
> /boot/bootinst.bat
|
|
||||||
or
|
|
||||||
> /boot/bootinst.sh
|
|
||||||
and answer yes to overwrite the MBR of the disk of your USB key.
|
|
||||||
|
|
||||||
6) Boot on USB key (Change your BIOS setup if required).
|
|
||||||
|
|
||||||
7) After boot, run the script
|
|
||||||
> mysql_install_db --user=mysql
|
|
||||||
This will create mysql empty system database.
|
|
||||||
|
|
||||||
8) Edit the file /etc/httpd/httpd.conf to uncomment the line
|
|
||||||
with PHP activation.
|
|
||||||
Include /etc/httpd/mod_php.conf
|
|
||||||
|
|
||||||
9) Edit \slax\changes\etc\httpd\php.ini file to disabled features where librairies does not
|
|
||||||
exists. You can comment lines:
|
|
||||||
;extension=gd.so
|
|
||||||
;extension=mhash.so
|
|
||||||
;extension=snmp.so
|
|
||||||
|
|
||||||
10) Personalized your desktop.
|
|
||||||
Add a link to application
|
|
||||||
"firefox http://localhost/dolibarr/htdocs/index.php"
|
|
||||||
Add a link to application
|
|
||||||
"/var/www/htdocs/dolibarr/dev/initdemo/initdemo.sh"
|
|
||||||
Add a link to application
|
|
||||||
"/var/www/htdocs/dolibarr/dev/initdemo/removedemo.sh"
|
|
||||||
|
|
||||||
11) Reboot again on your USB key.
|
|
||||||
|
|
||||||
12) Now you can run Dolibarr install process
|
|
||||||
http://localhost/dolibarr/htdocs/install/index.php
|
|
||||||
or copy USB key content to build another one quickly.
|
|
||||||
or build a CD with command (TODO).
|
|
||||||
|
|
||||||
|
|
|
@ -1,7 +0,0 @@
|
||||||
README (English)
|
|
||||||
##################################################
|
|
||||||
Building a live CD/USB
|
|
||||||
##################################################
|
|
||||||
|
|
||||||
This directory contains files and docs used to build
|
|
||||||
a live CD or USB demo of Dolibarr.
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,16 +0,0 @@
|
||||||
# Your module name here
|
|
||||||
#
|
|
||||||
# Goal: Goal of module
|
|
||||||
# Version: 1.0
|
|
||||||
# Author: Copyright 2008 - Author name here
|
|
||||||
# Licence: GPL
|
|
||||||
# Install: Just unpack content of module package in Dolibarr directory.
|
|
||||||
# Setup: Go on Dolibarr setup - modules to enable module.
|
|
||||||
#
|
|
||||||
# Files in module
|
|
||||||
htdocs/mymodule/core/modules/modMyModule.class.php
|
|
||||||
htdocs/mymodule/core/triggers/interface_mymodule.class.php
|
|
||||||
htdocs/mymodule/page1.php
|
|
||||||
htdocs/mymodule/page2.php
|
|
||||||
htdocs/mymodule/sql/script1.sql
|
|
||||||
htdocs/mymodule/sql/script2.sql
|
|
|
@ -1,390 +0,0 @@
|
||||||
#!/usr/bin/perl
|
|
||||||
#----------------------------------------------------------------------------
|
|
||||||
# \file build/makepack-dolibarrmodule.pl
|
|
||||||
# \brief Package builder (tgz, zip, rpm, deb, exe)
|
|
||||||
# \author (c)2005-2014 Laurent Destailleur <eldy@users.sourceforge.net>
|
|
||||||
#----------------------------------------------------------------------------
|
|
||||||
|
|
||||||
use Cwd;
|
|
||||||
$OWNER="ldestailleur";
|
|
||||||
$GROUP="ldestailleur";
|
|
||||||
|
|
||||||
|
|
||||||
@LISTETARGET=("ZIP"); # Possible packages
|
|
||||||
%REQUIREMENTTARGET=( # Tool requirement for each package
|
|
||||||
"TGZ"=>"tar",
|
|
||||||
"ZIP"=>"7z"
|
|
||||||
);
|
|
||||||
%ALTERNATEPATH=(
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
use vars qw/ $REVISION $VERSION /;
|
|
||||||
$REVISION='1.0';
|
|
||||||
$VERSION="3.5 (build $REVISION)";
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
|
||||||
# MAIN
|
|
||||||
#------------------------------------------------------------------------------
|
|
||||||
($DIR=$0) =~ s/([^\/\\]+)$//; ($PROG=$1) =~ s/\.([^\.]*)$//; $Extension=$1;
|
|
||||||
$DIR||='.'; $DIR =~ s/([^\/\\])[\\\/]+$/$1/;
|
|
||||||
|
|
||||||
# Detect OS type
|
|
||||||
# --------------
|
|
||||||
if ("$^O" =~ /linux/i || (-d "/etc" && -d "/var" && "$^O" !~ /cygwin/i)) { $OS='linux'; $CR=''; }
|
|
||||||
elsif (-d "/etc" && -d "/Users") { $OS='macosx'; $CR=''; }
|
|
||||||
elsif ("$^O" =~ /cygwin/i || "$^O" =~ /win32/i) { $OS='windows'; $CR="\r"; }
|
|
||||||
if (! $OS) {
|
|
||||||
print "$PROG.$Extension was not able to detect your OS.\n";
|
|
||||||
print "Can't continue.\n";
|
|
||||||
print "$PROG.$Extension aborted.\n";
|
|
||||||
sleep 2;
|
|
||||||
exit 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
# Define buildroot
|
|
||||||
# ----------------
|
|
||||||
if ($OS =~ /linux/) {
|
|
||||||
$TEMP=$ENV{"TEMP"}||$ENV{"TMP"}||"/tmp";
|
|
||||||
}
|
|
||||||
if ($OS =~ /macos/) {
|
|
||||||
$TEMP=$ENV{"TEMP"}||$ENV{"TMP"}||"/tmp";
|
|
||||||
}
|
|
||||||
if ($OS =~ /windows/) {
|
|
||||||
$TEMP=$ENV{"TEMP"}||$ENV{"TMP"}||"c:/temp";
|
|
||||||
$PROGPATH=$ENV{"ProgramFiles"};
|
|
||||||
}
|
|
||||||
if (! $TEMP || ! -d $TEMP) {
|
|
||||||
print "Error: A temporary directory can not be find.\n";
|
|
||||||
print "Check that TEMP or TMP environment variable is set correctly.\n";
|
|
||||||
print "$PROG.$Extension aborted.\n";
|
|
||||||
sleep 2;
|
|
||||||
exit 2;
|
|
||||||
}
|
|
||||||
$BUILDROOT="$TEMP/dolibarr-buildroot";
|
|
||||||
|
|
||||||
|
|
||||||
my $copyalreadydone=0;
|
|
||||||
my $batch=0;
|
|
||||||
|
|
||||||
for (0..@ARGV-1) {
|
|
||||||
if ($ARGV[$_] =~ /^-*target=(\w+)/i) { $target=$1; $batch=1; }
|
|
||||||
if ($ARGV[$_] =~ /^-*desti=(.+)/i) { $DESTI=$1; }
|
|
||||||
if ($ARGV[$_] =~ /^-*prefix=(.+)/i) {
|
|
||||||
$PREFIX=$1;
|
|
||||||
$FILENAMESNAPSHOT.="-".$PREFIX;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
$SOURCE="$DIR/..";
|
|
||||||
$DESTI="$SOURCE/build";
|
|
||||||
if ($ENV{"DESTIMODULES"}) { $DESTI = $ENV{"DESTIMODULES"}; } # Force output dir if env DESTIMODULES is defined
|
|
||||||
$NEWDESTI=$DESTI;
|
|
||||||
|
|
||||||
|
|
||||||
print "Makepack for modules version $VERSION\n";
|
|
||||||
print "Source directory: $SOURCE\n";
|
|
||||||
print "Target directory: $NEWDESTI\n";
|
|
||||||
|
|
||||||
|
|
||||||
# Ask module
|
|
||||||
print "Enter name for your module (mymodule, mywonderfulmondule, ... or 'all') : ";
|
|
||||||
$PROJECTINPUT=<STDIN>;
|
|
||||||
chomp($PROJECTINPUT);
|
|
||||||
print "Move to ".$DIR." directory.\n";
|
|
||||||
chdir($DIR);
|
|
||||||
|
|
||||||
|
|
||||||
my @PROJECTLIST=();
|
|
||||||
if ($PROJECTINPUT eq "all")
|
|
||||||
{
|
|
||||||
opendir(DIR, $DIR) || return;
|
|
||||||
local @rv = grep { /^makepack\-(.*)\.conf$/ } sort readdir(DIR);
|
|
||||||
closedir(DIR);
|
|
||||||
foreach my $xxx (0..@rv-1) {
|
|
||||||
if ($rv[$xxx] =~ /^makepack\-(.*)\.conf$/)
|
|
||||||
{
|
|
||||||
@PROJECTLIST[$xxx]=$1;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
@PROJECTLIST=($PROJECTINPUT);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
# Loop on each projects
|
|
||||||
foreach my $PROJECT (@PROJECTLIST) {
|
|
||||||
|
|
||||||
$PROJECTLC=lc($PROJECT);
|
|
||||||
|
|
||||||
if (! -f "makepack-".$PROJECT.".conf")
|
|
||||||
{
|
|
||||||
print "Error: can't open conf file makepack-".$PROJECT.".conf\n";
|
|
||||||
print "\n";
|
|
||||||
print "For help on building a module package, see web page\n";
|
|
||||||
print "http://wiki.dolibarr.org/index.php/Module_development#Create_a_package_to_distribute_and_install_your_module\n";
|
|
||||||
print "makepack-dolibarrmodule.pl aborted.\n";
|
|
||||||
sleep 2;
|
|
||||||
exit 2;
|
|
||||||
}
|
|
||||||
|
|
||||||
# Get version $MAJOR, $MINOR and $BUILD
|
|
||||||
print "Version detected for module ".$PROJECT.": ";
|
|
||||||
$result=open(IN,"<".$SOURCE."/htdocs/".$PROJECTLC."/core/modules/mod".$PROJECT.".class.php");
|
|
||||||
if (! $result) { die "Error: Can't open descriptor file ".$SOURCE."/htdocs/".$PROJECTLC."/core/modules/mod".$PROJECT.".class.php for reading.\n"; }
|
|
||||||
while(<IN>)
|
|
||||||
{
|
|
||||||
if ($_ =~ /this->version\s*=\s*'([\d\.]+)'/) { $PROJVERSION=$1; break; }
|
|
||||||
}
|
|
||||||
close IN;
|
|
||||||
print $PROJVERSION."\n";
|
|
||||||
|
|
||||||
($MAJOR,$MINOR,$BUILD)=split(/\./,$PROJVERSION,3);
|
|
||||||
if ($MINOR eq '')
|
|
||||||
{
|
|
||||||
print "Enter value for minor version for module ".$PROJECT.": ";
|
|
||||||
$MINOR=<STDIN>;
|
|
||||||
chomp($MINOR);
|
|
||||||
}
|
|
||||||
|
|
||||||
$FILENAME="$PROJECTLC";
|
|
||||||
$FILENAMETGZ="module_$PROJECTLC-$MAJOR.$MINOR".($BUILD ne ''?".$BUILD":"");
|
|
||||||
$FILENAMEZIP="module_$PROJECTLC-$MAJOR.$MINOR".($BUILD ne ''?".$BUILD":"");
|
|
||||||
if (-d "/usr/src/redhat") {
|
|
||||||
# redhat
|
|
||||||
$RPMDIR="/usr/src/redhat";
|
|
||||||
}
|
|
||||||
if (-d "/usr/src/RPM") {
|
|
||||||
# mandrake
|
|
||||||
$RPMDIR="/usr/src/RPM";
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
# Choose package targets
|
|
||||||
#-----------------------
|
|
||||||
$target="ZIP"; # Dolibarr modules are this format
|
|
||||||
$CHOOSEDTARGET{uc($target)}=1;
|
|
||||||
|
|
||||||
|
|
||||||
# Test if requirement is ok
|
|
||||||
#--------------------------
|
|
||||||
foreach my $target (keys %CHOOSEDTARGET) {
|
|
||||||
foreach my $req (split(/[,\s]/,$REQUIREMENTTARGET{$target})) {
|
|
||||||
# Test
|
|
||||||
print "Test requirement for target $target: Search '$req'... ";
|
|
||||||
$ret=`"$req" 2>&1`;
|
|
||||||
$coderetour=$?; $coderetour2=$coderetour>>8;
|
|
||||||
if ($coderetour != 0 && (($coderetour2 == 1 && $OS =~ /windows/ && $ret !~ /Usage/i) || ($coderetour2 == 127 && $OS !~ /windows/)) && $PROGPATH) {
|
|
||||||
# Not found error, we try in PROGPATH
|
|
||||||
$ret=`"$PROGPATH/$ALTERNATEPATH{$req}/$req\" 2>&1`;
|
|
||||||
$coderetour=$?; $coderetour2=$coderetour>>8;
|
|
||||||
$REQUIREMENTTARGET{$target}="$PROGPATH/$ALTERNATEPATH{$req}/$req";
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($coderetour != 0 && (($coderetour2 == 1 && $OS =~ /windows/ && $ret !~ /Usage/i) || ($coderetour2 == 127 && $OS !~ /windows/))) {
|
|
||||||
# Not found error
|
|
||||||
print "Not found\nCan't build target $target. Requirement '$req' not found in PATH\n";
|
|
||||||
$CHOOSEDTARGET{$target}=-1;
|
|
||||||
last;
|
|
||||||
} else {
|
|
||||||
# Pas erreur ou erreur autre que programme absent
|
|
||||||
print " Found ".$REQUIREMENTTARGET{$target}."\n";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
print "\n";
|
|
||||||
|
|
||||||
# Check if there is at least on target to build
|
|
||||||
#----------------------------------------------
|
|
||||||
$nboftargetok=0;
|
|
||||||
$nboftargetneedbuildroot=0;
|
|
||||||
$nboftargetneedcvs=0;
|
|
||||||
foreach my $target (keys %CHOOSEDTARGET) {
|
|
||||||
if ($CHOOSEDTARGET{$target} < 0) { next; }
|
|
||||||
if ($target ne 'EXE' && $target ne 'EXEDOLIWAMP')
|
|
||||||
{
|
|
||||||
$nboftargetneedbuildroot++;
|
|
||||||
}
|
|
||||||
if ($target eq 'SNAPSHOT')
|
|
||||||
{
|
|
||||||
$nboftargetneedcvs++;
|
|
||||||
}
|
|
||||||
$nboftargetok++;
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($nboftargetok) {
|
|
||||||
|
|
||||||
# Update CVS if required
|
|
||||||
#-----------------------
|
|
||||||
if ($nboftargetneedcvs)
|
|
||||||
{
|
|
||||||
print "Go to directory $SOURCE\n";
|
|
||||||
$olddir=getcwd();
|
|
||||||
chdir("$SOURCE");
|
|
||||||
print "Run cvs update -P -d\n";
|
|
||||||
$ret=`cvs update -P -d 2>&1`;
|
|
||||||
chdir("$olddir");
|
|
||||||
}
|
|
||||||
|
|
||||||
# Update buildroot if required
|
|
||||||
#-----------------------------
|
|
||||||
if ($nboftargetneedbuildroot)
|
|
||||||
{
|
|
||||||
if (! $copyalreadydone) {
|
|
||||||
print "Delete directory $BUILDROOT\n";
|
|
||||||
$ret=`rm -fr "$BUILDROOT"`;
|
|
||||||
|
|
||||||
mkdir "$BUILDROOT";
|
|
||||||
mkdir "$BUILDROOT/$PROJECTLC";
|
|
||||||
|
|
||||||
$result=open(IN,"<makepack-".$PROJECT.".conf");
|
|
||||||
if (! $result) { die "Error: Can't open conf file makepack-".$PROJECT.".conf for reading.\n"; }
|
|
||||||
while(<IN>)
|
|
||||||
{
|
|
||||||
$entry=$_;
|
|
||||||
|
|
||||||
if ($entry =~ /^#/) { next; } # Do not process comments
|
|
||||||
|
|
||||||
$entry =~ s/\n//;
|
|
||||||
|
|
||||||
if ($entry =~ /^!(.*)$/) # Exclude so remove file/dir
|
|
||||||
{
|
|
||||||
print "Remove $BUILDROOT/$PROJECTLC/$1\n";
|
|
||||||
$ret=`rm -fr "$BUILDROOT/$PROJECTLC/"$1`;
|
|
||||||
if ($? != 0) { die "Failed to delete a file to exclude declared into makepack-".$PROJECT.".conf file (Fails on line ".$entry.")\n"; }
|
|
||||||
next;
|
|
||||||
}
|
|
||||||
|
|
||||||
$entry =~ /^(.*)\/[^\/]+/;
|
|
||||||
print "Create directory $BUILDROOT/$PROJECTLC/$1\n";
|
|
||||||
$ret=`mkdir -p "$BUILDROOT/$PROJECTLC/$1"`;
|
|
||||||
if ($entry !~ /version\-/)
|
|
||||||
{
|
|
||||||
print "Copy $SOURCE/$entry into $BUILDROOT/$PROJECTLC/$entry\n";
|
|
||||||
$ret=`cp -pr "$SOURCE/$entry" "$BUILDROOT/$PROJECTLC/$entry"`;
|
|
||||||
if ($? != 0) { die "Failed to make copy of a file declared into makepack-".$PROJECT.".conf file (Fails on line ".$entry.")\n"; }
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
close IN;
|
|
||||||
|
|
||||||
@timearray=localtime(time());
|
|
||||||
$fulldate=($timearray[5]+1900).'-'.($timearray[4]+1).'-'.$timearray[3].' '.$timearray[2].':'.$timearray[1];
|
|
||||||
open(VF,">$BUILDROOT/$PROJECTLC/build/version-".$PROJECTLC.".txt");
|
|
||||||
|
|
||||||
print "Create version file $BUILDROOT/$PROJECTLC/build/version-".$PROJECTLC.".txt with date ".$fulldate."\n";
|
|
||||||
$ret=`mkdir -p "$BUILDROOT/$PROJECTLC/build"`;
|
|
||||||
print VF "Version: ".$MAJOR.".".$MINOR.($BUILD ne ''?".$BUILD":"")."\n";
|
|
||||||
print VF "Build : ".$fulldate."\n";
|
|
||||||
close VF;
|
|
||||||
}
|
|
||||||
print "Clean $BUILDROOT\n";
|
|
||||||
$ret=`rm -fr $BUILDROOT/$PROJECTLC/.cache`;
|
|
||||||
$ret=`rm -fr $BUILDROOT/$PROJECTLC/.project`;
|
|
||||||
$ret=`rm -fr $BUILDROOT/$PROJECTLC/.settings`;
|
|
||||||
$ret=`rm -fr $BUILDROOT/$PROJECTLC/index.php`;
|
|
||||||
$ret=`rm -fr $BUILDROOT/$PROJECTLC/build/html`;
|
|
||||||
$ret=`rm -fr $BUILDROOT/$PROJECTLC/documents`;
|
|
||||||
$ret=`rm -fr $BUILDROOT/$PROJECTLC/document`;
|
|
||||||
$ret=`rm -fr $BUILDROOT/$PROJECTLC/htdocs/conf/conf.php.mysql`;
|
|
||||||
$ret=`rm -fr $BUILDROOT/$PROJECTLC/htdocs/conf/conf.php.old`;
|
|
||||||
$ret=`rm -fr $BUILDROOT/$PROJECTLC/htdocs/conf/conf.php.postgres`;
|
|
||||||
$ret=`rm -fr $BUILDROOT/$PROJECTLC/htdocs/conf/conf*sav*`;
|
|
||||||
$ret=`rm -fr $BUILDROOT/$PROJECTLC/htdocs/custom`;
|
|
||||||
$ret=`rm -fr $BUILDROOT/$PROJECTLC/htdocs/custom2`;
|
|
||||||
$ret=`rm -fr $BUILDROOT/$PROJECTLC/test`;
|
|
||||||
$ret=`rm -fr $BUILDROOT/$PROJECTLC/Thumbs.db $BUILDROOT/$PROJECTLC/*/Thumbs.db $BUILDROOT/$PROJECTLC/*/*/Thumbs.db $BUILDROOT/$PROJECTLC/*/*/*/Thumbs.db $BUILDROOT/$PROJECTLC/*/*/*/*/Thumbs.db`;
|
|
||||||
$ret=`rm -fr $BUILDROOT/$PROJECTLC/CVS* $BUILDROOT/$PROJECTLC/*/CVS* $BUILDROOT/$PROJECTLC/*/*/CVS* $BUILDROOT/$PROJECTLC/*/*/*/CVS* $BUILDROOT/$PROJECTLC/*/*/*/*/CVS* $BUILDROOT/$PROJECTLC/*/*/*/*/*/CVS*`;
|
|
||||||
}
|
|
||||||
|
|
||||||
# Build package for each target
|
|
||||||
#------------------------------
|
|
||||||
foreach my $target (keys %CHOOSEDTARGET) {
|
|
||||||
if ($CHOOSEDTARGET{$target} < 0) { next; }
|
|
||||||
|
|
||||||
print "\nBuild package for target $target\n";
|
|
||||||
|
|
||||||
if ($target eq 'TGZ') {
|
|
||||||
$NEWDESTI=$DESTI;
|
|
||||||
if (-d $DESTI.'/../modules') { $NEWDESTI=$DESTI.'/../modules'; }
|
|
||||||
|
|
||||||
print "Remove target $FILENAMETGZ.tgz...\n";
|
|
||||||
unlink("$NEWDESTI/$FILENAMETGZ.tgz");
|
|
||||||
print "Compress $BUILDROOT/* into $FILENAMETGZ.tgz...\n";
|
|
||||||
$cmd="tar --exclude-vcs --exclude *.tgz --directory \"$BUILDROOT\" --mode=go-w --group=500 --owner=500 -czvf \"$FILENAMETGZ.tgz\" .";
|
|
||||||
$ret=`$cmd`;
|
|
||||||
if ($OS =~ /windows/i) {
|
|
||||||
print "Move $FILENAMETGZ.tgz to $NEWDESTI/$FILENAMETGZ.tgz\n";
|
|
||||||
$ret=`mv "$FILENAMETGZ.tgz" "$NEWDESTI/$FILENAMETGZ.tgz"`;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
$ret=`mv "$FILENAMETGZ.tgz" "$NEWDESTI/$FILENAMETGZ.tgz"`;
|
|
||||||
}
|
|
||||||
next;
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($target eq 'ZIP') {
|
|
||||||
$NEWDESTI=$DESTI;
|
|
||||||
if (-d $DESTI.'/../modules') { $NEWDESTI=$DESTI.'/../modules'; }
|
|
||||||
|
|
||||||
print "Remove target $FILENAMEZIP.zip...\n";
|
|
||||||
unlink "$NEWDESTI/$FILENAMEZIP.zip";
|
|
||||||
print "Compress $FILENAMEZIP into $FILENAMEZIP.zip...\n";
|
|
||||||
|
|
||||||
print "Go to directory $BUILDROOT/$PROJECTLC\n";
|
|
||||||
$olddir=getcwd();
|
|
||||||
chdir("$BUILDROOT/$PROJECTLC");
|
|
||||||
$cmd= "7z a -r -tzip -mx $BUILDROOT/$FILENAMEZIP.zip *";
|
|
||||||
print $cmd."\n";
|
|
||||||
$ret= `$cmd`;
|
|
||||||
chdir("$olddir");
|
|
||||||
|
|
||||||
print "Move $FILENAMEZIP.zip to $NEWDESTI/$FILENAMEZIP.zip\n";
|
|
||||||
$ret=`mv "$BUILDROOT/$FILENAMEZIP.zip" "$NEWDESTI/$FILENAMEZIP.zip"`;
|
|
||||||
$ret=`chown $OWNER.$GROUP "$NEWDESTI/$FILENAMEZIP.zip"`;
|
|
||||||
next;
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($target eq 'EXE') {
|
|
||||||
$NEWDESTI=$DESTI;
|
|
||||||
if (-d $DESTI.'/../modules') { $NEWDESTI=$DESTI.'/../modules'; }
|
|
||||||
|
|
||||||
print "Remove target $FILENAMEEXE.exe...\n";
|
|
||||||
unlink "$NEWDESTI/$FILENAMEEXE.exe";
|
|
||||||
print "Compress into $FILENAMEEXE.exe by $FILENAMEEXE.nsi...\n";
|
|
||||||
$command="\"$REQUIREMENTTARGET{$target}\" /DMUI_VERSION_DOT=$MAJOR.$MINOR.$BUILD /X\"SetCompressor bzip2\" \"$SOURCE\\build\\exe\\$FILENAME.nsi\"";
|
|
||||||
print "$command\n";
|
|
||||||
$ret=`$command`;
|
|
||||||
print "Move $FILENAMEEXE.exe to $NEWDESTI\n";
|
|
||||||
rename("$SOURCE\\build\\exe\\$FILENAMEEXE.exe","$NEWDESTI/$FILENAMEEXE.exe");
|
|
||||||
next;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
print "\n----- Summary -----\n";
|
|
||||||
foreach my $target (keys %CHOOSEDTARGET) {
|
|
||||||
if ($CHOOSEDTARGET{$target} < 0) {
|
|
||||||
print "Package $target not built (bad requirement).\n";
|
|
||||||
} else {
|
|
||||||
print "Package $target built successfully in $NEWDESTI\n";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
if (! $batch) {
|
|
||||||
print "\nPress key to finish...";
|
|
||||||
my $WAITKEY=<STDIN>;
|
|
||||||
}
|
|
||||||
|
|
||||||
0;
|
|
|
@ -1,270 +0,0 @@
|
||||||
#!/usr/bin/perl
|
|
||||||
#-----------------------------------------------------------------------------
|
|
||||||
# \file build/makepack-dolibarrtheme.pl
|
|
||||||
# \brief Script to build a theme Package for Dolibarr
|
|
||||||
# \author (c)2005-2009 Laurent Destailleur <eldy@users.sourceforge.net>
|
|
||||||
#-----------------------------------------------------------------------------
|
|
||||||
|
|
||||||
use Cwd;
|
|
||||||
|
|
||||||
$PROJECT="dolibarr";
|
|
||||||
|
|
||||||
@LISTETARGET=("TGZ"); # Possible packages
|
|
||||||
%REQUIREMENTTARGET=( # Tool requirement for each package
|
|
||||||
"TGZ"=>"tar",
|
|
||||||
"ZIP"=>"7z",
|
|
||||||
"RPM"=>"rpmbuild",
|
|
||||||
"DEB"=>"dpkg-buildpackage",
|
|
||||||
"EXE"=>"makensis.exe"
|
|
||||||
);
|
|
||||||
%ALTERNATEPATH=(
|
|
||||||
"7z"=>"7-ZIP",
|
|
||||||
"makensis.exe"=>"NSIS"
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
use vars qw/ $REVISION $VERSION /;
|
|
||||||
$REVISION='1.11';
|
|
||||||
$VERSION="1.0 (build $REVISION)";
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
|
||||||
# MAIN
|
|
||||||
#------------------------------------------------------------------------------
|
|
||||||
($DIR=$0) =~ s/([^\/\\]+)$//; ($PROG=$1) =~ s/\.([^\.]*)$//; $Extension=$1;
|
|
||||||
$DIR||='.'; $DIR =~ s/([^\/\\])[\\\/]+$/$1/;
|
|
||||||
|
|
||||||
# Detect OS type
|
|
||||||
# --------------
|
|
||||||
if ("$^O" =~ /linux/i || (-d "/etc" && -d "/var" && "$^O" !~ /cygwin/i)) { $OS='linux'; $CR=''; }
|
|
||||||
elsif (-d "/etc" && -d "/Users") { $OS='macosx'; $CR=''; }
|
|
||||||
elsif ("$^O" =~ /cygwin/i || "$^O" =~ /win32/i) { $OS='windows'; $CR="\r"; }
|
|
||||||
if (! $OS) {
|
|
||||||
print "$PROG.$Extension was not able to detect your OS.\n";
|
|
||||||
print "Can't continue.\n";
|
|
||||||
print "$PROG.$Extension aborted.\n";
|
|
||||||
sleep 2;
|
|
||||||
exit 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
# Define buildroot
|
|
||||||
# ----------------
|
|
||||||
if ($OS =~ /linux/) {
|
|
||||||
$TEMP=$ENV{"TEMP"}||$ENV{"TMP"}||"/tmp";
|
|
||||||
}
|
|
||||||
if ($OS =~ /macos/) {
|
|
||||||
$TEMP=$ENV{"TEMP"}||$ENV{"TMP"}||"/tmp";
|
|
||||||
}
|
|
||||||
if ($OS =~ /windows/) {
|
|
||||||
$TEMP=$ENV{"TEMP"}||$ENV{"TMP"}||"c:/temp";
|
|
||||||
$PROGPATH=$ENV{"ProgramFiles"};
|
|
||||||
}
|
|
||||||
if (! $TEMP || ! -d $TEMP) {
|
|
||||||
print "Error: A temporary directory can not be find.\n";
|
|
||||||
print "Check that TEMP or TMP environment variable is set correctly.\n";
|
|
||||||
print "makepack-dolibarrtheme.pl aborted.\n";
|
|
||||||
sleep 2;
|
|
||||||
exit 2;
|
|
||||||
}
|
|
||||||
$BUILDROOT="$TEMP/dolibarr-buildroot";
|
|
||||||
|
|
||||||
|
|
||||||
my $copyalreadydone=0;
|
|
||||||
my $batch=0;
|
|
||||||
|
|
||||||
print "Makepack theme version $VERSION\n";
|
|
||||||
print "Enter name of theme(s) to package (separated with space): ";
|
|
||||||
$PROJECT=<STDIN>;
|
|
||||||
chomp($PROJECT);
|
|
||||||
|
|
||||||
@PROJECTLIST=split(/ /,$PROJECT);
|
|
||||||
$PROJECT=join('',@PROJECTLIST);
|
|
||||||
|
|
||||||
|
|
||||||
# Ask and set version $MAJOR and $MINOR
|
|
||||||
print "Enter value for version: ";
|
|
||||||
$PROJVERSION=<STDIN>;
|
|
||||||
chomp($PROJVERSION);
|
|
||||||
($MAJOR,$MINOR)=split(/\./,$PROJVERSION,2);
|
|
||||||
if ($MINOR eq '')
|
|
||||||
{
|
|
||||||
print "Enter value for minor version: ";
|
|
||||||
$MINOR=<STDIN>;
|
|
||||||
chomp($MINOR);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
$FILENAME="$PROJECT";
|
|
||||||
$FILENAMETGZ="theme_$PROJECT-$MAJOR.$MINOR";
|
|
||||||
$FILENAMEZIP="theme_$PROJECT-$MAJOR.$MINOR";
|
|
||||||
|
|
||||||
if (-d "/usr/src/redhat") {
|
|
||||||
# redhat
|
|
||||||
$RPMDIR="/usr/src/redhat";
|
|
||||||
}
|
|
||||||
if (-d "/usr/src/RPM") {
|
|
||||||
# mandrake
|
|
||||||
$RPMDIR="/usr/src/RPM";
|
|
||||||
}
|
|
||||||
|
|
||||||
$SOURCE="$DIR/..";
|
|
||||||
$DESTI="$SOURCE/build";
|
|
||||||
|
|
||||||
|
|
||||||
# Choose package targets
|
|
||||||
#-----------------------
|
|
||||||
$target="ZIP"; # Packages uses this format
|
|
||||||
if ($target) {
|
|
||||||
$CHOOSEDTARGET{uc($target)}=1;
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
my $found=0;
|
|
||||||
my $NUM_SCRIPT;
|
|
||||||
while (! $found) {
|
|
||||||
my $cpt=0;
|
|
||||||
printf(" %d - %3s (%s)\n",$cpt,"All","Need ".join(",",values %REQUIREMENTTARGET));
|
|
||||||
foreach my $target (@LISTETARGET) {
|
|
||||||
$cpt++;
|
|
||||||
printf(" %d - %3s (%s)\n",$cpt,$target,"Need ".$REQUIREMENTTARGET{$target});
|
|
||||||
}
|
|
||||||
|
|
||||||
# Are asked to select the file to move
|
|
||||||
print "Choose one package number or several separated with space: ";
|
|
||||||
$NUM_SCRIPT=<STDIN>;
|
|
||||||
chomp($NUM_SCRIPT);
|
|
||||||
if ($NUM_SCRIPT =~ s/-//g) {
|
|
||||||
# Do not do copy
|
|
||||||
$copyalreadydone=1;
|
|
||||||
}
|
|
||||||
if ($NUM_SCRIPT !~ /^[0-$cpt\s]+$/)
|
|
||||||
{
|
|
||||||
print "This is not a valid package number list.\n";
|
|
||||||
$found = 0;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
$found = 1;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
print "\n";
|
|
||||||
if ($NUM_SCRIPT) {
|
|
||||||
foreach my $num (split(/\s+/,$NUM_SCRIPT)) {
|
|
||||||
$CHOOSEDTARGET{$LISTETARGET[$num-1]}=1;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
foreach my $key (@LISTETARGET) {
|
|
||||||
$CHOOSEDTARGET{$key}=1;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
# Test if requirement is ok
|
|
||||||
#--------------------------
|
|
||||||
foreach my $target (keys %CHOOSEDTARGET) {
|
|
||||||
foreach my $req (split(/[,\s]/,$REQUIREMENTTARGET{$target})) {
|
|
||||||
# Test
|
|
||||||
print "Test requirement for target $target: Search '$req'... ";
|
|
||||||
$ret=`"$req" 2>&1`;
|
|
||||||
$coderetour=$?; $coderetour2=$coderetour>>8;
|
|
||||||
if ($coderetour != 0 && (($coderetour2 == 1 && $OS =~ /windows/ && $ret !~ /Usage/i) || ($coderetour2 == 127 && $OS !~ /windows/)) && $PROGPATH) {
|
|
||||||
# Not found error, we try in PROGPATH
|
|
||||||
$ret=`"$PROGPATH/$ALTERNATEPATH{$req}/$req\" 2>&1`;
|
|
||||||
$coderetour=$?; $coderetour2=$coderetour>>8;
|
|
||||||
$REQUIREMENTTARGET{$target}="$PROGPATH/$ALTERNATEPATH{$req}/$req";
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($coderetour != 0 && (($coderetour2 == 1 && $OS =~ /windows/ && $ret !~ /Usage/i) || ($coderetour2 == 127 && $OS !~ /windows/))) {
|
|
||||||
# Not found error
|
|
||||||
print "Not found\nCan't build target $target. Requirement '$req' not found in PATH\n";
|
|
||||||
$CHOOSEDTARGET{$target}=-1;
|
|
||||||
last;
|
|
||||||
} else {
|
|
||||||
# Pas erreur ou erreur autre que programme absent
|
|
||||||
print " Found ".$REQUIREMENTTARGET{$target}."\n";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
print "\n";
|
|
||||||
|
|
||||||
# Check if there is at least on target to build
|
|
||||||
#----------------------------------------------
|
|
||||||
$nboftargetok=0;
|
|
||||||
foreach my $target (keys %CHOOSEDTARGET) {
|
|
||||||
if ($CHOOSEDTARGET{$target} < 0) { next; }
|
|
||||||
$nboftargetok++;
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($nboftargetok) {
|
|
||||||
|
|
||||||
# Update buildroot
|
|
||||||
#-----------------
|
|
||||||
if (! $copyalreadydone) {
|
|
||||||
print "Delete directory $BUILDROOT\n";
|
|
||||||
$ret=`rm -fr "$BUILDROOT"`;
|
|
||||||
mkdir "$BUILDROOT";
|
|
||||||
mkdir "$BUILDROOT/htdocs";
|
|
||||||
mkdir "$BUILDROOT/htdocs/theme";
|
|
||||||
|
|
||||||
print "Copy $SOURCE into $BUILDROOT\n";
|
|
||||||
mkdir "$BUILDROOT";
|
|
||||||
foreach my $tmp (@PROJECTLIST)
|
|
||||||
{
|
|
||||||
$ret=`cp -pr "$SOURCE/htdocs/theme/$tmp" "$BUILDROOT/htdocs/theme"`;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
print "Clean $BUILDROOT\n";
|
|
||||||
$ret=`rm -fr $BUILDROOT/htdocs/theme/$PROJECT/Thumbs.db $BUILDROOT/htdocs/theme/$PROJECT/*/Thumbs.db $BUILDROOT/htdocs/theme/$PROJECT/*/*/Thumbs.db $BUILDROOT/htdocs/theme/$PROJECT/*/*/*/Thumbs.db`;
|
|
||||||
$ret=`rm -fr $BUILDROOT/htdocs/theme/$PROJECT/CVS* $BUILDROOT/htdocs/theme/$PROJECT/*/CVS* $BUILDROOT/htdocs/theme/$PROJECT/*/*/CVS* $BUILDROOT/htdocs/theme/$PROJECT/*/*/*/CVS* $BUILDROOT/htdocs/theme/$PROJECT/*/*/*/*/CVS* $BUILDROOT/htdocs/theme/$PROJECT/*/*/*/*/*/CVS*`;
|
|
||||||
|
|
||||||
|
|
||||||
# Build package for each target
|
|
||||||
#------------------------------
|
|
||||||
foreach my $target (keys %CHOOSEDTARGET) {
|
|
||||||
if ($CHOOSEDTARGET{$target} < 0) { next; }
|
|
||||||
|
|
||||||
print "\nBuild package for target $target\n";
|
|
||||||
|
|
||||||
if ($target eq 'TGZ') {
|
|
||||||
unlink $FILENAMETGZ.tgz;
|
|
||||||
print "Compress $BUILDROOT/htdocs into $FILENAMETGZ.tgz...\n";
|
|
||||||
$cmd="tar --exclude-vcs --exclude-from \"$DESTI/tgz/tar_exclude.txt\" --directory \"$BUILDROOT\" --mode=go-w --group=500 --owner=500 -czvf \"$FILENAMETGZ.tgz\" htdocs";
|
|
||||||
$ret=`$cmd`;
|
|
||||||
if ($OS =~ /windows/i) {
|
|
||||||
print "Move $FILENAMETGZ.tgz to $DESTI/$FILENAMETGZ.tgz\n";
|
|
||||||
$ret=`mv "$FILENAMETGZ.tgz" "$DESTI/$FILENAMETGZ.tgz"`;
|
|
||||||
}
|
|
||||||
next;
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($target eq 'ZIP') {
|
|
||||||
unlink $FILENAMEZIP.zip;
|
|
||||||
print "Compress $FILENAMETGZ into $FILENAMEZIP.zip...\n";
|
|
||||||
chdir("$BUILDROOT");
|
|
||||||
$ret=`7z a -r -tzip -mx $BUILDROOT/$FILENAMEZIP.zip htdocs`;
|
|
||||||
print "Move $FILENAMEZIP.zip to $DESTI\n";
|
|
||||||
$ret=`mv "$FILENAMEZIP.zip" "$DESTI/$FILENAMEZIP.zip"`;
|
|
||||||
next;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
print "\n----- Summary -----\n";
|
|
||||||
foreach my $target (keys %CHOOSEDTARGET) {
|
|
||||||
if ($CHOOSEDTARGET{$target} < 0) {
|
|
||||||
print "Package $target not built (bad requirement).\n";
|
|
||||||
} else {
|
|
||||||
print "Package $target built succeessfully in $DESTI\n";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if (! $btach) {
|
|
||||||
print "\nPress key to finish...";
|
|
||||||
my $WAITKEY=<STDIN>;
|
|
||||||
}
|
|
||||||
|
|
||||||
0;
|
|
|
@ -1,49 +0,0 @@
|
||||||
----- Dolibarr Makepack How To -----
|
|
||||||
This documentation describe steps to build a BETA or RELEASE versions
|
|
||||||
of Dolibarr. There is a chapter for BETA version and a chapter for
|
|
||||||
RELEASE version.
|
|
||||||
|
|
||||||
***** Actions to do a BETA *****
|
|
||||||
This files describe steps made by Dolibarr packaging team to make a
|
|
||||||
beta version of Dolibarr, step by step.
|
|
||||||
|
|
||||||
- Check all files are commited.
|
|
||||||
- Update version/info in ChangeLog. To generate a changelog, you can do "git log `git merge-base 3.7.0 origin/develop`.. --no-merges --pretty=short --oneline | sed -e "s/^[0-9a-z]* //" | grep -e '^FIX\|NEW' | sort -u | sed 's/FIXED:/FIX:/g' | sed 's/FIXED :/FIX:/g' | sed 's/FIX :/FIX:/g' | sed 's/FIX /FIX: /g' | sed 's/NEW :/NEW:/g' | sed 's/NEW /NEW: /g' > /tmp/aaa"
|
|
||||||
- Update version number with x.y.z-w in htdocs/filefunc.inc.php
|
|
||||||
- Update version number with x.y.z-w in build/debian/changelog
|
|
||||||
- Commit all changes.
|
|
||||||
- Add a Tag (x.y.z-beta) and push it: git push --tags
|
|
||||||
- Create a branch (x.y).
|
|
||||||
|
|
||||||
- Run makepack-dolibarr.pl to generate all packages.
|
|
||||||
|
|
||||||
- Move build files into www.dolibarr.org web site
|
|
||||||
(/home/dolibarr/wwwroot/files/lastbuild).
|
|
||||||
|
|
||||||
- Post a news on dolibarr.org/dolibarr.fr + social networks
|
|
||||||
- Send mail on mailings-list
|
|
||||||
|
|
||||||
|
|
||||||
***** Actions to do a RELEASE *****
|
|
||||||
This files describe steps made by Dolibarr packaging team to make a
|
|
||||||
complete release of Dolibarr, step by step.
|
|
||||||
|
|
||||||
- Check all files are commited.
|
|
||||||
- Update version/info in ChangeLog. To generate a changelog, you can do "git log `git merge-base 3.7.0 origin/develop`.. --no-merges --pretty=short --oneline | sed -e "s/^[0-9a-z]* //" | grep -e '^FIX\|NEW' | sort -u | sed 's/FIXED:/FIX:/g' | sed 's/FIXED :/FIX:/g' | sed 's/FIX :/FIX:/g' | sed 's/FIX /FIX: /g' | sed 's/NEW :/NEW:/g' | sed 's/NEW /NEW: /g' > /tmp/aaa"
|
|
||||||
- Update version number with x.y.z in htdocs/filefunc.inc.php
|
|
||||||
- Update version number with x.y.z in build/debian/changelog
|
|
||||||
- Commit all changes.
|
|
||||||
|
|
||||||
- Run makepack-dolibarr.pl to generate all packages.
|
|
||||||
|
|
||||||
- Check content of built packages.
|
|
||||||
- Move build files into www.dolibarr.org web site
|
|
||||||
(/home/dolibarr/wwwroot/files/stable).
|
|
||||||
|
|
||||||
- Run makepack-dolibarr.pl again with option to publish files on
|
|
||||||
sourceforge. This will also add official tag.
|
|
||||||
- Edit symbolic links in directory "/home/dolibarr/wwwroot/files/stable/xxx"
|
|
||||||
on server to point to new files (used by some web sites).
|
|
||||||
|
|
||||||
- Post a news on dolibarr.org/dolibarr.fr + social networks
|
|
||||||
- Send mail on mailings-list
|
|
|
@ -1,52 +0,0 @@
|
||||||
README (English)
|
|
||||||
##################################################
|
|
||||||
OBS Package tools
|
|
||||||
##################################################
|
|
||||||
|
|
||||||
This directory contains files to explain how to publish
|
|
||||||
a package onto OBS
|
|
||||||
|
|
||||||
|
|
||||||
# Create a project onto OBS
|
|
||||||
#----------------------------------
|
|
||||||
https://build.opensuse.org
|
|
||||||
|
|
||||||
Packaging rules: http://en.opensuse.org/Portal:Packaging
|
|
||||||
|
|
||||||
Add attributes:
|
|
||||||
OBS:Screenshots URL of screenshot http://www.dolibarr.org/images/dolibarr_screenshot1.png
|
|
||||||
OBS:QualityCategory Development|Testing|Stable|Private
|
|
||||||
OBS:Maintained 1
|
|
||||||
|
|
||||||
|
|
||||||
To submit a snapshot for building, we should have a service file with content
|
|
||||||
<services>
|
|
||||||
<service name="download_src_package">
|
|
||||||
<param name="host">www.dolibarr.org</param>
|
|
||||||
<param name="protocol">http</param>
|
|
||||||
<param name="path">/files/stable/package_rpm_generic/dolibarr-x.y.z-3.src.rpm</param>
|
|
||||||
</service>
|
|
||||||
</services>
|
|
||||||
|
|
||||||
How to have such a service file created automatically ?
|
|
||||||
|
|
||||||
Go into project you want to update. It mught be:
|
|
||||||
- openSUSE Build Service > Projects > Application:ERP:Dolibarr > dolibarr
|
|
||||||
- or your private project
|
|
||||||
|
|
||||||
Once logged, click on "Add file" in section "Source Files", then select mode "Upload From: Remote URL"
|
|
||||||
Keep empty for "Filename", choose "Remote URL" and enter into last field, URL that should looks like this:
|
|
||||||
http://www.dolibarr.org/files/stable/package_rpm_generic/dolibarr-x.y.v-0.3.src.rpm
|
|
||||||
|
|
||||||
Then add into Advanded - Attributes
|
|
||||||
OBS:Screenshots http://www.dolibarr.org/images/dolibarr_screenshot1.png
|
|
||||||
OBS:QualityCategory Stable|Testing|Development|Private
|
|
||||||
|
|
||||||
|
|
||||||
# Move project into official directory
|
|
||||||
- Enter a bug to ask to be a maintener of a category or to add a new one.
|
|
||||||
For example: https://bugzilla.novell.com/show_bug.cgi?id=848083 to be a maintener of category
|
|
||||||
https://build.opensuse.org/project/show/Application:ERP
|
|
||||||
- Once done, go into project, category, subproject and enter a subproject for your application.
|
|
||||||
Fo example: Dolibarr
|
|
||||||
- Then go onto project into your home and ask a publish to the category/you project your created.
|
|
|
@ -1,195 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" ?>
|
|
||||||
<PADGEN_PML>
|
|
||||||
<AppVerInfo>PADGen 3.1.1.47</AppVerInfo>
|
|
||||||
<CompanyName />
|
|
||||||
<Program_Info>
|
|
||||||
<Program_Name>DoliWamp</Program_Name>
|
|
||||||
<Program_Version>3.5.0</Program_Version>
|
|
||||||
<Program_Release_Month>01</Program_Release_Month>
|
|
||||||
<Program_Release_Day>01</Program_Release_Day>
|
|
||||||
<Program_Release_Year>2014</Program_Release_Year>
|
|
||||||
<Program_Cost_Dollars />
|
|
||||||
<Program_Cost_Other_Code />
|
|
||||||
<Program_Cost_Other />
|
|
||||||
<Program_Type>Freeware</Program_Type>
|
|
||||||
<Program_Release_Status>Major Update</Program_Release_Status>
|
|
||||||
<Program_Install_Support>Install and Uninstall</Program_Install_Support>
|
|
||||||
<Program_OS_Support>Win2000,Win7 x32,Win7 x64,Win98,WinOther,WinServer,WinVista,WinVista x64,WinXP,Other</Program_OS_Support>
|
|
||||||
<Program_Language>English,Arabic,Catalan,Chinese,Dutch,Finnish,French,German,Icelandic,Italian,Norwegian,Polish,Portuguese,Romanian,Russian,Slovenian,Spanish,Swedish,Turkish</Program_Language>
|
|
||||||
<Program_Change_Info>http://www.dolibarr.org</Program_Change_Info>
|
|
||||||
<Program_Specific_Category>Business</Program_Specific_Category>
|
|
||||||
<Program_Category_Class>Business::Accounting & Finance</Program_Category_Class>
|
|
||||||
<Program_System_Requirements>None</Program_System_Requirements>
|
|
||||||
<File_Info>
|
|
||||||
<File_Size_Bytes>26048004</File_Size_Bytes>
|
|
||||||
<File_Size_K>25437</File_Size_K>
|
|
||||||
<File_Size_MB>24.84</File_Size_MB>
|
|
||||||
</File_Info>
|
|
||||||
<Expire_Info>
|
|
||||||
<Has_Expire_Info>N</Has_Expire_Info>
|
|
||||||
<Expire_Count />
|
|
||||||
<Expire_Based_On>Days</Expire_Based_On>
|
|
||||||
<Expire_Other_Info />
|
|
||||||
<Expire_Month />
|
|
||||||
<Expire_Day />
|
|
||||||
<Expire_Year />
|
|
||||||
</Expire_Info>
|
|
||||||
</Program_Info>
|
|
||||||
<Program_Descriptions>
|
|
||||||
<English>
|
|
||||||
<Keywords>doliwamp, dolibarr, erp, crm, invoices, commercial proposals, orders, accounting, stock, products, agenda, bank, business, company, foundation, management</Keywords>
|
|
||||||
<Char_Desc_45>DoliWamp, Dolibarr ERP/CRM for Windows</Char_Desc_45>
|
|
||||||
<Char_Desc_80>DoliWamp, the easy to use Dolibarr for Windows to manage your company,foundation</Char_Desc_80>
|
|
||||||
<Char_Desc_250>DoliWamp is the Dolibarr ERP/CRM for Windows, the easy to use open source software to manage your activity (invoices, customers, suppliers, contracts, agenda, emailings...) and any other things a small or mid-sized business or a foundation needs.</Char_Desc_250>
|
|
||||||
<Char_Desc_450>DoliWamp is the Dolibarr ERP/CRM autoinstaller for Windows users with no technical knowledge to install Dolibarr and all its prerequisites (Apache, Mysql, PHP) with just one auto-exe file. Dolibarr ERP/CRM is a software built by modules addition (you enable only features you need), to manage small or mid-sized businesses, freelancers or foundations.</Char_Desc_450>
|
|
||||||
<Char_Desc_2000>DoliWamp is the Dolibarr ERP/CRM for Windows. Dolibarr ERP & CRM is a software built by modules addition (you enable only features you need), to manage small or mid-sized businesses, freelancers or foundations (You can manage or follow contacts, invoices, orders, commercial proposals, products, stock management, agenda, mass emailings, members of a foundation, bank accounts...). Based on a WAMP, MAMP or LAMP server (Apache, Mysql, PHP for all Operating Systems), you can install it as a standalone program or use it from anywhere with any web browser. Dolibarr is an OpenSource project. It differs from other ERP or CRM softwares (like OpenAguila, OpenBravo, OpenERP, Neogia, Compiere, etc) because everything was made to be more simple: Simple to install, Simple to use, Simple to develop.
|
|
||||||
DoliWamp is the auto-installer for Windows users with no technical knowledge to install Dolibarr ERP/CRM and all its prerequisites (Apache, Mysql, PHP) with just one auto-exe file.</Char_Desc_2000>
|
|
||||||
</English>
|
|
||||||
<French>
|
|
||||||
<Keywords>doliwamp, dolibarr, erp, crm, factures, devis, facturation, commandes, compta, trésorerie, stocks, produits, agenda, comptes bancaires, associations, entreprises, PME, TPE</Keywords>
|
|
||||||
<Char_Desc_45>DoliWamp, Dolibarr ERP/CRM pour Windows</Char_Desc_45>
|
|
||||||
<Char_Desc_80>DoliWamp, la distribution de Dolibarr pour gérer votre entreprise ou association</Char_Desc_80>
|
|
||||||
<Char_Desc_250>DoliWamp est la version spécialisée pour Windows de Dolibarr ERP-CRM, le logiciel simple et OpenSource pour gérer votre activité (factures, devis, facturation, commandes, compta, trésorerie, stocks, produits, agenda, comptes bancaires, associations)</Char_Desc_250>
|
|
||||||
<Char_Desc_450>DoliWamp est la version spécialisée pour Windows de Dolibarr ERP-CRM, le logiciel simple et OpenSource pour gérer votre activité (factures, devis, facturation, commandes, compta, trésorerie, stocks, produits, agenda, comptes bancaires, associations)</Char_Desc_450>
|
|
||||||
<Char_Desc_2000>DoliWamp est la version spécialisée pour Windows de Dolibarr ERP-CRM, le logiciel simple et OpenSource pour gérer votre activité (factures, devis, facturation, commandes, compta, trésorerie, stocks, produits, agenda, comptes bancaires, associations)</Char_Desc_2000>
|
|
||||||
</French>
|
|
||||||
<Italian>
|
|
||||||
<Keywords>doliwamp, dolibarr, erp, crm, gestionale, medie imprese, fondazioni</Keywords>
|
|
||||||
<Char_Desc_45>DoliWamp, Dolibarr ERP/CRM per Windows</Char_Desc_45>
|
|
||||||
<Char_Desc_80>Gestionale open source e gratuito per piccole e medie imprese, fondazioni</Char_Desc_80>
|
|
||||||
<Char_Desc_250>Dolibarr è un a gestionale open source e gratuito per piccole e medie imprese, fondazioni e liberi professionisti. Include varie funzionalità per Enterprise Resource Planning e gestione dei clienti (CRM), ma anche ulteriori attività.</Char_Desc_250>
|
|
||||||
<Char_Desc_450>Dolibarr è un programma gestionale open source e gratuito per piccole e medie imprese, fondazioni e liberi professionisti. Include varie funzionalità per Enterprise Resource Planning e gestione dei clienti (CRM), ma anche ulteriori attività. Dolibar è progettato per poter fornire solo ciò di cui hai bisogno ed essere facile da usare.</Char_Desc_450>
|
|
||||||
<Char_Desc_2000>Dolibarr è un programma gestionale open source e gratuito per piccole e medie imprese, fondazioni e liberi professionisti. Include varie funzionalità per Enterprise Resource Planning e gestione dei clienti (CRM), ma anche ulteriori attività. Dolibar è progettato per poter fornire solo ciò di cui hai bisogno ed essere facile da usare. Dolibar è completamente web-based, progettato per poter fornire solo ciò di cui hai bisogno ed essere facile da usare.</Char_Desc_2000>
|
|
||||||
</Italian>
|
|
||||||
</Program_Descriptions>
|
|
||||||
<Web_Info>
|
|
||||||
<Application_URLs>
|
|
||||||
<Application_Info_URL>http://www.nltechno.com/pages/dolibarrwinbin.php</Application_Info_URL>
|
|
||||||
<Application_Order_URL>http://www.nltechno.com/pages/dolibarrwinbin.php</Application_Order_URL>
|
|
||||||
<Application_Screenshot_URL>http://www.dolibarr.org/images/dolibarr_screenshot1.png</Application_Screenshot_URL>
|
|
||||||
<Application_Icon_URL>http://www.dolibarr.org/images/dolibarr.gif</Application_Icon_URL>
|
|
||||||
<Application_XML_File_URL>http://www.dolibarr.org/files/pad_doliwamp.xml</Application_XML_File_URL>
|
|
||||||
</Application_URLs>
|
|
||||||
<Download_URLs>
|
|
||||||
<Primary_Download_URL>http://www.dolibarr.org/files/doliwamp.exe</Primary_Download_URL>
|
|
||||||
<Secondary_Download_URL>http://www.dolibarr.org/files/doliwamp.exe</Secondary_Download_URL>
|
|
||||||
<Additional_Download_URL_1 />
|
|
||||||
<Additional_Download_URL_2 />
|
|
||||||
</Download_URLs>
|
|
||||||
</Web_Info>
|
|
||||||
<Permissions>
|
|
||||||
<Distribution_Permissions>GNU GPL</Distribution_Permissions>
|
|
||||||
<EULA>GNU GPL</EULA>
|
|
||||||
</Permissions>
|
|
||||||
<Affiliates>
|
|
||||||
<Affiliates_FORM>Y</Affiliates_FORM>
|
|
||||||
<Affiliates_VERSION>1.4</Affiliates_VERSION>
|
|
||||||
<Affiliates_URL>http://pad.asp-software.org/extensions/Affiliates.htm</Affiliates_URL>
|
|
||||||
<Affiliates_Information_Page />
|
|
||||||
<Affiliates_Avangate_Order_Page />
|
|
||||||
<Affiliates_Avangate_Vendor_ID />
|
|
||||||
<Affiliates_Avangate_Product_ID />
|
|
||||||
<Affiliates_Avangate_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_BMTMicro_Order_Page />
|
|
||||||
<Affiliates_BMTMicro_Vendor_ID />
|
|
||||||
<Affiliates_BMTMicro_Product_ID />
|
|
||||||
<Affiliates_BMTMicro_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_Cleverbridge_Order_Page />
|
|
||||||
<Affiliates_Cleverbridge_Vendor_ID />
|
|
||||||
<Affiliates_Cleverbridge_Product_ID />
|
|
||||||
<Affiliates_Cleverbridge_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_clixGalore_Order_Page />
|
|
||||||
<Affiliates_clixGalore_Vendor_ID />
|
|
||||||
<Affiliates_clixGalore_Product_ID />
|
|
||||||
<Affiliates_clixGalore_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_CommissionJunction_Order_Page />
|
|
||||||
<Affiliates_CommissionJunction_Vendor_ID />
|
|
||||||
<Affiliates_CommissionJunction_Product_ID />
|
|
||||||
<Affiliates_CommissionJunction_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_DigiBuy_Order_Page />
|
|
||||||
<Affiliates_DigiBuy_Vendor_ID />
|
|
||||||
<Affiliates_DigiBuy_Product_ID />
|
|
||||||
<Affiliates_DigiBuy_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_DigitalCandle_Order_Page />
|
|
||||||
<Affiliates_DigitalCandle_Vendor_ID />
|
|
||||||
<Affiliates_DigitalCandle_Product_ID />
|
|
||||||
<Affiliates_DigitalCandle_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_Emetrix_Order_Page />
|
|
||||||
<Affiliates_Emetrix_Vendor_ID />
|
|
||||||
<Affiliates_Emetrix_Product_ID />
|
|
||||||
<Affiliates_Emetrix_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_eSellerate_Order_Page />
|
|
||||||
<Affiliates_eSellerate_Vendor_ID />
|
|
||||||
<Affiliates_eSellerate_Product_ID />
|
|
||||||
<Affiliates_eSellerate_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_Kagi_Order_Page />
|
|
||||||
<Affiliates_Kagi_Vendor_ID />
|
|
||||||
<Affiliates_Kagi_Product_ID />
|
|
||||||
<Affiliates_Kagi_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_LinkShare_Order_Page />
|
|
||||||
<Affiliates_LinkShare_Vendor_ID />
|
|
||||||
<Affiliates_LinkShare_Product_ID />
|
|
||||||
<Affiliates_LinkShare_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_NorthStarSol_Order_Page />
|
|
||||||
<Affiliates_NorthStarSol_Vendor_ID />
|
|
||||||
<Affiliates_NorthStarSol_Product_ID />
|
|
||||||
<Affiliates_NorthStarSol_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_OneNetworkDirect_Order_Page />
|
|
||||||
<Affiliates_OneNetworkDirect_Vendor_ID />
|
|
||||||
<Affiliates_OneNetworkDirect_Product_ID />
|
|
||||||
<Affiliates_OneNetworkDirect_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_Order1_Order_Page />
|
|
||||||
<Affiliates_Order1_Vendor_ID />
|
|
||||||
<Affiliates_Order1_Product_ID />
|
|
||||||
<Affiliates_Order1_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_Osolis_Order_Page />
|
|
||||||
<Affiliates_Osolis_Vendor_ID />
|
|
||||||
<Affiliates_Osolis_Product_ID />
|
|
||||||
<Affiliates_Osolis_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_Plimus_Order_Page />
|
|
||||||
<Affiliates_Plimus_Vendor_ID />
|
|
||||||
<Affiliates_Plimus_Product_ID />
|
|
||||||
<Affiliates_Plimus_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_Regnet_Order_Page />
|
|
||||||
<Affiliates_Regnet_Vendor_ID />
|
|
||||||
<Affiliates_Regnet_Product_ID />
|
|
||||||
<Affiliates_Regnet_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_Regnow_Order_Page />
|
|
||||||
<Affiliates_Regnow_Vendor_ID />
|
|
||||||
<Affiliates_Regnow_Product_ID />
|
|
||||||
<Affiliates_Regnow_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_Regsoft_Order_Page />
|
|
||||||
<Affiliates_Regsoft_Vendor_ID />
|
|
||||||
<Affiliates_Regsoft_Product_ID />
|
|
||||||
<Affiliates_Regsoft_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_ShareIt_Order_Page />
|
|
||||||
<Affiliates_ShareIt_Vendor_ID />
|
|
||||||
<Affiliates_ShareIt_Product_ID />
|
|
||||||
<Affiliates_ShareIt_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_Shareasale_Order_Page />
|
|
||||||
<Affiliates_Shareasale_Vendor_ID />
|
|
||||||
<Affiliates_Shareasale_Product_ID />
|
|
||||||
<Affiliates_Shareasale_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_SWReg_Order_Page />
|
|
||||||
<Affiliates_SWReg_Vendor_ID />
|
|
||||||
<Affiliates_SWReg_Product_ID />
|
|
||||||
<Affiliates_SWReg_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_V-Share_Order_Page />
|
|
||||||
<Affiliates_V-Share_Vendor_ID />
|
|
||||||
<Affiliates_V-Share_Product_ID />
|
|
||||||
<Affiliates_V-Share_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_VFree_Order_Page />
|
|
||||||
<Affiliates_VFree_Vendor_ID />
|
|
||||||
<Affiliates_VFree_Product_ID />
|
|
||||||
<Affiliates_VFree_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_Yaskifo_Order_Page />
|
|
||||||
<Affiliates_Yaskifo_Vendor_ID />
|
|
||||||
<Affiliates_Yaskifo_Product_ID />
|
|
||||||
<Affiliates_Yaskifo_Maximum_Commission_Rate />
|
|
||||||
</Affiliates>
|
|
||||||
<ASP>
|
|
||||||
<ASP_FORM>Y</ASP_FORM>
|
|
||||||
<ASP_Member>N</ASP_Member>
|
|
||||||
<ASP_Member_Number />
|
|
||||||
</ASP>
|
|
||||||
</PADGEN_PML>
|
|
|
@ -1,31 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" ?>
|
|
||||||
<PADGEN_CML>
|
|
||||||
<AppVerInfo>PADGen 3.1.1.47</AppVerInfo>
|
|
||||||
<Company_Info>
|
|
||||||
<Company_Name>Dolibarr team</Company_Name>
|
|
||||||
<Address_1>11 rue raymond Queneau</Address_1>
|
|
||||||
<Address_2 />
|
|
||||||
<City_Town>Rueil Malmaison</City_Town>
|
|
||||||
<State_Province />
|
|
||||||
<Zip_Postal_Code>92500</Zip_Postal_Code>
|
|
||||||
<Country>FRANCE</Country>
|
|
||||||
<Company_WebSite_URL>http://www.dolibarr.org</Company_WebSite_URL>
|
|
||||||
<Contact_Info>
|
|
||||||
<Author_First_Name>Dolibarr team</Author_First_Name>
|
|
||||||
<Author_Last_Name>Dolibarr team</Author_Last_Name>
|
|
||||||
<Author_Email>dolibarr-dev@nongnu.org</Author_Email>
|
|
||||||
<Contact_First_Name>Dolibarr team</Contact_First_Name>
|
|
||||||
<Contact_Last_Name>Dolibarr team</Contact_Last_Name>
|
|
||||||
<Contact_Email>dolibarr-dev@nongnu.org</Contact_Email>
|
|
||||||
</Contact_Info>
|
|
||||||
<Support_Info>
|
|
||||||
<Sales_Email>dolibarr-dev@nongnu.org</Sales_Email>
|
|
||||||
<Support_Email>dolibarr-dev@nongnu.org</Support_Email>
|
|
||||||
<General_Email>dolibarr-dev@nongnu.org</General_Email>
|
|
||||||
<Sales_Phone />
|
|
||||||
<Support_Phone />
|
|
||||||
<General_Phone />
|
|
||||||
<Fax_Phone />
|
|
||||||
</Support_Info>
|
|
||||||
</Company_Info>
|
|
||||||
</PADGEN_CML>
|
|
|
@ -1,202 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" ?>
|
|
||||||
<PADGEN_PML>
|
|
||||||
<AppVerInfo>PADGen 3.1.1.47</AppVerInfo>
|
|
||||||
<CompanyName />
|
|
||||||
<Program_Info>
|
|
||||||
<Program_Name>Dolibarr</Program_Name>
|
|
||||||
<Program_Version>3.5.0</Program_Version>
|
|
||||||
<Program_Release_Month>01</Program_Release_Month>
|
|
||||||
<Program_Release_Day>01</Program_Release_Day>
|
|
||||||
<Program_Release_Year>2014</Program_Release_Year>
|
|
||||||
<Program_Cost_Dollars />
|
|
||||||
<Program_Cost_Other_Code />
|
|
||||||
<Program_Cost_Other />
|
|
||||||
<Program_Type>Freeware</Program_Type>
|
|
||||||
<Program_Release_Status>Major Update</Program_Release_Status>
|
|
||||||
<Program_Install_Support>No Install Support</Program_Install_Support>
|
|
||||||
<Program_OS_Support>Linux,Mac OS X,Mac Other,Unix,Win2000,Win7 x32,Win7 x64,Win98,WinOther,WinServer,WinVista,WinVista x64,WinXP,Other</Program_OS_Support>
|
|
||||||
<Program_Language>English,Arabic,Catalan,Chinese,Danish,Dutch,Finnish,French,German,Greek,Icelandic,Italian,Norwegian,Polish,Portuguese,Romanian,Russian,Slovenian,Spanish,Swedish,Turkish</Program_Language>
|
|
||||||
<Program_Change_Info>http://www.dolibarr.org</Program_Change_Info>
|
|
||||||
<Program_Specific_Category>Business</Program_Specific_Category>
|
|
||||||
<Program_Category_Class>Business::Accounting & Finance</Program_Category_Class>
|
|
||||||
<Program_System_Requirements>None</Program_System_Requirements>
|
|
||||||
<File_Info>
|
|
||||||
<File_Size_Bytes>9359175</File_Size_Bytes>
|
|
||||||
<File_Size_K>9139</File_Size_K>
|
|
||||||
<File_Size_MB>8.93</File_Size_MB>
|
|
||||||
</File_Info>
|
|
||||||
<Expire_Info>
|
|
||||||
<Has_Expire_Info>N</Has_Expire_Info>
|
|
||||||
<Expire_Count />
|
|
||||||
<Expire_Based_On>Days</Expire_Based_On>
|
|
||||||
<Expire_Other_Info />
|
|
||||||
<Expire_Month />
|
|
||||||
<Expire_Day />
|
|
||||||
<Expire_Year />
|
|
||||||
</Expire_Info>
|
|
||||||
</Program_Info>
|
|
||||||
<Program_Descriptions>
|
|
||||||
<English>
|
|
||||||
<Keywords>dolibarr, erp, crm, invoices, commercial proposals, orders, accounting, stock, products, agenda, bank, business, company, foundation, management, sme, doliwamp</Keywords>
|
|
||||||
<Char_Desc_45>Dolibarr ERP & CRM</Char_Desc_45>
|
|
||||||
<Char_Desc_80>Dolibarr ERP & CRM, the easy to use open source software to manage your activity</Char_Desc_80>
|
|
||||||
<Char_Desc_250>Dolibarr ERP & CRM, the easy to use open source software to manage your activity (invoices, customers, suppliers, contracts, agenda, emailings...) and any other things a small or mid-sized business or a foundation needs to follow.</Char_Desc_250>
|
|
||||||
<Char_Desc_450>Dolibarr ERP & CRM is a software built by modules addition (you enable only features you need), to manage small or medium companies, freelancers or foundations. We can say Dolibarr is an ERP or CRM. Dolibarr is also available with an auto-installer for Windows users with no technical knowledge to install Dolibarr and all its prerequisites (Apache, Mysql, PHP) with just one auto-exe file. See DoliWamp software for this.</Char_Desc_450>
|
|
||||||
<Char_Desc_2000>Dolibarr ERP & CRM is a software built by modules addition (you enable only features you need), to manage small or mid-sized businesses, freelancers or foundations. We can say Dolibarr is an ERP or CRM (or both depending on activated modules). It's an OpenSource project base on a WAMP, MAMP or LAMP server (Apache, Mysql, PHP for all Operating Systems). Dolibarr differs from other ERP or CRM softwares (like OpenAguila, OpenBravo, OpenERP, Neogia, Compiere, etc) because everything was made to be more simple:
|
|
||||||
Simple to install
|
|
||||||
Simple to use
|
|
||||||
Simple to develop
|
|
||||||
Note that Dolibarr is also available with an auto-installer for Windows or Ubuntu users with no technical knowledge to install Dolibarr and all its prerequisites (Apache, Mysql, PHP) with just one auto-exe file. This version is called DoliWamp (for Windows) or DoliBuntu (for Ubuntu/Debian).</Char_Desc_2000>
|
|
||||||
</English>
|
|
||||||
<Italian>
|
|
||||||
<Keywords>erp, crm, gestionale, medie imprese, fondazioni</Keywords>
|
|
||||||
<Char_Desc_45>Gestionale open source e gratuito</Char_Desc_45>
|
|
||||||
<Char_Desc_80>Gestionale open source e gratuito per piccole e medie imprese, fondazioni</Char_Desc_80>
|
|
||||||
<Char_Desc_250>Dolibarr è un a gestionale open source e gratuito per piccole e medie imprese, fondazioni e liberi professionisti. Include varie funzionalità per Enterprise Resource Planning e gestione dei clienti (CRM), ma anche ulteriori attività.</Char_Desc_250>
|
|
||||||
<Char_Desc_450>Dolibarr è un programma gestionale open source e gratuito per piccole e medie imprese, fondazioni e liberi professionisti. Include varie funzionalità per Enterprise Resource Planning e gestione dei clienti (CRM), ma anche ulteriori attività. Dolibar è progettato per poter fornire solo ciò di cui hai bisogno ed essere facile da usare.</Char_Desc_450>
|
|
||||||
<Char_Desc_2000>Dolibarr è un programma gestionale open source e gratuito per piccole e medie imprese, fondazioni e liberi professionisti. Include varie funzionalità per Enterprise Resource Planning e gestione dei clienti (CRM), ma anche ulteriori attività. Dolibar è progettato per poter fornire solo ciò di cui hai bisogno ed essere facile da usare. Dolibar è completamente web-based, progettato per poter fornire solo ciò di cui hai bisogno ed essere facile da usare.</Char_Desc_2000>
|
|
||||||
</Italian>
|
|
||||||
<French>
|
|
||||||
<Keywords>dolibarr, erp, crm, invoices, commercial proposals, orders, accounting, stock, products, agenda, bank, business, company, foundation, management, sme, doliwamp</Keywords>
|
|
||||||
<Char_Desc_45>Dolibarr ERP & CRM</Char_Desc_45>
|
|
||||||
<Char_Desc_80>Dolibarr ERP & CRM, le gestionnaire simple pour gérer votre activité</Char_Desc_80>
|
|
||||||
<Char_Desc_250>Dolibarr ERP & CRM, le logiciel simple et OpenSource pour gérer votre activité (factures, devis, facturation, commandes, compta, trésorerie, stocks, produits, agenda, comptes bancaires, associations)</Char_Desc_250>
|
|
||||||
<Char_Desc_450>Dolibarr ERP/CRM est un logiciel modulaire (on n'active que les fonctions que l'on désire) de gestions de TPE/PME, d'indépendants, d'entrepreneurs ou d'associations. En terme plus techniques, c'est un ERP et CRM. C'est un projet OpenSource qui s'exécute au sein d'un serveur Web et peut donc être accessible depuis n'importe quel lieu disposant d'une connexion Internet (Projet basé sur un serveur WAMP, MAMP ou LAMP: Apache, MySQL, PHP).</Char_Desc_450>
|
|
||||||
<Char_Desc_2000>Dolibarr ERP/CRM est un logiciel modulaire (on n'active que les fonctions que l'on désire) de gestions de TPE/PME, d'indépendants, d'entrepreneurs ou d'associations. En terme plus techniques, c'est un ERP et CRM. C'est un projet OpenSource qui s'exécute au sein d'un serveur Web et peut donc être accessible depuis n'importe quel lieu disposant d'une connexion Internet (Projet basé sur un serveur WAMP, MAMP ou LAMP: Apache, MySQL, PHP). Dolibarr vient compléter les offres déjà nombreuses de logiciels de cette catégorie (comme OpenBravo, OpenERP, SugarCRM, Neogia, Compiere, etc.) mais se démarque par le fait qu'ici tout est fait pour offrir de la simplicité (règle des 3 S):
|
|
||||||
Simple pour l'installation (avec au choix des installeurs clé en main pour ceux qui ignorent comment installer un serveur Web, ou une installation manuelle)
|
|
||||||
Simple pour l'utilisation (fonctions modulaires pour ne pas surcharger les menus, informations claires à la saisie)
|
|
||||||
Simple pour le développement (pas de frameworks lourds).
|
|
||||||
Dolibarr intègre en effet sa propre architecture (design patterns) permettant à tout développeur d'être tout de suite opérationnel sans connaissances particulières autre que le PHP. </Char_Desc_2000>
|
|
||||||
</French>
|
|
||||||
</Program_Descriptions>
|
|
||||||
<Web_Info>
|
|
||||||
<Application_URLs>
|
|
||||||
<Application_Info_URL>http://www.dolibarr.org</Application_Info_URL>
|
|
||||||
<Application_Order_URL>http://www.dolibarr.org</Application_Order_URL>
|
|
||||||
<Application_Screenshot_URL>http://www.dolibarr.org/images/dolibarr_screenshot1.png</Application_Screenshot_URL>
|
|
||||||
<Application_Icon_URL>http://www.dolibarr.org/images/dolibarr.gif</Application_Icon_URL>
|
|
||||||
<Application_XML_File_URL>http://www.dolibarr.org/files/pad_dolibarr.xml</Application_XML_File_URL>
|
|
||||||
</Application_URLs>
|
|
||||||
<Download_URLs>
|
|
||||||
<Primary_Download_URL>http://www.dolibarr.org/files/dolibarr.tgz</Primary_Download_URL>
|
|
||||||
<Secondary_Download_URL>http://www.dolibarr.org/files/dolibarr.tgz</Secondary_Download_URL>
|
|
||||||
<Additional_Download_URL_1 />
|
|
||||||
<Additional_Download_URL_2 />
|
|
||||||
</Download_URLs>
|
|
||||||
</Web_Info>
|
|
||||||
<Permissions>
|
|
||||||
<Distribution_Permissions>GNU GPL</Distribution_Permissions>
|
|
||||||
<EULA>GNU GPL</EULA>
|
|
||||||
</Permissions>
|
|
||||||
<Affiliates>
|
|
||||||
<Affiliates_FORM>Y</Affiliates_FORM>
|
|
||||||
<Affiliates_VERSION>1.4</Affiliates_VERSION>
|
|
||||||
<Affiliates_URL>http://pad.asp-software.org/extensions/Affiliates.htm</Affiliates_URL>
|
|
||||||
<Affiliates_Information_Page />
|
|
||||||
<Affiliates_Avangate_Order_Page />
|
|
||||||
<Affiliates_Avangate_Vendor_ID />
|
|
||||||
<Affiliates_Avangate_Product_ID />
|
|
||||||
<Affiliates_Avangate_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_BMTMicro_Order_Page />
|
|
||||||
<Affiliates_BMTMicro_Vendor_ID />
|
|
||||||
<Affiliates_BMTMicro_Product_ID />
|
|
||||||
<Affiliates_BMTMicro_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_Cleverbridge_Order_Page />
|
|
||||||
<Affiliates_Cleverbridge_Vendor_ID />
|
|
||||||
<Affiliates_Cleverbridge_Product_ID />
|
|
||||||
<Affiliates_Cleverbridge_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_clixGalore_Order_Page />
|
|
||||||
<Affiliates_clixGalore_Vendor_ID />
|
|
||||||
<Affiliates_clixGalore_Product_ID />
|
|
||||||
<Affiliates_clixGalore_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_CommissionJunction_Order_Page />
|
|
||||||
<Affiliates_CommissionJunction_Vendor_ID />
|
|
||||||
<Affiliates_CommissionJunction_Product_ID />
|
|
||||||
<Affiliates_CommissionJunction_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_DigiBuy_Order_Page />
|
|
||||||
<Affiliates_DigiBuy_Vendor_ID />
|
|
||||||
<Affiliates_DigiBuy_Product_ID />
|
|
||||||
<Affiliates_DigiBuy_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_DigitalCandle_Order_Page />
|
|
||||||
<Affiliates_DigitalCandle_Vendor_ID />
|
|
||||||
<Affiliates_DigitalCandle_Product_ID />
|
|
||||||
<Affiliates_DigitalCandle_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_Emetrix_Order_Page />
|
|
||||||
<Affiliates_Emetrix_Vendor_ID />
|
|
||||||
<Affiliates_Emetrix_Product_ID />
|
|
||||||
<Affiliates_Emetrix_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_eSellerate_Order_Page />
|
|
||||||
<Affiliates_eSellerate_Vendor_ID />
|
|
||||||
<Affiliates_eSellerate_Product_ID />
|
|
||||||
<Affiliates_eSellerate_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_Kagi_Order_Page />
|
|
||||||
<Affiliates_Kagi_Vendor_ID />
|
|
||||||
<Affiliates_Kagi_Product_ID />
|
|
||||||
<Affiliates_Kagi_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_LinkShare_Order_Page />
|
|
||||||
<Affiliates_LinkShare_Vendor_ID />
|
|
||||||
<Affiliates_LinkShare_Product_ID />
|
|
||||||
<Affiliates_LinkShare_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_NorthStarSol_Order_Page />
|
|
||||||
<Affiliates_NorthStarSol_Vendor_ID />
|
|
||||||
<Affiliates_NorthStarSol_Product_ID />
|
|
||||||
<Affiliates_NorthStarSol_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_OneNetworkDirect_Order_Page />
|
|
||||||
<Affiliates_OneNetworkDirect_Vendor_ID />
|
|
||||||
<Affiliates_OneNetworkDirect_Product_ID />
|
|
||||||
<Affiliates_OneNetworkDirect_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_Order1_Order_Page />
|
|
||||||
<Affiliates_Order1_Vendor_ID />
|
|
||||||
<Affiliates_Order1_Product_ID />
|
|
||||||
<Affiliates_Order1_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_Osolis_Order_Page />
|
|
||||||
<Affiliates_Osolis_Vendor_ID />
|
|
||||||
<Affiliates_Osolis_Product_ID />
|
|
||||||
<Affiliates_Osolis_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_Plimus_Order_Page />
|
|
||||||
<Affiliates_Plimus_Vendor_ID />
|
|
||||||
<Affiliates_Plimus_Product_ID />
|
|
||||||
<Affiliates_Plimus_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_Regnet_Order_Page />
|
|
||||||
<Affiliates_Regnet_Vendor_ID />
|
|
||||||
<Affiliates_Regnet_Product_ID />
|
|
||||||
<Affiliates_Regnet_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_Regnow_Order_Page />
|
|
||||||
<Affiliates_Regnow_Vendor_ID />
|
|
||||||
<Affiliates_Regnow_Product_ID />
|
|
||||||
<Affiliates_Regnow_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_Regsoft_Order_Page />
|
|
||||||
<Affiliates_Regsoft_Vendor_ID />
|
|
||||||
<Affiliates_Regsoft_Product_ID />
|
|
||||||
<Affiliates_Regsoft_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_ShareIt_Order_Page />
|
|
||||||
<Affiliates_ShareIt_Vendor_ID />
|
|
||||||
<Affiliates_ShareIt_Product_ID />
|
|
||||||
<Affiliates_ShareIt_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_Shareasale_Order_Page />
|
|
||||||
<Affiliates_Shareasale_Vendor_ID />
|
|
||||||
<Affiliates_Shareasale_Product_ID />
|
|
||||||
<Affiliates_Shareasale_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_SWReg_Order_Page />
|
|
||||||
<Affiliates_SWReg_Vendor_ID />
|
|
||||||
<Affiliates_SWReg_Product_ID />
|
|
||||||
<Affiliates_SWReg_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_V-Share_Order_Page />
|
|
||||||
<Affiliates_V-Share_Vendor_ID />
|
|
||||||
<Affiliates_V-Share_Product_ID />
|
|
||||||
<Affiliates_V-Share_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_VFree_Order_Page />
|
|
||||||
<Affiliates_VFree_Vendor_ID />
|
|
||||||
<Affiliates_VFree_Product_ID />
|
|
||||||
<Affiliates_VFree_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_Yaskifo_Order_Page />
|
|
||||||
<Affiliates_Yaskifo_Vendor_ID />
|
|
||||||
<Affiliates_Yaskifo_Product_ID />
|
|
||||||
<Affiliates_Yaskifo_Maximum_Commission_Rate />
|
|
||||||
</Affiliates>
|
|
||||||
<ASP>
|
|
||||||
<ASP_FORM>Y</ASP_FORM>
|
|
||||||
<ASP_Member>N</ASP_Member>
|
|
||||||
<ASP_Member_Number />
|
|
||||||
</ASP>
|
|
||||||
</PADGEN_PML>
|
|
|
@ -1,31 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" ?>
|
|
||||||
<PADGEN_CML>
|
|
||||||
<AppVerInfo>PADGen 3.1.1.47</AppVerInfo>
|
|
||||||
<Company_Info>
|
|
||||||
<Company_Name>NLTechno</Company_Name>
|
|
||||||
<Address_1>11 Rue raymond Queneau</Address_1>
|
|
||||||
<Address_2 />
|
|
||||||
<City_Town>Rueil Malmaison</City_Town>
|
|
||||||
<State_Province />
|
|
||||||
<Zip_Postal_Code>92500</Zip_Postal_Code>
|
|
||||||
<Country>FRANCE</Country>
|
|
||||||
<Company_WebSite_URL>http://www.nltechno.com</Company_WebSite_URL>
|
|
||||||
<Contact_Info>
|
|
||||||
<Author_First_Name>NLTechno</Author_First_Name>
|
|
||||||
<Author_Last_Name>NLTechno</Author_Last_Name>
|
|
||||||
<Author_Email>dolibarr@nltechno.com</Author_Email>
|
|
||||||
<Contact_First_Name>NLTechno</Contact_First_Name>
|
|
||||||
<Contact_Last_Name>NLTechno</Contact_Last_Name>
|
|
||||||
<Contact_Email>dolibarr@nltechno.com</Contact_Email>
|
|
||||||
</Contact_Info>
|
|
||||||
<Support_Info>
|
|
||||||
<Sales_Email>dolibarr@nltechno.com</Sales_Email>
|
|
||||||
<Support_Email>dolibarr@nltechno.com</Support_Email>
|
|
||||||
<General_Email>dolibarr@nltechno.com</General_Email>
|
|
||||||
<Sales_Phone />
|
|
||||||
<Support_Phone />
|
|
||||||
<General_Phone />
|
|
||||||
<Fax_Phone />
|
|
||||||
</Support_Info>
|
|
||||||
</Company_Info>
|
|
||||||
</PADGEN_CML>
|
|
|
@ -1,10 +0,0 @@
|
||||||
README (English)
|
|
||||||
##################################################
|
|
||||||
Building PAD files
|
|
||||||
##################################################
|
|
||||||
|
|
||||||
This directory contains files and docs used to build
|
|
||||||
PAD files for Dolibarr and DoliWamp.
|
|
||||||
PAD files are files to describe a software to submit
|
|
||||||
easily its description in one way to several software
|
|
||||||
directories.
|
|
|
@ -1,232 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" ?>
|
|
||||||
<XML_DIZ_INFO>
|
|
||||||
<MASTER_PAD_VERSION_INFO>
|
|
||||||
<MASTER_PAD_VERSION>3.11</MASTER_PAD_VERSION>
|
|
||||||
<MASTER_PAD_EDITOR>PADGen 3.1.1.47 http://www.padgen.org</MASTER_PAD_EDITOR>
|
|
||||||
<MASTER_PAD_INFO>Portable Application Description, or PAD for short, is a data set that is used by shareware authors to disseminate information to anyone interested in their software products. To find out more go to http://pad.asp-software.org</MASTER_PAD_INFO>
|
|
||||||
</MASTER_PAD_VERSION_INFO>
|
|
||||||
<Company_Info>
|
|
||||||
<Company_Name>Dolibarr team</Company_Name>
|
|
||||||
<Address_1>11 rue raymond Queneau</Address_1>
|
|
||||||
<Address_2 />
|
|
||||||
<City_Town>Rueil Malmaison</City_Town>
|
|
||||||
<State_Province />
|
|
||||||
<Zip_Postal_Code>92500</Zip_Postal_Code>
|
|
||||||
<Country>FRANCE</Country>
|
|
||||||
<Company_WebSite_URL>http://www.dolibarr.org</Company_WebSite_URL>
|
|
||||||
<Contact_Info>
|
|
||||||
<Author_First_Name>Dolibarr team</Author_First_Name>
|
|
||||||
<Author_Last_Name>Dolibarr team</Author_Last_Name>
|
|
||||||
<Author_Email>dolibarr-dev@nongnu.org</Author_Email>
|
|
||||||
<Contact_First_Name>Dolibarr team</Contact_First_Name>
|
|
||||||
<Contact_Last_Name>Dolibarr team</Contact_Last_Name>
|
|
||||||
<Contact_Email>dolibarr-dev@nongnu.org</Contact_Email>
|
|
||||||
</Contact_Info>
|
|
||||||
<Support_Info>
|
|
||||||
<Sales_Email>dolibarr-dev@nongnu.org</Sales_Email>
|
|
||||||
<Support_Email>dolibarr-dev@nongnu.org</Support_Email>
|
|
||||||
<General_Email>dolibarr-dev@nongnu.org</General_Email>
|
|
||||||
<Sales_Phone />
|
|
||||||
<Support_Phone />
|
|
||||||
<General_Phone />
|
|
||||||
<Fax_Phone />
|
|
||||||
</Support_Info>
|
|
||||||
</Company_Info>
|
|
||||||
<Program_Info>
|
|
||||||
<Program_Name>Dolibarr</Program_Name>
|
|
||||||
<Program_Version>3.5</Program_Version>
|
|
||||||
<Program_Release_Month>01</Program_Release_Month>
|
|
||||||
<Program_Release_Day>01</Program_Release_Day>
|
|
||||||
<Program_Release_Year>2014</Program_Release_Year>
|
|
||||||
<Program_Cost_Dollars />
|
|
||||||
<Program_Cost_Other_Code />
|
|
||||||
<Program_Cost_Other />
|
|
||||||
<Program_Type>Freeware</Program_Type>
|
|
||||||
<Program_Release_Status>Major Update</Program_Release_Status>
|
|
||||||
<Program_Install_Support>No Install Support</Program_Install_Support>
|
|
||||||
<Program_OS_Support>Linux,Mac OS X,Mac Other,Unix,Win2000,Win7 x32,Win7 x64,Win98,WinOther,WinServer,WinVista,WinVista x64,WinXP,Other</Program_OS_Support>
|
|
||||||
<Program_Language>English,Arabic,Catalan,Chinese,Danish,Dutch,Finnish,French,German,Greek,Icelandic,Italian,Norwegian,Polish,Portuguese,Romanian,Russian,Slovenian,Spanish,Swedish,Turkish</Program_Language>
|
|
||||||
<Program_Change_Info>Increase performances, Setup process is easier, Reduce number of clicks required to use software</Program_Change_Info>
|
|
||||||
<Program_Specific_Category>Business</Program_Specific_Category>
|
|
||||||
<Program_Category_Class>Business::Accounting & Finance</Program_Category_Class>
|
|
||||||
<Program_System_Requirements>None</Program_System_Requirements>
|
|
||||||
<File_Info>
|
|
||||||
<File_Size_Bytes>18037439</File_Size_Bytes>
|
|
||||||
<File_Size_K>18037</File_Size_K>
|
|
||||||
<File_Size_MB>18.03</File_Size_MB>
|
|
||||||
</File_Info>
|
|
||||||
<Expire_Info>
|
|
||||||
<Has_Expire_Info>N</Has_Expire_Info>
|
|
||||||
<Expire_Count />
|
|
||||||
<Expire_Based_On>Days</Expire_Based_On>
|
|
||||||
<Expire_Other_Info />
|
|
||||||
<Expire_Month />
|
|
||||||
<Expire_Day />
|
|
||||||
<Expire_Year />
|
|
||||||
</Expire_Info>
|
|
||||||
</Program_Info>
|
|
||||||
<Program_Descriptions>
|
|
||||||
<English>
|
|
||||||
<Keywords>dolibarr, erp, crm, invoices, commercial proposals, orders, accounting, stock, products, agenda, bank, business, company, foundation, management, sme, doliwamp</Keywords>
|
|
||||||
<Char_Desc_45>Dolibarr ERP & CRM</Char_Desc_45>
|
|
||||||
<Char_Desc_80>Dolibarr ERP & CRM, the easy to use open source software to manage your activity</Char_Desc_80>
|
|
||||||
<Char_Desc_250>Dolibarr ERP & CRM, the easy to use open source software to manage your activity (invoices, customers, suppliers, contracts, agenda, emailings...) and any other things a small or mid-sized business or a foundation needs to manage.</Char_Desc_250>
|
|
||||||
<Char_Desc_450>Dolibarr ERP & CRM is a software built by modules addition (you enable only features you need), to manage small or medium companies, freelancers or foundations. We can say Dolibarr is an ERP or CRM. Dolibarr is also available with an auto-installer for Windows users with no technical knowledge to install Dolibarr and all its prerequisites (Apache, Mysql, PHP) with just one auto-exe file. See DoliWamp software for this.</Char_Desc_450>
|
|
||||||
<Char_Desc_2000>Dolibarr ERP & CRM is a software built by modules addition (you enable only features you need), to manage small or mid-sized businesses, freelancers or foundations. We can say Dolibarr is an ERP or CRM (or both depending on activated modules). It's an OpenSource project base on a WAMP, MAMP or LAMP server (Apache, Mysql, PHP for all Operating Systems). Dolibarr differs from other ERP or CRM softwares (like OpenAguila, OpenBravo, OpenERP, Neogia, Compiere, etc) because everything was made to be more simple:
|
|
||||||
Simple to install
|
|
||||||
Simple to use
|
|
||||||
Simple to develop
|
|
||||||
Note that Dolibarr is also available with an auto-installer for Windows or Ubuntu users with no technical knowledge to install Dolibarr and all its prerequisites (Apache, Mysql, PHP) with just one auto-exe file. This version is called DoliWamp (for Windows) or DoliBuntu (for Ubuntu/Debian).</Char_Desc_2000>
|
|
||||||
</English>
|
|
||||||
<French>
|
|
||||||
<Keywords>dolibarr, erp, crm, invoices, commercial proposals, orders, accounting, stock, products, agenda, bank, business, company, foundation, management, sme, doliwamp</Keywords>
|
|
||||||
<Char_Desc_45>Dolibarr ERP & CRM</Char_Desc_45>
|
|
||||||
<Char_Desc_80>Dolibarr ERP & CRM, le gestionnaire simple pour gérer votre activité</Char_Desc_80>
|
|
||||||
<Char_Desc_250>Dolibarr ERP & CRM, le logiciel simple et OpenSource pour gérer votre activité (factures, devis, facturation, commandes, compta, trésorerie, stocks, produits, agenda, comptes bancaires, associations)</Char_Desc_250>
|
|
||||||
<Char_Desc_450>Dolibarr ERP & CRM est un logiciel modulaire (on n'active que les fonctions que l'on désire) de gestions de TPE/PME, d'indépendants, d'entrepreneurs ou d'associations. En terme plus techniques, c'est un ERP et CRM. C'est un projet OpenSource qui s'exécute au sein d'un serveur Web et peut donc être accessible depuis n'importe quel lieu disposant d'une connexion Internet (Projet basé sur un serveur WAMP, MAMP ou LAMP: Apache, MySQL, PHP).</Char_Desc_450>
|
|
||||||
<Char_Desc_2000>Dolibarr ERP & CRM est un logiciel modulaire (on n'active que les fonctions que l'on désire) de gestions de TPE/PME, d'indépendants, d'entrepreneurs ou d'associations. En terme plus techniques, c'est un ERP et CRM. C'est un projet OpenSource qui s'exécute au sein d'un serveur Web et peut donc être accessible depuis n'importe quel lieu disposant d'une connexion Internet (Projet basé sur un serveur WAMP, MAMP ou LAMP: Apache, MySQL, PHP). Dolibarr vient compléter les offres déjà nombreuses de logiciels de cette catégorie (comme OpenBravo, OpenERP, SugarCRM, Neogia, Compiere, etc.) mais se démarque par le fait qu'ici tout est fait pour offrir de la simplicité (règle des 3 S):
|
|
||||||
Simple pour l'installation (avec au choix des installeurs clé en main pour ceux qui ignorent comment installer un serveur Web, ou une installation manuelle)
|
|
||||||
Simple pour l'utilisation (fonctions modulaires pour ne pas surcharger les menus, informations claires à la saisie)
|
|
||||||
Simple pour le développement (pas de frameworks lourds).
|
|
||||||
Dolibarr intègre en effet sa propre architecture (design patterns) permettant à tout développeur d'être tout de suite opérationnel sans connaissances particulières autre que le PHP. </Char_Desc_2000>
|
|
||||||
</French>
|
|
||||||
<Italian>
|
|
||||||
<Keywords>erp, crm, gestionale, medie imprese, fondazioni</Keywords>
|
|
||||||
<Char_Desc_45>Gestionale open source e gratuito</Char_Desc_45>
|
|
||||||
<Char_Desc_80>Gestionale open source e gratuito per piccole e medie imprese, fondazioni</Char_Desc_80>
|
|
||||||
<Char_Desc_250>Dolibarr è un a gestionale open source e gratuito per piccole e medie imprese, fondazioni e liberi professionisti. Include varie funzionalità per Enterprise Resource Planning e gestione dei clienti (CRM), ma anche ulteriori attività.</Char_Desc_250>
|
|
||||||
<Char_Desc_450>Dolibarr è un programma gestionale open source e gratuito per piccole e medie imprese, fondazioni e liberi professionisti. Include varie funzionalità per Enterprise Resource Planning e gestione dei clienti (CRM), ma anche ulteriori attività. Dolibar è progettato per poter fornire solo ciò di cui hai bisogno ed essere facile da usare.</Char_Desc_450>
|
|
||||||
<Char_Desc_2000>Dolibarr è un programma gestionale open source e gratuito per piccole e medie imprese, fondazioni e liberi professionisti. Include varie funzionalità per Enterprise Resource Planning e gestione dei clienti (CRM), ma anche ulteriori attività. Dolibar è progettato per poter fornire solo ciò di cui hai bisogno ed essere facile da usare. Dolibar è completamente web-based, progettato per poter fornire solo ciò di cui hai bisogno ed essere facile da usare.</Char_Desc_2000>
|
|
||||||
</Italian>
|
|
||||||
</Program_Descriptions>
|
|
||||||
<Web_Info>
|
|
||||||
<Application_URLs>
|
|
||||||
<Application_Info_URL>http://www.dolibarr.org</Application_Info_URL>
|
|
||||||
<Application_Order_URL>http://www.dolibarr.org</Application_Order_URL>
|
|
||||||
<Application_Screenshot_URL>http://www.dolibarr.org/images/dolibarr_screenshot1.png</Application_Screenshot_URL>
|
|
||||||
<Application_Icon_URL>http://www.dolibarr.org/images/dolibarr.gif</Application_Icon_URL>
|
|
||||||
<Application_XML_File_URL>http://www.dolibarr.org/files/pad_dolibarr.xml</Application_XML_File_URL>
|
|
||||||
</Application_URLs>
|
|
||||||
<Download_URLs>
|
|
||||||
<Primary_Download_URL>http://www.dolibarr.org/files/dolibarr.tgz</Primary_Download_URL>
|
|
||||||
<Secondary_Download_URL>http://www.dolibarr.org/files/dolibarr.tgz</Secondary_Download_URL>
|
|
||||||
<Additional_Download_URL_1 />
|
|
||||||
<Additional_Download_URL_2 />
|
|
||||||
</Download_URLs>
|
|
||||||
</Web_Info>
|
|
||||||
<Permissions>
|
|
||||||
<Distribution_Permissions>GNU GPL</Distribution_Permissions>
|
|
||||||
<EULA>GNU GPL</EULA>
|
|
||||||
</Permissions>
|
|
||||||
<Affiliates>
|
|
||||||
<Affiliates_FORM>Y</Affiliates_FORM>
|
|
||||||
<Affiliates_VERSION>1.4</Affiliates_VERSION>
|
|
||||||
<Affiliates_URL>http://pad.asp-software.org/extensions/Affiliates.htm</Affiliates_URL>
|
|
||||||
<Affiliates_Information_Page />
|
|
||||||
<Affiliates_Avangate_Order_Page />
|
|
||||||
<Affiliates_Avangate_Vendor_ID />
|
|
||||||
<Affiliates_Avangate_Product_ID />
|
|
||||||
<Affiliates_Avangate_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_BMTMicro_Order_Page />
|
|
||||||
<Affiliates_BMTMicro_Vendor_ID />
|
|
||||||
<Affiliates_BMTMicro_Product_ID />
|
|
||||||
<Affiliates_BMTMicro_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_Cleverbridge_Order_Page />
|
|
||||||
<Affiliates_Cleverbridge_Vendor_ID />
|
|
||||||
<Affiliates_Cleverbridge_Product_ID />
|
|
||||||
<Affiliates_Cleverbridge_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_clixGalore_Order_Page />
|
|
||||||
<Affiliates_clixGalore_Vendor_ID />
|
|
||||||
<Affiliates_clixGalore_Product_ID />
|
|
||||||
<Affiliates_clixGalore_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_CommissionJunction_Order_Page />
|
|
||||||
<Affiliates_CommissionJunction_Vendor_ID />
|
|
||||||
<Affiliates_CommissionJunction_Product_ID />
|
|
||||||
<Affiliates_CommissionJunction_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_DigiBuy_Order_Page />
|
|
||||||
<Affiliates_DigiBuy_Vendor_ID />
|
|
||||||
<Affiliates_DigiBuy_Product_ID />
|
|
||||||
<Affiliates_DigiBuy_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_DigitalCandle_Order_Page />
|
|
||||||
<Affiliates_DigitalCandle_Vendor_ID />
|
|
||||||
<Affiliates_DigitalCandle_Product_ID />
|
|
||||||
<Affiliates_DigitalCandle_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_Emetrix_Order_Page />
|
|
||||||
<Affiliates_Emetrix_Vendor_ID />
|
|
||||||
<Affiliates_Emetrix_Product_ID />
|
|
||||||
<Affiliates_Emetrix_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_eSellerate_Order_Page />
|
|
||||||
<Affiliates_eSellerate_Vendor_ID />
|
|
||||||
<Affiliates_eSellerate_Product_ID />
|
|
||||||
<Affiliates_eSellerate_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_Kagi_Order_Page />
|
|
||||||
<Affiliates_Kagi_Vendor_ID />
|
|
||||||
<Affiliates_Kagi_Product_ID />
|
|
||||||
<Affiliates_Kagi_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_LinkShare_Order_Page />
|
|
||||||
<Affiliates_LinkShare_Vendor_ID />
|
|
||||||
<Affiliates_LinkShare_Product_ID />
|
|
||||||
<Affiliates_LinkShare_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_NorthStarSol_Order_Page />
|
|
||||||
<Affiliates_NorthStarSol_Vendor_ID />
|
|
||||||
<Affiliates_NorthStarSol_Product_ID />
|
|
||||||
<Affiliates_NorthStarSol_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_OneNetworkDirect_Order_Page />
|
|
||||||
<Affiliates_OneNetworkDirect_Vendor_ID />
|
|
||||||
<Affiliates_OneNetworkDirect_Product_ID />
|
|
||||||
<Affiliates_OneNetworkDirect_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_Order1_Order_Page />
|
|
||||||
<Affiliates_Order1_Vendor_ID />
|
|
||||||
<Affiliates_Order1_Product_ID />
|
|
||||||
<Affiliates_Order1_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_Osolis_Order_Page />
|
|
||||||
<Affiliates_Osolis_Vendor_ID />
|
|
||||||
<Affiliates_Osolis_Product_ID />
|
|
||||||
<Affiliates_Osolis_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_Plimus_Order_Page />
|
|
||||||
<Affiliates_Plimus_Vendor_ID />
|
|
||||||
<Affiliates_Plimus_Product_ID />
|
|
||||||
<Affiliates_Plimus_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_Regnet_Order_Page />
|
|
||||||
<Affiliates_Regnet_Vendor_ID />
|
|
||||||
<Affiliates_Regnet_Product_ID />
|
|
||||||
<Affiliates_Regnet_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_Regnow_Order_Page />
|
|
||||||
<Affiliates_Regnow_Vendor_ID />
|
|
||||||
<Affiliates_Regnow_Product_ID />
|
|
||||||
<Affiliates_Regnow_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_Regsoft_Order_Page />
|
|
||||||
<Affiliates_Regsoft_Vendor_ID />
|
|
||||||
<Affiliates_Regsoft_Product_ID />
|
|
||||||
<Affiliates_Regsoft_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_ShareIt_Order_Page />
|
|
||||||
<Affiliates_ShareIt_Vendor_ID />
|
|
||||||
<Affiliates_ShareIt_Product_ID />
|
|
||||||
<Affiliates_ShareIt_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_Shareasale_Order_Page />
|
|
||||||
<Affiliates_Shareasale_Vendor_ID />
|
|
||||||
<Affiliates_Shareasale_Product_ID />
|
|
||||||
<Affiliates_Shareasale_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_SWReg_Order_Page />
|
|
||||||
<Affiliates_SWReg_Vendor_ID />
|
|
||||||
<Affiliates_SWReg_Product_ID />
|
|
||||||
<Affiliates_SWReg_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_V-Share_Order_Page />
|
|
||||||
<Affiliates_V-Share_Vendor_ID />
|
|
||||||
<Affiliates_V-Share_Product_ID />
|
|
||||||
<Affiliates_V-Share_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_VFree_Order_Page />
|
|
||||||
<Affiliates_VFree_Vendor_ID />
|
|
||||||
<Affiliates_VFree_Product_ID />
|
|
||||||
<Affiliates_VFree_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_Yaskifo_Order_Page />
|
|
||||||
<Affiliates_Yaskifo_Vendor_ID />
|
|
||||||
<Affiliates_Yaskifo_Product_ID />
|
|
||||||
<Affiliates_Yaskifo_Maximum_Commission_Rate />
|
|
||||||
</Affiliates>
|
|
||||||
<ASP>
|
|
||||||
<ASP_FORM>Y</ASP_FORM>
|
|
||||||
<ASP_Member>N</ASP_Member>
|
|
||||||
<ASP_Member_Number />
|
|
||||||
</ASP>
|
|
||||||
</XML_DIZ_INFO>
|
|
|
@ -1,225 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" ?>
|
|
||||||
<XML_DIZ_INFO>
|
|
||||||
<MASTER_PAD_VERSION_INFO>
|
|
||||||
<MASTER_PAD_VERSION>3.11</MASTER_PAD_VERSION>
|
|
||||||
<MASTER_PAD_EDITOR>PADGen 3.1.1.47 http://www.padgen.org</MASTER_PAD_EDITOR>
|
|
||||||
<MASTER_PAD_INFO>Portable Application Description, or PAD for short, is a data set that is used by shareware authors to disseminate information to anyone interested in their software products. To find out more go to http://pad.asp-software.org</MASTER_PAD_INFO>
|
|
||||||
</MASTER_PAD_VERSION_INFO>
|
|
||||||
<Company_Info>
|
|
||||||
<Company_Name>NLTechno</Company_Name>
|
|
||||||
<Address_1>11 Rue raymond Queneau</Address_1>
|
|
||||||
<Address_2 />
|
|
||||||
<City_Town>Rueil Malmaison</City_Town>
|
|
||||||
<State_Province />
|
|
||||||
<Zip_Postal_Code>92500</Zip_Postal_Code>
|
|
||||||
<Country>FRANCE</Country>
|
|
||||||
<Company_WebSite_URL>http://www.nltechno.com</Company_WebSite_URL>
|
|
||||||
<Contact_Info>
|
|
||||||
<Author_First_Name>NLTechno</Author_First_Name>
|
|
||||||
<Author_Last_Name>NLTechno</Author_Last_Name>
|
|
||||||
<Author_Email>contact@nltechno.com</Author_Email>
|
|
||||||
<Contact_First_Name>NLTechno</Contact_First_Name>
|
|
||||||
<Contact_Last_Name>NLTechno</Contact_Last_Name>
|
|
||||||
<Contact_Email>contact@nltechno.com</Contact_Email>
|
|
||||||
</Contact_Info>
|
|
||||||
<Support_Info>
|
|
||||||
<Sales_Email>support@nltechno.com</Sales_Email>
|
|
||||||
<Support_Email>support@nltechno.com</Support_Email>
|
|
||||||
<General_Email>support@nltechno.com</General_Email>
|
|
||||||
<Sales_Phone />
|
|
||||||
<Support_Phone />
|
|
||||||
<General_Phone />
|
|
||||||
<Fax_Phone />
|
|
||||||
</Support_Info>
|
|
||||||
</Company_Info>
|
|
||||||
<Program_Info>
|
|
||||||
<Program_Name>DoliWamp</Program_Name>
|
|
||||||
<Program_Version>3.5</Program_Version>
|
|
||||||
<Program_Release_Month>01</Program_Release_Month>
|
|
||||||
<Program_Release_Day>01</Program_Release_Day>
|
|
||||||
<Program_Release_Year>2014</Program_Release_Year>
|
|
||||||
<Program_Cost_Dollars />
|
|
||||||
<Program_Cost_Other_Code />
|
|
||||||
<Program_Cost_Other />
|
|
||||||
<Program_Type>Freeware</Program_Type>
|
|
||||||
<Program_Release_Status>Major Update</Program_Release_Status>
|
|
||||||
<Program_Install_Support>Install and Uninstall</Program_Install_Support>
|
|
||||||
<Program_OS_Support>Win2000,Win7 x32,Win7 x64,Win98,WinOther,WinServer,WinVista,WinVista x64,WinXP,Other</Program_OS_Support>
|
|
||||||
<Program_Language>English,Arabic,Catalan,Chinese,Dutch,Finnish,French,German,Icelandic,Italian,Norwegian,Polish,Portuguese,Romanian,Russian,Slovenian,Spanish,Swedish,Turkish</Program_Language>
|
|
||||||
<Program_Change_Info>Increase performances, Setup process is easier, Reduce number of clicks required to use software</Program_Change_Info>
|
|
||||||
<Program_Specific_Category>Business</Program_Specific_Category>
|
|
||||||
<Program_Category_Class>Business::Accounting & Finance</Program_Category_Class>
|
|
||||||
<Program_System_Requirements>None</Program_System_Requirements>
|
|
||||||
<File_Info>
|
|
||||||
<File_Size_Bytes>26048004</File_Size_Bytes>
|
|
||||||
<File_Size_K>25437</File_Size_K>
|
|
||||||
<File_Size_MB>24.84</File_Size_MB>
|
|
||||||
</File_Info>
|
|
||||||
<Expire_Info>
|
|
||||||
<Has_Expire_Info>N</Has_Expire_Info>
|
|
||||||
<Expire_Count />
|
|
||||||
<Expire_Based_On>Days</Expire_Based_On>
|
|
||||||
<Expire_Other_Info />
|
|
||||||
<Expire_Month />
|
|
||||||
<Expire_Day />
|
|
||||||
<Expire_Year />
|
|
||||||
</Expire_Info>
|
|
||||||
</Program_Info>
|
|
||||||
<Program_Descriptions>
|
|
||||||
<English>
|
|
||||||
<Keywords>doliwamp, dolibarr, erp, crm, invoices, commercial proposals, orders, accounting, stock, products, agenda, bank, business, company, foundation, management</Keywords>
|
|
||||||
<Char_Desc_45>DoliWamp, Dolibarr ERP/CRM for Windows</Char_Desc_45>
|
|
||||||
<Char_Desc_80>DoliWamp, the easy to use Dolibarr for Windows to manage your company,foundation</Char_Desc_80>
|
|
||||||
<Char_Desc_250>DoliWamp is the Dolibarr ERP/CRM for Windows, the easy to use open source software to manage your activity (invoices, customers, suppliers, contracts, agenda, emailings...) and any other things a small or mid-sized business or a foundation needs.</Char_Desc_250>
|
|
||||||
<Char_Desc_450>DoliWamp is the Dolibarr ERP/CRM autoinstaller for Windows users with no technical knowledge to install Dolibarr and all its prerequisites (Apache, Mysql, PHP) with just one auto-exe file. Dolibarr ERP/CRM is a software built by modules addition (you enable only features you need), to manage small or mid-sized businesses, freelancers or foundations.</Char_Desc_450>
|
|
||||||
<Char_Desc_2000>DoliWamp is the Dolibarr ERP/CRM for Windows. Dolibarr ERP & CRM is a software built by modules addition (you enable only features you need), to manage small or mid-sized businesses, freelancers or foundations (You can manage or follow contacts, invoices, orders, commercial proposals, products, stock management, agenda, mass emailings, members of a foundation, bank accounts...). Based on a WAMP, MAMP or LAMP server (Apache, Mysql, PHP for all Operating Systems), you can install it as a standalone program or use it from anywhere with any web browser. Dolibarr is an OpenSource project. It differs from other ERP or CRM softwares (like OpenAguila, OpenBravo, OpenERP, Neogia, Compiere, etc) because everything was made to be more simple: Simple to install, Simple to use, Simple to develop.
|
|
||||||
DoliWamp is the auto-installer for Windows users with no technical knowledge to install Dolibarr ERP/CRM and all its prerequisites (Apache, Mysql, PHP) with just one auto-exe file.</Char_Desc_2000>
|
|
||||||
</English>
|
|
||||||
<French>
|
|
||||||
<Keywords>doliwamp, dolibarr, erp, crm, factures, devis, facturation, commandes, compta, trésorerie, stocks, produits, agenda, comptes bancaires, associations, entreprises, PME, TPE</Keywords>
|
|
||||||
<Char_Desc_45>DoliWamp, Dolibarr ERP/CRM pour Windows</Char_Desc_45>
|
|
||||||
<Char_Desc_80>DoliWamp, la distribution de Dolibarr pour gérer votre entreprise ou association</Char_Desc_80>
|
|
||||||
<Char_Desc_250>DoliWamp est la version spécialisée pour Windows de Dolibarr ERP-CRM, le logiciel simple et OpenSource pour gérer votre activité (factures, devis, facturation, commandes, compta, trésorerie, stocks, produits, agenda, comptes bancaires, associations)</Char_Desc_250>
|
|
||||||
<Char_Desc_450>DoliWamp est la version spécialisée pour Windows de Dolibarr ERP-CRM, le logiciel simple et OpenSource pour gérer votre activité (factures, devis, facturation, commandes, compta, trésorerie, stocks, produits, agenda, comptes bancaires, associations)</Char_Desc_450>
|
|
||||||
<Char_Desc_2000>DoliWamp est la version spécialisée pour Windows de Dolibarr ERP-CRM, le logiciel simple et OpenSource pour gérer votre activité (factures, devis, facturation, commandes, compta, trésorerie, stocks, produits, agenda, comptes bancaires, associations)</Char_Desc_2000>
|
|
||||||
</French>
|
|
||||||
<Italian>
|
|
||||||
<Keywords>doliwamp, dolibarr, erp, crm, gestionale, medie imprese, fondazioni</Keywords>
|
|
||||||
<Char_Desc_45>DoliWamp, Dolibarr ERP/CRM per Windows</Char_Desc_45>
|
|
||||||
<Char_Desc_80>Gestionale open source e gratuito per piccole e medie imprese, fondazioni</Char_Desc_80>
|
|
||||||
<Char_Desc_250>Dolibarr è un a gestionale open source e gratuito per piccole e medie imprese, fondazioni e liberi professionisti. Include varie funzionalità per Enterprise Resource Planning e gestione dei clienti (CRM), ma anche ulteriori attività.</Char_Desc_250>
|
|
||||||
<Char_Desc_450>Dolibarr è un programma gestionale open source e gratuito per piccole e medie imprese, fondazioni e liberi professionisti. Include varie funzionalità per Enterprise Resource Planning e gestione dei clienti (CRM), ma anche ulteriori attività. Dolibar è progettato per poter fornire solo ciò di cui hai bisogno ed essere facile da usare.</Char_Desc_450>
|
|
||||||
<Char_Desc_2000>Dolibarr è un programma gestionale open source e gratuito per piccole e medie imprese, fondazioni e liberi professionisti. Include varie funzionalità per Enterprise Resource Planning e gestione dei clienti (CRM), ma anche ulteriori attività. Dolibar è progettato per poter fornire solo ciò di cui hai bisogno ed essere facile da usare. Dolibar è completamente web-based, progettato per poter fornire solo ciò di cui hai bisogno ed essere facile da usare.</Char_Desc_2000>
|
|
||||||
</Italian>
|
|
||||||
</Program_Descriptions>
|
|
||||||
<Web_Info>
|
|
||||||
<Application_URLs>
|
|
||||||
<Application_Info_URL>http://www.nltechno.com/doliwamp/</Application_Info_URL>
|
|
||||||
<Application_Order_URL>http://www.nltechno.com/doliwamp/</Application_Order_URL>
|
|
||||||
<Application_Screenshot_URL>http://www.dolibarr.org/images/dolibarr_screenshot1.png</Application_Screenshot_URL>
|
|
||||||
<Application_Icon_URL>http://www.dolibarr.org/images/dolibarr.gif</Application_Icon_URL>
|
|
||||||
<Application_XML_File_URL>http://www.dolibarr.org/files/pad_doliwamp.xml</Application_XML_File_URL>
|
|
||||||
</Application_URLs>
|
|
||||||
<Download_URLs>
|
|
||||||
<Primary_Download_URL>http://www.dolibarr.org/files/doliwamp.exe</Primary_Download_URL>
|
|
||||||
<Secondary_Download_URL>http://www.dolibarr.org/files/doliwamp.exe</Secondary_Download_URL>
|
|
||||||
<Additional_Download_URL_1 />
|
|
||||||
<Additional_Download_URL_2 />
|
|
||||||
</Download_URLs>
|
|
||||||
</Web_Info>
|
|
||||||
<Permissions>
|
|
||||||
<Distribution_Permissions>GNU GPL</Distribution_Permissions>
|
|
||||||
<EULA>GNU GPL</EULA>
|
|
||||||
</Permissions>
|
|
||||||
<Affiliates>
|
|
||||||
<Affiliates_FORM>Y</Affiliates_FORM>
|
|
||||||
<Affiliates_VERSION>1.4</Affiliates_VERSION>
|
|
||||||
<Affiliates_URL>http://pad.asp-software.org/extensions/Affiliates.htm</Affiliates_URL>
|
|
||||||
<Affiliates_Information_Page />
|
|
||||||
<Affiliates_Avangate_Order_Page />
|
|
||||||
<Affiliates_Avangate_Vendor_ID />
|
|
||||||
<Affiliates_Avangate_Product_ID />
|
|
||||||
<Affiliates_Avangate_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_BMTMicro_Order_Page />
|
|
||||||
<Affiliates_BMTMicro_Vendor_ID />
|
|
||||||
<Affiliates_BMTMicro_Product_ID />
|
|
||||||
<Affiliates_BMTMicro_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_Cleverbridge_Order_Page />
|
|
||||||
<Affiliates_Cleverbridge_Vendor_ID />
|
|
||||||
<Affiliates_Cleverbridge_Product_ID />
|
|
||||||
<Affiliates_Cleverbridge_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_clixGalore_Order_Page />
|
|
||||||
<Affiliates_clixGalore_Vendor_ID />
|
|
||||||
<Affiliates_clixGalore_Product_ID />
|
|
||||||
<Affiliates_clixGalore_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_CommissionJunction_Order_Page />
|
|
||||||
<Affiliates_CommissionJunction_Vendor_ID />
|
|
||||||
<Affiliates_CommissionJunction_Product_ID />
|
|
||||||
<Affiliates_CommissionJunction_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_DigiBuy_Order_Page />
|
|
||||||
<Affiliates_DigiBuy_Vendor_ID />
|
|
||||||
<Affiliates_DigiBuy_Product_ID />
|
|
||||||
<Affiliates_DigiBuy_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_DigitalCandle_Order_Page />
|
|
||||||
<Affiliates_DigitalCandle_Vendor_ID />
|
|
||||||
<Affiliates_DigitalCandle_Product_ID />
|
|
||||||
<Affiliates_DigitalCandle_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_Emetrix_Order_Page />
|
|
||||||
<Affiliates_Emetrix_Vendor_ID />
|
|
||||||
<Affiliates_Emetrix_Product_ID />
|
|
||||||
<Affiliates_Emetrix_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_eSellerate_Order_Page />
|
|
||||||
<Affiliates_eSellerate_Vendor_ID />
|
|
||||||
<Affiliates_eSellerate_Product_ID />
|
|
||||||
<Affiliates_eSellerate_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_Kagi_Order_Page />
|
|
||||||
<Affiliates_Kagi_Vendor_ID />
|
|
||||||
<Affiliates_Kagi_Product_ID />
|
|
||||||
<Affiliates_Kagi_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_LinkShare_Order_Page />
|
|
||||||
<Affiliates_LinkShare_Vendor_ID />
|
|
||||||
<Affiliates_LinkShare_Product_ID />
|
|
||||||
<Affiliates_LinkShare_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_NorthStarSol_Order_Page />
|
|
||||||
<Affiliates_NorthStarSol_Vendor_ID />
|
|
||||||
<Affiliates_NorthStarSol_Product_ID />
|
|
||||||
<Affiliates_NorthStarSol_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_OneNetworkDirect_Order_Page />
|
|
||||||
<Affiliates_OneNetworkDirect_Vendor_ID />
|
|
||||||
<Affiliates_OneNetworkDirect_Product_ID />
|
|
||||||
<Affiliates_OneNetworkDirect_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_Order1_Order_Page />
|
|
||||||
<Affiliates_Order1_Vendor_ID />
|
|
||||||
<Affiliates_Order1_Product_ID />
|
|
||||||
<Affiliates_Order1_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_Osolis_Order_Page />
|
|
||||||
<Affiliates_Osolis_Vendor_ID />
|
|
||||||
<Affiliates_Osolis_Product_ID />
|
|
||||||
<Affiliates_Osolis_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_Plimus_Order_Page />
|
|
||||||
<Affiliates_Plimus_Vendor_ID />
|
|
||||||
<Affiliates_Plimus_Product_ID />
|
|
||||||
<Affiliates_Plimus_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_Regnet_Order_Page />
|
|
||||||
<Affiliates_Regnet_Vendor_ID />
|
|
||||||
<Affiliates_Regnet_Product_ID />
|
|
||||||
<Affiliates_Regnet_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_Regnow_Order_Page />
|
|
||||||
<Affiliates_Regnow_Vendor_ID />
|
|
||||||
<Affiliates_Regnow_Product_ID />
|
|
||||||
<Affiliates_Regnow_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_Regsoft_Order_Page />
|
|
||||||
<Affiliates_Regsoft_Vendor_ID />
|
|
||||||
<Affiliates_Regsoft_Product_ID />
|
|
||||||
<Affiliates_Regsoft_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_ShareIt_Order_Page />
|
|
||||||
<Affiliates_ShareIt_Vendor_ID />
|
|
||||||
<Affiliates_ShareIt_Product_ID />
|
|
||||||
<Affiliates_ShareIt_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_Shareasale_Order_Page />
|
|
||||||
<Affiliates_Shareasale_Vendor_ID />
|
|
||||||
<Affiliates_Shareasale_Product_ID />
|
|
||||||
<Affiliates_Shareasale_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_SWReg_Order_Page />
|
|
||||||
<Affiliates_SWReg_Vendor_ID />
|
|
||||||
<Affiliates_SWReg_Product_ID />
|
|
||||||
<Affiliates_SWReg_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_V-Share_Order_Page />
|
|
||||||
<Affiliates_V-Share_Vendor_ID />
|
|
||||||
<Affiliates_V-Share_Product_ID />
|
|
||||||
<Affiliates_V-Share_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_VFree_Order_Page />
|
|
||||||
<Affiliates_VFree_Vendor_ID />
|
|
||||||
<Affiliates_VFree_Product_ID />
|
|
||||||
<Affiliates_VFree_Maximum_Commission_Rate />
|
|
||||||
<Affiliates_Yaskifo_Order_Page />
|
|
||||||
<Affiliates_Yaskifo_Vendor_ID />
|
|
||||||
<Affiliates_Yaskifo_Product_ID />
|
|
||||||
<Affiliates_Yaskifo_Maximum_Commission_Rate />
|
|
||||||
</Affiliates>
|
|
||||||
<ASP>
|
|
||||||
<ASP_FORM>Y</ASP_FORM>
|
|
||||||
<ASP_Member>N</ASP_Member>
|
|
||||||
<ASP_Member_Number />
|
|
||||||
</ASP>
|
|
||||||
</XML_DIZ_INFO>
|
|
|
@ -1,11 +0,0 @@
|
||||||
README (English)
|
|
||||||
##################################################
|
|
||||||
Building a Patch file
|
|
||||||
##################################################
|
|
||||||
|
|
||||||
This directory contains tools to build a patch
|
|
||||||
after a developer has made changes on files in its
|
|
||||||
Dolibarr tree.
|
|
||||||
The output patch file can then be submited on Dolibarr
|
|
||||||
dev mailing-list, with explanation on its goal, for
|
|
||||||
inclusion in main branch.
|
|
|
@ -1,21 +0,0 @@
|
||||||
#/bin/ksh
|
|
||||||
#----------------------------------------------------------------------------
|
|
||||||
# \file build/patch/buildpatch.sh
|
|
||||||
# \brief Create patch files
|
|
||||||
# \author (c)2009-2011 Laurent Destailleur <eldy@users.sourceforge.net>
|
|
||||||
#----------------------------------------------------------------------------
|
|
||||||
# This script can be used to build a patch after a developer has made
|
|
||||||
# changes on files in its Dolibarr tree.
|
|
||||||
# The output patch file can then be submited on Dolibarr dev mailing-list,
|
|
||||||
# with explanation on its goal, for inclusion in main branch.
|
|
||||||
#----------------------------------------------------------------------------
|
|
||||||
|
|
||||||
echo ----- Building patch file mypatch.patch -----
|
|
||||||
if [ -z "$1" ] || [ -z "$2" ];
|
|
||||||
then
|
|
||||||
echo Usage: buildpatch.sh original_dir_path modified_dir_path
|
|
||||||
echo Example: buildpatch.sh /mydirA/dolibarrold /mydirB/dolibarrnew
|
|
||||||
else
|
|
||||||
echo Build patch between \"$1\" and \"$2\"
|
|
||||||
diff -BNaur --exclude=CVS --exclude="*.patch" --exclude=".#*" --exclude="*~" --exclude="*.rej" --exclude="*.orig" --exclude="*.bak" --exclude=conf.php --exclude=documents $1 $2 > mypatch.patch
|
|
||||||
fi
|
|
|
@ -1,9 +0,0 @@
|
||||||
To make htmldoc working from wiki.dolibarr.org, them must be modified to have
|
|
||||||
|
|
||||||
$_SERVER["HTTP_USER_AGENT"] is "HTMLDOC/x.y.z"
|
|
||||||
$_COOKIE["htmldoc"] may also be defined if set on command line.
|
|
||||||
|
|
||||||
To disable part, add
|
|
||||||
class="htmldoc-ignore" with css
|
|
||||||
.htmldoc-ignore { display: none; }
|
|
||||||
|
|
|
@ -1,4 +0,0 @@
|
||||||
#HTMLDOC 1.8.27
|
|
||||||
-t pdf14 -f "../../doc/dolibarr_en.pdf" --webpage --no-title --logoimage "../../doc/images/dolibarr_256x256.png" --linkcolor #2200c0 --linkstyle plain --size Universal --left 0.30in --right 0.30in --top 0.40in --bottom 0.30in --header ... --header1 ... --footer c/d --nup 1 --tocheader ... --tocfooter ... --portrait --color --no-pscommands --no-xrxcomments --compression=9 --jpeg=50 --fontsize 10.0 --fontspacing 1.0 --headingfont Helvetica --bodyfont Helvetica --headfootsize 9.0 --headfootfont Helvetica --charset iso-8859-1 --links --no-embedfonts --pagemode document --pagelayout single --firstpage p1 --pageeffect none --pageduration 10 --effectduration 1.0 --no-encryption --permissions all --owner-password "" --user-password "" --browserwidth 680 --no-strict --no-overflow
|
|
||||||
http://wiki.dolibarr.org/index.php/Main_Page
|
|
||||||
http://wiki.dolibarr.org/index.php/What_Dolibarr_Do
|
|
|
@ -1,8 +0,0 @@
|
||||||
README (English)
|
|
||||||
##################################################
|
|
||||||
Install script for Virtualmin Pro
|
|
||||||
##################################################
|
|
||||||
|
|
||||||
This script will install automatically Dolibarr from Virtualmin Pro
|
|
||||||
http://www.virtualmin.com
|
|
||||||
http://www.webmin.com/virtualmin.html
|
|
|
@ -1,403 +0,0 @@
|
||||||
#----------------------------------------------------------------------------
|
|
||||||
# \file dolibarr.pl
|
|
||||||
# \brief Dolibarr script install for Virtualmin Pro
|
|
||||||
# \author (c)2009-2015 Regis Houssin <regis.houssin@capnetworks.com>
|
|
||||||
#----------------------------------------------------------------------------
|
|
||||||
|
|
||||||
|
|
||||||
# script_dolibarr_desc()
|
|
||||||
sub script_dolibarr_desc
|
|
||||||
{
|
|
||||||
return "Dolibarr";
|
|
||||||
}
|
|
||||||
|
|
||||||
sub script_dolibarr_uses
|
|
||||||
{
|
|
||||||
return ( "php" );
|
|
||||||
}
|
|
||||||
|
|
||||||
# script_dolibarr_longdesc()
|
|
||||||
sub script_dolibarr_longdesc
|
|
||||||
{
|
|
||||||
return "Dolibarr ERP/CRM is a powerful Open Source software to manage a professional or foundation activity (small and medium enterprises, freelancers).";
|
|
||||||
}
|
|
||||||
|
|
||||||
sub script_dolibarr_author
|
|
||||||
{
|
|
||||||
return "Regis Houssin";
|
|
||||||
}
|
|
||||||
|
|
||||||
# script_dolibarr_versions()
|
|
||||||
sub script_dolibarr_versions
|
|
||||||
{
|
|
||||||
return ( "3.7.2", "3.6.3", "3.5.6" );
|
|
||||||
}
|
|
||||||
|
|
||||||
sub script_dolibarr_category
|
|
||||||
{
|
|
||||||
return "Commerce";
|
|
||||||
}
|
|
||||||
|
|
||||||
sub script_dolibarr_php_vers
|
|
||||||
{
|
|
||||||
return ( 5 );
|
|
||||||
}
|
|
||||||
|
|
||||||
sub script_dolibarr_php_modules
|
|
||||||
{
|
|
||||||
local ($d, $ver, $phpver, $opts) = @_;
|
|
||||||
local ($dbtype, $dbname) = split(/_/, $opts->{'db'}, 2);
|
|
||||||
return $dbtype eq "mysql" ? ("mysql") : ("pgsql");
|
|
||||||
}
|
|
||||||
|
|
||||||
sub script_dolibarr_dbs
|
|
||||||
{
|
|
||||||
local ($d, $ver) = @_;
|
|
||||||
return ("mysql", "postgres");
|
|
||||||
}
|
|
||||||
|
|
||||||
# script_dolibarr_depends(&domain, version)
|
|
||||||
sub script_dolibarr_depends
|
|
||||||
{
|
|
||||||
local ($d, $ver, $sinfo, $phpver) = @_;
|
|
||||||
local @rv;
|
|
||||||
|
|
||||||
if ($ver >= 3.6) {
|
|
||||||
# Check for PHP 5.3+
|
|
||||||
local $phpv = &get_php_version($phpver || 5, $d);
|
|
||||||
if (!$phpv) {
|
|
||||||
push(@rv, "Could not work out exact PHP version");
|
|
||||||
}
|
|
||||||
elsif ($phpv < 5.3) {
|
|
||||||
push(@rv, "Dolibarr requires PHP version 5.3 or later");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return @rv;
|
|
||||||
}
|
|
||||||
|
|
||||||
# script_dolibarr_params(&domain, version, &upgrade-info)
|
|
||||||
# Returns HTML for table rows for options for installing dolibarr
|
|
||||||
sub script_dolibarr_params
|
|
||||||
{
|
|
||||||
local ($d, $ver, $upgrade) = @_;
|
|
||||||
local $rv;
|
|
||||||
local $hdir = &public_html_dir($d, 1);
|
|
||||||
if ($upgrade) {
|
|
||||||
# Options are fixed when upgrading
|
|
||||||
local ($dbtype, $dbname) = split(/_/, $upgrade->{'opts'}->{'db'}, 2);
|
|
||||||
$rv .= &ui_table_row("Database for Dolibarr tables", $dbname);
|
|
||||||
local $dir = $upgrade->{'opts'}->{'dir'};
|
|
||||||
$dir =~ s/^$d->{'home'}\///;
|
|
||||||
$rv .= &ui_table_row("Install directory", $dir);
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
# Show editable install options
|
|
||||||
local @dbs = &domain_databases($d, [ "mysql"]);
|
|
||||||
$rv .= &ui_table_row("Database for Dolibarr tables",
|
|
||||||
&ui_database_select("db", undef, \@dbs, $d, "dolibarr"));
|
|
||||||
$rv .= &ui_table_row("Install sub-directory under <tt>$hdir</tt>",
|
|
||||||
&ui_opt_textbox("dir", &substitute_scriptname_template("dolibarr", $d), 30, "At top level"));
|
|
||||||
if ($d->{'ssl'} && $ver >= 3.0) {
|
|
||||||
$rv .= &ui_table_row("Force https connection?",
|
|
||||||
&ui_yesno_radio("forcehttps", 0));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return $rv;
|
|
||||||
}
|
|
||||||
|
|
||||||
# script_dolibarr_parse(&domain, version, &in, &upgrade-info)
|
|
||||||
# Returns either a hash ref of parsed options, or an error string
|
|
||||||
sub script_dolibarr_parse
|
|
||||||
{
|
|
||||||
local ($d, $ver, $in, $upgrade) = @_;
|
|
||||||
if ($upgrade) {
|
|
||||||
# Options are always the same
|
|
||||||
return $upgrade->{'opts'};
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
local $hdir = &public_html_dir($d, 0);
|
|
||||||
$in{'dir_def'} || $in{'dir'} =~ /\S/ && $in{'dir'} !~ /\.\./ ||
|
|
||||||
return "Missing or invalid installation directory";
|
|
||||||
local $dir = $in{'dir_def'} ? $hdir : "$hdir/$in{'dir'}";
|
|
||||||
local ($newdb) = ($in->{'db'} =~ s/^\*//);
|
|
||||||
return { 'db' => $in->{'db'},
|
|
||||||
'newdb' => $newdb,
|
|
||||||
'dir' => $dir,
|
|
||||||
'path' => $in->{'dir_def'} ? "/" : "/$in->{'dir'}",
|
|
||||||
'forcehttps' => $in->{'forcehttps'}, };
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
# script_dolibarr_check(&domain, version, &opts, &upgrade-info)
|
|
||||||
# Returns an error message if a required option is missing or invalid
|
|
||||||
sub script_dolibarr_check
|
|
||||||
{
|
|
||||||
local ($d, $ver, $opts, $upgrade) = @_;
|
|
||||||
$opts->{'dir'} =~ /^\// || return "Missing or invalid install directory";
|
|
||||||
$opts->{'db'} || return "Missing database";
|
|
||||||
if (-r "$opts->{'dir'}/conf/conf.php") {
|
|
||||||
return "Dolibarr appears to be already installed in the selected directory";
|
|
||||||
}
|
|
||||||
local ($dbtype, $dbname) = split(/_/, $opts->{'db'}, 2);
|
|
||||||
local $clash = &find_database_table($dbtype, $dbname, "llx_.*");
|
|
||||||
$clash && return "Dolibarr appears to be already using the selected database (table $clash)";
|
|
||||||
return undef;
|
|
||||||
}
|
|
||||||
|
|
||||||
# script_dolibarr_files(&domain, version, &opts, &upgrade-info)
|
|
||||||
# Returns a list of files needed by dolibarr, each of which is a hash ref
|
|
||||||
# containing a name, filename and URL
|
|
||||||
sub script_dolibarr_files
|
|
||||||
{
|
|
||||||
local ($d, $ver, $opts, $upgrade) = @_;
|
|
||||||
local @files = ( { 'name' => "source",
|
|
||||||
'file' => "Dolibarr_$ver.tar.gz",
|
|
||||||
'url' => "http://prdownloads.sourceforge.net/dolibarr/dolibarr-$ver.tgz" } );
|
|
||||||
return @files;
|
|
||||||
}
|
|
||||||
|
|
||||||
sub script_dolibarr_commands
|
|
||||||
{
|
|
||||||
return ("tar", "gunzip");
|
|
||||||
}
|
|
||||||
|
|
||||||
# script_dolibarr_install(&domain, version, &opts, &files, &upgrade-info)
|
|
||||||
# Actually installs joomla, and returns either 1 and an informational
|
|
||||||
# message, or 0 and an error
|
|
||||||
sub script_dolibarr_install
|
|
||||||
{
|
|
||||||
local ($d, $version, $opts, $files, $upgrade, $domuser, $dompass) = @_;
|
|
||||||
|
|
||||||
local ($out, $ex);
|
|
||||||
if ($opts->{'newdb'} && !$upgrade) {
|
|
||||||
local $err = &create_script_database($d, $opts->{'db'});
|
|
||||||
return (0, "Database creation failed : $err") if ($err);
|
|
||||||
}
|
|
||||||
local ($dbtype, $dbname) = split(/_/, $opts->{'db'}, 2);
|
|
||||||
local $dbuser = $dbtype eq "mysql" ? &mysql_user($d) : &postgres_user($d);
|
|
||||||
local $dbpass = $dbtype eq "mysql" ? &mysql_pass($d) : &postgres_pass($d, 1);
|
|
||||||
local $dbphptype = $dbtype eq "mysql" && $version >= 3.6 ? "mysql" :
|
|
||||||
$dbtype eq "mysql" ? "mysqli" : "pgsql";
|
|
||||||
local $dbhost = &get_database_host($dbtype);
|
|
||||||
local $dberr = &check_script_db_connection($dbtype, $dbname, $dbuser, $dbpass);
|
|
||||||
return (0, "Database connection failed : $dberr") if ($dberr);
|
|
||||||
|
|
||||||
# Extract tar file to temp dir and copy to target
|
|
||||||
local $temp = &transname();
|
|
||||||
local $err = &extract_script_archive($files->{'source'}, $temp, $d,
|
|
||||||
$opts->{'dir'}, "dolibarr-$ver/htdocs");
|
|
||||||
$err && return (0, "Failed to extract source : $err");
|
|
||||||
|
|
||||||
# Add config file
|
|
||||||
local $cfiledir = "$opts->{'dir'}/conf/";
|
|
||||||
local $docdir = "$opts->{'dir'}/documents";
|
|
||||||
local $altdir = "$opts->{'dir'}/custom";
|
|
||||||
local $cfile = $cfiledir."conf.php";
|
|
||||||
local $oldcfile = &transname();
|
|
||||||
local $olddocdir = &transname();
|
|
||||||
local $oldaltdir = &transname();
|
|
||||||
local $url;
|
|
||||||
|
|
||||||
$tmpl = &get_template($d->{'template'});
|
|
||||||
$mycharset = $tmpl->{'mysql_charset'};
|
|
||||||
$mycollate = $tmpl->{'mysql_collate'};
|
|
||||||
$pgcharset = $tmpl->{'postgres_encoding'};
|
|
||||||
$charset = $dbtype eq "mysql" ? $mycharset : $pgcharset;
|
|
||||||
$collate = $dbtype eq "mysql" ? $mycollate : "C";
|
|
||||||
|
|
||||||
$path = &script_path_url($d, $opts);
|
|
||||||
if ($path =~ /^https:/ || $d->{'ssl'}) {
|
|
||||||
$url = "https://$d->{'dom'}";
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
$url = "http://$d->{'dom'}";
|
|
||||||
}
|
|
||||||
if ($opts->{'path'} =~ /\w/) {
|
|
||||||
$url .= $opts->{'path'};
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!$upgrade) {
|
|
||||||
local $cdef = "$opts->{'dir'}/conf/conf.php.example";
|
|
||||||
&run_as_domain_user($d, "cp ".quotemeta($cdef)." ".quotemeta($cfile));
|
|
||||||
&set_permissions_as_domain_user($d, 0777, $cfiledir);
|
|
||||||
&set_permissions_as_domain_user($d, 0666, $cfile);
|
|
||||||
&run_as_domain_user($d, "mkdir ".quotemeta($docdir));
|
|
||||||
&set_permissions_as_domain_user($d, 0777, $docdir);
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
# Preserve old config file, documents and custom directory
|
|
||||||
©_source_dest($cfile, $oldcfile);
|
|
||||||
©_source_dest($docdir, $olddocdir);
|
|
||||||
©_source_dest($altdir, $oldaltdir);
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($upgrade) {
|
|
||||||
# Put back original config file, documents and custom directory
|
|
||||||
©_source_dest_as_domain_user($d, $oldcfile, $cfile);
|
|
||||||
©_source_dest_as_domain_user($d, $olddocdir, $docdir);
|
|
||||||
©_source_dest_as_domain_user($d, $oldaltdir, $altdir);
|
|
||||||
|
|
||||||
# First page (Update database schema)
|
|
||||||
local @params = ( [ "action", "upgrade" ],
|
|
||||||
[ "versionfrom", $upgrade->{'version'} ],
|
|
||||||
[ "versionto", $ver ],
|
|
||||||
);
|
|
||||||
local $err = &call_dolibarr_wizard_page(\@params, "upgrade", $d, $opts);
|
|
||||||
return (-1, "Dolibarr wizard failed : $err") if ($err);
|
|
||||||
|
|
||||||
# Second page (Migrate some data)
|
|
||||||
local @params = ( [ "action", "upgrade" ],
|
|
||||||
[ "versionfrom", $upgrade->{'version'} ],
|
|
||||||
[ "versionto", $ver ],
|
|
||||||
);
|
|
||||||
local $err = &call_dolibarr_wizard_page(\@params, "upgrade2", $d, $opts);
|
|
||||||
return (-1, "Dolibarr wizard failed : $err") if ($err);
|
|
||||||
|
|
||||||
# Third page (Update version number)
|
|
||||||
local @params = ( [ "action", "upgrade" ],
|
|
||||||
[ "versionfrom", $upgrade->{'version'} ],
|
|
||||||
[ "versionto", $ver ],
|
|
||||||
);
|
|
||||||
local $err = &call_dolibarr_wizard_page(\@params, "step5", $d, $opts);
|
|
||||||
return (-1, "Dolibarr wizard failed : $err") if ($err);
|
|
||||||
|
|
||||||
# Remove the installation directory.
|
|
||||||
local $dinstall = "$opts->{'dir'}/install";
|
|
||||||
$dinstall =~ s/\/$//;
|
|
||||||
$out = &run_as_domain_user($d, "rm -rf ".quotemeta($dinstall));
|
|
||||||
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
# First page (Db connection and config file creation)
|
|
||||||
local @params = ( [ "main_dir", $opts->{'dir'} ],
|
|
||||||
[ "main_data_dir", $opts->{'dir'}."/documents" ],
|
|
||||||
[ "main_url", $url ],
|
|
||||||
[ "db_type", $dbphptype ],
|
|
||||||
[ "db_host", $dbhost ],
|
|
||||||
[ "db_name", $dbname ],
|
|
||||||
[ "db_user", $dbuser ],
|
|
||||||
[ "db_pass", $dbpass ],
|
|
||||||
[ "action", "set" ],
|
|
||||||
[ "main_force_https", $opts->{'forcehttps'} ],
|
|
||||||
[ "dolibarr_main_db_character_set", $charset ],
|
|
||||||
[ "dolibarr_main_db_collation", $collate ],
|
|
||||||
[ "usealternaterootdir", "1" ],
|
|
||||||
[ "main_alt_dir_name", "custom" ],
|
|
||||||
);
|
|
||||||
local $err = &call_dolibarr_wizard_page(\@params, "step1", $d, $opts);
|
|
||||||
return (-1, "Dolibarr wizard failed : $err") if ($err);
|
|
||||||
|
|
||||||
# Second page (Populate database)
|
|
||||||
local @params = ( [ "action", "set" ] );
|
|
||||||
local $err = &call_dolibarr_wizard_page(\@params, "step2", $d, $opts);
|
|
||||||
return (-1, "Dolibarr wizard failed : $err") if ($err);
|
|
||||||
|
|
||||||
# Third page (Add administrator account)
|
|
||||||
local @params = ( [ "action", "set" ],
|
|
||||||
[ "login", "admin" ],
|
|
||||||
[ "pass", $dompass ],
|
|
||||||
[ "pass_verif", $dompass ],
|
|
||||||
);
|
|
||||||
local $err = &call_dolibarr_wizard_page(\@params, "step5", $d, $opts);
|
|
||||||
return (-1, "Dolibarr wizard failed : $err") if ($err);
|
|
||||||
|
|
||||||
# Remove the installation directory and protect config file.
|
|
||||||
local $dinstall = "$opts->{'dir'}/install";
|
|
||||||
$dinstall =~ s/\/$//;
|
|
||||||
$out = &run_as_domain_user($d, "rm -rf ".quotemeta($dinstall));
|
|
||||||
&set_permissions_as_domain_user($d, 0644, $cfile);
|
|
||||||
&set_permissions_as_domain_user($d, 0755, $cfiledir);
|
|
||||||
}
|
|
||||||
|
|
||||||
# Return a URL for the user
|
|
||||||
local $rp = $opts->{'dir'};
|
|
||||||
$rp =~ s/^$d->{'home'}\///;
|
|
||||||
local $adminurl = $url;
|
|
||||||
return (1, "Dolibarr installation complete. Go to <a target=_new href='$url'>$url</a> to use it.", "Under $rp using $dbtype database $dbname", $url, 'admin', $dompass);
|
|
||||||
}
|
|
||||||
|
|
||||||
# call_dolibarr_wizard_page(¶meters, step-no, &domain, &opts)
|
|
||||||
sub call_dolibarr_wizard_page
|
|
||||||
{
|
|
||||||
local ($params, $page, $d, $opts) = @_;
|
|
||||||
local $params = join("&", map { $_->[0]."=".&urlize($_->[1]) } @$params );
|
|
||||||
local $ipage = $opts->{'path'}."/install/".$page.".php";
|
|
||||||
local ($iout, $ierror);
|
|
||||||
|
|
||||||
&post_http_connection($d, $ipage, $params, \$iout, \$ierror);
|
|
||||||
print STDERR $iout;
|
|
||||||
|
|
||||||
if ($ierror) {
|
|
||||||
return $ierror;
|
|
||||||
}
|
|
||||||
|
|
||||||
return undef;
|
|
||||||
}
|
|
||||||
|
|
||||||
# script_dolibarr_uninstall(&domain, version, &opts)
|
|
||||||
# Un-installs a dolibarr installation, by deleting the directory.
|
|
||||||
# Returns 1 on success and a message, or 0 on failure and an error
|
|
||||||
sub script_dolibarr_uninstall
|
|
||||||
{
|
|
||||||
local ($d, $version, $opts) = @_;
|
|
||||||
|
|
||||||
# Remove the contents of the target directory
|
|
||||||
local $derr = &delete_script_install_directory($d, $opts);
|
|
||||||
return (0, $derr) if ($derr);
|
|
||||||
|
|
||||||
# Remove all llx_ tables from the database
|
|
||||||
# 4 times because of constraints
|
|
||||||
for(my $i=0; $i<4; $i++) {
|
|
||||||
&cleanup_script_database($d, $opts->{'db'}, "llx_");
|
|
||||||
}
|
|
||||||
|
|
||||||
# Take out the DB
|
|
||||||
if ($opts->{'newdb'}) {
|
|
||||||
&delete_script_database($d, $opts->{'db'});
|
|
||||||
}
|
|
||||||
|
|
||||||
return (1, "Dolibarr directory and tables deleted.");
|
|
||||||
}
|
|
||||||
|
|
||||||
# script_dolibarr_realversion(&domain, &opts)
|
|
||||||
# Returns the real version number of some script install, or undef if unknown
|
|
||||||
sub script_dolibarr_realversion
|
|
||||||
{
|
|
||||||
local ($d, $opts, $sinfo) = @_;
|
|
||||||
local $lref = &read_file_lines("$opts->{'dir'}/filefunc.inc.php", 1);
|
|
||||||
foreach my $l (@$lref) {
|
|
||||||
if ($l =~ /'DOL_VERSION','([0-9a-z\.\-]+)'/) {
|
|
||||||
return $1;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return undef;
|
|
||||||
}
|
|
||||||
|
|
||||||
# script_dolibarr_check_latest(version)
|
|
||||||
# Checks if some version is the latest for this project, and if not returns
|
|
||||||
# a newer one. Otherwise returns undef.
|
|
||||||
sub script_dolibarr_check_latest
|
|
||||||
{
|
|
||||||
local ($ver) = @_;
|
|
||||||
local @vers = &osdn_package_versions("dolibarr",
|
|
||||||
$ver >= 3.2 ? "dolibarr\\-(3\\.[0-9\\.]+)\\.tgz" :
|
|
||||||
$ver >= 3.1 ? "dolibarr\\-(3\\.1\\.[0-9\\.]+)\\.tgz" :
|
|
||||||
$ver >= 3 ? "dolibarr\\-(3\\.0\\.[0-9\\.]+)\\.tgz" :
|
|
||||||
$ver >= 2.9 ? "dolibarr\\-(2\\.9\\.[0-9\\.]+)\\.tgz" :
|
|
||||||
"dolibarr\\-(2\\.8\\.[0-9\\.]+)\\.tgz");
|
|
||||||
return "Failed to find versions" if (!@vers);
|
|
||||||
return $ver eq $vers[0] ? undef : $vers[0];
|
|
||||||
}
|
|
||||||
|
|
||||||
sub script_dolibarr_site
|
|
||||||
{
|
|
||||||
return 'http://www.dolibarr.org/';
|
|
||||||
}
|
|
||||||
|
|
||||||
sub script_dolibarr_passmode
|
|
||||||
{
|
|
||||||
return 2;
|
|
||||||
}
|
|
||||||
|
|
||||||
1;
|
|
|
@ -1,59 +0,0 @@
|
||||||
README (English)
|
|
||||||
##################################################
|
|
||||||
RPM Package tools
|
|
||||||
##################################################
|
|
||||||
|
|
||||||
This directory contains files used by makepack-dolibarr.pl
|
|
||||||
script to build a package, ready to be distributed,
|
|
||||||
with format RPM (for Redhat, OpenSuse, Mandriva, ...).
|
|
||||||
|
|
||||||
|
|
||||||
# This is standard command to work on RPM packaging:
|
|
||||||
#
|
|
||||||
# To install all packagers tools:
|
|
||||||
# Fedora: yum -y install rpmlint fedora-packager mock koji hunspell-en hunspell-es hunspell-fr hunspell-it
|
|
||||||
# OpenSuse: yast --install update-desktop-files
|
|
||||||
#
|
|
||||||
# rpmlint file.rpm Test a package
|
|
||||||
# mock -r fedora-15-i386 --rebuild ../SRPMS/hello-2.7-1.fc15.src.rpm
|
|
||||||
#
|
|
||||||
# On Fedora
|
|
||||||
# rpm -i --test dolibarr-...rpm To list dependencies of RPM
|
|
||||||
# yum -v install dolibarr-...rpm To install package and dependencies
|
|
||||||
# yum -v erase dolibarr To remove package
|
|
||||||
# chcon -R -h -t httpd_sys_script_rw_t /file To add temporary context rw for httpd on /file
|
|
||||||
# semanage fcontext -a -t httpd_sys_script_rw_t "/dir/(.*)?" To add persistent context rw for httpd on /dir (this add file_contexts.local)
|
|
||||||
# restorecon -R -v /file Restore values into files (cancel chcon, validate semanage)
|
|
||||||
#
|
|
||||||
# On OpenSuse
|
|
||||||
# zypper install dolibarr-...rpm To install package and dependencies
|
|
||||||
# zypper remove dolibarr To remove package
|
|
||||||
# zypper search xxx To search a package
|
|
||||||
#
|
|
||||||
# On Mageia (after su - root)
|
|
||||||
# urpmi dolibarr-...rpm To install package and dependencies
|
|
||||||
# urpme dolibarr To remove package
|
|
||||||
#
|
|
||||||
# More on rpm on page http://www.trustonme.net/didactels/273.html
|
|
||||||
|
|
||||||
|
|
||||||
To submit a package to Fedora:
|
|
||||||
- Create account on bugzilla.redhat.com
|
|
||||||
- Create account on fedoraproject.org
|
|
||||||
- Create SRPMS package.
|
|
||||||
- Upload package onf http://fedorapeople.org
|
|
||||||
- Create a bug with form https://bugzilla.redhat.com/bugzilla/enter_bug.cgi?product=Fedora&format=fedora-review
|
|
||||||
This is example of content of review field (used for Bug 723326 - https://bugzilla.redhat.com/show_bug.cgi?id=723326):
|
|
||||||
SRPMS URL: http://www.dolibarr.org/files/fedora/dolibarr-x.y.z-xxx.src.rpm
|
|
||||||
Description: Dolibarr ERP & CRM is an easy to use open source/free software
|
|
||||||
for small and medium companies, foundations or freelances. It includes
|
|
||||||
different features for Enterprise Resource Planning (ERP) and Customer
|
|
||||||
Relationship Management (CRM) but also for different other activities.
|
|
||||||
I am author of other already packaged OpenSources packages (awstats) but this
|
|
||||||
is my first package to maintain myself. So i'm seeking a sponsor.
|
|
||||||
- Edit field "Block" and add FE-NEEDSPONSOR
|
|
||||||
- Check bug is into database by searching with id on https://bugzilla.redhat.com/
|
|
||||||
- Install fedora packager tools: yum install fedora-packager
|
|
||||||
- Setup fedora packagers tools: fedora-packager-setup
|
|
||||||
- Send your package: koji build --scratch f16 path_to_source_RPM
|
|
||||||
- Check if package is available: http://koji.fedoraproject.org/koji/
|
|
|
@ -1,7 +0,0 @@
|
||||||
<?php
|
|
||||||
//
|
|
||||||
// Take a look at conf.php.example file for an example of conf.php file
|
|
||||||
// and explanations for all possibles parameters.
|
|
||||||
//
|
|
||||||
// This file will be filled by installer
|
|
||||||
//
|
|
|
@ -1,42 +0,0 @@
|
||||||
diff -up htdocs/filefunc.inc.php.patch htdocs/filefunc.inc.php
|
|
||||||
--- htdocs/filefunc.inc.php.patch 2011-09-03 02:32:48.666952000 +0200
|
|
||||||
+++ htdocs/filefunc.inc.php 2011-09-03 02:33:00.510952001 +0200
|
|
||||||
@@ -63,8 +63,8 @@
|
|
||||||
$conffile = "conf/conf.php";
|
|
||||||
$conffiletoshow = "htdocs/conf/conf.php";
|
|
||||||
// For debian/redhat like systems
|
|
||||||
-//$conffile = "/etc/dolibarr/conf.php";
|
|
||||||
-//$conffiletoshow = "/etc/dolibarr/conf.php";
|
|
||||||
+$conffile = "/etc/dolibarr/conf.php";
|
|
||||||
+$conffiletoshow = "/etc/dolibarr/conf.php";
|
|
||||||
|
|
||||||
|
|
||||||
// Include configuration
|
|
||||||
diff -up htdocs/install/inc.php.patch htdocs/install/inc.php
|
|
||||||
--- htdocs/install/inc.php.patch 2011-09-03 02:33:26.450952000 +0200
|
|
||||||
+++ htdocs/install/inc.php 2011-09-03 02:33:36.286952001 +0200
|
|
||||||
@@ -71,8 +71,8 @@
|
|
||||||
$conffile = "../conf/conf.php";
|
|
||||||
$conffiletoshow = "htdocs/conf/conf.php";
|
|
||||||
// For debian/redhat like systems
|
|
||||||
-//$conffile = "/etc/dolibarr/conf.php";
|
|
||||||
-//$conffiletoshow = "/etc/dolibarr/conf.php";
|
|
||||||
+$conffile = "/etc/dolibarr/conf.php";
|
|
||||||
+$conffiletoshow = "/etc/dolibarr/conf.php";
|
|
||||||
|
|
||||||
|
|
||||||
if (! defined('DONOTLOADCONF') && file_exists($conffile))
|
|
||||||
diff -up htdocs/support/inc.php.patch htdocs/support/inc.php
|
|
||||||
--- htdocs/support/inc.php.patch 2011-09-03 02:34:39.606952000 +0200
|
|
||||||
+++ htdocs/support/inc.php 2011-09-03 02:33:59.814952000 +0200
|
|
||||||
@@ -69,8 +69,8 @@
|
|
||||||
$conffile = "../conf/conf.php";
|
|
||||||
$conffiletoshow = "htdocs/conf/conf.php";
|
|
||||||
// For debian/redhat like systems
|
|
||||||
-//$conffile = "/etc/dolibarr/conf.php";
|
|
||||||
-//$conffiletoshow = "/etc/dolibarr/conf.php";
|
|
||||||
+$conffile = "/etc/dolibarr/conf.php";
|
|
||||||
+$conffiletoshow = "/etc/dolibarr/conf.php";
|
|
||||||
|
|
||||||
|
|
||||||
if (! defined('DONOTLOADCONF') && file_exists($conffile))
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue