Commit Graph

36 Commits (8732d056dd3322abbe76cba1629c39ab705d9a0f)

Author SHA1 Message Date
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
Aidan Marshall b388961b8b Features:
- Removes spellcheck for domain entry field
- Adds the ability to assign websites to other users if you are an admin
2022-08-26 17:22:46 +02:00
Mike Cao 119e4b9a9a Updated next and prisma. 2022-04-02 21:07:08 -07:00
Mike Cao 98b2ee29ef Added language and theme settings. 2022-02-28 20:54:32 -08:00
Mike Cao 74b8b128ef Switch to system font stacks. Closes #850. 2021-11-20 15:54:45 -08:00
Roger Clotet 2f706996a2
fix: match background in dark mode overscroll
In macOS and iOS devices you can scroll past the body. When this happens
in dark mode, the css variables are only changed from the `body`, and
the ones used in `html` are not changed. This causes the overscroll
background to be displayed as the light mode color.
2021-05-22 21:54:34 +02:00
Mike Cao a03e42e0d9 Added font for Chinese traditional. 2021-03-12 22:53:56 -08:00
Ryan Wang 785338154a fix: the page content jitters when the page jumps. 2021-02-20 13:21:12 +08:00
Mike Cao 9ad73ca13c CSS fix for Hebrew language. 2020-12-12 00:40:59 -08:00
Mike Cao 1e2d8849cf Language fixes. 2020-10-27 12:01:40 -07:00
Mike Cao 910481e629 Added grid layout components. 2020-10-09 20:37:24 -07:00
Mike Cao c95aa4aa56 Responsive CSS updates. 2020-09-21 21:34:55 -07:00
Mike Cao 92d1fddf8b New icons for theme button. 2020-09-20 15:42:01 -07:00
Mike Cao aa265d1d42 Dark mode. 2020-09-20 01:33:39 -07:00
Mike Cao 7f598fa84d Updated profile settings. Refactored locale saving. 2020-09-17 00:17:11 -07:00
Mike Cao 2d9523f963 Messages for devices so they can be localized. 2020-09-15 20:34:30 -07:00
Mike Cao 5e57b26e46 Convert buttons to links. 2020-09-15 19:16:05 -07:00
Mike Cao 4e103152b2 Custom date range selection. 2020-09-13 01:26:54 -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 b96cb0d975 Show active visitor count. 2020-08-18 00:51:32 -07:00
Mike Cao 560f1316c1 Enable public website sharing. 2020-08-15 01:17:15 -07:00
Mike Cao e309376150 Empty placeholder component. CSS fixes. 2020-08-10 19:54:03 -07:00
Mike Cao b5cf9f8719 Account settings page. 2020-08-08 23:48:43 -07:00
Mike Cao 58a1be7a30 Added tracking code form. 2020-08-07 20:36:57 -07:00
Mike Cao c4b75e4aec Handle website delete. Added response helper functions. 2020-08-07 17:19:42 -07:00
Mike Cao a09867f28c Form components. New login page. 2020-08-06 22:03:02 -07:00
Mike Cao 6e23a8a53b Added user button and menu. 2020-08-05 23:03:07 -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
Mike Cao 9d8a2406e1 New components, convert hooks to components, bug fixes. 2020-08-03 23:20:35 -07:00
Mike Cao a2db27894f Refactor components and styles. 2020-08-03 18:12:28 -07:00
Mike Cao 9c5762b8a2 Sticky metrics header. CSS updates. 2020-08-01 21:20:52 -07:00
Mike Cao 9f112c8cc9 DropDown component. Renamed files. 2020-07-30 20:11:43 -07:00
Mike Cao 49a55b40b4 Accounts and login. 2020-07-23 19:56:55 -07:00
Mike Cao f7f0c05e12 Initial commit. 2020-07-17 01:03:38 -07:00