Commit Graph

52 Commits

Author SHA1 Message Date
Mike Cao
3f1ed750f0 Added error boundary. Fixed #1976. 2023-04-25 14:41:54 -07:00
Christian Rackerseder
904f9408d8
Prevent indexing content by search engines 2023-04-18 14:05:43 +02:00
Mike Cao
31f28125dc Revert font. 2023-04-02 23:12:43 -07:00
Mike Cao
2713e3316a Fixed font. 2023-04-02 10:00:28 -07:00
Mike Cao
8397102bac Switch to next/font. 2023-04-01 20:03:38 -07:00
Mike Cao
fc2a8f3d9f Updated navigation. 2023-03-21 21:28:36 -07:00
Mike Cao
c1d3e9ec67 Upgraded Chart.js to v4. Updated charts. 2023-03-14 22:37:50 -07:00
Mike Cao
696d9c978c Updated date range handling. Fixed share page. 2023-03-08 16:37:43 -08:00
Mike Cao
3fc5f5151b Touch up footer. 2023-03-03 21:26:39 -08:00
Mike Cao
802c262cd9 Fixed realtime chart display. 2023-02-17 21:42:42 -08:00
Mike Cao
9d967fb0fe Updated settings components and date filter. 2023-01-11 08:33:43 -08:00
Mike Cao
4b5b4db108 Updated settings components and date filter. 2023-01-10 17:18:59 -08:00
Mike Cao
7450b76e6d Refactored settings components. 2023-01-09 23:59:26 -08:00
Brian Cao
8732d056dd
Dev (#1702)
* Initial Typescript models.

* Re-add realtime data

* get distinct sessions for session metrics

* Add queries for new schema.

* Fix Typo.

* Add some api/team endpoints.

* Fix destructure error.

* Fix getWebsites call.

* Ignore typescript build errors.

* Fix enum issue.

* add clickhouse route to deleteWebsite

* Fix Website auth.

* Updated lint-staged config.

* Add permission checks.

* Add user role api.

* Fix error when updating website.

* Fix isAdmin check.  Fix Schema.

* Initial conversion to react-basics.

* Remove user/team transfer from website update.

* delete website in relational query

* Fix login secure token creation.

* Add event type to event.

* Allow user to be added to team with role.

* Updated login form.

* Add Role to TeamUser.

* Add database migration.

* Refactored permissions check. Updated redis lib.

* Feat/um 114 roles and permissions (#1683)

* Auth checkpoint.

* Merge branch 'dev' into feat/um-114-roles-and-permissions

* Add 02 migration.

* Added lib/types.

* Updated schema.

* Updated roles and permissions logic.

* Implement react-basics styles. Fix queries.

* Update website details layout.

* Add 01 migration.

* Fix admin create.

* Update react-basics.

Co-authored-by: Francis Cao <franciscao@gmail.com>
Co-authored-by: Mike Cao <mike@mikecao.com>
Co-authored-by: Mike Cao <moocao@gmail.com>
2022-12-12 19:45:38 -08:00
Mike Cao
c58e037a7e Updated useConfig. Added SSO page. 2022-10-31 11:02:37 -07:00
Mike Cao
246e4e5f4f Fix disable checks. 2022-10-28 10:34:50 -07:00
Mike Cao
98835bbc78 Define uiDisabled at build time. 2022-10-27 17:02:54 -07:00
Mike Cao
fc9584eb44 Refactor env check. 2022-10-27 16:42:57 -07:00
Mike Cao
50e491af06 Added endpoint for fetching server-side variables. 2022-08-01 23:04:47 -07:00
Mike Cao
9dae76fbf3 Updated version check. 2022-06-03 07:06:44 -07:00
Mike Cao
fb2dc9f5ab Allow filtering on session fields. 2022-04-10 03:51:43 -07:00
Mike Cao
13432ede22 Include version for preload. 2022-04-08 21:39:13 -07:00
Mike Cao
1b599a9d9c Preload image. 2022-04-08 15:37:36 -07:00
Mike Cao
34ad1d9c39 New mobile menu. 2022-02-28 18:39:37 -08:00
Mike Cao
9937caa569 Replaced redux with zustand. Fixed login issue, closes #980. 2022-02-22 22:47:59 -08:00
Mike Cao
7270d95240 Move environment variables to middleware. Closes #972. 2022-02-20 23:27:50 -08:00
Mike Cao
d780573572 Fix theme-color values. 2021-11-20 15:31:03 -08:00
Mark
3a01f499a5
Update _app.js 2021-11-17 14:23:58 +01:00
Mark
6343ff7638
Update _app.js 2021-11-17 14:13:32 +01:00
Mark
b2c21da798
Add light/dark switch to header
The colour of the header meta theme colour was set to default white, this will change it to respond to dark/light mode. 
https://css-tricks.com/meta-theme-color-and-trickery/
2021-11-17 14:09:53 +01:00
Meir Roth
e6bfe8efd1 Remove fonts.gstatic.com preconnect artifact
Not needed anymore, as fonts are now sourced locally 😏
See: https://github.com/mikecao/umami/pull/677
2021-07-20 20:02:58 +03:00
Mike Cao
f91cc82c82 Dynamically fetch language bundles at runtime. 2021-06-29 18:41:34 -07:00
Roger Clotet
ea59804573
feat: use fonts from @fontsource instead of Google CDN 2021-05-20 22:21:30 +02:00
Mike Cao
86ed5d56fa Updated header links. 2021-03-26 21:50:53 -07:00
Mike Cao
a03e42e0d9 Added font for Chinese traditional. 2021-03-12 22:53:56 -08:00
Meir Roth
c5c62b68c9
Added basePath 2021-03-05 00:23:47 +00:00
Meir Roth
81f6ecb128 fix favicon paths 2021-03-01 22:32:46 +02:00
Nick Radford
a30074c055 Addresses mikecao/umami#460
Adds an explicit meta tag for the viewport, resizes the navigation link size
for smaller screens
2021-02-09 02:58:35 -08:00
Mike Cao
23d4d13c9d Fix basePath references. 2021-01-14 00:34:51 -08:00
Mike Cao
7e29aee798 Updated packages. Expose event methods in tracker. 2020-12-02 19:27:57 -08:00
Andrew MacLean
6db2b1fdb5 Optimize Multi-Device Favicon 2020-11-09 12:37:14 -08:00
Mike Cao
4cafa68e23 Add force SSL check. 2020-10-03 21:54:21 -07:00
Mike Cao
7f598fa84d Updated profile settings. Refactored locale saving. 2020-09-17 00:17:11 -07:00
Mike Cao
52acb691ad Added useLocale hook. 2020-09-08 20:46:31 -07:00
Mike Cao
ff854150ae Date formatting using locale. 2020-09-07 19:48:40 -07:00
Mike Cao
987fdfd57d Added support for zh-CN locale. 2020-09-07 15:25:09 -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
a5930f1772 Use css variables. 2020-08-05 19:04:02 -07:00
Mike Cao
5d4ff5cfa4 Implement redux. 2020-08-04 22:45:05 -07:00