Commit Graph

217 Commits

Author SHA1 Message Date
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
7bcebc8e2b Fixed add attachment per drag and drop.
Added the size after the link in group chat too.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3833 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-11-20 01:40:24 +00:00
thunder2
8c2f06d963 Added new url handler to QDesktopServices for the handling of RetroShare-Links application (RetroShare) wide.
Removed all connects of the signal anchorClicked of the QTextBrowser instances.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3814 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-11-18 01:18:31 +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
734301c2bc Scroll the text browser of the PopupChatDialog on first show and on every new chat messsage to the end.
Removed setting "Reopen if closed by user" and flag RS_CHAT_REOPEN.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3788 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-11-13 21:53:06 +00:00
thunder2
a27855450f Show count of unread NewsFeeds in the Friends Storm tab (without PeerItem's).
Fixed german language.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3773 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-11-10 12:24:36 +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
4751295a3f Fixed History Browser for group chat and private chat.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3758 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-11-07 00:22:46 +00:00
thunder2
ad6b10272b Added setting for the count of messages to load from the history for group and private chat
Restore the last active page in MainWindow on startup
Removed not needed methods RshareSettings::getChatAvatar and RshareSettings::setChatAvatar


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3747 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-11-04 11:14:47 +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
defnax
723554a0ab removed not needed icon
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3717 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-29 13:18:00 +00:00
thunder2
a2905bd7ae Reworked ConfCertDialog to show more dialogs at once.
Fixed german language.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3696 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-25 20:19:57 +00:00
thunder2
0e063f9a1b Fixed font handling in PeersDialog.
Fixed Qt bug in PeersDialog and PopupChatDialog with a workaround.
- QTextEdit::clear() does not reset the CharFormat if document contains hyperlinks that have been accessed.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3652 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-08 00:07:44 +00:00
thunder2
cfa10c6f80 Added receive time to ChatInfo - recompile of gui needed.
Use receive time for chat information to have the right order in the history (problem of time zones and wrong clocks).

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3593 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-03 10:08:58 +00:00
thunder2
7664a82fd6 Reworked design of offline chat messages in PopupChatDialog.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3592 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-02 22:42:30 +00:00
thunder2
327af4ca61 Add group support to the ConnectFriendWizard.
Add friend (now also in context menu of the group) sets the current selected group as default for the new user.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3558 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-29 19:30:59 +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
710052ab62 rename Context menu string in PeersDialog and update some translations
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3551 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-28 15:43:06 +00:00
defnax
797a270b0e set a default Foreground color for the Group items
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3549 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-28 11:21:42 +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
csoler
b0f0e4c380 Added sources to RS link download (now works for copy links from browsable only files). Removed unused optional list of sources from RetroShareLink::process()
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3539 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-24 21:01:13 +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
defnax
752495d239 changed Message Friend icon and added a separator
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3533 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-23 23:41:54 +00:00
defnax
a4c7da0e13 Added expand/collapse icons for the actions
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3532 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-23 22:46:36 +00:00
defnax
2672a83309 changed the Deny icon on Friend Deny
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3531 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-23 22:34:40 +00:00
defnax
8d6b4a2a09 Added Icons for Edit/Remove Group Actions
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3530 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-23 21:32:07 +00:00
thunder2
4614a06d57 Reworked context menu in PeersDialog.
Add "Edit group" to the context menu.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3527 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-23 18:49:52 +00:00
thunder2
09925c1bd5 Some changes for groups:
- Show user groups without assigned friends too, the standard groups are hidden without assigned friends
- Show the standard groups in he tree first, than the user groups


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3525 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-23 08:37:03 +00:00
thunder2
077b2871f1 Groups for friends in PeersDialog.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3523 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-22 22:37:57 +00:00
defnax
ad9f981ab0 Added CreateGroup Dialog
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3519 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-21 16:11:19 +00:00
thunder2
37fe5ff3a3 Save incoming not read private chat messages in config and delete it after reading.
Added queue for outgoing private offline chat messages. The queue is also saved until the private chat message could be delivered.
It does not work in the short time between the shutdown of the peer and the switch of the state to offline for that peer. For this we need a response of the peer.
Need recompile.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3517 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-21 00:08:06 +00:00
thunder2
a51bf3da67 Added new class RSTreeWidgetItem derived from QTreeWidgetItem for sorting strings case insensitive without proxy model.
Sort strings case insensitive in NetworkDialog, PeersDialog (changed to RSTreeWidgetItem), MessengerWindow (changed to RSTreeWidgetItem) and SharedFilesDialog (with folders first).
Sort the columns size and age in SharedFilesDialog by internal data and not by the shown string.
Save and load layout of the SharedFilesDialog in profile.


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3515 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-20 00:10:51 +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
3339e6ee0a Small cosmetic changes:
- Added a space between "nick (me)" and the "location" in PeersDialog.
- The own and subscribed channels in ChannelFeed are expanded by default.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3500 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-15 16:06:31 +00:00
thunder2
0b63a4be86 New class for the work with emoticons - Emoticons
Redesigned emoticons window
- flat buttons
- 9 icons in a row
- moved the window to the direction of the input object

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3487 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-14 17:47:11 +00:00
thunder2
81ca05e75e Cleaned Creation Dialogs for Channels and Forums and updated german translation.
Fixed small bug in AppearancePage.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3479 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-13 15:11:20 +00:00
thunder2
60746b5702 New class "StatusDefs" for status information like strings, images, fonts and colors.
Removed the status string function from the lib.
Removed static strings like " - " and " : " from translation.
Removed not needed images.
Fixed german translation in MessengerWindow, PeersDialog and PopupChatDialog.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3472 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-12 14:10:28 +00:00
thunder2
d05d723af1 Fixed sort friends by state in PeersDialog
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3471 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-11 20:52:37 +00:00
thunder2
3759f8de6f Show the connected gpg item with no state information in PeersDialog and MessengerWindow as online.
Added state string "Offline" to p3Status::getStatusString.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3470 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-11 20:25:08 +00:00
thunder2
d85ec3acf2 Fixed fill of the items in PeersDialog
- First fill is made again by showEvent and not from the timer. I overloaded showEvent in one of my last commit and forgot to call the base class.
- Add the items directly after the "new" to the tree, because for "setHidden" the item must be added.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3465 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-10 20:43:11 +00:00
thunder2
cbdb717e51 Fixed choose of the font in PopupChatDialog with the font dialog.
New class RsharePeerSettings and a global variable PeerSettings for read and write settings of a peer (gpg id).
Save font and color in PopupChatDialog.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3464 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-10 18:38:46 +00:00
thunder2
196e9cbf2d PeersDialog:
- Show the highest state of the ssl item in the gpg item.

MessengerWindow:
- Show the location and the custom state string in the gpg item of the ssl item with the highest state and existing custom state string.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3458 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-08 18:36:36 +00:00
thunder2
6bd6c50502 Styles for public chat, private chat and history.
RetroShare has a standard style for each type, but the user can define their own styles.
The external directories "style/public", "style/private" and "style/history" are scanned for subdirs with user defined style informations.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3453 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-07 15:49:31 +00:00
thunder2
bacf1f5a80 Added remove, copy to clipboard and resend of messages in History Browser.
Clear history in PeersDialog don't remove messages from the History Keeper.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3447 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-05 20:50:34 +00:00
thunder2
1f8017d06a Redesigned history browser of group chat.
New chat style for history browser.

There's more to come.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3443 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-04 23:59:08 +00:00
thunder2
8213a2aa77 Chat service:
- Added send time to ChatInfo.

Chat:
- Reworked IMHistoryKeeper to save only needed data as raw data (not formatted from PeersDialog).
- Renamed the public chat history file from "his1.xml" to "chatPublic.xml" and moved it from data dir to config dir. The current history is lost. Please delete the file "his1.xml" manually.
- Optimized save of the history. Save only when changed, also during the runtime.
- Clear the history in PeersDialog clears the IMHistoryKeeper too.
- New setting to send chat message with Ctrl+Return. Changed the check for Enter in PeersDialog and PopupChatDialog from textChanged to eventFilter.
- Smileys are inserted at the current cursor position, not added at the end.
- Don't send emty messages.

New class ChatStyle:
- Created a new class for the work with chat styles and smileys.
- Currently only two internal styles are available - private and public. Later more external styles planned.
- Moved functions for loading and showing the emoticons from PeersDialog and PopupChatDialog to the new class.

Private chat:
- Split private chat style into incoming.htm and outgoing.htm.
- Removed style change.

Public chat:
- New chat style incoming.htm, outgoing.htm, hincoming.htm and houtgoing.htm.

Chat feed:
- Show links and emoticons if they are enabled for public chat.

PeersDialog:
- Show the own name and location only once at start and not with QTimer every 1.5 second.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3441 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-04 14:23:30 +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
thunder2
48acd856af Added the peers custom state string to NotifyBase::notifyCustomState and to the signal NotifyQt::notifyCustomState.
Changed the display of the peers custom state string in PopupChatDialog from QTimer to signal.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3429 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-02 10:15:13 +00:00
thunder2
80764a1ff7 Fixed display of status icon in PeersDialog.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3428 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-02 08:25:30 +00:00
thunder2
7f837e9778 Splitted queue of chat messages in chat service into public and private queue.
Reworked the interface of the chat service. So full recomile is needed.
With disabled flags for private chat (RS_CHAT_OPEN_NEW and RS_CHAT_REOPEN), the incoming private chat messages are queued (only for the runtime) until the user shows the private chat dialog.
When a new chat message is available, the icon of the gpg and ssl contact changed in MessengerWindow and PeersDialog and a new tray icon is shown.
Fixed compiler warning.


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3421 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-01 17:56:15 +00:00