Skip to content
This repository was archived by the owner on Nov 13, 2023. It is now read-only.
Merged

A #2

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
537 commits
Select commit Hold shift + click to select a range
c4fb42e
Fix Selenium\Database\OperationsTest failing test
MauricioFauth Aug 30, 2023
b526a29
Fix TableTest failing test
MauricioFauth Aug 30, 2023
bb2869b
Merge branch 'QA_5_2'
MauricioFauth Aug 30, 2023
c2955cc
Rename the directory libraries/classes/ to src/
MauricioFauth Aug 29, 2023
1ddcad2
Replace libraries/classes references with src
MauricioFauth Aug 29, 2023
d1a29d4
Merge pull request #18667 from MauricioFauth/skeleton
MauricioFauth Aug 31, 2023
3f694de
Use PHP 8.4 instead of nightly in the tests workflow
MauricioFauth Aug 31, 2023
b55e2ab
Add windows-latest to tests workflow
MauricioFauth Aug 31, 2023
91e4b01
Fix ServerRequestFactoryTest failing test
MauricioFauth Aug 31, 2023
6012fd2
Fix mutation-tests workflow
MauricioFauth Aug 31, 2023
38ebd94
Revert "Add windows-latest to tests workflow"
MauricioFauth Aug 31, 2023
b50fa31
Force a full page reload for top menu links
MauricioFauth Feb 21, 2023
a07802e
Merge pull request #18675 from MauricioFauth/fix-17404
MauricioFauth Aug 31, 2023
8bb3aeb
Merge branch 'QA_5_2'
MauricioFauth Aug 31, 2023
6b3e076
Fix UtilTest::testLocalisedDate() with missing locale
MauricioFauth Aug 31, 2023
ed0fa0d
Fix infection.json5.dist source directory
MauricioFauth Aug 31, 2023
fb2f2cd
Fixed the exit exception for the /url path (#18673)
SachinBahukhandi Aug 31, 2023
7cace99
Add Medium attribute to some test classes
MauricioFauth Aug 31, 2023
8cf36be
Optimize autocomplete
kamil-tekiela Aug 31, 2023
a483c79
Merge pull request #18678 from kamil-tekiela/Optimize-autocomplete
MauricioFauth Sep 1, 2023
c4bd8d9
Optimize ChangeController
kamil-tekiela May 22, 2023
fa45763
Improve param types in ColumnsDefinition
kamil-tekiela Sep 1, 2023
81e9c90
Refactor getSqlTemplateAndRequiredFields()
kamil-tekiela Sep 1, 2023
8c260bc
Refactor expandUserString()
kamil-tekiela Sep 1, 2023
ed59318
Refactor getColumn and getColumns
kamil-tekiela May 22, 2023
f7a82ce
Deprecate Config::getInstance() method
MauricioFauth Sep 2, 2023
ae7f509
Remove ExitException from AbstractController::checkParameters()
MauricioFauth Sep 2, 2023
53d3aae
Add a documentation note to the nopassword config
MauricioFauth Sep 2, 2023
98ab471
Merge pull request #18685 from MauricioFauth/nopassword-config-doc-note
MauricioFauth Sep 2, 2023
1b2da96
Merge branch 'QA_5_2'
MauricioFauth Sep 2, 2023
e9d69aa
Merge pull request #18684 from MauricioFauth/ctrl-checkparam-exit-rem…
MauricioFauth Sep 2, 2023
07f4c97
Merge pull request #18683 from kamil-tekiela/getColumns
MauricioFauth Sep 2, 2023
da32818
Remove some calls to ResponseRenderer::callExit()
MauricioFauth Sep 2, 2023
5f7d70b
Move the Middleware namespace into the Http namespace
MauricioFauth Sep 2, 2023
b5c3b7d
Update po files
phpmyadmin-bot Sep 3, 2023
b178f98
Remove PHP 8.3 from experimental
MauricioFauth Sep 3, 2023
99ccb79
Translated using Weblate (Portuguese (Brazil))
MauricioFauth Sep 3, 2023
a1267f9
Fix RelationController view
kamil-tekiela Sep 3, 2023
94c2dde
Translated using Weblate (Turkish)
BouRock Sep 4, 2023
e3cfca6
Translated using Weblate (Portuguese (Brazil))
MauricioFauth Sep 3, 2023
bd0ee14
Translated using Weblate (Turkish)
BouRock Sep 4, 2023
53b86a5
Fix ChangeController
kamil-tekiela Sep 4, 2023
08bea00
Remove $GLOBALS['num_fields'] completely
kamil-tekiela Sep 4, 2023
570b167
Move getNumberOfFieldsFromRequest() to controller
kamil-tekiela Sep 4, 2023
3435db3
Add security link to composer.json file
MauricioFauth Sep 4, 2023
73844a9
Merge pull request #18688 from kamil-tekiela/Fix-ChangeController
MauricioFauth Sep 4, 2023
e8c3985
Inline the RelationController::updateForForeignKeys() method
MauricioFauth Sep 4, 2023
8559cce
Merge #18690 - Add security link to composer.json file
williamdes Sep 4, 2023
48ab9e1
Merge pull request #18686 from kamil-tekiela/fix-RelationController
MauricioFauth Sep 4, 2023
6c0f4fa
Merge pull request #18689 from kamil-tekiela/getNumberOfFieldsFromReq…
MauricioFauth Sep 4, 2023
55c9f65
Fix Selenium\Database\EventsTest failing test
MauricioFauth Sep 4, 2023
2c802dd
Fix Selenium\Database\ProceduresTest failing test
MauricioFauth Sep 4, 2023
5c22b79
Update actions/checkout action to v4
MauricioFauth Sep 4, 2023
a88176f
Merge branch 'QA_5_2'
MauricioFauth Sep 4, 2023
378a963
Add title for db and table operation pages
MauricioFauth Sep 4, 2023
a305224
Fix Selenium\TriggersTest failing test
MauricioFauth Sep 5, 2023
c0dd5c0
Fix Selenium\Database\OperationsTest failing test
MauricioFauth Sep 5, 2023
7f6002c
Remove null return for Routing::callSetupController() method
MauricioFauth Sep 5, 2023
08973fb
Use getColumn in getValuesForColumn
kamil-tekiela Sep 5, 2023
5dabae2
Merge pull request #18691 from kamil-tekiela/getValuesForColumn
MauricioFauth Sep 5, 2023
69f56b5
Translated using Weblate (Polish)
Sep 5, 2023
6011b82
Translated using Weblate (Polish)
Adrien-234 Sep 5, 2023
0b097b3
Translated using Weblate (Polish)
Sep 5, 2023
bd8b15e
Translated using Weblate (Polish)
Sep 5, 2023
94eee04
Remove htmlentities()
kamil-tekiela Sep 5, 2023
09fe98b
Add simpler implementation of parseEnumSetValues
kamil-tekiela Sep 5, 2023
97ebf29
Allow GIS tests to test against different TCPDF versions
MauricioFauth Sep 6, 2023
56b9b8d
Fix max execution time exceeded error in tests
MauricioFauth Sep 7, 2023
1179692
Merge pull request #18696 from MauricioFauth/phpunit-max-execution-ti…
MauricioFauth Sep 7, 2023
5200725
fix: removed inline onclick javascript events (#18687)
Dipesh-Gangwani Sep 8, 2023
a6bca69
Replace escapeString in Transformations
kamil-tekiela Sep 8, 2023
8d1244a
Replace escapeString in Common
kamil-tekiela Sep 8, 2023
1876e5b
Replace escapeString in NodeTable
kamil-tekiela Sep 8, 2023
bb279f6
Replace escapeString in Search
kamil-tekiela Sep 8, 2023
34077dd
Limit label width in create-view table
MoonE Sep 3, 2023
1df32b3
Backport two test methods for phpunit 8.5
MoonE Sep 9, 2023
bf17145
Fix filtering by initials for user accounts starting with %, \, or _
MoonE Sep 2, 2023
d43f16f
Fix user pagination for 'Any' user
MoonE Sep 2, 2023
f92d279
Merge pull request #18697 from kamil-tekiela/escapeString-in-Transfor…
MauricioFauth Sep 9, 2023
6432fda
Update po files
phpmyadmin-bot Sep 10, 2023
10985cf
Translated using Weblate (Turkish)
BouRock Sep 10, 2023
f33d75b
Bump phpmyadmin/shapefile to 4.0
MauricioFauth Sep 11, 2023
043e1e4
Bump phpmyadmin/twig-i18n-extension version to 5.0
MauricioFauth Sep 12, 2023
98b712b
Translated using Weblate (Slovenian)
Sep 11, 2023
ec0c6d8
Merge pull request #18698 from kamil-tekiela/escapeString-in-Common
MauricioFauth Sep 12, 2023
a975456
Remove unnecessary array count in ImportShp::doImport()
MauricioFauth Sep 13, 2023
67dcd7a
Include code coverage for transformation plugins
MauricioFauth Sep 13, 2023
898ef45
Remove unused variable
kamil-tekiela Sep 14, 2023
84073fd
Refactor addSuffixes()
kamil-tekiela Sep 14, 2023
9318f00
Fix GIS editor form layout
MoonE Sep 10, 2023
5128da0
Remember the current column type
MoonE Sep 10, 2023
4bd6a2d
Fix opening GIS editor in zoom search
MoonE Sep 14, 2023
3504afe
Allow switching geometry type when editing in search views
MoonE Sep 14, 2023
94ed296
Merge pull request #18699 from kamil-tekiela/escapeString-in-NodeTable
MauricioFauth Sep 14, 2023
12a54b4
Merge pull request #18700 from kamil-tekiela/escapeString-in-Search
MauricioFauth Sep 14, 2023
67ac099
Update JavaScript dependencies
MauricioFauth Sep 14, 2023
a6d6862
Merge branch 'QA_5_2'
MauricioFauth Sep 14, 2023
6e695df
Update PHPStan and Psalm baselines
MauricioFauth Sep 15, 2023
303467e
Merge branch 'QA_5_2'
MauricioFauth Sep 15, 2023
dba0086
Fix AJAX real-row-count
kamil-tekiela Sep 15, 2023
6f1a3f4
Merge pull request #18715 from kamil-tekiela/fix-real-count
MauricioFauth Sep 16, 2023
76278cd
Fix bookmark delete
kamil-tekiela Sep 16, 2023
1c6c661
Fix bookmark delete
kamil-tekiela Sep 16, 2023
8877ac4
Fix build() invocations
kamil-tekiela Sep 16, 2023
e136cfb
Update po files
phpmyadmin-bot Sep 17, 2023
cd0d116
Merge pull request #18720 from kamil-tekiela/build-invocations
MauricioFauth Sep 17, 2023
fc3b6a3
Fix TokensList usages
kamil-tekiela Sep 17, 2023
89835fb
Merge pull request #18721 from kamil-tekiela/TokensList
MauricioFauth Sep 18, 2023
748d489
Merge pull request #18719 from kamil-tekiela/deletebookmark52
MauricioFauth Sep 18, 2023
880afc9
Merge pull request #18718 from kamil-tekiela/deletebookmark60
MauricioFauth Sep 19, 2023
62aac3e
Merge branch 'QA_5_2'
MauricioFauth Sep 19, 2023
1eef909
Translated using Weblate (Ukrainian)
anzhumal Sep 19, 2023
181ff01
Translated using Weblate (Ukrainian)
ImmortalityDark Sep 19, 2023
b35f380
Translated using Weblate (Ukrainian)
anzhumal Sep 19, 2023
13097c5
Translated using Weblate (Ukrainian)
anzhumal Sep 19, 2023
b06c773
Merge pull request #18713 from MoonE/fix-column-type-lost
MauricioFauth Sep 20, 2023
80865af
Merge pull request #18712 from MoonE/gis-button-classes
MauricioFauth Sep 20, 2023
48acca0
Merge branch 'QA_5_2'
MauricioFauth Sep 20, 2023
5e8ec69
Improve git hash info error handling in home.js
MauricioFauth Sep 20, 2023
29123af
Remove duplicate _gis.scss files
MoonE Sep 20, 2023
d1f09b0
Resize editor overlay and its textarea on page resize
MoonE Sep 10, 2023
4fba504
Merge pull request #18725 from MoonE/gis-overlay-dynamic-size
MauricioFauth Sep 20, 2023
a50645e
Merge branch 'QA_5_2'
MauricioFauth Sep 20, 2023
2a96c4b
Merge pull request #18722 from MauricioFauth/git-hash-info-error
MauricioFauth Sep 21, 2023
2b2d187
Split up Bookmark::get()
kamil-tekiela Sep 16, 2023
626408b
Refactor createBookmark()
kamil-tekiela Sep 16, 2023
a4d9e17
Create Bookmarks namespace
kamil-tekiela Sep 16, 2023
ee64897
Create BookmarkRepository class
kamil-tekiela Sep 16, 2023
1ee285c
Refactor static into instance
kamil-tekiela Sep 16, 2023
28d654e
Update po files
phpmyadmin-bot Sep 24, 2023
eb28bb9
Remove obsolete code for stand-alone gis editor
MoonE Sep 20, 2023
e60c8a5
Move gis editor form creation entirely to JS
MoonE Sep 23, 2023
f002f8d
Add nesting to the gis editor form inputs
MoonE Sep 23, 2023
33d7189
Use button instead anchor in gis editor
MoonE Sep 24, 2023
790234d
Count data_length in JS by number of inputs
MoonE Sep 23, 2023
01334ff
Merge pull request #18729 from kamil-tekiela/Refactor-Bookmark
MauricioFauth Sep 25, 2023
55151c2
Merge pull request #18726 from MoonE/remove-obsolete-gis-editor-code
MauricioFauth Sep 26, 2023
bd0972a
Merge pull request #18711 from kamil-tekiela/buildDescription
MauricioFauth Sep 26, 2023
33897db
Refactor generateWkt of gis classes
MoonE Jul 22, 2023
df5f363
Move visualization choice and download button below other inputs
MoonE Sep 10, 2023
dc01d79
Replace SqlParser\Token::TYPE_ with SqlParser\TokenType
MauricioFauth Sep 26, 2023
ed3c95b
Update Psalm/PHPStan baselines
MauricioFauth Sep 27, 2023
b338c18
Remove SqlParser\Utils\Query::getAll() stub
MauricioFauth Sep 28, 2023
1ae995b
Refactor the Core::getenv() method
MauricioFauth Sep 28, 2023
962ff02
Merge pull request #18738 from MauricioFauth/core-getenv-refactor
MauricioFauth Sep 28, 2023
5a79ac7
Replace is_resource with different than false
MauricioFauth Sep 28, 2023
1cde51c
Merge branch 'QA_5_2'
MauricioFauth Sep 28, 2023
3b750c7
Merge pull request #18702 from MoonE/qa-user-accounts
MauricioFauth Sep 29, 2023
99b1313
Ignore some PHPStan errors
MauricioFauth Sep 30, 2023
0a60e74
Update PHPStan baseline
MauricioFauth Sep 30, 2023
116d562
Merge branch 'QA_5_2'
MauricioFauth Sep 30, 2023
8359676
Move ./libraries/cache directory to ./cache
MauricioFauth Sep 30, 2023
d96eed2
Refactor Privileges pagination
MoonE Sep 2, 2023
5878be5
Merge pull request #18740 from MauricioFauth/cache-dir
MauricioFauth Sep 30, 2023
dd9df66
Merge pull request #18701 from MoonE/user-accounts
MauricioFauth Sep 30, 2023
b4c25a6
Merge pull request #18709 from MoonE/refactor-generate-wkt
MauricioFauth Sep 30, 2023
c736994
Update po files
phpmyadmin-bot Oct 1, 2023
e06fad7
Remove sanitize method
kamil-tekiela Oct 1, 2023
8ef3223
Refactor getLevel()
kamil-tekiela Oct 1, 2023
e7cb813
Refactor number and add errorNumber
kamil-tekiela Oct 1, 2023
33ad09b
Translated using Weblate (Turkish)
BouRock Oct 1, 2023
5aef02f
Translated using Weblate (Slovenian)
Oct 1, 2023
7c43bdc
Merge pull request #18741 from kamil-tekiela/Refactor-Message-sanitize
MauricioFauth Oct 3, 2023
1e2a287
Merge pull request #18703 from MoonE/view-label-width
MauricioFauth Oct 3, 2023
5c7e840
Merge pull request #18693 from kamil-tekiela/parseEnumSetValues_52
MauricioFauth Oct 3, 2023
d59645d
Merge pull request #18670 from MoonE/fix-simulate-query2
MauricioFauth Oct 3, 2023
dd5f087
Merge branch 'QA_5_2'
MauricioFauth Oct 3, 2023
4f64715
Replace escapeString with quoteString
MauricioFauth Oct 4, 2023
60d819b
Merge pull request #18745 from MauricioFauth/escape-string-dbi
MauricioFauth Oct 4, 2023
3c21a0e
Relax ConfigTest::testVendorConfigFile() test
MauricioFauth Oct 4, 2023
ed3d632
Add composer.lock to version control
MauricioFauth Oct 4, 2023
202f103
Refactor gis visualization ts code
MoonE Sep 10, 2023
6141990
Merge pull request #18704 from MoonE/gis-insert
MauricioFauth Oct 5, 2023
b2816db
Fix coding standard issues for Twig files
MauricioFauth Oct 6, 2023
0c1831c
Update PHPStan baseline
MauricioFauth Oct 7, 2023
79b5ef1
Update po files
phpmyadmin-bot Oct 8, 2023
2d1c77b
Fix undefined variable in login/header template
MauricioFauth Oct 9, 2023
d653f93
Merge pull request #18750 from MauricioFauth/login-header-undef-var
MauricioFauth Oct 9, 2023
504b8b5
Remove $diagram property from ExportRelationSchema
MauricioFauth Oct 10, 2023
ef485d5
Inject Relation dep in ExportRelationSchema classes
MauricioFauth Oct 11, 2023
129d35c
Fix possible invalid argument in PdfRelationSchema
MauricioFauth Oct 11, 2023
cc76daf
Merge pull request #18757 from MauricioFauth/schema-export-refactor
MauricioFauth Oct 12, 2023
076f4db
Translated using Weblate (Russian)
adem4ik Oct 12, 2023
310f0c2
Translated using Weblate (Russian)
adem4ik Oct 13, 2023
80d2381
Translated using Weblate (Macedonian)
krisfremen Oct 13, 2023
fe6c924
Translated using Weblate (Russian)
adem4ik Oct 13, 2023
9189e0f
Update po files
phpmyadmin-bot Oct 15, 2023
f0e7934
Translated using Weblate (Russian)
adem4ik Oct 15, 2023
6a2c42a
Translated using Weblate (Russian)
adem4ik Oct 15, 2023
f0cfa3f
Replaced superglobals with ServerRequest in FindReplaceController and…
dardvas Oct 2, 2023
a1b5727
Fix failing tests
MauricioFauth Oct 16, 2023
b2d9b93
Merge pull request #18743 from dardvas/refactor-17769
MauricioFauth Oct 16, 2023
6b61053
Upgrade JavaScript dependencies
MauricioFauth Oct 16, 2023
d775d69
Merge branch 'QA_5_2'
MauricioFauth Oct 16, 2023
90d30c0
Destroy Template's $twig property for tests
MauricioFauth Oct 16, 2023
033c26e
Remove Jenkins build.xml
MauricioFauth Oct 3, 2023
07138bd
Merge pull request #18744 from MauricioFauth/build.xml-removal
MauricioFauth Oct 17, 2023
1ee499d
Merge branch 'QA_5_2'
MauricioFauth Oct 17, 2023
52ffbc4
Merge pull request #18747 from MauricioFauth/composer-lock-file
MauricioFauth Oct 17, 2023
c3a489e
Update Composer dependencies
MauricioFauth Oct 17, 2023
dcaf778
Update PHPStan baseline
MauricioFauth Oct 17, 2023
d43dbfc
Merge branch 'QA_5_2'
MauricioFauth Oct 17, 2023
b2b53c6
Move ./templates directory to ./resources/templates
MauricioFauth Oct 17, 2023
25beca2
Fix some type errors when exporting from db designer
MauricioFauth Oct 17, 2023
984ca84
Merge pull request #18766 from MauricioFauth/db-designer-export-errors
MauricioFauth Oct 17, 2023
c803c13
Add some basic unit tests to schema plugins
MauricioFauth Oct 18, 2023
6620108
Merge pull request #18765 from MauricioFauth/resources-templates
MauricioFauth Oct 18, 2023
a4fad24
Move ./sql directory to ./resources/sql
MauricioFauth Oct 18, 2023
e10961d
Merge pull request #18767 from MauricioFauth/schema-tests
MauricioFauth Oct 18, 2023
1c54fb8
Merge pull request #18768 from MauricioFauth/resources-sql-dir
MauricioFauth Oct 18, 2023
4a7f07b
Translated using Weblate (Macedonian)
krisfremen Oct 17, 2023
cdab0d5
Translated using Weblate (Macedonian)
krisfremen Oct 18, 2023
df6a7cc
Translated using Weblate (Macedonian)
dacoambientjunk Oct 17, 2023
073a940
Fix param type in getSpecialLinkUrl()
kamil-tekiela Oct 20, 2023
dd79dd4
Add test for Zoom Search's change table info action
MauricioFauth Oct 20, 2023
e3f8168
Merge pull request #18772 from MauricioFauth/ChangeTableInfoActionTest
MauricioFauth Oct 21, 2023
ec5c8ad
Translated using Weblate (Romanian)
vladutilie Oct 20, 2023
5a9cf94
Translated using Weblate (Romanian)
vladutilie Oct 20, 2023
0da0721
Merge pull request #18770 from kamil-tekiela/Fix-getSpecialLinkUrl
MauricioFauth Oct 21, 2023
62738f5
Fix param type in getSpecialLinkUrl()
kamil-tekiela Oct 20, 2023
ba61dee
Simplify getColumnParams()
kamil-tekiela Oct 20, 2023
d3b1714
Remove $properties
kamil-tekiela Oct 20, 2023
b230b1a
Remove 1st param in getUniqueCondition()
kamil-tekiela Oct 21, 2023
2e81a80
Create UniqueCondition class
kamil-tekiela Oct 21, 2023
a3e2117
Update po files
phpmyadmin-bot Oct 22, 2023
461655f
Apply suggestions from code review
kamil-tekiela Oct 23, 2023
4342b42
Merge pull request #18774 from kamil-tekiela/Display-Results-class
MauricioFauth Oct 23, 2023
a02223f
Fix unneeded consts in UtilTest
MauricioFauth Oct 23, 2023
28bae97
Translated using Weblate (Slovak)
linetpavol Oct 23, 2023
93143c4
Translated using Weblate (Slovak)
linetpavol Oct 23, 2023
87c494f
Rename ./libraries directory to ./app
MauricioFauth Oct 24, 2023
941c795
Move ./cache directory to ./app/cache
MauricioFauth Oct 24, 2023
7036da2
Merge pull request #18778 from MauricioFauth/app-dir
MauricioFauth Oct 24, 2023
6a9034b
Update PHP dependencies
MauricioFauth Oct 25, 2023
36a22cb
Merge pull request #18779 from MauricioFauth/composer-update
MauricioFauth Oct 25, 2023
d888c29
Move ./js directory to ./resources/js
MauricioFauth Oct 25, 2023
98b7f38
Merge pull request #18780 from MauricioFauth/js-dir
MauricioFauth Oct 25, 2023
5d6d2f5
Add shellcheck to CI
MauricioFauth Oct 25, 2023
cd883c6
Fix issues reported by shellcheck
MauricioFauth Oct 25, 2023
8d982e3
Merge pull request #18781 from MauricioFauth/shellcheck-action
MauricioFauth Oct 27, 2023
5379d44
Remove motranslator functions file from composer.json
MauricioFauth Oct 27, 2023
cbfb41c
Update po files
phpmyadmin-bot Oct 29, 2023
270a40f
Translated using Weblate (Macedonian)
krisfremen Oct 31, 2023
437d751
Translated using Weblate (Macedonian)
krisfremen Oct 31, 2023
ef92f1f
Improve collations support for MariaDB 10.10+ (#18760)
Oct 31, 2023
4bdf519
Improve collations support for MariaDB 10.10+ (#18760)
Oct 31, 2023
115160e
Merge branch 'QA_5_2'
MauricioFauth Oct 31, 2023
00ac9e5
Update JavaScript dependencies
MauricioFauth Oct 31, 2023
5dce8f1
Merge branch 'QA_5_2'
MauricioFauth Oct 31, 2023
d6c16f4
Update Composer dependencies
MauricioFauth Oct 31, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 0 additions & 3 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ indent_size = 4
[{*.{sql,scss,css,twig,yml},package.json}]
indent_size = 2

[*.twig]
insert_final_newline = false

[*.svg]
insert_final_newline = false

Expand Down
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
js/vendor/
js/dist/
public/js/
tmp/
vendor/
webpack.config.cjs
1 change: 0 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
.eslintignore export-ignore
.weblate export-ignore
codecov.yml export-ignore
build.xml export-ignore
infection.json5.dist export-ignore
phpcs.xml.dist export-ignore
phpstan.neon.dist export-ignore
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/daily-snapshots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- { version: '6.0', branch: 'master', php-version: '8.1', node-version: '14', python-version: '3.7' }
steps:
- name: Check out code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ matrix.branch }}

Expand All @@ -52,8 +52,6 @@ jobs:

- name: Install Composer dependencies
uses: ramsey/composer-install@v2
with:
dependency-versions: highest

- name: Install Yarn modules
run: yarn install --non-interactive
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/frontend-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
pull_request:
paths:
- 'js/**'
- 'resources/js/**'
- '**.s?css'
- 'test/javascript/**'
- '.browserslistrc'
Expand All @@ -23,7 +23,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Node
uses: actions/setup-node@v3
Expand All @@ -42,7 +42,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Node
uses: actions/setup-node@v3
Expand All @@ -61,7 +61,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Node
uses: actions/setup-node@v3
Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/lint-and-analyse-php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
php-version: ["8.1"]
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up PHP ${{ matrix.php-version }}
uses: shivammathur/setup-php@v2
Expand All @@ -34,7 +34,6 @@ jobs:
if: always()
uses: ramsey/composer-install@v2
with:
dependency-versions: highest
# Ignore zip for php-webdriver/webdriver
composer-options: "--ignore-platform-req=ext-zip"

Expand Down Expand Up @@ -68,7 +67,7 @@ jobs:
php-version: ["8.1"]
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up PHP ${{ matrix.php-version }}
uses: shivammathur/setup-php@v2
Expand All @@ -78,8 +77,6 @@ jobs:

- name: Install Composer dependencies
uses: ramsey/composer-install@v2
with:
dependency-versions: highest

- name: Analyse files with PHPStan
run: composer phpstan -- --memory-limit 2G
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Lint phpdoc blocks
uses: sudo-bot/action-doctum@v5
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/mutation-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,14 @@ on:
branches:
- master
paths:
- '*/classes/**.php'
- 'src/**.php'
- 'test/classes/**.php'
pull_request:
branches:
- master
paths:
- '*/classes/**.php'
- 'src/**.php'
- 'test/classes/**.php'
workflow_dispatch:
schedule:
- cron: '0 0 * * *'
Expand All @@ -32,13 +34,13 @@ jobs:
- ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 2

- name: Checkout base ref code
if: github.event_name == 'pull_request'
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ github.base_ref }}

