Below are important or breaking changes are implemented to the staging in comparing to the master branch
Needs to be merged!
The API specification includes all changes made last 6 month. Hopefully ;)
- ADDED Typescrypt. Refactored tons of code are includes a services, models and much more.
- ADDED Encryption. The migration is affected all messages' body to be encrypted by key created for specific organization for the day that message was sent. See
src/migrations/0067-encrypt-messages.js. For the safety migration on production, thebody_backupfield was added to the message model temporary. - Added new feature to get ability to archive chats. See migration
src/migrations/0069-add-enableArchiving-field.js - email template for password reseting
email-templates/reset-password.pug
- Greetings and Standard replies are refactored to Contextual Dialogs. See
src/migrations/0068-add-is-standard-reply-to-tree.js - removed questions'
patchmethod from publish to channel insrc/channels.js - changed permission to allow contact support. See migration
src/migrations/0070-allow-contact-support.js - removed dangling roles in migration
src/migrations/0071-remove-dangling-roles.js - added migration to archive chats of deleted bots. See
src/migrations/0073-archive-convs-for-deleted-bots.js
- added Test chat to the Bot settings page
src/pages/App/Bots/Edit/TestChat.vue templates/eb7v2/variablesto keep all sass variables we uses in the WebChat- added
src/components/NativeScroll.vue - added NativeScroll to
src/pages/App/Messages/AnswerCandidateManager.vueandsrc/pages/App/Messages/index.vue - added new filter to the message center to ability to filter archived chats in
src/pages/App/Messages/components/ConvFilters.vue - added new method to reset password in
src/pages/App/Orgs/components/User.vue - added property to repeat alert sound in
src/pages/App/Settings/index.vue - added new method to ability to change password in
src/pages/Verify.vue - added new permission
orgs:ManageOrg:*tosrc/permissions-list.js - added new patch methods in
src/store/modules/user.js
- changed location rule for socket connections to support versioning in
nginx/nginx.conf.ctmpl - added new location rule for API calls to support a subdomains
- added new request header
extraAtStartfor subdomains
| Old code | New code |
|---|---|
| location ~* ^/v0/socket.io/(.*) { proxy_pass http://bot-engine/socket.io/$1$is_args$args&external=true; |
location ~* ^/(?<apiver>v[0-9.]+)/socket.io/(.*) { proxy_pass http://bot-engine/socket.io/$1$is_args$args&external=true&apiVersion=$apiver; |
| location ~ ^/(?<apiver>v[0-9.]+)/(?<apipath>.*) | location ~ ^(/(?<extrastart>.*))?/(?<apiver>v[0-9.]+)(/(?<apipath>.*))$ { ... proxy_set_header extraAtStart "$extrastart"; |
- added new condition to check messages' encription expiration to
src/components/Chat/ChatMessage.vue. If message is expired, an agent will see onlyNachricht abgelaufenmessage instead of normal one. TheexpireAftersettings are temporary disabled insrc/pages/App/Bots/Edit/BotSettingsEdit.vue:44 - added new required props to
src/components/Chat/ChatToBot/ChatFeedbackTab.vue.
| Old props | New props |
|---|---|
| onFeedbackModalClick: { type: Function, required: true } | onFeedbackModalClick: { type: Function, required: true }, bot: { required: true }, conv: { required: true }, |
- added new support for repeating an alert sound to
src/components/DesktopNotification.vue - removed highlight mixin from
src/components/HtmlEditor/index.vue - removed highlight support from
src/components/Fact/Question.vue - removed highlight support from
src/components/HtmlEditor/mixins/methods.js - changed type of property of the
SaveButtoninsrc/components/SaveButton.vue
| Old property | New property |
|---|---|
| savable: { type: Number, required: true }, | savable: { type: [Boolean, Number], required: true }, |
- changed permissions for
/orgs/ path insrc/components/SidebarMenu.vue`
| Old handler | New handler |
|---|---|
| '/orgs': this.user.isAdmin | '/orgs': this.user.isAdmin || this.hasPermission(`orgs:ManageOrg:${_.get(this.org, '_id')}`) |
- added hysterical cry to the file
src/components/VerticalFill.vue. So, now we uses only native scroll. - custom browser detection method replaced with bowser package in
src/helpers/is-browser-outdated.js - changed UI of the Bot settings page, added Test chat. See Added section.
- removed vertical-fill from
src/pages/App/Messages/index.vue - refactored
src/pages/App/Orgs/Edit.vueto avoid unauthorized users to edit the Orgs' page - removed breadcrumbs in
src/pages/App/index.vue - removed meta
needsAdmin: truefrom/orgsroute insrc/routes/app/index.js