1
0
mirror of https://github.com/phpmyadmin/phpmyadmin.git synced 2026-10-23 18:29:15 +03:00

137012 Commits

Author SHA1 Message Date
William Desportes
60f122d11e Merge #20564 - Fix detection of the bundled documentation
Pull-request: #20564
Signed-off-by: William Desportes <williamdes@wdes.fr>
2026-10-23 13:19:10 +02:00
William Desportes
c797aa8f62 docs: update credits using "locales-contributors --update" 2026-10-23 13:05:25 +02:00
Магда М.Г.
a3c0e86066 Make the documentation directory configurable in vendor_config.php
Signed-off-by: Магда М.Г. <mail@mgmagda.ru>
2026-10-23 13:03:09 +02:00
William Desportes
221ef75197 Merge branch 'QA_5_2' 2026-10-23 13:02:40 +02:00
William Desportes
9db6360685 docs: update credits using "locales-contributors --update" 2026-10-23 12:58:43 +02:00
William Desportes
d59788207f locales-contributors: add --update and pass shellcheck
The script takes options now: --revision, --minimum, --update and
--credits-file. The po files can still be given as arguments, they default to
all of them.

--update merges the generated entries into the Translators section of the
credits file instead of printing them, so the list can be refreshed without
editing by hand. The merge only ever adds: the entries the file already has are
kept as they are and in their order, and a generated entry is skipped when the
file already credits that address or that name, so a second run changes
nothing.

Sections the file does not have are inserted alphabetically, and the names the
po files use for a section the file names otherwise are mapped: Chinese
(Simplified Han script) to Chinese (China), Chinese (Traditional) to Chinese
(Taiwan), Khmer (Central) to Khmer. A name that only differs by a parenthetical
is matched on its base name. Only the Translators section is touched, the
"Documentation translators" list below it has its own source.

This is what makes the file maintainable without hand work, but it keeps the
hand-curated entries safe: the po files start in 2010, so a regeneration cannot
see the translators of the language files of the earlier versions, and Daniel
Hinostroza is one of them.

The tooling accounts are filtered out, and an account registered under a
placeholder name keeps the address alone, which is the Weblate account that
translated Croatian as "test".

Fixes the shellcheck findings so the script passes the shellcheck workflow:
the environment is read under set -u, the paths are quoted, and the usage text
is a single heredoc instead of being duplicated in the option parser.

Co-authored-by: DeepSeek <noreply@deepseek.com>
Signed-off-by: William Desportes <williamdes@wdes.fr>
2026-10-23 12:58:42 +02:00
William Desportes
7b7809fa3a Fix locales-contributors never listing a contributor
git shortlog was called without a revision, so it read the commits from
stdin instead of walking the history, and it came back empty whenever
stdin was not a terminal, that is from cron or from a hook. It needs an
explicit revision, HEAD by default.

The grep on its output also kept only the authors with four digit commit
counts, which is at most one person per language, and the entries were
printed bare, without the indentation or the escaping the credits file
expects.

The script now takes the revision, a minimum number of commits and an
optional po file, skips the tooling accounts, and writes the entries
indented and escaped, ready to be curated into the credits.

The po directory is detected instead of hardcoded, so the same script
works on the branch that moved it to resources/po.

Note that no revision can list the translators of the language files that
predate the 2010 po generation, those have to be curated by hand, from the
ChangeLog and the commit messages.

Co-authored-by: DeepSeek <noreply@deepseek.com>
Signed-off-by: William Desportes <williamdes@wdes.fr>
2026-10-23 12:54:28 +02:00
William Desportes
e2624b5712 docs: drop the Deleted User placeholder from the credits
"Deleted User <noreply@weblate.org>" is what Weblate renames a closed account
to. It sits in the Romanian section of the 5.x credits and lists nobody, so it
goes, and SKIPPED_ACCOUNTS in scripts/locales-contributors now filters the
noreply addresses so a regeneration does not bring it back.