Expand All @@ -57,8 +59,6 @@ jobs:

- name: Install Composer dependencies
uses: ramsey/composer-install@v2
with:
dependency-versions: highest

- name: Run Infection for changed files only
if: github.event_name == 'push' || github.event_name == 'pull_request'
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/other-tools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v4
Expand All @@ -36,7 +36,7 @@ jobs:
php-version: ["8.1"]
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install gettext
run: sudo apt-get install -y gettext
Expand All @@ -50,8 +50,6 @@ jobs:

- name: Install Composer dependencies
uses: ramsey/composer-install@v2
with:
dependency-versions: highest

- name: Set up Node
uses: actions/setup-node@v3
Expand Down
27 changes: 27 additions & 0 deletions .github/workflows/shellcheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: ShellCheck

on:
push:
paths:
- 'scripts/**'
pull_request:
paths:
- 'scripts/**'

permissions:
contents: read

jobs:
shellcheck:
name: ShellCheck
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Run ShellCheck
uses: reviewdog/action-shellcheck@v1
with:
path: scripts
check_all_files_with_shebangs: true
fail_on_error: true
4 changes: 1 addition & 3 deletions .github/workflows/test-selenium.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
- "Xss"
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Refresh apt cache
run: sudo apt-get update
Expand All @@ -102,8 +102,6 @@ jobs:

