Commit Graph

1078 Commits

Author SHA1 Message Date
Frédéric FRANCE
0d3e0c8ec4
fix incorrect case and remove exclude check (#27449) 2024-01-12 20:40:34 +01:00
MDW
342ab85195
Qual: Spelling htdocs/[q-z]* (#27447)
# Qual: Fix spelling htdocs/[q-z]*

Probably fixes a bug:

- htdocs/webservices/server_thirdparty.php
  No other occurence of adress found.
  -'adress'=>->adress,- +'address'=>->address,+
2024-01-12 17:18:52 +01:00
MDW
58ba3e31fa
Qual: Fix spelling for crypted and referer (#27408)
# Qual: Fix spelling for crypted and referer.

The proper spelling is encrypted and referrer, but the code has
some occurences where referer and crypted need to be maintained.

To make verification easier, this spelling correction is limited to
mostly these corrections and some minor translations and a only a
few other corrections.

crypted and referer are added as exceptions for spelling after this fix.

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-01-11 10:07:06 +01:00
MDW
06c22b5368
Qual: spelling for user.class (#27410)
# Qual: Fix spelling for user.class.php .

Mostly changes in the comments.
Some translations from french to english.

 was changed to , used locally.
2024-01-11 10:01:34 +01:00
Laurent Destailleur
9d1f991759 Clean code 2024-01-09 14:24:21 +01:00
Laurent Destailleur
4501872f17 Clean code with rector 2 2024-01-05 04:33:58 +01:00
Laurent Destailleur
7f5df80efd Debug v19 2023-12-19 11:51:48 +01:00
Frédéric FRANCE
86a4ae9236
add phpdoc in subclass 2023-12-15 22:54:40 +01:00
Laurent Destailleur
fb083a6cfc Fix warning with rector 2023-12-13 16:33:17 +01:00
Laurent Destailleur
19db69859d css 2023-12-09 00:09:40 +01:00
Frédéric FRANCE
61b79fda17 avoid phpstan error with phpdoc 2023-12-06 15:46:39 +01:00
Laurent Destailleur
d7df50d978 FIX protection on fetch if 2 record found 2023-12-05 00:44:31 +01:00
Laurent Destailleur
619155f65e Fix with php-cs-fixer 2023-12-04 13:53:48 +01:00
Laurent Destailleur
7c756574b6 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2023-12-02 14:52:36 +01:00
Frédéric FRANCE
53c8a3acf8
clean phpdoc for phpstan (#26905) 2023-12-01 19:51:32 +01:00
Laurent Destailleur
9d67ca34d3 Fix count on nb of permission 2023-11-27 21:19:15 +01:00
Laurent Destailleur
075ee02901 Fix php8.2 warnings 2023-11-27 12:08:48 +01:00
Frédéric FRANCE
bfab3aa077
fix phpstan (#26773) 2023-11-20 23:59:09 +01:00
Laurent Destailleur
d564b6b39c Fix warnings 2023-11-17 02:10:45 +01:00
Laurent Destailleur
3118b9fb4c Debug v19 2023-11-09 15:50:42 +01:00
Laurent Destailleur
c154a72d88 Debug v19 2023-11-06 19:32:04 +01:00
Laurent Destailleur
173fea5554 FIX badge on user skills tab 2023-10-30 14:23:27 +01:00
Laurent Destailleur
2cfa9f8290 Debug v19 2023-10-17 15:43:56 +02:00
Laurent Destailleur
a77b29aada Look and feel v19 2023-10-17 12:36:12 +02:00
Laurent Destailleur
cdf9389b58 CSS v19 2023-10-15 22:02:33 +02:00
Laurent Destailleur
c2bdb3be90 Fix php8.2 warnings 2023-10-15 18:41:39 +02:00
Laurent Destailleur
946239dbf3 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-10-10 23:04:47 +02:00
Laurent Destailleur
e642697f60 Fix label of trigger user enabled or disabled 2023-10-10 12:22:22 +02:00
Laurent Destailleur
d3dc6615db Remove deprecated use of ->modelpdf (good is ->model_pdf) 2023-10-02 21:49:08 +02:00
Laurent Destailleur
3cb78be3ac Clean code 2023-09-29 16:27:07 +02:00
Laurent Destailleur
55b91f00d2 Look and feel v19 2023-09-25 11:44:46 +02:00
Laurent Destailleur
d02c615f40 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2023-09-16 15:14:22 +02:00
Regis Houssin
0046d031ef FIX wrong test + is_int is better for negative integer 2023-09-13 06:44:54 +02:00
Laurent Destailleur
41240a0758 NEW More accurate tooltip on what admin permissions are 2023-09-12 15:58:42 +02:00
Laurent Destailleur
91fa48199a Fix warnings 2023-09-10 17:41:22 +02:00
Laurent Destailleur
bf1549e6e0 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-08-24 00:14:55 +02:00
Laurent Destailleur
dde6888e6a Fix warning 2023-08-23 16:26:00 +02:00
Laurent Destailleur
bfde27ea36 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-08-13 16:33:23 +02:00
Laurent Destailleur
504928aa90 Debug v18 - Fix status of user when expired 2023-08-12 17:04:38 +02:00
Laurent Destailleur
4f63273e28 Clean code 2023-08-09 16:02:27 +02:00
Laurent Destailleur
e3e73d9096 Work on renaming libelle into label 2023-08-06 01:14:36 +02:00
Laurent Destailleur
7ce9bf6b23 Clean code 2023-08-05 15:44:28 +02:00
Laurent Destailleur
91982253a0 Clean code 2023-08-05 14:59:31 +02:00
Frédéric FRANCE
3bf1093afa
Doc (#25498) 2023-07-27 17:45:40 +02:00
mc2contributor
21b02d5698
Add 'name' property for fetching user's name (#25359) 2023-07-16 13:54:08 +01:00
Laurent Destailleur
4b708e9f3f Fix warning 2023-07-09 12:43:32 +02:00
Laurent Destailleur
f0fd249498 Fix warnings 2023-06-26 16:22:00 +02:00
Laurent Destailleur
639d01c7d5 Debug v18 2023-06-22 20:53:09 +02:00
Laurent Destailleur
d42e651bec Debug v18 2023-06-20 00:58:44 +02:00
Laurent Destailleur
481fc79721 Debug v18 - Fix extrafields visibility in customreports 2023-05-24 00:26:30 +02:00
Laurent Destailleur
4a1153dc49 Use a dedicated sendcontext when sending email for password reset 2023-05-23 01:36:32 +02:00
Laurent Destailleur
5dd3f57a1e Debug v18 2023-05-11 13:11:21 +02:00
Laurent Destailleur
57a9ef35ae NEW Implement MAIN_ACTIVATE_FILECACHE on bithday widget 2023-05-05 13:21:54 +02:00
Frédéric FRANCE
e4ec6f0b63 use instance_unique_id 2023-05-03 12:01:36 +02:00
Laurent Destailleur
2d17e77ff7 Fix warning 2023-05-01 17:29:54 +02:00
Laurent Destailleur
4fb496a1d2
Merge pull request #24633 from frederic34/commonpeople
move some methods in trait
2023-05-01 14:43:08 +02:00
Frédéric FRANCE
89d67c8fd4 move some methods in trait 2023-04-27 23:48:21 +02:00
Laurent Destailleur
46e3413e8a Fix tooltips 2023-04-27 15:55:21 +02:00
Laurent Destailleur
c891196b5b Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2023-04-25 21:02:01 +02:00
Frédéric FRANCE
ce227bd78e
use isModEnabled 2023-04-18 10:46:24 +02:00
Laurent Destailleur
69376a4e8b Fix test error on setPassword 2023-04-15 12:07:32 +02:00
Laurent Destailleur
747cd766b0 FIX Pb in install when password start with some special char like ! 2023-04-15 04:29:19 +02:00
Laurent Destailleur
b55271dedb Fix warning 2023-04-15 03:27:35 +02:00
Laurent Destailleur
09426bd81f Fix test on user->id 2023-04-13 18:30:06 +02:00
Laurent Destailleur
aea1f60c67 Debug v18 2023-04-10 01:46:30 +02:00
Laurent Destailleur
8898a1a432 Debug ajax tooltip 2023-04-03 19:51:40 +02:00
Laurent Destailleur
3613008362 Perf enhancement into addrights and delrights 2023-03-26 01:54:03 +01:00
Jyhere
99d0f5c5d2 FIX : fatal error when margin enable (missing check on element), fix User::hasRight() when checking a margin right 2023-03-17 16:26:21 +01:00
Jyhere
78cf8dd8eb FIX : fatal error when margin enable (missing check on element), fix User::hasRight() when checking a margin right 2023-03-17 11:42:06 +01:00
Laurent Destailleur
ca096089fb Debug v18 2023-03-13 16:28:58 +01:00
Laurent Destailleur
68a2131ae6 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-03-13 13:22:10 +01:00
Laurent Destailleur
d369a640de Fix encryption of api_key 2023-03-13 12:48:25 +01:00
Laurent Destailleur
a92081cf43 Debug Kanban views 2023-03-07 22:04:40 +01:00
Laurent Destailleur
12bd795afc Work on Kanban view 2023-03-01 20:13:21 +01:00
Laurent Destailleur
788ec8b7c2 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-02-20 16:22:35 +01:00
Laurent Destailleur
b3b94e34d7 Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into 17.0 2023-02-20 16:21:14 +01:00
Laurent Destailleur
35d496de38
Update user.class.php 2023-02-19 02:41:53 +01:00
Regis Houssin
50721f8df3 TODO object $user parameter is not use in send_password() ! 2023-02-18 16:31:59 +01:00
Regis Houssin
5b81880b97 FIX object $user is not defined 2023-02-18 16:24:56 +01:00
Regis Houssin
992fe1286d FIX request new password with "mc" and "twofactor" authentication 2023-02-18 16:08:19 +01:00
Frédéric FRANCE
c1882425db fix tooltip 2023-02-15 22:26:16 +01:00
Frédéric FRANCE
ff94600d8f clean code 2023-02-06 23:00:42 +01:00
Frédéric FRANCE
b238830c82 keep original label 2023-02-05 23:19:56 +01:00
Frédéric FRANCE
0afcaa0985 fix for double tooltip 2023-02-04 21:22:30 +01:00
Frédéric FRANCE
04610763aa Merge remote-tracking branch 'upstream/develop' into ajaxtooltip 2023-02-04 18:31:40 +01:00
Laurent Destailleur
7a3c752914 Fix permission on an inherited group inside entity 0 no visible 2023-02-04 14:06:40 +01:00
Laurent Destailleur
6ac65400c3 Fix permission on an inherited group inside entity 0 no visible 2023-02-03 21:13:12 +01:00
Frédéric FRANCE
41dd574b16 clean js 2023-02-02 22:59:54 +01:00
Frédéric FRANCE
993c1d28c4 work on ajax tooltip 2023-01-31 22:08:32 +01:00
Laurent Destailleur
9fb08b5a0a Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-01-31 21:28:59 +01:00
Laurent Destailleur
e2efeeef9a Fix menu accountancy not visible with module "comptabilite" 2023-01-31 16:05:19 +01:00
Laurent Destailleur
fc3f60b6af Clean code related to HR 2023-01-31 00:42:23 +01:00
Laurent Destailleur
0765a1196f FIX Check of date of validity 2023-01-27 14:40:30 +01:00
Laurent Destailleur
dfcba30577 FIX Check of date of validity 2023-01-27 14:06:31 +01:00
Laurent Destailleur
d697e4aeab
Merge pull request #23625 from frederic34/fix2023301
fix undeclared properties for php 8.2
2023-01-18 23:25:45 +01:00
Laurent Destailleur
0f475783de Enhance method getKanbanView 2023-01-18 22:27:52 +01:00
Frédéric France
cccba873a8 fix undeclared properties for php 8.2 2023-01-18 22:20:25 +01:00
Laurent Destailleur
f2f4cdbe6a NEW Invalidate all sessions of a user when password is modified. 2023-01-16 11:48:34 +01:00
Laurent Destailleur
5867b62496 Fix do not change password if same 2023-01-16 11:00:34 +01:00
Laurent Destailleur
acc30da1fe Fix do not change password if same 2023-01-16 10:57:31 +01:00
Laurent Destailleur
982ee6259f NEW Session invalidation after a password change 2023-01-14 21:21:48 +01:00
Laurent Destailleur
09a0d579ce Fix delete group of a user 2023-01-14 02:40:44 +01:00
Laurent Destailleur
c50c553999 NEW Save date to invalidate other session into user table 2023-01-12 14:40:00 +01:00
Laurent Destailleur
75d9793145 Fix virtual card feature 2023-01-07 14:34:30 +01:00
Laurent Destailleur
00740ca267 WIP Work on public virtual card 2023-01-07 04:42:24 +01:00
Laurent Destailleur
27792fe1ad Fix qodana 2023-01-04 18:34:54 +01:00
Laurent Destailleur
e5a5237452 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-01-03 11:34:25 +01:00
Laurent Destailleur
9f02bd2350 Debug v17 2023-01-03 11:32:33 +01:00
Laurent Destailleur
37ce175d53 Fix user status 2023-01-03 10:38:50 +01:00
Laurent Destailleur
5978f40461 Fix user status 2023-01-03 10:36:47 +01:00
Laurent Destailleur
e523c04ce7 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into develop 2022-12-31 14:25:11 +01:00
Laurent Destailleur
751f79b672 Debug v17 2022-12-31 14:21:16 +01:00
Laurent Destailleur
f816587cfb Fix warning 2022-12-30 19:28:05 +01:00
Laurent Destailleur
ea42fc7605 Clean code, fix warnings 2022-12-30 18:43:43 +01:00
Laurent Destailleur
6824f82cc8 Fix warnings 2022-12-28 13:58:23 +01:00
Laurent Destailleur
5905c0e89e Fix error message 2022-11-30 17:37:29 +01:00
Laurent Destailleur
43f9ac59d9 Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into develop 2022-11-11 15:34:10 +01:00
Laurent Destailleur
cba92c8bdd Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 16.0 2022-11-11 15:28:04 +01:00
Laurent Destailleur
53b0e49886
Merge pull request #22687 from FHenry/15_fix_propal_right
15 fix propal right
2022-11-02 00:39:02 +01:00
Laurent Destailleur
88273690c5 Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	htdocs/comm/propal/card.php
2022-11-02 00:24:08 +01:00
Laurent Destailleur
bc2e226ef8 Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 16.0
Conflicts:
	htdocs/comm/propal/card.php
	htdocs/societe/class/societe.class.php
2022-11-02 00:19:23 +01:00
Laurent Destailleur
c28e6a46e2 Merge branch '14.0' of git@github.com:Dolibarr/dolibarr.git into 15.0
Conflicts:
	htdocs/comm/propal/card.php
	htdocs/install/step5.php
2022-11-02 00:15:21 +01:00
kkhelifa
c4543eff73 FIX: Fix the request SQL for transversal user, the join on usergroup table must be with getEntity('usergroup') and not other element 2022-10-28 16:31:01 +02:00
Florian HENRY
15b19840fb fix: cannot edit propal note 2022-10-27 14:40:47 +02:00
Florian HENRY
0f1b63ec9b fix: cannot edit propal note 2022-10-27 14:38:37 +02:00
Laurent Destailleur
959aef914e Clean code 2022-10-04 23:53:17 +02:00
Laurent Destailleur
f5e5de1eba Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2022-09-25 17:12:03 +02:00
Laurent Destailleur
86091c3fde Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 16.0 2022-09-25 17:01:44 +02:00
Jean
88ff4ad4bc FIX #22379 creating events on supplier order 2022-09-24 09:13:19 +02:00
Jean
7d4b2a664e FIX #22379 creating events on supplier order 2022-09-23 16:47:54 +02:00
Laurent Destailleur
b69031e979 Fix php8.1 2022-09-21 03:23:03 +02:00
Laurent Destailleur
6fb9a4713c Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into develop 2022-09-21 01:30:40 +02:00
Laurent Destailleur
cb7db080cd Merge branch '15.0' of git@github.com:Dolibarr/dolibarr.git into 16.0 2022-09-21 01:21:11 +02:00
kevin
81ce609b7b FIX no when contains an @ 2022-09-13 16:04:20 +02:00
Laurent Destailleur
8b2fca8cca Try a fix for margin hasRights 2022-09-09 18:10:31 +02:00
Laurent Destailleur
b23ab2cb71 FIX #yogosha12266 2022-09-09 13:58:54 +02:00
Laurent Destailleur
e19e65d362 Fix phpunit 2022-09-08 16:38:39 +02:00
Laurent Destailleur
4c09252650 Clean code 2022-09-08 12:29:46 +02:00
Laurent Destailleur
1e0ce2f90a FIX test on hasRight for product module 2022-09-08 12:29:33 +02:00
Laurent Destailleur
9d4bc513be Fix regression 2022-09-07 16:39:19 +02:00
lmarcouiller
3df3bd8c4a Fix ; permission check code 2022-09-06 15:37:00 +02:00
ptibogxiv
a0bb17aea9 wip 2022-09-03 11:07:47 +02:00
Frédéric France
47c5ec7fc6 Merge remote-tracking branch 'upstream/develop' into productbatch 2022-09-01 19:55:24 +02:00
Laurent Destailleur
5ba0520195 FIX fatal error abs on non int 2022-09-01 15:41:08 +02:00
Laurent Destailleur
a865388b9c FIX fatal error abs on non int 2022-09-01 15:38:31 +02:00
Laurent Destailleur
6903b96f6b Merge branch '16.0' of git@github.com:Dolibarr/dolibarr.git into develop 2022-09-01 12:39:25 +02:00
Laurent Destailleur
8bf8beb898 Debug module ticket 2022-09-01 10:54:20 +02:00
Frédéric France
8e66b7207e replace ! empty by !empty 2022-08-31 22:14:20 +02:00
Philippe GRAND
5aba964726 FIX php8 compatibility 2022-08-28 14:40:36 +02:00
ptibogxiv
1a1c5d9110 Update user.class.php 2022-08-07 10:14:05 +02:00