Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch 'begin-refactoring-module-item' into 'dev' | Mario | 2024-11-10 | 1 | -0/+56 |
|\ | | | | | | | | | Begin refactoring Module\Item See merge request hubzilla/core!2166 | ||||
| * | Module\Item: Move processing of zot and as requests to functions. | Harald Eilertsen | 2024-11-10 | 1 | -0/+56 |
| | | | | | | | | | | These seem to be entirely independent, so moving the body of the if statements to separate functions should be fine. | ||||
* | | Remove import of non-existing class in test. | Harald Eilertsen | 2024-11-09 | 1 | -1/+0 |
|/ | | | | | This one snuck in by mistake. No harm done, as the actual class was never referenced, but it should still not be there. | ||||
* | Fix some more deprecation warnings in the tests. | Harald Eilertsen | 2024-11-07 | 2 | -0/+12 |
| | |||||
* | Fix missing CSRF checks in admin/account_edit | Harald Eilertsen | 2024-11-02 | 2 | -19/+254 |
| | |||||
* | tests: Add some tests for the Zotlabs\Magic module. | Harald Eilertsen | 2024-10-06 | 1 | -0/+109 |
| | | | | | | | 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. | ||||
* | Tests: Unbreak help test. | Harald Eilertsen | 2024-09-29 | 1 | -2/+2 |
| | |||||
* | Improve translation message for help pages. | Harald Eilertsen | 2024-07-24 | 1 | -1/+1 |
| | | | | | Display the target language instead of "your preferred language". Makes it a bit more explicit. | ||||
* | Add a notice to help pages when defaulting to english. | Harald Eilertsen | 2024-07-24 | 1 | -0/+1 |
| | |||||
* | Fallback to english help topic if localized topic is not found. | Harald Eilertsen | 2024-07-23 | 1 | -0/+9 |
| | |||||
* | Refactor HelpTest.php. | Harald Eilertsen | 2024-07-23 | 1 | -24/+28 |
| | | | | Move default stubs to a function to make them reusable. | ||||
* | Redirect help to about page when locale but no topic specified in URL | Harald Eilertsen | 2024-07-23 | 1 | -0/+5 |
| | |||||
* | Update API docs for Module test case base class. | Harald Eilertsen | 2024-06-16 | 1 | -6/+98 |
| | |||||
* | tests: Add helper expectRedirectTo to module test class. | Harald Eilertsen | 2024-06-16 | 1 | -0/+6 |
| | | | | | Just a shorthand for manually stubbing `goaway` and setting the expectations on the test case. | ||||
* | Fix warnings exposed by tests. | Harald Eilertsen | 2024-06-13 | 1 | -4/+7 |
| | | | | Mainly missing variables for templates, and channel entries. | ||||
* | tests: More tests for Module\Rpost. | Harald Eilertsen | 2024-06-13 | 1 | -14/+44 |
| | | | | Also refactor the tests a bit to avoid duplicatng code. | ||||
* | tests: Module\Rpost shows login form if not authenticated. | Harald Eilertsen | 2024-06-13 | 1 | -0/+13 |
| | |||||
* | tests: Add comment to Tests\Unit\Module\RpostTest. | Harald Eilertsen | 2024-06-13 | 1 | -0/+4 |
| | |||||
* | tests: Set query string in Module\TestCase::get method. | Harald Eilertsen | 2024-06-13 | 1 | -0/+1 |
| | |||||
* | Module\Rpost: Add basic test and fix session access. | Harald Eilertsen | 2024-06-13 | 1 | -0/+31 |
| | | | | | | | | | | | | | Just a basic test to ensure that the module `get()` method behaves somewhat reasonable when no query params are given. Had to make a small change to the Rpost module itself. Since the `$_SESSION` superglobal may not always be set (and is not in the test), use `isset` instead of `array_key_exists` to check if we have saved query params in the session. In general, isset is safer than array_key_exists if there's a chance that the array itself may not exist. | ||||
* | Upgrade test framework to PHPUnit 10.5 | Harald Eilertsen | 2024-05-27 | 3 | -2/+5 |
| | |||||
* | Refactor and cleanup Rbmark module + add tests | Harald Eilertsen | 2024-05-15 | 3 | -10/+99 |
| | |||||
* | Rework Help module + begin tests for Setup module | Harald Eilertsen | 2024-04-30 | 3 | -0/+336 |