Skip to content
This repository has been archived by the owner on Feb 20, 2024. It is now read-only.

Releases: BBMRI-ERIC/negotiator-v2

Release v2.8.1

30 Mar 13:32
6ffdcd5
Compare
Choose a tag to compare
Release v2.8.1 Pre-release
Pre-release
Update version to 2.8.1

Release v2.8.0

27 Mar 18:28
62175ec
Compare
Choose a tag to compare
Release v2.8.0 Pre-release
Pre-release
Update pom.xml to v2.8.0

Update to v2.8.0

v2.7.6

14 Mar 15:16
77a4d13
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.7.5...v2.7.6

Release v2.7.5

15 Feb 14:59
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.7.3...v2.7.5

Bugfix to add userID for selected queries

01 Feb 16:44
Compare
Choose a tag to compare

Bugfix to add userID for selected queries

Release v2.7.3

24 Jan 19:18
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.7.2...v2.7.3

Release v2.7.2

03 Jan 14:44
a3c4436
Compare
Choose a tag to compare
Hotfix: autologin from the directory (#170)

* added attempt to "login" without prompt if fails redirect to login page

* bugfix only overwrite redirect is no error is in QueryString

Co-authored-by: Emilian Jungwirth <emilian.jung+github@gmail.com>

Release v2.7.1

22 Dec 08:49
e76b52a
Compare
Choose a tag to compare
Feature/moderate requests (#166)

* Update removing restrictions on queries shown to moderator user;
ModeratorQueriesDetailBean the access restriction for queries is removed;
DBUtil adjusted SQL to return all queries for the moderator user;

* Added menu entry for admin users to get to moderator page.

* Added moderator xhtml pages and flag in UserBean to identify moderator;
CommentBean needs still to be updated to show moderator in display

* Database - table "comment - added column moderated of type boolean;
this requires a regeneration of the affected POJOs using JOOQ;

* UserBean - added checks if user has Moderator Role;
UserBean - added variable to hold if user is on moderator details page (looks like the easiest way to keep this here, still ugly);
navbar.xhtml - bugfix, did not point to moderator sub section;
comment.xhtml - this is included in all details pages to render comments, now includes the prefix "Moderated by:" if the flag is set in the table comment on column moderated to true;
jooq/tables - regenerated using JOOQ generate

* rebased onto master
detail.xhtml - removed unused reference to ModeratorQueriesDetailBean:
DbUtil.java - set Moderated Flag on Comments when loaded from database;
DBUtil.java - set moderated flag when a new comment is created, this should only be set to true if the comment is created by a Moderator user in the moderator pages;
CommentBean.java - set moderated flag when the comment is created, only set if the user is doing this on the moderator pages and has the moderator role;
ResearcherQueriesBean.java - ensure moderator mode is deactivated for the user, we can not make sure the user bean set this correctly to false;
OwnerQueriesBean.java - ensure moderator mode is deactivated for the user, we can not make sure the user bean set this correctly to false;
ModeratorQueriesBean.java - new Bean copied from OwnerQueriesBean.java, with find/replace; (ugly...)
ModeratorQueriesDetailBean.java - new Bean copied from OwnerQueriesDetailBean.java, with find/replace; (ugly...)
AdminDebugBean.java - add the flag for moderator when a query is transferred in the comment;

* global.properties - removed excess colon for moderator pagetitle
comment.xhtml - add icon (glyphicon-alert) to mark moderated comments

* ReviewBean.java - deactivation of ModeratorMode (just for safety)
NetworkBean.java - deactivation of ModeratorMode (just for safety)

* ModeratorQueriesBean - switched to use dedicated query
DBUtil - added dedicated method for moderator queries

* removed collection dropdown for moderators

* fixed wrong method call

* new table moderators_network

* new table moderators_network

* Moderators network connection

* refactoring

* added moderated column on table offer because comment.xhtml is used in request-wide chat and 1:1 chat, leading to an exception in 1:1 chat when there is no moderated column on the table offer.

* removed ModeratorNetwork
added flag is_moderator on table person
changed V22 sql to add moderated columns to offer and comment
bugfix in comment.xhtml to display icon and "moderated by" for moderated comments and offers

Co-authored-by: RadovanTomik <tomasik@mail.muni.cz>

Release v2.7.0

20 Dec 12:27
6b07a5b
Compare
Choose a tag to compare
Feature/moderate requests (#165)

* Added menu entry for admin users to get to moderator page.

* Added moderator xhtml pages and flag in UserBean to identify moderator;
CommentBean needs still to be updated to show moderator in display

* Database - table "comment - added column moderated of type boolean;
this requires a regeneration of the affected POJOs using JOOQ;

* UserBean - added checks if user has Moderator Role;
UserBean - added variable to hold if user is on moderator details page (looks like the easiest way to keep this here, still ugly);
navbar.xhtml - bugfix, did not point to moderator sub section;
comment.xhtml - this is included in all details pages to render comments, now includes the prefix "Moderated by:" if the flag is set in the table comment on column moderated to true;
jooq/tables - regenerated using JOOQ generate

* rebased onto master
detail.xhtml - removed unused reference to ModeratorQueriesDetailBean:
DbUtil.java - set Moderated Flag on Comments when loaded from database;
DBUtil.java - set moderated flag when a new comment is created, this should only be set to true if the comment is created by a Moderator user in the moderator pages;
CommentBean.java - set moderated flag when the comment is created, only set if the user is doing this on the moderator pages and has the moderator role;
ResearcherQueriesBean.java - ensure moderator mode is deactivated for the user, we can not make sure the user bean set this correctly to false;
OwnerQueriesBean.java - ensure moderator mode is deactivated for the user, we can not make sure the user bean set this correctly to false;
ModeratorQueriesBean.java - new Bean copied from OwnerQueriesBean.java, with find/replace; (ugly...)
ModeratorQueriesDetailBean.java - new Bean copied from OwnerQueriesDetailBean.java, with find/replace; (ugly...)
AdminDebugBean.java - add the flag for moderator when a query is transferred in the comment;

* global.properties - removed excess colon for moderator pagetitle
comment.xhtml - add icon (glyphicon-alert) to mark moderated comments

* ReviewBean.java - deactivation of ModeratorMode (just for safety)
NetworkBean.java - deactivation of ModeratorMode (just for safety)

* ModeratorQueriesBean - switched to use dedicated query
DBUtil - added dedicated method for moderator queries

* removed collection dropdown for moderators

* fixed wrong method call

* new table moderators_network

* new table moderators_network

* Moderators network connection

* refactoring

* added moderated column on table offer because comment.xhtml is used in request-wide chat and 1:1 chat, leading to an exception in 1:1 chat when there is no moderated column on the table offer.

* removed ModeratorNetwork
added flag is_moderator on table person
changed V22 sql to add moderated columns to offer and comment
bugfix in comment.xhtml to display icon and "moderated by" for moderated comments and offers

Co-authored-by: RadovanTomik <tomasik@mail.muni.cz>

Release v2.6.0

20 Dec 12:25
e335523
Compare
Choose a tag to compare
added attempt to "login" without prompt if fails redirect to login pa…