Releases: panichelpdesk/panichd
We just come back! With some assorted changes
Package installation
- We have added a cache key to keep track if the installation process has started and ended. If it hasn't ended by any error, for example PHP script max time exceeded due to migrations installation, you can always come back to /panichd route to end the installation correctly
- Sqlite patch: The initial PanicHD configuration was using "Member" model, wich may cause an error using sqlite. For now it has been changed to App\User
Department improvements
- Simplified model and relations
- Patched bugs related onto showing tickets from owners that doesn't have any department.
- Improved notices to reflect these changes
Ticket lists
- Complete list: Tickets without limit date were showing a wrong completion date
Soft or hard deleted users
- In ticket lists and cards, we have 3 different kind of members or users: Ticket owner, ticket creator and assigned agent
- If any of these 3 members is softDeleted or hard deleted (erased from database) for a ticket, you'll keep seeing the ticket in the lists and will be able to view it's card
Members management
- Add / update / remove members
- View related user information (name, email)
- View member role
- View owned tickets
Ticket Filters
- All validation code is moved to TicketFilters trait in the validateFilters() method
- Reorder and improve all FiltersController methods in order to use the trait
- Add ability to apply only one filter
Date related changes
- We have made an addon to Carbon getHumanDate() in order to show natural dates difference when they are expressed as days, weeks or months. Without these changes, the textual differences in Carbon are taken from current time.
- Improved dates information for Notices lists
- Limit date on complete ticket list was not showing correctly
Dashboard improvements
- View ticket counts with separated "newest" versus "active" tickets
- Add links from all counter on it to their related list
- Added a method in ticket filters to apply just one filter and remove the rest
- Add links to user routes if configured
Images
- Image mimetype filter for a ticket attached elements. Now only jpeg, gif, ico and png (which are the HTML most widely compatible formats) are treated as images
Configuration settings
- HTML filter before executing Mews Purifier: Moved to configuration setting to let anyone customize it. In my environment it solves a bug when having a "à" accented character at the end of a html field.
Category form
- Closing reasons were not saved on creation
- Custom validation messages to help on identifying which closing reason or tag has an errror
NAV
- When viewing a ticket card, display ticket related list as an active element
- Quit about having filtered ticket counts in nav elements when showing a ticket
- Show a unique filter icon in filter panel's left side. Delete all other filter icons that were shown in nav
- Clicking on it deletes all active filters
Design others
- Select2 inputs were overlapping over some Jquery UI dialogs
- #panichd_content in html was made in order to apply select2 styles only in PanicHD pages body, not in NAV
There may be also other improvements not described there. Sorry for that. In the case you didn't find what you were looking for, please read the commits, look or add an Issue or check this brand new version in your local server ;)
More integration tools
Here are some code improvements to help you to improve PanicHD integration in your Laravel app:
- You can specify the first year for your tickets with the new oldest_year setting: That year has to be the first you allow for ticket start_date and limit_date fields validation. The default is 2017 so, if you have imported older tickets from another system, please update it or you won't be able to keep these original dates when updating an old ticket.
- Optional user card route with the new user_route setting: If you have a user card page in your Laravel app for it's registered users, you can specify it's related route name in this setting. That route has to include an id variable (user id) that will be passed from the PanicHD code. With this already configured, the owner names in ticket list or card will be links to their user pages.
- Soft deleted users: The code has now in mind Laravel soft deleted users, if you have configured it in your App\User model. For users with that status, you will see and alert next to the owner name, in ticket list and ticket card. You won't see it when editing that ticket, as we guess a deleted user has not to be selectable as a ticket owner. In this case you'll need it anyway, you will have to undelete the user before editing the ticket and delete it again after that.
- We have done a partial navbar modification: We have moved the dashboard link to the dropdown menu. We have also created a setting for this dropdown name, so you can set admin_button_text setting to the name you like the most. By default it is PanicHD ;) and don't worry if you wanna change it, It will feel good to us.
There are some minor code patches that are also included in this release. Please check out it's commits for more information.
Made upgrade menu always available
Upgrade menu is now available always for any PanicHD admin. It is useful to just check if the package files are up to date with the database and configuration settings or for reinstalling the package published files instead of doing it with command line.
Many patches and some little additions
The main additions in this version are:
- New calendar filter "not scheduled" for any tickets without limit date.
- Some tooltip additions
- Ticket creation date when pointer is over ticket id in ticket list
- Full comment datetime when pointer is over comment creation date
- All bootstrap modal windows are now draggable
Patches overview:
- Priority / agent selection popover within ticket list:
- Redirect to same list
- Show error message instead of exception when no option was selected
- Attachment generation from embedded images:
- Improved previous filter to use php's loadHTML if needed only
- Added process for jpeg and gif embedded images
- Comment with complete ticket checked:
- Show correct comment entries when an agent both makes a reply or internal note and completes the ticket
- The user wasn't receiving this notification.
- The assigned agent was receiving a notification with oldie ticket information
Generate attached images from embedded ones
The major improvement in this release is the automatic attached image generation from embedded screenshots in any summernote field which are bigger than 380x300 px. In the summernote field, they're replaced with a thumbnail link that opens the original image.
Some other visual and code improvements like:
- Informational comments like hide / show, complete and reopen design changed to a single line instead of a panel. If there is a consecutive pair made by the same user, they got deleted.
- A reply to user can include it's text inside the email notification body
Includes first PR with Brazilian Portuguese updated
And some other changes like:
- Calendar filter setting "calendar_month_filter" that allows to switch between "natural month" filters (this week, this month) and forth day filters (next 7 days, next 14 days)
- Allow users without email for a wider compatibility. Added a related database view "panichd_members" that points to users table. It covers a needed customization and adds flexibility for everyone.
- Improved ticket list default order which is the same as ordering by priority: Orders by priority magnitude first and then by the combination of calendar related fields (start_date and limit_date) to get it ordered finally the right way. The same improvements are used to order by the calendar column itself.
- Ability to disable member (user) notifications for list (between active and complete only) or status change
There are some other improvements and patches done here. Please if you're interested in, take a look on the commits.
Command line tools and some other additions
Some useful command line tools minded for developers tests:
- Basic seeder: We have moved out basic priorities and statuses to independent files, so they can be added independently
- DemoDataSeeder:
- Edited code to include new fields in PanicHD (start date, limit date, tags, intervention field...)
- It uses priorities and statuses from Basic Seeder
- panichd:demo-rollback artisan command: Delete everything added by the Demo Seeder (categories, tickets, users, agents...) except priorities and statuses, that may be added before intentionally
- panichd:wipe-off-lists artisan command: It lets you delete all content from categories, priorities or statuses. Or all of them together.
- panichd:wipe-off-tickets artisan command: Delete all tickets and truncate ticket table to reset autoindex
Improvements in filters panel:
- We have shortened ticket counts process speed (very much)
- New year filter to be used in complete tickets only. Calendar filter is visible on active tickets only.
There are some other improvements not listed here. For more details, please take a look in the commits.
Renamed "Agent" model to "Member"
Two main changes in this release:
- Added Settings Patch for manual installation
- Renamed "Agent" model to "Member": The aim of this is to differ more clear a common User from an Agent or an Admin. Both three become Members with just different permissions. The "Agent" word is now reserved to some user that has permission on a Category.
Attending to semantic versioning I think that this release should be changing main number to 1, but as long as I amb working without a stable version, I'm going to keep changes as minor changes numbers. I guess this may be wrong, but I'm reserving v1 for the first stable release.
Finishing up the installation menus
- Old Settings: Added reset and deletion when needed
- Installation quickstart won't overflow existent parameter listings
- Disable install if Kordy/Ticketit is still installed
Installation is more aware of ticketit
Improved installation information adding full installation details in readme and also in the installation script. Added deletion of incompatible kordy/ticketit settings before executing the seeder with the updated parameters.
There is still a lot of work to do on dev branch.