477 Commits

Author SHA1 Message Date
Zephyriony
d434cd4b50 FIX Bug page_y url (#32119)
* FIX Bug page_y url

In some cases, 'reposition' modified the url by assigning variables other than page_y, for example : 
https://XXX/ticket/card.php?id=2158&action=dellink&token=e88288a7e4488ebafb81a80fa5f58913&dellinkid=20308.60009765625.60009765625&page_y=2113.60009765625

* Update lib_foot.js.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-28 11:06:44 +01:00
Frédéric FRANCE
e35b534ee2 fix ajax tooltip lib_foot.js.php (#32044)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-22 13:22:05 +01:00
Frédéric FRANCE
daae68f9d3 Fix phpstan (#32005)
* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan

* fix phpstan
2024-11-19 21:02:05 +01:00
Laurent Destailleur
6bc13b88ad Debug v21 2024-11-19 18:07:35 +01:00
Frédéric FRANCE
4f5d3dddc7 fix tooltip (#31933) 2024-11-16 10:40:12 +01:00
Frédéric FRANCE
0d7bc505d3 add phpdoc and clean phpstan baseline (#31702)
* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline

* add phpdoc and clean phpstan baseline
2024-11-06 19:39:46 +01:00
Laurent Destailleur
9194b7f382 Debug v21 2024-11-05 01:57:36 +01:00
Laurent Destailleur
590ecf0243 Debug v21 2024-11-05 01:43:48 +01:00
Frédéric FRANCE
1adc883b56 add baseline exclude for phpstan (#31632)
* add baseline exclude for phpstan

* update

* update

* update

* update

* update

* merge

* restore one filter

* delete old errors

* fix

* fix

* fix

* $moreforfilter can t be empty

* fix

* enable check

* refresh baseline

* add phpdoc

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* update phpstan baseline

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-11-04 23:53:20 +01:00
Mohamed DAOUD
057581aaf7 NEW Add Filter Assistance for Filling Filters Field (#31646)
* work on report page

* add translation

* optimize the query

* fix

* fix trans

* Update customreports.php

* Update customreports.php

* Update customreports.php

* fix phan
2024-10-30 21:29:41 +01:00
Laurent Destailleur
c8c4bd4e7f Debug v21 2024-10-30 02:38:59 +01:00
Laurent Destailleur
4f772f15e0 Look and feel v21 2024-10-16 17:26:00 +02:00
Laurent Destailleur
a7cbf6eeb1 Fix: closing of butAction dropdown was also closing the login dropdown
when we just lick inside a link into login dropdown.
2024-10-06 21:55:46 +02:00
Laurent Destailleur
d24069d5e2 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-10-03 20:35:33 +02:00
Laurent Destailleur
e412dbbe05 Merge manually fix of #31217 + other fix for use by external modules 2024-10-03 19:30:06 +02:00
Laurent Destailleur
de99be3a10 Fix setup compatibility 2024-10-01 13:29:43 +02:00
Laurent Destailleur
5ac18e3711 FIX Browser Notification ko with firefox 2024-10-01 13:28:46 +02:00
Laurent Destailleur
bb21bbeee6 FIX Browser Notification ko with firefox 2024-10-01 13:27:27 +02:00
Laurent Destailleur
62e1a6ca53 Doc 2024-10-01 13:19:39 +02:00
Mohamed DAOUD
ede97aa8ba fix formatDate (#31110)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-09-26 03:55:28 +02:00
John BOTELLA
5470ad0128 FIX : Ergonomy : edge detection for dropdown (#31023)
* Fix edge detection for dropdown

* add missing class

* Dropdown fix for md too

* Fix any js handled event must start with a log

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-09-23 04:02:32 +02:00
John BOTELLA
8bfbbf7971 extend drop down behavior to all drop down (#30933)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-09-16 01:52:33 +02:00
mrozniecki
0be0c1a1c1 Backport #yogosha18281 2024-09-10 14:01:04 +02:00
Jakub Stříbrný
fe9cbaa679 Fix selection of parentholder for button dropdown (#30835)
WIth this fix multiple buttons can be used on one page.

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-09-05 10:08:45 +02:00
John BOTELLA
2a326d02ed Fix drop down ergonomy and feedback (#30808) 2024-08-30 15:48:52 +02:00
Laurent Destailleur
16572677fa Clean code for vat check popup 2024-07-14 17:23:42 +02:00
Laurent Destailleur
ca2313bdcc Code comment 2024-06-29 19:24:16 +02:00
Josep Lluís
21aa3ba43e FIX updateTotal timesheet.js (#29846)
In some cases, calculation of nbextradays in total is wrong, because the extra hours accumulated by the current task minutes are not considered.
2024-06-05 14:56:30 +02:00
MDW
2a72e49e35 Fix arg type for str_replace() with change to getDolGlobalString 2024-03-19 20:38:55 +01:00
Laurent Destailleur
71374be506 Comment 2024-02-26 19:14:00 +01:00
AWeerWolf
be571fd372 #28334 (#28336)
Update lib_head.js.php concerning Date Format
Replace 1900 by 2000
2024-02-23 13:40:30 +01:00
Laurent Destailleur
21098dae23 FIX ajaxtooltip must return content with no html header/footer even for
error message
2024-02-14 03:38:17 +01:00
MDW
540502e578 Correct spelling errors (#28134)
# Correct spelling errors

Correct spelling errors that newly appeared in 19.0 and block ci.
2024-02-12 16:33:03 +01:00
MDW
7b54824d49 Fix #28071 - New branch to fix bad merge (#28083)
* Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop

* Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop

* Qual: Introduce getDataToShowPhoto to prepare generic code

* Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop

* Fix missing trans

* Fix langs

* Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop

* Remove useless files in web templates

* Clean code

* Fix duplicate translation key

* Fix duplicate translation key

* Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop

* Fix duplicate key

* Fix $object

* Debug v19

* WIP SMSing

* Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop

* WIP EMAILINGS_SUPPORT_ALSO_SMS

* Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop

* Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop

* WIP SMSing

* Debug the "validate" feature

* Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop

* Clean code

* Move rights->x->y into hasRight('x', 'y')

* Move rights->x->y into hasRight('x', 'y')

* Move rights->x->y into hasRight('x', 'y')

* Move rights->x->y into hasRight('x', 'y')

* Move rights->x->y into hasRight('x', 'y')

* Move rights->x->y into hasRight('x', 'y')

* Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop

* Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop

* Enhance rector to fix empty($user->rights->modulex->perm1)

* Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop

* Fix template to use v19 dev rules

* Fix use v19 dev rules

* Fix phpunit

* Debug v19

* Clean code

* Use rector to convert user->rights into user->hasRight

* Clean code

* Use rector to convert user->rights into user->hasRight

* Use rector to convert user->rights into user->hasRight

* Clean code

* Fix phpcs

* add editorconfig for sql files (#27999)

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>

* add model_pdf field in llx_ticket-ticket.sql (#27996)

* add model_pdf field in llx_ticket-ticket.sql

* Update 19.0.0-20.0.0.sql

* Update 19.0.0-20.0.0.sql

* Improve wording in README (#27994)

* fix phpstan (#27989)

* fix phpstan

* Update UserRightsToFunction.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>

* Qual: Fix spelling/working in datapolicy translations (#28006)

# Qual: Fix spelling/wording in datapolicy translations

Fixed some spelling and wording in datapolicy translations.

* qual: phpstan for htdocs/ticket/class/ticketstats.class.php (#27986)

htdocs/ticket/class/ticketstats.class.php	98	Parameter #1 $year (string) of method TicketStats::getNbByMonth() should be compatible with parameter $year (int) of method Stats::getNbByMonth()

* Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop

* Fix user with readonly perm on email template must be able to read.

* Fix doc

* Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop

* Better message

* Add missing fields in merge of thirdparty

* Debug v19 selection of ticket printer per terminal

* Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop

* Use constant

* NEW: Adding a recipient on emails sent, change status to sent partialy.

* fix travis (#28052)

* fix travis

* Update partnership.class.php

* fix php doc (#28047)

* fix undefined array key (#28048)

* Add region and departament for Cuba (#28046)

* Update llx_10_c_regions.sql

Add Cuba Regions (id_country=77)

* Update llx_20_c_departements.sql

Add Provinces Cuba (id country=77)

* Find the typo (#28050)

* Find the typo

* clean code

* add last_main_doc field to product (#28045)

* add las_main_doc field to product

* add field fetch

* NEW Add Categorie filter for ActionComm (#28041)

* New Add Categorie filter for ActionComm

New Add Categorie filter for ActionComm

* Fix space errors

Fix space errors

* Fix space errors 2

Fix space errors 2

* Update cunits.class.php (#28056)

FIX: error SQL when creating a Cunit

* Update codespell-lines-ignore.txt to avoid PR merge conflict

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
Co-authored-by: Frédéric FRANCE <frederic34@users.noreply.github.com>
Co-authored-by: thibdrev <thibault.drevet@gmail.com>
Co-authored-by: sonikf <93765174+sonikf@users.noreply.github.com>
Co-authored-by: Ikarus <44511582+LeKarSol@users.noreply.github.com>
Co-authored-by: Anthony Damhet <73399671+EchoLoGeek@users.noreply.github.com>
Co-authored-by: Quentin-Seekness <72733832+Quentin-Seekness@users.noreply.github.com>
2024-02-09 15:58:49 +01:00
Laurent Destailleur
4707304775 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-02-09 13:34:30 +01:00
Laurent Destailleur
0f53fe10d1 FIX oauth authent must be done only on click on link
Better message for notification denied.
2024-02-09 13:32:44 +01:00
Laurent Destailleur
290cb8447a comment 2024-02-09 12:12:54 +01:00
Laurent Destailleur
ce21af7b6c Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-01-23 22:17:46 +01:00
Laurent Destailleur
679896f110 log 2024-01-23 13:14:25 +01:00
Laurent Destailleur
5d3c775b69 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2024-01-18 12:19:08 +01:00
Laurent Destailleur
bc0fc46f21 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-01-18 12:10:29 +01:00
Laurent Destailleur
83dc527389 Doc 2024-01-16 14:45:05 +01:00
Laurent Destailleur
4f4c427259 Move comment 2024-01-16 14:37:33 +01:00
Laurent Destailleur
5599ac733b QUAL: Remove the external js library jstimezonedetect 2024-01-14 21:37:04 +01:00
Laurent Destailleur
5577cfbb26 Update jstz 2024-01-14 21:20:57 +01:00
MDW
89004f7e03 Qual: Spelling htdocs/core (#27491)
Highlights:
- initialY in pdf_standard.modules.php was unused
  - remove (otherwise -> initially) (+same in other file)
2024-01-13 19:48:20 +01:00
Laurent Destailleur
63c38da901 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-12-21 19:44:25 +01:00
Laurent Destailleur
9892abdbb2 FIX Menu Create of project no working on smartphone with no top menu. 2023-12-19 22:33:31 +01:00
Laurent Destailleur
fe1b6c2723 FIX Menu Create of project no working on smartphone with no top menu. 2023-12-19 22:32:49 +01:00
Laurent Destailleur
453d5e5c26 Fix #yogosha19443 2023-12-08 23:45:18 +01:00