| Revision:
  • svn:ignore: .idea uoa-admin-tools.iml target

# Date Author Comment
61095 04/06/2021 16:56 Konstantina Galouni

[Trunk | Admin Tools]: update_db.js: [Bug fix] Add Home page of communities by updating "portal" collection (not "community) | call "addHomePageInCommunities()" independently (not from other function).

61091 04/06/2021 11:54 Konstantina Galouni

[Trunk | Admin Tools]: update_db.js: Updated default footer div helptext for communities.

61089 04/06/2021 11:36 Konstantina Galouni

[Trunk | Admin Tools]: update_db.js:
a. In function addPiwik(), add new communities (galaxy, gortriple, neanias-underwater, pending piwik: embrc).
b. New functions for footer divId & div helptexts (connect & communities): addFooterDivIdForConnect(), addFooterDivIdForCommunities(), addFooterHelpTextForConnect(), addFooterHelpTextForCommunities().

60955 22/04/2021 11:07 Konstantina Galouni

[Trunk | Admin Tools]:
a. In "hello()" method added @RequestMapping (except for existing ""), "/health_check".
b. Added method "checkEverything()" (/health_chech/advanced) only accessible by PORTAL ADMINS which checks connection with db and prints properties....

60718 24/03/2021 11:27 Konstantina Galouni

[Trunk | Admin Tools]: [NEW] Controller added and "hello()" method (@RequestMapping(value = "", method = RequestMethod.GET)) which just prints and returns a greeting message.

60589 04/03/2021 17:22 Konstantina Galouni

[Trunk | Admin Tools]: Added method "notifyNewManager()" (/notifyNewManager) to send a wellcome email to a new manager (recipient not by portal - user is sending email to himself).

60555 02/03/2021 12:48 Konstantinos Triantafyllou

[Admin Tools | Trunk]: Change properties to dl instead of mapagasas

60554 02/03/2021 12:27 Konstantinos Triantafyllou

[Admin Tools | Trunk]: Add get managers by Type. Get Curators base on AAI ID

60521 26/02/2021 15:54 Konstantina Galouni

[Trunk | Admin Tools]:
1. Remove "email" field.
a.Replace methods "notifyNewManagers()" (/notifyForNewManagers/{pid}) and "notifyForNewSubscribers()" (/notifyForNewSuscribers/{pid})
with "notifyManagers()" (/notifyManagers/{pid}/{newRoleType}), where newRoleType is "manager" or "subscriber"....

60514 26/02/2021 11:16 Konstantinos Triantafyllou

[Admin Tools | Trunk]: Remove notification components

60513 26/02/2021 11:14 Konstantinos Triantafyllou

[Admin Tools | Trunk]: Add again role Utils. Fix curator methods

60509 25/02/2021 20:00 Konstantinos Triantafyllou

[Admin Tools | Trunk]: Add get managers method. Delete no needed files.

60501 25/02/2021 12:57 Konstantina Galouni

[Trunk | Admin Tools]:
1. pom.xml: Added dependency for spring security.
2. Import AuthorizationConfiguration.class | Remove SecurityConfig.class from @EnableConfigurationProperties.
3. Comment "addInterceptors()" method calling AuthorizationHandler with SecurityConfig....

60499 25/02/2021 11:43 Konstantina Galouni

[Trunk | Admin Tools]:
1. & Commented POST/ DELETE methods from controllers related to subscribers (these files will be deleted after migration of roles to AAI).
2. Commented all methods (file and statistics schema in general need update - currently not working).

60498 25/02/2021 11:27 Konstantina Galouni

[Trunk | Admin Tools]: & Rename "setAffiliation()" to "setAffiliations()".

60497 25/02/2021 11:18 Konstantina Galouni

[Trunk | Admin Tools]:
1. update_db.js: Added method to add Piwik ids for each community (check ids before running it).
2. migrateCommunityIn_db.js: Added method to migrate curators (there was an error with null fields - UI needs them empty strings).

60496 25/02/2021 11:07 Konstantina Galouni

[Trunk | Admin Tools]:
1. Deleted folder "responses" with all its files (moved to uoa-admin-tools-library in r60105 ).
2. Deleted file "" (moved to uoa-admin-tools-library in r60105 ).

60034 04/12/2020 10:56 Konstantina Galouni

[Trunk | Admin tools]:
1. [NEW] service for notifications with updatePid and deleteByPid methods.
2. & & Logs added.
a. [Bug fix] On "updateCommunity()" (/update) method update pid for related notifications, layout, statistics and subscribers (old_pid had the value of new_pid, not the old one)....

60033 04/12/2020 10:41 Konstantina Galouni

[Trunk | Admin tools]: synchronize_dbs.js & migrateCommunityIn_db.js: Add auth commands for dbs with credentials.

59482 28/09/2020 12:30 Konstantina Galouni

[Trunk | Admin Tools]: in "getAllCommunities()" method, change @RequestMapping value from "/" to "" (in url no need to add / in the end to match this method).

59471 24/09/2020 14:09 Konstantina Galouni

[Trunk | Admin Tools]: Delete "" (replaced by

59470 24/09/2020 14:02 Konstantina Galouni

[Trunk | Admin Tools]: Merging branch 'use-UoaAdminToolsLibrary' into trunk for revisions 58365:59468

59461 24/09/2020 11:56 Konstantina Galouni

[use-UoaAdminToolsLibrary | Admin Tools]: pom.xml & Commit commented configuration for spring secutiry and "uoa-authorization-library".

59448 22/09/2020 16:02 Konstantina Galouni

[use-UoaAdminToolsLibrary | Admin Tools]: migrateCommunityIn_db.js & synchronize_dbs.js: Update scripts for migrating a portal (beta to production) - new fields and collection names (community -> portal).

59397 16/09/2020 12:19 Konstantina Galouni

[use-UoaAdminToolsLibrary | Admin Tools Service]: Merge trunk into branch.

59387 15/09/2020 15:05 Konstantina Galouni

[use-UoaAdminToolsLibrary | Admin Tools]: In @ConfigurationProperties use admintool.mongodb, instead of admintool-branch.mongodb.

59385 15/09/2020 14:00 Konstantina Galouni

[use-UoaAdminToolsLibrary | Admin Tools]:
1. pom.xml: Change name of war from "uoa-admin-tools-branch" to "uoa-admin-tools".
2. update_db.js: Change name of database used to "openaireconnect" (Beta).

59377 15/09/2020 12:48 Konstantina Galouni

[use-UoaAdminToolsLibrary | Admin Tools]:
a. Add GET methods "getAllCommunities()" (/community) and "getAllCommunitiesFull()" (/community/full).
b. Add @RequestMapping("/community") in class and remove /community from each method path....

58550 24/04/2020 18:39 Konstantinos Triantafyllou

[Admin Tools | Trunk]: Add on scripts new FAQs page.

58487 14/04/2020 11:48 Konstantina Galouni

[Trunk | Admin Tools Service]:
1. Generic class SingleValueWrapperResponse created, with field "value" of type defined when instance is created (used for returning single value from API methods).
2. In method "getNumberOfSubscribersPerCommunity()" (/community/{pid}/subscribers/count) return SingleValueWrapperResponse<Integer>...

58476 10/04/2020 14:34 Konstantina Galouni

[Trunk | Admin Tools Service]:
1. & Uncomment and ignore if @PropertySource for not found, to let tests runs.
2. Add default constructor and constructor with email parameter....

58394 03/04/2020 21:23 Konstantina Galouni

[use-UoaAdminToolsLibrary | Admin Tools Service]:
REMINDER NOTE: change war name and properties (e.g. in when merging to trunk.
1. Move MongoDBDAOs to folder /dao/MongoDBDAOs.
2. Move entities for Subscriber to folder /entities/subscriber....

58393 03/04/2020 21:01 Konstantina Galouni

[use-UoaAdminToolsLibrary | Admin Tools Service]:
1. Delete all unnecessary files that now exist in Admin Tools Library Service (GoogleConfig - GoogleResponse, MailConfig, Email, Community, Entity, Page, DivId, PageHelpContent, DivHelpContent).
2. Delete all unused files (Question, Topic and (deprecated) HtmlPageContent - replaced by PageHelpContent wherever needed).

58368 01/04/2020 14:52 Konstantina Galouni

[Trunk | Admin Tools service]:
1. Added "isActive" field (default value: true).
2. Added toggleStatistics method (/statistics/{id}/toggle) for activating/ deactivating statistics.

58365 31/03/2020 20:18 Konstantina Galouni

Creating a branch for using uoa-admin-tools-library

58363 31/03/2020 14:36 Argiro Kokogiannaki


Properties: use classpath instead of path of specific tomcats
Recaptcha: add logs and catch exceptions

58362 31/03/2020 14:02 Konstantina Galouni

All files moved to /trunk directory (improving project structure in svn).

58361 31/03/2020 13:50 Konstantina Galouni

Creating trunk and branches folders for improving structure of svn directory.

58346 27/03/2020 10:14 Konstantinos Triantafyllou

[AdminTools]: Make recaptcha mandatory again.

58306 19/03/2020 13:34 Konstantina Galouni

[Trunk | Admin tools Service]:
1. update_db.js: Method "addSearchResearchOutcomesPages()" added for new search pages created by search redesign.
2. init_db.js:
a. Unused deposit pages removed
b. Unused search pages removed and search pages for "research outcomes" added...

58304 19/03/2020 11:51 Konstantina Galouni

[Trubk | Admin tools Service]:
1. Add @PropertySource for in
2. [Bug fix] In subject and content of message add "UTF-8" type (non english characters support).

58299 18/03/2020 14:49 Konstantinos Triantafyllou

[Admin Tool | Trunk]: Contact email make recaptch optional

57497 02/11/2019 01:14 Konstantina Galouni

1. bug_fix_db.js: New script to remove leaks (statistics and community subscribers) from db for 2 deleted communities.
2. When updating a community, update 'pid' field in statistics and community subscribers related to this community....

57468 29/10/2019 17:42 Konstantina Galouni [Bug fix]: In method 'insertPageHelpContent()' (/pagehelpcontent/save): Entity 'pageHelpContent' keeps community id, not pid.

57319 08/10/2019 16:26 Konstantinos Triantafyllou

[AdminTool]: Add New Layout options. Run update.js on your mongo to delete the previous one.

56917 28/08/2019 14:50 Konstantinos Triantafyllou

[AdminTools]: Add myCommunities page on scripts.

56881 08/08/2019 13:10 Konstantina Galouni

init_db.js & update_db.js: In default page contents, change route '/about' to '/about/learn-how'.

56834 02/08/2019 12:16 Konstantinos Triantafyllou

AdminTool: Throw Exception on recaptcha failure.

56791 29/07/2019 12:17 Konstantina Galouni

update_db.js: Bug fix: Set positions in page '/participate/deposit/zenodo'. Bug fix: When disabling a positions for a page, delete page help contents related to a page ROUTE (not id).

56790 29/07/2019 11:52 Konstantina Galouni

update_db.js: Method to remove faulty empty page from communities added | page route of 'Helper Test' fixed and set to '/helper-test'.

56788 29/07/2019 11:10 Konstantina Galouni

update_db.js: Method 'addNewRoutesInCommunities()' to add new pages in every community as enabled | Bug fixes: '/about/learn-how' type and set as connect page (not communities).

56785 26/07/2019 16:28 Konstantina Galouni

init_db.js & update_db.js: Methods added for default help texts in Home, About - Learn How, About - Learn In Depth, Contact us, Content Policy pages.

56770 25/07/2019 16:38 Konstantina Galouni

init_db.js & update_db.js:
Enable 'left' position in '/' page
Enable 'bottom' position in '/participate/claim' and '/participate/direct-claim'
Enable 'top', 'bottom' and 'right' positions in '/myclaims' and '/claims'

56739 24/07/2019 10:21 Konstantina Galouni

1. init_db.js: Bug fix: Get communityID properly for initialization of divHelpContents and pageHelpContents.
2. update_db.js: Bug fix: Use openaire_admin database name.
3. Add 'communityId' parameter in 'getDivIds' (/div) and 'getDivIdsFull' (/divFull) methods and check if the divId exists in openaire/connect/communities....

56679 22/07/2019 16:53 Konstantina Galouni

1. init_db.js & update_db.js & pom.xml: Version changed to 2.0.0
2. init_db.js: Add new and missing page routes, reorganize routes, add page help contents in deposit/learn-how and in organizations page for communities (not openaire and connect)
3. update_db.js: methods:...

56404 08/07/2019 15:12 Konstantina Galouni

1. & Add methods: "findByConnectAndRoute()", "findByCommunitiesAndRoute()", "findByOpenaireAndRoute()".
2. Bug fix in equality check of pid - parameter (not required) "page_route" added.

56383 05/07/2019 16:39 Konstantinos Triantafyllou

[AdminTools]: 1. Change the way of reading properties. 2. Replace mongodb custom properties with custom on See deployments.txt

56293 01/07/2019 15:43 Konstantina Galouni

1. init_db.js:
1a. Add page "Home"
1b. Make "communities" true in "Search Find" Page
1c. Change "Organizations" page type from "html" to "other"
1d. Add divId "home-news" and "organizations"
1e. Add divHelpContents for "organizations" divId
2. update_db.js: Methods: organizationsPageTypeFromHtmlToOther(), removeHtmlPageContentsFromOrganizationsPage(), ...

56270 28/06/2019 14:54 Konstantinos Triantafyllou

[Admin tools]: Add google secret for beta.

56262 28/06/2019 12:19 Konstantinos Triantafyllou

[Admin-tools]: Add at properties of beta and production google-secret and post allowed properties.

56182 24/06/2019 15:37 Konstantina Galouni

Bug Fix: Typo in value (false) of "communities" field in "Project Report" page

56181 24/06/2019 15:09 Konstantina Galouni

init_db.js: Every page has "connect" and "communities" fields ("connect" for general connect pages - "communities" for community specific portals)

56175 24/06/2019 12:29 Konstantina Galouni

1. synchronize_dbs.js: Script for synchronization of pages, entities... between beta and production dbs of openaire_admin.
2. migrateCommunityIn_db.js: Script for migration of openaire_admin db from beta to production.

56174 24/06/2019 12:27 Konstantina Galouni

1. Add check for pid: "connect"
2. Bug fix: Save and Update methods should get parameter DivIdResponse
3. pid == "connect" case - get pages that are enabled in connect
4. & & & Rename "connect" field to "communities" and use "connect" field for connect general pages (not community specific) ...

56090 14/06/2019 14:48 Konstantinos Triantafyllou

[Admin-Tools]: Remove monitor page from communities

56039 11/06/2019 14:17 Konstantinos Triantafyllou

[Admin-Tools]: Update scripts to create curators page with default enabled value: false.

55991 04/06/2019 18:11 Konstantinos Triantafyllou

[AdminTools]: Change Affiliation fields

55938 31/05/2019 15:55 Konstantinos Triantafyllou

[Admin-Tools]: 1. Add Curator Collection. 2. Add CuratorDAO and Controller with crud methods.

55384 16/04/2019 15:17 Argiro Kokogiannaki


update the method to get the community pids that a user is subscribed to

55378 16/04/2019 13:33 Konstantinos Triantafyllou

[Trunk|AdminTools]: EmailController: change contact method to send an email to all recipients

55305 12/04/2019 13:51 Konstantinos Triantafyllou

[Trunk|AdminTools]: 1. Change post.allowed and handler to match with servlet path. 2. Add an optional param in sendMail for bcc with default value true.

55272 11/04/2019 13:20 Konstantinos Triantafyllou

[Trunk|AdminTools]: 1. Create two new entities: EmailRecaptcha, GoogleResponse. 2. Add a new post request /contact for contact us feature. 3. Create a service for verify recaptcha. 4. Add two new properties in google.secret, post-allowed list(for allowing specific post requests without login)

55036 19/03/2019 14:36 Konstantinos Triantafyllou

[Trunk|Admin-Tools]: Add subscriber collection to init script.

55029 19/03/2019 13:41 Konstantinos Triantafyllou

[Trunk|Admin-Tools]: Add community creation of Dariah.

55027 19/03/2019 11:28 Konstantinos Triantafyllou

[Trunk|AdminTools]: 1. Add Layout Collection 2. Create getLayout, updateLayout, resetLayout in CommunityController 3. Add at default color=color of connect

54676 01/02/2019 11:58 Konstantina Galouni

1. emailSender/ enable property 'starttls' for mail (necessary when sending mail to mailing list address).
2. controllers/ 'sendEmail()' function returns success and failure lists for all emails to be sent.
3. resources/ change 'UserInfoUrl' property from 'mpagasas' to 'scoobydoo'.

53985 27/11/2018 13:31 Argiro Kokogiannaki

Email Sender: Add a new property auth

Properties: add dev and beta properties

comment methods in update after run in beta

53941 23/11/2018 15:41 Argiro Kokogiannaki

Change NotFoundException to ContentNotFoundException
add test method
parameter for bcc or to for the recipients

53936 23/11/2018 13:23 Konstantina Galouni

1. pom.xml: Add commented plugin for surfire (possibly needed in openjdk: bug in their release).
2. init_db.js & update_db.js: Add creation of 'Share in Zenodo' page with route: participate/share-zenodo.

53671 08/11/2018 15:03 Argiro Kokogiannaki

add AuthorizationHandler in API configuration: checks

53594 30/10/2018 12:58 Konstantina Galouni

1. update_db.js: Add 'addDefaultHtmlToHtmlPagesForCommunity()' function for adding hmtl contents (/about and /organizations routes) to 'Clarin' community.
2. Add htmlPageContents when a community is created | delete htmlPageContents, statistics, communitySubscribers when a community is deleted.

53566 26/10/2018 16:03 Argiro Kokogiannaki

change mail controller method names, mail sender returns boolean to check if mail send or not

53564 26/10/2018 14:40 Argiro Kokogiannaki

Add ORP for statistics: in init/ update scripts | add the entity in creation of a community

53555 25/10/2018 16:21 Konstantina Galouni

1. Update pom's and scripts' version to 1.1.1
2. init_db.js: Add missing 'notifications' collection.
3. update_db.js: Add 'createNotificationsCollection()' function and 'addDivHelpContentsForCommunity()' function for adding class contents to 'Clarin' community....

53266 26/09/2018 13:10 Argiro Kokogiannaki

Fix configuration update method not creating duplicates, add check for no user information

53032 06/09/2018 16:26 Konstantina Galouni

Update init_db.js to include 'Other Research Products'.

52992 28/08/2018 16:08 Argiro Kokogiannaki

uncomment values in properties file - fixing previous commit issue with deploy

52897 03/08/2018 15:17 Argiro Kokogiannaki

add deployments info file
remove content page from init script
update names of communities
update html for pages with htmlPageContent

Subscribers: don't subscribe again if already subscribed
Notifications: add entity, DAO, controller
Add Email entity

Change emailSender to be more generic

52811 25/07/2018 15:05 Konstantina Galouni

1. Change email subject in EmailSender.
2. update_db.js: Create function for inserting "Other Research Products" entity and relevant pages in database for all communities.

52363 05/06/2018 14:15 Konstantina Galouni

1. Update version in scripts and pom.
2. Bug fix in 'init_db' script (remove a new line).
3. Functionality for sending an email to a parametrized list of users added (
4. Add a POST method in API that gets a list of recipients and sends them an email (/invite -

52362 05/06/2018 14:10 Konstantina Galouni

Bug fixes in (concurrency issues).

52308 01/06/2018 13:21 Konstantina Galouni

1. 'Monitor' and 'Content' pages of type: other in init and update script.
2. 'About' and 'Organizations' pages of type: html in init and update script.
3. Default html content of pages with type html for every community in init and update script.
4. 'AGINFRA+' and 'Clarin' communities in init script....

51850 18/04/2018 15:09 Argiro Kokogiannaki

fix init_db.js: use community Id for creating Div Help Contents

51846 17/04/2018 18:22 Argiro Kokogiannaki

set proper content for div contents | update init_db.js with lattest changes from update script

51828 16/04/2018 13:50 Konstantina Galouni

update_db.js: function to create and initialize one div help content per divId per community added.

51755 11/04/2018 15:49 Konstantina Galouni

1. Bug fix in entity/save (portal sends entity, not CommunityEntity).

51623 02/04/2018 14:09 Konstantina Galouni

1. Bug fix when getting pages of a community.
2. Added 2 functions in update_db.js (updateTypeOfLandingPages, removeEntitiesFromSearchFindPage).

51531 27/03/2018 13:23 Konstantina Galouni

1. Bug fixes in updata_db.js.
2. Handler added for NullPointerException.
3. 'connect' and 'openaire' fields (with getters and setters) added.
4. in '/page' method, RequestParam 'pid' is not required....

51529 27/03/2018 12:20 Argiro Kokogiannaki

create all communities method in init_db.js

51508 26/03/2018 14:56 Argiro Kokogiannaki

organize init script with methods, add connect and openaire fields in Page, filter pages by pid depending on connect and openaire field | order page results by name | update update script with methods