Commit Graph

477 Commits

Author SHA1 Message Date
Roger Clotet
ea59804573
feat: use fonts from @fontsource instead of Google CDN 2021-05-20 22:21:30 +02:00
Mike Cao
8830c0bd30 Updated packages. 2021-05-19 23:41:58 -07:00
Mike Cao
48e5977efa
Merge branch 'dev' into add-arabic-lang 2021-05-19 20:36:07 -07:00
Mike Cao
f7757ad0f4
Merge pull request #663 from bilguun0203/master
Use Mongolian locale from date-fns
2021-05-19 20:27:50 -07:00
Mike Cao
feb4615485 Updated packages. 2021-05-19 15:23:33 -07:00
Bilguun Ochirbat
9e58bdaea7 update date-fns from 2.16.1 to 2.21.3 2021-05-17 13:20:01 +08:00
Ashraf Monshi
0c13f8d358 add rtl support 2021-05-13 09:15:37 +03:00
Mike Cao
20dc76861f Swap bcrypt library. 2021-04-28 02:45:38 -07:00
Mike Cao
a22f22a8ba Bump version 1.17.0. 2021-04-28 02:05:51 -07:00
Mike Cao
92705815ed Support CIDR notation in IGNORE_IP, closes #544. 2021-04-25 23:57:49 -07:00
Mike Cao
8307b46987 Updated packages. 2021-04-24 21:27:24 -07:00
dependabot[bot]
9a577675d3
build(deps): bump jose from 2.0.3 to 2.0.5
Bumps [jose](https://github.com/panva/jose) from 2.0.3 to 2.0.5.
- [Release notes](https://github.com/panva/jose/releases)
- [Changelog](https://github.com/panva/jose/blob/v2.0.5/CHANGELOG.md)
- [Commits](https://github.com/panva/jose/compare/v2.0.3...v2.0.5)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-19 14:58:35 +00:00
Mike Cao
555cb67061 Bump version 1.16.0 2021-03-26 22:39:55 -07:00
Mike Cao
609cc0e98a Fix datamaps. 2021-03-26 22:32:13 -07:00
Mike Cao
61f6886eab
Merge pull request #579 from kayuapi/dev
quote the globs in npm scripts
2021-03-26 19:49:45 -07:00
cong
3bf6a0ce99 quote the globs in npm scripts 2021-03-27 10:34:01 +08:00
Mike Cao
f9bf6aff2e Merge remote-tracking branch 'origin/dev' into dev
# Conflicts:
#	yarn.lock
2021-03-26 17:09:30 -07:00
Mike Cao
69b86a2b9d Updated packages. 2021-03-26 17:08:58 -07:00
Mike Cao
555c9213f4
Merge pull request #575 from denysdovhan/master
Use DataMaps as a source for the world map
2021-03-26 16:34:51 -07:00
Denys Dovhan
94af336388
Add datamaps as a dependency 2021-03-26 00:13:53 +02:00
Beorn Facchini
3925258bc7 Prisma Migrate with database seeding fixes #559 2021-03-20 23:01:10 +11:00
Mike Cao
efd53f8a03 Update packages. 2021-03-12 23:20:23 -08:00
Mike Cao
7e302edccf Bump version 1.15 2021-03-12 22:58:58 -08:00
Mike Cao
fb711d58f1 Updated bot detection library. 2021-03-12 22:44:25 -08:00
Mike Cao
f3bf35189a Bump version. 2021-02-26 22:46:44 -08:00
Alexander Klein
a65f9b9d73 fix(deps): add prop-types dependency
Forgot to do this in the referenced PR.

Refs #481
2021-02-21 10:54:30 +01:00
Mike Cao
405a349cca Updated packages. 2021-02-17 23:40:21 -08:00
Mike Cao
dcc18fa134 Updated packages. 2021-02-01 21:16:48 -08:00
dependabot[bot]
e63b66b99b
Bump immer from 8.0.0 to 8.0.1
Bumps [immer](https://github.com/immerjs/immer) from 8.0.0 to 8.0.1.
- [Release notes](https://github.com/immerjs/immer/releases)
- [Commits](https://github.com/immerjs/immer/compare/v8.0.0...v8.0.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-21 10:36:46 +00:00
Mike Cao
dfe157b640 Updated packages. 2021-01-13 23:32:01 -08:00
Mike Cao
34bcf45ae7 Fix start-env script. 2020-12-19 22:57:02 -08:00
Mike Cao
bb9a7b4d1e Added Italian language. 2020-12-12 01:10:58 -08:00
Mike Cao
7e29aee798 Updated packages. Expose event methods in tracker. 2020-12-02 19:27:57 -08:00
Mike Cao
ec0af1878e Added Hindi language. Updated packages. 2020-11-29 20:39:16 -08:00
Mike Cao
ee57b097f2 Bump version. 2020-11-28 14:16:08 -08:00
Mike Cao
0623b5e2eb Updated packages. 2020-11-17 22:16:19 -08:00
Mike Cao
339cd21596 Fix issues with basePath. 2020-11-09 21:01:53 -08:00
Mike Cao
b97f582c90 Added Polish language. Bug fixes. 2020-11-06 17:30:21 -08:00
Mike Cao
e0c2354169 Added check to disable tracking. 2020-11-01 22:01:30 -08:00
Mike Cao
f81c31056e Updated packages. 2020-10-28 02:46:00 -07:00
Mike Cao
1e2d8849cf Language fixes. 2020-10-27 12:01:40 -07:00
Mike Cao
aaf4c605be Bump version. 2020-10-26 09:10:50 -07:00
Mike Cao
5b84378731 Added Czech language. 2020-10-22 10:36:08 -07:00
Mike Cao
0bf8b23662 Merge branch 'master' into dev 2020-10-21 15:48:33 -07:00
Arnelle Balane
8397f79987
Add script for resetting account password from console 2020-10-21 23:11:53 +08:00
Mike Cao
7d659212b0 Refactor chart components. 2020-10-14 22:09:00 -07:00
Mike Cao
e0a7fd9ec4 Fix tracker regex for events. 2020-10-13 18:40:15 -07:00
Mike Cao
360a676dee Updated packages. 2020-10-13 18:24:27 -07:00
Mike Cao
a039f405b6 Refactored realtime components. 2020-10-10 01:16:28 -07:00
Mike Cao
8912daa2fa Refactored data tables. Added realtime tables. 2020-10-10 00:07:08 -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
fdc92d087b Update realtime chart. 2020-10-08 23:26:05 -07:00
dependabot[bot]
12b047996d
Bump next from 9.5.3 to 9.5.4
Bumps [next](https://github.com/vercel/next.js) from 9.5.3 to 9.5.4.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/compare/v9.5.3...v9.5.4)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-08 20:40:22 +00: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
195eb06a02 Add domain filter to tracker. 2020-10-04 22:27:59 -07:00
Mike Cao
ca8a6fe049 Added error message component. Update fetch hook. 2020-10-03 22:36:51 -07:00
Mike Cao
4cafa68e23 Add force SSL check. 2020-10-03 21:54:21 -07:00
Mike Cao
fc22f5969c Added IP address ignore list. 2020-10-03 19:07:56 -07:00
Mike Cao
f6f2c4b5e1 Add country name download script. 2020-10-03 11:21:44 -07:00
Mike Cao
3d1dc08491 Implement session caching. 2020-10-02 20:33:46 -07:00
Mike Cao
0b131392fc Updated language menu. 2020-10-02 12:16:07 -07:00
Mike Cao
561491c2aa Updated language menu. 2020-10-02 12:15:42 -07:00
Mike Cao
b35c5b57da Merge remote-tracking branch 'origin/dev' into dev 2020-10-02 10:25:53 -07:00
Mike Cao
9edf657e25 Update version check. Updated packages. 2020-10-02 10:25:31 -07:00
Mike Cao
77db711a67 Updated empty message for websites. 2020-10-01 17:32:49 -07:00
Adam Coard
bbc7e25ee8 Load testing added via npm run loadtest
- npm scripts added
- loadtesting "--weight" option for quick configs
- Use chalk in loadtest for logging

TODO: Need better way to pass in websiteId
2020-10-02 00:05:11 +00:00
Mike Cao
131f73589c Updated languages. 2020-10-01 09:09:27 -07:00
Mike Cao
074f248bcd Added script for starting with env variables. 2020-09-30 22:56:23 -07:00
Mike Cao
5068ab12a9 Support basePath in all queries. 2020-09-30 22:34:16 -07:00
Mike Cao
b2a48b1c4c Added script for checking language strings. 2020-09-30 19:30:39 -07: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
57bb1cb655 Updated version check components and strings. 2020-09-29 16:25:44 -07:00
Mike Cao
11d8b19279 Updated query filters. Updated packages. 2020-09-28 20:23:42 -07:00
Mike Cao
6bb34cd3a5 Moved files around. Updated test page. 2020-09-27 00:51:29 -07:00
Mike Cao
890b209527 Updated packages. Fixed docker file. 2020-09-26 22:20:53 -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
6ec13aef09 Fix issue with share url links. 2020-09-26 00:26:59 -07:00
Mike Cao
35b921bdb4 Convert buttons to links. 2020-09-25 23:38:28 -07:00
Mike Cao
4fded49b03 URL filter functionality. 2020-09-25 22:31:18 -07:00
Mike Cao
6bc371352c Bump version. 2020-09-25 00:19:38 -07:00
Mike Cao
ee8859d86c Updated languages. 2020-09-24 20:20:24 -07:00
Mike Cao
c6eec3ee62 Include credentials in fetch. 2020-09-22 18:35:11 -07:00
Mike Cao
aeff30ab87 Bump version. 2020-09-22 03:07:07 -07:00
Mike Cao
127de9c9b8 Updated packages. 2020-09-21 21:39:29 -07:00
Mike Cao
6319a8c6e0 Refactored menu buttons. 2020-09-20 21:31:53 -07:00
Mike Cao
92d1fddf8b New icons for theme button. 2020-09-20 15:42:01 -07:00
Mike Cao
823fdcbeae Update header components. Update theme button. 2020-09-20 02:54:38 -07:00
Mike Cao
aa265d1d42 Dark mode. 2020-09-20 01:33:39 -07:00
Mike Cao
33ac026637 Added timezone and default date range settings. 2020-09-19 10:35:05 -07:00
Mike Cao
2444144db9 Clear out the build directory before compiling lang. 2020-09-19 09:12:44 -07:00
Mike Cao
d57da4c04e Fix another date range bug. 2020-09-18 19:21:16 -07:00
Mike Cao
023adafa39 Refactor tracker. 2020-09-18 13:40:46 -07:00
Bartosz Hernas
17b4f51ebe Merge branch 'dev' into bh/unregister 2020-09-18 11:33:30 +02:00
Mike Cao
c932dc2810 Fix non-admin dashboard. 2020-09-18 00:34:22 -07:00
Mike Cao
bff8806b61 Update security for dashboard and details pages. 2020-09-17 11:40:04 -07:00
Bartosz Hernas
348ee22e18 Merge branch 'dev' into bh/unregister 2020-09-16 12:07:41 +02:00
Mike Cao
4ab71c42a6 Update display of combined referrer urls. 2020-09-15 21:25:51 -07:00
Mike Cao
f113d0cb34 Updated packages. 2020-09-15 20:49:17 -07:00
Mike Cao
bde1949e8f Fix password change issue. 2020-09-15 08:50:05 -07:00
Bartosz Hernas
7a71bb1c68 Better snippet 2020-09-15 13:54:35 +02:00
Mike Cao
5b4a012f0b Fix 401 on share url. 2020-09-14 08:46:35 -07:00
Mike Cao
0d4a2e2a0e Update locale files and scripts. 2020-09-13 19:01:02 -07:00
Mike Cao
a0cb278463 Fix display of years. 2020-09-13 01:38:14 -07:00
Mike Cao
4e103152b2 Custom date range selection. 2020-09-13 01:26:54 -07:00
Mike Cao
6ea1bd1353 New language build process. 2020-09-12 04:19:33 -07:00
Mike Cao
cb14b8bbda Fix more button. Added NoData component. 2020-09-10 22:21:38 -07:00
Mike Cao
943c2c73d4 Added check for bots. 2020-09-10 20:37:07 -07:00
Mike Cao
6bbe7800c2 Added version to footer. CSS and locale fixes. 2020-09-09 16:12:29 -07:00
Mike Cao
52acb691ad Added useLocale hook. 2020-09-08 20:46:31 -07:00
Mike Cao
32581120d5 Bump version. 2020-09-08 03:34:29 -07:00
Mike Cao
e8538f6e23 Support i18n. 2020-09-07 01:22:16 -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
0db29719b0 Fixed update issue by upgrading prisma. 2020-09-04 09:10:32 -07:00
Mike Cao
405205f0a1 Updated packages. 2020-09-03 09:53:36 -07:00
Mike Cao
a3e920d944 Updated packages. Allow url in query strings. 2020-09-03 08:43:17 -07:00
Mike Cao
cebd3fd924 Allow alternate host url in tracker. 2020-08-31 20:25:31 -07:00
Mike Cao
d06c077019 Refactor components. Add refresh button. 2020-08-31 03:53:39 -07:00
Mike Cao
07cc61f5c3 Fixed date parsing in database queries. 2020-08-29 23:17:32 -07:00
Mike Cao
5a4cde854a Domain validation. Filter domain from referrers. 2020-08-28 21:34:20 -07:00
Mike Cao
a9765c7ea7 Bump version. Updated packages. 2020-08-27 23:57:53 -07:00
Mike Cao
d0ef846215 Updated packages. 2020-08-23 19:50:06 -07:00
Mike Cao
e7f83c084e Add links to referrer urls. 2020-08-23 00:23:47 -07:00
Mike Cao
7c0e0dd8c4 Add tracker build to main build. 2020-08-22 22:03:39 -07:00
Mike Cao
cf8ed13d1f New page and referrer url filters. 2020-08-22 22:01:14 -07:00
Mike Cao
1d977875be Fix tracker bug. 2020-08-22 19:59:39 -07:00
Mike Cao
3a515b56b2 Updated pages and referrer filters to merge urls. 2020-08-22 19:05:07 -07:00
Mike Cao
e75593443a Toggle formatting on click. Renamed charts folder to metrics. 2020-08-21 13:43:42 -07:00
Mike Cao
d9f3c385fb New build scripts. 2020-08-21 02:22:07 -07:00
Mike Cao
c0778afe90 Merge branch 'dev' 2020-08-21 02:05:57 -07:00
Mike Cao
196652ffd5 Add back db specific scripts. 2020-08-21 02:00:55 -07:00
Mike Cao
551959562e New build process. 2020-08-21 01:45:44 -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
343e59e6ff Add SameSite to auth cookie. 2020-08-20 10:34:02 -07:00
Mike Cao
d95e149cf6 Fixed bug with rankings display. 2020-08-19 23:30:31 -07:00
Mike Cao
c3da37c0b0 Database build script. 2020-08-19 20:51:35 -07:00
Mike Cao
b905824d50 Fix error message on login. 2020-08-19 19:03:42 -07:00
Mike Cao
c5d7d5dea2 Fix not found appearing on share pages. 2020-08-19 14:42:54 -07:00
Mike Cao
b1493dfef8 Format long numbers. Updated README. 2020-08-19 14:35:38 -07:00
Mike Cao
c6b9682296 Update password hashes. 2020-08-19 03:16:02 -07:00
Mike Cao
72065d0a09 Revert prisma disconnect change. 2020-08-19 00:01:07 -07:00
Mike Cao
3604a845b4 Bump version. 2020-08-18 23:35:57 -07:00
Mike Cao
774a7dfdbc Fix tracking code display. 2020-08-18 22:37:12 -07:00
Mike Cao
41eeb1a5f1 Fixed mysql schema import. 2020-08-18 15:22:07 -07:00
Mike Cao
214049e077 Bump version. 2020-08-18 00:52:02 -07:00
Mike Cao
bab70279dd Responsive CSS fixes. 2020-08-17 16:46:13 -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
cd76cc895f View all rankings in details. 2020-08-09 15:13:38 -07:00
Mike Cao
0a411a9ad6 Filter domain from referrers. 2020-08-07 02:46:21 -07:00
Mike Cao
5d4ff5cfa4 Implement redux. 2020-08-04 22:45:05 -07:00
Mike Cao
a65f637df2 Added world map component. 2020-08-01 03:34:56 -07:00
Mike Cao
9beec1b50e Updated packages. 2020-07-30 00:09:55 -07:00
Mike Cao
344ffeb658 Fixed summary query. 2020-07-30 00:06:29 -07:00
Mike Cao
da2d383b71 Animated metric card. 2020-07-29 20:09:41 -07:00
Mike Cao
d81ee3932d Auth and session middleware. 2020-07-27 23:52:14 -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
e58aa9e90f Updated scripts. 2020-07-19 13:11:08 -07:00
Mike Cao
58a1c63407 Added CORS middleware. Updated umami script. 2020-07-18 10:36:46 -07:00
Mike Cao
631d124a61 Add cors headers. Updated fetch. 2020-07-18 03:33:33 -07:00
Mike Cao
822d46a2e0 Added country lookup for ip. 2020-07-18 00:25:29 -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