Commit Graph

104 Commits (94bf7b04dde2a828737f5c4a59c3e6156ecdd886)

Author SHA1 Message Date
Brian Cao 94bf7b04dd Fix modal. Re-add form css. 2023-01-12 16:45:54 -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 c3a4d6c725 Added settings button. 2022-11-10 04:47:02 -08:00
Mike Cao 4f098a34c1 Hide user button for cloud. 2022-11-09 22:12:40 -08:00
Mike Cao 05245ca316 Use shallow routing for website details. 2022-11-02 08:57:52 -07:00
Mike Cao 246e4e5f4f Fix disable checks. 2022-10-28 10:34:50 -07:00
Mike Cao fc9584eb44 Refactor env check. 2022-10-27 16:42:57 -07:00
Brian Cao 99c975c329 add DISABLE_UI, DISABLE_ADMIN 2022-10-27 12:14:34 -07:00
Brian Cao 9e8748e2f3 checkpoint 2022-10-12 16:29:44 -07:00
Brian Cao db1ae3f2c7 add cloud_mode 2022-10-12 15:35:33 -07:00
Brian Cao 78338205a3
Feat/um 62 prisma property names (#1562)
* checkpoint

* fix pg schema

* fix mysql schema

* change property names
2022-10-10 13:42:18 -07:00
Mike Cao 9f6834925b
Merge pull request #1465 from aidanm1999/feature/2022-09/admin-website-assigning
Admins can assign websites to non-admins
2022-09-03 23:17:06 -07:00
Mike Cao f4e0da481e Use next-basics package. 2022-08-28 20:20:54 -07: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 3137436588 Updated message bundles. 2022-08-23 00:51:37 -07:00
Mike Cao 5873a56fff Updated check updates logic. 2022-08-09 14:58:27 -07:00
Mike Cao 9b7e472410 Added CURRENT_VERSION constant. 2022-08-08 11:31:36 -07:00
Mike Cao a4a6888248 Moved telemetry code to script. 2022-08-02 00:24:17 -07:00
Mike Cao 50e491af06 Added endpoint for fetching server-side variables. 2022-08-01 23:04:47 -07:00
Mike Cao e4c4019e25 Allow custom release URL. 2022-07-15 23:53:31 -07:00
Mike Cao 87bcd85b71 Remove console.log. 2022-06-24 02:01:55 -07:00
Mike Cao c8ca0a0a56 Updated version checking. 2022-06-24 01:54:55 -07:00
Mike Cao e38f08b8f6 404 page should use local url. Closes #1028 2022-03-16 22:57:40 -07:00
Mike Cao 5f821461c2 Mobile css updates. 2022-03-11 16:04:05 -08:00
Mike Cao 3e8dd815b7 Fix CSS in header. 2022-03-05 09:42:32 -08:00
Mike Cao 0b846b482d Mobile layout updates. 2022-03-01 19:28:44 -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 9937caa569 Replaced redux with zustand. Fixed login issue, closes #980. 2022-02-22 22:47:59 -08:00
Mike Cao f5a268c916 CSS updates for mobile. 2022-02-16 23:10:35 -08:00
Mike Cao d4dd2069b6 Fix build issues. 2021-11-22 14:53:36 -08:00
Mike Cao 92b205b7b7 Cleaned up language files. 2021-11-04 17:09:03 -07:00
Mike Cao 77fc5b0157 Updated packages. 2021-10-27 02:05:39 -07:00
Sammy-T 17a673a69a Preserve page's scroll position 2021-07-25 02:42:13 -04:00
Mike Cao f91cc82c82 Dynamically fetch language bundles at runtime. 2021-06-29 18:41:34 -07:00
Mike Cao 6dd65803f9 Updated mobile menu. 2021-06-07 21:25:45 -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
Sammy-T 24a3667471 Prevent burger from overlapping menu contents 2021-03-30 06:13:11 -04:00
Sammy-T 3482031732 Center burger button content and match color theme 2021-03-30 05:54:50 -04:00
Mike Cao 86ed5d56fa Updated header links. 2021-03-26 21:50:53 -07:00
Mike Cao b8b4e1b75b
Merge pull request #513 from gabehab/dev
Create mobile menu
2021-03-17 07:25:18 -07:00
Mike Cao 45181463c4
Merge pull request #522 from Sammy-T/login-menu
Login menu scaling
2021-03-08 21:04:49 -08:00
Sammy-T 52bf53eda9 Increase row padding 2021-03-08 16:18:24 -05:00
Sammy-T 1b0491588f Extend input min-width and add padding 2021-03-05 19:48:20 -05:00
Sammy-T 38256c7e90 Contain login field widths on smaller displays 2021-03-05 19:18:31 -05:00
Meir Roth 3087fa5dc0
Added basePath 2021-03-05 00:20:53 +00:00