Commit graph

145227 commits

Author SHA1 Message Date
Laurent Destailleur
fdb209ca41 Add a check to allow setPassword from apis 2024-08-17 16:41:30 +02:00
Laurent Destailleur
58dfd89256 Look and feel 2024-08-17 16:31:34 +02:00
Laurent Destailleur
2f643b8f99 Fix API_DISABLE_LOGIN_API 2024-08-17 16:30:47 +02:00
Laurent Destailleur
03bc26dcbb Fix API_DISABLE_LOGIN_API 2024-08-17 16:29:52 +02:00
Laurent Destailleur
52c8b669c9 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-08-17 16:20:17 +02:00
Laurent Destailleur
c481be58f7 Clean code 2024-08-17 16:20:06 +02:00
Jon Bendtsen
5c6594b4ce
NEW API call to re-generate a users password. (#30590)
* NEW API call to re-generate a users password.

* fixing job:pre-commit that gave an error saying it was missing here

* adding the  variable

* trying to load global user variable based on this comment https://github.com/Dolibarr/dolibarr/pull/30589#issuecomment-2276631147

* first attempt didnt work, but I found that global $conf at the top of the function

* adjust http error code to 500

* removing some comments and pre commit fix

* making send password a bool + using ->useraccount as pr. @eldy request

* lower case false

* Update api_users.class.php

---------

Co-authored-by: Jon Bendtsen <xcodeauthor@jonb.dk>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-08-17 16:19:55 +02:00
Frédéric FRANCE
34404b4e58
fix phpstan (#30660)
* fix phpstan

* Update reddithandler.class.php
2024-08-17 15:59:14 +02:00
Laurent Destailleur
84699b64fe Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-08-17 15:56:30 +02:00
Laurent Destailleur
8f1ef39976 Fix duplicate column name 2024-08-17 15:49:33 +02:00
Laurent Destailleur
25cd547a44 Fix duplicate column name 2024-08-17 15:48:49 +02:00
Laurent Destailleur
b436ffeaae Fix link image 2024-08-17 14:10:10 +02:00
Laurent Destailleur
8dafdf4522 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-08-17 13:12:53 +02:00
Laurent Destailleur
5a8b5565f7 FIX message after recordig an internal transfer was not visible 2024-08-17 13:12:28 +02:00
Laurent Destailleur
8606175b4e Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-08-17 12:22:45 +02:00
Laurent Destailleur
fde4c38657 Close #30623 Close #30640 2024-08-17 12:22:18 +02:00
Oliver Lippert
04793197c0
support loans with 0% rate (#30658)
math is simple in this case: capital divided by remaining payment count

#30657
2024-08-17 12:13:26 +02:00
Laurent Destailleur
223f87a78b Debug v20 2024-08-17 02:02:32 +02:00
Laurent Destailleur
ec5d9ff0cc Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-08-17 01:41:06 +02:00
Laurent Destailleur
6d7e6a0f8f Look and feel 2024-08-17 01:40:44 +02:00
lamrani abdelwadoud
e8c9fa1945
New configuration for mastodonHandler (#30632)
* New configuration for mastodonHandler

* Fix error CTI

* Fix phpStan errors

* add getters for private attributes

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-08-16 22:41:38 +02:00
Laurent Destailleur
6249268e98 Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-08-16 22:28:43 +02:00
Laurent Destailleur
ad7201c368 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 20.0 2024-08-16 22:27:53 +02:00
Oliver Lippert
9757e18960
FIX: Fatal error on create loan schedule (#30656)
* don't set `$echeances->lines` to null to prevent fatal error

also replace wrong variable `$echeance` with `$new_echeance`

#30655

* replace "step1" with a more speaking error message

#30655

---------

Co-authored-by: Oliver Lippert <oliver@lipperts-web.de>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-08-16 22:25:59 +02:00
Laurent Destailleur
77ea24c812 Try fix codespell 2024-08-16 22:23:52 +02:00
Laurent Destailleur
ab2bfae576 Fix precommit 2024-08-16 22:20:44 +02:00
Laurent Destailleur
025f71d6be Fix typo 2024-08-16 22:19:09 +02:00
Laurent Destailleur
dcedc39887 Comment 2024-08-16 22:15:23 +02:00
Laurent Destailleur
0a271739a0 Close #24884 2024-08-16 22:13:45 +02:00
Laurent Destailleur
3e714ad8fe Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop 2024-08-16 21:27:01 +02:00
Laurent Destailleur
9261375180 Fix travis 2024-08-16 21:21:11 +02:00
Laurent Destailleur
825a8602d3 Fix tab 2024-08-16 20:38:39 +02:00
Thomas C.
d8e30f6e4a fix (#30648)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-08-16 20:38:20 +02:00
Laurent Destailleur
ce76489f51 Fix tab 2024-08-16 20:37:42 +02:00
Thomas C.
0ee38230d0
fix (#30648)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-08-16 20:35:21 +02:00
Laurent Destailleur
67ae15c3c7 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop 2024-08-16 20:16:09 +02:00
Laurent Destailleur
b6a0d00081 Doc 2024-08-16 20:15:58 +02:00
MDW
85ce1c3364
Qual: Ignore htdocs/custom/mymodule in cti/apstats (#30647)
# Qual: Ignore htdocs/custom/mymodule in cti/apstats

Fix #30551 where '../core/...' was added instead of '.../custom/...'.
2024-08-16 20:14:22 +02:00
MDW
e471274073
Qual: Correct typing hint for category type in setAsCategory. (#30650)
# Qual: Correct typing hint for category type in setAsCategory

Type hint was int which is deprecated, so setting type hint to string
which will help detect deprecated uses and not flag the correct uses
2024-08-16 20:13:53 +02:00
Frédéric FRANCE
97392965e1
fix ignored phpstan (#30645)
* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan

* fix ignored phpstan
2024-08-16 20:13:02 +02:00
Frédéric FRANCE
ff06dc8704
avoid 404 apple touch icon (#30651)
* avoid 404 apple touch icon

* Add files via upload
2024-08-16 20:11:54 +02:00
Laurent Destailleur
c833415c1d Fix css 2024-08-16 16:12:05 +02:00
Laurent Destailleur
65fd78cf14 Fix firstname not set 2024-08-16 15:54:07 +02:00
Laurent Destailleur
76c1f625f6 Prepare 19.0.3 2024-08-15 20:42:12 +02:00
Laurent Destailleur
d84d3b7bea Prepare version 19.0.3 2024-08-15 20:40:37 +02:00
Florent Poinsaut
00bae889fc
Add new tags in database (#30526) 2024-08-15 20:11:52 +02:00
Frédéric FRANCE
713dac2c56
fix phan (#30646)
* fix phan

* Update new.php

* Update new.php
2024-08-15 18:33:42 +02:00
Laurent Destailleur
5c88a77ac1 Enhance the layout email selection 2024-08-15 18:32:55 +02:00
Laurent Destailleur
af779ead51 Fix rename field name for subject in english 2024-08-15 18:11:57 +02:00
Laurent Destailleur
69ac99e11a Fix sql error 2024-08-15 18:07:47 +02:00