Commit Graph

19 Commits

Author SHA1 Message Date
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
5f821461c2 Mobile css updates. 2022-03-11 16:04:05 -08:00
Mike Cao
92b205b7b7 Cleaned up language files. 2021-11-04 17:09:03 -07:00
Mike Cao
f91cc82c82 Dynamically fetch language bundles at runtime. 2021-06-29 18:41:34 -07:00
Mike Cao
fdadaddab7 Fixed placement of modals. 2021-05-25 18:51:50 -07:00
Ashraf Monshi
afc4940680 add rtlLocales array 2021-05-16 09:27:48 +03:00
Ashraf Monshi
703a1e13db use useLocale 2021-05-15 11:29:39 +03:00
Ashraf Monshi
0c13f8d358 add rtl support 2021-05-13 09:15:37 +03:00
Mike Cao
86ed5d56fa Updated header links. 2021-03-26 21:50:53 -07:00
Meir Roth
3087fa5dc0
Added basePath 2021-03-05 00:20:53 +00:00
Meir Roth
81f6ecb128 fix favicon paths 2021-03-01 22:32:46 +02:00
Mike Cao
23d4d13c9d Fix basePath references. 2021-01-14 00:34:51 -08:00
Mike Cao
aa265d1d42 Dark mode. 2020-09-20 01:33:39 -07:00
Mike Cao
01432266ef Load fonts only for specific locale changes. 2020-09-11 13:21:17 -07:00
Mike Cao
987fdfd57d Added support for zh-CN locale. 2020-09-07 15:25:09 -07:00
Mike Cao
d4ca02f110 Use portal for modals. Prisma disconnect after query. 2020-08-18 23:35:26 -07:00
Mike Cao
cb9dcc7300 Layout fix. 2020-08-17 17:23:46 -07:00
Mike Cao
00e232fee8 Website edit functionality. 2020-08-07 02:27:12 -07:00