Co-authored-by: DeepSeek <noreply@deepseek.com>
Signed-off-by: William Desportes <williamdes@wdes.fr>
2026-10-23 12:54:28 +02:00
William Desportes
3f1d573e47 docs: credit Daniel Hinostroza, MD as a Spanish translator
Daniel Hinostroza reported to us in 2023 that he was missing from the
translators list.

He translated the Spanish version from (at least) 2.3.0 through 3.1.5.
So far only 6.0 lists him (9af1d3d222), this branch was left out.

The po files cannot vouch for him, they were generated in 2010: he only
shows up in the commit messages and the ChangeLog of that era, in
ca19a3319d for 2.3.0, ef06c542d4 and 20cd12381a for the 2007 updates, and
through the Spanish updates listed by the 3.1.5 and 3.2.0 ChangeLogs.

Reported-by: Daniel Hinostroza <dhinostroza@gmail.com>
Co-authored-by: DeepSeek <noreply@deepseek.com>
Signed-off-by: William Desportes <williamdes@wdes.fr>
2026-10-23 12:53:26 +02:00
Магда М.Г.
edcb9727c9 Fix detection of the bundled documentation
Since b15ac62d94 the release kits ship the generated documentation in
public/docs/html, but getDocumentationLink() still looked for
docs/html/index.html in the root directory. The check never matched, so
all documentation links pointed to docs.phpmyadmin.net even when the
documentation was included.

Signed-off-by: Магда М.Г. <mail@mgmagda.ru>
2026-10-23 12:36:53 +02:00
Zahid Rizky Fakhri
217f16533c Translated using Weblate (Indonesian)
Currently translated at 100.0% (3438 of 3438 strings)

[ci skip]

Translation: phpMyAdmin/5.2
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/5-2/id/
Signed-off-by: Zahid Rizky Fakhri <zahidrf@users.noreply.hosted.weblate.org>
2026-10-22 07:02:05 +02:00
Hotripak
d19a739eca Translated using Weblate (Ukrainian)
Currently translated at 100.0% (3438 of 3438 strings)

[ci skip]

Translation: phpMyAdmin/5.2
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/5-2/uk/
Signed-off-by: Hotripak <hotr1pak@users.noreply.hosted.weblate.org>
2026-10-20 19:00:39 +02:00
Burak Yavuz
b08760836c Translated using Weblate (Turkish)
Currently translated at 100.0% (3438 of 3438 strings)

[ci skip]

Translation: phpMyAdmin/5.2
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/5-2/tr/
Signed-off-by: Burak Yavuz <bourock@users.noreply.hosted.weblate.org>
2026-10-20 19:00:38 +02:00
dingo thirteen
466bc44ee4 Translated using Weblate (Dutch)
Currently translated at 100.0% (3438 of 3438 strings)

[ci skip]

Translation: phpMyAdmin/5.2
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/5-2/nl/
Signed-off-by: dingo thirteen <dingo13@users.noreply.hosted.weblate.org>
2026-10-20 19:00:37 +02:00
dingo thirteen
2c66fc86b6 Translated using Weblate (Dutch)
Currently translated at 100.0% (3428 of 3428 strings)

[ci skip]

Translation: phpMyAdmin/Development
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/master/nl/
Signed-off-by: dingo thirteen <dingo13@users.noreply.hosted.weblate.org>
2026-10-20 16:45:05 +02:00
Maurício Meneghini Fauth
ef2fcd20e2 Merge #20542 - New respondWithErrorMessage()
Closes #20542

Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.com.br>
2026-10-19 20:55:56 -03:00
Kamil Tekiela
ef60f1df38 New respondWithErrorMessage()
Adds a new helper method to remove some visual clutter.

Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
2026-10-19 20:54:38 -03:00
Maurício Meneghini Fauth
df0f08fd5d Merge #20543 - Fix missing db parameters errors
Closes #20543

Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.com.br>
2026-10-19 20:44:49 -03:00
Maurício Meneghini Fauth
b409476bd0 Add ChangeLog entries
[ci skip]

Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.com.br>
2026-10-19 20:32:27 -03:00
Kamil Tekiela
b42ba11315 Fix missing db parameters errors
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
2026-10-20 00:24:19 +01:00
phpMyAdmin bot
f53451897f Update po files
[ci skip]

