Harald Eilertsen
76eed3c06c
Fix context help link for permissions
...
The target was changed when the new docs was merged.
2025-07-13 16:09:33 +02:00
Harald Eilertsen
fcd657040e
Module\Rpost: Just a little bit of doc.
2024-06-13 13:34:20 +02:00
Harald Eilertsen
605f982520
Module\Rpost: Redirect to submitted post on success.
...
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.
2024-06-13 13:34:20 +02:00
Harald Eilertsen
fb1c66fbc9
Fix warnings exposed by tests.
...
Mainly missing variables for templates, and channel entries.
2024-06-13 13:34:20 +02:00
Harald Eilertsen
d02fa7c268
Module\Rpost: Add return type and visibilty for get.
2024-06-13 13:34:20 +02:00
Harald Eilertsen
8be9b109fd
Module\Rpost: Refactor handling of attachments.
...
Move to private function for now.
2024-06-13 13:34:20 +02:00
Harald Eilertsen
91147d5c5b
Module\Rpost: Reuse value of local_chanel.
...
We don't need to call it twice (actually trice in the original code).
2024-06-13 13:34:20 +02:00
Harald Eilertsen
08d4bd94fa
Module\Rpost: Refactor redirect or login logic.
2024-06-13 13:34:20 +02:00
Harald Eilertsen
4e9432263a
Module\Rpost: Remove obsolete local variable $o.
2024-06-13 13:34:20 +02:00
Harald Eilertsen
0d4c3fd215
Module\Rpost: Remove unused local variables.
2024-06-13 13:34:20 +02:00
Harald Eilertsen
62aefadc27
Module\Rpost: Add basic test and fix session access.
...
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.
2024-06-13 13:34:20 +02:00
Mario
763b69bf5b
enable reset button in mod rpost
2023-10-12 08:39:18 +00:00
Mario
c925e13e5a
cleanup and warnings
2023-09-21 14:47:56 +00:00
Mario
a5e32dc3de
more deprecate $a
2023-09-21 08:34:02 +00:00
Mario
0ee03a565f
remove custom acl from rpost
2023-06-02 12:02:50 +00:00
Mario
40ae6b396f
fix php warnings
2022-10-26 18:12:56 +00:00
Mario
7ca289edd0
fix php warnings
2022-10-20 19:25:01 +00:00
Mario
6e4c9d684d
port latest pwa work from zap
2021-08-26 18:03:17 +00:00
Mario
7776283a47
remove zot includes
2021-05-27 09:45:39 +00:00
Mario
6a7e06f11c
deprecate get_rpost_path()
2021-05-27 09:09:52 +00:00
Mario
2a154f8c9a
merge branch files_ng into dev
2020-12-14 11:02:20 +00:00
M. Dent
ff20370d0b
Status editor hook
2018-09-29 20:22:27 +02:00
zotlabs
5dae0ef4f9
add cancel button to editor, fix issue with autosave of categories
2018-05-10 20:54:48 -07:00
zotlabs
5ea11d1222
don't include the q and PHPSESSID request variables in a redirected rpost
2018-03-27 16:27:28 -07:00
zotlabs
91b710b07d
add auth flag to share attributes so we can make a costly determination to use zid at post submission time instead of making multiple calls to is_matrix_url() at render time
2018-03-15 17:51:24 -07:00
Mario Vavti
cc1ffff7cd
feed untranslated appnames to nav_set_selected() and query for the active app directly to get app details
2017-10-09 21:22:57 +02:00
zotlabs
45eb61bcf0
provide sharing of cards
2017-09-05 18:32:37 -07:00
zotlabs
aec92e0e17
whitespace
2017-08-30 23:16:57 -07:00
git-marijus
4335e49381
more nav_set_selected
2017-07-22 11:04:18 +02:00
redmatrix
b6a545b4a2
Merge branch 'dev' of https://github.com/git-marijus/hubzilla into git-marijus-dev
2016-08-21 16:33:59 -07:00
redmatrix
4d34d9c032
issue #496
2016-08-21 16:26:30 -07:00
Mario Vavti
4f62d7a78f
move jotnets to jot and some cleanup (mostly whitespace)
2016-08-21 15:43:03 +02:00
Mario Vavti
bed0a5773f
multi acl: port /rpost
2016-08-05 13:20:03 +02:00
redmatrix
18565600b2
missing namespace prefix \
2016-07-12 22:58:12 -07:00
redmatrix
ed0e2b52d7
move permissiondescription class to zotlabs/lib
2016-07-11 21:46:16 -07:00
Treer
09ef30feb0
Update some modules to use new ACL dialog feature
2016-05-08 21:27:52 +10:00
Treer
2174cdcd0e
Unify permissions dialog for network posts, channel posts, and remote posts
...
* changes the warning from being about when a post is "sent" to when it's "shared", to match the Share button.
* hyperlinks the "cannot be changed" part of the warning to the help file
* adds some more content to the help file
2016-05-06 01:44:46 +10:00
redmatrix
2a4e8972e0
module updates
2016-04-18 20:38:38 -07:00