Skip to content

Commit ebd923f

Browse files
authored
Merge branch 'main' into issue4501_api2_exception_noise
2 parents 12db8ae + 0700101 commit ebd923f

File tree

6,871 files changed

+44795
-94465
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

6,871 files changed

+44795
-94465
lines changed

.all-contributorsrc

Lines changed: 172 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1526,6 +1526,178 @@
15261526
"contributions": [
15271527
"bug"
15281528
]
1529+
},
1530+
{
1531+
"login": "justlife4x4",
1532+
"name": "justlife4x4",
1533+
"avatar_url": "https://avatars.githubusercontent.com/u/59994040?v=4",
1534+
"profile": "https://github.com/justlife4x4",
1535+
"contributions": [
1536+
"security"
1537+
]
1538+
},
1539+
{
1540+
"login": "fabianaromagnoli",
1541+
"name": "Fabiana Romagnoli",
1542+
"avatar_url": "https://avatars.githubusercontent.com/u/23638004?v=4",
1543+
"profile": "https://github.com/fabianaromagnoli",
1544+
"contributions": [
1545+
"bug"
1546+
]
1547+
},
1548+
{
1549+
"login": "aamant",
1550+
"name": "Arnaud Amant",
1551+
"avatar_url": "https://avatars.githubusercontent.com/u/393311?v=4",
1552+
"profile": "http://arnaudamant.fr",
1553+
"contributions": [
1554+
"code"
1555+
]
1556+
},
1557+
{
1558+
"login": "matteotestoni",
1559+
"name": "matteotestoni",
1560+
"avatar_url": "https://avatars.githubusercontent.com/u/34275189?v=4",
1561+
"profile": "https://github.com/matteotestoni",
1562+
"contributions": [
1563+
"bug"
1564+
]
1565+
},
1566+
{
1567+
"login": "mmenozzi",
1568+
"name": "Manuele Menozzi",
1569+
"avatar_url": "https://avatars.githubusercontent.com/u/1199914?v=4",
1570+
"profile": "https://www.webgriffe.com",
1571+
"contributions": [
1572+
"code"
1573+
]
1574+
},
1575+
{
1576+
"login": "darinda",
1577+
"name": "Rene Hrdina",
1578+
"avatar_url": "https://avatars.githubusercontent.com/u/8490373?v=4",
1579+
"profile": "https://github.com/darinda",
1580+
"contributions": [
1581+
"code"
1582+
]
1583+
},
1584+
{
1585+
"login": "Hanmac",
1586+
"name": "Hans Mackowiak",
1587+
"avatar_url": "https://avatars.githubusercontent.com/u/225553?v=4",
1588+
"profile": "https://github.com/Hanmac",
1589+
"contributions": [
1590+
"bug"
1591+
]
1592+
},
1593+
{
1594+
"login": "tim-breitenstein-it",
1595+
"name": "Tim Steinbrecher",
1596+
"avatar_url": "https://avatars.githubusercontent.com/u/65597245?v=4",
1597+
"profile": "https://github.com/tim-breitenstein-it",
1598+
"contributions": [
1599+
"code"
1600+
]
1601+
},
1602+
{
1603+
"login": "tomekjordan",
1604+
"name": "Tomek",
1605+
"avatar_url": "https://avatars.githubusercontent.com/u/8250276?v=4",
1606+
"profile": "https://github.com/tomekjordan",
1607+
"contributions": [
1608+
"bug"
1609+
]
1610+
},
1611+
{
1612+
"login": "dford-avb",
1613+
"name": "David Ford",
1614+
"avatar_url": "https://avatars.githubusercontent.com/u/52465239?v=4",
1615+
"profile": "https://github.com/dford-avb",
1616+
"contributions": [
1617+
"bug"
1618+
]
1619+
},
1620+
{
1621+
"login": "jandolejs",
1622+
"name": "Jan Dolejš",
1623+
"avatar_url": "https://avatars.githubusercontent.com/u/16374521?v=4",
1624+
"profile": "https://www.jandolejs.cz",
1625+
"contributions": [
1626+
"bug"
1627+
]
1628+
},
1629+
{
1630+
"login": "nprovoost",
1631+
"name": "Nicky",
1632+
"avatar_url": "https://avatars.githubusercontent.com/u/25850269?v=4",
1633+
"profile": "http://twopointzero.eu",
1634+
"contributions": [
1635+
"bug"
1636+
]
1637+
},
1638+
{
1639+
"login": "pauldpauld",
1640+
"name": "pauldpauld",
1641+
"avatar_url": "https://avatars.githubusercontent.com/u/1549372?v=4",
1642+
"profile": "https://alond.com.au/",
1643+
"contributions": [
1644+
"bug"
1645+
]
1646+
},
1647+
{
1648+
"login": "PapaDragonov",
1649+
"name": "PapaDragonov",
1650+
"avatar_url": "https://avatars.githubusercontent.com/u/17141028?v=4",
1651+
"profile": "https://github.com/PapaDragonov",
1652+
"contributions": [
1653+
"bug"
1654+
]
1655+
},
1656+
{
1657+
"login": "magentox",
1658+
"name": "magentox",
1659+
"avatar_url": "https://avatars.githubusercontent.com/u/44047835?v=4",
1660+
"profile": "https://github.com/magentox",
1661+
"contributions": [
1662+
"bug"
1663+
]
1664+
},
1665+
{
1666+
"login": "stasadev",
1667+
"name": "Stanislav Zhuk",
1668+
"avatar_url": "https://avatars.githubusercontent.com/u/24270994?v=4",
1669+
"profile": "https://github.com/stasadev",
1670+
"contributions": [
1671+
"code"
1672+
]
1673+
},
1674+
{
1675+
"login": "Axepih",
1676+
"name": "Axepih",
1677+
"avatar_url": "https://avatars.githubusercontent.com/u/95623175?v=4",
1678+
"profile": "https://github.com/Axepih",
1679+
"contributions": [
1680+
"review"
1681+
]
1682+
},
1683+
{
1684+
"login": "gdemarsico",
1685+
"name": "Gastón De Mársico",
1686+
"avatar_url": "https://avatars.githubusercontent.com/u/2066819?v=4",
1687+
"profile": "https://github.com/gdemarsico",
1688+
"contributions": [
1689+
"code",
1690+
"bug"
1691+
]
1692+
},
1693+
{
1694+
"login": "denisahac",
1695+
"name": "Den Isahac",
1696+
"avatar_url": "https://avatars.githubusercontent.com/u/6700576?v=4",
1697+
"profile": "http://www.denisahac.xyz",
1698+
"contributions": [
1699+
"doc"
1700+
]
15291701
}
15301702
],
15311703
"commitType": "docs"

