Commit Graph

299 Commits

Author SHA1 Message Date
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
Anže Pintar
4a36d9522f
Changed language label from Slovene to Slovenščina
Changed language label in menu from Slovene to Slovenščina
2021-08-21 09:01:16 +02:00
Mike Cao
df3ad3b6b8 Added Slovenian language. 2021-08-20 01:09:04 -07:00
Chris Walsh
6e128b2f38
Add reset website statistics to settings 2021-08-10 14:03:55 -07:00
Mike Cao
4f27a1773d Added Korean language. 2021-07-22 19:16:21 -07:00
Mike Cao
4f38242927 Update geo lookup 2021-07-18 23:48:30 -07:00
Mike Cao
526ed01d0a Fix issue with country db. 2021-07-16 09:23:55 -07:00
Mike Cao
f91cc82c82 Dynamically fetch language bundles at runtime. 2021-06-29 18:41:34 -07:00
Mike Cao
73e83ad767 Added Hungarian language. 2021-06-28 21:11:12 -07:00
Mike Cao
b2d04c00ac Change to synchronous password hashing. 2021-05-23 17:29:27 -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
62f8eae5aa
Merge pull request #675 from rogerclotet/ca
feat: add Catalan language
2021-05-19 20:26:32 -07:00
Roger Clotet
649ae83329
feat: add Catalan language 2021-05-20 00:40:03 +02:00
Bilguun Ochirbat
41bfa1c165 Use Mongolian locale from date-fns 2021-05-17 13:24:12 +08:00
Ashraf Monshi
afc4940680 add rtlLocales array 2021-05-16 09:27:48 +03:00
Ashraf Monshi
ba2d9783b7 add arabic language (ar-SA)
add arabic language (ar-SA) (arabic saudi arabia)
2021-05-11 10:44:41 +03:00
Andreas Fuchs
cfb13b2d54 enhancement #649
as refFilter, urlFilter is expanded checking agains url !== null.
2021-05-06 10:47:23 +02:00
Andreas Fuchs
bd8f72daab fixes #649
prevents crashes if NULL is entered as a referrer in the database. Does not guard against submitting NULL to the database.
2021-05-06 10:04:37 +02:00
Mike Cao
20dc76861f Swap bcrypt library. 2021-04-28 02:45:38 -07:00
Mike Cao
0cf115b2de Load lookup database only once. 2021-04-25 18:32:06 -07:00
Wonderfall
807cd5d744
Fix Page Filter when URL has a trailing slash 2021-04-19 01:43:09 +02:00
Mike Cao
609cc0e98a Fix datamaps. 2021-03-26 22:32:13 -07:00
Mike Cao
b24b855006 Truncate strings. 2021-03-26 20:56:08 -07:00
Mike Cao
9415fe9a6c Updated languages. 2021-03-26 20:52:54 -07:00
Mike Cao
44f2002563
Merge pull request #567 from Form1ca/decrease-request-count
decrease db query count
2021-03-26 19:54:21 -07:00
Mike Cao
c5341e605b Fixed country lookup. 2021-03-26 19:47:28 -07:00
formica2
97c0da8527 fix fields name at request 2021-03-25 15:44:37 +03:00
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