Commit Graph

93 Commits

Author SHA1 Message Date
thunder2
2efa6b5b06 Moved the fill function of the ForumsDialog to a QThread.
Fixed memory leak of the fill thread of the history browser.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4240 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-06-07 22:28:07 +00:00
thunder2
0dd77f6f27 Optimized the functions for the forum messages.
- used "const std::string&" for the parameters
- used "std::map" for the read status
- removed useless variables
Added new define DEBUG_FORUMS in ForumsDialog.cpp.
Added function to generate mass data for the forum messages.
Fixed german language for the FriendsDialog.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4236 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-06-06 21:44:16 +00:00
thunder2
7b4f45b686 Removed the + button in channels and forums and moved the post button to the right side.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4205 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-05-16 21:24:16 +00:00
thunder2
650ef12af6 Added a new button in the forums dialog to download all links in the selected forum message.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4202 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-05-15 20:21:14 +00:00
thunder2
0619463948 Fixed some more utf8 handling in the GUI.
Optimized creation of the RetroShare links for forum and channel messages.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4194 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-05-08 23:11:27 +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
ac18995bdf Enabled space to switch the read state in MessagesDialog and ForumsDialog.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4183 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-05-02 21:50:20 +00:00
thunder2
e5f3518225 Added new RetroShare link formats:
retroshare://forum?
retroshare://channel?...
Added "Go to" from the news feed of forums and channels.
Added "Copy RetroShare Link" to the forum/channel tree and messagees.
Fixed style sheet of the auto download button in ChannelFeed.
Fixed german language.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4162 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-04-19 19:42:44 +00:00
thunder2
1885b79b67 Show missing forum messages in dark red and disabled the read state for it.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4034 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-02-12 00:04:32 +00:00
chrisparker126
bbcbc9282e added key restore to forums and fixed restore bug
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4023 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-02-08 22:34:54 +00:00
thunder2
e972ddea3e Removed maximum size of the splitter in ForumsDialog and ChannelFeed.
Save and load the splitter state of the ChannelFeed.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4012 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-02-04 00:53:44 +00:00
thunder2
ff57befb1f Added display menu in channels and forums to sort the group tree by name, popularity or last post.
Removed unnecessary loop over the forum messages in ForumDetails.
Removed date and time when lastPost==0 in ForumDetails and ChannelDetails.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3950 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-01-04 20:19:45 +00:00
thunder2
e576c56e27 Disabled the context menu actions "Subscribe to Forum" and "Unsubscribe to Forum" in forums tree, when no forum is selected.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3947 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-12-31 22:32:08 +00:00
thunder2
ad67844c7a Enabled clickable links in forums and messages.
Added new translation in messages (count of recommended files).
Fixed german translation.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3946 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-12-30 17:09:32 +00:00
thunder2
df1e8b7537 Created a basic widget of the group tree with the filter out of the channels and used it in the forums tree too.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3937 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-12-27 00:15:25 +00:00
thunder2
404dfd0cbc Added popularity column and removed hidden date column in forums tree.
Added new global class for working with popularity PopularityDefs.
Changed the display of the popularity icons.
 0     = icon 0
 1-7   = icon 1
 8-15  = icon 2
 16-24 = icon 3
 25-34 = icon 4
 >34   = icon 5
This can be changed in PopularityDefs::icon.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3933 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-12-25 12:52:29 +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
145c6775c4 Added mark all as read/unread in forums tree.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3798 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-11-15 23:33:32 +00:00
thunder2
624aef2065 Changed the color for the posts in ForumsDialog.
- unread posts = black + bold
- read parent posts of unread posts = gray + bold
- read posts = gray

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3789 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-11-13 22:42:20 +00:00
thunder2
e20e9a529a Add spacing again for forums, messages and channels.
Added a new base class "RSItemDelegate" for adding a spacing for the item and remove the focus rectangle of the empty text for items with only an icon.
Removed existing classes "ForumsItemDelegate" and "MessagesItemDelegate".

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3771 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-11-09 23:56:02 +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
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
f936bb8996 Removed unnecessary call to RsForums::getForumMessage in ForumsDialog::insertThreads.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3680 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-18 11:29:55 +00:00
defnax
6d54bbd78c changed the header resize for Title and Date in Forums
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3597 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-03 22:29:03 +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
dbb21e0b16 The forum details (name and description) can be edited by the owner.
Recompile of the gui needed.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3488 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-14 19:38:47 +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
671e3e71a6 ForumsDialog
- Enable the button for new messages only when a thread is selected.

ForumsDialog & CreateForumMsg
- Now using embedded emoticons.

Fixed german translation.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3483 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-13 23:35:21 +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
5e2921ae98 Cleaned ForumsDialog and MessagesDialog and updated german translation.
New class for working with tag translation - TagDefs.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3476 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-12 22:17:17 +00:00
thunder2
2b3fb8e988 Small performance optimization in ForumsDialog when manipulating the read status.
Calculate only processed toplevel items.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3357 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-11 08:31:11 +00:00
thunder2
2b597d4542 Show forums with unread messages with bold font.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3356 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-10 15:41:25 +00:00
thunder2
3cfc08482f New icon in system tray and a new icon with star in toolbar of MainWindow, when new forum messages are available.
New signal forumsChanged on NotifyQt.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3354 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-09 21:20:34 +00:00
thunder2
86ae9983d1 New read status for forum messages.
New mail messages are marked with a new icon in front of the title.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3352 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-08-08 22:58:10 +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
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
drbob
126a1d4012 Switched parent from MainPage to RsAutoUpdatePage ... in an attempt to fix GPG password freeze.
don't think it worked!



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3259 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-05 19:41:46 +00:00
defnax
f3c2f0eaf0 disable the newthread and reply button when forum is not own or subscribed
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3195 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-23 22:11:42 +00:00
defnax
69bba330ac set a minimum size for Forum items and set a Foreground Text color.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3172 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-19 22:21:31 +00:00
defnax
2088ff808d Set icons for Signed and none signed Forum Messages, set a default minimum size for thread items.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3045 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-31 23:02:45 +00:00
defnax
4f4bad4d5a moved Forum Title Column as First column
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3040 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-30 23:49:20 +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
c2f7f7935e improved ForumsDialog:
- new filter for threads tree
- saved layout of dialog

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2954 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-19 20:17:43 +00:00
thunder2
42f728a483 removed call to :clone in refill of threads in ForumsDialog
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2937 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-17 21:42:18 +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
thunder2
946d09cb72 Fixed crash and endles loop with refill in forums
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2892 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-12 22:23:05 +00:00