- name: Install Composer dependencies
uses: ramsey/composer-install@v2
with:
dependency-versions: highest

- name: Set up Node
uses: actions/setup-node@v3
Expand Down
28 changes: 13 additions & 15 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- { php-version: '81', experimental: false, arch: 's390x', exclude-phpunit-groups: 'extension-iconv,32bit-incompatible' }
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Write script
# tcpdf allowed memory exhausted needs the memory_limit workaround
Expand All @@ -45,8 +45,8 @@ jobs:
php\$V-dom php\$V-json php\$V-bz2 php\$V-curl php\$V-gd php\$V-zip \
musl-locales musl-locales-lang \
gettext composer git && \
composer config version "$(php -r "define('VERSION_SUFFIX', ''); require_once('libraries/classes/Version.php'); echo \PhpMyAdmin\Version::VERSION;")" && \
composer update && \
composer config version "$(php -r "define('VERSION_SUFFIX', ''); require_once('src/Version.php'); echo \PhpMyAdmin\Version::VERSION;")" && \
composer install && \
./scripts/generate-mo && \
php\$V -d memory_limit=512M ./vendor/bin/phpunit --no-logging --no-coverage --testsuite unit --exclude-group=%s" \
"${{ matrix.php-version }}" "${{ matrix.exclude-phpunit-groups }}" > ./do-tests.sh
Expand All @@ -61,24 +61,24 @@ jobs:
run: docker run -v $PWD:/app --workdir /app --rm ${{ matrix.arch }}/alpine:3.17 sh /app/do-tests.sh

