Commit graph

86 commits

Author SHA1 Message Date
Mike Macgirvin
307090ca5c add key discovery tests and try once more to fix notification open/close 2024-03-09 10:37:02 +11:00
Mike Macgirvin
9c8f57567f improve key discovery/parsing 2024-03-08 17:02:09 +11:00
Mike Macgirvin
1ed3fcf68e Remove LD-signatures with extreme bias. 2024-01-03 11:17:40 +11:00
Mike Macgirvin
6b4b05d63e more ed25519 stuff, recursion in system_unavailable. 2024-01-02 12:25:37 +11:00
Mike Macgirvin
8803be2ca3 cleanup 2022-08-25 21:43:03 +10:00
Mike Macgirvin
4e42be4edb Add test for de 2022-07-05 21:25:29 +10:00
nobody
9dc37df489 refactor language detection 2022-07-05 11:34:07 +10:00
nobody
ed0d4048c1 add messagefilter test 2022-07-04 08:25:08 +10:00
nobody
a23be70d68 fix/reset unit tests 2022-07-04 06:34:46 +10:00
Mike Macgirvin
e1e2c68653 rename include/text -> include/misc 2022-06-17 16:59:11 -07:00
nobody
a8e96322f0 it's done 2022-02-15 20:08:28 -08:00
nobody
4dd986a2db This checkin is surely broken, but I need to commit it because it represents a fair bit of work. 2022-02-12 00:50:48 -08:00
nobody
d46dd6aeb8 psr12 rewrites, continued 2021-12-03 14:01:39 +11:00
nobody
f602a393a5 psr12 updates 2021-12-03 10:02:31 +11:00
nobody
389b2e5b17 initial psr12 conversion 2021-12-03 09:33:36 +11:00
nobody
d69589e17e scripted replace of 'array()' with '[]' 2021-03-14 22:10:44 -07:00
zotlabs
d28f957b54 move php-id3 and text_languagedetect from composer (/vendor) back to /library because their autoloaders are no longer supported in composer and no longer work in some distros. The packages themselves are unmaintained and it is unlikely they will be fixed upstream. This leaves HTMLPurifier to be fixed - which is in progress and should happen in the next several days. 2020-06-15 18:01:20 -07:00
zotlabs
a8b7e73662 deprecate simplepie and RSS connections 2020-02-17 14:58:21 -08:00
DM42.Net (Matt Dent)
07f86afa43 Consolidate role settings 2019-07-12 11:52:04 -04:00
zotlabs
cb2a64b036 move markdown to zlib 2019-04-11 21:10:31 -07:00
zotlabs
f25a48c54a accesscontrol rename 2019-02-14 16:01:40 -08:00
zotlabs
af66054c1e tests updated for handle_tag() changes, Firefox slider no longer honours background color if proprietary foreground is unset. 2019-02-03 18:22:30 -08:00
zotlabs
5ef1b23d0f fixes from upstream 2018-10-30 21:28:51 -07:00
Mario Vavti
28bc4089d0 fix permission role test 2018-04-23 10:03:39 +02:00
zotlabs
95059f2bfd fix permissionlimitstest after recent changes 2018-04-21 00:37:04 -07:00
git-marijus
06026c1c27
Merge pull request #1009 from dawnbreak/QA_testing
👷Extend Travis, add PostgreSQL10.
2018-03-23 10:26:26 +01:00
Mario Vavti
eec4d9b5ad an attemot to fix the PermissionRolesTest 2018-03-23 10:16:06 +01:00
Klaus Weidenbach
a732b2bca1 👷Extend Travis, add PostgreSQL10.
Add PostgreSQL10 to TravisCI through Docker container.
Use PHP7.2 instead of PHP7.1 as default test environment.
Update to current stable MariaDB 10.2 from stable (GA) 10.1.
2018-03-17 23:27:56 +01:00
Klaus Weidenbach
7c28a40c3e Unit Test for HTTPSig. 2018-02-28 16:04:13 +01:00
Mario Vavti
68c6d7a099 fix syntax error 2018-02-27 09:55:10 +01:00
zotlabs
cbcf389f50 fix autoname test 2018-02-26 14:30:04 -08:00
Klaus Weidenbach
210c91398d Make it little bit less likely to erase a real database.
Changed the default PHPUnit database environment variables to make it
little bit less likely to truncate accidently a real database.
2018-01-29 22:01:40 +01:00
Klaus Weidenbach
4bf0c9e36a Add tests for non existent tables.
Prevent PHP warnings "Undefined variable" in dba_pdo::q();
2018-01-28 23:02:46 +01:00
Klaus Weidenbach
fb111e6d95 Unit Test for dba_pdo driver class. 2018-01-28 22:56:21 +01:00
Klaus Weidenbach
e177462c90 Unit Test for \DBA factory. 2018-01-28 22:56:21 +01:00
Klaus Weidenbach
063654373d Fix a PHP error in a unit test for PHP7.2. 2017-11-25 21:49:51 +01:00
Klaus Weidenbach
ee929752e3 👷Improve Travis, add PHP7.2.
Improve Travis CI configuration a bit and add PHP7.2 to the test matrix.
Add PHPUnit Testdox output and optionally deploy test results on release tags.
Add a configuration file for infection (Mutation Testing Framework).
2017-11-25 21:49:51 +01:00
Klaus Weidenbach
c571ca40d7 unit tests for Zotlabs\Access classes. 2017-11-10 21:22:18 +01:00
Klaus Weidenbach
1be98d7b7f Some more work on unit tests.
Some small improvements for coverage report.
Add more functions from include/text.php
Update composer dev libraries for phpunit.
2017-10-29 22:00:55 +01:00
Klaus Weidenbach
66832c41e9 ⬆️ Update intl library.
Update intl library from v0.4? (2014) to v0.7.4 (2016).
Use global composer autoloader now.
2017-10-29 22:00:12 +01:00
Klaus Weidenbach
8e4c5db766 ⬆️ Update Text_LanguageDetect.
Update from v0.3.0 (2012) to v1.0.0 (2017) which should remove some
warnings and improve PHP7 support.
Using composer to handle this PEAR library now.