.cypress.config.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
module.exports = {
2-
e2e: {
3-
setupNodeEvents(on, config) {
4-
// implement node event listeners here
5-
},
6-
baseUrl: 'https://magento-lts.ddev.site'
7-
},
2+
e2e: {
3+
setupNodeEvents(on, config) {
4+
// implement node event listeners here
5+
},
6+
baseUrl: 'https://magento-lts.ddev.site',
7+
}
88
};

.ddev/commands/web/openmage-admin

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ fi
2929
RANDOM_STRING=$({ tr -dc A-Za-z0-9 </dev/urandom | head -c 32 ; })
3030

3131
if [[ "${ACTION}" =~ ^(update|u) ]]; then
32-
if mysql -u db -h db db -e "UPDATE "${TABLE_PREFIX}"admin_user SET password=CONCAT(MD5('"${RANDOM_STRING}""${ADMIN_PASSWORD}"'),':"${RANDOM_STRING}"') WHERE username='"${ADMIN_USER}"'"; then
32+
if mysql -u db -pdb -h db db -e "UPDATE "${TABLE_PREFIX}"admin_user SET password=CONCAT(MD5('"${RANDOM_STRING}""${ADMIN_PASSWORD}"'),':"${RANDOM_STRING}"') WHERE username='"${ADMIN_USER}"'"; then
3333
echo "If the account "${ADMIN_USER}" exists it has been updated."
3434
else
3535
exit 1
3636
fi
3737
elif [[ "${ACTION}" =~ ^(create|c) ]]; then
38-
if mysql -u db -h db db -e "INSERT INTO "${TABLE_PREFIX}"admin_user (firstname, lastname, email, username, password) VALUES ('"${ADMIN_FIRSTNAME}"', '"${ADMIN_LASTNAME}"', '"${ADMIN_EMAIL}"', '"${ADMIN_USER}"', CONCAT(MD5('"${RANDOM_STRING}""${ADMIN_PASSWORD}"'), ':"${RANDOM_STRING}"'))"; then
39-
mysql -u db -h db db -e "INSERT INTO "${TABLE_PREFIX}"admin_role(parent_id, tree_level, sort_order, role_type, user_id, role_name)
38+
if mysql -u db -pdb -h db db -e "INSERT INTO "${TABLE_PREFIX}"admin_user (firstname, lastname, email, username, password) VALUES ('"${ADMIN_FIRSTNAME}"', '"${ADMIN_LASTNAME}"', '"${ADMIN_EMAIL}"', '"${ADMIN_USER}"', CONCAT(MD5('"${RANDOM_STRING}""${ADMIN_PASSWORD}"'), ':"${RANDOM_STRING}"'))"; then
39+
mysql -u db -pdb -h db db -e "INSERT INTO "${TABLE_PREFIX}"admin_role(parent_id, tree_level, sort_order, role_type, user_id, role_name)
4040
VALUES (1, 2, 0, 'U',(SELECT user_id FROM "${TABLE_PREFIX}"admin_user WHERE username = '"${ADMIN_USER}"'),'"${ADMIN_FIRSTNAME}"')"
4141
echo "The account "$ADMIN_USER" has been created."
4242
else