test-php:
name: Test on PHP ${{ matrix.php-version }} and ${{ matrix.os }}
name: Test on PHP ${{ matrix.php-version }}, ${{ matrix.composer-dependency }} and ${{ matrix.os }}
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.experimental }}
continue-on-error: ${{ matrix.php-version == '8.4' }}
strategy:
matrix:
php-version: ["8.1", "8.2"]
experimental: [false]
php-version: ['8.1', '8.2', '8.3']
os: [ubuntu-latest]
composer-dependency: [locked, highest]
php-extensions: ['mbstring, iconv, mysqli, zip, gd, bz2']
include:
- php-version: 'nightly'
experimental: true
- php-version: '8.4'
os: ubuntu-latest
composer-dependency: locked
composer-options: '--ignore-platform-req=php+'
php-extensions: 'mbstring, iconv, mysqli, zip, bz2'
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
# Fetch some commits for Scrutinizer coverage upload
fetch-depth: 15
Expand All @@ -99,7 +99,7 @@ jobs:
- name: Install Composer dependencies
uses: ramsey/composer-install@v2
with:
dependency-versions: highest
dependency-versions: ${{ matrix.composer-dependency }}
composer-options: ${{ matrix.composer-options }}

- name: Run PHP tests
Expand Down Expand Up @@ -138,7 +138,7 @@ jobs:
extension: ["dbase"]
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
# Fetch some commits for Scrutinizer coverage upload
fetch-depth: 15
Expand All @@ -158,8 +158,6 @@ jobs:

