Commit Graph

80 Commits

Author SHA1 Message Date
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
bb4aedf55f Disabled expand on double click in the contacts tree in MessageComposer.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3570 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-30 17:01:51 +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
defnax
11685161f5 set a maximum height for the button frame
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3548 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-28 10:52:20 +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
c621cc5474 moved Quote Action as Last entry in ToolBar
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3001 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-25 17:21:37 +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
thunder2
6baf56285b reworked settings
now there is only one global object for loading and saving settings

RshareSettings *Settings;

the class RSettings can be used too, but it is not prefered, because the default settings has no affect

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2964 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-20 21:53:27 +00:00
thunder2
c3c6480f4b changed the usage of "QMenu*" to a local "QMenu"
removed usage of "new QMouseEvent", it was a memory leak
cleaned some includes

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2910 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-14 20:55:44 +00:00
defnax
604fd1872a fixed to add a new line when retroshare link is added
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2893 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-13 09:38:24 +00:00
thunder2
6b3f51c626 Bugfix: Attach a file in message dialog inserts the link at current cursor position and does not overwrite the whole message text
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2887 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-11 20:53:21 +00:00
thunder2
906cca8012 Forwarding a message keep the attached recommended files.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2788 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-04-26 21:11:19 +00:00
defnax
56da9a0f65 Fixed Messages Compose->Contacts SideBar, now disabled DockWidgetMovable
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2607 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-03-23 00:21:37 +00:00
defnax
9e584e6723 redesign Create Blog Msg Publisher with html Formating features and fixed textSize formating for Message Composer
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2388 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-22 14:20:40 +00:00
defnax
91023d9413 use correct icons for increase/decrease
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2366 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-19 01:48:52 +00:00
alexandrut
f9af70d361 possible fix to recommend system
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2357 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-17 22:28:07 +00:00
defnax
6daa5809c7 fixed the left side friends list for Message Composer to get resizeable
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2305 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-02-13 22:34:13 +00:00
joss17
0f7b6a0bb8 in message composer, connected peers are colored in blue
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2160 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-30 22:00:50 +00:00
defnax
57351f7bbe fixed selection for the action
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2127 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-25 20:19:32 +00:00
defnax
704d89ab9a Added a Blockquote Button to ToolBar, changed Message Toasters Icon label as ToolButton
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2126 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-25 20:16:54 +00:00
defnax
777b52753a Added Split Text for Compose Message
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2125 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-25 15:36:24 +00:00
defnax
6cb925016a little improvements for Compose Messsage,
added Blockquote,Increase font size,Decrease font size,text font to code style Buttons
added when reply to a message set TextCursor to End.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2123 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-01-25 14:03:38 +00:00