Monday, January 24, 2022

How to manually patch Studio-generated modules in 6.6

After migrating from Group Office 6.5 to 6.6, a number of users reported that modules generated with the studio module were triggering exceptions. 

An automated correction script was released in version 6.6.26. This will help most end users. As per version 6.6.33, an administrator can try to patch studio generated modules through the CLI:

  • Open an SSH session or any other CLI session to your container or server.
  •  Navigate to the Group Office installation folder, which is commonly /usr/share/groupoffice or /usr/local/share/groupoffice
  • Run this command with root permissions: php cli.php business/studio/Studio/patch65to66  The output will look somewhat like:

Attempting to patch package studio, module beren...
Updating module class.
Updating model classes.
Updating controller classes.
Attempt successful!


After patching, you may want to check the permissions for your studio generated modules, depending on whether you wish to do some manual tinkering or you simply wish to regenerate the code.

Recent changes in leave days module

In the last six weeks of 2021, we spent a lot of time on the leave days module. This was partly due to recent changes in the code base and partly due to new insights. This post will sum them up for both our administrators and developers. The same goes for leave types. These were refactored into activities as part of the business module.

Under the Hood

As per Group Office 6.5, there has been a number of changes on a code level. This is mainly due to part of the functionality of the module being moved to the new business module. Since employee management was refactored into JMAP entities and properties, we had to refactor yearly budgets as well. A migration script was written in order to convert the old data into new data. We plan on refactoring the leave days module entirely in a later Group Office version. 

Yearly Budgets

Adding to that, one fundamental change was  implemented earlier this year. Whereas in 6.4 versions and earlier, leave hour budgets had to be assigned each year, in 6.5 this was silently abolished. Instead, when an employee is added to Group Office, the yearly budgets merely have to be applied once. Please note that when an employee starts during the year, the budget for that year is adjusted accordingly.

Special Leave

Special leave has been rewritten entirely. Compared to yearly holiday budgets, there are two important differences: 

  1. Special leave is commonly incidental, whereas normal holiday hours are recurring each year.
  2. When an employee gets special leave for a longer period, this is not dependent on a calendar year.
In order to tackle these differences, special leave is now its own activity type and will be treated separately from other leave types. When an employee requests special leave and it is approved, a separate leave budget is created and the employee can use this leave budget for their registration. Alternatively, a manager can define a special leave budget for an employee.

Final Word

Please refer to our documentation pages for the business and holidays modules for further information.

Monday, January 3, 2022

Group-Office 6.6 released

 We're proud to announce Group-Office version 6.6! This release comes with some great new features:

  • Rewritten Tasks module
  • User interface improvements
  • Redesigned notifications
  • Improved security
  • New permission system for modules

Tasks module

The tasks module has been rewritten from scratch. The user interface is responsive so it works on mobile devices and it takes advantage of the new framework features such as custom filters.

Tasks module


It also replaces jobs in the projects module. Tasks are now fully integrated in projects and time tracking:


Tasks replace jobs in projects

User interface improvements

We redesigned the app launcher:

New App launcher


The system settings module page is redesigned and searchable now:




Notifications

A new notification system alerts about new comments, tickets, events etc.:




Module permissions

A new permissions system allows us to create different permission types for modules. It also allows to give partial access to System settings. You can now give users access to manage users, groups and custom fields for example.

Module permissions



We hope you will enjoy these new features and upgrade to the latest version!