Signed-off-by: phpMyAdmin bot <bot@phpmyadmin.net>
2026-10-19 17:00:53 +00:00
Maurício Meneghini Fauth
24ede9da2d Merge pull request #20527 from kamil-tekiela/Refactor-updatePassword
Refactor updatePassword
2026-10-19 13:55:50 -03:00
Maurício Meneghini Fauth
519d8f29d3 Merge pull request #20541 from kamil-tekiela/ajax_request
Remove ajax_request
2026-10-19 12:11:22 -03:00
Burak Yavuz
dd971976ed Translated using Weblate (Turkish)
Currently translated at 100.0% (3436 of 3436 strings)

[ci skip]

Translation: phpMyAdmin/5.2
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/5-2/tr/
Signed-off-by: Burak Yavuz <bourock@users.noreply.hosted.weblate.org>
2026-10-19 03:51:07 +02:00
Yaron Shahrabani
7b3a113703 Translated using Weblate (Hebrew)
Currently translated at 46.5% (1599 of 3436 strings)

[ci skip]

Translation: phpMyAdmin/5.2
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/5-2/he/
Signed-off-by: Yaron Shahrabani <yaron@users.noreply.hosted.weblate.org>
2026-10-19 03:51:06 +02:00
Hotripak
a11a556152 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (3428 of 3428 strings)

[ci skip]

Translation: phpMyAdmin/Development
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/master/uk/
Signed-off-by: Hotripak <hotr1pak@users.noreply.hosted.weblate.org>
2026-10-19 03:51:02 +02:00
Burak Yavuz
f078acc9c8 Translated using Weblate (Turkish)
Currently translated at 100.0% (3428 of 3428 strings)

[ci skip]

Translation: phpMyAdmin/Development
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/master/tr/
Signed-off-by: Burak Yavuz <bourock@users.noreply.hosted.weblate.org>
2026-10-19 03:51:01 +02:00
Andrei Stepanov
703ced15e4 Translated using Weblate (Russian)
Currently translated at 100.0% (3428 of 3428 strings)

[ci skip]

Translation: phpMyAdmin/Development
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/master/ru/
Signed-off-by: Andrei Stepanov <adem@users.noreply.hosted.weblate.org>
2026-10-19 03:51:00 +02:00
Zahid Rizky Fakhri
7168a6fe1b Translated using Weblate (Indonesian)
Currently translated at 100.0% (3428 of 3428 strings)

[ci skip]

Translation: phpMyAdmin/Development
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/master/id/
Signed-off-by: Zahid Rizky Fakhri <zahidrf@users.noreply.hosted.weblate.org>
2026-10-19 03:50:59 +02:00
Yaron Shahrabani
44769c9f57 Translated using Weblate (Hebrew)
Currently translated at 43.9% (1505 of 3428 strings)

[ci skip]

Translation: phpMyAdmin/Development
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/master/he/
Signed-off-by: Yaron Shahrabani <yaron@users.noreply.hosted.weblate.org>
2026-10-19 03:50:58 +02:00
Kamil Tekiela
ea3c53e199 Remove ajax_request
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
2026-10-19 02:05:05 +01:00
Maurício Meneghini Fauth
a15cd540cf Merge pull request #20536 from MauricioFauth/Sanitize-convertBBCode-refactor
Refactor Sanitize::convertBBCode()
2026-10-18 11:40:19 -03:00
phpMyAdmin bot
328b8d8003 Update po files
[ci skip]

