aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-10-25 21:17:02 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-10-25 21:17:02 -0700
commita498fc8e72bd22dd0850bf2e8e75752724df8046 (patch)
tree9db1ad782d812bea01915733f92808b33388b99d
parent7063b6cb6d36da2edd307237d6b69b7c2e6efdad (diff)
downloadvolse-hubzilla-a498fc8e72bd22dd0850bf2e8e75752724df8046.tar.gz
volse-hubzilla-a498fc8e72bd22dd0850bf2e8e75752724df8046.tar.bz2
volse-hubzilla-a498fc8e72bd22dd0850bf2e8e75752724df8046.zip
looks like there may be issues with the datetime picker if the local timezone isn't the same as your settings.
-rw-r--r--doc/features.bb6
-rw-r--r--mod/item.php2
-rwxr-xr-xview/tpl/jot.tpl2
3 files changed, 4 insertions, 6 deletions
diff --git a/doc/features.bb b/doc/features.bb
index 06b7fb6b0..2abf0ec30 100644
--- a/doc/features.bb
+++ b/doc/features.bb
@@ -85,11 +85,9 @@ Share and save/manage bookmarks from links provided in conversations.
[b]Private Message Encryption and Privacy Concerns[/b]
-Messages marked [b]private[/b] are encrypted with AES-CBC 256-bit symmetric cipher, which is then protected (encrypted in turn) by public key cryptography, based on 4096-bit RSA keys, associated with the channel that is sending the message.
+Private mail is stored in an obscured format. While this is not bullet-proof it typically prevents casual snooping by the site administrator or ISP.
-These private messages are also stored in an encrypted form on remote systems.
-
-Each$Projectname channel has it's own unique set of private and associated public RSA 4096-bit keys, generated when the channels is first created.
+Each $Projectname channel has it's own unique set of private and associated public RSA 4096-bit keys, generated when the channels is first created. This is used to protect private messages and posts in transit.
Additionally, messages may be created utilising "end-to-end encryption" which cannot be read by $Projectname operators or ISPs or anybody who does not know the passcode.
diff --git a/mod/item.php b/mod/item.php
index 32c417c56..4dcf8edd7 100644
--- a/mod/item.php
+++ b/mod/item.php
@@ -96,7 +96,7 @@ function item_post(&$a) {
$owner_hash = null;
$message_id = ((x($_REQUEST,'message_id') && $api_source) ? strip_tags($_REQUEST['message_id']) : '');
- $created = ((x($_REQUEST,'created')) ? datetime_convert('UTC','UTC',$_REQUEST['created']) : datetime_convert());
+ $created = ((x($_REQUEST,'created')) ? datetime_convert(date_default_timezone_get(),'UTC',$_REQUEST['created']) : datetime_convert());
$post_id = ((x($_REQUEST,'post_id')) ? intval($_REQUEST['post_id']) : 0);
$app = ((x($_REQUEST,'source')) ? strip_tags($_REQUEST['source']) : '');
$return_path = ((x($_REQUEST,'return')) ? $_REQUEST['return'] : '');
diff --git a/view/tpl/jot.tpl b/view/tpl/jot.tpl
index bc3915f93..75f6b0027 100755
--- a/view/tpl/jot.tpl
+++ b/view/tpl/jot.tpl
@@ -196,7 +196,7 @@
</div>
<!-- <div class="modal-body"> -->
<div class="modal-body form-group" style="width:90%">
- <div class='date'><input type='text' placeholder='yyyy-mm-dd HH:MM' name='start_text' id='created-date' class="form-control" /></div><script type='text/javascript'>$(function () {var picker = $('#created-date').datetimepicker({format:'Y-m-d H:i', minDate: 0 }); })</script>
+ <div class='date'><input type='text' placeholder='yyyy-mm-dd HH:MM' name='created_text' id='created-date' class="form-control" /></div><script type='text/javascript'>$(function () {var picker = $('#created-date').datetimepicker({format:'Y-m-d H:i', minDate: 0 }); })</script>
</div>
<!-- </div> -->
<div class="modal-footer">