29
0
mirror of https://github.com/joomla/joomla-cms.git synced 2024-08-04 18:20:29 +00:00
Commit Graph

2177 Commits

Author SHA1 Message Date
Jelle Kok
effa28d607 [4.0] Codestyle fixes for tests dir (#25550)
* Codestyle fixes for tests

* fix the 5 other files

* docblock fixes

* more codestyle

* more codestyle

* update change MockObject

* Update Codeception codestyle

* remove exclusion  on drone for tests dir

* revert tests dir
2019-07-20 22:34:02 +01:00
Jelle Kok
e348081acd [4.0] Codeception codestyle (#25523) 2019-07-12 16:41:14 +01:00
Hannes Papenberg
b4b63a2da9 [4.0] Add an Integration test suite stub (#25118) 2019-07-11 23:48:37 +01:00
Puneet Kala
9840a99948 Updating Localhost testing setup instructions, adding selenium standalone node module (#25483) 2019-07-11 23:10:18 +01:00
wilsonge
7df37f57a3 Joomla! 3.9.6 release
-----BEGIN PGP SIGNATURE-----
 
 iQHIBAABCgAyFiEEc8tLlhrb4aveTfJiRzuTXEnqGwgFAlzQmmMUHGxlaXRobmVy
 QGl0cm9uaWMuYXQACgkQRzuTXEnqGwjvDAwA2ruJKrRrp3kfO9lhkgdV+RNyB0DN
 OQzBrVFBGKQduc7CWBIsfZYp/VlG2f6hugkEDloqpq3J1iFauygR/zBRWroEoU0r
 M/bsVBEszLGeeaa9ZI63RBtw1k3wNlrYKEsf6Wbki2j25vWKOZou7XJu0ccICM2B
 B+s6URtNtkuQu5kEKliH7kTUCaGnkI9BSDUUZmo+eihgxOMNTAJ4rY0MHtT9yoPn
 M2w3X3GykxKTOPYK5p9HNNNLH5zNPzIyzQsIuNj30F0LfyHIOVHNK6yTv0bOg5+T
 Ulh1zZmachGQrO168MhIICVTguGH14/Ld0O/gzIEFH8E9DAX2m+HUIq8hzcdM2K1
 hB3B0Evpw0fEriMYKuVZHyw0ADUvrSgfrZTJ7nWBSyENE78GjAR+sUAJbjph/hxs
 cJ4IPGxx/pHoBKRW4lYepsdY6gV25nhu5o6zb+yO6vLObFFa/5LZdTd0PWl+huTk
 ZMheIqD5BuBEqZwDlWI3OcSo424c+v9sA+Pv
 =C3bu
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEE5a/8IjweQSgQZsLg74Exkxj8nQQFAl0ehXwACgkQ74Exkxj8
 nQRgjgf+ODdrEEC1YOdxGog2zZhpnxAyTw6vVB+jXm2tzhav6Q44foDOpcnjXejV
 /3c3z3OYnQfaVoPU49sEjSfC17V0zYTMnfm/RvAth4UzWmENaD3JMlCKaS708elN
 wPe/d9S54PDNTbQutPg0A31s3F8BM6rc4bCX8K5GgwGQIrXvZqDlwYq165Cs/CGD
 v3/zynl2NOaJmj+25iChvdp29fOfFRX24T3RXRik024HUM1zJrzcSxWypuPp+3BA
 8XWs2IoWvXPXNce1uohLYcz6cTGJ4IaewYOj7hJZkLCMcc+BbXf+ti97N4uhcg0j
 FNGI0ase3Ov5vMZzz7tqC3bkq89O4g==
 =Vkyc
 -----END PGP SIGNATURE-----

Merge tag '3.9.6' into 4.0-dev

Joomla! 3.9.6 release
2019-07-05 00:02:18 +01:00
Hannes Papenberg
01a4735e27 Adding additional delays to system tests (#25383) 2019-07-01 00:37:29 +02:00
Hannes Papenberg
d6178a8312 [4.0] Systemtests: Add delays to wait for JS to be loaded (#25372) 2019-06-30 10:41:58 +02:00
Hannes Papenberg
bf2e690611 Fixing chrome options (#25361) 2019-06-28 22:50:27 +01:00
Hannes Papenberg
ef506c4282 [4.0] Updating PHPUnit to 8.0 (#24989) 2019-06-22 11:25:03 +02:00
Hannes Papenberg
128eafb902 Adding Postgres to system tests (#24949) 2019-05-20 09:14:27 +02:00
wilsonge
73e05fab0f
Tag 4.0 Alpha 9 2019-05-16 19:03:26 +01:00
Hannes Papenberg
449ff85122 [4.0] Moving System & API Tests to main repo (#24808)
* Moving API Tests to main repo

* Codestyle

* Codestyle

* Adding system tests to main repo

* Codestyle and signing drone.yml

* Codestyle

* More Codestyle

* Adding requirements for system tests

* More fixes to system tests

* More fixes

* Removing additional composer commands

* Adding _bootstrap.php back in

* Making system test message nicer

* Making API test message nicer

* Styling CLI messages

* Signing .drone.yml
2019-05-11 18:56:38 +02:00
David Jardin
b7cf1b9b74 Fix classloader reference (#24792) 2019-05-05 11:59:20 +02:00
Brian Teeman
8507bfaa64 [4.0] Switcher Field (#24463) 2019-05-04 18:41:42 +02:00
Jelle Kok
aa9daa3f76 Add Edge (chromium) support (#24379) 2019-04-23 18:56:13 +02:00
wilsonge
1c9b23223f
Tag 4.0 Alpha 8 2019-04-18 14:21:03 +01:00
George Wilson
27c9838dfd Merge commit 'b141556' into 4.0-dev 2019-04-12 11:03:19 +01:00
Brian Teeman
8e3243b185 [4.0] Remove magic quotes (#24320)
Final removal of remnants of magic quotes related code

as magic quotes was completely removed in php 5.4 there can never be an instance when it will be triggered in j4
2019-03-23 19:01:18 +01:00
Michael Babker
37491f2ca3 Add a writable command loader (#24223) 2019-03-17 23:29:39 +00:00
Hannes Papenberg
9868122a3e Fixing name of Microdata Test (#24172) 2019-03-13 19:52:14 +01:00
dGrammatiko
d8c082f7f7 [4.0] Bring the Tests Back Home (#24044)
* Bring the Boys Back Home

"Bring the Boys Back Home" is a song from the Pink Floyd album, The Wall.
Irrelevant, this PR just bings back the javascript tests

* upd

* .md

* Delete package-lock.json

* grrr, that file wasn;t deleted in the first place
2019-03-10 15:47:55 +01:00
David Neukirchen
772fa72f98 Feature/unit tests (#23986)
* Move unit tests back to repository

* Update config files

* Psr-4 autoload tests

* Namespace JHtmlTests

* Delete unused html test files

* Add base unit test case

* Namespace Cms Tests

* Refactoring JLayoutBaseTest

* Delete JPaginationObjectTest

We do not test constructors! ;-D

* Refactor JToolbarButtonCustomTest

* Remove JToolbarButtonTest

We should not test constructor params and getters/setters

* Refactor JToolbarTests

* Refactor JVersionTest

* Run all library tests in the library suite

* Move JAccessTests to new unit suite

* Refactor JAccessRulesTest

* Add JAccessRuleTest

* Add to string test

* Remove JGrid (Class does not exist anymore)

* Remove JDocumentRendererTest

JDocumentRenderer is abstract class with only a public getter

* Rename tests/unit to tests/Unit

* CS

* Fix path to bootstrap file

* CS

* Re-enable, fix and refactor JDocumentTest

* Refactor and re-enable JBrowserTest

* Refactor and re-enable JObjectTest

* Use Joomla\Tests as root namespace

* Refactor and re-enable JFeedParserAtomTest

* Rename mock

* Namespace JHtmlStringTest

* Refactor and re-enable JFeedParserRssTest

* Refactor and re-enable JFeedEntryTest

* Use assertArrayHasKey

* Improve FeedEntry tests

* Refactor and re-enable JFeedFactoryTest

* Refactor and re-enable JFeedLinkTest

* Rename JFeedLinkTest To FeedLinkTest

* Remove JFeedPersonTest

we dont test simple constructors

* Add expectation

* Refactor and re-enable JFeedParserTest

* CS

* Refactor and re-enable JFeedTest

* Refactor and re-enable JMailHelperTest

* Fix bug in Mail class

* Refactor and re-enable MailTest

* Refactor and re-enable JMicrodataTest

* Remove JPlatformTest

* Remove tmp dir

* Fix namespaces

* Delete JLoaderTest

It heavily depends on filesystem and therefore should be tested with integration tests.
2019-03-10 15:20:06 +01:00
Harald Leithner
1ecb97f2dd Joomla! 3.9.4 Release Candidate 2019-03-08 18:05:28 +01:00
Tomasz Narloch
6c9ff8e0a8 Fix dateadd function for MS SQL Server (#23211) 2019-03-05 12:39:29 +01:00
Roberto Segura
1ae453b536 Explicitly include default layout paths in FormField (#22645) 2019-02-26 14:22:27 +01:00
Harald Leithner
8fdbcb1630 Prepare 3.9.3 release 2019-02-11 18:46:59 +01:00
Quy
45e4a9abca Fix field name typo (#23595) 2019-02-09 17:27:34 +01:00
infograf768
65ed0e3caa Deleting unused Banned fields (#23585) 2019-02-01 11:59:16 +01:00
Wojciech Smoliński
d0dca8c91f [3.9][a11y] Improve accessiblity in mod_search (#23692)
Add role="search" to mod_search form-tag
2019-01-29 10:45:03 +01:00
Peter Martin
b990635da9 Fixed small typos in months of Joomla core extension (#23552) 2019-01-15 19:40:54 +00:00
Michael Babker
3ed1b9f2f2
Prepare 3.9.2 release 2019-01-14 19:47:09 -06:00
Michael Babker
bc84ea1027
Prepare 3.9.2 release candidate 2019-01-11 07:41:07 -06:00
Michael Babker
fc98c8de99
Merge pull request #20584 from Quy/patch-10
Change spacer's tooltip from tooltip to popover
2018-12-01 12:08:25 -06:00
SharkyKZ
40d0517be1
Update tests/unit/suites/libraries/joomla/form/fields/JFormFieldSpacerTest.php
Co-Authored-By: Quy <quy@fluxbb.org>
2018-11-25 13:16:13 -08:00
Quy
f13565d179
Update test 2018-11-20 18:34:17 -08:00
Tomasz Narloch
30ab125633 [3.9] Fix navigating to the first page in pagination when SEF is off (#23042) 2018-11-17 11:28:34 -06:00
Brian Teeman
b141556de2 Replace Platform Version Strings in Libraries (#22605)
* 11.1 ==> 1.7.0

* 11.2 ==> 1.7.0

* 11.3 ==> 1.7.3

* 11.4 ==> 2.5.0

* 12.1 ==> 3.0.0

* 12.2 ==> 3.0.1

* 12.3 ==> 3.1.4

* 12.4 ==> 3.3.0

* 13.1 ==> 3.2.0

* 13.3 ==> 4.0

* drone

* 3.5.1
2018-10-15 19:08:39 -05:00
continga
f2a9874944 Create possibility for nested subforms (#17552)
* This is a combination of 8 commits.
This is the 1st commit message:

> First WIP version of supporting nested subforms.

This is the commit message #2:

> Fix nested subforms not getting correct name attribute on input fields.

This is the commit message #3:

> Fix subform rows having invalid index, fix small typo.

This is the commit message #4:

> Replace the unique subform id via random bytes by just an increasing integer in the fields type rendering process.

This is the commit message #5:

> Implement feedback from PR at Joomla;
> - Use a <template> HTML element for the template of the subform rows,
>   not a url encoded string inside of a <script> element.
> - Fix code style errors reported by phpcs.
> - Make the fixing of the unique attributes (name, id, etc) of input elements
>   of nested subform rows more errorprone, using the same method as the main
>   subform row.
> - Manually add a minified version of the javascript file.

This is the commit message #6:

> Fix failing javascript tests due to changed structure of subform repeatable template container.

This is the commit message #7:

> Change subform repeatable javascript test to correctly check on
> 0-indexed rows, previously they have been 1-indexed.

This is the commit message #8:

> Fix a problem where multi-level subforms on the same level doesnt trigger their template correctly.
> Additionally added a note why the fixScripts() method is broken and how it could get better.

* Commit code styling errors and add an aria label for the outermost 'add' button.

* Fix double group-add button on repeatable subform type.
2018-09-22 10:15:20 -05:00
Michael Babker
1ddb06da14 Fix tests 2018-09-09 10:58:46 -05:00
Michael Babker
46048f3b10 Merge branch 'staging' of github.com:joomla/joomla-cms into 3.9-dev 2018-09-03 12:23:04 -05:00
Nicola Galgano
7642d6a1cd [SQL] - use db api dateAdd() instead of mysql dialect (#21844)
* [sql] - use db api dateadd() instead of mysql dialect

* use the api in the model

* try to circumvent

* the mysql side

* fool test

* Use -1 * $relativeDate

* Fix unit test for MySQL

* Correct doc of addDate() for MySQL, remove trim

* Correct doc of dateAdd for PostgreSQL

* Correct again doc of addDate for MySQL

* Correct uniut test for PosrgreSQL

* Codestyle doc block

* Fix codestyle for Drone

* removed mixture of double quotes and single quotes
2018-09-03 12:13:01 -05:00
Michael Babker
a77783a475
Prepare 3.9 Alpha release 2018-08-31 07:25:51 -05:00
zero-24
e8652f7592 [3.9] Add Argon2id Password Support (#20855)
* Add support for Argon2id in PHP 7.3

* add test case

* fix order thanks @HLeithner
2018-08-28 18:34:31 -05:00
Michael Babker
3d6f25ba71 Merge branch 'staging' of github.com:joomla/joomla-cms into 3.9-dev 2018-08-28 09:03:36 -05:00
Michael Babker
6c718c0602
Prepare 3.8.12 release candidate 2018-08-24 10:45:25 -05:00
Michael Babker
e3cbeea28e Merge branch 'staging' of github.com:joomla/joomla-cms into 3.9-dev 2018-08-18 11:04:41 -05:00
Robert Deutz
c8095c4b92
I will use tabs, I will use tabs, I will use tabs, …. 2018-08-18 14:02:38 +02:00
Robert Deutz
c506eac3d3
add a note why we have a not-on-windows group 2018-08-17 14:56:10 +02:00
Robert Deutz
2982a6334b build a not on windows group (#21633) 2018-08-16 10:27:54 +01:00
Tomasz Narloch
b4fb261adf Escaping float value should be non-locale aware (#20643)
* Escaping float value should be non-locale aware

* Fix sqlite query dateAdd and add unit tests
2018-08-09 07:49:05 -05:00