Commit Graph

323 Commits

Author SHA1 Message Date
Matthew Raymer
f33d1f0af3 WIP: certificate view and dependency updates
- Update certificate view canvas rendering and QR code generation
- Upgrade dependencies (expo-file-system, expo-font, expo-keep-awake)
- Fix type imports for nostr-tools and dexie-export-import
- Update vite config for better dependency resolution
- Clean up main entry points (capacitor, electron, pywebview)
- Improve error handling in API and plan services
- Add type safety to API error handling
- Update build configuration for platform-specific builds

This is a work in progress commit focusing on certificate view improvements
and dependency maintenance. Some type definitions and build configurations
may need further refinement.
2025-02-21 09:47:24 +00:00
Matthew Raymer
3135062c08 fix: disable PWA for Capacitor builds
Updates PWA configuration to:
- Disable PWA features for Capacitor builds
- Add @capacitor/app dependency
- Update environment variable handling in build config

This prevents conflicts between PWA and native app functionality
when building for mobile platforms.

Technical changes:
- Add isCapacitor check to PWA disable logic
- Update VITE_PWA_ENABLED environment variable definition
- Add @capacitor/app to package dependencies
2025-02-18 11:54:42 +00:00
Matthew Raymer
2746b8fe2b refactor: reorganize Vite config into modular files
Split monolithic vite.config.mjs into separate config files:
- vite.config.web.mts
- vite.config.electron.mts
- vite.config.capacitor.mts
- vite.config.pywebview.mts
- vite.config.common.mts
- vite.config.utils.mts

Updates:
- Modify package.json scripts to use specific config files
- Add electron-builder as dev dependency
- Update electron build configuration
- Fix electron resource paths
- Remove old vite.config.mjs and utils.js

This change improves maintainability by:
- Separating concerns for different build targets
- Making build configurations more explicit
- Reducing complexity in individual config files
2025-02-18 11:44:06 +00:00
11a4bbbc8f fix problem when going directly to people-map where the search results disappear 2025-02-17 20:35:05 -07:00
dd8f50a984 bump version and add "-beta" (was 0.4.3 now 0.4.4-beta) 2025-02-17 19:22:03 -07:00
5d5a8a4509 add Discover query param searchPeople to go straight to people map 2025-02-17 19:19:38 -07:00
1bdb3cc3e2 bump version and add "-beta" 2025-02-17 08:55:07 -07:00
Matthew Raymer
61e32dd560 Merge branch 'master' into split_build_process
fix: image server references and test configurations

- Update image server references to use test server by default for local dev
- Fix registration status checks in tests
- Remove verbose console logging
- Update environment configurations for consistent image server usage
- Fix alert handling in contact registration tests
- Clean up component lifecycle logging
- Add clarifying comments about shared image server usage
- Update playwright test configurations for better reliability

This commit ensures consistent image server behavior across environments
and improves test reliability by properly handling registration status
checks and alerts.
2025-02-17 06:36:40 +00:00
b24c1b14ed bump version to 0.4.1 2025-02-16 13:55:46 -07:00
238ed2db13 docs(feed): versioning 0.4.0 2025-02-14 13:49:17 -07:00
633169de9f deps: updated nostr-tools and import 2025-02-14 06:39:46 -07:00
Matthew Raymer
3f69f67f39 fix: resolve nostr-tools typescript type conflicts
- Update type definitions for nostr-tools
- Fix type compatibility issues
- Add missing type declarations
2025-02-14 03:21:48 +00:00
Matthew Raymer
0cc4a491f5 chore: update in preparation for production mode 2025-02-13 07:29:08 +00:00
Matthew Raymer
d8c1a84cfe WIP (fix): improve electron build configuration and service worker handling
- Properly disable service workers in electron builds
- Add CSP headers for electron security
- Fix path resolution in electron context
- Improve preload script error handling and IPC setup
- Update build scripts for better electron/capacitor compatibility
- Fix router path handling in electron context
- Remove electron-builder dependency
- Streamline build process and output structure

