# ChangeLogs

**v1.1.15**
- Added admin can disable public employee

**v1.1.14**
- Fixed missing fcm secret key on user store token

**v1.1.13**
- Updated Booking mail

**v1.1.12**
- Added bookings export

**v1.1.11**
- Updated email notification
- Added admin update employee information
- Fixed sync_attributes on file ldap_auth
- Added more fields when booking

**v1.1.10**
- Fixed [BUG] Duplicate account when logging in Ldap
- Update sync username on login Ldap

**v1.1.9**
- Added prevent change role for super admin

**v1.1.8**
- Added set lowercase on username

**v1.1.7**
- Added checking AD account when create admin

**v1.1.6**
- Removed modify email on admin

**v1.1.5**
- Fixed sync data user by scope

**v1.1.4**
- Fixed sync data Ldap for account admin

**v1.1.3**
- Fixed user login public mode

**v1.1.2**
- Fixed wrongly passport login when duplicate username
- Updated sync and log auth

**v1.1.1**
- Allow logging into of AD user in Public Mode
- Add log to User Auth

**v0.5.19**
- Added remove fcm token on user logout

**v0.5.18**
- Added delete fcm_token api

**v0.5.17**
- Finish fix duplicate entry for username

**v0.5.16**
- Removed the year on copyright text for email

**v0.5.15**
- Added auth public mode to settings
- Added user register

**v0.5.14**
- Added default topic to FcmTopic
- Added unique for uid in accounts table and account id in users table

**v0.5.13**
- Changed leisure pass available date to the previous date if the repeat date not available

**v0.5.12**
- Fixed wrongly response code when send mass notification failed
- Fixed wrongly leisure pass available date when repeat at the end of the month

**v0.5.11**
- Fixed wrongly leisure pass available slots on calendar
- Changed not to notice when create draft leisure pass

**v0.5.10**
- Added booking reminder
- Changed info notification status to info
- Fixed user still get draft leisure pass

**v0.5.9**
- Added checking when disable an admin

**v0.5.9**
- Added checking when disable an admin

**v0.5.8**
- Changed permission of daily log
- Added resizing leisure pass image when upload

**v0.5.7**
- Changed not update roles "super_admin"
- Added message check Authorize
- Added admin get self logs
- Removed unused permissions

**v0.5.6**
- Added get setting for all admin
- Change not delete roles "super_admin"
- Change except permissions "roles_index" in roles admin

**v0.5.5**
- Added phone number when creating an account
- Fix missing upper case Setting on log 
- Changed seed role default

**v0.5.4**
- Fixed  wrongly `leisure_pass_id` typography in pushMassNotifyToTopic
- Fixed wrongly typography on logs action message
- Added migrate add_default_roles

**v0.5.3**
- Added request get single mass notification
- Added `notification_id`, `leisure_pass_id`, `booking_id` to firebase notification data
- Added request get single notification by mass notification id

**v0.5.2**
- Added default role
- Added admin's can change password on Profile page

**v0.5.1**
- Added title, created_at on firebase notification data
- Changed long text with html on notification

**v0.4.8**
- Added admin can change email of Employee
- Added store Admin log
- Added sending notification to all users when creating a new leisure pass
- Added getting your booking by year

**v0.4.7**
- Fixed missing body_html on notification

**v0.4.6**
- Fixed error logo in email templates
- Fixed missing today or feature passes no longer on schedule when get leisure pass slots

**v0.4.5**
- Deleted required reason when user cancel a pending booking
- Added booking info to notification when confirm booking

**v0.4.4**
- Added `is_cancelled_by_user` on booking
- Changed column name from `note` to `cancelled_reason` on booking
- Changed recent bookings data on Dashboard

**v0.4.3**
- Added web api
- Added required reason when cancel a booking

**v0.4.2**
- Fixed delete and warning booking today when update leisure pass
- Fixed wrongly check booking on leisure pass having zero `max_usage_per_user`

**v0.4.1**
- Add timezone to date data
- Cancel all pass bookings when delete a leisure pass
- Change limit Leisure Pass slot base on option

**v0.3.8**
- Added withTrashed `leisure_pass` relation to admin notification
- Added Disable mail notification on Setting

**v0.3.7**
- Updated approved Booking By Type report api(added leisure pass deleted_at)

**v0.3.6**
- Added queue for email booking
- Added Paginate and search on employee list
- Changed logo and template color on booking email

**v0.3.5**
- Added log ldap
- Added last login in list login

**v0.3.4**
- Added integrate LDAP to auth

**v0.3.3**
- Added default sound to notification
- Added send_by to mass notification
- Fixed pending booking report api return wrongly value

