Compare commits

..

2676 Commits

Author SHA1 Message Date
Laurent Destailleur
0542e43b71 Prepare 3.8 2015-07-13 00:23:46 +02:00
Laurent Destailleur
ccd471bcd5 Update doc 2015-07-12 23:53:00 +02:00
Laurent Destailleur
e8a0f9da73 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop

Conflicts:
	htdocs/install/filelist.xml
2015-07-12 23:49:30 +02:00
Laurent Destailleur
66ae756c72 Prepare 3.8 2015-07-12 23:47:39 +02:00
Laurent Destailleur
c20fbef304 Prepare 3.8 2015-07-12 23:44:35 +02:00
Laurent Destailleur
08c38feb98 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop

Conflicts:
	ChangeLog
2015-07-12 18:57:29 +02:00
Laurent Destailleur
1ba5afbc7d Update doc. Prepare 3.8 2015-07-12 18:56:00 +02:00
Laurent Destailleur
a7ea92fd6b Update doc. Prepare 3.8 2015-07-12 18:53:08 +02:00
Laurent Destailleur
fd3d43da25 Comment 2015-07-12 18:19:04 +02:00
Laurent Destailleur
e31af7f914 Can filter list of setup constant on name and extend visibility to all. 2015-07-12 18:05:56 +02:00
Laurent Destailleur
11c94a9d3b Clean code 2015-07-12 16:50:27 +02:00
Laurent Destailleur
8690b5e70e FIX #3173 Overlapping of shipment ref 2015-07-12 16:22:06 +02:00
Laurent Destailleur
1fb40565f4 Fix bad parameters of function select_date 2015-07-12 12:50:24 +02:00
Laurent Destailleur
39a9b41c42 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-07-12 12:31:37 +02:00
Laurent Destailleur
21a5a30ade Merge pull request #3175 from All-3kcis/develop-patch-3
Fix #3158 can't change date in invoices
2015-07-12 12:21:46 +02:00
Laurent Destailleur
6f90605185 Fix: Sqlite can't be supported until alter table add constraint is
supported by sqlite, so choice is hidden
2015-07-12 11:44:37 +02:00
Laurent Destailleur
c83cb730fc Merge pull request #3134 from atm-alexis/NEW_add_hook_in_sendmail
NEW add hook in send mail
2015-07-11 20:46:01 +02:00
Laurent Destailleur
0eccfce9d0 Merge pull request #3184 from GPCsolutions/dolibarr-3183
Fix #3183 Make sure FormOther class is included.
2015-07-11 17:27:10 +02:00
Raphaël Doursenaud
f4cc1f647c Fix #3183 Make sure FormOther class is included. 2015-07-10 15:20:41 +02:00
Laurent Destailleur
688562a816 Fix regression: We can't yet set method __construct of DolibarrModules
abstract because this break compatibility with a lot of external module
and generate FATAL errors after migration. Because PHP is not yet able
to manage try catch on FATAL error, we can't catch such error. Using
bstract on constructor is so postponed.
2015-07-10 09:40:18 +02:00
Laurent Destailleur
0b9ed9a25c Fix PSR2. We must not have spaces after ( 2015-07-10 09:37:05 +02:00
Laurent Destailleur
3eb6ee2030 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-07-09 12:29:44 +02:00
Laurent Destailleur
c28ff6c257 NEW Add status into filters of graph 2015-07-09 12:29:01 +02:00
Juanjo Menent
f9757bf072 Merge pull request #3176 from aspangaro/develop-patch55
Fix #3166 : An accounting account can be alphanumeric (Need for EBP)
2015-07-09 09:45:59 +02:00
Juanjo Menent
407f27dca1 Merge pull request #3177 from aspangaro/develop-patch54
Update accountancy Step 2
2015-07-09 09:45:35 +02:00
aspangaro
600354e057 Update formventilation with elarifr modification 2015-07-09 07:48:09 +02:00
aspangaro
9fdc2991c7 Correct 2015-07-09 07:47:31 +02:00
aspangaro
46037dbc46 Add language key 2015-07-09 07:47:13 +02:00
aspangaro
0b19f2e068 Update list.php with elarifr modification 2015-07-09 07:46:58 +02:00
aspangaro
d286c18148 Update lines.php with elarifr modification 2015-07-09 07:11:08 +02:00
aspangaro
dbb5d3d386 Fix #3166 : An accounting account can be alphanumeric (Need for EBP) 2015-07-08 21:47:45 +02:00
All-3kcis
6b54180678 Fix #3158 can't change date in invoices 2015-07-08 16:04:21 +02:00
Juanjo Menent
7e0229ded0 Merge pull request #3168 from aspangaro/develop-patch54
Update accountancy 1st step
2015-07-08 12:03:49 +02:00
aspangaro
a283d0ce93 Update from elarifr 2015-07-08 07:46:26 +02:00
aspangaro
4c72567c6b Update bookkeeping 2015-07-08 07:19:23 +02:00
aspangaro
f084a9472a Merge remote-tracking branch 'Upstream/develop' into develop-54 2015-07-08 07:05:43 +02:00
Laurent Destailleur
455a697f1a Merge pull request #3159 from marcosgdf/develop
FIX #2832: Fixed a problem with special characters in expense report PDF model
2015-07-07 19:35:50 +02:00
Laurent Destailleur
f0cc620296 Merge pull request #3160 from marcosgdf/more-oop2
Created abstract functions DolibarrModules::__construct, DolibarrModules::init and DolibarrModules::remove
2015-07-07 19:33:46 +02:00
Marcos García de La Fuente
eff573e753 Removed duplicated code from core modules 2015-07-07 13:08:26 +02:00
Marcos García de La Fuente
98344746cf Added missing scopes of modMyModule 2015-07-07 13:08:17 +02:00
Marcos García de La Fuente
56ff0c7350 Created abstract functions DolibarrModules::__construct, DolibarrModules::init and DolibarrModules::remove 2015-07-07 13:08:12 +02:00
Marcos García de La Fuente
b7809c788a FIX #2832: Fixed a problem with special characters in expense report PDF model 2015-07-07 12:27:36 +02:00
aspangaro
787d2310c1 Correct language key 2015-07-07 05:57:35 +02:00
Laurent Destailleur
0fd134f825 Merge pull request #2889 from GPCsolutions/commonobjectreview
[Qual] Reviewed commonobject
2015-07-06 23:57:34 +02:00
Laurent Destailleur
00d2047e4c Merge pull request #3152 from GPCsolutions/install
Install
2015-07-06 23:55:14 +02:00
Laurent Destailleur
43c0e7e249 Merge pull request #3150 from marcosgdf/more-oop
Created function SupplierInvoiceLine::update and added missing localtax1_type and localtax2_type properties
2015-07-06 23:52:00 +02:00
Laurent Destailleur
cfd5ca15fd Merge pull request #3153 from GPCsolutions/jquery
Fix: jquery path
2015-07-06 23:51:03 +02:00
Raphaël Doursenaud
5ebc84e999 [Qual] Reviewed commonobject
Added missing fields
Removed unused variables
Documented methods parameters
Checked return points
2015-07-06 17:03:25 +02:00
Raphaël Doursenaud
b508dce3ff Fix: jquery path 2015-07-06 16:48:10 +02:00
Raphaël Doursenaud
f3c319958f Fix: no PHP closing tag in generated files
Best practice
2015-07-06 16:39:49 +02:00
Raphaël Doursenaud
c28e863e2f Fix: jquery path 2015-07-06 16:39:42 +02:00
Raphaël Doursenaud
ef90cd39f8 Uniformized install logging 2015-07-06 16:34:31 +02:00
Raphaël Doursenaud
572ce7bcbb NEW: Rename install etape to step 2015-07-06 15:44:33 +02:00
Alexis ALGOUD
1277596242 Mode hook
in $conf->global->MAIN_DISABLE_ALL_MAILS
2015-07-06 00:51:17 +02:00
Laurent Destailleur
8eb4a208ce Debug statistics of project module 2015-07-05 22:04:30 +02:00
Marcos García de La Fuente
670596685f Created function SupplierInvoiceLine::update and added missing localtax1_type and localtax2_type properties
Related to #2670
2015-07-05 13:34:06 +02:00
Laurent Destailleur
089056f024 Filter on status on hierarchical view 2015-07-05 12:15:21 +02:00
aspangaro
627429326e Merge remote-tracking branch 'Upstream/develop' into develop-54 2015-07-05 05:59:10 +02:00
aspangaro
54d2a96d8e dir DOL_URL_ROOT 2015-07-05 05:56:45 +02:00
Laurent Destailleur
04ba12fab6 Add es_BO and fy_NL 2015-07-04 22:18:31 +02:00
Laurent Destailleur
1b6922fe81 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-07-04 18:20:34 +02:00
Laurent Destailleur
324d855b9c Still working on project module to uniformize way of working with other
modules
2015-07-04 18:20:17 +02:00
Laurent Destailleur
eef7c995da Merge pull request #3149 from aspangaro/develop-patch53
Accountancy: Bank journal - Show user on salary payment & use new account to pay vat
2015-07-04 17:37:07 +02:00
Laurent Destailleur
cf7839f5fa Merge pull request #3148 from aspangaro/develop-patch52
New: Task #2567 Add accountancy code for VAT payments
2015-07-04 17:36:07 +02:00
aspangaro
ea4b7b98a1 Merge remote-tracking branch 'Upstream/develop' into develop-53 2015-07-04 16:41:53 +02:00
aspangaro
fc3995c0be Accountancy: Bank journal - Show user on salary payment & user new account to pay vat 2015-07-04 16:39:52 +02:00
aspangaro
56831ecd16 Correct travis 2015-07-04 16:13:44 +02:00
aspangaro
7bf1ea2cac New: Task(#2567) Add accountancy code for VAT payments 2015-07-04 15:48:43 +02:00
Laurent Destailleur
9b532e0dd4 Merge pull request #3147 from aspangaro/develop-patch51
Fix: md_exp borders have different colors
2015-07-04 15:04:19 +02:00
aspangaro
d1111f9b90 Merge remote-tracking branch 'Upstream/develop' into develop-51 2015-07-04 15:01:11 +02:00
aspangaro
556db60f22 Fix: md_exp borders have different colors 2015-07-04 14:59:20 +02:00
Laurent Destailleur
d5a4a98c22 FIX #3138 - Too much visible thing when access is denied on public pages 2015-07-04 14:56:43 +02:00
Laurent Destailleur
251fedad48 NEW Can edit email template using WYSIWYG editor 2015-07-04 11:57:55 +02:00
Laurent Destailleur
45d27ae250 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-07-04 10:50:57 +02:00
Laurent Destailleur
e9b6a6a61e NEW Add filter on status on invoice list 2015-07-04 10:50:41 +02:00
Laurent Destailleur
56560d9379 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-07-04 10:49:01 +02:00
Laurent Destailleur
ab01c40978 Merge pull request #3143 from marcosgdf/more-oop
Created function SupplierInvoiceLine::fetch and SupplierInvoiceLine::delete
2015-07-04 04:44:46 +02:00
Laurent Destailleur
42b4eaaeed Merge pull request #3142 from hregis/develop_new
New: possibility to defined a tab for all entities in module descriptor
2015-07-04 04:43:40 +02:00
Laurent Destailleur
b7715635a0 Merge pull request #3139 from aspangaro/develop-patch50
Disable button add a line in bank module when accountancy module is activated
2015-07-04 04:42:37 +02:00
Laurent Destailleur
9321272838 Uniformize code 2015-07-04 04:34:14 +02:00
Laurent Destailleur
3520c94641 Merge pull request #3131 from atm-maxime/check_rejection
New : Check rejection management
2015-07-04 04:20:58 +02:00
Laurent Destailleur
7ad4d9056d Merge pull request #3117 from All-3kcis/patch-2
Correct display of hours and minutes after action "Order"
2015-07-04 04:14:12 +02:00
Laurent Destailleur
5015eb8a88 Merge pull request #3126 from aspangaro/develop-patch48
Fix travis
2015-07-04 04:13:32 +02:00
Laurent Destailleur
47f9184382 Merge pull request #3114 from aspangaro/develop-patch46
Forms are using the tab look, even in creation mode
2015-07-04 04:13:21 +02:00
Laurent Destailleur
bddee5d01f Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-07-04 04:11:30 +02:00
Laurent Destailleur
5fafb08f91 Uniformize code 2015-07-04 04:11:16 +02:00
Laurent Destailleur
19158979ac Merge pull request #3122 from ywarnier/tva2
Updates and additions to VAT reports
2015-07-04 04:05:04 +02:00
Laurent Destailleur
9eff436f5c Merge pull request #3136 from alainabbas/develop
Correct bug #3050
2015-07-04 03:45:46 +02:00
Laurent Destailleur
55dbc2dfe2 Merge pull request #3115 from sebhm/develop
add hook addMoreActionsButtons
2015-07-04 03:43:08 +02:00
Laurent Destailleur
97524687c7 Merge pull request #3113 from aspangaro/develop-patch44
Add getNomUrl on accounting for an account
2015-07-04 03:40:30 +02:00
Laurent Destailleur
a49c9c299e Merge pull request #3102 from aspangaro/develop-patch42
HRM area : Show Ref instead of id for expense report
2015-07-04 03:40:13 +02:00
Laurent Destailleur
9c80735310 An easier to use dictionary page to edit email template.
Uniformize look.
2015-07-04 03:28:52 +02:00
Laurent Destailleur
0ac43211ad NEW: Add help tooltips on fields of dictionary edit pages.
Fix: visible list of tasks are for opened project only.
2015-07-04 02:08:06 +02:00
aspangaro
4627e72f59 Debug && PSR2 2015-07-04 00:01:40 +02:00
Marcos García de La Fuente
9415bdd828 Created function SupplierInvoiceLine::fetch and SupplierInvoiceLine::delete 2015-07-03 19:17:45 +02:00
Laurent Destailleur
f320310304 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-07-03 16:24:17 +02:00
Laurent Destailleur
22bac55d32 Push partial lang 2015-07-03 16:23:56 +02:00
Laurent Destailleur
f06b66c5f0 Sync from transifex 2015-07-03 15:31:51 +02:00
Laurent Destailleur
5db5a8a1fa No need of option all. Reference is now transifex. 2015-07-03 13:48:54 +02:00
Regis Houssin
e9aa98fb9d Fix: travis 2015-07-03 11:40:59 +02:00
Regis Houssin
b70dfd0d54 New: possibility to defined a tab for all entities in module descriptor 2015-07-03 11:16:24 +02:00
aspangaro
111e44493a Disable button add a line in bank module when accountancy module is activated 2015-07-03 06:48:49 +02:00
Laurent Destailleur
312281f4d4 Debug askpricesupplier
Try to continue work on position of menu entries.
2015-07-02 22:43:51 +02:00
Laurent Destailleur
196a745086 NEW Can filter proposal, orders or invoices with criteria "contain at
least one product with following tag"
2015-07-02 22:07:13 +02:00
Alexis Algoud
25842b3295 NEW add hook in send mail 2015-07-02 16:03:24 +02:00
Maxime Kohlhaas
84be022ee1 Merge branch 'develop' of github.com:Dolibarr/dolibarr into check_rejection
Conflicts:
	htdocs/compta/paiement/cheque/card.php
2015-07-02 13:45:32 +02:00
aspangaro
39dbec144a Correct travis 2015-07-02 05:15:54 +02:00
Laurent Destailleur
6ef0b8e330 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-07-01 21:17:05 +02:00
Yannick Warnier
3a8c93522f Convert " " to \t to match custom coding conventions 2015-06-30 15:53:58 -05:00
Yannick Warnier
486a1547df Add language terms for extended VAT quarterly report 2015-06-30 15:51:24 -05:00
Yannick Warnier
c9e3cf9fa9 Introduce checkbox for extended customers VAT report 2015-06-30 15:50:35 -05:00
Yannick Warnier
066a7acbaa Minor - Improve PSR-2 support 2015-06-30 15:42:55 -05:00
Yannick Warnier
6cb69cdaba Minor - Fix date column title 2015-06-30 15:42:08 -05:00
Yannick Warnier
f0db9a3c3b Add non-local and local-only VAT customers reports to new quarterly report 2015-06-30 15:41:56 -05:00
Yannick Warnier
c3bb76340f Improve extended quaterly VAT report 2015-06-30 15:41:00 -05:00
Yannick Warnier
0cfd513b8c Add extended quaterly VAT report with additional information on dates and customers/suppliers 2015-06-30 15:39:15 -05:00
Yannick Warnier
8e974d024b Fix broken old queries in VAT's quadri.php 2015-06-30 15:37:22 -05:00
Laurent Destailleur
b766f99acc Uniformize look.
Make code to manage link "Now" on calendar more generic.
2015-06-30 21:50:24 +02:00
Laurent Destailleur
57a267a30f NEW Add hooks to allow an external module to complete list of events
into calendar views.
2015-06-30 17:09:52 +02:00
Laurent Destailleur
276f057acf Clean trigger codes
Better error message when we insert duplicate barcode.
2015-06-30 16:10:03 +02:00
Laurent Destailleur
c69a9996f1 Uniformize code 2015-06-30 15:12:15 +02:00
Laurent Destailleur
a29ca43943 Prepare merge of merge tools and invoice list 2015-06-30 14:32:17 +02:00
Laurent Destailleur
4a1dfa60a5 Uniformize code 2015-06-30 13:14:19 +02:00
All-3kcis
89c870225c Correct display of hours and minutes after action "Order" in supplier order. 2015-06-30 10:49:15 +02:00
aspangaro
ea703be39b Merge remote-tracking branch 'Upstream/develop' into develop-46 2015-06-30 06:33:10 +02:00
aspangaro
58dc11c958 Add language key 2015-06-30 06:31:46 +02:00
aspangaro
e363b20e85 Forms are using the tab look, even in creation mode 2015-06-30 06:31:09 +02:00
Laurent Destailleur
a8f1066faa Fix support of option to manage opportunities 2015-06-30 01:53:01 +02:00
Laurent Destailleur
99874c4b0d Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-06-30 01:34:26 +02:00
Laurent Destailleur
ae5b779652 Uniformize code 2015-06-30 01:34:17 +02:00
Laurent Destailleur
eed1d1527a NEW Into the overview of projects, the name of thirdparty appears into
combo lists of elements to link to project.
2015-06-30 00:48:21 +02:00
sebhm
84e51eff3c add hook addMoreActionsButtons
as in most Card, this hook is useful
2015-06-29 22:36:41 +02:00
aspangaro
46407c1c22 Forms are using the tab look, even in creation mode 2015-06-29 21:58:38 +02:00
aspangaro
a762910f11 Add getNomUrl on accounting for account 2015-06-29 21:16:30 +02:00
Laurent Destailleur
5f07c18e06 NEW Add opportunity amount on project card. 2015-06-29 16:57:32 +02:00
aspangaro
7e54840cb6 Replace tabs with spaces 2015-06-29 13:12:37 +02:00
aspangaro
279d1d4320 Correct travis 2015-06-29 12:59:55 +02:00
Laurent Destailleur
9d1ca52492 Css fix 2015-06-29 11:22:03 +02:00
aspangaro
cb0aa41386 Debug 2015-06-29 06:48:39 +02:00
aspangaro
768042513d Merge remote-tracking branch 'Upstream/develop' into develop-42 2015-06-29 06:45:24 +02:00
aspangaro
cff82a5226 Use ref instead of rowid for expense report 2015-06-29 06:41:24 +02:00
Laurent Destailleur
dc050d39eb Merge remote-tracking branch 'origin/3.7' into develop
Conflicts:
	build/makepack-dolibarr.pl
	htdocs/adherents/type.php
	htdocs/core/boxes/box_task.php
	htdocs/core/class/commonobject.class.php
	htdocs/core/class/html.form.class.php
	htdocs/core/js/lib_batch.js
	htdocs/core/modules/modUser.class.php
	htdocs/fichinter/card.php
	htdocs/fourn/commande/card.php
	htdocs/societe/consumption.php
	htdocs/user/info.php
	htdocs/user/note.php
	htdocs/user/param_ihm.php
	htdocs/user/perms.php
2015-06-29 00:09:28 +02:00
Laurent Destailleur
6fb53ecb97 Update doc 2015-06-28 23:33:03 +02:00
Laurent Destailleur
f8085c8ae6 Update doc 2015-06-28 12:34:21 +02:00
Laurent Destailleur
ce6039f7f6 NEW Replace category edition page on members with new select2 component. 2015-06-27 23:01:05 +02:00
Laurent Destailleur
b25d2ff00a Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop

Conflicts:
	htdocs/main.inc.php
2015-06-27 22:00:56 +02:00
Laurent Destailleur
0cbf92c716 Merge pull request #3110 from hregis/develop_strict
Fix: Use hooks (Multicompany)
2015-06-27 21:56:36 +02:00
Laurent Destailleur
0a2bafaa6d The trigger USER_LOGIN* are deprecated. They are still working but you
should prefer use the hook afterLogin or afterLoginFailed instead.
2015-06-27 21:52:23 +02:00
Regis Houssin
ab558f8ea9 Fix: Use hooks (Multicompany) 2015-06-27 16:32:01 +02:00
Laurent Destailleur
55cb103ab0 Maxi debug of new module leave requests 2015-06-27 13:01:44 +02:00
Laurent Destailleur
b6efa5ed11 NEW Can upload files on leave requests. Use more standard permissions. 2015-06-27 11:45:23 +02:00
Laurent Destailleur
e02915cf8d Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-06-27 09:56:57 +02:00
Laurent Destailleur
6ed99db818 Merge pull request #3107 from simnandez/develop
Transifex Syncro
2015-06-27 02:38:05 +02:00
Laurent Destailleur
faccb3666e Avoid to include tested module 2015-06-27 02:34:28 +02:00
Laurent Destailleur
be92f5e7a0 Fix syntax error 2015-06-27 02:31:26 +02:00
Laurent Destailleur
06b21d0b42 Merge branch 'aspangaro-develop-patch43' into develop 2015-06-27 02:27:59 +02:00
Laurent Destailleur
ceb9955efc Merge branch 'develop-patch43' of https://github.com/aspangaro/dolibarr into aspangaro-develop-patch43
Conflicts:
	htdocs/contact/list.php
2015-06-27 02:27:34 +02:00
Laurent Destailleur
6faf6eeb4f Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-06-27 02:21:43 +02:00
Laurent Destailleur
b3d1df3786 Merge pull request #3109 from hregis/develop_new
New: Possibility to add javascript in main login page with
2015-06-27 02:19:50 +02:00
Laurent Destailleur
bae8ed2356 uniformize code 2015-06-27 02:19:46 +02:00
Regis Houssin
c05bf7e977 New: Possibility to add javascript in main login page with
"getLoginPageOptions" hook
2015-06-26 19:37:37 +02:00
Maxime Kohlhaas
7486f2228d Debug : date fields were not transmitted by formconfirm 2015-06-26 18:50:57 +02:00
Maxime Kohlhaas
16ef029a80 Add function to manage check rejection 2015-06-26 18:50:31 +02:00
Juanjo Menent
8b78ef5e18 Transifex Syncro 2015-06-26 17:45:02 +02:00
Juanjo Menent
ba97763ac4 Transifex Syncro 2015-06-26 17:40:47 +02:00
Laurent Destailleur
0fe0c989ca Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-06-26 17:36:54 +02:00
Maxime Kohlhaas
f02ba45035 Allow to fetch a payment by its associated bank line id 2015-06-26 17:29:54 +02:00
Laurent Destailleur
2bc6d6dd4c Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-06-26 17:26:12 +02:00
Laurent Destailleur
5584acddbd Content of popup tooltip on contact and login link 2015-06-26 17:21:03 +02:00
Maxime Kohlhaas
17a25ed4a1 Add date option to the formconfirm formquestion 2015-06-26 17:00:24 +02:00
Maxime Kohlhaas
175cffbec8 Debug : calendar must always be displayed on top of other layers 2015-06-26 16:59:19 +02:00
Laurent Destailleur
8f691138e8 NEW Can edit Background color for Top menu and Background color for
table title line (works only with theme menu eldy).
2015-06-26 16:21:09 +02:00
Laurent Destailleur
57b0de25e2 NEW Add option THEME_ELDY_DISABLE_IMAGE to disable images into menu
eldy.
2015-06-26 14:44:06 +02:00
Laurent Destailleur
936c46d219 Better error/setup messages. 2015-06-26 13:18:40 +02:00
aspangaro
f9831f908e Use print_liste_field_titre(); 2015-06-26 06:49:43 +02:00
aspangaro
9d2e964b00 Fix: print_liste_field_titre(''); 2015-06-26 06:23:29 +02:00
aspangaro
cd282568e8 Merge remote-tracking branch 'Upstream/develop' into develop-42 2015-06-26 05:39:05 +02:00
aspangaro
cb36a919b5 HRM area : Show Ref instead of id for expense report 2015-06-26 05:34:12 +02:00
alainabbas
865814052d Merge pull request #1 from alainabbas/alainabbas-patch-1
FIX|Fix #3050 Odt to PDF generation error in draft mode
2015-06-25 21:00:35 +02:00
alainabbas
efd3c4d863 Correct bug #3050
when a piece is in draft and odt2pdf.sh is used, the filename is not corrected escaped for the shell
2015-06-25 20:57:01 +02:00
Juanjo Menent
967e7ea457 Merge pull request #3099 from GPCsolutions/dolibarr-3098
Updated jQuery BlockUI plugin to a version compatible with shipped jQuery
2015-06-25 20:46:41 +02:00
Juanjo Menent
ba984254a5 Merge pull request #3096 from GPCsolutions/replaceaddress
Allow replacing the address block
2015-06-25 20:45:26 +02:00
Juanjo Menent
0f6aaf1461 Merge pull request #3094 from aspangaro/develop-patch41
Accounting - Add field to edit in admin
2015-06-25 20:42:37 +02:00
Juanjo Menent
d6b15d1be8 Merge pull request #3093 from aspangaro/develop-patch40
Move ACCOUNTING_VAT_ACCOUNT to ACCOUNTING_VAT_SOLD_ACCOUNT
2015-06-25 20:41:56 +02:00
Raphaël Doursenaud
b219381e04 Fix #3098 Updated jQuery BlockUI plugin to 2.70.0 2015-06-25 15:47:26 +02:00
Raphaël Doursenaud
63a3d2f760 Updated jQuery versions in COPYRIGHT
Actual library update has been done at a3a5b0d
2015-06-25 15:43:34 +02:00
Raphaël Doursenaud
d6e48670e7 Allow replacing the address block
Since ba2c0a2651 changed the default hook mode
from addreplace to output, this is needed to still be allowed to replace
the displayed address from a hook
2015-06-25 11:13:23 +02:00
aspangaro
e20da5511d Accounting - Add field to edit in admin 2015-06-25 06:54:19 +02:00
aspangaro
452733263d Move ACCOUNTING_VAT_ACCOUNT to ACCOUNTING_VAT_SOLD_ACCOUNT 2015-06-25 06:37:26 +02:00
Laurent Destailleur
1485ead215 Fix: MARGIN_TYPE == 2 is "using PMP price" so i remove a duplicate
option to get same behaviour.
2015-06-24 21:36:28 +02:00
Laurent Destailleur
a7aaa89e49 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-06-24 18:33:04 +02:00
Juanjo Menent
759aec3925 Merge pull request #3084 from aspangaro/develop-patch37
Fix: ER button set_paid & merge with old option setPaid
2015-06-24 18:27:25 +02:00
Juanjo Menent
fc9d54fdaa Merge pull request #3088 from atm-maxime/develop
New : add stats by qty on report turnover by product (+ clean code)
2015-06-24 18:23:31 +02:00
Juanjo Menent
044edaaefc Merge pull request #3092 from FHenry/develop
NEW : add extrafields into import product
2015-06-24 18:20:47 +02:00
Juanjo Menent
9080470a64 Merge pull request #3089 from aspangaro/develop-patch39
Fix travis
2015-06-24 18:18:36 +02:00
Laurent Destailleur
fcc9fc6672 Fix translation 2015-06-24 16:54:44 +02:00
Florian HENRY
daab394c81 add extrafields into import product 2015-06-24 12:40:56 +02:00
aspangaro
b4b5dedaa9 Merge remote-tracking branch 'Upstream/develop' into develop-39 2015-06-24 07:02:48 +02:00
aspangaro
f65234e44f Fix travis 2015-06-24 07:01:15 +02:00
Laurent Destailleur
0780c84012 Fix missing payment mode into export invoice profile 2015-06-23 23:58:04 +02:00
Laurent Destailleur
bdba8f1f38 Fix courrent outstanding amount not visible 2015-06-23 23:33:25 +02:00
Maxime Kohlhaas
5e9c85c789 Merge branch 'develop' of github.com:Dolibarr/dolibarr into develop 2015-06-23 20:03:46 +02:00
Laurent Destailleur
040a643ee9 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop

Conflicts:
	htdocs/expensereport/card.php
	htdocs/projet/element.php
2015-06-23 18:34:39 +02:00
Laurent Destailleur
a23e2511b9 Removed useless tab 2015-06-23 18:11:21 +02:00
Laurent Destailleur
27cc7ef2b3 Time spent 2015-06-23 10:13:08 +02:00
aspangaro
385857380b Remove old field 2015-06-23 06:39:55 +02:00
aspangaro
fae0a99a97 Merge remote-tracking branch 'Upstream/develop' into develop-37 2015-06-23 06:17:29 +02:00
Laurent Destailleur
460c926f98 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-06-22 22:32:00 +02:00
Laurent Destailleur
4db562c9e7 Tags are shown as thumbs into card. 2015-06-22 22:31:44 +02:00
Laurent Destailleur
afc4529f7f Merge pull request #3080 from open-minds/develop
Remove useless filter for "text" parameter of boxes content
2015-06-22 20:32:08 +02:00
Maxime Kohlhaas
fdf1d953a9 New : add stats by qty on report turnover by product (+ clean code) 2015-06-22 19:22:13 +02:00
Laurent Destailleur
bfa0f0d576 Minor look enhancement 2015-06-22 17:20:06 +02:00
Laurent Destailleur
cac7b1f49f NEW Add hooks on list of members to allow an external module to add more
fields into list view.
2015-06-22 16:34:25 +02:00
Laurent Destailleur
5a8e763099 Uniformize code for hooks
Uniformize page name societe.php into list.php
2015-06-22 15:48:48 +02:00
Laurent Destailleur
ea8279cf09 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-06-22 12:00:09 +02:00
Laurent Destailleur
a27212644e NEW Can add project search on left menu search area 2015-06-22 11:55:21 +02:00
aspangaro
134cea194d Debug 2015-06-22 06:53:43 +02:00
Laurent Léonard
ba64486e68 Remove useless filter for "text" parameter of boxes content
This filter doesn't allow to display "0" value and is not applied to the similar "text2" parameter.
2015-06-22 02:53:28 +02:00
Laurent Destailleur
6e1a5ca401 Merge pull request #3078 from aspangaro/develop-patch38
Fix: Accountancy list: Use print_liste_field_titre
2015-06-21 23:30:49 +02:00
Laurent Destailleur
5975536fcf Support type of leave. 2015-06-21 23:25:01 +02:00
aspangaro
e0ae7bd430 Merge remote-tracking branch 'Upstream/develop' into develop-37 2015-06-21 21:09:55 +02:00
Laurent Destailleur
7d1d1caf30 Debug withdraw module 2015-06-21 17:09:00 +02:00
Laurent Destailleur
230fd7a7e4 Debug withdraw module 2015-06-21 17:05:49 +02:00
aspangaro
390c670c5c Merge remote-tracking branch 'Upstream/develop' into develop-38 2015-06-21 14:35:45 +02:00
aspangaro
2ab454e757 Presentation 2015-06-21 14:32:00 +02:00
Laurent Destailleur
2612585d1c Merge pull request #3073 from atm-alexis/develop
FIX hide product category if it's not enable
2015-06-21 11:53:11 +02:00
Laurent Destailleur
8710065ca0 Merge pull request #3072 from atm-maximep/new_set_amount_for_withdraws
NEW : Set amount for withdraws requests
2015-06-21 11:52:23 +02:00
Juanjo Menent
35a9e164dc Merge pull request #3076 from aspangaro/develop-patch36
Review ER : remove fk_c_tva and add  option MAIN_GENERATE_DOCUMENTS_WITHOUT_VAT
2015-06-21 10:57:17 +02:00
aspangaro
0f450edfcd Debug 2015-06-21 08:32:37 +02:00
aspangaro
0934860ce5 Accountancy list: Use print_liste_field_titre 2015-06-21 08:26:42 +02:00
aspangaro
f0a3057221 Fix: ER button set_paid & merge with old option setPaid 2015-06-21 08:07:06 +02:00
aspangaro
20582b9ea5 Merge remote-tracking branch 'Upstream/develop' into develop-36 2015-06-21 07:31:43 +02:00
Laurent Destailleur
d780c03651 Fix default buttone 2015-06-21 03:47:16 +02:00
Laurent Destailleur
4f1538f502 Introduce table llx_c_holiday_type 2015-06-21 03:19:15 +02:00
Laurent Destailleur
e0d1cbeb16 Introduce table llx_c_holiday_type 2015-06-21 00:07:03 +02:00
Laurent Destailleur
a3a5b0d9b0 Upgrade jquery and jquery-ui to last stable version 2015-06-21 00:06:37 +02:00
Laurent Destailleur
825369230f Finishment of look 2015-06-20 23:33:13 +02:00
Laurent Destailleur
2c5ef858d0 NEW Filter "active" by default on user list.
Fix label of permission of project module
2015-06-20 20:35:57 +02:00
Laurent Destailleur
40d17add22 Fix missing print 2015-06-20 19:42:07 +02:00
Laurent Destailleur
87b4381d47 Update jflot plugin 2015-06-20 19:17:50 +02:00
Laurent Destailleur
1cb9d3b2eb Fix nohover for lines to add lines 2015-06-20 17:40:36 +02:00
Laurent Destailleur
a6a027f5c4 Fix several pb with javascript 2015-06-20 17:24:34 +02:00
Laurent Destailleur
c2568020a5 Fix IBAN class is uppercase 2015-06-20 17:23:41 +02:00
Laurent Destailleur
32626c5ae6 Fix js refresh with autocomplete 2015-06-20 17:23:28 +02:00
Laurent Destailleur
ba5d6318ef Debug the integrity check feature. 2015-06-20 14:24:22 +02:00
Laurent Destailleur
a7ce414d23 Fix translation 2015-06-20 14:15:32 +02:00
aspangaro
0ff97da1ea Review ER : remove fk_c_tva and add option MAIN_GENERATE_DOCUMENTS_WITHOUT_VAT 2015-06-20 09:06:20 +02:00
Laurent Destailleur
2895241420 Update theme with 3.8 2015-06-19 17:03:35 +02:00
Laurent Destailleur
bbce287892 Fix: Pdf merge tool must see only pdf files 2015-06-19 16:05:04 +02:00
Alexis Algoud
d0999e5458 FIX hide category if it's not enable 2015-06-19 14:30:23 +02:00
maxime peyrot
f99a127a57 NEW : Enter amount for withdraws requests 2015-06-19 13:45:14 +02:00
Laurent Destailleur
2785bf7520 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-06-19 12:13:39 +02:00
Laurent Destailleur
b3c1ebf30a Debug price per customer 2015-06-19 12:13:05 +02:00
Laurent Destailleur
694481ae5e Merge pull request #3071 from aspangaro/develop-patch35
Review accountancy
2015-06-19 11:29:01 +02:00
Laurent Destailleur
5376c771d7 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-06-19 11:27:59 +02:00
Laurent Destailleur
ad395ef176 Merge branch 'aspangaro-develop-patch34' into develop 2015-06-19 11:27:29 +02:00
Laurent Destailleur
01fbee0e06 Merge branch 'develop-patch34' of https://github.com/aspangaro/dolibarr
into aspangaro-develop-patch34

Conflicts:
	htdocs/comm/action/class/actioncomm.class.php
2015-06-19 11:27:15 +02:00
Laurent Destailleur
eac822d821 Merge pull request #3069 from aspangaro/develop-patch33
Fix: Accountancy - SQL error & typo
2015-06-19 11:23:43 +02:00
Laurent Destailleur
44d4d23c00 Fix phpcs 2015-06-19 11:21:36 +02:00
Laurent Destailleur
bfc8ccd761 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-06-19 11:19:23 +02:00
Laurent Destailleur
20da120a49 Merge tab to upload photo and other files to same tab. This reduce
duplicate code and avoid users to be lost.
2015-06-19 11:19:13 +02:00
Laurent Destailleur
0d7fea70a0 Merge pull request #3068 from atm-alexis/develop
FIX can receive new batch product on supplier order
2015-06-19 11:17:59 +02:00
Laurent Destailleur
b39d100e53 Merge pull request #3067 from All-3kcis/patch-1
FIX complete function ordersupplier_prepare_head() so a module can remove tabs
2015-06-19 11:16:15 +02:00
Laurent Destailleur
5d585393ef Merge pull request #3065 from aspangaro/develop-patch32
New: Add payment into expense report card - Link to the bank module
2015-06-19 11:15:14 +02:00
Laurent Destailleur
d99fd37f3d Merge pull request #3061 from marcosgdf/bug-timezone-2
Corrected Timezone detection by using jstz external library
2015-06-19 11:13:50 +02:00
Laurent Destailleur
638f264d88 Merge pull request #3064 from znetstar/develop
Adds a Dockerfile
2015-06-19 11:13:25 +02:00
aspangaro
ceaa71649c Review customer list ventilation page 2015-06-19 06:56:21 +02:00
aspangaro
14ad53848d Remove $linkback, lang & html 2015-06-19 06:32:51 +02:00
aspangaro
0c01295016 Fix travis 2015-06-19 06:19:10 +02:00
aspangaro
f60ca03140 Fix travis 2015-06-19 06:11:32 +02:00
aspangaro
22d81dec60 Merge remote-tracking branch 'Upstream/develop' into develop-32 2015-06-19 06:10:18 +02:00
aspangaro
fb57941b21 typo 2015-06-19 06:06:46 +02:00
aspangaro
4bda3a3f21 Merge remote-tracking branch 'Upstream/develop' into develop-33 2015-06-19 06:04:56 +02:00
aspangaro
d959c552f2 Fix: Accountancy - SQL error 2015-06-19 06:01:42 +02:00
Laurent Destailleur
b5cc7ae1c8 Work on merge tab photos and attached files 2015-06-19 00:52:58 +02:00
Laurent Destailleur
d8f86708b1 Minor look fix 2015-06-19 00:36:03 +02:00
Laurent Destailleur
bbc70004d9 Disable option that i can't understand. 2015-06-19 00:18:41 +02:00
Alexis Algoud
21f0fc8229 FIX can receive new batch product on supplier order 2015-06-18 19:49:19 +02:00
Laurent Destailleur
425d9bff48 Tooltip to make understanding better. 2015-06-18 19:33:29 +02:00
All-3kcis
c96c528d3e Correction complete_head
Ajout de la fonction complete_head_from_modules() pour supprimer les onglets si besoin.
2015-06-18 15:16:28 +02:00
Laurent Destailleur
1ee933c4a1 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-06-18 14:48:00 +02:00
Laurent Destailleur
7507a71121 Lenght of fields 2015-06-18 14:47:33 +02:00
Laurent Destailleur
e20a63c9f0 NEW Can use a "|" to make a OR search on several different criterias
into text filters of tables.
2015-06-18 14:38:12 +02:00
Laurent Destailleur
29422a9ff9 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-06-18 14:25:31 +02:00
Laurent Destailleur
a2e9ebe2d1 Fix hover is ok on boxes array too. 2015-06-18 14:25:13 +02:00
aspangaro
7539ad88fa Debug 2015-06-18 06:30:48 +02:00
aspangaro
9cf06ec21c Add function set_paid 2015-06-18 06:12:05 +02:00
zachary
0ef8ea269b Adds php-gd and mysqli to dockerfile 2015-06-17 20:20:58 -04:00
zachary
f8cf0fa679 Adds dockerfile 2015-06-17 19:58:34 -04:00
aspangaro
50aa36502c Merge remote-tracking branch 'Upstream/develop' into develop-32
Conflicts:
	htdocs/expensereport/card.php
2015-06-17 07:21:43 +02:00
aspangaro
8d0e7261f5 Debug 2015-06-17 07:19:25 +02:00
Laurent Destailleur
b2c1365eca Merge pull request #3056 from defrance69/patch-65
added ref supplier bill
2015-06-17 00:18:38 +02:00
Laurent Destailleur
259fe11a1a Merge pull request #3060 from FHenry/develop
default charset utf-8
2015-06-17 00:17:38 +02:00
Marcos García de La Fuente
d8b7f3618c Updated changelog 2015-06-16 21:20:42 +02:00
Marcos García de La Fuente
1e05262884 Corrected Timezone detection by using jstz external library 2015-06-16 21:19:58 +02:00
Florian HENRY
6819e295f5 default charset utf-8 2015-06-16 20:22:01 +02:00
Laurent Destailleur
8df56511be NEW Enhance prototype, project list and proposal list with new hook to
have an external module able to add more fields.
2015-06-16 19:36:44 +02:00
BENKE Charlie
94341e83ed added ref supplier bill
more useful to match supplier bill than internal ref
2015-06-16 15:22:13 +02:00
Laurent Destailleur
b7c777dc07 Css fix 2015-06-16 15:14:33 +02:00
Laurent Destailleur
ef5ff2f218 Use the complete popup on user in user list and hierarchy view. 2015-06-16 15:08:20 +02:00
Laurent Destailleur
a52be15722 Enhance look for left menu seach form when HTML5 is on 2015-06-16 13:09:46 +02:00
Laurent Destailleur
fb1a3f3ea3 Rename alternative name 2015-06-16 12:04:11 +02:00
Laurent Destailleur
8b4e3096a6 Merge pull request #2412 from marcosgdf/commercial-name
NEW [ task #851 ] Add a new field: Commercial name
2015-06-16 11:44:03 +02:00
Laurent Destailleur
8e0d7ba24f Merge branch 'atm-gauthier-add_clone_on_event_agenda' into develop 2015-06-16 11:42:09 +02:00
Laurent Destailleur
d3549cc2a0 Merge branch 'add_clone_on_event_agenda' of
https://github.com/atm-gauthier/dolibarr into
atm-gauthier-add_clone_on_event_agenda

Conflicts:
	htdocs/langs/en_US/agenda.lang
2015-06-16 11:41:45 +02:00
Laurent Destailleur
417eae9c4f Merge remote-tracking branch 'origin/3.7' into develop 2015-06-16 11:18:51 +02:00
Laurent Destailleur
9281e2a824 Merge pull request #3049 from marcosgdf/task-1191
NEW [ task 1191 ] AJAX selector for projects
2015-06-16 11:09:34 +02:00
Laurent Destailleur
dd661ca716 Merge pull request #3053 from aspangaro/develop-patch30
Fix: ER Missing language key
2015-06-16 11:08:21 +02:00
Laurent Destailleur
609eb26151 Merge pull request #3051 from aternatik/api
Changes into API
2015-06-16 11:08:14 +02:00
Marcos García de La Fuente
45ebb18367 CodeSniffer corrections 2015-06-16 07:19:31 +02:00
aspangaro
2979815223 Update work on expensereport card 2015-06-16 06:56:58 +02:00
aspangaro
a1e383dafa Fix: ER Missing language key 2015-06-16 06:18:43 +02:00
aspangaro
d92eab49de Add the payment in bank module 2015-06-16 05:47:24 +02:00
aspangaro
2fb27b50ec Add payment page & class 2015-06-16 05:47:22 +02:00
aspangaro
a23994055a Add field and table in database & migration script 2015-06-16 05:47:19 +02:00
Laurent Destailleur
c56c228c7f Merge pull request #2924 from aternatik/api_rest
Allow modify API key from user card
2015-06-15 21:25:15 +02:00
Laurent Destailleur
cbac2dd63c Merge pull request #3052 from aternatik/fix_crlf
Fix crlf
2015-06-15 21:24:34 +02:00
Laurent Destailleur
e8ac52a194 Merge pull request #3046 from aspangaro/develop-patch30
Typo "cibility"
2015-06-15 21:23:36 +02:00
jfefe
3bf1b60be8 Add test if module enabled before showing API information 2015-06-15 14:38:02 +02:00
jfefe
190ee35e86 Merge branch 'develop' into api_rest
Conflicts:
	htdocs/user/card.php
	htdocs/user/class/user.class.php
2015-06-15 14:29:34 +02:00
jfefe
745f0f7d7e Fix crlf 2015-06-15 14:24:24 +02:00
jfefe
80a6afc577 Add htaccess example for API usage 2015-06-15 14:11:53 +02:00
jfefe
00125d1060 Add option to set production mode to API 2015-06-15 14:11:43 +02:00
jfefe
da0fac2ac6 Minor fix into rest API : use implemented method name 2015-06-15 13:25:02 +02:00
Marcos García de La Fuente
65d3f7968a NEW [ task 1191 ] AJAX selector for projects 2015-06-15 10:04:36 +02:00
aspangaro
b6958bb592 Wrong address 2015-06-15 05:22:50 +02:00
aspangaro
7ddec85fd2 Merge remote-tracking branch 'Upstream/develop' into develop-30 2015-06-15 05:22:12 +02:00
Laurent Destailleur
bcd254c137 Fix bad objet use. Add label of project into list. 2015-06-15 00:12:52 +02:00
aspangaro
a4acc867aa Typo "inra_vat" 2015-06-14 20:24:25 +02:00
aspangaro
f973a1fb43 Typo "cibility" 2015-06-14 20:15:22 +02:00
Laurent Destailleur
6263e90ddb More info on contact popup 2015-06-14 17:38:28 +02:00
Laurent Destailleur
87e07a3038 Merge remote-tracking branch 'origin/3.7' into develop
Conflicts:
	ChangeLog
	htdocs/compta/bank/virement.php
	htdocs/core/tpl/objectline_create.tpl.php
	htdocs/product/card.php
	htdocs/societe/soc.php
2015-06-14 17:18:45 +02:00
Laurent Destailleur
6d064e8b9b NEW Add exemple of setup for multitail to render dolibarr log files 2015-06-14 17:01:44 +02:00
Laurent Destailleur
ec5330120c Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-06-14 02:17:56 +02:00
Laurent Destailleur
c5dd3f4468 Merge pull request #3013 from GPCsolutions/dolibarr-2899
Fix #2899: Reintroduce missing field
2015-06-14 02:03:23 +02:00
Laurent Destailleur
03d1b4bac0 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-06-14 01:52:59 +02:00
Laurent Destailleur
d5c26af563 Missing nohover css 2015-06-13 20:26:49 +02:00
Marcos García de La Fuente
a496606826 Merge branch 'develop' into commercial-name
Conflicts:
	htdocs/societe/soc.php
2015-06-13 02:45:42 +02:00
Juanjo Menent
5edfef2525 Merge pull request #3006 from hregis/develop_productprice
Fix: disable hook calling
2015-06-12 21:38:14 +02:00
Juanjo Menent
deff75d2ac Merge pull request #3007 from hregis/develop_origin
Fix: possibility to show icon pdf, dot, doc, etc...
2015-06-12 21:37:07 +02:00
Juanjo Menent
0596be1656 Merge pull request #3008 from hregis/develop_strict
Fix: ereg more simple
2015-06-12 21:24:13 +02:00
Juanjo Menent
648719efdd Merge pull request #3015 from fmarcet/develop
New: Add due date filter on invoices lists
2015-06-12 21:18:31 +02:00
Juanjo Menent
9dad0add61 Merge pull request #3014 from GPCsolutions/dolibarr-2987
FIX #2987: removed dead function moneyMeter()
2015-06-12 21:07:15 +02:00
Juanjo Menent
609b1291c7 Merge pull request #3016 from GPCsolutions/dolibarr-2571
Added tag/categories management to contact card
2015-06-12 21:04:29 +02:00
Juanjo Menent
56ba4ea3d4 Merge pull request #3018 from open-minds/develop
Rename "duree" property of interventions to "duration"
2015-06-12 21:03:36 +02:00
Juanjo Menent
2522cf7a0f Merge pull request #3024 from GPCsolutions/categoriesfix
Fix: missing categories class in customer/prospect card
2015-06-12 21:02:14 +02:00
Laurent Destailleur
1c280a9219 Merge remote-tracking branch 'origin/3.7' into develop
Conflicts:
	htdocs/theme/eldy/style.css.php
2015-06-12 16:29:50 +02:00
Laurent Destailleur
f58bd37067 Css 2015-06-12 16:22:32 +02:00
Raphaël Doursenaud
4e143755e8 Fix: missing categories class in customer/prospect card
Also check that the categories module is enabled and user has permissions to see categories
2015-06-12 15:56:39 +02:00
Laurent Destailleur
4e5ed08ff8 Clean code 2015-06-12 13:21:21 +02:00
Laurent Destailleur
ed0e6753e3 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-06-12 13:09:32 +02:00
Laurent Léonard
a337b6f874 Rename "duree" property of interventions to "duration"
This also fixes the display problem of total duration on the "soleil" document model
2015-06-11 23:18:29 +02:00
Laurent Destailleur
d2843ceabb Add field frstrecur to be managed by withdrawal module. 2015-06-11 19:16:29 +02:00
Laurent Destailleur
3678a12767 NEW Can assign a task to yourself to have it appear on timesheet 2015-06-11 18:27:59 +02:00
Raphaël Doursenaud
6465e58032 Added tag/categories management to contact card
Contact part of #2571
2015-06-11 14:50:13 +02:00
fmarcet
42b04102ba New: Add due date filter on invoices lists 2015-06-11 12:40:16 +02:00
Raphaël Doursenaud
36486d6329 FIX #2987: removed dead function moneyMeter() 2015-06-11 10:57:08 +02:00
Raphaël Doursenaud
3f2b543ae4 Fix #2899: Reintroduce missing field 2015-06-11 10:53:40 +02:00
Regis Houssin
e3d1614004 Fix: ereg more simple 2015-06-11 09:21:44 +02:00
Regis Houssin
a51a8aff59 Fix: possibility to show pdf, dot, doc, etc... 2015-06-11 09:12:24 +02:00
Regis Houssin
3fd7c26cf1 Fix: disable hook calling 2015-06-11 07:52:58 +02:00
Juanjo Menent
0de3f8ac98 Merge pull request #3000 from hregis/develop_origin
Fix: Strict standards: Only variables should be passed by reference
2015-06-10 21:14:01 +02:00
Juanjo Menent
49b369035a Merge pull request #3002 from hregis/develop_productprice
NEW: add "productpricecard" hook and uniformize code
2015-06-10 21:13:01 +02:00
Juanjo Menent
4d0734950d Merge pull request #3003 from GPCsolutions/dolibarr-3001
Fix #3001: the current code needs an array, not an object
2015-06-10 21:12:02 +02:00
Juanjo Menent
680269da26 Merge pull request #3004 from hregis/develop_strict
Fix: strict mode hunter
2015-06-10 21:11:07 +02:00
Juanjo Menent
bf7c3a0a6c Merge pull request #3005 from GPCsolutions/nophotopathfix
Fix nophoto image path on company admin
2015-06-10 21:08:59 +02:00
Raphaël Doursenaud
95debcc376 Fix nophoto image path on company admin 2015-06-10 19:49:09 +02:00
Regis Houssin
c21156dd13 Fix: strict mode hunter 2015-06-10 18:58:42 +02:00
Raphaël Doursenaud
2629e47f77 Fix #3001: the current code needs an array, not an object 2015-06-10 18:45:10 +02:00
Regis Houssin
e43d4a6239 NEW: add "productpricecard" hook and uniformize code 2015-06-10 18:42:16 +02:00
Regis Houssin
edd5c33c5b Fix: Strict standards: Only variables should be passed by reference
http://geoffray.be/blog/php/only-variables-should-be-passed-by-reference
2015-06-10 18:22:47 +02:00
Juanjo Menent
7f06727c56 Merge pull request #2996 from aspangaro/develop-patch28
NEW: Add a tab document in donation card
2015-06-10 17:37:17 +02:00
Laurent Destailleur
488257d180 Fix bad coding 2015-06-08 22:16:00 +02:00
aspangaro
592d124f26 Merge remote-tracking branch 'Upstream/develop' into develop-28 2015-06-08 21:33:45 +02:00
aspangaro
1d1f19b976 NEW: Add a tab document in donation card 2015-06-08 21:28:32 +02:00
Laurent Destailleur
9b7982bf0c Merge remote-tracking branch 'origin/3.7' into develop
Conflicts:
	htdocs/comm/propal.php
	htdocs/commande/card.php
	htdocs/compta/facture.php
	htdocs/core/class/html.form.class.php
	htdocs/fourn/facture/card.php
	htdocs/theme/eldy/style.css.php
2015-06-08 18:28:50 +02:00
Laurent Destailleur
b61f7dda0b Merge pull request #2990 from GPCsolutions/dolibarr-2985
Make default avatar images public to allow Gravatar proxying
2015-06-08 17:53:37 +02:00
Laurent Destailleur
7da33519a9 Merge pull request #2989 from GPCsolutions/dolibarr-2988
Use rfc6761 example.com domain instead of domain.com in examples
2015-06-08 17:51:08 +02:00
Laurent Destailleur
5d4bbc457a Fix #2987 Removed deprecated page 2015-06-08 17:30:15 +02:00
Raphaël Doursenaud
4aee11e54b Make default avatar images public to allow Gravatar proxying
Fix #2985
2015-06-08 17:23:02 +02:00
Raphaël Doursenaud
143a7d7328 Use rfc6761 example.com domain instead of domain.com in examples
Fix #2988
2015-06-08 17:13:23 +02:00
Laurent Destailleur
df1dfcbd8a NEW Can filter proposal on a tag of a product
Enhance also the prototype test_arrays to include select form before
table.
2015-06-08 15:07:37 +02:00
Gauthier
dd81d3a762 NEW : add all assigned users and all extrafields data in new event when we createFromClone 2015-06-08 15:06:43 +02:00
Laurent Destailleur
e9526066b7 Prepare edition of field "bydefaultinlist" for extrafields. 2015-06-08 14:12:57 +02:00
Laurent Destailleur
4a18b730b5 Fix: Avoid warning in expense report validation
Fix: navigation in expense report
2015-06-08 13:49:09 +02:00
Gauthier
053cfac262 NEW : clone action on agenda events 2015-06-08 12:39:25 +02:00
Laurent Destailleur
1e0218bb9b Merge pull request #2784 from aaujon/3.7-webservices-fix
various fixes on webservices
2015-06-08 10:37:29 +02:00
Laurent Destailleur
a85f664b7a Merge pull request #2950 from defrance69/patch-64
if duration is present on service, we use it
2015-06-08 10:35:23 +02:00
Juanjo Menent
54ad709d1a Merge pull request #2979 from aspangaro/develop-patch27
FIX: Correct migration script
2015-06-08 09:52:51 +02:00
aspangaro
67c9a95ffb FIX: Correct migration script 2015-06-08 05:28:12 +02:00
BENKE Charlie
bcf9bdc92e Update card.php
new setting vars FICHINTER_USE_SERVICE_DURATION
2015-06-07 23:18:51 +02:00
Laurent Destailleur
101a9a4cf3 Fix: object user must not be overwritten 2015-06-07 19:35:47 +02:00
Laurent Destailleur
37cadaf4bf Fix the trigger on delete thirdparty was not called 2015-06-07 03:41:12 +02:00
Laurent Destailleur
7e169c0801 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-06-07 03:39:55 +02:00
Laurent Destailleur
dd08d5d660 Fix bad parameter for PUT method 2015-06-07 03:39:43 +02:00
Laurent Destailleur
7e4abf94b4 Fix Return value is always utf8 encoded and without entities. 2015-06-07 02:43:51 +02:00
Laurent Destailleur
c4ccf6f744 Fix: Missing the delete command 2015-06-07 00:06:11 +02:00
Laurent Destailleur
b89473383c Fix phpcs 2015-06-06 16:41:11 +02:00
Laurent Destailleur
02dbe16366 Mutualize code to show block to link an element to another one. 2015-06-06 15:57:59 +02:00
Laurent Destailleur
1652f80300 Memory optimizing. Save 2.3 Mb of memory for all forms that can show
margin informations. Save 300 Kb of memory for all other pages.
2015-06-06 15:19:25 +02:00
Laurent Destailleur
8d84dd1155 Uniformize code 2015-06-06 14:34:57 +02:00
Laurent Destailleur
89f77f5e2b Uniformize code 2015-06-06 14:21:18 +02:00
Arnaud Aujon
3fad8ffa80 Merge remote-tracking branch 'upstream/develop' into 3.7-webservices-fix 2015-06-06 13:39:37 +02:00
Laurent Destailleur
1880ed701f Uniformize code 2015-06-06 13:22:15 +02:00
Laurent Destailleur
f42065146a Start to clean html.form class. 2015-06-06 12:26:47 +02:00
Laurent Destailleur
fad44a068d Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-06-06 11:48:28 +02:00
Laurent Destailleur
1df1a0cd2a Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-06-06 00:14:28 +02:00
Laurent Destailleur
13001a5e9c Fix #2909 2015-06-06 00:13:58 +02:00
Laurent Destailleur
6331290056 Fix phpcs 2015-06-05 20:23:04 +02:00
Laurent Destailleur
4bac36d810 Merge pull request #2972 from FHenry/develop
fix bug in upgare2.php script (test $res after affect it should be better)
2015-06-05 19:06:41 +02:00
Laurent Destailleur
50fba5c506 Merge pull request #2970 from GPCsolutions/dolibarr-2969
Add missing ; to database password encryption instructions
2015-06-05 19:04:47 +02:00
Laurent Destailleur
b7cf070d2d Fix phpcs 2015-06-05 18:43:14 +02:00
Laurent Destailleur
43ed48896a Merge remote-tracking branch 'origin/3.7' into develop
Conflicts:
	build/debian/changelog
	htdocs/filefunc.inc.php
	htdocs/install/mysql/migration/3.6.0-3.7.0.sql
2015-06-05 18:31:53 +02:00
Laurent Destailleur
91f4fccb21 Remove warning 2015-06-05 18:26:12 +02:00
Florian HENRY
98c5a75a7e fix bug in upgare2.php script (test $res after affect it should be
better)
2015-06-05 17:51:20 +02:00
Raphaël Doursenaud
7808c5a5ad Add missing ; to database password encryption instructions
Fix #2969
2015-06-05 17:14:53 +02:00
Laurent Destailleur
77dafcbc3b Merge pull request #2945 from GPCsolutions/skeleton
Qual: PHP5 OOP, commented and typehinted class template
2015-06-05 16:15:03 +02:00
Laurent Destailleur
30f6cd08cf Merge pull request #2943 from aspangaro/develop-donation2
New: Add object ot the company & Add picture cerfa logo
2015-06-05 15:58:47 +02:00
Laurent Destailleur
7e3a457f85 Merge pull request #2942 from aspangaro/develop-donation
Fix: Donation error on admin tab & Fix: Input disabled by default
2015-06-05 15:57:35 +02:00
Laurent Destailleur
eebb93f435 Merge pull request #2940 from GPCsolutions/restapireview
Fixed some coding style issues
2015-06-05 15:55:15 +02:00
Laurent Destailleur
115dd4374e Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-06-05 15:52:40 +02:00
Laurent Destailleur
c4dd060858 Disable PEAR.NamingConventions.ValidVariableName.PrivateNoUnderscore
rule
2015-06-05 15:52:18 +02:00
Laurent Destailleur
689d3e39f2 Merge pull request #2939 from FHenry/develop
NEW Add control another invoice supplier already exists for created from supplier order (as it is done on customer invoice)
2015-06-05 15:46:59 +02:00
Laurent Destailleur
67a9fa529f Merge pull request #2241 from defrance69/patch-44
Update task.php
2015-06-05 15:45:50 +02:00
Laurent Destailleur
df60754e52 Merge pull request #2708 from GPCsolutions/deprecated
Deprecated
2015-06-05 15:44:08 +02:00
Laurent Destailleur
d692f3a759 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-06-05 15:41:37 +02:00
Laurent Destailleur
b98999c9d9 Can't delete a project 2015-06-05 15:41:27 +02:00
Laurent Destailleur
3fac108af2 Can't delete a project 2015-06-05 15:39:23 +02:00
Laurent Destailleur
ee986b1a2b Debug merge thirdparty feature. 2015-06-05 15:15:05 +02:00
Laurent Destailleur
a33241f487 Maxi debug of 3.8. Nearly ready for freeze. 2015-06-05 14:46:30 +02:00
Laurent Destailleur
5e2d9efa07 Maxi debug of 3.8. Nearly ready for freeze. 2015-06-05 14:02:50 +02:00
Laurent Destailleur
4c7ccf6145 NEW Can filter on contact status in prospect list. Removed deprecated
menu entry.
2015-06-05 10:49:02 +02:00
Laurent Destailleur
14b1fb845f Remove useless tab of categories 2015-06-05 09:57:41 +02:00
Laurent Destailleur
bbd8a712cf Merge pull request #2932 from GPCsolutions/dolibarr-2571
Added tags/categories management to customers
2015-06-05 09:44:06 +02:00
Laurent Destailleur
7c3f94d350 Merge pull request #2955 from hregis/develop_origin
Fix: use encrypt/decrypt with llx_const for experimental encryption in
2015-06-05 09:35:25 +02:00
Laurent Destailleur
a605040eac Merge pull request #2947 from aspangaro/develop-patch24
NEW Forms are using the tab look, even in creation mode
2015-06-05 09:34:52 +02:00
Laurent Destailleur
ce104116f4 Merge pull request #2931 from GPCsolutions/dolibarr-2922
Standardize categories types/ids management
2015-06-05 09:09:14 +02:00
Laurent Destailleur
a1391ba8b7 Merge pull request #2959 from aspangaro/develop-patch22
Fix: wrong file & problem to install model
2015-06-05 09:07:29 +02:00
Laurent Destailleur
5edef2f02f NEW A module can add its entries into cron module. 2015-06-05 03:32:09 +02:00
aspangaro
fc5ea9f20f Fix: wrong file & problem to install model 2015-06-04 21:14:30 +02:00
Regis Houssin
e1136b4758 Fix: use encrypt/decrypt with llx_const for experimental encryption in
database of sensitive data
2015-06-04 15:50:31 +02:00
Laurent Destailleur
047390f661 Fix missing loading of language files 2015-06-04 13:58:15 +02:00
BENKE Charlie
2164729bad if duration is present on service, we use it
not logic to entered always 1h
2015-06-04 13:34:08 +02:00
Laurent Destailleur
1f92f542a6 NEW Hidden option THEME_ELDY_USE_HOVER is stable enough to become
officialy visible into setup.
2015-06-04 13:32:21 +02:00
Laurent Destailleur
fa01dc200d NEW Add hidden option MAIN_MAILFORM_DISABLE_ENTERKEY to disable the key
enter into the form to send email.
2015-06-04 12:57:49 +02:00
Laurent Destailleur
331ebbdd73 Fix behaviour on grey/visible menu must be same everywhere on
application.
2015-06-04 11:42:24 +02:00
Laurent Destailleur
8010cb7f33 Fix the extracss parameter was overwritten other css into
textwithtooltip function.
Add tooltip on THM and TJM parameter of user.
2015-06-04 10:42:12 +02:00
aspangaro
eb5dedab1a NEW Forms are using the tab look, even in creation mode 2015-06-04 06:40:53 +02:00
Laurent Destailleur
dd8a0b849a NEW If module salaries is on, you can set a hourly value for tome
consumed by users. Each time a user enter its time consumed on a
project, a calculation is done to provide the cost for human services.
This value appears into the "Transversal view" of project.
2015-06-03 21:01:50 +02:00
Laurent Destailleur
995645800e Fix loading of project 2015-06-03 18:24:09 +02:00
Laurent Destailleur
c57693a245 Fix bad param on select box for project 2015-06-03 18:08:30 +02:00
Raphaël Doursenaud
aa9f0965c0 Qual: PHP5 OOP, commented and typehinted class template 2015-06-03 17:31:42 +02:00
Laurent Destailleur
1411772c81 Fix sql error 2015-06-03 17:07:46 +02:00
Laurent Destailleur
d109c78c6b Fix label of project was not visible 2015-06-03 16:59:48 +02:00
Laurent Destailleur
76865c00b5 NEW The line where mouse is over can be highlight with option
THEME_ELDY_USE_HOVER (on by default)
2015-06-03 16:49:22 +02:00
Laurent Destailleur
4adeb8980d NEW Add ref and label of project into export 2015-06-03 16:40:02 +02:00
Laurent Destailleur
f7eaf35d30 NEW When creating order, proposal or invoice from thirdparty card, the
project is asked during creation. A link to create project if it does
not exists is also available.
NEW Uniformize form creation of proposal to add public and private notes
during creation like done for order and invoice.
2015-06-03 11:55:39 +02:00
aspangaro
3461a8712a New: Add object of the company - Needed for donation 2015-06-03 06:48:15 +02:00
aspangaro
aa9951948b New: Add logo cerfa in common themes files 2015-06-03 06:02:52 +02:00
aspangaro
bde91633da Fix: input of french article is disabled by default 2015-06-03 06:01:05 +02:00
aspangaro
d28a56c8ac Correct travis 2015-06-03 05:49:43 +02:00
aspangaro
ef88a04f93 Fix: Donation error on admin tab 2015-06-02 20:41:02 +02:00
Raphaël Doursenaud
9b747a12aa Fixed some coding style issues 2015-06-02 15:13:52 +02:00
Florian HENRY
061e675b51 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-06-02 13:02:06 +02:00
Florian HENRY
3b3319e435 Add contrl invoice supplier already exists (as it is done on customer
invoice)
2015-06-02 13:01:51 +02:00
Laurent Destailleur
912358f731 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-06-01 21:38:13 +02:00
Laurent Destailleur
acd693b513 Fix phpcs 2015-06-01 21:37:09 +02:00
Laurent Destailleur
6af35e5cee Merge pull request #2822 from GPCsolutions/showbugtracklink
NEW A link to the bugtracker can be enabled in the GUI
2015-06-01 20:54:12 +02:00
Arnaud Aujon
ed657d2bdf hopefully fix travis errors 2015-06-01 20:39:51 +02:00
Arnaud Aujon
9bd32d7bf6 Merge remote-tracking branch 'upstream/develop' into 3.7-webservices-fix 2015-06-01 20:10:51 +02:00
Arnaud Aujon
56a2942503 Merge branch '3.7-webservices-fix' of https://github.com/aaujon/dolibarr into 3.7-webservices-fix 2015-06-01 20:05:36 +02:00
Arnaud Aujon
3099e2acc4 fix travis issues again 2015-06-01 14:15:09 +02:00
Laurent Destailleur
c9d63238ca Add fields at bank account description to manage corretly sepa
generation.
2015-06-01 13:19:02 +02:00
Arnaud Aujon
0c66c9745e fix travis error 2015-06-01 13:04:33 +02:00
Raphaël Doursenaud
ecd5ebcb44 Member type ref is not deprecated 2015-06-01 11:10:52 +02:00
Raphaël Doursenaud
ea798c2315 Qual: deprecate dol_json_encode() and dol_json_decode()
PHP > 5.3 supports json_encode() and json_decode() natively
2015-06-01 11:00:11 +02:00
Raphaël Doursenaud
3f9270ea78 Qual: added deprecation hinting
Added deprecation hinting for class properties
Added syslog warning events for deprecated functions, methods and/or their parameters
Added hinting for some constants
2015-06-01 11:00:11 +02:00
Raphaël Doursenaud
a24e4fec6c NEW A link to the bugtracker can be enabled in the GUI 2015-06-01 10:46:56 +02:00
Laurent Destailleur
e9687cbc4f Fix the amount for entry price must use the format dedicated to amount. 2015-05-31 18:23:11 +02:00
Laurent Destailleur
7d9856f3d8 Update doc 2015-05-31 17:52:32 +02:00
Laurent Destailleur
523b04a315 Work on finishing 2015-05-31 17:31:15 +02:00
Laurent Destailleur
3588d73c8e Fix css 2015-05-31 16:36:11 +02:00
Laurent Destailleur
1b681510a5 NEW Use new select2 component for juridical status, country and state
selection.
2015-05-31 12:25:33 +02:00
Laurent Destailleur
01aad8516d Merge remote-tracking branch 'origin/3.7' into develop
Conflicts:
	htdocs/adherents/list.php
	htdocs/compta/dons/card.php
	htdocs/compta/dons/class/don.class.php
	htdocs/contact/list.php
	htdocs/contrat/list.php
	htdocs/core/class/html.form.class.php
	htdocs/core/lib/security.lib.php
	htdocs/main.inc.php
	htdocs/product/stock/massstockmove.php
	htdocs/public/test/test_arrays.php
	htdocs/public/test/test_forms.php
	htdocs/societe/societe.php
2015-05-31 03:30:38 +02:00
Laurent Destailleur
86a5e88d7e Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-05-31 02:21:42 +02:00
Laurent Destailleur
fd279ea1fa No more need to output log 2015-05-31 02:21:22 +02:00
Laurent Destailleur
ceb2622181 Merge pull request #2934 from aspangaro/develop-patch24
NEW: Add a button to purge criteria in user list
2015-05-31 02:18:43 +02:00
Laurent Destailleur
487879ffd7 Merge pull request #2933 from bafbes/develop
fix 600 first lines of arabic language admin file
2015-05-31 02:15:52 +02:00
Laurent Destailleur
49f2157f2d Little debug of module resource 2015-05-31 02:05:39 +02:00
Laurent Destailleur
5e773d4cb6 Work on finishing of style 2015-05-31 01:06:51 +02:00
Laurent Destailleur
7a0ec2d831 Prototype with datatables works now also ith jmobile.
Add field fifo and lifo into product table.
2015-05-30 23:56:42 +02:00
aspangaro
fa2413f45a NEW: Add a button to purge criteria in user list 2015-05-30 21:01:37 +02:00
Laurent Destailleur
9b4ab63c7d Fix style 2015-05-30 20:07:44 +02:00
Laurent Destailleur
36b7f1dcf3 NEW Show photo of logged user into login top right block.
NEW If no photo is available for user, we show a generic photo depending
on gender
2015-05-30 19:50:07 +02:00
Laurent Destailleur
0b372a4017 Use a dedicated icon instead of generic one 2015-05-30 17:32:50 +02:00
Laurent Destailleur
bfe85cbf37 Better error management 2015-05-30 16:14:54 +02:00
Laurent Destailleur
7f352e5b24 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-05-30 15:21:56 +02:00
Laurent Destailleur
b14b1c1b12 Use dedicated picto 2015-05-30 15:21:48 +02:00
Laurent Destailleur
03c06b3cf8 Merge pull request #2916 from aspangaro/develop-patch23
FIX: export salaries & NEW: Add tab document on salaries payment
2015-05-30 15:09:23 +02:00
Laurent Destailleur
5e486d798e Merge pull request #2915 from aspangaro/develop-ER
ER add key language
2015-05-30 15:09:00 +02:00
Laurent Destailleur
133893336b Merge pull request #2914 from aspangaro/develop-patch22
Fix: Wrong language key
2015-05-30 15:07:17 +02:00
Laurent Destailleur
f5ec2c0605 Merge pull request #2911 from aspangaro/develop-md
NEW Forms are using the tab look, even in creation mode
2015-05-30 15:01:26 +02:00
Laurent Destailleur
07ae39fc38 Merge pull request #2910 from aspangaro/develop-patch21
Fix: wrong link
2015-05-30 15:00:30 +02:00
Laurent Destailleur
920dc80dd6 Merge pull request #2908 from defrance69/patch-63
NEW Add hook for more action buttons on product supplier page
2015-05-30 14:59:58 +02:00
Laurent Destailleur
13b78f9c17 NEW Add gender property managed on user card
FIX Better error messages when uploading photo of user when permission
to write are not granted
2015-05-30 02:17:05 +02:00
Laurent Destailleur
6701b399ae Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-05-30 00:26:47 +02:00
abb
1048bd1ba4 Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into develop 2015-05-29 22:11:00 +01:00
abb
3c8d37cb05 fix 600 first lines of arabic language admin file 2015-05-29 22:03:06 +01:00
Raphaël Doursenaud
bbd0b89087 Added tags/categories management to customers
Customers part of #2571
2015-05-29 18:50:43 +02:00
Raphaël Doursenaud
074fcd9769 Standardize categories types/ids management
Fix #2922
Fix #2843
2015-05-29 17:51:34 +02:00
Laurent Destailleur
888bec2df3 Merge pull request #2904 from fappels/develop
FIX #2859 HTML units selector
2015-05-29 17:21:32 +02:00
Laurent Destailleur
0ab3cd03c0 Merge pull request #2896 from GPCsolutions/extrafieldcontacttype
Allow usage of contact extrafield element type
2015-05-29 17:18:25 +02:00
Laurent Destailleur
58dbfd38a9 Merge pull request #2926 from hregis/develop_origin
Fix: possibility to shared facnumber between entities
2015-05-29 17:16:02 +02:00
Laurent Destailleur
11552e90b7 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-05-29 17:15:27 +02:00
Laurent Destailleur
65c7ab7a93 Fix: Introduce error by default when function is used as a true delete
function.
2015-05-29 17:11:42 +02:00
Laurent Destailleur
92440d125b Merge pull request #2928 from Dolibarr/revert-1446-removefiles
Revert "Made test pessimistic by default"
2015-05-29 17:10:02 +02:00
Laurent Destailleur
d925ecb4f1 Revert "Made test pessimistic by default" 2015-05-29 17:09:35 +02:00
Laurent Destailleur
eb62c7e462 Merge pull request #1446 from GPCsolutions/removefiles
Made test pessimistic by default
2015-05-29 16:56:28 +02:00
Regis Houssin
53fbab52f3 Merge remote-tracking branch 'dolibarr/develop' into develop_origin 2015-05-29 16:32:53 +02:00
Laurent Destailleur
15405c9f7d Merge pull request #2917 from aspangaro/develop-patch24
Accountancy: Review presentation
2015-05-29 16:24:27 +02:00
jfefe
a618274760 Allow modify API key from user card 2015-05-29 16:05:52 +02:00
Regis Houssin
c8c0f0f038 Fix: possibility to shared facnumber between entities 2015-05-29 11:31:51 +02:00
Regis Houssin
49fc7f9ba7 Fix: check the user status during authentication 2015-05-29 10:09:18 +02:00
aspangaro
27c0b84a13 Typo on search 2015-05-29 06:54:16 +02:00
aspangaro
fd988ab1f3 Review card of supplier/customer ventilation 2015-05-29 06:43:40 +02:00
aspangaro
47045e0746 Accountancy: Review presentation 2015-05-28 21:34:35 +02:00
Arnaud Aujon
c933d563f6 Merge branch '3.7-webservices-fix' of https://github.com/aaujon/dolibarr into 3.7-webservices-fix 2015-05-28 16:57:41 +02:00
Arnaud Aujon
3003b41a88 add test for invoices API 2015-05-28 16:57:28 +02:00
Arnaud Aujon
05a7ab158b add deleteThirdParty api call + add tests 2015-05-28 16:56:45 +02:00
Arnaud Aujon
33d5299a22 add deleteThirdParty api call + add tests 2015-05-28 15:40:38 +02:00
aspangaro
0bd07b795f NEW: Add tab document on salaries payment 2015-05-28 07:33:50 +02:00
aspangaro
d3513bf2a7 Fix: lot of typo to export salaries 2015-05-28 06:41:01 +02:00
aspangaro
58893a4576 Fix: problem of rights to export salaries 2015-05-28 06:26:28 +02:00
aspangaro
a8c49f11ca ER add key language 2015-05-28 06:16:58 +02:00
aspangaro
432cf998fa Fiche-rec: Forms are using the tab look, even in creation & add cancel button 2015-05-28 05:25:29 +02:00
aspangaro
33807c467d Fix: Wrong language key 2015-05-27 21:54:06 +02:00
Arnaud Aujon
336b8c49b3 update test 2015-05-27 15:42:46 +02:00
Arnaud Aujon
278d447e45 Use Constant for status 2015-05-27 15:42:34 +02:00
aspangaro
8eee0bdf73 NEW Forms are using the tab look, even in creation mode 2015-05-27 07:41:25 +02:00
aspangaro
5f5388a52a Fix: wrong link 2015-05-27 07:19:10 +02:00
BENKE Charlie
d16bfcc294 adding hook for more action buttons
allow additionnal hook action (like myField)
2015-05-26 15:00:23 +02:00
Francis Appels
b9c3dec141 Fix: issue #2859 unit form select 2015-05-26 11:14:15 +02:00
Arnaud Aujon
23936827a8 Merge remote-tracking branch 'upstream/develop' into 3.7-webservices-fix 2015-05-26 10:54:30 +02:00
Laurent Destailleur
afd7366459 Css 2015-05-26 09:22:34 +02:00
Laurent Destailleur
bf334d8711 NEW Thumbs for statistics on main page are fully clicable (not only link
inside the thumb)
2015-05-26 09:13:48 +02:00
Laurent Destailleur
06faf762d4 Merge pull request #2865 from marcosgdf/bug-2843
Closed bug #2843 Wrong SQL table called
2015-05-25 19:34:33 +02:00
abb
f9aec93d73 Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into develop 2015-05-25 18:30:53 +01:00
Laurent Destailleur
76380c2288 Merge pull request #2898 from defrance69/patch-62
Tabs collector better identification
2015-05-25 19:27:39 +02:00
Laurent Destailleur
0321257fbe Merge pull request #2887 from GPCsolutions/dolibarr-2886
Deprecation of the mysql driver
2015-05-25 18:50:40 +02:00
Laurent Destailleur
a4164a6656 Merge pull request #2883 from bafbes/develop
Fix non existing "supplier invoice setting to draft" trigger
2015-05-25 18:49:57 +02:00
Laurent Destailleur
c8949d0532 Some doxygen fixes 2015-05-25 18:43:46 +02:00
Laurent Destailleur
0dae63c5b5 Merge pull request #2894 from swbraun/2847fix
fixes #2847
2015-05-25 18:18:47 +02:00
BENKE Charlie
a30d4d4be6 Tabs collector better identification
Tabs collector goes wrong with 2 tabs in the same page (like projet and task), so we use picto name to identify the 2 tabscollect
We need to substract the @ if the tabs is from a module... eg : factory@factory
2015-05-25 18:14:49 +02:00
Raphaël Doursenaud
ec2035a73e Allow usage of contact extrafield element type
As documented in the methods comments
2015-05-25 17:19:27 +02:00
Marcos García de La Fuente
460a2ec2ab Merge branch 'develop' into commercial-name
Conflicts:
	htdocs/categories/categorie.php
	htdocs/comm/prospect/list.php
2015-05-25 15:09:46 +02:00
Marcos García de La Fuente
c0346bcba4 Fixed typo 2015-05-25 14:59:34 +02:00
Steve Braun
d1c7c9489e fixes #2847 2015-05-25 14:56:37 +02:00
Marcos García de La Fuente
8627f2f19b Removed innecesary test 2015-05-25 14:01:15 +02:00
root
bbf06cf2d7 Merge remote-tracking branch 'upstream/develop' into 3.7-webservices-fix 2015-05-25 09:26:21 +02:00
Juanjo Menent
5ddcfce908 Merge pull request #2890 from GPCsolutions/categories-types
Include Categories class whenever Categorie::TYPE is used
2015-05-24 11:38:09 +02:00
abb
5358d11cd7 Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into develop 2015-05-24 09:07:10 +01:00
Raphaël Doursenaud
becc240b92 Include Categories class whenever Categorie::TYPE is used 2015-05-23 23:35:49 +02:00
Raphaël Doursenaud
c018858e91 Deprecation of the mysql driver
Fix #2886
2015-05-23 20:43:21 +02:00
Juanjo Menent
55b7dab292 Merge pull request #2884 from GPCsolutions/categories-types
Added types constants to categories
2015-05-23 19:09:07 +02:00
Raphaël Doursenaud
ee808cdfd7 Added types constants to categories 2015-05-23 18:52:31 +02:00
Juanjo Menent
e9d58c06a2 Merge pull request #2882 from GPCsolutions/dolibarr-2881
Make select_salesrepresentative() return 0 when empty
2015-05-23 17:22:59 +02:00
Juanjo Menent
9ccc577101 Merge pull request #2880 from GPCsolutions/dolibarr-2879
Remove duplicate modify button on user's card
2015-05-23 17:16:28 +02:00
Raphaël Doursenaud
139b41c014 Make select_salesrepresentative() return 0 when empty
Fix #2881
2015-05-23 16:38:59 +02:00
abb
ebf2edf019 added new trigger for supplier invoice unvalidation "BILL_SUPPLIER_UNVALIDATE" in set_draft class function 2015-05-23 15:35:19 +01:00
abb
879c82ee0a added new trigger for supplier invoice unvalidation "BILL_SUPPLIER_UNVALIDATE" in trigger demo file 2015-05-23 15:28:51 +01:00
abb
4e48f24507 added new trigger for supplier invoice unvalidation "BILL_SUPPLIER_UNVALIDATE" in Database 2015-05-23 15:12:24 +01:00
abb
ba68598ec7 added new trigger for supplier invoice unvalidation in Agenda 2015-05-23 15:09:44 +01:00
Raphaël Doursenaud
5fe31e90c8 Remove duplicate modify button on user's card
Fix #2879
2015-05-23 15:32:09 +02:00
Laurent Destailleur
995a2c127d Working on finishing of look 2015-05-22 15:29:19 +02:00
Laurent Destailleur
390c7d8e65 Fix link to prospect with filter on commercial status
Enhance natural_search method to allow to search on several ids.
2015-05-22 15:19:27 +02:00
Laurent Destailleur
4319cd63a3 Working on finishing of look 2015-05-22 14:28:02 +02:00
Laurent Destailleur
97ba2cf0e9 Replace ol icon for delete with new one 2015-05-22 12:21:55 +02:00
Laurent Destailleur
6f5a30638c NEW On page to see/edit contact of an ojbect, the status of contact is
visible (for both external and internal users).
2015-05-22 12:21:36 +02:00
Laurent Destailleur
f35c41cc7e Introduce hidden option "MAIN_FIX_FLASH_ON_CHROME" to solve a strange
behaviour of chrome making page to be flashed before rendered.
2015-05-22 01:48:36 +02:00
Laurent Destailleur
6108dfad55 Minor enhancement 2015-05-22 00:46:53 +02:00
Laurent Destailleur
fb923c0c2b Merge pull request #2867 from aspangaro/develop-resource
NEW Forms are using the tab look, even in creation mode
2015-05-21 21:33:42 +02:00
Laurent Destailleur
3b70013cf9 Merge pull request #2871 from GPCsolutions/dolibarr-2870
Dolibarr 2870
2015-05-21 21:24:28 +02:00
Laurent Destailleur
a09563435b Merge pull request #2840 from FHenry/develop
NEW : add date value filter on account records list
2015-05-21 21:22:31 +02:00
Laurent Destailleur
9e344bf267 Merge pull request #2875 from fappels/develop
Qual: Remove unused pages
2015-05-21 20:56:06 +02:00
Francis Appels
793f68dc96 Qual: Remove unused pages
Remove unused but maintained pages which contain errors and deadlinks.
2015-05-21 20:13:41 +02:00
Raphaël Doursenaud
fc88df9ddf Fixed typo 2015-05-21 16:33:38 +02:00
Raphaël Doursenaud
38a9f6edae Drop deprecated fields
Fix #2870
2015-05-21 16:32:46 +02:00
Arnaud Aujon
6d5555948e Merge remote-tracking branch 'upstream/develop' into 3.7-webservices-fix
Conflicts:
	test/phpunit/WebservicesInvoicesTest.php
2015-05-21 13:11:41 +02:00
Laurent Destailleur
e075fce5eb Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-05-21 01:33:16 +02:00
Laurent Destailleur
90f9a845ae Enhance style 2015-05-21 01:32:56 +02:00
aspangaro
e23459d53b NEW Forms are using the tab look, even in creation mode 2015-05-20 21:50:38 +02:00
Marcos García de La Fuente
9ebae9520a Extrafields does not form part of this class 2015-05-20 16:46:12 +02:00
Marcos García de La Fuente
e24a8b4505 Closed bug #2843 Wrong SQL table called 2015-05-20 16:43:44 +02:00
Laurent Destailleur
f0cfa3406c Merge pull request #2852 from aspangaro/develop-resource
NEW Forms are using the tab look, even in creation mode
2015-05-20 15:27:08 +02:00
Laurent Destailleur
0f89164f4f Merge pull request #2849 from aspangaro/develop-ER_listlimit
Fix: ER list don't respect $conf->liste_limit
2015-05-20 15:26:34 +02:00
Laurent Destailleur
a49c6bce66 Merge pull request #2844 from tysauron/patch-3
For backward compatibility ON update actioncomm
2015-05-20 15:24:32 +02:00
Laurent Destailleur
4d35939d77 Merge pull request #2850 from aspangaro/develop-adherent
Members: Review (Add background in create mode / Add button cancel / move type tab in member.lib)
2015-05-20 15:24:09 +02:00
Laurent Destailleur
55b9d97081 Fix PHPCS 2015-05-20 15:22:59 +02:00
Laurent Destailleur
a05510c9df Merge pull request #2845 from tysauron/patch-2
Bug : Declaration of CompanyBankAccount::create() should be compatibl…
2015-05-20 15:19:42 +02:00
Laurent Destailleur
0e837f7540 Merge pull request #2848 from aspangaro/develop-md
Add pagination style in every template
2015-05-20 15:18:44 +02:00
Laurent Destailleur
faaa01d3de Merge pull request #2851 from aspangaro/develop-donation
Fix: spaces  
2015-05-20 15:18:22 +02:00
Florian HENRY
0331ddc2de fix spacing 2015-05-20 11:30:27 +02:00
Florian HENRY
df4ee9562f fix spell 2015-05-20 11:29:35 +02:00
Florian HENRY
8fa3b8dac3 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-05-20 11:24:49 +02:00
Florian HENRY
6e6b66e416 apply recommandation from
ca53d3b602 (commitcomment-11245627)
2015-05-20 11:24:23 +02:00
aspangaro
58e942681d NEW Forms are using the tab look, even in creation mode 2015-05-20 07:03:17 +02:00
aspangaro
b9bed14afe Fix: spaces   2015-05-20 06:38:36 +02:00
aspangaro
de5a15282c Adherent review 2015-05-20 06:25:43 +02:00
aspangaro
124dbbc2f2 Members: Add background in create mode in type adherent 2015-05-19 22:36:35 +02:00
aspangaro
40b65a642d Fix: ER list don't respect $conf->liste_limit 2015-05-19 22:22:18 +02:00
Laurent Destailleur
26a74ba3cc Add constant to allow a module to disable injection scan for its pages. 2015-05-19 22:08:51 +02:00
aspangaro
63b0dbd47b Add pagination style in every template 2015-05-19 21:59:44 +02:00
tysauron
572269bed1 For backward compatibility ON update actioncomm
For backward compatibility when val=id   ON update actioncomm object
2015-05-19 15:54:08 +02:00
Laurent Destailleur
0ef5fe24a3 Start ansible example to deplay a dolibarr instance on a linux server 2015-05-19 14:31:26 +02:00
Laurent Destailleur
afaed832b1 Start ansible example to deplay a dolibarr instance on a linux server 2015-05-19 14:14:17 +02:00
Florian HENRY
ee1aa3268c working account 2015-05-19 11:55:45 +02:00
tysauron
d29aa083cf Bug : Declaration of CompanyBankAccount::create() should be compatible with Account::create($user = '') 2015-05-19 11:30:14 +02:00
Laurent Destailleur
62e1c55c97 NEW Introduce function dolGetFirstLineOfText 2015-05-19 00:44:05 +02:00
Laurent Destailleur
03acb1a8c9 Uniformize way to report error after "buildoc" action. 2015-05-19 00:01:30 +02:00
Laurent Destailleur
e2280ce93e NEW Can close a project that has draft status with no need to switch it
to validate status before.
2015-05-18 23:49:08 +02:00
Laurent Destailleur
4a70bb7acf Work on generic usage of get_exdir. 2015-05-18 23:04:49 +02:00
Laurent Destailleur
15c355efc9 A ref field must never be null. 2015-05-18 22:31:14 +02:00
Laurent Destailleur
a258370f8a Prepare code for generic solution where all path are forged using
get_exdir.
2015-05-18 22:25:51 +02:00
Laurent Destailleur
4d6b25eb45 Prepare to generalize usage of get_exdir 2015-05-18 21:47:44 +02:00
Laurent Destailleur
6d03ba228d Fix consistency of backup result message 2015-05-18 20:33:02 +02:00
Laurent Destailleur
e230d72cea Increase default date range to current month instead of current day 2015-05-18 19:41:23 +02:00
Laurent Destailleur
36cad55ed7 Merge pull request #2829 from bafbes/patch-6
NEW Add date filtering into audit page
2015-05-18 19:25:30 +02:00
Laurent Destailleur
64b64d69d8 Merge pull request #2841 from fappels/develop
Fix: update supplier orderline + rm deprecated prop
2015-05-18 19:17:55 +02:00
Francis Appels
28e973331b Fix: update supplier orderline + rm deprecated prop
- Fix SQL error in update supplier orderline
- Remove deprecated $libelle from product class, $libelle is removed
from code and can not be used anymore, no sense to mark deprecated.
- Add missing translation key
2015-05-18 18:42:14 +02:00
Florian HENRY
3ef38ab959 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-05-18 13:14:04 +02:00
Florian HENRY
23eac58cc8 fix bug on new feature checkbox list form table 2015-05-18 13:13:50 +02:00
Florian HENRY
a6c5a247cd add total and title in page records banck account 2015-05-18 11:08:27 +02:00
Laurent Destailleur
7d51779610 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-05-18 11:01:19 +02:00
Laurent Destailleur
e561481f1e Add option THIRDPARTY_NOTCUSTOMERPROSPECT_BY_DEFAULT and
THIRDPARTY_NOTCUSTOMERPROSPECT_BY_DEFAULT
2015-05-18 10:58:04 +02:00
Florian HENRY
ca53d3b602 NEW : add date value filter on account records list 2015-05-18 10:43:54 +02:00
Laurent Destailleur
756de27a12 Fix syntax error 2015-05-18 09:11:34 +02:00
Laurent Destailleur
684686e0f6 Fix restore compatibility of new navigation style with jmobile 2015-05-18 08:59:58 +02:00
Laurent Destailleur
d25a2af70c Fix PHPCS 2015-05-17 23:47:15 +02:00
Laurent Destailleur
36d164f779 Add field gender into table of user. 2015-05-17 23:43:57 +02:00
Laurent Destailleur
851007f1a8 Prepare database to manage recurring events 2015-05-17 20:12:49 +02:00
Laurent Destailleur
c89c883d7d Fix the new navigation style. 2015-05-17 19:37:37 +02:00
Laurent Destailleur
372ad4924b Add print_barre_liste into prototype. 2015-05-17 18:34:52 +02:00
Bahfir Abbes
1ba2240553 fix add to listevents.php
use of dol_mktime + check dates order
2015-05-17 16:13:50 +01:00
Laurent Destailleur
fe3f701928 Merge remote-tracking branch 'origin/3.7' into develop
Conflicts:
	ChangeLog
	build/debian/changelog
	build/exe/doliwamp/doliwamp.iss
	htdocs/expedition/list.php
	htdocs/filefunc.inc.php
	htdocs/install/mysql/migration/3.6.0-3.7.0.sql
	htdocs/user/class/user.class.php
2015-05-16 17:09:42 +02:00
Laurent Destailleur
a11e707728 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-05-16 17:02:21 +02:00
Juanjo Menent
45040f89af Merge pull request #2838 from simnandez/develop
Insert option to use old system storage photos only if the first installation was done with a version < 3.7.0
2015-05-16 16:49:16 +02:00
Laurent Destailleur
e46a8b3b54 Enhance packaging 2015-05-16 16:41:55 +02:00
Juanjo Menent
1d3bcc1d81 Insert option to use old system storage photos only if the first
installation was done with a version < 3.7.0

Conflicts:
	htdocs/install/mysql/migration/3.6.0-3.7.0.sql
2015-05-16 16:19:51 +02:00
Laurent Destailleur
4b13d5fafe Fix css 2015-05-16 03:11:08 +02:00
Laurent Destailleur
58b70f0503 Better translation 2015-05-16 03:07:29 +02:00
Laurent Destailleur
213c918a90 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-05-16 02:53:56 +02:00
Laurent Destailleur
1b03e348d3 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop

Conflicts:
	htdocs/compta/bank/annuel.php
2015-05-16 02:53:36 +02:00
Laurent Destailleur
5f26001f53 Merge pull request #2836 from FHenry/develop
FIX :  Fix problem with multicompany on new feature Product propal merge PDF product
2015-05-16 02:26:06 +02:00
Laurent Destailleur
e382999b9e Css fix 2015-05-15 20:10:17 +02:00
Florian HENRY
f29d8aed5b Fix problem with multicompany on new feature Product propal merge PDF
product
2015-05-15 17:39:28 +02:00
Florian HENRY
4bc2d55cb3 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-05-15 17:37:31 +02:00
Laurent Destailleur
976211b70f Look enhancement 2015-05-15 12:53:14 +02:00
Marcos García de La Fuente
e2b2c1c8bd Merge branch 'develop' into commercial-name
Conflicts:
	htdocs/societe/class/societe.class.php
2015-05-15 12:30:03 +02:00
Marcos García de La Fuente
457918c0f7 Merge remote-tracking branch 'upstream/develop' into commercial-name 2015-05-15 11:17:21 +02:00
Laurent Destailleur
c33cbefad2 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-05-15 11:16:29 +02:00
Laurent Destailleur
4931401188 Fix new pagination style was not working correctly. 2015-05-15 04:33:01 +02:00
Laurent Destailleur
7b2230e437 Merge pull request #2774 from aspangaro/develop-pagination
NEW Use larger button for navigation
2015-05-15 03:57:29 +02:00
Laurent Destailleur
34fb863fc5 Merge pull request #2831 from aspangaro/develop-md
Md_exp: Deactivate gradient into div.liste_titre & Attenuate lines #ddd -> #f4f4f4
2015-05-15 03:53:23 +02:00
Laurent Destailleur
49a13f5e72 Debug of module expense report 2015-05-15 03:52:29 +02:00
Laurent Destailleur
17b736c8ce Merge branch 'aspangaro-develop-ER_badge' into develop 2015-05-15 02:44:56 +02:00
Laurent Destailleur
3f5215169a Merge branch 'develop-ER_badge' of https://github.com/aspangaro/dolibarr
into aspangaro-develop-ER_badge

Conflicts:
	htdocs/core/modules/expensereport/doc/pdf_standard.modules.php
	htdocs/expensereport/card.php
	htdocs/expensereport/class/expensereport.class.php
2015-05-15 02:44:43 +02:00
Laurent Destailleur
bf883e1576 Minor cosmetic changes
Fix permissions and CRLF
2015-05-15 02:34:57 +02:00
Laurent Destailleur
60863d5d9d Enhance tool to report duplicate and not used language keys. 2015-05-15 02:28:42 +02:00
Bahfir Abbes
ffc5284a78 Update listevents.php 2015-05-14 20:17:52 +01:00
Laurent Destailleur
6d95de48c2 Css fixes 2015-05-14 20:49:22 +02:00
Laurent Destailleur
3e94cc07d2 Fight against valign="top". Minor css fixes. 2015-05-14 16:47:15 +02:00
Laurent Destailleur
74607218ea Fight against key tva_taux. Removed completely. 2015-05-14 15:59:09 +02:00
Laurent Destailleur
33b9d492e2 Clean code 2015-05-14 15:43:07 +02:00
aspangaro
766c58724a ER: Review & add a totalVAT in pdf 2015-05-14 08:26:41 +02:00
aspangaro
bba0349ab6 ER: traduce code 2015-05-14 07:36:48 +02:00
aspangaro
81cf7a3d25 Merge remote-tracking branch 'Upstream/develop' into develop-md 2015-05-14 06:42:28 +02:00
Juanjo Menent
7c9bb10d6b Merge pull request #2826 from tysauron/patch-1
Update list.php
2015-05-13 21:27:01 +02:00
Juanjo Menent
3d1c0752d3 Merge pull request #2825 from fentman/patch-1
Provide NotFound and Error return values
2015-05-13 21:23:56 +02:00
Juanjo Menent
e3e6cff713 Merge pull request #2815 from bafbes/patch-4
Fix forgotten last contributor information to list.php Update
2015-05-13 21:16:16 +02:00
Bahfir Abbes
5191bffb1c improve events list view
provide a finer grained view for this list and fix bug related to sorting control which wipes off other parameters
2015-05-13 18:56:13 +01:00
Laurent Destailleur
5937cd7f70 NEW Forms are using the tab look, even in creation mode. 2015-05-13 17:53:25 +02:00
tysauron
84935336ee Update list.php
Bug pagination du bas quand recherche
2015-05-13 17:04:35 +02:00
Laurent Destailleur
b327b5fb9d Save regressions 2015-05-13 09:32:54 +02:00
Laurent Destailleur
43b5209192 NEW Clean code into salary module, debug and add indexes
NEW Can filter on user list and salary payments on user with naural
search.
2015-05-13 08:57:39 +02:00
Laurent Destailleur
8e09f54a46 Minor fixes 2015-05-13 07:46:12 +02:00
Michael Fenton
83e7c8a065 Provide NotFound and Error return values
Providing a Not Found Message when a Third Party entity is not found to match with details provided, and providing an Error Message when the SQL Lookup fails.

This will help Asterisk Users determine whether the CallerID would be usable from Dolibarr or to reject and continue with existing CID from Asterisk
2015-05-13 11:20:06 +10:00
Laurent Destailleur
81d2d12035 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-05-12 23:40:57 +02:00
Laurent Destailleur
ce0d728438 Merge pull request #2813 from bafbes/patch-3
Update html.formfile.class.php
2015-05-12 23:02:45 +02:00
Laurent Destailleur
39b4fc6455 Renamed readme file 2015-05-12 22:59:17 +02:00
Laurent Destailleur
4408648a68 Merge pull request #2817 from GPCsolutions/jqueryfixes
jQuery fixes
2015-05-12 22:36:12 +02:00
Laurent Destailleur
b3c9c3d91b Merge pull request #2818 from GPCsolutions/htmlfixes
HTML fixes
2015-05-12 22:34:35 +02:00
Laurent Destailleur
b99d2a8276 Merge pull request #2819 from GPCsolutions/typehinting
[Qual] Typehinting
2015-05-12 22:34:06 +02:00
Florian HENRY
8e61a03b5c Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-05-12 21:02:36 +02:00
Raphaël Doursenaud
3b9388e57f Added typehinting to resultsets in database drivers 2015-05-12 19:51:41 +02:00
Raphaël Doursenaud
6558c0f1f2 Removed a bunch of unused variables 2015-05-12 19:47:15 +02:00
Raphaël Doursenaud
3fdc4ca5e0 Better type hinting for the SQLite3 database driver 2015-05-12 19:45:14 +02:00
Laurent Destailleur
cb6f23d9b6 Merge pull request #2771 from aternatik/api_rest
Add new core module : REST API
2015-05-12 19:39:37 +02:00
Raphaël Doursenaud
70d36dd1e3 Better type hinting for the SQLite database driver 2015-05-12 19:30:04 +02:00
Raphaël Doursenaud
67641280a4 Fixed parameter types 2015-05-12 19:16:29 +02:00
Raphaël Doursenaud
1fdff27184 Fixed type hintings 2015-05-12 19:11:12 +02:00
Raphaël Doursenaud
053f6ae494 [Qual] Fixed missing return statements 2015-05-12 19:10:47 +02:00
Raphaël Doursenaud
27d52cf2b0 Better type hinting for DoliDB 2015-05-12 19:01:01 +02:00
Raphaël Doursenaud
ccd14c8305 Better type hinting and code structure for the PgSQL database driver 2015-05-12 18:31:12 +02:00
Raphaël Doursenaud
4a01cf1256 Better type hinting for the Database interface 2015-05-12 18:30:16 +02:00
Raphaël Doursenaud
7231ca890a Better type hinting for the MSSQL database driver 2015-05-12 18:13:24 +02:00
Raphaël Doursenaud
6e6e63db50 Better type hinting and code structure for the MySQLi database driver 2015-05-12 17:56:01 +02:00
Raphaël Doursenaud
04f5e73557 Better type hinting for MySQL database driver 2015-05-12 17:16:46 +02:00
jfefe
125a34cb34 Fix PHPCS 2015-05-12 16:42:35 +02:00
jfefe
d079bc1507 Add comment to ignore PHPCs error due to restler framework 2015-05-12 16:35:05 +02:00
Raphaël Doursenaud
932e23ac09 [Qual] Use jQuery 'is' instead of 'prop' in conditions 2015-05-12 16:21:21 +02:00
Raphaël Doursenaud
aee61aa2c4 [Qual] Fixed deprecated HTML nowrap attribute to class 2015-05-12 15:37:35 +02:00
Raphaël Doursenaud
9b56427858 [Qual] Fixed HTML multiple attribute
Dolibarr uses HTML 4.01 or HTML5 doctypes.
The multiple attribute is boolean.
2015-05-12 15:11:47 +02:00
Raphaël Doursenaud
ce60ae0fcc [Qual] Fixed HTML readonly attribute
Dolibarr uses HTML 4.01 or HTML5 doctypes.
The readonly attribute is boolean.
2015-05-12 15:09:26 +02:00
Raphaël Doursenaud
d5565fffc1 [Qual] Fixed HTML input form disabled attribute 2015-05-12 15:01:13 +02:00
Raphaël Doursenaud
e149d49fb8 [Qual] Use jQuery property instead of attribute to test and set disabled 2015-05-12 14:53:01 +02:00
Raphaël Doursenaud
0d8641a073 [Qual] Use jQuery property instead of attribute to test and set checked 2015-05-12 14:51:30 +02:00
Bahfir Abbes
95a2e65d86 Update list.php
Fix forgotten last contributor information
2015-05-12 09:01:15 +01:00
Bahfir Abbes
142460ab16 Update html.formfile.class.php
Fix forgotten last contributor information
2015-05-12 08:53:09 +01:00
Laurent Destailleur
a94121a8c5 Add field to define picto to use for status 2015-05-12 09:42:14 +02:00
aspangaro
304a6936a5 Attenuate lines #ddd -> #f4f4f4 2015-05-12 06:58:29 +02:00
aspangaro
4cb9c3a147 Merge remote-tracking branch 'Upstream/develop' into develop-md 2015-05-12 06:44:41 +02:00
aspangaro
02d7c1cf01 Deactivate Gradient into div.liste_titre 2015-05-12 06:44:14 +02:00
Laurent Destailleur
83e4fe5d95 Merge remote-tracking branch 'origin/3.7' into develop
Conflicts:
	build/makepack-dolibarr.pl
	htdocs/fourn/facture/list.php
2015-05-12 00:09:03 +02:00
Laurent Destailleur
c59e365950 Merge pull request #2812 from bafbes/patch-1
Update html.formfile.class.php
2015-05-11 23:08:40 +02:00
Laurent Destailleur
acd7e7502b Merge pull request #2808 from aspangaro/develop-md
Theme Md: Change font & divide by two the border-radius
2015-05-11 23:04:11 +02:00
Laurent Destailleur
b2fa603f46 Merge pull request #2794 from hregis/develop_origin
Fix: add $object for use with triggers
2015-05-11 23:02:41 +02:00
Juanjo Menent
200b3b167e Merge pull request #2811 from bafbes/patch-2
Update list.php and core/class/html.formfile.class.php
2015-05-11 20:16:17 +02:00
Juanjo Menent
23bd8f50df Merge pull request #2809 from atm-maxime/develop
New : Signature area on proposal PDF
2015-05-11 20:09:54 +02:00
Juanjo Menent
97b9e87773 Merge pull request #2806 from marcosgdf/revert-25812f0
Revert 25812f0
2015-05-11 20:08:15 +02:00
Bahfir Abbes
280c6a04af Update list.php
Correct erroneous links to supplier invoice documents in list
2015-05-11 18:03:26 +01:00
Bahfir Abbes
3e4fcd1ac7 Update html.formfile.class.php
in order to correct document lists in list of supplier invoices
2015-05-11 17:51:54 +01:00
Arnaud Aujon
2db885a2b3 first attempt to add test 2015-05-11 13:51:57 +02:00
Laurent Destailleur
a503d90982 FIX We did a test on a permission to export contract when permission did
not exists.
2015-05-10 23:37:04 +02:00
Laurent Destailleur
5bac040a9a Enhance prototype for select 2015-05-10 21:21:29 +02:00
Maxime Kohlhaas
443badfbcf New : Signature area on proposal PDF 2015-05-10 17:39:57 +02:00
aspangaro
fece843091 Theme Md: Change font & divide by two the border-radius 2015-05-10 15:08:53 +02:00
Marcos García de La Fuente
fb01f89e95 Unwanted deletion 2015-05-10 12:44:36 +02:00
Marcos García de La Fuente
9988b1ad4e Revert 25812f0 2015-05-10 12:43:21 +02:00
Marcos García de La Fuente
ce7ed70d74 Merge branch 'develop' into commercial-name
Conflicts:
	htdocs/comm/prospect/list.php
	htdocs/core/modules/commande/doc/pdf_einstein.modules.php
	htdocs/core/modules/propale/doc/pdf_azur.modules.php
2015-05-10 12:23:07 +02:00
Juanjo Menent
39b932d37e Merge pull request #2804 from simnandez/develop
Code fixes
2015-05-09 14:47:15 +02:00
Juanjo Menent
97ad7ca88b Code fixes 2015-05-09 14:23:26 +02:00
Juanjo Menent
ce1769d2c5 Merge pull request #2803 from simnandez/develop
Code fixes
2015-05-09 13:59:11 +02:00
Juanjo Menent
e07cebd50b Merge pull request #2793 from GPCsolutions/htmlfixes
HTML fixes
2015-05-09 13:58:43 +02:00
Juanjo Menent
27035b42b0 Merge pull request #2788 from GPCsolutions/testaccess
Change low level access verification to a better high level one
2015-05-09 13:55:17 +02:00
Juanjo Menent
d4e8e58e54 Code fixes 2015-05-09 13:25:40 +02:00
Juanjo Menent
c5101ae5ea Code fixes 2015-05-07 20:07:47 +02:00
Raphaël Doursenaud
5d2f081152 [Qual] Fixed HTML select form selected attribute
Dolibarr uses HTML 4.01 or HTML5 doctypes.
The select form selected attribute should not have a value.
2015-05-07 14:21:14 +02:00
Raphaël Doursenaud
b8d9c20731 [Qual] Fixed HTML input form disabled attribute
Dolibarr uses HTML 4.01 or HTML5 doctypes.
The input form disabled attribute should not have a value.
2015-05-07 14:21:14 +02:00
Raphaël Doursenaud
859d1b0df9 [Qual] Fixed HTML input form checked attribute
Dolibarr uses HTML 4.01 or HTML5 doctypes.
The input form checked attribute should not have a value.
2015-05-07 14:21:14 +02:00
Raphaël Doursenaud
c219d4a336 [Qual] Fix form label id reference 2015-05-07 14:21:13 +02:00
Laurent Destailleur
a93ba86ce0 Merge remote-tracking branch 'origin/3.7' into develop
Conflicts:
	htdocs/commande/card.php
	htdocs/compta/facture.php
	htdocs/compta/facture/class/facture.class.php
	htdocs/core/class/commonobject.class.php
	htdocs/core/modules/expedition/modules_expedition.php
	htdocs/core/modules/modContrat.class.php
	htdocs/expedition/class/expedition.class.php
2015-05-07 13:35:09 +02:00
Regis Houssin
85244ba8c9 Fix: add $object for use with triggers 2015-05-07 12:06:17 +02:00
Raphaël Doursenaud
040df3c922 Change low level access verification to a better high level one 2015-05-07 10:32:20 +02:00
Laurent Destailleur
b71e5a1025 Merge pull request #2673 from aternatik/fix_getentity
Fix : missing getEntity calls
2015-05-07 00:48:19 +02:00
Juanjo Menent
2707dcd283 Code fixes 2015-05-06 23:44:53 +02:00
Laurent Destailleur
b601a87a2a Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-05-06 23:13:52 +02:00
Juanjo Menent
652ff9e67c Commenting function 2015-05-06 23:13:33 +02:00
Laurent Destailleur
3a8cf17f3c NEW Can edit list of prospect status for customers/prospects. Add a new
entry into dictionary table to manage list fo status.
Removed deprecated files.
2015-05-06 23:13:07 +02:00
fmarcet
e191fc41a3 FIX: Bug on order and supplier invoice numeration mask when use supplier
code
2015-05-06 21:39:06 +02:00
Maxime Kohlhaas
1cb7d284a5 Fix : shipment PDF was not using generation params
Conflicts:
	htdocs/core/modules/expedition/modules_expedition.php
	htdocs/expedition/fiche.php
2015-05-06 21:29:58 +02:00
Juanjo Menent
33f98a4433 Merge pull request #2776 from aspangaro/develop-accountancy_patch1
Accountancy: add a button to purge search criteria on list
2015-05-06 20:53:46 +02:00
Laurent Destailleur
e6e263d13f Add field to manage reccuring events 2015-05-06 16:44:41 +02:00
Laurent Destailleur
8efe0143f9 FIX Adding 5 more choice link into survey module was not working with
chrome
2015-05-06 16:37:04 +02:00
Laurent Destailleur
45f36514ec Add ansible example tools 2015-05-06 16:31:40 +02:00
jfefe
e5f0ab9324 Missing required class 2015-05-06 01:39:28 +02:00
jfefe
d62d7a2fc7 PHPCS again 2015-05-06 01:25:56 +02:00
jfefe
24bf614061 Merge branch 'develop' of git://github.com/Dolibarr/dolibarr into api_rest
Conflicts:
	htdocs/install/mysql/migration/3.7.0-3.8.0.sql
2015-05-06 01:00:11 +02:00
jfefe
dbb9449ee7 Fix PHPCS 2015-05-06 00:55:42 +02:00
Laurent Destailleur
db63a9783e More responsive design 2015-05-06 00:29:39 +02:00
aspangaro
10a895f1bd Accountancy: add a button to purge search criteria on list 2015-05-05 22:36:48 +02:00
Laurent Destailleur
4ce4529cd5 Revert "Remove useless variables for common object"
This reverts commit 82682dfc66.
2015-05-05 22:09:58 +02:00
Laurent Destailleur
a4675010ac Fix label 2015-05-05 22:08:53 +02:00
Laurent Destailleur
0410f29e81 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-05-05 21:59:06 +02:00
Laurent Destailleur
b0baed83fc Prepare for email tracking 2015-05-05 21:50:48 +02:00
aspangaro
d06f1db7d0 Merge remote-tracking branch 'Upstream/develop' into develop-pagination 2015-05-05 21:42:34 +02:00
aspangaro
f092be58c8 New: Add visual pagination for use on tablet 2015-05-05 21:41:08 +02:00
Arnaud Aujon Chevallier
da8aaea343 Merge remote branch 'upstream/3.7' into 3.7-webservices-fix 2015-05-05 21:37:50 +02:00
Arnaud Aujon Chevallier
4fd8d6c05a fix typo 2015-05-05 21:37:10 +02:00
Raphaël Doursenaud
7d08c95fcc Updated unit test to reflect dol_delete_file changes 2015-05-05 21:15:54 +02:00
Raphaël Doursenaud
b91d1fa0ca dol_delete_files(): removed unused variables 2015-05-05 21:15:53 +02:00
Raphaël Doursenaud
7b542731a1 Made test pessimistic by default
The test result was wrong if, for example, the path was wrong.
The unlink() function being never called, it returned the default true value even if it didn't
remove a file.
2015-05-05 21:15:53 +02:00
Juanjo Menent
dc01de8072 Merge pull request #2765 from aternatik/common_properties
Remove useless variables for common object
2015-05-05 20:27:52 +02:00
Juanjo Menent
f6d2320c34 Merge pull request #2756 from aternatik/fix_label_product
FIX : remove deprecated property 'libelle' on product object
2015-05-05 20:25:08 +02:00
Juanjo Menent
65d736cb68 Merge pull request #2766 from aternatik/fix_product_cat
Fix : missing link to category into product card.
2015-05-05 20:17:17 +02:00
Juanjo Menent
75fe8af5dc Merge pull request #2770 from GPCsolutions/dolibarr-2769
Added missing translation of categories' "Translation" tab
2015-05-05 20:04:13 +02:00
Laurent Destailleur
f97d81701b Add an exit to avoid to have apache hangs. 2015-05-05 13:46:28 +02:00
jfefe
3b1f6e8a5a Merge branch 'develop' of git://github.com/Dolibarr/dolibarr into api_rest 2015-05-05 12:56:10 +02:00
jfefe
5f62d2b13e Add API class for invoice 2015-05-05 12:42:57 +02:00
jfefe
db5a2bacd1 Bad sort field 2015-05-05 12:42:56 +02:00
jfefe
638c534211 Modify API explorer settings to memorize api key 2015-05-05 12:42:56 +02:00
jfefe
fd077db1b7 NEW : script to build API class from existing class 2015-05-05 12:42:56 +02:00
jfefe
289b847eb4 Add API class for orders 2015-05-05 12:42:56 +02:00
jfefe
0012cd8131 Fix API category class 2015-05-05 12:42:56 +02:00
jfefe
967e8c66a9 Add method to get each type of category with a specific uri 2015-05-05 12:42:55 +02:00
jfefe
0e4a06799d Add API class for categories 2015-05-05 12:42:55 +02:00
Laurent Destailleur
c665bfa3ee Fix error into export filter step 2015-05-05 12:39:27 +02:00
Raphaël Doursenaud
2ff0cebbf7 Added missing translation of categories' "Translation" tab
Fix #2769
2015-05-05 11:24:04 +02:00
Laurent Destailleur
409e74facd Missing translation 2015-05-05 11:10:13 +02:00
Laurent Destailleur
4d34f473f6 Won another space line 2015-05-05 11:07:28 +02:00
Arnaud Aujon Chevallier
d020c4133a webservice_order : return all necessary fields 2015-05-05 10:26:05 +02:00
Laurent Destailleur
896d95cf1c Add doc to build when ony changelog change 2015-05-05 10:23:47 +02:00
Arnaud Aujon Chevallier
8b753dc743 fix typo 2015-05-05 10:05:13 +02:00
Laurent Destailleur
1e8b148e4b Work on tracking id into emails 2015-05-05 04:10:42 +02:00
jfefe
e698c3b64a Fix into category edit page
Rename $nom into $label
Add missing html class to show description as required
2015-05-05 01:43:39 +02:00
jfefe
3d8f692355 Fix : missing link to category into product card. 2015-05-05 01:34:50 +02:00
jfefe
82682dfc66 Remove useless variables for common object
Fields name / civility / ... are nonsense for a lot of objects into Dolibarr.
They could be defined for each object instead of into the common object class.
This for the API which exposes a property civility for a category :\
2015-05-05 01:13:49 +02:00
Laurent Destailleur
c89c89c73e Mutualise code and some fixes for stock management. 2015-05-04 22:02:54 +02:00
Laurent Destailleur
47e99d82a4 Fix css 2015-05-04 13:36:33 +02:00
Laurent Destailleur
f84ea6f960 Uniformize code of boxes 2015-05-04 13:10:45 +02:00
jfefe
a1cc47f81b Missing rename product field libelle into label 2015-05-04 12:58:54 +02:00
Laurent Destailleur
e73526b29c Fix prospect box must use the getNomUrl method 2015-05-04 12:42:45 +02:00
jfefe
3a1b7d6530 Missing renaming fields 2015-05-04 12:37:50 +02:00
jfefe
561d5e82c1 Rename libelle product field into label 2015-05-04 12:33:38 +02:00
Laurent Destailleur
90f78429ec Fix regression after renaming field fk_soc 2015-05-04 12:29:26 +02:00
Laurent Destailleur
4f4ebfaed3 Merge remote-tracking branch 'origin/3.7' into develop
Conflicts:
	htdocs/printipp/admin/printipp.php
2015-05-04 12:09:39 +02:00
Laurent Destailleur
a18e3c7813 Fix correct id of core modules 2015-05-04 12:02:09 +02:00
Laurent Destailleur
ac4bd7d441 Uniformize code 2015-05-04 11:41:30 +02:00
Arnaud Aujon
d27934419c fix log 2015-05-04 11:36:53 +02:00
Arnaud Aujon
d8027bd71d add thirdparty_id to get invoice 2015-05-04 11:36:40 +02:00
Laurent Destailleur
b554d81314 Better translation 2015-05-04 10:47:26 +02:00
Arnaud Aujon
ef08283bbd Merge branch '3.7-webservices-fix' of https://github.com/aaujon/dolibarr into 3.7-webservices-fix 2015-05-04 10:36:17 +02:00
Laurent Destailleur
89c9996b22 Fix translation of status 2015-05-04 09:50:49 +02:00
jfefe
7e0357dcf9 FIX : remove deprecated property 'libelle' on product object 2015-05-04 03:03:24 +02:00
jfefe
5c7f7f6d6e Add API readme 2015-05-04 02:32:24 +02:00
jfefe
a732b4d69b Missing value in PHPDoc tag for specify url method (in skeleton file) 2015-05-04 02:29:24 +02:00
jfefe
18def27eb6 Change API route for thirdparties lists
Use /thirdparty/list instead of /thirdparties/
2015-05-04 01:31:23 +02:00
jfefe
cd37d3eb11 Add API class for product 2015-05-04 01:17:41 +02:00
jfefe
0003a14470 Update skeleton API class 2015-05-04 00:35:09 +02:00
jfefe
0673e3a1f1 Fix API lists method for thirdparty and contact 2015-05-04 00:33:44 +02:00
jfefe
53f480708f Merge branch 'develop' into api_restler 2015-05-03 23:43:13 +02:00
Laurent Destailleur
877511717b Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-05-03 21:35:09 +02:00
Laurent Destailleur
0ba2ae6d32 Some fix in css 2015-05-03 21:31:09 +02:00
Laurent Destailleur
8a7728f193 Merge pull request #2752 from fappels/develop-tcpdfbarcode
NEW add tcpdf barcode generator and printing, add 2d Datamatrix and QRcode CLOSE #2655
2015-05-03 21:19:01 +02:00
Laurent Destailleur
a566ec3ace Merge pull request #2755 from aternatik/company_delete
Modify thirdparty delete() method to pass user object as an argument.
2015-05-03 21:18:38 +02:00
Laurent Destailleur
8b85d17a51 Merge pull request #2753 from aspangaro/develop-ER_badge
Review ER: Add filter on amounts & correct search mode who doesn't work & typo
2015-05-03 21:17:18 +02:00
Laurent Destailleur
333a29683c uniformize look 2015-05-03 21:15:08 +02:00
jfefe
8fd03fa87e Add API class for contacts 2015-05-03 21:12:18 +02:00
jfefe
5fa5b51d2b Add API class skeleton for developers. 2015-05-03 20:15:06 +02:00
Laurent Destailleur
c485b1fe30 Fix When generation of doc is required and generator not provided, we
take first entry found.
2015-05-03 20:07:16 +02:00
jfefe
60d6cc5806 Modify search of API classes for module
A module can now bring several API classes.
By example, thirdparty module can have api_thirdparty.class.php for thirdparty and api_contact.class.php for contacts.

Classes must be named <Object>API (ie ThirdpartyApi or ContactApi)
2015-05-03 19:43:49 +02:00
jfefe
80b832e90c Add API methods to retrieve customers, prospects and others 2015-05-03 19:13:14 +02:00
jfefe
0d14cb8709 Modify thirdparty delete() method to pass user object as an argument. 2015-05-03 18:44:42 +02:00
jfefe
a8ee123bb2 Add API methods to create, update and delete a thirdparty 2015-05-03 18:30:59 +02:00
jfefe
64d0a710f7 API tirdparties list 2015-05-03 16:59:47 +02:00
Laurent Destailleur
f0b10c14d7 NEW Add a new component to select categories/tags from the main edit
page of product. The dedicated tab is also removed.
2015-05-03 15:51:55 +02:00
jfefe
2ea8c90fe2 Module descriptor for API module 2015-05-03 14:53:40 +02:00
jfefe
47c3724f3d Verify API access by user to resource
API authentication mechanism is supposed to be working with internal or external users
2015-05-03 14:44:37 +02:00
jfefe
46ce77c571 Refactor function to use it into API
New function checkUserAccessToObject() is a piece of restrictedArea() function.
2015-05-03 14:41:51 +02:00
aspangaro
c502dabd76 Merge remote-tracking branch 'Upstream/develop' into develop-ER_project 2015-05-03 14:31:15 +02:00
aspangaro
c6306260c5 Fix: ER Search mode doesn't work 2015-05-03 14:25:37 +02:00
aspangaro
da272c6aac ER Typo 2015-05-03 14:24:20 +02:00
Laurent Destailleur
0479bd5a59 Merge remote-tracking branch 'origin/3.7' into develop
Conflicts:
	htdocs/contrat/card.php
	htdocs/contrat/class/contrat.class.php
	htdocs/core/class/extrafields.class.php
	htdocs/core/modules/modAdherent.class.php
2015-05-03 13:00:39 +02:00
Francis Appels
2b32dc4ba8 Apply correct tabulation 2015-05-03 11:51:54 +02:00
Francis Appels
cb75d0778a Fix doc errors 2015-05-03 11:09:33 +02:00
Juanjo Menent
6b9d5be3c2 Merge pull request #2745 from frederic34/patch-9
Typo
2015-05-03 11:01:32 +02:00
Juanjo Menent
edbef3d1da Merge pull request #2746 from frederic34/patch-10
Typo
2015-05-03 11:01:17 +02:00
Juanjo Menent
3966b6dfde Merge pull request #2747 from aspangaro/develop-accountancy_patch1
Accountancy - Add key language & prepare journal for expense report
2015-05-03 11:00:48 +02:00
Juanjo Menent
ea80386152 Merge pull request #2751 from aspangaro/develop-selectmonth
New: Add option to show long or short (by default) label in select_month()
2015-05-03 10:58:45 +02:00
Francis Appels
fee4c4e0e2 Fix: add newline at eof 2015-05-03 10:26:12 +02:00
Francis Appels
f9ece24f95 Fix: Member card header/footer text 2015-05-03 10:09:31 +02:00
Francis Appels
ffe7671549 Fix label L7163 X spacing 2015-05-03 10:08:32 +02:00
Francis Appels
f9908c48cb Add datamatrix en qrcode barcodes 2015-05-03 10:07:04 +02:00
Francis Appels
96dfdfeb73 New tcpdf barcode label printing class
New tcpdf barcode label printing class and add parameters to printsheet
for using this class.
Add parameter to modules_xxx.php functions to pass printing templete
class to use
2015-05-03 10:05:59 +02:00
Francis Appels
701c85620b Extend sticker classes from abstract class
Extend member and printsheet sticker printer classes from new abstract
commonsticker generator
2015-05-03 10:00:11 +02:00
Francis Appels
2fd4bf1012 Add commonstickergenerator class
Common abstract class for sticker printing.
Creates contracts for write_file and addSticker methods
2015-05-03 09:54:37 +02:00
aspangaro
be302ce5ae New: ER Add filter on amounts 2015-05-03 08:10:22 +02:00
aspangaro
55eecf3f25 ER add price format in total of list 2015-05-03 07:05:19 +02:00
aspangaro
6dfd125872 Spaces 4 : Stop Shouting ! 2015-05-03 06:25:50 +02:00
aspangaro
7062dc7b2e Spaces 3 : the darkside 2015-05-03 06:20:34 +02:00
aspangaro
3a5f6db571 Spaces 2 : return of the vilains 2015-05-03 06:18:21 +02:00
aspangaro
9aa336e0d0 Spaces !!! 2015-05-03 06:16:28 +02:00
aspangaro
8163563753 New: Add option to show long or short (by default) label in select_month() 2015-05-03 06:12:02 +02:00
jfefe
31e5b4786a Fix : verify access method
Now we can use tag '@class' into PHPDoc block of method or class.

By example: @class  DolibarrApiAccess {@requires user,external}
2015-05-03 01:54:04 +02:00
jfefe
fa494369b8 New : API key authentication
One key is stored by user when login API method is called. Each API request must have api_key parameter
2015-05-02 23:54:35 +02:00
jfefe
8027759304 Work on authentication 2015-05-02 18:14:51 +02:00
jfefe
65ff78f61a Don't expose API if module disabled 2015-05-02 15:31:21 +02:00
jfefe
4ccb04590e Add API admin page 2015-05-02 15:27:19 +02:00
jfefe
4bce903c63 Add field into user table to store API key 2015-05-02 15:26:45 +02:00
jfefe
23e423404b Add API htaccess file for Apache webserver 2015-05-02 15:25:48 +02:00
aspangaro
315e9239ac Merge remote-tracking branch 'Upstream/develop' into develop-accountancy2 2015-05-02 06:45:53 +02:00
aspangaro
1174c67b07 Accountancy - Add key language & prepare journal for expense report 2015-05-02 06:42:06 +02:00
Frédéric FRANCE
d8af7a45f8 Typo 2015-05-01 19:10:47 +02:00
Frédéric FRANCE
e3f980e32c Typo 2015-05-01 18:44:27 +02:00
Juanjo Menent
6f6ff6697a Merge pull request #2742 from aspangaro/develop-ER_badge
New: ER add badge on tab document
2015-05-01 16:24:47 +02:00
Juanjo Menent
300d6532a1 Merge pull request #2740 from aspangaro/develop-devcamp
Fix: ER Typo on variable $_SERVER, correct Link & traduce button
2015-05-01 16:24:32 +02:00
jfefe
1536cd430d Missing PHPDOC for REST API working for thirdparties
These tags are very important for REST API. Please have a look at https://github.com/Luracast/Restler/blob/master/ANNOTATIONS.md
2015-05-01 16:16:31 +02:00
jfefe
d406830e06 NEW : add an explorer for REST API consultation & documentation 2015-05-01 16:13:58 +02:00
jfefe
30c901c266 Begin REST API implementation with thirdparty classes and methods needed.
Work in progress !
2015-05-01 16:12:30 +02:00
Raphaël Doursenaud
31a8e38d37 Allow exporting projects without a third party
FIX #2729

Conflicts:
	htdocs/core/modules/modProjet.class.php
2015-05-01 16:01:57 +02:00
jfefe
b503b16f07 NEW : add restler framework
First step to build REST API into Dolibarr
2015-05-01 15:42:05 +02:00
jfefe
f6c93525a6 Require restler/framework into composer.json 2015-05-01 14:03:32 +02:00
aspangaro
b0eee2976c New: ER add badge on tab document 2015-05-01 08:46:37 +02:00
aspangaro
b03a9dffeb Fix : ER Correct Link 2015-05-01 07:18:19 +02:00
aspangaro
95058607a4 Fix : ER Typo on all variable $_SERVER & traduce of button "Edit" not works 2015-05-01 07:13:04 +02:00
Juanjo Menent
29c9686b8e Merge pull request #2730 from GPCsolutions/dolibarr-2718
Export task labels
2015-04-30 21:02:17 +02:00
Juanjo Menent
40be94452d Merge pull request #2734 from GPCsolutions/unitfix
Fix missing unit parameter
2015-04-30 20:54:00 +02:00
Juanjo Menent
4a4630a4a3 Merge pull request #2735 from GPCsolutions/dolibarr-2632
Add sensible default mode to directory creation
2015-04-30 20:51:37 +02:00
Juanjo Menent
91767edd05 Fixed SQL table reference for members types in export 2015-04-30 20:50:05 +02:00
Francis Appels
f762d6d7cb Add tcpdfbarcode
Add modTcpdfbarcode class
Add pdf_label class
pdf_standardlabel extends pdf_label
2015-04-30 16:41:52 +02:00
Raphaël Doursenaud
2c44aa6742 Add sensible default mode to directory creation
Fix #2632
2015-04-30 16:22:01 +02:00
Raphaël Doursenaud
7b538d8842 Fix missing unit parameter
Prevented the input of supplier invoices lines from working
2015-04-30 15:59:20 +02:00
Raphaël Doursenaud
2058d21da9 Export task labels
FIX #2718
2015-04-30 11:43:42 +02:00
Laurent Destailleur
3b38949fc5 Fix bad link to linkedin networks 2015-04-28 21:57:54 +02:00
Laurent Destailleur
53bf90a3e2 Merge remote-tracking branch 'origin/3.7' into develop
Conflicts:
	ChangeLog
2015-04-28 21:54:13 +02:00
Juanjo Menent
ebe1f4a74d -Activate const PRODUCT_USE_OLD_PATH_FOR_PHOTOS by default for old
instances
-Update changelog for 3.7.1

Conflicts:
	ChangeLog
	htdocs/install/mysql/migration/3.6.0-3.7.0.sql
2015-04-27 20:31:12 +02:00
Laurent Destailleur
416e34d50d Fix error management 2015-04-27 20:26:56 +02:00
Laurent Destailleur
f9a428d550 Fixed #2714 2015-04-27 20:25:02 +02:00
Laurent Destailleur
b619c64770 Fix #2713 2015-04-27 20:24:02 +02:00
fmarcet
1c01e187c1 Fix: Bug in the new photo system 2015-04-27 17:20:10 +02:00
Laurent Destailleur
4e04f75c66 Fix css 2015-04-27 02:33:44 +02:00
Laurent Destailleur
5b3b180c10 NEW Web service to create or update product can correct stock during
creation/update.
2015-04-27 01:36:13 +02:00
Laurent Destailleur
1e237defb0 Fix phpcs 2015-04-26 17:59:02 +02:00
Laurent Destailleur
4235d74aac Fix tests for ES 2015-04-26 16:45:24 +02:00
Laurent Destailleur
414404e854 Merge remote-tracking branch 'origin/3.7' into develop
Conflicts:
	htdocs/comm/action/class/actioncomm.class.php
	htdocs/core/class/commonobject.class.php
2015-04-26 16:30:33 +02:00
Laurent Destailleur
24aea45da7 Fix also xml file of CRLF 2015-04-26 16:14:03 +02:00
Laurent Destailleur
025d8c2a71 Clean script migration 2015-04-25 23:22:44 +02:00
Laurent Destailleur
7c706ebaf6 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-04-25 23:15:55 +02:00
Laurent Destailleur
60a56da370 Some change into css. Tabs background are now white so main content is
black on white (better contrast).
Fix editfieldval for date.
2015-04-25 22:20:10 +02:00
Arnaud Aujon
4e10b94b6b Add webservice method createInvoiceFromOrder 2015-04-25 00:38:32 +02:00
Arnaud Aujon
fa9cb49fcb add updateInvoice webservice call 2015-04-24 23:42:35 +02:00
Arnaud Aujon
918d59b0d4 fix updateOrder result values 2015-04-24 23:41:54 +02:00
Arnaud Aujon
13cfae2eb6 payment_mode_id should be in Invoice not InvoiceLine 2015-04-24 23:02:59 +02:00
Arnaud Aujon
c0506918b6 Merge remote-tracking branch 'upstream/3.7' into 3.7-webservices-fix 2015-04-24 21:34:57 +02:00
Laurent Destailleur
5a509940f3 Merge pull request #2706 from GPCsolutions/mobiledetect
Mobiledetect
2015-04-24 21:22:56 +02:00
Laurent Destailleur
a091158cce Merge pull request #2690 from open-minds/develop
Add sorting for extra fields values
2015-04-24 21:10:27 +02:00
Laurent Destailleur
125c821bc4 add comment 2015-04-24 20:47:45 +02:00
Laurent Destailleur
6dab9f0283 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-04-24 10:59:41 +02:00
Laurent Destailleur
576cd57a94 NEW Can edit internal label of invoice even when closed (this is a
private information)
2015-04-24 10:59:18 +02:00
Laurent Destailleur
e0d2c43086 fix phpcs 2015-04-24 01:15:29 +02:00
Juanjo Menent
1eeb9653a2 Merge pull request #2704 from GPCsolutions/github-issues
FIX: moved built-in bug report system to GitHub Issues
2015-04-23 22:37:22 +02:00
Raphaël Doursenaud
7281ea21e6 Qual: moved mobiledetect external library
External libraries resides in the include directory
2015-04-23 20:30:33 +02:00
Raphaël Doursenaud
6a9539b167 Fix: documented mobiledetect external library 2015-04-23 20:29:58 +02:00
Raphaël Doursenaud
f07c174c9c FIX: moved built-in bug report system to GitHub Issues
Improved environment informations and presentation
2015-04-23 18:43:32 +02:00
Laurent Destailleur
94ff635cc2 NEW Add filter on user contact or user task into task list 2015-04-23 16:20:25 +02:00
Laurent Destailleur
0e141f2c1b Fix css 2015-04-23 15:35:32 +02:00
Laurent Destailleur
4f3fe82e93 NEW Add filter on task ref and task label into list of tasks 2015-04-23 15:22:50 +02:00
Laurent Destailleur
7fd2247297 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-04-23 13:45:02 +02:00
Laurent Destailleur
f9285d6d23 NEW Can add all user of a project as user of a task, in one step. 2015-04-23 13:44:45 +02:00
Juanjo Menent
3d08280026 Fix test for es. testGetDefaultLocalTax 2015-04-23 10:35:08 +02:00
Juanjo Menent
fa807aebfd Merge pull request #2699 from aspangaro/develop-devcamp
New: Add search field for value date in vat payment list
2015-04-23 09:47:52 +02:00
aspangaro
f4e346c75b Merge remote-tracking branch 'Upstream/develop' into develop-Devcamp 2015-04-23 07:30:20 +02:00
aspangaro
3ae8428a12 New: Add search field for value date in vat payment list 2015-04-23 07:26:09 +02:00
Juanjo Menent
f7ab53be8e Fix test for es. Dumps 3.5 et 3.6 2015-04-22 23:40:43 +02:00
Juanjo Menent
e2635f66f5 Fix test for es 2015-04-22 22:10:50 +02:00
Laurent Destailleur
305030ae6c Fix test to match new field names of note 2015-04-22 21:58:12 +02:00
Laurent Destailleur
807824aaad Fix warnings 2015-04-22 21:48:59 +02:00
Laurent Destailleur
6b15cafb4e Add protection to request some module to be on for AllTests 2015-04-22 21:38:34 +02:00
Laurent Destailleur
be4ad5460e Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-04-22 20:28:43 +02:00
Laurent Destailleur
9ef809e91b Fix migration tools 2015-04-22 20:28:21 +02:00
Laurent Destailleur
b57d3ddf03 Merge pull request #2695 from Ankapi/develop
Fixed hook "pdfgeneration" in the pdf blochet of cheque deposit
2015-04-22 19:24:40 +02:00
Laurent Destailleur
7c8281d2fe search travis pb 2015-04-22 18:30:58 +02:00
Laurent Destailleur
100fa1067e Merge remote-tracking branch 'origin/3.7' into develop
Conflicts:
	htdocs/compta/bank/virement.php
	htdocs/compta/facture/impayees.php
	htdocs/compta/prelevement/class/bonprelevement.class.php
	htdocs/core/menus/standard/eldy.lib.php
	htdocs/core/modules/modProjet.class.php
	htdocs/install/mysql/migration/3.6.0-3.7.0.sql
	htdocs/langs/en_GB/admin.lang
	htdocs/langs/es_AR/orders.lang
	htdocs/langs/es_AR/trips.lang
	htdocs/langs/es_CO/admin.lang
	htdocs/langs/es_CO/orders.lang
	htdocs/langs/es_CO/trips.lang
	htdocs/langs/fr_FR/admin.lang
	htdocs/langs/fr_FR/main.lang
	htdocs/langs/pl_PL/interventions.lang
	htdocs/langs/pt_BR/trips.lang
	htdocs/langs/ro_RO/productbatch.lang
	htdocs/langs/ro_RO/trips.lang
	htdocs/main.inc.php
	htdocs/projet/element.php
2015-04-22 17:57:57 +02:00
Laurent Destailleur
9279a3a349 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-04-22 17:39:33 +02:00
Laurent Destailleur
208ac31bf8 Fix test for es 2015-04-22 17:39:09 +02:00
David Avigni (Ankapi)
e298bd0a68 Fixed hook "pdf generation", executeHooks misnamed: replacement
"adterPDFCreation" with "afterPDFCreation"
2015-04-22 15:23:52 +02:00
Arnaud Aujon
97fc99517e Fixes : contact webservice fix update using ref_ext 2015-04-22 12:47:45 +02:00
Arnaud Aujon
54ffaea000 Merge remote-tracking branch 'upstream/3.7' into 3.7-webservices-fix 2015-04-22 12:33:53 +02:00
Juanjo Menent
360b1c731d Merge pull request #2692 from frederic34/patch-8
Update product.class.php
2015-04-22 11:22:29 +02:00
Frédéric FRANCE
768fdde2d1 Update product.class.php 2015-04-22 10:39:32 +02:00
Juanjo Menent
45c585ac64 Merge pull request #2691 from aspangaro/develop-devcamp
Fixed: For salaries in bank module : missing language file & simplify thidparty column (Informations are truncated by default)
2015-04-22 09:20:31 +02:00
aspangaro
b35c929cad Merge remote-tracking branch 'Upstream/develop' into develop-Devcamp 2015-04-22 07:18:52 +02:00
aspangaro
560150fd1c Fixed: For salaries in bank module : missing language file & simplify thidparty column (Informations are truncated by default) 2015-04-22 07:15:17 +02:00
Laurent Destailleur
f3ea694b97 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-04-22 00:17:24 +02:00
Laurent Destailleur
5b758e0e16 Fix migration process 2015-04-22 00:17:03 +02:00
Juanjo Menent
ad31f0110a Improve PHPUnit Prices test for Spanish localtax1 and localtax2 2015-04-21 22:01:53 +02:00
Laurent Léonard
e0cc007487 Add sorting for extra fields values 2015-04-21 20:21:24 +02:00
Juanjo Menent
b9b21bce8a Merge pull request #2679 from marcosgdf/bug-1786-2
FIX [ bug #1786 ] Spanish localtax2 calculation errors with corrective invoices
2015-04-21 18:52:56 +02:00
Laurent Destailleur
bce952fa9b Fix bad link 2015-04-21 17:06:13 +02:00
Laurent Destailleur
f06255e9d2 Complete the mailmap file. 2015-04-21 16:57:45 +02:00
Laurent Destailleur
fab2c4a0c9 Merge pull request #2689 from GPCsolutions/mailmap
Added a mailmap for better git statistics
2015-04-21 16:08:51 +02:00
Laurent Destailleur
96a33bbe8a First clean of code after devcamp 2015-04-21 15:49:58 +02:00
Raphaël Doursenaud
d5e40057e7 Added a mailmap for better git statistics 2015-04-21 14:29:53 +02:00
Laurent Destailleur
1c8e1638c7 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-04-21 12:08:56 +02:00
Laurent Destailleur
a690276060 Fix js warnings, select2 css was not loaded. 2015-04-21 12:08:36 +02:00
Laurent Destailleur
5a9c40eb59 Fix minor look and security errors 2015-04-21 12:03:51 +02:00
Laurent Destailleur
7a4d1d990e Fix security hole 2015-04-21 11:41:21 +02:00
Laurent Destailleur
e476b57795 Merge pull request #2678 from defrance69/patch-60
add tab management on salarie payement
2015-04-21 11:15:20 +02:00
Laurent Destailleur
9d1c609c4f Merge pull request #2538 from marcosgdf/units
NEW [ task 977 ] New option to manage product unit Migrated code from GPCSolutions/dolibarr:3.2-units branch and adapted for 3.8 with some improvements
2015-04-21 11:14:50 +02:00
Laurent Destailleur
616e28eecd Merge pull request #2684 from aternatik/fix_odt_lines_type
Add missing value into ODT for object line type (product or service)
2015-04-21 11:13:02 +02:00
Laurent Destailleur
819e463255 Merge pull request #2685 from frederic34/patch-8
test for mysql 5.6
2015-04-21 11:12:08 +02:00
Arnaud Aujon
afc4d89c64 Orders webservice : Generate pdf document on valid 2015-04-20 20:18:17 +02:00
Florian HENRY
99cc52fdfa Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-04-20 17:17:38 +02:00
Frédéric FRANCE
9f899c93ef Update .travis.yml 2015-04-20 17:11:09 +02:00
jfefe
f2d05ce754 Add missing value for object line type (product or service) 2015-04-20 16:20:04 +02:00
Laurent Destailleur
94589b9935 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-04-19 23:15:39 +02:00
Laurent Destailleur
65dafeee55 Uniformize feature between invoice and merging tool 2015-04-19 23:15:24 +02:00
Marcos García de La Fuente
28b89a2dec Fix [ bug #1786 ] Spanish localtax2 calculation errors with corrective invoices 2015-04-19 18:58:56 +02:00
Marcos García de La Fuente
2967bc7df7 Merge branch 'develop' into units 2015-04-19 17:19:59 +02:00
Marcos García de La Fuente
7be7a770c1 Implemented units for CommandeFournisseur and FactureFournisseur 2015-04-19 16:46:24 +02:00
Laurent Destailleur
560fcb1b24 Remove external module 2015-04-19 15:27:30 +02:00
Laurent Destailleur
ba706ec8e1 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-04-19 13:34:09 +02:00
BENKE Charlie
51cb680f19 Create info.php
add info tabs
2015-04-19 13:32:59 +02:00
Laurent Destailleur
d4924b40cf Merge pull request #2677 from GPCsolutions/minified-select2
Use minified select2 js lib
2015-04-19 13:32:36 +02:00
Laurent Destailleur
89412082ab Change to debug mysql 2015-04-19 13:31:20 +02:00
BENKE Charlie
a151defc4b Add tabs management 2015-04-19 13:28:51 +02:00
BENKE Charlie
5a68cba013 Create salaries.lib.php
add lib salaries for menu management
2015-04-19 13:25:43 +02:00
Laurent Destailleur
38dc5b2555 Change to debug travis 2015-04-19 13:21:33 +02:00
Florian HENRY
72c92557de Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop

Conflicts:
	htdocs/product/class/propalmergepdfproduct.class.php
2015-04-19 13:06:59 +02:00
Florian HENRY
37bc7c3f1d typo 2015-04-19 13:05:40 +02:00
Raphaël Doursenaud
e7a21de11d Use minified select2 js lib 2015-04-19 12:58:47 +02:00
Laurent Destailleur
935f94fd62 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-04-19 12:25:36 +02:00
Laurent Destailleur
207b372930 CSS 2015-04-19 12:06:21 +02:00
Juanjo Menent
9efdc09c32 Merge pull request #2674 from atm-maxime/develop
Fix : multi upload of files in document tabs
2015-04-19 10:03:27 +02:00
Laurent Destailleur
22921ad26b Fix phpunit 2015-04-19 04:43:28 +02:00
Maxime Kohlhaas
e692950627 Fix : multi upload of files in document tabs 2015-04-19 04:04:43 +02:00
Laurent Destailleur
d723a5873f Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-04-19 04:02:47 +02:00
Laurent Destailleur
72845b21c7 Add log 2015-04-19 04:01:31 +02:00
Laurent Destailleur
e87627e7f5 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-04-19 03:36:45 +02:00
Laurent Destailleur
6db76830fd Fix load module by test 2015-04-19 03:36:27 +02:00
jfefe
e1665be324 Merge branch 'fix_getentity' of github.com:aternatik/dolibarr into fix_getentity
Conflicts:
	htdocs/accountancy/journal/purchasesjournal.php
2015-04-19 03:09:12 +02:00
jfefe
f5db4d5bb7 Fix: missing getEntity function 2015-04-19 03:05:37 +02:00
Laurent Destailleur
111b54d82c Fix phpcs 2015-04-19 03:02:49 +02:00
jfefe
0c7ae0dd47 Fix: missing getEntity function 2015-04-19 02:38:54 +02:00
Laurent Destailleur
df9973f462 Merge pull request #2671 from aternatik/img_title
Picto war S01E02
2015-04-19 01:59:44 +02:00
Laurent Destailleur
a091a24657 Fix phpcs 2015-04-19 01:52:15 +02:00
Laurent Destailleur
3a4ad7c038 Bad colspan 2015-04-19 01:09:30 +02:00
Marcos García de La Fuente
270bca740c Merge branch 'develop' into units
Conflicts:
	htdocs/compta/facture/fiche-rec.php
2015-04-19 00:59:04 +02:00
Laurent Destailleur
5597e4a8b6 Merge pull request #2668 from GPCsolutions/typo
Fixed wrong field
2015-04-19 00:59:01 +02:00
Laurent Destailleur
6d07b74ce6 Merge pull request #2669 from atm-maxime/develop
Fix : use getentity for stock sharing
2015-04-19 00:58:20 +02:00
Laurent Destailleur
b0ad595f00 Add filelist 2015-04-19 00:54:44 +02:00
Laurent Destailleur
4b84e191a6 Use popup for confirm 2015-04-19 00:49:55 +02:00
Marcos García de La Fuente
15b1f03a08 Merge branch 'develop' into commercial-name
Conflicts:
	htdocs/comm/list.php
	htdocs/comm/prospect/list.php
	htdocs/societe/consumption.php
	htdocs/societe/soc.php
2015-04-19 00:48:07 +02:00
Maxime Kohlhaas
ee8b5be43b Typo 2015-04-19 00:46:30 +02:00
Raphaël Doursenaud
19d9af4cf5 Fixed wrong field 2015-04-19 00:44:39 +02:00
jfefe
c90801c0ad Add home picto for index page title 2015-04-19 00:41:29 +02:00
jfefe
c9d377f07f Modify generic picto 2015-04-19 00:38:29 +02:00
jfefe
c3e81c2d21 Modify accountancy picto for titles 2015-04-19 00:33:36 +02:00
Maxime Kohlhaas
0112cbaaf0 Merge branch 'develop' of github.com:Dolibarr/dolibarr into develop 2015-04-19 00:28:15 +02:00
Laurent Destailleur
2f853a56af Merge pull request #2664 from aternatik/img_title
Picto war!
2015-04-19 00:27:06 +02:00
Florian HENRY
41631ceed9 typo 2015-04-18 23:43:11 +02:00
jfefe
57d04c601f Add title picto for project section 2015-04-18 23:39:04 +02:00
Marcos García de La Fuente
87f97ed545 Merge branch 'develop' into units
Conflicts:
	htdocs/commande/class/commande.class.php
	htdocs/compta/facture.php
	htdocs/install/mysql/migration/3.7.0-3.8.0.sql
	htdocs/product/admin/product.php
	htdocs/product/card.php
2015-04-18 23:38:14 +02:00
jfefe
73ef3d73c2 Change size of generic title picto 2015-04-18 23:28:20 +02:00
jfefe
23e5bc4f53 Add title image for bank section 2015-04-18 23:17:47 +02:00
jfefe
22c3406498 Change title images for accountancy section 2015-04-18 23:17:47 +02:00
jfefe
25812f0071 Add picto for commercial pages titles 2015-04-18 23:17:44 +02:00
jfefe
3825b89ead Change companies and product title picto 2015-04-18 23:13:48 +02:00
jfefe
c905f88498 Change generic and setup image title 2015-04-18 23:13:48 +02:00
Maxime Kohlhaas
098f2ab0b1 Merge branch 'develop' of github.com:Dolibarr/dolibarr into develop 2015-04-18 23:09:24 +02:00
Maxime Kohlhaas
bcf9e7fb37 Fix : use getentity for stock sharing 2015-04-18 23:08:21 +02:00
Laurent Destailleur
5c80d46b74 Merge pull request #2663 from FHenry/develop
fix bug #2652
2015-04-18 23:06:19 +02:00
Florian HENRY
11e1d0310c typo 2015-04-18 23:00:22 +02:00
Florian HENRY
f2018b7946 fix bug #2652 2015-04-18 22:59:20 +02:00
Juanjo Menent
065711df3b Merge pull request #2662 from marcosgdf/fk_soc
Fixed problem with u.fk_soc in PR #2654
2015-04-18 22:52:29 +02:00
Marcos García de La Fuente
2a8cf5f8be Fixed problem with last PR #2654 2015-04-18 22:50:40 +02:00
Florian HENRY
adad1f4a3b Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-04-18 22:43:56 +02:00
Juanjo Menent
21a68b2cf2 Merge pull request #2661 from Diciannove/langtool
fixes issue #2584
2015-04-18 22:38:43 +02:00
Tommaso Basilici
38cfbe4897 issue #2584 - added a counter 2015-04-18 22:37:23 +02:00
Florian HENRY
c678a31d97 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-04-18 22:24:55 +02:00
Laurent Destailleur
70de42f576 Merge pull request #2658 from bafbes/develop
Register contributor information for last pull request
2015-04-18 22:23:59 +02:00
Laurent Destailleur
80e1ca73fb Merge pull request #2659 from FHenry/develop
fix : #2640
2015-04-18 22:23:28 +02:00
Tommaso Basilici
b73c36c85d Merge branch 'langtool' of https://github.com/Diciannove/dolibarr into langtool 2015-04-18 22:19:33 +02:00
Juanjo Menent
98e2284566 Merge pull request #2660 from marcosgdf/develop
Close #2657 Bug: CRITICAL Dolibarr is broken
2015-04-18 22:19:01 +02:00
Tommaso Basilici
7cec7879e4 issue #2584 - output on a table + search for unused strings 2015-04-18 22:18:46 +02:00
Florian HENRY
dc1d41d529 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-04-18 22:15:12 +02:00
Marcos García de La Fuente
a8f60a5c18 Revert "Sanitize for security."
This reverts commit 1598a5d3a6.
2015-04-18 22:11:11 +02:00
Florian HENRY
92494cd1ec fix : #2640 2015-04-18 22:09:19 +02:00
bafbes
f4fe71a7fe Update filefunc.inc.php 2015-04-18 20:59:00 +01:00
Laurent Destailleur
25a996644d Merge branch 'fr-2613' of https://github.com/marcosgdf/dolibarr into develop
Conflicts:
	htdocs/install/mysql/migration/3.7.0-3.8.0.sql
2015-04-18 20:52:02 +02:00
Marcos García de La Fuente
e2e6049c7f Copyright 2015-04-18 20:50:03 +02:00
Laurent Destailleur
d22a403416 git push origin developMerge branch 'marcosgdf-fr-2613' into develop 2015-04-18 20:47:41 +02:00
Laurent Destailleur
9dd73de9b0 Merge branch 'fr-2613' of https://github.com/marcosgdf/dolibarr into marcosgdf-fr-2613
Conflicts:
	htdocs/install/mysql/migration/3.7.0-3.8.0.sql
2015-04-18 20:47:20 +02:00
Laurent Destailleur
1598a5d3a6 Sanitize for security. 2015-04-18 20:43:52 +02:00
Marcos García de La Fuente
c07e26dcac Merge branch 'develop' into fr-2613
Conflicts:
	htdocs/install/mysql/migration/3.7.0-3.8.0.sql
2015-04-18 20:42:57 +02:00
Marcos García de La Fuente
dc790ff586 NEW: Feature request: A page to merge two thirdparties into one #2613 2015-04-18 20:41:09 +02:00
Laurent Destailleur
21a6fd1cb4 Merge pull request #2633 from bafbes/develop
NEW : dev feature : replace conf filename with "conf" parameter on url b...
2015-04-18 20:30:49 +02:00
Laurent Destailleur
f80674f1e3 git push origin developMerge branch 'fappels-develop' into develop 2015-04-18 20:29:55 +02:00
Laurent Destailleur
8be83cd043 Merge branch 'develop' of https://github.com/fappels/dolibarr into fappels-develop
Conflicts:
	htdocs/langs/en_US/sendings.lang
2015-04-18 20:29:25 +02:00
Laurent Destailleur
b3fc8d2940 Merge branch 'develop' of github.com:Dolibarr/dolibarr into develop
Conflicts:
	htdocs/langs/en_US/products.lang
2015-04-18 20:27:50 +02:00
Laurent Destailleur
8140e33178 git push origin developMerge branch 'Diciannove-langtool' into develop 2015-04-18 20:26:31 +02:00
Laurent Destailleur
fcbb4a5328 Merge branch 'langtool' of https://github.com/Diciannove/dolibarr into Diciannove-langtool
Conflicts:
	htdocs/langs/en_US/main.lang
	htdocs/langs/en_US/orders.lang
	htdocs/langs/en_US/stocks.lang
2015-04-18 20:26:23 +02:00
Laurent Destailleur
f7b2b00ebd Merge pull request #2650 from FHenry/dev_pdfpropalmergeproductpdf
NEW : Propal merge PDF product attached files (on option)
2015-04-18 20:18:57 +02:00
Laurent Destailleur
cb0e45d54b Merge pull request #2647 from aternatik/fix_css
Fix : css properties for lists and input fields
2015-04-18 20:05:10 +02:00
Laurent Destailleur
6e136616c6 Merge pull request #2649 from atm-maxime/develop
Alert when oustanding amount excedeed
2015-04-18 20:04:25 +02:00
Laurent Destailleur
6b934001e9 Merge pull request #2651 from aternatik/fix_email_template
Fix : bad usage of empty function with GETPOST
2015-04-18 20:03:55 +02:00
Maxime Kohlhaas
ecf1fbe5a7 Typo 2015-04-18 20:03:40 +02:00
jfefe
bee5af4d9e Fix : bad usage of empty function with GETPOST 2015-04-18 19:56:36 +02:00
Maxime Kohlhaas
c3bcda74f3 Fix : unit price without tax is now subprice (not pu_ht) 2015-04-18 19:17:05 +02:00
Florian HENRY
62ef9743ea Merge branch 'develop' into dev_pdfpropalmergeproductpdf 2015-04-18 19:16:33 +02:00
Juanjo Menent
c5d8fa4602 Fix: solves #2644 2015-04-18 19:14:30 +02:00
Florian HENRY
e704e03726 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-04-18 19:13:56 +02:00
Maxime Kohlhaas
2ddef9ffd9 Alert when oustanding amount excedeed 2015-04-18 19:08:44 +02:00
Maxime Kohlhaas
53469c803a Typo 2015-04-18 19:08:01 +02:00
jfefe
4f0829d4ea Adjust CSS : missing color for input, textarea and select list 2015-04-18 19:01:33 +02:00
Laurent Destailleur
e4656ecfd4 Merge pull request #2636 from defrance69/patch-59
NEW Add list of orders into commercial page
2015-04-18 18:58:06 +02:00
jfefe
c5b191d590 Adjust CSS properties for tables 2015-04-18 18:57:13 +02:00
Francis Appels
c5599efe62 Don't show 'undifined' when no max delivery time 2015-04-18 18:56:25 +02:00
Francis Appels
308ee40134 Fix Lang part2
Fix lang in en_us
2015-04-18 18:53:25 +02:00
Laurent Destailleur
07bf403354 Merge pull request #2645 from atm-maxime/develop
Fix : outstanding limit was not saved
2015-04-18 18:49:53 +02:00
Maxime Kohlhaas
8e4771daa0 Fix : outstanding limit was not saved 2015-04-18 18:48:50 +02:00
Laurent Destailleur
e1403b136c Merge pull request #2639 from aternatik/stable_resource
New : mark resource module as stable
2015-04-18 18:48:24 +02:00
Florian HENRY
db2acb7ced Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-04-18 18:47:19 +02:00
Laurent Destailleur
97fe909278 Merge pull request #2642 from GPCsolutions/editorconfig
Dolibarr uses tab indents
2015-04-18 18:46:46 +02:00
Laurent Destailleur
3edfbf1a67 Merge pull request #2637 from grandoc/develop
fix syntax errors
2015-04-18 18:46:19 +02:00
Florian HENRY
e15d4c045d NEW : Propal merge product card PDF into azur 2015-04-18 18:44:05 +02:00
philippe grand
838329f3d9 Merge branch 'develop' of git://github.com/Dolibarr/dolibarr.git into develop 2015-04-18 18:36:00 +02:00
Raphaël Doursenaud
81a14b5bfd Dolibarr uses tab indents 2015-04-18 18:27:26 +02:00
jfefe
5c4633d538 New : mark resource module as stable 2015-04-18 18:18:21 +02:00
Laurent Destailleur
08dfcf3afc Merge 2015-04-18 18:14:55 +02:00
jfefe
f2e19f2326 Fix: error when deleting resource 2015-04-18 18:07:59 +02:00
philippe grand
eaf0fda6aa fix syntax errors 2015-04-18 18:07:41 +02:00
Laurent Destailleur
ca05c9a26f Fix PHPCS 2015-04-18 18:07:36 +02:00
faust
4bb83de146 en_US: fix lang 2015-04-18 18:03:40 +02:00
BENKE Charlie
c9aaf51627 Update index.php
add last orders in commercial index page
2015-04-18 17:49:48 +02:00
Laurent Destailleur
873899a5d4 Merge pull request #2635 from FHenry/develop
fix typo
2015-04-18 17:45:25 +02:00
Laurent Destailleur
e7505e49cf Merge pull request #2623 from GPCsolutions/pear_mail_mime
Update PEAR Mail_MIME to 1.8.9
2015-04-18 17:44:30 +02:00
Laurent Destailleur
471a5857d2 Fix CSS 2015-04-18 17:42:24 +02:00
Florian HENRY
bbed849911 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-04-18 17:37:49 +02:00
Florian HENRY
b7191a541c All send email card works with model choice box 2015-04-18 17:15:36 +02:00
Laurent Destailleur
69b9de08b8 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-04-18 16:54:20 +02:00
Laurent Destailleur
ce81f58986 Fix several bugs into edit of supplier lines 2015-04-18 16:54:00 +02:00
Florian HENRY
cc887ceff3 fix typo 2015-04-18 16:45:45 +02:00
faust
b7fb3d7d9e en_US: 'opened' is not an adjective... 2015-04-18 16:39:57 +02:00
bafbes
4c8dc1ba5b NEW : dev feature : replace conf filename with "conf" parameter on url by GET 2015-04-18 15:26:33 +01:00
faust
fb57cced55 en_US: fix typos and errors 2015-04-18 16:04:48 +02:00
faust
9a3b5305fe fix duplicate lines 2015-04-18 15:35:19 +02:00
Tommaso Basilici
82a269f233 issue #2584 - also finds duplicates on same file 2015-04-18 15:26:18 +02:00
Laurent Destailleur
a5ba7c664e Merge pull request #2627 from FHenry/develop
NEW : Email template choose on thirdparty card
2015-04-18 15:24:46 +02:00
Tommaso Basilici
25eeff4f19 first commit to fix issue #2584 - checks for duplicate lang strings across all en_US lang files 2015-04-18 15:12:06 +02:00
Laurent Destailleur
8cd22ae6c8 Merge pull request #2631 from fappels/develop
FIX lang
2015-04-18 15:11:50 +02:00
Marcos García de La Fuente
d6a2d972a6 Fix: [ bug #2601 ] Supplier orderstoinvoice does not work with PostgreSQL 2015-04-18 15:07:19 +02:00
Laurent Destailleur
246c8a01a6 Merge pull request #2611 from defrance69/patch-58
Update paiement.class.php
2015-04-18 15:05:16 +02:00
jfefe
fe01c4470d Show tools menu when activating resource module 2015-04-18 15:04:44 +02:00
Marcos García de La Fuente
401c0584e5 Fix: [ bug #2598 ] Untranslated "Supplier" tab name and some tax inputs in /fourn/card.php 2015-04-18 14:59:19 +02:00
Juanjo Menent
f8a1bf9a10 Merge pull request #2621 from atm-maxime/develop
Remove debug trace
2015-04-18 14:49:23 +02:00
Juanjo Menent
2f8ed32f76 Fix: Issues if strict mode option ONLY_FULL_GROUP_BY is activated 2015-04-18 14:17:00 +02:00
Juanjo Menent
d3f24dab0a Fix: Issues if strict mode option ONLY_FULL_GROUP_BY is activated 2015-04-18 13:36:47 +02:00
Florian HENRY
d3592c8d58 typo 2015-04-18 13:09:35 +02:00
Francis Appels
d6fc0aa7b5 FIX lang 2015-04-18 11:42:38 +02:00
Juanjo Menent
dc74302985 Fix: Issues if strict mode option ONLY_FULL_GROUP_BY is activated 2015-04-18 11:32:01 +02:00
Florian HENRY
6391fd0c40 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-04-18 11:07:07 +02:00
Florian HENRY
3d8a7ee179 Start email template selector 2015-04-18 11:06:53 +02:00
Maxime Kohlhaas
1fa43379c9 Merge branch 'develop' of github.com:atm-maxime/dolibarr into develop 2015-04-18 10:43:11 +02:00
Maxime Kohlhaas
7aba52c810 Merge branch 'develop' of github.com:Dolibarr/dolibarr into develop 2015-04-18 10:29:43 +02:00
Raphaël Doursenaud
e8332cc724 Update PEAR Mail_MIME to 1.8.9
This is nusoap dependency and the unkown previous version
was GPL incompatible and used deprecated functions.
2015-04-18 04:27:15 +02:00
Laurent Destailleur
deb62f1ffd Merge remote-tracking branch 'origin/3.7' into develop
Conflicts:
	htdocs/core/class/html.formother.class.php
	htdocs/core/lib/ajax.lib.php
	htdocs/expedition/list.php
2015-04-18 04:18:59 +02:00
Maxime Kohlhaas
07fd6a3ae7 Fix : delivery date was not a datetime 2015-04-18 04:18:40 +02:00
Maxime Kohlhaas
e6c5b234fc Remove debug trace 2015-04-18 03:54:33 +02:00
Laurent Destailleur
aab9b0ec60 Merge pull request #2620 from atm-maxime/develop_cat_multiselect
New : categories as multi-select on product
2015-04-18 03:53:05 +02:00
Laurent Destailleur
6de4292ccf Merge pull request #2619 from atm-maxime/develop
NEW shipment lists by status
2015-04-18 03:51:11 +02:00
Laurent Destailleur
904eeddf8d git push origin developMerge branch 'novalore-develop' into develop 2015-04-18 03:38:00 +02:00
Laurent Destailleur
f17a6cbe7e Merge branch 'develop' of https://github.com/novalore/dolibarr into
novalore-develop

Conflicts:
	htdocs/langs/en_US/trips.lang
2015-04-18 03:37:18 +02:00
Maxime Kohlhaas
9d8036e5a7 New : categories as multi-select on product 2015-04-18 03:12:42 +02:00
Maxime Kohlhaas
8db50e4606 Fix : menu for product batch 2015-04-18 01:39:41 +02:00
Maxime Kohlhaas
73a66f789c New : shipment lists by status 2015-04-18 01:21:22 +02:00
Maxime Kohlhaas
d94564ab93 Merge branch 'develop' of github.com:Dolibarr/dolibarr into develop 2015-04-18 01:11:28 +02:00
faust
c21961c4d8 word order in workflow.lang 2015-04-18 00:50:32 +02:00
faust
066e05a8ef another typo 2015-04-18 00:21:25 +02:00
Laurent Destailleur
5617399974 Removed deprecatd lines 2015-04-18 00:13:12 +02:00
faust
a54dd15afb fixed typos in trips.lang 2015-04-18 00:04:09 +02:00
Maxime Kohlhaas
24c3607403 Merge branch 'develop' of github.com:Dolibarr/dolibarr into develop 2015-04-17 22:58:06 +02:00
Laurent Destailleur
a034cda6ac Better test 2015-04-17 22:48:39 +02:00
Laurent Destailleur
b8736b0a6f Merge pull request #2457 from accett/patch-5
Update functionsnumtoword.lib.php
2015-04-17 22:42:19 +02:00
Laurent Destailleur
78e6aacda2 Fix format not supported by js lib 2015-04-17 13:22:36 +02:00
Laurent Destailleur
bf254baa02 Fix doliforge bug 1707 2015-04-15 18:50:41 +02:00
Laurent Destailleur
9a604fa0bc Fix grammar 2015-04-15 17:55:59 +02:00
BENKE Charlie
6eb17a79da Update paiement.class.php
standardisation of the call of fetch by adding the $ref even they not realy used
2015-04-15 11:40:12 +02:00
Laurent Destailleur
0c1ea1c7f2 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-04-14 20:10:27 +02:00
Laurent Destailleur
799ec63bf7 Merge pull request #2604 from defrance69/patch-57
Update modBanque.class.php
2015-04-14 20:05:41 +02:00
Laurent Destailleur
e2f9abd104 Merge pull request #2606 from frederic34/patch-8
Add VAT for Senegal
2015-04-14 20:04:18 +02:00
Laurent Destailleur
95029516db Field note was renamed. 2015-04-14 19:46:49 +02:00
Frédéric FRANCE
cce0ff83b9 Add VAT for Senegal 2015-04-14 16:33:56 +02:00
Laurent Destailleur
c668b82fd5 Fix translation 2015-04-14 14:23:26 +02:00
Maxime Kohlhaas
4d119065a8 Merge branch 'develop' of github.com:Dolibarr/dolibarr into develop 2015-04-14 13:01:41 +02:00
Laurent Destailleur
75b3fd442e Add option to allow to filter list on project creation 2015-04-14 12:32:19 +02:00
Laurent Destailleur
f323e89919 Add hidden option PROJECT_LIST_SHOW_STARTDATE to show start date of
project.
Increase visible length of fields.
2015-04-14 12:21:23 +02:00
BENKE Charlie
aa076b2af6 Update modBanque.class.php
added the id of bordereau for link with the cheque
2015-04-14 10:19:41 +02:00
BENKE Charlie
db02cab550 Update modBanque.class.php
added fk_bordereau on bank export 1 to link the 2 export
2015-04-14 01:23:42 +02:00
Laurent Destailleur
39e4f52497 Fix: all amount must be without tax 2015-04-13 19:11:23 +02:00
Laurent Destailleur
97cdc55839 NEW Module notification should details of emails into confirm box, not
only number.
2015-04-13 17:04:18 +02:00
Laurent Destailleur
d7ef1e7da0 The supplier code was not visible on supplier pdf. 2015-04-13 14:25:27 +02:00
Laurent Destailleur
5dc1102601 Fix object not defined 2015-04-13 13:34:13 +02:00
Laurent Destailleur
dbaaa44c76 Fix: link must not be visible if module disabled 2015-04-13 13:22:12 +02:00
Laurent Destailleur
c228302039 minor fix 2015-04-13 13:14:13 +02:00
Laurent Destailleur
ae103e34b8 Merge remote-tracking branch 'origin/3.7' into develop
Conflicts:
	build/debian/changelog
	htdocs/compta/facture.php
	htdocs/core/lib/price.lib.php
	htdocs/install/mysql/migration/3.6.0-3.7.0.sql
	htdocs/opensurvey/public/studs.php
	htdocs/projet/element.php
2015-04-13 13:08:46 +02:00
Laurent Destailleur
0e7f4db0bb Move translation key 2015-04-13 09:59:38 +02:00
Laurent Destailleur
0e81dc7c6c Add missing langs 2015-04-13 09:24:39 +02:00
Laurent Destailleur
e036e7baf4 Restore correct filling of page 2015-04-12 19:37:49 +02:00
Laurent Destailleur
c01677af2d Merge pull request #2588 from defrance69/patch-56
Update pdf_paiement.class.php
2015-04-12 19:24:22 +02:00
Laurent Destailleur
93bb9549c9 Merge pull request #2586 from frederic34/patch-7
Update loan card
2015-04-12 19:21:57 +02:00
Laurent Destailleur
193c080744 PHPCS 2015-04-12 19:20:48 +02:00
Laurent Destailleur
744b0b0e45 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-04-12 17:08:33 +02:00
Laurent Destailleur
8ebad7a395 A serious rewrite of a lot of code to have the module batch number
stable.
2015-04-12 17:08:14 +02:00
Laurent Destailleur
6502d1c269 Fix: filter on stock too low forgot some lines 2015-04-12 15:22:34 +02:00
Laurent Destailleur
d5afff4388 Fix warnings when submitting a vote for a survey 2015-04-12 11:42:49 +02:00
Laurent Destailleur
56a14da5d4 FIXME that are not bug are replaced with TODO
Add control on batch movement (lot/serial is mandatory, and control
eatby and sellby are same for each lot/serial)
2015-04-12 04:01:28 +02:00
BENKE Charlie
59bff8afac Update pdf_paiement.class.php
Minors bug fix (first page with bad numbering)
improvement compute of number of page
better fillment of page with line (save the tree is good for karma)
2015-04-11 12:22:42 +02:00
Frédéric FRANCE
cc40f58aa1 Update loan card 2015-04-10 18:26:28 +02:00
Laurent Destailleur
d76c1a9f42 Can filter on serial number into movement list 2015-04-10 12:59:33 +02:00
Laurent Destailleur
787083028b Fix: entered data are not lsot when error 2015-04-10 12:10:05 +02:00
Laurent Destailleur
530650b857 Make module productbatch stable 2015-04-10 11:59:41 +02:00
Laurent Destailleur
15531a7ebc Better title for some boxes 2015-04-10 11:50:57 +02:00
Laurent Destailleur
d944c3bf17 Code cleaner when we are using multicompany 2015-04-10 11:40:24 +02:00
Laurent Destailleur
c25872b182 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-04-10 10:21:10 +02:00
Laurent Destailleur
fb868bc8f9 We must use the dol_fiche_head and dol_fiche_end also for "create"
forms.
2015-04-10 10:20:51 +02:00
Laurent Destailleur
2b071a6091 NEW: For a contract line, price is no more mandatory. 2015-04-10 10:17:20 +02:00
Laurent Destailleur
503a4ff7a0 Enhance filtering for bank transaction and timesheet. 2015-04-09 20:40:49 +02:00
Laurent Destailleur
3ee2790737 Always sho project info when opening task card 2015-04-09 16:26:21 +02:00
Laurent Destailleur
e01e0faeef Can reopen to edit supplier order once ordered 2015-04-09 16:15:52 +02:00
Laurent Destailleur
ed6f2e9386 Fix error management 2015-04-09 15:14:50 +02:00
Laurent Destailleur
f6c2472d92 fix var not declared 2015-04-08 21:50:17 +02:00
Laurent Destailleur
275724e7d6 Merge remote-tracking branch 'origin/3.7' into develop 2015-04-08 21:36:30 +02:00
Laurent Destailleur
c4daca2bac Fix #1682 2015-04-08 21:34:04 +02:00
Laurent Destailleur
7dd1b8beda Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-04-08 20:56:07 +02:00
Laurent Destailleur
e3bbbaf2e1 Comments 2015-04-08 20:52:18 +02:00
Laurent Destailleur
1dcbf4c39b Merge pull request #2569 from GPCsolutions/contributing
[Contributing] Added a link to the forum
2015-04-08 20:45:37 +02:00
Laurent Destailleur
ca7a7a9038 Merge remote-tracking branch 'origin/3.7' into develop
Conflicts:
	htdocs/compta/facture.php
	htdocs/product/stock/product.php
2015-04-08 20:43:51 +02:00
Laurent Destailleur
aaef3a41c0 Short label into table 2015-04-08 19:33:06 +02:00
Laurent Destailleur
1bbecc0912 Restore link to stock for products. 2015-04-08 19:26:36 +02:00
Raphaël Doursenaud
742b50b532 [Contributing] Added a link to the forum 2015-04-08 17:58:40 +02:00
Laurent Destailleur
0987aa1c74 Bad trans key 2015-04-08 17:42:28 +02:00
Laurent Destailleur
fc803e7000 Fix permission lost when enabled/disabled module. 2015-04-08 17:33:38 +02:00
Laurent Destailleur
b3355df3bf Fix delivery delay could not be set to unknown 2015-04-08 13:00:03 +02:00
Laurent Destailleur
1efa5bcabd Fix: Avoid duplicate tooltip 2015-04-08 12:44:11 +02:00
Laurent Destailleur
dd48942f1d Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-04-08 12:23:11 +02:00
Laurent Destailleur
17fa1ce5b6 Fix #2552 2015-04-08 12:22:52 +02:00
Laurent Destailleur
edd104a6bc Merge pull request #2563 from frederic34/patch-7
Accounts "from" & "to" need to have same currency
2015-04-08 11:51:41 +02:00
Laurent Destailleur
15ba6716f5 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-04-08 11:50:59 +02:00
Laurent Destailleur
94087f539f Fix style 2015-04-08 11:50:40 +02:00
Laurent Destailleur
6587748188 Merge pull request #2564 from frederic34/patch-8
Display total with currency code
2015-04-08 11:41:30 +02:00
Frédéric FRANCE
7f62892609 Display total with currency code 2015-04-08 09:19:41 +02:00
Frédéric FRANCE
856238c876 Accounts "from" & "to" need to have same currency 2015-04-08 09:09:11 +02:00
Laurent Destailleur
369d6915b8 Fix: PHPCS 2015-04-08 00:14:44 +02:00
Laurent Destailleur
bc69703888 Fix phpcs 2015-04-08 00:07:46 +02:00
Laurent Destailleur
f9c8b2e1cf Merge pull request #2560 from Dolibarr/scrutinizer-patch-2
Scrutinizer Auto-Fixes
2015-04-07 23:56:40 +02:00
Juanjo Menent
1f4a131691 Fix: Bad permission assignments for stock movements actions
Conflicts:
	htdocs/product/stock/product.php
2015-04-07 20:43:27 +02:00
Juanjo Menent
c2bc2c9ea6 Solves #2542 Bug: Contracts store localtax preferences
Conflicts:
	htdocs/compta/facture.php
2015-04-07 20:10:27 +02:00
Juanjo Menent
a0de33912e Closes #2545 Bug: Missing object_margin.png in Amarok theme
Conflicts:
	ChangeLog
2015-04-07 18:57:45 +02:00
Laurent Destailleur
49e678b9c0 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-04-07 18:14:44 +02:00
Laurent Destailleur
547b7d5f91 Fix #2539 2015-04-07 18:14:20 +02:00
Laurent Destailleur
0f4717195d Merge pull request #2562 from frederic34/patch-7
Add badge
2015-04-07 18:04:09 +02:00
Frédéric FRANCE
0dc7bc0ddb Add badge 2015-04-07 12:54:10 +02:00
Laurent Destailleur
6fa0234409 Uniformize code 2015-04-07 03:00:11 +02:00
Laurent Destailleur
ad50810c7a Fix deprecated code 2015-04-07 02:48:19 +02:00
Laurent Destailleur
c931576e0e Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-04-07 02:45:43 +02:00
Scrutinizer Auto-Fixer
918ed34364 Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2015-04-07 00:45:30 +00:00
Laurent Destailleur
1d6a8a46f1 To clean an int we must use (int) and not trim() 2015-04-07 02:44:30 +02:00
Laurent Destailleur
c25af905a3 Merge pull request #2557 from frederic34/adherent
Add public note to members
2015-04-06 21:23:40 +02:00
Laurent Destailleur
8bcf4b0ec9 Merge pull request #2558 from frederic34/patch-5
Travis fix CMailFile.class.php
2015-04-06 21:23:08 +02:00
Frédéric FRANCE
85d8d06ca4 Travis fix CMailFile.class.php 2015-04-06 20:02:29 +02:00
Laurent Destailleur
493392d89f Remove warnings 2015-04-06 19:46:10 +02:00
Laurent Destailleur
c148f82452 Fix warning 2015-04-06 19:31:25 +02:00
Laurent Destailleur
2550c6b0af Must exclude draft and abandon into default filter. 2015-04-06 19:22:58 +02:00
Laurent Destailleur
877e60c76f Set default filter 2015-04-06 19:20:11 +02:00
Laurent Destailleur
02e8879d3b NEW Feature to build a merged pdf with all unpaid invoice can work for
paid invoices.
2015-04-06 19:11:31 +02:00
frederic34
19b55cb4c1 Add public note to members 2015-04-06 18:58:36 +02:00
Laurent Destailleur
3d161deb17 Fix more robust function 2015-04-06 16:50:26 +02:00
Laurent Destailleur
b49705d5d0 Status and amount of object should always be visible. 2015-04-06 16:13:23 +02:00
Laurent Destailleur
683f27f6b1 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-04-06 14:11:52 +02:00
Laurent Destailleur
fa162cb327 Missing field 2015-04-06 14:11:28 +02:00
Laurent Destailleur
8c6584f658 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-04-06 13:11:55 +02:00
Laurent Destailleur
aca025c9eb Update doc 2015-04-06 13:11:33 +02:00
Laurent Destailleur
0155d75f27 Merge pull request #2554 from aspangaro/develop-adherent
Module member: move field note to note_private & typo
2015-04-06 12:58:52 +02:00
Laurent Destailleur
e2508287bd Merge pull request #2537 from marcosgdf/cq
Created Propal, FactureFourniseur, and Commande constants for status
2015-04-06 12:37:52 +02:00
Laurent Destailleur
323cc53553 Merge pull request #2556 from Dolibarr/scrutinizer-patch-1
Scrutinizer Auto-Fixes
2015-04-06 12:26:01 +02:00
Scrutinizer Auto-Fixer
4da737424e Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2015-04-06 10:25:30 +00:00
Laurent Destailleur
828dc2c9f4 Fix code standard 2015-04-06 12:22:52 +02:00
Laurent Destailleur
a5c74a7d95 Clean code 2015-04-06 11:59:58 +02:00
Laurent Destailleur
2627662f5c fix value ust be a string 2015-04-06 11:36:31 +02:00
Laurent Destailleur
8fb14b122a Fix phpcs 2015-04-06 11:28:06 +02:00
Laurent Destailleur
f40bb3e6aa fix phpcs 2015-04-06 11:05:16 +02:00
aspangaro
03b1db138e Debug 2015-04-06 08:20:23 +02:00
aspangaro
ca82c2f36d Merge remote-tracking branch 'Upstream/develop' into develop-adherent 2015-04-06 07:53:04 +02:00
Laurent Destailleur
5fa21f37f0 Fix trim label 2015-04-05 17:13:24 +02:00
Laurent Destailleur
4d6b7b4bae Clean code 2015-04-04 04:17:07 +02:00
Laurent Destailleur
678e55f9da We must add a viewport meta to have font visible on mobile 2015-04-04 04:11:54 +02:00
Laurent Destailleur
747c780f67 Enhance phpunit tests 2015-04-04 02:44:42 +02:00
Laurent Destailleur
9f5ba746a1 Update phpunit tests 2015-04-04 00:51:00 +02:00
Laurent Destailleur
2ec5595277 NEW Can install an external module from admin pages, if web server has
permission for and if setup is ok for.
2015-04-04 00:19:03 +02:00
Laurent Destailleur
106a393054 NEW Add function dolCopyDir to copy directory with recursive content. 2015-04-03 23:42:56 +02:00
Laurent Destailleur
afecab3f39 Better error management for dol_uncompress 2015-04-03 18:42:07 +02:00
Laurent Destailleur
e6c9e07de4 NEW Backup and restore tool is easier to use 2015-04-03 17:17:02 +02:00
Marcos García de La Fuente
7075ac74c4 Merge branch 'develop' into units
Conflicts:
	htdocs/comm/propal.php
	htdocs/comm/propal/class/propal.class.php
	htdocs/commande/card.php
	htdocs/commande/class/commande.class.php
	htdocs/compta/facture.php
	htdocs/compta/facture/class/facture.class.php
	htdocs/contrat/card.php
	htdocs/contrat/class/contrat.class.php
	htdocs/core/class/commonobjectline.class.php
	htdocs/core/tpl/objectline_create.tpl.php
	htdocs/install/mysql/migration/3.7.0-3.8.0.sql
	htdocs/product/class/product.class.php
2015-04-03 15:45:54 +02:00
Laurent Destailleur
f38bf5a7d2 Fix extrafields were not saved when creating a supplier order
Fix removed hooks where we must use trigger
2015-04-03 11:00:52 +02:00
aspangaro
d897139f25 Module member: move field note in note_private 2015-04-03 06:54:08 +02:00
Marcos García de La Fuente
6fe803cd86 Created Propal, FactureFourniseur, and Commande constants for status 2015-04-03 05:18:47 +02:00
Laurent Destailleur
69eaa032bf Merge remote-tracking branch 'origin/3.7' into develop 2015-04-03 01:10:55 +02:00
Laurent Destailleur
2f2f141fd8 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-04-03 00:28:44 +02:00
Laurent Destailleur
d71a3c52b4 Comments 2015-04-03 00:28:35 +02:00
Laurent Destailleur
9921eb8496 Fix error when upgating price 2015-04-02 19:41:19 +02:00
Laurent Destailleur
3c02b37c21 Merge pull request #2531 from frederic34/patch-5
Update box_actions.php
2015-04-02 19:03:03 +02:00
Laurent Destailleur
9b99ef9351 Merge pull request #2533 from frederic34/patch-7
Travis Fix don.class.php
2015-04-02 19:02:34 +02:00
Frédéric FRANCE
8d7fb7b0f6 Travis Fix don.class.php 2015-04-02 18:48:47 +02:00
Laurent Destailleur
e480177d9c Fix error of triggers not reported to user 2015-04-02 18:44:02 +02:00
Frédéric FRANCE
5a17a51212 Update box_actions.php 2015-04-02 18:11:30 +02:00
Laurent Destailleur
4241244345 Fix: class not defined 2015-04-02 17:35:07 +02:00
Laurent Destailleur
f3ad345930 Add loan lang file 2015-04-02 16:59:20 +02:00
Laurent Destailleur
c90a86e4a4 Fix filters for exports 2015-04-02 16:58:36 +02:00
Laurent Destailleur
805c73b849 Merge remote-tracking branch 'origin/3.7' into develop
Conflicts:
	htdocs/langs/en_GB/main.lang
	htdocs/langs/es_CO/salaries.lang
2015-04-02 14:04:04 +02:00
Laurent Destailleur
cf0f458a51 Merge remote-tracking branch 'origin/3.7' into develop
Conflicts:
	htdocs/fourn/class/fournisseur.commande.class.php
	htdocs/fourn/commande/dispatch.php
	htdocs/langs/el_GR/projects.lang
	htdocs/langs/en_GB/bills.lang
	htdocs/langs/en_GB/main.lang
	htdocs/langs/en_GB/orders.lang
	htdocs/langs/es_AR/bills.lang
	htdocs/langs/es_CO/admin.lang
	htdocs/langs/es_CO/main.lang
	htdocs/langs/es_ES/bills.lang
	htdocs/langs/es_ES/projects.lang
	htdocs/langs/fa_IR/categories.lang
	htdocs/langs/fr_FR/admin.lang
	htdocs/langs/fr_FR/bills.lang
	htdocs/langs/fr_FR/other.lang
	htdocs/langs/fr_FR/projects.lang
	htdocs/langs/lv_LV/bills.lang
	htdocs/langs/nb_NO/bills.lang
	htdocs/langs/pl_PL/bills.lang
	htdocs/langs/pl_PL/mails.lang
	htdocs/langs/pl_PL/projects.lang
	htdocs/langs/ro_RO/bills.lang
	htdocs/langs/ro_RO/products.lang
	htdocs/langs/ro_RO/projects.lang
	htdocs/langs/ru_RU/bills.lang
	htdocs/langs/ru_RU/projects.lang
	htdocs/langs/sl_SI/main.lang
	htdocs/langs/tr_TR/bills.lang
	htdocs/langs/tr_TR/projects.lang
	htdocs/langs/vi_VN/bills.lang
2015-04-02 13:57:20 +02:00
Laurent Destailleur
8390b9bd16 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-04-02 12:55:58 +02:00
Laurent Destailleur
50d77d7e6f Correct source lang 2015-04-02 12:55:44 +02:00
Laurent Destailleur
c62687d198 Comment 2015-04-02 12:55:00 +02:00
Laurent Destailleur
fcb70bc193 Merge pull request #2528 from frederic34/patch-16
Update card.php
2015-04-02 11:46:59 +02:00
Laurent Destailleur
c5d81193a2 Merge pull request #2515 from frederic34/patch-11
Correction warning delay workboard propal
2015-04-02 11:45:57 +02:00
Laurent Destailleur
52523effc8 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-04-02 11:42:29 +02:00
Laurent Destailleur
e827b1b9cd Merge pull request #2529 from aspangaro/develop-don
NEW better integration in project for donation module
2015-04-02 11:42:15 +02:00
Laurent Destailleur
d8bec2fb59 Merge pull request #2507 from frederic34/doc4contact
Add document tab for contact
2015-04-02 11:41:35 +02:00
Laurent Destailleur
c9f690904c Merge pull request #2514 from frederic34/patch-10
Correction for workboard in compta/bank/index.php
2015-04-02 11:40:55 +02:00
Laurent Destailleur
7932923251 Merge pull request #2523 from frederic34/initdata
Remove logo in initdata for admin user
2015-04-02 11:39:55 +02:00
Laurent Destailleur
051f3474c4 Merge pull request #2512 from frederic34/patch-9
Add badge
2015-04-02 11:25:06 +02:00
Laurent Destailleur
c5b6fc45eb Merge pull request #2527 from frederic34/patch-15
Delete phpinfo.php
2015-04-02 11:24:52 +02:00
Laurent Destailleur
bff4b0e52e Merge pull request #2506 from frederic34/patch-8
Add ORDER_CANCEL in interface_90_all_Demo.class.php
2015-04-02 11:22:38 +02:00
Laurent Destailleur
d20873454c Follow a more standard syntax 2015-04-02 11:17:57 +02:00
Laurent Destailleur
17b0d98211 Merge pull request #2516 from aspangaro/develop-search
New: Add a button to purge criteria in bank lines list
2015-04-02 11:15:12 +02:00
Laurent Destailleur
fd1b644490 Make things easier to remind. Same rule for commit and PR. 2015-04-02 11:14:32 +02:00
Laurent Destailleur
c476858880 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-04-02 11:01:41 +02:00
Laurent Destailleur
29fc2652e1 FIX #2519 2015-04-02 11:00:37 +02:00
Laurent Destailleur
10de082a60 Merge pull request #2530 from aspangaro/develop-project1
New: In project - Elements - Show detail of amounts with a minus when the amount decrease margin
2015-04-02 10:44:07 +02:00
aspangaro
115777f05d New: Module project - Elements - Show detail of amounts with a minus when the amount decrease margin 2015-04-02 06:54:04 +02:00
aspangaro
d8f56eb406 New: better integration in project for donation module
Fixed: Rename fk_project in fk_projet (Sic!) for better compatibility
2015-04-02 06:36:32 +02:00
Juanjo Menent
4588b2bb4c Merge pull request #2517 from frederic34/patch-12
Closes #2509  Bug: Ref is not shown in the bubble that appears when the mouse is over an agenda link
2015-04-02 00:56:42 +02:00
Juanjo Menent
b42903440c Merge pull request #2521 from aspangaro/develop-don
Closes #2520
2015-04-02 00:51:29 +02:00
Frédéric FRANCE
dc89e36583 Update card.php 2015-04-01 21:12:08 +02:00
Laurent Destailleur
d8db32a99c NEW: Introduce option SUPPLIER_ORDER_DOUBLE_APPROVAL to allow 2
approvals to make a supplier order approved. Activating this option
introduce a new permission to the second level approval.
2015-04-01 21:00:51 +02:00
Frédéric FRANCE
824d8ddb57 Delete phpinfo.php 2015-04-01 18:57:54 +02:00
Laurent Destailleur
8e9c1c4747 Merge remote-tracking branch 'origin/3.7' into develop
Conflicts:
	htdocs/commande/card.php
	htdocs/commande/class/commande.class.php
	htdocs/commande/list.php
	htdocs/core/class/notify.class.php
	htdocs/core/login/functions_dolibarr.php
	htdocs/exports/export.php
	htdocs/langs/en_US/admin.lang
2015-04-01 16:33:39 +02:00
frederic34
3c2499f9a2 Remove logo in initdata for admin user 2015-04-01 10:10:39 +02:00
aspangaro
4918326958 Fixed: Wrong path to don.class in element project 2015-04-01 08:13:10 +02:00
Frédéric FRANCE
08e7cb2e84 Correction for tooltip 2015-03-31 21:57:48 +02:00
Frédéric FRANCE
f0ed848609 Update actioncomm.class.php 2015-03-31 21:38:38 +02:00
Frédéric FRANCE
9ee6fdd163 Tooltip of actioncomm show empty ref 2015-03-31 21:07:17 +02:00
aspangaro
309b059089 New: Add a button to purge criteria in bank lines list 2015-03-31 21:00:22 +02:00
Frédéric FRANCE
46af2caba1 Correction warning delay workboard propal 2015-03-31 18:51:24 +02:00
Frédéric FRANCE
fc5d7e57a2 Correction for workboard in compta/bank/index.php 2015-03-31 18:31:36 +02:00
Laurent Destailleur
39d0c15c15 Comment 2015-03-31 17:23:07 +02:00
Laurent Destailleur
29e049d4f9 Comment 2015-03-31 17:22:14 +02:00
Laurent Destailleur
c71efc8f2e Avoid pb with scrutinizer 2015-03-31 16:59:40 +02:00
Frédéric FRANCE
2a34ec9db1 Add badge 2015-03-31 16:26:32 +02:00
Laurent Destailleur
2bdca3d76b Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-03-31 11:33:10 +02:00
Laurent Destailleur
2d50cc92b9 Differentiate title for customer and supplier orders/invoices. 2015-03-31 11:32:47 +02:00
frederic34
fe6227e93f Typo 2015-03-31 08:45:36 +02:00
frederic34
bab04258e0 Add document tab for contact 2015-03-30 18:15:29 +02:00
Frédéric FRANCE
e602c43e12 Add ORDER_CANCEL in interface_90_all_Demo.class.php 2015-03-30 12:14:35 +02:00
Laurent Destailleur
9d752c6fca Sync from transifex 2015-03-30 10:55:08 +02:00
Laurent Destailleur
86603b01dd Merge pull request #2504 from marcosgdf/constants
Implemented constants for some object types and statuses
2015-03-30 09:25:18 +02:00
Marcos García de La Fuente
8b8171c700 Merge branch 'develop' into commercial-name
Conflicts:
	htdocs/comm/card.php
2015-03-30 03:25:57 +02:00
Marcos García de La Fuente
1b7ffd80f1 Typo 2015-03-30 03:19:20 +02:00
Marcos García de La Fuente
831177ef99 Implemented constants for Product class 2015-03-30 03:14:07 +02:00
Laurent Destailleur
f174b662c3 git push origin developMerge branch 'frederic34-loan' into develop 2015-03-30 02:56:59 +02:00
Laurent Destailleur
b83e9ea32f Merge branch 'loan' of https://github.com/frederic34/dolibarr into
frederic34-loan

Conflicts:
	htdocs/compta/bank/ligne.php
2015-03-30 02:56:26 +02:00
Marcos García de La Fuente
cc1d298f29 Merge branch 'develop' into constants
Conflicts:
	htdocs/commande/card.php
	htdocs/compta/facture/class/facture.class.php
2015-03-30 02:36:46 +02:00
Laurent Destailleur
63ec6febec Merge pull request #2502 from frederic34/patch-7
Travis Fix don.class.php
2015-03-30 02:00:26 +02:00
Laurent Destailleur
a3b5f35903 Merge pull request #2501 from frederic34/patch-5
Travis Fix for donation.lib.php
2015-03-30 02:00:14 +02:00
Laurent Destailleur
b66d8c9afc Merge pull request #2496 from aspangaro/develop-ER-patch1
Fixed: HRM menu is not activated when only Expense Report module is acti...
2015-03-30 01:59:50 +02:00
Laurent Destailleur
f53c36cea2 Merge pull request #2503 from aspangaro/develop-ReviewAssoc
New: Add management for accounting account in admin donation & debug
2015-03-30 01:59:29 +02:00
aspangaro
c22a563422 New: Add management for accounting account in admin donation & correct bugs 2015-03-29 21:04:20 +02:00
Frédéric FRANCE
6c26063fc8 Travis Fix don.clss.php 2015-03-29 18:29:09 +02:00
Frédéric FRANCE
bcd7516e25 Fix for donation.lib.php 2015-03-29 18:22:45 +02:00
frederic34
b6b1617741 Work on payment loan 2015-03-29 17:53:36 +02:00
Laurent Destailleur
73b2e0bd01 Merge pull request #2471 from marcosgdf/refactor
refactor
2015-03-29 16:17:36 +02:00
aspangaro
a715ccfcb8 Fixed: HRM menu is not activated when only Expense Report module is activated 2015-03-29 15:11:41 +02:00
Laurent Destailleur
661961876a Merge pull request #2485 from aspangaro/develop-patch2
Fix: Missing language key
2015-03-29 15:05:37 +02:00
Laurent Destailleur
af51415f8e Merge pull request #2486 from frederic34/patch-2
PhotoInTooltip for getNomUrl company
2015-03-29 15:05:25 +02:00
Laurent Destailleur
32bda97712 Merge pull request #2494 from aspangaro/develop-ReviewAssoc
New: Review module donation
2015-03-29 15:04:22 +02:00
Laurent Destailleur
b4c096de09 Merge pull request #2495 from frederic34/loan
Debug payment loan
2015-03-29 15:03:08 +02:00
aspangaro
96b7cac93f Delete useless line 2015-03-29 14:30:43 +02:00
aspangaro
ed493b651b Icons & fr_FR options not show 2015-03-29 14:29:53 +02:00
frederic34
7b9ba4bd26 debug payment 2015-03-29 13:37:17 +02:00
frederic34
bf3e78a63d Debug payment loan 2015-03-29 11:39:55 +02:00
aspangaro
a92f68a5ed Merge remote-tracking branch 'Upstream/develop' into develop-ReviewAssoc 2015-03-29 09:25:06 +02:00
aspangaro
c733249c75 Don Remove old file 2015-03-29 09:23:39 +02:00
aspangaro
ce6df7c022 Debug 2015-03-29 09:20:32 +02:00
Laurent Destailleur
4887a28f91 Merge pull request #2492 from IonAgorria/mc-fix
Fix: Check if $mc is a valid global
2015-03-28 18:20:28 +01:00
Laurent Destailleur
cc5bdf85af Merge pull request #2493 from GPCsolutions/github-issues
Contribution guidelines update
2015-03-28 18:19:34 +01:00
Laurent Destailleur
0c1a51ddae Merge pull request #2489 from frederic34/loan
Note private and Note public for loan
2015-03-28 18:09:21 +01:00
frederic34
be1595a187 Add tab for notes 2015-03-28 17:42:33 +01:00
frederic34
af92174ae2 Small correction but unable to make loan payment 2015-03-28 17:15:07 +01:00
Raphaël Doursenaud
ad8214884d Added documentation to contribution guidelines 2015-03-28 16:10:29 +01:00
Raphaël Doursenaud
91632ea431 Added GitHub for issue tracking to contribution guidelines 2015-03-28 16:01:33 +01:00
frederic34
7282a6faf2 Trans in Loan Calculator 2015-03-28 10:59:10 +01:00
frederic34
680317f250 Trans in Loan Calculator 2015-03-28 10:02:33 +01:00
Ion Agorria
1791631976 check if $mc is a valid global 2015-03-28 03:44:16 +01:00
frederic34
a0c7cedaf1 Tooltip for loan 2015-03-27 18:09:00 +01:00
frederic34
631c3d72e3 Correction for notes 2015-03-27 17:23:27 +01:00
frederic34
82b8fe6b7d Note private and Note public for loan 2015-03-27 17:13:52 +01:00
Frédéric FRANCE
375e0b7e2a PhotoInTooltip for getNomUrl company 2015-03-27 08:32:51 +01:00
aspangaro
9d25a1c7ed Fix: Missing language key 2015-03-27 06:59:21 +01:00
aspangaro
77b123cb2d Merge remote-tracking branch 'Upstream/develop' into develop-ReviewAssoc 2015-03-27 06:30:35 +01:00
Laurent Destailleur
f6df1d6380 Update to match new issue tracker 2015-03-27 02:26:12 +01:00
Laurent Destailleur
cb16e069df Better explanation 2015-03-27 01:17:21 +01:00
Laurent Destailleur
39f46227c8 Merge pull request #2479 from marcosgdf/minor
Merge branch 'develop' into minor
2015-03-27 01:08:23 +01:00
Laurent Destailleur
60c24f7162 Merge pull request #2478 from frederic34/listexpe
Add last shipments to company card
2015-03-27 01:04:05 +01:00
Laurent Destailleur
dea6b534fb Merge pull request #2484 from aspangaro/develop-patch1
FIXED: Correct path of loan class
2015-03-27 00:44:12 +01:00
aspangaro
f0823a215b Add language key 2015-03-26 21:16:52 +01:00
aspangaro
4209deafd2 Merge remote-tracking branch 'Upstream/develop' into develop-ReviewAssoc 2015-03-26 21:04:20 +01:00
aspangaro
6a0916b3fa Correct path 2015-03-26 21:03:56 +01:00
aspangaro
a39f81b1a6 FIXED: Correct path of loan class 2015-03-26 20:51:27 +01:00
aspangaro
059bb40345 Debug 2015-03-26 20:43:34 +01:00
Laurent Destailleur
ce8bd7a515 Fix pb during export of agenda events 2015-03-26 11:20:39 +01:00
Marcos García de La Fuente
b83ef4c1ec Merge branch 'develop' into minor 2015-03-26 10:58:35 +01:00
Marcos García de La Fuente
50a3563f03 Minor correction to the product list of a supplier 2015-03-26 10:57:13 +01:00
aspangaro
b60f1e33d6 Debug 2015-03-26 06:29:16 +01:00
aspangaro
8d4ceadd7e Dir "Don" 2015-03-25 22:38:44 +01:00
aspangaro
2b2b43afb6 Dir "Don" 2015-03-25 22:37:14 +01:00
aspangaro
f778f47049 Add dirs 2015-03-25 21:46:08 +01:00
aspangaro
679391d337 Merge remote-tracking branch 'Upstream/develop' into develop-ReviewAssoc 2015-03-25 20:59:48 +01:00
Laurent Destailleur
f7b8a2b036 Restore align=right 2015-03-25 18:13:53 +01:00
Laurent Destailleur
ab739e162c Merge remote-tracking branch 'origin/3.7' into develop 2015-03-25 18:11:29 +01:00
frederic34
19540b14b5 Add last shipments to company card 2015-03-25 16:38:18 +01:00
Laurent Destailleur
21b1f7cc26 Fix bad calculation of email for notifications 2015-03-25 14:51:12 +01:00
Laurent Destailleur
cc2d86bd58 Status of project was not visible on thirdparty card 2015-03-25 14:31:04 +01:00
Laurent Destailleur
f0fb6f1b2c Work on md theme 2015-03-24 22:24:15 +01:00
Laurent Destailleur
a32fc9efce Hide logo when option MAIN_OPTIMIZEFORTEXTBROWSER is set.
Avoid logo to overwrap box with css.
Add help text.
2015-03-24 14:08:56 +01:00
aspangaro
9d34b40897 Merge remote-tracking branch 'Upstream/develop' into develop-ReviewAssoc
Conflicts:
	htdocs/compta/bank/account.php
2015-03-24 05:28:57 +01:00
Laurent Destailleur
b884b28991 Include module loan 2015-03-23 23:39:14 +01:00
Laurent Destailleur
6c4369b7ba Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-03-23 23:29:14 +01:00
Laurent Destailleur
efe9c21b81 Merge pull request #2382 from aspangaro/develop-loan
NEW: Module loans
2015-03-23 23:28:57 +01:00
Laurent Destailleur
4802ae029c Merge pull request #2472 from FHenry/develop
fix skeletton
2015-03-23 23:27:50 +01:00
Laurent Destailleur
dd3a6edf4e Merge pull request #2473 from marcosgdf/invoicesmenu
NEW: Implemented statuses submenu for List menu of supplier and customer invoices.
2015-03-23 23:27:29 +01:00
Laurent Destailleur
1202d63f98 Indent 2015-03-23 23:25:07 +01:00
Laurent Destailleur
6f22243104 Add option SUPPLIER_ORDER_NO_DIRECT_APPROVE 2015-03-23 15:25:21 +01:00
Laurent Destailleur
1a59b7b447 Add option SUPPLIER_ORDER_NO_DIRECT_APPROVE 2015-03-23 15:23:44 +01:00
Laurent Destailleur
3844d4e6f7 Merge remote-tracking branch 'origin/3.7' into develop
Conflicts:
	ChangeLog
	htdocs/core/boxes/box_activity.php
	htdocs/fourn/commande/card.php
	htdocs/user/card.php
2015-03-23 15:16:37 +01:00
Laurent Destailleur
72ce60ff36 Enhance themes 2015-03-23 14:53:21 +01:00
Laurent Destailleur
b9c3c074b1 Fix: a line was inserted when making update
Fix: missing message into notification admin page
2015-03-23 14:43:19 +01:00
Marcos García de La Fuente
c6ad35e001 Implemented statuses submenu for List menu of supplier and customer invoices.
Menu "Pending payment" has been moved to the "List" submenu.
2015-03-23 13:42:50 +01:00
Laurent Destailleur
cbadfa5075 NEW: Title of page project contains project ref and label 2015-03-23 12:44:41 +01:00
Florian HENRY
5617fb14b2 fix skeletton 2015-03-23 09:52:05 +01:00
aspangaro
be0ab4c9b4 Merge remote-tracking branch 'Upstream/develop' into develop-ReviewAssoc
Conflicts:
	htdocs/install/mysql/migration/3.7.0-3.8.0.sql
2015-03-23 06:58:25 +01:00
aspangaro
f6d8d2eb23 Correct stats 2015-03-23 06:56:12 +01:00
Laurent Destailleur
994606dbc9 More space for tables (=> to follow css bootsrap rules) 2015-03-23 05:09:55 +01:00
Marcos García de La Fuente
3d50b41b8e Reverted $rowid instead of $id property 2015-03-23 01:40:33 +01:00
Marcos García de La Fuente
4349f27299 Revert "Revert "Refactor 1"" 2015-03-23 01:39:12 +01:00
Laurent Destailleur
f650a773c3 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-03-22 22:30:11 +01:00
Laurent Destailleur
5c36bb94f2 Work on theme material design 2015-03-22 22:29:52 +01:00
Laurent Destailleur
3ed0cf6a75 css fix 2015-03-22 22:25:26 +01:00
Laurent Destailleur
87faf530e0 Merge pull request #2468 from defrance69/patch-55
Update extrafields.class.php
2015-03-22 21:28:53 +01:00
Laurent Destailleur
abcebd7875 Merge pull request #2462 from defrance69/patch-54
Update extrafields.class.php
2015-03-22 21:27:38 +01:00
Laurent Destailleur
2632b8e25b Update test page to prepare datatables architecture. 2015-03-22 21:26:13 +01:00
Laurent Destailleur
1a1959b52c Fix: Solve conflict with imgup and imgdown class use for sort fields and
to drag and drop lines.
2015-03-22 21:18:25 +01:00
aspangaro
c4d852ffd7 Correct from frederic34 2015-03-22 20:57:41 +01:00
BENKE Charles
730593b525 Update extrafields.class.php
if no elementtype send at the function, they return an empty array
2015-03-22 20:26:20 +01:00
aspangaro
ad0f1aae6b Move loan in htdocs 2015-03-22 20:19:22 +01:00
Laurent Destailleur
221d44a4b8 br at wrong place 2015-03-22 18:54:12 +01:00
Laurent Destailleur
d678b554e0 Fix css 2015-03-22 18:39:05 +01:00
Laurent Destailleur
49824a0e56 Method colorStringToArray can accept the #
Method monthArray can return short label of month
2015-03-22 18:17:25 +01:00
Laurent Destailleur
809690fad7 Saved logo in black int menu eldy.
Start new dev theme based on material design.
2015-03-22 18:09:22 +01:00
aspangaro
414d4c6432 Merge remote-tracking branch 'Upstream/develop' into develop-loan 2015-03-22 18:08:12 +01:00
Laurent Destailleur
b44f87f548 Clean css 2015-03-22 15:38:50 +01:00
aspangaro
feef043513 Correct 2015-03-22 15:27:05 +01:00
Laurent Destailleur
f35e9a64cd Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-03-22 15:26:13 +01:00
Laurent Destailleur
17dc76838e Fix bad url 2015-03-22 15:25:57 +01:00
Laurent Destailleur
ed468f8f3f Merge pull request #2466 from marcosgdf/implemented-supplier-prod-list
NEW: List of recent modified supplier product prices in Supplier card
2015-03-22 14:30:20 +01:00
Laurent Destailleur
aa5ffa0bf2 phpcs 2015-03-22 14:23:49 +01:00
Laurent Destailleur
2f34a5351c Merge pull request #2464 from FHenry/develop
NEW : update skeleton and class builder
2015-03-22 14:15:50 +01:00
Laurent Destailleur
e2675f204d Merge pull request #2449 from defrance69/patch-51
Update export.class.php
2015-03-22 14:07:05 +01:00
Laurent Destailleur
7e11a31f34 Merge pull request #2467 from Dolibarr/revert-2456-refactor-1
Revert "Refactor 1"
2015-03-22 13:16:06 +01:00
Laurent Destailleur
2d90256640 Revert "Refactor 1" 2015-03-22 12:51:29 +01:00
Laurent Destailleur
a79a779b04 Merge pull request #2456 from marcosgdf/refactor-1
Refactor 1
2015-03-22 12:47:05 +01:00
Laurent Destailleur
eb7f2f464e Merge branch 'IonAgorria-price-global-variables' into develop 2015-03-22 12:45:21 +01:00
Laurent Destailleur
55140afde4 Merge branch 'price-global-variables' of
https://github.com/IonAgorria/dolibarr into
IonAgorria-price-global-variables

Conflicts:
	htdocs/install/mysql/migration/3.7.0-3.8.0.sql
	htdocs/product/dynamic_price/editor.php
2015-03-22 12:45:04 +01:00
Laurent Destailleur
a55af4387b Merge remote-tracking branch 'origin/3.7' into develop
Conflicts:
	.travis.yml
	htdocs/core/class/notify.class.php
	htdocs/product/stock/class/mouvementstock.class.php
	test/phpunit/AllTests.php
	test/phpunit/MouvementStockTest.php
2015-03-22 12:10:39 +01:00
aspangaro
dafc955848 Correct path 2015-03-22 08:25:45 +01:00
aspangaro
9264482e25 Update works 2015-03-22 08:20:19 +01:00
aspangaro
b4b3c45dbc Update works 2015-03-21 18:00:16 +01:00
Laurent Destailleur
c9b569ad1a Fix calculation of PMP of product.
Also add phpunit test to avoid this in future.
2015-03-21 15:31:11 +01:00
aspangaro
462e27e069 Merge remote-tracking branch 'Upstream/develop' into develop-ReviewAssoc 2015-03-21 07:13:35 +01:00
aspangaro
4e6c40c781 Update works 2015-03-21 07:12:32 +01:00
aspangaro
15e50ed24f Update works 2015-03-21 06:21:34 +01:00
Laurent Destailleur
2d3c3e63e7 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-03-20 15:19:52 +01:00
Laurent Destailleur
92af226fff Fix Not into official 3.7 but must be into migration for 3.7 when
migration is done by 3.8 code
2015-03-20 15:19:42 +01:00
Marcos García de La Fuente
70f6c3fdbb NEW: List of recent modified supplier product prices in Supplier card 2015-03-20 12:59:37 +01:00
Laurent Destailleur
5e84ce69ca Fix code to avoid callback usage (this fails on some php) 2015-03-20 12:07:34 +01:00
aspangaro
0e01dbd44e Update work 2015-03-20 06:36:48 +01:00
aspangaro
c4a580723d Merge remote-tracking branch 'Upstream/develop' into develop-ReviewAssoc
Conflicts:
	htdocs/install/mysql/migration/3.7.0-3.8.0.sql
2015-03-20 06:36:06 +01:00
Laurent Destailleur
3a9c195f10 Fix hook management match spec 2015-03-20 00:34:55 +01:00
Laurent Destailleur
f44d91e153 NEW: The notification module accept keyword __SUPERVISOR__ to send
notification to supervisor of user.
2015-03-19 11:47:30 +01:00
aspangaro
c9d31dab3a Move module Dons in htdocs->donations 2015-03-19 05:41:13 +01:00
aspangaro
fa41132372 Move module Don in htdocs->donations 2015-03-19 05:22:42 +01:00
aspangaro
7b6cb59f4b Move module Don in htdocs->donations 2015-03-19 05:17:10 +01:00
aspangaro
4e68586389 Move module Dons in htdocs>donations 2015-03-19 05:08:23 +01:00
aspangaro
dbeccf7653 Update work 2015-03-18 21:56:00 +01:00
Laurent Destailleur
6ceda02eaa NEW: Enhancement of module 'Notification by Email'. Show nb of
notifications set. Can set several emails. Can set a threshold on
amount for notifications. Add notification on supplier order validation.
2015-03-18 21:44:57 +01:00
Florian HENRY
058042d09d NEW : update skeleton and class builder 2015-03-18 17:52:17 +01:00
Laurent Destailleur
b0b88be81f Sync transifex 2015-03-18 15:27:27 +01:00
Laurent Destailleur
ba526c5a2f Merge remote-tracking branch 'origin/3.7' into develop 2015-03-18 14:32:58 +01:00
Laurent Destailleur
cd2fc2f890 Hooks 'printLeftBlock' and 'formConfirm' are now compliant with hook
development rules. They are "addreplace" hooks, so you must return
content with"->resprints='mycontent'" and not with "return 'mycontent'"
2015-03-18 14:31:37 +01:00
Laurent Destailleur
2c61717e10 Fix sql syntax error 2015-03-18 14:19:17 +01:00
Laurent Destailleur
bbef07ef3d Finished prototype to use hook to add a column by a module. 2015-03-18 14:08:37 +01:00
BENKE Charles
d5afa1b29f Update extrafields.class.php
Link object : include only if something to display
2015-03-18 13:23:14 +01:00
Laurent Destailleur
dd82ad69fe printLeftBlock is now compliant with hook development rules. It is an
"addreplace" hook so you must return content by doing
->resprints='mycontent' and not by doing return 'mycontent'
2015-03-18 12:30:49 +01:00
Laurent Destailleur
426835781a Fix hook usage 2015-03-18 12:03:47 +01:00
Laurent Destailleur
840b047468 Work on new timesheet input pages. 2015-03-18 11:20:08 +01:00
Laurent Destailleur
5d4d8151c1 Work on new timesheet input pages. 2015-03-18 11:04:50 +01:00
aspangaro
e6d9d18f25 Update work on donation 2015-03-18 06:29:10 +01:00
aspangaro
4e83952485 Add payment on donation 2015-03-18 05:07:32 +01:00
Laurent Destailleur
c700d8a8ec Fix remove warning 2015-03-17 11:59:44 +01:00
Laurent Destailleur
166fda4909 Normalize class names 2015-03-17 11:26:23 +01:00
Laurent Destailleur
6e251690ab Doxygen 2015-03-17 11:23:45 +01:00
Laurent Destailleur
84bea6166e Doxygen 2015-03-17 10:55:45 +01:00
Laurent Destailleur
4fffeb3a89 Clean code 2015-03-17 10:52:27 +01:00
Laurent Destailleur
689d270552 Doxygen 2015-03-17 10:47:20 +01:00
Laurent Destailleur
bfd979224f Var not declared 2015-03-17 10:38:25 +01:00
Laurent Destailleur
a73ff524e5 Merge pull request #2459 from Dolibarr/scrutinizer-patch-4
Scrutinizer Auto-Fixes
2015-03-17 00:38:40 +01:00
Laurent Destailleur
435be30047 Clean code 2015-03-17 00:35:17 +01:00
Laurent Destailleur
6f7b07548c Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-03-17 00:23:49 +01:00
Laurent Destailleur
c65f1aea82 Merge pull request #2458 from mrsof/patch-2
FIX : Force ref
2015-03-17 00:23:39 +01:00
Scrutinizer Auto-Fixer
b693ed3f51 Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2015-03-16 23:21:17 +00:00
Laurent Destailleur
141fa56d67 Fixed bad parameter 2015-03-17 00:11:04 +01:00
Laurent Destailleur
6d7b340cee Merge remote-tracking branch 'origin/3.7' into develop
Conflicts:
	htdocs/commande/class/commande.class.php
	htdocs/core/class/dolgraph.class.php
	htdocs/langs/en_AU/main.lang
	htdocs/langs/fr_FR/admin.lang
	htdocs/langs/fr_FR/main.lang
	htdocs/langs/fr_FR/other.lang
2015-03-16 18:30:30 +01:00
Sof
88d9f7f0f1 FIX : Force ref
Even if you set ref in object class Commande, ref will be set to '(PROVid)' until you call 'valid' function
2015-03-16 12:23:25 +01:00
aspangaro
03bf12bdc0 Merge remote-tracking branch 'Upstream/develop' into develop-ReviewAssoc 2015-03-16 06:32:11 +01:00
aspangaro
1cd81f0e81 Work on module donations 2015-03-16 06:29:15 +01:00
Laurent Destailleur
daf853d040 Merge pull request #2455 from aspangaro/develop-ReviewER
QUAL: Traduce terms + remove <center>
2015-03-16 02:11:29 +01:00
Laurent Destailleur
1f6d27ceb7 Merge pull request #2454 from defrance69/patch-53
Update pdf_paiement.class.php
2015-03-16 01:57:28 +01:00
AcceTT Soluciones Computacionales
60d334f646 Update functionsnumtoword.lib.php
Now the function convert since -1000000000000 to 1000000000000.
Correct some bugs.
Change $lang-> default to $langs
2015-03-15 17:47:51 -06:00
Marcos García de La Fuente
6ba3b900b7 PHPCS Fix 2015-03-15 23:42:11 +01:00
Laurent Destailleur
79ca1fe147 Clean code. 2015-03-15 23:32:43 +01:00
Laurent Destailleur
73581931cb Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-03-15 23:22:58 +01:00
Marcos García de La Fuente
b822a1e3ad Merge branch 'develop' into commercial-name
Conflicts:
	htdocs/societe/class/societe.class.php
2015-03-15 18:20:17 +01:00
Marcos García de La Fuente
086e439543 Merge branch 'develop' into refactor-1
Conflicts:
	htdocs/core/tpl/objectline_view.tpl.php
2015-03-15 18:16:55 +01:00
Marcos García de La Fuente
efb9f7f4fd Merge branch 'develop' into refactor-1
Conflicts:
	htdocs/fourn/class/fournisseur.commande.class.php
	htdocs/includes/tcpdi/fpdf_tpl.php
2015-03-15 18:07:30 +01:00
Marcos García de La Fuente
bcdf3407c7 Fixed line endings 2015-03-15 18:01:21 +01:00
Marcos García de La Fuente
2e68b51a10 Merge remote-tracking branch 'upstream/develop' into develop 2015-03-15 17:52:07 +01:00
aspangaro
d69f066735 QUAL: Traduce terms + remove <center> 2015-03-15 14:04:07 +01:00
Marcos García de La Fuente
094538c07b Implemented constants in Commande, Facture and Propal 2015-03-15 11:48:57 +01:00
BENKE Charles
8f0e514f83 Update pdf_paiement.class.php
Add bank account on detail line (usefull when you have many bank account)
Add society name in the header (usefull when you nanage many society)
2015-03-15 10:49:16 +01:00
Ion Agorria
e76b6e740f SQL additions 2015-03-14 16:52:01 +01:00
Ion Agorria
2d09d8196f Language additions 2015-03-14 16:51:50 +01:00
Ion Agorria
2c80b39937 Configuration page of dinamic prices and price global variables editor 2015-03-14 16:51:38 +01:00
Ion Agorria
9871aaed19 Price global variables and updaters classes 2015-03-14 16:50:46 +01:00
Ion Agorria
5f9b1fa029 Changes for applying new paths 2015-03-14 16:50:02 +01:00
Ion Agorria
fc5899174b Relocation of expression files 2015-03-14 16:48:56 +01:00
Laurent Destailleur
c197e00090 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-03-14 14:57:58 +01:00
Laurent Destailleur
10bbf463e7 Several bug fixes from scrutinizer 2015-03-14 14:55:41 +01:00
Laurent Destailleur
cfdf12950b Merge pull request #2452 from Dolibarr/scrutinizer-patch-3
Scrutinizer Auto-Fixes
2015-03-14 14:34:06 +01:00
Scrutinizer Auto-Fixer
cbacfa3137 Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2015-03-14 13:30:19 +00:00
Laurent Destailleur
c06ff8acd9 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-03-14 14:30:09 +01:00
Laurent Destailleur
44d6bdb1c5 Doc 2015-03-14 14:27:45 +01:00
Laurent Destailleur
ecbee5d4dc Merge pull request #2450 from defrance69/patch-52
New type of extrafields : link to connect dolibarr elements
2015-03-14 14:18:19 +01:00
Laurent Destailleur
c45ec24958 Merge pull request #2379 from atm-maxime/develop
New : replenish function adds new lines into already existing draft supplier order instead of creating a new supplier order
2015-03-14 14:08:38 +01:00
Laurent Destailleur
306eff62ad NEW: Show last official stable version into system - update page. 2015-03-14 13:23:36 +01:00
Laurent Destailleur
e935745727 Merge pull request #2285 from ndrosis/patch-14
New: Check live last version from sourceforge.net
2015-03-14 13:09:05 +01:00
Laurent Destailleur
2a09e34bdf Uniformize etrafields visibility for thirdparties card 2015-03-14 13:05:28 +01:00
BENKE Charles
9e62013bca Update admin_extrafields_edit.tpl.php
add new type of extrafields : link
2015-03-14 12:44:26 +01:00
BENKE Charles
4783db82ac Update admin_extrafields_add.tpl.php
new type of extrafield : link
2015-03-14 12:42:52 +01:00
BENKE Charles
0aa2360691 Update extrafields.class.php
add new extrafields type 'link'
2015-03-14 12:31:22 +01:00
BENKE Charles
df9f822a70 Update commonobject.class.php
new extafields type
2015-03-14 12:25:17 +01:00
BENKE Charles
41a05bc4ba Update actions_extrafields.inc.php
add new type of extrafields "link" : linked to dolibarr element
2015-03-14 12:04:00 +01:00
Juanjo Menent
a2adeb2807 Fix: [ bug #1836 ] Required parameter missing in Rejetprelevement line
159
2015-03-14 10:17:41 +01:00
Juanjo Menent
a63b1cf4c3 Fix: Showing system error if not enough stock of product into orders
creation with lines

Conflicts:
	htdocs/commande/class/commande.class.php
2015-03-14 09:57:28 +01:00
Juanjo Menent
971f9b0c30 Fix: Migration script 2015-03-13 22:08:24 +01:00
Laurent Destailleur
50b09fa8a9 Doxygen 2015-03-13 21:39:39 +01:00
Laurent Destailleur
ba2c0a2651 Clean code of hooks.
Extrafield index on fk_object must be unique.
2015-03-13 20:27:54 +01:00
Laurent Destailleur
f090893807 Hide a feature that is really not stable. So i move it as a "develop"
feature.
2015-03-13 18:02:54 +01:00
Laurent Destailleur
687e3d250b Merge remote-tracking branch 'origin/3.7' into develop
Conflicts:
	dev/fixdosfiles.sh
	htdocs/core/tpl/objectline_edit.tpl.php
2015-03-13 17:46:31 +01:00
Laurent Destailleur
279e16a811 grey disabled 2015-03-13 14:24:32 +01:00
Laurent Destailleur
622d8ad9b0 Remove duplicate entry 2015-03-13 13:51:35 +01:00
Laurent Destailleur
9b4f65587f Fix option MAIN_HTML_TITLE 2015-03-13 13:27:24 +01:00
Laurent Destailleur
59cbde042c Generalize option MAIN_HTML_TITLE for all tabs of thirdparty. 2015-03-12 17:29:52 +01:00
Maxime Kohlhaas
60022ab80d NEW : autofocus on product selection dropdown list or search field 2015-03-12 17:25:57 +01:00
Maxime Kohlhaas
ba0f19d116 Merge branch 'develop' of github.com:Dolibarr/dolibarr into develop 2015-03-12 17:12:34 +01:00
Laurent Destailleur
e8e2f65ae5 Debug virtual product interface 2015-03-11 14:55:45 +01:00
Laurent Destailleur
958667ada0 Fix phpcs 2015-03-11 12:33:34 +01:00
BENKE Charles
e7ed8ce95b Update purchasesjournal.php 2015-03-11 10:23:33 +01:00
BENKE Charles
9fc83ca011 Update sellsjournal.php 2015-03-11 10:23:13 +01:00
BENKE Charles
f88646d954 Update export.class.php 2015-03-11 10:22:37 +01:00
Maxime Kohlhaas
3578ca8baa Merge branch 'develop' of github.com:Dolibarr/dolibarr into develop 2015-03-11 08:52:09 +01:00
aspangaro
3897e65425 Merge remote-tracking branch 'Upstream/develop' into develop-loan 2015-03-11 05:28:59 +01:00
Laurent Destailleur
e2e95b5f8c phpcs 2015-03-11 03:58:57 +01:00
Laurent Destailleur
a5645b626c Merge remote-tracking branch 'origin/3.7' into develop
Conflicts:
	htdocs/core/tpl/objectline_view.tpl.php
	htdocs/projet/element.php
2015-03-11 03:55:46 +01:00
Laurent Destailleur
ec322e2e29 Revert was not complete 2015-03-11 03:03:17 +01:00
Laurent Destailleur
4b8fa00edb Merge pull request #2422 from guedel/sqlite3-dev
Sqlite3 dev
2015-03-11 02:54:15 +01:00
Laurent Destailleur
52e9ae5fe4 Merge pull request #2442 from delcroip/patch-2
FIX: jdate returning -62169955200 on x64 machine
2015-03-11 02:35:36 +01:00
Laurent Destailleur
e8732df747 Merge pull request #2441 from aspangaro/develop-ReviewER
FIXED: Review Expense Report
2015-03-11 02:14:13 +01:00
Laurent Destailleur
5748ea8f35 Merge pull request #2447 from TomasVotruba/patch-1
travis: PHP 7.0 nightly added
2015-03-11 02:12:58 +01:00
Laurent Destailleur
c271257452 Prepare extrafield for option by default into lists 2015-03-10 22:27:16 +01:00
BENKE Charles
f91127c92a Update purchasesjournal.php 2015-03-10 21:48:47 +01:00
BENKE Charles
bf86693dcb Update sellsjournal.php 2015-03-10 21:47:39 +01:00
Laurent Destailleur
548e720ca2 Uniformize code 2015-03-10 19:31:04 +01:00
Laurent Destailleur
b4a8f19696 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop

Conflicts:
	htdocs/core/class/extrafields.class.php
2015-03-10 18:37:13 +01:00
Laurent Destailleur
364b185442 Fix sql syntax 2015-03-10 18:33:14 +01:00
BENKE Charles
ea0964d1eb Update export.class.php
add specific choice of prefix for export (usefull with many dolibarr exporting data)
2015-03-10 17:17:02 +01:00
Maxime Kohlhaas
fa628bba6f Fix SQL error when installing 2015-03-10 15:34:48 +01:00
Maxime Kohlhaas
6113a5b0f5 FIX : [bug #1883] missing field in SQL installation 2015-03-10 15:27:36 +01:00
Maxime Kohlhaas
6f9fb6a282 Merge branch 'develop' of github.com:Dolibarr/dolibarr into develop 2015-03-10 15:18:08 +01:00
Maxime Kohlhaas
f90df57dc5 New : disallow social contribution modification if paid 2015-03-10 14:49:36 +01:00
Maxime Kohlhaas
db4bbf46fc New : allow to edit social contribution amount 2015-03-10 14:43:13 +01:00
Laurent Destailleur
0b74ddf5c3 Doxygen 2015-03-10 14:23:40 +01:00
Laurent Destailleur
209f8946d0 All files must be lowercase 2015-03-10 14:17:58 +01:00
Laurent Destailleur
b564b754fc Doxygen 2015-03-10 14:09:29 +01:00
Laurent Destailleur
9a3e5d7fc5 Fix code unreachable 2015-03-10 13:58:26 +01:00
Laurent Destailleur
12be50d4ba Doxygen 2015-03-10 13:50:05 +01:00
Laurent Destailleur
51b67704ee Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop

Conflicts:
	htdocs/install/mysql/migration/3.7.0-3.8.0.sql
2015-03-10 13:46:44 +01:00
Laurent Destailleur
194260fc5b NEW: Add search box for supplier order search. 2015-03-10 13:25:25 +01:00
Laurent Destailleur
35dfaf4dd1 Natural search on numeric works also with several space after operator 2015-03-10 10:14:24 +01:00
Laurent Destailleur
2ea3eb3505 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-03-10 10:12:08 +01:00
Laurent Destailleur
dc30092290 Add column to store salary ref when doing payment. 2015-03-10 10:11:51 +01:00
Tomáš Votruba
a065b8a9b4 travis: PHP 7.0 nightly added 2015-03-10 09:57:40 +01:00
Laurent Destailleur
90abe5cdf9 NEW: Add current salary on list of payment 2015-03-10 09:29:24 +01:00
Laurent Destailleur
94acbeaa22 Prepare perms on extrafields 2015-03-09 21:40:24 +01:00
Laurent Destailleur
84695845bb Some fixes into translation and permissions 2015-03-09 21:20:56 +01:00
Laurent Destailleur
88a29b7c9c Add an advance permission to check/uncheck reception 2015-03-09 20:26:56 +01:00
Laurent Destailleur
bd81dec1a3 Fix missing translation 2015-03-09 19:28:38 +01:00
Laurent Destailleur
bd6f13e6ed Can export extra fields of lines. 2015-03-09 19:13:19 +01:00
delcroix Patrick
e6984bae9d FIX: jdate returning -62169955200 on x64 machine
on x64 machine jdate return -62169955200 instead of 0 when the input is 00-00-00 00:00:00 or equivalent
same issue for mktime https://bugs.php.net/bug.php?id=53662
2015-03-08 12:37:07 +01:00
aspangaro
69dc3cdd61 Correct fk_statut & work en list 2015-03-08 08:21:49 +01:00
aspangaro
f3258d59c6 Uniformize status & add price() 2015-03-08 07:21:07 +01:00
aspangaro
80ad1be820 Merge remote-tracking branch 'Upstream/develop' into develop-patch21 2015-03-08 06:40:31 +01:00
Laurent Destailleur
3894a48ffd Fix: bad CSS 2015-03-08 02:37:25 +01:00
Laurent Destailleur
7c08f33fe1 Missing style buttonRefused 2015-03-08 02:26:41 +01:00
Laurent Destailleur
3e48456359 Fix when no price defined, we must how nothing instead of 0 2015-03-08 02:13:47 +01:00
Laurent Destailleur
56b5bfd25b NEW: Implement option SUPPLIER_ORDER_USE_DISPATCH_STATUS to add a status
into each dispathing line of supplier order to "verify" a
reception is ok. Status of order can be set to "total/done" only if line
is verified.
2015-03-08 02:08:26 +01:00
Laurent Destailleur
dd13e477b1 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-03-07 19:07:21 +01:00
Laurent Destailleur
6db3f1b30e Add mdule askpricesupplier into MAIN__MODULES_FOR_EXTERNAL 2015-03-07 19:06:56 +01:00
aspangaro
26b1f69025 Add traduction on type label 2015-03-07 15:47:08 +01:00
aspangaro
55db57d10c Path 2015-03-07 15:41:30 +01:00
aspangaro
2c738df197 Add GPLV3 & Copyright 2015-03-07 15:34:58 +01:00
aspangaro
1baf71874c Sql & $_SERVER["PHP_SELF"] 2015-03-07 15:31:23 +01:00
aspangaro
f780e908f4 Add index.html 2015-03-07 15:14:51 +01:00
aspangaro
402e0c8ad5 Add condition to access on dictionary c_type_fees when the module is enabled 2015-03-07 15:06:45 +01:00
aspangaro
df305bd316 Deactivate conflict with Mod Deplacement - Need to access on old data 2015-03-07 15:01:30 +01:00
Laurent Destailleur
fc0be43f5f Fix: beautify search box 2015-03-06 22:40:41 +01:00
Laurent Destailleur
c80007c680 Fix: we must use stockreal of stockvirtual when we are speaking about
stock ('stock' alone is not accurate enough)
2015-03-06 21:57:58 +01:00
Laurent Destailleur
9e4e9a5411 NEW: Can search on customer order amount into customer order list. 2015-03-06 20:59:18 +01:00
Laurent Destailleur
dd3f569ede NEW: Enhance the natural_search function so we can use it to search
numeric fields with criteria with operator <>= inside (< 100, >= 1000)
2015-03-06 20:34:00 +01:00
Laurent Destailleur
a1567778ab Merge remote-tracking branch 'origin/3.7' into develop
Conflicts:
	htdocs/core/tpl/objectline_create.tpl.php
	htdocs/fourn/commande/card.php
2015-03-06 18:51:55 +01:00
Laurent Destailleur
39192163c6 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-03-06 16:22:23 +01:00
Laurent Destailleur
e55a983c03 Fix td balance 2015-03-06 16:13:09 +01:00
Laurent Destailleur
d4e37431e9 Merge pull request #2434 from Dolibarr/scrutinizer-patch-2
Scrutinizer Auto-Fixes
2015-03-06 03:18:13 +01:00
Laurent Destailleur
3eeb49860e Merge pull request #2433 from Dolibarr/scrutinizer-patch-1
Scrutinizer Auto-Fixes
2015-03-06 03:18:00 +01:00
Scrutinizer Auto-Fixer
27e99793a3 Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2015-03-06 02:10:01 +00:00
Scrutinizer Auto-Fixer
a0762a5113 Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2015-03-06 01:31:49 +00:00
Laurent Destailleur
2aefe61506 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-03-06 02:15:18 +01:00
Laurent Destailleur
c7c7c393ee sql syntax errors 2015-03-06 02:14:59 +01:00
Laurent Destailleur
e67c328cef Merge pull request #2429 from defrance69/patch-50
Update modFacture.class.php
2015-03-06 02:05:00 +01:00
Laurent Destailleur
049174b76f Fix bugs reported by https://scrutinizer-ci.com/g/Dolibarr/dolibarr/ 2015-03-06 01:53:02 +01:00
Laurent Destailleur
1660c1c05b Fix bug introduced with var_dump 2015-03-06 01:30:46 +01:00
Laurent Destailleur
560b4541cd Update packager. 2015-03-05 22:08:16 +01:00
Laurent Destailleur
97f36825df Work on new timesheet page 2015-03-05 21:47:50 +01:00
aspangaro
8c6a50554e Debug of Frederic34. Thanks ! 2015-03-05 20:37:36 +01:00
aspangaro
11704e0807 Merge remote-tracking branch 'Upstream/develop' into develop-loan
Conflicts:
	htdocs/install/mysql/migration/3.7.0-3.8.0.sql
2015-03-05 20:24:53 +01:00
Guillaume de Lestanville
dd2594692e Updating compatibility with Sqlite3
- Replace USING syntax by IN SELECT syntax
- Fix error on database creation
- Removing test on username parameter when installing.
2015-03-05 17:35:37 +01:00
Laurent Destailleur
d7ab3f112c NEW: Show difference between timespent by everybody and time spent by
user making timesheet into timesheet pages.
NEW: Can enter start hours of task when creating timesheet
2015-03-05 13:48:57 +01:00
Laurent Destailleur
8b5dd4910f Fix bad update of denormalized field 2015-03-05 13:02:37 +01:00
Laurent Destailleur
78f971f3e1 Merge remote-tracking branch 'origin/3.7' into develop 2015-03-05 11:46:48 +01:00
Laurent Destailleur
d119397129 Merge remote-tracking branch 'origin/3.7' into develop
Conflicts:
	htdocs/societe/class/societe.class.php
2015-03-05 11:38:16 +01:00
Laurent Destailleur
e431e24889 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-03-05 11:14:01 +01:00
Laurent Destailleur
c36f92396b Add navigation into the new timesheet week page.
Fix bad merge
2015-03-05 11:13:44 +01:00
Laurent Destailleur
39a7271f91 Fix bad merge 2015-03-05 10:57:17 +01:00
guillaume
0ef46b06f4 Sqlite3-PDO restoration
FR:
- Restauration de la version PDO dans sqlite.class.php et désactivation.
- Ajout de la classe de base de données Sqlite3 dans sqlite3.class.php

EN:
- revert of the PDO version of sqlite.class.php and deactivation.
- add database class Sqlite3 into sqlite3.class.php.
2015-03-05 10:52:37 +01:00
BENKE Charles
703a6c1b54 Update modFacture.class.php
add fk_bank on bill export, this fields is needed to link with external accounting
2015-03-05 00:38:54 +01:00
Laurent Destailleur
ec4c1a493f Merge pull request #2424 from FHenry/develop
NEW : Better extrafeild management on proposal and contract line NEW : Add company information into category contact export
2015-03-04 23:14:05 +01:00
Laurent Destailleur
f0f0e7bfbb Merge pull request #2415 from aspangaro/develop-patch16
NEW: Add bank account owner in invoice/proposal/orders footer
2015-03-04 23:07:46 +01:00
Laurent Destailleur
73364c2021 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-03-04 23:05:31 +01:00
Laurent Destailleur
232b2eca9f Merge branch 'atm-ph-incoterm' into develop 2015-03-04 23:04:57 +01:00
Laurent Destailleur
5c36db06f6 Add missing files 2015-03-04 23:04:37 +01:00
Laurent Destailleur
7b7b5090c7 Merge branch 'incoterm' of https://github.com/atm-ph/dolibarr into
atm-ph-incoterm

Conflicts:
	htdocs/comm/propal.php
	htdocs/fourn/commande/card.php
	htdocs/fourn/facture/card.php
	htdocs/install/mysql/migration/3.7.0-3.8.0.sql
2015-03-04 23:03:29 +01:00
Laurent Destailleur
596f977f7c Merge pull request #2423 from defrance69/patch-49
Update index.php
2015-03-04 22:02:16 +01:00
Laurent Destailleur
8e29dcdb79 Some fix after merging bank account number form 2015-03-04 21:59:03 +01:00
Laurent Destailleur
40adbe5a72 Merge pull request #2420 from aspangaro/develop-patch17
NEW: [T1848] Merge bank card & account card
2015-03-04 21:09:28 +01:00
Laurent Destailleur
0ebcf86170 Merge pull request #2421 from aspangaro/develop-patch18
Typo "Copytight"
2015-03-04 20:54:13 +01:00
Laurent Destailleur
09035c1fee Merge branch 'fetchobject' of https://github.com/frederic34/dolibarr
into develop

Conflicts:
	htdocs/includes/tcpdi/fpdf_tpl.php
	htdocs/projet/card.php
2015-03-04 20:52:54 +01:00
Laurent Destailleur
4a9a96316d Merge branch 'frederic34-fetchobject' into develop 2015-03-04 20:47:45 +01:00
Laurent Destailleur
7a9de0feca CRLF 2015-03-04 20:45:33 +01:00
Laurent Destailleur
56e77382f3 Merge 2015-03-04 20:43:54 +01:00
Laurent Destailleur
6bf0b9b107 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-03-04 20:35:28 +01:00
Laurent Destailleur
f570cd6b42 Forgot to commit tables 2015-03-04 20:35:08 +01:00
Laurent Destailleur
20d5624440 Closed #2414 2015-03-04 20:34:41 +01:00
Laurent Destailleur
13d8f26247 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop

Conflicts:
	htdocs/projet/class/project.class.php
2015-03-04 18:58:50 +01:00
Laurent Destailleur
cf3190a4ef Bad error management 2015-03-04 18:56:57 +01:00
Laurent Destailleur
1cf39d4c8f Merge branch 'atm-ph-new_ask_price' into develop 2015-03-04 17:55:17 +01:00
Laurent Destailleur
96de912661 NEW: Add module "Supplier commercial proposals" to requests
quotation/price to suppliers.
Merge branch 'new_ask_price' of https://github.com/atm-ph/dolibarr into
atm-ph-new_ask_price

Conflicts:
	htdocs/core/class/commonobject.class.php
	htdocs/core/class/html.formfile.class.php
	htdocs/core/tpl/document_actions_post_headers.tpl.php
	htdocs/core/tpl/objectline_edit.tpl.php
	htdocs/core/tpl/objectline_view.tpl.php
	htdocs/fourn/class/fournisseur.commande.class.php
	htdocs/fourn/commande/card.php
	htdocs/install/mysql/migration/3.7.0-3.8.0.sql
2015-03-04 17:54:43 +01:00
Laurent Destailleur
d1c44d5498 Update doc 2015-03-04 16:30:38 +01:00
Laurent Destailleur
5335a6affa NEW: Add close date and user for projects. 2015-03-04 16:28:29 +01:00
Marcos García de La Fuente
f94f9d1e57 Removed $permtoedit variable 2015-03-04 11:19:45 +01:00
Marcos García de La Fuente
6ec8a38e4a Removed duplicated code 2015-03-04 10:46:39 +01:00
Marcos García de La Fuente
7a2e60bb65 No need to PHP < 5.3.0 compatibility 2015-03-04 10:45:30 +01:00
Marcos García de La Fuente
a7741350fe Revert unwanted change 2015-03-04 10:41:40 +01:00
Marcos García de La Fuente
54b6b199c7 Documented missing properties and removed redundant documentation
(cherry picked from commit 6124f6a)
2015-03-04 10:37:48 +01:00
Marcos García de La Fuente
e1982c54d9 Moved duplicated code to common class 2015-03-04 10:37:47 +01:00
Marcos García de La Fuente
f82df1e634 Refactorred supplier order to match with objectline templates 2015-03-04 10:37:47 +01:00
Marcos García de La Fuente
174f1cb5f7 Refactored supplier invoice line view to fit commonobjectline view 2015-03-04 10:37:47 +01:00
Marcos García de La Fuente
47a151f157 Created supplier invoice line 2015-03-04 10:37:46 +01:00
Marcos García de La Fuente
b84cf4afac Renamed FactureFournisseurLine to SupplierInvoiceLine 2015-03-04 10:37:46 +01:00
Marcos García de La Fuente
4c08d34bb5 Standardized $rowid as property 2015-03-04 10:37:46 +01:00
Marcos García de La Fuente
b69ce21e3e Removed duplicated code 2015-03-04 10:37:45 +01:00
Marcos García de La Fuente
b0e728251a Every line has a $rowid property 2015-03-04 10:37:45 +01:00
Marcos García de La Fuente
c7919a8d08 Removed duplicated code 2015-03-04 10:37:45 +01:00
Marcos García de La Fuente
ad72425291 Moved some variables from FactureLigne to CommonInvoiceLine 2015-03-04 10:37:43 +01:00
Marcos García de La Fuente
0170d409d3 Merge remote-tracking branch 'upstream/develop' into develop
Conflicts:
	htdocs/core/lib/functions.lib.php
2015-03-04 10:16:25 +01:00
Florian HENRY
14847e2b5d Better column order 2015-03-04 10:08:13 +01:00
Florian HENRY
fdbb0ace8b NEW : Add company information into category contact export 2015-03-04 10:00:37 +01:00
Florian HENRY
28f6197ac5 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-03-04 09:58:09 +01:00
Laurent Destailleur
4c1d51bd39 phpcs 2015-03-04 02:28:16 +01:00
Laurent Destailleur
6f96d4cd5c Minimum style 2015-03-04 02:18:20 +01:00
Laurent Destailleur
2c3a412c3a Fix export extrafield on supplier orders 2015-03-04 02:08:51 +01:00
Laurent Destailleur
52425648bf NEW: When using transfer or correct stock from warehouse, after
recording we go back to the warehouse page.
2015-03-04 01:54:26 +01:00
Laurent Destailleur
60a6d8789f Merge remote-tracking branch 'origin/3.7' into develop 2015-03-04 01:14:27 +01:00
Laurent Destailleur
107a16ed75 Work on timesheet module 2015-03-04 00:53:35 +01:00
Laurent Destailleur
fddbca50b1 Start to introduce MAIN_EMAIL_ADD_TRACK_ID option to test inclusion of
tracking id into email.
2015-03-03 18:33:53 +01:00
Florian HENRY
ae8ca9e96a Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-03-03 17:55:57 +01:00
BENKE Charles
06b7f610ed Update index.php
list of cossumed time more usefull if ordered by desc
2015-03-03 17:18:20 +01:00
guillaume
5a5a2f1bcf Affichage de la liste des tables dans les infos de base de données. 2015-03-03 15:54:55 +01:00
guillaume
1b89b8c808 Ajout de la liste des paramètres en utilisant l'instruction PRAGMA 2015-03-03 15:22:52 +01:00
guillaume
e4edafd42a Ajout de la liste des paramètres en utilisant l'instruction PRAGMA 2015-03-03 15:21:14 +01:00
Laurent Destailleur
e667c3e916 Fix error management 2015-03-03 13:29:16 +01:00
guillaume
8de170bfc2 Ajout de fonctions pour le traitement des dates avec SQLITE. 2015-03-03 13:06:20 +01:00
aspangaro
022d051726 Typo 2015-03-03 06:32:46 +01:00
aspangaro
42e43791ef Add ajax for type on edit mode 2015-03-03 06:20:09 +01:00
aspangaro
fafebf5b2a NEW: [T1758] Merge bank card & account card 2015-03-02 22:44:11 +01:00
aspangaro
c119ce382e Merge remote-tracking branch 'Upstream/develop' into develop-loan
Conflicts:
	htdocs/install/mysql/migration/3.7.0-3.8.0.sql
2015-03-02 21:05:38 +01:00
frederic34
4af26c119f fetch object in include file 2015-03-02 17:54:35 +01:00
Laurent Destailleur
73afe1513d Merge remote-tracking branch 'origin/3.7' into develop
Conflicts:
	htdocs/commande/card.php
	htdocs/core/lib/functions.lib.php
	htdocs/projet/index.php
2015-03-02 03:07:19 +01:00
Laurent Destailleur
1493e66d64 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-03-02 02:39:29 +01:00
Laurent Destailleur
45a90b54fe Fix: param to set id of object into url must be id everywhere (except
company, it might be socid)
2015-03-02 02:14:18 +01:00
Laurent Destailleur
c0d0fa317b Merge pull request #2404 from frederic34/patch-3
Update card.php
2015-03-02 02:05:40 +01:00
Laurent Destailleur
5a541c4206 Forgot to commit one file 2015-03-02 01:39:08 +01:00
Laurent Destailleur
2f24622a7c NEW: Introduce TCPDI as replacement of FPDI. 2015-03-02 01:38:40 +01:00
Marcos García de La Fuente
e6c8cac381 Removed TODO and deprecated tag of dol_htmlentities and revert substitution commit 2015-03-02 01:16:35 +01:00
Marcos García de La Fuente
eb99202dc2 Little changes 2015-03-02 01:10:31 +01:00
Laurent Destailleur
ba98f6f94a Fix: Bad management of error 2015-03-02 01:05:12 +01:00
Laurent Destailleur
495d066cfc Merge pull request #2378 from aspangaro/develop-patch6
Update TCPDF library to 6.2.6
2015-03-02 00:45:50 +01:00
Laurent Destailleur
9b2a90b468 Fix: all home area pages has the search box first. 2015-03-02 00:43:17 +01:00
Laurent Destailleur
2dcbb6ada5 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-03-02 00:41:57 +01:00
Laurent Destailleur
ef89ff6601 Merge pull request #2402 from aspangaro/develop-patch14
NEW: Add a search field and report on hrm area
2015-03-02 00:41:43 +01:00
Laurent Destailleur
0774669331 Update comment 2015-03-02 00:37:47 +01:00
Laurent Destailleur
f81cb81e67 Merge pull request #2405 from frederic34/patch-5
phpcs
2015-03-02 00:31:50 +01:00
Laurent Destailleur
50d8137618 Merge pull request #2384 from marcosgdf/better-practice
Better practice in getBrowserInfo
2015-03-02 00:28:40 +01:00
Laurent Destailleur
7fc0c2b485 Merge pull request #2397 from atm-alexis/new_add_doc_on_project_linked_elements
New add doc on project linked elements
2015-03-02 00:19:21 +01:00
aspangaro
e24a317f0f NEW: Add bank account owner in invoice/proposal/orders footer 2015-03-01 21:31:03 +01:00
Laurent Destailleur
a0f8b39250 Prepare code for a perday week timesheet input of time spent. 2015-03-01 17:45:36 +01:00
Laurent Destailleur
416e0a766e Fix: we must use status to find label of status 2015-03-01 16:24:02 +01:00
Laurent Destailleur
2795d27cc9 Merge remote-tracking branch 'origin/3.7' into develop
Conflicts:
	htdocs/compta/prelevement/class/bonprelevement.class.php
	htdocs/fourn/commande/card.php
	htdocs/langs/en_US/admin.lang
	htdocs/projet/index.php
2015-03-01 16:13:22 +01:00
Laurent Destailleur
560f1a43cd Fix: Several bugs int replenishment feature. 2015-03-01 16:04:34 +01:00
Laurent Destailleur
f6314dd3ad Fix bad position of html tags 2015-03-01 13:48:45 +01:00
Laurent Destailleur
f2fb040a9c Fix align 2015-03-01 13:48:00 +01:00
Marcos García de La Fuente
b4c84fac9d NEW: [ task #977 ] New option to manage product unit
Migrated code from GPCSolutions/dolibarr:3.2-units branch and adapted for 3.8 with some improvements
2015-03-01 12:42:38 +01:00
Laurent Destailleur
b888a04af9 Reduce a lot of duplicate code. Move all tables of extrafields setup
into a tpl file.
2015-02-28 20:14:26 +01:00
Marcos García de La Fuente
8dffe2a910 Corrected FunctionsLibTest:testGetBrowserInfo 2015-02-28 19:33:19 +01:00
Marcos García de La Fuente
c925b09946 CodeSniffer fix 2015-02-28 19:26:41 +01:00
Laurent Destailleur
51fff77355 Fix: time 0 must be different than time unknown. 2015-02-28 19:02:03 +01:00
Laurent Destailleur
804058c25e Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-02-28 18:10:54 +01:00
Laurent Destailleur
4d226885cb Rewrite code for supplier order and invoice to use shared code of
customer supplier and invoice.
Work on extrafield for supplier order and invoice.
2015-02-28 18:10:31 +01:00
Marcos García de La Fuente
60e2524fc2 Merge remote-tracking branch 'upstream/develop' into better-practice
Conflicts:
	htdocs/core/lib/functions.lib.php
	test/phpunit/FunctionsLibTest.php
2015-02-28 14:39:14 +01:00
Marcos García de La Fuente
2ba795fcbc NEW: [ task #851 ] Add a new field: Commercial name 2015-02-28 14:30:06 +01:00
Frédéric FRANCE
eb2cc110fc phpcs 2015-02-28 10:49:14 +01:00
Frédéric FRANCE
84b5888cd5 Update card.php 2015-02-28 10:45:48 +01:00
aspangaro
105dcde7aa Key language 2015-02-28 08:50:47 +01:00
aspangaro
78af862c19 NEW: Add a search field and report on hrm area 2015-02-28 08:46:40 +01:00
Laurent Destailleur
8e26c71fa7 Rewrite code for supplier order and invoice to use shared code of
customer supplier and invoice.
Work on extrafield for supplier order and invoice.
2015-02-28 04:59:27 +01:00
Laurent Destailleur
ef14e4e7ed Merge remote-tracking branch 'origin/3.7' into develop
Conflicts:
	htdocs/compta/facture.php
	htdocs/fourn/class/fournisseur.product.class.php
2015-02-28 03:11:15 +01:00
Juanjo Menent
a67d0f712c Trad: Syncro from transifex 2015-02-27 18:21:41 +01:00
Juanjo Menent
856c8f24de Fix: Bad SEPA xml file creation
Conflicts:
	htdocs/compta/prelevement/class/bonprelevement.class.php
2015-02-27 18:14:45 +01:00
Laurent Destailleur
5d1545ad1f Work on supplier order and customer extrafields
Use templates to show/edit supplier order and invoice lines
2015-02-27 18:05:12 +01:00
guillaume
4ede9295a6 Correction de la gestion d'erreur. 2015-02-27 14:06:53 +01:00
Laurent Destailleur
a87c867c28 Translation 2015-02-26 16:02:03 +01:00
Laurent Destailleur
8f378b4480 Fix no error returned when contact already exists 2015-02-26 15:52:14 +01:00
Laurent Destailleur
22318bb800 Fix missing tables 2015-02-26 14:05:23 +01:00
Laurent Destailleur
daabc113a5 Merge remote-tracking branch 'origin/3.7' into develop
Conflicts:
	README.md
	htdocs/accountancy/journal/bankjournal.php
	htdocs/accountancy/journal/cashjournal.php
2015-02-26 13:36:07 +01:00
Laurent Destailleur
b9d3175897 Fix typo 2015-02-25 23:04:13 +01:00
Marcos García de La Fuente
f117b65a17 Removed silent operator for PHP 4 in function dol_html_entity_decode 2015-02-25 23:01:07 +01:00
Marcos García de La Fuente
f2fededd2c Drop usage of deprecated dol_htmlentities function 2015-02-25 22:48:45 +01:00
Marcos García de La Fuente
e3853a648f Redundant code 2015-02-25 19:44:12 +01:00
Marcos García de La Fuente
ceec3e926e Typo 2015-02-25 16:47:34 +01:00
Marcos García de La Fuente
40a5c15616 Improved getBrowserInfo documentation 2015-02-25 16:45:14 +01:00
Marcos García de La Fuente
f598963d6b Fixed regression 2015-02-25 16:41:51 +01:00
guillaume
9fdb4a0ee3 Modification des attributs 2015-02-25 16:37:00 +01:00
guillaume
9839420a68 Correction de la gestion d'erreur. 2015-02-25 15:44:06 +01:00
guillaume
24b069fcb0 Utilisation de la librairie Sqlite3 et création de fonctions personnalisées pour la compatibilité avec MySQL. Certains formats de date ne sont pas complètement pris en compte. 2015-02-25 14:31:41 +01:00
guillaume
207fa671b1 Mise en place de l'initialisation de la base avec PDO SQlite 2015-02-25 09:04:11 +01:00
aspangaro
4803a1fb89 Merge remote-tracking branch 'Upstream/develop' into develop-loan 2015-02-25 06:59:27 +01:00
Laurent Destailleur
89684748c5 Debug incdec option. 2015-02-24 19:55:59 +01:00
Alexis Algoud
5bc3763945 fix supplier order element 2015-02-24 18:23:40 +01:00
Alexis Algoud
b4f3068141 NEW add PDF icon on linked element into project 2015-02-24 18:20:19 +01:00
Laurent Destailleur
d688db3b78 Merge branch 'atm-alexis-feature_Product_stock_subproduct_stock_independent' into develop 2015-02-24 17:24:11 +01:00
Laurent Destailleur
1c04af2e55 Merge branch 'feature_Product_stock_subproduct_stock_independent' of
https://github.com/atm-alexis/dolibarr into
atm-alexis-feature_Product_stock_subproduct_stock_independent

Conflicts:
	htdocs/langs/en_US/products.lang
2015-02-24 17:23:23 +01:00
Laurent Destailleur
fec9e222b1 Merge pull request #2391 from aspangaro/develop-patch10
FIXED: Module Expense Report - Correct init
2015-02-24 17:11:32 +01:00
Laurent Destailleur
fd9fc191fc Merge pull request #2388 from aspangaro/develop-patch8
Module Expense Report: reactivate conflict with modDeplacement
2015-02-24 17:06:43 +01:00
Laurent Destailleur
f23234356e Merge pull request #2387 from aspangaro/develop-patch7
Move new module Expense Report in hrm
2015-02-24 17:03:12 +01:00
Laurent Destailleur
e8e81dba2b Merge pull request #2392 from aschio/develop
NEW: added fields and relative filters in contracts list page
2015-02-24 17:02:47 +01:00
Laurent Destailleur
84581212db Merge pull request #2395 from aspangaro/develop-patch13
NEW: Add button to purge search criteria into list of expense report
2015-02-24 17:02:08 +01:00
Laurent Destailleur
57ecb543ae Merge pull request #2393 from aspangaro/develop-patch11
FIXED: Correct field note - Add note_private & use wysiwyg editor
2015-02-24 17:01:53 +01:00
Laurent Destailleur
c18fe2a8b9 Merge branch 'mrsof-develop' into develop 2015-02-24 17:01:04 +01:00
Laurent Destailleur
203ff13a62 Merge branch 'develop' of https://github.com/mrsof/dolibarr into
mrsof-develop

Conflicts:
	htdocs/comm/card.php
2015-02-24 17:00:52 +01:00
Laurent Destailleur
714b3d277c Merge pull request #2394 from aspangaro/develop-patch12
FIXED: Update licence to GPLv3
2015-02-24 16:56:01 +01:00
Laurent Destailleur
3e853b4129 Bad comment char 2015-02-24 16:17:52 +01:00
Laurent Destailleur
70c778c728 I keep this feature hidden, because according to package target,
dolibarr does not contains same files. We must first find a solution
before making this feature public.
2015-02-24 15:49:39 +01:00
Laurent Destailleur
562348eb34 Merge remote-tracking branch 'origin/3.7' into develop
Conflicts:
	htdocs/fourn/commande/dispatch.php
2015-02-24 15:42:28 +01:00
Sof
5599deec00 FIX : Edit in place of "Outstanding Limit"
Edit in place not working for field "Outstanding Limit" in view mode for third party :
- Field type 'amount' do not work in "Edit in place" mode.
- Update returns an error "Unknown field 'OutstandingBill' in field list" when in "Edit in place" mode.
2015-02-24 13:44:00 +01:00
Laurent Destailleur
e55d3489aa Little clean of feature several price per customers 2015-02-24 12:58:43 +01:00
Laurent Destailleur
cae82104ca Clean tool to generate checksum file 2015-02-24 12:44:12 +01:00
Laurent Destailleur
4e4df4fa22 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-02-24 11:25:32 +01:00
Laurent Destailleur
eb4eededbd Add class to manage table commande_fournisseur_dispatch 2015-02-24 11:19:47 +01:00
Laurent Destailleur
472181a03b Merge pull request #2374 from frederic34/filecheck
Files Integrity Checker
2015-02-24 10:08:39 +01:00
Laurent Destailleur
bbc82e829b Fix bad sql request 2015-02-23 23:28:55 +01:00
aspangaro
15aac509d2 NEW: Add button to purge search criteria into list 2015-02-23 22:36:26 +01:00
aspangaro
6436179fb6 Correct 2015-02-23 22:18:39 +01:00
aspangaro
c1069eea47 FIXED: Update licence to GPLv3 2015-02-23 22:04:01 +01:00
aspangaro
40fa32509c Add doleditor & typo 2015-02-23 21:51:29 +01:00
aspangaro
9dadd16724 FIXED: Correct problem field with note - Add note_private & use wysiwyg editor 2015-02-23 21:44:33 +01:00
aspangaro
be3fd5529a FIXED: Module Expense Report - Correct init 2015-02-23 20:31:44 +01:00
cla
2ef654045b ADD: new fields and relative filters in contracts list page 2015-02-23 20:26:34 +01:00
Laurent Destailleur
afa8e5c6d8 Merge remote-tracking branch 'origin/3.7' into develop 2015-02-23 19:50:51 +01:00
Laurent Destailleur
94a5f87bd8 comment 2015-02-23 15:13:14 +01:00
Laurent Destailleur
6d3834b3b9 Merge remote-tracking branch 'origin/3.7' into develop
Conflicts:
	htdocs/compta/prelevement/class/bonprelevement.class.php
	htdocs/index.php
	htdocs/projet/class/project.class.php
	test/phpunit/BankAccountTest.php
2015-02-23 14:59:24 +01:00
Alexis Algoud
29e5b89352 erase some comments 2015-02-23 12:26:27 +01:00
Alexis Algoud
0c53121553 - use incdec into virtual product definition.
- improve screen of virtual product
2015-02-23 12:19:19 +01:00
phf
9eed66d998 [CORE] FIX : Travis phptest (#incoterm). 2015-02-23 11:46:39 +01:00
phf
11a0624e39 [CORE] FIX Travis phpcs (#incoterm). 2015-02-23 11:19:00 +01:00
Marcos García de La Fuente
7e07638fba Little refactor 2015-02-23 10:51:43 +01:00
Alexis Algoud
72908c1fd3 Merge branch 'develop' of https://github.com/atm-gauthier/dolibarr into feature_Product_stock_subproduct_stock_independent 2015-02-23 10:51:41 +01:00
Marcos García de La Fuente
abda67adc2 Improved testGetBrowserInfo 2015-02-23 10:45:22 +01:00
phf
52441914de Vas avec le merge précédent 2015-02-23 10:42:34 +01:00
Marcos García de La Fuente
71b98ee82b Safari can appear in iPad, iPod, iPhone and future Apple products, it is not fair to attach it to one of them. 2015-02-23 10:42:10 +01:00
phf
127868899d Merge branch 'develop' into incoterm
Conflicts:
	htdocs/commande/class/commande.class.php
	htdocs/install/mysql/migration/3.7.0-3.8.0.sql
2015-02-23 10:42:01 +01:00
Marcos García de La Fuente
102d2d9d36 Added IE11 test to testGetBrowserInfo 2015-02-23 10:39:02 +01:00
phf
c459794999 [CORE] gestion de l'affichage de l'incoterm sur les différents PDF de base (#incoterm). 2015-02-23 10:36:44 +01:00
phf
81130634d3 [CORE] intégration de incoterm sur les différentes class (#incoterm). 2015-02-23 09:16:14 +01:00
aspangaro
d0cc072a58 Module Expense Report: reactivate conflictwith modDeplacement 2015-02-23 06:49:11 +01:00
aspangaro
95f211775b Move new module Expense Report in hrm 2015-02-23 06:45:03 +01:00
Laurent Destailleur
1bba3a01e2 phpcs 2015-02-22 23:41:34 +01:00
Laurent Destailleur
6e10dd3cce Trad 2015-02-22 17:10:13 +01:00
Laurent Destailleur
4781707fa4 Fix jodconverter can't work without the wrapper jodconverter. 2015-02-22 16:01:01 +01:00
Marcos García de La Fuente
702c19dab3 Refactored function getBrowserInfo 2015-02-22 13:17:57 +01:00
Laurent Destailleur
2bc6ac4671 Finished new module to manage expense reports !
Fix export to support corectly multicompany
2015-02-22 13:16:49 +01:00
Marcos García de La Fuente
ce916f3bcb Better practice in getBrowserInfo 2015-02-22 12:35:51 +01:00
Laurent Destailleur
6d1324b463 Work on expense report module 2015-02-21 16:15:54 +01:00
aspangaro
3aa6c8c855 Correct auguria menu 2015-02-21 15:19:18 +01:00
Laurent Destailleur
30a5111c68 Work on expense report module 2015-02-21 15:18:05 +01:00
aspangaro
63099727d0 Merge remote-tracking branch 'Upstream/develop' into develop-loan 2015-02-21 15:10:35 +01:00
frederic34
ad3e91dc9f WIP 2015-02-21 14:06:33 +01:00
Laurent Destailleur
5dffe4b440 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-02-21 12:58:14 +01:00
Laurent Destailleur
070accd1e0 Work on new module expense report 2015-02-21 12:57:17 +01:00
Laurent Destailleur
d2da098336 Fixed example 2015-02-21 10:00:31 +01:00
Laurent Destailleur
2b045ba74a Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-02-21 09:52:59 +01:00
Laurent Destailleur
2b4f7a41bf Merge pull request #2377 from aspangaro/develop-patch5
NEW: Update PHPExcel library to 1.8.0
2015-02-21 00:22:21 +01:00
Laurent Destailleur
6e66197621 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-02-20 23:49:06 +01:00
Laurent Destailleur
03751d61f2 Merge pull request #2376 from aspangaro/develop-patch4
Update FPDI library to 1.5.2
2015-02-20 23:46:33 +01:00
Laurent Destailleur
7681e238be Merge pull request #2372 from frederic34/patch-2
Update account.class.php
2015-02-20 23:35:15 +01:00
Laurent Destailleur
e13393da9a Merge pull request #2364 from daamien/patch-2
FIX [ bug #1314 ] [Bank] num_releve is not incremented correctly in releve.php
2015-02-20 18:58:10 +01:00
Laurent Destailleur
c80f9a59be Merge pull request #2381 from mrsof/patch-1
FIX: Unknown field 'sc.fk_soc' in field list
2015-02-20 18:40:29 +01:00
Sof
ba80bbb291 FIX; Unknown field 'sc.fk_soc' in field list 2015-02-20 17:33:58 +01:00
Laurent Destailleur
49cb36461c Typo 2015-02-20 15:54:16 +01:00
Laurent Destailleur
dec277f30f Accept h tags 2015-02-20 15:53:19 +01:00
Maxime Kohlhaas
2547d96ffd New : Use supplier default payment terms when creating a replenish order 2015-02-20 09:26:53 +01:00
Maxime Kohlhaas
504cc89078 New : replenish function adds new lines into already existing draft supplier order instead of creating a new supplier order 2015-02-20 09:24:33 +01:00
aspangaro
0f08544557 Update TCPDF library to 6.2.6 2015-02-20 06:05:50 +01:00
aspangaro
50990bc862 Update PHPExcel library to 1.8.0 2015-02-20 05:50:36 +01:00
aspangaro
0205848a0e Update FPDI library to 1.5.2
Contain FPDF_TPL natively
2015-02-20 05:21:18 +01:00
aspangaro
014f255f22 Update FPDF_TPL library to 1.2.3 2015-02-20 05:09:07 +01:00
aspangaro
9be3e79a72 Align the version of AdoDb-Date library 2015-02-20 05:01:44 +01:00
frederic34
2b19f75460 Files Integrity Checker 2015-02-19 21:26:03 +01:00
Florian HENRY
99153915dc Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-02-19 10:09:38 +01:00
Laurent Destailleur
94751ba57b Merge pull request #2361 from aspangaro/3.7-patch3
[T1728] Deactivate RIB suggest in proposals/invoices/orders
2015-02-19 09:41:39 +01:00
Laurent Destailleur
e7a82c89e6 Merge pull request #2351 from mrsof/develop
FIX : Let ability to use IDPROF verifications even if new entry is "priv...
2015-02-19 09:36:45 +01:00
Frédéric FRANCE
b73f1eb827 Update account.class.php 2015-02-19 08:40:38 +01:00
Laurent Destailleur
a6e2e5ffcb Merge pull request #2360 from delcroip/patch-1
export on user
2015-02-19 00:14:04 +01:00
Laurent Destailleur
e3713c8b6d Merge remote-tracking branch 'origin/3.7' into develop
Conflicts:
	htdocs/admin/tools/eaccelerator.php
	htdocs/fourn/class/fournisseur.commande.class.php
	htdocs/fourn/commande/dispatch.php
2015-02-19 00:01:26 +01:00
Laurent Destailleur
25ba9d2c97 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-02-18 23:43:00 +01:00
Laurent Destailleur
bd9c168e3c Doxygen 2015-02-18 23:42:39 +01:00
Laurent Destailleur
316e5c2f19 Merge pull request #2358 from marcosgdf/board-refactor
Refactored dashboard indicator
2015-02-18 23:39:15 +01:00
Laurent Destailleur
2f5c94fb4a Merge pull request #2357 from KreizIT/fix_mssql
Fix mssql
2015-02-18 23:32:48 +01:00
Laurent Destailleur
a05e39f119 Merge pull request #2356 from KreizIT/fix_sqldata
Fix inconsistent data
2015-02-18 23:31:22 +01:00
Laurent Destailleur
29b68e6c05 Merge branch 'defrance69-patch-47' into develop 2015-02-18 23:24:15 +01:00
Laurent Destailleur
9afe52458b Merge branch 'patch-47' of https://github.com/defrance69/dolibarr into defrance69-patch-47 2015-02-18 23:23:44 +01:00
Laurent Destailleur
ad1c2ed06f Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-02-18 22:52:50 +01:00
Laurent Destailleur
c2f5b24a9d Better text 2015-02-18 22:40:13 +01:00
Laurent Destailleur
863094637e Merge pull request #2333 from FHenry/develop_review_productstat
review product stats list and add filter by period
2015-02-18 22:23:33 +01:00
Laurent Destailleur
1c0f22b905 Merge pull request #2368 from frederic34/php-iban
New: Add php-iban lib 1.4.6 to check iban information.
2015-02-18 22:11:31 +01:00
Laurent Destailleur
b6947dbe2c Merge remote-tracking branch 'origin/3.7' into develop
Conflicts:
	htdocs/core/modules/DolibarrModules.class.php
2015-02-18 22:04:26 +01:00
Laurent Destailleur
fe50a585fc Fix: removed deprecated menu 2015-02-18 18:47:01 +01:00
frederic34
cbe49df090 Add copyright 2015-02-18 16:07:59 +01:00
frederic34
4bbbff8d69 Add BIC/SWIFT Validation 2015-02-17 22:04:16 +01:00
Laurent Destailleur
1e1543403b New: Add option SUPPLIER_ORDER_AUTOADD_USER_CONTACT to automatically set
user approving as contact following supplier order.
2015-02-17 19:49:17 +01:00
frederic34
f652cf4e97 Add translation for IBAN Valid or not 2015-02-17 17:02:38 +01:00
frederic34
376eadd22c Merge remote branch 'upstream/develop' into php-iban 2015-02-17 11:43:23 +01:00
frederic34
07197f3ca0 Add libs 2015-02-17 11:41:50 +01:00
frederic34
9d0ffb7e85 Add php-iban and check IBAN 2015-02-17 10:23:31 +01:00
Laurent Destailleur
bc88917b81 phpcs 2015-02-17 10:18:01 +01:00
Laurent Destailleur
a64cd69639 phpcs 2015-02-17 09:56:19 +01:00
Marcos García de La Fuente
fa55c60c35 Renamed WorkBoardResponse to WorkboardResponse 2015-02-16 23:52:49 +01:00
Marcos García de La Fuente
c01281a538 Renamed WorkBoardResponse::$late_url to WorkBoardResponse::$url_late 2015-02-16 23:45:52 +01:00
Laurent Destailleur
23562a01ab Merge remote-tracking branch 'origin/3.7' into develop
Conflicts:
	htdocs/expedition/class/expedition.class.php
	htdocs/install/mysql/migration/3.6.0-3.7.0.sql
	htdocs/langs/en_US/stocks.lang
2015-02-16 20:59:04 +01:00
Laurent Destailleur
aa380f6ee0 fix bad include 2015-02-16 20:43:39 +01:00
Laurent Destailleur
213c818204 Debug serial/lot management 2015-02-16 20:14:16 +01:00
Laurent Destailleur
9a9a1f3983 Fix bad id 2015-02-16 19:14:34 +01:00
Laurent Destailleur
58fc57744a Update example 2015-02-16 17:25:26 +01:00
Gauthier
02d59cce5a NEW : Product stock and subproduct stock are independant 2015-02-16 16:06:50 +01:00
damien clochard
53dc28ddc3 There's only 2 sortable formats 2015-02-16 11:01:08 +01:00
Laurent Destailleur
3ca31e34cb New: Add field "budget" (amount) on projects. 2015-02-16 10:58:05 +01:00
Laurent Destailleur
82b3f4a102 Add field budget_amount on project. 2015-02-16 10:40:09 +01:00
aspangaro
05dc308e91 [T1728] Deactivate RIB suggest in proposals/invoices/orders 2015-02-16 06:47:37 +01:00
Laurent Destailleur
2e0b2fb012 Work on expensereport module 2015-02-15 22:49:23 +01:00
Laurent Destailleur
e5b401c8f2 Merge remote-tracking branch 'origin/3.7' into develop
Conflicts:
	htdocs/langs/es_ES/agenda.lang
	htdocs/langs/fr_FR/admin.lang
	htdocs/langs/fr_FR/bills.lang
	htdocs/langs/fr_FR/errors.lang
	htdocs/langs/fr_FR/projects.lang
	htdocs/langs/fr_FR/stocks.lang
	htdocs/langs/fr_FR/suppliers.lang
2015-02-15 19:51:49 +01:00
Laurent Destailleur
2a266b3a7e Clean code 2015-02-15 19:47:55 +01:00
Laurent Destailleur
b00de9707a Work on expensereport module 2015-02-15 19:13:16 +01:00
delcroix Patrick
8a7d4ea71d export on user
to be able to choose the user for reporting purpose (no column named Name in the user table)
2015-02-15 17:01:47 +01:00
Marcos García de La Fuente
d5fd20e911 Renamed BoardResponse to WorkBoardResponse 2015-02-15 15:10:51 +01:00
Marcos García de La Fuente
bab0163c44 Missing Copyright info 2015-02-15 15:07:24 +01:00
Marcos García de La Fuente
d1f73499e9 Refactored dashboard indicator 2015-02-15 15:01:28 +01:00
Laurent Destailleur
09ef15ea24 phpcs 2015-02-15 13:42:21 +01:00
Laurent Destailleur
bedaa483ad br useless 2015-02-14 20:40:10 +01:00
Laurent Destailleur
3b09dc53cd Fix regression on total visible on invoice since situation invoice. 2015-02-14 20:32:11 +01:00
Laurent Destailleur
4e6d5e1cd1 New: Add filter fields on the subscription list 2015-02-14 19:10:40 +01:00
Laurent Destailleur
448655ea45 First work on a new module for expense report matching dolibarr
standard to replace current one.
2015-02-14 18:39:45 +01:00
KreizIT
7d51ae6789 Fix typo 2015-02-14 16:33:05 +01:00
KreizIT
0c0c442248 Make MS SQL working 2015-02-14 16:27:00 +01:00
KreizIT
674585136e Fix inconsistent data 2015-02-14 16:18:18 +01:00
Laurent Destailleur
bd4b401281 New: Introduce "_deprecated" keyword into module version when module has
been superseed by another one.
2015-02-14 15:10:06 +01:00
Laurent Destailleur
2a9ba93712 Update test of module inits 2015-02-14 12:32:22 +01:00
BENKE Charles
c3bf3c45d7 Update card.php
Display amount and link to unpaid bill
2015-02-13 04:13:32 +01:00
Laurent Destailleur
e4e49e8a0b Merge remote-tracking branch 'origin/3.7' into develop
Conflicts:
	htdocs/product/stock/product.php
2015-02-12 15:41:48 +01:00
Laurent Destailleur
6adfc6f6f4 Work on batch module. Add batch, eatby and sellby into movement table.
Clean language files for direct print module.
2015-02-12 15:23:31 +01:00
Laurent Destailleur
b49c8f84b6 Fix bad translation 2015-02-12 15:22:04 +01:00
Sof
09013c7e1c FIX : Let ability to use IDPROF verifications even if new entry is "private"
We do not check for duplicate or empty id_prof fields while inserting a new entry when verifications options are set to "ON" in the third party configuration panel.
2015-02-12 13:00:22 +01:00
Laurent Destailleur
122a7c199c Prepare a module for mail document generation. 2015-02-12 00:10:15 +01:00
Laurent Destailleur
78ba1fe86e Fix bad null management 2015-02-12 00:01:31 +01:00
Laurent Destailleur
689354f927 New: A default label is suggested for stock correction and transfer
instead of empty string.
2015-02-11 23:54:42 +01:00
Laurent Destailleur
179cbbd187 Maxi debug and enhancement of module batch. 2015-02-11 22:54:06 +01:00
Laurent Destailleur
7869bc0d7f Fix doxygen 2015-02-11 15:05:52 +01:00
Laurent Destailleur
fb3cf4da1e New: The comment of the stock movement when making a supplier order
receiving is also stored into the tracking dispatch table (not only into
stock movement table).
2015-02-11 15:03:33 +01:00
Laurent Destailleur
b9d2de99e1 Translation 2015-02-11 14:46:16 +01:00
Laurent Destailleur
370f6b907e Fix we must use short key 2015-02-11 14:44:40 +01:00
Laurent Destailleur
fd206dbb55 Fix ruleset.xml 2015-02-11 14:28:20 +01:00
Laurent Destailleur
8a6d3aa633 Clean module print system 2015-02-11 14:22:44 +01:00
Laurent Destailleur
d5ec19ef83 Enhance help when running cron script from command line 2015-02-11 13:21:12 +01:00
Laurent Destailleur
2e3400a039 Enhance help when running script from command line 2015-02-11 12:29:39 +01:00
Laurent Destailleur
f124079817 Fix ruleset 2015-02-10 21:49:39 +01:00
Laurent Destailleur
e3885d6d73 Merge remote-tracking branch 'origin/3.7' into develop
Conflicts:
	htdocs/core/lib/tax.lib.php
2015-02-10 21:36:38 +01:00
Laurent Destailleur
621976317a Fixed error management 2015-02-10 21:08:02 +01:00
phf
24a970a109 [CORE] ajout de la gestion incoterm sur les pages commande et à l'objet (#incoterm). 2015-02-10 12:22:07 +01:00
phf
560d836943 [CORE] corrections mineurs sur des tests (#incoterm). 2015-02-10 12:21:29 +01:00
phf
36304234d2 [CORE] ajout de l'incoterm sur les pages propal et à l'objet (#incoterm). 2015-02-10 11:46:35 +01:00
phf
2a1a5e74c6 [CORE] mise à jour de l'objet pour l'info bulle après modification de l'incoterm (#incoterm). 2015-02-10 11:46:09 +01:00
phf
791bd7e9d9 [CORE] retrait la page de configuration et des tests sur la variable d'activation du module qui est inutile (#incoterm). 2015-02-10 11:45:23 +01:00
phf
e27ff07e29 [CORE] retrait de la page de configuration qui est inutile (#incoterm). 2015-02-10 11:44:14 +01:00
phf
1701ecfd89 [CORE] fonction setIncoterms générique pour mettre à jour les valeurs de incotermsdes différentes tables (#incoterm). 2015-02-10 10:23:38 +01:00
phf
23751c75dc [CORE] fin de la mise en place de la gestion incoterms des sociétés (#incoterm). 2015-02-10 10:22:38 +01:00
phf
792ec17993 [CORE] ajout de traductions ( #incoterm). 2015-02-09 17:56:06 +01:00
phf
62762f82a9 [CORE] incorporation de l'ajout / modification de l'incoterm sur un tiers (#incoterm 2015-02-09 17:55:43 +01:00
phf
c7e1528594 [CORE] initialisation de l'intégration du module incoterm au corp de dolibarr (#incoterm). 2015-02-09 15:53:19 +01:00
phf
65a3c75b04 [CORE] ajout des conditions dans la librairie pour le module (#new_ask_price). 2015-02-09 11:57:30 +01:00
phf
67fc6de840 [CORE] local phpunit - retrait des mauvais caractères et type des colonnes (#new_ask_price). 2015-02-09 11:57:04 +01:00
phf
ffecdc13ff [CORE] déplacement de la création des tables du module dans le script de migration (#new_ask_price). 2015-02-09 10:38:48 +01:00
phf
a1d2f426b8 [CORE] correction mineurs pour travis (#new_ask_price). 2015-02-09 10:17:28 +01:00
phf
34bc1dbc15 Merge branch 'develop' into new_ask_price 2015-02-09 09:07:50 +01:00
Florian HENRY
41b0b57743 review || GETPOST("button_removefilter") 2015-02-08 11:01:27 +01:00
Laurent Destailleur
3f807a09b4 Doxygen 2015-02-08 00:39:51 +01:00
Laurent Destailleur
381af3e6bc Field amount must be right aligned 2015-02-08 00:32:49 +01:00
Laurent Destailleur
2956f39e38 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-02-08 00:13:03 +01:00
Laurent Destailleur
120838becd Update doc 2015-02-08 00:12:50 +01:00
Laurent Destailleur
dd3dbb0f76 Merge pull request #2330 from aspangaro/develop-typo
Fix : Typo on merge
2015-02-08 00:01:14 +01:00
Laurent Destailleur
1776349a30 Merge pull request #2329 from atm-ph/deliverytime
NEW Deliverytime
2015-02-08 00:00:50 +01:00
Laurent Destailleur
aac584afda Merge pull request #2320 from defrance69/patch-46
Update paiement.class.php
2015-02-07 23:46:40 +01:00
Laurent Destailleur
505f194689 Merge pull request #2319 from defrance69/patch-45
Update 3.6.0-3.7.0.sql
2015-02-07 23:46:12 +01:00
Laurent Destailleur
ef31ca9b84 New: Add balance of each account statement. 2015-02-07 23:32:46 +01:00
Florian HENRY
eea4815312 Display amount of line not total amount 2015-02-07 20:58:18 +01:00
Florian HENRY
9a7a5b9b20 review product stats list 2015-02-07 20:36:16 +01:00
Florian HENRY
5f68acfdd8 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-02-07 20:32:54 +01:00
aspangaro
71b9098a44 Fix : Typo on merge 2015-02-07 06:42:36 +01:00
Laurent Destailleur
3bdf8864a9 New: Add option MAXTABS_IN_CARD to limit number of visible tabs. 2015-02-07 04:24:31 +01:00
Laurent Destailleur
4a3e4d6ec9 Fix: back to project page 2015-02-07 04:04:56 +01:00
Laurent Destailleur
2c364dbe8c Fix filter on status 2015-02-07 03:54:00 +01:00
Laurent Destailleur
a21acdeb7c Enable select2 for users combo 2015-02-07 03:41:09 +01:00
Laurent Destailleur
7738478564 Fix bad order 2015-02-07 03:29:33 +01:00
Laurent Destailleur
011d39105d Merge remote-tracking branch 'origin/3.7' into develop
Conflicts:
	htdocs/accountancy/admin/export.php
	htdocs/accountancy/journal/bankjournal.php
	htdocs/accountancy/journal/sellsjournal.php
	htdocs/core/datepicker.php
	htdocs/core/modules/fichinter/doc/pdf_soleil.modules.php
	htdocs/fourn/facture/card.php
2015-02-07 03:28:36 +01:00
Laurent Destailleur
d812b2b7b8 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-02-07 03:12:21 +01:00
Laurent Destailleur
2f388949f6 Make a test with jsganttimproved 2015-02-07 03:11:35 +01:00
Laurent Destailleur
ba5d355eb3 Fix bad property 2015-02-07 02:14:45 +01:00
Juanjo Menent
9d57f5b957 Trad: update es_ES from Transifex 2015-02-06 22:55:43 +01:00
phf
1d9a3e0ce2 [CORE] Fix : renommage d'une fonction (#deliverytime). 2015-02-06 16:39:54 +01:00
phf
0e74dd4b95 [CORE] ajout de la colonne "delivery_time_days" en bdd (#deliverytime). 2015-02-06 16:35:19 +01:00
phf
12c7e52b7e [CORE] Fix : rename de la variable "delai_livraison_jours" en "delivery_time_days" (#deliverytime). 2015-02-06 16:33:58 +01:00
phf
35d41d6f7c [CORE] Ajout d'un attribut (delai_livraison_jours) à l'objet ProductFournisseur, paramétrable lors d'un ajout/modification d'un prix fournisseur et s'affiche sur une commande fournisseur avec le plus grand délai parmis la liste des produits dans la commande (#deliverytime). 2015-02-06 16:07:22 +01:00
phf
8ace3ee77b [CORE] FIX : la validation d'une demande de prix à "accéptée" ne créer plus d'entré si le prix ou la quantité est à 0.
FIX : la création d'une commande depuis une demande ne prend plus en compte les produits qui ont un prix ou quantité à 0. (#new_ask_price).
2015-02-06 10:17:10 +01:00
phf
b31c77c754 [CORE] FIX : ajout d'une traduction manquante (#new_ask_price). 2015-02-06 09:50:59 +01:00
phf
bf643c26da [CORE] FIX : des noms des hooks
+ correction nom de variable (#new_ask_price).
2015-02-06 09:50:27 +01:00
Laurent Destailleur
4c5fa7510c Fix bad translation key 2015-02-05 12:06:20 +01:00
Laurent Destailleur
b654ffb627 New: Add option SUPPLIER_ORDER_HIDE_VALIDATED. So a module can remove
this step. Useless when all users have permission to approve supplier
orers.
2015-02-05 11:58:40 +01:00
Laurent Destailleur
7d64d3d17b Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-02-05 11:53:50 +01:00
phf
bcbf29d9a5 [CORE] assainissement du code + traductions FR vers EN (#new_ask_price). 2015-02-04 15:39:57 +01:00
Laurent Destailleur
556c27f834 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop

Conflicts:
	htdocs/install/mysql/migration/3.7.0-3.8.0.sql
	htdocs/product/stock/mouvement.php
2015-02-04 15:15:50 +01:00
phf
6770e0415a [CORE] assainissement du code (#new_ask_price). 2015-02-04 10:06:03 +01:00
BENKE Charles
50ff9d2d0c Update paiement.class.php
in case of sql query add error message in log instead of the screen
2015-02-04 02:17:37 +01:00
BENKE Charles
79818e8693 Update 3.6.0-3.7.0.sql
update url in llx_bank_url for remplacement of fiche.php by card.php
Need to made it on 3.7 branch urgently
2015-02-04 00:45:52 +01:00
phf
227f8a6a67 [CORE] maj de l'affichage de la list avec les champs a garder (#new_ask_price). 2015-02-03 17:37:49 +01:00
phf
bb1a27434f [CORE] épuration du fichier lang (#new_ask_price). 2015-02-03 17:10:17 +01:00
phf
f3b05d19c4 [CORE] ajout de trad (#new_ask_price). 2015-02-03 16:54:21 +01:00
phf
296fae058c [CORE] ajout de la liaison entre une demande de prix et une commande fournisseur (#new_ask_price). 2015-02-03 16:54:04 +01:00
phf
8bfb5839ca [CORE] modification de l'affichage (#new_ask_price). 2015-02-03 16:53:09 +01:00
phf
7ae003fa1a [CORE] modification de l'affichage (#new_ask_price). 2015-02-03 16:52:49 +01:00
phf
b9ac5bc9e0 [CORE] correction bug lors de l'appel d'une fonction addline() et mise en commentaire d'un traitement inutile puisqu'on est uniquement dans le cas du fonctionnement du module (#new_ask_price). 2015-02-03 15:26:14 +01:00
phf
1e71b01016 [CORE] ajout d'une fonction pour mettre à jour l'id de projet lors de la création d'une commande depuis la demande de prix (#new_ask_price). 2015-02-03 15:22:03 +01:00
phf
f15d18dbb1 [CORE] ajout d'une colonne pour la référence fournisseur sur une demande de prix (#new_ask_price). 2015-02-03 15:21:10 +01:00
phf
6d880d10ce [CORE] modifications sur les champs visibles et utilisés + correction de bug + ajout de traductions (#new_ask_price). 2015-02-03 15:20:17 +01:00
Laurent Destailleur
a6e4fdd7c3 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-02-03 14:02:07 +01:00
Laurent Destailleur
6d751ad63b Merge pull request #2317 from GPCsolutions/contributing
Added branches information to contributing guidelines
2015-02-03 13:44:43 +01:00
Laurent Destailleur
91626cfc92 Merge pull request #2316 from mrsof/develop
FIX : Update action return PHP Fatal error: Using $this when not in object context
2015-02-03 13:44:17 +01:00
Laurent Destailleur
f10a4bbdbe Merge pull request #2312 from frederic34/patch-5
Can't use function return value in write context
2015-02-03 13:06:13 +01:00
Laurent Destailleur
d626d073dc Merge pull request #2304 from frederic34/tooltip
Tooltip
2015-02-03 12:32:40 +01:00
Laurent Destailleur
43f3d5805e Merge pull request #2301 from frederic34/patch-3
Update 3.7.0-3.8.0.sql
2015-02-03 12:31:06 +01:00
Laurent Destailleur
077fafdb7d Remove log 2015-02-03 12:20:36 +01:00
Laurent Destailleur
01541e4152 Merge remote-tracking branch 'origin/3.7' into develop
Conflicts:
	htdocs/comm/action/card.php
	htdocs/core/datepicker.php
2015-02-03 12:17:45 +01:00
Raphaël Doursenaud
8fcf0de5d1 Added branches information to contributing guidelines 2015-02-03 10:51:05 +01:00
Sof
493732bdc3 Update action returnb PHP Fatal error: Using $this when not in object context 2015-02-03 10:45:00 +01:00
phf
ad4e5cca0b [CORE] Fix de la suppression d'une demande de prix (#new_ask_price). 2015-02-03 10:09:52 +01:00
phf
c22bbb23d8 [CORE] ré-indentation d'une ligne (#new_ask_price). 2015-02-03 10:09:25 +01:00
Laurent Destailleur
21c78cc392 Merge remote-tracking branch 'origin/3.7' into develop 2015-02-02 21:45:31 +01:00
Laurent Destailleur
82dda354cf Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-02-02 21:33:30 +01:00
Laurent Destailleur
e0f86f0270 Oubli sur option PROJECT_HIDE_TASKS 2015-02-02 21:33:09 +01:00
Juanjo Menent
b513aa5455 Adapting spanish localtax2 to 2015 fiscal reforms 2015-02-02 21:32:52 +01:00
Laurent Destailleur
c6bfc15031 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-02-02 21:13:09 +01:00
Laurent Destailleur
b36e40ee4c Fix feature to break by email 2015-02-02 21:12:43 +01:00
frederic34
f69e58cccb Tooltip 2015-02-02 21:09:30 +01:00
Juanjo Menent
ef3dfbf3a1 Increase size of localtaxX (10 is not enough in some cases) 2015-02-02 21:04:00 +01:00
Laurent Destailleur
9747f1fd2a Merge branch 'develop' of https://github.com/Dolibarr/dolibarr.git into origin_dolibarr_develop 2015-02-02 18:38:24 +01:00
Laurent Destailleur
7b209fa0be New: Add hidden option PDF_SHOW_PROJECT to show project ref onto
supplier orders and invoices.
2015-02-02 18:36:49 +01:00
phf
5266542bc9 [CORE] correction bug + trad + ajout de conditions pour le fonctionnement du module (#new_ask_price). 2015-02-02 17:50:33 +01:00
Frédéric FRANCE
0cb83c96b7 Can't use function return value in write context
Blank page on /htdocs/product/price.php
2015-02-02 16:23:25 +01:00
phf
d2c4e8c98f [CORE] retrait d'une condition ajout auparavant mais qui est inutile (#new_ask_price). 2015-02-02 16:18:07 +01:00
phf
38551dd468 [CORE] retrait de liens ou champs inutile (#new_ask_price). 2015-02-02 16:17:07 +01:00
phf
4ec611e4b9 [CORE] suppression de fichiers inutile (#new_ask_price). 2015-02-02 16:16:29 +01:00
Laurent Destailleur
7fbf76ee2a Fix phpcs 2015-02-02 15:43:22 +01:00
phf
a3c29f2e9c [CORE] Avancement du fonctionnement du module, correction bug et épuration de l'affichage (#new_ask_price). 2015-02-02 15:41:14 +01:00
frederic34
482eec1cce Merge remote branch 'upstream/develop' into tooltip 2015-02-02 13:48:39 +01:00
frederic34
fb22de1ecd Merge remote branch 'upstream/develop' into tooltip 2015-02-02 13:46:52 +01:00
Laurent Destailleur
9c087e27d0 Fix permissions 2015-02-02 13:45:55 +01:00
Laurent Destailleur
eda2ff7f7b Fix regression in phpunit 2015-02-02 13:37:19 +01:00
Laurent Destailleur
3f042fb558 New: Introduce option PROJECT_HIDE_TASKS for people using project only
as transversal analytic key and not to manage tasks.
2015-02-02 13:27:55 +01:00
phf
5573c6a250 [CORE] mise en commentaire des champs inutile lors de la 1ere étape de créer de demande de prix (#new_ask_price). 2015-02-02 10:26:04 +01:00
phf
fedf476987 [CORE] ajout d'une traduction pour le bouton créer demande de prix sur la fiche fournisseur (#new_ask_price). 2015-02-02 10:25:27 +01:00
phf
0f7af613f1 [CORE] ajout du bouton "créer une demande de prix" sur la fiche fournisseur (#new_ask_price). 2015-02-02 10:24:42 +01:00
phf
85a4df4ce2 [CORE] maj du pdf, champs PU HT et Total HT vide (#new_ask_price). 2015-02-02 10:06:36 +01:00
frederic34
3206957b99 Tooltip 2015-02-01 20:58:57 +01:00
Laurent Destailleur
9285897759 Fix: Load priceparser only if required. 2015-02-01 15:08:56 +01:00
Laurent Destailleur
968b2b433b Better position for username 2015-02-01 01:43:19 +01:00
Laurent Destailleur
52222ecdfe Avoid tooltip into tooltip 2015-02-01 01:28:15 +01:00
Laurent Destailleur
1e38227c2d Reduce number of new to save memory usage.
Fight table to replace with div
2015-02-01 00:54:26 +01:00
Laurent Destailleur
34cbcad9da Reduce number of new to save memory usage.
Fight table to replace with div
2015-02-01 00:40:42 +01:00
Laurent Destailleur
7501e09738 Fix: Crazy change 2015-01-31 22:29:31 +01:00
Laurent Destailleur
edcf39cd58 Merge pull request #2300 from aschio/develop
NEW: search filter fields in list project page
2015-01-31 20:24:48 +01:00
Laurent Destailleur
324ded162d Merge pull request #2297 from ndrosis/patch-15
translate UpdateServerOffline live last version
2015-01-31 20:20:18 +01:00
Laurent Destailleur
7721f4928d Merge pull request #2295 from grandpaul/fix_webservice_product_price
Fix: webservices productorservice not updating the price.
2015-01-31 20:18:08 +01:00
Laurent Destailleur
ece70dbd2c Merge pull request #2293 from frederic34/patch-4
Error message is ErrorCounterMustHaveMoreThan3Digits
2015-01-31 19:44:09 +01:00
Laurent Destailleur
c19ff003ea Merge pull request #2292 from FHenry/develop_contract_line_extrafileds
NEW: contract lines extrafileds
2015-01-31 19:43:37 +01:00
Laurent Destailleur
0253f952d4 Merge pull request #2288 from accett/patch-1
Add MXN
2015-01-31 19:39:19 +01:00
Laurent Destailleur
963b9e8583 Merge remote-tracking branch 'origin/3.7' into develop 2015-01-31 19:37:25 +01:00
Laurent Destailleur
9188be57ce Select2 component creates problem of sizing with jmobile. 2015-01-31 19:25:26 +01:00
Laurent Destailleur
21f72c7594 Fix regression 2015-01-31 17:10:19 +01:00
Laurent Destailleur
13019f1f33 Clean code introduced by last PR. 2015-01-31 17:02:36 +01:00
Laurent Destailleur
1e72d49858 Merge pull request #2286 from accett/patch-1
New: Introduce num to text function and use sign before amout for mexico currency
2015-01-31 15:55:16 +01:00
Frédéric FRANCE
8d45d3cd59 Update 3.7.0-3.8.0.sql 2015-01-31 15:51:55 +01:00
Laurent Destailleur
a84dd26352 Merge branch 'frederic34-tooltip' into develop 2015-01-31 15:42:15 +01:00
Laurent Destailleur
d66d4f53a5 Merge branch 'tooltip' of https://github.com/frederic34/dolibarr into
frederic34-tooltip

Conflicts:
	htdocs/core/boxes/box_produits.php
	htdocs/core/boxes/box_produits_alerte_stock.php
	htdocs/product/index.php
2015-01-31 15:41:33 +01:00
Laurent Destailleur
56c00ae9e2 Merge branch 'IonAgorria-dinamic-prices-product' into develop 2015-01-31 14:53:48 +01:00
Laurent Destailleur
1c7feb67ea Merge branch 'dinamic-prices-product' of
https://github.com/IonAgorria/dolibarr into
IonAgorria-dinamic-prices-product

Conflicts:
	htdocs/install/mysql/migration/3.7.0-3.8.0.sql
	htdocs/product/fournisseurs.php
2015-01-31 14:53:14 +01:00
Laurent Destailleur
0aab43c728 Merge branch 'develop' of github.com:Dolibarr/dolibarr into develop 2015-01-31 14:30:11 +01:00
Laurent Destailleur
2af504c020 Merge branch 'marcosgdf-task-1793' into develop 2015-01-31 14:29:56 +01:00
Laurent Destailleur
770ddb6b0f Merge branch 'task-1793' of https://github.com/marcosgdf/dolibarr into
marcosgdf-task-1793

Conflicts:
	ChangeLog
	htdocs/margin/lib/margins.lib.php
2015-01-31 14:29:15 +01:00
Laurent Destailleur
f270371716 Merge pull request #2281 from frederic34/patch-3
Update README.md
2015-01-31 14:27:02 +01:00
Florian HENRY
1eb73d0e49 fetch optional extrafeild lines on propal fetch 2015-01-31 13:52:23 +01:00
Florian HENRY
d39439437e Add fetch optionnals extrafield on contract lines 2015-01-31 13:50:18 +01:00
frederic34
c1943f989b Tooltip 2015-01-31 10:58:03 +01:00
frederic34
6a1865adb6 Merge remote branch 'upstream/develop' into tooltip
Conflicts:
	htdocs/fourn/commande/list.php
2015-01-31 09:58:41 +01:00
Laurent Destailleur
d0cc56d616 Showing price without tax also. 2015-01-31 01:12:05 +01:00
Laurent Destailleur
74dafbe034 Fix missing class 2015-01-31 00:45:55 +01:00
Laurent Destailleur
03cc1bd039 Fixed bad sql error 2015-01-31 00:27:35 +01:00
Laurent Destailleur
2684b327e5 Fixed bad sql error 2015-01-31 00:23:10 +01:00
Laurent Destailleur
29d399ba79 Merge remote-tracking branch 'origin/3.7' into develop 2015-01-31 00:09:37 +01:00
Laurent Destailleur
275e198041 New: Selection of project use the new select2 component. 2015-01-30 19:57:38 +01:00
phf
18cb313348 [CORE] ajout du nom du module dans $childtables pour le bon fonctionnement du module (#new_ask_price). 2015-01-30 16:54:50 +01:00
phf
f60ed2b153 [CORE] ajout de traductions pour le module (#new_ask_price). 2015-01-30 16:53:31 +01:00
phf
d2cd78884e [CORE] ajout de code nécessaire pour le fonctionnement du module pour créer une code fournisseur depuis une demande validé et accépté (#new_ask_price). 2015-01-30 16:52:14 +01:00
phf
9a289537be [CORE] maj du code + ajout d'une fonction pour le module (#new_ask_price). 2015-01-30 16:50:46 +01:00
frederic34
b850b7b448 Merge remote branch 'upstream/develop' into tooltip
Conflicts:
	htdocs/langs/en_US/sendings.lang
2015-01-30 16:45:24 +01:00
frederic34
736bee565c Tooltip everywhere 2015-01-30 16:40:33 +01:00
Laurent Destailleur
291340a39f Merge remote-tracking branch 'origin/3.7' into develop 2015-01-30 16:34:18 +01:00
Laurent Destailleur
59711298c3 Fixed: Length of project label is no more truncated on element cards
(invoice, proposal, order...)
2015-01-30 16:33:39 +01:00
Laurent Destailleur
4fdc287717 Merge remote-tracking branch 'origin/3.7' into develop
Conflicts:
	htdocs/accountancy/customer/card.php
	htdocs/accountancy/journal/sellsjournal.php
	htdocs/admin/menus.php
	htdocs/fourn/commande/card.php
	htdocs/install/check.php
2015-01-30 15:53:06 +01:00
cla
0501153835 Update list project page: add sales rapresentatives and linked user. 2015-01-30 11:08:49 +01:00
Laurent Destailleur
43702cf662 New: Enhance stock management: Introduce tag to define if a subproduct
must have stock decreased and add inventory code on stock movements.
2015-01-30 01:51:28 +01:00
cla
0d0c10be1f ADD filter fields in list project page 2015-01-29 18:17:43 +01:00
phf
3b0fd5ec98 [CORE] modification légère, début de redirection pour créer une commande fournisseur si la demande est accépté (#new_ask_price). 2015-01-29 17:36:12 +01:00
phf
aba3ec0612 [CORE] modification de l'affiche du PDF (#new_ask_price). 2015-01-29 12:26:50 +01:00
phf
4408828af4 [CORE] ajouts des conditions pour le fonctionnement avec le module (#new_ask_price). 2015-01-29 12:13:06 +01:00
phf
2f8ceea587 [CORE] renomage de variables pour le module + modification de traductions (#new_ask_price). 2015-01-29 12:12:22 +01:00
phf
ffb533a4e4 [CORE] gestion du prix lors de l'ajout d'un produit déjà existant (#new_ask_price). 2015-01-29 12:11:14 +01:00
phf
3743745cd8 [CORE] maj mineur (#new_ask_price). 2015-01-29 10:44:23 +01:00
phf
c9e74fbcea [CORE] ajout d'une trad (#new_ask_price). 2015-01-29 10:44:03 +01:00
phf
770ce6b4cc [CORE] renomage d evariables pour être en rapport avec le module (#new_ask_price). 2015-01-29 10:43:46 +01:00
phf
87398c7d43 [CORE] renomage de variables pour être en rapport avec le module (#new_ask_price). 2015-01-29 10:42:53 +01:00
phf
77e4619fe2 [CORE] correction de nom de fonction pour un appel correct (#new_ask_price). 2015-01-29 10:41:46 +01:00
phf
a58899d354 [CORE] ajout d'une condition pour le fonctionnement du module (#new_ask_price). 2015-01-29 10:41:08 +01:00
Laurent Destailleur
16fa19be87 Doc to send unblock requests 2015-01-28 23:06:05 +01:00
Drosis Nikos
831bc5393d translate UpdateServerOffline live last version 2015-01-28 23:17:46 +02:00
Drosis Nikos
fc7f2f2303 translate UpdateServerOffline 2015-01-28 23:12:46 +02:00
Ying-Chun Liu (PaulLiu)
7569b32281 Fix: webservices productorservice not updating the price.
The product.php.class provides another method updatePrice() to update the
price of products or services. We should call updatePrice() when we found the
SOAP client changes the price or price_net.

Signed-off-by: Ying-Chun Liu (PaulLiu) <paulliu@debian.org>
2015-01-29 00:57:54 +08:00
phf
b3b9527e32 [CORE] ajouts de traductions pour le module (#new_ask_price). 2015-01-28 17:29:14 +01:00
phf
5da4d0262e [CORE] ajouts des conditions nécessaire pour l'intégration du module (#new_ask_price). 2015-01-28 17:28:44 +01:00
phf
a98ce01807 [CORE] renomage de masse + correction des noms des fichiers/fonctions par copie + ajout de clés de traductions (#new_ask_price). 2015-01-28 17:27:26 +01:00
phf
c5398f61f9 [CORE] Modif de trad et renomage pour le module askpricesupplier (#new_ask_price). 2015-01-28 15:37:52 +01:00
phf
d134fa6a32 [CORE] copie du odt propal pour le module askpricesupplier (#new_ask_price). 2015-01-28 15:33:52 +01:00
phf
3644f4c84c [CORE] renomage de masse (#new_ask_price). 2015-01-28 14:48:59 +01:00
phf
a9d26efee8 [CORE] ajout des conditions pour un element de type askpricesupplier (#new_ask_price). 2015-01-28 14:44:48 +01:00
phf
ec621244f3 [CORE] ajouts des conditions spécifiques pour les appels depuis l'objet AskPriceSupplier (#new_ask_price). 2015-01-28 14:34:27 +01:00
phf
778ddf269d [CORE] maj des références de traductions (#new_ask_price). 2015-01-28 14:32:41 +01:00
phf
903f739449 [CORE] avancement du mercredi matin (#new_ask_price). 2015-01-28 10:33:15 +01:00
Frédéric FRANCE
a560b582f5 Update functions2.lib.php 2015-01-28 00:02:57 +01:00
phf
49fa0056c8 [CORE] Avancement des replace (#new_ask_price). 2015-01-27 17:43:07 +01:00
phf
aaacca9b13 [CORE] première partie des grosses modifications (#new_ask_price). 2015-01-27 16:53:27 +01:00
Florian HENRY
66c73ca336 add missing files for contract line extrafields 2015-01-27 12:57:36 +01:00
Florian HENRY
a510a1ef5c First step add contract lines extrafields 2015-01-27 12:53:02 +01:00
AcceTT Soluciones Computacionales
101378b856 Add MXN
Add MXN to the array to use currency sing before.
2015-01-26 20:56:36 -06:00
accett
62ae75b3bf Update for Mexico Users
Add MXN in the array for countries use the sign currency before. (Mexico does). Add function float2text_moneda to convert the number in the text form for tickets, facture, proposals, etc.
2015-01-26 14:38:02 -06:00
phf
6fee87ca56 [CORE] ajout en commentaire de la requete sql de creation de table (#new_ask_price). 2015-01-26 17:35:37 +01:00
phf
60be0193b0 [CORE] Initialisation global du module askpricesupplier (#new_ask_price). 2015-01-26 17:21:35 +01:00
Drosis Nikos
872fe15743 Check live last version from sourceforge.net 2015-01-26 17:05:47 +02:00
Frédéric FRANCE
fae2ae8e2d Update README.md 2015-01-25 22:58:12 +01:00
Laurent Destailleur
dfc0ab7bfb Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-01-25 22:00:59 +01:00
Laurent Destailleur
b61c475aa8 Clean code for validate permissions. "validate" is a status to say, "now
it exists, it is no more a draft", so by default we don't need this
permissions (it is same than create). We keep "validate" permissions as
an "advanced" permission only.
2015-01-25 21:32:40 +01:00
Laurent Destailleur
0647c49067 Merge pull request #2274 from aschio/develop
New: Added Extrafields for Supplier invoice lines and Supplier order lines
2015-01-25 19:21:03 +01:00
Laurent Destailleur
ffb3af4b23 Merge pull request #2279 from GPCsolutions/readme
Updated and revamped readme
2015-01-25 18:15:00 +01:00
Laurent Destailleur
e94d11ecf9 Merge pull request #2278 from GPCsolutions/contributing
Added contributing guidelines.
2015-01-25 18:00:38 +01:00
Laurent Destailleur
e49b8f9cbd Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-01-25 11:40:11 +01:00
Laurent Destailleur
c7d5a45780 Prepare test for pgsql 2015-01-25 11:39:48 +01:00
frederic34
76bf95789d Merge remote branch 'upstream/develop' into tooltip
Conflicts:
	htdocs/fourn/commande/list.php
2015-01-24 21:51:33 +01:00
frederic34
e18577aa62 Tooltip and lib for file cache 2015-01-24 21:46:05 +01:00
Laurent Destailleur
267ba24820 Generalize option PROJECT_SHOW_REF_INTO_LISTS 2015-01-24 21:41:40 +01:00
Raphaël Doursenaud
11179e5537 Updated and revamped readme 2015-01-23 16:12:59 +01:00
Raphaël Doursenaud
b862e28d5b Added contributing guidelines.
See: https://github.com/blog/1184-contributing-guidelines
2015-01-23 15:07:51 +01:00
frederic34
92147265bb Merge remote branch 'upstream/develop' into tooltip 2015-01-23 10:52:30 +01:00
frederic34
925aa2039b Tooltip and cache for boxes 2015-01-23 10:51:12 +01:00
Laurent Destailleur
71a8f97c89 Optimize code 2015-01-23 02:11:10 +01:00
Laurent Destailleur
0ca1647e11 Fixed: Removed bad commited dir 2015-01-23 01:52:56 +01:00
Laurent Destailleur
4aa4f5f5e9 Merge remote-tracking branch 'origin_dolibarr/develop' into develop 2015-01-22 23:14:40 +01:00
Laurent Destailleur
6bda61436b Merge remote-tracking branch 'origin/3.7' into develop
Conflicts:
	dev/codesniffer/ruleset.xml
	htdocs/core/class/html.formfile.class.php
	htdocs/core/lib/functions2.lib.php
	htdocs/projet/element.php
2015-01-22 21:52:55 +01:00
Laurent Destailleur
eedca43cc3 New: Add option PROJECT_ADD_SUBTOTAL_LINES to group by supplier lines
into refering project view.
2015-01-22 21:31:00 +01:00
Laurent Destailleur
7b8b189bac Fix: select if field is null 2015-01-22 20:09:57 +01:00
Laurent Destailleur
c4782f960c Qual: Removed not cleand function 2015-01-22 19:47:53 +01:00
Laurent Destailleur
321e46e596 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-01-22 18:35:55 +01:00
Laurent Destailleur
5c007e53be Update sample examples 2015-01-22 18:35:02 +01:00
cla
134759ce28 update table name facture_fourn_det_extrafields 2015-01-22 15:02:19 +01:00
cla
c8480efbef update table name facture fourn det extrafields 2015-01-22 15:01:27 +01:00
cla
c953a04687 Added files for Extrafields in Order/Invoice Supplier Line. New files
sql added in install/mysql folder and 2 new pages to insert extrafields
in admin folder
2015-01-22 14:18:33 +01:00
cla
6dfd5b1fac Added extrafields features for Supplier Invoice Line and Supplier Order Line 2015-01-22 14:15:34 +01:00
Laurent Destailleur
78e90493ed Merge pull request #2269 from frederic34/tooltip
Add tooltip in getNomUrl link
2015-01-22 13:58:20 +01:00
frederic34
12c8d4ba1f Merge remote branch 'upstream/develop' into tooltip 2015-01-22 00:44:50 +01:00
frederic34
f4161b457b Add dol_escape_htmltag and start to adapt boxes 2015-01-22 00:23:55 +01:00
Emmanuel Haguet
296d947bd2 Corrections (fichier, calcul de ref) 2015-01-21 16:25:13 +01:00
Emmanuel Haguet
0b3aebeac0 renommage data.csv, User dolibarr et 2ème script 2015-01-21 15:06:32 +01:00
Ion Agorria
2c01370ce6 Reimplemented 'find_min_price_product_fournisseur()' 2015-01-21 05:22:46 +01:00
Laurent Destailleur
017a483eb3 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-01-21 00:06:03 +01:00
Laurent Destailleur
59ef42cd52 Merge branch 'marcosgdf-delay-emailing' into develop 2015-01-21 00:05:36 +01:00
Laurent Destailleur
449f2b9346 Merge branch 'delay-emailing' of https://github.com/marcosgdf/dolibarr
into marcosgdf-delay-emailing

Conflicts:
	htdocs/comm/mailing/card.php
2015-01-21 00:05:19 +01:00
Laurent Destailleur
da75877caa Merge pull request #2264 from frederic34/patch-2
Use getNomUrl on every list to uniformize display
2015-01-21 00:03:21 +01:00
Laurent Destailleur
25194c4caf Merge pull request #2268 from frederic34/patch-4
Type of supplier invoice was broken
2015-01-21 00:02:23 +01:00
Laurent Destailleur
9f00f5d525 Merge pull request #2265 from frederic34/patch-3
Use css badge
2015-01-21 00:00:32 +01:00
frederic34
1b0dd671b3 Add tooltip in getNomUrl link 2015-01-20 21:40:33 +01:00
Frédéric FRANCE
3ab6ac601e Type of supplier invoice was broken 2015-01-20 17:55:20 +01:00
Emmanuel Haguet
b93c3cc7ce Script Import Fournisseur + données au format CSV 2015-01-20 14:54:18 +01:00
BENKE Charles
d98d4d219f Update task.php
use GETPOST instead of $_GET and $_POST
2015-01-19 22:46:28 +01:00
Frédéric FRANCE
229f7888ca Update index.php 2015-01-19 20:38:33 +01:00
Frédéric FRANCE
fb9f53010f Update index.php 2015-01-19 20:36:38 +01:00
Frédéric FRANCE
0a41a025ae Update index.php 2015-01-19 20:35:29 +01:00
Frédéric FRANCE
2d911e1a8f Update card.php 2015-01-19 20:19:36 +01:00
Frédéric FRANCE
1fc9517200 Use css badge 2015-01-19 19:18:57 +01:00
Frédéric FRANCE
e82301e001 Update card.php 2015-01-19 19:07:34 +01:00
Frédéric FRANCE
388697b73e Use getNomUrl on every list to uniformize display 2015-01-19 18:55:55 +01:00
Laurent Destailleur
67debbe37d Merge pull request #2262 from FHenry/develop
add extrafield type, check box from table
2015-01-19 15:30:14 +01:00
Florian HENRY
a4561ab4ad merge 2015-01-19 09:41:31 +01:00
Florian HENRY
ab50437331 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop

Conflicts:
	htdocs/comm/action/class/actioncomm.class.php
	htdocs/compta/facture/class/facture.class.php
	htdocs/core/class/html.form.class.php
2015-01-19 09:38:00 +01:00
Laurent Destailleur
667565f04f Fix missing table in migration script 2015-01-19 02:38:24 +01:00
Laurent Destailleur
fdaa930507 Solve phpunit.
Fix database field format
2015-01-19 01:58:48 +01:00
Laurent Destailleur
3554624537 Fix: A method must not change value of original property. 2015-01-18 23:32:13 +01:00
Laurent Destailleur
47baf232d4 Fix: A method must not change value of original property. 2015-01-18 23:02:53 +01:00
Laurent Destailleur
f96fdc7d0a Regression solved 2015-01-18 21:04:39 +01:00
Laurent Destailleur
28148f8637 Fixed: Bad sql requests 2015-01-18 20:49:57 +01:00
Laurent Destailleur
e220ce5a82 Merge remote-tracking branch 'origin/3.7' into develop
Conflicts:
	htdocs/comm/card.php
	htdocs/comm/propal.php
	htdocs/commande/card.php
	htdocs/compta/facture.php
	htdocs/compta/prelevement/class/bonprelevement.class.php
	htdocs/core/class/html.formcompany.class.php
	htdocs/custom/.gitignore
	htdocs/expedition/card.php
	htdocs/fourn/card.php
	htdocs/product/fournisseurs.php
2015-01-18 18:44:22 +01:00
Florian HENRY
e872c40cc7 fix class actioncomm for travis and feature userassigned 2015-01-18 16:44:53 +01:00
Marcos García de La Fuente
c667f8734a [ task #1793 ] Create new permission to restrict commercial agent margin to logged user 2015-01-18 16:42:11 +01:00
Marcos García de La Fuente
fb186d6ef8 Added delay between mails in Newsletter module 2015-01-18 16:26:26 +01:00
Florian HENRY
d6778b9ed6 fix travis 2015-01-18 16:25:43 +01:00
Florian HENRY
b171975d18 Fix travis 2015-01-18 16:08:10 +01:00
Florian HENRY
22c253cfc1 add extrafield type, check box from table 2015-01-18 16:02:31 +01:00
Laurent Destailleur
3db231cea6 Merge pull request #2232 from defrance69/patch-43
Update commondocgenerator.class.php
2015-01-18 13:45:50 +01:00
Laurent Destailleur
34fe87536b Merge pull request #2137 from frederic34/printipp
Printing System which may accept modules
2015-01-18 13:09:41 +01:00
Laurent Destailleur
8ae48217fc Merge pull request #2239 from frederic34/custom
Ignore content of directory custom
2015-01-18 12:49:36 +01:00
frederic34
e640a7751a Merge remote branch 'upstream/develop' into custom 2015-01-18 12:46:20 +01:00
Laurent Destailleur
83675daa8a Merge pull request #2255 from frederic34/patch-1
Correct travis error
2015-01-18 12:33:51 +01:00
Laurent Destailleur
eaacb3c33b Merge pull request #2257 from IonAgorria/per-entity-smtp
Store per entity SMTP configuration
2015-01-18 12:33:08 +01:00
Florian HENRY
c8db8f001b fix travis 2015-01-18 12:06:05 +01:00
Florian HENRY
b407716175 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-01-18 11:57:32 +01:00
Laurent Destailleur
b53b8d2e45 Fixed: Backward compatibility 2015-01-18 11:48:52 +01:00
Frédéric FRANCE
f3a3136452 Update html.form.class.php 2015-01-18 11:38:45 +01:00
Laurent Destailleur
1681e3b03d Fix: Not allowed types
(http://wiki.dolibarr.org/index.php/Langages_et_normes#Structure_des_tables_et_champs)
2015-01-18 11:36:15 +01:00
Laurent Destailleur
2396f03093 Add PHP 5.6 into travis tests 2015-01-18 11:21:43 +01:00
Ion Agorria
48c6897f75 Store per entity SMTP configuration 2015-01-18 03:20:35 +01:00
Frédéric FRANCE
6237f68e74 Update facture.class.php 2015-01-18 01:07:32 +01:00
Frédéric FRANCE
f763f23614 Update facture.class.php 2015-01-18 00:57:03 +01:00
frederic34
32d7dec87d Merge remote branch 'upstream/develop' into custom 2015-01-17 20:18:07 +01:00
Laurent Destailleur
1664b89cef Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-01-17 19:26:19 +01:00
Laurent Destailleur
ded86d4031 Merge branch 'GPCsolutions-review' into develop 2015-01-17 19:25:56 +01:00
Laurent Destailleur
007f18bcf7 Merge branch 'review' of https://github.com/GPCsolutions/dolibarr into
GPCsolutions-review

Conflicts:
	htdocs/accountancy/journal/bankjournal.php
	htdocs/accountancy/journal/cashjournal.php
	htdocs/accountancy/journal/purchasesjournal.php
	htdocs/comm/action/peruser.php
	htdocs/core/class/html.form.class.php
	htdocs/core/lib/accounting.lib.php
	htdocs/core/lib/report.lib.php
2015-01-17 15:11:12 +01:00
Laurent Destailleur
eeeb6de8d9 Merge pull request #2020 from GPCsolutions/situationsinvoices
Situations invoices support
2015-01-17 14:44:05 +01:00
Laurent Destailleur
30abacd0a6 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-01-17 14:42:42 +01:00
Laurent Destailleur
da269a15a3 Merge branch 'FHenry-develop_bank_extrafields' into develop 2015-01-17 14:42:23 +01:00
Laurent Destailleur
87a59ef527 Merge branch 'develop_bank_extrafields' of
https://github.com/FHenry/dolibarr into FHenry-develop_bank_extrafields

Conflicts:
	htdocs/admin/bank.php
2015-01-17 14:42:04 +01:00
Laurent Destailleur
8cd46e4830 Introduce option MAIN_HTML_TITLE to start to control format of html
title content.
2015-01-17 14:34:16 +01:00
Juanjo Menent
daf3df158d Merge pull request #2246 from frederic34/patch-1
Typo
2015-01-17 01:40:10 +01:00
Frédéric FRANCE
a7d263c14e Typo 2015-01-16 23:34:10 +01:00
frederic34
52a1e8a0f3 Merge remote branch 'upstream/develop' into custom
Conflicts:
	htdocs/custom/.gitignore
2015-01-16 23:09:43 +01:00
Juanjo Menent
26e5efd71d Improve code create function 2015-01-16 23:09:13 +01:00
Juanjo Menent
93d3ffb06f Fix: PostgreSQL compatibilty
Conflicts:
	htdocs/compta/prelevement/class/bonprelevement.class.php
2015-01-16 18:03:55 +01:00
Laurent Destailleur
c5df4fd9b8 Merge pull request #2240 from genezys/develop
Add support for configurable first day of week
2015-01-16 12:09:21 +01:00
Laurent Destailleur
6a081fe883 Merge pull request #2229 from frederic34/getnextvalue
Translation error messages numbering modules
2015-01-16 12:08:53 +01:00
Laurent Destailleur
c54355b63a Merge remote-tracking branch 'origin/3.7' into develop 2015-01-16 10:44:41 +01:00
frederic34
2396ba833c Ignore content of directory custom 2015-01-15 17:36:13 +01:00
BENKE Charles
c923d06d84 Update task.php 2015-01-15 17:10:47 +01:00
BENKE Charles
a33727f4c5 Update task.php
Allow to change the ref of a task (like the ref of project)
2015-01-15 13:00:11 +01:00
Vincent Robert
eb90e0124e Add support for configurable first day of week
- Force loading of database configuration to retrieve the first day of week
- Order the day titles based on first day of week
- Change layout based on first day of week

Conflicts:
	htdocs/core/datepicker.php
2015-01-15 12:43:13 +01:00
Juanjo Menent
1930d0677e Fix: withdrawal create error if in the same month are deleted previus
withdrawals.

Conflicts:
	ChangeLog
2015-01-15 10:02:42 +01:00
Laurent Destailleur
1d1970b5a1 Sec: Bad security test 2015-01-14 19:10:48 +01:00
Laurent Destailleur
a2c9d5bd4a Fixed balance of td introduced by MAX_TAB option. 2015-01-14 19:10:21 +01:00
Laurent Destailleur
e10b5637d4 Fixed: Avoid spaces into address string 2015-01-14 18:54:56 +01:00
Laurent Destailleur
f92bc7986b Add Weighted average price as default price for buying price for margin
calculation. Add option MARGIN_PMP_AS_DEFAULT_BUY_PRICE to replace
with first supplier price.
2015-01-14 10:46:50 +01:00
Laurent Destailleur
a324afa3e5 Merge branch 'develop' of github.com:Dolibarr/dolibarr into develop 2015-01-13 16:16:28 +01:00
Laurent Destailleur
033e77c04a Merge remote-tracking branch 'origin/3.7' into develop
Conflicts:
	htdocs/product/stock/product.php
2015-01-13 15:41:45 +01:00
Laurent Destailleur
8b3faf46db Add PMP into selection of buy price. 2015-01-13 15:38:59 +01:00
Laurent Destailleur
e379b2f802 Merge remote-tracking branch 'origin/3.7' into develop
Conflicts:
	htdocs/product/stock/product.php
2015-01-13 15:34:08 +01:00
Laurent Destailleur
e6d016cc48 Fixed: pmp update after makign a stock move. 2015-01-12 20:55:15 +01:00
BENKE Charles
e07bb07bab Update commondocgenerator.class.php
add extrafield on odt lines
2015-01-12 18:18:43 +01:00
Laurent Destailleur
34a1ea4bb8 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2015-01-12 18:16:41 +01:00
Laurent Destailleur
1d2c8bbd4d Fixed: Prices visible into stock tab. 2015-01-12 18:16:24 +01:00
Laurent Destailleur
f8b58605c6 Better organisation of entries into security setup area 2015-01-12 13:21:16 +01:00
Laurent Destailleur
13132ef2ed Better organisation of entries into security setup area 2015-01-12 13:20:27 +01:00
frederic34
173d3aaa90 Translation error messages numbering modules 2015-01-11 11:31:53 +01:00
Laurent Destailleur
be4c5cf9d3 Merge remote-tracking branch 'origin/3.7' into develop 2015-01-10 01:16:31 +01:00
Laurent Destailleur
cd2a9d0e09 Merge remote-tracking branch 'origin/3.7' into develop 2015-01-10 01:07:55 +01:00
Laurent Destailleur
fc78d632d3 Merge remote-tracking branch 'origin/3.7' into develop
Conflicts:
	htdocs/compta/facture.php
	htdocs/contrat/class/contrat.class.php
	htdocs/core/lib/company.lib.php
	htdocs/core/lib/functions.lib.php
	htdocs/main.inc.php
2015-01-09 23:09:10 +01:00
Laurent Destailleur
027c9c4d98 Merge pull request #2226 from fentman/patch-1
Change to $listofcurrenciesbefore for GBP + AUD
2015-01-09 22:54:37 +01:00
Laurent Destailleur
e24a668c52 Merge pull request #2225 from frederic34/psr2
Psr2
2015-01-09 22:53:06 +01:00
Laurent Destailleur
1cc4c8513e Merge pull request #2224 from KreizIT/batch_transfert
Allow warehouse transfer for batched product
2015-01-09 22:46:40 +01:00
Laurent Destailleur
baeff1dcec Merge pull request #2228 from frederic34/tooltip
Add some "classfortooltip"
2015-01-09 22:44:14 +01:00
Laurent Destailleur
c026c2abd2 Merge pull request #2227 from fentman/patch-2
Update en_AU separator from comma to full stop
2015-01-09 22:37:29 +01:00
frederic34
60661ae948 Add some "classfortooltip" 2015-01-09 00:07:54 +01:00
frederic34
73fda2cb86 WIP PSR2 2015-01-08 18:36:03 +01:00
fentman
166bbeb8e9 Update en_AU separator from comma to full stop
Updating the en_AU Main Language - Decimal Separator from a Comma to a Full Stop
2015-01-08 11:27:32 +11:00
fentman
742ec954cd Change to $listofcurrenciesbefore for GBP + AUD
Update of functions.lib.php - function price()
$listofcurrenciesbefore to include USD, GBP, and AUD to support $ and £ appearing before amounts on invoices not after the amount
2015-01-08 11:21:25 +11:00
Raphaël Doursenaud
50c2b75ef8 Invoices: added situation (or interim) invoices support 2015-01-06 17:12:13 +01:00
KreizIT
ce3a60b2a3 Allow warehouse transfer for batched product 2015-01-06 13:23:51 +01:00
Laurent Destailleur
f7dd4a1357 Merge pull request #2222 from KreizIT/batch_improvement
Fix / Improve : [ bug #1747 ] Remove creation of batch 'Undefined'
2015-01-06 00:26:22 +01:00
Laurent Destailleur
ce1cad2801 Merge pull request #2207 from frederic34/patch-3
Enhance select_categories with select2
2015-01-06 00:17:43 +01:00
Laurent Destailleur
6ca90ffdad Merge pull request #2206 from defrance69/patch-41
Update card.php
2015-01-06 00:17:12 +01:00
Laurent Destailleur
28fe8061c4 Merge pull request #2201 from IonAgorria/project-year-filter
Project searching by year
2015-01-06 00:13:37 +01:00
Laurent Destailleur
2ef9b4def6 Merge pull request #2198 from frederic34/patch-7
Typo
2015-01-06 00:08:41 +01:00
Laurent Destailleur
6916fffbe2 Merge pull request #2197 from frederic34/patch-5
Attribut width not allowed with div or span
2015-01-06 00:08:08 +01:00
Laurent Destailleur
38be767a7c Merge pull request #2216 from frederic34/patch-10
Update cidlookup.php
2015-01-06 00:06:17 +01:00
Laurent Destailleur
d98f3937c8 Merge pull request #2217 from grandoc/develop
better translation and typo
2015-01-06 00:05:53 +01:00
Laurent Destailleur
e9a9ade30f Merge pull request #2218 from ndrosis/patch-12
Fix Lang for cashdesk Check Payment Type
2015-01-05 23:52:48 +01:00
KreizIT
a7fc2b3779 Fix / Improve : [ bug #1747 ] Remove creation of batch 'Undefined' 2015-01-05 17:55:59 +01:00
Drosis Nikos
a5572eb200 Fix Lang for cashdesk Check Payment Type 2015-01-02 18:15:14 +02:00
philippe grand
96e6c66365 better translation and typo 2015-01-01 11:24:00 +01:00
Laurent Destailleur
baa247ea86 Fixed: doxygen 2014-12-30 21:24:57 +01:00
Laurent Destailleur
d72d056e02 Enhance look for contacts forms of thirdparties. 2014-12-30 21:04:02 +01:00
Frédéric FRANCE
ddcd086ada Update cidlookup.php 2014-12-30 18:11:55 +01:00
Frédéric FRANCE
15c98ff2e1 Update cidlookup.php 2014-12-30 17:59:40 +01:00
Laurent Destailleur
8abbac564b Merge remote-tracking branch 'origin/3.7' into develop
Conflicts:
	htdocs/filefunc.inc.php
	htdocs/main.inc.php
2014-12-30 04:28:09 +01:00
Frédéric FRANCE
56dd276504 Enhance search_categories with select2 2014-12-28 15:17:54 +01:00
frederic34
9c2c338dc0 Typo on variable 2014-12-28 14:21:54 +01:00
BENKE Charles
da0d0838e2 Update card.php
don't show line with empty duration when FICHINTER_HIDE_EMPTY_DURATION is active
2014-12-28 13:20:51 +01:00
frederic34
e937039596 Merge remote branch 'upstream/develop' into printipp 2014-12-28 11:59:58 +01:00
frederic34
310be3d3b6 Update lib with github.com/mfly/php-ipp 2014-12-28 11:29:53 +01:00
Ion Agorria
bdd7e9df23 Added searching using year 2014-12-28 03:39:30 +01:00
Ion Agorria
af15fe7dad Merge remote-tracking branch 'upstream/develop' into develop 2014-12-28 02:54:51 +01:00
Ion Agorria
250a995de8 Bug? 2014-12-28 02:54:42 +01:00
Ion Agorria
5bbcb58b44 Added expressions for product/service prices 2014-12-28 01:26:41 +01:00
Frédéric FRANCE
6e69d5c4bd Typo 2014-12-27 11:28:10 +01:00
Frédéric FRANCE
dc18759c6c Attribut width not allowed with div or span 2014-12-27 11:15:26 +01:00
Laurent Destailleur
36f5715e47 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2014-12-27 01:13:30 +01:00
Laurent Destailleur
613d1b381b Doxygen 2014-12-27 01:10:42 +01:00
Laurent Destailleur
29db4d4670 Merge pull request #2194 from atm-maxime/develop
in PDF, no line jump after doc linked ref. Fix bug 1605.
2014-12-26 22:07:55 +01:00
Laurent Destailleur
0496d81b6a Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2014-12-26 22:04:41 +01:00
Laurent Destailleur
5d80061caf Mark property error as deprecated 2014-12-26 22:04:16 +01:00
Maxime Kohlhaas
e7ebb78ffd in PDF, no line jump after doc linked ref. Fix bug 1605. 2014-12-26 11:09:46 +01:00
Juanjo Menent
a901329a7d Fix: Bad order field value 2014-12-26 09:43:55 +01:00
Laurent Destailleur
d8557d8af0 Fixed: label 2014-12-26 05:16:00 +01:00
Laurent Destailleur
5ead994955 Merge remote-tracking branch 'origin/3.7' into develop
Conflicts:
	ChangeLog
2014-12-26 04:57:55 +01:00
Laurent Destailleur
3a7bd794a5 Merge pull request #2181 from frederic34/patch-13
Update list.php
2014-12-25 23:26:14 +01:00
Laurent Destailleur
d8783f661c Merge pull request #2180 from frederic34/patch-12
Add css badge
2014-12-25 23:25:36 +01:00
Laurent Destailleur
4bbf16e277 Merge pull request #2178 from frederic34/patch-10
Add css badge
2014-12-25 23:25:30 +01:00
Laurent Destailleur
2c350d1cc8 Merge pull request #2179 from frederic34/patch-11
Add css badge
2014-12-25 23:19:14 +01:00
Laurent Destailleur
40404530ba Fixed: [ bug #1756 ] PHP error while removing an import profile 2014-12-25 12:09:00 +01:00
Laurent Destailleur
bd7f6339ce Because this is a legal issue (OPCA), i added the hidden constant for
3.7: WORKFLOW_PROPAL_CAN_CLASSIFY_BILLED_WITHOUT_INVOICES => Button
"Classified Billed" is visible on proposal even if there is no invoice
linked to proposal.
Fixed: Also fix get list of invoice that report too many data.
2014-12-25 12:08:35 +01:00
Laurent Destailleur
dc4a874e70 Fixed: [ bug #1690 ] Sorting on salary table triggers SQL errors 2014-12-25 12:08:10 +01:00
Laurent Destailleur
08fd74e79e Fix: [ bug #1687 ] The ref filter searches on ref and rowid in supplier
invoices list
2014-12-25 12:07:27 +01:00
Laurent Destailleur
2c170dbe0e Fixed: Do not show disabled user when creating a new event. 2014-12-25 12:04:39 +01:00
Laurent Destailleur
34ef373b3a Fixed: Filter lost with navigation 2014-12-25 12:00:49 +01:00
Juanjo Menent
73b47427d8 Update ChangeLog 2014-12-24 15:41:11 +01:00
Juanjo Menent
65eef3587a Merge pull request #2166 from defrance69/patch-36
Update functions.lib.php
2014-12-24 15:38:48 +01:00
Marcos García de La Fuente
ee1bc22e79 Fix: [ bug #1722 ] Missing link in homepage project's box 2014-12-24 14:42:47 +01:00
Marcos García de La Fuente
294753dc47 Fix: [ bug #1736 ] Failing supplier Elephant numeration module with some
masks

Conflicts:
	htdocs/core/lib/functions2.lib.php
2014-12-24 14:32:25 +01:00
Frédéric FRANCE
17eebf750e Update list.php
ship2bill.php doesn't exist
2014-12-24 00:28:05 +01:00
Frédéric FRANCE
8e06329f8d Add css badge 2014-12-23 21:26:34 +01:00
Frédéric FRANCE
7001cd0283 Update index.php 2014-12-23 20:11:13 +01:00
Frédéric FRANCE
6b29c8e5c6 Update index.php 2014-12-23 19:06:51 +01:00
BENKE Charles
b45bd06475 Update functions.lib.php
Add feature to limit the number of tabs in a card (based on google menu practice)
function actived with MAXTABS_IN_CARD dictionnary
watch result here : http://www.dolibarr.fr/forum/12-howto--aide/52135-tuto-ajouter-a-un-doc-pdf-un-extrafields#56008
or here.
All the code is in one function, need to explode/refactoring it on diferent css
2014-12-22 12:26:04 +01:00
Laurent Destailleur
8e613764c5 Merge pull request #2165 from defrance69/patch-35
Patch 35
2014-12-22 09:53:36 +01:00
Laurent Destailleur
2a3bb96c34 Merge remote-tracking branch 'origin/3.7' into develop
Conflicts:
	htdocs/core/class/html.form.class.php
	htdocs/core/lib/ecm.lib.php
2014-12-22 03:14:22 +01:00
Laurent Destailleur
90d275bd20 Fix comment 2014-12-22 02:53:55 +01:00
Laurent Destailleur
c9db04985e Update image for menu 2014-12-22 02:53:33 +01:00
Laurent Destailleur
a519df5d00 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2014-12-22 01:43:20 +01:00
frederic34
3bf63ed0a9 Merge remote branch 'upstream/develop' into printipp 2014-12-21 14:59:37 +01:00
BENKE Charles
7cca53ed04 Update style.css.php 2014-12-21 14:26:46 +01:00
BENKE Charles
e802b934fa Update style.css.php 2014-12-21 14:26:22 +01:00
BENKE Charles
7e9596c971 Update style.css.php 2014-12-21 14:25:54 +01:00
BENKE Charles
932fadbdbd Update style.css.php
harmonisation with eldy theme for tabs feature
2014-12-21 14:24:55 +01:00
Laurent Destailleur
348e829594 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2014-12-20 14:27:14 +01:00
Laurent Destailleur
98019dd526 Enhance scrutinizer 2014-12-20 14:26:58 +01:00
Laurent Destailleur
cea500ef80 Merge remote-tracking branch 'origin/3.7' into develop
Conflicts:
	htdocs/core/class/html.form.class.php
	htdocs/core/lib/ajax.lib.php
2014-12-20 13:06:08 +01:00
Laurent Destailleur
2d040e51f8 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2014-12-20 11:36:52 +01:00
Laurent Destailleur
27f26bba27 Fixed: Missing test 2014-12-20 11:17:04 +01:00
Laurent Destailleur
5bcb195c15 Update codesniffer to remove travis errors. 2014-12-20 00:14:53 +01:00
Laurent Destailleur
78ef12cc0d Merge remote-tracking branch 'origin/3.7' into develop 2014-12-19 19:12:05 +01:00
Laurent Destailleur
c3ac607e4f Merge remote-tracking branch 'origin/3.7' into develop
Conflicts:
	dev/codesniffer/ruleset.xml
2014-12-18 23:56:40 +01:00
Laurent Destailleur
1fa6eea89e Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2014-12-18 23:50:09 +01:00
Laurent Destailleur
ad515ef5e5 Exclude test 2014-12-18 23:49:07 +01:00
Juanjo Menent
d16023a6b7 Trad: Update es_ES from transifex 2014-12-18 22:59:45 +01:00
Laurent Destailleur
118a9aad20 Merge pull request #2012 from frederic34/patch-1
Update card.php
2014-12-18 22:46:35 +01:00
Laurent Destailleur
17fb850203 Merge pull request #2154 from defrance69/patch-34
Update facture.php
2014-12-18 22:45:17 +01:00
Laurent Destailleur
8ad0974662 Merge pull request #2153 from defrance69/patch-33
Update card.php
2014-12-18 22:42:00 +01:00
Laurent Destailleur
7fc2975928 Merge pull request #2152 from defrance69/patch-32
Update fichinter.class.php
2014-12-18 22:41:21 +01:00
Laurent Destailleur
53c2086d4b Merge pull request #2147 from csv115/develop_hook_contract
hooks more button function on contract card
2014-12-18 22:39:21 +01:00
Laurent Destailleur
4769e26d8e Merge remote-tracking branch 'origin/3.7' into develop
Conflicts:
	ChangeLog
2014-12-18 12:34:41 +01:00
Laurent Destailleur
3aee8fa96b Merge pull request #2155 from grandoc/develop
button should be within form
2014-12-18 10:01:55 +01:00
Laurent Destailleur
ff4f5c3fa3 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2014-12-17 13:31:06 +01:00
Laurent Destailleur
52b64f3441 CSS 2014-12-17 13:27:44 +01:00
Laurent Destailleur
6b24a9128e Merge pull request #2150 from grandpaul/taiwanvat
Add Taiwan VAT 5%
2014-12-16 17:09:07 +01:00
Philippe GRAND
8878ef601f form should open before table 2014-12-16 15:34:56 +01:00
Philippe GRAND
cf196c77fb one close form too much 2014-12-16 15:15:03 +01:00
Philippe GRAND
69c1de3fe1 one close form too much, an other at the wrong place 2014-12-16 15:07:23 +01:00
Philippe GRAND
e40ef3f9ce form closed at the wrong place 2014-12-16 14:49:07 +01:00
Philippe GRAND
dd6d6bc054 open form was at the wrong place
missing close form
2014-12-16 14:43:28 +01:00
Philippe GRAND
97b58e57df Merge branch 'develop' of https://github.com/Dolibarr/dolibarr.git into develop 2014-12-16 13:57:16 +01:00
Laurent Destailleur
0cd29b3343 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2014-12-15 23:24:47 +01:00
Philippe GRAND
27c0e6b4d3 balise form should close after table 2014-12-15 19:15:26 +01:00
Ying-Chun Liu (PaulLiu)
71c5f81bdf Handle updates for Taiwan VAT.
Signed-off-by: Ying-Chun Liu (PaulLiu) <paulliu@debian.org>
2014-12-16 00:48:35 +08:00
Philippe GRAND
3d510ef346 closing tag twice 2014-12-15 11:19:14 +01:00
Philippe GRAND
fedd05cbcc button should be within form 2014-12-15 11:05:47 +01:00
Laurent Destailleur
a8c6417604 Merge remote-tracking branch 'origin/3.7' into develop 2014-12-15 10:33:14 +01:00
BENKE Charles
135d6c1d1f Update facture.php
if socid is filled and send, they no need to get the thirdparty of the object
2014-12-14 18:03:30 +01:00
BENKE Charles
729134aad4 Update card.php
add INTERVENTION_ADDLINE_FREEDUREATION in update line too
2014-12-14 17:04:56 +01:00
BENKE Charles
83d3ee45ee Update fichinter.class.php
simplify the libstatut management and allow enhancing mode
2014-12-14 14:44:28 +01:00
Laurent Destailleur
8a6f7df186 Merge remote-tracking branch 'origin/3.7' into develop 2014-12-14 12:37:20 +01:00
Laurent Destailleur
711b033844 Merge remote-tracking branch 'origin/3.7' into develop
Conflicts:
	htdocs/contrat/card.php
	htdocs/core/class/html.form.class.php
	htdocs/product/stock/card.php
2014-12-14 12:35:13 +01:00
Ying-Chun Liu (PaulLiu)
81c9d12313 Add Taiwan VAT 5%
The most common VAT in Taiwan is 5%. This commit adds the VAT for Taiwan.

Signed-off-by: Ying-Chun Liu (PaulLiu) <paulliu@debian.org>
2014-12-13 21:41:29 +08:00
frederic34
74f8f83432 WIP Printing 2014-12-13 13:53:48 +01:00
Juanjo Menent
64507c3af1 Trad: Update es_ES from transifex 2014-12-13 01:30:39 +01:00
frederic34
df28ce77c0 Some progress on Printing 2014-12-11 21:58:56 +01:00
Laurent Destailleur
a0112ba724 Better position of elements 2014-12-11 21:38:53 +01:00
csv115
bc4e6d4c7e hooks more button function on contract card 2014-12-11 16:17:37 +01:00
Laurent Destailleur
514abcb9f6 Merge pull request #2144 from frederic34/patch-8
Typo
2014-12-10 11:35:06 +01:00
Laurent Destailleur
4b3e962139 Merge pull request #2142 from frederic34/patch-6
Typo
2014-12-10 11:34:39 +01:00
Laurent Destailleur
fd8219e187 Merge pull request #2143 from frederic34/patch-7
Typo
2014-12-10 11:34:28 +01:00
Laurent Destailleur
45d78c8c89 Merge pull request #2141 from frederic34/patch-5
Typo
2014-12-10 11:33:41 +01:00
Laurent Destailleur
b7c476d339 Merge pull request #2139 from frederic34/patch-3
Use same size for select_produits_fournisseur and select_produits
2014-12-10 11:30:57 +01:00
Laurent Destailleur
806fdf731f Merge pull request #2140 from frederic34/patch-4
Truncate label different for small or big screen
2014-12-10 11:30:29 +01:00
frederic34
608f4a7d7d Some correct html 2014-12-09 23:37:04 +01:00
Frédéric FRANCE
090b18f44d Typo 2014-12-09 23:23:10 +01:00
Frédéric FRANCE
37e5a97f84 Typo 2014-12-09 23:07:41 +01:00
Frédéric FRANCE
dd2b19d855 Typo 2014-12-09 22:45:27 +01:00
Frédéric FRANCE
275ba0e3de Typo 2014-12-09 22:21:51 +01:00
Frédéric FRANCE
9f1ec0e710 Update html.form.class.php 2014-12-09 20:52:55 +01:00
Frédéric FRANCE
66f634f217 Update functions.lib.php 2014-12-09 20:47:54 +01:00
Frédéric FRANCE
6a01b6982e Update html.form.class.php 2014-12-09 20:20:52 +01:00
Frédéric FRANCE
590618eb38 Update functions.lib.php 2014-12-09 20:17:13 +01:00
Frédéric FRANCE
34b42ba798 Truncate label different for small or big screen 2014-12-09 18:47:12 +01:00
Frédéric FRANCE
8cae2f1448 Use same size for select_produits_fournisseur and select_produits 2014-12-09 16:21:44 +01:00
frederic34
6b4d7b973b Some changes 2014-12-08 23:30:17 +01:00
frederic34
16d860b3f7 Lang Correction 2014-12-08 22:17:28 +01:00
frederic34
715d0f18db Lang correction 2014-12-08 21:52:53 +01:00
frederic34
9bb1999dc2 Some correct 2014-12-08 21:07:24 +01:00
frederic34
295fe115ab Merge remote branch 'upstream/develop' into printipp 2014-12-08 20:33:50 +01:00
frederic34
be60c13de6 WIP Printing System 2014-12-08 20:33:26 +01:00
Laurent Destailleur
0ea7d51b22 Fixed: Several fix in color management (function at wrong place, mark
param that are deprecated, convertion of value to get correct
format in all situation)
2014-12-08 19:05:22 +01:00
Laurent Destailleur
e95160c218 Merge remote-tracking branch 'origin/3.7' into develop
Conflicts:
	htdocs/user/agenda_extsites.php
2014-12-08 17:51:36 +01:00
Laurent Destailleur
4d7f3cb741 Fixed: Pb of wrapping login page
New: Use placeholder
2014-12-08 02:41:21 +01:00
Laurent Destailleur
ef73201b3e Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2014-12-08 00:11:21 +01:00
Laurent Destailleur
37b5de83b0 git push origin developMerge branch 'aspangaro-develop-html5' into develop 2014-12-08 00:10:30 +01:00
Laurent Destailleur
d7dd496239 Merge branch 'develop-html5' of https://github.com/aspangaro/dolibarr into aspangaro-develop-html5 2014-12-08 00:09:01 +01:00
Laurent Destailleur
c3734b1a88 Merge pull request #2103 from grandoc/develop
add default payment mode select
2014-12-08 00:03:05 +01:00
Laurent Destailleur
6ddae270b9 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2014-12-07 23:52:02 +01:00
Laurent Destailleur
ec0c7476fb Work on select2 prototype. 2014-12-07 23:51:36 +01:00
Laurent Destailleur
634a9d8402 Merge remote-tracking branch 'origin/3.7' into develop
Conflicts:
	htdocs/core/lib/functions.lib.php
2014-12-07 19:19:48 +01:00
Laurent Destailleur
3186a8c23f Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2014-12-07 12:07:53 +01:00
Laurent Destailleur
c731321024 New: Function yn can show a visual checkbox 2014-12-07 01:57:23 +01:00
Laurent Destailleur
1ad4ae5c78 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2014-12-06 14:06:07 +01:00
Laurent Destailleur
71683d20cf Update doc 2014-12-06 14:05:51 +01:00
Juanjo Menent
c655af6135 Trad: Create es_ES productbatch from transifex 2014-12-06 11:06:34 +01:00
Juanjo Menent
fe23a851e7 Fix: datepicker first day of week can be monday by setting into
display setup
2014-12-06 11:03:48 +01:00
Juanjo Menent
6720d3d706 Trad: Update es_ES from transifex 2014-12-06 01:27:11 +01:00
Florian HENRY
99f817b69a - New: Add Option to not change date on cloning project 2014-12-05 21:40:55 +01:00
Florian HENRY
b5ac417431 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2014-12-05 21:33:31 +01:00
Laurent Destailleur
72c3954f36 Merge remote-tracking branch 'origin/3.7' into develop
Conflicts:
	.travis.yml
2014-12-05 21:12:35 +01:00
Laurent Destailleur
344aa40858 Merge remote-tracking branch 'origin/3.7' into develop
Conflicts:
	.travis.yml
	dev/codesniffer/ruleset.xml
	htdocs/core/class/conf.class.php
	htdocs/langs/en_US/productbatch.lang
2014-12-05 20:21:40 +01:00
Laurent Destailleur
5f353c39d1 Fix: PHPCS 2014-12-05 20:18:30 +01:00
Laurent Destailleur
efe2719f48 Fix: PHPCS 2014-12-05 20:12:32 +01:00
Laurent Destailleur
5755a046c5 Fix: PHPCS 2014-12-05 19:25:08 +01:00
Laurent Destailleur
17c6f84061 Update doc 2014-12-05 19:18:53 +01:00
frederic34
5cce8c45e3 WIP PrintIPP 2014-12-05 18:23:54 +01:00
Laurent Destailleur
ed5b89f7f1 Update doc 2014-12-05 17:55:18 +01:00
Laurent Destailleur
4ad93cd069 Fix: PHPCS 2014-12-05 17:49:27 +01:00
Laurent Destailleur
a5bdf952ee Fix: PHPCS 2014-12-05 17:44:47 +01:00
Laurent Destailleur
4e181e3763 End test 2014-12-05 16:36:37 +01:00
Laurent Destailleur
b92e2520ea Test travis 2014-12-05 16:08:12 +01:00
Laurent Destailleur
41c9929613 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2014-12-05 16:01:23 +01:00
Laurent Destailleur
5457d3116a Fix: Maxi debug of module productbatch. 2014-12-05 16:01:01 +01:00
Laurent Destailleur
ceba894d57 Start to work on new generation combo box. 2014-12-05 13:26:47 +01:00
Laurent Destailleur
168e97e6ee Test 2014-12-05 01:28:59 +01:00
Laurent Destailleur
b702439bdd Test 2014-12-05 00:39:35 +01:00
Laurent Destailleur
6729544782 Merge remote-tracking branch 'origin/3.7' into develop
Conflicts:
	htdocs/projet/tasks/task.php
2014-12-04 14:52:34 +01:00
Laurent Destailleur
860d0b0820 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2014-12-04 11:29:10 +01:00
Laurent Destailleur
5dbfaec9f8 Enable option PROJECT_CAN_ALWAYS_LINK_TO_ALL_SUPPLIERS by default 2014-12-04 11:18:40 +01:00
Laurent Destailleur
c8c1f7414a Fix: syntax error 2014-12-04 01:23:39 +01:00
Laurent Destailleur
475d749a97 Fix: phpcheckstyle 2014-12-04 01:11:13 +01:00
Laurent Destailleur
557dcf9a20 Include migration script for 3.8 into travis 2014-12-04 00:25:27 +01:00
Laurent Destailleur
6cc46e1985 Include migration script for 3.8 into travis 2014-12-04 00:24:52 +01:00
Laurent Destailleur
f54f14ae04 Fix: W3C table with no tr 2014-12-03 17:16:38 +01:00
Laurent Destailleur
1e8e4e7fda Prepare 3.8 dev
Fix bad test.
Renamed table for dynamic prices.
2014-12-03 17:06:44 +01:00
Alexandre SPANGARO
6b3acaa7df Merge pull request #1 from frederic34/patch-6
Update main.inc.php
2014-12-03 14:11:52 +01:00
Laurent Destailleur
cdba9b8972 Fix language file 2014-12-03 13:56:38 +01:00
Laurent Destailleur
c614e62c5b Merge remote-tracking branch 'origin/3.7' into develop 2014-12-03 13:29:51 +01:00
Laurent Destailleur
98e91bffca Merge branch 'IonAgorria-dinamic-prices' into develop 2014-12-03 13:15:59 +01:00
Laurent Destailleur
1653384415 Merge branch 'dinamic-prices' of github.com:IonAgorria/dolibarr into IonAgorria-dinamic-prices 2014-12-03 13:14:35 +01:00
Laurent Destailleur
f884f16564 Merge remote-tracking branch 'origin/3.7' into develop
Conflicts:
	htdocs/admin/boxes.php
	htdocs/comm/action/card.php
	htdocs/core/class/html.formfile.class.php
2014-12-03 12:54:42 +01:00
Laurent Destailleur
07e952a709 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2014-12-03 12:47:37 +01:00
Laurent Destailleur
1a67ae10a4 Merge pull request #2119 from frederic34/patch-7
Fix missing space
2014-12-03 12:46:44 +01:00
Laurent Destailleur
b39b970e52 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2014-12-03 12:24:16 +01:00
Laurent Destailleur
6a09bca21e Merge pull request #2120 from frederic34/patch-8
Update admin config for boxes
2014-12-03 12:24:03 +01:00
Laurent Destailleur
e90996b2de Merge pull request #2121 from frederic34/patch-10
Fix missing </div>
2014-12-03 12:21:29 +01:00
Laurent Destailleur
8f20de603a Merge pull request #2122 from frederic34/patch-11
Update objectline_view.tpl.php
2014-12-03 12:20:34 +01:00
Laurent Destailleur
3a476d0daf Merge pull request #2123 from frederic34/patch-12
Update card.php
2014-12-03 12:20:00 +01:00
Laurent Destailleur
93e87975b2 Merge pull request #2124 from frederic34/patch-13
Enhance lisibility of html code
2014-12-03 12:19:13 +01:00
Laurent Destailleur
d211f8f971 Merge pull request #2126 from frederic34/patch-15
Update main.inc.php
2014-12-03 12:18:50 +01:00
Laurent Destailleur
a25b86d03b Merge pull request #2129 from defrance69/patch-31
Update supplierinvoice_extrafields.php
2014-12-03 12:17:18 +01:00
Laurent Destailleur
577671e208 Exclude editorconfig from packages 2014-12-03 12:05:31 +01:00
Laurent Destailleur
d87b3ba614 Merge pull request #2115 from frederic34/patch-5
Add EditorConfig see http://editorconfig.org/
2014-12-02 19:57:15 +01:00
Laurent Destailleur
a796fea1c8 Merge pull request #2114 from frederic34/patch-4
Fix mix of space and nbsp
2014-12-02 19:56:04 +01:00
Laurent Destailleur
c8e1c2bff4 Merge pull request #2113 from frederic34/patch-3
Fix missing /form
2014-12-02 19:54:46 +01:00
Laurent Destailleur
58b8f5b3a5 Merge pull request #2125 from frederic34/patch-14
Fix replace </td> by </th>
2014-12-02 19:52:11 +01:00
Laurent Destailleur
758bbb27db Merge pull request #2127 from frederic34/patch-16
Fix Typo
2014-12-02 19:50:56 +01:00
Laurent Destailleur
7868d286d3 Update debian tuto 2014-12-02 14:42:21 +01:00
BENKE Charles
3c12d5f420 Update supplierinvoice_extrafields.php
add orders translation files for correct menu translation error
2014-12-02 10:36:48 +01:00
Philippe GRAND
e18196eac6 to avoid undefined method 2014-12-01 16:50:27 +01:00
Philippe GRAND
d7dcd153f0 missing close form 2014-12-01 12:21:54 +01:00
Philippe GRAND
b33612d231 close form should be outside button 2014-12-01 12:09:05 +01:00
Philippe GRAND
9118ef7c8f form should be outside table and close form was twice 2014-12-01 12:03:23 +01:00
Philippe GRAND
cef835cd2d Merge branch 'develop' of https://github.com/Dolibarr/dolibarr into develop 2014-12-01 11:27:46 +01:00
Laurent Destailleur
da6f3a692b Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2014-12-01 01:11:42 +01:00
Laurent Destailleur
2db6258cb7 Fixed: Button at wrong place 2014-12-01 00:52:38 +01:00
Frédéric FRANCE
3e3dbb1280 Update main.inc.php 2014-11-30 23:53:51 +01:00
Frédéric FRANCE
d0c9b6e9ef Fix Typo 2014-11-30 23:23:30 +01:00
Frédéric FRANCE
b3418b92a3 Update main.inc.php 2014-11-30 23:05:30 +01:00
Frédéric FRANCE
222c275378 Update index.php 2014-11-30 23:04:01 +01:00
Frédéric FRANCE
a3d843f698 Update commonobject.class.php 2014-11-30 22:06:58 +01:00
Frédéric FRANCE
dd18c980fc Update html.form.class.php 2014-11-30 22:00:16 +01:00
Frédéric FRANCE
467274b79b Update card.php 2014-11-30 21:57:10 +01:00
Frédéric FRANCE
ddee145c66 Update objectline_view.tpl.php 2014-11-30 20:28:41 +01:00
Frédéric FRANCE
f1fa7e720a Fix missing </div> 2014-11-30 18:33:00 +01:00
Frédéric FRANCE
aade7309e0 Update boxes.php 2014-11-30 15:56:57 +01:00
Laurent Destailleur
ef4bdcdb2a Merge remote-tracking branch 'origin/3.7' into develop 2014-11-30 15:43:04 +01:00
Ion Agorria
c6e4ff3c41 Renamed module desc file 2014-11-30 15:41:49 +01:00
Ion Agorria
c36f94a9a3 Fixed dinamic typo to dynamic 2014-11-30 15:14:25 +01:00
Laurent Destailleur
01209ff844 Merge remote-tracking branch 'origin/3.7' into develop
Conflicts:
	htdocs/product/stock/card.php
2014-11-30 14:15:38 +01:00
Frédéric FRANCE
18f2cfbeac Fix missing space 2014-11-30 13:28:09 +01:00
Frédéric FRANCE
ca3f4a09f4 Update main.inc.php 2014-11-30 13:07:13 +01:00
Ion Agorria
004d88fe0b Fixed error when creating a price selecting a expression without filling the numeric price 2014-11-30 02:15:16 +01:00
Laurent Destailleur
06df952e57 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2014-11-29 12:40:20 +01:00
Laurent Destailleur
0a7255ccc1 Fixed: Module for target emailing must not be visible when modules is
disabled.
2014-11-29 12:38:36 +01:00
aspangaro
3db2e46fc6 Typo 2014-11-29 07:41:51 +01:00
aspangaro
30bff7ef28 Need to enable MAIN_ACTIVATE_HTML5 to insert meta balise viewport 2014-11-29 07:12:12 +01:00
aspangaro
c27e2676e3 Modify presentation of login page 2014-11-29 07:08:35 +01:00
aspangaro
64260cde72 Add button in admin->GUISetup to activate Html5 2014-11-29 07:07:27 +01:00
Ion Agorria
4ce8719d98 Fix lang typo 2014-11-29 06:37:49 +01:00
Ion Agorria
6c37d03f13 Added language entries for dinamic prices 2014-11-29 06:32:33 +01:00
Ion Agorria
0fafe3f7d2 Required SQL changes for dinamic prices 2014-11-29 06:31:54 +01:00
Ion Agorria
fac46b3b46 Code for dinamic prices funcionality 2014-11-29 06:31:35 +01:00
Ion Agorria
48e1f4ec55 Library for evaluating math expresions 2014-11-29 06:30:26 +01:00
Frédéric FRANCE
75e61a023f Add EditorConfig see http://editorconfig.org/
Feel free to add the plugin to your favorite editor (if exists)
2014-11-28 15:58:04 +01:00
Philippe GRAND
d156e1ba82 form should be outside table 2014-11-28 12:51:08 +01:00
Philippe GRAND
15311fb643 form should not be inside table 2014-11-28 12:41:53 +01:00
Philippe GRAND
c3d66b037d Revert "add default payment mode select"
This reverts commit 917423dc0c.
2014-11-28 10:35:02 +01:00
Frédéric FRANCE
369f802112 Fix mix of space and nbsp 2014-11-28 08:50:37 +01:00
Frédéric FRANCE
bff209a895 Fix missing /form 2014-11-28 08:25:51 +01:00
aspangaro
1c89186652 Merge remote-tracking branch 'Upstream/develop' into develop-html5 2014-11-28 06:20:01 +01:00
Laurent Destailleur
a724c3aa70 Merge remote-tracking branch 'origin/3.7' into develop
Conflicts:
	htdocs/main.inc.php
2014-11-28 02:26:40 +01:00
Laurent Destailleur
06894a196c Merge pull request #2112 from frederic34/patch-2
Put form outside table
2014-11-28 01:18:54 +01:00
Laurent Destailleur
44b81ad29c Merge pull request #2074 from marcosgdf/bug-1642
Fixed [ bug #1642 ]: add a free line in contract
2014-11-28 01:14:23 +01:00
Laurent Destailleur
bca0ccb4e3 Merge pull request #2088 from marcosgdf/bug-1691
Fixed [ bug #1691 ] Don't think the ID should be displayed in holiday module
2014-11-28 01:01:52 +01:00
Frédéric FRANCE
523afc3943 Put form outside table 2014-11-28 00:57:40 +01:00
Laurent Destailleur
806719b562 Merge pull request #2089 from marcosgdf/bug-1718
Fixed [ bug #1718 ] Mistakenly searching for text in amount field breaks
2014-11-28 00:37:56 +01:00
Laurent Destailleur
d9cb9c1585 Merge pull request #2102 from aspangaro/develop-center
Task 1603 - Remove <center> deprecated HTML5 tags
2014-11-27 23:58:44 +01:00
Laurent Destailleur
f01c5d0ea3 Merge pull request #2111 from frederic34/patch-13
Update Invoice Preview to be like order and propal preview
2014-11-27 23:25:49 +01:00
Laurent Destailleur
e6d200d83a Merge pull request #2104 from frederic34/patch-10
Rearrange Help Block in left menu
2014-11-27 23:19:18 +01:00
Frédéric FRANCE
bc58641828 Update Invoice Preview to be like order and propal preview 2014-11-27 22:07:18 +01:00
Laurent Destailleur
60e5369db2 Merge remote-tracking branch 'origin/3.7' into develop
Conflicts:
	htdocs/bookmarks/card.php
2014-11-27 22:01:02 +01:00
Laurent Destailleur
d4ac3c96dd Merge pull request #2108 from frederic34/patch-14
Update Order Preview
2014-11-27 21:50:21 +01:00
Laurent Destailleur
6f3dde8a9b Merge pull request #2109 from frederic34/patch-15
Update Invoice Preview
2014-11-27 21:50:09 +01:00
Frédéric FRANCE
6483b34d0d Update apercu.php 2014-11-27 21:03:51 +01:00
aspangaro
b98c0a3208 Login - Better presentation with RWD 2014-11-27 20:32:29 +01:00
Frédéric FRANCE
950fad9227 Update apercu.php 2014-11-27 17:49:48 +01:00
Philippe GRAND
217cacbc29 To avoid over wrighting lines 2014-11-27 17:26:06 +01:00
Philippe GRAND
c6602ed26d Merge branch 'develop' of https://github.com/Dolibarr/dolibarr.git into develop 2014-11-27 17:22:20 +01:00
Laurent Destailleur
0fc768fefc Merge pull request #2107 from frederic34/patch-13
Fix 1660 ECM tabs help tooltips not showing
2014-11-27 13:57:01 +01:00
aspangaro
92c093055c Add meta balise for viewport & scale 2014-11-27 05:41:57 +01:00
aspangaro
ea70159a7e Activate the HTML5 Doctype 2014-11-27 05:07:39 +01:00
aspangaro
21f14320cf Untranslatable token in datepicker 2014-11-27 05:07:04 +01:00
Frédéric FRANCE
755732ce58 Update apercu.php 2014-11-26 20:35:08 +01:00
Frédéric FRANCE
96e0ecd1a7 Update Invoice Preview 2014-11-26 20:07:47 +01:00
Frédéric FRANCE
238b139274 Update apercu.php 2014-11-26 19:52:38 +01:00
Frédéric FRANCE
2ee55a39fd Update ecm.lib.php 2014-11-26 18:35:16 +01:00
Frédéric FRANCE
2a25f990ac Fix 1660 ECM tabs help tooltips not showing 2014-11-26 18:33:03 +01:00
Frédéric FRANCE
ebc0f842fc Rearrange Help Block in left menu 2014-11-26 16:48:37 +01:00
Philippe GRAND
917423dc0c add default payment mode select 2014-11-26 14:16:59 +01:00
aspangaro
38d94bac33 Correct login page 2014-11-25 21:47:08 +01:00
aspangaro
559bf93acb Correct 2014-11-25 20:40:00 +01:00
aspangaro
c4c69e191b Replace <center> tags 2014-11-25 20:13:43 +01:00
Marcos García de La Fuente
082f67a6e4 Fixed [ bug #1718 ] Mistakenly searching for text in amount field breaks 2014-11-24 12:49:33 +01:00
Marcos García de La Fuente
d9958efcd7 Fixed [ bug #1691 ] Don't think the ID should be displayed in holiday module 2014-11-24 12:45:46 +01:00
aspangaro
ef991e6c5d HTML5 - <center> is deprecated - Need CSS - continue working 2014-11-24 06:43:15 +01:00
aspangaro
c56af23faa Merge remote-tracking branch 'Upstream/develop' into develop-center 2014-11-24 05:20:59 +01:00
Laurent Destailleur
9b9e6403ae Merge pull request #2081 from marcosgdf/bookmarks
Fixed several problems with bookmarks page
2014-11-24 01:02:31 +01:00
Laurent Destailleur
dc63388746 Merge pull request #2082 from marcosgdf/bug-1679
Fixed [ bug #1679 ] Can't sort groups by user count in user groups list
2014-11-24 01:01:07 +01:00
Laurent Destailleur
71e3eb006d Merge pull request #2087 from aspangaro/develop-search
Add function purge criteria in project module
2014-11-24 00:58:07 +01:00
aspangaro
bbdd25f97c Add function purge criteria in project module 2014-11-23 21:37:45 +01:00
Laurent Destailleur
c3b62ce201 Merge remote-tracking branch 'origin/3.7' into develop 2014-11-23 17:46:57 +01:00
Laurent Destailleur
33eae22b26 Merge pull request #2070 from frederic34/patch-5
(GETPOST("button_removefilter_x") || GETPOST("button_removefilter"))
2014-11-23 17:40:28 +01:00
Marcos García de La Fuente
912384a9fa Fixed [ bug #1679 ] Can't sort groups by user count in user groups list 2014-11-23 17:24:37 +01:00
Marcos García de La Fuente
496a3fcaae Removed unused action of card.php 2014-11-23 17:06:51 +01:00
Marcos García de La Fuente
b76a58b898 Fixed typo 2014-11-23 17:03:25 +01:00
Marcos García de La Fuente
231ad04fbd Highlight of required fields should be only in edit mode 2014-11-23 16:58:46 +01:00
Marcos García de La Fuente
26ab5bdd43 Merge branch 'develop' into bookmarks 2014-11-23 16:54:59 +01:00
Laurent Destailleur
90dcb44076 Merge pull request #2080 from marcosgdf/bug-1661
Fixed[ bug #1661 ] Bookmarks list "Target" translation missing
2014-11-23 16:54:09 +01:00
Marcos García de La Fuente
373bdcf5d7 Fixed problem when editing a bookmark and failing 2014-11-23 16:54:09 +01:00
Laurent Destailleur
9c107790e4 Merge pull request #2079 from marcosgdf/bug-1705
Fixed [ bug #1705 ] Members statistics menu entry strange target
2014-11-23 16:53:54 +01:00
Laurent Destailleur
5b4241582a Merge pull request #2076 from marcosgdf/bug-1658
Fixed [ bug #1658 ] Linked files in supplier invoices wrongly shows amounts
2014-11-23 16:52:55 +01:00
Laurent Destailleur
245a06d433 Merge remote-tracking branch 'origin/3.7' into develop 2014-11-23 16:52:15 +01:00
Laurent Destailleur
99e7004bb6 Merge pull request #2073 from frederic34/patch-8
Fix: W3C. form into table is forbidden.
2014-11-23 16:49:33 +01:00
Marcos García de La Fuente
52eb4943e2 Fixed entities problems in error messages when creating a bookmark 2014-11-23 16:46:48 +01:00
Laurent Destailleur
b83e4cffb0 Debug travis 2014-11-23 16:45:33 +01:00
Marcos García de La Fuente
c40be71dcd Fixed design of new bookmark page 2014-11-23 16:44:49 +01:00
Laurent Destailleur
ed71526fc3 Merge pull request #2078 from marcosgdf/bug-1712
Fixed [ bug #1712 ] Unable to add a social charge
2014-11-23 16:42:38 +01:00
Laurent Destailleur
89e3e3bee3 Debug travis 2014-11-23 16:38:59 +01:00
Laurent Destailleur
ef2c424f8b Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop

Conflicts:
	.travis.yml
2014-11-23 16:36:00 +01:00
Laurent Destailleur
26a652814f Debug travis pb 2014-11-23 16:34:56 +01:00
Laurent Destailleur
be2fe19e03 Debug travis pb 2014-11-23 16:31:37 +01:00
Laurent Destailleur
d2762f5077 Debug travis pb 2014-11-23 16:28:25 +01:00
Marcos García de La Fuente
a1cc95d352 Fixed design of edit page of a bookmark 2014-11-23 16:26:55 +01:00
Marcos García de La Fuente
4f83eea3cf Fixed[ bug #1661 ] Bookmarks list "Target" translation missing 2014-11-23 16:22:38 +01:00
Marcos García de La Fuente
bd765ef3ae Fixed [ bug #1705 ] Members statistics menu entry strange target 2014-11-23 16:17:09 +01:00
Marcos García de La Fuente
7d71974362 Fixed [ bug #1712 ] Unable to add a social charge 2014-11-23 16:14:12 +01:00
Laurent Destailleur
3f06274d5e Debug travis pb 2014-11-23 15:54:59 +01:00
Marcos García de La Fuente
835b359179 Fixed [ bug #1658 ] Linked files in supplier invoices wrongly shows amounts 2014-11-23 15:42:29 +01:00
Laurent Destailleur
6cb3bafd93 Debug travis pb 2014-11-23 15:41:13 +01:00
aspangaro
c80bc52f5c Merge remote-tracking branch 'Upstream/develop' into develop-admin 2014-11-23 13:50:17 +01:00
Marcos García de La Fuente
9f73277ef2 Fixed [ bug #1642 ]: add a free line in contract 2014-11-23 13:14:54 +01:00
Frédéric FRANCE
de48a04844 Fix: W3C. form into table is forbidden. 2014-11-23 12:53:00 +01:00
Frédéric FRANCE
ffb4dd9e3d Update /compta/paiement/cheque/list.php 2014-11-23 10:06:40 +01:00
Frédéric FRANCE
38febad979 Update /fourn/facture/impayees.php 2014-11-23 10:05:40 +01:00
Frédéric FRANCE
edaf6aec10 Update /fourn/facture/paiement.php 2014-11-23 10:04:43 +01:00
Frédéric FRANCE
018d1488fc Update /fourn/commande/list.php 2014-11-23 10:03:03 +01:00
Frédéric FRANCE
8bbc2d8db4 Update /product/stock/mouvement.php 2014-11-23 10:02:16 +01:00
Frédéric FRANCE
c6f7134414 Update /comm/prospect/list.php 2014-11-23 10:01:07 +01:00
Frédéric FRANCE
8356c1b560 Update /comm/actions/listactions.php 2014-11-23 10:00:09 +01:00
Frédéric FRANCE
e1addea6db Update /accountancy/bookeeping/list.php 2014-11-23 09:59:05 +01:00
Frédéric FRANCE
5f11354547 Update /accountancy/admin/account.php 2014-11-23 09:58:19 +01:00
Frédéric FRANCE
0ea40c155e Update /compta/facture/impayees.php 2014-11-23 09:57:21 +01:00
Frédéric FRANCE
fef3cfbe81 Update /compta/facture/list.php 2014-11-23 09:55:13 +01:00
Frédéric FRANCE
865ec76a51 Update /compta/salaries/index.php 2014-11-23 09:54:17 +01:00
Frédéric FRANCE
c9a0208328 Update /compta/paiement/list.php 2014-11-23 09:53:19 +01:00
Frédéric FRANCE
cfe5784d49 Update /compta/bank/search.php 2014-11-23 09:52:35 +01:00
Frédéric FRANCE
fe725f1d8a Update /compta/sociales/index.php 2014-11-23 09:51:49 +01:00
Frédéric FRANCE
adf0e8bb54 Update /compta/tva/reglement.php 2014-11-23 09:51:03 +01:00
Frédéric FRANCE
37eef59b50 Update /compta/prelevement/list.php 2014-11-23 09:50:19 +01:00
Frédéric FRANCE
d6e8211018 Update /compta/deplacement/list.php 2014-11-23 09:49:30 +01:00
Frédéric FRANCE
979eadf42e Update /compta/dons/list.php 2014-11-23 09:48:54 +01:00
Frédéric FRANCE
5b0b222772 Update /societe/societe.php 2014-11-23 09:48:13 +01:00
Frédéric FRANCE
fbee671db1 Update /societe/consumption.php 2014-11-23 09:47:19 +01:00
Frédéric FRANCE
09f1f79f4e Update /adherents/list.php 2014-11-23 09:46:24 +01:00
Frédéric FRANCE
89deffa3a7 Update /fourn/list.php 2014-11-23 09:36:07 +01:00
Frédéric FRANCE
7442b1a6b1 Update /contrat/list.php 2014-11-23 09:34:56 +01:00
Frédéric FRANCE
6f3ce0a63b Update /contrat/services.php 2014-11-23 09:34:20 +01:00
Frédéric FRANCE
91aca474dd Update /expedition/list.php 2014-11-23 09:33:32 +01:00
Frédéric FRANCE
b43f8eede3 Update /fichinter/list.php 2014-11-23 09:32:46 +01:00
Frédéric FRANCE
46aea31e6c Update /comm/list.php 2014-11-23 09:31:20 +01:00
Frédéric FRANCE
a10209ae9f Update /holiday/index.php 2014-11-23 09:30:32 +01:00
Frédéric FRANCE
54541f9f14 Update /cron/list.php 2014-11-23 09:29:04 +01:00
Frédéric FRANCE
d9fdf82391 (GETPOST("button_removefilter_x") || GETPOST("button_removefilter"))
if (GETPOST("button_removefilter_x") || GETPOST("button_removefilter")) // Both test are required to be compatible with all browsers
2014-11-23 01:21:51 +01:00
Laurent Destailleur
2a56a19b7d Merge remote-tracking branch 'origin/3.7' into develop 2014-11-22 16:59:12 +01:00
Laurent Destailleur
02e18bc03d Merge remote-tracking branch 'origin/3.7' into develop 2014-11-22 16:29:06 +01:00
Laurent Destailleur
8b545af325 Merge pull request #1982 from atm-alexis/feature_agenda_files_on_card_view
add files view into agenda card
2014-11-22 16:24:09 +01:00
Laurent Destailleur
3d968aa432 Merge pull request #2027 from Devensys/Develop-FixGRHconge1
FIX bug in GRH module
2014-11-22 15:59:12 +01:00
Laurent Destailleur
f845cde3f1 Merge pull request #2056 from defrance69/patch-29
bad filtering on contract list (same sql rule as project)
2014-11-22 15:40:41 +01:00
Laurent Destailleur
06b663b92c Merge remote-tracking branch 'origin/3.7' into develop 2014-11-22 00:45:45 +01:00
Laurent Destailleur
1246c20355 More complete translation 2014-11-22 00:12:09 +01:00
Laurent Destailleur
dae9315374 Fix: duplicate line 2014-11-20 11:06:46 +01:00
Laurent Destailleur
e5e1c542ce Merge remote-tracking branch 'origin/3.7' into develop
Conflicts:
	htdocs/admin/security_other.php
	htdocs/langs/en_US/admin.lang
2014-11-20 10:59:14 +01:00
Juanjo Menent
247da992c1 Fix: remove duplicate code 2014-11-19 10:07:07 +01:00
BENKE Charles
44f3e64df2 Update html.formcontract.class.php
bad filtering on contract list (same sql rule as project)
2014-11-19 09:28:11 +01:00
Laurent Destailleur
1d21141de2 Fix: Bad vars 2014-11-18 22:59:48 +01:00
Laurent Destailleur
e69b83820b Merge remote-tracking branch 'origin/3.7' into develop 2014-11-18 19:03:36 +01:00
Laurent Destailleur
8b21cd402c Fix: Filter were lost 2014-11-18 14:36:16 +01:00
Laurent Destailleur
da08e05e11 Fix: Line not visible when there is a lot of lines. 2014-11-18 14:26:06 +01:00
Laurent Destailleur
f4a63b498b Fix: bugs reported by scrutinizer 2014-11-17 15:09:52 +01:00
Andrelec1
a9a8e9a73c Fix : more than 1000 holidays
Si il y a plus de 1000 jours de congés, le délimiteur des millier fais
bugger les calcule ...
2014-11-17 14:55:22 +01:00
Teddy
dcb0d47534 Merge pull request #5 from Dolibarr/develop
Merge pull request #5 from Dolibarr/develop
2014-11-17 09:56:19 +01:00
aspangaro
31b90cf383 Add 1st version of calculator but need work 2014-11-17 06:38:06 +01:00
Laurent Destailleur
3800f22d93 Merge remote-tracking branch 'origin/3.7' into develop 2014-11-17 01:07:13 +01:00
Laurent Destailleur
27a3ee10f3 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2014-11-17 01:05:48 +01:00
Laurent Destailleur
dfc5a98dc1 Fix: [ bug #1631 ] technical error in the display of associated objects
/ erreur technique à l'affichage des objets associés à un projet
2014-11-17 01:05:30 +01:00
aspangaro
c256243bf7 Merge remote-tracking branch 'Upstream/develop' into develop-loan 2014-11-16 08:41:39 +01:00
aspangaro
d15ef855da Correct travis 2014-11-12 07:37:59 +01:00
aspangaro
c70539b3b2 Bug & merge 2014-11-12 07:33:03 +01:00
aspangaro
a55afd4f50 Merge remote-tracking branch 'Upstream/develop' into develop-loan 2014-11-12 07:32:32 +01:00
aspangaro
b4c0e39b6d Merge remote-tracking branch 'Upstream/develop' into develop-admin 2014-11-12 07:08:29 +01:00
Frédéric FRANCE
7c617b3515 Update card.php 2014-11-11 11:21:31 +01:00
Florian HENRY
9c795d2c4b Finnish bank extrafeilds 2014-11-10 13:18:27 +01:00
Florian HENRY
e9f754395d Start bank extrafields 2014-11-10 13:09:58 +01:00
Florian HENRY
efcc1dc8f5 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2014-11-10 13:01:33 +01:00
aspangaro
15e44b6e28 Correct Auguria menu 2014-11-10 06:39:37 +01:00
aspangaro
3042bf4dc2 Correct lot of bugs 2014-11-10 06:08:50 +01:00
aspangaro
9c3fa5a9eb Merge remote-tracking branch 'Upstream/develop' into develop-loan 2014-11-09 07:26:14 +01:00
aspangaro
840dfd780d Merge remote-tracking branch 'Upstream/develop' into develop-loan 2014-11-07 21:28:39 +01:00
aspangaro
cbfa90abca Merge remote-tracking branch 'Upstream/develop' into develop-loan 2014-11-04 20:57:05 +01:00
aspangaro
aecb985659 Update work 2014-11-04 20:53:07 +01:00
Alexis Algoud
af7f9e1707 no dol_include 2014-11-04 16:08:07 +01:00
aspangaro
25433120e6 Merge remote-tracking branch 'Upstream/develop' into develop-loan 2014-11-04 06:16:03 +01:00
aspangaro
4e1f9babaf Merge 2014-11-03 21:58:14 +01:00
Florian HENRY
9f2c596496 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2014-10-30 13:25:36 +01:00
Alexis Algoud
eebf107d5f includes and show_documents 2014-10-27 10:54:50 +01:00
aspangaro
7fa2b6b3eb Update 2014-10-06 05:34:45 +02:00
aspangaro
7e11fa06bb Merge remote-tracking branch 'Upstream/develop' into develop-loan 2014-10-05 16:35:38 +02:00
aspangaro
c1db82a791 Merge remote-tracking branch 'Upstream/develop' into develop-loan 2014-10-04 08:10:12 +02:00
aspangaro
dca4591cdf Add calculator 2014-10-02 20:00:35 +02:00
aspangaro
5fc82fdcd8 Merge remote-tracking branch 'Upstream/develop' into develop-loan 2014-10-02 19:58:09 +02:00
aspangaro
ba7a4d6f88 Update card 2014-10-02 19:56:41 +02:00
aspangaro
a0b4a0a3cd Update menu auguria 2014-10-01 07:32:03 +02:00
aspangaro
3627f157d2 Add langs & debug 2014-10-01 07:16:29 +02:00
aspangaro
50c5b20d81 Merge remote-tracking branch 'Upstream/develop' into develop-loan 2014-09-30 05:58:06 +02:00
aspangaro
f70e8b766f Merge remote-tracking branch 'Upstream/develop' into develop-loan
Conflicts:
	htdocs/install/mysql/migration/3.6.0-3.7.0.sql
2014-09-29 20:40:53 +02:00
aspangaro
d3252d1348 Update 2014-09-29 20:37:51 +02:00
aspangaro
250b57ca0a Merge remote-tracking branch 'Upstream/develop' into develop-loan 2014-09-28 14:00:26 +02:00
aspangaro
3d23319226 Update 2014-09-24 04:10:29 +02:00
aspangaro
a58025c601 Merge remote-tracking branch 'Upstream/develop' into develop-loan 2014-09-23 21:24:29 +02:00
aspangaro
1e15474495 Continue working 2014-09-23 21:21:38 +02:00
aspangaro
c53663c885 Continue to work 2014-09-22 08:25:39 +02:00
aspangaro
f51df9da70 Add loan language file 2014-09-22 08:24:58 +02:00
aspangaro
1409c8f450 Continue to work 2014-09-21 21:38:33 +02:00
aspangaro
08b9e05425 New Module : Manage Financial Loan 2014-09-21 17:42:38 +02:00
Raphaël Doursenaud
4296766ea9 Qual: Coding style 2014-09-19 03:07:54 +02:00
Raphaël Doursenaud
0f71b7e0b0 FIX: Typo 2014-09-19 03:07:54 +02:00
Raphaël Doursenaud
bd03cb439d FIX: Function expects an int, not a boolean 2014-09-19 03:07:53 +02:00
Raphaël Doursenaud
b21d85a1da FIX: Function was expecting a boolean not a string 2014-09-19 03:07:53 +02:00
Raphaël Doursenaud
e9175d5d66 Qual: date type doesn't exist 2014-09-19 03:07:53 +02:00
Raphaël Doursenaud
c20f5b186e Qual: Updated code documentation 2014-09-19 03:07:53 +02:00
Raphaël Doursenaud
e87b1d68b6 FIX: Replaced deprecated property 2014-09-19 03:07:53 +02:00
Raphaël Doursenaud
a7964c4a9a FIX: Replaced deprecated call 2014-09-19 03:07:52 +02:00
Raphaël Doursenaud
eea9a76589 FIX: Variable might not be traversable 2014-09-19 03:07:52 +02:00
Raphaël Doursenaud
f68cb3bfcb FIX: Variable declared boolean 2014-09-19 03:05:21 +02:00
Raphaël Doursenaud
afcebea440 FIX: Missing global declaration 2014-09-19 03:05:21 +02:00
Raphaël Doursenaud
131997eeb8 FIX: Removed undeclared variables 2014-09-19 03:05:21 +02:00
Raphaël Doursenaud
37c0b9606b FIX: Removed unused variable 2014-09-19 03:05:21 +02:00
Raphaël Doursenaud
3a0d4cd47f FIX: Missing visibility of static property 2014-09-19 03:05:21 +02:00
Raphaël Doursenaud
c7c809a609 FIX: Wrong type hinting 2014-09-19 03:05:20 +02:00
Raphaël Doursenaud
7c7276b5aa FIX: Removed undeclared variable 2014-09-19 03:05:20 +02:00
Raphaël Doursenaud
4c7ae3d14b FIX: Missing parameter declaration 2014-09-19 03:05:20 +02:00
Raphaël Doursenaud
852758c81c FIX: Removed concatenation on undeclared variable 2014-09-19 03:05:20 +02:00
Raphaël Doursenaud
332caa2b71 FIX: missing global declaration 2014-09-19 03:05:20 +02:00
Raphaël Doursenaud
cc68966d72 FIX: Missing declaration 2014-09-19 03:05:20 +02:00
Raphaël Doursenaud
9a141215bb FIX: Moved code to where the variable is defined 2014-09-19 03:05:20 +02:00
Raphaël Doursenaud
64da1b1dc0 FIX: Removed HTML file preventing PHP service 2014-09-19 03:05:19 +02:00
Raphaël Doursenaud
b1ad7af527 FIX: Missing extends 2014-09-19 03:05:19 +02:00
Raphaël Doursenaud
7b300b0a9d FIX: Missing variable declaration 2014-09-19 03:05:19 +02:00
Raphaël Doursenaud
bab1dd13e2 FIX: missing extends 2014-09-19 03:05:19 +02:00
Raphaël Doursenaud
d0f83141fb FIX: Bad variable usage 2014-09-19 03:05:19 +02:00
4255 changed files with 225081 additions and 100816 deletions

16
.dockerignore Normal file
View File

@@ -0,0 +1,16 @@
build
build.xml
ChangeLog
composer.json
CONTRIBUTING.md
COPYING
COPYRIGHT
dev
doc
Dockerfile
INSTALL
README-FR.md
README.md
robots.txt
scripts
test

17
.editorconfig Normal file
View File

@@ -0,0 +1,17 @@
# EditorConfig is awesome: http://EditorConfig.org
# top-most EditorConfig file
root = true
# Unix-style newlines with a newline ending every file
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
[*.php]
indent_style = tab
[*.js]
indent_style = tab
[*.css]
indent_style = tab
[*.xml]
indent_style = tab

1
.gitignore vendored
View File

@@ -9,6 +9,7 @@ default.properties
.buildpath
.gitmodules
dolibarr_install.log
upgrade.log
doxygen_warnings.log
/.project
.DS_Store

91
.mailmap Normal file
View File

@@ -0,0 +1,91 @@
# This is mapping list between real user name/email and entry into sources files
# If you don't want to have your real email appears here, just send a Pull Request to
# replace the second field between <> with <secret>
Laurent Destailleur <eldy@destailleur.fr> Laurent Destailleur <eldy@users.sourceforge.net>
Laurent Destailleur <eldy@destailleur.fr> eldy <eldy@destailleur.fr>
Laurent Destailleur <eldy@destailleur.fr> Laurent Destailleur <ldestailleur@teclib.com>
Laurent Destailleur <eldy@destailleur.fr> eldy10 <eldy10@master8.(none)>
Laurent Destailleur <eldy@destailleur.fr> Laurent Destailleur <ephpcsdy@destailleur.fr>
Regis Houssin <regis.houssin@capnetworks.com> Regis Houssin <regis@dolibarr.fr>
Regis Houssin <regis.houssin@capnetworks.com> Régis Houssin <regishoussin@device5.home>
Juanjo Menent <jmenent@2byte.es> simnandez <jmenent@2byte.es>
Juanjo Menent <jmenent@2byte.es> Juanjo Menent <simnandez@gmail.com>
Juanjo Menent <jmenent@2byte.es> Simnandez <jmenent@2byte.es>
Juanjo Menent <jmenent@2byte.es> juanjo <juanjo@samsung>
Juanjo Menent <jmenent@2byte.es> juanjo <juanjo@alienware>
Marcos García de La Fuente <marcosgdf@gmail.com> Marcos García <marcosgdf@gmail.com>
Marcos García de La Fuente <marcosgdf@gmail.com> Marcos García <marcosgdf@gmail.com>
Florian Henry <florian.henry@open-concept.pro> fhenry <florian.henry@open-concept.pro>
Florian Henry <florian.henry@open-concept.pro> Florian HENRY <florian.henry@open-concept.pro>
Florian Henry <florian.henry@open-concept.pro> FHenry <florian.henry.mail@gmail.com>
Florian Henry <florian.henry@open-concept.pro> Florian HENRY <florian.henry@open-conept.pro>
Florian Henry <florian.henry@open-concept.pro> FHenry <florian.henry@open-concept.pro>
Florian Henry <florian.henry@open-concept.pro> HENRY Florian <florian.henry@open-concept.pro>
Alexandre Spangaro <alexandre.spangaro@gmail.com> aspangaro <alexandre.spangaro@gmail.com>
Alexandre Spangaro <alexandre.spangaro@gmail.com> Spangaro Alexandre <alexandre.spangaro@gmail.com>
Alexandre Spangaro <alexandre.spangaro@gmail.com> Alexandre SPANGARO <alexandre.spangaro@gmail.com>
Raphaël Doursenaud <rdoursenaud@gpcsolutions.fr> Raphaël Doursenaud <rdoursenaud@free.fr>
Philippe Grand <philippe.grand@atoo-net.com> Grand Philippe <contact@atoo-net.com>
Philippe Grand <philippe.grand@atoo-net.com> Philippe GRAND <philippe.grand@atoo-net.com>
Philippe Grand <philippe.grand@atoo-net.com> philippe grand <philippe.grand@atoo-net.com>
Philippe Grand <philippe.grand@atoo-net.com> philippe <philippe.grand@atoo-net.com>
Philippe Grand <philippe.grand@atoo-net.com> unknown <Philippe@grandoc.(none)>
Philippe Grand <philippe.grand@atoo-net.com> philippe <philippe@PC-de-philippe>
Philippe Grand <philippe.grand@atoo-net.com> Philippe Grand <contact@atoo-net.com>
Jean-François Ferry <jfefe@aternatik.fr> jfefe <jfefe@aternatik.fr>
Jean-François Ferry <jfefe@aternatik.fr> jfefe <jf.ferry@aternatik.fr>
Jean-François Ferry <jfefe@aternatik.fr> JF FERRY <jfefe@aternatik.fr>
Jean-François Ferry <jfefe@aternatik.fr> JF FERRY <meos@devmachine.(none)>
Charles Benke <charles.fr@benke.fr> BENKE Charles <charles.fr@benke.fr>
Charles Benke <charles.fr@benke.fr> BENKE Charlie <charles.fr@benke.fr>
Charles Benke <charles.fr@benke.fr> defrance69 <charles.fr@benke.fr>
Maxime Kohlhaas <mko@atm-consulting.fr> MAxime Kohlhaas <maxime@atm-consulting.fr>
Frédéric France <frederic.france@free.fr> Frédéric FRANCE <frederic.france@free.fr>
Frédéric France <frederic.france@free.fr> frederic34 <frederic.france@free.fr>
Frédéric France <frederic.france@free.fr> FRANCE Frédéric <frederic.france@free.fr>
Frédéric France <frederic.france@free.fr> frederic34 <fred@ubuntuserver.(none)>
Cyrille de Lambert <cyrille.delambert@auguria.net> cdelambert <cdelambert>
Cédric Gross <c.gross@kreiz-it.fr> KreizIT <KreizIT@users.noreply.github.com>
Cédric Gross <c.gross@kreiz-it.fr> Cedric <c.gross@kreiz-it.fr>
Cédric Gross <c.gross@kreiz-it.fr> Cedric GROSS <c.gross@kreiz-it.fr>
Jean Heimburger <jean@tiaris.info> jean <jean@tiaris.info>
Jean Heimburger <jean@tiaris.info> tiaris <tiaris>
Benoit Mortier <benoit.mortier@opensides.be> opensides <opensides>
Eric Seigne <contact@ryxeo.com> erics <erics>
Jean-Louis Bergamo <jl@bergamo.fr> jlb <jlb>
Remco Gerbrands <remco@artoge.nl> r2gnl <r2gnl>
Phf <phf@atm-consulting.fr> phf <phf@atm-consulting.fr>
Yannick Warnier <ywarnier@beeznest.org> ywarnier <ywarnier>
Jerome Warnier <jwarnier@beeznest.org> jwarnier <jwarnier>
Franky Van Liedekerke <liedekef@telenet.be> liedekef <liedekef>
Lalaina Rasamoelina <lalaina.rasamoelina@biblibre.com> lalaina rasamoelina <lalaina.rasamoelina@biblibre.com>
Marc Ocebo <marc_ocebo> marc_ocebo <marc_ocebo>
Unknown <secret> box7890 <box7890>
Unknown <secret> beedauchon <beedauchon>
Loic <secret> loic <loic>
Christophe Combelle <ccomb>
Unknown <secret> activdev <activdev>
Unknown <secret> bouba <bouba>
Unknown <secret> bcroq <bcroq>
Unknown <secret> dutoit <dutoit>
Unknown <secret> bureau2crea <bureau2crea>
Unknown <secret> unknown <mne02@.modula71.local>
Simon Tosser <secret> simontosser <simontosser>
Unknown <secret> tipaul <tipaul>
Raphaël Bertrand <secret> raphael_bertrand <raphael_bertrand>
Claudio Aschieri <c.aschieri@19.coop> cla <c.aschieri@19.coop>
Tommaso Basilici <t.basilici@19.coop> kaos <t.basilici@19.coop>
Tommaso Basilici <t.basilici@19.coop> Tommaso Basilici <t.basilici@19.coop>
Faust <faust@19.coop> faust <faust@19.coop>
Ferran Marcet <secret> fmarcet <fmarcet@imedia>
Geoffrey Girard <geoffre.girard@atm-consulting.fr> geoffrey.girard <geoffre.girard@atm-consulting.fr>
Bernard Paquier <eshop.bpaquier@gmail.com> BadPixxel <eshop.bpaquier@gmail.com>
Patrick Delcroix <delcroip@gmail.com> delcroix Patrick <delcroip@gmail.com>
Damien Clochard <damien@dalibo.com> damien clochard <damien@dalibo.info>
Damien Clochard <damien@dalibo.com> damien clochard <damien@dalibo.com>
Grégory David <groolot@groolot.net> Grégory DAVID <groolot@groolot.net>
Grégory David <groolot@groolot.net> Gregory DAVID <groolot@groolot.net>
Baffir Abbes <bafbes@users.noreply.github.com> bafbes <bafbes@users.noreply.github.com>
Kevin Guerrier <guerrier.k@gmail.com> GUERRIER Kevin <guerrier.k@gmail.com>
Remy Younes <ryounes@gmail.com> remy <ryounes@gmail.com>
Estephe Loridan <github@estephe.me> Estephe L. <github@estephe.me>

View File

@@ -5,12 +5,13 @@ imports:
filter:
excluded_paths:
- 'build/*'
- 'dev/*'
- 'doc/*'
- 'test/*'
- 'htdocs/includes/*'
paths: { }
- build/*
- dev/*
- doc/*
- test/*
paths:
- htdocs/*
- scripts/*
tools:
# php_analyzer. Doc on https://scrutinizer-ci.com/docs/tools/php/php-analyzer/
@@ -18,15 +19,18 @@ tools:
enabled: true
extensions:
- php
dependency_paths: { }
dependency_paths:
- htdocs/includes/
filter:
excluded_paths:
- 'build/*'
- 'dev/*'
- 'doc/*'
- 'test/*'
- 'htdocs/includes/*'
paths: { }
- build/*
- dev/*
- doc/*
- test/*
- htdocs/includes/*
paths:
- htdocs/
- scripts/
config:
parameter_reference_check:
enabled: true

View File

@@ -1,303 +1,146 @@
# This script is used by Travis CI to run automatically Continuous test integration
# from Dolibarr GitHub repository.
# Command run is phpunit
# For syntax, see http://about.travis-ci.org/docs/user/languages/php/
sudo: required
language: php
php:
- '5.3'
- '5.4'
- '5.5'
- '5.6'
- '7.0'
- nightly
addons:
mariadb: '10.0'
# FIXME: find a way to import a MySQL dump into PostgreSQL
#postgresql: '9.3'
apt:
packages:
# We need a webserver to test the webservices
# Let's install Apache with.
- apache2
# mod_php is not supported by Travis. Add fcgi. We install FPM later on.
- libapache2-mod-fastcgi
# Start on every boot
services:
- memcached
env:
global:
# Set to true for very verbose output
- DEBUG=false
matrix:
# MariaDB overrides MySQL installation so it's not possible to test both yet
#- DB=mysql
- DB=mariadb
# FIXME: find a way to import a MySQL dump into PostgreSQL
#- DB=postgresql
# TODO
#- DB=sqlite
# See https://docs.travis-ci.com/user/languages/php/#Apache-%2B-PHP
#- WS=apache
# See https://github.com/DracoBlue/travis-ci-nginx-php-fpm-test
#- WS=nginx
matrix:
fast_finish: true
allow_failures:
- php: '7.0'
- php: nightly
# FIXME
#- env: DB=postgresql
# TODO
#- env: DB=sqlite
notifications:
email:
on_success: never # [always|never|change] default: change
on_failure: change # [always|never|change] default: always
irc:
channels:
- "chat.freenode.net#dolibarr"
on_success: change
on_failure: always
use_notice: true
addons:
postgresql: "9.3"
before_install:
- |
echo "Disabling Xdebug for composer"
export PHP_VERSION_NAME=$(phpenv version-name)
cp ~/.phpenv/versions/$PHP_VERSION_NAME/etc/conf.d/xdebug.ini /tmp/xdebug.ini
phpenv config-rm xdebug.ini
echo
services:
- memcached # will start memcached
install:
- |
echo "Updating Composer"
composer self-update
echo
# This will tell travis to run phpunit
language: php
php:
# - "5.2" is not supported because pyrus to install PHP_Codesniffer is not available
- 5.3
- 5.4
- 5.5
- 5.6
- 7.0
matrix:
allow_failures:
- php: 7.0
- |
echo "Installing Parallel Lint"
composer -n require jakub-onderka/php-parallel-lint ^0
composer -n require jakub-onderka/php-console-highlighter ^0
echo
env:
- DB=mysql
# - DB=postgres
- |
echo "Installing PHP Unit"
if [ "$TRAVIS_PHP_VERSION" = '5.3' ] || [ "$TRAVIS_PHP_VERSION" = '5.4' ] || [ "$TRAVIS_PHP_VERSION" = '5.5' ]; then
composer -n require phpunit/phpunit ^4
fi
if [ "$TRAVIS_PHP_VERSION" = '5.6' ] || [ "$TRAVIS_PHP_VERSION" = '7.0' ] || [ "$TRAVIS_PHP_VERSION" = 'nightly' ]; then
composer -n require phpunit/phpunit ^5
fi
echo
before_script:
- echo Start travis
- echo Current dir is `pwd`
- echo Home dir is `echo ~`
- export PHPV=`phpenv version-name`
- echo PHP version $PHPV
# - echo Update composer
# - ~/.phpenv/versions/$(phpenv version-name)/bin/composer.phar self-update
- echo PHPUnit version
- which phpunit
- phpunit --version
- echo Install phpcs then show installed rules
- pyrus install pear/PHP_CodeSniffer
- phpenv rehash
- which phpcs
- phpcs --version
- phpcs -i
- echo Create dir $(pwd)/htdocs/documents
- sudo mkdir -p $(pwd)/htdocs/documents/admin/temp;
- sudo touch $(pwd)/htdocs/documents/dolibarr.log;
- sudo chmod a+rwx /home; sudo chmod a+rwx /home/travis; sudo chmod -R a+rwx /home/travis/build;
- sudo chmod -R a+rwx $(pwd);
- sudo chown -R www-data:travis $(pwd)/htdocs/documents;
- find $(pwd)/htdocs/documents -type d -exec ls -alt {} \;
- echo Edit php.ini file
- echo 'date.timezone = "Europe/Paris"' >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
# - echo "extension = memcache.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
- echo "extension = memcached.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
- sh -c "if [ '$PHPV' = '5.3' ]; then echo 'extension = apc.so' >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi"
- sh -c "if [ '$PHPV' = '5.4' ]; then echo 'extension = apc.so' >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi"
- sh -c "if [ '$PHPV' = '5.3' ]; then echo 'zend_extension_ts = xdebug.so' >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi"
- sh -c "if [ '$PHPV' = '5.4' ]; then echo 'zend_extension_ts = xdebug.so' >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi"
- cat ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
- echo Mysql version
# INSTALL MYSQL 5.6
# (https://github.com/piwik/piwik/commit/20bd2e1c24e5d673dce3feb256204ad48c29f160)
# TODO: Remove when mysql 5.6 is provided by travis.
# Otherwise, our migrations will raise a syntax error.
- "sudo apt-get remove mysql-common mysql-server-5.5 mysql-server-core-5.5 mysql-client-5.5 mysql-client-core-5.5"
- "sudo apt-get autoremove"
- "sudo apt-get install libaio1"
- "wget -O mysql-5.6.14.deb http://dev.mysql.com/get/Downloads/MySQL-5.6/mysql-5.6.14-debian6.0-x86_64.deb/from/http://cdn.mysql.com/"
- "sudo dpkg -i mysql-5.6.14.deb"
- "sudo cp /opt/mysql/server-5.6/support-files/mysql.server /etc/init.d/mysql.server"
- "sudo ln -s /opt/mysql/server-5.6/bin/* /usr/bin/"
- "sudo sed -i'' 's/table_cache/table_open_cache/' /etc/mysql/my.cnf"
- "sudo sed -i'' 's/log_slow_queries/slow_query_log/' /etc/mysql/my.cnf"
- "sudo sed -i'' 's/basedir[^=]\\+=.*$/basedir = \\/opt\\/mysql\\/server-5.6/' /etc/mysql/my.cnf"
- "sudo /etc/init.d/mysql.server start"
- mysql --version
- mysql -e "SELECT VERSION();"
# /END MYSQL 5.6- mysql --version
- echo Init database
- sh -c "if [ '$DB' = 'pgsql' ]; then psql -c 'DROP DATABASE IF EXISTS myapp_test;' -U postgres; fi"
- sh -c "if [ '$DB' = 'pgsql' ]; then psql -c 'CREATE DATABASE myapp_test;' -U postgres; fi"
- sh -c "if [ '$DB' = 'mysql' ]; then mysql -e 'DROP DATABASE IF EXISTS myapp_test;'; fi"
- sh -c "if [ '$DB' = 'mysql' ]; then mysql -e 'CREATE DATABASE IF NOT EXISTS myapp_test;'; fi"
- sh -c "if [ '$DB' = 'mysql' ]; then mysql -D myapp_test < $(pwd)/dev/initdata/mysqldump_dolibarr_3.5.0.sql; fi"
- echo Create config file htdocs/conf/conf.php
- echo '<?php ' > htdocs/conf/conf.php
- sh -c "if [ '$DB' = 'pgsql' ]; then echo '$'dolibarr_main_db_type=\'pgsql\'';' >> htdocs/conf/conf.php; fi"
- sh -c "if [ '$DB' = 'mysql' ]; then echo '$'dolibarr_main_db_type=\'mysqli\'';' >> htdocs/conf/conf.php; fi"
- echo '$'dolibarr_main_url_root=\'http://localhost/\'';' >> htdocs/conf/conf.php
- echo '$'dolibarr_main_document_root=\'$(pwd)/htdocs\'';' >> htdocs/conf/conf.php
- echo '$'dolibarr_main_data_root=\'$(pwd)/htdocs/documents\'';' >> htdocs/conf/conf.php
- echo '$'dolibarr_main_db_host=\'localhost\'';' >> htdocs/conf/conf.php
- echo '$'dolibarr_main_db_name=\'myapp_test\'';' >> htdocs/conf/conf.php
- echo '$'dolibarr_main_db_user=\'travis\'';' >> htdocs/conf/conf.php
- echo '$'dolibarr_main_authentication=\'dolibarr\'';' >> htdocs/conf/conf.php
- echo '?>' >> htdocs/conf/conf.php
- echo Show conf.php content
- cat htdocs/conf/conf.php
- echo Install apache server
- sudo apt-get update
- sudo apt-get install -y --force-yes apache2 libapache2-mod-php5 php5-curl php5-mysql php5-pgsql php5-intl
- sudo sed -i -e "s,/var/www,$(pwd)/htdocs,g" /etc/apache2/sites-available/default
- echo Show default virtual host
- sudo cat /etc/apache2/sites-available/default
- sudo /etc/init.d/apache2 restart
- wget http://localhost/
- sudo cat /etc/apache2/envvars
- sudo cat /var/log/apache2/error.log
- cat index.html
- |
echo "Installing PHP CodeSniffer"
composer require squizlabs/php_codesniffer ^2
echo
- |
echo "Adding Composer binaries to the path"
export PATH="$TRAVIS_BUILD_DIR/htdocs/includes/bin:$PATH"
echo
before_script:
- |
echo Start travis
echo Current dir is `pwd`
echo Home dir is `echo ~`
echo TRAVIS_BUILD_DIR is $TRAVIS_BUILD_DIR
- |
echo "Re-enabling Xdebug for PHP CodeSniffer and PHP Unit"
phpenv config-add /tmp/xdebug.ini
echo
- |
echo "Setting up PHP"
echo
echo "Set timezone"
echo 'date.timezone = "Europe/Paris"' >> ~/.phpenv/versions/$PHP_VERSION_NAME/etc/php.ini
if [ "$TRAVIS_PHP_VERSION" = '5.3' ] || [ "$TRAVIS_PHP_VERSION" = '5.4' ]; then
echo
echo "Enabling APC for PHP <= 5.4"
# Documentation says it should be available for PHP <= 5.6 but it's not for 5.5 and 5.6!
echo 'extension = apc.so' >> ~/.phpenv/versions/$PHP_VERSION_NAME/etc/php.ini
echo
echo "Enabling Memcached for PHP <= 5.4"
# Documentation says it should be available for all PHP versions but it's not for 5.5 and 5.6, 7.0 and nightly!
echo 'extension = memcached.so' >> ~/.phpenv/versions/$PHP_VERSION_NAME/etc/php.ini
fi
phpenv rehash
echo
- |
if [ "$DEBUG" = true ]; then
# Check PHP
php -i
# Check PHP CodeSniffer installation
which phpcs
phpcs --version
phpcs -i
# Check PHPUnit installation
which phpunit
phpunit --version
# Check MySQL
mysql --version
mysql -e "SELECT VERSION();"
echo
fi
- |
echo "Setting up database"
if [ "$DB" = 'mysql' ] || [ "$DB" = 'mariadb' ]; then
echo "MySQL"
mysql -e 'DROP DATABASE IF EXISTS travis;'
mysql -e 'CREATE DATABASE IF NOT EXISTS travis;'
mysql -D travis < dev/initdata/mysqldump_dolibarr_3.5.0.sql
fi
# FIXME: find a way to import a MySQL dump into PostgreSQL
#if [ "$DB" = 'postgresql' ]; then
# pgsql travis < dev/initdata/mysqldump_dolibarr_3.5.0.sql
#fi
# TODO: SQLite
echo
- |
export CONF_FILE=htdocs/conf/conf.php
echo "Setting up Dolibarr $CONF_FILE"
echo '<?php ' > $CONF_FILE
echo '$'dolibarr_main_url_root=\'http://127.0.0.1\'';' >> $CONF_FILE
echo '$'dolibarr_main_document_root=\'$TRAVIS_BUILD_DIR/htdocs\'';' >> $CONF_FILE
echo '$'dolibarr_main_data_root=\'$TRAVIS_BUILD_DIR/documents\'';' >> $CONF_FILE
echo '$'dolibarr_main_db_host=\'127.0.0.1\'';' >> $CONF_FILE
echo '$'dolibarr_main_db_name=\'travis\'';' >> $CONF_FILE
echo '$'dolibarr_main_db_user=\'travis\'';' >> $CONF_FILE
if [ "$DB" = 'mysql' ] || [ "$DB" = 'mariadb' ]; then
echo '$'dolibarr_main_db_type=\'mysqli\'';' >> $CONF_FILE
fi
# FIXME
#if [ "$DB" = 'postgresql' ]; then
# echo '$'dolibarr_main_db_type=\'pgsql\'';' >> $CONF_FILE
#fi
# TODO: SQLite
echo '$'dolibarr_main_authentication=\'dolibarr\'';' >> $CONF_FILE
cat $CONF_FILE
echo
- |
echo "Create documents directory and set permissions"
# and admin/temp subdirectory needed for unit tests
mkdir -p documents/admin/temp
echo
- |
echo "Setting up Apache + FPM"
# enable php-fpm
cp ~/.phpenv/versions/$PHP_VERSION_NAME/etc/php-fpm.conf.default ~/.phpenv/versions/$PHP_VERSION_NAME/etc/php-fpm.conf
if [ "$TRAVIS_PHP_VERSION" = '7.0' ] || [ "$TRAVIS_PHP_VERSION" = 'nightly' ]; then
# Copy the included pool
cp ~/.phpenv/versions/$PHP_VERSION_NAME/etc/php-fpm.d/www.conf.default ~/.phpenv/versions/$PHP_VERSION_NAME/etc/php-fpm.d/www.conf
fi
if [ "$DEBUG" = true ]; then
cat ~/.phpenv/versions/$PHP_VERSION_NAME/etc/php-fpm.conf
fi
sudo a2enmod rewrite actions fastcgi alias
echo "cgi.fix_pathinfo = 1" >> ~/.phpenv/versions/$PHP_VERSION_NAME/etc/php.ini
if [ "$DEBUG" = true ]; then
cat ~/.phpenv/versions/$PHP_VERSION_NAME/etc/php.ini
fi
~/.phpenv/versions/$PHP_VERSION_NAME/sbin/php-fpm
# configure apache virtual hosts
sudo cp -f build/travis-ci/apache.conf /etc/apache2/sites-available/default
sudo sed -e "s?%TRAVIS_BUILD_DIR%?$TRAVIS_BUILD_DIR?g" --in-place /etc/apache2/sites-available/default
if [ "$DEBUG" = true ]; then
sudo cat /etc/apache2/sites-available/default
fi
sudo service apache2 restart
echo
script:
- |
echo "Checking webserver availability"
# Ensure we catch errors
set -e
wget http://127.0.0.1
if [ "$DEBUG" = true ]; then
cat index.html
fi
set +e
echo
- |
echo "Checking PHP syntax errors"
# Ensure we catch errors
set -e
parallel-lint --exclude htdocs/includes --blame .
set +e
echo
# TODO: dev/* checks
- |
echo "Checking coding style"
# Ensure we catch errors
set -e
# Exclusions are defined in the ruleset.xml file
phpcs -s -n -p -d memory_limit=-1 --colors --tab-width=4 --standard=dev/codesniffer/ruleset.xml --encoding=utf-8 .
set +e
echo
# TODO: Check Javascript (jshint?)
# TODO: Check CSS (csslint?)
# TODO: check SQL syntax (pgsanity?)
- |
echo "Upgrading Dolibarr"
# Ensure we catch errors
set -e
cd htdocs/install
php upgrade.php 3.5.0 3.6.0 ignoredbversion > $TRAVIS_BUILD_DIR/upgrade350360.log
php upgrade2.php 3.5.0 3.6.0 ignoredbversion > $TRAVIS_BUILD_DIR/upgrade350360-2.log
php upgrade.php 3.6.0 3.7.0 ignoredbversion > $TRAVIS_BUILD_DIR/upgrade360370.log
php upgrade2.php 3.6.0 3.7.0 ignoredbversion > $TRAVIS_BUILD_DIR/upgrade360370-2.log
cd -
set +e
echo
- |
echo "Unit testing"
# Ensure we catch errors
set -e
phpunit -d memory_limit=-1 -c test/phpunit/phpunittest.xml test/phpunit/AllTests.php
set +e
echo
after_success:
after_failure:
- |
if [ "$DEBUG" = true ]; then
echo "Debugging informations"
# Upgrade log files
cat *.log
# Dolibarr log file
cat documents/dolibarr.log
# Apache log file
sudo cat /var/log/apache2/error.log
# MariaDB log file
sudo cat /var/log/mysql/error.log
# TODO: PostgreSQL log file
echo
fi
script:
- cd htdocs/install
- date
# - php upgrade.php 3.4.0 3.5.0 ignoredbversion > upgrade340350.log
# - php upgrade2.php 3.4.0 3.5.0 ignoredbversion > upgrade340350-2.log
- php upgrade.php 3.5.0 3.6.0 ignoredbversion > upgrade350360.log
- php upgrade2.php 3.5.0 3.6.0 ignoredbversion > upgrade350360-2.log
- php upgrade.php 3.6.0 3.7.0 ignoredbversion > upgrade360370.log
- php upgrade2.php 3.6.0 3.7.0 ignoredbversion > upgrade360370-2.log
- php upgrade.php 3.7.0 3.8.0 ignoredbversion > upgrade370380.log
# - cat upgrade370380.log
- php upgrade2.php 3.7.0 3.8.0 ignoredbversion > upgrade370380-2.log
# - cat upgrade370380-2.log
- cd ../..
- date
- phpunit -d memory_limit=-1 --configuration test/phpunit/phpunittest.xml test/phpunit/AllTests.php
- date
# - phpcs -p --warning-severity=0 -s --report-summary --standard=dev/codesniffer/ruleset.xml --tab-width=4 --ignore=/build/html/,/dev/vagrant/,/documents/,/includes/,/test/report/ htdocs/core/class/dolgraph.class.php 2>&1
- phpcs -p --warning-severity=0 -s --report-checkstyle --report-summary --standard=dev/codesniffer/ruleset.xml --tab-width=4 --ignore=/htdocs/conf/conf.php,/build/html/,/dev/vagrant/,/documents/,/includes/,/test/report/ . 2>&1
- date
after_script:
# - echo Output dolibarr log file; cat $(pwd)/htdocs/documents/dolibarr.log
- echo Output apache log file; sudo cat /var/log/apache2/error.log
- echo End travis

View File

@@ -146,6 +146,12 @@ source_file = htdocs/langs/en_US/holiday.lang
source_lang = en_US
type = MOZILLAPROPERTIES
[dolibarr.incoterm]
file_filter = htdocs/langs/<lang>/incoterm.lang
source_file = htdocs/langs/en_US/incoterm.lang
source_lang = en_US
type = MOZILLAPROPERTIES
[dolibarr.install]
file_filter = htdocs/langs/<lang>/install.lang
source_file = htdocs/langs/en_US/install.lang
@@ -176,6 +182,12 @@ source_file = htdocs/langs/en_US/link.lang
source_lang = en_US
type = MOZILLAPROPERTIES
[dolibarr.loan]
file_filter = htdocs/langs/<lang>/loan.lang
source_file = htdocs/langs/en_US/loan.lang
source_lang = en_US
type = MOZILLAPROPERTIES
[dolibarr.mailmanspip]
file_filter = htdocs/langs/<lang>/mailmanspip.lang
source_file = htdocs/langs/en_US/mailmanspip.lang
@@ -236,9 +248,9 @@ source_file = htdocs/langs/en_US/paypal.lang
source_lang = en_US
type = MOZILLAPROPERTIES
[dolibarr.printipp]
file_filter = htdocs/langs/<lang>/printipp.lang
source_file = htdocs/langs/en_US/printipp.lang
[dolibarr.printing]
file_filter = htdocs/langs/<lang>/printing.lang
source_file = htdocs/langs/en_US/printing.lang
source_lang = en_US
type = MOZILLAPROPERTIES

84
CONTRIBUTING.md Normal file
View File

@@ -0,0 +1,84 @@
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.*

View File

@@ -12,23 +12,26 @@ Dolibarr uses some external libraries released under different licenses. This is
Component Version License GPL Compatible Usage
-------------------------------------------------------------------------------------
PHP libraries:
AdoDb-Date 0.32 Modified BSD License Yes Date convertion (not into rpm package)
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.4.2 Apache Software License 2.0 Yes PDF templates management
FPDF_TPL 1.2 Apache Software License 2.0 Yes PDF templates management
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.7.8 LGPL-2.1+ Yes Read/Write XLS files, read ODS files
PHPExcel 1.8.0 LGPL-2.1+ Yes Read/Write XLS files, read ODS files
php-iban 1.4.6 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
TCPDF 6.0.093 LGPL-3+ Yes PDF generation
Restler 3.0 LGPL-3+ Yes Library to develop REST Web services
TCPDF 6.2.6 LGPL-3+ Yes PDF generation
JS libraries:
jQuery 1.8.2 MIT License Yes JS library
jQuery UI 1.9.1 GPL and MIT License Yes JS library plugin UI
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.43 GPL and MIT License Yes JS library plugin blockUI (to use ajax popups)
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
@@ -45,6 +48,7 @@ jQuery TableDnD 0.6 GPL and MIT License Yes
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
@@ -54,7 +58,10 @@ Copyright
---------
Copyright (C) 2015
- Laurent Destailleur <eldy@users.sourceforge.net>
- Marcos García <marcosgdf@gmail.com>
- Alexandre Spangaro <alexandre.spangaro@gmail.com>
- Frederic France <frederic.france@free.fr>
Copyright (C) 2014
- Laurent Destailleur <eldy@users.sourceforge.net>
@@ -67,6 +74,7 @@ Copyright (C) 2014
- Maxime Kohlhaas <mko@atm-consulting.fr>
- Juanjo Menent <jmenent@2byte.es>
- Alexandre Spangaro <alexandre.spangaro@gmail.com>
- Frederic France <frederic.france@free.fr>
Copyright (C) 2013
- Christophe Battarel <christophe.battarel@altairis.fr>

391
ChangeLog
View File

@@ -5,82 +5,37 @@ English Dolibarr ChangeLog
WARNING: Do not try to make any Dolibarr upgrade if you are running Mysql version 5.5.40.
Mysql version 5.5.40 has a very critical bug making your data beeing definitely lost.
You may also experience troubles with Mysql 5.5.41 with error "Lost connection" during migration.
Upgrading to any other version or database system is abolutely required BEFORE trying to
Upgrading to any other version or any other database system is abolutely required BEFORE trying
make a Dolibarr upgrade.
***** ChangeLog for 3.7.4 compared to 3.7.3 *****
FIX: #3694
FIX: #4239
FIX: #4291 Correctly filter external calendar GETPOSTs
FIX: #4341
FIX: #4414 Supplier invoices use FAC_FORCE_DATE_VALIDATION client invoices property
FIX: #4440 Wrong price is filled by Product::fetch into multiprices arrays
FIX: add missing global def for ttc column
FIX: Contrat card don't consider user permissions to show active/unactive service button
FIX: CVE CVE-2015-8685
FIX: Email templates not compatible with Multicompany
Fix: for avoid division by 0
FIX: ISSUE #4506 : make working the PROPAL_CLONE_ON_CREATE_PAGE hidden constant
FIX: $outputlangs is not defined (dolibarr 3.7, 3.8, 3.9)
FIX: sql injection even when code is on several lines
FIX: The third dashboard don't consider user permissions
***** ChangeLog for 3.7.3 compared to 3.7.2 *****
FIX: #3734 Do not show empty links of deleted source objects in stock movement list
FIX: #3890 Expected transactions bank account page, shows negative numbers
FIX: #3928 Creating a Customer order and a Customer invoice from a project, does not inherit payment conditions and method of payment of customer card
FIX: #3980 Search field in "product by supplier" list sends empty result 3.8 and 3.7
FIX: #4081 Added missing translation
FIX: #4097 Public holiday calculation
FIX: #4242 Allow disabling dashes in documents
FIX: #4243 sql injection
FIX: Can use formated float number on old expense report module.
FIX: Change object statut when closing shipment and remove erratic db commit
FIX: Export with category contact extrafields
FIX: NB task and percent progress in box project
FIX: Not delete a product when have customer price
FIX: Not deleting contrats on element_element table
FIX: Not use localtaxes when invoice some orders
FIX: Product link in project box
FIX: Use "WHERE true" instead of "WHERE 1" #4132
***** ChangeLog for 3.7.2 compared to 3.7.1 *****
***** ChangeLog for 3.8 compared to 3.7.* *****
For users:
FIX: #2519
FIX: #2758 Product::update sets product note to "null" when $prod->note is null
FIX: #2832: Fixed a problem with special characters in expense report PDF model
FIX: #2856 : Wrong table design
FIX: #2901
FIX: #2957 : missing $langs object for trigger
FIX: #2983 Load gravatar avatar images securely over HTTPS
FIX: #2987: removed dead function moneyMeter()
FIX: #3009: Better filtering to prevent SQL injection
FIX: #3009: Better filtering to prevent SQL injection
FIX: #3091 TotalHT amount in supplier order is bold unlike the rest of Dolibarr
FIX: #3262 Webservice getProductsForCategory()
FIX: #3318
FIX: [ #3460 ] Selected bank account was not saved when an error happened when trying to create a customer invoice
FIX: #3530
FIX: #3630 - Wrong balance report when module salaries and donation disabled
FIX: #3679 Error when deleting a Localtax2 special payment
FIX: #3707 Thirdparty bank account page table has a glitch
FIX: #3724 Bug: Blank page after cloning proposal with changed client
FIX: #3836 Unable to upload a document to an invoice under some circunstances
FIX: #3841 creation of a task completed has not status set to finished by default
FIX: Add a protection to not make release if ChangeLog was not generated.
FIX: adjusted test for affecting supplier reference
FIX: Admin fiche inter page do not take good action
FIX: Avoid warning strict mode when hosting server do not have php5_curl installed
FIX: #3138 - Too much visible thing when access is denied on public pages
FIX: #3173 Overlapping of shipment ref
FIX: Adding 5 more choice link into survey module was not working with chrome
FIX: bad calculation for stock value
FIX: Bad condition into invoice export request making reporting too many rows.
FIX: bad stock valorisation
FIX: Bad visualization of suppliers name on Incomes-Expenses mode
FIX: Bad link to login page into email for password renewal.
FIX: Bad logo for status "Do not contact" of thirdparty.
FIX: Bad variable usage
FIX: Better management error into the color conversion functions
FIX: [ bug 1634 ] Error deleting a project when it had many linked objects
FIX: [ bug 1925 ] "Link to order" option in supplier invoices is not working properly
FIX: [ bug #2893 ] Dolibarr error when viewing an invoice after changing invoice mask
FIX: [ bug #3211 ] Error about sold to pay (Montant encours)
FIX: [ bug #3321 ] Users with certain permissions were shown a "forbidden access" page even if they had the rights
FIX: [ bug #3358 ] Tasks box does not work with PostgreSQL
FIX: [ bug #3383 ] Company name is overlapped with company direction in PDF models
FIX: [ bug #3426 ] Unable to create an invoice from a contract with extrafields
FIX: [ bug #3431 ] Invoice bank account is not respected
FIX: [ bug #3432 ] Spaces should be removed from IBAN when formatting it
FIX: Can create Proposal on close thridparty #3526
FIX: change order date on clone (as everywhere else)
FIX: [bug #1883] missing field in SQL installation
FIX: Bug on order and supplier invoice numeration mask when use supplier code
FIX: Bug on order and supplier invoice numeration mask when use supplier code
FIX: button create payment hide if tax amount is less than 1
FIX: can receive new batch product on supplier order
FIX: can show print page after product save
FIX: Close #2835 Customer prices of a product shows incorrect history order
FIX: Close #2837 Product list table column header does not match column body
FIX: Close bug #2855 Wrong translation key in localtax report page
@@ -88,52 +43,195 @@ FIX: Close bug #2861 Undefined variable $res when migrating from 3.6.2 to 3.7.0
FIX: Close bug #2891 Category hooks do not work
FIX: Close bug #2900 Courtesy title is not stored in create thirdparty form
FIX: Close bug #2976: "Report" tab is the current tab but it is not marked as selected by the UI
FIX: contact country had wrong display if the country dont have translate
FIX: Display country name instead of country id (display country id makes no sense on vcard files)
FIX: display error on extrafields on ficheinter
FIX: double db escape add too quote
FIX: Email selector contact must not include inactive contact
FIX: Correct migration script
FIX: create contact with extrafiel is null when it is require
FIX: Description of contract line was not visible.
FIX: Correct path of loan class
FIX: Correct problem field with note - Add note_private & use wysiwyg editor
FIX: Edit in place of "Outstanding Limit"
FIX: Module Expense Report - Correct init
FIX: Update licence to GPLv3
FIX: End log must use same level then start log.
FIX: error in SQL due to a previous fix
FIX: event's data lost on user assign update
FIX: event for restricted user was restricted if company null
FIX: event not linked to contact on creation
FIX: Export of tags for contact and member
FIX: facturestat bad sql when customer view is limited
FIX: if multicompany enabled, call to undifend method _setCookie instead of setCookie
FIX: extrafields required on thirdparty
FIX: Force ref
FIX: Function expects an int, not a boolean
FIX: Function was expecting a boolean not a string
FIX: hide category if it's not enable
FIX: If supplier invoice block linked element is display after other block total HT amount is not reset to 0 and sum other block (like customer orders values)
FIX: keep filter by category or by not enough stock if we switch page
FIX: Line break display as a block
FIX: load propal langs for availability traduction
FIX: loss data also if update was cancel by error of ended state with no end date, try a generic patch
FIX: Mass Mailing activity don't display all status
FIX: Missing to set context into workflow actions, so triggers can't know we are creating an invoice from order or an order from a proposal.
FIX: multientity warehouse management
FIX: New adherent from, always redirect on entity
FIX: jdate returning -62169955200 on x64 machine
FIX: Let ability to use IDPROF verifications even if new entry is "private"
FIX: migration error
FIX: moved built-in bug report system to GitHub Issues
FIX: Moved code to where the variable is defined
FIX: No check warehouse is provided if module stock is not enabled.
FIX: no need to remove file into mail form, the temp dir will be deleted after any sending
FIX: no projet_task_time id from trigger TASK_TIMESPENT_CREATE
FIX: Not showing task extrafields when creating from left menu
FIX: only active customer should be return into new invoice creation select list
FIX: Payed invoices are showed as canceled FIX: Bad date filter on customer order
FIX: WAP calculation
FIX: Ref/label of product on contract line was not visible, nor into page, nor into PDF.
FIX: Removed concatenation on undeclared variable
FIX: remove deprecated property 'libelle' on product object
FIX: Removed HTML file preventing PHP service
FIX: Removed undeclared variable
FIX: Removed undeclared variables
FIX: Removed unused variable
FIX: Replaced deprecated call
FIX: Replaced deprecated property
FIX: Save of filters into export profiles failed.
FIX: supplier rights for orderToInvoice
FIX: Syntax error in Debian Apache configuration
FIX: The hours of date filter aren't correct
FIX: tool export handle the type "select" extrafields and return the value instead of id
FIX: "script" balise with wrong syntax
FIX: send mail, copy sendto don't read the list of contact
FIX: top links menu have target attribute with wrong value
FIX: total amount in tpl linked object are not reset
FIX: translate Jabberid on contact page with edit view
FIX: translation for 1 word do not work if product/service module are disabled because the translation search in products.lang
FIX: update2.php test res befre assign it
FIX: When delete actioncomm also delete actioncomm_resources
FIX: when fetch_optionnal_by_label in Extrafields with $this->db cannot work because this->db is never instanciated
FIX: Typo
FIX; Unknown field 'sc.fk_soc' in field list
FIX: update usergroup name
FIX: Variable declared boolean
FIX: Variable might not be traversable
FIX: We did a test on a permission to export contract when permission did not exists.
FIX: when mailing is deleted, the targets list was kept in database
FIX: when multicompany was enabled, this function didn't check just on the good entity (problem when both company use same mask)
FIX: When we add an user on event in create mode, we lose linked object
FIX: When we automatically creta an order from a proposal with workflow module, if some extrafields of propal don't exist in order object, insertExtraFields() function tries to insert extrafields in unexistant column of commande_extrafields table.
FIX: When we clone a propal, if it has a project which is not assigned to a third, it was not on new propal because fk_project was always set to empty string if new propal is for another third.
FIX: when we create an agenda event with "Not applicable" status, it is automatically saved with "To do" status
FIX: width multiselect
FIX: Wrong type hinting
FIX: XSS security using the onerror and missing escapement on type of member page.
FIX: Missing visibility of static property
NEW: Add a button to purge criteria in user list
NEW: add all assigned users and all extrafields data in new event when we createFromClone
NEW: Add a new component to select categories/tags from the main edit page of product. The dedicated tab is also removed.
NEW: add an explorer for REST API consultation & documentation
NEW: Add a search field and report on hrm area
NEW: Add a tab document in donation card
NEW: Add bank account owner in invoice/proposal/orders footer
NEW: Add button to purge search criteria into list
NEW: Add close date and user for projects.
NEW: Add company information into category contact export
NEW: Add current salary on list of payment
NEW: add date value filter on account records list
NEW: Add exemple of setup for multitail to render dolibarr log files
NEW: Add filter on status on invoice list
NEW: Add filter on task ref and task label into list of tasks
NEW: Add filter on user contact or user task into task list
NEW: Add function dolCopyDir to copy directory with recursive content.
NEW: Add gender property managed on user card FIX: Better error messages when uploading photo of user when permission to write are not granted
NEW: Add help tooltips on fields of dictionary edit pages. Fix: visible list of tasks are for opened project only.
NEW: Add hidden option MAIN_MAILFORM_DISABLE_ENTERKEY to disable the key enter into the form to send email.
NEW: add hook in send mail
NEW: Add hooks on list of members to allow an external module to add more fields into list view.
NEW: Add hooks to allow an external module to complete list of events into calendar views.
NEW: Add opportunity amount on project card.
NEW: Add option THEME_ELDY_DISABLE_IMAGE to disable images into menu eldy.
NEW: add PDF icon on linked element into project
NEW: add "productpricecard" hook and uniformize code
NEW: Add ref and label of project into export
NEW: add restler framework First step to build REST API into Dolibarr
NEW: Add search box for supplier order search.
NEW: Add status into filters of graph
NEW: Add tab document on salaries payment
NEW: A link to the bugtracker can be enabled in the GUI
NEW: A module can add its entries into cron module.
NEW: autofocus on product selection dropdown list or search field
NEW: Backup and restore tool is easier to use
NEW: Can add all user of a project as user of a task, in one step.
NEW: Can add project search on left menu search area
NEW: Can assign a task to yourself to have it appear on timesheet
NEW: Can close a project that has draft status with no need to switch it to validate status before.
NEW: Can edit Background color for Top menu and Background color for table title line (works only with theme menu eldy).
NEW: Can edit email template using WYSIWYG editor
NEW: Can edit internal label of invoice even when closed (this is a private information)
NEW: Can edit list of prospect status for customers/prospects. Add a new entry into dictionary table to manage list fo status. Removed deprecated files.
NEW: Can filter on contact status in prospect list. Removed deprecated menu entry.
NEW: Can filter proposal on a tag of a product Enhance also the prototype test_arrays to include select form before table.
NEW: Can filter proposal, orders or invoices with criteria "contain at least one product with following tag"
NEW: Can install an external module from admin pages, if web server has permission for and if setup is ok for.
NEW: Can search on customer order amount into customer order list.
NEW: Can upload files on leave requests. Use more standard permissions.
NEW: Can use a "|" to make a OR search on several different criterias into text filters of tables.
NEW: Clean code into salary module, debug and add indexes NEW: Can filter on user list and salary payments on user with naural search.
NEW: clone action on agenda events
NEW: dev feature : replace conf filename with "conf" parameter on url by GET
NEW: display linked object in edit mode when we create an event from an order, propal...
NEW: Enhancement of module 'Notification by Email'. Show nb of notifications set. Can set several emails. Can set a threshold on amount for notifications. Add notification on supplier order validation.
NEW: Enhance prototype, project list and proposal list with new hook to have an external module able to add more fields.
NEW: Enhance the natural_search function so we can use it to search numeric fields with criteria with operator <>= inside (< 100, >= 1000)
NEW: Enter amount for withdraws requests
NEW: Feature request: A page to merge two thirdparties into one #2613
NEW: Feature to build a merged pdf with all unpaid invoice can work for paid invoices.
NEW: Filter "active" by default on user list. Fix label of permission of project module
NEW: For a contract line, price is no more mandatory.
NEW: Forms are using the tab look, even in creation mode.
NEW: Hidden option THEME_ELDY_USE_HOVER is stable enough to become officialy visible into setup.
NEW: If module salaries is on, you can set a hourly value for tome consumed by users. Each time a user enter its time consumed on a project, a calculation is done to provide the cost for human services. This value appears into the "Transversal view" of project.
NEW: Implement option SUPPLIER_ORDER_USE_DISPATCH_STATUS to add a status into each dispathing line of supplier order to "verify" a reception is ok. Status of order can be set to "total/done" only if line is verified.
NEW: Into the overview of projects, the name of thirdparty appears into combo lists of elements to link to project.
NEW: Introduce function dolGetFirstLineOfText
NEW: Introduce option SUPPLIER_ORDER_DOUBLE_APPROVAL to allow 2 approvals to make a supplier order approved. Activating this option introduce a new permission to the second level approval.
NEW: Introduce TCPDI as replacement of FPDI.
NEW: List of recent modified supplier product prices in Supplier card
NEW: Module notification should details of emails into confirm box, not only number.
NEW: On page to see/edit contact of an ojbect, the status of contact is visible (for both external and internal users).
NEW: Product stock and subproduct stock are independant
NEW: Propal merge product card PDF into azur
NEW: Rename install etape to step
NEW: Replace category edition page on members with new select2 component.
NEW: script to build API class from existing class
NEW: Show difference between timespent by everybody and time spent by user making timesheet into timesheet pages. NEW: Can enter start hours of task when creating timesheet
NEW: Show last official stable version into system - update page.
NEW: Show photo of logged user into login top right block. NEW: If no photo is available for user, we show a generic photo depending on gender
NEW: [T1758] Merge bank card & account card
NEW: [ task 1191 ] AJAX selector for projects
NEW: [ task #851 ] Add a new field: Commercial name
NEW: [ task #977 ] New option to manage product unit Migrated code from GPCSolutions/dolibarr:3.2-units branch and adapted for 3.8 with some improvements
NEW: The line where mouse is over can be highlight with option THEME_ELDY_USE_HOVER (on by default)
NEW: The notification module accept keyword __SUPERVISOR__ to send notification to supervisor of user.
NEW: Thumbs for statistics on main page are fully clicable (not only link inside the thumb)
NEW: Title of page project contains project ref and label
NEW: update skeleton and class builder
NEW: Use new select2 component for juridical status, country and state selection.
NEW: Web service to create or update product can correct stock during creation/update.
NEW: When creating order, proposal or invoice from thirdparty card, the project is asked during creation. A link to create project if it does not exists is also available. NEW: Uniformize form creation of proposal to add public and private notes during creation like done for order and invoice.
NEW: When using transfer or correct stock from warehouse, after recording we go back to the warehouse page.
NEW: Add Option to not change date on cloning project
NEW: Add check list from table for extrafield type
NEW: Use new combobox.
NEW: Add hidden option MAXTABS_IN_CARD.
NEW: A default label is suggested for stock correction and transfer instead of empty string.
NEW: Add Weighted average price as default price for buying price for margin calculation. Add option MARGIN_PMP_AS_DEFAULT_BUY_PRICE to replace with first supplier price.
NEW: Introduce option MAIN_HTML_TITLE to start to control format of html title content.
NEW: Add extrafields on bank account cards.
NEW: Added delay between mails in Newsletter module.
NEW: [ task #1793 ] Create new permission to restrict commercial agent margin to logged user.
NEW: Add experimental module ask supplier price to request supplier quotation.
NEW: Add module batch management.
NEW: Created new ContratLigne::insert function
For translators:
NEW: Update language files.
NEW: When a translation is not available we always jump to en_US and only en_US.
For developers:
NEW: Function yn can show a visual checkbox.
NEW: Introduced select2 jquery plugin.
NEW: Possibility to add javascript in main login page with "getLoginPageOptions" hook
NEW: possibility to defined a tab for all entities in module descriptor
WARNING: Following changes may create regression for some external modules, but was necessary to make
Dolibarr better:
- Removed hoo supplierorderdao into supplier order creation. This is a business event, so we must use the
trigger ORDER_SUPPLIER_CREATE instead.
- Hooks 'printLeftBlock' and 'formConfirm' are now compliant with hook development rules. They are
"addreplace" hooks, so you must return content with "->resprints='mycontent'" and not with "return 'mycontent'"
- All fields "fk_societe" were renamed into "fk_soc".
- Method select_PriceBaseType and load_PriceBaseType were merged into selectPriceBaseType.
- The trigger USER_LOGIN* are deprecated. They are still working but you should prefer use the
hook afterLogin or afterLoginFailed instead.
***** ChangeLog for 3.7.2 compared to 3.7.1 *****
FIX [ bug #2855 ] Wrong translation key in localtax report page
FIX [ bug #1852 ] JS error when editing a customer order line
FIX [ bug #2900 ] Courtesy title is not stored in create thirdparty form
***** ChangeLog for 3.7.1 compared to 3.7.* *****
FIX Bug in the new photo system
@@ -158,11 +256,11 @@ FIX send mail, copy sendto don't read the list of contact
FIX Properly escape untrusted data to prevent HTML injection.
FIX send mail, copy sendto don't read the list of contact
Path to save photos of products was moved in 3.7.0 to match path of other attached files. If you had loose
Path to save photos of products was moved in 3.7.0 to match path of other attached files. If you had loose
your photo on the photo tab of products, you can set the constant "PRODUCT_USE_OLD_PATH_FOR_PHOTO" to
restore old path.
WARNING:
WARNING:
Do not try to make any Dolibarr upgrade if you are running Mysql version 5.5.40.
Mysql version 5.5.40 has a very critical bug making your data beeing definitely lost.
@@ -172,7 +270,7 @@ make a Dolibarr upgrade.
***** ChangeLog for 3.7 compared to 3.6.* *****
For users:
- New: Match other auth system: Login can be done entering login or user
- New: Match other auth system: Login can be done entering login or user
email (this open the road for SSO).
- New: Agenda export by project #1967.
- New: Increase length of thirdparty to 128 chars.
@@ -193,14 +291,14 @@ For users:
- New: Can filter on status on interventions.
- New: Add help info of field type into dictionary of payment types.
- New: Add proposals into referer page of thirdparty.
- New: On contact list can set filter on both active and not active (no more exclusive select).
- New: On contact list can set filter on both active and not active (no more exclusive select).
- New: Intervention documents are now available in ECM module.
- New: Can attach supplier order to a customer order.
- New: Supervisor is now visible into user list.
- New: Supervisor is now visible into user list.
- New: Add user of creation and validation on invoice export.
- New: Add info page about browser.
- New: Enable feature developed for 3.6 we forgot to enabled: Adding prefix
on uploaded file names.
on uploaded file names.
- New: No more dependency between contract and service module.
- New: [ task #867 ] Remove ESAEB external module code from core.
- New: Can create proposal from an intervention.
@@ -231,7 +329,7 @@ For users:
Use accesskey on form search.
- New: Intervention documents are now available in ECM module.
- New: Add attachments on user card + in ECM module.
- New: Can add __PROJECT_REF__ and __THIRDPARTY_NAME__ into email topic or content template.
- New: Can add __PROJECT_REF__ and __TIHRPARTY_NAME__ into email topic or content template.
- New: [ task #1204 ] add Numering contrat module free (like leopard in product module).
- New: [ task #712 ] Add warning when creating invoice from proposal or order, when there is already one invoice.
- New: Enable supplier price log table.
@@ -239,8 +337,8 @@ For users:
- New: [ task #1218 ] Can drag and drop an event from calendar to change its day.
- New: Optimize size of image static resources.
- New: Add hourly and daily amount on user card. Add weekly working hours and salary on user card.
- New: Content of predefined email come firstly from table llx_c_email_template, then translation key.
- New: Add option MAIN_GENERATE_INVOICES_WITH_PICTURE to show picture
- New: Content of predefined email come firstly from table llx_c_email_template, then translation key.
- New: Add option MAIN_GENERATE_INVOICES_WITH_PICTURE to show picture
onto PDF like MAIN_GENERATE_PROPOSALS_WITH_PICTURE dir for proposals.
- New: Add more search field in list of cheque deposits.
- New: Add feature to order to invoice on supplier part.
@@ -275,6 +373,7 @@ For users:
- Fix: [ bug #1535 ] Supplier invoice Extrafields are not shown
- Fix: datepicker first day of week can be monday by setting into display setup
- Fix: [ bug #575 ] GED doesn't works if there is "/" in a mask
- Fix: [ task #1728 ] Deactivate RIB suggest in proposals / invoices / orders
For users, new experimental module (need to set feature level of instance to experimental to see them):
- New: Module Accounting Expert to manage accountancy
@@ -342,8 +441,8 @@ Dolibarr better:
- Deprecated module "oscommerce" were removed.
- Changed the way parameters are provided to scripts sync_xxx_ldap2dolibarr.php
- Some field into database were renamed from "libelle" to "label".
- Table llx_c_pays were renamed into llx_c_country.
- Triggers *_BUILDDOC are removed. Building a doc is not a business event. For action after
- Table llx_c_pays were renamed into llx_c_country.
- Triggers *_BUILDDOC are removed. Building a doc is not a business event. For action after
creation of a pdf or odt, hook "afterPDFCreation" or "afterODTCreation" must be used instead.
- A lot of pages named fiche.php were renamed into card.php
- A lot of pages named liste.php were renamed into list.php
@@ -352,57 +451,6 @@ Dolibarr better:
- Replaced USER_UPDATE_SESSION trigger with an updateSession hook may break modules using it.
***** ChangeLog for 3.6.6 compared to 3.6.5 *****
FIX: #3734 Do not show empty links of deleted source objects in stock movement list
FIX: #4081 Added missing translation
FIX: #4097 Public holiday calculation
FIX: #4242 Allow disabling dashes in documents
FIX: #4243 sql injection
FIX: Add a protection to not make release if ChangeLog was not generated. Prepare package 3.6.5
FIX: export with category contact extrafields
FIX: Not delete a product when have customer price
FIX: Not deleting contrats on element_element table
***** ChangeLog for 3.6.5 compared to 3.6.4 *****
FIX: #2957 : missing $langs object for trigger
FIX: #2983 Load gravatar avatar images securely over HTTPS
FIX: #3009: Better filtering to prevent SQL injection
FIX: #3841 creation of a task completed has not status set to finished by default
FIX: #3890 Expected transactions bank account page, shows negative numbers
FIX: #3928 Creating a Customer order and a Customer invoice from a project, does not inherit payment conditions and method of payment of customer card
FIX: bad calculation for stock value
FIX: bad stock valo
FIX: bad stock valorisation
FIX: [ bug #2893 ] Dolibarr error when viewing an invoice after changing invoice mask
FIX: button create payment hide if tax amount is less than 1
FIX: change object statut on close shipping and remove erratic db commit
FIX: change order date on clone (as everywhere else)
FIX: Close #2835 Customer prices of a product shows incorrect history order
FIX: Close #2837 Product list table column header does not match column body
FIX: Close bug #2861 Undefined variable $res when migrating from 3.6.2 to 3.7.0
FIX: Close bug #2891 Category hooks do not work
FIX: Close bug #2976: "Report" tab is the current tab but it is not marked as selected by the UI
FIX: contact country had wrong display if the country dont have translate
FIX: double db escape add too quote
FIX: End log must use same level then start log.
FIX: error in SQL due to a previous fix
FIX: event for restricted user was restricted if company null
FIX: facturestat bad sql when customer view is limited
FIX: If supplier invoice block linked element is display after other block total HT amount is not reset to 0 and sum other block (like customer orders values)
FIX: keep filter by category or by not enough stock if we switch page
FIX: no need to remove file into mail form, the temp dir will be deleted after any sending
FIX: no projet_task_time id from trigger TASK_TIMESPENT_CREATE
FIX: pmp
FIX: send mail, copy sendto don't read the list of contact
FIX: The hours of date filter aren't correct
FIX: tool export handle the type "select" extrafields and return the value instead of id
FIX: top links menu have target attribute with wrong value
FIX: total amount in tpl linked object are not reset
FIX: when multicompany was enabled, this function didn't check just on the good entity (problem when both company use same mask)
***** ChangeLog for 3.6.4 compared to 3.6.3 *****
- Fix: [ bug #2893 ] Dolibarr error when viewing an invoice after changing invoice mask
***** ChangeLog for 3.6.3 compared to 3.6.2 *****
- Fix: ref_ext was not saved when recording a customer order from web service
- Fix: withdrawal create error if in the same month are deleted previus withdrawals.
@@ -440,11 +488,6 @@ FIX: when multicompany was enabled, this function didn't check just on the good
- Fix: [ bug #2542 ] Contracts store localtax preferences
- Fix: Bad permission assignments for stock movements actions
- Fix: [ bug #2891 ] Category hooks do not work
- Fix: [ bug #2696 ] Adding complementary attribute fails if code is numerics
- Fix: [ bug #3074 ] Accruals accounting use payment date instead of commitment date in turnover reports for salaries
- Fix: Not showing product supplier reference when page break
- Fix: [ bug #3341 ] Missing translation in /compta/paiement_charge.php
- Fix: [ bug #3342 ] Taxes dictionary page does not accept localized decimals for localtax2 rate
***** ChangeLog for 3.6.2 compared to 3.6.1 *****
- Fix: fix ErrorBadValueForParamNotAString error message in price customer multiprice.
@@ -555,7 +598,7 @@ For users:
- Fix: Add actions events not implemented.
- Fix: Price min of composition is not supplier price min by quantity.
- Fix: [ bug #1356 ] Bank accountancy number is limited to 8 numbers.
- Fix: [ bug #1439 ] impossible to remove a a translation (multilanguage-feature)
- Fix: [ bug #1439 ] impossible to remove a a translation (multilanguage-feature)
- New: If multilangue is enabled, mail (from propal, invoice, etc...) message is pre-defaulted in Customer language
- Fix: [ bug #1459 ] _ADD_CONTACT and _DEL_CONTACT triggers do not intercept insertion when reported an error
- Fix: [ bug #1478 ] BILL_PAYED trigger action does not intercept failure under some circumstances
@@ -585,8 +628,8 @@ For developers:
- New: A module can disable a standard ECM view.
- New: Add multilang support into product webservice.
- New: Add hooks on project card page.
- New: Add call_trigger method on CommonObject class. So new trigger call within object is just :
$result = $this->call_trigger($trigger_name, $user)
- New: Add call_trigger method on CommonObject class. So new trigger call within object is just :
$result = $this->call_trigger($trigger_name, $user)
WARNING: Following change may create regression for some external modules, but was necessary to make
Dolibarr better:
@@ -624,14 +667,6 @@ Fix: [ bug #2861 ] Undefined variable $res when migrating
Fix: [ bug #2837 ] Product list table column header does not match column body
Fix: [ bug #2835 ] Customer prices of a product shows incorrect history order
Fix: [ bug #2814 ] JPEG photos are not displayed in Product photos page
Fix: [ bug #2715 ] Statistics page has broken layout with long thirdparty names
Fix: [ bug #2570 ] [Contacts] Page should not process if ID is invalid
Fix: [ bug #3268 ] SQL error when accessing thirdparty log page without a socid parameter
Fix: [ bug #3180 ] formObjectOptions hook when editing thirdparty card does not print result
Fix: [ bug #1791 ] Margin menu not available if any Finance module is not enabled
Fix: [ bug #3310 ] OrderLine::fetch, FactureLigne::fetch and PropaleLigne::fetch do not return anything
Fix: [ bug #3206 ] PropaleLigne, OrderLine and FactureLigne given to triggers through update function does not contain all the information
Fix: [ bug #3313 ] Error enabling module with PostgreSQL database
***** ChangeLog for 3.5.6 compared to 3.5.5 *****
Fix: Avoid missing class error for fetch_thirdparty method #1973

14
Dockerfile Normal file
View File

@@ -0,0 +1,14 @@
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

229
README.md
View File

@@ -1,151 +1,166 @@
# DOLIBARR ERP & CRM
Dolibarr ERP & CRM is a modern software to manage your company or foundation activity (contacts, suppliers, invoices, orders, stocks, agenda, ...).It's an opensource software (wrote with PHP language) designed for small and medium companies, foundation and freelances. You can freely install, use and distribute it as a standalone application or as a web application to use it from every internet access and media.
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.
## INSTALL
## INSTALLING
If you have no technical knowledge, and you are looking for an autoinstaller to install Dolibarr ERP/CRM in few clicks, you must download DoliWamp (the all-in-one package of Dolibarr for Windows), DoliDeb (the all-in-one package of Dolibarr for Debian or Ubuntu) or DoliRpm (the all-in-one package of Dolibarr for Fedora, Redhat, Opensuse, Mandriva or Mageia).
### Download
You can download this from the download area of [Official website] (<http://www.dolibarr.org/>)
Releases can be downloaded from [official website](http://www.dolibarr.org/).
If you already have installed a Web server and a Mysql database, you can install the standard version like this:
### Simple setup
- Uncompress the downloaded archive.
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:
- 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, call the dolibarr "install/" page.
- DoliWamp for Windows
- DoliDeb for Debian or Ubuntu
- DoliRpm for Redhat, Fedora, OpenSuse, Mandriva or Mageia
Url depends on choice made on first step:
### Advanced setup
http://localhost/dolibarr/htdocs/install/
or
You can use a Web server and a supported database (MySQL recommended) to install the standard version.
http://localhost/dolibarr/install/
or
- 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
http://yourdolibarrvirtualhost/install/
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 instructions provided by installer...
- 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.
## UPGRADE
*Note: migration process can safely be done multiple times.*
To upgrade Dolibarr from an old version to this one:
## NEWS
- Overwrite all old files inside old 'dolibarr' directory by files provided into new version package.
- If you came from version x.y.z to x.y.w (only third number differ), there is no need to run any migrate process.
- If you came 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).
See the [ChangeLog](ChangeLog) file.
This URL should looks like:
## FEATURES
http://localhost/dolibarr/htdocs/install/
or
### 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)
- ...
http://localhost/dolibarr/install/
or
### Main modules
http://yourdolibarrhost/install/
Then choose the "update" option according to your case.
Note: Migrate process can be ran safely several times.
## WHAT'S NEW
See ChangeLog file found into package.
## WHAT DOLIBARR CAN DO
### Main modules/features:
- Customers, Prospects or Suppliers directory.
- Products and services catalog.
- Bank accounts management.
- Orders management.
- Commercial proposals management.
- Contracts management.
- Invoices management.
- Payments management.
- Standing orders management.
- Stock management.
- Shipping management.
- 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,vcal export for third tools integration.
- EDM (Electronic Document Management).
- Foundations members management.
- Employee's holidays management.
- Mass Emailing.
- Realize surveys.
- Point of Sale.
- 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:
### Other modules
- Bookmarks management.
- Donations management.
- Reporting.
- Data export/import.
- Third parties or products categories.
- LDAP connectivity.
- ClickToDial integration.
- RSS integration.
- Can be extended with a lot of other external modules available onto DoliStore.com.
- 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)
-
### Miscellaneous:
### Extending
- Multi-user, with several permissions levels for each feature.
- Very user friendly and easy to use.
- Highly customizable: Enable only modules you need, 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+, MySql 4.1 or PostgreSQL 8.1.
- Require PHP and Mysql or Postgresql (See exatc versions on 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 system information (PHP with no heavy frameworks, trigger and hook architecture).
- Support countries 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 (2006/112/CE ... 2010/45/UE) (http://europa.eu/legislation_summaries/taxation/l31057_en.htm)
...
Dolibarr can be extended with a lot of other external modules from third party developers available at the [DoliStore](http://www.dolistore.com).
## FUTURE
## WHAT DOLIBARR CAN'T DO YET (TODO LIST)
These are features that Dolibarr does **not** yet fully support:
This is features that Dolibarr does not support completely yet:
- 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)
- No double party accountancy (only bank and treasury management).
- Dolibarr manage one currency at once (mono-currency).
- Dolibarr manage one master activity (mono-company). If you want to manage several companies or foundations, you must install several time the software (on same server or not). Another solution is to extend Dolibarr with the addon Module MultiCompany that allows to manage several companies in one Dolibarr instance (one database but with a logical isolation of datas).
- Tasks on module project can't have dependencies between each other.
- Dolibarr does not contains Payroll module.
- Dolibarr does not include any Webmail.
- Dolibarr can't do coffee (not 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>
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)

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Script build for hudson CI -->
<project name="dolibarr" default="hudson" basedir=".">
fdfds
<!-- Exclude/ignore paths -->
<property name="ignorepaths" value="${basedir}/htdocs/conf,${basedir}/htdocs/core/filemanagerdol,${basedir}/htdocs/includes" />
<property name="ignoreregexp" value="**/PEAR/*,**/NET/*,**/HTTP/*,**/zendgdata/*,**/reportico/*" />

0
build/.gitignore vendored Normal file → Executable file
View File

0
build/aps/APP-META-1.1.xml Normal file → Executable file
View File

0
build/aps/APP-META-1.2.xml Normal file → Executable file
View File

0
build/aps/README Normal file → Executable file
View File

1
build/aps/install.forced.php.install Normal file → Executable file
View File

@@ -21,3 +21,4 @@ $force_install_databaserootpass='';
$force_install_dolibarrlogin='admin';
$force_install_nophpinfo='1';
$force_install_lockinstall='444';
?>

View File

@@ -38,6 +38,15 @@ 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:
@@ -101,14 +110,38 @@ 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 but 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
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"
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
@@ -116,6 +149,7 @@ Pour lister les env chroot
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
@@ -129,7 +163,10 @@ Pour tester un package
> dpkg -i dolibarr*.deb ou pour avoir des traces: dpkg -D77777 -i dolibarr*.deb
> apt-get install -f
Puis http://localhost/dolibarr/ (cela peut etre appeler depuis le hote).
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).
@@ -196,26 +233,9 @@ http://packages.qa.debian.org/t/tcpdf.html
* Package will be into release when test will be moved as stable.
##### Update but tracker system
To set status of a bug to pending
> bts tag 999999 +pending
or replay to email 999999@bugs.debian.org + submitter of bug
With a message starting with:
Control: tag -1 +pending
and then a text like:
Thanks. Fixed into git.
or replay to email control@bugs.debian.org
With only message
tag 729538 +pending
##### Create/Maintain dolibarr package
To update dolibarr debian 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]
@@ -250,15 +270,25 @@ x.y.z+dfsgw
Note: If there was errors solved manually after get-orig-sources.sh, you may need to make a git commit
* Add an entry into debian/changelog
> dch -v x.y.z+dfsg-w "My comment" will add entry.
* 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 increaed for each new import)
Then 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).
* We try to build package
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
Note: You can use git-buildpackage -us -uc --git-ignore-new if you want to test build with uncommited file
@@ -276,6 +306,7 @@ Note: If there was errors managed manually, you may need to make a git commit bu
> git-buildpackage --git-tag-only --git-retag
> git push --tags
* Compilation is then done by a debian developer and sent
> sbuild ...
> dput ...
@@ -288,3 +319,17 @@ 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-2014-7137 was reported and is fixed into package 3.5.5.
Note that package 3.5.5 was prepared before the CVE was reported and include other fixes, but they are all related to stability or security (other se$
After discussion with ..., it appears that security holes are enough to request this unblock request."

View File

@@ -15,7 +15,7 @@ Alias /dolibarr /usr/share/dolibarr/htdocs
# Require all granted
# </IfVersion>
# <IfVersion < 2.3>
# Order allow,deny
# Order allow, deny
# Allow from all
# </IfVersion>
#
@@ -27,7 +27,7 @@ Alias /dolibarr /usr/share/dolibarr/htdocs
Require all granted
</IfVersion>
<IfVersion < 2.3>
Order allow,deny
Order allow, deny
Allow from all
</IfVersion>

2
build/debian/conf.php.install Normal file → Executable file
View File

@@ -226,3 +226,5 @@ $dolibarr_main_prod='0';
# Default value: 0 (use database value if exist)
# Examples:
# $dolibarr_mailing_limit_sendbyweb='0';
?>

View File

@@ -159,7 +159,7 @@ Comments:
Those files are not shipped in the binary package as we
configure Dolibarr to use Dejavu fonts from "fonts-dejavu-core".
Files: doc/images/*
Files: docs/images/*
Copyright: Laurent Destailleur
License: CC-BY-SA-3.0
You are free:
@@ -176,7 +176,7 @@ License: CC-BY-SA-3.0
.
For more information, see http://creativecommons.org/licenses/by-sa/3.0/
Files: htdocs/includes/fpdfi/*
Files: htdocs/includes/fpdi/*
Copyright: 2004-2011 Setasign - Jan Slabon
License: GPL-2+
This program is free software; you can redistribute it

0
build/debian/dolibarr.install Normal file → Executable file
View File

0
build/debian/dolibarr.lintian-overrides Normal file → Executable file
View File

0
build/debian/dolibarr.templates.futur Normal file → Executable file
View File

2
build/debian/install.forced.php.install Normal file → Executable file
View File

@@ -42,3 +42,5 @@ $force_install_lockinstall='444';
//$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';
?>

0
build/debian/po/POTFILES.in Normal file → Executable file
View File

0
build/debian/po/fr.po Normal file → Executable file
View File

4
build/doxygen/doxygen_footer.html Normal file → Executable file
View File

@@ -26,7 +26,7 @@ for <a href="http://www.dolibarr.org">$projectname</a> by Doxygen $doxygenversio
<!-- Google AdSense -->
<center>
<div class="center">
<script type="text/javascript"><!--
google_ad_client = "pub-1071905880519467";
/* PUBBANDEAUDOLIBARR */
@@ -36,7 +36,7 @@ google_ad_height = 60;
//-->
</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</center>
</div>
<!-- End google adsense -->
<br>

4
build/doxygen/doxygen_header.html Normal file → Executable file
View File

@@ -24,7 +24,7 @@ File added into doxygen generated documentation
</div>
<div id="logodol">
<center>
<div class="center">
<table width="100%">
<tr>
<td><div id="projectname">$projectname</div> - <span id="projectnumber">$projectnumber</span></td>
@@ -54,7 +54,7 @@ File added into doxygen generated documentation
<!-- banner end --></td>
</tr>
</table>
</center>
</div>
</div>

View File

@@ -0,0 +1,70 @@
#!/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>'."\n");
fputs($fp, '<dolibarr_root_dir version="'.$release.'">'."\n");
$dir_iterator = new RecursiveDirectoryIterator(dirname(__FILE__).'/../htdocs/');
$iterator = new RecursiveIteratorIterator($dir_iterator);
// need to ignore document custom etc
$files = new RegexIterator($iterator, '#^(?:[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_root_dir>'."\n");
fputs($fp, '</checksum_list>'."\n");
fclose($fp);
print "File ".$outputfile." generated\n";
exit(0);

View File

@@ -22,8 +22,7 @@ $PUBLISHSTABLE="eldy,dolibarr\@frs.sourceforge.net:/home/frs/project/dolibarr";
$PUBLISHBETARC="ldestailleur\@asso.dolibarr.org:/home/dolibarr/dolibarr.org/httpdocs/files";
#@LISTETARGET=("TGZ","ZIP","RPM_GENERIC","RPM_FEDORA","RPM_MANDRIVA","RPM_OPENSUSE","DEB","APS","EXEDOLIWAMP","SNAPSHOT"); # Possible packages
@LISTETARGET=("TGZ","ZIP","RPM_GENERIC","RPM_FEDORA","RPM_MANDRIVA","RPM_OPENSUSE","DEB","EXEDOLIWAMP","SNAPSHOT"); # Possible packages
@LISTETARGET=("TGZ","ZIP","RPM_GENERIC","RPM_FEDORA","RPM_MANDRIVA","RPM_OPENSUSE","DEB","APS","EXEDOLIWAMP","SNAPSHOT"); # Possible packages
%REQUIREMENTPUBLISH=(
"SF"=>"git ssh rsync",
"ASSO"=>"git ssh rsync"
@@ -352,28 +351,6 @@ if ($nboftargetok) {
print "Go to directory $SOURCE\n";
$olddir=getcwd();
chdir("$SOURCE");
# Test that the ChangeLog is ok
$ret=`grep "ChangeLog for $MAJOR.$MINOR\.$BUILD" "$SOURCE/ChangeLog" 2>&1`;
if (! $ret)
{
print "Error: The ChangeLogFile was not updated. Run the following command first:\n";
if (! $BUILD)
{
print 'cd ~/git/dolibarr_'.$MAJOR.'.'.$MINOR.'; git log `git rev-list --boundary '.$MAJOR.'.'.$MINOR.'..origin/develop | grep ^- | cut -c2- | head -n`.. --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';
}
else
{
print 'cd ~/git/dolibarr_'.$MAJOR.'.'.$MINOR.'; git log '.$MAJOR.'.'.$MINOR.'.'.($BUILD-1).'.. --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';
}
print "\n";
exit;
}
else
{
print "ChangeLog for $MAJOR.$MINOR\.$BUILD was found into '$SOURCE/ChangeLog'\n";
}
print 'Run git tag -a -m "'.$MAJOR.'.'.$MINOR.'.'.$BUILD.'" "'.$MAJOR.'.'.$MINOR.'.'.$BUILD.'"'."\n";
$ret=`git tag -a -m "$MAJOR.$MINOR.$BUILD" "$MAJOR.$MINOR.$BUILD" 2>&1`;
if ($ret =~ /already exists/)
@@ -450,7 +427,6 @@ if ($nboftargetok) {
$ret=`rm -fr $BUILDROOT/$PROJECT/htdocs/install/mssql`;
$ret=`rm -fr $BUILDROOT/$PROJECT/dev/ansible`;
$ret=`rm -fr $BUILDROOT/$PROJECT/dev/codesniffer`;
$ret=`rm -fr $BUILDROOT/$PROJECT/dev/codetemplates`;
$ret=`rm -fr $BUILDROOT/$PROJECT/dev/dbmodel`;
@@ -459,7 +435,6 @@ if ($nboftargetok) {
$ret=`rm -fr $BUILDROOT/$PROJECT/dev/ldap`;
$ret=`rm -fr $BUILDROOT/$PROJECT/dev/licence`;
$ret=`rm -fr $BUILDROOT/$PROJECT/dev/mail`;
$ret=`rm -fr $BUILDROOT/$PROJECT/dev/multitail`;
$ret=`rm -fr $BUILDROOT/$PROJECT/dev/phpcheckstyle`;
$ret=`rm -fr $BUILDROOT/$PROJECT/dev/phpunit`;
$ret=`rm -fr $BUILDROOT/$PROJECT/dev/security`;
@@ -490,7 +465,6 @@ if ($nboftargetok) {
# Removed known external modules to avoid any error when packaging from env where external modules are tested
$ret=`rm -fr $BUILDROOT/$PROJECT/htdocs/custom/*`; # For custom we want to keep dir
$ret=`rm -fr $BUILDROOT/$PROJECT/htdocs/allscreens*`;
$ret=`rm -fr $BUILDROOT/$PROJECT/htdocs/ancotec*`;
$ret=`rm -fr $BUILDROOT/$PROJECT/htdocs/cabinetmed*`;
$ret=`rm -fr $BUILDROOT/$PROJECT/htdocs/calling*`;
@@ -499,16 +473,15 @@ if ($nboftargetok) {
$ret=`rm -fr $BUILDROOT/$PROJECT/htdocs/lead*`;
$ret=`rm -fr $BUILDROOT/$PROJECT/htdocs/management*`;
$ret=`rm -fr $BUILDROOT/$PROJECT/htdocs/multicompany*`;
$ret=`rm -fr $BUILDROOT/$PROJECT/htdocs/ndf*`;
$ret=`rm -fr $BUILDROOT/$PROJECT/htdocs/nltechno*`;
$ret=`rm -fr $BUILDROOT/$PROJECT/htdocs/oscim*`;
$ret=`rm -fr $BUILDROOT/$PROJECT/htdocs/pos*`;
$ret=`rm -fr $BUILDROOT/$PROJECT/htdocs/public/test`;
$ret=`rm -fr $BUILDROOT/$PROJECT/htdocs/teclib*`;
$ret=`rm -fr $BUILDROOT/$PROJECT/htdocs/timesheet*`;
$ret=`rm -fr $BUILDROOT/$PROJECT/htdocs/themes/oblyon*`;
# Removed other test files
$ret=`rm -fr $BUILDROOT/$PROJECT/htdocs/themes/oblyon*`;
$ret=`rm -fr $BUILDROOT/$PROJECT/htdocs/themes/eldy/*.new`;
$ret=`rm -fr $BUILDROOT/$PROJECT/htdocs/public/api/explorer`; # This is a dev tool
$ret=`rm -fr $BUILDROOT/$PROJECT/htdocs/public/test`;
$ret=`rm -fr $BUILDROOT/$PROJECT/test`;
$ret=`rm -fr $BUILDROOT/$PROJECT/Thumbs.db $BUILDROOT/$PROJECT/*/Thumbs.db $BUILDROOT/$PROJECT/*/*/Thumbs.db $BUILDROOT/$PROJECT/*/*/*/Thumbs.db $BUILDROOT/$PROJECT/*/*/*/*/Thumbs.db`;
@@ -522,29 +495,17 @@ if ($nboftargetok) {
#$ret=`rm -fr $BUILDROOT/$PROJECT/htdocs/includes/ckeditor/_source`; # _source must be kept into tarball
$ret=`rm -fr $BUILDROOT/$PROJECT/htdocs/includes/jquery/plugins/datatables/extras/TableTools/swf`; # Source of this flash is not available
$ret=`rm -f $BUILDROOT/$PROJECT/htdocs/includes/jquery/plugins/multiselect/MIT-LICENSE.txt`;
$ret=`rm -fr $BUILDROOT/$PROJECT/htdocs/includes/mike42/escpos-php/doc`;
$ret=`rm -fr $BUILDROOT/$PROJECT/htdocs/includes/mike42/escpos-php/example`;
$ret=`rm -fr $BUILDROOT/$PROJECT/htdocs/includes/mike42/escpos-php/test`;
$ret=`rm -f $BUILDROOT/$PROJECT/htdocs/includes/jquery/plugins/multiselect/MIT-LICENSE.txt`;
$ret=`rm -fr $BUILDROOT/$PROJECT/htdocs/includes/nusoap/lib/Mail`;
$ret=`rm -fr $BUILDROOT/$PROJECT/htdocs/includes/nusoap/samples`;
$ret=`rm -fr $BUILDROOT/$PROJECT/htdocs/includes/php-iban/docs`;
$ret=`rm -fr $BUILDROOT/$PROJECT/htdocs/includes/phpexcel/license.txt`;
$ret=`rm -fr $BUILDROOT/$PROJECT/htdocs/includes/phpexcel/PHPExcel/Shared/PDF`;
$ret=`rm -fr $BUILDROOT/$PROJECT/htdocs/includes/phpexcel/PHPExcel/Shared/PCLZip`;
$ret=`rm -fr $BUILDROOT/$PROJECT/htdocs/includes/phpoffice/phpexcel/license.txt`;
$ret=`rm -fr $BUILDROOT/$PROJECT/htdocs/includes/phpoffice/phpexcel/Examples`;
$ret=`rm -fr $BUILDROOT/$PROJECT/htdocs/includes/phpoffice/phpexcel/PHPExcel/Shared/PDF`;
$ret=`rm -fr $BUILDROOT/$PROJECT/htdocs/includes/phpoffice/phpexcel/PHPExcel/Shared/PCLZip`;
$ret=`rm -fr $BUILDROOT/$PROJECT/htdocs/includes/phpoffice/phpexcel/unitTests`;
$ret=`rm -fr $BUILDROOT/$PROJECT/htdocs/includes/tcpdf/fonts/dejavu-fonts-ttf-*`;
$ret=`rm -fr $BUILDROOT/$PROJECT/htdocs/includes/tcpdf/fonts/freefont-*`;
$ret=`rm -fr $BUILDROOT/$PROJECT/htdocs/includes/tcpdf/fonts/utils`;
$ret=`rm -f $BUILDROOT/$PROJECT/htdocs/includes/tcpdf/LICENSE.TXT`;
$ret=`rm -fr $BUILDROOT/$PROJECT/htdocs/includes/tecnickcom/tcpdf/fonts/dejavu-fonts-ttf-*`;
$ret=`rm -fr $BUILDROOT/$PROJECT/htdocs/includes/tecnickcom/tcpdf/fonts/freefont-*`;
$ret=`rm -fr $BUILDROOT/$PROJECT/htdocs/includes/tecnickcom/tcpdf/fonts/utils`;
$ret=`rm -f $BUILDROOT/$PROJECT/htdocs/includes/tecnickcom/tcpdf/LICENSE.TXT`;
$ret=`rm -f $BUILDROOT/$PROJECT/htdocs/includes/tcpdf/LICENSE.TXT`;
$ret=`rm -fr $BUILDROOT/$PROJECT/htdocs/includes/savant`;
}

View File

@@ -8,16 +8,15 @@ 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 of a major new version x.y.0, you can do "cd ~/git/dolibarr_x.y; git log `git rev-list --boundary x.y..origin/develop | grep ^- | cut -c2- | head -n 1`.. --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"
To generate a changelog of a maintenance version x.y.z, you can do "cd ~/git/dolibarr_x.y; git log x.y.z-1.. --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/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.
- Create a branch (x.y), if version seems stable enough.
- Move build files into www.dolibarr.org web site
(/home/dolibarr/wwwroot/files/lastbuild).
@@ -30,10 +29,9 @@ 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 of a major new version x.y.0, you can do "cd ~/git/dolibarr_x.y; git log `git rev-list --boundary x.y..origin/develop | grep ^- | cut -c2- | head -n 1`.. --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"
To generate a changelog of a maintenance version x.y.z, you can do "cd ~/git/dolibarr_x.y; git log x.y.z-1.. --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/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.

View File

@@ -14,7 +14,7 @@ https://build.opensuse.org
Packaging rules: http://en.opensuse.org/Portal:Packaging
Add attributes:
OBS:Screenshots URL of screenshot
OBS:Screenshots URL of screenshot http://www.dolibarr.org/images/dolibarr_screenshot1.png
OBS:QualityCategory Development|Testing|Stable|Private
OBS:Maintained 1

View File

@@ -1,7 +1,7 @@
#----------------------------------------------------------------------------
# \file dolibarr.pl
# \brief Dolibarr script install for Virtualmin Pro
# \author (c)2009-2015 Regis Houssin <regis.houssin@capnetworks.com>
# \author (c)2009-2012 Regis Houssin <regis.houssin@capnetworks.com>
#----------------------------------------------------------------------------
@@ -30,7 +30,8 @@ return "Regis Houssin";
# script_dolibarr_versions()
sub script_dolibarr_versions
{
return ( "3.7.2", "3.6.3", "3.5.6" );
# TODO Replace this with version of Dolibar we want to install
return ( "x.y.z", "3.6.0");
}
sub script_dolibarr_category
@@ -56,26 +57,6 @@ 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
@@ -97,7 +78,8 @@ else {
$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"));
&ui_opt_textbox("dir", "dolibarr", 30,
"At top level"));
if ($d->{'ssl'} && $ver >= 3.0) {
$rv .= &ui_table_row("Force https connection?",
&ui_yesno_radio("forcehttps", 0));
@@ -177,8 +159,7 @@ if ($opts->{'newdb'} && !$upgrade) {
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 $dbphptype = $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);
@@ -220,10 +201,12 @@ if ($opts->{'path'} =~ /\w/) {
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);
&set_ownership_permissions(undef, undef, 0777, $cfiledir);
&set_ownership_permissions(undef, undef, 0666, $cfile);
&run_as_domain_user($d, "mkdir ".quotemeta($docdir));
&set_permissions_as_domain_user($d, 0777, $docdir);
&set_ownership_permissions(undef, undef, 0777, $docdir);
&run_as_domain_user($d, "mkdir ".quotemeta($altdir));
&set_ownership_permissions(undef, undef, 0777, $altdir);
}
else {
# Preserve old config file, documents and custom directory
@@ -259,7 +242,7 @@ if ($upgrade) {
[ "versionfrom", $upgrade->{'version'} ],
[ "versionto", $ver ],
);
local $err = &call_dolibarr_wizard_page(\@params, "etape5", $d, $opts);
local $err = &call_dolibarr_wizard_page(\@params, "step5", $d, $opts);
return (-1, "Dolibarr wizard failed : $err") if ($err);
# Remove the installation directory.
@@ -285,12 +268,12 @@ else {
[ "usealternaterootdir", "1" ],
[ "main_alt_dir_name", "custom" ],
);
local $err = &call_dolibarr_wizard_page(\@params, "etape1", $d, $opts);
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, "etape2", $d, $opts);
local $err = &call_dolibarr_wizard_page(\@params, "step2", $d, $opts);
return (-1, "Dolibarr wizard failed : $err") if ($err);
# Third page (Add administrator account)
@@ -299,15 +282,15 @@ else {
[ "pass", $dompass ],
[ "pass_verif", $dompass ],
);
local $err = &call_dolibarr_wizard_page(\@params, "etape5", $d, $opts);
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);
&set_ownership_permissions(undef, undef, 0644, $cfile);
&set_ownership_permissions(undef, undef, 0755, $cfiledir);
}
# Return a URL for the user
@@ -326,7 +309,6 @@ 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;
@@ -347,10 +329,10 @@ 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_");
}
# 3 times because of constraints
&cleanup_script_database($d, $opts->{'db'}, "llx_");
&cleanup_script_database($d, $opts->{'db'}, "llx_");
&cleanup_script_database($d, $opts->{'db'}, "llx_");
# Take out the DB
if ($opts->{'newdb'}) {

0
build/rpm/conf.php Normal file → Executable file
View File

0
build/rpm/dolibarr-forrpm.patch Normal file → Executable file
View File

0
build/rpm/dolibarr.desktop Normal file → Executable file
View File

View File

@@ -159,6 +159,7 @@ done >>%{name}.lang
%_datadir/dolibarr/htdocs/accountancy
%_datadir/dolibarr/htdocs/adherents
%_datadir/dolibarr/htdocs/admin
%_datadir/dolibarr/htdocs/api
%_datadir/dolibarr/htdocs/asterisk
%_datadir/dolibarr/htdocs/barcode
%_datadir/dolibarr/htdocs/bookmarks
@@ -172,8 +173,10 @@ done >>%{name}.lang
%_datadir/dolibarr/htdocs/contrat
%_datadir/dolibarr/htdocs/core
%_datadir/dolibarr/htdocs/cron
%_datadir/dolibarr/htdocs/don
%_datadir/dolibarr/htdocs/ecm
%_datadir/dolibarr/htdocs/expedition
%_datadir/dolibarr/htdocs/expensereport
%_datadir/dolibarr/htdocs/exports
%_datadir/dolibarr/htdocs/externalsite
%_datadir/dolibarr/htdocs/fichinter
@@ -185,12 +188,13 @@ done >>%{name}.lang
%_datadir/dolibarr/htdocs/install
%_datadir/dolibarr/htdocs/langs/HOWTO-Translation.txt
%_datadir/dolibarr/htdocs/livraison
%_datadir/dolibarr/htdocs/loan
%_datadir/dolibarr/htdocs/mailmanspip
%_datadir/dolibarr/htdocs/margin
%_datadir/dolibarr/htdocs/opensurvey
%_datadir/dolibarr/htdocs/paybox
%_datadir/dolibarr/htdocs/paypal
%_datadir/dolibarr/htdocs/printipp
%_datadir/dolibarr/htdocs/printing
%_datadir/dolibarr/htdocs/product
%_datadir/dolibarr/htdocs/projet
%_datadir/dolibarr/htdocs/public

View File

@@ -239,6 +239,7 @@ done >>%{name}.lang
%_datadir/dolibarr/htdocs/accountancy
%_datadir/dolibarr/htdocs/adherents
%_datadir/dolibarr/htdocs/admin
%_datadir/dolibarr/htdocs/api
%_datadir/dolibarr/htdocs/asterisk
%_datadir/dolibarr/htdocs/barcode
%_datadir/dolibarr/htdocs/bookmarks
@@ -252,8 +253,10 @@ done >>%{name}.lang
%_datadir/dolibarr/htdocs/contrat
%_datadir/dolibarr/htdocs/core
%_datadir/dolibarr/htdocs/cron
%_datadir/dolibarr/htdocs/don
%_datadir/dolibarr/htdocs/ecm
%_datadir/dolibarr/htdocs/expedition
%_datadir/dolibarr/htdocs/expensereport
%_datadir/dolibarr/htdocs/exports
%_datadir/dolibarr/htdocs/externalsite
%_datadir/dolibarr/htdocs/fichinter
@@ -265,12 +268,13 @@ done >>%{name}.lang
%_datadir/dolibarr/htdocs/install
%_datadir/dolibarr/htdocs/langs/HOWTO-Translation.txt
%_datadir/dolibarr/htdocs/livraison
%_datadir/dolibarr/htdocs/loan
%_datadir/dolibarr/htdocs/mailmanspip
%_datadir/dolibarr/htdocs/margin
%_datadir/dolibarr/htdocs/opensurvey
%_datadir/dolibarr/htdocs/paybox
%_datadir/dolibarr/htdocs/paypal
%_datadir/dolibarr/htdocs/printipp
%_datadir/dolibarr/htdocs/printing
%_datadir/dolibarr/htdocs/product
%_datadir/dolibarr/htdocs/projet
%_datadir/dolibarr/htdocs/public

View File

@@ -156,6 +156,7 @@ done >>%{name}.lang
%_datadir/dolibarr/htdocs/accountancy
%_datadir/dolibarr/htdocs/adherents
%_datadir/dolibarr/htdocs/admin
%_datadir/dolibarr/htdocs/api
%_datadir/dolibarr/htdocs/asterisk
%_datadir/dolibarr/htdocs/barcode
%_datadir/dolibarr/htdocs/bookmarks
@@ -169,8 +170,10 @@ done >>%{name}.lang
%_datadir/dolibarr/htdocs/contrat
%_datadir/dolibarr/htdocs/core
%_datadir/dolibarr/htdocs/cron
%_datadir/dolibarr/htdocs/don
%_datadir/dolibarr/htdocs/ecm
%_datadir/dolibarr/htdocs/expedition
%_datadir/dolibarr/htdocs/expensereport
%_datadir/dolibarr/htdocs/exports
%_datadir/dolibarr/htdocs/externalsite
%_datadir/dolibarr/htdocs/fichinter
@@ -182,12 +185,13 @@ done >>%{name}.lang
%_datadir/dolibarr/htdocs/install
%_datadir/dolibarr/htdocs/langs/HOWTO-Translation.txt
%_datadir/dolibarr/htdocs/livraison
%_datadir/dolibarr/htdocs/loan
%_datadir/dolibarr/htdocs/mailmanspip
%_datadir/dolibarr/htdocs/margin
%_datadir/dolibarr/htdocs/opensurvey
%_datadir/dolibarr/htdocs/paybox
%_datadir/dolibarr/htdocs/paypal
%_datadir/dolibarr/htdocs/printipp
%_datadir/dolibarr/htdocs/printing
%_datadir/dolibarr/htdocs/product
%_datadir/dolibarr/htdocs/projet
%_datadir/dolibarr/htdocs/public

View File

@@ -167,6 +167,7 @@ done >>%{name}.lang
%_datadir/dolibarr/htdocs/accountancy
%_datadir/dolibarr/htdocs/adherents
%_datadir/dolibarr/htdocs/admin
%_datadir/dolibarr/htdocs/api
%_datadir/dolibarr/htdocs/asterisk
%_datadir/dolibarr/htdocs/barcode
%_datadir/dolibarr/htdocs/bookmarks
@@ -180,8 +181,10 @@ done >>%{name}.lang
%_datadir/dolibarr/htdocs/contrat
%_datadir/dolibarr/htdocs/core
%_datadir/dolibarr/htdocs/cron
%_datadir/dolibarr/htdocs/don
%_datadir/dolibarr/htdocs/ecm
%_datadir/dolibarr/htdocs/expedition
%_datadir/dolibarr/htdocs/expensereport
%_datadir/dolibarr/htdocs/exports
%_datadir/dolibarr/htdocs/externalsite
%_datadir/dolibarr/htdocs/fichinter
@@ -193,12 +196,13 @@ done >>%{name}.lang
%_datadir/dolibarr/htdocs/install
%_datadir/dolibarr/htdocs/langs/HOWTO-Translation.txt
%_datadir/dolibarr/htdocs/livraison
%_datadir/dolibarr/htdocs/loan
%_datadir/dolibarr/htdocs/mailmanspip
%_datadir/dolibarr/htdocs/margin
%_datadir/dolibarr/htdocs/opensurvey
%_datadir/dolibarr/htdocs/paybox
%_datadir/dolibarr/htdocs/paypal
%_datadir/dolibarr/htdocs/printipp
%_datadir/dolibarr/htdocs/printing
%_datadir/dolibarr/htdocs/product
%_datadir/dolibarr/htdocs/projet
%_datadir/dolibarr/htdocs/public

0
build/rpm/file_contexts.dolibarr Normal file → Executable file
View File

2
build/rpm/install.forced.php.fedora Normal file → Executable file
View File

@@ -31,3 +31,5 @@ $force_dolibarr_lib_TCPDF_PATH='';
//$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/dejavu/DejaVuSans-Bold.ttf';
?>

1
build/rpm/install.forced.php.generic Normal file → Executable file
View File

@@ -20,3 +20,4 @@ $force_install_lockinstall='444';
// Value to overwrite path to use shared libraries/fonts instead of embedded one
// We don't force any external lib with generic package
?>

2
build/rpm/install.forced.php.mandriva Normal file → Executable file
View File

@@ -31,3 +31,5 @@ $force_dolibarr_lib_TCPDF_PATH='';
//$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/TTF/dejavu/DejaVuSans-Bold.ttf';
?>

2
build/rpm/install.forced.php.opensuse Normal file → Executable file
View File

@@ -31,3 +31,5 @@ $force_dolibarr_lib_TCPDF_PATH='';
//$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/DejaVuSans-Bold.ttf';
?>

View File

@@ -1,18 +0,0 @@
<VirtualHost *:80>
DocumentRoot %TRAVIS_BUILD_DIR%/htdocs
<Directory "%TRAVIS_BUILD_DIR%/htdocs">
Options FollowSymLinks MultiViews ExecCGI
AllowOverride All
Order deny,allow
Allow from all
</Directory>
# Wire up Apache to use Travis CI's php-fpm.
<IfModule mod_fastcgi.c>
AddHandler php5-fcgi .php
Action php5-fcgi /php5-fcgi
Alias /php5-fcgi /usr/lib/cgi-bin/php5-fcgi
FastCgiExternalServer /usr/lib/cgi-bin/php5-fcgi -host 127.0.0.1:9000 -pass-header Authorization
</IfModule>
</VirtualHost>

View File

@@ -6,34 +6,27 @@
"homepage": "http://www.dolibarr.org",
"license": "GPL-3.0+",
"support": {
"issues": "https://github.com/Dolibarr/dolibarr/issues",
"issues": "https://doliforge.org/projects/dolibarr",
"forum": "http://www.dolibarr.org/forum",
"wiki": "http://wiki.dolibarr.org",
"irc": "irc://chat.freenode.net/dolibarr",
"source": "https://github.com/Dolibarr/dolibarr"
"wiki": "http://wiki.dolibarr.org"
},
"require": {
"php": ">=5.3.0",
"ext-curl": "*"
"ext-gd": "*",
"ext-curl": "*",
"restler/framework": "3.0.*"
},
"suggest": {
"ext-mysqlnd": "To use with MySQL or MariaDB",
"ext-mysqli": "To use with MySQL or MariaDB",
"ext-pgsql": "To use with PostgreSQL",
"ext-mssql": "To use with MSSQL (experimental)",
"ext-pdo_sqlite": "To use with SQLite (experimental)",
"ext-gd": "Image manipulation (Required but maybe built-in PHP)",
"ext-imagick": "Image manipulation (TCPDF)",
"ext-mcrypt": "(Required but maybe built-in PHP)",
"ext-openssl": "Secure connections (Emails, SOAP…)",
"ext-mbstring": "Handle non UTF-8 databases",
"ext-soap": "Native SOAP",
"ext-zip": "ODT and Excel support",
"ext-xml": "Excel support",
"firephp/firephp-core": "Logging to Firebug console support",
"raven/raven": "Sentry logging server support"
},
"config": {
"vendor-dir": "htdocs/includes"
"ext-mysqli": "*",
"ext-pgsql": "*",
"ext-mssql": "*",
"ext-pdo_sqlite": "*",
"ext-imagick": "*",
"ext-mcrypt": "*",
"ext-openssl": "*",
"ext-mbstring": "*",
"ext-soap": "*",
"ext-zip": "*",
"ext-xml": "*"
}
}

14
dev/ansible/README.md Normal file
View File

@@ -0,0 +1,14 @@
# This directory contains script example to use ansible to deploy or maitains dolibarr instances
This is a quick tutorial:
* Install ansible:
> apt-get install ansible
* Add ip of server to manage into
/etc/ansible/hosts
* Deploy public key to managed servers
- authorized_key: user=charlie key="{{ lookup('file', '/home/charlie/.ssh/id_rsa.pub') }}"

View File

@@ -0,0 +1,24 @@
#!/usr/bin/env ansible-playbook
# Run script with ansible-playbook deploydev.yml
# or ./deploydev.yml
- name: Configure webserver with apache
hosts: webservers
sudo: True
tasks:
- name: install apache
apt: name=apache update_cache=yes
- name: copy apache config file
copy: src=files/apachealias.conf dest=/etc/apache/conf.d/dolibarr_dev
#- name: enable configuration
# file: >
# dest=/etc/apache/sites-enabled/default
# src=/etc/apache/sites-available/default
# state=link
- name: copy info.html
template: src=templates/info.html.j2 dest=/var/www/dolibarr_dev/info.html
mode=0644
- name: restart apache
service: name=apache state=restarted

View File

@@ -0,0 +1,2 @@
Alias /dolibarr_dev /var/www/dolibarr

View File

@@ -0,0 +1,2 @@
[webservers]
testserver ansible_ssh_host=127.0.0.1 ansible_ssh_port=22

View File

@@ -0,0 +1,10 @@
<html>
<head>
<title>Page info ansible</title>
</head>
<body>
<h1>Apache, configured by Ansible</h1>
<p>If you can see this, Ansible successfully installed apache.</p>
<p>{{ ansible_managed }}</p>
</body>
</html>

11
dev/codesniffer/README Normal file → Executable file
View File

@@ -1,9 +1,12 @@
README (English)
--------------------------------
This directory contains ruleset files to use to
develop Dolibarr EPR & CRM with Eclipse.
This directory contains ruleset files to use to develop Dolibarr EPR & CRM.
Note: You must setup the PTI plugin of Eclipse into PHPCodeSniffer menu with:
To install/upgrade phpcs:
> sudo pear upgrade PHP_CodeSniffer
Note with Eclipse: You must setup the PTI plugin of Eclipse into PHPCodeSniffer menu with:
* tab value to 4
* path of code sniffer standard to dev/codesniffer
* path of code sniffer standard to dev/codesniffer

0
dev/codesniffer/php.ini Normal file → Executable file
View File

0
dev/codesniffer/ruleset.dtd Normal file → Executable file
View File

15
dev/codesniffer/ruleset.xml Normal file → Executable file
View File

@@ -289,15 +289,6 @@
<rule ref="PEAR.Functions.FunctionCallSignature" />
<rule ref="PEAR.Functions.FunctionCallSignature.CloseBracketLine">
<severity>0</severity>
</rule>
<rule ref="PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket">
<severity>0</severity>
</rule>
<rule ref="PEAR.Functions.FunctionCallSignature.EmptyLine">
<severity>0</severity>
</rule>
<rule ref="PEAR.Functions.FunctionCallSignature.Indent">
<severity>0</severity>
</rule>
@@ -313,6 +304,12 @@
<rule ref="PEAR.Functions.FunctionCallSignature.SpaceAfterCloseBracket">
<severity>0</severity>
</rule>
<rule ref="PEAR.Functions.FunctionCallSignature.CloseBracketLine">
<severity>0</severity>
</rule>
<rule ref="PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket">
<severity>0</severity>
</rule>
<rule ref="PEAR.Functions.ValidDefaultValue" />

0
dev/codetemplates/README Normal file → Executable file
View File

0
dev/codetemplates/codetemplates.dtd Normal file → Executable file
View File

0
dev/codetemplates/codetemplates.xml Normal file → Executable file
View File

View File

@@ -23,6 +23,21 @@ Replace call to serialize_val with no bugged value
FPDI:
-----
Replace:
$this->_readXref($this->_xref, $this->_findXref());
with:
try {
$this->_readXref($this->_xref, $this->_findXref());
}
catch(Exception $e)
{
print $e->getMessage();
exit;
}
TCPDF:
------
* Removed all fonts except
@@ -47,6 +62,19 @@ In htdocs/includes/tcpdf/tcpdf.php
* Renamed getmypid into dol_getmypid().
TCPDI:
------
Add fpdf_tpl.php 1.2
Add tcpdi.php
Add tcpdi_parser.php and replace:
require_once(dirname(__FILE__).'/include/tcpdf_filters.php');
with:
require_once(dirname(__FILE__).'/../tcpdf/include/tcpdf_filters.php');
JSGANTT:
--------
* Replace in function JSGantt.taskLink

0
dev/examples/README Normal file → Executable file
View File

View File

@@ -66,11 +66,11 @@ $myproduct=new Product($db);
// Definition of product instance properties
$myproduct->ref = '1234';
$myproduct->libelle = 'libelle';
$myproduct->label = 'label';
$myproduct->price = '10';
$myproduct->price_base_type = 'HT';
$myproduct->tva_tx = '19.6';
$myproduct->type = 0;
$myproduct->type = Product::TYPE_PRODUCT;
$myproduct->status = 1;
$myproduct->description = 'Description';
$myproduct->note = 'Note';

View File

@@ -10,21 +10,21 @@
# Syntax
if [ "x$1" != "xlist" -a "x$1" != "xfix" ]
then
echo "Detect and fix files ending with bad ending chars (must be LF)"
echo "This script detect or clean files with CR+LF into files with LF only. All source files are included, also files into includes."
echo "Usage: fixdosfiles.sh [list|fix]"
fi
# To detec
if [ "x$1" = "xlist" ]
then
find . \( -iname "*.md" -o -iname "*.html" -o -iname "*.htm" -o -iname "*.php" -o -iname "*.sh" -o -iname "*.cml" -o -iname "*.css" -o -iname "*.js" -o -iname "*.lang" -o -iname "*.pl" -o -iname "*.txt" \) -exec file "{}" + | grep CRLF
# find . \( -iname "*.md" -o -iname "*.html" -o -iname "*.htm" -o -iname "*.php" -o -iname "*.sh" -o -iname "*.cml" -o -iname "*.css" -o -iname "*.js" -o -iname "*.lang" -o -iname "*.pl" -o -iname "*.txt" \) -exec file "{}" + | grep -v 'htdocs\/includes' | grep CRLF
find . \( -iname "*.md" -o -iname "*.html" -o -iname "*.htm" -o -iname "*.php" -o -iname "*.sh" -o -iname "*.cml" -o -iname "*.css" -o -iname "*.js" -o -iname "*.lang" -o -iname "*.pl" -o -iname "*.txt" -o -iname "*.xml" \) -exec file "{}" + | grep CRLF
# find . \( -iname "*.md" -o -iname "*.html" -o -iname "*.htm" -o -iname "*.php" -o -iname "*.sh" -o -iname "*.cml" -o -iname "*.css" -o -iname "*.js" -o -iname "*.lang" -o -iname "*.pl" -o -iname "*.txt" -o -iname "*.xml" \) -exec file "{}" + | grep -v 'htdocs\/includes' | grep CRLF
fi
# To convert
if [ "x$1" = "xfix" ]
then
for fic in `find . \( -iname "*.md" -o -iname "*.html" -o -iname "*.htm" -o -iname "*.php" -o -iname "*.sh" -o -iname "*.cml" -o -iname "*.css" -o -iname "*.js" -o -iname "*.lang" -o -iname "*.pl" -o -iname "*.txt" \) -exec file "{}" + | grep CRLF | awk -F':' '{ print $1 }' `
for fic in `find . \( -iname "*.md" -o -iname "*.html" -o -iname "*.htm" -o -iname "*.php" -o -iname "*.sh" -o -iname "*.cml" -o -iname "*.css" -o -iname "*.js" -o -iname "*.lang" -o -iname "*.pl" -o -iname "*.txt" -o -iname "*.xml"\) -exec file "{}" + | grep CRLF | awk -F':' '{ print $1 }' `
do
echo "Fix file $fic"
dos2unix $fic

57
dev/ical/event_recu.txt Normal file
View File

@@ -0,0 +1,57 @@
Example fo recurring event, 1 week, no end, exported by Google
# The recurring event were recorded every monday the 20150518. This is the Recurrence-id, but then
# first occurence was moved on tuesday. So this record were added.
BEGIN:VEVENT
DTSTART;TZID=Europe/Paris:20150519T100000
DTEND;TZID=Europe/Paris:20150519T110000
DTSTAMP:20150517T175754Z
UID:9026chuafli29ns5soshvckamc@google.com
RECURRENCE-ID;TZID=Europe/Paris:20150518T100000
CREATED:20150517T174404Z
DESCRIPTION:
LAST-MODIFIED:20150517T175008Z
LOCATION:
SEQUENCE:1
STATUS:CONFIRMED
SUMMARY:aaa
TRANSP:OPAQUE
END:VEVENT
# The recurring event were recorded every monday the 20150518.
BEGIN:VEVENT
DTSTART;TZID=Europe/Paris:20150518T100000
DTEND;TZID=Europe/Paris:20150518T110000
RRULE:FREQ=WEEKLY;BYDAY=MO
DTSTAMP:20150517T175754Z
UID:9026chuafli29ns5soshvckamc@google.com
CREATED:20150517T174404Z
DESCRIPTION:
LAST-MODIFIED:20150517T174404Z
LOCATION:
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:aaa
TRANSP:OPAQUE
END:VEVENT
Example fo recurring event, every 2 month, no end, exported by Google
BEGIN:VEVENT
DTSTART;TZID=Europe/Paris:20150519T080000
DTEND;TZID=Europe/Paris:20150519T090000
RRULE:FREQ=MONTHLY;INTERVAL=2;BYMONTHDAY=19
DTSTAMP:20150517T175754Z
UID:urkq3ih1mlaqeu4dbkpdh4i61s@google.com
CREATED:20150517T175658Z
DESCRIPTION:
LAST-MODIFIED:20150517T175658Z
LOCATION:
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:bbbbb
TRANSP:OPAQUE
END:VEVENT

View File

@@ -20,7 +20,7 @@
*/
/**
* \file htdocs/dev/generate-commande.php
* \file dev/initdata/generate-commande.php
* \brief Script de generation de donnees aleatoires pour les commandes
*/

View File

@@ -19,7 +19,7 @@
*/
/**
* \file htdocs/dev/generate-facture.php
* \file dev/intdata/generate-facture.php
* \brief Script de generation de donnees aleatoires pour les factures
*/

View File

@@ -20,7 +20,7 @@
*/
/**
* \file htdocs/dev/generate-produit.php
* \file dev/initdata/generate-produit.php
* \brief Script de generation de donnees aleatoires pour les produits
*/
@@ -88,7 +88,7 @@ for ($s = 0 ; $s < GEN_NUMBER_PRODUIT ; $s++)
$produit->type = rand(0,1);
$produit->status = 1;
$produit->ref = ($produit->type?'S':'P').time().$s;
$produit->libelle = 'Label '.time().$s;
$produit->label = 'Label '.time().$s;
$produit->description = 'Description '.time().$s;
$produit->price = rand(1,1000);
$produit->tva_tx = "19.6";

View File

@@ -20,7 +20,7 @@
*/
/**
* \file htdocs/dev/generate-propale.php
* \file dev/initdata/generate-propale.php
* \brief Script de generation de donnees aleatoires pour les propales
*/
@@ -103,7 +103,8 @@ if ($resql)
}
}
$user->rights->propale->valider=1;
$user->rights->propal->creer=1;
$user->rights->propal->propal_advance->validate=1;
if (! empty($conf->global->PROPALE_ADDON) && is_readable(DOL_DOCUMENT_ROOT ."/core/modules/propale/".$conf->global->PROPALE_ADDON.".php"))

View File

@@ -20,8 +20,8 @@
*/
/**
* \file htdocs/dev/generate-societe.php
* \brief Script de generation de donnees aleatoires pour les societes
* \file dev/initdata/generate-societe.php
* \brief Script de generation de donnees aleatoires pour les societes
*/
// Test si mode batch
@@ -89,7 +89,7 @@ for ($s = 0 ; $s < GEN_NUMBER_SOCIETE ; $s++)
{
print "Company $s\n";
$soc = new Societe($db);
$soc->nom = "Company num ".time()."$s";
$soc->name = "Company num ".time()."$s";
$soc->town = $listoftown[rand(0, count($listoftown)-1)];
$soc->client = rand(1,2); // Une societe sur 2 est prospect, l'autre client
$soc->fournisseur = rand(0,1); // Une societe sur 2 est fournisseur
@@ -101,7 +101,7 @@ for ($s = 0 ; $s < GEN_NUMBER_SOCIETE ; $s++)
// Un client sur 3 a une remise de 5%
$user_remise=rand(1,3); if ($user_remise==3) $soc->remise_percent=5;
print "> client=".$soc->client.", fournisseur=".$soc->fournisseur.", remise=".$soc->remise_percent."\n";
$soc->note='Company created by the script generate-societe.php';
$soc->note_private = 'Company created by the script generate-societe.php';
$socid = $soc->create();
if ($socid >= 0)
@@ -120,7 +120,7 @@ for ($s = 0 ; $s < GEN_NUMBER_SOCIETE ; $s++)
}
}
print "Company ".$s." created nom=".$soc->nom."\n";
print "Company ".$s." created nom=".$soc->name."\n";
}
else
{

0
dev/iso-normes/GURULABS-RPM-GUIDE-v1.0.PDF Normal file → Executable file
View File

0
dev/iso-normes/address_format.txt Normal file → Executable file
View File

0
dev/iso-normes/banknumber_format.txt Normal file → Executable file
View File

0
dev/iso-normes/xmlexport.txt Normal file → Executable file
View File

View File

@@ -1,4 +1,5 @@
# ldapadd_sample1.txt
# ldapadd is into package ldap-utils on debian.
#
# Use this sample to add a dc "my-domain".
# This is the first thing to create

View File

@@ -1,4 +1,5 @@
# ldapadd_sample2.txt
# ldapadd is into package ldap-utils on debian.
#
# Use this sample to add a ou "contacts"
# This is the second thing to create after creating the root my-domain

View File

@@ -1,4 +1,5 @@
# ldapadd_sample3.txt
# ldapadd is into package ldap-utils on debian.
#
# Use this sample to add cn records
# This is the step to create records inside tree ou=contacts,dc=my-domain,dc=com

View File

@@ -1,4 +1,5 @@
# ldapdelete_sample1.txt
# ldapdelete is into package ldap-utils on debian.
#
# Use this sample to delete a dc "my-domain"
# This delete the first level of LDAP tree.

View File

@@ -1,4 +1,5 @@
# ldapdelete_sample3.txt
# ldapdelete is into package ldap-utils on debian.
#
# Use this sample to delete cn records
# This is the step to delete a cn record stored inside tree ou=contacts,dc=my-domain,dc=com

View File

@@ -1,4 +1,5 @@
# ldapmodify_sample1.txt
# ldapmodify is into package ldap-utils on debian.
#
# Use this sample to modify a dc "my-domain"
#

View File

@@ -0,0 +1,9 @@
# ldapsearch_sample1.txt
# ldapsearch is into package ldap-utils on debian.
#
# Use this sample to search into a ldap
#
# ldapsearch -h hostname -x
# ldapsearch -h hostname -x -b "ou=people,dc=teclib,dc=infra"
# ldapsearch -h hostname -x -z 0 -b "o=somecompany.com" -D "cn=manager,o=somecompany.com" -W "(objectclass=*)"
# ldapsearch -h hostname -x -b "o=somecompany.com" -D "cn=manager,o=somecompany.com" -W "(objectclass=*)"

View File

@@ -0,0 +1,12 @@
# This is an example of multitail setup file you can use to analyze dolibarr log files.
# Usage: multitail -cS dolibarr documents/dolibarr.log
colorscheme:dolibarr
bright:1
cs_re:yellow,red:.*EMERG.*
cs_re:white,red:.*ALERT.*
cs_re:green,red:.*CRIT.*
cs_re:red:.*ERR.*
cs_re:white,yellow:.*WARNING.*
cs_re:green,yellow:.*NOTICE.*
cs_re:green:.*INFO.*
cs_re:white:.*DEBUG.*

View File

@@ -6,7 +6,7 @@ PROGNAME=${0##*/}
INPUT=''
QUIET='0'
NOSTATS='0'
INPLACE='0'
INPLACE='0' # (1=Images are replaced, 0=New images are stored into $OUTPUT)
max_input_size=0
max_output_size=0

0
dev/phpunit/README Normal file → Executable file
View File

0
dev/phpunit/eclipse_setup_for_pti_phpunit.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 67 KiB

After

Width:  |  Height:  |  Size: 67 KiB

123
dev/skeletons/build_api_class.php Executable file
View File

@@ -0,0 +1,123 @@
#!/usr/bin/php
<?php
/* Copyright (C) 2015 Jean-François Ferry <jfefe@aternatik.fr>
*
* 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 dev/skeletons/build_api_class.php
* \ingroup core
* \brief Create a complete API class file from existant class 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;
}
// Include Dolibarr environment
require_once($path."../../htdocs/master.inc.php");
// After this $db is a defined handler to database.
// Main
$version='1';
@set_time_limit(0);
$error=0;
$langs->load("main");
print "***** $script_file ($version) *****\n";
// -------------------- START OF BUILD_API_FROM_CLASS --------------------
// Check parameters
if (! isset($argv[1]) && ! isset($argv[2]))
{
print "Usage: $script_file phpClassFile phpClassName\n";
exit;
}
// Show parameters
print 'Classfile='.$argv[1]."\n";
print 'Classname='.$argv[2]."\n";
$classfile=$argv[1];
$classname=$argv[2];
$classmin=strtolower($classname);
$classnameApi = $classname.'Api';
$property=array();
$targetcontent='';
// Load the class and read properties
require_once($classfile);
$property=array();
$class = new $classname($db);
$values=get_class_vars($classname);
unset($values['db']);
unset($values['error']);
unset($values['errors']);
unset($values['element']);
unset($values['table_element']);
unset($values['table_element_line']);
unset($values['fk_element']);
unset($values['ismultientitymanaged']);
// Read skeleton_api_class.class.php file
$skeletonfile=$path.'skeleton_api_class.class.php';
$sourcecontent=file_get_contents($skeletonfile);
if (! $sourcecontent)
{
print "\n";
print "Error: Failed to read skeleton sample '".$skeletonfile."'\n";
print "Try to run script from skeletons directory.\n";
exit;
}
// Define output variables
$outfile='out.api_'.$classmin.'.class.php';
$targetcontent=$sourcecontent;
// Substitute class name
$targetcontent=preg_replace('/skeleton_api_class\.class\.php/', 'api_'.$classmin.'.class.php', $targetcontent);
$targetcontent=preg_replace('/skeleton/', $classmin, $targetcontent);
//$targetcontent=preg_replace('/\$table_element=\'skeleton\'/', '\$table_element=\''.$tablenoprefix.'\'', $targetcontent);
$targetcontent=preg_replace('/SkeletonApi/', $classnameApi, $targetcontent);
$targetcontent=preg_replace('/Skeleton/', $classname, $targetcontent);
// Build file
$fp=fopen($outfile,"w");
if ($fp)
{
fputs($fp, $targetcontent);
fclose($fp);
print "\n";
print "File '".$outfile."' has been built in current directory.\n";
}
else $error++;
// -------------------- END OF BUILD_CLASS_FROM_TABLE SCRIPT --------------------
print "You can now rename generated files by removing the 'out.' prefix in their name and store them into directory /module/class.\n";
return $error;

View File

@@ -174,7 +174,7 @@ $targetcontent=$sourcecontent;
// Substitute class name
$targetcontent=preg_replace('/skeleton_class\.class\.php/', $classmin.'.class.php', $targetcontent);
$targetcontent=preg_replace('/\$element=\'skeleton\'/', '\$element=\''.$classmin.'\'', $targetcontent);
$targetcontent=preg_replace('/\$table_element=\'skeleton\'/', '\$table_element=\''.$classmin.'\'', $targetcontent);
$targetcontent=preg_replace('/\$table_element=\'skeleton\'/', '\$table_element=\''.$tablenoprefix.'\'', $targetcontent);
$targetcontent=preg_replace('/Skeleton_Class/', $classname, $targetcontent);
// Substitute comments
@@ -252,7 +252,13 @@ foreach($property as $key => $prop)
if ($addfield)
{
$varprop.="\t\t\$sql.= \" ";
if ($prop['istime'])
if ($prop['field']=='datec')
{
$varprop.='"."\'".$this->db->idate(dol_now())."\'"."';
if ($i < count($property)) $varprop.=",";
$varprop.='";';
}
elseif ($prop['istime'])
{
$varprop.='".(! isset($this->'.$prop['field'].') || dol_strlen($this->'.$prop['field'].')==0?\'NULL\':"\'".$this->db->idate(';
$varprop.="\$this->".$prop['field']."";
@@ -268,6 +274,12 @@ foreach($property as $key => $prop)
if ($i < count($property)) $varprop.=",";
$varprop.='";';
}
elseif ($prop['field']=='fk_user_mod' || $prop['field']=='fk_user_author')
{
$varprop.='".$user->id."';
if ($i < count($property)) $varprop.=",";
$varprop.='";';
}
else
{
$varprop.='".(! isset($this->'.$prop['field'].')?\'NULL\':"\'".';
@@ -289,11 +301,17 @@ $i=0;
foreach($property as $key => $prop)
{
$i++;
if ($prop['field'] != 'rowid' && $prop['field'] != 'id')
if ($prop['field'] != 'rowid' && $prop['field'] != 'id' && $prop['field'] != 'datec' && $prop['field'] != 'fk_user_author')
{
$varprop.="\t\t\$sql.= \" ";
$varprop.=$prop['field'].'=';
if ($prop['istime'])
if ($prop['field']=='tms') {
$varprop.='".(dol_strlen($this->'.$prop['field'].')!=0 ? "\'".$this->db->idate(';
$varprop.='$this->'.$prop['field'];
$varprop.=')."\'" : "\'".$this->db->idate(dol_now())."\'").';
$varprop.='"';
}
elseif ($prop['istime'])
{
// (dol_strlen($this->datep)!=0 ? "'".$this->db->idate($this->datep)."'" : 'null')
$varprop.='".(dol_strlen($this->'.$prop['field'].')!=0 ? "\'".$this->db->idate(';
@@ -301,6 +319,9 @@ foreach($property as $key => $prop)
$varprop.=')."\'" : \'null\').';
$varprop.='"';
}
elseif ($prop['field']=='fk_user_mod') {
$varprop.='".$user->id."';
}
else
{
$varprop.="\".";
@@ -325,6 +346,7 @@ $targetcontent=preg_replace('/\$sql\.= " t\.field2";/', '', $targetcontent);
// Substitute select set parameters
$varprop="\n";
$varpropline="\n";
$cleanparam='';
$i=0;
foreach($property as $key => $prop)
@@ -338,11 +360,22 @@ foreach($property as $key => $prop)
if ($prop['istime']) $varprop.=')';
$varprop.=";";
$varprop.="\n";
$varpropline.="\t\t\t\t\$line->".$prop['field']." = ";
if ($prop['istime']) $varpropline.='$this->db->jdate(';
$varpropline.='$obj->'.$prop['field'];
if ($prop['istime']) $varpropline.=')';
$varpropline.=";";
$varpropline.="\n";
}
}
$targetcontent=preg_replace('/\$this->prop1 = \$obj->field1;/', $varprop, $targetcontent);
$targetcontent=preg_replace('/\$this->prop2 = \$obj->field2;/', '', $targetcontent);
//Substirute fetchAll
$targetcontent=preg_replace('/\$line->prop1 = \$obj->field1;/', $varpropline, $targetcontent);
$targetcontent=preg_replace('/\$line->prop2 = \$obj->field2;/', '', $targetcontent);
// Substitute initasspecimen parameters
$varprop="\n";

0
dev/skeletons/build_webservice_from_class.php Executable file → Normal file
View File

View File

@@ -34,11 +34,11 @@ include_once DOL_DOCUMENT_ROOT .'/core/modules/DolibarrModules.class.php';
class modMyModule extends DolibarrModules
{
/**
* Constructor. Define names, constants, directories, boxes, permissions
* Constructor. Define names, constants, directories, boxes, permissions
*
* @param DoliDB $db Database handler
* @param DoliDB $db Database handler
*/
function __construct($db)
public function __construct($db)
{
global $langs,$conf;
@@ -57,7 +57,7 @@ class modMyModule extends DolibarrModules
$this->name = preg_replace('/^mod/i','',get_class($this));
// Module description, used if translation string 'ModuleXXXDesc' not found (where XXX is value of numeric property 'numero' of module)
$this->description = "Description of module MyModule";
// Possible values for version are: 'development', 'experimental', 'dolibarr' or version
// Possible values for version are: 'development', 'experimental', 'dolibarr' or 'dolibarr_deprecated' or version
$this->version = '1.0';
// Key used in llx_const table to save module status enabled/disabled (where MYMODULE is value of property name of module in uppercase)
$this->const_name = 'MAIN_MODULE_'.strtoupper($this->name);
@@ -167,6 +167,12 @@ class modMyModule extends DolibarrModules
// Example:
//$this->boxes=array(array(0=>array('file'=>'myboxa.php','note'=>'','enabledbydefaulton'=>'Home'),1=>array('file'=>'myboxb.php','note'=>''),2=>array('file'=>'myboxc.php','note'=>'')););
// Cronjobs
$this->cronjobs = array(); // List of cron jobs entries to add
// Example: $this->cronjobs=array(0=>array('label'=>'My label', 'jobtype'=>'method', 'class'=>'MyClass', 'method'=>'myMethod', 'parameters'=>'', 'comment'=>'Comment', 'frequency'=>3600, 'unitfrequency'=>3600),
// 1=>array('label'=>'My label', 'jobtype'=>'command', 'command'=>'', 'parameters'=>'', 'comment'=>'Comment', 'frequency'=>3600, 'unitfrequency'=>3600)
// );
// Permissions
$this->rights = array(); // Permission array used by this module
$r=0;
@@ -180,7 +186,6 @@ class modMyModule extends DolibarrModules
// $this->rights[$r][5] = 'level2'; // In php code, permission will be checked by test if ($user->rights->permkey->level1->level2)
// $r++;
// Main menu entries
$this->menu = array(); // List of menus to add
$r=0;
@@ -244,24 +249,24 @@ class modMyModule extends DolibarrModules
* @param string $options Options when enabling module ('', 'noboxes')
* @return int 1 if OK, 0 if KO
*/
function init($options='')
public function init($options='')
{
$sql = array();
$result=$this->_load_tables('/mymodule/sql/');
//$this->_load_tables('/mymodule/sql/');
return $this->_init($sql, $options);
}
/**
* Function called when module is disabled.
* Remove from database constants, boxes and permissions from Dolibarr database.
* Data directories are not deleted
* Function called when module is disabled.
* Remove from database constants, boxes and permissions from Dolibarr database.
* Data directories are not deleted
*
* @param string $options Options when enabling module ('', 'noboxes')
* @return int 1 if OK, 0 if KO
* @param string $options Options when enabling module ('', 'noboxes')
* @return int 1 if OK, 0 if KO
*/
function remove($options='')
public function remove($options = '')
{
$sql = array();

View File

@@ -0,0 +1,288 @@
<?php
/* Copyright (C) 2015 Jean-François Ferry <jfefe@aternatik.fr>
*
* 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/>.
*/
use Luracast\Restler\RestException;
/**
* API class for skeleton object
*
* @smart-auto-routing false
* @access protected
* @class DolibarrApiAccess {@requires user,external}
*
*
*/
class SkeletonApi extends DolibarrApi
{
/**
* @var array $FIELDS Mandatory fields, checked when create and update object
*/
static $FIELDS = array(
'name'
);
/**
* @var Skeleton $skeleton {@type Skeleton}
*/
public $skeleton;
/**
* Constructor
*
* @url GET skeleton/
*
*/
function __construct()
{
global $db, $conf;
$this->db = $db;
$this->skeleton = new Skeleton($this->db);
}
/**
* Get properties of a skeleton object
*
* Return an array with skeleton informations
*
* @param int $id ID of skeleton
* @return array|mixed data without useless information
*
* @url GET skeleton/{id}
* @throws RestException
*/
function get($id)
{
if(! DolibarrApiAccess::$user->rights->skeleton->read) {
throw new RestException(401);
}
$result = $this->skeleton->fetch($id);
if( ! $result ) {
throw new RestException(404, 'Skeleton not found');
}
if( ! DolibarrApi::_checkAccessToResource('skeleton',$this->skeleton->id)) {
throw new RestException(401, 'Access not allowed for login '.DolibarrApiAccess::$user->login);
}
return $this->_cleanObjectDatas($this->skeleton);
}
/**
* List skeletons
*
* Get a list of skeletons
*
* @param int $mode Use this param to filter list
* @param string $sortfield Sort field
* @param string $sortorder Sort order
* @param int $limit Limit for list
* @param int $page Page number
*
* @return array Array of skeleton objects
*
* @url GET /skeletons/
*/
function getList($mode, $sortfield = "s.rowid", $sortorder = 'ASC', $limit = 0, $page = 0) {
global $db, $conf;
$obj_ret = array();
$socid = DolibarrApiAccess::$user->societe_id ? DolibarrApiAccess::$user->societe_id : '';
// If the internal user must only see his customers, force searching by him
if (! DolibarrApiAccess::$user->rights->societe->client->voir && !$socid) $search_sale = DolibarrApiAccess::$user->id;
$sql = "SELECT s.rowid";
if ((!DolibarrApiAccess::$user->rights->societe->client->voir && !$socid) || $search_sale > 0) $sql .= ", sc.fk_soc, sc.fk_user"; // We need these fields in order to filter by sale (including the case where the user can only see his prospects)
$sql.= " FROM ".MAIN_DB_PREFIX."skeleton as s";
if ((!DolibarrApiAccess::$user->rights->societe->client->voir && !$socid) || $search_sale > 0) $sql.= ", ".MAIN_DB_PREFIX."societe_commerciaux as sc"; // We need this table joined to the select in order to filter by sale
$sql.= ", ".MAIN_DB_PREFIX."c_stcomm as st";
$sql.= " WHERE s.fk_stcomm = st.id";
// Example of use $mode
//if ($mode == 1) $sql.= " AND s.client IN (1, 3)";
//if ($mode == 2) $sql.= " AND s.client IN (2, 3)";
$sql.= ' AND s.entity IN ('.getEntity('skeleton', 1).')';
if ((!DolibarrApiAccess::$user->rights->societe->client->voir && !$socid) || $search_sale > 0) $sql.= " AND s.fk_soc = sc.fk_soc";
if ($socid) $sql.= " AND s.fk_soc = ".$socid;
if ($search_sale > 0) $sql.= " AND s.rowid = sc.fk_soc"; // Join for the needed table to filter by sale
// Insert sale filter
if ($search_sale > 0)
{
$sql .= " AND sc.fk_user = ".$search_sale;
}
$nbtotalofrecords = 0;
if (empty($conf->global->MAIN_DISABLE_FULL_SCANLIST))
{
$result = $db->query($sql);
$nbtotalofrecords = $db->num_rows($result);
}
$sql.= $db->order($sortfield, $sortorder);
if ($limit) {
if ($page < 0)
{
$page = 0;
}
$offset = $limit * $page;
$sql.= $db->plimit($limit + 1, $offset);
}
$result = $db->query($sql);
if ($result)
{
$num = $db->num_rows($result);
while ($i < $num)
{
$obj = $db->fetch_object($result);
$skeleton_static = new Skeleton($db);
if($skeleton_static->fetch($obj->rowid)) {
$obj_ret[] = parent::_cleanObjectDatas($skeleton_static);
}
$i++;
}
}
else {
throw new RestException(503, 'Error when retrieve skeleton list');
}
if( ! count($obj_ret)) {
throw new RestException(404, 'No skeleton found');
}
return $obj_ret;
}
/**
* Create skeleton object
*
* @param array $request_data Request datas
* @return int ID of skeleton
*
* @url POST skeleton/
*/
function post($request_data = NULL)
{
if(! DolibarrApiAccess::$user->rights->skeleton->create) {
throw new RestException(401);
}
// Check mandatory fields
$result = $this->_validate($request_data);
foreach($request_data as $field => $value) {
$this->skeleton->$field = $value;
}
if( ! $this->skeleton->create(DolibarrApiAccess::$user)) {
throw new RestException(500);
}
return $this->skeleton->id;
}
/**
* Update skeleton
*
* @param int $id Id of skeleton to update
* @param array $request_data Datas
* @return int
*
* @url PUT skeleton/{id}
*/
function put($id, $request_data = NULL)
{
if(! DolibarrApiAccess::$user->rights->skeleton->create) {
throw new RestException(401);
}
$result = $this->skeleton->fetch($id);
if( ! $result ) {
throw new RestException(404, 'Skeleton not found');
}
if( ! DolibarrApi::_checkAccessToResource('skeleton',$this->skeleton->id)) {
throw new RestException(401, 'Access not allowed for login '.DolibarrApiAccess::$user->login);
}
foreach($request_data as $field => $value) {
$this->skeleton->$field = $value;
}
if($this->skeleton->update($id, DolibarrApiAccess::$user))
return $this->get ($id);
return false;
}
/**
* Delete skeleton
*
* @param int $id Skeleton ID
* @return array
*
* @url DELETE skeleton/{id}
*/
function delete($id)
{
if(! DolibarrApiAccess::$user->rights->skeleton->supprimer) {
throw new RestException(401);
}
$result = $this->skeleton->fetch($id);
if( ! $result ) {
throw new RestException(404, 'Skeleton not found');
}
if( ! DolibarrApi::_checkAccessToResource('skeleton',$this->skeleton->id)) {
throw new RestException(401, 'Access not allowed for login '.DolibarrApiAccess::$user->login);
}
if( !$this->skeleton->delete($id))
{
throw new RestException(500);
}
return array(
'success' => array(
'code' => 200,
'message' => 'Skeleton deleted'
)
);
}
/**
* Validate fields before create or update object
*
* @param array $data Data to validate
* @return array
*
* @throws RestException
*/
function _validate($data)
{
$skeleton = array();
foreach (SkeletonApi::$FIELDS as $field) {
if (!isset($data[$field]))
throw new RestException(400, "$field field missing");
$skeleton[$field] = $data[$field];
}
return $skeleton;
}
}

View File

@@ -1,6 +1,8 @@
<?php
/* Copyright (C) 2007-2012 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2014 Juanjo Menent <jmenent@2byte.es>
/* Copyright (C) 2007-2012 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2014 Juanjo Menent <jmenent@2byte.es>
* Copyright (C) 2015 Florian Henry <florian.henry@open-concept.pro>
* Copyright (C) 2015 Raphaël Doursenaud <rdoursenaud@gpcsolutions.fr>
* Copyright (C) ---Put here your own copyright and developer email---
*
* This program is free software; you can redistribute it and/or modify
@@ -18,352 +20,462 @@
*/
/**
* \file dev/skeletons/skeleton_class.class.php
* \ingroup mymodule othermodule1 othermodule2
* \brief This file is an example for a CRUD class file (Create/Read/Update/Delete)
* Put here some comments
* \file dev/skeletons/skeleton_class.class.php
* \ingroup mymodule othermodule1 othermodule2
* \brief This file is an example for a CRUD class file (Create/Read/Update/Delete)
* Put some comments here
*/
// Put here all includes required by your class file
require_once(DOL_DOCUMENT_ROOT."/core/class/commonobject.class.php");
//require_once(DOL_DOCUMENT_ROOT."/societe/class/societe.class.php");
//require_once(DOL_DOCUMENT_ROOT."/product/class/product.class.php");
require_once DOL_DOCUMENT_ROOT . '/core/class/commonobject.class.php';
//require_once DOL_DOCUMENT_ROOT . '/societe/class/societe.class.php';
//require_once DOL_DOCUMENT_ROOT . '/product/class/product.class.php';
/**
* Put here description of your class
* Class Skeleton_Class
*
* Put here description of your class
*/
class Skeleton_Class extends CommonObject
{
var $db; //!< To store db handler
var $error; //!< To return error code (or message)
var $errors=array(); //!< To return several error codes (or messages)
var $element='skeleton'; //!< Id that identify managed objects
var $table_element='skeleton'; //!< Name of table without prefix where object is stored
/**
* @var DoliDb Database handler
*/
protected $db;
var $id;
var $prop1;
var $prop2;
/**
* @var string Error code (or message)
* @deprecated
* @see Skeleton_Class::errors
*/
public $error;
/**
* @var string[] Error codes (or messages)
*/
public $errors = array();
/**
* @var string Id to identify managed objects
*/
public $element = 'skeleton';
/**
* @var string Name of table without prefix where object is stored
*/
public $table_element = 'skeleton';
/**
* @var Skeleton_ClassLine[] Lines
*/
public $lines = array();
/**
* @var int ID
*/
public $id;
/**
* @var mixed Sample property 1
*/
public $prop1;
/**
* @var mixed Sample property 2
*/
public $prop2;
//...
/**
* Constructor
*
* @param DoliDb $db Database handler
*/
public function __construct(DoliDB $db)
{
$this->db = $db;
return 1;
}
/**
* Constructor
*
* @param DoliDb $db Database handler
*/
function __construct($db)
{
$this->db = $db;
return 1;
}
/**
* Create object into database
*
* @param User $user User that creates
* @param bool $notrigger false=launch triggers after, true=disable triggers
*
* @return int <0 if KO, Id of created object if OK
*/
public function create(User $user, $notrigger = false)
{
dol_syslog(__METHOD__, LOG_DEBUG);
/**
* Create object into database
*
* @param User $user User that creates
* @param int $notrigger 0=launch triggers after, 1=disable triggers
* @return int <0 if KO, Id of created object if OK
*/
function create($user, $notrigger=0)
{
global $conf, $langs;
$error=0;
$error = 0;
// Clean parameters
if (isset($this->prop1)) $this->prop1=trim($this->prop1);
if (isset($this->prop2)) $this->prop2=trim($this->prop2);
if (isset($this->prop1)) {
$this->prop1 = trim($this->prop1);
}
if (isset($this->prop2)) {
$this->prop2 = trim($this->prop2);
}
//...
// Check parameters
// Put here code to add control on parameters values
// Insert request
$sql = "INSERT INTO ".MAIN_DB_PREFIX.$this->table_element."(";
$sql.= " field1,";
$sql.= " field2";
// Insert request
$sql = 'INSERT INTO ' . MAIN_DB_PREFIX . $this->table_element . '(';
$sql .= ' field1,';
$sql .= ' field2';
//...
$sql.= ") VALUES (";
$sql.= " '".$this->prop1."',";
$sql.= " '".$this->prop2."'";
$sql .= ') VALUES (';
$sql .= ' \'' . $this->prop1 . '\',';
$sql .= ' \'' . $this->prop2 . '\'';
//...
$sql.= ")";
$sql .= ')';
$this->db->begin();
dol_syslog(__METHOD__, LOG_DEBUG);
$resql=$this->db->query($sql);
if (! $resql) { $error++; $this->errors[]="Error ".$this->db->lasterror(); }
$resql = $this->db->query($sql);
if (!$resql) {
$error ++;
$this->errors[] = 'Error ' . $this->db->lasterror();
dol_syslog(__METHOD__ . ' ' . join(',', $this->errors), LOG_ERR);
}
if (! $error)
{
$this->id = $this->db->last_insert_id(MAIN_DB_PREFIX.$this->table_element);
if (!$error) {
$this->id = $this->db->last_insert_id(MAIN_DB_PREFIX . $this->table_element);
if (! $notrigger)
{
// Uncomment this and change MYOBJECT to your own tag if you
// want this action calls a trigger.
if (!$notrigger) {
// Uncomment this and change MYOBJECT to your own tag if you
// want this action to call a trigger.
//// Call triggers
//$result=$this->call_trigger('MYOBJECT_CREATE',$user);
//if ($result < 0) { $error++; //Do also what you must do to rollback action if trigger fail}
//// End call triggers
//// Call triggers
//$result=$this->call_trigger('MYOBJECT_CREATE',$user);
//if ($result < 0) $error++;
//// End call triggers
}
}
}
// Commit or rollback
if ($error)
{
foreach($this->errors as $errmsg)
{
dol_syslog(__METHOD__." ".$errmsg, LOG_ERR);
$this->error.=($this->error?', '.$errmsg:$errmsg);
}
// Commit or rollback
if ($error) {
$this->db->rollback();
return -1*$error;
}
else
{
return - 1 * $error;
} else {
$this->db->commit();
return $this->id;
return $this->id;
}
}
}
/**
* Load object in memory from the database
*
* @param int $id Id object
* @param string $ref Ref
*
* @return int <0 if KO, 0 if not found, >0 if OK
*/
public function fetch($id, $ref = null)
{
dol_syslog(__METHOD__, LOG_DEBUG);
/**
* Load object in memory from the database
*
* @param int $id Id object
* @param string $ref Ref
* @return int <0 if KO, >0 if OK
*/
function fetch($id,$ref='')
{
global $langs;
$sql = "SELECT";
$sql.= " t.rowid,";
$sql.= " t.field1,";
$sql.= " t.field2";
$sql = 'SELECT';
$sql .= ' t.rowid,';
$sql .= ' t.field1,';
$sql .= ' t.field2';
//...
$sql.= " FROM ".MAIN_DB_PREFIX.$this->table_element." as t";
if ($ref) $sql.= " WHERE t.ref = '".$ref."'";
else $sql.= " WHERE t.rowid = ".$id;
$sql .= ' FROM ' . MAIN_DB_PREFIX . $this->table_element . ' as t';
if (null !== $ref) {
$sql .= ' WHERE t.ref = ' . '\'' . $ref . '\'';
} else {
$sql .= ' WHERE t.rowid = ' . $id;
}
dol_syslog(get_class($this)."::fetch");
$resql=$this->db->query($sql);
if ($resql)
{
if ($this->db->num_rows($resql))
{
$obj = $this->db->fetch_object($resql);
$resql = $this->db->query($sql);
if ($resql) {
$numrows = $this->db->num_rows($resql);
if ($numrows) {
$obj = $this->db->fetch_object($resql);
$this->id = $obj->rowid;
$this->prop1 = $obj->field1;
$this->prop2 = $obj->field2;
$this->id = $obj->rowid;
$this->prop1 = $obj->field1;
$this->prop2 = $obj->field2;
//...
}
$this->db->free($resql);
}
$this->db->free($resql);
return 1;
}
else
{
$this->error="Error ".$this->db->lasterror();
return -1;
}
}
if ($numrows) {
return 1;
} else {
return 0;
}
} else {
$this->errors[] = 'Error ' . $this->db->lasterror();
dol_syslog(__METHOD__ . ' ' . join(',', $this->errors), LOG_ERR);
return - 1;
}
}
/**
* Update object into database
*
* @param User $user User that modifies
* @param int $notrigger 0=launch triggers after, 1=disable triggers
* @return int <0 if KO, >0 if OK
*/
function update($user, $notrigger=0)
{
global $conf, $langs;
$error=0;
/**
* Load object in memory from the database
*
* @param string $sortorder Sort Order
* @param string $sortfield Sort field
* @param int $limit offset limit
* @param int $offset offset limit
* @param array $filter filter array
*
* @return int <0 if KO, >0 if OK
*/
public function fetchAll($sortorder, $sortfield, $limit, $offset, array $filter = array())
{
dol_syslog(__METHOD__, LOG_DEBUG);
$sql = 'SELECT';
$sql .= ' t.rowid,';
$sql .= ' t.field1,';
$sql .= ' t.field2';
//...
$sql .= ' FROM ' . MAIN_DB_PREFIX . 'mytable as t';
// Manage filter
$sqlwhere = array();
if (count($filter) > 0) {
foreach ($filter as $key => $value) {
$sqlwhere [] = ' AND ' . $key . ' LIKE \'%' . $this->db->escape($value) . '%\'';
}
}
if (count($sqlwhere) > 0) {
$sql .= ' WHERE ' . implode(' AND ', $sqlwhere);
}
$sql .= ' ORDER BY ' . $sortfield . ' ' . $sortorder . ' ' . $this->db->plimit($limit + 1, $offset);
$this->lines = array();
$resql = $this->db->query($sql);
if ($resql) {
$num = $this->db->num_rows($resql);
while ($obj = $this->db->fetch_object($resql)) {
$line = new Skeleton_ClassLine();
$line->id = $obj->rowid;
$line->prop1 = $obj->field1;
$line->prop2 = $obj->field2;
$this->lines[] = $line;
//...
}
$this->db->free($resql);
return $num;
} else {
$this->errors[] = 'Error ' . $this->db->lasterror();
dol_syslog(__METHOD__ . ' ' . join(',', $this->errors), LOG_ERR);
return - 1;
}
}
/**
* Update object into database
*
* @param User $user User that modifies
* @param bool $notrigger false=launch triggers after, true=disable triggers
*
* @return int <0 if KO, >0 if OK
*/
public function update(User $user, $notrigger = false)
{
$error = 0;
dol_syslog(__METHOD__, LOG_DEBUG);
// Clean parameters
if (isset($this->prop1)) $this->prop1=trim($this->prop1);
if (isset($this->prop2)) $this->prop2=trim($this->prop2);
if (isset($this->prop1)) {
$this->prop1 = trim($this->prop1);
}
if (isset($this->prop2)) {
$this->prop2 = trim($this->prop2);
}
//...
// Check parameters
// Put here code to add a control on parameters values
// Update request
$sql = "UPDATE ".MAIN_DB_PREFIX.$this->table_element." SET";
$sql.= " field1=".(isset($this->field1)?"'".$this->db->escape($this->field1)."'":"null").",";
$sql.= " field2=".(isset($this->field2)?"'".$this->db->escape($this->field2)."'":"null")."";
// Update request
$sql = 'UPDATE ' . MAIN_DB_PREFIX . $this->table_element . ' SET';
if (isset($this->field1)) {
$sql .= ' field1=\'' . $this->db->escape($this->field1) . '\',';
} else {
$sql .= ' field1=null' . ',';
}
if (isset($this->field2)) {
$sql .= ' field2=\'' . $this->db->escape($this->field2) . '\'';
} else {
$sql .= ' field2=null';
}
//...
$sql.= " WHERE rowid=".$this->id;
$sql .= ' WHERE rowid=' . $this->id;
$this->db->begin();
dol_syslog(__METHOD__);
$resql = $this->db->query($sql);
if (! $resql) { $error++; $this->errors[]="Error ".$this->db->lasterror(); }
if (! $error)
{
if (! $notrigger)
{
// Uncomment this and change MYOBJECT to your own tag if you
// want this action calls a trigger.
//// Call triggers
//$result=$this->call_trigger('MYOBJECT_MODIFY',$user);
//if ($result < 0) { $error++; //Do also what you must do to rollback action if trigger fail}
//// End call triggers
}
$resql = $this->db->query($sql);
if (!$resql) {
$error ++;
$this->errors[] = 'Error ' . $this->db->lasterror();
dol_syslog(__METHOD__ . ' ' . join(',', $this->errors), LOG_ERR);
}
// Commit or rollback
if ($error)
{
foreach($this->errors as $errmsg)
{
dol_syslog(__METHOD__." ".$errmsg, LOG_ERR);
$this->error.=($this->error?', '.$errmsg:$errmsg);
}
if (!$error && !$notrigger) {
// Uncomment this and change MYOBJECT to your own tag if you
// want this action calls a trigger.
//// Call triggers
//$result=$this->call_trigger('MYOBJECT_MODIFY',$user);
//if ($result < 0) { $error++; //Do also what you must do to rollback action if trigger fail}
//// End call triggers
}
// Commit or rollback
if ($error) {
$this->db->rollback();
return -1*$error;
}
else
{
return - 1 * $error;
} else {
$this->db->commit();
return 1;
}
}
/**
* Delete object in database
*
* @param User $user User that deletes
* @param int $notrigger 0=launch triggers after, 1=disable triggers
* @return int <0 if KO, >0 if OK
*/
function delete($user, $notrigger=0)
{
global $conf, $langs;
$error=0;
$this->db->begin();
if (! $error)
{
if (! $notrigger)
{
// Uncomment this and change MYOBJECT to your own tag if you
// want this action calls a trigger.
//// Call triggers
//$result=$this->call_trigger('MYOBJECT_DELETE',$user);
//if ($result < 0) { $error++; //Do also what you must do to rollback action if trigger fail}
//// End call triggers
}
}
if (! $error)
{
$sql = "DELETE FROM ".MAIN_DB_PREFIX.$this->table_element;
$sql.= " WHERE rowid=".$this->id;
dol_syslog(__METHOD__);
$resql = $this->db->query($sql);
if (! $resql) { $error++; $this->errors[]="Error ".$this->db->lasterror(); }
}
// Commit or rollback
if ($error)
{
foreach($this->errors as $errmsg)
{
dol_syslog(__METHOD__." ".$errmsg, LOG_ERR);
$this->error.=($this->error?', '.$errmsg:$errmsg);
}
$this->db->rollback();
return -1*$error;
}
else
{
$this->db->commit();
return 1;
}
}
/**
* Delete object in database
*
* @param User $user User that deletes
* @param bool $notrigger false=launch triggers after, true=disable triggers
*
* @return int <0 if KO, >0 if OK
*/
public function delete(User $user, $notrigger = false)
{
dol_syslog(__METHOD__, LOG_DEBUG);
$error = 0;
$this->db->begin();
if (!$error) {
if (!$notrigger) {
// Uncomment this and change MYOBJECT to your own tag if you
// want this action calls a trigger.
//// Call triggers
//$result=$this->call_trigger('MYOBJECT_DELETE',$user);
//if ($result < 0) { $error++; //Do also what you must do to rollback action if trigger fail}
//// End call triggers
}
}
if (!$error) {
$sql = 'DELETE FROM ' . MAIN_DB_PREFIX . $this->table_element;
$sql .= ' WHERE rowid=' . $this->id;
$resql = $this->db->query($sql);
if (!$resql) {
$error ++;
$this->errors[] = 'Error ' . $this->db->lasterror();
dol_syslog(__METHOD__ . ' ' . join(',', $this->errors), LOG_ERR);
}
}
// Commit or rollback
if ($error) {
$this->db->rollback();
return - 1 * $error;
} else {
$this->db->commit();
return 1;
}
}
/**
* Load an object from its id and create a new one in database
* Load an object from its id and create a new one in database
*
* @param int $fromid Id of object to clone
* @return int New id of clone
* @param int $fromid Id of object to clone
*
* @return int New id of clone
*/
function createFromClone($fromid)
public function createFromClone($fromid)
{
global $user,$langs;
dol_syslog(__METHOD__, LOG_DEBUG);
$error=0;
$object=new Skeleton_Class($this->db);
global $user;
$error = 0;
$object = new Skeleton_Class($this->db);
$this->db->begin();
// Load source object
$object->fetch($fromid);
$object->id=0;
$object->statut=0;
// Reset object
$object->id = 0;
// Clear fields
// ...
// Create clone
$result=$object->create($user);
$result = $object->create($user);
// Other options
if ($result < 0)
{
$this->error=$object->error;
$error++;
}
if (! $error)
{
if ($result < 0) {
$error ++;
$this->errors = $object->errors;
dol_syslog(__METHOD__ . ' ' . join(',', $this->errors), LOG_ERR);
}
// End
if (! $error)
{
if (!$error) {
$this->db->commit();
return $object->id;
}
else
{
} else {
$this->db->rollback();
return -1;
return - 1;
}
}
/**
* Initialise object with example values
* Id must be 0 if object instance is a specimen
* Initialise object with example values
* Id must be 0 if object instance is a specimen
*
* @return void
* @return void
*/
function initAsSpecimen()
public function initAsSpecimen()
{
$this->id=0;
$this->prop1='prop1';
$this->prop2='prop2';
$this->id = 0;
$this->prop1 = 'prop1';
$this->prop2 = 'prop2';
}
}
/**
* Class Skeleton_ClassLine
*/
class Skeleton_ClassLine
{
/**
* @var int ID
*/
public $id;
/**
* @var mixed Sample line property 1
*/
public $prop1;
/**
* @var mixed Sample line property 2
*/
public $prop2;
}

View File

@@ -1,5 +1,5 @@
<?php
/* Copyright (C) 2007-2010 Laurent Destailleur <eldy@users.sourceforge.net>
/* Copyright (C) 2007-2015 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) ---Put here your own copyright and developer email---
*
* This program is free software; you can redistribute it and/or modify
@@ -72,6 +72,10 @@ if (($id > 0 || ! empty($ref)) && $action != 'add')
if ($result < 0) dol_print_error($db);
}
// Initialize technical object to manage hooks of modules. Note that conf->hooks_modules contains array array
$hookmanager->initHooks(array('skeleton'));
$extrafields = new ExtraFields($db);
/*******************************************************************
@@ -80,108 +84,114 @@ if (($id > 0 || ! empty($ref)) && $action != 'add')
* Put here all code to do according to value of "action" parameter
********************************************************************/
// Action to add record
if ($action == 'add')
$parameters=array();
$reshook=$hookmanager->executeHooks('doActions',$parameters); // Note that $action and $object may have been modified by some hooks
if ($reshook < 0) setEventMessages($hookmanager->error, $hookmanager->errors, 'errors');
if (empty($reshook))
{
if (GETPOST('cancel'))
// Action to add record
if ($action == 'add')
{
$urltogo=$backtopage?$backtopage:dol_buildpath('/buildingmanagement/list.php',1);
header("Location: ".$urltogo);
exit;
}
$error=0;
/* object_prop_getpost_prop */
$object->prop1=GETPOST("field1");
$object->prop2=GETPOST("field2");
if (empty($object->ref))
{
$error++;
setEventMessage($langs->trans("ErrorFieldRequired",$langs->transnoentitiesnoconv("Ref")),'errors');
}
if (! $error)
{
$result=$object->create($user);
if ($result > 0)
if (GETPOST('cancel'))
{
// Creation OK
$urltogo=$backtopage?$backtopage:dol_buildpath('/mymodule/list.php',1);
$urltogo=$backtopage?$backtopage:dol_buildpath('/buildingmanagement/list.php',1);
header("Location: ".$urltogo);
exit;
}
$error=0;
/* object_prop_getpost_prop */
$object->prop1=GETPOST("field1");
$object->prop2=GETPOST("field2");
if (empty($object->ref))
{
// Creation KO
if (! empty($object->errors)) setEventMessages(null, $object->errors, 'errors');
else setEventMessages($object->error, null, 'errors');
$action='create';
$error++;
setEventMessage($langs->trans("ErrorFieldRequired",$langs->transnoentitiesnoconv("Ref")),'errors');
}
}
else
{
$action='create';
}
}
// Cancel
if ($action == 'update' && GETPOST('cancel')) $action='view';
// Action to update record
if ($action == 'update' && ! GETPOST('cancel'))
{
$error=0;
$object->prop1=GETPOST("field1");
$object->prop2=GETPOST("field2");
if (empty($object->ref))
{
$error++;
setEventMessages($langs->trans("ErrorFieldRequired",$langs->transnoentitiesnoconv("Ref")),null,'errors');
}
if (! $error)
{
$result=$object->update($user);
if ($result > 0)
if (! $error)
{
$action='view';
$result=$object->create($user);
if ($result > 0)
{
// Creation OK
$urltogo=$backtopage?$backtopage:dol_buildpath('/mymodule/list.php',1);
header("Location: ".$urltogo);
exit;
}
{
// Creation KO
if (! empty($object->errors)) setEventMessages(null, $object->errors, 'errors');
else setEventMessages($object->error, null, 'errors');
$action='create';
}
}
else
{
$action='create';
}
}
// Cancel
if ($action == 'update' && GETPOST('cancel')) $action='view';
// Action to update record
if ($action == 'update' && ! GETPOST('cancel'))
{
$error=0;
$object->prop1=GETPOST("field1");
$object->prop2=GETPOST("field2");
if (empty($object->ref))
{
$error++;
setEventMessages($langs->trans("ErrorFieldRequired",$langs->transnoentitiesnoconv("Ref")),null,'errors');
}
if (! $error)
{
$result=$object->update($user);
if ($result > 0)
{
$action='view';
}
else
{
// Creation KO
if (! empty($object->errors)) setEventMessages(null, $object->errors, 'errors');
else setEventMessages($object->error, null, 'errors');
$action='edit';
}
}
else
{
// Creation KO
if (! empty($object->errors)) setEventMessages(null, $object->errors, 'errors');
else setEventMessages($object->error, null, 'errors');
$action='edit';
}
}
else
// Action to delete
if ($action == 'confirm_delete')
{
$action='edit';
$result=$object->delete($user);
if ($result > 0)
{
// Delete OK
setEventMessages($langs->trans("RecordDeleted"), null, 'mesgs');
header("Location: ".dol_buildpath('/buildingmanagement/list.php',1));
exit;
}
else
{
if (! empty($object->errors)) setEventMessages(null,$object->errors,'errors');
else setEventMessages($object->error,null,'errors');
}
}
}
// Action to delete
if ($action == 'confirm_delete')
{
$result=$object->delete($user);
if ($result > 0)
{
// Delete OK
setEventMessages($langs->trans("RecordDeleted"), null, 'mesgs');
header("Location: ".dol_buildpath('/buildingmanagement/list.php',1));
exit;
}
else
{
if (! empty($object->errors)) setEventMessages(null,$object->errors,'errors');
else setEventMessages($object->error,null,'errors');
}
}
@@ -208,7 +218,7 @@ jQuery(document).ready(function() {
}
init_myfunc();
jQuery("#mybutton").click(function() {
init_needroot();
init_myfunc();
});
});
</script>';
@@ -221,15 +231,56 @@ if ($action == 'list' || empty($id))
$sql.= " t.rowid,";
$sql.= " t.field1,";
$sql.= " t.field2";
// Add fields for extrafields
foreach ($extrafields->attribute_list as $key => $val) $sql.=",ef.".$key.' as options_'.$key;
// Add fields from hooks
$parameters=array();
$reshook=$hookmanager->executeHooks('printFieldListSelect',$parameters); // Note that $action and $object may have been modified by hook
$sql.=$hookmanager->resPrint;
$sql.= " FROM ".MAIN_DB_PREFIX."mytable as t";
$sql.= " WHERE field3 = 'xxx'";
// Add where from hooks
$parameters=array();
$reshook=$hookmanager->executeHooks('printFieldListWhere',$parameters); // Note that $action and $object may have been modified by hook
$sql.=$hookmanager->resPrint;
$sql.= " ORDER BY field1 ASC";
print '<table class="noborder">'."\n";
print '<form method="GET" id="searchFormList" action="'.$_SERVER["PHP_SELF"].'">';
if (! empty($moreforfilter))
{
print '<div class="liste_titre">';
print $moreforfilter;
$parameters=array();
$reshook=$hookmanager->executeHooks('printFieldPreListTitle',$parameters); // Note that $action and $object may have been modified by hook
print $hookmanager->resPrint;
print '</div>';
}
print '<table class="noborder">'."\n";
// Fields title
print '<tr class="liste_titre">';
print_liste_field_titre($langs->trans('field1'),$_SERVER['PHP_SELF'],'t.field1','',$param,'',$sortfield,$sortorder);
print_liste_field_titre($langs->trans('field2'),$_SERVER['PHP_SELF'],'t.field2','',$param,'',$sortfield,$sortorder);
print '</tr>';
$parameters=array();
$reshook=$hookmanager->executeHooks('printFieldListTitle',$parameters); // Note that $action and $object may have been modified by hook
print $hookmanager->resPrint;
print '</tr>'."\n";
// Fields title search
print '<tr class="liste_titre">';
print '<td class="liste_titre">';
print '<input type="text" class="flat" name="search_field1" value="'.$search_field1.'" size="10">';
print '</td>';
print '<td class="liste_titre">';
print '<input type="text" class="flat" name="search_field2" value="'.$search_field2.'" size="10">';
print '</td>';
$parameters=array();
$reshook=$hookmanager->executeHooks('printFieldListOption',$parameters); // Note that $action and $object may have been modified by hook
print $hookmanager->resPrint;
print '</tr>'."\n";
dol_syslog($script_file, LOG_DEBUG);
$resql=$db->query($sql);
@@ -243,21 +294,34 @@ if ($action == 'list' || empty($id))
if ($obj)
{
// You can use here results
print '<tr><td>';
print '<tr>';
print '<td>';
print $obj->field1;
print '</td><td>';
print $obj->field2;
print '</td></tr>';
print '</td>';
$parameters=array('obj' => $obj);
$reshook=$hookmanager->executeHooks('printFieldListValue',$parameters); // Note that $action and $object may have been modified by hook
print $hookmanager->resPrint;
print '</tr>';
}
$i++;
}
}
else
{
{
$error++;
dol_print_error($db);
}
print '</table>'."\n";
$db->free($resql);
$parameters=array('sql' => $sql);
$reshook=$hookmanager->executeHooks('printFieldListFooter',$parameters); // Note that $action and $object may have been modified by hook
print $hookmanager->resPrint;
print "</table>\n";
print "</form>\n";
}
@@ -267,12 +331,12 @@ if ($action == 'create')
{
print_fiche_titre($langs->trans("NewResidence"));
dol_fiche_head();
print '<form method="POST" action="'.$_SERVER["PHP_SELF"].'">';
print '<input type="hidden" name="action" value="add">';
print '<input type="hidden" name="backtopage" value="'.$backtopage.'">';
dol_fiche_head();
print '<table class="border centpercent">'."\n";
print '<tr><td class="fieldrequired">'.$langs->trans("Label").'</td><td>';
print '<input class="flat" type="text" size="36" name="label" value="'.$label.'">';
@@ -280,13 +344,11 @@ if ($action == 'create')
print '</table>'."\n";
print '<br>';
dol_fiche_end();
print '<center><input type="submit" class="button" name="add" value="'.$langs->trans("Create").'"> &nbsp; <input type="submit" class="button" name="cancel" value="'.$langs->trans("Cancel").'"></center>';
print '<div class="center"><input type="submit" class="button" name="add" value="'.$langs->trans("Create").'"> &nbsp; <input type="submit" class="button" name="cancel" value="'.$langs->trans("Cancel").'"></div>';
print '</form>';
dol_fiche_end();
}
@@ -294,21 +356,19 @@ if ($action == 'create')
// Part to edit record
if (($id || $ref) && $action == 'edit')
{
print '<form method="POST" action="'.$_SERVER["PHP_SELF"].'">';
dol_fiche_head();
print '<form method="POST" action="'.$_SERVER["PHP_SELF"].'">';
print '<input type="hidden" name="action" value="add">';
print '<input type="hidden" name="backtopage" value="'.$backtopage.'">';
print '<input type="hidden" name="id" value="'.$object->id.'">';
dol_fiche_end();
print '<br>';
print '<center><input type="submit" class="button" name="add" value="'.$langs->trans("Create").'"></center>';
print '<div class="center"><input type="submit" class="button" name="add" value="'.$langs->trans("Create").'"></div>';
print '</form>';
dol_fiche_end();
}
@@ -352,8 +412,9 @@ if ($id && (empty($action) || $action == 'view'))
// Example 2 : Adding links to objects
// The class must extends CommonObject class to have this method available
//$somethingshown=$object->showLinkedObjectBlock();
//$somethingshown=$form->showLinkedObjectBlock($object);
//$linktoelem = $form->showLinkToObjectBlock($object);
//if ($linktoelem) print '<br>'.$linktoelem;
}

View File

@@ -9,24 +9,24 @@
<link rel="shortcut icon" type="image/x-icon" href="/dolibarrnew/theme/eldy/img/favicon.ico"/>
<title>Login Dolibarr 3.4.0-alpha</title>
<!-- Includes for JQuery (Ajax library) -->
<link rel="stylesheet" type="text/css" href="/dolibarrnew/includes/jquery/css/smoothness/jquery-ui-latest.custom.css" />
<link rel="stylesheet" type="text/css" href="/dolibarrnew/includes/jquery/css/smoothness/jquery-ui.custom.css" />
<link rel="stylesheet" type="text/css" title="default" href="/dolibarrnew/custom/filemanager/css/filemanager.css.php"><!-- Added by module filemanager-->
<!-- Includes JS for JQuery -->
<script type="text/javascript" src="/dolibarrnew/includes/jquery/js/jquery-latest.min.js"></script>
<script type="text/javascript" src="/dolibarrnew/includes/jquery/js/jquery.min.js"></script>
<script type="text/javascript" src="/dolibarrnew/core/js/dst.js"></script>
<link rel="stylesheet" type="text/css" href="/dolibarrnew/theme/eldy/style.css.php?lang=fr_FR" />
<!-- HTTP_USER_AGENT = Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.97 Safari/537.22 -->
</head>
<body class="body">
<center>
<div class="center">
<div class="login_table" align="center">
<!-- <tr><td colspan="2" valign="middle"> -->
<div id="login_line1" align="center">
<div id="login_left" style="display: inline-block; min-width: 250px; margin: 0 auto;"><center>
<div id="login_left" style="display: inline-block; min-width: 250px; margin: 0 auto;"><div class="center">
<table class="none" summary="Login pass" cellpadding="2" align="center">
@@ -46,7 +46,7 @@
</table>
</center>
</div>
</div> <!-- end div left -->
<!-- </td>
@@ -64,7 +64,7 @@
</div>
</center>
</div>
</body>
</html>

0
dev/test/testtcpdf.php Normal file → Executable file
View File

View File

@@ -40,8 +40,18 @@ class autoTranslator
const DIR_SEPARATOR = '/';
function __construct($_destlang,$_refLang,$_langDir,$_limittofile,$_apikey)
{
/**
* Constructor
*
* @param string $_destlang Destination lang
* @param string $_refLang Ref lang
* @param string $_langDir Dir lang
* @param string $_limittofile Limit to file
* @param string $_apikey Api key
* @return void
*/
function __construct($_destlang,$_refLang,$_langDir,$_limittofile,$_apikey)
{
// Set enviorment variables
$this->_destlang = $_destlang;

View File

@@ -0,0 +1,179 @@
<?php
/* Copyright (c) 2015 Tommaso Basilici <t.basilici@19.coop>
*
* 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/>.
*/
echo "<html>";
echo "<head>";
echo "<STYLE type=\"text/css\">
table {
background: #f5f5f5;
border-collapse: separate;
box-shadow: inset 0 1px 0 #fff;
font-size: 12px;
line-height: 24px;
margin: 30px auto;
text-align: left;
width: 800px;
}
th {
background-color: #777;
border-left: 1px solid #555;
border-right: 1px solid #777;
border-top: 1px solid #555;
border-bottom: 1px solid #333;
color: #fff;
font-weight: bold;
padding: 10px 15px;
position: relative;
text-shadow: 0 1px 0 #000;
}
td {
border-right: 1px solid #fff;
border-left: 1px solid #e8e8e8;
border-top: 1px solid #fff;
border-bottom: 1px solid #e8e8e8;
padding: 10px 15px;
position: relative;
}
tr {
background-color: #f1f1f1;
}
tr:nth-child(odd) td {
background-color: #f1f1f1;
}
</STYLE>";
echo "<body>";
echo "If you call this file with the argument \"?unused=true\" it searches for the translation strings that exist in en_US but are never used.<br>";
echo "IMPORTANT: that can take quite a lot of time (up to 10 minutes), you need to tune the max_execution_time on your php.ini accordingly.<br>";
echo "Happy translating :)<br>";
// STEP 1 - Search duplicates keys
// directory containing the php and lang files
$htdocs = "../../htdocs/";
// directory containing the english lang files
$workdir = $htdocs."langs/en_US/";
$files = scandir($workdir);
if (empty($files))
{
echo "Can't scan workdir = ".$workdir;
exit;
}
$exludefiles = array('.','..','README');
$files = array_diff($files,$exludefiles);
$langstrings_3d = array();
$langstrings_full = array();
foreach ($files AS $file) {
$path_file = pathinfo($file);
// we're only interested in .lang files
if ($path_file['extension']=='lang') {
$content = file($workdir.$file);
foreach ($content AS $line => $row) {
// don't want comment lines
if (substr($row,0,1) !== '#') {
// don't want lines without the separator (why should those even be here, anyway...)
if (strpos($row,'=')!==false) {
$row_array = explode('=',$row); // $row_array[0] = key
$langstrings_3d[$path_file['basename']][$line+1]=$row_array[0];
$langstrings_3dtrans[$path_file['basename']][$line+1]=$row_array[1];
$langstrings_full[]=$row_array[0];
$langstrings_dist[$row_array[0]]=$row_array[0];
}
}
}
}
}
foreach ($langstrings_3d AS $filename => $file) {
foreach ($file AS $linenum => $value) {
$keys = array_keys($langstrings_full, $value);
if (count($keys)>1)
{
foreach ($keys AS $key) {
$dups[$value][$filename][$linenum] = trim($langstrings_3dtrans[$filename][$linenum]);
}
}
}
}
echo "<h2>Duplicate strings in lang files in $workdir - ".count($dups)." found</h2>";
echo "<table border_bottom=1> ";
echo "<thead><tr><th align=\"center\">#</th><th>String</th><th>File and lines</th></thead>";
echo "<tbody>";
$count = 0;
foreach ($dups as $string => $pages) {
$count++;
echo "<tr>";
echo "<td align=\"center\">$count</td>";
echo "<td>$string</td>";
echo "<td>";
foreach ($pages AS $page => $lines ) {
echo "$page ";
foreach ($lines as $line => $translatedvalue) {
//echo "($line - ".(substr($translatedvalue,0,20)).") ";
echo "($line - ".htmlentities($translatedvalue).") ";
}
echo "<br>";
}
echo "</td></tr>\n";
}
echo "</tbody>";
echo "</table>";
// STEP 2 - Search key not used
if (! empty($_REQUEST['unused']) && $_REQUEST['unused'] == 'true')
{
foreach ($langstrings_dist AS $value)
{
$search = '\'trans("'.$value.'")\'';
$string = 'grep -R -m 1 -F --exclude=includes/* --include=*.php '.$search.' '.$htdocs.'*';
exec($string,$output);
if (empty($output)) {
$unused[$value] = true;
echo $value.'<br>';
}
}
echo "<h2>Strings in en_US that are never used</h2>";
echo "<pre>";
print_r($unused);
echo "</pre>";
}
echo "\n";
echo "</body>";
echo "</html>";

View File

@@ -2,9 +2,9 @@
#------------------------------------------------------
# Script to push language files to Transifex
#
# Laurent Destailleur - eldy@users.sourceforge.net
# Laurent Destailleur (eldy) - eldy@users.sourceforge.net
#------------------------------------------------------
# Usage: txpush.sh (source|all|xx_XX) [-r dolibarr.file] [-f]
# Usage: txpush.sh (source|xx_XX) [-r dolibarr.file] [-f]
#------------------------------------------------------
# Syntax
@@ -13,7 +13,7 @@ then
echo "This push local files to transifex."
echo "Note: If you push a language file (not source), file will be skipped if transifex file is newer."
echo " Using -f will overwrite translation but not memory."
echo "Usage: ./dev/translation/txpush.sh (source|all|xx_XX) [-r dolibarr.file] [-f] [--no-interactive]"
echo "Usage: ./dev/translation/txpush.sh (source|xx_XX) [-r dolibarr.file] [-f] [--no-interactive]"
exit
fi
@@ -23,20 +23,15 @@ then
exit
fi
if [ "x$1" = "xall" ]
then
for fic in ar_SA bg_BG bs_BA ca_ES cs_CZ da_DK de_DE el_GR es_ES et_EE eu_ES fa_IR fi_FI fr_FR he_IL hr_HR hu_HU id_ID is_IS it_IT ja_JP ka_GE ko_KR lt_LT lv_LV mk_MK nb_NO nl_NL pl_PL pt_PT ro_RO ru_RU ru_UA sk_SK sl_SI sq_AL sv_SE th_TH tr_TR uk_UA uz_UZ vi_VN zh_CN zh_TW
do
echo "tx push --skip -t -l $fic $2 $3"
tx push --skip -t -l $fic $2 $3
done
else
if [ "x$1" = "xsource" ]
then
echo "tx push -s $2 $3"
tx push -s $2 $3
else
echo "tx push --skip -t -l $1 $2 $3 $4"
tx push --skip -t -l $1 $2 $3 $4
fi
for file in `find htdocs/langs/$1/*.lang -type f`
do
export basefile=`basename $file | sed -s s/\.lang//g`
echo "tx push --skip -r dolibarr.$basfile -t -l $1 $2 $3 $4"
tx push --skip -r dolibarr.$basefile -t -l $1 $2 $3 $4
done
fi

0
doc/images/appicon_128.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

0
doc/images/appicon_16.ico Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

Some files were not shown because too many files have changed in this diff Show More