Igor <igorvich1988@hotmail.com>: Author Summary

Builds triggered by Igor <igorvich1988@hotmail.com>

Builds triggered by an author are those builds which contains changes committed by the author.
47
0 (0%)
47 (100%)

Breakages and fixes

Broken means the build has failed but the previous build was successful.
Fixed means that the build was successful but the previous build has failed.
0 (0% of all builds triggered)
1 (2% of all builds triggered)
1
Build Completed Code commits Tests
AFRICA › PRODUCTION › #13 1 year ago
Updated the check for updating a strike or viewing the article
Added code to check whether the user is admin, so he/she is able to update the strike when he/she has not entered the strike.
Added code to check whether the user is admin to view the article.
Adjusted a comment for the mapping of labels
Update for updating a strike
Fixed the issue where the admin is not able to update a strike from someone else. So now it checks whether the username is corresponding to the author name or if the user is an admin. The author information stays the same after the update.
Update for the strike labels
Rewrite of the way the labels are added to the Strike. Improvement for when there are no labels given, the Strike is not saved.
Furthermore adjusted the way the article file name is received. This to fix the issue of it being unable to view the files added.
And altered the code according to the tips Intellij gave.
Update for updating a strike
Fixed the issue where the admin is not able to update a strike from someone else. So now it checks whether the username is corresponding to the author name or if the user is an admin. The author information stays the same after the update.
Update for the strike labels
Rewrite of the way the labels are added to the Strike. Improvement for when there are no labels given, the Strike is not saved.
Furthermore adjusted the way the article file name is received. This to fix the issue of it being unable to view the files added.
And altered the code according to the tips Intellij gave.
Testless build
AFRICA › TEST › #22 1 year ago
Update for updating a strike
Fixed the issue where the admin is not able to update a strike from someone else. So now it checks whether the username is corresponding to the author name or if the user is an admin. The author information stays the same after the update.
Testless build
AFRICA › TEST › #21 1 year ago
Update for the strike labels
Rewrite of the way the labels are added to the Strike. Improvement for when there are no labels given, the Strike is not saved.
Furthermore adjusted the way the article file name is received. This to fix the issue of it being unable to view the files added.
And altered the code according to the tips Intellij gave.
Testless build
AFRICA › TEST › #20 1 year ago
Updated the check for updating a strike or viewing the article
Added code to check whether the user is admin, so he/she is able to update the strike when he/she has not entered the strike.
Added code to check whether the user is admin to view the article.
Adjusted a comment for the mapping of labels
Testless build
AFRICA › PRODUCTION › #12 1 year ago
Updated the check for updating a strike or viewing the article
Added code to check whether the user is admin, so he/she is able to update the strike when he/she has not entered the strike.
Added code to check whether the user is admin to view the article.
Adjusted a comment for the mapping of labels
Testless build
AFRICA › PRODUCTION › #11 1 year ago
Update to add label to the strike provided
Added Label model which can be added to the Strike.
Changed the way the order of transactions in Ebean are done due to adding new Labels to the database if not existent.
Added code to handle the adding of new Labels in StrikeController.
Small textual edit in IdentityDetail.
Added the Label variables to the class Strike.
Adjusted the views for admin, index and update to fit the new information for the Label.
Update on the database in the sql file.
Added code in the javascript to handle the label input field.
Update to add label to the strike provided
Added Label model which can be added to the Strike.
Changed the way the order of transactions in Ebean are done due to adding new Labels to the database if not existent.
Added code to handle the adding of new Labels in StrikeController.
Small textual edit in IdentityDetail.
Added the Label variables to the class Strike.
Adjusted the views for admin, index and update to fit the new information for the Label.
Update on the database in the sql file.
Added code in the javascript to handle the label input field.
Testless build
AFRICA › TEST › #19 2 years ago
Update to add label to the strike provided
Added Label model which can be added to the Strike.
Changed the way the order of transactions in Ebean are done due to adding new Labels to the database if not existent.
Added code to handle the adding of new Labels in StrikeController.
Small textual edit in IdentityDetail.
Added the Label variables to the class Strike.
Adjusted the views for admin, index and update to fit the new information for the Label.
Update on the database in the sql file.
Added code in the javascript to handle the label input field.
Testless build
VUFIND › TEST › #167 2 years ago
Made sure nothing is cached when nothing is found at METS url
Testless build
VUFIND › PRODUCTION › #92 2 years ago
Made sure nothing is cached when nothing is found at METS url
Testless build
DELIVERY › PRODUCTION › #41 2 years ago
DELIVERANCE-240 update
Removed the not null parameters on PermissionForm.
Set nullable true for explanation and address in Permission.
Added required parameters to the macros in form.ftl, with standard value true for fields to display the asterisk.
Added code to display the asterisk in red color in permission, reproduction and reservation.
Updated the way prices are given for items other than books/brochures
Added a class Copies, similar to Pages but specifically for copies (not books/brochures).
Added methods to get the number of copies and the price by number of copies to Record.java
Added messages for the copies.
Adjusted the ftl to check whether an item is type BOOk, otherwise it states copies.
Added macro holdingPriceOther to utils.ftl which is similar to holdingPrice to display the price for the order.
Renamed view files from .html.ftl to .ftl and adjusted reference in code
Changed the way barcodes are generated and read.
Changed the information given to the constructor for RequestPrintable by adding a parameter for HoldingReproduction and HoldingReservation.
Changed the call to this constructor in multiple classes to add one of these if when available.
Adjusted the way the holding the reservation or reproduction is tied to is being looked for. Now it looks for the reservation or reproduction according to the id, and then gets the holding tied to that reproduction or reservation.
Updated application.properties
Update
Added spring boot starter mail dependency.
Added systemproperty to handle the encoded slashes in the url.
Added code to let the firewall pass the url with encoded slashes.
Adjusted the calls to the mail templates by adding "mail/" to the return values.
Updated freemarker configuration.
Removed the Waterfilter from the CaptchaEngine due to it not working with Java 1.8
Fixed lazy initialize and added alter sequence for development (H2)
Removed unused files
Update how the barcode is generated and retrieved according to feedback
Added getById methods to the HoldingReproductionDAO and the HoldingReservationDAO.
Added a getId() method to HoldingRequest and made HoldingReproduction and HoldingReservation override this method.
Removed HoldingReproduction and HoldingReservation from the RequestPrintable constructor and all the calls to that constructor.
HoldingReservation and HoldingReproduction is now retrieved via HoldingReservationDAO and HoldingReproductionDAO instead of own method.
Added check for not available to holding
Added custom (simple) error view
Added message for the error view in both dutch and english.
Update for Spring Boot build
Able to start the application and goes to login screen.
Update on Spring Boot conversion
Now displays all pages that are clickable in the header.
.ftl files relocated to corresponding folders.
Added .html to the return calls for the view files.
Language change is now working.
DeliveryProperties now automatically loaded for the view files.
Adjusted the way the deliveryproperties are loaded into the java classes.
Added an empty messages.properties to make sure the messages are working according to Spring Boot documentation.
Removed dependencies no longer used in Spring Boot.
Update for Spring Boot
Added jpamodelgen in pom file for the generation of the abstract classes.
Removed unused properties from DeliveryProperties for these are autoconfigured.
Removed the mail configuration as this is done automatically.
Made sure the access to different methods is handled outside the security configuration by update the SecurityConfiguration and changing @Secured to @PreAuthorize. This done on all controller classes.
Adjusted the UrlDecoder.decode as this was deprecated, had to wrap it with a try catch.
Added error templates for different types of errors along with the messages required for every error. These are just simple static templates.
Furthermore cleaned up some of the code.
Better way to check on any of given roles
Replaced the hasRole('ROLE_') or hasRole('ROLE_') with hasAnyRole('ROLE_', 'ROLE_'). Does the same.
Updated the invoice template
Added new messages for the invoice to be displayed on the pdf.
Adjusted the pdf.ftl template to fit for the invoice, this by adding information on the bottom about IISG and adjusting the top of the page to have more of a look and feel of an invoice.
Updated the invoice pdf to be more like an invoice.
Adjusted the display of the name of the orderer.
Added information about the order on the top of the page.
Added a summary below the list of ordered items to display the price and discount and tax. Which calculates an entire price with tax.
Optimized imports by IntelliJ
Updated deprecated code
Altered the way the @Table and @Index are used and the information that is given.
Also optimized the imports on the project.
Changed the way user login failure url is called, now works properly
Adjusted the macro userbase and userHeading
Added a parameter to check whether the language buttons should be disabled. Default value is false, so they will be displayed. By having default value, only specific templates need to call the macro with the correct parameter.
Also set the value disabled for reservation succes to true, so buttons are not displayed.
Added version to h2 dependency to be sure it keeps working.
Update invoice due to taxes
Added methods to calculate the costs of the items without the taxes.
Updated the template with the correct calls to the correct items.
Update for spring boot
Cleaned up the POM file of Delivery.
Changed the check for "h2" profile in ConfigConfiguration to "development" for ease of use.
Removed the check for "h2" in SecurityConfiguration and only check on "development" for ease of use.
Added a properties file specifically for development.
Set freemarker.cache explicitly to true for production.
Update properties call to new Spring Boot style
Also updated antMatchers to prevent logo.ico from being downloaded on login.
Update based on the comments given.
Made a generic method to determine the price for either pages or copies.
Adjusted initReproduction to save the amount of copies/pages if one of both contains an amount, otherwise it is 1.
Simplified the method determineNumberOfCopies for it only has to check for the combination of <amount of pages> <ex>.
Adjusted the holdingPrice macro in mail.ftl.
Updated the calls to the macro holdingPrice from mail.ftl by adding the materialType.
Adjusted the holdingPrice in utils.ftl and removed the holdingPriceOther macro.
Updated the code with calls to the holdingPrice macro from utils.ftl by removing the checks for materialType, since they are done in the macro itself.
Testless build
Build Completed Code commits Tests
Build Completed Code commits Tests
AFRICA › PRODUCTION › #2 2 years ago
Removed whitespace around the images
Updated the index page
Updated the parameter line for the extra info given
Replaced the html select elements with select helpers
Commented the append functions for the select helpers
Put the selectize call in a single function and commented the original selectize calls
Adjusted the update form
Check on upload of article to see if it is empty or not. This to prevent the download of invalid files.
Check if article is present when loading update form.
Added CompanyName class
Username being added automatically, therefore removed author field
Added title bar to the application with IISG icon and Africa Strikes
Updated Strike
Added Article to Strike with getter and setter
Sql updated aswell
Updated HomeController to match Strike
Updated Index.html to match data required for Strike
Added handler to prevent the enter button log out the user
Furthermore update button now hides when approved.
The updated database evolution file
Adjusted the spacing of the title of the page
Seperated javascript from html files
Done this for the index and update pages. Created a unique file for each of these. Still need to look if it is possible to combine them.
Added route for admin
Changed handling of helpers
Changed the names of the helpers to resemble the names provided in the strike object. This for autofilling the form according to the strike object given.
Changed the constructors of a couple of models for the new way of saving the input from the helpers.
Furthermore did some cleanup of the code.
Updated selectors
Updated the label of numberofparticipants
Updated the options for companies involveld in strike
Changed relation to companyName to OneToMany
Updated class Strike
Cleaned up the class
Added variable geographicalContext
Added variable identityDetails
Set the login active
Adminauthorized commented due to testing and rights
Edited the way strike ids are given to the admin page
Send a list of strike ids to the admin page instead of a list of strikes.
Split the de-selection of the checked/unchecked buttons from the search function.
Added event handler to handle the pressing of the refresh button to prevent reload of the page. And made the button of type button to prevent the form from being submitted.
Added a route for the request of the ids.
Added a method in Strike to load the strike ids
Removed the check for 'refresh' in AdminController and added a method to get all strike ids
Updated the application
Added checks for the admin controller: logout and refresh list
Removed print line from home controller
Edited some dimensions and added refresh button for the select list in admin
added dependency to mysql
Changed settings for the database to mysql database (localhost)
update of the database evolution
Added "no occupation provided"
Created new YML files
Files created for the displaying of info in the inputform. This to replace the current way of showing/adding values to selectors
Adjusted the form input and admin
Rewrote the way the input fields and the admin fields are shown. Made use of the helper.
Created a list of the days, years and duration to pass to the input form view.
Commented companynames, occupations and identityDetails in homecontroller as they are being stored in a slightly different way.
Rewrote in Strike the way companynames, occupations and identitydetails is being stored
Made sure the year end select list is filled
Updated HomeController
Edited the output of println for the loading of sector yaml
Added code to load all the yaml files and fill the database with the content of the yaml files
Edited the call of the index with the information to be given.
Added mappers for the variables in the class Strike which are of the type List. This done as try catch.
Fixed the days selectable on change of year and month
Updated the form
Added List of company names as parameter for the form
Indented the occupations select
Changed the comanynames input back to the html variant.
Added a specific companynames selectize for the creation of string objects to show in the company name input box
Removed the commented selectize functions as they aren't used
Updated the admin side
Made it possible to search for checked or unchecked strikes, or all.
Now possible to make a strike checked and/or discard a strike.
Added alerts to the user to ask to be sure to discard of approve the strike.
Added CauseOfDispute class
Cleanup of occupation yaml
Fixed a bug on loading the yaml files and added a page.
Fixed a bug when loading the yaml files, as the files aren't loaded when directly surfing to the admin page. Addded a check to fix that.
Added a page to display the error when no strike is selected in the admin page, instead of a simple string in an empty page.
Removed unused imports and cleaned the code a bit by removing print lines.
Updated the database
Updated admin form
Changed the select field for the strikes back to html code
Split the company ownership in two divs to improve visual appeal
Function to add the strike id's to the select field
Function to get the selected strike as a Json, and fill the fields according to the information in the Json. Inline function to get the values of the different arrays in the json.
Merged branch development into development
Updated HomeController
Wrote two private methods to get rid of repeated code with the help of Kerim
Updated getter and setter for List Cause of dispute
Removed unnecessary code
Removed two controllers and added AdminController
Added class (Model) Article
Added a list of hiscoOccupations to class Strike
Commented the check for development mode for test purposes
Still needs work, so is not of importance right now
Updated HomeController class
Give a list of the company name yaml as variable for the index page
Added code to get the companynames string, seperate it and set it to the collected strike to be saved
Removed the company names mapping, as the way the company names are retrieved has changed.
Removed some print lines
Cleanup, and change way article path is determined (config)
Cleaned up the code and fixed dates on update form
Updated HomeController
Changed Occupation into OccupationHisco and added new code for the Occupation class.
Added code to get selected strike in admin form as json
Updated form
Removed companynames as parameter as it is not being used
Updated homecontroller
Changed  the prefix of the article to "article-"
Changed the way the article file name gets saved
Processed the feedback from AFRICAS-7 in Jira
Removed duplicate code from AdminController and HomeController and placed it in a new class called StrikeController.
Relocated the Yaml.load functions to StrikeController and added a call to StrikeController on the places where the Yaml.load functions used to be.
Load the Yaml files as soon as the application is started and loads the index page with a check to see if it was already loaded.
Updated the class Filters to add a CSRFFilter to the application to prevent Cross Site Request Forgery.
Added CSRF tokens to all the html pages.
Removed ExampleFilter, Module, ApplicationTimer, AtomicCounter and Counter.
Removed cache and javaWS from libraryDependencies.
Removed the route to HomeController.getStrikes.
Removed web plugins and Play enhancer from plugins.sbt.
Updated the input and admin form
Added two images to show when no example of the article can be given.
When adding an article, the article extension is checked in orde to use the appropriate way of saving the file.
Admin form updated to look nicer.
Added three buttons on the button of adminform (for trial)
Search function added when looking for strike in inputfield
Updated the way to get the article, and how to display it.
Cleaned up the input form, the place where the info is given, how the days for the given month are calculated, and how the months are loaded in to the select.
Updated the routes to get the article from the given strike
Added logging to the applicaiton
The logging will be done in a submap of the location where the application is stored.
Added year end to the strike
Updated the database
Updated CompanyName class
Changed constructor to accept a string for the companyNameText.
Merged development into origin/test
Updated multiple classes
Made the classes extend Model of Ebean
Added default value for duration on load
Updated the app according to comments in AFRICAS-6
Replaced the static filepath with the variable "articleFilePath"
Added the stylesheet "africa-strikes.css"
Removed "input-full-width" from bootstrap.css
Updated the application
HomeController:
Added try catch around the code to save the strike.
Checks if the strike is valid and returns error messages to display on the page.
admin.scala:
Adjusted the way the page is shown
Added a logout button to the page
index.scala:
Changed message to multiple messages for the errors
Added Strike variable
Added logout button
Changed the way info is displayed in the selectize elements, this for when a Strike is inserted incorrectly and redisplayed.
Edited the Add Strike button
update.scala:
Edited the buttons
Renamed the occupation-data.yml to occupation-hisco-data.yml
Updated the Strike model, and therefore the sql
Added the beginning of an admin form
Added an update form to the application
Updated the button in admin to link to the update view
Updated the routes according to the update view
Added code to the admin controller to save the updated strike
Altered strikeSelected variable to a global variable
Created an update form similar to the input form, for the admin to update the strike
Removed the all .less files from the public folder
Removed npm.js and strikeForm.js
Added myself with admin rights
Altered the constructor of Occupation
Updated the update view
Now shows the information given in the multiple selectors. By rewriting the select fields. Now uses the selectedStrike passed by Admincontroller.
And also saves the information of these fields.
Changed description inputText to textArea
Updated the form
Changed Occupation into OccupationHisco for having the wrong name in the beginning and added an input field for Occupation with selectize
Updated admin side and homecontroller
Check if an article is uploaded, if not the variable stays empty. Due to viewing the article downloading unvalid file.
Adjusted the search in admin form. This due to the possibility on looking by checked or unchecked and searching specific strike.
Furthermore standardized the image shown at the article field.
Added a new image for noArticle shown
Edited name of view.png to viewArticle.png
Removed getId
As id is public, getId is redundant
Added an OccupationHisco class
Removed code that is not used
Added class IdentityDetail
Slight changes to the look and feel
Added a check to see if the user is an admin, so he/she is possible to use a button to switch between the index page and the admin page.
Added a success message to the index page when a strike is entered.
Added Cause of dispute yaml
Contains causes of dispute to be added to the database
Updated existing yamls
Added a "not provided" option to the yamls
Added a checked variable to the Strike object.
Updated getter for all elements of the class
Removed info from return button to prevent shown in url.
Added Company name yaml
Contains a default value for when no Company name is given
Merged javascript code into one file
Made overlapping code from index page and update page into one javascript file.
Cleaned up admin page.
Removed africa-strikes-update.js
removed duplicate code from africa-strikes-index.js
changes to admin
Set the fields to readonly, to prevent unwanted changes
Visual improvements
Updated the labour relations yaml file
Hides the approve button if strike is already checked
Updated class Strike
Added List variables of CompanyName, CauseOfDispute, IdentityElement and StrikeDefinition
Edited the getters and setters of the added List variables
Give the default company name an id of 1
Changed article and admin
Changed the name to represent the name of the uploaded article
Changed the method that returns the article belonging to the selected strike
Added Identity Element yaml
Contains the identity elements to be added to the database
Added Country yaml
Contains countries to be added to the database
Added strike definition yaml
Contains the strike definitions to be added to the database.
Testless build