Skip to content

Commit

Permalink
Release version 0.3.3 (#57)
Browse files Browse the repository at this point in the history
* Change version to 0.4.1-SNAPSHOT.

* Change version to 0.4.1-SNAPSHOT.
Task #3 - Implement Trace Matrix

* Use right version.

* Copy over all fields when increasing the minor version.
Task #29 - Baselining an item with major version > 0 resets to 0

* Add toString method with normal username and last name properly formatted.

* Update from database.

* prevent unnecessary versions while baselining.
Task #30 - Baselining: Don't change the revision of an item not modified since last baseline

* Fix various test issues along with bug (ommission) in code.
Task #31 - Adding Test Case for execution didn't include Step text

* Fix other bugs

* Set size if there's something to show.

* Fix issue where some Id's were not unique making them not show everywhere they needed to be.
Task #32 - Trace Matrix: Test Cases don't show for all applicable Requirements

* Removing dependence not used at this point.

* Finish Trace Matrix implementation.
Task #3 - Implement Trace Matrix

* Implement internationalization.
Task #5 - Allow full internationalization

* Fix some issues in translations.

* Add some locales.

* Update VMMessages_es.properties (POEditor.com)

* Implement date format setting. (#35)

Task #11 - Add setting for date format

* Add javadoc.

* Implement internationalization.
Task #5 - Allow full internationalization

* Fix typo.

* Add profile tab.
Task #5 - Allow full internationalization

* Fix missing translations.

* Remove unused classes.

* Translate component.

* Add notification system.

* More work in progress.
Task #12 - Implement Notification system

* Basic functionality of the Notification manager.
Task #12 - Implement Notification system

* Formatting.

* Use right notification type.

* Add item ID.

* Use right split.

* Update VMMessages_es.properties (POEditor.com)

* Implemented translation interface.
Task #38 - Provide interface to add translations from possible plug ins.

* Add versioning to the menu.

* Move classes that are not API classes to a different package.

* Change hierarchy.

* Move out of API folder.

* Remove unused classes.

* Use correct file package.

* Replace add on for Vaadin provided one.

* Add archieved field to notifications.

* WIP
Task #12 - Implement Notification system

* Add sorting capabilities to notification grid.
Task #12 - Implement Notification system

* Update VMMessages_es.properties (POEditor.com)

* Address Javadoc warnings.

* Apply licensing.

* Getting ready to release to GitHub.

* Fix bug.

* [maven-release-plugin] rollback the release of Validation-Manager-0.3.1

* Remove file.

* Update submodule branch.

* Release 0.3.1.

* Add Wizards submodule.

* Add missing Break.

* Add missing translations.

* Change version to 0.3.2-SNAPSHOT for development.

* Change version to 0.3.2-SNAPSHOT for development.
Task #44 - Main tab doesn't show on UI

* Release Hot Fix 0.3.2.

* Fix issue.
Task #46 - Notifications Tab not translating when changing locale.

* Change to development version.

* Add mail related settings.

* Implement engine and settings along with related unit tests.
Task #42 - Support Sending email
Task #42 - Support Sending email

* Integrate with UI.
Task #42 - Support Sending email

* Fix NPE issue.

* When running update() on the server class, it adds the initial history to the server but never persists to the database. So we update it when we are creating the record instead.
Task #50 - History not correctly created if updating from EntityServer

* 1) Make User versionable.
2) Add test to server class.
3) Fix multiple bugs uncovered during testing.
Task #50 - History not correctly created if updating from EntityServer

* Fix Cobertura issue.
Task #52 - Code Coverage not working

* Fix Cobertura issue.
Task #52 - Code Coverage not working

* Add missing test.

* Revert last change that broke it.
Task #52 - Code Coverage not working

* Lots of unit tests and bug fixes identified during testing.

* Fix javadoc errors.

* Handle null passwords (i.e. user creation)

* Implement adding users.
Task #43 - Add user management

* Implement User Management.
Task #43 - Add user management

* Add tests to check failed login attempts and account locking.

* Fix various test failures.

* Reorganize code to address possible NPE.

* Fix extra comma on the toString method.

* 1) Fix POM to avoid testing twice.
2) Add action for a Cobertura test run.

* 1) Add a test to check all versionable classes.
2) Add missing Auditable fields in Project.

* Test all fields of the Versionable entities.

* Fixing test cases and bugs.

* Fix auto incrementing notification ids.
Task #55 - Notification not autoincrementing.

* Only show the component to update roles to admin users.

* Use correct Exception type.

* Translate Demo screen.
Task #49 - Demo tab not internationalized

* WIP to fix bug.

* Lower logging level for this message.

* Add missing field.

* Fix bug with modifier user.

* Some more work to translate Demo tab after switching language.
Task #49 - Demo tab not internationalized

* Minor refactoring/formatting.

* Fix initial value to be greater than the default entries.

* Implement Issue Type portion.
Task #53 - Add Admin management for configurable items

* Update VMMessages_es.properties (POEditor.com)

* Update before saving just in case.

* Implement Requirement Type and Issue Resolution portions.
Task #53 - Add Admin management for configurable items

* Update version preparing for release.

* Address Codacy review observations.
  • Loading branch information
