Commit Graph

104 Commits

Author SHA1 Message Date
Mireya Cueto Garrido 410fd4a09e Create .gilab-ci.yml 2026-05-13 10:34:32 +02:00
Alexis López 574ea2c541 Merge pull request #19 from uja-dev-practices/feature/frontend-v5
fix: mapear puertos en docker compose
2026-05-13 10:29:45 +02:00
Alexis López ec366eaab1 Merge branch 'main' into feature/frontend-v5 2026-05-13 10:29:34 +02:00
Mireya Cueto Garrido 5dc6de5b6a Merge branch 'main' of http://serezade.ujaen.es:8030/fjmimbre/orcid_system 2026-05-13 10:25:05 +02:00
Mireya Cueto Garrido 3573bec572 Cambios finales 2026-05-13 10:19:44 +02:00
Alexis 9a43059b60 dix: mapear puertos en docker compose 2026-05-13 10:16:34 +02:00
Mireya d0a3d445e1 Edit docker-compose.yml 2026-05-12 11:06:19 +00:00
Alexis López 56f5dde54a Merge pull request #18 from uja-dev-practices/develop
V1.0
2026-05-12 12:35:51 +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
Mireya Cueto Garrido 8beb6bc21c Merge pull request #16 from uja-dev-practices/feature/backend-v5
Feature/backend v5
2026-05-12 10:44:45 +02:00
Alexis López 0fa7bc349c Merge pull request #17 from uja-dev-practices/feature/frontend-v5
feat: enhance UI components and improve user experience
2026-05-12 10:43:10 +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
Mireya Cueto Garrido c0de6083a4 feat: update deployment configuration and enhance project structure
- Removed unnecessary entries from .gitignore for cleaner configuration.
- Added .gitlab-ci.yml for automated deployment to Sinbad2.
- Updated docker-compose.yml to change backend and frontend ports for consistency.
- Introduced README.md with comprehensive project documentation and setup instructions.
- Created backend and frontend environment configuration files for development and production.
2026-05-11 11:40:10 +02:00
Mireya 35bfc889d0 Edit docker-compose.yml 2026-05-11 09:25:39 +00:00
Mireya Cueto Garrido c190c96752 Remove color parameter from certificate icons 2026-05-08 14:00:46 +02:00
Mireya Cueto Garrido bf35fcaaf3 Revise README with project overview and tech stack
Updated project description, added tech stack badges, and detailed project overview.
2026-05-08 13:41:49 +02:00
Mireya Cueto Garrido c595db0402 Merge pull request #15 from uja-dev-practices/feature/backend-v5
Feature/backend v5
2026-05-08 12:14:39 +02:00
Mireya Cueto Garrido 1dd1096744 feat: enhance error handling and configuration in backend
- Added ORCID_REDIRECT_URI to docker-compose for OAuth callback.
- Refactored CORS and trusted hosts settings in configuration for better clarity.
- Introduced a new function to validate publication IDs and provide explicit error messages for researcher IDs.
- Updated rate limiting strategy to simplify configuration.
- Improved security headers middleware to safely remove sensitive headers.
2026-05-08 12:13:05 +02:00
Mireya Cueto Garrido af1b8e9956 feat: enhance backend security and configuration
- Updated Dockerfile to improve security with a non-root user and added health checks.
- Modified docker-compose.yml to set containers as read-only, restrict ports to localhost, and implement health checks.
- Enhanced .env.example with additional environment variables for security and configuration.
- Improved FastAPI application with middleware for security headers, CORS, and body size limits.
- Refactored authentication flow in auth.py to include state validation and improved error handling.
- Added rate limiting to various endpoints to prevent abuse.
- Updated researcher and publication handling to ensure better validation and error management.
2026-05-08 11:19:52 +02:00
Alexis López f157133abb Merge pull request #14 from uja-dev-practices/develop
Develop
2026-05-07 13:58:10 +02:00
Alexis 27b9828e60 Merge branch 'develop' 2026-05-07 13:56:15 +02:00
Alexis López 96e58dbd16 Merge pull request #13 from uja-dev-practices/feature/frontend-v5
feat: update branding and enhance AppHeader functionality
2026-05-07 13:51:49 +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
Mireya Cueto Garrido 6de277d4f0 feat: add display name resolution for researchers from ORCID
- Introduced a new function to fetch and extract the display name of researchers from the ORCID API.
- Updated the researcher search response to set the display name if it is not already defined, enhancing researcher data accuracy.
2026-05-07 12:43:10 +02:00
Alexis López bdb36ee13c Merge pull request #12 from uja-dev-practices/feature/frontend-v4
Feature/frontend v4
2026-05-07 12:25:43 +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 López 4b1de64fb0 Merge pull request #11 from uja-dev-practices/feature/frontend-v3
feat: enhance authentication flow and UI components
2026-04-29 12:24:37 +02:00
Mireya Cueto Garrido f764b48a44 Merge pull request #10 from uja-dev-practices/feature/backend-v4
feat: implement ORCID OAuth callback and update environment configura…
2026-04-29 12:20:24 +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
Mireya Cueto Garrido b49152946e feat: implement ORCID OAuth callback and update environment configuration
- Added ORCID_REDIRECT_URI to docker-compose for OAuth integration.
- Introduced a new callback endpoint to handle ORCID login and token exchange.
- Refactored authentication logic to streamline the OAuth process.
- Ensured local environment variables are loaded for development.
2026-04-29 12:19:41 +02:00
Alexis López d743afd446 Merge pull request #9 from uja-dev-practices/feature/frontend-v2
feat: implement unified researcher search and enhance dashboard functionality
2026-04-29 10:29:11 +02:00
Mireya Cueto Garrido d70e1a9f12 Merge pull request #8 from uja-dev-practices/feature/backend-v4
feat: enhance authentication and publication download tracking
2026-04-29 10:28:02 +02:00
Mireya Cueto Garrido fec26089ed feat: enhance authentication and publication download tracking
- Added JWT authentication support with configurable secret and expiration.
- Introduced optional API key validation for endpoints.
- Implemented tracking of publication downloads by researchers, storing records in a new PublicationDownload model.
- Updated export endpoints to conditionally register downloads based on user authentication.
- Enhanced researcher search response to indicate if publications were downloaded by the current user.
- Updated environment configuration to include new JWT settings.
2026-04-29 10:27:17 +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 579a23e2f9 Merge pull request #6 from uja-dev-practices/backend-v3
refactor: update researcher API endpoints to include batch search and…
2026-04-28 09:42:57 +02:00
Mireya Cueto Garrido c0eb0d3916 refactor: update researcher API endpoints to include batch search and statistics functionality
- Removed deprecated search logic and replaced it with a new structure for handling researcher statistics.
- Introduced new schemas for batch search requests and responses.
- Enhanced the search endpoint to return publication statistics alongside researcher data.
- Updated docker-compose file to remove unnecessary versioning.
2026-04-28 09:41:45 +02:00
Mireya Cueto Garrido 4db4697631 Merge pull request #5 from uja-dev-practices/backend-v3
env update
2026-04-27 13:53:29 +02:00
Mireya Cueto Garrido 60cb036f3e env update 2026-04-27 13:52:58 +02:00
Mireya Cueto Garrido ab651375c8 Merge pull request #4 from uja-dev-practices/backend-v3
Versión 3 Backend - Endpoints finales corregidos
2026-04-27 13:46:25 +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 López 89c45b7d67 Merge pull request #3 from uja-dev-practices/feature/frontend-v1
feat: first version of the interface,  integrate Tailwind CSS and upd…
2026-04-23 09:51:12 +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 efe771330a Merge pull request #2 from uja-dev-practices/backend-v2
feat: implement researcher and publication management with sync funct…
2026-04-21 14:01:00 +02:00
Mireya Cueto Garrido a286c2e3ae feat: implement researcher and publication management with sync functionality 2026-04-21 13:59:41 +02:00