Commit Graph

4829 Commits

Author SHA1 Message Date
drbob
4438303d55 * Got GxsCircles running in libretroshare.
- Completed serialiser.
    - added dummy interface fns. & cleaned-up other linking issues.
    - Added into rsinit.cc

 * Improved GxsIdentity DummyData to fake Ids from friends
    - #define to enable, must be switched off for real usage.
    - cleaned up rsIdentity interface.
    - removed genDummyData from public interface.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5915 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-12-01 00:16:24 +00:00
chrisparker126
44d32626bc Added logic for rank calculation and interface methods
Disabled posting when no post is selected
Added notes section when viewing post (tres basic)
fix for comment item serialisation 
fix for subscription token option not in this commit ;)

git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5913 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-11-30 18:54:25 +00:00
drbob
5a55c1b5d6 * Added the basics of GxsCircles service to libretroshare.
- Defined the control group stuff.
  	- Background task to determine friend membership.
	- Caching of Circle info,
	- Added GXS interface class to gxs/rsgixs.h
 	- TODO: Serialiser is incomplete.
	- TODO: SubCircles to be done in Phase 2.

 * Improvements to RsMemCache:
	- Added Value& ref(Key) to avoid data copying.
	- Added Statistics to check cache performance.
	- Fixed up bugs in tracking membership.

 * Improvements to RsTickEvent:
	- Added additional string parameter for more specificity.




git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5910 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-11-29 22:48:28 +00:00
defnax
baa949eaac Added images for My/Subscribed/Shared Album
Set WikiDialog Buttons to flat style.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5909 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-11-29 12:02:09 +00:00
thunder2
799cf15555 Fixed crash in GxsGroupDialog in the second constructor.
Changed mode on GxsGroupDialog to enum.
Added different header text for every mode in PostedGroupDialog, WikiGroupDialog and GxsForumGroupDialog.
Removed not needed files of GxsForums.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5908 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-11-28 22:27:19 +00:00
thunder2
ef9ebf4cf3 Added subscribe flags to GroupTreeWidget.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5906 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-11-28 12:31:14 +00:00
thunder2
25de47c6f9 Added tabs to gxsforums.
Moved the thread message part from GxsForumsDialog to GxsForumThreadWidget.
Added placeholder text to existing and new base classes to display for example "Loading".

git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5905 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-11-27 23:21:20 +00:00
drbob
ca3ef27595 disabled TokenQueueVEG, as it doesn't compile anymore.
To remove when Wire service is finished.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5902 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-11-26 22:54:16 +00:00
drbob
78bc0a4567 * Cleaned up lots of old VEG services.
- left the code for p3gxsserviceVEG and p3postedVEG, until p3posted is finished.
 * Converted p3wireVEG => p3wire
 * cleaned up rsinit.cc and libretroshare.pro