.ddev/commands/web/openmage-install

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ if [ -f "${LOCALXML}" ]; then
5353
fi
5454

5555
if [[ "${DELETE}" =~ ^(yes|y) ]]; then
56-
mysql -u db -h db -e "DROP SCHEMA IF EXISTS db; CREATE SCHEMA db;";
56+
mysql -u db -pdb -h db -e "DROP SCHEMA IF EXISTS db; CREATE SCHEMA db;";
5757
rm "${LOCALXML}"
5858
else
5959
exit 1
@@ -96,7 +96,7 @@ if [[ $INSTALL_SAMPLE_DATA =~ ^(yes|y) ]]; then
9696
rm -rf "${ROOT}"/"${DDEV_DOCROOT}/var/cache/"*
9797

9898
echo "Importing Sample Data into the database..."
99-
mysql -u db -h db db < "${SAMPLE_DATA_DIRECTORY}"/magento-sample-data-1.9.2.4/magento_sample_data_for_1.9.2.4.sql
99+
mysql -u db -pdb -h db db < "${SAMPLE_DATA_DIRECTORY}"/magento-sample-data-1.9.2.4/magento_sample_data_for_1.9.2.4.sql
100100

101101
# remove sample data
102102
if [[ "${SAMPLE_DATA_KEEP_FLAG}" ]]; then

.gitattributes

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# Make packagist / composer download smaller
2-
/.ddev export-ignore
32
/.github export-ignore
43
/dev export-ignore
54
/docs export-ignore
@@ -24,6 +23,8 @@
2423

2524
/README.md export-ignore
2625

26+
/Makefile export-ignore
27+
2728
# Enforce checkout with linux lf consistent over all platforms
2829
*.html text eol=lf
2930
*.css text eol=lf

.github/CODE_OF_CONDUCT.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,27 @@ Examples of unacceptable behavior by participants include:
3131
* Other conduct which could reasonably be considered inappropriate in a
3232
professional setting
3333

34+
### Attribution to Others
35+
36+
We expect all contributors to provide appropriate attribution to others in appreciation
37+
of work performed or ideas inspired by other members of the OpenMage community or other communities.
38+
39+
When creating a Pull Request or otherwise representing work or ideas to the community,
40+
if the work includes substantial code or inspiration leading directly to the authorship
41+
of specific lines of code taken from reading PRs, blog posts, release notes, etc. from
42+
another project (in particular Maho Commerce), website or other source, a mention must
43+
be made in the PR description or equivalent. The definition of "substantial" shall be
44+
as little as one line of code - if it's worth creating a commit and pull request for,
45+
it will be considered substantial.
46+
47+
For example:
48+
49+
> Credit for prior work inspiration to {ref}
50+
51+
Additionally, if the file that the code was copied from or heavily inspired by, in whole
52+
or in part, contains a copyright notice on a single line, that line must also be copied
53+
to the corresponding file in OpenMage, even if the filenames are slightly different.
54+
3455
## Our Responsibilities
3556

3657
Project maintainers are responsible for clarifying the standards of acceptable

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 0 additions & 36 deletions
This file was deleted.
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
name: 🐛 Bug report
2+
description: File a bug/issue
3+
title: "[BUG] <title>"
4+
labels: ["bug", "review needed"]
5+
body:
6+
- type: checkboxes
7+
attributes:
8+
label: Is there an existing issue for this?
9+
description: Please search to see if an issue already exists for the bug you encountered.
10+
options:
11+
- label: I have searched the existing issues
12+
required: true
13+
- type: textarea
14+
attributes:
15+
label: Current Behavior
16+
description: A concise description of what you're experiencing.
17+
validations:
18+
required: true
19+
- type: textarea
20+
attributes:
21+
label: Expected Behavior
22+
description: A concise description of what you expected to happen.
23+
validations:
24+
required: true
25+
- type: textarea
26+
attributes:
27+
label: Steps To Reproduce
28+
description: Steps to reproduce the behavior.
29+
placeholder: |
30+
1. In this environment...
31+
1. With this config...
32+
1. Run '...'
33+
1. See error...
34+
validations:
35+
required: true
36+
- type: textarea
37+
attributes:
38+
label: Environment
39+
description: |
40+
examples:
41+
- **OpenMage**: 20.12.2
42+
- **php**: 7.4
43+
value: |
44+
- OpenMage:
45+
- php:
46+
render: markdown
47+
validations:
48+
required: false
49+
- type: textarea
50+
attributes:
51+
label: Anything else?
52+
description: |
53+
Links? References? Anything that will give us more context about the issue you are encountering!
54+
55+
Tip: You can attach images or log files by clicking this area to highlight it and then dragging files in.
56+
validations:
57+
required: false

.github/ISSUE_TEMPLATE/developer-experience-issue.md

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
 (0)