Commit Graph

116 Commits

Author SHA1 Message Date
thunder2
b95ecd1109 Disabled embedded images for the next stable release.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5570 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-09-18 23:32:38 +00:00
thunder2
02892d4ae5 Added patch from braindead
Embedded images in private chat and messages (only for QT version 4.7.0 and higher)

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5569 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-09-18 22:59:23 +00:00
thunder2
fb389f6116 Enabled the menu item in the context menu again to copy the link when right clicking on a link.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5522 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-09-07 21:28:25 +00:00
defnax
39c3d013f5 Improved the default recommendation text
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5166 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-05-14 14:14:38 +00:00
thunder2
dc2d6c975e - Moved HandleRichText from the folder "chat" to "util" and redesigned the source
- Extended RsHtml::formatText to replace the RetroShare links with an image and enabled this for the certificate links in the system messages (friend recommendation and user request)
- Added new ObjectPainter for painting a button on a pixmap


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5160 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-05-12 00:40:53 +00:00
defnax
438651f693 update language strings and corrected connect attempt message
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5155 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-05-09 13:49:23 +00:00
thunder2
b81a911793 Friend recommendation message
- renamed subject
- added to system message
Recompile needed


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5145 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-05-05 22:20:05 +00:00
thunder2
2611da2f72 Changed style of the reply/forwarded message.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5141 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-05-04 23:39:36 +00:00
thunder2
c331098203 Added new message flag for system messages like friend request.
Show "RetroShare" as sender of system messages to myself.
Added new quick view in MessagesDialog to filter system messages.
Changed RetroShare link in friend request message to certificate.
Added new subject image for the system messages (defnax).
Removed not used notify in message service.
Recompile needed.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5129 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-05-01 09:18:55 +00:00
thunder2
d28ffb9c0d Added new notify on connect attempt by the local message system.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5124 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-04-26 23:41:14 +00:00
thunder2
3b314e3a69 Added multi friend recommendation dialog.
You can start it from the tools menu in FriendsDialog.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4913 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-02-09 19:18:15 +00:00
thunder2
d5479940d1 Fixed RetroShare links with " characters in the name.
Removed not used plugins from the .pro file.
Removed some warnings from lupdate.
Fixed german translation.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4903 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-02-08 12:11:15 +00:00
thunder2
e6816c9d6f Added new common widget FriendSelectionWidget for selecting friends and use it in CreateLobbyDialog, ShareKey (forums and channels) and MessageComposer.
Fixed german language.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4850 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-01-27 00:32:17 +00:00
thunder2
cb9111ad88 Changed the recommendation of friends from person link to certificate link.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4838 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-01-23 22:38:50 +00:00
thunder2
80a20b41a3 Fixed message reply and forward.
The new lines were removed falsely.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4815 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-01-18 23:00:50 +00:00
thunder2
0ee35b55f4 Added new widget for hashing files.
Added new common class FilesDefs to handle informations of file types like icons and names.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4713 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-12-07 13:08:12 +00:00
csoler
6addc80e99 fixed link passed issue due to usin self-closign links (Patch from Asamk #3418941)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4631 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-10-05 16:57:33 +00:00
thunder2
29c090fb44 Moved the chat history into the libretroshare.
Now the history is saved encrypted. Please delete all files with "chat*.xml" in your profile folder.
Added new config p3HistoryMgr and interface p3History.
Added new option to limit the count of the saved history items.
Added new simple html optimizer "RsHtml::optimizeHtml" to reduce the size of the html strings.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4623 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-09-29 09:20:09 +00:00
thunder2
2fac47293e Reworked the process of the RetroShare links. Now RetroShare asks when adding a file or a person link and shows a detailed result.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4604 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-09-11 22:07:24 +00:00
csoler
dc0f4ef68a send msg in plain text when the html encoding does not change anything into the message. This drastically reduces messages size.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4599 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-09-09 19:54:17 +00:00
drbob
b082362c58 Updated retroshare-gui to match libretroshare interface changes.
* remove calls to rsPeers->setAcceptToConnectGPGCertificate();
 * these are replaced with addFriend() / removeFriend().
 * renamed rsPeers->getSSLChildListOfGPGId() => rsPeers->getAssociatedSSLIds().



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4543 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-08-07 21:14:09 +00:00
thunder2
25b888d31f Automatic add the recommended friend(s) as CC in the MessageComposer.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4262 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-06-14 20:42:32 +00:00
thunder2
f14b529009 Added tags to the MessageComposer.
Added context menu to contact list in MessageComposer.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4213 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-05-21 16:26:00 +00:00
thunder2
4d4c4c0a47 Fixed recommend friend.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4197 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-05-12 19:37:13 +00:00
thunder2
70c3c9678d Added new RetroShare link format to write a message
retroshare://message?id=...[&subject=...]
Added clickable links in ForumMsgItem for the signer of the message to start the MessageComposer.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4190 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-05-07 23:14:09 +00:00
thunder2
cd8188bf09 Added new RetroShare link format to start a search
retroshare://search?keywords=...
Enabled key "delete" to remove search results.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4185 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-05-04 10:22:49 +00:00
thunder2
3f67782ce1 MessageComposer:
- Removed standard subject "No Title"
- Corrected tabstops
- Set focus to subject after asking "Do you want to send the message without a subject ?"

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4005 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-01-31 20:35:09 +00:00
thunder2
9715066181 Fixed the initial fill of the friends in the contact sidebar in the MessageComposer. Now the correct state image of the friend is shown.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3929 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-12-22 01:11:19 +00:00
thunder2
254e3de187 Removed the status column in PeersDialog and added the status to the name column.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3916 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-12-15 21:32:44 +00:00
thunder2
f7252fd693 Added three new methods on misc: getOpenFileName, getOpenFileNames and getSaveFileName. Please use this rather than QFileDialog.
Added save and restore of the last used directories for the following types
- Extra files
- Certificates
- History
- Images
- Messages
- Blogs (not tested)
It is easy to change.

Added attach of multiple files at once in CreateForumMsg.
The RetroShare links of the added files in CreateForumMsg are added with new style and as anchor with size information.
Added translation to some file dialogs.
Removed (commented out) not needed methods in NetworkDialog.
Fixed handling of filenames with umlauts when adding extra files.


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3894 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-12-03 00:54:40 +00:00
thunder2
78dea3c630 Avoid adding duplicate recommended files.
Added static scroll area for hashing files.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3873 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-11-26 15:32:46 +00:00
thunder2
aeabbbd58a Add attachements in MessageComposer now can add more than one file at once.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3872 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-11-26 12:09:27 +00:00
thunder2
064b619f70 Added standard context menu to the input text in private chat, group chat and create forum message.
Added paste RetroShare link to the context menu of the text edit and file list in message composer.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3846 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-11-21 21:12:35 +00:00
thunder2
2c9462e446 Disabled image support in MessageComposer and PopupChatDialog for the release version.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3807 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-11-17 12:45:46 +00:00
thunder2
0f1a1987b6 Added drag and drop support for attaching files in MessageComposer.
Corrected some messageboxes to show the icon of the parent.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3802 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-11-16 09:31:30 +00:00
thunder2
c36fab48d8 Fixed recommended files in MessageComposer. Unchecked recommended files was sent too.
Removed not needed member inRecommend on FileInfo.

Recompiled of the GUI needed.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3783 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-11-12 23:48:12 +00:00
thunder2
ae4f43d9e8 Added smiley support for messages.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3774 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-11-10 13:35:38 +00:00
thunder2
b79341503e Removed new lines of the QLineEdit input fields after input in forum, channel, message and group.
Removed size hint of he trees to show erroneous texts.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3768 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-11-09 19:57:05 +00:00
thunder2
dd4c43cf7d Removed menus with friends in SharedFilesDialog.
Add a single action to send files as message.
Add send as message to the remote files too.
The files are now send as recommended files.
Disable context menus for the person item.
Auto hide the AttachFileItem in all dialogs after the successfully finish of the hash.
Removed the column source of the files in messages.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3759 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-11-07 21:33:48 +00:00
thunder2
3c65283f8f - Change methods of RsMsgs from "std::string" to "const std::string&"
- Fixed sent messages doesn't get the flag RS_MSG_FLAGS_NEW
- Rework reply and forward message, now the replied or forwarded message gets the state and not the answer itself
- Added RsMsgParentId (with test) to save the parent of the message in draft
- Change methods of MessageComposer from "std::string" to "QString"
- Show image in the message row in MessagesDialog again
- Fixed umlauts in recommended files in MessageComposer
- Renamed tab "Live Chat" in "Group Chat"
- Fixed german translation

recompile of the GUI needed

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3741 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-11-02 21:11:11 +00:00
thunder2
89ca27ef66 Check for empty recipient and empty subject in MessageComposer.
Added context menu for empty trash in MessagesDialog.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3720 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-29 20:57:23 +00:00
thunder2
4c835472d6 MessageComposer: Set the color of the edittext back to standard on adding a new friend as recipient.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3556 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-28 23:16:50 +00:00
thunder2
de16f6c72d New class for working with peer names (rsid, name + location, ...) - PeerDefs.
Show the location in brackets - "name (location)" (defined now in PeerDefs).
Renamed head of context menu in PeersDialog for ssl items.
Fixed german translation.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3553 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-28 20:33:34 +00:00
thunder2
e8d22e2940 Show Cc and Bcc in MessagesDialog if available.
Send message to friend with a click on To, Cc or Bcc label.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3546 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-28 00:03:12 +00:00
thunder2
627b0ca54a Reworked MessageComposer
- Added To, Cc, Bcc and Recommend friends
- Added group support
- Show state of the friends in real time
- Save state of the window in profile
- Translated into german

Added "Message group" to PeersDialog

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3541 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-27 21:05:52 +00:00
thunder2
789ca4ff6b Removed methods on RsControl for handling id's of chat and messages.
Now the user can write mail messages and two or more parallel MessageComposer's.
Recompile needed.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3534 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-24 11:38:46 +00:00
thunder2
5277ca61e2 Some more changes for utf8 in Windows.
Changes in RetroShareLink and drag'n'drop of files.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3511 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-17 21:54:25 +00:00
thunder2
061cb2a6a8 Fixed saving new message to draft.
When you write a new message and save it to draft more than once, a new message in draft is created everytime you save.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3466 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-11 10:39:40 +00:00
defnax
1d957f3674 renaming Persons to Friends
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3438 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-03 17:04:27 +00:00
leander-256
4bb4fc11e2 This intimidating patch renames libretroshare/src/rsiface/ to
libretroshare/src/retroshare/

All the relevant headers have been modified to reflect that change.

This allows installation of libretroshare on a system, headers will
be put in $WHEREVER/retroshare/ and we keep the ability to compile
against them, be it on the system or in the SVN tree.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3342 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-06 09:40:23 +00:00
thunder2
569ac25843 cleaned include files
- removed some dependencies between other header files
- removed many includes of <QtGui> and replaced it with only needed files

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3312 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-23 18:52:58 +00:00
defnax
0ab77d8a40 added more details about copy and paste for recommend message
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3294 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-16 20:20:46 +00:00
thunder2
daf0ea50ee PeersDialog/MessengerWindow:
- send recommended friend as message
- paste recommended friends as "retroshare://person|..." from clipboard

reworked retroshare link handling
- added new type -> retroshare://person|<name>|<hash>
- added processing of links to RetroShareLink and RSLinkClipboard and removed all processing in anchorClicked of QTextBrowser 
- fixed parseClipboard to handle all found links in clipboard
- disabled the processing of the clickable links (RetroShareLink::processUrl), because QUrl can't handle the RetroShare links properly

removed memory leaks of the QAction in some context menus


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3292 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-15 11:25:34 +00:00
thunder2
728d755af8 MessageComposer:
- set focus to subject at start of MessageComposer
- sort friends by name ascending

main:
- removed signal with missing receiver


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3285 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-12 14:01:29 +00:00
thunder2
f452304b5c Change header of MessageComposer when title edit has modified - like ThunderBird
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3267 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-07 23:03:34 +00:00
thunder2
e282a55164 MessengerWindow
- cleaned include files
- changed menu for set the tree is decorated
- new check for sort rows by state
- saved the state of sort order, hide offline, sort by state and decorated state

PopupChatWindow:
- when setting "Grab Focus when chat arrives" not checked, the new chat window is opened minimized and flashed in taskbar

reworked start private chat and message to friend from PeersDialog and MessengerWindow:
- moved method for starting a private chat from PeersDialog and MessengerWindow to PopupChatDialog
- moved method for sending a message to a friend from PeersDialog to MessageComposer
- removed signal startChat

fixed bug in MessengerWindow:
- when peer is not online and private chat is not available, the message was send to the wrong peer (the current peer in PeersDialog)


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3154 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-17 17:39:32 +00:00
thunder2
5b1fae0123 all messages in MessagesDialog are now editable from context menu or with double click
changes from defnax with some corrections from me

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3135 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-14 18:16:32 +00:00
leander-256
b5ce0fc56b Use a RetroShareLink to create a link rather than duplicate code, also removes
an awkward conversion from uint64_t to string.


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3086 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-08 00:42:15 +00:00
defnax
d7b8e9cb7c Added Search Filter for Contacts View
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3030 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-29 19:05:10 +00:00
defnax
f44de1146a added Format Menu entry
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3003 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-25 22:30:25 +00:00
defnax
c9fe6dee6b moved Horizontal text Splitter to Insert Menu and added Paragraph ComboBox instead of Lists ComboBox, Lists needs a own Format Menu not more use as ComboBox.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3000 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-25 17:18:12 +00:00
defnax
ff32924d73 removed one Blockquoute Button
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2999 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-25 16:16:28 +00:00
defnax
18aa8bca8e store by default for Save File menu and Save Button to draft
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2997 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-25 13:22:42 +00:00
defnax
097caf6e98 Added File Menu entry Save as Draft for MessageComposer.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2995 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-25 10:41:26 +00:00
thunder2
b0c1467abe improvement MessagesDialog:
- enabled draft box

bugfix MessagesDialog:
- correct from and to in list and message header

changes MessageComposer:
- cleaned channel part


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2994 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-25 09:32:14 +00:00
defnax
1fb7fb005c rename class and source ChanMsgDialog to MessageComposer
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2978 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-23 19:13:41 +00:00