Commit Graph

12 Commits

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
Mike Cao
98b2ee29ef Added language and theme settings. 2022-02-28 20:54:32 -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
bba75fd67f CSS fixes for mobile. 2020-10-03 10:53:06 -07:00
Mike Cao
5e57b26e46 Convert buttons to links. 2020-09-15 19:16:05 -07:00
Mike Cao
6bbe7800c2 Added version to footer. CSS and locale fixes. 2020-09-09 16:12:29 -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
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
00e232fee8 Website edit functionality. 2020-08-07 02:27:12 -07:00