aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Rename HelpHelper to HelpHelperTrait.Harald Eilertsen2024-05-033-3/+3
| | | | PHPCS prefers traits to be suffixed with "Trait", and I think I agree.
* some css voodoo for the help menuMario2024-05-021-1/+1
|
* Merge branch 'dev' of https://framagit.org/hubzilla/core into devMario2024-05-021-2/+7
|\
| * Libzot: get_rpost_path was broken for URL's with no port.Harald Eilertsen2024-05-011-2/+7
| |
* | remove jgrowlMario2024-05-021-1/+1
|/
* Rework Help module + begin tests for Setup moduleHarald Eilertsen2024-04-303-60/+262
|
* Merge branch 'global-state-and-some-docs' into 'dev'Mario2024-04-184-30/+77
|\ | | | | | | | | Reduce some global state and add some docs See merge request hubzilla/core!2119
| * Reduce some global state and add some docsHarald Eilertsen2024-04-184-30/+77
| |
* | comment out deprecated way to find forum items and do not count announce ↵Mario2024-04-171-1/+5
| | | | | | | | activities
* | fix spacing issues in mod wall_attach and make save_chunk() deal with ↵Mario2024-04-171-7/+7
|/ | | | userfile and file array keys
* update siteinfoMario2024-04-051-2/+2
|
* minor refactor and store import host for possible later useMario2024-04-051-8/+12
|
* allow to kick off sync process in case it did not start at all. requires ↵Mario2024-04-051-0/+39
| | | | import host to be set manually in pconfig for now.
* reduce default directory result setMario2024-03-262-4/+8
|