This change improves the stability and security of electron builds while
maintaining PWA functionality in web builds. Service workers are now
properly disabled in electron context, and path resolution issues are
fixed.
2025-02-12 13:17:25 +00:00
Matthew Raymer
3a5f202da3 commit working index.html 2025-02-12 06:46:16 +00:00
Matthew Raymer
c9f78ae09b feat(electron): improve electron build configuration
- Add dedicated electron build scripts for each platform
- Configure Vite rollup options for electron builds
- Update electron-builder configuration with proper app metadata
- Add clean script and rimraf dependency
- Set proper appId and build settings for production builds
- Enable asar packaging for better security
2025-02-12 03:44:05 +00:00
c8e71abc85 bump version to 0.3.57 2025-02-11 09:13:02 -07:00
0ed1779d4c bump version & add "-beta" 2025-02-07 15:23:12 -07:00
538bdcc920 bump to version 0.3.55 2025-02-07 14:30:53 -07:00
60384e583b bump version to 0.3.54 2025-02-06 20:21:02 -07:00
Matthew Raymer
2a7178db53 Merge changes 2025-02-03 13:27:36 +00:00
267d6e2488 bump version and add "-beta" 2025-01-30 08:53:28 -07:00
86a128215c bump version to 0.3.53 2025-01-30 08:39:14 -07:00
3e486254e0 fix problem with production map endpoint server, and bump version to 0.3.52 2025-01-22 21:20:12 -07:00
490410ce86 bump to version 0.3.51, tweak README for deployments 2025-01-22 20:15:04 -07:00
22c8e488a0 bump to version 0.3.50 2025-01-21 18:05:22 -07:00
Matthew Raymer
6903a02df6 Merge fixes 2025-01-11 12:45:43 +00:00
3cdf5cb322 bump version and add "-beta" 2025-01-10 07:32:48 -07:00
bfc35cf2ea bump to version 0.3.49 2025-01-09 20:48:13 -07:00
27622ad9e5 bump version and add "-beta" 2025-01-08 08:37:07 -07:00
039717906b bump version to 0.3.48 2025-01-08 08:35:50 -07:00
Matthew Raymer
ff4e23517b Multi-build support; tested successfully for Electron 2025-01-07 09:40:31 +00:00
df724162b2 bump version and add "-beta" 2025-01-06 12:19:35 -07:00
1fa11b2401 bump version to 0.3.47 2025-01-06 08:58:11 -07:00
Matthew Raymer
8b77d2b573 Refatored vite.config to be a bit more streamlined before adding alternate build options. This did end up requiring me to remove @ from imports for some reason. Tests came out fine. 2025-01-05 08:38:15 +00:00
adb37d2d30 bump version and add "-beta" 2025-01-04 13:15:39 -07:00
72cb5d89d5 bump version to 0.3.46 and fix vulnerabilities 2025-01-03 13:01:51 -07:00
fcded84aad bump version and add "-beta" 2025-01-01 14:12:49 -07:00
b1ce9df504 bump version to 0.3.45 2025-01-01 14:07:18 -07:00
fac80d0d00 bump version and add "-beta" 2024-12-31 10:49:04 -07:00
92b32551f1 fix centering of numbers on map markers, fix recenter after first drag 2024-12-31 10:26:48 -07:00
2fca59c01d bump version to 0.3.43 2024-12-30 13:56:55 -07:00
6f67e7845b add requests for map tiles with counts of plans (commented out) 2024-12-29 19:14:23 -07:00
633b98b3a6 bump version and add "-beta" 2024-12-28 16:28:53 -07:00
8cadfb15dd add more visibility for invite JWT plus a check for JWT, bump version to 0.3.42 2024-12-27 09:06:25 -07:00
df9256b93e bump to version 0.3.41 2024-12-21 16:24:38 -07:00
d71f3f5ec5 bump version and add "-beta" 2024-12-20 20:25:18 -07:00
a67d265439 don't show issuer for self-issued claims 2024-12-20 20:19:55 -07:00
8fe251e67a bump version and add "-beta" 2024-12-20 20:00:35 -07:00
53153308cf bump to version 0.3.39 2024-12-20 19:57:32 -07:00