Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3.x] Form Customization: Grid editing erases set data #15954

Closed
wants to merge 1,710 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1710 commits
Select commit Hold shift + click to select a range
4e8914e
[3.x] Fix plugin's event property sets (#15408)
theboxer Feb 23, 2021
7913c2f
Changed the default gravatar type (#15406)
Ruslan-Aleev Feb 23, 2021
8d06e31
Fix fatal error: "Uncaught Error: Call to undefined function get_magi…
Ibochkarev Feb 23, 2021
f2e0990
[3.x] Improve the processor permission response error message (#15403)
Ibochkarev Feb 23, 2021
2dea5a6
Added check for package exist when uploading it (#15267)
Ruslan-Aleev Feb 24, 2021
2517359
Reordered the navigation tabs in the "User Group" (#15149)
Ruslan-Aleev Feb 24, 2021
2a8ca3c
Fixed collapsing tree on mobile screens (#15229)
Ruslan-Aleev Feb 24, 2021
d615819
JsonGrid fixes (#15346)
Jako Feb 24, 2021
c280d9e
Fix rendering italic value (#15389)
theboxer Feb 26, 2021
988b729
Fix breadcrumbs on new resources (#15391)
theboxer Feb 26, 2021
c768565
Fix country name in the user section is not always displayed (#15413)
Jako Feb 26, 2021
35ae3ee
New Crowdin updates (#15409)
modxbot Feb 26, 2021
536b19b
PHP8 compatibility for 3.x (#15421)
Mark-H Mar 1, 2021
c3847ff
Fix setup update process (#15399)
theboxer Mar 1, 2021
d463e3f
Add check that the file exists when uploading it (#15264)
Ruslan-Aleev Mar 2, 2021
602b70c
Update modUser.php (#15376)
BobRay Mar 2, 2021
df3edb0
Avoid error if $_SESSION is not set (#15377)
BobRay Mar 2, 2021
730164c
Menu improvements (#15388)
theboxer Mar 3, 2021
25bb10a
Update user customized dashboards (#15390)
theboxer Mar 3, 2021
1dc912b
New Crowdin updates (#15419)
modxbot Mar 3, 2021
a2cdca3
Fix PHP Fatal error: Uncaught Error: Call to a member function fromAr…
Ibochkarev Mar 4, 2021
bcb4788
Fix user block checking on login.
sergant210 Mar 4, 2021
945d82e
Update MODX logo and icon
Ibochkarev Mar 5, 2021
0434941
Fixed lexicon to correct one
Ruslan-Aleev Mar 5, 2021
46f84f2
Fix incorrect lexicon when editing media source names [#15155]
Mark-H Mar 5, 2021
aba5e1e
Switched class condition to MODX\Revolution\modPlugin
muzzwood Mar 5, 2021
925b6ce
Fixed issue #15255 #modxbughunt
wax100 Mar 5, 2021
46f0285
Fixed incorrect hour checks for the greeting message. (#15443)
sergant210 Mar 5, 2021
7571ff3
Update Login.php
sergant210 Mar 5, 2021
0a63db6
Updated class name on plugin panel
muzzwood Mar 5, 2021
596b4dc
Fixed warnings about incorrect passed variables (#13943) (#15440)
sergant210 Mar 5, 2021
dcf84ed
Fixed a notice about undefined index icon in the site manager (#15433…
sergant210 Mar 5, 2021
59cb77d
Merge remote-tracking branch 'origin/pr/15449' into 3.x
JoshuaLuckers Mar 5, 2021
a5c9e9c
Update core/src/Revolution/Sources/modMediaSource.php
wax100 Mar 5, 2021
2057cae
Update manager/assets/modext/widgets/media/modx.browser.js
wax100 Mar 5, 2021
e28eee6
Adjust getParents method to work with deleted resources (#15427)
opengeek Mar 5, 2021
6ea195e
Disable actionsColumn for Dashboards grid in Widget section (#15452)
Ruslan-Aleev Mar 5, 2021
3ab91a8
New Crowdin updates (#15428)
modxbot Mar 5, 2021
ca92aac
Improve behavior of blocking users (#15442)
Mark-H Mar 5, 2021
2ee2c45
Merge remote-tracking branch 'origin/pr/15451' into 3.x
JoshuaLuckers Mar 5, 2021
b49343a
fix: load setup styles when modx works behind proxy
Mar 5, 2021
15ccc4b
Fix preview resource link
sdrenth Mar 5, 2021
4f85915
Allow install on reverse proxies with HTTPS (#15470)
Mark-H Mar 5, 2021
85450c7
chore: improve npm package config
Mar 5, 2021
9e8ebbd
Merge pull request #15475 from alroniks/feat/npm-script
JoshuaLuckers Mar 5, 2021
aba62d8
Fixes the preview link in the Recent Resources tab in the profile page.
JoshuaLuckers Mar 5, 2021
51aa3f9
Fix HTTPS check on setup bootstrap
Mark-H Mar 5, 2021
3cd0297
Fix HTTPS check on setup bootstrap
Mar 6, 2021
3da0426
New Crowdin updates (#15473)
modxbot Mar 9, 2021
9ca4daf
Update favicon.ico
Ibochkarev Mar 9, 2021
eafcda7
Updating url in system setting base_help_url (#15411)
Ibochkarev Mar 9, 2021
2d1e313
Remove http:// from empty weblink field on resource create form (#15422)
Mar 9, 2021
6e575c6
Fix PHP notices about undefined variables (#15459)
sergant210 Mar 9, 2021
129d36f
Display of the name of elements in delete messages (#15463)
Ruslan-Aleev Mar 9, 2021
e2651a2
Fix loading package metadata for modx.transport (#15466)
Jako Mar 9, 2021
5f49a4c
Import missing classes (#15477)
JoshuaLuckers Mar 9, 2021
be46cbd
Increase width of text TV input (#15485)
Ruslan-Aleev Mar 9, 2021
05a0b2c
Improve changelog display when installing extras (#15486)
Ibochkarev Mar 9, 2021
fbebba7
Fix regular expression for file download (#15512)
sergant210 Mar 9, 2021
1ec4b2f
Decode URI of directory in quick create file (#15517)
theboxer Mar 9, 2021
b6f87b5
Replace 'modPlugin' with modPlugin::class in elementClassKey checks (…
theboxer Mar 9, 2021
51e702f
Update editorconfig rules (#15520)
Ibochkarev Mar 9, 2021
e503d9d
Fix legacy class names (#15521)
theboxer Mar 9, 2021
0f45967
Support properties for @CHUNK/@SNIPPET bindings (#15488)
Bruno17 Mar 9, 2021
b240481
Remove unnecessary type="text/javascript"
Ibochkarev Mar 10, 2021
889b212
New Crowdin updates (#15530)
modxbot Mar 15, 2021
c003a30
Adjust PR template to encourage using right format to connect issues …
Mark-H Mar 15, 2021
3ade066
Fix typo and change the name of upgrade scripts (#15548)
Ibochkarev Mar 15, 2021
8774f96
Add mail_smtp_autotls system setting (#15549)
Ibochkarev Mar 15, 2021
f76a89a
New Crowdin updates (#15551)
modxbot Mar 16, 2021
28fa144
chore: update logo and icon [#15444]
Mar 16, 2021
56b2397
style: remove unnecessary type attribute in script tags [#15533]
Mar 16, 2021
ac9ad4f
Changed old class name to FCQN in the class_key for resources in the …
Mar 16, 2021
f4118b3
Set controller property in controller's config (#15552)
theboxer Mar 16, 2021
e76c836
Adds missing lexicon file_folder_err_update (#15547)
Ibochkarev Mar 17, 2021
e0ae72c
Fixed PHP notices on the login page. (#15456)
sergant210 Mar 17, 2021
8dee928
Fix image rotation in media browser #modxbughunt (#15484)
ilyautkin Mar 17, 2021
a2065d3
Improved check to see if the key "url" exists in media source $proper…
Mar 17, 2021
820a68f
Adjust class names in principal_targets system setting (#15529)
theboxer Mar 18, 2021
a7c8bcd
Translated descriptions for policies, policy templates and policy tem…
Mar 19, 2021
52f8546
New Crowdin updates (#15557)
modxbot Mar 21, 2021
9b6cf7a
Removed TV with "list-multiple-legacy" type (#15489)
Ruslan-Aleev Mar 21, 2021
ee5c88b
Changing display styles for system information (#15554)
Ibochkarev Mar 22, 2021
79ab2b7
Corrected fields in the User / Account sections (#15539)
Ruslan-Aleev Mar 22, 2021
c629b04
Implement isDirty function in MODx.panel.ImageTV (#15516)
theboxer Mar 22, 2021
5169bec
Update information about the project in the readme file (#15562)
Ibochkarev Mar 22, 2021
0acc0d9
Increase required php version to 7.1 (#15589)
Ibochkarev Mar 26, 2021
2af8ac6
Add transliteration of files when uploading to a media source #modxbu…
ilyautkin Mar 28, 2021
5518feb
Fix Add button style glitches in dashboards (#15599)
SnowCreative Mar 28, 2021
1b5a278
Simplified lexicons for grids (#15420)
Ruslan-Aleev Mar 28, 2021
b761379
Changing the lexicon on the update widget (#15591)
Ibochkarev Mar 28, 2021
0bfcf37
Update base_help_url system settings with a new link to the documenta…
Ibochkarev Mar 28, 2021
8a463ac
Hide dependent forms until items are not selected in trees (#15478)
Ruslan-Aleev Mar 28, 2021
2e7c0e4
Fix trash page permission issues (#15482)
sdrenth Mar 28, 2021
ab2b90c
Fix the lexicon entries of upload_translit (#15600)
Jako Mar 29, 2021
fb3f7e2
New Crowdin updates (#15568)
modxbot Mar 29, 2021
54f21f4
Fixed context sub-menu not appearing in resource tree (#15593)
Mar 29, 2021
3544010
Remove deprecated modClassMap (#15079)
Mar 29, 2021
e6521c1
Ignore l10n_** branches on ci workflow actions (#15608)
opengeek Mar 29, 2021
f14d569
Fix MakeUrlTest->testSingleParameter test provider (#15594)
sergant210 Mar 30, 2021
28fa8af
Add an required attribute for admin creation fields during installati…
Ibochkarev Mar 30, 2021
0a3052e
Fallback to username when full name is missed in the Who is online wi…
Ibochkarev Mar 30, 2021
7d5b5d1
Add code quality GitHub Action (#15603)
Ibochkarev Apr 1, 2021
6f90ce2
Fix class key default value in the user creation form (#15620)
sergant210 Apr 1, 2021
53af606
Automatically mark issues by appropriate labels (#15633)
Apr 4, 2021
6015c8d
Add the EXTR_REFS flag to the extract function (#15578)
sergant210 Apr 5, 2021
d37abfe
Update favicon in the installation folder (#15602)
Ibochkarev Apr 5, 2021
5e1914e
Fix link to the proper version in welcome dialog (#15613)
Ibochkarev Apr 5, 2021
a16e3f5
Fix unavailable toggle language menu item because missed permission (…
sergant210 Apr 5, 2021
3cd91b1
Fix permissions checking in modAccessibleObject objects (#15632)
sergant210 Apr 5, 2021
c805895
Fix missed Developer Access Policy (#15626)
Apr 5, 2021
1c413a0
Rename Admin group to proper name of Access Policy Template Group (#1…
Apr 5, 2021
a90d160
Fixed the bug of calling the filterPathSegment method. (#15638)
sergant210 Apr 7, 2021
f3741ee
Add PHP Code Sniffer configuration file (#15640)
Ibochkarev Apr 7, 2021
8b80072
Update exclude-patterns in phpcs.xml
opengeek Apr 7, 2021
2ba5f67
Add endpoint property to S3 media source (#15641)
theboxer Apr 8, 2021
5338776
Add clarity within creating folders in media sources (#15652)
Ruslan-Aleev Apr 9, 2021
06e4fb2
Fix style of information messages in installer view (#15642)
Ibochkarev Apr 9, 2021
4ce8024
Add possibility to translate message about site unavailability (#15537)
Ruslan-Aleev Apr 9, 2021
444a3e0
Improve language selector accessibility on the login page (#15627)
Ibochkarev Apr 9, 2021
8c8a49e
Add intermediate tablet breakpoint to improve view on small screens (…
Ruslan-Aleev Apr 10, 2021
a5fa76b
Swtich non-index fields back to 255 char limit (#15398)
theboxer Apr 10, 2021
be82372
Add return link to package management on a page of single package (#1…
Ruslan-Aleev Apr 10, 2021
8fa7ace
Fix issue when sending an internal message to the user (#15511)
sergant210 Apr 11, 2021
6b1cd01
New Crowdin updates (#15615)
modxbot Apr 11, 2021
2e9e9de
Fix the appearance of PHP notices on the dashboard page (#15650)
sergant210 Apr 11, 2021
f8260b0
Fix ignoring phpcs configuration file (#15668)
Ibochkarev Apr 12, 2021
49b22e9
Set code of conduct for the repo (#15671)
Apr 13, 2021
2e1a5ac
Support SameSite attribute in session cookies (#15669)
raffy99 Apr 14, 2021
4308823
Add setup/lang/ exclude-pattern to phpcs.xml
opengeek Apr 15, 2021
2660c49
New Crowdin updates (#15667)
modxbot Apr 15, 2021
133871a
New Crowdin updates (#15675)
modxbot Apr 16, 2021
fa471c6
New Crowdin updates (#15719)
modxbot May 19, 2021
64d057f
Changed behavior of creating a file in media browser (#15654)
Ruslan-Aleev Jun 1, 2021
0eddfe8
Add nightly target to phing build
opengeek Jun 17, 2021
6ee9422
Hid broken navigation in trees
Ruslan-Aleev Jun 23, 2021
1595473
Disabled links in the resource tree for resource groups
Ruslan-Aleev Jun 23, 2021
5f5e35f
New Crowdin updates (#15729)
modxbot Jun 26, 2021
127b58d
Update minimum PHP version to 7.2
opengeek Jul 1, 2021
8995027
#modxbughunt Fix displaying big SVG images in media browser (#15481)
wax100 Jul 1, 2021
79d1203
Fix import section lexicons (#15747)
Ruslan-Aleev Jul 1, 2021
a5ea129
Change order of menu items for Context in tree (#15749)
Ruslan-Aleev Jul 1, 2021
494f861
Update MODX logo in base template (#15750)
Ruslan-Aleev Jul 1, 2021
aaceb5f
Strip base_url only from beginning of relative url (#15751)
Ruslan-Aleev Jul 1, 2021
20d1a51
Filter sensitive config values from placeholders (#15754)
Ruslan-Aleev Jul 1, 2021
97143c4
Make naming consistent when duplicating user in grid (#15755)
Ruslan-Aleev Jul 1, 2021
6709a03
New Crowdin updates (#15764)
modxbot Jul 8, 2021
01fc5b6
Upgrade flysystem to v2 (#15757)
muzzwood Jul 14, 2021
05427e4
New Crowdin updates (#15766)
modxbot Jul 14, 2021
fdeeb54
Decrease LOG_LEVEL for cache errors (#15753)
Ruslan-Aleev Jul 14, 2021
f704ad5
Update minimum PHP version to 7.2 in setup requirements (#15768)
JoshuaLuckers Jul 15, 2021
416841c
Skip session configuration check in CLI setup (#15769)
JoshuaLuckers Jul 15, 2021
f0d8822
Remove SQL Server support (#15761)
JoshuaLuckers Jul 20, 2021
4aba2d8
New Crowdin updates (#15771)
modxbot Jul 20, 2021
41a96a2
Require auth token to access MODx.config to prevent XSSI (#15645)
Ibochkarev Jul 28, 2021
fe1b6ce
Add missing user password validation characters (#15630)
Ibochkarev Jul 28, 2021
a690a37
Add typeahead to Resource List TV (#15734)
Ruslan-Aleev Jul 28, 2021
f9b9906
New Crowdin updates (#15774)
modxbot Jul 28, 2021
d3cf71d
Avoid removing Element/GetClasses processor (#15780)
Mark-H Jul 30, 2021
210ab70
Add PSR-7/17/18 HTTP services (#15779)
Mark-H Jul 30, 2021
43d1bbb
Assorted modRest improvements (#15777)
Mark-H Jul 30, 2021
7810f4b
New Crowdin updates (#15783)
modxbot Aug 19, 2021
539701e
Restore user password display (#15629)
Ruslan-Aleev Aug 19, 2021
f5fdf75
Improve RTL styles (#15758)
Ruslan-Aleev Aug 23, 2021
6c43c83
Refactor modTransportProvider using PSR-7 client (#15781)
Mark-H Aug 23, 2021
dee4df0
Resolve S3 Media Source issues from Flysystem upgrade (#15786)
matdave Aug 25, 2021
ebd7d2f
New Crowdin updates (#15795)
modxbot Aug 25, 2021
3d782f1
Improve field selection error for package provider (#15789)
Aug 25, 2021
e8782f7
Prevent PHPCS warnings from reporting as a failure
opengeek Aug 25, 2021
2299f46
Prevent PHPCS warnings from reporting as failures
opengeek Aug 25, 2021
758ef2c
Presume default patch level of 0 when not defined by package (#15791)
Aug 26, 2021
bac71e1
New Crowdin updates (#15798)
modxbot Aug 27, 2021
6842724
Prevent phpcs from failing on warnings (#15803)
JoshuaLuckers Aug 31, 2021
b9264a3
New translations context.inc.php (Arabic) (#15801)
modxbot Sep 7, 2021
c390850
New Crowdin updates (#15813)
modxbot Sep 13, 2021
b4b60c4
Fix image TV display via hash (#15775)
Ruslan-Aleev Sep 16, 2021
ccaf7a5
Modernize manager template build workflow (#15793)
Sep 16, 2021
e9306b9
Fix Tab Visibility in User Group Editing Panel (#15802)
Sep 22, 2021
5962ee5
Lazy load thumbnails in media browser (#15805)
matdave Sep 22, 2021
e17f8e3
Hide user settings tab based on permissions (#15776)
Ibochkarev Sep 23, 2021
3e3f07e
Add template picker for creating new resources (#15535)
muzzwood Sep 24, 2021
dc30167
New Crowdin updates (#15819)
modxbot Sep 24, 2021
77faca8
New Crowdin updates (#15821)
modxbot Sep 27, 2021
565537a
Fix issues for plugins that pass around xPDOObjects (#15809)
JoshuaLuckers Oct 1, 2021
1c62cee
New Crowdin updates (#15825)
modxbot Oct 1, 2021
ec18ed5
Improve button styling in modals
Oct 1, 2021
c2a59ce
Add build assets to CI workflow (#15810)
JoshuaLuckers Oct 5, 2021
365b3ff
Merge remote-tracking branch 'upstream/pr/15746' into 3.x
JoshuaLuckers Oct 5, 2021
1cf4f71
Merge remote-tracking branch 'upstream/pr/15826' into 3.x
JoshuaLuckers Oct 5, 2021
1100255
Move deprecated logging into dedicated table/view (#15002)
Mark-H Oct 6, 2021
c27be96
Fix error: Cannot find module 'sass' when running Compile Assets work…
JoshuaLuckers Oct 6, 2021
3141780
New Crowdin updates (#15829)
modxbot Oct 6, 2021
f9a5a82
New Crowdin updates (#15832)
modxbot Oct 11, 2021
ff0f830
Improve action buttons UX (#15574)
Ruslan-Aleev Oct 11, 2021
ab98759
Correct edit media source lexicon in tree (#15738)
Ruslan-Aleev Oct 13, 2021
d816fae
Add policy count column to policy templates
theboxer Oct 15, 2021
1e8c899
New Crowdin updates (#15837)
modxbot Oct 19, 2021
626fc90
Allow language selection with Tab key in setup (#15823)
Oct 19, 2021
1f7ea55
Remove obsolete contentType field (#15822)
muzzwood Oct 19, 2021
268e560
Refactor template variable creation (#15773)
Oct 19, 2021
191c435
Make CI build command agnostic to the build tool itself (#15845)
Oct 20, 2021
b8864b6
Various security patches (#15843)
Mark-H Oct 20, 2021
a896f74
New Crowdin updates (#15848)
modxbot Oct 20, 2021
f24f2c3
Fix preview_file field in schema (#15847)
Mark-H Oct 20, 2021
611402b
Fix create tv panel broken by non-English lexicons (#15846)
Mark-H Oct 20, 2021
568f9f2
Remove legacy class log message in modX::loadClass (#15842)
Mark-H Oct 20, 2021
c5b90f2
Remove 'import resources' and 'import site' from core (#15841)
Mark-H Oct 20, 2021
061b4b5
New Crowdin updates (#15850)
modxbot Oct 21, 2021
ef4fbf7
Fix form customization on static resources (#15637)
Oct 21, 2021
2e0ff0e
Fix errors in Resource\GetNodes processor (#15834)
theboxer Oct 21, 2021
c531dfb
Hide denied context menu items in elements tree (#15634)
sergant210 Oct 21, 2021
7450a07
Fix typo in lexicon (#15853)
Jako Oct 22, 2021
8edcbf5
New Crowdin updates (#15852)
modxbot Oct 22, 2021
29f6b76
Improve text styles in package manager (#15862)
Ibochkarev Oct 24, 2021
5ba88f6
Fix duplicate array key (#15860)
Mark-H Oct 24, 2021
c4d18ea
Use Guzzle HTTP factory (#15856)
Mark-H Oct 24, 2021
6ae443c
Upgrade Smarty to v4 (#15859)
Mark-H Oct 24, 2021
f3bb458
New Crowdin updates (#15857)
modxbot Oct 24, 2021
0e2160f
New Crowdin updates (#15866)
modxbot Oct 26, 2021
01a9641
Remove reference to renamed upgrade script (#15863)
Ibochkarev Oct 26, 2021
439e853
New Crowdin updates (#15867)
modxbot Oct 26, 2021
5c3131e
Fix POST requests through modTransportProvider::request (#15869)
Mark-H Oct 26, 2021
0fcc8a3
Fix accessing $modx->controller from plugins and services (#15871)
Mark-H Oct 27, 2021
e90eae3
Update changelog for 3.0.0-alpha3 release
opengeek Oct 27, 2021
9398426
Bump version for 3.0.0-beta1
opengeek Oct 27, 2021
718c3b7
Update link to CLA in .github/CONTRIBUTING.md
opengeek Nov 2, 2021
fa3aaad
Remove unused refreshTVs method (#15882)
Nov 3, 2021
fcf8038
New Crowdin updates (#15874)
modxbot Nov 3, 2021
0be5dbb
Restrict static resources to predefined path (#15885)
Mark-H Nov 5, 2021
ad810eb
New translations upgrades.inc.php (Hindi) (#15886)
modxbot Nov 5, 2021
e68bbdd
Add zero-padded decimal option for number TVs (#15890)
Nov 5, 2021
342428e
Configurable extension for static html files
Ibochkarev Oct 22, 2021
46c74e5
Update _build/data/transport.core.system_settings.php
Ibochkarev Oct 24, 2021
fc2f3f5
Update _build/data/transport.core.system_settings.php
Ibochkarev Oct 24, 2021
345a5fb
Remove superfluous lexicon entries (#15884)
Jako Nov 8, 2021
08cb03d
New Crowdin updates (#15891)
modxbot Nov 8, 2021
5b11f19
Fix problems in lexicon creation form (#15892)
Nov 9, 2021
413076b
Update changelog for 3.0.0-beta1
opengeek Nov 9, 2021
a022ee6
Bump version for 3.0.0-beta2 development cycle
opengeek Nov 9, 2021
e801380
New Crowdin updates (#15896)
modxbot Nov 10, 2021
14b3fd5
New Crowdin updates (#15899)
modxbot Nov 18, 2021
e79da1b
Fix isBinary check (#15901)
Mark-H Nov 18, 2021
7654046
Remove unused processor Security/User/Group/GetList (#15910)
JoshuaLuckers Nov 23, 2021
dbfb69b
New Crowdin updates (#15906)
modxbot Nov 23, 2021
b922a44
Change order of Directory/File menu items in tree (#15759)
Ruslan-Aleev Nov 23, 2021
d4c1e5e
Update changelog for 3.0.0-beta2
opengeek Nov 23, 2021
d96badf
Bump version for rc1 development cycle
opengeek Nov 23, 2021
5993cb9
Add missing Static Resources lexicon key (#15931)
Ibochkarev Dec 15, 2021
7625fc7
New Crowdin updates (#15917)
modxbot Dec 15, 2021
be84424
Fix FC Set's update from grid processor to adjust only fields passed …
theboxer Jan 6, 2022
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
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
26 changes: 9 additions & 17 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,26 +1,18 @@
# https://editorconfig.org
root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = space
tab_width = 4
indent_size = 4
max_line_length = off

[**.js]
tab_width = 4
[**.scss]
indent_size = 2

[**.coffee]
tab_width = 4

[**.cson]
tab_width = 4

[**.json]
tab_width = 4

[**rc]
tab_width = 4

[**php]
tab_width = 4
[*.md]
max_line_length = off
trim_trailing_whitespace = false
4 changes: 2 additions & 2 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Only English lexicon changes are handled in GitHub. If you want to update anythi
### Other
* Did you find an issue in xPDO? Please submit it in [xPDO repository](https://github.com/modxcms/xpdo).
* Did you find an issue in a MODX Extra? Please submit it to that component's repository or contact the author.
* Looking for advise or help? Please search the [MODX documentation](http://rtfm.modx.com/), the [MODX forums](http://forums.modx.com/) or join to #modx or #xpdo room on IRC FreeNode server (irc.freenode.net).
* Looking for advice or help? Please search the [MODX documentation](https://docs.modx.com/), the [MODX Community](https://community.modx.com/), join to #modx or #xpdo room on IRC FreeNode server (irc.freenode.net) or join the [MODX Community on Slack](https://modx.org/).

## Submit a bug report

Expand Down Expand Up @@ -55,7 +55,7 @@ Only English lexicon changes are handled in GitHub. If you want to update anythi
Let us know if this is related to any issue/pull request.

## Submit a Pull Request
If this is your first PR, please create an account on the [MODX website](http://www.modx.com) and sign the [Contributors License Agreement](http://develop.modx.com/contribute/cla/). This is needed to ensure all code is licensed properly. We cannot merge pull requests without a signed CLA.
If this is your first PR, please create an account on the [MODX website](http://www.modx.com) and sign the [Contributors License Agreement](https://modx.com/community/cla/). This is needed to ensure all code is licensed properly. We cannot merge pull requests without a signed CLA.

MODX supports PHP from v5.3, so your PRs have to work on PHP 5.3+. **PRs must be backwards compatible.**

Expand Down
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
name: Bug report
about: Create a report to help us improve MODX Revolution

labels: bug
---

## Bug report
Expand All @@ -18,4 +18,4 @@ How it behaved after following steps above.
How it should behave after following steps above.

### Environment
MODX version, apache/nginx and version, mysql version, browser, etc. Any relevant information.
MODX version, apache/nginx and version, mysql version, browser, etc. Any relevant information.
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
name: Feature request
about: Suggest an idea that makes MODX Revolution even better

labels: feature
---

## Feature request
Expand All @@ -15,4 +15,4 @@ A clear and concise description of what the problem is. Ex. I'm always frustrate
A clear and concise description of what you want to happen.

### Related issue(s)/PR(s)
Let us know if this is related to any issue/pull request.
Let us know if this is related to any issue/pull request.
7 changes: 5 additions & 2 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
### What does it do?
Describe the technical changes you did.
Describe the technical changes you made.

### Why is it needed?
Describe the issue you are solving.

### How to test
Describe how to test the changes you made.

### Related issue(s)/PR(s)
Let us know if this is related to any issue/pull request (see https://github.com/blog/1506-closing-issues-via-pull-requests)
Provide any issue that's addressed by this change in the format "Resolves #<issue number>", and mention other issues/pull requests with relevant information.
8 changes: 8 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
version: 2
updates:

# Maintain dependencies for Composer
- package-ecosystem: "composer"
directory: "/"
schedule:
interval: "weekly"
31 changes: 31 additions & 0 deletions .github/workflows/assets.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: "Compile Assets"

on:
push:
paths:
- "_build/templates/**"
pull_request:
paths:
- "_build/templates/**"

workflow_dispatch:

jobs:
compile-assets:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Install Node.js
uses: actions/setup-node@v2
with:
node-version: '14'
cache: 'npm'
cache-dependency-path: _build/templates/default/package-lock.json

- name: Install NPM dependencies
run: cd _build/templates/default && npm install

- name: Build assets
run: cd _build/templates/default && npm run build
66 changes: 66 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
name: CI

on:
push:
branches-ignore:
- 'l10n_**'
paths-ignore:
- "_build/templates/**"
pull_request:
branches-ignore:
- 'l10n_**'
paths-ignore:
- "_build/templates/**"

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

jobs:
mysql-check:
name: MySQL Check
runs-on: ubuntu-20.04

services:
mysql:
image: "mysql:5.6"

options: >-
--health-cmd "mysqladmin ping --silent"
-e MYSQL_ALLOW_EMPTY_PASSWORD=yes
-e MYSQL_DATABASE=revo_test
ports:
- 3306:3306

strategy:
matrix:
php-version: ['7.2', '7.3', '7.4', '8.0']

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
extensions: pdo, pdo_mysql, zip, mysqli, gd

- name: Get composer cache directory
id: composer-cache
run: echo "::set-output name=dir::$(composer config cache-files-dir)"

- name: Cache composer dependencies
uses: actions/cache@v2
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
restore-keys: ${{ runner.os }}-composer-

- name: Install dependencies
run: composer install --no-progress --prefer-dist --optimize-autoloader

- name: Setup MODX
run: cd _build/test && ./generateConfigs.sh auto

- name: Run PHPUnit
run: core/vendor/bin/phpunit --enforce-time-limit -c ./_build/test/phpunit.xml
28 changes: 28 additions & 0 deletions .github/workflows/phpcs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: "Code Quality"

on:
pull_request:
paths:
- "**.php"
- "phpcs.xml"
- ".github/workflows/phpcs.yml"

jobs:
phpcs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Install PHP_CodeSniffer
run: |
curl -OL https://squizlabs.github.io/PHP_CodeSniffer/phpcs.phar
php phpcs.phar --version --config-set ignore_warnings_on_exit 1

- uses: thenabeel/action-phpcs@v8
with:
files: "**.php"
phpcs_path: php phpcs.phar
standard: phpcs.xml
fail_on_warnings: false
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,11 @@ _build/templates/default/sass/font-awesome

# ignore composer files
composer.phar
#composer.json
composer.lock

# ignore composer vendor dir
/vendor

# ignore phpunit cache files
.phpunit.result.cache
33 changes: 0 additions & 33 deletions .travis.yml

This file was deleted.

50 changes: 50 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# Contributor Covenant Code of Conduct

The MODX Community, Leadership and Advisory Board has decided to use the [Contributor Covenant][homepage] until such time we ratify our own.

## Our Pledge

In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.

## Our Standards

Examples of behavior that contributes to creating a positive environment include:

* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members

Examples of unacceptable behavior by participants include:

* The use of sexualized language or imagery and unwelcome sexual attention or advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a professional setting

## Our Responsibilities

Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.

Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.

## Scope

This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [email protected]. All complaints will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.

Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at http://contributor-covenant.org/version/1/4

[homepage]: https://www.contributor-covenant.org

For answers to common questions about this code of conduct, see the FAQ at https://www.contributor-covenant.org/faq.
Translations are available at https://www.contributor-covenant.org/translations.
Loading