Commit Graph

1382 Commits

Author SHA1 Message Date
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
ab29e82274 docs: enhance BUILDING.md with environment and deployment details
- Add environment configuration section with .env templates for dev/test/prod
- Add deployment instructions for test and production servers
- Add version management workflow steps
- Add troubleshooting section for common build issues
- Improve documentation organization and completeness
2025-02-13 04:53:40 +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
1be5c530c5 chore: update gradle and android build tool versions
- Update gradle wrapper from 8.9 to 8.10.2
- Update android build tools from 8.7.3 to 8.8.0
- Maintain build compatibility with latest tooling

These updates ensure the Android build process uses the latest stable
versions of the build tools and gradle wrapper.
2025-02-12 08:28:32 +00:00
Matthew Raymer
0924c5056c fix: improve electron asset path handling
- Add extraResources config to package.json to properly include www directory
- Update path rewriting in build-electron.js to handle all asset types
- Fix modulepreload and stylesheet paths in index.html
- Improve path handling in main.js for packaged app
- Clean up file protocol handling and service worker management

This fixes the issue with assets not loading in the packaged Electron app
by ensuring all paths are correctly rewritten to reference the www directory
in the app resources.
2025-02-12 07:47:18 +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
8d8b90ac19 docs: add comprehensive build instructions for all platforms
Add detailed build instructions for web, desktop (Electron), and mobile
(Capacitor) platforms. Include prerequisites, setup steps, and platform-specific
build commands. Add sections for testing, linting, and development workflows.
Document build output directories and PWA features.
2025-02-11 07:33:49 +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
ed2fd7b42c fix test 2025-02-04 20:12:08 -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
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
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
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
6c1cdd3bfd fix a jump on user profile map move & recenter 2025-01-21 19:51:58 -07:00
22c8e488a0 bump to version 0.3.50 2025-01-21 18:05:22 -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
9c4129b5a0 Merge branch 'master' into split_build_process 2025-01-12 00:05:16 +00:00