Signed-off-by: phpMyAdmin bot <bot@phpmyadmin.net>
2026-10-18 00:41:10 +00:00
Maurício Meneghini Fauth
8e6af1a04f Refactor Sanitize::convertBBCode()
Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.com.br>
2026-10-17 18:45:08 -03:00
Maurício Meneghini Fauth
d1be38ebaa Merge pull request #20535 from MauricioFauth/yarn-test-cmd
Remove nodejs's experimental flag for yarn test command
2026-10-17 16:52:19 -03:00
Maurício Meneghini Fauth
2a22f984c6 Remove nodejs's experimental flag for yarn test command
It's not needed anymore.

Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.com.br>
2026-10-17 16:34:24 -03:00
Maurício Meneghini Fauth
51b3591028 Merge pull request #20534 from kamil-tekiela/testGetSysInfo
Update testGetSysInfo
2026-10-17 16:05:22 -03:00
Kamil Tekiela
5e5fe6a72f Update testGetSysInfo
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
2026-10-17 18:47:58 +01:00
Maurício Meneghini Fauth
2e0eb3216e Fix error in mutation-tests.yml CI workflow
Introduced by 19958e00b0

Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.com.br>
2026-10-17 13:37:30 -03:00
Maurício Meneghini Fauth
19958e00b0 Merge branch 'QA_5_2'
Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.com.br>
2026-10-17 13:34:49 -03:00
Maurício Meneghini Fauth
1b9f22b5bc Merge pull request #20532 from kamil-tekiela/Fix-failing-test
Fix failing test
2026-10-17 12:15:30 -03:00
Maurício Meneghini Fauth
28294c9a28 Merge pull request #20531 from MauricioFauth/fix-disabled-event-scheduler
Disable Events page when event scheduler is disabled
2026-10-17 12:12:23 -03:00
Kamil Tekiela
3b3ef21033 Pass Config to ResponseRenderer so that we don't rely on Global state
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
2026-10-17 02:01:25 +01:00
Kamil Tekiela
5d72011586 Refactor CollationsController
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
2026-10-17 02:01:25 +01:00
Maurício Meneghini Fauth
61c1bbb7c6 Merge pull request #20528 from kamil-tekiela/Events-getQueryFromRequest
Refactor Events::getQueryFromRequest
2026-10-16 15:28:16 -03:00
Maurício Meneghini Fauth
99e7f2db71 Disable Events page when event scheduler is disabled
This avoids the following server error:
  1577 - Cannot proceed, because event scheduler is disabled

Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.com.br>
2026-10-16 15:11:19 -03:00
Maurício Meneghini Fauth
d284996d6b Fix event scheduler toggle in Bootstrap theme
Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.com.br>
2026-10-16 14:59:30 -03:00
Lesterbor
8b007f5a1f Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 98.4% (3373 of 3426 strings)

[ci skip]

Translation: phpMyAdmin/Development
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/master/zh_Hans/
Signed-off-by: Lesterbor <qianfan@users.noreply.hosted.weblate.org>
2026-10-15 09:51:26 +00:00
Lesterbor
15fea63d53 Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 99.9% (3433 of 3436 strings)

[ci skip]

Translation: phpMyAdmin/5.2
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/5-2/zh_Hans/
Signed-off-by: Lesterbor <qianfan@users.noreply.hosted.weblate.org>
2026-10-15 09:51:24 +00:00
ℂ𝕠𝕠𝕠𝕝 (𝕘𝕚𝕥𝕙𝕦𝕓.𝕔𝕠𝕞/ℂ𝕠𝕠𝕠𝕝)
0fc9b38ced Translated using Weblate (Latvian)
Currently translated at 46.6% (1597 of 3426 strings)

[ci skip]

Translation: phpMyAdmin/Development
Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/master/lv/
Signed-off-by: "ℂ𝕠𝕠𝕠𝕝 (𝕘𝕚𝕥𝕙𝕦𝕓.𝕔𝕠𝕞/ℂ𝕠𝕠𝕠𝕝)" <coool@mail.lv>
2026-10-15 09:51:24 +00:00