- name: Install Composer dependencies
uses: ramsey/composer-install@v2
with:
dependency-versions: highest

- name: Run PHP tests
run: composer run phpunit -- --testsuite unit
Expand All @@ -168,7 +166,7 @@ jobs:
uses: codecov/codecov-action@v3
with:
flags: ${{ matrix.extension }}-extension
name: php-7.2-${{ matrix.extension }}-enabled
name: php-${{ matrix.php-version }}-${{ matrix.extension }}-enabled

- name: Send coverage to Scrutinizer
uses: sudo-bot/action-scrutinizer@latest
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/update-po.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
php-version: ["8.1"]
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install Gettext
run: |
Expand All @@ -35,8 +35,6 @@ jobs:

- name: Install Composer dependencies
uses: ramsey/composer-install@v2
with:
dependency-versions: highest

- name: Set up git config
run: |
Expand Down
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,13 @@ phpunit.xml
# Ant cache
cache.properties
# Composer
composer.lock
/vendor/
# NPM
/node_modules/
phpstan.neon
# Infection
infection.json5
/public/build/
/js/dist/
/js/
/setup/
/themes/
3 changes: 1 addition & 2 deletions .scrutinizer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@ imports:
filter:
excluded_paths:
- build/
- js/vendor/
- js/dist/
- node_modules/
- public/js/
- tmp/
- vendor/
- test/doctum-config.php
Expand Down
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@ phpMyAdmin - ChangeLog
- issue #18325 Allow hex representations for integers in the search box validation
- issue #14411 Fixed double tap to edit on mobile devices
- issue Update documentation to reflect that Node >= 12 is required to compile the JS and CSS files
- issue #18578 Fixed PDF export NULL values gives a type error
- issue #18650 Fixed double escaping on foreign key relation link title
- issue #18533 Fixed wrong count for simulated queries
- issue #18611 Fixed an error when searching a table without conditions

5.2.1 (2023-02-07)
- issue #17522 Fix case where the routes cache file is invalid
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion libraries/constants.php → app/constants.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
exit;
}

$vendorConfig = require_once ROOT_PATH . 'libraries/vendor_config.php';
$vendorConfig = require_once ROOT_PATH . 'app/vendor_config.php';
if (
! is_array($vendorConfig) || ! isset(
$vendorConfig['autoloadFile'],
Expand Down
Loading