Commit Graph

69 Commits

Author SHA1 Message Date
3f0a7d352d Updated .gitignore 2026-02-02 06:43:08 +01:00
3165432811 Added EditorConfig configuration file. 2026-02-02 06:41:38 +01:00
fd22751e72 Modernized NodeJS scripts. 2026-02-02 06:41:16 +01:00
2218581e78 Removed old AI generated upload.js 2026-02-02 06:34:55 +01:00
c21c0f863e Revised Docker image build process. 2026-02-02 06:11:15 +01:00
bcc7983849 Added reengineered version file creating module. 2026-02-02 05:53:35 +01:00
fbb98b7f39 refactor: streamline and clarify AI agent instructions in copilot documentation 2026-02-01 11:55:49 +01:00
d8bde75670 update: add extension to Bash script. 2026-02-01 11:55:43 +01:00
42e91f6ec1 fix: remove unnecessary whitespace in build-image.js 2026-01-31 23:50:55 +01:00
44bb4b7458 Switched from Bootstrap to Material UI. v1.4.0 2026-01-31 16:47:44 +01:00
794fd88e8d fix: small component size adjustments. 2026-01-31 16:43:38 +01:00
9f0d7ee70a Refined control sizes. 2026-01-31 15:57:37 +01:00
4c964cdfeb Resized JMESPath Expression area. 2026-01-31 15:48:27 +01:00
be6dc0de60 feat: Integrate Material UI theme provider and enhance UI components 2026-01-31 15:36:55 +01:00
dc9def4faf Refactor: Simplify response message in upload endpoint to "OK" 2026-01-31 15:36:47 +01:00
3dd352df92 Converted to Material UI v7 - bare. 2026-01-31 11:52:15 +01:00
57371feeb0 Release v1.3.1: Added PowerShell support and fixed theme issues v1.3.1 2026-01-31 11:06:25 +01:00
d398c34aa5 Migrate to Vite 7, improve UI (Copy/Download), and enhance API security v1.3.0 2026-01-31 10:16:49 +01:00
452e6e74cb update: moved input control buttons JSON Data area. 2026-01-31 09:10:55 +01:00
b7df3e731f Fix: the expression input box was getting reset while switching pages. Formatted the code text. 2026-01-31 09:05:07 +01:00
72d1be0bdc Enhance build-image script to support multi-architecture builds and improve help output 2026-01-30 00:06:11 +01:00
929d2ee5d2 Add upload scripts for PowerShell and NodeJS. 2026-01-30 00:04:02 +01:00
d0961c68fa Version 1.2.5 v1.2.5 2026-01-26 18:38:47 +01:00
b1fd6da218 Update upload script to allow API URL and key to be set via environment variables 2026-01-26 16:41:04 +01:00
2a498124fe Fix API URL variable reference in upload script 2026-01-26 16:39:41 +01:00
37c73ddd2b Refactor upload script to use environment variables for API URL and key, and update usage instructions 2026-01-26 16:34:52 +01:00
03cc889cd0 Update copilot instructions with version release procedures v1.2.4 2026-01-23 14:46:19 +01:00
0d3832137f Fix version display issues, container shutdown problems, and modernize build scripts v1.2.3 2026-01-23 14:39:33 +01:00
81b3b84f81 Remove deprecated upload script 2026-01-23 12:57:21 +01:00
cebae83ae1 Fix dark theme colors, reload button functionality, and code cleanup v1.2.2 2026-01-23 12:50:56 +01:00
fd537026d3 Updated JSON upload script. v1.2.1 2026-01-23 10:00:03 +01:00
f2ca5d5f84 Add support for API key in upload-jmespath script 2026-01-23 09:57:59 +01:00
15036d34c2 Prepare for version 1.2.0 v1.2.0 2026-01-23 09:53:21 +01:00
656b5efe70 Enhance copilot instructions with detailed API usage and UI features 2026-01-23 08:03:31 +01:00
abc1cef7c2 Implement missing sample data loading and one-time use security
- Fix UI to load server-hosted sample data at startup as per specification
- Add one-time use security: server clears sample data after retrieval
- Ensure React app periodically checks for new sample data availability
- Remove complex same-origin protection in favor of simpler one-time use model
- Improve data security by preventing data persistence after consumption
v1.1.7
2026-01-23 06:15:21 +01:00
766ff96137 Add upload-jmespath script for JSON file uploads to API 2026-01-23 06:05:01 +01:00
e22b3c82a2 Fix Docker build version detection
- Skip prebuild step in Docker when VERSION build arg is provided
- Prevent version-check.js from overwriting pre-generated version.js in Docker
- Fix Docker containers showing incorrect '-dev' suffix for release builds
- Use direct react-scripts build when version is pre-generated
v1.1.6
2026-01-21 22:06:37 +01:00
c9ce0d14b9 Separate Docker build into dedicated script
- Create build-image.sh for dedicated Docker image building
- Remove Docker build logic from build.sh to focus on Node.js app only
- Add comprehensive instructions for running and pushing Docker images
- Improve build script modularity and separation of concerns
v1.1.5
2026-01-21 21:55:58 +01:00
ef2c1931d8 Fix Docker repository name in build script
- Update all Docker image references to use skoszewski/jmespath-playground
- Fix build.sh to create properly namespaced Docker images for Docker Hub
- Update Docker run command examples with correct repository name
v1.1.4
2026-01-21 21:52:25 +01:00
d027459678 Enhance version management and Docker build system
- Add Docker build args for proper version detection in containers
- Update build.sh script with smart version detection for Docker builds
- Add --message option to new-version.js for custom commit messages
- Fix Docker builds showing incorrect '-dev' suffix for release builds
- Improve versioning workflow with comprehensive --check analysis
v1.1.3
2026-01-21 21:48:45 +01:00
4d6efe791b Version 1.1.2 v1.1.2 2026-01-21 21:33:58 +01:00
8c06faee31 Bump version to 1.1.1 v1.1.1 2026-01-21 21:06:41 +01:00
86687cb6a3 Improve version management system
- Fix version-check.js to use git tag version for releases
- Add new-version.js script for proper version/tag synchronization
- Update package.json to correct version 1.1.0

