Skip to content

Commit 508b41f

Browse files
authored
Merge branch 'next' into SER-1747-alerts-table-default-order-should-be-by-creation-time-newest-at-the-top
2 parents 5bf1d51 + 433041d commit 508b41f

File tree

183 files changed

+7811
-6823
lines changed

Some content is hidden

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

183 files changed

+7811
-6823
lines changed

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ root = true
44
end_of_line = lf
55
insert_final_newline = false
66

7-
[*.{js,html,scss,json}]
7+
[*.{js,html,scss,json,vue}]
88
indent_style = space
99
indent_size = 4

.eslintrc.json

Lines changed: 70 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,62 @@
121121
]
122122
},
123123
"overrides": [
124+
{
125+
"files": [
126+
"plugins/content/frontend/vite.config.js",
127+
"plugins/journey_engine/frontend/vite.config.js",
128+
"plugins/journey_engine/frontend/vite-manifest.js"
129+
],
130+
"rules": {
131+
"no-console": "off"
132+
},
133+
"parserOptions": {
134+
"ecmaVersion": 2023,
135+
"sourceType": "module"
136+
},
137+
"env": {
138+
"node": true,
139+
"es2023": true
140+
}
141+
},
142+
{
143+
"files": [
144+
"plugins/content/frontend/content-blocks/**/*.js",
145+
"plugins/journey_engine/frontend/builder/**/*.js",
146+
"plugins/content/frontend/content-blocks/**/*.vue",
147+
"plugins/journey_engine/frontend/builder/**/*.vue"
148+
],
149+
"plugins": [
150+
"vue",
151+
"@stylistic"
152+
],
153+
"extends": [
154+
"eslint:recommended",
155+
"plugin:vue/vue3-essential",
156+
"plugin:vue/vue3-strongly-recommended",
157+
"plugin:vue/vue3-recommended"
158+
],
159+
"rules": {
160+
// override these post initial content release, to make them fit with countly convention
161+
"no-console": ["error"],
162+
"@stylistic/quotes": ["error", "single"],
163+
"@stylistic/quote-props": ["error", "as-needed"],
164+
"no-unused-vars": "off",
165+
"vue/no-unused-vars": ["error", {
166+
"ignorePattern": "^_"
167+
}]
168+
},
169+
"parserOptions": {
170+
"ecmaVersion": 2023,
171+
"sourceType": "module",
172+
"extraFileExtensions": [".vue"]
173+
},
174+
"env": {
175+
"node": true,
176+
"es2023": true,
177+
"es6": true
178+
}
179+
},
124180
{
125181
"files": [
126182
"frontend/express/public/javascripts/countly/*.js",
@@ -206,9 +262,15 @@
206262
"plugins/*/frontend/**/*.js",
207263
"plugins/*/extend/**/*.js"
208264
],
209-
"excludedFiles": "plugins/*/frontend/public/**/*.js",
265+
"excludedFiles": [
266+
"plugins/*/frontend/public/**/*.js",
267+
"plugins/content/frontend/content-blocks/**/*.js",
268+
"plugins/journey_engine/frontend/builder/**/*.js",
269+
"plugins/content/frontend/content-blocks/**/*.vue",
270+
"plugins/journey_engine/frontend/builder/**/*.vue"
271+
],
210272
"env": {
211-
"es2020": true,
273+
"es2023": true,
212274
"node": true
213275
},
214276
"parserOptions": {
@@ -285,11 +347,11 @@
285347
],
286348
"excludedFiles": "plugins/*/tests.js",
287349
"env": {
288-
"es2020": true,
350+
"es2023": true,
289351
"node": true
290352
},
291353
"parserOptions": {
292-
"ecmaVersion": 2020
354+
"ecmaVersion": 2023
293355
},
294356
"rules": {
295357
"no-console": "off"
@@ -302,13 +364,12 @@
302364
"plugins/*/tests.js"
303365
],
304366
"env": {
305-
"es2020": true,
367+
"es2023": true,
306368
"node": true,
307369
"mocha": true
308370
},
309371
"parserOptions": {
310-
"ecmaVersion": 2020,
311-
"sourceType": "module"
372+
"ecmaVersion": 2023
312373
},
313374
"rules": {
314375
"no-console": "off",
@@ -321,7 +382,7 @@
321382
"ui-tests/**/*.js"
322383
],
323384
"env": {
324-
"es2020": true,
385+
"es2023": true,
325386
"node": true,
326387
"mocha": true
327388
},
@@ -330,7 +391,7 @@
330391
"cy": "readonly"
331392
},
332393
"parserOptions": {
333-
"ecmaVersion": 2020,
394+
"ecmaVersion": 2023,
334395
"sourceType": "module"
335396
},
336397
"rules": {

.github/workflows/main.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ name: CI
66
on:
77
# Triggers the workflow on push or pull request events but only for the master branch
88
pull_request:
9-
branches: [ master, next ]
9+
branches: [ master, next, release.24.10 ]
1010

1111
# Allows you to run this workflow manually from the Actions tab
1212
workflow_dispatch:
@@ -105,7 +105,7 @@ jobs:
105105
- name: ESLint
106106
shell: bash
107107
run: |
108-
npm install [email protected]
108+
109109
npx eslint .
110110
111111
- name: NPM install
@@ -302,7 +302,7 @@ jobs:
302302
cd ui-tests
303303
npm install
304304
xvfb-run --auto-servernum --server-args="-screen 0 1280x1024x24" \
305-
npm run cy:run:dashboard --headless --no-sandbox --disable-gpu --disable-dev-shm-usage
305+
npm run cy:run:dashboard
306306
307307
- name: Upload UI tests artifacts
308308
if: ${{ failure() }}
@@ -381,7 +381,7 @@ jobs:
381381
cd ui-tests
382382
npm install
383383
xvfb-run --auto-servernum --server-args="-screen 0 1280x1024x24" \
384-
npm run cy:run:onboarding --headless --no-sandbox --disable-gpu --disable-dev-shm-usage
384+
npm run cy:run:onboarding
385385
386386
- name: Upload UI tests artifacts
387387
if: ${{ failure() }}
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# This is a basic workflow to help you get started with Actions
2+
3+
name: Deploy Journey Engine
4+
5+
# Controls when the workflow will run
6+
on:
7+
# Triggers the workflow on push or pull request events but only for the master branch
8+
push:
9+
branches: [ next ]
10+
11+
# Allows you to run this workflow manually from the Actions tab
12+
workflow_dispatch:
13+
14+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
15+
jobs:
16+
# This workflow contains a single job called "build"
17+
deploy:
18+
runs-on: ubuntu-latest
19+
20+
steps:
21+
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
22+
- uses: actions/checkout@v3
23+
24+
- name: Deploy server
25+
shell: bash
26+
env:
27+
SSH_PRIVATE_KEY: ${{ secrets.STABLE_JE_SSH_PRIVATE_KEY }}
28+
run: bash ./bin/scripts/deploy-je.sh

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,5 @@ frontend/express/public/stylesheets/vue/clyvue.css.map
4343
log/
4444
log/supervisord/
4545
plugins/plugins.json.*
46-
.sdk
46+
.sdk
47+
dump

0 commit comments

Comments
 (0)