javydreamercsw authored Jun 13, 2017
1 parent 338d972 commit 98f48f9
Show file tree
Hide file tree
Showing 188 changed files with 31,050 additions and 28,814 deletions.
Binary file modified DB/Validation Master.mwb
Binary file not shown.
Binary file modified DB/Validation Master.mwb.bak
Binary file not shown.
37 changes: 37 additions & 0 deletions VM-Core/nbactions.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,41 @@
<exec.executable>java</exec.executable>
</properties>
</action>
<action>
<actionName>test</actionName>
<packagings>
<packaging>*</packaging>
</packagings>
<goals>
<goal>test</goal>
</goals>
<properties>
<maven.test.skip>true</maven.test.skip>
</properties>
</action>
<action>
<actionName>test.single</actionName>
<packagings>
<packaging>*</packaging>
</packagings>
<goals>
<goal>test-compile</goal>
<goal>surefire:test</goal>
</goals>
<properties>
<test>${packageClassName}</test>
<maven.test.skip>true</maven.test.skip>
</properties>
</action>
<action>
<actionName>CUSTOM-Coverage Report</actionName>
<displayName>Coverage Report</displayName>
<goals>
<goal>verify</goal>
</goals>
<properties>
<cobertura.test>true</cobertura.test>
<skipTests>false</skipTests>
</properties>
</action>
</actions>
80 changes: 50 additions & 30 deletions VM-Core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>net.sourceforge.javydreamercsw</groupId>
<artifactId>Validation-Manager</artifactId>
<version>0.3.2</version>
<version>0.3.3</version>
</parent>

<artifactId>VM-Core</artifactId>
Expand Down Expand Up @@ -141,6 +141,25 @@
<artifactId>jacoco-maven-plugin</artifactId>
<scope>test</scope>
</dependency>
<!--Java Email feature-->
<dependency>
<groupId>javax.mail</groupId>
<artifactId>javax.mail-api</artifactId>
<version>1.5.6</version>
</dependency>
<dependency>
<groupId>com.sun.mail</groupId>
<artifactId>javax.mail</artifactId>
<version>1.5.6</version>
</dependency>
<!-- https://mvnrepository.com/artifact/de.saly/javamail-mock2-fullmock -->
<dependency>
<groupId>de.saly</groupId>
<artifactId>javamail-mock2-fullmock</artifactId>
<version>0.5-beta4</version>
<scope>test</scope>
</dependency>
<!--Java Email feature end-->
</dependencies>

<build>
Expand All @@ -158,52 +177,53 @@
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<skip>${cobertura.test}</skip>
</configuration>
<executions>
<execution>
<id>unit-test</id>
<phase>test</phase>
<goals>
<goal>test</goal>
</goals>
<configuration>
<skip>${maven.test.skip}</skip>
<argLine>${argLine}</argLine>
<excludes>
<exclude>**/*IT.java</exclude>
</excludes>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.7.9</version>
<configuration>
<skip>${skipTests}</skip>
<output>file</output>
<append>true</append>
</configuration>
<executions>
<!--
Prepares the property pointing to the JaCoCo runtime agent which
is passed as VM argument when Maven the Surefire plugin is executed.
-->
<execution>
<id>pre-unit-test</id>
<id>jacoco-initialize</id>
<goals>
<goal>prepare-agent</goal>
</goals>
<configuration>
<!--
Sets the name of the property containing the settings
for JaCoCo runtime agent.
-->
<propertyName>jacocoArgLine</propertyName>
</configuration>
</execution>
<!--
Ensures that the code coverage report for unit tests is created after
unit tests have been run.
-->
<execution>
<id>post-unit-test</id>
<phase>test</phase>
<id>jacoco-site</id>
<phase>verify</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
<version>2.20</version>
<configuration>
<!--<aggregate>true</aggregate>
<linkXRef>true</linkXRef>-->
<!-- Sets the VM argument line used when unit tests are run. -->
<argLine>${jacocoArgLine}</argLine>
</configuration>
</plugin>
</plugins>
</build>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*
/*
* Copyright 2017 Javier A. Ortiz Bultron [email protected].
*
* Licensed under the Apache License, Version 2.0 (the "License");
Expand All @@ -13,39 +13,44 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.validation.manager.core;

import com.vaadin.ui.Component;

/**
*
* @author Javier A. Ortiz Bultron [email protected]
*/
public interface ContentProvider {

/**
* Return the component caption. This will be attempted to be translated.
*
* @return component caption
*/
String getComponentCaption();

/**
* The Content of the provider
*
* @return content.
*/
Component getContent();

/**
* This is the unique id of the provider
*
* @return unique id for the provider.
*/
String getId();

/**
* Refresh the contents.
*/
void update();
}
package com.validation.manager.core;

import com.vaadin.ui.Component;
import com.validation.manager.core.api.internationalization.InternationalizationProvider;
import org.openide.util.Lookup;

/**
*
* @author Javier A. Ortiz Bultron [email protected]
*/
public interface ContentProvider {

static final InternationalizationProvider TRANSLATOR
= Lookup.getDefault().lookup(InternationalizationProvider.class);

/**
* Return the component caption. This will be attempted to be translated.
*
* @return component caption
*/
String getComponentCaption();

/**
* The Content of the provider
*
* @return content.
*/
Component getContent();

/**
* This is the unique id of the provider
*
* @return unique id for the provider.
*/
String getId();

/**
* Refresh the contents.
*/
void update();
}
Loading

0 comments on commit 98f48f9

Please sign in to comment.