Commit Graph

59 Commits

Author SHA1 Message Date
thunder2
c82c4ea8eb Set the default page of CreateChannelMsg back to the first page.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5054 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-03-28 12:23:42 +00:00
thunder2
a646f52671 Optimized layout of the newsfeed items.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5005 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-03-04 22:00:28 +00:00
thunder2
04dedf5ce0 Fix some source code for better translation, added some new words to translate and removed some words not to be translated.
Fixed german translation.
Please review the other languages.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4892 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-02-05 21:05:11 +00:00
thunder2
3b1c26de35 Set the focus the subject input when creating a new forum/channel or channel message.
Set the forum/channel message to read when expanding the message feed.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4891 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-02-05 14:56:27 +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
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
csoler
ad04f62e80 added past RS links to post on channels, and additional check that the file is already shared
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4609 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-09-18 19:43:38 +00:00
chrisparker126
3ff69a1be5 added private groups option to forums
fix for grp edit in p3distrib

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4579 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-08-29 21:20:48 +00:00
thunder2
cd0854c4e8 Removed duplicate labels in ui files and some other compiler warnings.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4565 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-08-13 22:26:51 +00:00
thunder2
0fbada0eba Applied patch from AsamK and fixed german translation.
Reduced code duplication with avatar picture loading, by creating two new functions that handle image choosing and thumbnail creation.

two new functions:
bool misc::getOpenAvatarPicture(QWidget *parent, QByteArray &image_data)
QPixmap misc::getOpenThumbnailedPicture(QWidget *parent, const QString &caption, int width, int height)

getOpenThumbnailedPicture opens a QFileDialog to let the user choose a picture file. This picture is converted to a thumbnail and returned as a QPixmap.

getOpenAvatarPicture calls getOpenThumbnailedPicture and converts the result to a PNG byte array.

All three avatar loading functions now call getOpenAvatarPicture
Furthermore Channel Logo and Channel Msg thumbnail functions now use getOpenThumbnailedPicture

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4561 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-08-12 20:27:05 +00:00
thunder2
70d02c718d Removed unused parameter warnings in retroshare-gui.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4559 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-08-12 14:06:29 +00:00
thunder2
c62f642706 Optimized layout of the SubFileItem.
Show the cancel button only when downloading or when used in CreateChannelMsg.
Hide empty message text.
Fixed german language.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4402 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-07-06 23:46:16 +00:00
thunder2
fcee4ebc32 Fixed drag and drop of files to a forum message with utf8 chars.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4198 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-05-13 20:06:16 +00:00
chrisparker126
9d2809e4ce disabled auto thumbnail checkbox, can be enabled if framecatcher option is switched on in .pro file.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4031 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2011-02-11 00:06:00 +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
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
defnax
313d3eac6a Added to select and attach multiple files at once
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3877 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-11-29 15:21:00 +00:00
defnax
cc334b7142 set first tab by default.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3835 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-11-20 15:13:24 +00:00
chrisparker126
a9ee3d92dc introduced frame catcher to channels, add framecatcher in Retroshare.pro to build it in
(only works for linux at the moment)

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3821 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-11-19 00:47:18 +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
chrisparker126
7b5c611d80 don't allow user to add same file twice to createchanmsg instance
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3700 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-26 22:41:47 +00:00
chrisparker126
884f0e7a22 added channel search to channelfeed ui
fixed timestamp not being set in p3distrib 
and also removed memory look in channel ui (fillchannelList)

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3677 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-17 14:43:49 +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
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
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
22b74c8e63 enabled OK Button
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3602 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-10-04 18:43:13 +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
8fae298502 some little redesign Share key dialog
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3536 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-24 14:59:09 +00:00
defnax
37b797a2b4 Display the Channel Type on Channel Details
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3535 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-24 14:51:00 +00:00
defnax
e3fcfe6c1a disabled the OK Button by default, enable it back when file is attached.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3526 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-23 17:16:27 +00:00
defnax
fc6c5ea22f Enabled to display the Channel logo on Channel Edit
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3485 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-14 13:00:32 +00:00
thunder2
4fd3ab6123 Cleaned LinkDialog, MessengerWindow, ImHistoryBrowser, IntroPage, MainWindow, ShareManager, StartDialog and some other small dialogs and updated german translation.
Now the big changes are finished.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3480 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-09-13 20:05:55 +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
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
defnax
225781aa51 set a minimum size hint for the friends list in CreateChannel
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3260 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-05 20:20:32 +00:00
defnax
e7d659946d set minimum size hint for the items
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3257 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-05 18:17:54 +00:00
defnax
700048fd9c fixed the layout of ShareKey
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3256 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-07-05 18:12:03 +00:00
csoler
bf6f74c16a added correct image interpolation whenever QPixmap::scaled is called
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3175 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-20 12:13:47 +00:00
defnax
350f6e0365 fixed the QLineEdit to stretch
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3167 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-19 16:57:46 +00:00
chrisparker126
7b26785262 added share key dialog for channels
enabled private group in channels

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3164 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-19 15:28:26 +00:00
chrisparker126
478c4e1c29 edit channel info dialog
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3062 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-06-04 22:52:54 +00:00
chrisparker126
84da8eb074 added key share list to channels
fixed problem with other channels not showing except top 5

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3005 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-25 22:53:35 +00:00
chrisparker126
26a808b3e7 added group icon support for blogs and channels
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2905 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-14 13:06:58 +00:00
defnax
2f8d21ab76 clean up some compile warnings
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2885 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-10 20:38:59 +00:00
chrisparker126
c5e8669ec0 Channels
- removed settings button 
 - deals with hashing of its own files
 
 subfileitem
 
 - absolved from file hashing responsibility 
 - added play button functionality(taken from transfer dialog, thanks)
 
 blog
  
  - removed file attachments feature (only for blogging ), will add pic support later
  
 

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2867 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-08 16:21:57 +00:00
thunder2
5bb023104d Source code maintenance
Memory leaks:
- SharedFilesDialog::sendLinkToCloud -> new AddLinksDialog
- SharedFilesDialog::addLinkToCloud -> new AddLinksDialog
- ChannelFeed::channelListCustomPopupMenu -> new QAction
- ChannelFeed::createChannel -> new CreateChannel
- ChannelFeed::openMsg -> new GeneralMsgDialog
- ChannelFeed::createMsg -> new CreateChannelMsg
- NewsFeed::openMsg -> new GeneralMsgDialog
- BlogsDialog::openMsg -> new GeneralMsgDialog
- BlogsDialog::createBlog -> new CreateBlog
- BlogsDialog::openMsg -> new GeneralMsgDialog
- BlogsDialog::createMsg -> new CreateBlogMsg
- NewsFeed::deleteFeedItem -> Feed items are not deleted, just switched to hidden

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2847 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-05 00:05:36 +00:00
defnax
d2c3c1b64c Fixed Channel Detail Labels, forget some renaming
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2836 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-02 16:18:51 +00:00
chrisparker126
bfa2da61f5 new create channel ui - essentailly a copy of createforums explicitly for channels
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2828 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2010-05-02 12:20:30 +00:00