Skip to content

Commit dfae0c1

Browse files
committed
Merge branch 'dev'
# Conflicts: # components/common/Calendar.js # components/common/EventDataButton.js # components/forms/EventDataForm.js # components/layout/Header.js # db/mysql/migrations/02_add_event_data/migration.sql # lang/be-BY.json # lang/de-CH.json # lang/es-MX.json # lang/fa-IR.json # lang/km-KH.json # lang/lt-LT.json # lang/th-TH.json # lib/auth.js # lib/detect.ts # lib/lang.js # lib/middleware.js # lib/prisma.js # package.json # pages/_app.js # pages/api/accounts/[id]/password.js # pages/api/collect.js # pages/api/realtime/init.js # pages/api/websites/[id]/index.js # pages/api/websites/[id]/reset.ts # pages/api/websites/index.js # public/intl/messages/fa-IR.json # public/intl/messages/lt-LT.json # public/intl/messages/pt-BR.json # public/intl/messages/th-TH.json # queries/analytics/event/getEventData.js # queries/analytics/event/getEventMetrics.js # queries/analytics/pageview/getPageviewMetrics.js # queries/analytics/pageview/getPageviewParams.js # queries/analytics/pageview/getPageviewStats.js # queries/analytics/session/getSessionMetrics.js # queries/analytics/stats/getActiveVisitors.js # queries/analytics/stats/getWebsiteStats.js # sql/schema.mysql.sql # styles/index.css # yarn.lock
2 parents 2bd970b + 0e4c071 commit dfae0c1

File tree

592 files changed

+41672
-28933
lines changed

Some content is hidden

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

592 files changed

+41672
-28933
lines changed

.eslintrc.json

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,23 @@
44
"es2020": true,
55
"node": true
66
},
7-
"extends": [
8-
"eslint:recommended",
9-
"plugin:prettier/recommended",
10-
"plugin:import/recommended",
11-
"next"
12-
],
7+
"parser": "@typescript-eslint/parser",
138
"parserOptions": {
149
"ecmaFeatures": {
1510
"jsx": true
1611
},
1712
"ecmaVersion": 11,
1813
"sourceType": "module"
1914
},
15+
"extends": [
16+
"eslint:recommended",
17+
"plugin:prettier/recommended",
18+
"plugin:import/recommended",
19+
"plugin:@typescript-eslint/recommended",
20+
"next"
21+
],
22+
23+
"plugins": ["@typescript-eslint", "prettier"],
2024
"settings": {
2125
"import/resolver": {
2226
"alias": {
@@ -32,7 +36,7 @@
3236
["store", "./store"],
3337
["styles", "./styles"]
3438
],
35-
"extensions": [".ts", ".js", ".jsx", ".json"]
39+
"extensions": [".ts", ".tsx", ".js", ".jsx", ".json"]
3640
}
3741
}
3842
},
@@ -42,7 +46,10 @@
4246
"react/react-in-jsx-scope": "off",
4347
"react/prop-types": "off",
4448
"import/no-anonymous-default-export": "off",
45-
"@next/next/no-img-element": "off"
49+
"@next/next/no-img-element": "off",
50+
"@typescript-eslint/no-empty-function": "off",
51+
"@typescript-eslint/no-explicit-any": "off",
52+
"@typescript-eslint/no-var-requires": "off"
4653
},
4754
"globals": {
4855
"React": "writable"

.gitignore

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
22

33
# dependencies
4-
/node_modules
5-
/.pnp
4+
node_modules
5+
.pnp
66
.pnp.js
77

88
# testing
@@ -15,15 +15,15 @@
1515

1616
# production
1717
/build
18-
/public/umami.js
19-
/public/geo
18+
/public/script.js
19+
/geo
2020

2121
# misc
2222
.DS_Store
2323
.idea
2424
*.iml
2525
*.log
26-
/.vscode/
26+
.vscode
2727

2828
# debug
2929
npm-debug.log*

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2020 Mike Cao <mike@mikecao.com>
3+
Copyright (c) 2022 Umami Software, Inc. <hello@umami.is>
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ DATABASE_URL=connection-url
3636
```
3737

3838
The connection url is in the following format:
39+
3940
```
4041
postgresql://username:mypassword@localhost:5432/mydb
4142
@@ -48,7 +49,7 @@ mysql://username:mypassword@localhost:3306/mydb
4849
yarn build
4950
```
5051

51-
The build step will also create tables in your database if you ae installing for the first time. It will also create a login account with username **admin** and password **umami**.
52+
The build step will also create tables in your database if you ae installing for the first time. It will also create a login user with username **admin** and password **umami**.
5253

5354
### Start the application
5455

@@ -69,11 +70,13 @@ docker compose up -d
6970
```
7071

7172
Alternatively, to pull just the Umami Docker image with PostgreSQL support:
73+
7274
```bash
7375
docker pull docker.umami.dev/umami-software/umami:postgresql-latest
7476
```
7577

7678
Or with MySQL support:
79+
7780
```bash
7881
docker pull docker.umami.dev/umami-software/umami:mysql-latest
7982
```

app.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"repository": "https://github.com/umami-software/umami",
77
"addons": ["heroku-postgresql"],
88
"env": {
9-
"HASH_SALT": {
9+
"APP_SECRET": {
1010
"description": "Used to generate unique values for your installation",
1111
"required": true,
1212
"generator": "secret"

assets/add-user.svg

Lines changed: 1 addition & 0 deletions
Loading

assets/arrow-right.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

assets/arrow-up-right-from-square.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

assets/bars.svg

Lines changed: 1 addition & 1 deletion
Loading
File renamed without changes.

0 commit comments

Comments
 (0)