Commit Graph

41 Commits

Author SHA1 Message Date
Alexis 8d29fb054d fix: update API key dependency handling in export endpoints and improve documentation for export URLs 2026-05-18 11:12:42 +02:00
Alexis 7d913201f9 fix: set correct proxy headers in nginx and VITE_API_URL to fix 400 Bad Request 2026-05-15 13:35:29 +02:00
Alexis a31e0e6137 feat: add SVG favicon to the frontend public directory 2026-05-15 12:02:37 +02:00
Alexis aacb8be09d fix: add Nginx configuration, Vite setup, and API service client for the ORCID frontend integration 2026-05-15 10:21:20 +02:00
Alexis f6b63d147a chore: add nginx configuration to serve frontend and proxy API requests 2026-05-15 10:09:19 +02:00
Alexis 70dc397ac2 fix: typography consistency with native-first font stack and Inter webfont fallback 2026-05-15 09:37:13 +02:00
Alexis 76f003377d fix: update base path from /orcid2words to /orcid2sword in .env, Dockerfile, and nginx.conf 2026-05-14 10:50:52 +02:00
Alexis 7ac0eab321 fix(nginx): enhance configuration to prevent absolute redirects and ensure index.html is served without cache for improved SPA performance 2026-05-14 10:20:19 +02:00
Alexis 1b53084062 fix(nginx): replace rewrite rules with try_files for /flintstones and /orcid2words to enhance SPA functionality and prevent 404 errors 2026-05-13 14:16:43 +02:00
Alexis 4a6eeeae68 fix(main): update resolveRouterBasename function to return prefix instead of withSlash for improved routing behavior 2026-05-13 14:07:23 +02:00
Alexis cd8efa12d0 fix(nginx): replace 301 redirects with rewrite rules for /flintstones and /orcid2words to prevent internal port exposure and improve URL handling 2026-05-13 13:59:21 +02:00
Alexis d520e4923b fix(nginx): add handling for /flintstones prefix to improve URL resolution and maintain SPA functionality 2026-05-13 13:47:17 +02:00
Alexis d5be910da6 fix(nginx): prefix ^~ /orcid2words/ + diagnostic headers 2026-05-13 13:39:53 +02:00
Alexis 926e59891d fix(nginx): tolerar Apache con o sin strip y forzar rebuild en CI 2026-05-13 13:27:40 +02:00
Alexis 5f3fd8aa3e chore: simplify Nginx configuration for handling /orcid2words paths to improve URL resolution and prevent 404 errors 2026-05-13 13:14:46 +02:00
Alexis 0265afad5b chore: enhance Nginx configuration for direct access and update main entry point to dynamically resolve Router basename based on environment settings 2026-05-13 13:07:40 +02:00
Alexis a3b9082a71 chore: update Dockerfile and .dockerignore to clarify environment variable handling and improve build context; adjust Footer component to use dynamic base URL for logo 2026-05-13 12:59:47 +02:00
Alexis cd9ad28a98 refactor: update Dockerfile to use Nginx for serving the application and adjust configuration for multi-stage build 2026-05-13 12:49:36 +02:00
Alexis a5321a6807 fix: update Dockerfile to change the port from 8073 to 5173 for serving the application 2026-05-13 12:38:21 +02:00
Alexis 10c9168370 chore: update Dockerfile to implement multi-stage build for optimized production deployment 2026-05-13 11:56:02 +02:00
Alexis 1e973bf81c Update Vite configuration to use base path from environment and simplify proxy settings; adjust main entry point for BrowserRouter basename. 2026-05-13 11:30:12 +02:00
Mireya 2ccdcac4c8 Delete README.md 2026-05-13 09:02:21 +00:00
Mireya 9ea6f516ee Delete .gitlab-ci.yml 2026-05-13 08:41:49 +00:00
Mireya Cueto Garrido d83fe1bbb0 Cambios en .env, gitlab-ci y dockercompose 2026-05-13 10:39:38 +02:00
Mireya Cueto Garrido 3573bec572 Cambios finales 2026-05-13 10:19:44 +02:00
Alexis fa2de55abe feat: enhance OAuth flow and improve token handling
- Added state parameter to exchangeOrcidCode function for better state management during OAuth.
- Implemented storage event listener in AuthContext to handle token updates when postMessage fails.
- Updated AuthCallbackPage to ensure proper handling of OAuth popup closure and state updates.
2026-05-12 11:41:19 +02:00
Alexis d8fa8031b6 feat: enhance UI components and improve user experience
- Updated Toaster position to bottom-right and added custom styles for success and error messages.
- Increased font size of the brand link in AppHeader for better visibility.
- Refactored DashboardPage and GroupResultsPage to include a Footer component for consistent layout.
- Improved LandingPage with new group input handling and enhanced user feedback for ORCID input.
2026-05-12 10:41:45 +02:00
Alexis ecdfadbf20 feat: update branding and enhance AppHeader functionality
- Changed the document title from "orcid-system" to "ORCID2SWORD".
- Updated AppHeader to reflect the new brand name and improved user profile link for authenticated users.
- Added user name extraction from JWT for personalized greetings in the header.
- Refactored layout and styling for better responsiveness and user experience on the LandingPage.
2026-05-07 13:51:03 +02:00
Alexis 104070159a fix: update ORCID_REDIRECT_URI and enhance OAuth callback handling
- Changed ORCID_REDIRECT_URI in docker-compose for updated ngrok URL.
- Allowed all hosts in vite.config.js to support HTTPS tunnels during OAuth flows.
- Improved handling of OAuth codes in AuthCallbackPage to prevent duplicate exchanges.
- Added function to fetch ORCID display names to enrich researcher data in API service.
2026-05-07 12:25:02 +02:00
Alexis 7118d21f34 fix: update callback route and enhance user profile link in header
- Changed the OAuth callback route from `/auth/callback` to `/callback` in App component and .env.example.
- Added user profile link in AppHeader for authenticated users, directing to their dashboard.
- Removed bypass mode references from LandingPage to streamline the login flow.
- Introduced a utility function to extract ORCID from JWT in AuthContext for better user state management.
2026-04-29 13:29:23 +02:00
Alexis 25dfeec3f7 feat: enhance authentication flow and UI components
- Updated .env.example to include OAuth authentication details and bypass mode for development.
- Integrated AuthProvider in App component to manage authentication state.
- Added AuthCallbackPage for handling OAuth callback.
- Enhanced ExportDropdown and PublicationsTable components to display new publication indicators for authenticated users.
- Updated AppHeader to show authentication status and logout functionality.
- Improved LandingPage to support group search and simulate login in bypass mode.
- Refactored DashboardPage to conditionally handle publication exports based on user authentication status.
2026-04-29 12:19:47 +02:00
Alexis f8241f7607 feat: implement unified researcher search and enhance dashboard functionality
- Updated the API service to include a new `searchResearcher` function for streamlined researcher data retrieval.
- Modified `LandingPage` to utilize the new search functionality, reducing the number of API calls.
- Refactored `DashboardPage` to handle the new data structure returned from the search, improving loading efficiency and user experience.
- Enhanced `vite.config.js` and `.env.example` for better API integration and development setup.
- Added health checks in `docker-compose.yml` for database and Redis services to ensure service reliability.
2026-04-29 10:16:26 +02:00
Alexis 334b92bda3 Stop tracking frontend/node_modules 2026-04-28 12:12:39 +02:00
Alexis López 41a46ac0da Merge pull request #7 from uja-dev-practices/feature/frontend-v1
Feature/frontend v1
2026-04-28 12:04:00 +02:00
Alexis 63b95fb834 feat: enhance ExportDropdown and PublicationsTable components for improved export functionality
- Update ExportDropdown to support selected item count and use new icons for formats
- Refactor PublicationsTable to include tri-state checkbox for selection management and year filtering
- Modify DashboardPage to handle selected publication IDs for export
- Adjust API service to support selective export based on publication IDs
2026-04-28 12:02:11 +02:00
Mireya Cueto Garrido a5c55d17d2 gitignore added 2026-04-27 13:45:48 +02:00
Mireya Cueto Garrido 96f01c0126 Versión 3 Backend - Endpoints finales corregidos 2026-04-27 13:39:32 +02:00
Alexis 2bb1309133 feat: update environment configuration and enhance API integration
- Remove versioning from docker-compose.yml
- Enhance Vite configuration to support API proxying for development
- Improve error handling and data normalization in API service
- Add fallback values in PublicationsTable and ResearcherCard components
- Update sync functionality in DashboardPage to handle backend responses more effectively
- Refactor mockSyncResearcher to simulate backend response structure
2026-04-24 10:40:28 +02:00
Alexis a07bd3146e feat: first version of the interface, integrate Tailwind CSS and update routing
- Add Tailwind CSS dependencies and configure Vite to use Tailwind
- Implement routing with React Router for Landing and Dashboard pages
- Remove unused App.css file and refactor App component to utilize new structure
- Update global styles in index.css to incorporate Tailwind's utility classes
2026-04-23 09:49:38 +02:00
Mireya Cueto Garrido 7717e2a5b2 feat: initialize frontend with React and Vite setup
- Add main application structure with App component
- Implement state management for counter functionality
- Create CSS styles for application layout and components
- Include assets for logos and hero image
- Set up Vite configuration for development environment
- Establish global CSS variables for theming
2026-04-16 09:55:10 +02:00
Mireya Cueto Garrido 1b7214d96c Initialize backend and frontend structure with Docker setup and dependencies 2026-04-16 09:12:00 +02:00