mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-11-03 18:46:55 +09:00
* Refactor database connection to use `DriverManagerFactory`
* Add Doctrine DBAL connection to DI container
Revert "Add Doctrine DBAL connection to DI container"
This reverts commit bc2f9f4901d8baee4b12cd2795b0ef76156849cf.
Reapply "Add Doctrine DBAL connection to DI container"
This reverts commit 48debb74bbfa6c8cebf27ee20c222c911d508ccb.
* Refactor database access to use Doctrine DBAL
* Refactor DB config to use 'driver' instead of 'type'
* Refactor database connection to use `DriverManagerFactory`
* Add Doctrine DBAL connection to DI container
Revert "Add Doctrine DBAL connection to DI container"
This reverts commit bc2f9f4901d8baee4b12cd2795b0ef76156849cf.
Reapply "Add Doctrine DBAL connection to DI container"
This reverts commit 48debb74bbfa6c8cebf27ee20c222c911d508ccb.
* Refactor database access to use Doctrine DBAL
* Refactor DB config to use 'driver' instead of 'type'
* Refactor tests to use `dbal` mocks
* Replace `getQueryBuilder` with `createQueryBuilder
* Fix handling of empty query results and cleanup exception comment
* Update Composer lock file
* Refactor PDO initialization in DI container
Updated the DI definition for 'pdo' to directly use the PDO instance returned by Doctrine's DriverManagerFactory, removing unnecessary object casting. Also added missing import for DriverManagerFactory. Updated PHPStan config to remove a redundant ctype_alnum rule.
* Refactor query execution and result fetching logic
Updated database query handling in Extension and System Service classes to separate query building from execution and fetching. This improves code clarity and ensures consistent use of fetchOne for single-value results.
* Fix SQL where clause syntax in Service.php
Corrects the syntax of the where clause in several queries by changing 'where('param', ':param')' to 'where('param = :param')' for proper parameter binding and query execution.
* Refactor Stats module to use Doctrine DBAL
* Refactor Custompages Service to use dbal instead of pdo
Replaced all direct PDO usage with dbal methods for database operations in the Custompages Service. This improves consistency, leverages dbal's abstraction, and prepares the codebase for better maintainability and future enhancements.
* Refactor DBAL usage and update test mocks
Refactored DBAL service definitions and query builder usage to improve clarity and consistency. Updated tests to use anonymous classes for DBAL and query builder mocks instead of PHPUnit mock objects, simplifying test setup and improving maintainability.
Co-Authored-By: Copilot <175728472+Copilot@users.noreply.github.com>
* Refactor DB queries to use executeQuery and executeStatement
Replaced manual PDO prepare/execute calls with Doctrine DBAL's executeQuery and executeStatement methods in UpdatePatcher and ApiRequestTable. This improves code consistency and leverages DBAL features for query execution and result fetching.
* Add input validation for DB charset, table, and column names
Introduces strict validation for supported database charsets in DriverManagerFactory, allowed column names in Custompages Service, and allowed table names in Stats Service to prevent invalid or unsafe input. Also updates UpdatePatcher with default values for new config keys and adjusts a Stats Service test to use a valid table name.
* Add 'CHARSETS' to cspell custom words list
* Refactor query execution in patcher and product domain
Updated query builder usage in UpdatePatcher and ProductDomainTable to separate query building from execution, aligning with best practices. Removed unused fetchOne stubs from ServiceTest to reflect these changes.
Co-Authored-By: Copilot <175728472+Copilot@users.noreply.github.com>
* Refactor `getProductSummary` to use Doctrine DBAL
* Fix parameter binding for category and hash in UpdatePatcher
Updated the insert statement in UpdatePatcher to bind the 'category' and 'hash' parameters explicitly, ensuring correct handling of null values during database insertion.
* Update MySQL charset handling in PDO setup
Removes redundant charset initialization statements for MySQL connections, relying on DBAL to handle connection charset via DSN. Now only sets the server default charset and session timeouts.
* Set default DB driver to `pdo_mysql` in `UpdatePatcher`
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
467 lines
9.6 KiB
JSON
467 lines
9.6 KiB
JSON
{
|
|
"version": "0.2",
|
|
"language": "en",
|
|
"words": [
|
|
"FOSS",
|
|
"huraga",
|
|
"FOSSBilling",
|
|
"BoxBilling",
|
|
"evrifaessa",
|
|
"andpavlenko",
|
|
"jaapmarcus",
|
|
"Plesk",
|
|
"Huntr",
|
|
"Fabien",
|
|
"Potencier",
|
|
"Kloxo",
|
|
"Ispconfig",
|
|
"Interkassa",
|
|
"Payza",
|
|
"Hostinger",
|
|
"docusaurus",
|
|
"Laravel",
|
|
"pastable",
|
|
"Nyan",
|
|
"recognised",
|
|
"fordnox",
|
|
"Dockerized",
|
|
"process",
|
|
"unsuspended",
|
|
"admdly",
|
|
"Pictogrammers",
|
|
"Symfony",
|
|
"EMERG",
|
|
"exploitability",
|
|
"birthdate",
|
|
"Birthdate",
|
|
"jhurliman",
|
|
"jambroseclarke",
|
|
"Egulias",
|
|
"ICANN",
|
|
"failovers",
|
|
"Autosize",
|
|
"analyse",
|
|
"triaging",
|
|
"hostable",
|
|
"cooldown",
|
|
"ONLYDIR"
|
|
],
|
|
|
|
"ignoreWords": [
|
|
"thead",
|
|
"tbody",
|
|
"alink",
|
|
"xlink",
|
|
"stylesheet",
|
|
"endfor",
|
|
"currentpage",
|
|
"numpages",
|
|
"jgrowl",
|
|
"endmacro",
|
|
"tlds",
|
|
"selectboxtld",
|
|
"msgid",
|
|
"msgstr",
|
|
"nplurals",
|
|
"tmpname",
|
|
"Nottelling",
|
|
"ivsize",
|
|
"ciphertext",
|
|
"followlocation",
|
|
"regexed",
|
|
"punnycode",
|
|
"timeago",
|
|
"daysleft",
|
|
"ipcountryname",
|
|
"bbmd",
|
|
"lngh",
|
|
"loggedin",
|
|
"ERRMODE",
|
|
"Servicelicense",
|
|
"solusvm",
|
|
"Serviceboxbillinglicense",
|
|
"mmdb",
|
|
"BBLANG",
|
|
"maintmode",
|
|
"endapply",
|
|
"helpdesk",
|
|
"autorespond",
|
|
"Spamchecker",
|
|
"recaptcha",
|
|
"noborder",
|
|
"opengraph",
|
|
"precomposed",
|
|
"selectivizr",
|
|
"cookieconsent",
|
|
"signout",
|
|
"signup",
|
|
"figcaption",
|
|
"onclick",
|
|
"noscript",
|
|
"orderbutton",
|
|
"Servicesolusvm",
|
|
"UNCANCEL",
|
|
"uncancel",
|
|
"accesshash",
|
|
"userprefix",
|
|
"qtys",
|
|
"qnty",
|
|
"rtable",
|
|
"owndomain",
|
|
"rtable",
|
|
"tria",
|
|
"ONHOLD",
|
|
"TXTYPE",
|
|
"SUBSCR",
|
|
"sess",
|
|
"sysdate",
|
|
"promocode",
|
|
"maxuses",
|
|
"freesetup",
|
|
"nopadding",
|
|
"fieldset",
|
|
"signups",
|
|
"colspan",
|
|
"tfoot",
|
|
"xlarge",
|
|
"selectbox",
|
|
"sitekey",
|
|
"sitekey",
|
|
"autodark",
|
|
"noopener",
|
|
"datepicker",
|
|
"tablist",
|
|
"subpages",
|
|
"subpage",
|
|
"keyup",
|
|
"aligncenter",
|
|
"tabpanel",
|
|
"nowrap",
|
|
"Formbuilder",
|
|
"datetime",
|
|
"nbsp",
|
|
"banklink",
|
|
"taxname",
|
|
"taxrate",
|
|
"serie",
|
|
"currencylayer",
|
|
"custompages",
|
|
"middlenav",
|
|
"sendgrid",
|
|
"endset",
|
|
"tcode",
|
|
"tstatus",
|
|
"labelledby",
|
|
"ctitle",
|
|
"mtitle",
|
|
"servicehosting",
|
|
"cpanel",
|
|
"Nameserver",
|
|
"yourserverdomain",
|
|
"optgroup",
|
|
"iframe",
|
|
"yourdomain",
|
|
"uploadframe",
|
|
"servicedownloadable",
|
|
"servicedomain",
|
|
"markitup",
|
|
"ckeditor",
|
|
"codexplorer",
|
|
"Xplorer",
|
|
"POSTFIELDS",
|
|
"RETURNTRANSFER",
|
|
"hideit",
|
|
"esubject",
|
|
"econtent",
|
|
"subvalue",
|
|
"subsubkey",
|
|
"subsubvalue",
|
|
"autoescape",
|
|
"endautoescape",
|
|
"youparamname",
|
|
"publickey",
|
|
"dsearch",
|
|
"domainsearch",
|
|
"domainchecker",
|
|
"mobi",
|
|
"Servicecustom",
|
|
"uglifycss",
|
|
"upath",
|
|
"pathe",
|
|
"tabler",
|
|
"apexcharts",
|
|
"topnav",
|
|
"yourparamvalue",
|
|
"userid",
|
|
"subkey",
|
|
"blockquote",
|
|
"floatright",
|
|
"copyfields",
|
|
"mydomain",
|
|
"WHOIS",
|
|
"supportticket",
|
|
"massmailer",
|
|
"kbcategories",
|
|
"kbarticle",
|
|
"noreferrer",
|
|
"ptickets",
|
|
"pticket",
|
|
"sptm",
|
|
"thankyoupage",
|
|
"taxupdate",
|
|
"Dompdf",
|
|
"ctable",
|
|
"DATEDIFF",
|
|
"cbrepo",
|
|
"OODB",
|
|
"Inno",
|
|
"onsubmit",
|
|
"rgba",
|
|
"autofocus",
|
|
"uniqid",
|
|
"Bluepay",
|
|
"gettext",
|
|
"Centova",
|
|
"multisite",
|
|
"mcrypt",
|
|
"stopforumspam",
|
|
"Internetbs",
|
|
"binded",
|
|
"tada",
|
|
"TLDR",
|
|
"htdocs",
|
|
"LSWS",
|
|
"Lighttpd",
|
|
"mbstring",
|
|
"srcset",
|
|
"gugl",
|
|
"cclogin",
|
|
"CURDATE",
|
|
"vatnum",
|
|
"caid",
|
|
"ECB's",
|
|
"onkeyup",
|
|
"DYSY",
|
|
"uninstallation",
|
|
"TRANSLIT",
|
|
"taxtitle",
|
|
"upgradables",
|
|
"sdbname",
|
|
"srepo",
|
|
"cgroups",
|
|
"Prio",
|
|
"longblob",
|
|
"loginform",
|
|
"closethick",
|
|
"allowtransparency",
|
|
"tabindex",
|
|
"Betransferred",
|
|
"Firstname",
|
|
"Lastname",
|
|
"pids",
|
|
"BOXADMR",
|
|
"lsql",
|
|
"rarr",
|
|
"randnum",
|
|
"classname",
|
|
"drepo",
|
|
"blud",
|
|
"onbeforeunload",
|
|
"colorpick",
|
|
"clickout",
|
|
"typeof",
|
|
"signin",
|
|
"helpdesks",
|
|
"hostnames",
|
|
"Askimet",
|
|
"urlset",
|
|
"lastmod",
|
|
"changefreq",
|
|
"remoteip",
|
|
"timespan",
|
|
"yeste",
|
|
"Flot",
|
|
"messageid",
|
|
"eunion",
|
|
"Roboto",
|
|
"onchange",
|
|
"enctype",
|
|
"endtrans",
|
|
"srch",
|
|
"behaviour",
|
|
"xaxis",
|
|
"yaxis",
|
|
"susp",
|
|
"cancellation",
|
|
"inps",
|
|
"ptitle",
|
|
"PLUGINNAME",
|
|
"nody",
|
|
"Perds",
|
|
"prms",
|
|
"apikey",
|
|
"tailwindcss",
|
|
"flexbox",
|
|
"juoda",
|
|
"BOXSID",
|
|
"texgt",
|
|
"Domaincan",
|
|
"datagrid",
|
|
"buildmetadata",
|
|
"endfilter",
|
|
"darkmode",
|
|
"Virtualmin",
|
|
"strikethrough",
|
|
"Nextra",
|
|
"Lcharette",
|
|
"TFPDF",
|
|
"Entrypoints",
|
|
"internationalisation",
|
|
"PHPSESSID",
|
|
"centralalerts",
|
|
"phpmailer",
|
|
"guzzlehttp",
|
|
"Keine",
|
|
"webserver",
|
|
"localisation",
|
|
"subarrays",
|
|
"configmod",
|
|
"stacktracing",
|
|
"Unsuspends",
|
|
"unsuspending",
|
|
"litespeed",
|
|
"nonbinary",
|
|
"phonestate",
|
|
"linecap",
|
|
"linejoin",
|
|
"afterend",
|
|
"resturl",
|
|
"passwordreset",
|
|
"coloris",
|
|
"selectgroup",
|
|
"openbasedir",
|
|
"Coudn\\'t",
|
|
"updatepassword",
|
|
"datatable",
|
|
"FileCacheExcption",
|
|
"Autoloader",
|
|
"autoloader",
|
|
"qwertyuiopasdfghjklzxccvbnm",
|
|
"QWERTYUIOPASDFGHJKLZXCVBNM",
|
|
"subkeys",
|
|
"httponly",
|
|
"samesite",
|
|
"IPCOUNTRY",
|
|
"Serviceapikey",
|
|
"haspopup",
|
|
"oldconfig",
|
|
"ordermodel",
|
|
"homoglyph",
|
|
"TINYINT",
|
|
"homoglyph",
|
|
"oldconfig",
|
|
"ordermodel",
|
|
"TINYINT",
|
|
"hostings",
|
|
"rulesets",
|
|
"describedby",
|
|
"offcanvas",
|
|
"newtx",
|
|
"pwreset",
|
|
"pagebottom",
|
|
"forceable",
|
|
"phpstan",
|
|
"progressbar",
|
|
"valuenow",
|
|
"valuemin",
|
|
"valuemax",
|
|
"concat",
|
|
"debugbar",
|
|
"reqs",
|
|
"srcdoc",
|
|
"iframes",
|
|
"borderless",
|
|
"serviceproxmox",
|
|
"servicegoogleworkspace",
|
|
"servicemulticraft",
|
|
"CURLOPT",
|
|
"HTTPAUTH",
|
|
"CURLAUTH",
|
|
"USERPWD",
|
|
"COOKIEJAR",
|
|
"COOKIEFILE",
|
|
"nonaggregated",
|
|
"bindto",
|
|
"ipify",
|
|
"hestiacp",
|
|
"intval",
|
|
"thisfiledoesnotexist",
|
|
"exchangerate",
|
|
"currencydata",
|
|
"oninput",
|
|
"evenodd",
|
|
"Retryable",
|
|
"FAILONERROR",
|
|
"releasenotes",
|
|
"Prins",
|
|
"iplookup",
|
|
"DDEV",
|
|
"CSRF",
|
|
"undismissed",
|
|
"filp",
|
|
"phpunit",
|
|
"hcaptcha",
|
|
"hCaptcha",
|
|
"LEMP",
|
|
"Servicemembership",
|
|
"Spriter",
|
|
"spriter",
|
|
"dataurl",
|
|
"tomselect",
|
|
"zindex",
|
|
"CHARSETS"
|
|
],
|
|
"ignorePaths": [
|
|
"tests-legacy/**",
|
|
"node_modules/**",
|
|
"src/themes/*/assets/**",
|
|
"src/install/assets/**",
|
|
"src/install/sql/**",
|
|
"src/modules/*/assets/**",
|
|
"composer.json",
|
|
"composer.lock",
|
|
"build.xml",
|
|
"data/**",
|
|
"phpunit.xml.dist",
|
|
"phpunit-live.xml",
|
|
"bin/**",
|
|
"*.mmdb",
|
|
"cspell.json",
|
|
"package.json",
|
|
"src/library/Registrar/**",
|
|
"src/library/Server/Manager/**",
|
|
"src/library/Box/**",
|
|
"src/library/Payment/Adapter/**",
|
|
"src/locale/**",
|
|
"src/modules/System/Service.php",
|
|
"src/library/Server/Package.php",
|
|
"src/modules/Currency/Service.php",
|
|
"src/modules/Seo/Service.php",
|
|
"src/modules/Orderbutton/html_client/mod_orderbutton_js.html.twig",
|
|
"src/modules/Massmailer/Api/Admin.php",
|
|
"src/modules/System/html_admin/mod_system_settings.html.twig",
|
|
"src/vendor",
|
|
"src/themes/*/build",
|
|
"src/themes/*/node_modules",
|
|
"phpstan.neon",
|
|
"*.config.js",
|
|
"src/modules/Wysiwyg/src/ckeditor.js",
|
|
".github/**",
|
|
".gitignore",
|
|
"src/.htaccess",
|
|
"phpstan-baseline.neon",
|
|
"Dockerfile",
|
|
".ddev/**"
|
|
]
|
|
}
|