**v0.3.2**
- Added Create user by command
- Added Sending mail when edit a leisure pass success
- Added soft delete to Leisure Pass table

**v0.3.1**
- Added sent to staff when he request a pass booking
- Added sending a mail to HR department
- Deleted function send mail booking in controller
- Changed notification send mail booking
- Added Leisure pass's available date management
- Added hide bookings of deleted leisure passes

**v0.2.11**
- Fixed booking pagination
- Fixed mass notification filter
- Updated click_action and type to notification

**v0.2.10**
- Fixed booking error (Data missing)
- Fixed Mass notification don't work while sending to all
- Updated booking report by confirmed_at instead of created_at
- Fixed Approving booking error. Error: Leisure pass out of turns for this user

**v0.2.9**
- Fixed "lang" notification
- Fixed wrongly check leisure pass condition and repeat date on booking
- Changed allow migrate on production

**v0.2.8**
- Changed topic to mass notification
- Fixed new booking string from employees
- Changed notification request_type value
- Changed notification time format
- Changed condition for leisure pass seeder
- Added user manager
- Changed layout email
- Changed uncheck condition on booking on behalf

**v0.2.7**
- Changed set max_usage_per_user_circle nullable on leisure passes table

**v0.2.6**
- Changed seeder leisure pass

**v0.2.5**
- Added send mail booking to list admin setting
- Deleted name send mail booking to list admin setting
- Changed using "day" in stead of "date" for circle data on leisure passes
- Added available slot information on admin leisure passes data

**v0.2.4**
- Fixed change attribute type in table users and table accounts

**v0.2.3**
- Fixed can not create leisure pass with set days_of_week data
- Added Administrator settings
- Added encrypt some information on database
- Updated booking description for dashboard
- Fixed Exception send mail booking to admin

**v0.2.2**
- Updated booking filter
- Added email notification templates
- Added On Behalf Booking

**v0.2.1**
- Changed Notification strings
- Changed parse all leisure pass option to string
- Removed check require galleries on leisure pass
- Added allow set repeat multi days in a week on leisure pass

**v0.1.21**
- Changed setting admin email
- Added default & testing seeding
- Removed require leisure pass option

**v0.1.20**
- Changed api throttle to 60000
- Changed response 400 to 401 when login fail
- Fixed wrongly data on report available leisure passes
- Removed bookings of deleted leisure passes on get list of bookings

**v0.1.19**
- Changed .env password email
- Added column staff_id for users table
- Changed saving request list

**v0.1.18**
- Added attached galleries to leisure_pass relationship on booking data
- Added sending email

**v0.1.17**
- Added counting booking report api
- Changed notification list id to char

**v0.1.16**
- Added report approved booking

**v0.1.15**
- Changed user notification response with booking detail

**v0.1.14**
- Added sending notification
- Changed user notification response
- Added cover to leisure pass

**v0.1.13**
- Changed storage fcm token function
- Changed Mass notification filter
- Added getting user notification list
- Added filter leisure pass via status

**v0.1.12**
- Changed nullable to some column at leisure_passes table
- Changed my booking via date instead of created_at
- Added checking limit slot and max usage of user for approving booking
- Changed booking management api

**v0.1.11**
- Changed filtering on my bookings 
- Added max_usage_per_user_circle column to leisure_passes table
- Changed folder path data on handle permission autoload command
- Added Pagination data to response header

**v0.1.10**
- Added get list apply dates of a leisure pass by range
- Added default category on leisure pass
- Added time for leisure pass
- Added Forget password for app
- Added mass notifications api
- Seed data user and data leisure pass
- Added get available dates of leisure passes
- Added cancel booking on app
- Added user settings

**v0.1.9**
- Added CRUD Category
- Added Split controllers to Admin and App controllers
- Added fcmController
- Removed options table and update leisure pass relationship
- Added search and filter on leisure pass
- Added Booking feature
- Fixed can not update admin without sending password

**v0.1.8**
- Changed name and update save fcm token
- Added notification feature

**v0.1.7**
- Added Setting model
- Fixed cannot truncate when seeding settings table

**v0.1.6**
- Fixed missing limit for pagination on permission
- Added send email helper
- Added CRUD leisure pass
- Deleted column id on galleries table
- Added account_notification_token 
- Fixed wrongly url on upload file
- Added user setting

**v0.1.5**
- Added Leisure Pass

**v0.1.4**
- Added API Resource on Admin, Role, Permission

**v0.1.3**
- Fixed cannot add role to admin account when deploy

**v0.1.2**
- Added roles to admins when get admin list
- Added permissions to roles when get role list

**v0.1.1**
- Added Auth API

