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
|
8722b794d9
|
Fixed share token check.
|
2022-11-16 11:44:36 -08:00 |
Mike Cao
|
091716e037
|
Updated middleware check.
|
2022-11-12 11:33:14 -08:00 |
Mike Cao
|
1c64800157
|
Updated token payload.
|
2022-11-11 09:42:54 -08:00 |
Mike Cao
|
d2100c33b7
|
Update auth logic.
|
2022-11-09 10:16:50 -08:00 |
Mike Cao
|
76cad96a24
|
Updated auth to check for uuid.
|
2022-11-09 10:15:21 -08:00 |
Mike Cao
|
3b705e6cb4
|
Fetch user inside useAuth.
|
2022-11-09 06:40:36 -08:00 |
Mike Cao
|
67732b9b5a
|
Refactor authentication and token handling.
|
2022-11-08 22:58:52 -08:00 |
Brian Cao
|
648a5341e5
|
fix useAuth
|
2022-11-08 12:51:04 -08:00 |
Mike Cao
|
208fcb8418
|
Added redis check to verify.
|
2022-11-08 12:28:45 -08:00 |
Mike Cao
|
f118bc95c1
|
Refactored redis usage. Added lib/cache.
|
2022-11-07 22:35:51 -08:00 |
Mike Cao
|
c58e037a7e
|
Updated useConfig. Added SSO page.
|
2022-10-31 11:02:37 -07:00 |
Mike Cao
|
2290be7ca4
|
Fixed share page issue.
|
2022-10-24 19:48:10 -07:00 |
Mike Cao
|
5e2d23f18f
|
Refactor auth logic.
|
2022-10-11 21:48:33 -07:00 |
Mike Cao
|
f4e0da481e
|
Use next-basics package.
|
2022-08-28 20:20:54 -07:00 |
Mike Cao
|
3a8bfd1dbd
|
Move auth token logic to useApi hook.
|
2022-02-26 15:53:45 -08:00 |
Mike Cao
|
b19889638a
|
Removed polyfills from tracker. Switched to XMLHttpRequest.
|
2020-09-18 14:16:57 -07:00 |
Mike Cao
|
96bd7e5b47
|
Use token authentication for API requests.
|
2020-09-17 22:52:20 -07:00 |
Mike Cao
|
1aa9689b4f
|
Fix crash on invalid data.
|
2020-08-23 19:50:06 -07:00 |
Mike Cao
|
a248f35db2
|
Add support for MySQL.
|
2020-08-11 20:05:40 -07:00 |
Mike Cao
|
c4b75e4aec
|
Handle website delete. Added response helper functions.
|
2020-08-07 17:19:42 -07:00 |
Mike Cao
|
5d4ff5cfa4
|
Implement redux.
|
2020-08-04 22:45:05 -07:00 |
Mike Cao
|
d81ee3932d
|
Auth and session middleware.
|
2020-07-27 23:52:14 -07:00 |
Mike Cao
|
f947c7770b
|
Login/logout process.
|
2020-07-25 16:31:07 -07:00 |
Mike Cao
|
58a1c63407
|
Added CORS middleware. Updated umami script.
|
2020-07-18 10:36:46 -07:00 |