Commit Graph

77 Commits

Author SHA1 Message Date
Massimiliano Assante 744344e3cf Fix for #18777 2020-03-12 18:15:03 +01:00
Costantino Perciante 00622a0dc8 added code for support of hashtags in comments
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portal/social-networking-library@148718 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-05-16 14:07:37 +00:00
Massimiliano Assante ca2814c7d3 Improved exceptions handling<
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portal/social-networking-library@141784 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-01-25 15:38:50 +00:00
Massimiliano Assante 872dd71b75 fixed creation of secondary index on ATTACHMENTS CF
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portal/social-networking-library@133058 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-10-11 13:01:58 +00:00
Costantino Perciante 036880784d secondary index name fixed in getAttachmentsByFeediId
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portal/social-networking-library@133053 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-10-11 11:09:19 +00:00
Massimiliano Assante 6673d3e604 removed support for document workflow notifications
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portal/social-networking-library@131785 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-09-26 12:14:35 +00:00
Massimiliano Assante 3b12142c43 removed support for Document Workflow, upgrade astyanax dependency to 2.0.2
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portal/social-networking-library@131773 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-09-26 10:05:02 +00:00
Costantino Perciante fa05ed5202 check added on getRecentLikedFeeds
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portal/social-networking-library@130990 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-08-06 06:41:53 +00:00
Costantino Perciante fbae17bb34 getRecentComments speeded up by reducing synchronization time at minimum
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portal/social-networking-library@130989 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-08-06 06:19:53 +00:00
Costantino Perciante 59faa6b0d5 minor fix to speed up recent comments by user retrieval (nextRow label is used)
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portal/social-networking-library@130988 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-08-05 13:44:29 +00:00
Costantino Perciante 6d7d952e99 minor fix to getRecentComments and getRecentCommentedFeeds methods
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portal/social-networking-library@130954 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-08-03 08:08:51 +00:00
Costantino Perciante 0ee2a0426b added method getRecentCommentedFeedsByUserAndDate
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portal/social-networking-library@130953 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-08-02 18:15:50 +00:00
Costantino Perciante bdaf2fef33 Added methods to retrieve most recent liked feeds and most recent comments by user
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portal/social-networking-library@130946 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-08-02 15:25:27 +00:00
Costantino Perciante 7f8cfda84d added finalize method to close connections
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portal/social-networking-library@130203 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-07-09 16:40:06 +00:00
Costantino Perciante e5fa6e59a7 implemented closeConnection to shutdown connection pool to cassandra nodes
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portal/social-networking-library@130200 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-07-09 15:54:33 +00:00
Costantino Perciante fb3dfaa024 Added method getVREHashtagsWithOccurrenceFilteredByTime to filter hashtags too old
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portal/social-networking-library@128535 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-05-10 10:14:46 +00:00
Costantino Perciante 452c9e8e53 Removed getUnreadMessagesNotificationsByUser since we have both unread messages with the other unread notifications
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portal/social-networking-library@126752 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-04-04 16:40:42 +00:00
Costantino Perciante fdda510279 The Messages column family has been merged with the UserNotifications one. The unreadNotifications cf now contains every kind of unread notification (i.e., also messages notifications)
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portal/social-networking-library@126751 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-04-04 16:02:46 +00:00
Massimiliano Assante c759739bec git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portal/social-networking-library@126720 82a268e6-3cf1-43bd-a215-b396298e98cf 2016-04-04 10:54:38 +00:00
Costantino Perciante 59424dc2ab Changed methods to handle unread notifications/messages column families
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portal/social-networking-library@126718 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-04-04 10:46:24 +00:00
Costantino Perciante 094380d0ea The infrastructure name parameter now can be passed.
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portal/social-networking-library@122843 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-02-04 15:52:46 +00:00
Costantino Perciante a5ea860381 Fixed null pointer exception while retrieving some old comments that don't have the "IsEdited" property.
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portal/social-networking-library@122753 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-02-02 17:19:13 +00:00
Costantino Perciante 21e57efddb Added getAllVREIds method
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portal/social-networking-library@122743 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-02-02 14:19:10 +00:00
Massimiliano Assante c0030bd737 added new method for reading comments by Id
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portal/social-networking-library@122716 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-02-02 10:57:17 +00:00
Costantino Perciante 2771bd00f8 When saving attachments, the thumbnail url was saved in a field whose name is "thumbnailUrl" whereas on retrieving it is called "ThumbnailUrl". So the retrieved field was null. Minor fixes on functions' java docs
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portal/social-networking-library@122361 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-01-20 13:58:01 +00:00
Massimiliano Assante e87596955b updated client feed, added list of attachments
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portal/social-networking-library@122275 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-01-18 09:13:06 +00:00
Massimiliano Assante 4607c7f815 implementation of support for multi attachments is completed
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portal/social-networking-library@122250 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-01-15 16:07:44 +00:00
Massimiliano Assante 630a26d821 partiallly implemnted support for multi attachments
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portal/social-networking-library@122236 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-01-14 17:37:03 +00:00
Costantino Perciante 6b6d41cd3e Changed method for edited comments
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portal/social-networking-library@121770 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-12-10 17:38:08 +00:00
Massimiliano Assante 10518c9d51 added new method for users statistics
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portal/social-networking-library@120563 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-12-02 15:50:26 +00:00
Massimiliano Assante 1dcc8a1478 User Notifications Read now resilient to indices error, see #840
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portal/social-networking-library@119270 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-09-30 15:26:58 +00:00
Massimiliano Assante d8948a8580 added the ability to check if a like is alredy present
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portal/social-networking-library@117281 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-07-16 14:27:33 +00:00
Massimiliano Assante e0f7e215ef moved to java7+ strict compatibility
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portal/social-networking-library@115638 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-06-30 10:15:18 +00:00
Massimiliano Assante 004e2cec2b support for invites invites management alpha version is complete
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portal/social-networking-library@115627 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-06-29 15:49:49 +00:00
Massimiliano Assante d211f7f879 partially implemented invites handling, still to implement get methods for checking who was invited in a given environment
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portal/social-networking-library@115559 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-06-25 16:25:37 +00:00
Massimiliano Assante c770098865 fixed problem for TDM TEMPLATE Notifications
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portal/social-networking-library@115409 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-06-16 14:58:06 +00:00
Massimiliano Assante 330e6c1489 added email subjects and redirect link for TDM
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portal/social-networking-library@115383 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-06-15 12:05:18 +00:00
Massimiliano Assante 95311bf549 modified hashtags inserts for being non case sensitive
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portal/social-networking-library@100733 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-10-15 16:48:12 +00:00
Massimiliano Assante 779d9a6a10 undone the modified hashtags for being non case sensitive
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portal/social-networking-library@100651 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-10-13 16:42:41 +00:00
Massimiliano Assante 20e37ccc2f modified hashtags for being non case sensitive
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portal/social-networking-library@100650 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-10-13 16:23:47 +00:00
Massimiliano Assante b5e55cc90a not returning hashtags count less than 1
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portal/social-networking-library@100471 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-10-06 16:58:14 +00:00
Massimiliano Assante 8f002ec254 just revised some logs
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portal/social-networking-library@100470 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-10-06 16:53:11 +00:00
Massimiliano Assante f19760a610 fixed post with duplicated hashtags problem
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portal/social-networking-library@100469 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-10-06 16:23:16 +00:00
Massimiliano Assante 4991c1fe99 added hashtag support, ready for test
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portal/social-networking-library@100333 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-10-01 15:27:03 +00:00
Massimiliano Assante fdcd091f84 added hashtag support, missing delete operation
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portal/social-networking-library@100332 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-10-01 15:08:38 +00:00
Massimiliano Assante 79ea470f94 integrated notifications for set/unset shared folder administrator
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portal/social-networking-library@100277 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-09-30 10:36:27 +00:00
Massimiliano Assante 6c8dee4b68 added unshare folder handling
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portal/social-networking-library@100253 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-09-29 14:45:48 +00:00
Massimiliano Assante 08900dbc9b added test for getting notification preferences of a given type for every user
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portal/social-networking-library@95332 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-05-05 16:52:22 +00:00
Massimiliano Assante 750b9b0d4e Fixed bug returning sendNotification false when a Notification Preference was null for a given Notification Type
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portal/social-networking-library@95317 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-05-05 14:26:18 +00:00
Massimiliano Assante a96221d129 Added support for unlike feature
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portal/social-networking-library@94595 82a268e6-3cf1-43bd-a215-b396298e98cf
2014-04-08 21:36:51 +00:00