Commit Graph

7898 Commits

Author SHA1 Message Date
Laurent Destailleur
3c8bf2167b Debug permissions 2021-03-21 18:01:43 +01:00
Laurent Destailleur
2b3599dba5 Clean code 2021-03-20 21:29:36 +01:00
Laurent Destailleur
70be2dbcf0 Fix regression in tests 2021-03-20 20:51:19 +01:00
Frédéric FRANCE
f6e7285949 rename files from adherent to member 2021-03-20 19:06:15 +01:00
Frédéric FRANCE
4c5ddc44dc get conf global function 2021-03-19 17:58:01 +01:00
Laurent Destailleur
8462c4d3d3 Clean menu 2021-03-19 13:37:43 +01:00
Laurent Destailleur
78aec3daae Removed option MAIN_EXTERNAL_USERS_CAN_SEE_SUBSIDIARY_COMPANIES. The
implmentation did not make any test on subsidiaries. It has same effect
than being an internal user.
2021-03-19 00:00:06 +01:00
Laurent Destailleur
3785346835 Revert " fix:Handle constant MAIN_SHOW_SOCIETE2EXTERN in checkUserAccessToObject" 2021-03-18 23:57:48 +01:00
Laurent Destailleur
ce4aadba84 Merge branch 'develop' into abb120359 2021-03-18 23:54:27 +01:00
Laurent Destailleur
dc0482e98c Merge pull request #16774 from frederic34/php8-fix-functionlib
fix php8 warnings
2021-03-18 23:13:12 +01:00
Laurent Destailleur
0c882739e3 Merge pull request #16777 from frederic34/patch-8
fix php8 warning
2021-03-18 23:10:59 +01:00
Laurent Destailleur
63b78af05f Merge pull request #16778 from frederic34/patch-9
fix php8 warning
2021-03-18 23:10:20 +01:00
Laurent Destailleur
ac6b6f22e7 Enhance sanitizing of data 2021-03-18 11:39:23 +01:00
Frédéric FRANCE
00cd4cd953 fix php8 warning 2021-03-17 22:19:40 +01:00
Frédéric FRANCE
da3fcf3ca5 fix php8 warning 2021-03-17 22:16:54 +01:00
Laurent Destailleur
31478d5ac0 Look and feel v14 2021-03-17 22:01:25 +01:00
Laurent Destailleur
35869f1449 Add function dol_string_onlythesehtmlattributes() and option
MAIN_RESTRICTHTML_REMOVE_ALSO_BAD_ATTRIBUTES to enable it.
2021-03-17 21:39:28 +01:00
Frédéric FRANCE
9609c3095a fix php8 warnings 2021-03-17 20:13:20 +01:00
Laurent Destailleur
09f8ccd882 Merge pull request #16753 from frederic34/patch-12
fix php8 warning
2021-03-17 16:56:10 +01:00
Laurent Destailleur
8de1b4c94e Factorize code 2021-03-17 11:34:19 +01:00
Frédéric FRANCE
dde51a23f0 fix php8 warning
sometimes $size == '' and cause warnings later in the code
2021-03-16 22:01:59 +01:00
Laurent Destailleur
e366d2c379 Merge branch '13.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	ChangeLog
	htdocs/admin/tools/export_files.php
	htdocs/compta/paiement_charge.php
	htdocs/compta/sociales/card.php
	htdocs/core/lib/functions.lib.php
	htdocs/cron/list.php
	htdocs/filefunc.inc.php
	test/phpunit/FilesLibTest.php
2021-03-16 14:57:04 +01:00
Bahfir Abbes
9c51e62d0f Update security.lib.php
MAIN_EXTERNAL_USERS_CAN_SEE_SUBSIDIARY_COMPANIES
2021-03-16 12:25:17 +01:00
Laurent Destailleur
71e7f10a54 FIX #16698 2021-03-16 10:39:10 +01:00
Frédéric FRANCE
d4eecf3eb2 fix php8 warning 2021-03-15 13:51:54 +01:00
Laurent Destailleur
3964801d40 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2021-03-15 13:26:20 +01:00
Laurent Destailleur
2129adf129 Add more fields to llx_oauth_token 2021-03-15 13:25:08 +01:00
Laurent Destailleur
85eaec48e1 Merge pull request #16307 from aspangaro/14a15
NEW: VAT report - Optimisation & collapse by rate
2021-03-15 11:56:06 +01:00
Christophe Battarel
090dc4f28a Merge branch 'develop' into pr_batch_masks 2021-03-15 11:42:33 +01:00
Laurent Destailleur
7d1e18f5ab Merge pull request #16625 from FHenry/dev_EventOrganisation
new: working on conference or booth object and event type #FoundationFunding
2021-03-15 11:37:57 +01:00
Frédéric FRANCE
15c751ae89 Merge remote-tracking branch 'upstream/develop' into php8-fix 2021-03-15 11:18:41 +01:00
Laurent Destailleur
21400b96fa Merge pull request #16656 from frederic34/patch-11
remove dol_buildpath
2021-03-15 11:08:01 +01:00
Laurent Destailleur
b7c7bd8d94 Merge pull request #16666 from frederic34/patch-21
fix php8 warning
2021-03-15 11:03:20 +01:00
Laurent Destailleur
57f9607e3e Update accounting.lib.php 2021-03-15 11:01:01 +01:00
Laurent Destailleur
26e8a9c795 Code comment 2021-03-15 10:08:02 +01:00
Frédéric FRANCE
abd9a639a2 fix php8 warning 2021-03-14 23:41:06 +01:00
Laurent Destailleur
9aa8916a9c Disallow use of &# into dol_sanitizeUrl() 2021-03-14 20:35:55 +01:00
Laurent Destailleur
45579edd43 Enhance WAF and dol_sanitizeUrl 2021-03-14 18:57:18 +01:00
Frédéric FRANCE
220b1539f7 Update cron.lib.php 2021-03-14 17:36:27 +01:00
Laurent Destailleur
c2a86e71be fix phpv8 2021-03-14 16:44:11 +01:00
Laurent Destailleur
4965ce8768 Fix method to sanitize an URL 2021-03-14 16:14:24 +01:00
Laurent Destailleur
74a61d559f FIX sanitizing with GETPOST(alphanohtml) #yogosha5629 2021-03-14 15:39:59 +01:00
Laurent Destailleur
72766c830d FIX #Yogosha5631 2021-03-14 15:06:40 +01:00
Laurent Destailleur
95006ec94c Fix sanitizing backtopage 2021-03-14 12:58:37 +01:00
Laurent Destailleur
0a542ad9f9 Fix redirect to external website. Bad sanitizing of backtopage parameter 2021-03-14 11:38:42 +01:00
Laurent Destailleur
bcfe711544 Fix redirect to extern url 2021-03-13 19:20:34 +01:00
Laurent Destailleur
5faecef0e1 Look and feel v14 2021-03-13 18:56:02 +01:00
Frédéric FRANCE
c3c03e9de3 fix php8 fatal error 2021-03-13 18:42:50 +01:00
Laurent Destailleur
aa26f873ff Merge pull request #16634 from mrtnnbr/develop
Add UPC support to built-in barcode generator
2021-03-12 20:16:45 +01:00
Laurent Destailleur
af5db0f5fa Look and feel v14 2021-03-12 15:34:31 +01:00