Commit Graph

119 Commits

Author SHA1 Message Date
defnax
89f448d282 changed the format of the timestamp for the ForumMsgItem
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3743 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-11-03 18:24:58 +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
chrisparker126
618cc702a8 added file moving utility to rsFile interface to channels file save consistent
msgs now save from field in received msgs

also allowed user to delete file added in createChanMsg dialog


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3727 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-31 19:29:26 +00:00
thunder2
fb5785ac9d Fixed german language.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3694 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-23 14:08:20 +00:00
defnax
77d33cad4a enabled word wrap for the Description label
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3688 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-20 21:51:11 +00:00
defnax
1ce0c822ba Added to display filesize on ChannelMsgItem and moved the filelabel to the right side
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3664 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-11 00:48:11 +00:00
defnax
3681c8a2f5 enabled PreferAntialias for some Buttons
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3663 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-10 18:05:49 +00:00
defnax
e1d9e1a4a8 Little improvements with QFont::PreferAntialias for the Labels in ChannelMsgItem/SubFileItem.
Added to display the file size after the filename on SubFileItem.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3662 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-10 16:43:37 +00:00
chrisparker126
a612872d9b fixed bug that caused user to lose own channel if they unsubscribed it
removed channel file copying 
added tool tip for key sharing 
and tool tip for read status 



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3661 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-10 15:22:50 +00:00
defnax
4a286f751b changed vertical layout space of the ChannelMsgItem
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3658 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-09 15:16:18 +00:00
defnax
e7023c55a0 fixed some layouts and allow a minimum size for the Title Label, and set a maximum size for some buttons.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3654 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-08 15:16:38 +00:00
defnax
d4c29c5648 Added stylesheet change when channel message is new
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3650 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-07 23:35:47 +00:00
defnax
53643022a0 added stylesheet for the new Label in ChannelMsgItem
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3635 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-07 16:04:31 +00:00
thunder2
fc0ff38206 Added read/unread state to channel service (copied from forum service).
Added new and missing tests of the RsItems.
Added new notifier on channel changes.
Reworked fill of channels in ChannelFeed. Now the channel tree is updated and not refilled.
Show unread message count in channels tree.
Fixed memory leak in context menu.
Show a new tray icon and action icon in MainWindow, when new channel messages are available.

Recompile of the GUI needed.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3626 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-07 00:17:42 +00:00
thunder2
fc320cf1a6 Fixed drag'n'drop of shared files from the SharedFilesDialog to the CreateChannelMsg.
Enabled the usage of remote files.
Added some small const& to the code.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3619 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-06 00:08:20 +00:00
defnax
3309d2a247 moved the Download and Play Button to a better place, to the left side.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3617 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-05 22:07:07 +00:00
thunder2
d31cef0f11 ChannelFeed:
- Sort the ChanMsgItems of the channel by date

ChanMsgItem:
- Fixed adding all files (SubFileItem) again by pressing the unsubscribe button (only in Friend Storm)
- Enable unsubscribe button only when channel is subscribed (only in Friend Storm)
- Fixed adding files with umlauts (utf8) on Windows
- Enabled Download and Play button in ChanMsgItem, when they are enabled in the SubFileItems

ftServer:
- Added the method alreadyHaveFile for use in the GUI - recompile of GUI needed

SubFileItem:
- Added state strings like LOCAL, REMOTE, ERROR, ... for translating


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3614 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-05 20:39:14 +00:00
defnax
79f02f7297 fixed a margin problem in ChannelMsgItem
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3607 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-05 00:01:53 +00:00
defnax
f0fb3db541 Added download and play button to ChannelMsgItem, it hided by default.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3601 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-04 18:28:11 +00:00
defnax
17f48ccd61 enabled word wrap for Channel Description in ChanneMsgItem
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3587 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-02 00:57:17 +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
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
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
defnax
6e771af2b6 added stylesheet for the Big description label.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3486 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-14 13:06:08 +00:00
defnax
a57ebbe623 Added border style sheet for the Channel Thumbnail Label.
Fixed to not allow to stretch the Description Label, when text is too big, then view the full text when frame is shown.
Removed one Button on PeerItem and use now a menu when want use the Advanced Messaging


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3478 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-13 14:24:26 +00:00
thunder2
1e3a1d7ddb Rework some translations.
Removed the translation of gui elements, that does not need to be translated.
Especially in feed items.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3475 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-12 20:27:03 +00:00
defnax
87d2cec44c Added Cancel Buttons for Chat and Peer feed Items, and disable the Send Buttons by default, added for PeerItem to check if TextEdit is empty or not too.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3462 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-08 22:46:26 +00:00
thunder2
cb1bee3318 Enable/disable the send button for quick message in the ChatMsgItem with textChanged signal of the QTextBrowser and not with updateItem.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3460 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-08 19:04:24 +00:00
defnax
2fa6afd36d Added for PeerItem too "Quick Message"
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3459 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-08 18:46:30 +00:00
defnax
3ffbcb5569 Added "Write a Quick Message" functionality to answer faster from the ChatMsgItem.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3457 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-08 16:27:13 +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
d5ea522eb0 set correct Avatar size for the Label.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3426 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-01 21:57:05 +00:00
defnax
c8de865e1a Redesign the Message Item feed
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3425 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-01 21:54:07 +00:00
thunder2
af4667232b Don't add a ChatMsgItem as feed on own public chat message.
Moved the handling of the avatar from PeerItem::updateItem and ChatMsgItem::updateItem called with QTimer to connect to the signal peerHasNewAvatar.
Fixed compiler warning.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3419 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-31 22:42:40 +00:00
defnax
b52a7d6df4 Improved the layout of ChatMsgItem.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3416 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-31 20:55:40 +00:00
thunder2
b6b5fa5cd6 Changed the chat service from a timer tick from the gui to a service tick.
Created a new notifier for new chat available - NOTIFY_LIST_CHAT. Removed the QTimer in PeersDialog and connect the signal.
Created news feed for public chat (prework of defnax, need still some gui changes)

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3413 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-31 17:13:52 +00:00
defnax
d5090ea33c fixed to enable wordwrap for Forum Message Item, to not display long message in one line.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3398 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-27 13:52:17 +00:00
defnax
af81ffcf43 little layout change for PeerItem, removed not need label
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3397 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-25 21:29:55 +00:00
defnax
b85d41cdd7 changed the Channel New Item layout design
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3394 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-24 21:04:35 +00:00
defnax
43b47101db changed PeerItem style sheet color a little bit brightly
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3366 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-13 12:47:10 +00:00
defnax
328bb4aacf Added Logo Labels for Forum Items
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3364 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-12 19:49:41 +00:00
defnax
76019cd671 some design changes for PeerItem
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3362 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-12 16:40:47 +00:00
defnax
c904eb54de Added to Display Avatar for NewsFeeds PeerItem. little design of PeerItem, removed not used buttons.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3359 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-12 15:07:09 +00:00
defnax
cfc17398dd added Picture Preview Thumbnail patch for Privat Chat from xiaohan and fixed little design improvements
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3344 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-06 12:30:06 +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
chrisparker126
1f873e023e added channel msg thumbnail, you'll lose all your current channel msgs before this rev
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3297 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-17 20:17:14 +00:00
thunder2
c8a805b8e7 added trash in msgservice and trash folder in MessagesDialog
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3020 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-28 14:42:54 +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
b4a4ce07af Enabled Post to Forum for ForumNewItem
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2985 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-23 23:02:15 +00:00