Commit graph

510 commits

Author SHA1 Message Date
Bill Yang
3edb369c06 disable build cahce 2025-05-06 13:09:39 -07:00
Bill Yang
6c3207a455 docker publish 2025-05-06 13:07:54 -07:00
Bill Yang
7efb818c3d Refactor environment variable configuration and enhance setup script
- Updated `.env.example` to use HOST_BACKEND_PORT and HOST_CLIENT_PORT for clearer port mapping.
- Modified `docker-compose.yml` to reflect changes in environment variable names for backend and client services.
- Enhanced `setup.sh` to support custom port options and improved error handling for missing `.env` file.
- Updated documentation in `self-hosting.mdx` to include new setup script options and examples for custom port configurations.
2025-05-06 11:27:21 -07:00
Bill Yang
70222f779e Enhance setup and configuration for self-hosting
- Updated `.env.example` to include new webserver configuration options.
- Modified `docker-compose.yml` to support custom port bindings for backend and client services when not using the built-in webserver.
- Enhanced `setup.sh` to handle `--no-webserver` flag, allowing users to run their own webserver and exposing necessary ports.
- Expanded documentation in `self-hosting.mdx` to include instructions for using a custom webserver and managing services.
2025-05-06 11:11:32 -07:00
Andrii Andrushchyshyn
9da01364ea
Fix realtime page (#124)
* Fix CSS styles causing scrollbar visibility on non scrollable page.

* Fix Crimea's geographic boundaries

to align with internationally recognized borders

* Fix hexagon flickering on the globe during zoom

Implemented a mechanism for deferred change of the height of the base hexagons, depending on the distance from the globe.
2025-05-06 09:41:55 -07:00
Thejus Paul
4bf1e8d938
Updated public-site.mdx (#123)
Fixed a typo.
2025-05-06 09:40:34 -07:00
Bill Yang
93a6639d2e
New env (#122)
* Allow setting all variables in .env file

* Fix postgres version

* pin versions

* bump

---------

Co-authored-by: pe1uca <edga.alva@gmail.com>
2025-05-05 20:31:11 -07:00
Bill Yang
ff4f2e1246 Add page titles using useSetPageTitle hook across various components
- Implemented the useSetPageTitle hook to set appropriate titles for the Home, Events, Funnels, Goals, Journeys, Main, Map, Realtime, Reports, Retention, Sessions, User, Users, Login, Account, Organizations, Subscription, and Signup pages.
- This enhances SEO and user experience by providing clear context for each page.
2025-05-05 17:19:24 -07:00
Bill Yang
827586a63f Update GitHub links in Contact page to reflect new repository URL 2025-05-05 15:40:55 -07:00
Bill Yang
7f3a338001 Add URL normalization to allowed domains
- Introduced a new function to normalize URL origins by removing the "www." prefix.
- Updated the allowed domains loading logic to apply normalization to each domain in the list.
2025-05-05 15:35:02 -07:00
Andrii Andrushchyshyn
8d56c47059
Fix geo-boundaries for Crimea in accordance with international recognition (#115)
- Correct administrative boundaries of Crimea to reflect Ukraine's sovereignty
2025-05-06 01:08:58 +03:00
Andrii Andrushchyshyn
f4ca270abe
Fix users page (sorting) (#114)
* fix sortings in users page
* use DESC sorting by default
2025-05-06 01:04:11 +03:00
Bill Yang
50eb1a36e3
Update README.md 2025-05-05 09:01:01 -07:00
Bill Yang
f7931117ce Update self-hosting documentation to recommend a VPS with at least 2GB of RAM and add instructions for disabling new user signups in the .env file. 2025-05-05 08:55:00 -07:00
Bill Yang
cf06bbc8ca Fix reverse color 2025-05-05 08:43:16 -07:00
Bill Yang
432eca1a43 Add number formatting for event limits in PricingSection component
- Introduced a formatter for compact number representation using Intl.NumberFormat.
- Updated the display logic for event limits to show formatted values on smaller screens while maintaining the original format on larger screens.
2025-05-04 22:23:03 -07:00
Bill Yang
88a365ad2f Fix script tag formatting in NoData and Signup components; update conditional rendering in BaseStandardSection; adjust layout in Countries, Devices, Pages, and Referrers sections for improved alignment and consistency. 2025-05-04 21:57:07 -07:00
Bill Yang
0728b85cad Update Pages and RealtimePage components to truncate labels and adjust layout
- Modified `getLabel` in the Pages component to truncate strings to a maximum of 30 characters for better readability.
- Added `items-start` class to the layout of the RealtimePage component for improved alignment of elements.
2025-05-04 12:16:31 -07:00
Bill Yang
a448d6d372 fix docs 2025-05-04 11:17:48 -07:00
Bill Yang
7576cc7caf
Update README.md 2025-05-04 09:40:34 -07:00
Bill Yang
09f0568d14 Remove example HTML file and fix script tag formatting in ScriptBuilder component 2025-05-04 09:23:41 -07:00
Bill Yang
cdd40216ce Enhance StandardSection components with expandable functionality
- Added `expanded` and `close` props to StandardSection and its dialog components for better state management.
- Integrated expand/collapse button in various sections (Countries, Devices, Pages, Referrers) to improve user interaction.
- Updated layout to accommodate new button and ensure consistent styling across sections.
2025-05-04 09:21:47 -07:00
Bill Yang
4447e5d6e7 Remove CLAUDE.md file and update styling in various components for improved mobile responsiveness. Added MobileSidebar to JourneysPage and adjusted padding in MapPage. Enhanced Overview component to support reverse color logic in ChangePercentage and Stat components. 2025-05-04 08:40:39 -07:00
Bill Yang
1910dc75c4 Fix typo 2025-05-04 00:57:56 -07:00
Bill Yang
9e61993269
Continue (#110)
* continue

* continue
2025-05-04 00:51:55 -07:00
Bill Yang
9e39883b37 Update contact methods to improve user experience
- Replaced email links with a direct contact page URL across multiple components, including Subscribe, PricingSection, Contact, and PrivacyPolicy.
- Enhanced navigation for custom pricing inquiries by redirecting users to the contact page instead of email.
2025-05-04 00:18:31 -07:00
Bill Yang
1f782b6274 Enhance subscription pricing options and custom tier handling
- Added "Custom" tier option to event pricing in the subscription page and PricingSection component.
- Updated logic to handle custom pricing inquiries via email redirection.
- Adjusted pricing display to accommodate custom tier scenarios.
- Changed contact email from founders@rybbit.io to hello@rybbit.io across relevant components.
2025-05-04 00:12:05 -07:00
Bill Yang
24aa7e54c5
fix usage checker (#109)
* fix usage checker

* fix

* fix tax
2025-05-03 23:19:59 -07:00
Bill Yang
0f43f62103 Refactor Stripe pricing retrieval and update pricing constants
- Replaced direct usage of STRIPE_PRICES with a new getStripePrices function for improved flexibility in pricing retrieval.
- Updated pricing details in the STRIPE_PRICES constant to reflect new price IDs.
- Enhanced subscription handling in various components to utilize the updated pricing structure.
2025-05-03 22:51:42 -07:00
Bill Yang
e1adb3a2a3 Update subscription pricing and improve subscription handling
- Changed subscription cancellation message from "Ends on" to "Cancels on" for clarity.
- Updated subscription data structure to require `cancelAtPeriodEnd` field.
- Adjusted Stripe pricing for various plans, increasing monthly and annual prices.
- Modified pricing display logic in the PricingSection component to reflect new prices.
- Increased default event limit for users without an active subscription from 10,000 to 100,000.
- Enhanced subscription retrieval to include `cancelAtPeriodEnd` status.
2025-05-03 22:17:41 -07:00
Bill Yang
696c6b6145
Fix allow (#108)
* fix allow

* wip

* wio
2025-05-03 22:06:08 -07:00
Bill Yang
2988e7b079 Add demo mode support and improve EventList component
- Introduced NEXT_PUBLIC_DEMO environment variable in docker-compose for demo mode configuration.
- Updated EventList component to display a "No Data" message when in small size mode.
- Enhanced TopBar component to show a sign-up link when in demo mode.
- Added IS_DEMO constant to manage demo mode state in the application.
2025-05-03 17:45:04 -07:00
Bill Yang
e0a8634a35 Enhance CORS handling and add origin normalization
- Updated CORS origin validation to use a new `normalizeOrigin` function, ensuring consistent handling of incoming requests.
- Introduced `normalizeOrigin` utility to standardize URLs by removing the 'www.' prefix.
- Adjusted allowed domains loading to directly use domain names without adding 'https://' prefix, improving flexibility.
2025-05-03 17:34:08 -07:00
Bill Yang
287f65b6e7 Add script 2025-05-03 16:28:48 -07:00
Bill Yang
97c29dafac
Fix callbacks (#107)
* Fix callbacks

* fix layout

* Remove callbacks

* Disable redirects

* fix caddy

* test disable basepath

* wip

* test caddy fix

* remove basepath

* fml

* pray

* kms

* pray

* wip

* Test
2025-05-03 16:27:46 -07:00
Bill Yang
dd3739a716 fix layout 2025-05-03 14:12:25 -07:00
Bill Yang
8b4529d9e4 Remove NoData component and clean up SiteLayout structure
- Deleted the NoData component to streamline the codebase as it is no longer needed.
- Refactored the SiteLayout component by removing unused NoData handling logic and commented-out code, enhancing clarity and maintainability.
2025-05-03 14:00:21 -07:00
Bill Yang
46b7e85488 Implement NoData component and enhance layout structure
- Introduced a new NoData component to display relevant messages when no data is available.
- Updated the Header component to include the NoData component for better user feedback.
- Refactored the SiteLayout component to remove the previous NoData handling logic, improving clarity.
- Replaced placeholder text in various components with the new NothingFound component for consistent empty state messaging.
2025-05-03 13:58:46 -07:00
Bill Yang
1d0ffdf9d9 Refactor authentication and environment configuration
- Removed the .env.example file as it is no longer needed.
- Added DISABLE_SIGNUP environment variable to docker-compose files for cloud and development environments.
- Updated setup script to include DISABLE_SIGNUP with a default value of false.
- Modified auth.ts to utilize DISABLE_SIGNUP for controlling signup functionality.
- Introduced DISABLE_SIGNUP constant in const.ts to manage its value from environment variables.
2025-05-03 13:14:13 -07:00
Bill Yang
990861aca6 Enhance site management with domain handling
- Added domain property to site configuration in addSite and changeSiteDomain functions.
- Implemented domain retrieval and update methods in SiteConfig class.
- Introduced origin validation in trackEvent to ensure requests come from registered domains, improving security.
- Added a constant to disable origin checking for development environments.
2025-05-03 12:59:01 -07:00
Bill Yang
fb70db8718 Enhance login and signup pages with new logo and styling updates
- Added a new Logo component for consistent branding across the application.
- Updated the login page to include the logo at the top of the sign-in card.
- Enhanced the signup page with improved styling for input fields and buttons, including background colors and hover effects.
- Introduced background gradients and adjusted layout for a more visually appealing design.
- Refactored the TopBar component to utilize the new Logo component, improving code maintainability.
2025-05-03 12:28:38 -07:00
Bill Yang
55bf9c60f7 try to fix sso 2025-05-03 12:05:25 -07:00
Bill Yang
d3cb3a5a82 try to fix sso 2025-05-03 12:03:43 -07:00
Bill Yang
c78ad535da Add cloud configuration to Docker Compose
- Introduced a new docker-compose.cloud.yml file to support cloud deployment.
- Added services for Caddy, ClickHouse, Postgres, backend, and client with appropriate configurations.
- Updated environment variables for backend and client services to facilitate cloud integration.
- Removed cloud-related environment variables from the main docker-compose.yml for clarity.
2025-05-03 12:00:31 -07:00
Bill Yang
b34aff1153 Update environment variables for cloud integration in Docker configurations
- Added GOOGLE_CLIENT_ID and GOOGLE_CLIENT_SECRET to both docker-compose files for cloud support.
- Included GITHUB_CLIENT_ID and GITHUB_CLIENT_SECRET in the environment variables.
- Updated the auth.ts file to enable social login providers for cloud deployments.
2025-05-03 11:43:09 -07:00
Bill Yang
7ffec2f825 opengraph image 2025-05-03 11:13:33 -07:00
Bill Yang
60867a2a7b
Fix cloud (#106) 2025-05-03 09:53:02 -07:00
Bill Yang
dbe4b590f9 Update demo links to point to the new application URL
- Changed all instances of demo.rybbit.io to app.rybbit.io in layout, page, and PricingSection components for consistency and to reflect the updated application URL.
- Ensured that the user experience remains seamless with updated links for sign-up and demo access.
2025-05-02 18:27:29 -07:00
Bill Yang
8e342f7fde Update messaging in subscription and documentation pages for clarity
- Removed "Cancel anytime" from the subscription checkout message for a more straightforward communication.
- Updated the main heading and introductory text on the documentation page to better reflect the service's value proposition.
- Changed button text to "Track your site now" to enhance user engagement.
- Simplified credit card requirement messaging across various components for improved user understanding.
2025-05-02 18:25:15 -07:00
Bill Yang
8b039aa351 Refactor subscription status handling and update pricing display
- Simplified the SubscriptionData interface by reducing the number of subscription statuses to "expired", "active", and "trialing".
- Updated the pricing display in the Subscribe page and PricingSection component to show monthly pricing instead of annual, enhancing clarity for users.
- Removed redundant comments in globals.css to clean up the stylesheet.
2025-05-02 18:13:08 -07:00