Commit Graph

552 Commits

Author SHA1 Message Date
formica2
e6975b9afc decrease db query count 2021-03-24 12:58:08 +03:00
l0st0
b1d4922df8 Added SK language
Support for Slovakia
2021-03-15 22:25:43 +01:00
Mike Cao
247afc8c33 Truncate URL lengths. 2021-03-12 23:45:19 -08:00
Mike Cao
e5ff182302 Added Persian language. 2021-03-12 22:30:26 -08:00
Alexander Klein
f6f14bf104 fix(lib): add default value for getDateRange 2021-03-10 10:40:59 +01:00
Alexander Klein
eb1029bfc8 feature(lib): locale option for getDateRange 2021-03-10 10:20:54 +01:00
Mike Cao
4edd012712
Merge pull request #504 from gnarlex/fix-domain-regex
Fix: Domain name regex accepts protocols on non-localhost domains
2021-02-26 22:49:21 -08:00
Mike Cao
d6d0f99daa Updated date formatting for locales. 2021-02-26 22:41:05 -08:00
Mike Cao
f7201c9cfc Remove domain parameter from queries. 2021-02-26 19:50:44 -08:00
Alexander Klein
9115ce4200 revert: allow ports in non-localhost domain names
Refs: 22ca617
2021-02-24 11:00:08 +01:00
Alexander Klein
22ca617165 fix(regex): ports in domain names
Accept port numbers on all domain names, not just `localhost`.
Deny leading zeros in port numbers.
2021-02-23 16:11:42 +01:00
Alexander Klein
0c2b68d56e fix(regex): protocol accepted in domain name
Add missing brackets to the regex.
Before, the caret and dollar sign symbols were not applied to the whole string but to either side of the `|` symbol.
2021-02-23 15:58:31 +01:00
Mike Cao
083ef2dc9c Updated method for getting event types. 2021-02-20 17:27:56 -08:00
Mike Cao
490fc99a8a
Merge branch 'dev' into unknown-count 2021-02-20 02:00:49 -08:00
Mike Cao
29bfb964c3
Merge pull request #491 from gnarlex/fix-domain-regex
Fix: domain regex accepting invalid domains
2021-02-20 01:55:05 -08:00
Alexander Klein
39faf8750a fix(constants): domain regex accepting invalid domains
Change the domain regex to match the whole string.
Before, the regex would accept a string if it contained a valid domain at any point.
2021-02-20 08:42:57 +01:00
Mike Cao
92d4a46a0d
Merge pull request #487 from MoltenCoffee/master
Timestamp localization
2021-02-19 19:05:37 -08:00
MoltenCoffee
e7b92cd097
Add timestamp localization 2021-02-19 10:17:30 +01:00
Alexander Klein
06f24b0c90 refactor(filter): remove now obsolete filters 2021-02-19 09:58:58 +01:00
Alexander Klein
8b6308d686 feature(lib): add event type query 2021-02-15 16:28:09 +01:00
Alexander Klein
2cab8bb15d feature(lib): add event type filter 2021-02-15 13:02:12 +01:00
Mike Cao
ed5291ec90
Merge pull request #452 from 0xflotus/patch-1
fix: typo error in 'KakaoTalk' constant
2021-02-01 21:14:32 -08:00
Rafael Lotto Machado
230bbbf431 Add brazilian portuguese (pt-BR) locale 2021-01-30 12:32:06 -03:00
0xflotus
b32bbdf07b
fix: typo error in 'KakaoTalk' constant
Shouldn't it be [Kakaotalk](https://www.kakaocorp.com/service/KakaoTalk?lang=en)?
2021-01-30 13:14:22 +01:00
Mike Cao
bb9a7b4d1e Added Italian language. 2020-12-12 01:10:58 -08:00
Mike Cao
b176cc52e9 Added Hebrew language. 2020-12-04 20:59:26 -08:00
Jonathan Land
9b4feb51ae update lang.js 2020-12-04 13:13:18 +02:00
Anders
edb9e36101
Update queries.js
Change findOne to findUnique (breaking change in Prisma 2.12.0)