Fix a problem in FeedutilsTest.
2017-10-29 22:00:06 +01:00
Klaus Weidenbach
fe5f1e4d67 Some unit test for include/language.php
Unfortunately not so much unit testable, but added in preparation to
update LanguageDetect and Intl library.
2017-10-26 01:21:43 +02:00
zotlabs
9dbd997141 Merge branch 'dev' of https://github.com/redmatrix/hubzilla into xdev_merge 2017-06-07 17:11:35 -07:00
Klaus Weidenbach
4bd825e778 👷 Add MySQL 5.7 in TravisCI.
Use a Docker container to add MySQL 5.7 in TravisCI.
A lot of sql_mode settings have changed with 5.7, so finnaly provide it
to test against it.
2017-06-05 23:42:13 +02:00
zotlabs
d3cad5a651 Merge branch 'dev' of https://github.com/redmatrix/hubzilla into xdev_merge 2017-05-30 18:18:28 -07:00
Klaus Weidenbach
0f0e23445a 🔨 Add html2markdown unit tests.
A tiny refactoring to make HTML 2 markdown conversion testable.
Add some unit tests to check the behavior of the now used HTML2Markdown library.
There are some differences compared to the old pixel418/markdownify library.
2017-05-27 00:19:01 +02:00
zotlabs
1c8c7479b8 Merge branch 'dev' of https://github.com/redmatrix/hubzilla into xdev_merge 2017-05-22 03:51:58 -07:00
Klaus Weidenbach
d056b13e14 👷 Documentation Permissions.php.
Also add some phpunit tests for this class, but there are some problems
yet with mocking static functions.
2017-05-17 01:46:31 +02:00
zotlabs
1de1b58a08 consolidate email validation checks 2017-05-11 19:01:04 -07:00
Klaus Weidenbach
f162508ad1 👷🐛 Import table structure in TravisCI.
Fix a syntax error in schema_postres.sql which was discovered while
working on this.
2017-05-06 01:07:15 +02:00