Commit graph

5504 commits

Author SHA1 Message Date
Yann
9820274ded
Merge pull request #17 from niteshiftdev/yannmh/do-nothing-686v42
Specify pnpm package manager version
2025-11-13 17:56:17 -05:00
Sajid Mehmood
b7e5b7012a Merge branch 'master' of github.com:niteshiftdev/umami 2025-11-13 17:55:34 -05:00
Sajid Mehmood
0699b05e57 Use system color scheme preference for theme detection
Configure ZenProvider to use colorScheme="system" to consistently respect
OS/browser dark mode preference across all contexts including iframes.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-13 17:55:24 -05:00
Yann
4d55d9eedb feat: specify pnpm package manager version 2025-11-13 22:49:20 +00:00
Yann
8960f0942c
Merge pull request #10 from niteshiftdev/yann/quick-start-niteshift
USE_PREBAKED_SETUP for niteshift-setup
2025-11-13 17:14:32 -05:00
Yann MAHE
97b2735364 skip extra checks 2025-11-13 16:57:20 -05:00
Yann MAHE
0b073dc451 update 2025-11-13 16:44:53 -05:00
Yann MAHE
2d426ed39e USE_PREBAKED_SETUP for niteshift-setup 2025-11-13 15:57:14 -05:00
Sajid Mehmood
a4e47e923d Add CLAUDE.md with comprehensive development guide
This file provides guidance to Claude Code when working in the repository.
Key sections include:
- Niteshift sandbox configuration status
- Rapid UI prototyping guide with component library usage
- Data fetching patterns with React Query
- State management with Zustand
- Common UI patterns and code examples
- Project architecture overview