git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5901 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-11-26 22:53:44 +00:00
defnax
6a063ff32d set window title for Edit/Create Wiki Page
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5900 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-11-26 16:53:40 +00:00
defnax
1eaf10dc78 Added a titlebar frame to PostedDialog
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5899 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-11-26 15:26:47 +00:00
defnax
bf46905d6a fixed layout, to have a better look
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5898 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-11-26 12:19:04 +00:00
thunder2
6fba395054 Source code maintenance
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5897 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-11-25 23:44:51 +00:00
chrisparker126
8cef4da896 Added posted comment creation
contextMnurequested does not seem to be working....may have to use an old fashioned non-derived treewidget.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5894 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-11-25 21:50:45 +00:00
chrisparker126
744a78b140 Added cleanup code for GXS services in rsinit (services now based in GXS_phase1 folder in .retroshare/ folder
disabled msg synchronisation by default through compilation #define (use GXS_ENABLE_MSG_SYNC to enable message sync)
Finally removed v2 suffix from all photo components and filenames (please edit your libretroshare.pro file accordingly)



git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5883 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-11-24 19:49:23 +00:00
defnax
da39d1de77 Added minimize/maximize buttons to QDialog,
Added to display "Where" and "Description" Label on Album Dialog
Added a StackedWidget to Create Album Dialog, to use later for adding Photos, when generating a new Album

git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5879 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-11-23 15:31:37 +00:00
defnax
6db70b0581 restored back wrong commit
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5878 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-11-23 00:14:33 +00:00
defnax
86e1f105e6 some layout improvements for Create Album
added placeholder text

git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5877 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-11-23 00:11:05 +00:00
chrisparker126
ebbe967402 Fixed posted item serialisation (wrong way round)
cleaned up comments gui and added loading framework
correctly initialisaed posted items


git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5876 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-11-22 22:40:31 +00:00
defnax
4e63561473 Added Header Images
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5875 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-11-22 16:55:45 +00:00
defnax
7398a2176f moved subscribe button to the left side,
reorder category, added some category

git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5874 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-11-22 15:51:13 +00:00
defnax
ffff660bbd Added to display a default Album Thumbnail, when Album has no Thumbnail ( temporary solution )
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5872 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-11-22 11:52:24 +00:00
thunder2
1513da30b9 Removed empty directory.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5871 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-11-21 23:35:33 +00:00
drbob
ff52e3751b fix #include (missing capitals)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5870 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-11-21 22:13:08 +00:00
thunder2
55d562238e Applied changes from the trunk to the GXS forums.
Cleaned old and unused files.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5868 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-11-21 18:55:52 +00:00
defnax
ae0e93ac41 set default Album Thumbnail picture
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5867 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-11-21 16:51:23 +00:00
defnax
9e30148c63 Added Header Images and Text for Albums Dialogs
Enabled always "Create Album" functionality, not only when own Album is selected.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5866 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-11-21 15:46:08 +00:00
defnax
b18a95ac9b Added a headerframee icon for Create Album
Added a close button

git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5865 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-11-21 13:41:10 +00:00
defnax
96b0d4a372 Added subscribe/unsubscribe to album icons
Fixed layout spaces for GxsGroupDialog.ui, when some labels/buttons is hided.


git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5859 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-11-20 14:08:28 +00:00
defnax
03a3499a1b changed view icon for PhotoShare
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5854 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-11-20 11:27:15 +00:00
defnax
fd981f453c Added the default Posted icon
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5853 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-11-20 10:29:40 +00:00
defnax
163cec0eda Added icons for Posted
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5851 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-11-19 23:56:54 +00:00
drbob
c90d0d6abd Added Identity stuff into the GUI.
- Generic Classes:
	- GxsIdChooser: gets a list of current OwnIds for user to select AuthorId.
	- GxsIdLabel: retrieves and displays Author Information.
	- GxsIdTreeWidgetItem: retrieves and displays Author Information, in specified column.
 - Added GxsIdChooser into GxsGroupDialog & CreateGxsForumMsg.
 - Added GxsIdTreeWidgetItem into Forum Thread listings.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5849 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-11-19 22:14:45 +00:00
drbob
c6e6d444bf Added Identity Info retrieval to rsIdentities.
This is now pretty much complete for Phase 1 of GXS.
Still todo:
	- PGPHash signatures.
	- Reputations.

 - Added two helper classes GxsTokenQueue: similar to TokenQueue, but for libretroshare
       & RsTickEvent: schedule one shot events, and basic stats.
 - Reorganised/simplified p3IdService using these two classes.
 - Added fns to load/reload a list of Own Identities.
 - Improved the Cache to store all GUI required Info.
 - Updater retroshare/rsidentity.h with new Identity interface.
 - added fns to update Cache from internal background tasks.
 - Modified RsMemCache to support replace operation.
 - Found nasty Bug that caused PGPHASHes not to match & Patched same bug in GXS.
 - added generic CacheArbitration.
 - Added AuthorIds to dummy Forum messages.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5848 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-11-19 22:00:05 +00:00
defnax
6e349749d0 Added to hide logo label and logo button, when calling "Create Wiki Group"
switch text for some labels, when "Create Wiki Group" is called.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5844 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-11-19 16:27:39 +00:00
defnax
ec6aef8d45 Added some headerFrame's
changed some button order

git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5841 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-11-18 14:42:54 +00:00
defnax
e24ea71348 Added Author and Timestamp Label's for GxsForums
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5840 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-11-18 01:36:22 +00:00
defnax
8da8f24683 restored back some of my changes,
added serviceheader text for Wiki and Forum

git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5839 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-11-18 00:18:46 +00:00
defnax
3fe147d5eb Added some icons for Wiki Pages
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5838 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-11-17 22:37:48 +00:00
chrisparker126
92f1673729 A stab at progressing posted, got post creation working and parameterised GxsGroupDialog for creating "create <service>" header for all gxs services
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5837 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-11-17 21:43:21 +00:00
chrisparker126
ae5cbecaba Fixed relatedMsgData bug (PARENT | LATEST), same issue as ALL_VERSION opt flags, was using origMsgId used for filtering (filtering worked as bugged request was actually requesting all msgs instead).
Added test for (PARENT | LATEST)
All tests passed

git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5835 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-11-17 18:45:14 +00:00
chrisparker126
d591d795bd Fix providing mask for setting group subscribeFlag, msgStatus and grpStatus
Tests updated

Also setting msg and grp Status to unprocessed and unread on receipt from a sync (see rsgxsflag.h). These are set on bits masked by 0xf00.


git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5834 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-11-17 14:35:21 +00:00
defnax
c5fee54ee7 Added some icons for the Wiki Pages Dialog.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5831 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-11-16 16:41:59 +00:00
drbob
eb23479611 * Made GxsForum messages load again.
* Hijacked "Next unread" button => force Reload, until update is working.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5829 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-11-15 23:51:57 +00:00
drbob
9373d26be0 * Added Dummy Forums and Messages to GxsForums.
* Extra GxsForums::getRelatedMessages() fn + HACKs to cover up GXS bugs.
 * more debugging in rsgenexchange.
 * fixed up some of wikis text.
 


git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5828 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-11-15 23:50:54 +00:00
chrisparker126
2230bd1a96 Added getMsgRelatedData test
Fixed bug with getmsgRelatedFucntion for msgs with no relatives (message with no relatives would end of pulling itself, i.e. the id/data/meta of message whose relative are
being searched for)

git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5827 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-11-15 23:09:56 +00:00
drbob
b5910e0314 * Updated wiki service to support new MsgRelated data.
* Added Wiki Dummy pages to explain it briefly.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5821 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-11-14 21:27:37 +00:00
drbob
81e172d6f8 Modifications to use MsgRelatedData for Wiki pages.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5820 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-11-14 21:27:34 +00:00
chrisparker126
f74a328d61 Bug fix for ES_GXS_MSG_COMMENTS option
Fix for run thread loop of RsGenExchange (was using logic rather than isRunning, which led to some crashes on rs close

Added request and get MsgRelated function for ids, meta and data 
added template function to ease getting meta data from back end;

Updated Nxs tests, tests passed (failed initially because of change option requirements)
Added test for msgrelated Ids, still need to add test for all msgRelated functions (bug with mask, not filtering correctly)

Made changes for forum and wiki gui to use new API but gui needs to call correct get functions now (Bob).

git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5817 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-11-13 22:36:06 +00:00
drbob
8d556955c5 Big Chunk of GUI work.
- Ported Forums to GxsForums. Not functioning yet, waiting on some GXS core functions.
 - Fixed up plumbing in Wiki.
 - Minor fixes to TokenQueue



git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-gxs-b1@5812 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2012-11-12 20:47:55 +00:00