Commit Graph

279 Commits

Author SHA1 Message Date
Mike Cao
f69dbaeaf6 Allow filtering of events with url. 2022-04-13 19:04:06 -07:00
Mike Cao
4c01f2fa49 Updated hash method. 2022-04-12 20:59:17 -07:00
Mike Cao
df1ddf3e73 Updated filter processing logic. 2022-04-11 00:19:29 -07:00
Mike Cao
fb2dc9f5ab Allow filtering on session fields. 2022-04-10 03:51:43 -07:00
Mike Cao
e7602b58f4
Merge pull request #1080 from HolgerHuo/fix-referrer-issue
Fix referrer filter issue
2022-04-08 21:43:54 -07:00
Mike Cao
3fab09d626 Check for no session. Closes #1075 2022-04-08 17:17:07 -07:00
Holger Huo
0377773e21 fix: forgot to include referrer filter in sessionMetrics 2022-04-07 22:27:15 +08:00
Holger Huo
0349b82e9a fix: unable to sort by referrer 2022-04-07 16:58:01 +08:00
Mike Cao
faf6438852 Allow user to change admin username. 2022-04-03 22:25:32 -07:00
Mike Cao
deca4e925c
Merge pull request #1043 from Kdecherf/fix/referrer
Fix regression on referrer filter and filter view based on referrer
2022-03-25 07:44:39 -07:00
Kevin Decherf
5d799a327b fixup! Rename ref to prevent collision with react elements
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
2022-03-24 23:20:06 +01:00
Kevin Decherf
35f9c7ef6c Update metric tables when filtering on referrer
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
2022-03-20 22:14:54 +01:00
Kevin Decherf
bb7d26d19f Fix referrer filter
7530de87d2 introduced a regression: the
domain parameter in refFilter() contains 'https://', which bypass the
new regex; thus we readd the call to getDomainName().

Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
2022-03-20 22:12:40 +01:00
Kevin Decherf
ecfc7ea68e Rename ref to prevent collision with react elements
It seems that, at least in dev mode, 'ref' may incorrectly refer to
react elements.

Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
2022-03-20 22:10:41 +01:00
Mike Cao
7cf0927741 Enabling caching in tracker script. 2022-03-18 22:26:23 -07:00
Mike Cao
777dfeac0e Added prestart script. 2022-03-18 21:57:58 -07:00
Mike Cao
de3bf23e4c Fix 500 error in response. 2022-03-18 21:24:46 -07:00
Mike Cao
63bfa616f1 Set content type for responses. 2022-03-18 21:01:32 -07:00
Mike Cao
7530de87d2 Filter subdomains in referrers regex test. Closes #632 2022-03-17 19:58:06 -07:00
Mike Cao
128f15092e Update session hash calculation. 2022-03-14 11:14:05 -07:00
Mike Cao
785d41b6d3 Check for empty content-type header. 2022-03-11 22:17:47 -08:00
Mike Cao
5ca6f76daa Updated collect API response. 2022-03-10 20:39:11 -08:00
Mike Cao
17790aa5a8 Fix issue with sendBeacon request. 2022-03-10 19:01:33 -08:00
Mike Cao
48db7708de Updated CORS options. 2022-03-10 11:49:47 -08:00
Mike Cao
6ea6e2e27d Fix tracker build. 2022-03-02 12:10:47 -08:00
Mike Cao
373dbf50ba Added website limit and show more button. Closes #592. 2022-03-01 23:03:50 -08:00
Mike Cao
7a3c1e9faa Fix default date range setting. 2022-03-01 22:02:31 -08:00
Mike Cao
34ad1d9c39 New mobile menu. 2022-02-28 18:39:37 -08:00
Mike Cao
3a8bfd1dbd Move auth token logic to useApi hook. 2022-02-26 15:53:45 -08:00
Mike Cao
9937caa569 Replaced redux with zustand. Fixed login issue, closes #980. 2022-02-22 22:47:59 -08:00
Mike Cao
251617ffc5 Added lt-LT and ur-PK languages. Changed lang build. 2022-02-15 20:34:16 -08:00
Mike Cao
3537e94daf
Merge pull request #585 from kiprasmel/feat/add-lang-lt-LT
Add the Lithuanian language (`lt-LT`)
2022-02-11 20:35:28 -08:00
Kipras Melnikovas
8d9555cb6a
Add the Lithuanian language (lt-LT)
Signed-off-by: Kipras Melnikovas <kipras@kipras.org>
2022-02-10 20:24:33 +02:00
Mike Cao
d8e831db50 Switch to authentication using bearer token. 2022-01-23 00:33:06 -08:00
Mike Cao
56cf55e053 Handle unique session errors. 2022-01-06 01:21:05 -08:00
Mike Cao
504b5f10d9 Fix refresh button issue, closes #840 2021-12-19 22:49:08 -08:00
Mike Cao
5ce457efa5 Updated raw query method. 2021-12-16 21:33:53 -08:00
Chris Walsh
9cff025784
Add owner column to admin website settings table 2021-12-01 16:03:18 -08:00
Mike Cao
d4dd2069b6 Fix build issues. 2021-11-22 14:53:36 -08:00
Mike Cao
307931950b Added menu entry for vi-VN locale. 2021-11-21 22:38:11 -08:00
Mike Cao
ebd52335bb Referrer filtering. 2021-11-21 22:00:14 -08:00
Mike Cao
65d4094095 Added safeDecodeURI method. Closes #848. 2021-11-21 17:47:18 -08:00
Mike Cao
b6ab8c381f Change env variable to CLIENT_IP_HEADER. 2021-11-21 09:39:22 -08:00
Mike Cao
b1ced5f32c Added COUNTRY_IP_HEADER environment variable. Closes #814. 2021-11-20 19:37:13 -08:00
Mike Cao
0a8c06b1f8 Added helper methods for locales. 2021-11-20 17:18:25 -08:00
JeDaYoshi
cbf64e561a
QoL changes on tracker
- Remove redundant checks and returns
- Add an additional check for local storage (some browsers still lack it)
- Using some better practices
- Use MutationObserver for events
- Add initial events on DOM full render, send first trackView on complete readyState
2021-11-08 15:01:35 -04:00
Mike Cao
92b205b7b7 Cleaned up language files. 2021-11-04 17:09:03 -07:00
Meerfolk
373e46ad70 Add event_type filter for events endpoint 2021-09-29 11:38:52 +03:00
Mike Cao
20b8f59b76
Merge pull request #798 from DarkKirb/master
Allow weeks to start on Monday in English locales
2021-09-27 10:15:15 -07:00
Charlotte Delenk
644ad33e04
Add en-GB locale
This is currently identical to en-US, except that weeks start on
Monday.
2021-09-26 09:07:05 +02:00