Commit Graph

81 Commits (stage)

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
Brian Cao 84375a582e Fix isAdmin check. 2022-11-09 12:03:24 -08:00
Brian Cao 17041efaae use uuid 2022-10-31 23:42:37 -07:00
Brian Cao 7f3db334f5
fix sort on dashboard (#1600) 2022-10-25 16:48:39 -07:00
Mike Cao 8b64ef1a4e Fixed issue with accessing user dashboards. Closes #1590 2022-10-25 15:48:49 -07:00
Mike Cao 994cf950c8 Fixed issue with realtime page rendering. 2022-10-25 09:24:20 -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 8627782137 Merge remote-tracking branch 'origin/dev' into dev
# Conflicts:
#	components/settings/WebsiteSettings.js
#	pages/api/websites/[id]/index.js
2022-10-11 21:51:47 -07:00
Mike Cao 5e2d23f18f Refactor auth logic. 2022-10-11 21:48:33 -07:00
Brian Cao c147742d7a use uuid 2022-10-11 19:37:38 -07:00
Mike Cao edd1751b81 Merge changes 2022-10-10 21:38:02 -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 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 ee3c9debb2
Merge branch 'dev' into patch-1 2022-09-03 23:15:03 -07:00
Dhravya Shah aaf0effcbb
Fixed `TypeError: Cannot read properties of undefined (reading 'website_id')` 2022-09-01 19:48:21 +05:30
Mike Cao fb39ce8822 Fixed dashboard ordering issue. Closes #1414 2022-08-29 20:57:34 -07:00
Mike Cao f4e0da481e Use next-basics package. 2022-08-28 20:20:54 -07:00
Mike Cao bc75b622b5 Updated test console. Refactored fetch for tracker. 2022-08-09 10:27:35 -07:00
Mike Cao 89781d4847 Refactored query parameters. 2022-08-08 01:26:20 -07:00
Mike Cao 7ae457669b Fix event table. 2022-08-05 13:07:20 -07:00
Mike Cao 62b032ab19 Refactored dashboard sort logic. 2022-08-04 21:37:18 -07:00
Mike Cao 42e87a4691 Fixed cancel of dashboard edit. 2022-08-04 14:30:09 -07:00
Mike Cao 1d4aa7c535 Refactored website ordering feature. 2022-08-04 03:56:30 -07:00
Mike Cao 4de1858950
Merge pull request #1338 from cywio/reorder-websites
Add ability to reorder websites on dashboard
2022-08-03 18:05:42 -05:00
Brian Cao 8f934c7e6c checkpoint 2022-07-29 22:30:09 -07:00
Chris Walsh 88d1c19454
Fix graphical bugs when dragging 2022-07-28 17:16:03 -07:00
Chris Walsh 137ff97c07
Move reordering of websites onto dashboard 2022-07-24 23:25:04 -07:00
Chris Walsh 5bd83b8127
Change dashboard websites to use ordered list 2022-07-23 23:02:47 -07:00
Chris Walsh c3d6467b99
Add UTM params to website details page 2022-07-21 16:22:43 -07:00
Tobias Hüske 8d358ccb9d Feature: Add screensize to UI 2022-07-16 07:29:55 +02:00
zx900930 ff8e8a37c8
Fix missing Dashboard translation 2022-06-01 14:10:16 +02:00
Mike Cao e735a1c50d Updated share token logic. Closes #1113. 2022-05-05 19:04:28 -07:00
Mike Cao 5ca6f76daa Updated collect API response. 2022-03-10 20:39:11 -08:00
Mike Cao 3e8dd815b7 Fix CSS in header. 2022-03-05 09:42:32 -08:00
Mike Cao 20622116a8 New Dashboard component. 2022-03-03 19:45:49 -08:00
Mike Cao 373dbf50ba Added website limit and show more button. Closes #592. 2022-03-01 23:03:50 -08:00
Mike Cao 69b81880cb Fix refresh button. Closes #994, #985. 2022-03-01 21:13:15 -08:00
Mike Cao 0b846b482d Mobile layout updates. 2022-03-01 19:28:44 -08: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 f5a268c916 CSS updates for mobile. 2022-02-16 23:10:35 -08:00
Mike Cao 2f18aa29eb Lint fix. 2022-01-14 19:10:46 -08:00
Mike Cao a101d639d3 Added `All time` date filter option. 2022-01-14 00:04:07 -08:00
Chris Walsh 7725553097
Remove languages table on main metrics page 2021-12-17 18:25:07 -08:00
Chris Walsh 9a326a33a0
Add languages table to metrics grid 2021-12-01 19:32:45 -08:00
Mike Cao ebd52335bb Referrer filtering. 2021-11-21 22:00:14 -08:00
Mike Cao b1ced5f32c Added COUNTRY_IP_HEADER environment variable. Closes #814. 2021-11-20 19:37:13 -08:00
Mike Cao ef616cc98d Updated lang strings. 2021-11-20 17:02:24 -08:00