aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
Commit message (Collapse)AuthorAgeFilesLines
...
* Revert "more work on sse sys messages"Mario2024-07-202-60/+20
| | | This reverts commit 983fc84f283f34783b281ab047dc47c581cb937c
* Revert "sse: reset session after connection aborted"Mario2024-07-201-9/+2
| | | This reverts commit 3d03c24f060994c98011a5d87b1f498325a605fe
* sse: reset session after connection abortedMario2024-07-191-2/+9
|
* more work on sse sys messagesMario2024-07-192-20/+60
|
* use the same url for attachment and body. otherwise we can not deduplicate ↵Mario Vavti2024-07-191-3/+3
| | | | at the receiving side.
* fix php warningMario2024-07-171-1/+1
|
* gd: check if function exists - obviously this can change after the initial ↵Mario2024-07-171-6/+24
| | | | install where we check this
* dbesc the workinfo jsonMario2024-07-151-2/+2
|
* always use ob_end_flush() and reduce code duplicationMario2024-07-151-6/+5
|
* make sure we always have an object which was not the case when repeating one ↵Mario2024-07-151-1/+7
| | | | of our own items
* more work on making sure system notifications appear on page reloadMario2024-07-101-2/+3
|
* improve handling of sse especially in relation with page reloadsMario2024-07-083-25/+30
|
* notifications: provide possibility to only display system notoficationsMario2024-07-071-0/+2
|
* fail to import more gracefully if a channel has already been imported at ↵Mario2024-06-281-1/+7
| | | | some point but was deleted again
* fix php errorMario2024-06-271-4/+4
|
* fix php errorMario2024-06-261-5/+5
|
* reflect the censored state in the local xchan and exclude toplevel posts by ↵Mario2024-06-252-20/+45
| | | | censored channels in the public stream
* fix issue where event items were parsed multiple timesMario2024-06-211-1/+2
|
* fix return to blank page after editing post under some circumstancesMario2024-06-182-1/+6
|
* Missing include in QueueWorker.Harald Eilertsen2024-06-151-0/+2
|
* QueueWorker: Use DbaTransaction class for db transactions.Harald Eilertsen2024-06-141-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.
* Module\Rpost: Just a little bit of doc.Harald Eilertsen2024-06-131-0/+6
|
* Module\Rpost: Redirect to submitted post on success.Harald Eilertsen2024-06-131-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 Eilertsen2024-06-131-1/+2
| | | | Mainly missing variables for templates, and channel entries.
* Module\Rpost: Add return type and visibilty for `get`.Harald Eilertsen2024-06-131-1/+1
|
* Module\Rpost: Refactor handling of attachments.Harald Eilertsen2024-06-131-68/+79
| | | | Move to private function for now.
* Module\Rpost: Reuse value of local_chanel.Harald Eilertsen2024-06-131-2/+4
| | | | We don't need to call it twice (actually trice in the original code).
* Module\Rpost: Refactor redirect or login logic.Harald Eilertsen2024-06-131-26/+37
|
* Module\Rpost: Remove obsolete local variable $o.Harald Eilertsen2024-06-131-10/+1
|
* Module\Rpost: Remove unused local variables.Harald Eilertsen2024-06-131-4/+1
|
* Module\Rpost: Add basic test and fix session access.Harald Eilertsen2024-06-131-1/+1
| | | | | | | | | | | | | 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.
* Merge branch 'fix-test-warnings' into 'dev'Mario2024-06-133-7/+11
|\ | | | | | | | | Fix test warnings See merge request hubzilla/core!2134
| * Module\Setup: Don't access static variable as non static.Harald Eilertsen2024-06-121-3/+3
| |
| * Module\Help: Only variables can be passed by reference.Harald Eilertsen2024-06-121-1/+2
| | | | | | | | | | | | Introduce an intermediate variable when extracting the file type from the file name. Otherwise we would try to pass a returned value as a reference.
| * Module\Rbmark: Pass all fields to input field templates.Harald Eilertsen2024-06-121-3/+3
| |
| * Module\Rbmark: Specify all fields in the template.Harald Eilertsen2024-06-121-0/+1
| | | | | | | | | | The `field_select` sub template wants five elements in the `field` array.
| * Module\Setup: Pass all required params for the template.Harald Eilertsen2024-06-121-0/+2
| | | | | | | | | | | | Non-existing keys in the array passed to the template causes a warning. Also make optional parts of the template actually optional by skipping them if the value is empty.
* | remove not required includes and include security.php in boot.phpMario2024-06-111-8/+0
| |
* | cleanup unused codeMario2024-06-111-11/+0
| |
* | pass the force argument to the xchan_photo daemonMario2024-06-112-4/+7
| |
* | remove superfluous backslashMario2024-06-102-4/+4
| |
* | Ãfix undefined variableMario2024-06-101-1/+1
| |
* | remove duplicate array keyMario2024-06-101-1/+0
| |
* | fix updated not supported in wrapper functionMario2024-06-101-1/+1
| |
* | remove superfluous param, fix wrong var and declare types for unparse_url()Mario2024-06-101-2/+2
| |
* | remove unused variable and superfluous backslashMario2024-06-101-3/+1
| |
* | Merge branch 'correct-type-annotation-for-config-get' into 'dev'Mario2024-06-051-1/+1
|\ \ | | | | | | | | | | | | Correct type annotation in comment for Config::Get. See merge request hubzilla/core!2127
| * | Correct type annotation in comment for Config::Get.Harald Eilertsen2024-06-051-1/+1
| |/
* / hotfix to mitigate queueworker crashMario2024-06-041-2/+11
|/
* Upgrade test framework to PHPUnit 10.5Harald Eilertsen2024-05-271-1/+1
|