Hopefully fixes #395
2020-12-01 21:29:36 +01:00
Mike Cao
ec0af1878e Added Hindi language. Updated packages. 2020-11-29 20:39:16 -08:00
Mike Cao
981bd40ff9 Added Tamil language. 2020-11-25 00:32:34 -08:00
Mike Cao
b97f582c90 Added Polish language. Bug fixes. 2020-11-06 17:30:21 -08:00
Mike Cao
5b84378731 Added Czech language. 2020-10-22 10:36:08 -07:00
Mike Cao
f34c8f8ec8 Update filters and sorting. 2020-10-21 16:14:51 -07:00
Senlima Sun
016cd9ca67 Update Traditional Chinese language 2020-10-22 02:50:34 +08:00
Mike Cao
f1624780ee Added filter buttons for realtime. 2020-10-12 16:31:51 -07:00
Mike Cao
5a73c224b7 Created share token hook. 2020-10-11 02:29:55 -07:00
Mike Cao
1fcb610bdd Updated fetch hook. 2020-10-10 22:36:55 -07:00
Mike Cao
b72a4c001c Refactored realtime API. Add dot component and colored dots in log. 2020-10-10 11:04:07 -07:00
Mike Cao
51955c69ec Added Finnish language. 2020-10-09 21:08:30 -07:00
Mike Cao
e30f2dfb44 Realtime header component. 2020-10-09 17:58:27 -07:00
Mike Cao
69b317386a Updated fetch hook API. 2020-10-09 12:39:03 -07:00
Mike Cao
9737127bb1 Updated polling logic. 2020-10-09 01:04:06 -07:00
Mike Cao
fdc92d087b Update realtime chart. 2020-10-08 23:26:05 -07:00
Mike Cao
e64a555652 Renamed methods. Initial work on realtime dashboard. 2020-10-08 15:02:48 -07:00
Mike Cao
b4ea70a67c Fix event colors. Updated packages. 2020-10-07 18:24:53 -07:00
Mike Cao
dca51050e8 Removed disconnect code. 2020-10-07 08:31:44 -07:00
Mike Cao
7b5330c8a5 Updated languages. 2020-10-03 11:45:19 -07:00
Mike Cao
3d1dc08491 Implement session caching. 2020-10-02 20:33:46 -07:00
Mike Cao
561491c2aa Updated language menu. 2020-10-02 12:15:42 -07:00
Mike Cao
dd651e3c77 Added Norwegian language. 2020-10-02 11:41:29 -07:00
Mike Cao
c059dc1b1e
Merge pull request #258 from rubjo/master
i18n: Added 🇳🇴 Norwegian Bokmål
2020-10-02 11:23:35 -07:00
rubjo
60613c5cbf Add Norwegian Bokmål to list of languages to select 2020-10-02 13:48:55 +02:00
Mike Cao
77db711a67 Updated empty message for websites. 2020-10-01 17:32:49 -07:00
Mike Cao
131f73589c Updated languages. 2020-10-01 09:09:27 -07:00
Diogo Correia
8abebe0416 Merge branch 'master' into lang-pt-pt 2020-10-01 09:14:41 +01:00
Mike Cao
fd69f0df24 Localized country names. 2020-09-30 16:27:27 -07:00
Mike Cao
e5cd162b83 Updated api fetch to return an object. 2020-09-30 15:14:44 -07:00
Mike Cao
e64b35f701 Updated prisma and added disconnect. 2020-09-29 21:39:51 -07:00
Mike Cao
37cf2e3017 Update version check logic. 2020-09-29 21:22:08 -07:00
Mike Cao
11d8b19279 Updated query filters. Updated packages. 2020-09-28 20:23:42 -07:00
Diogo Correia
ecd849f161
Add Portuguese (Portugal) translations
Signed-off-by: Diogo Correia <me@diogotc.com>
2020-09-27 17:16:20 +01:00
Mike Cao
0935765ac7 Try another path. 2020-09-26 22:02:10 -07:00
Mike Cao
353a49f37a Update path. 2020-09-26 21:20:41 -07:00
Mike Cao
60ea492a48 Try a different path. 2020-09-26 20:53:12 -07:00
Mike Cao
d1765f746b Updated next config. 2020-09-26 20:46:20 -07:00
Mike Cao
ad95da63b7 Use local geo database instead of npm package. 2020-09-26 20:21:16 -07:00
Mike Cao
6db386a455 Fix issue with delete. 2020-09-26 08:43:05 -07:00
Mike Cao
4fded49b03 URL filter functionality. 2020-09-25 22:31:18 -07:00
Mike Cao
a24bee815c Update queries to calculate correct metrics. 2020-09-25 00:15:58 -07:00
Mike Cao
1dfa6d8b16 Refactor query methods. 2020-09-24 23:02:11 -07:00
Mike Cao
ee8859d86c Updated languages. 2020-09-24 20:20:24 -07:00
Sigmundur Mørkøre
67bab5ff24 📦 NEW: Added language: Faroese 2020-09-24 07:11:58 +00:00
Mike Cao
a56738597d Always show More button. Update page filter. 2020-09-23 15:41:56 -07:00
Mike Cao
15ea2ba913 Fix date issue in Safari. 2020-09-23 08:22:40 -07:00
Mike Cao
c6eec3ee62 Include credentials in fetch. 2020-09-22 18:35:11 -07:00
Mike Cao
106fe90e26 Updated languages. 2020-09-21 11:26:13 -07:00
Mike Cao
6319a8c6e0 Refactored menu buttons. 2020-09-20 21:31:53 -07:00
Mike Cao
eb9f044d19 Merge branch 'master' into dev 2020-09-20 11:38:56 -07:00
Mike Cao
9e33d5de77 Added Swedish language. 2020-09-20 11:38:37 -07:00
Mike Cao
569fcc7f0b Updated color selection. Added loading to fetch hook. 2020-09-20 11:28:38 -07:00
Mike Cao
aa265d1d42 Dark mode. 2020-09-20 01:33:39 -07:00
Mike Cao
4bb95cd997 Added Danish locale. 2020-09-19 10:50:08 -07:00
Mike Cao
33ac026637 Added timezone and default date range settings. 2020-09-19 10:35:05 -07:00
Mike Cao
3c0ceae56f
Merge pull request #173 from rendall/feature/allow-localhost
Allow localhost:xxxx domains when adding websites
2020-09-18 15:44:34 -07:00
Rendall
be74091ca3 Make port optional when website is localhost 2020-09-19 01:02:55 +03:00
Mike Cao
b19889638a Removed polyfills from tracker. Switched to XMLHttpRequest. 2020-09-18 14:16:57 -07:00
Rendall
064b91e4dd Allow localhost:xxxx domains when adding websites
Adding `localhost:<port>` domains to websites fail to validate, but
it would help for local development
2020-09-18 13:43:18 +03:00
Mike Cao
96bd7e5b47 Use token authentication for API requests. 2020-09-17 22:52:20 -07:00
Mike Cao
7f598fa84d Updated profile settings. Refactored locale saving. 2020-09-17 00:17:11 -07:00
Mike Cao
60b17363e1 Added date picker filter. 2020-09-16 16:28:54 -07:00
Mike Cao
4ab71c42a6 Update display of combined referrer urls. 2020-09-15 21:25:51 -07:00
Mike Cao
2d9523f963 Messages for devices so they can be localized. 2020-09-15 20:34:30 -07:00
CamTosh
4478dfe5ae Add FR lang 2020-09-14 18:56:22 +02:00
Bilguun Ochirbat
ea9f921c81
removed unnecessary import 2020-09-14 18:34:08 +08:00
Bilguun Ochirbat
8b3cb234d5
Added Mongolian language 2020-09-14 18:31:15 +08:00
Mike Cao
0d4a2e2a0e Update locale files and scripts. 2020-09-13 19:01:02 -07:00
Mike Cao
f59594e4cd Calendar updates. Responsive CSS updates. 2020-09-13 11:33:57 -07:00
Mike Cao
a0cb278463 Fix display of years. 2020-09-13 01:38:14 -07:00
Mike Cao
84a8b51790 Merge branch 'master' into dev 2020-09-13 01:30:26 -07:00
Mike Cao
4e103152b2 Custom date range selection. 2020-09-13 01:26:54 -07:00
Abraham Toriz
29a51e32eb added es-MX locale 2020-09-12 19:11:31 -05:00
Mike Cao
3ed366ba6d Rename en to en-US. 2020-09-12 03:49:31 -07:00
Mike Cao
29049842de Fix language strings. 2020-09-12 03:22:14 -07:00
Kamino
c61e35dd88 Added support for ja-JP locale. 2020-09-12 12:50:39 +09:00
Mike Cao
6bbe7800c2 Added version to footer. CSS and locale fixes. 2020-09-09 16:12:29 -07:00
Mike Cao
b6bb6bc3ea
Merge branch 'master' into master 2020-09-09 12:05:41 -07:00
Mike Cao
ba99db6a3e
Merge branch 'master' into master 2020-09-09 12:03:53 -07:00
RubenD
1e5f34f023 Added german language support 2020-09-09 19:24:55 +02:00
ym-project
3fd0ef9ee1 add russian language 2020-09-09 23:13:27 +08:00
selcukusta
c17cb79b35
Added Turkish language 2020-09-09 00:01:26 +03:00
MoltenCoffee
a31a104577
Used full country code instead of just nl 2020-09-08 10:59:56 +02:00
MoltenCoffee
da1ec3f429
Added correct(??) BCP47 codes 2020-09-08 10:35:24 +02:00
MoltenCoffee
d8d15a6d7c
Added Dutch language 2020-09-08 09:42:43 +02:00
Mike Cao
ff854150ae Date formatting using locale. 2020-09-07 19:48:40 -07:00
Mike Cao
f0ac9b6522 Convert text for internationalization. 2020-09-05 17:27:01 -07:00
Mike Cao
6833a5bdb0 Detect when postgres is used instead of postgresql. 2020-09-04 11:06:32 -07:00
Mike Cao
f17be19110 All queries should use runQuery. 2020-09-03 08:43:17 -07:00
Mike Cao
a3e920d944 Updated packages. Allow url in query strings. 2020-09-03 08:43:17 -07:00
Mike Cao
cb48acde55 Error handling for queries. 2020-08-31 21:11:53 -07:00
Mike Cao
cebd3fd924 Allow alternate host url in tracker. 2020-08-31 20:25:31 -07:00
Mike Cao
d0ca0819c6 Added useFetch hook. Updated database check. 2020-08-30 15:29:31 -07:00
Mike Cao
7a81dda7b6 Update database detection. 2020-08-30 00:02:03 -07:00
Mike Cao
07cc61f5c3 Fixed date parsing in database queries. 2020-08-29 23:17:32 -07:00
Mike Cao
e7d3a952a6 Updated domain regex. 2020-08-28 22:25:41 -07:00
Mike Cao
5a4cde854a Domain validation. Filter domain from referrers. 2020-08-28 21:34:20 -07:00
Mike Cao
ccb98f836f MySQL query optimization. Added loading component. 2020-08-27 23:45:37 -07:00
Mike Cao
a7e7469d22 Bar chart styling. 2020-08-27 19:11:37 -07:00
Mike Cao
d936ecc86e Refactor BarChart component. 2020-08-27 19:11:37 -07:00
Mike Cao
4618dc7f15 Events chart. 2020-08-27 19:11:36 -07:00
Mike Cao
5206622d5a Events table. 2020-08-27 19:11:36 -07:00
Mike Cao
2addb96e4b Fixed bounce rate calculation. 2020-08-27 19:11:35 -07:00
Mike Cao
13ec32b1c9 Don't filter subdomains. 2020-08-27 19:11:35 -07:00
HipsterBrown
ef8da2fbcc update getDatabase to lookup DATABASE_TYPE env 2020-08-26 20:50:47 -04:00
Mike Cao
1aa9689b4f Fix crash on invalid data. 2020-08-23 19:50:06 -07:00
Mike Cao
d91fd2492c Filter out null entries. 2020-08-23 19:50:05 -07:00
Mike Cao
0ba7676e97 Refactor do not track code. 2020-08-23 13:34:00 -07:00
Minku Lee
679a2b0460 Check window.external before checking msTrackingProtectionEnabled 2020-08-23 19:06:16 +09:00
Mike Cao
cf8ed13d1f New page and referrer url filters. 2020-08-22 22:01:14 -07:00
Mike Cao
fa20f7f67f Merge branch 'master' of https://github.com/mikecao/umami 2020-08-22 19:55:53 -07:00
Mike Cao
3a515b56b2 Updated pages and referrer filters to merge urls. 2020-08-22 19:05:07 -07:00
Joshua Hahn
6eab94dc4c aaand another DNT fix 2020-08-22 18:26:29 +02:00
Mike Cao
59f68b8395
Merge pull request #44 from joshinat0r/master
fix DNT check
2020-08-22 09:15:56 -07:00
Joshua Hahn
51f19e36f6 fix DNT check 2020-08-22 12:03:39 +02:00
Mike Cao
30c84dd54a
Merge pull request #35 from joshinat0r/master
Respect DNT
2020-08-21 08:53:35 -07:00
joshinat0r
aebf3c7022 proper cross browser dnt support 2020-08-21 11:51:42 +02:00
Mike Cao
d9f3c385fb New build scripts. 2020-08-21 02:22:07 -07:00
Mike Cao
c95d8e8a01 Implement rotating salt. 2020-08-20 19:38:20 -07:00
Mike Cao
5cade59111 Removed session code. 2020-08-20 19:17:27 -07:00
Mike Cao
d95e149cf6 Fixed bug with rankings display. 2020-08-19 23:30:31 -07:00
Mike Cao
b1493dfef8 Format long numbers. Updated README. 2020-08-19 14:35:38 -07:00
Mike Cao
72065d0a09 Revert prisma disconnect change. 2020-08-19 00:01:07 -07:00
Mike Cao
d4ca02f110 Use portal for modals. Prisma disconnect after query. 2020-08-18 23:35:26 -07:00
Mike Cao
2d69b3087f Fix MySQL query. 2020-08-18 18:33:59 -07:00
Mike Cao
b96cb0d975 Show active visitor count. 2020-08-18 00:51:32 -07:00
Mike Cao
560f1316c1 Enable public website sharing. 2020-08-15 01:17:15 -07:00
Mike Cao
48a524e09c Moved cli to separate project. Separate database schemas. 2020-08-13 01:41:11 -07:00
Mike Cao
f4ca353b5c Refactor database queries. 2020-08-11 22:24:41 -07:00
Mike Cao
a248f35db2 Add support for MySQL. 2020-08-11 20:05:40 -07:00
Mike Cao
b392a51676 Account editing and change password. 2020-08-09 02:03:37 -07:00
Mike Cao
b5cf9f8719 Account settings page. 2020-08-08 23:48:43 -07:00
Mike Cao
58a1be7a30 Added tracking code form. 2020-08-07 20:36:57 -07:00
Mike Cao
c4b75e4aec Handle website delete. Added response helper functions. 2020-08-07 17:19:42 -07:00
Mike Cao
0a411a9ad6 Filter domain from referrers. 2020-08-07 02:46:21 -07:00
Mike Cao
00e232fee8 Website edit functionality. 2020-08-07 02:27:12 -07:00
Mike Cao
9d09d89aef Update device filtering. 2020-08-06 19:37:19 -07:00
Mike Cao
e17c9da3d5 Added device collection. 2020-08-06 19:14:44 -07:00
Mike Cao
5d4ff5cfa4 Implement redux. 2020-08-04 22:45:05 -07:00
Mike Cao
a2db27894f Refactor components and styles. 2020-08-03 18:12:28 -07:00
Mike Cao
cb7f267212 Check visibility performance optimization. 2020-08-01 23:37:46 -07:00
Mike Cao
a65f637df2 Added world map component. 2020-08-01 03:34:56 -07:00
Mike Cao
ac2612924e Details page. 2020-07-31 19:05:14 -07:00
Mike Cao
5b45301178 Added year option. 2020-07-30 23:08:33 -07:00
Mike Cao
38abd673f3 Fixed date range calculations. 2020-07-30 22:40:16 -07:00
Mike Cao
9f112c8cc9 DropDown component. Renamed files. 2020-07-30 20:11:43 -07:00
Mike Cao
ff4492ffb5 Add quick filter buttons. 2020-07-30 01:08:21 -07:00
Mike Cao
0c8d9eacd3 Change date filter format. 2020-07-29 23:25:52 -07:00
Mike Cao
efdbd1c632 Updated summary query. Added visit time. 2020-07-29 21:40:26 -07:00
Mike Cao
da2d383b71 Animated metric card. 2020-07-29 20:09:41 -07:00
Mike Cao
f9a6f5f637 Added summary stats query. 2020-07-29 00:16:02 -07:00
Mike Cao
ce92c7897d Display page views and unique visitors. 2020-07-28 19:04:45 -07:00
Mike Cao
bdcdcd9d13 Website components. Update chart component. 2020-07-28 01:17:45 -07:00
Mike Cao
d81ee3932d Auth and session middleware. 2020-07-27 23:52:14 -07:00
Mike Cao
590a70c2ff Chart component. Update web utils. 2020-07-26 00:12:42 -07:00
Mike Cao
f947c7770b Login/logout process. 2020-07-25 16:31:07 -07:00
Mike Cao
0f0b1e39e7 Build cli using rollup. 2020-07-24 17:00:56 -07:00
Mike Cao
533ffbda13 Removed disconnect call. 2020-07-24 10:56:45 -07:00
Mike Cao
a6975ecedd Created cli command. Updated tracker script. 2020-07-23 22:07:57 -07:00
Mike Cao
49a55b40b4 Accounts and login. 2020-07-23 19:56:55 -07:00
Mike Cao
f3f0ad15f2 Changed JWT implementation. 2020-07-22 21:33:17 -07:00
Mike Cao
cb0c912c5b Switch to json web tokens. 2020-07-22 20:45:09 -07:00
Mike Cao
5219582803 Cookie authentication. 2020-07-22 15:46:05 -07:00
Mike Cao
0edf87941a Minor tweaks. 2020-07-20 19:24:33 -07:00
Mike Cao
132bbcbe0d Refactored session and collect process. 2020-07-20 01:54:21 -07:00
Mike Cao
9cb08956c0 Updated event handling. 2020-07-19 02:23:15 -07:00
Mike Cao
9f3acd1583 Add event collection. 2020-07-19 01:57:01 -07:00
Mike Cao
d8c8df2955 Updated schema. 2020-07-18 23:54:25 -07:00
Mike Cao
58a1c63407 Added CORS middleware. Updated umami script. 2020-07-18 10:36:46 -07:00
Mike Cao
bb04015b46 Send raw JSON. 2020-07-18 03:44:54 -07:00
Mike Cao
822d46a2e0 Added country lookup for ip. 2020-07-18 00:25:29 -07:00
Mike Cao
e6908d9e04 Improve hash validation. 2020-07-17 21:01:49 -07:00
Mike Cao
11f1afe5c3 Collection API. 2020-07-17 19:15:29 -07:00
Mike Cao
f7f0c05e12 Initial commit. 2020-07-17 01:03:38 -07:00