Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | notifications: provide possibility to only display system notofications | Mario | 2024-07-07 | 3 | -20/+28 | |
| | ||||||
* | adjust release date | Mario | 2024-07-06 | 1 | -1/+1 | |
| | ||||||
* | update changelog | Mario | 2024-07-06 | 1 | -0/+61 | |
| | ||||||
* | fix wrong logic after last commit | Mario | 2024-07-04 | 1 | -1/+1 | |
| | ||||||
* | revert the strlen check | Mario | 2024-07-04 | 1 | -1/+1 | |
| | ||||||
* | fix possible php error | Mario | 2024-07-04 | 1 | -1/+7 | |
| | ||||||
* | fail to import more gracefully if a channel has already been imported at ↵ | Mario | 2024-06-28 | 1 | -1/+7 | |
| | | | | some point but was deleted again | |||||
* | fix php error | Mario | 2024-06-27 | 1 | -4/+4 | |
| | ||||||
* | fix display issue for doubleleft template | Mario | 2024-06-27 | 1 | -1/+1 | |
| | ||||||
* | adjust right margin of profile images | Mario | 2024-06-27 | 1 | -1/+1 | |
| | ||||||
* | version 9.3 | Mario | 2024-06-27 | 1 | -1/+1 | |
| | ||||||
* | version 9.2RC1, strings and dump composer autoload files | Mario | 2024-06-27 | 4 | -1879/+1873 | |
| | ||||||
* | make sure we get a scrollbar if everything else breaks and remove some ↵ | Mario | 2024-06-26 | 3 | -21/+2 | |
| | | | | unused css | |||||
* | use the doubleleft template by default for admin pages to work around some ↵ | Mario | 2024-06-26 | 1 | -4/+1 | |
| | | | | display issues. Also notifications, etc. are not really useful there | |||||
* | fix php error | Mario | 2024-06-26 | 1 | -5/+5 | |
| | ||||||
* | bump version | Mario | 2024-06-25 | 1 | -1/+1 | |
| | ||||||
* | reflect the censored state in the local xchan and exclude toplevel posts by ↵ | Mario | 2024-06-25 | 2 | -20/+45 | |
| | | | | censored channels in the public stream | |||||
* | fix issue where event items were parsed multiple times | Mario | 2024-06-21 | 3 | -6/+12 | |
| | ||||||
* | move template to wiki addon | Mario | 2024-06-18 | 1 | -59/+0 | |
| | ||||||
* | fix return to blank page after editing post under some circumstances | Mario | 2024-06-18 | 2 | -1/+6 | |
| | ||||||
* | Merge branch 'misc-fixes' into 'dev' | Mario | 2024-06-17 | 2 | -12/+113 | |
|\ | | | | | | | | | Add module test helper expectRedirectTo + api docs See merge request hubzilla/core!2138 | |||||
| * | 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. | |||||
| * | Refactor is_local_url() and add api doc. | Harald Eilertsen | 2024-06-16 | 1 | -6/+9 | |
| | | ||||||
* | | Merge branch 'add-tests-for-create-identity' into 'dev' | Mario | 2024-06-17 | 7 | -82/+157 | |
|\ \ | |/ |/| | | | | | Add tests for create_identity + fixes See merge request hubzilla/core!2137 | |||||
| * | Missing include in QueueWorker. | Harald Eilertsen | 2024-06-15 | 1 | -0/+2 | |
| | | ||||||
| * | Use empty() to check if array entry exist in create_identity. | Harald Eilertsen | 2024-06-14 | 1 | -2/+2 | |
| | | ||||||
| * | Add basic test for create_identity function. | Harald Eilertsen | 2024-06-14 | 1 | -0/+65 | |
| | | | | | | | | | | Not an exhaustive test for now, but does at least excercise some of the code. | |||||
| * | Allow passing callable as array to hooks. | Harald Eilertsen | 2024-06-14 | 2 | -10/+76 | |
| | | ||||||
| * | QueueWorker: Use DbaTransaction class for db transactions. | Harald Eilertsen | 2024-06-14 | 1 | -24/+12 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | This makes sure that the system knows whether a transaction is active or not, and ensures automatic cleanup if the transaction is not closed before the methods return. It also allows us to run this code in tests. When run within a test, the transaction will be ignored, as the entire test is run within an already existing transaction. Also as each test has their own db connection, this should not have any ill effects, as there should not be any way in which different simultaneous connections can interfere with the db updates. | |||||
| * | tests: Remove obsolete stubs from Permissions tests | Harald Eilertsen | 2024-06-14 | 2 | -46/+0 | |
|/ | | | | These stubs are no longer needed, as the tests have a db now. | |||||
* | Merge branch 'fix-rpost-module' into 'dev' | Mario | 2024-06-13 | 7 | -129/+218 | |
|\ | | | | | | | | | Refactoring and fixed for Module\Rpost See merge request hubzilla/core!2136 | |||||
| * | Module\Rpost: Just a little bit of doc. | Harald Eilertsen | 2024-06-13 | 1 | -0/+6 | |
| | | ||||||
| * | Module\Rpost: Redirect to submitted post on success. | Harald Eilertsen | 2024-06-13 | 1 | -10/+1 | |
| | | | | | | | | | | | | This eliminates a open redirect issue where it was possible to craft a link that when clicked would take the victim to an external site controlled by an attacker. | |||||
| * | Fix warnings exposed by tests. | Harald Eilertsen | 2024-06-13 | 4 | -8/+11 | |
| | | | | | | | | Mainly missing variables for templates, and channel entries. | |||||
| * | Module\Rpost: Add return type and visibilty for `get`. | Harald Eilertsen | 2024-06-13 | 1 | -1/+1 | |
| | | ||||||
| * | tests: More tests for Module\Rpost. | Harald Eilertsen | 2024-06-13 | 1 | -14/+44 | |
| | | | | | | | | Also refactor the tests a bit to avoid duplicatng code. | |||||
| * | Module\Rpost: Refactor handling of attachments. | Harald Eilertsen | 2024-06-13 | 1 | -68/+79 | |
| | | | | | | | | Move to private function for now. | |||||
| * | Module\Rpost: Reuse value of local_chanel. | Harald Eilertsen | 2024-06-13 | 1 | -2/+4 | |
| | | | | | | | | We don't need to call it twice (actually trice in the original code). | |||||
| * | Module\Rpost: Refactor redirect or login logic. | Harald Eilertsen | 2024-06-13 | 1 | -26/+37 | |
| | | ||||||
| * | 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 | |
| | | ||||||
| * | tests: Configure system.baseurl for tests. | Harald Eilertsen | 2024-06-13 | 2 | -7/+5 | |
| | | ||||||
| * | Module\Rpost: Remove obsolete local variable $o. | Harald Eilertsen | 2024-06-13 | 1 | -10/+1 | |
| | | ||||||
| * | Module\Rpost: Remove unused local variables. | Harald Eilertsen | 2024-06-13 | 1 | -4/+1 | |
| | | ||||||
| * | Module\Rpost: Add basic test and fix session access. | Harald Eilertsen | 2024-06-13 | 2 | -1/+32 | |
|/ | | | | | | | | | | | | | 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. | |||||
* | docu and remove superfluous break statement after return statement | Mario | 2024-06-13 | 1 | -3/+1 | |
| | ||||||
* | Merge branch 'add-config-for-phpcs' into 'dev' | Mario | 2024-06-13 | 1 | -0/+78 | |
|\ | | | | | | | | | Add config file and rules for PHP Code Sniffer. See merge request hubzilla/core!2135 | |||||
| * | Add config file and rules for PHP Code Sniffer. | Harald Eilertsen | 2024-06-12 | 1 | -0/+78 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The rules are based on the "Generic" ruleset included by PHP Code Sniffer, with a significant portion of the rules disabled. This is a tradeoff between getting some useful feedback, and not being overloaded by noise. I've tried to encode a coe style that resembles the existing code as much as possible, but have included some sniffs that requires code changes to satisfy the style. This is meant as a starting point, and we can disable or enable more sniffs as we see fit. PHPCS also has ready rule sets for other common coding standards we may want to gravitate towards, e.g. PSR-12. Others are available from the community. The best way to run PHPCS is to integrate it with your editor, so that it will display diacnostics inline when saving or modifying the code. It can also be run from the command line like this: ./vendor/bin/phpcs -n [<path-to-file-to-check>] If no file is specified it will try to check the entire project. The `-n` means don't bother with warnings (I recommend that to begin with. Enable the warnings when the errors are taken care of.) |