Commit graph

46 commits

Author SHA1 Message Date
sparkyx
4b84ba4879 remove dead code , improve code 2025-10-06 16:38:30 +02:00
sparkyx
be3b40ac94 E-INVOICE , when loading a XML , the file is splitted into a PDF and XML 2025-10-06 08:54:39 +02:00
sparkyx
472406aa3f E-INVOICE : show the XML to download 2025-10-06 08:54:39 +02:00
sparkyx
d2a199ffce Database: upload file function 2025-10-06 08:54:39 +02:00
sparkyx
40839add43 DatabaseCore : add the function lo_write , lo_replace and lo_read to create large
objects from string
2025-10-06 08:54:13 +02:00
sparkyx
59e1d9b040 Database : Improve : can specified how the array is returned with PGSQL_BOTH, PGSQL_NUM , default PGSQL_ASSOC 2025-08-01 23:36:32 +02:00
sparkyx
001677eb72 Improve Code: Database : add __toString 2025-05-19 23:03:59 +02:00
sparkyx
a21554139c typo 2025-04-08 10:23:09 +02:00
sparkyx
ba1eecf5b4 Code Documentation 2025-02-07 17:02:53 +01:00
sparkyx
470559cc61 DatabaseCore : documentation and improve query_to_csv 2024-05-17 20:12:34 +02:00
sparkyx
340e4959f6 Bug in DatabaseCore::query_to_csv 2024-05-16 19:36:17 +02:00
sparkyx
98390d4d48 Fix merge issue 2023-12-08 14:00:32 +01:00
sparkyx
26f08f46fb DatabaseCore : clear prepare stmt 2023-12-08 13:39:38 +01:00
Dany wm
b0603ebf5e Improve DatabaseCore : fetch_all 2023-12-08 10:36:21 +01:00
sparkyx
1b69d6dcc8 Merge master 2023-12-05 13:57:01 +01:00
sparkyx
7b13bbfe53 Documentation 2023-11-12 22:13:47 +01:00
sparkyx
844484c39d merge devel-france 2023-07-27 20:24:34 +02:00
sparkyx
3d5f49b256 Improve debug 2023-05-26 11:39:58 +02:00
sparkyx
16676ee574 Database return the name of the database 2023-05-24 16:42:37 +02:00
sparkyx
d2d8c361f8 Cosmetic bug : make_array wasn't able to manage accent and quote 2023-05-16 20:49:44 +02:00
sparkyx
95c8672c0f WIP ADAPT PHP8.2 2023-02-18 10:50:09 +01:00
sparkyx
60f67b99bf Improve DEBUG 2023-02-17 23:46:20 +01:00
sparkyx
4ffde0c1b0 Code cleaning pg_fetch_array
Postgresql fetch_array returns array with assoc only; except
on specific occasions
2022-10-05 11:36:43 +02:00
Dany De Bontridder
d606c1d6fa php8.1 : compatibility 2022-08-27 16:57:30 +02:00
Dany De Bontridder
e93283ba65 PHP 8.1 Deprecated
Adapt for 8.1
2022-08-24 22:35:02 +02:00
sparkyx
d0a55c9fe0 Documentation 2022-03-05 10:35:13 +01:00
sparkyx
ab13a65796 PHP8 compatibility 2021-12-24 12:12:36 +01:00
sparkyx
b577422914 Code cleaning Improve doc and test 2021-08-11 13:04:44 +02:00
sparkyx
8e353e9072 Typo , adapt unit-test 2021-06-20 13:30:39 +02:00
sparkyx
5e4b39edbe Code Cleaning #0002022: Utilisation d'un autoloader 2021-06-20 10:55:55 +02:00
sparkyx
8e95a3a154 Task #0002014: Comptabilité analytique ordre par date
Database_Core setter/getter for sql
2021-06-17 13:44:58 +02:00
sparkyx
e942a0b0ef Document : add phpunit test 2021-06-07 15:01:00 +02:00
sparkyx
a2c0e116fa Task 0001912: Developpement DEBUG new system with level 2021-03-20 10:34:57 +01:00
sparkyx
1666f570be Improve : add a function for detection SQL inject 2021-01-26 00:27:44 +01:00
Dany De Bontridder
54b265c03a documentation 2020-09-29 17:06:57 +02:00
Dany De Bontridder
6593181f55 Remove DB connect with DSN 2020-05-24 21:49:08 +02:00
Dany De Bontridder
741a1c1417 Code : add connection by DSN 2020-05-11 00:10:23 +02:00
Dany De Bontridder
8561404518 Bug database.class.php : n'applique pas le patch 2020-04-04 14:28:47 +02:00
Dany De Bontridder
096169b987 Task #1762 , printtva peut mettre donner les totaux de tva
suivant l'exigibilité configuré par Code TVA , par date de paiement
ou par date d'opération
2019-11-12 21:13:47 +01:00
Dany De Bontridder
61db6699e0 Database_Core add function with the number of cols 2019-09-04 21:12:19 +02:00
Dany De Bontridder
5aab6a0502 Bug : Database::fetch_all returns an array or FALSE, because
of pg_fetch_all, the version PHP7 cannot use anymore a boolean with
count().
2019-08-24 12:05:49 +02:00
Dany De Bontridder
c2d6876ac6 DatabaseCore fix silent when not debug 2019-08-15 11:53:53 +02:00
Dany De Bontridder
35e3de4c7c Documentation : automatic format breaks doxygen tag 2019-07-27 20:03:46 +02:00
Dany De Bontridder
eb55afc103 fixup! fixup! Code cleaning : split database into database (for noalyss) and databasecore , with the functions 2019-07-25 21:24:44 +02:00
Dany De Bontridder
be6d216109 fixup! Code cleaning : split database into database (for noalyss) and databasecore , with the functions 2019-07-25 19:30:35 +02:00
Dany De Bontridder
2e74ca5bdf Code cleaning : split database into database (for noalyss) and databasecore ,
with the functions
2019-07-24 22:47:32 +02:00
Renamed from include/lib/database.class.php (Browse further)