Commit graph

119 commits

Author SHA1 Message Date
friendica
d32bbaf599 split private messages into two modules - "message" is just for message lists, "mail" is for reading and writing conversations. This is so we can Comanchify it cleanly. 2013-12-21 23:47:44 -08:00
friendica
1a4c91ccf5 Add App::poi to store the "person of interest" for a given page. This is so we can comanchificate the vcard_from_xchan widget -- it will pick up the target xchan from the page environment. 2013-12-18 14:53:18 -08:00
friendica
c00f0d4b28 a couple more comanche conversions 2013-12-14 13:26:40 -08:00
friendica
941f81eb30 check that every invocation of htmlspecialchars has the right arg list 2013-12-12 02:01:42 -08:00
friendica
b3fe221b7f issue #240 - we were using htmlentities instead of htmlspecialchars in several places, and this was a bit greedy in the set of characters which were converted from utf-8 to HTML entities. Also brought mail attachments up to date so they are rendered identically to item attachments. 2013-12-11 23:13:36 -08:00
friendica
d7ee552c57 Protocol: now set data['alg'] on all encapsulated encrypted packets, so that we can more easily retire 'aes256cbc' once it is no longer viable. 2013-11-20 15:20:12 -08:00
friendica
ee629534d5 E2EE on private mail (also fixed autocomplete results dropdown for recipient which was positioned below the navbar instead of next to the recipient input box) 2013-11-13 23:10:29 -08:00
friendica
cb37c0ce14 make PM expiry UI match the main post editor, e.g. JS input triggered by an icon rather than a scary looking text field 2013-11-07 15:30:59 -08:00
friendica
7381326b7a provide expire feature on post and comments as well as private messages. This requires a feature setting and is currently unmaskable - if the author says it's gone, there's not a lot you can do to stop it or try and save it. It's gone. 2013-11-07 00:47:50 -08:00
friendica
6162de142c allow private mail sender to set an expiration on their messages. Once expired the message is destroyed at both ends (subject to the granularity of the polling interval) and is gone. Officially it takes some form of language independent string like 2013/11/22, but English speakers can use anything that strtotime() understands, like "+30 minutes" or "next Tuesday". 2013-11-06 18:28:36 -08:00
friendica
9158909fa3 return a login form on some protoected pages if not logged in. 2013-11-02 23:56:29 -07:00
Thomas Willingham
ced0a9ab74 Don't set widgets if you're not a local user. 2013-11-02 21:11:43 +00:00
friendica
c459228dca show private message conversant in sidebar because without a reply you may not remember who it is/was. 2013-10-12 00:57:00 -07:00
friendica
1c8a36f9ca mail recall 2013-10-11 23:12:10 -07:00
friendica
ef88ba11ba prefill private mail recip from $_REQUEST['to'] if it's there. 2013-09-19 17:40:17 -07:00
friendica
cd5fdbcb48 email attachments (and fix email photos) 2013-08-19 21:19:39 -07:00
friendica
8aadb9ec3c mail completion issue 2013-07-21 21:48:12 -07:00
friendica
6e880cfd49 use current channel photo for favicon where applicable - might be browser dependent but seems to work on FF 2013-07-07 17:22:40 -07:00
Thomas Willingham
4132cab862 Rename newmessage widget (since we'll need to put more stuff in it as we make zotmail look like email), and add a "check mail" button. 2013-06-07 22:53:43 +01:00
friendica
7e6890832b turn all Red links into zrls (not the old zrls, the new bbcode zrl which means we can zidify them) 2013-04-15 03:00:08 -07:00
friendica
ddf5bf8968 rename 'uri' (and parent_uri) to 'mid' (and parent_mid) since these no longer remotely resemble uri's and are actually message_id's. This change is potentially destabilising because it touches a lot of code and structure. But it has to get done and there's no better time than the present. 2013-03-21 18:25:41 -07:00
friendica
a8575199af upstream fixes, template regeneration 2013-01-25 13:55:42 -08:00
friendica
c657cabc9a Putting the final wraps on the backend private message API. This is more or less what needs to happen for every data type and get all the SQL code out of the front-end controllers. 2013-01-25 12:28:32 -08:00
friendica
851e436d04 make all private message functionality api-able 2013-01-24 23:45:15 -08:00
friendica
33b22338dc turn private_messages_list into backend functionality and separate it from the controller 2013-01-24 18:51:02 -08:00
Zach Prezkuta
b4a95460e6 fix show-stopping bugs 2013-01-06 19:34:54 -07:00
Zach Prezkuta
a0d19ffb72 implement Smarty3 2013-01-06 15:57:11 -07:00
friendica
a07500b527 structural cleanup of mod_message 2013-01-05 21:07:04 -08:00
friendica
186163a5ce check permissions for mail to non-connected people, reject if no permission - but you can try and send mail to any webbie. We probably should check for this before you send the message but perhaps we can find another way to let you know if it's allowed or not without an expensive probe. Like mod_follow, a webbie without an @ is treated as a local address. 2012-12-05 18:39:07 -08:00
friendica
270266357d make mail replies work 2012-12-05 17:11:38 -08:00
friendica
e17ba14696 DB: do the mail table again. Mail almost working onsite, still needs to zot though 2012-12-04 18:24:46 -08:00
friendica
2752b58f33 plaintext default - richtext is a feature 2012-11-05 01:25:08 -08:00
friendica
e3c2e58979 "profile url" e.g. the wall/stream is now "channel url". "Profile URL" goes to the profile details. 2012-10-29 17:14:02 -07:00
friendica
ceeb4db6e3 Give the UI a little love after all the backend mods 2012-10-24 19:13:29 -07:00
friendica
f7c6a6ff90 item table rename parent-uri, target-type, object-type (more to come later) 2012-08-15 22:33:37 -07:00
friendica
d683df17bd Removing connectors we won't be needing - this is probably going to break some shit. 2012-07-18 04:49:15 -07:00
Zach Prezkuta
da2ccebed8 fix bugs 2012-07-07 18:50:33 -06:00
Zach Prezkuta
173b3a1b9a allow more than one embedded private photo 2012-07-07 16:24:20 -06:00
friendica
e2a725ff98 pagination start off by one 2012-07-01 19:17:21 -07:00
friendica
777830745f missing $submit 2012-06-19 00:50:24 -07:00
friendica
6c3ab225f7 set minchars to 2 for PM lookups too 2012-06-05 20:49:56 -07:00
Tobias Diekershoff
6fbeafc843 prv messages: make submit translateable 2012-06-03 17:16:29 +02:00
friendica
8a5dcf64d8 fix PM replies after autocomplete changes 2012-05-10 20:01:13 -07:00
friendica
547007e199 add photos to PM autocomplete, improved appearance 2012-05-10 19:29:01 -07:00
friendica
774c51cc19 email autocomplete 2012-05-10 01:45:51 -07:00
friendica
c141909f33 wrap private message autocomplete in an ifdef to make it easier to test/develop 2012-05-08 01:14:24 -07:00
friendica
8c26640835 reset permissions to forum default when adding forum delivery chain 2012-05-06 23:06:21 -07:00
friendica
b74a776162 I'll leave the private mail recipient autocomplete partially done. Need a good UI/JS person to finish it off. 2012-05-06 20:06:39 -07:00
friendica
851264161f mail autcomplete testing 2012-05-06 19:55:39 -07:00
friendica
49ccefd6c7 bad sql left after the mailbox in/out merge 2012-05-05 17:53:23 -07:00