Commit Graph

961 Commits

Author SHA1 Message Date
Matthew Raymer
e0164963a9 fix: add missing DEFAULT_PARTNER_API_SERVER import in DiscoverView
- Import DEFAULT_PARTNER_API_SERVER constant from app constants
- Fix missing import in DiscoverView component
2025-02-14 08:12:35 +00: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
887d37abe5 chore: linting for build 2025-02-13 06:59:06 +00:00
Matthew Raymer
20d2f5be32 fix: add Content Security Policy for Electron API connections
- Add CSP headers to allow connections to endorser.ch and timesafari.app APIs
- Configure secure content policies for images, scripts, styles and fonts
- Fix API connection errors by allowing required external resources
- Remove duplicate CSP header configuration
2025-02-13 06:56:35 +00:00
Matthew Raymer
01365d478c docs: update electron build instructions and fix electron asset paths
- Add web build prerequisite step to electron build docs
- Update electron run command to use npx
- Fix electron asset loading with improved path handling
- Add request interception for proper asset resolution
- Remove service worker files from electron build
- Improve debug logging for electron builds
2025-02-13 06:43:54 +00:00
Matthew Raymer
ec1f50af69 docs: move build instructions from README to BUILDING.md
- Move detailed setup and build instructions from README.md to BUILDING.md
- Add concise reference to BUILDING.md in README.md
- Keep testing and other documentation in README.md
- Improve organization of documentation by separating build-specific content
2025-02-13 04:48:18 +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
Matthew Raymer
15783cdbe6 (chore): cleaning up formatting and relative references 2025-02-06 14:08:54 +00:00
Matthew Raymer
52cbe81f23 (chore): merge mostly pathway changes 2025-02-06 13:34:48 +00:00
5b29d97173 prompt organizer about adding a contact if not in list, and other sanity checks 2025-02-05 21:03:57 -07:00
bb5913fef4 make member view available to onboard meeting organizer and reorganize buttons 2025-02-05 20:07:25 -07:00
29a81c48c8 fix problem with you-are-missing message and refactor other messages in onboard meeting 2025-02-05 19:03:54 -07:00
Matthew Raymer
abf2756807 Merge branch 'master' into split_build_process
fix: update import paths from alias to relative

- Replace @ alias imports with relative paths in HiddenDidDialog and UserProfileView
- Maintain consistent import style across components
- Improve build compatibility across different environments

This change helps ensure consistent module resolution across different
build targets including Capacitor and Electron builds.
2025-02-04 03:50:31 +00:00
03bfd364ce fix linting 2025-02-03 20:37:46 -07:00
1b869a23b0 now add registration when the organizer admits them 2025-02-03 20:31:22 -07:00
074c12da63 add an icon for each attendee to add them to their contact list 2025-02-03 19:55:41 -07:00
763398ff1b organizer can toggle admission to the meeting 2025-02-03 19:00:11 -07:00
3c7a044f67 fix message for when some passwords are wrong (and now things decode correctly) 2025-02-03 17:22:38 -07:00
6a070a1715 fix linting (and change a little wording in onboarding page) 2025-02-03 16:36:13 -07:00
5cb2ac339d show when an onboarding member is already in a meeting, and allow them to leave 2025-02-03 15:31:00 -07:00
b3daa27d20 split out group-meeting member list into a separate component, and fix some edit/create mode titles 2025-02-03 14:30:49 -07:00
ce6ce63433 move edit & delete around & eliminate redundant boolean 2025-02-03 12:39:16 -07:00
3a56d83dd6 add onboarding pages for the list and members, and refine the setup 2025-02-03 12:18:13 -07:00
Matthew Raymer
2a7178db53 Merge changes 2025-02-03 13:27:36 +00:00
5943df756a make screen where user can create a group onboarding meeting 2025-02-02 17:06:51 -07:00
ea80658e04 change to three prompts for an onboarding-method choice (first one doesn't work yet) 2025-02-01 20:33:48 -07:00
9f54286817 fix linting, add to the 10-project timeout 2025-01-29 21:36:27 -07:00
888e87f6c6 add instructions for contacting potential links to hidden people 2025-01-29 21:01:35 -07:00
1a0d46d963 fix problem after minimizing use of account private data 2025-01-28 09:06:29 -07:00
6c1cdd3bfd fix a jump on user profile map move & recenter 2025-01-21 19:51:58 -07:00
e6242e2491 fix the marker storage & clearing logic, and add the second profile map when used 2025-01-21 18:03:32 -07:00
101acd2a8c fix build and auto-test issues 2025-01-20 13:06:05 -07:00
59b433830d add page for user profile view and update endpoints; rename any "rowid" to "rowId" 2025-01-20 12:43:05 -07:00
c1058499c7 add discovery of people's profiles, and update profile endpoints for latest server version 2025-01-18 20:02:20 -07:00
70043fc28c add map and location for user profile 2025-01-13 19:27:17 -07:00
1c1231b831 fix linting 2025-01-13 19:02:50 -07:00
2386813e92 save a profile blurb 2025-01-12 20:33:47 -07:00
b871aa9d39 fix linting 2025-01-12 17:01:03 -07:00
45de44cf9e show warning about using nostr, and show errors if location was enabled but data is missing 2025-01-12 16:57:20 -07:00
Matthew Raymer
aa4edb9742 Fixes for APP_SERVER definition issue 2025-01-12 03:47:33 +00:00
Matthew Raymer
6903a02df6 Merge fixes 2025-01-11 12:45:43 +00:00
e97bc4893e change all copied contact URLs to contact-import, and handle multiples & singles separately 2025-01-09 20:10:00 -07:00
181de625ba add sanity checks for importing bulk contacts, eg. when there is a truncated link 2025-01-07 20:56:39 -07:00
Matthew Raymer
ff4e23517b Multi-build support; tested successfully for Electron 2025-01-07 09:40:31 +00:00
e218bde9cc update to 0.3.47 - fix linting 2025-01-06 09:01:06 -07:00
2e7700731b switch so personal contact JWT is link to this server (not endorser.ch), make empty-did URL show user's info 2025-01-06 08:52:10 -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