* 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>
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.
* 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
* 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.
* 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