aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* Merge branch 'refactor-module-rbmark' into 'dev'Mario2024-05-151-47/+30
|\ | | | | | | | | Refactor and cleanup Rbmark module + add tests See merge request hubzilla/core!2126
| * Refactor and cleanup Rbmark module + add testsHarald Eilertsen2024-05-151-47/+30
| |
* | deal with inReplyTo arrayMario2024-05-151-1/+1
| |
* | Merge branch 'dev' of https://framagit.org/hubzilla/core into devMario2024-05-142-54/+0
|\ \
| * | Remove unused Toggle_(safesearch|mobile) modules.Harald Eilertsen2024-05-132-54/+0
| |/
* / php warnings/errorsMario2024-05-141-1/+4
|/
* make mod regate return to system.workflow_channel_next and show register ↵Mario2024-05-083-7/+10
| | | | message field only if registration is set to register_approve