Optimized for Niteshift sandbox environment where dev server and
database are pre-configured and running.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-13 15:42:38 -05:00
Sajid Mehmood
dc8db69a6f Add test data generation script for Umami analytics
- Create generate-test-data.js script for generating realistic demo data
- Support for small (3 days), medium (14 days), and full (30 days) scales
- Generates realistic user sessions, pageviews, custom events, and revenue
- Includes geographic diversity, device variety, and traffic source distributions
- Implements proper UTM campaign tracking and conversion funnels
- Uses direct Prisma writes for performance (~10k sessions in 5 minutes)
- Add npm script: 'generate-test-data' for easy execution

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-12 14:51:50 -05:00
Sajid Mehmood
210a676ed9 Fix navigation during render warning
Move navigation logic from render to useEffect to prevent React warning
about state updates during render. Use ref to track redirect state and
handle both cloud mode (window.location.assign) and standard mode
(router.replace) navigation.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-12 13:38:28 -05:00
Sajid Mehmood
e063a177dc
Add niteshift setup script for umami development (#4)
* feat: add niteshift setup script for umami application

* refactor: switch dev setup to use dev server with hot reload instead of production build

* feat: add unified logging to development server output

Allow dev server logs to be written to both /tmp/umami-server.log and NITESHIFT_LOG_FILE when configured, enabling centralized log aggregation.

* refactor: simplify dev server logging to use single log file

Consolidate dual logging logic into single append to LOG_FILE,
simplify error reporting to reference the configured log file,
and remove unnecessary /tmp/umami-server.log references.
2025-11-11 17:27:43 -05:00
Mike Cao
7ac5913c86
Merge pull request #3704 from prince0xdev/fix/disable-download-when-no-data
Some checks failed
Node.js CI / build (postgresql, 18.18, 10) (push) Has been cancelled
Fix: Disable download button when no data available
2025-11-10 22:43:42 -08:00
Mike Cao
a6e130ab2e
Fix DownloadButton to avoid duplicate downloadCsv call
Removed redundant downloadCsv call from handleClick.
2025-11-10 22:43:22 -08:00
Mike Cao
4fe4bb99b7
Apply suggestion from @greptile-apps[bot]
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2025-11-10 22:42:20 -08:00
Prince EKPINSE
b9e90268d1 chore [#3699] : fix .gitignore syntax and untrack package-lock.json 2025-11-08 22:33:22 +01:00
Mike Cao
03c892aac0
Merge pull request #3688 from mathis5711/patch-docker-image-name
Some checks failed
Node.js CI / build (postgresql, 18.18, 10) (push) Has been cancelled
Fixing docker image name
2025-11-08 11:26:31 -08:00
Prince EKPINSE
cf31ca20b9 Fix: disable download button when no data available 2025-11-08 18:22:38 +01:00
Prince EKPINSE
c3f3a7db3f Fix: disable download button when no data available 2025-11-08 18:17:22 +01:00
Mike Cao
6ba9c1c40c New docker workflow.
Some checks are pending
Node.js CI / build (postgresql, 18.18, 10) (push) Waiting to run
2025-11-07 22:41:10 -08:00
Mike Cao
de6515139e Fixed Docker permissions.
Some checks are pending
Node.js CI / build (postgresql, 18.18, 10) (push) Waiting to run
2025-11-07 18:17:51 -08:00
Mike Cao
e3ca002d77 Fixed tags in build. 2025-11-07 14:35:05 -08:00
Mike Cao
8119dae3c3 Updated GH workflow. 2025-11-07 13:59:50 -08:00
Mike Cao
6ee93f7ac9 Updated README and cd.yml. 2025-11-07 12:21:17 -08:00
Mike Cao
3e9ca8761e Removed workflow script.
Some checks are pending
Node.js CI / build (postgresql, 18.18, 10) (push) Waiting to run
2025-11-07 09:15:01 -08:00
Mike Cao
d2f512cae7 Don't publish .sig files. 2025-11-07 09:14:19 -08:00
Mike Cao
df3ca02e8b Always push latest for Docker. 2025-11-07 08:52:16 -08:00
mathis5711
e49624a6da
Apply suggestions from code review
Edit for better formatting warning message

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2025-11-07 10:14:55 +01:00
mathis5711
9ad17e0f62
Fix warning message for updating from Umami V2
Fixing markdown from last commit
2025-11-07 09:36:44 +01:00
mathis5711
6d16642a6c
Update README with deprecation notice for PostgreSQL image
Added warning about deprecation of 'postgresql-latest' image.
2025-11-07 09:36:14 +01:00
mathis5711
b200346fd3
Change Umami Docker image tag to 'latest'
Updated Docker pull command to use the latest image, because "postgresql-latest" is deprecated.
2025-11-07 09:31:30 +01:00
Mike Cao
a90b788138 Updated cd script.
Some checks are pending
Node.js CI / build (postgresql, 18.18, 10) (push) Waiting to run
2025-11-07 00:09:53 -08:00
Mike Cao
dd6556968c Updated image tag. 2025-11-06 23:58:12 -08:00
Mike Cao
04a05bbf26 Added workflow input. 2025-11-06 23:35:14 -08:00
Mike Cao
437c9603db Fixed build. 2025-11-06 22:58:26 -08:00
Mike Cao
03ed5349f4 Merge branch 'dev' 2025-11-06 22:50:30 -08:00
Mike Cao
4272bb4c4d Removed db types from docker build. 2025-11-06 22:48:34 -08:00
Mike Cao
6135ef9dd2 Fixed test. 2025-11-06 22:24:08 -08:00
Mike Cao
b5795a8b3f Fixed update notice.
Some checks failed
Node.js CI / build (postgresql, 18.18, 10) (push) Has been cancelled
2025-11-06 16:16:53 -08:00
Mike Cao
98092004b6
Merge pull request #3683 from umami-software/dev
Some checks are pending
Node.js CI / build (postgresql, 18.18, 10) (push) Waiting to run
v3
2025-11-05 18:34:36 -08:00
Francis Cao
a6d4519a98 set maxHeight for DialogButton. remove from individual buttons
Some checks failed
Create docker images (cloud) / Build, push, and deploy (push) Has been cancelled
Node.js CI / build (postgresql, 18.18, 10) (push) Has been cancelled
2025-11-04 09:34:37 -08:00
Mike Cao
5398cd89fe Reordered IP headers.
Some checks are pending
Create docker images (cloud) / Build, push, and deploy (push) Waiting to run
Node.js CI / build (postgresql, 18.18, 10) (push) Waiting to run
2025-11-03 21:01:12 -08:00
Mike Cao
79e324aace Updated Dockerfile to match current Prisma version.
Some checks are pending
Node.js CI / build (postgresql, 18.18, 10) (push) Waiting to run
2025-11-03 16:54:58 -08:00
Mike Cao
684863d6c7 Added laptop detection. Reorganized IP headers. 2025-11-03 16:44:01 -08:00
Francis Cao
c9f522b24d remove MySQL references from README
Some checks failed
Node.js CI / build (postgresql, 18.18, 10) (push) Has been cancelled
2025-10-31 09:12:32 -07:00
Mike Cao
eb3cfbfa88 Updated lock file.
Some checks failed
Create docker images (cloud) / Build, push, and deploy (push) Has been cancelled
Node.js CI / build (postgresql, 18.18, 10) (push) Has been cancelled
2025-10-31 00:21:02 -07:00
Mike Cao
067567cbf6 Force geo build with BUILD_GEO env var.
Some checks are pending
Node.js CI / build (postgresql, 18.18, 10) (push) Waiting to run
2025-10-31 00:13:02 -07:00
Mike Cao
751568d871 Merge remote-tracking branch 'origin/dev' into dev
Some checks are pending
Create docker images (cloud) / Build, push, and deploy (push) Waiting to run
Node.js CI / build (postgresql, 18.18, 10) (push) Waiting to run
2025-10-30 17:05:49 -07:00
Mike Cao
b08a6e1113 Don't prefetch pixel links. 2025-10-30 17:05:11 -07:00
Francis Cao
504c459090 update schema validation for link/pixel updates
Some checks failed
Node.js CI / build (postgresql, 18.18, 10) (push) Has been cancelled
2025-10-30 16:13:36 -07:00