2
0
forked from Wavyzz/dolibarr
Commit Graph

1331 Commits

Author SHA1 Message Date
Laurent Destailleur
f39a439895 Clean code 2024-01-26 03:35:00 +01:00
Frédéric France
03e29c6960 fix param 2024-01-20 09:22:38 +01:00
mohamed daoud
31091dd321 add position field into category add view 2024-01-19 13:44:20 +01:00
mohamed daoud
6b92683dc0 manage position in categories 2024-01-17 21:11:42 +01:00
MDW
a04f2bf4e7 Qual: Spelling fixes that newly appeared. (#27495)
* Qual: Spelling fixes that newly appeared.

# Qual: Fix spelling erros that appeared since the bulk updates.

These issues mostly appeared since the bulk updates (a few ones were postponed
to make sure no real spelling errors were missed.)

* Update modulebuilder.lib.php

* Update pdf_standard.modules.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-01-14 12:26:37 +01:00
Frédéric FRANCE
4cf62b9711 clean code and fix (#27446)
* clean code and fix

* clean code and fix
2024-01-12 17:11:08 +01:00
Laurent Destailleur
4501872f17 Clean code with rector 2 2024-01-05 04:33:58 +01:00
Fabian Heinz
b78632a20e api fixes
According to [RFC2616](https://www.rfc-editor.org/rfc/rfc2616#section-10.2), APIs should return 2xx status codes if the request was correct.
The response should be status 200 with an empty result array.
2023-12-31 14:11:05 +01:00
Hystepik
5e4a4da130 Fix some php codce smell 2023-12-20 14:22:45 +01:00
Laurent Destailleur
d92c65ad91 FIX infinite loop in API call/trigger by adding a caller 2023-12-15 12:15:33 +01:00
Laurent Destailleur
432a847ad9 Merge pull request #27004 from frederic34/fix-20231206
avoid phpstan error with phpdoc
2023-12-06 18:27:48 +01:00
Frédéric FRANCE
61b79fda17 avoid phpstan error with phpdoc 2023-12-06 15:46:39 +01:00
MDW
0dd46d1b2c FIX Define global (detected undefined phan #26480) 2023-12-05 19:46:43 +01:00
Laurent Destailleur
ba10d60a0b Fix with php-cs-fixer 2023-12-04 12:02:35 +01:00
Laurent Destailleur
78268779c3 Fix warnings 2023-12-03 12:02:33 +01:00
Frédéric FRANCE
53c8a3acf8 clean phpdoc for phpstan (#26905) 2023-12-01 19:51:32 +01:00
Laurent Destailleur
53dab922fd Fix php8.2 warnings 2023-11-27 11:39:32 +01:00
Laurent Destailleur
ff38cc4bdd Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-11-20 20:02:30 +01:00
Sébastien NASSIET
0fcfae30f8 Add doActions Hook on all actions on Categories (#26744)
* Update card.php

* Update photos.php

* Update edit.php
2023-11-19 10:50:21 +01:00
Sébastien NASSIET
181ee31c47 doActions hook on update category (#26726)
* doActions hook on update category

* Update edit.php
2023-11-19 00:08:49 +01:00
Laurent Destailleur
a318031034 QUAL Standardize code. Renamed ID of user properties into ->user_xxx_id 2023-10-24 11:37:29 +02:00
Laurent Destailleur
9275684ed1 Clean code 2023-10-21 17:58:31 +02:00
Laurent Destailleur
1f38e54e78 Clean code 2023-10-15 15:32:35 +02:00
Laurent Destailleur
c32fe8dc5f QUAL: Use dol_clone with parameter 2 for ->oldcopy 2023-10-11 19:10:24 +02:00
Laurent Destailleur
616f0e41d4 Clean code 2023-10-11 02:54:19 +02:00
pascal
80f060c771 fix tab indentation 2023-09-26 18:43:25 +02:00
pascal
871f896962 implementation of properties filter 2023-09-26 18:04:48 +02:00
Laurent Destailleur
08ac0e9ee4 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into develop 2023-09-21 12:38:41 +02:00
Laurent Destailleur
11cc0a61da Fix cast of int 2023-09-20 11:59:57 +02:00
Frédéric France
9d3cfe67cb fix phpstan 2023-08-25 18:29:00 +02:00
Frédéric France
62384fe7b3 fix phpstan 2023-08-25 18:21:24 +02:00
Laurent Destailleur
020dd911de Debug v18 2023-08-15 13:51:17 +02:00
Laurent Destailleur
86864b4d53 Merge branch '17.0' of git@github.com:Dolibarr/dolibarr.git into 18.0 2023-07-06 22:22:26 +02:00
atm-greg
522fc061a8 add a check on service rights 2023-07-05 10:14:31 +02:00
Laurent Destailleur
f02c89dad0 Fix warning 2023-07-01 16:14:40 +02:00
Laurent Destailleur
138d71ad66 Debug v18 2023-07-01 16:07:58 +02:00
Frédéric France
647708a9bc use user hasRight 2023-06-19 23:05:59 +02:00
Frédéric France
5b3313220f use user hasRight 2023-06-19 20:54:08 +02:00
Frédéric France
68855ce672 use user hasRight 2023-06-19 20:08:27 +02:00
Frédéric FRANCE
0118b4ac89 use user hasRgiht 2023-06-14 20:23:21 +02:00
Laurent Destailleur
c67ea96e19 FIX Multicompany for SEPA file generation 2023-06-14 15:09:36 +02:00
Philippe GRAND
f660e13f20 fix : Warning: Undefined array key cat_fk in /home/httpd/vhosts/doliweb.com/httpdocs/categories/class/categorie.class.php on line 289 2023-06-13 19:47:21 +02:00
Frédéric FRANCE
bb2c112f76 use isModEnabled 2023-06-09 13:45:19 +02:00
Frédéric France
fd4c24e000 use user hasRight 2023-06-05 23:49:13 +02:00
Laurent Destailleur
5441b1998b Fix add a bank account to its categoy 2023-05-23 16:43:50 +02:00
Laurent Destailleur
0e88b6a24b Debug v18 2023-05-23 16:33:50 +02:00
Laurent Destailleur
be835d63ed Merge pull request #24635 from VMR-Global-Solutions/develop
API add / fix filter on extrafields in index()
2023-04-28 20:02:09 +02:00
Laurent Destailleur
e74c50aa8a Clean code 2023-04-28 16:05:25 +02:00
VMR Global Solutions
926aa6fec7 API add / fix filter on extrafields in index()
Add / change in api_xxx.class.php files the ability to filter on extrafields when missing in the public functions index()
by changing the SQL query with the pattern 
" FROM ".MAIN_DB_PREFIX"xxxx AS t LEFT JOIN ".MAIN_DB_PREFIX."xxxx_extrafields AS ef ON (ef.fk_object = t.rowid)
2023-04-28 09:31:33 +02:00
Laurent Destailleur
f44c97d3c6 Code is using the Universal Filter Syntax 2023-04-27 22:12:23 +02:00