| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| | |
A bit of cleanup for account functions
See merge request hubzilla/core!2210
|
| | |
|
| | |
|
| | |
|
|/ |
|
| |
|
|
|
|
| |
getimagesize() and Imagick is not tested)
|
|
|
|
|
| |
Just a couple of basic tests around listing file tags, to make sure the
code runs without any warnings.
|
| |
|
|
|
|
|
|
|
|
|
| |
Introduce helper functions to access the various fields of the xchan
stored in `App::$observer'. This removes direct access to the attribute
from core, with the aim of allowing further refactoring later.
We can not yet make the `App::$observer` attribute private, though, as
it is also accessed directly by some addons.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
add tests
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
The PHP Epub Meta library has a dependency that prevents deployment on
32bit architectures. We also don't need all the functionality in that
library, so this patch replaces it with our own simplified code for
fetching the cover embedded in Epub archives.
We also expand the test suite and clean up some minor issues in the
Epubthumbnail class.
|
|\
| |
| |
| |
| | |
Add error message on missing owa auth headers
See merge request hubzilla/core!2183
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
If the /owa endpoint received a request with a missing or invalid
Authorization header, it would return an error to the requester, but
without any message describing why it failes.
This patch adds a message to the error response, so that it will be a
bit easier to debug these issues in the future.
The owa spec includes a 'message' field in the error response, but makes
it optional. Any conforming implementations should accept a response
that includes the 'message' field.
|
| | |
|
| |
| |
| |
| |
| | |
This is a convenience funcition to make it easier to update an existing
row in a database table.
|
| |
| |
| |
| |
| |
| | |
MySQL does not support the INSERT...RETURNING clause, while MariaDB
does. This patch ensures that the test is not skipped on MariaDB, but
only on an actual MySQL system.
|
|/
|
|
|
|
|
|
|
|
|
| |
A common use case is to insert a record into a database table, but also
instantiate an object from the inserted data. This requires that we know
the value of any default or calculated columns that is filled in by the
database when the row is inserter.
This patch adds a `insert` method to pda_dbo that will insert a row, and
immediately fetch the row back from the database – including the default
and calculated values not specified by the insert itself.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|\
| |
| |
| |
| | |
Begin refactoring Module\Item
See merge request hubzilla/core!2166
|
| |
| |
| |
| |
| | |
These seem to be entirely independent, so moving the body of the if
statements to separate functions should be fine.
|
|/
|
|
|
| |
This one snuck in by mistake. No harm done, as the actual class was
never referenced, but it should still not be there.
|
|\
| |
| |
| |
| | |
Clean up deps and upgrade EpubMeta
See merge request hubzilla/core!2162
|
| |
| |
| |
| | |
Also fixes a few issues and refactor the code a bit.
|
|/ |
|
|\
| |
| |
| |
| | |
tests: Update test db setup script for mariadb
See merge request hubzilla/core!2160
|
| |
| |
| |
| |
| |
| | |
Mariadb now issues warnings when using the deprecated `mysql` binary. So
we make sure to use the proper name for the binary depending on the
actual DB engine installed.
|
|\ \
| | |
| | |
| | |
| | | |
Fix deprecations uncovered by running tests on PHP 8.2
See merge request hubzilla/core!2156
|
| | |
| | |
| | |
| | | |
Uncovered by PHP 8.2 because dynamic properties are deprecated.
|
| | |
| | |
| | |
| | | |
Uncovered by PHP 8.2 because dynamic properties are deprecated.
|
|/ / |
|
|/
|
|
| |
Somehow I forgot to include this in the patch that fixed the issue.
|
|\
| |
| |
| |
| | |
Fix naked URLs immediately followed by a newline
See merge request hubzilla/core!2150
|
| |
| |
| |
| |
| |
| |
| | |
This makes the configuration used align better with how it is being used
in the mdpost addon. This also reveals some issues that are less than
ideal for Markdown posts. The relevant test cases have been adjusted to
pass with the new config, but have been commented.
|
|/
|
|
|
|
|
| |
Only tests the delegate functionality at the moment.
This patch also includes some minor fixes to the Magic module, triggered
by the tests with empty destination URL's.
|