Commit graph

23 commits

Author SHA1 Message Date
Sakura Akeno Isayeki
084411f847
refactor(db): Update SqlQueryBuilder references + Various refactors
Consolidates the creation of SQL query builders across multiple classes to ensure a unified approach for database operations.

Replaces manual type checks and specific query creators with a generic method for better maintainability and to prevent errors.

Improves code readability and reduces duplication, facilitating easier updates in the future.
2025-04-28 15:51:26 +02:00
Sakura Akeno Isayeki
f28f1bf536
feat(db): Add PostgreSQL query creator implementation
Implements a query creator for PostgreSQL, allowing for proper database type mapping and table creation functionalities.

Enhances the library's database support by incorporating PostgreSQL-specific features such as SERIAL/BIGSERIAL for auto-increment columns and improved escape handling for table names.

Improves the extensibility and compatibility of the database framework with different SQL databases.
2025-04-28 14:09:10 +02:00
SGKoishi
b766e045b5
Use i18n for most string.Format if shown in log, console or client side 2022-10-24 13:38:33 -07:00
Janet Blackquill
f63b26ac76 Some i18nifiying 2022-10-21 16:12:04 -04:00
Chris
9423febd0a Refactor for new configuration 2020-12-03 17:43:10 +10:30
Lucas Nicodemus
7314a34986
Properly don't log if not logging enabled 2020-05-20 00:00:09 -07:00
Lucas Nicodemus
b76d906c59
Overhaul debug logging
Debug logging now provides ConsoleDebug and ILog has been updated to
support the concept of debug logs. Debug logs are now controlled by
config.json instead of by preprocessor debug flag.
2020-05-19 22:04:10 -07:00
Lucas Nicodemus
70dd72443d Update copyright to 2019 again
Fixes #1658, most likely.
2019-03-29 17:16:37 -07:00
Lucas Nicodemus
569b350cea Update to Pryaxis, 2018 part 2
If there's one thing I learned in this exercise, it's that letting
people add random python scripts to the repo like gpltext.py that
promise to be easier than find and replace is a bad idea.
2018-01-01 02:20:56 -07:00
Lucas Nicodemus
8d934ef08f Update to 2018 2018-01-01 02:17:21 -07:00
White
c4a3a9fb67 Updated Copyright for 2017 2017-03-13 12:17:16 +10:30
Adilson Carvalho
49b4effe74 Changed year to 2016 on all GPL headers 2016-10-16 17:06:02 -02:00
White
cf34aad594 Remove the pesky '/' that got in there somehow 2015-04-09 15:58:10 +09:30
White
b4f2ddef47 DEBUG preprocessor conditional inside method 2015-04-09 15:56:51 +09:30
White
fc1d188951 DEBUG preprocessor checks for ILog 2015-04-08 20:46:12 +09:30
White
e6d07f2e83 Update to DateTime.UtcNow 2015-03-23 14:20:59 +10:30
White
5b246ce641 Format fix 2015-03-23 13:27:07 +10:30
White
0f7d421bc6 SQL log actually ensures its table exists 2015-03-23 12:00:37 +10:30
White
c7ce6f3f78 Switch from LogLevel in favour of TraceLevel 2015-03-19 14:38:37 +10:30
White
cb46221409 Add FileName to ILog interface. Also fixes some missing XML warnings 2015-03-19 13:56:38 +10:30
White
5e9a6bf329 Switch if to while and resolve inverted for looping issue 2015-02-28 18:39:39 +10:30
White
8ff36c6709 Adds a queue to the SQL log and fixes some issues pointed out 2015-02-26 15:37:36 +10:30
Lucas Nicodemus
0459dfca11 Adds SQL logging from WhiteX's fork; closes #869 2015-02-25 15:33:35 -07:00