Commit Graph

60 Commits

Author SHA1 Message Date
Mike Cao
dd88b1d901 Fixed styling on update notice. Added private mode. 2024-03-29 11:48:12 -07:00
Mike Cao
f01073c46a Update redirects for teams. 2024-02-14 22:13:13 -08:00
Mike Cao
400657d59e Updated profile menu. Fixed dashboard. 2024-02-02 21:06:55 -08:00
Mike Cao
8f853ddb97 Teams context settings. 2024-02-02 17:49:17 -08:00
Mike Cao
2fa50892d8 Updated query hooks for teams and websites. 2024-01-29 01:32:05 -08:00
Mike Cao
a75f6679b9 Fixed CSP and telemetry errors. 2023-12-20 09:32:19 -08:00
Mike Cao
4fca98d25d Added SettingsContext. 2023-12-05 19:22:14 -08:00
Mike Cao
d0e1912faf Updated CSP rules. 2023-11-30 23:40:58 -08:00
Mike Cao
91d385d838 Added frame-src to CSP. 2023-11-30 14:54:45 -08:00
Mike Cao
366ef35d3d Updated types. 2023-11-13 14:12:05 -08:00
Mike Cao
eda2c07ea3 Allow embedding of share page. 2023-11-11 20:45:09 -08:00
Francis Cao
82e669193d fix /settings redirect for cloud mode 2023-10-14 10:35:57 -07:00
Mike Cao
6253d55790 Refactored forms and pages. 2023-10-07 18:55:14 -07:00
Mike Cao
3720a5a2fc Fix CSS. Updated pages. 2023-09-29 19:18:44 -07:00
Mike Cao
9a52cdd2e1 Refactored to use app folder. 2023-09-29 05:29:22 -07:00
Mike Cao
183dab3ddc Refactored useConfig. 2023-08-27 19:56:44 -07:00
Mike Cao
cc574e6da4 Added settings redirect for cloud. 2023-08-27 14:15:02 -07:00
Mike Cao
f62d23c9bc Added alias for public folder. 2023-08-22 03:36:49 -07:00
Leonardo Humbert
a9413c586a refactor: Change the name of the environment variable 2023-07-28 10:18:48 -03:00
Leonardo Humbert
eeae168df1 Feat: Add default_lang enviroment variable 2023-07-27 20:03:58 -03:00
Mike Cao
6316a0b917 Fixed CSP issue, renamed var to ALLOWED_FRAME_URLS. 2023-06-29 19:38:35 -07:00
Sukhpal Saini
b4a26314ef
Add a comment for EMBED_HOSTED_URL 2023-06-23 09:57:07 -04:00
Sukhpal Saini
87a62fb614
Add EMBED_HOSTED_URL 2023-06-23 09:54:41 -04:00
Mike Cao
02f031bde1 Separate CLOUD_MODE and DISABLE_LOGIN. 2023-04-25 14:48:50 -07:00
Mike Cao
a7e6c32460 Updated page titles. 2023-04-21 15:14:30 -07:00
Mike Cao
d2c9c45461 Allow slashes in tracker names. 2023-04-20 01:52:49 -07:00
Mike Cao
dbc19e4ffd Allow multiple tracker names. 2023-04-20 01:12:43 -07:00
Mike Cao
ac8d8bbd1e Added middleware for docker. 2023-04-19 08:49:16 -07:00
Mike Cao
cb55cec342 Fixed rewrite config. 2023-03-08 16:48:44 -08:00
Mike Cao
696d9c978c Updated date range handling. Fixed share page. 2023-03-08 16:37:43 -08:00
Mike Cao
93b77672f3 More updates to realtime. 2023-02-15 02:27:18 -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
98835bbc78 Define uiDisabled at build time. 2022-10-27 17:02:54 -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
Mike Cao
bc75b622b5 Updated test console. Refactored fetch for tracker. 2022-08-09 10:27:35 -07:00
Mike Cao
a4a6888248 Moved telemetry code to script. 2022-08-02 00:24:17 -07:00
Mike Cao
68d35c0fc4 Moved DISABLE_LOGIN check to getServerSideProps. 2022-08-01 18:42:07 -07:00
Mike Cao
adb069babc Added content security policy. 2022-07-31 23:29:47 -07:00
Mike Cao
e4c4019e25 Allow custom release URL. 2022-07-15 23:53:31 -07:00
mike
846afad0a4 Moved middleware. 2022-07-07 09:24:32 -07:00
Mike Cao
c8ca0a0a56 Updated version checking. 2022-06-24 01:54:55 -07:00
Mike Cao
5a5a278d9e Removed DISABLE_LOGIN from middleware. 2022-06-22 02:28:23 -07:00
Thomas Mair
d35134c439 use outputStandalone to reduce docker image size 2022-05-24 14:43:19 +02:00
Mike Cao
18efd4d101 Updated matching for different tracker names. 2022-02-27 02:53:24 -08:00
Mike Cao
7270d95240 Move environment variables to middleware. Closes #972. 2022-02-20 23:27:50 -08:00
Mike Cao
736347d37c Don't destructure process.env. 2022-02-18 21:30:41 -08:00
Mike Cao
460762bf3d Use rewrites for tracker script name, closes #972 2022-02-18 20:00:21 -08:00
Mike Cao
c7a3505c39 Display custom tracker script name. 2022-02-16 20:58:44 -08:00