aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'remove-repo-handling-from-admin-addons' into 'dev'Mario2024-10-121-281/+0
|\ | | | | | | | | Remove addon repo management from admin/addons. See merge request hubzilla/core!2149
| * Remove addon repo management from admin/addons.Harald Eilertsen2024-10-091-281/+0
| | | | | | | | | | | | This functionality was broken anyways, and needs to be rethought. Addon reporitories can still be managed from the terminal using the tools in util/.
* | tests: Add some tests for the Zotlabs\Magic module.Harald Eilertsen2024-10-061-2/+6
|/ | | | | | | Only tests the delegate functionality at the moment. This patch also includes some minor fixes to the Magic module, triggered by the tests with empty destination URL's.
* Help: Drop language specifier in URL when redirectingHarald Eilertsen2024-09-291-2/+2
| | | | This finally fixes the help for languages other than english.
* mod help: only abort requests without topic if we have not got a search requestMario2024-09-241-1/+2
|
* notes: make sure we set App::$profile_uid in the module - issue #1865 and ↵Mario Vavti2024-09-221-12/+18
| | | | minor code cleanup
* remove garbageMario2024-09-181-5/+0
|
* not yet ready for primetimeMario2024-09-181-0/+5
|
* fa2bi: catch some remainsMario2024-08-022-5/+5
|
* Merge branch 'improve-help-locale-handling' into 'dev'Mario2024-07-291-8/+5
|\ | | | | | | | | Improve handling of locale in Help module See merge request hubzilla/core!2140
| * Move language member to HelpHelperTrait.Harald Eilertsen2024-07-241-8/+0
| | | | | | | | Should have been there from the start, was just a miss.
| * Redirect help to about page when locale but no topic specified in URLHarald Eilertsen2024-07-231-0/+5
| |
* | storing info and notice messages in the session has some disadvantages if ↵Mario2024-07-281-48/+15
| | | | | | | | the functions are called via ajax. revert to storing them in xconfig.
* | fa2bi and a php error in mod appmanMario2024-07-231-14/+14
| |
* | do not run set_linkified_perms() if editing an existing postMario2024-07-231-2/+4
| |
* | item buttons redesign - initial checkinMario2024-07-223-13/+12
|/
* Revert "Revert "sse: reset session after connection aborted""Mario2024-07-201-2/+9
| | | This reverts commit c71eb401c04c5ae2e5388f988825b072f3c113df
* Revert "Revert "more work on sse sys messages""Mario2024-07-202-20/+60
| | | This reverts commit c22f633ae0d42b5a0076a11dd08952817a613342
* Revert "sse: more work on notifications"Mario2024-07-201-3/+10
| | | This reverts commit 82f69018a6acc2b97a1b8871c2cddd625db6798a
* sse: more work on notificationsMario2024-07-201-10/+3
|
* 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.
* 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-082-24/+29
|
* 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 return to blank page after editing post under some circumstancesMario2024-06-182-1/+6
|
* 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.