aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module
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
| |
* | Ãfix undefined variableMario2024-06-101-1/+1
| |
* | remove duplicate array keyMario2024-06-101-1/+0
|/
* 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
| |
* | Remove unused Toggle_(safesearch|mobile) modules.Harald Eilertsen2024-05-132-54/+0
|/
* 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-031-1/+1
| | | | PHPCS prefers traits to be suffixed with "Trait", and I think I agree.
* remove jgrowlMario2024-05-021-1/+1
|
* Rework Help module + begin tests for Setup moduleHarald Eilertsen2024-04-301-17/+174
|
* Merge branch 'global-state-and-some-docs' into 'dev'Mario2024-04-181-3/+3
|\ | | | | | | | | Reduce some global state and add some docs See merge request hubzilla/core!2119
| * Reduce some global state and add some docsHarald Eilertsen2024-04-181-3/+3
| |
* | 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
|
* Merge branch 'deprecate-include-config-in-core' into 'dev'Mario2024-03-2450-462/+507
|\ | | | | | | | | Deprecate *_config() functions in core. See merge request hubzilla/core!2114
| * Deprecate *_config() functions in core.Harald Eilertsen2024-03-2450-462/+507
| |
* | revert default to activity type Article until we have a more stable solution ↵Mario2024-03-231-1/+1
| | | | | | | | to override it for platforms which do not support it
* | remove friendica specific hack that is not needed anymoreMario2024-03-211-4/+0
| |
* | fix cover photos not uploaded into folder due to missing source optionMario2024-03-191-1/+1
|/
* add fix again after escaping composer hellMario2024-03-141-1/+1
|
* evert "fix deprecation warning"Mario2024-03-141-1/+1
| | | | This reverts commit 898762dd95d634e9362d5138ea8e306bbfeb81b7.
* fix deprecation warningMario2024-03-141-1/+1
|
* fix dreport links after recent changesMario2024-03-141-1/+1
|
* remove loggingMario2024-03-091-3/+0
|
* more work on emojisMario2024-03-094-17/+112
|
* start sending articles instead of notes by defaultMario2024-03-081-1/+1
|
* fix another php warningMario2024-03-061-1/+1
|
* fix php warningMario2024-03-061-1/+1
|