| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| | |
Don't include db updates in test coverage.
See merge request hubzilla/core!2090
|
| |
| |
| |
| | |
We're not likely to add tests for these in any case.
|
|\ \
| | |
| | |
| | |
| | | |
Improve validate_email function
See merge request hubzilla/core!2088
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The validate_email function relied on doing an actual domain lookup (on
supported platforms) to validate the domain of the email address. This
does not work too well in testing environments where we may not want to
spam the DNS system, if it at all is available.
Apart from the the function did very little to actually verify that it
was a valid email address.
This patch tries to change that by usng a somewhat stricted regex based
validation. While this may not be perfect, it should be good enough in
the vast majority of cases. For platforms where no validation was
performed with the old version, it will at least be an improvement.
Also, it allows testing without having an external network connection.
Also clarify the doc comment, that it does not actually try to resolve
the email address, just the domain.
|
| | | |
|
|\| |
| | |
| | |
| | |
| | | |
tests: Remove id from db fixtures.
See merge request hubzilla/core!2087
|
| | |
| | |
| | |
| | |
| | |
| | | |
The debug log will be stored in the test/results directory, and archived
as part of the artifacts of the CI run. This should make it easier to
get some debugging info out from the CI runs if they fail.
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
It seems that PostgreSQL will not update the autoincrement index of the
table when inserting rows with an id set. Later inserts without an id
set will then fail, because they get assigned an id that already exists.
MySQL seems to handle this just fine.
Why the id column was added in the first place, one may wonder, but
that's how it were.
In any case, this broke the PostgreSQL tests in the gitlab CI
environment. (While it mysteriously worked in my local ddev
environment.) Anyways, the id column is not needed, and things work
better without them.
|
| | |
|
| | |
|
|/ |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
trough the array to find the desired ekey in actor_store()
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|\ |
|
| |\
| | |
| | |
| | |
| | | |
Update lostpass_eml.tpl
See merge request hubzilla/core!2086
|
| | |
| | |
| | | |
(cherry picked from commit 96ae46c5a4aa614b9aed7b640d69e8cd8210595f)
|
| |\ \
| | | |
| | | |
| | | |
| | | | |
Update Spanish strings
See merge request hubzilla/core!2085
|
| | |/
| | |
| | | |
(cherry picked from commit ddfa613e828e8f0a569a2d938d3839f5608bc9c3)
|
|/ / |
|
| | |
|
| | |
|
|\| |
|
| |\
| | |
| | |
| | |
| | | |
Some test cleanup and tests for check_account_email
See merge request hubzilla/core!2083
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Adds fixtures for the config table:
- Disables dns checking globally for the tests.
- Adds a few disallowed email domains and addresses.
|
| |/ |
|
|/
|
|
| |
additional context seems to break ldsig for some reason, introduce Activity::build_packet() and Activity::ap_context() to reduce code duplication, implement fep-2c59 (webfinger) and some cleanup
|
| |
|
|\
| |
| |
| |
| | |
Remove unused acceptance tests and dependencies
See merge request hubzilla/core!2082
|
| |
| |
| |
| |
| | |
The php yaml extension requires libyaml, which has to be installed
first.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
As the Symphony\Yaml stuff disappeared with behat, we need another way
to load read the yaml files with database fixtures for the integration
tests.
As the php yaml extension is not distributed with PHP by default, this
creates it as another dev dependency!
|
| |
| |
| |
| | |
This will ignore dependencies only installed as part of the dev setup.
|