Commit Graph

462 Commits

Author SHA1 Message Date
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