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

[pull] 4.0-dev from joomla:4.0-dev #128

Closed
wants to merge 4,859 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
4859 commits
Select commit Hold shift + click to select a range
4d992e2
[4.0] Updating or uninstalling one library no longer removes another …
BrainforgeUK Aug 2, 2021
4ee89be
[4.0] remove file check (#35038)
brianteeman Aug 4, 2021
bdc8320
Align the paths for child templates (#35024)
dgrammatiko Aug 4, 2021
572d0dd
[4.0] Improve Language::transliterate method (#35029)
Fedik Aug 4, 2021
2ae50ce
added php8 to list of filtered extensions (#35001)
SniperSister Aug 4, 2021
ca04b45
Fix language strings plural suffixes unit test (#35026)
richard67 Aug 4, 2021
31ce0de
Fix (#35011)
dgrammatiko Aug 4, 2021
59649f7
[4.0] tab focus (#35022)
brianteeman Aug 4, 2021
a43f682
Fix incomplete npm update of custom elements (#35058)
richard67 Aug 6, 2021
f9b55e9
[staging] Fix jalali calendar javascript (#28700)
infograf768 Aug 6, 2021
6d150e7
Remove wrong information from code comment (#35037)
richard67 Aug 6, 2021
5378a26
Don't use hard-coded extension_id in update SQL scripts (#35034)
richard67 Aug 6, 2021
7823dc0
Remove wrong css (#35061)
bembelimen Aug 7, 2021
03a0ea4
Exclude "/media/system/images" from files and folders deletion on upd…
richard67 Aug 8, 2021
9a87e5b
[4.0] short and sweet fix (#35039)
dgrammatiko Aug 8, 2021
4ee06a1
[4.0] Check target file extension of com_media rename action (#34999)
SniperSister Aug 8, 2021
9523fb6
added php8 to list of filtered extensions (#35000)
SniperSister Aug 8, 2021
756031e
Merge branch '3.10-dev' of github.com:joomla/joomla-cms into staging
zero-24 Aug 8, 2021
d6c5ab8
Update crowdin.yml with the new EOS Plugin language files as requeste…
zero-24 Aug 8, 2021
c764d4d
Update the EOS plugin with the final EOS date
zero-24 Aug 8, 2021
69243dd
Correct params in onContentPrepare call (#35045)
ReLater Aug 8, 2021
cab9a16
Use attachments column for insertObject (#35074)
richard67 Aug 9, 2021
e983254
Update branches and fix some references still pointing to staging (#3…
zero-24 Aug 9, 2021
894ce3e
Make fontawesome+icomoon mapping available as Joomla asset (#32541)
drmenzelit Aug 9, 2021
c2740e9
[4.0] Collapse / accordion function for categories list (#33052)
drmenzelit Aug 9, 2021
a73153e
[4.0] Eliminating cpanel jumping (#35069)
Fedik Aug 9, 2021
cfeb626
sanitize parent_id as an int (#34989)
alikon Aug 9, 2021
bd97cfe
Joomla! 3.10.0 Release Candidate 2
zero-24 Aug 9, 2021
ff02563
reset to dev
zero-24 Aug 9, 2021
d418d52
[4.0] Update Information (#35076)
brianteeman Aug 10, 2021
ca95115
Merge branch '3.10-dev' into 4.0-dev
wilsonge Aug 10, 2021
2be3108
Update framework to RC packages
wilsonge Aug 10, 2021
38469e3
Update more composer versions
wilsonge Aug 10, 2021
1d9d08d
[4.0] Fix the Reset button (#34994)
dgrammatiko Aug 10, 2021
24f77aa
Update deleted files and folders for RC 6 (#35077)
richard67 Aug 10, 2021
f35729c
[4.0] composer update (#35084)
brianteeman Aug 10, 2021
ef2444a
Remove crowdin file as we use core-translations repo now
wilsonge Aug 10, 2021
17e8bf1
Add link to crowdin for translators
wilsonge Aug 10, 2021
e78c397
Tag 4.0.0 RC6
wilsonge Aug 10, 2021
f87881e
Tag RC7 Dev (hopefully we'll never need an RC7\!)
wilsonge Aug 10, 2021
b00c232
Reset accidental commit again
wilsonge Aug 10, 2021
c71dba9
patch syntax errors on lover PHP Versions (#35091)
zero-24 Aug 11, 2021
628aee4
Update installation language date on version bump (#35097)
HLeithner Aug 12, 2021
7887f8d
use the features jumper now that it is there
zero-24 Aug 12, 2021
85d6648
add a note about WSL based setups (#35108)
zero-24 Aug 13, 2021
e231edb
update fa-IR
zero-24 Aug 13, 2021
8225e66
[3.10] Apply PHP 5.3 combat changes to the core code and lessphp + ph…
zero-24 Aug 13, 2021
0db5e12
disable the critical plugins check for non-major updates. (#35105)
zero-24 Aug 13, 2021
1df4579
update installer de-AT, de-CH, de-DE, de-LI and de-LU
zero-24 Aug 13, 2021
726e1a9
update copyright line
zero-24 Aug 13, 2021
e883573
go back to 2007
zero-24 Aug 13, 2021
145e86b
update da-DK installer language
zero-24 Aug 13, 2021
8082cb6
Update ja-JP installation language
zero-24 Aug 13, 2021
c5c9cd0
fix broken tabs
zero-24 Aug 13, 2021
abfe91f
Use com_mails/access.xml for permissions (#35109)
sanderpotjer Aug 13, 2021
72e78f4
[4.0] Fix categories accordion (#35093)
joomdonation Aug 13, 2021
2c19993
Update sw-KE installer language
zero-24 Aug 13, 2021
6f1b669
Add es-ES, pt-PT, ta-IN, uk-UA Installer language updates
zero-24 Aug 13, 2021
fb7981d
update ka-GB installation language
zero-24 Aug 13, 2021
36a1aaa
Update cy-GB installation language
zero-24 Aug 14, 2021
b6d425f
Joomla! 3.10.0 Stable
zero-24 Aug 14, 2021
c0cd79a
reset to dev
zero-24 Aug 14, 2021
70d42a3
Add missing class 'Route' (#35121)
PhilETaylor Aug 15, 2021
76875db
Fix number of params to sprintf
wilsonge Aug 15, 2021
c857f33
[4.0] build script exclusions (#35128)
brianteeman Aug 15, 2021
9415560
Update deleted files and folders for stable (#35130)
richard67 Aug 15, 2021
a5f0424
Update IFW Plugin version to 4.0.0 (#35127)
zero-24 Aug 15, 2021
a2440c8
Improve english sentence (#35134)
PhilETaylor Aug 15, 2021
2c7d3ea
Merge branch '3.10-dev' into 4.0-dev
wilsonge Aug 15, 2021
fa790f4
[4.0] Fix assets for workflow tables for new installations and update…
richard67 Aug 15, 2021
fbc7a75
Remove createSession (#35146)
PhilETaylor Aug 16, 2021
d3d4684
s/exits/exists (#35151)
PhilETaylor Aug 16, 2021
9104384
Corrected 'could not copy files' message (#35149)
BrainforgeUK Aug 16, 2021
1483ff7
Update fa-IR, nl-NL, ru-RU, sk-SK, th-TH installation languages
zero-24 Aug 16, 2021
020736c
Stable framework
wilsonge Aug 16, 2021
67a52a6
Fix broken aria reference (#35152)
chmst Aug 16, 2021
399c425
remove redundant folder (#35140)
PhilETaylor Aug 16, 2021
dd22c22
Mediawiki stable
wilsonge Aug 16, 2021
8da340f
Add new logging category and add sample log entry for it (#34961)
wilsonge Aug 16, 2021
a7bbf30
Push footer to bottom and fix content vertically centered and fix scr…
RickR2H Aug 16, 2021
eee2b64
[4.0] Render the full information in the installer (#34900)
wilsonge Aug 16, 2021
b2d7634
Translation Update (#35098)
joomla-translation-bot Aug 16, 2021
fe55540
Handle com_search migration to a core supported extension (#35164)
wilsonge Aug 17, 2021
f91d97b
Installation cleanup (#35168)
wilsonge Aug 17, 2021
cd2ea50
Only invalidate installation/index.php on installation folder removal
HLeithner Aug 17, 2021
f2568a7
Fix installation js for messages (#35173)
Fedik Aug 17, 2021
0d9f781
Accept failing opcache_invalidate on installation (#35171)
HLeithner Aug 17, 2021
95b187b
Combine update statements for package_id of search extensions (#35176)
richard67 Aug 17, 2021
5f20de2
Prepease 4.0.0 release
HLeithner Aug 17, 2021
ae15afb
Reset to dev
HLeithner Aug 17, 2021
d3e9b8c
Remove package for cms api 4.x
wilsonge Aug 17, 2021
781cc37
Remove package for cms api 4.x
wilsonge Aug 17, 2021
2858b8b
Standard copyright. Fix for API docs
wilsonge Aug 17, 2021
6d6155d
Standard copyright. Fix for API docs
wilsonge Aug 17, 2021
49be21c
Normalize header. Fixes for API Docs
wilsonge Aug 17, 2021
002db7a
s/__DEPLOY_VERSION_/4.0.0 (#35193)
PhilETaylor Aug 17, 2021
fc5ca06
Update it-IT installation language
zero-24 Aug 17, 2021
67dfceb
Correct FQCN (#35194)
PhilETaylor Aug 17, 2021
05d7f27
remove undefined class in docblock (#35187)
PhilETaylor Aug 17, 2021
15873bc
Build tools clean up/audit/fixes (#35198)
dgrammatiko Aug 17, 2021
27c0d84
s/Tag/TagTable (#35192)
PhilETaylor Aug 17, 2021
5848a02
s/Controller/BaseController (#35188)
PhilETaylor Aug 17, 2021
9370691
JSCS Fixes
wilsonge Aug 17, 2021
c088735
Fix JS CS (#35202)
dgrammatiko Aug 17, 2021
e232dc4
Upgrade Joomla Browser to non-codeception namespace (#35201)
wilsonge Aug 17, 2021
d34f948
Fixes for test failures (#35203)
wilsonge Aug 17, 2021
c592860
Add folder permissions check for com_joomlaupdate (#35199)
PhilETaylor Aug 17, 2021
9b4df4e
update cs-CZ installer language
zero-24 Aug 18, 2021
158c1be
Fix a typo as discussed with the TT for cs-CZ on the forum
zero-24 Aug 18, 2021
672ee34
update sv-SE installation language
zero-24 Aug 18, 2021
1064429
update docs (#35191)
PhilETaylor Aug 19, 2021
dfe7f1e
s/__DEPLOY VERSION__/4.0.0 (#35186)
PhilETaylor Aug 19, 2021
ece6c5d
Remove space in XML (#35159)
PhilETaylor Aug 19, 2021
801d873
s/recomile/recompile (#35236)
PhilETaylor Aug 19, 2021
1e8b5a1
s/__VERSION_DEPLOY__/4.0.0 (#35235)
PhilETaylor Aug 19, 2021
f114a2b
s/Authenication/Authentication (#35237)
PhilETaylor Aug 19, 2021
ab2b826
s/__DEPOY_VERSION__/__DEPLOY_VERSION__/ (#35242)
PhilETaylor Aug 19, 2021
be34407
add PHP6|7|8 to file extensions to scan for short tags (#35243)
PhilETaylor Aug 20, 2021
850de06
Correct typehint (#35241)
PhilETaylor Aug 20, 2021
10f3144
correct typehint (#35239)
PhilETaylor Aug 20, 2021
bf33df9
correct typehint (#35240)
PhilETaylor Aug 20, 2021
f28c65e
[4] Dont attempt LDAP connection if no host provided (#35233)
PhilETaylor Aug 20, 2021
156a14d
[4.0] Add deprecation note for CMSObject (#35221)
ditsuke Aug 20, 2021
09ec026
[4.0] fix translator note in joomla.ini / plg_editors_tinymce.ini (#3…
tecpromotion Aug 20, 2021
545d66a
replace deprecated class call (#35131)
PhilETaylor Aug 20, 2021
7abb409
Code cleanup (#35124)
PhilETaylor Aug 20, 2021
faf0443
Code Cleanup (#35125)
PhilETaylor Aug 20, 2021
d85d053
Replace Factory::getDbo() with $this->getDbo() (#34965)
joomdonation Aug 20, 2021
55b02c9
[4.0] fix typo in translator note (#35064)
tecpromotion Aug 20, 2021
b7eecde
com_joomlaupdate issue pointing to joomla 4 when showing as Default i…
zero-24 Aug 21, 2021
ac0c66d
docblock s/string/array (#35135)
PhilETaylor Aug 21, 2021
a0db31b
[3.10] [4.0] Fix wrong number of parameters for sprintf (#35148)
richard67 Aug 21, 2021
5f98698
[4] When using path::clean, a security method, correctly throw a usea…
PhilETaylor Aug 21, 2021
8aff16a
Remove non functioning Third Party GA Beacon (#35284)
PhilETaylor Aug 21, 2021
173ac7d
[4] Add padding in breadcrumbs when "You are here" not shown. (#35253)
PhilETaylor Aug 22, 2021
0214bbb
backport Add folder permissions check for com_joomlaupdate (#35271)
zero-24 Aug 22, 2021
23f2168
Backport: Add PHP6|7|8 to file extensions to scan for short tags (#35…
zero-24 Aug 22, 2021
975b0e2
[3.10] Add missing mssql updates (#35163)
zero-24 Aug 22, 2021
7774d2f
[3.10] Remove unused fields so they do not cause javascript errors du…
zero-24 Aug 22, 2021
37ce33d
[3.10] Make sure the pre-Upgrade Checker is only shown when there is …
zero-24 Aug 22, 2021
5177d55
fix syntax error
zero-24 Aug 22, 2021
145af88
updates for cy-GB installer language
zero-24 Aug 22, 2021
5590e0e
bump & fix com_joomlaupdate.xml
zero-24 Aug 22, 2021
e1ea3ba
revert the version back for now
zero-24 Aug 22, 2021
216b415
Bump com_joomlaupdate version
zero-24 Aug 22, 2021
a9e1b6c
Joomla! 3.10.1 Stable
zero-24 Aug 22, 2021
0616e43
fix language string case message for old sts settings
zero-24 Aug 22, 2021
9ffe7d4
reset to dev
zero-24 Aug 22, 2021
e7d879e
Improve size of user list
chmst Aug 22, 2021
4f2e497
Remove redundant constructor (#35292)
PhilETaylor Aug 22, 2021
892b1e2
Cleanup (#35290)
PhilETaylor Aug 22, 2021
adeb8b0
Remove redundant translation strings (#35293)
PhilETaylor Aug 22, 2021
67d1be7
Code Style (#35280)
PhilETaylor Aug 22, 2021
d132397
Remove doc block references to Joomla.Platform
wilsonge Aug 22, 2021
d1717f5
Remove references to Joomla.Libraries
wilsonge Aug 22, 2021
6d56c5b
Merge branch '3.10-dev' into 4.0-dev
wilsonge Aug 22, 2021
70d3d4d
Highlight the Home Dashboard link only when active page (#35294)
PhilETaylor Aug 22, 2021
9599bf4
Same Easing for Logo and Sidebar transition (#35265)
simbus82 Aug 22, 2021
96068fd
s/mixed/boolean (#35258)
PhilETaylor Aug 22, 2021
c85a0df
Fix CalendarField::filter to use correct format (#35222)
Fedik Aug 22, 2021
9ea5a8e
Solve Logo overflow over the header (#35266)
simbus82 Aug 23, 2021
b0a457c
[J4] not working switch RECORD HITS (#35154)
korenevskiy Aug 23, 2021
4aea28a
fix (#34881)
tecpromotion Aug 23, 2021
cb70aec
Add opening/closing p tag (#34846)
Aug 23, 2021
a0e2f45
[4.0] change %s to %d (#34845)
brianteeman Aug 23, 2021
268e492
[4] Ensure opcache file invalidate on file copy & delete (#32915)
PhilETaylor Aug 23, 2021
74b12f5
Fix `class_exists` checks in `restore_finalisation.php` (#35309)
nikosdion Aug 23, 2021
396aae1
[4] Dont delete /installation in development mode (#35220)
PhilETaylor Aug 23, 2021
9e4f8f9
[4.0] Load default language overrides (#35209)
bembelimen Aug 23, 2021
0c41f6b
[4] Remove J prefix from Class name (#35133)
PhilETaylor Aug 23, 2021
e27a854
[4.0] com_config site hr (#34958)
brianteeman Aug 23, 2021
3bb6894
Translation Update (#35321)
joomla-translation-bot Aug 23, 2021
a6f9e66
Fix model to match upcoming 3.10
wilsonge Aug 23, 2021
380e7c8
Update deleted files and folders for 4.0.1 (#35307)
richard67 Aug 23, 2021
beebf9e
Fix caching when HTMLDocument::countModules is used (#35225)
Fedik Aug 23, 2021
8c96877
[4.0] Menu preset export fix warning (#34990)
alikon Aug 23, 2021
f993049
[4] Build tools should preserve the original timestamps (#35310)
dgrammatiko Aug 23, 2021
c6bbe45
[4] Fix undefined classes in params (#35189)
PhilETaylor Aug 23, 2021
b6c931c
Update system files to have more languages in
wilsonge Aug 23, 2021
0e46ab4
Fix PHPCS
wilsonge Aug 23, 2021
133e9e8
Joomla 4.0.1
wilsonge Aug 23, 2021
e21a64b
Reset to dev
wilsonge Aug 23, 2021
6d975da
Remove package tag
wilsonge Aug 24, 2021
d3a06c5
[3.x] joomlaupdate comment (#35327)
brianteeman Aug 24, 2021
770797c
Fix for constructors missing (#35333)
PhilETaylor Aug 24, 2021
8466581
update version of sk-SK installer language
zero-24 Aug 24, 2021
f564450
bump updater version (#35336)
zero-24 Aug 24, 2021
b1a7f87
s/timout/timeout (#35343)
PhilETaylor Aug 24, 2021
642c014
s/cachtimeout/cachetimeout (#35348)
PhilETaylor Aug 24, 2021
c09e61b
4.0.2 release
wilsonge Aug 24, 2021
1bf44a5
Reset to dev
wilsonge Aug 24, 2021
b06f7c3
Allow it to be a PHP file so that any post-processing, alerting etc c…
PhilETaylor Aug 24, 2021
a95ef91
[4.0] Update Message (#35356)
brianteeman Aug 25, 2021
2f9ce76
[4] Fix spinner bg (#35339)
PhilETaylor Aug 25, 2021
7ba4b75
[4][com_finder] min value zero for Multiplier options (#35367)
alikon Aug 25, 2021
2a1c34b
[4.0] Quick Icons description (#35116)
brianteeman Aug 25, 2021
60a0f05
[4.0] Subform styling for non table layout (#35142)
Fedik Aug 25, 2021
5c24040
Shorten user list headlines (#35286)
bembelimen Aug 25, 2021
4f83a9d
Code Cleanup (#35123)
PhilETaylor Aug 25, 2021
1599c97
[4.0] download key tip (#34419)
brianteeman Aug 25, 2021
53e8897
[4.0] Added clear('order') in _getListCount(Query) of DataBaseModel.p…
socke300 Aug 26, 2021
c880f0a
A new version of the Joomla Update Component is available (#35374)
PhilETaylor Aug 26, 2021
ebb501e
s/timout/timeout (#35344)
PhilETaylor Aug 26, 2021
932dea2
[4] Catch LDAP Connection exceptions (#35347)
PhilETaylor Aug 26, 2021
862524e
[4] Layout One time emergency passwords correctly (#35254)
PhilETaylor Aug 27, 2021
b438be7
Fix Cassiopeia mobile breakpoint too small (#34780)
RickR2H Aug 27, 2021
16ab954
Add missing edit action in MM permissions (#35397)
laoneo Aug 28, 2021
ddb844b
[4.0] s/on/in (#35402)
brianteeman Aug 28, 2021
b2f9ce9
remove unused import (#35409)
PhilETaylor Aug 29, 2021
156db86
remove unused import (#35410)
PhilETaylor Aug 29, 2021
0e4f162
remove unused import (#35411)
PhilETaylor Aug 29, 2021
de3e354
Allow empty "text" if "name" is present (needed for 3rd party + butto…
Bakual Aug 29, 2021
0f10718
Fix js error in joomla.toolbar.batch (#35417)
Fedik Aug 29, 2021
1a6f5ae
Calculate the header space correctly (#35412)
PhilETaylor Aug 31, 2021
29018d3
[3] Change text when com_joomlaupdate update available (#35373)
PhilETaylor Sep 3, 2021
7db662a
update ro-RO installer language
zero-24 Sep 3, 2021
b99e734
Fix body overflow in dashboard due to dropdown (#35079)
RickR2H Sep 4, 2021
cabe406
[4.0] Use preload instead of prefetch alternative (#34890)
dgrammatiko Sep 4, 2021
742de2e
Fix javascript error for pre-update checker (#35481)
joomdonation Sep 4, 2021
c70520d
[4.0] Delete obsolete pkg_search in extensions table on update from a…
richard67 Sep 6, 2021
2c09fb0
Tab selector fixed (#35469)
joomlaboat Sep 8, 2021
616d643
[4.0] Capitalize "Hide all messages" (#34765)
Sep 8, 2021
8e6f8d4
Add missing install file to bump script
wilsonge Sep 9, 2021
b1b445e
[4] Remove PHP from a plain text file (#35138)
PhilETaylor Sep 9, 2021
696d3b6
[4.0] Make note field hideable (#35017)
ReLater Sep 9, 2021
82e8252
[4] Remove default secret (#35139)
PhilETaylor Sep 9, 2021
36d0214
Lookup correct form path (#35523)
Bakual Sep 10, 2021
0d156a2
fix undefined class (#35459)
PhilETaylor Sep 10, 2021
6a35ea8
Allow the translation bot to recompile the htmls (#35531)
dgrammatiko Sep 11, 2021
b1a3f7b
[4.0] One more (#35533)
dgrammatiko Sep 11, 2021
f2581cc
[3.10] Fix misleading "Update Required" in the pre-update checker (#3…
richard67 Sep 11, 2021
6615552
Merge branch '3.10-dev' into 4.0-dev
wilsonge Sep 11, 2021
3ab6503
[4.0] Make transitions translateable (#35457)
bembelimen Sep 11, 2021
5921e43
Translation Update (#35379)
joomla-translation-bot Sep 11, 2021
9025817
provide the real path as data-attr (#35049)
dgrammatiko Sep 12, 2021
6cc8c09
Update deleted files and folders to changes from PR #34890 (#35478)
richard67 Sep 12, 2021
fb5bdcd
Fix syntax
wilsonge Sep 12, 2021
35dc6ce
Tag 4.0.3 RC
wilsonge Sep 12, 2021
2d2b51f
Reset to dev
wilsonge Sep 12, 2021
e97dcbe
Fix Cassiopeia Offline (#35553)
dgrammatiko Sep 13, 2021
3e7c933
Fix wrong since tag coming from upmerge with deploy version (#35551)
richard67 Sep 13, 2021
27ffee6
Tag 4.0.3 stable
wilsonge Sep 12, 2021
a181a68
Reset to dev
wilsonge Sep 14, 2021
6900bb9
Adapt modal articles to articles (#35564)
chmst Sep 16, 2021
0103d14
[4.0.x] Update skipto (#35590)
brianteeman Sep 18, 2021
1a569d2
ZIP extraction helper for Joomla Update (#35388)
Sep 18, 2021
a6fbc4c
Fixes Debug bar not displaying logs by default #35454 (#35455)
beat Sep 18, 2021
7e49a2f
[4.0] Logged in users module (#35589)
brianteeman Sep 19, 2021
86d021c
[J4] Adds support for custom class on subforms via xml (#35577)
regularlabs Sep 19, 2021
32a13f0
rm cassiopeia/images/system (#35549)
wojsmol Sep 19, 2021
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.
45 changes: 6 additions & 39 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,20 @@ branches:

## Build matrix for lowest and highest possible targets
environment:
DLLVersion: "5.6.1"
PHPBuild: "x64"
VC: "vc15"
WINCACHE: "2.0.0.8"
matrix:
- php_ver_target: 7.2
DLLVersion: "5.3.0"
WINCACHE: "2.0.0.8"
- php_ver_target: 7.3
WINCACHE: "2.0.0.8"
- php_ver_target: 7.4

init:
- SET PATH=C:\Program Files\OpenSSL;C:\tools\php;%PATH%
- SET COMPOSER_NO_INTERACTION=1
- SET PHP=1 # This var relates to caching the php install
- SET ANSICON=121x90 (121x90)
services:
- mssql2014
- mysql
- postgresql94
- iis
Expand All @@ -35,48 +32,22 @@ install:
- IF EXIST C:\tools\php (SET PHP=0)
# TODO: This is a workaround for https://github.com/chocolatey/choco/issues/1843. Once this is fixed we
# should go back to latest version in appveyor saving ourselves test time
- ps: choco upgrade chocolatey -y --version 0.10.13 --allow-downgrade
- ps: choco upgrade chocolatey -y --version 0.10.13 --allow-downgrade --no-progress
- ps: >-
If ($env:PHP -eq "1") {
appveyor-retry cinst --params '""/InstallDir:C:\tools\php""' --ignore-checksums -y php --version ((choco search php --exact --all-versions -r | select-string -pattern $env:php_ver_target | sort { [version]($_ -split '\|' | select -last 1) } -Descending | Select-Object -first 1) -replace '[php|]','')
appveyor-retry cinst --no-progress --params '""/InstallDir:C:\tools\php""' --ignore-checksums -y php --version ((choco search php --exact --all-versions -r | select-string -pattern $env:php_ver_target | sort { [version]($_ -split '\|' | select -last 1) } -Descending | Select-Object -first 1) -replace '[php|]','')
}
- appveyor-retry cinst -y sqlite
- cd C:\tools\php
# Get the MSSQL DLLs
- ps: >-
If ($env:PHP -eq "1") {
cd c:\tools\php\ext
$source = "https://windows.php.net/downloads/pecl/releases/sqlsrv/$($env:DLLVersion)/php_sqlsrv-$($env:DLLVersion)-$($env:php_ver_target)-nts-$($env:VC)-$($env:PHPBuild).zip"
$destination = "c:\tools\php\ext\php_sqlsrv-$($env:DLLVersion)-$($env:php_ver_target)-nts-$($env:VC)-$($env:PHPBuild).zip"
Invoke-WebRequest $source -OutFile $destination
#appveyor-retry appveyor DownloadFile https://windows.php.net/downloads/pecl/releases/sqlsrv/$($env:DLLVersion)/php_sqlsrv-$($env:DLLVersion)-$($env:php_ver_target)-nts-$($env:VC)-$($env:PHPBuild).zip
7z x -y php_sqlsrv-$($env:DLLVersion)-$($env:php_ver_target)-nts-$($env:VC)-$($env:PHPBuild).zip > $null
$source = "https://windows.php.net/downloads/pecl/releases/pdo_sqlsrv/$($env:DLLVersion)/php_pdo_sqlsrv-$($env:DLLVersion)-$($env:php_ver_target)-nts-$($env:VC)-$($env:PHPBuild).zip"
$destination = "c:\tools\php\ext\php_pdo_sqlsrv-$($env:DLLVersion)-$($env:php_ver_target)-nts-$($env:VC)-$($env:PHPBuild).zip"
Invoke-WebRequest $source -OutFile $destination
#appveyor-retry appveyor DownloadFile https://windows.php.net/downloads/pecl/releases/pdo_sqlsrv/$($env:DLLVersion)/php_pdo_sqlsrv-$($env:DLLVersion)-$($env:php_ver_target)-nts-$($env:VC)-$($env:PHPBuild).zip
7z x -y php_pdo_sqlsrv-$($env:DLLVersion)-$($env:php_ver_target)-nts-$($env:VC)-$($env:PHPBuild).zip > $null
Remove-Item c:\tools\php\ext* -include .zip
cd c:\tools\php
}
- IF %PHP%==1 copy php.ini-production php.ini /Y
- IF %PHP%==1 echo date.timezone="UTC" >> php.ini
- IF %PHP%==1 echo extension_dir=ext >> php.ini
- IF %PHP%==1 echo extension=php_openssl.dll >> php.ini
- IF %PHP%==1 echo extension=php_mbstring.dll >> php.ini
- IF %PHP%==1 echo extension=php_fileinfo.dll >> php.ini
- IF %PHP%==1 echo extension=php_gd2.dll >> php.ini

- ps: >-
If ($env:PHP -eq "1") {
Add-Content php.ini "`nextension=php_sqlsrv.dll"
Add-Content php.ini "`nextension=php_pdo_sqlsrv.dll"
Add-Content php.ini "`n"}

- IF %PHP%==1 echo extension=php_gmp.dll >> php.ini
- IF %PHP%==1 echo extension=php_pgsql.dll >> php.ini
- IF %PHP%==1 echo extension=php_pdo_pgsql.dll >> php.ini
- IF %PHP%==1 echo extension=php_pdo_sqlite.dll >> php.ini
- IF %PHP%==1 echo extension=php_sqlite3.dll >> php.ini
- IF %PHP%==1 echo extension=php_pdo_mysql.dll >> php.ini
- IF %PHP%==1 echo extension=php_mysqli.dll >> php.ini
- IF %PHP_VER_TARGET%==5.6 IF %PHP%==1 echo extension=php_mysql.dll >> php.ini
Expand All @@ -100,7 +71,7 @@ install:
- IF %PHP%==1 echo opcache.enable_cli=1 >> php.ini
- IF %PHP%==1 echo extension=php_ldap.dll >> php.ini
- IF %PHP%==1 echo @php %%~dp0composer.phar %%* > composer.bat
- appveyor-retry appveyor DownloadFile https://getcomposer.org/composer.phar
- IF %PHP%==1 appveyor-retry appveyor DownloadFile https://getcomposer.org/download/latest-1.x/composer.phar
- cd C:\projects\joomla-cms
- appveyor-retry composer install --no-progress --profile
before_test:
Expand All @@ -113,10 +84,6 @@ before_test:
- PATH=C:\Program Files\PostgreSQL\9.4\bin\;%PATH%
- createdb joomla_ut

# Database setup for SQL Server
- ps: $sqlInstance = "(local)\SQL2014"
- ps: sqlcmd -b -E -S "$sqlInstance" -Q "CREATE DATABASE joomla_ut"

test_script:
- cd C:\projects\joomla-cms
- libraries/vendor/bin/phpunit --testsuite Unit
146 changes: 54 additions & 92 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,15 @@ name: default
clone:

steps:
- name: restore-cache
image: drillster/drone-volume-cache
settings:
restore: true
mount:
- ./libraries/vendor
cache_key: [ DRONE_REPO_NAMESPACE, DRONE_REPO_NAME, DRONE_BRANCH, DRONE_STAGE_NUMBER ]
volumes:
- name: cache
path: /cache

- name: composer
image: joomlaprojects/docker-images:php7.3-composer
depends_on: [ restore-cache ]
image: joomlaprojects/docker-images:php7.3
volumes:
- name: composer-cache
path: /tmp/composer-cache
commands:
- composer validate --no-check-all --strict
- composer install --no-progress --no-suggest
- patch -N -p0 < tests/patch/phpunit8_php8_match.patch || echo "Ignore this error."

- name: phpcs
image: joomlaprojects/docker-images:php7.2
Expand All @@ -32,51 +24,11 @@ steps:
- echo $(date)

- name: npm
image: node:current-alpine
image: node:14-alpine
depends_on: [ phpcs ]
commands:
- npm ci --unsafe-perm

- name: publish-diff
image: joomlaprojects/docker-images:patchtester
depends_on: [ npm ]
environment:
CMP_ARCHIVE_NAME: "build"
CMP_MASTER_FOLDER: "/reference"
CMP_SLAVE_FOLDER: "." # The directory the current repo is in
FTP_USERNAME:
from_secret: ftpusername
FTP_PASSWORD:
from_secret: ftppassword
FTP_HOSTNAME: ci.joomla.org
FTP_PORT: "21"
FTP_DEST_DIR: /artifacts
FTP_VERIFY: "false"
FTP_SECURE: "true"
BRANCH_NAME: "4.0-dev" # Current branch to check against (from repo joomla/joomla-cms)
DRONE_PULL_REQUEST: DRONE_PULL_REQUEST
commands:
- export PULL_ID=$DRONE_PULL_REQUEST
- /bin/compare.sh
volumes:
- name: reference
path: /reference
when:
branch:
- 4.0-dev

- name: rebuild-cache
image: drillster/drone-volume-cache
depends_on: [ npm ]
settings:
rebuild: true
mount:
- ./libraries/vendor
cache_key: [ DRONE_REPO_NAMESPACE, DRONE_REPO_NAME, DRONE_BRANCH, DRONE_STAGE_NUMBER ]
volumes:
- name: cache
path: /cache

- name: php72-unit
depends_on: [ phpcs ]
image: joomlaprojects/docker-images:php7.2
Expand All @@ -94,7 +46,6 @@ steps:
- name: php74-unit
depends_on: [ phpcs ]
image: joomlaprojects/docker-images:php7.4
failure: ignore
commands:
- php -v
- ./libraries/vendor/bin/phpunit --testsuite Unit
Expand Down Expand Up @@ -124,7 +75,6 @@ steps:
- name: php74-integration
depends_on: [ npm ]
image: joomlaprojects/docker-images:php7.4
failure: ignore
commands:
- php -v
- ./libraries/vendor/bin/phpunit --testsuite Integration
Expand Down Expand Up @@ -154,7 +104,6 @@ steps:
- name: php74-integration-pgsql
depends_on: [ npm ]
image: joomlaprojects/docker-images:php7.4
failure: ignore
commands:
- php -v
- ./libraries/vendor/bin/phpunit --testsuite Integration --configuration phpunit-pgsql.xml.dist
Expand All @@ -167,32 +116,20 @@ steps:
- php -v
- ./libraries/vendor/bin/phpunit --testsuite Integration --configuration phpunit-pgsql.xml.dist

- name: javascript-cs
- name: scss-cs
depends_on: [ npm ]
image: joomlaprojects/docker-images:systemtests
environment:
JOOMLA_INSTALLATION_DISABLE_LOCALHOST_CHECK: 1
image: node:current-alpine
commands:
- export DISPLAY=:0
- Xvfb -screen 0 1024x768x24 -ac +extension GLX +render -noreset > /dev/null 2>&1 &
- sleep 3
- fluxbox > /dev/null 2>&1 &
- npm run lint:js
- npm run lint:css

- name: javascript-tests
- name: javascript-cs
depends_on: [ npm ]
image: joomlaprojects/docker-images:systemtests
environment:
JOOMLA_INSTALLATION_DISABLE_LOCALHOST_CHECK: 1
image: node:current-alpine
commands:
- export DISPLAY=:0
- Xvfb -screen 0 1024x768x24 -ac +extension GLX +render -noreset > /dev/null 2>&1 &
- sleep 3
- fluxbox > /dev/null 2>&1 &
- npm run test
- npm run lint:js

- name: system-tests-mysql
depends_on: [ javascript-tests ]
depends_on: [ javascript-cs ]
image: joomlaprojects/docker-images:systemtests
environment:
JOOMLA_INSTALLATION_DISABLE_LOCALHOST_CHECK: 1
Expand Down Expand Up @@ -238,14 +175,15 @@ steps:
PLUGIN_EXCLUDE: ^\.git/$
commands:
- export PLUGIN_DEST_DIR=$PLUGIN_DEST_DIR/$DRONE_REPO/$DRONE_BRANCH/$DRONE_PULL_REQUEST/system-tests/$DRONE_BUILD_NUMBER
- echo https://ci.joomla.org:444$PLUGIN_DEST_DIR
- echo https://ci.joomla.org$PLUGIN_DEST_DIR
- /bin/upload.sh
when:
status:
- failure

- name: analysis4x
image: rips/rips-cli:3.2.2
failure: ignore
depends_on: [ api-tests ]
when:
repo:
Expand All @@ -254,8 +192,8 @@ steps:
- 4.0-dev
commands:
- export RIPS_BASE_URI='https://api.rips.joomla.org'
- rips-cli rips:list --table=scans -n -p filter='{"__and":[{"__lessThan":{"percent":100}}]}'
- rips-cli rips:scan:start -G -a 2 -t 1 -R -k -p $(pwd) -t 1 -T $DRONE_REPO_NAMESPACE-$DRONE_BRANCH || { echo "Please contact the security team at security@joomla.org"; exit 1; }
- rips-cli rips:list --table=scans --parameter filter='{"__and":[{"__lessThan":{"percent":100}}]}'
- rips-cli rips:scan:start --progress --application=2 --threshold=0 --path=$(pwd) --remove-code --remove-upload --tag=$DRONE_REPO_NAMESPACE-$DRONE_BRANCH || { echo "Please contact the security team at security@joomla.org"; exit 1; }
environment:
RIPS_EMAIL:
from_secret: RIPS_EMAIL
Expand All @@ -266,12 +204,9 @@ branches:
exclude: [ l10n_* ]

volumes:
- name: cache
host:
path: /tmp/cache
- name: reference
- name: composer-cache
host:
path: /tmp/reference
path: /tmp/composer-cache

services:
- name: mysql
Expand All @@ -291,23 +226,50 @@ services:
MYSQL_ROOT_PASSWORD: joomla_ut
MYSQL_DATABASE: test_joomla

- name: memcached
image: memcached:alpine

- name: redis
image: redis:alpine

- name: postgres
image: postgres:9-alpine
image: postgres:11-alpine
ports:
- 5432
environment:
POSTGRES_USER: root
POSTGRES_PASSWORD: joomla_ut
POSTGRES_DB: test_joomla

---
kind: pipeline
name: package

steps:
- name: packager
image: joomlaprojects/docker-images:packager
environment:
FTP_USERNAME:
from_secret: ftpusername
FTP_PASSWORD:
from_secret: ftppassword
FTP_HOSTNAME: ci.joomla.org
FTP_PORT: "21"
FTP_DEST_DIR: /artifacts
FTP_VERIFY: "false"
FTP_SECURE: "true"
HTTP_ROOT: "https://ci.joomla.org/artifacts"
DRONE_PULL_REQUEST: DRONE_PULL_REQUEST
DRONE_COMMIT: DRONE_COMMIT
GITHUB_TOKEN:
from_secret: github_token
commands:
- if [ $DRONE_REPO_NAME != 'joomla-cms' ]; then echo "The packager only runs on the joomla/joomla-cms repo"; exit 0; fi
- /bin/drone_build.sh
volumes:
- name: reference
path: /reference
when:
branch:
- 4.0-dev


---
kind: signature
hmac: 6e49e42776ccca0ae4ccfef5ec153134f8d97d069983715e2a3cea327f8f5398
hmac: eeef976e7f7c7dde8100d7dc4944250af4886b397250aab5c8069a021f4e3043

...
4 changes: 2 additions & 2 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# EditorConfig is awesome: http://EditorConfig.org
# EditorConfig is awesome: https://EditorConfig.org

# top-most EditorConfig file
root = true
Expand All @@ -11,6 +11,6 @@ charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.{js,scss,css}]
[*.{js,json,scss,css,vue}]
indent_style = space
indent_size = 2
15 changes: 0 additions & 15 deletions .eslintignore

This file was deleted.

Loading