Commit Graph

40 Commits

Author SHA1 Message Date
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
Mike Cao
8e350a2056 Added option to disable login. Closes #948 2022-02-16 15:01:33 -08:00
Mike Cao
d4dd2069b6 Fix build issues. 2021-11-22 14:53:36 -08:00
Mike Cao
d1e5ab9e07 Fix next config. 2021-07-12 20:25:24 -07:00
Mike Cao
e2a6bf9f94 Add environment variable for basePath. 2020-12-03 22:28:05 -08:00
Mike Cao
e2b2238fb9
Merge pull request #271 from fransallen/master
Implement Cache-Control header for umami.js
2020-10-07 08:29:31 -07:00
Frans Allen
cc612cb831
Implement Cache-Control header for umami.js 2020-10-05 14:45:24 +07:00
Mike Cao
4cafa68e23 Add force SSL check. 2020-10-03 21:54:21 -07:00
Mike Cao
d1765f746b Updated next config. 2020-09-26 20:46:20 -07:00
Mike Cao
6bbe7800c2 Added version to footer. CSS and locale fixes. 2020-09-09 16:12:29 -07:00
Mike Cao
f7f0c05e12 Initial commit. 2020-07-17 01:03:38 -07:00