Commit Graph

57 Commits (stage)

Author SHA1 Message Date
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
Brian Cao 7bf12cc552 Assign user to userStore 2022-11-09 13:54:09 -08:00
Brian Cao 17041efaae use uuid 2022-10-31 23:42:37 -07:00
Brian Cao 1d6f158509 fix id/uuid 2022-10-26 11:36:58 -07:00
Mike Cao 2ad5cd9335 Merge remote-tracking branch 'origin/dev' into dev
# Conflicts:
#	lib/auth.js
2022-10-25 10:46:32 -07:00
Mike Cao ac070d3ce9 Fixed change password issue. API refactoring. Closes #1592. 2022-10-25 10:45:56 -07:00
Brian Cao ebf439c598
fix auth, add pg extension (#1596) 2022-10-25 10:27:43 -07:00
Brian Cao a320d65652 default column/filters 2022-10-21 22:19:51 -07:00
Brian Cao ba31f48f1a
Feat/um 49 query builder api (#1573)
* add uuid to event. add indexes

* eventdata api

* add event data

* remove test data

* update list
2022-10-21 21:33:23 -07:00
Mike Cao 5a4fc96ebc Refactor API authentication. 2022-10-12 13:11:44 -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 2428314f58 Updated save method for websites. 2022-10-07 17:13:03 -07:00
Mike Cao d784b2a8db Merge branch 'dev' of https://github.com/umami-software/umami into dev
# Conflicts:
#	pages/api/account/index.js
2022-10-03 17:17:53 -07:00
Mike Cao 5fb1f08df8 Split up account update logic. 2022-09-29 15:15:11 -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
Brian Cao d53b4a8895 roll back bigint. add loading 2022-08-30 00:03:22 -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 8aa9941ca7 Show custom tracker script name. 2022-08-08 11:50:27 -07:00
Mike Cao 3a8bfd1dbd Move auth token logic to useApi hook. 2022-02-26 15:53:45 -08:00
Mike Cao d19b6b5a82 Added useApi hook. 2022-02-22 23:52:31 -08:00
Mike Cao 9937caa569 Replaced redux with zustand. Fixed login issue, closes #980. 2022-02-22 22:47:59 -08:00
Mike Cao 7270d95240 Move environment variables to middleware. Closes #972. 2022-02-20 23:27:50 -08:00
Mike Cao c7a3505c39 Display custom tracker script name. 2022-02-16 20:58:44 -08:00
Mike Cao d8e831db50 Switch to authentication using bearer token. 2022-01-23 00:33:06 -08:00
Chris Walsh 6e128b2f38
Add reset website statistics to settings 2021-08-10 14:03:55 -07:00
Mike Cao af6ee27031 Fix issue with checkbox click, closes #549. 2021-04-24 20:56:22 -07:00
Alexander Klein b0323b000a feat: add placeholder to domain input 2021-03-16 14:44:38 +01:00
Mike Cao 23d4d13c9d Fix basePath references. 2021-01-14 00:34:51 -08:00
Mike Cao 339cd21596 Fix issues with basePath. 2020-11-09 21:01:53 -08:00
Arnelle Balane 57d459f78f
Position error tooltip below form field on narrow screen sizes 2020-10-23 02:00:58 +08:00
Mike Cao 876c8f7a68 Update language keys. 2020-10-12 22:53:59 -07:00
Mike Cao 5068ab12a9 Support basePath in all queries. 2020-09-30 22:34:16 -07:00
Mike Cao e5cd162b83 Updated api fetch to return an object. 2020-09-30 15:14:44 -07:00
Mike Cao aa265d1d42 Dark mode. 2020-09-20 01:33:39 -07:00
Mike Cao 023adafa39 Refactor tracker. 2020-09-18 13:40:46 -07:00
Bartosz Hernas 17b4f51ebe Merge branch 'dev' into bh/unregister 2020-09-18 11:33:30 +02:00
Bartosz Hernas 09235ddacf Reverted tracker to old behaviour while still keeping more advanced use case 2020-09-18 11:33:17 +02:00
Mike Cao 60b17363e1 Added date picker filter. 2020-09-16 16:28:54 -07:00
Bartosz Hernas 5318accc6f Fixed comments 2020-09-16 12:07:22 +02:00
Bartosz Hernas 7a71bb1c68 Better snippet 2020-09-15 13:54:35 +02:00
Mike Cao 4e103152b2 Custom date range selection. 2020-09-13 01:26:54 -07:00
Mike Cao ccca5d2d99 Added missing messages. 2020-09-07 20:41:58 -07:00
Mike Cao f0ac9b6522 Convert text for internationalization. 2020-09-05 17:27:01 -07:00
Mike Cao 5a4cde854a Domain validation. Filter domain from referrers. 2020-08-28 21:34:20 -07:00
Mike Cao b905824d50 Fix error message on login. 2020-08-19 19:03:42 -07:00
Mike Cao 774a7dfdbc Fix tracking code display. 2020-08-18 22:37:12 -07:00
Mike Cao 9f6e17b986 Responsive tables. 2020-08-17 22:47:58 -07:00
Mike Cao cb9dcc7300 Layout fix. 2020-08-17 17:23:46 -07:00
Mike Cao d3514cfc5f Updated forms. 2020-08-16 21:28:54 -07:00