The new-version.js script ensures package.json and git tags are always synchronized by:
1. Updating package.json with new version
2. Committing the change
3. Tagging the commit

This prevents version mismatches and git dirty states.
2026-01-21 21:06:35 +01:00
710682d931 Enhance upload scripts with command-line options and JavaScript implementation
- Add -u/--url option to specify API URL via command line
- Refactor usage messages into centralized show_usage() function
- Remove environment variable fallback for API_URL
- Use curl's native file handling with --data @file
- Add JavaScript version (upload.js) with identical functionality
- Both scripts support same command-line interface and options
v1.1.0
2026-01-21 20:48:28 +01:00
7e78ef65b1 Implement multi-stage Docker build for clean production image
- Build stage: Has scripts/ for version generation, all dependencies
- Production stage: Only production deps, built artifacts, server.js
- Eliminates build scripts and dev dependencies from final image
- Maintains proper version.js generation during build process
2026-01-21 20:06:39 +01:00
5379b1519d Clean version management with generated version.js
- Replace package.json modification with generated src/version.js
- App imports VERSION from ./version instead of package.json
- version.js is auto-generated during prebuild and git-ignored
- Provides VERSION, IS_RELEASE, and BUILD_TIME constants
- No more dirty git status from version changes

Development builds show 1.0.4-dev, tagged releases show 1.0.4
2026-01-21 19:57:06 +01:00
601f80ab06 Fix Docker build - add React build step back to Dockerfile
The build/ directory doesn't exist in Docker context, so we need to
build the React app inside the container. This approach:
- Installs all deps, builds app, then removes dev deps
- Works for remote deployments without requiring pre-built artifacts
- Maintains lean final image size
2026-01-21 19:45:47 +01:00
4fe1ece3a3 Restructure project and fix tests
Major changes:
- Move server.js to project root for cleaner architecture
- Remove server tests due to CRA Jest configuration conflicts
- Fix React component tests (clipboard API and user interaction issues)
- Optimize Dockerfile to copy only essential files (server.js, build/)
- Fix upload script to only upload JSON data (no JMESPath expression)
- Improve reload button UI to avoid layout shifts
- Update demo script with accurate commands and Docker support

All 17 React tests now pass. Server structure simplified and consistent.
2026-01-21 19:42:04 +01:00
18b6b5a7c0 Clarify sample data reload process in AI agent instructions 2026-01-21 18:43:03 +01:00
025b07e328 Update API documentation for sample data upload and retrieval endpoints 2026-01-21 18:37:39 +01:00