-
Lighten messages displayed in error popups through
ExceptionHelper
When the methods in the class
ExceptionHelper
was called with anActionResponse
parameter, the message to display to the user in the UI was built from:- the prefix "An error occurred with the following message :"
- the exception message itself
However, the prefix didn't provide any additional value, as the title of the popup was already "Error". Removing it will allow users to identify faster the real errors.
-
Replace ControllerCallableHelper's ForkJoinPool with a single thread executor service
ForkJoinPool.commonPool() used by ControllerCallableHelper is statically declared. Therefore, the full application classloader is not used inside ForkJoinPool's threads. This caused issues with some external dependencies like resteasy.
- StringListHtmlBuilder: add static methods to return a list in HTML from a List.
- Add the CriteriaHelper class to provides methods to manipulate Criteria API in a more convenient way.
- Add the AllModelSelectService class to initialize or update all.model.reference.select selection where items are all the meta models present in the system.
- ContextHelper: add parent origin fetcher
- Change AOP version to 7.1.0
- Add new method to ListHelper to get an Optional for the first element of a list
- ListHelper.intersection is now a static method
- Use java Optional instead of guava
- Integrate AOS dms file methods to utils
-
chore: Don't trigger pipelines several times
apply new workflow to improve our CI\CD efficiency
- Add JsonUtils class to convert beans to json and json to beans
- Add ControllerCallableHelper to run services in controller asynchronously
-
Apply naming convention to all utils classes
Please take notes of the following changes:
- Deleted DateTool, DatesInterval and Period classes
- Renamed ToolExceptionMessage to UtilsExceptionMessage
- Renamed all classes with Tool and Utils suffix to Helper suffix
- Move all helper classes to com.axelor.utils.helpers package
- Deleted ListToolService and its implementation in favor of ListHelper and updated the implementation
- Renamed WrapUtils to WrappingHelper
- Renamed SFTPUtils to SftpHelper
- Renamed StringHTMLListBuilder to StringHtmlListBuilder
- Renamed EntityUtils to EntityMergingHelper
- Renamed MyFtp to FtpHelper
- Renamed URLService to UrlHelper
- Renamed ArchivingToolService and its implementation to ArchivingService and ArchivingServiceImpl
- Renamed ConvertBinaryToMetafileService and its implementation to BinaryConversionService and BinaryConversionServiceImpl
- Renamed ConvertBinaryToMetafileService.convertByteTabPictureInMetafile() method to BinaryConversionService.toMetafile()
- Renamed DMSFileToolService and its implementation to DmsFileService and DmsFileServiceImpl
- Renamed DataReaderService, CSVReaderService and ExcelReaderService to DataReader, CSVReader and ExcelReader
- Made DataReaderFactory a real service with its implementation to allow for easier extensions
- Deleted DateToXML and moved its methods to LocalDateTimeHelper
- Renamed Marschaller to MarshallingHelper
- Renamed XPathParse to XPathParser
- Update org.apache.pdfbox:pdfbox from 2.0.9 to 3.0.0
- Fix AOP version to 6.1.5
- Expose unit test's design core classes to allow usage in other modules
- ResponseConstructor: add new build methods computing automatic responses
- Add ActionService utility to allow usage of action-record in java
- New permissions system : backend side
- DMSFileToolService: add an inline URL getter
- Update javax.xml.bind:jaxb-api and com.sun.xml.bind:jaxb-impl from 2.2.2 to 2.3.1.
- EntityUtils: Fix o2m and m2m fields are properly emptied from the view modifications
- Bump AOP version to 6.1.3
- EntityUtils: Add a new method to merge view modifications on top of database object.
- DMSFile: Add a new method to fetch all DMSFiles linked to a Model.
- Update xsd to 6.1
- ContextTool: Add a new method to get a field value in a context or its parents
- Replace deprecated org.apache.commons.lang3
- Add SelectUtils and remove unused class attributes
- Add new LocalDateTimeIntervalClass + LocalDate(Time)Utils init from DateTool
- Add an AOP based changelog generation system
- Initial AOP Addons version