Commit Graph

64 Commits

Author SHA1 Message Date
Hannes Papenberg 25a4f1c840
[4.4] Appveyor: Raise MySQL to version 8.0 (#42271) 2023-11-02 12:50:05 +01:00
Allon Moritz 7611824c5c
Move API system tests to cypress (#40135)
* tests

* api

* artiucles crud

* banners

* contact

* media

* media

* Remove codeception

* cs

* more traces of codeception

* readd certs

* dependencies

* more deps

* secret

* cs

* better doc

* write

* config workaround

* cs

* revert

* prepare db for api tests

* variable

* revert pool

* end connections

* no limit

* cs

* prefix

* Update tests/cypress/drone-system-run.sh

* run specific specs in drone

* Update tests/README.md

Co-authored-by: Brian Teeman <brian@teeman.net>

* Update tests/cypress/integration/api/com_media/Files.cy.js

Co-authored-by: Brian Teeman <brian@teeman.net>

* Update tests/cypress/integration/api/com_media/Files.cy.js

Co-authored-by: Brian Teeman <brian@teeman.net>

* postgres

* media on postgres

* sign

* cs

* remove more traces

* basic api tests

* cleanup

* path

* run recursive specs

* chmod images folder

* path to cms

* correct dependencies and better cleanup

* cleaner deps

* Update tests/cypress/drone-system-run.sh

Co-authored-by: Brian Teeman <brian@teeman.net>

* missing fields

* stabilize cleanup

* cs

* secret in install test

* order of tests

* optimize cleanup

* cs

* cache the connection

* revert connection cache

* docs

* Rename cypress to system

* lint

* simplification and docs

* docs

* better cleanup

* move

* merge conflict

* remove redundant connect

---------

Co-authored-by: Brian Teeman <brian@teeman.net>
2023-03-20 09:51:42 +01:00
George Wilson 4b0a3d6a53
Fix version for now 2023-02-23 23:56:10 +00:00
tatankat 8a87326f65
Add ldap tests (#38593) 2022-09-15 16:06:40 +02:00
Nicholas K. Dionysopoulos 170f91a637
Refactored WebAuthn with Windows Hello support (#37910)
* Refactored WebAuthn plugin

* Fix the WebAuthn management page which was broken in https://github.com/joomla/joomla-cms/pull/37464

* Fix wrong `@since` doc tag

* Fix docblock typo

* Fix docblock typo

* Fix docblock typo

* Fix docblock typo

* Fix docblock typo

* Fix broken management interface

* Make unnecessarily static method back into non-static

* Replace static helper with injected object

* Come on, commit the ENTIRE file!

* Use the user factory

* Fix error when going through the user factory

* Fix: cannot add WebAuthn authenticator right back after deleting it

* Remove useless switch branch

* Remove useless exception

* Display make and model of the authenticator, if possible

* Add missing JWT signature algorithms

* Fix copyright date

* Fix for PHP 8 using FIDO keys and Android phones

* Reactivate the tooltips after adding an authenticator

* Option to disable the attestation support

* The Windows Hello icon was invisible on white background

* Attempt to fix Appveyor not having Sodium in the Windows build

* Work around third party library bug...

* Create events in a forwards-compatible manner

* Concrete events

* Fix event woes

* Update plugins/system/webauthn/webauthn.xml

Co-authored-by: Brian Teeman <brian@teeman.net>

* Update administrator/language/en-GB/plg_system_webauthn.ini

Co-authored-by: Brian Teeman <brian@teeman.net>

* Improve the layout for editing an authenticator

It now follows the Bootstrap 5 form aesthetic. Moreover,
there are gaps between the text input and the Save and
Cancel buttons.

* Confirm deletion of authenticators

* Make the bots happy again

* Code polishing

* Marking classes final
* Use setApplication / getApplication in the plugin class
* Remove unused `$db` from the plugin class

* Blind fix

Currently #38060 has broken everything it seems?

* Bring application injection in sync with core

* Remove whitespace

* Add use statement

* Fix wrong event creation in AjaxHandlerLogin

* License change

Co-authored-by: Richard Fath <richard67@users.noreply.github.com>
Co-authored-by: Brian Teeman <brian@teeman.net>
Co-authored-by: Roland Dalmulder <contact@rolandd.com>
Co-authored-by: Allon Moritz <allon.moritz@digital-peak.com>
Co-authored-by: Harald Leithner <leithner@itronic.at>
Co-authored-by: George Wilson <georgejameswilson@googlemail.com>
2022-06-27 19:16:07 +02:00
Robert Deutz f761e6216c
[4.1] Remove php version to speed up the test (#37587) 2022-04-20 10:28:08 +01:00
Hannes Papenberg 7c12dc7b00
Adding PHP8 to appveyor setup as well as integration tests (#37412) 2022-04-01 15:49:07 +02:00
Brian Teeman 831c4f1a15
[4.1] @todo (#36612)
Most IDE have tools to quickly find @todo in the code base. This PR corrects the usage of TODO instead of @todo. It will make it easier in future to work through these items, check that they are still valid, and resolve them.
2022-01-09 02:12:24 +01:00
Richard Fath 9e540320d9
[4.0] Update download URL of composer 1 for appveyor (#33507)
* Update download URL of composer 1 for appveyor

* Fix file name in bat file, too
2021-05-03 17:06:17 +02:00
wilsonge a14aa96b42
Merge commit '5de9975' into 4.0-dev 2020-12-03 00:59:44 +00:00
Harald Leithner e042bb55c3
Set composer version to 1 on appveyor (#31225) 2020-10-24 21:06:23 +02:00
Hannes Papenberg 26aa33ca77
Downloading explicit composer.phar (#30553) 2020-09-04 09:28:33 +01:00
Hannes Papenberg 822b6240d4
Further optimisations 2020-08-28 21:18:14 +02:00
Hannes Papenberg 128c24f1af
Appveyor: Cleaning up logfile 2020-08-28 21:09:47 +02:00
wilsonge 75b3d190b1
Merge branch '3.10-dev' into 4.0-dev 2020-05-29 22:42:32 +01:00
George Wilson 3687dba27e
Fix appveyor build by using latest stable composer 2020-05-11 10:43:23 +01:00
Hannes Papenberg 0e8f3e4046
[4.0] Cleanup of Appveyor test builds (#28642)
* Changing composer version for Appveyor to a 1.x version

* Remove MSSQL and SQLite from the testsetup of appveyor

* Adding PHP 7.4 to Appveyor

* Fixing test setup

* Remove commented configuration directives
2020-04-11 14:26:12 +02:00
Hannes Papenberg 16d7e656b1
Hiding download progress of chocolatey in Appveyor (#28629) 2020-04-10 23:45:35 +01:00
George Wilson 7850975916
Remove PHP 7.4 as an allowed failure (#28521)
* Remove PHP 7.4 as an allowed failure

* Use stable 7.4
2020-03-31 12:54:49 +02:00
George Wilson b8a3488e64
Update Appveyor to test against PHP 7.4 (#28115) 2020-03-28 18:59:25 +00:00
Robert Deutz d4f7515d77
Fix appveyor gmp library (#28234)
merged on code review
2020-03-05 10:50:27 +01:00
Robert Deutz 46d0563e35
[4.0] Testing gmp.dll added to appveyor (#28099) 2020-02-28 12:19:29 +01:00
Brian Teeman c80a4a0c1a [4.0]housekeeping (#27264)
* [4.0]housekeeping

fixes various typos and grammar mainly in code blocks and comments

* Update FeedParserTest.php

* fix over agressive search/replace
2019-12-20 15:37:12 -08:00
George Wilson 23def74519 Merge commit '27f1a72' into 4.0-dev 2019-11-12 10:56:09 +00:00
George Wilson 114ac53ed9
Use upgrade rather than install per feedback in issue 2019-09-01 01:34:40 +01:00
wilsonge 178d454c92
Merge commit 'f6efc5a' into 4.0-dev 2019-08-31 14:36:59 +01:00
Hannes Papenberg d1e34c9c7f Downgrade choco to a version that works (#25804) 2019-08-10 09:55:16 +01:00
George Wilson 9cfec001c9
Downgrade choco to a version that works (#25803)
Recommended workaround to https://github.com/chocolatey/choco/issues/1843
2019-08-10 09:54:41 +01:00
Hannes Papenberg b4b63a2da9 [4.0] Add an Integration test suite stub (#25118) 2019-07-11 23:48:37 +01:00
George Wilson 12c4224034
Fix wincache download on php 7.2 2019-06-11 11:45:57 +01:00
George Wilson 11ed0601f3
Fix two more instances 2019-06-11 11:36:42 +01:00
George Wilson dc5c61db35
Fix another missed instance to env 2019-06-11 11:25:06 +01:00
George Wilson 196f9749a7
Missed a couple of places 2019-06-11 11:12:50 +01:00
George Wilson 2b0ad82658
Fix appveyor downloads of sqlsrv php extension
This is a partial port of https://github.com/joomla/joomla-cms/pull/24512 from staging
2019-06-11 11:12:10 +01:00
Hannes Papenberg 6caaceeec8 Cleanup appveyor builds (#24976) 2019-05-31 13:50:54 +01:00
J0WI dc7c6f61d0 Add PHP 7.2 and 7.3 to AppVeyor (#24512) 2019-05-08 22:05:40 +02: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
Robert Deutz 2ea364fe70
exclude language files changes 2018-09-10 20:00:12 +02:00
Robert Deutz 87db4f62e7
exclude language files changes 2018-09-10 19:59:32 +02:00
Robert Deutz 2982a6334b build a not on windows group (#21633) 2018-08-16 10:27:54 +01:00
Robert Deutz 3210d37cab remove files, see readme for details (#20161) 2018-04-13 09:54:24 -05:00
Robert Deutz 3003e5ff27
make sure latest test are used 2018-04-02 20:19:12 +02:00
Robert Deutz 9f4aaad46e
adding php 7.2 testing to appveyor 2018-04-01 12:19:12 +02:00
Robert Deutz 9698da5ddc
syntax fix 2018-03-31 18:55:52 +02:00
Robert Deutz bc050b4c6d
remove php 5.6 from testing 2018-03-31 18:50:42 +02:00
Robert Deutz 5e932d1b4a
trying to get appveyor working again 2018-03-31 18:36:35 +02:00
Robert Deutz e78c77f162
let appveyor use the new unit test package 2018-03-31 18:05:25 +02:00
Walt Sorensen 23d2b43449 Fix appveyor builds and bump driver dll version (#19805)
* bump driver dll version and add php 7.2

* remove php 7.2 until drivers are available

* Use powershell 'Invoke-WebRequest' Workaround

When you use appveyor command-line utility to download, its user-agent is empty, 
Some sites do not allow empty user-agents to download. 
Use powershell 'Invoke-WebRequest' Workaround until appveyor fixes their command-line utility to have a user agent
2018-03-14 08:21:58 +01:00
wilsonge 7f909084d1
Merge commit 'e7581675b70302e7753526ab66160e56284673d3' into 4.0-dev 2017-09-03 17:27:37 +01:00
wilsonge 4c5c9172b9
Merge commit '4b6d1863b7b7fb8249424423baaa5192de9cf666' into 4.0-dev 2017-09-03 11:41:04 +01:00