Skip to content

Commit 44b3b03

Browse files
author
Nicola Lanzilotto
committed
Migrates from Angular v5 to Angular v14
1 parent 9257415 commit 44b3b03

File tree

1,019 files changed

+31354
-21732
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,019 files changed

+31354
-21732
lines changed

.gitignore

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,7 @@ functions/*
1010
/out-tsc
1111

1212
# dependencies
13-
/node_modules
14-
15-
# IDEs and editors
16-
/.idea
17-
.project
18-
.classpath
19-
.c9/
20-
*.launch
21-
.settings/
22-
*.sublime-workspace
13+
node_modules
2314

2415
# IDE - VSCode
2516
.vscode/*
@@ -36,15 +27,25 @@ functions/*
3627
npm-debug.log
3728
testem.log
3829
/typings
30+
.angular/cache/
3931

40-
# e2e
41-
/e2e/*.js
42-
/e2e/*.map
32+
# Firebase
33+
.firebaserc
4334

4435
# System Files
4536
.DS_Store
4637
Thumbs.db
4738

48-
# Firebase
49-
.firebaserc
39+
# e2e
40+
/e2e/*.js
41+
/e2e/*.map
42+
43+
# IDEs and editors
44+
/.idea
45+
.project
46+
.classpath
47+
.c9/
48+
*.launch
49+
.settings/
50+
*.sublime-workspace
5051

CHANGELOG.md

100644100755
Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1-
21
# tiledesk-dashboard
32

3+
4+
### 2.3.0
5+
- Migrates from Angular v5 to Angular v14
6+
47
### 2.2.54.2
58
- Displays the modal window "Only team members with the owner role can manage email templates" when the teammate that click on the button "Customize emails" not has owner role
69

@@ -19,11 +22,8 @@
1922
- Deploys in production
2023
- Enable the "Export to CSV" features for all plan types
2124

22-
### 2.2.52.2
23-
- Bug Fixing
24-
2525
### 2.2.52.1
26-
- Fixed bug: in the sidebar the availability status of the currently logged in teammate is not always updated
26+
- Fixes the bug: in the sidebar the availability status of the currently logged in teammate is not always updated
2727

2828
### 2.2.52
2929
- Deploys in production
@@ -129,6 +129,7 @@
129129
- Adds the ability, for all types of plans, to customize email templates (feature available in Project setting > Notifications)
130130
- Adds to the conversation detail page the ability to reopen a conversation if it hasn't been archived for more than ten days
131131

132+
132133
### 2.2.48-rc5
133134
- Improves the "Banned Visitors" tab in Project Settings
134135
- Fixes the method of preventing a visitor from being banned if they are already banned
@@ -151,7 +152,7 @@
151152
- Implements the "persistent search results" on the History page and on the Non-Real-time Conversations page: after having performed a search and then gone to the detail of the conversation, going back the list of conversations is filtered for the previous search
152153
- Adds the ability to edit the ticket subject "in-place" on the conversation detail page
153154
- Adds to the conversation detail page the ability to reopen a conversation if it hasn't been archived for more than ten days
154-
- Adds the ability in the "Monitor" page > "Your Conversations" tab to view only teammates of the groups to which the current user belongs
155+
- Adds the ability in the "Monitoring" page > "Your Conversations" tab to view only teammates of the groups to which the current user belongs
155156
- Adds the ability to create a "tilebot" bot
156157

157158
### 2.2.47.2

Dockerfile

100644100755
File mode changed.

LICENSE

100644100755
File mode changed.

README.md

100644100755
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,12 @@ Consider that Tiledesk.com cloud service makes every module available with the s
5252
## Features
5353

5454
- Unlimited chat conversations
55-
- Unlimited chatbot messages
5655
- Widget customization tools
5756
- Conversation labels and notes
5857
- Apps marketplace
5958
- CRM
6059
- Operating hours
60+
- Up to 200,000 messages from bot/month
6161
- Departments and agents groups
6262
- Chat history
6363
- Ticketing System
@@ -68,7 +68,7 @@ And more.
6868

6969
## Prerequisites
7070

71-
- Install Node and NPM (https://nodejs.org/en). Suggested: node v10.15.1 (npm v6.4.1).
71+
- Install Node and NPM (https://nodejs.org/en). Suggested: node v14.15.5 (npm v6.14.11).
7272

7373
- If you want to to manage multiple active Node.js versions, to install node use the tool Node Version Manager (NVM)
7474

angular.json

100644100755
Lines changed: 42 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,22 @@
1111
"build": {
1212
"builder": "@angular-devkit/build-angular:browser",
1313
"options": {
14+
"allowedCommonJsDependencies": [
15+
"lodash",
16+
"rxjs-compat",
17+
"moment",
18+
"firebase",
19+
"@firebase/auth",
20+
"@firebase/messaging",
21+
"@firebase/util",
22+
"@firebase/storage",
23+
"@firebase/component",
24+
"@firebase/database",
25+
"@firebase/app",
26+
"firebase/app",
27+
"idb"
28+
],
29+
"aot": true,
1430
"outputPath": "dist",
1531
"index": "src/index.html",
1632
"main": "src/main.ts",
@@ -20,7 +36,7 @@
2036
"src/assets",
2137
"src/firebase-config.json",
2238
"src/dashboard-config-template.json",
23-
"src/dashboard-config.json",
39+
"src/dashboard-config.json",
2440
"src/dashboard-pre-config.json",
2541
"src/dashboard-prod-config.json",
2642
"src/dashboard-pre-config-nofb.json",
@@ -29,7 +45,8 @@
2945
{
3046
"glob": "**/*",
3147
"input": "node_modules/leaflet/dist/images/",
32-
"output": "./assets"
48+
"output": "./assets",
49+
"ignore": ["**/*.scss"]
3350
}
3451
],
3552
"styles": [
@@ -52,15 +69,22 @@
5269
"node_modules/moment/moment.js",
5370
"node_modules/perfect-scrollbar/dist/perfect-scrollbar.min.js",
5471
"node_modules/bootstrap-notify/bootstrap-notify.js",
55-
"node_modules/chartist/dist/chartist.js"
72+
"node_modules/chartist/dist/chartist.js",
73+
"node_modules/apexcharts/dist/apexcharts.min.js"
5674
]
5775
},
5876
"configurations": {
59-
"production": {
60-
"optimization": true,
77+
"production": {
78+
"optimization": {
79+
"scripts": true,
80+
"styles": {
81+
"minify": false,
82+
"inlineCritical": true
83+
},
84+
"fonts": true
85+
},
6186
"outputHashing": "all",
6287
"sourceMap": false,
63-
"extractCss": true,
6488
"namedChunks": false,
6589
"aot": true,
6690
"extractLicenses": true,
@@ -74,10 +98,16 @@
7498
]
7599
},
76100
"pre": {
77-
"optimization": true,
101+
"optimization": {
102+
"scripts": true,
103+
"styles": {
104+
"minify": false,
105+
"inlineCritical": true
106+
},
107+
"fonts": true
108+
},
78109
"outputHashing": "all",
79110
"sourceMap": false,
80-
"extractCss": true,
81111
"namedChunks": false,
82112
"aot": true,
83113
"extractLicenses": true,
@@ -142,7 +172,8 @@
142172
{
143173
"glob": "**/*",
144174
"input": "node_modules/leaflet/dist/images/",
145-
"output": "./assets"
175+
"output": "./assets",
176+
"ignore": ["**/*.scss"]
146177
}
147178
]
148179
}
@@ -187,10 +218,10 @@
187218
"schematics": {
188219
"@schematics/angular:component": {
189220
"prefix": "appdashboard",
190-
"styleext": "scss"
221+
"style": "scss"
191222
},
192223
"@schematics/angular:directive": {
193224
"prefix": "appdashboard"
194225
}
195226
}
196-
}
227+
}

bin/dashboard

100644100755
File mode changed.

crowdin.yml

100644100755
File mode changed.

current_version.txt

100644100755
File mode changed.

database.rules.json

100644100755
File mode changed.

0 commit comments

Comments
 (0)