Skip to content

Development#1285

Open
NishaSharma14 wants to merge 94 commits intomainfrom
development
Open

Development#1285
NishaSharma14 wants to merge 94 commits intomainfrom
development

Conversation

@NishaSharma14
Copy link
Copy Markdown
Contributor

@NishaSharma14 NishaSharma14 commented Oct 30, 2025

Fixes #1326
Fixes #1323
Fixes #1319
Fixes #1312
Fixes #1311
Fixes #1292
Fixes #1305
Fixes #1303
Fixes #1292
Fixes #1290
Fixes #1251
Fixes #1309
Fixes #1306
Fixes #1294
Fixes #1287
Fixes #1279
Fixes #1278
Fixes #1276
Fixes #1275
Fixes #1271
Fixes #1263
Fixes #1262
Fixes #608

NishaSharma14 and others added 16 commits October 9, 2025 11:06
feat: enable CAS based import & extend molecule:clean to query for CAS metadata
* feat: refactor support bubble to block spamming.
- use google recaptcha v3 for bot detection
- implement rate limiting on support bubble submissions
- add server-side validation for gibberish content

* copilot review comment fix

* decrease the ratelimit

* fix: tidy up recaptcha from composer

* fix: composer warning suppressed, psr-5 warning resolved

---------

Co-authored-by: Venkata Nainala <mailcs76@gmail.com>
* configure laravel CSP

* include composer.lock changes

* fix pinting issues

* Update app/Support/Csp/Policies/NmrxivPolicy.php

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* fix pinting issues

* Apply suggestion from @Copilot

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* fix pinting issues

* fix: moved csp-report endpoint to admin routes and removed unused socialite orcid package

* chore: pint updates

* fix: ziggyvue import updates and also added link to the csp-report in the admin view

* chore: prettier formating added

* build dev image for CSP

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Chandu Nainala <mailcs76@gmail.com>
…s dashboard (#1277)

* feat: Enable search and filtering on projects dashboard
- update code to unify project badge logic
- move the project badge to a reusable component

* prettier formating

* run prettier

* copilot review changes

* add one time command to update project statuses

* fix: unmatched return type error fix

* fix: style changes to filter button

* fix: manifest json regenerated

* chore: pint formatting changes

* fix: composer update

* fix: npm audit fixes

---------

Co-authored-by: Venkata Nainala <mailcs76@gmail.com>
* fix: modify nmrxiv policy to fix csp issues

* fix:remove single policy addition and make multiple additions for font-src directive

* pint formatting

* updated policy to include missing directives

* update ORCID API endpoint in csp policy

* more formatting and removal of duplicates.

* NMRIUM_URL

* add nmrium in frame-src and connect-src directives

* revert dev build tag change

* revert missing tags for dev-latest images

* deploy latest csp changes

* fix:revert dev-build changes
* add test coverage workflow

* add .env.ci

* use postgres instead of mysql for testing

* add meilisearch test config and adjust redis to local for ci

* remove healtchecks for redis and meilisearch services

* fix the db mismatch issues in CI

* fix filesystem driver issue

* rectify .env file name

* add .env.ci.test with correct DB_PASSWORD

* skip ELNSubmissionTrackingTest.php test that requires external API access in CI environment

* ELNSubmissionTrackingTest

* fixx failing tests

* update Code cov token

* update test-coverage workflow and .env.ci.test

* fix LicenseFactory issue

* update composer install command and revert license factory changes

* fix env for mielisearch in ci

* run test for every commit/sync/pr/merge to dev and main branch

* linting fix

* skip ELNSubmissionTrackingTest and allow read and write permission for code coverage

* inherit secrets

* Update PostgreSQL image version to 17

---------

Co-authored-by: Chandu Nainala <mailcs76@gmail.com>
* add test coverage workflow

* add .env.ci

* use postgres instead of mysql for testing

* add meilisearch test config and adjust redis to local for ci

* remove healtchecks for redis and meilisearch services

* fix the db mismatch issues in CI

* fix filesystem driver issue

* rectify .env file name

* add .env.ci.test with correct DB_PASSWORD

* skip ELNSubmissionTrackingTest.php test that requires external API access in CI environment

* ELNSubmissionTrackingTest

* fixx failing tests

* update Code cov token

* update test-coverage workflow and .env.ci.test

* fix LicenseFactory issue

* update composer install command and revert license factory changes

* fix env for mielisearch in ci

* run test for every commit/sync/pr/merge to dev and main branch

* linting fix

* skip ELNSubmissionTrackingTest and allow read and write permission for code coverage

* inherit secrets

* feat: add tests for models

* chore: pint formatting of some tests

* fix: failing tests due to URL generation and storage issues

* run pint formatting

* fix: failing tests

* run pint formatting

* revert test database name

---------

Co-authored-by: Chandu Nainala <mailcs76@gmail.com>
* feat: add comprehensive project tests and factories

* fix: add unit tests for NMRiumModel

* pint formatting

* composer update symfony/http-foundation

* Update app/Events/ProjectMemberAdded.php

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update app/Events/AddingProjectMember.php

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Initial plan (#1296)

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>

* :void

* Initial plan (#1297)

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>

* revert copilot changes

* fix failing tests

* revert db name in phpunit.xml

* run lint

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Chandu Nainala <mailcs76@gmail.com>
* chore: csp optimization
remove csp routes and commands, update policy to remove unused sources

* review changes

* pint and formatting

---------

Co-authored-by: Chandu Nainala <mailcs76@gmail.com>
NishaSharma14 and others added 3 commits February 23, 2026 15:20
)

* feat: Add job for metadata extraction and generate BagIt packages

* fix: update study model to include bagit generation status
resolve job failure issue

* fix: remove unnecessary lines from the QueueMetadataExtractionBagitGenerationJobs command
* chore: npm audit fix

* chore: fix eslint update

* test: fix study model test

* chore: update composer lock
* fix: enable citation association for ELN submissions

The attachCitationsToStudy call was commented out in
ProcessDraftELNSubmission, preventing Chemotion publication
references from being persisted to the study. Also fixes
double JSON encoding on the citations column (already cast
as array on the Study model) and adds DraftProcessingLogger
for consistent error handling.

* test: add citation extraction tests for Chemotion metadata service

Covers extractStudies citation extraction with valid data and
verifies empty array fallback when no citations are present.

* fix: npm updates

* fix: extended test cases to improve coverage
NishaSharma14 and others added 9 commits March 23, 2026 13:56
…st (#1372)

* fix: resolve duplicate flash key causing auth error messages to be lost

The `flash` shared prop was defined twice in HandleInertiaRequests,
causing the second definition to silently overwrite the first. This
meant `flash.message` was never shared with the frontend, breaking
error display for social login failures (ORCID, GitHub, etc.).

Also fixes the Login.vue flash message div which used an unstyled
`alert` class invisible in Tailwind, replacing it with proper error
styling and adding `flash.error` support.

* fix: npm updates
* fix: filter default draft lookup by team_id to prevent cross-team mismatch

findDefaultDraft only filtered by owner_id, which could return a draft
from a different team. When the user uploaded files to that draft and
refreshed at step 2, UserDrafts::execute() filtered by the current
team_id and the draft would not appear in results.

* feat: add draft show endpoint for direct lookup by ID

Add DraftController::show() with ownership verification so the frontend
can fetch a specific draft when it is not found in the pre-loaded team-
scoped list. This provides a fallback for drafts that were created under
a different team context.

* fix: persist draft_id in URL at step 2 and add fallback draft lookup

selectStep(2) did not set draft_id in the query string, relying on it
persisting from step 1. Now it explicitly sets it. When a page refresh
at step 2 cannot find the draft in the team-scoped list, the frontend
falls back to a direct fetch via the new show endpoint.

* fix: npm updates

* fix: js formatting

* fix: coverage updates

--------
* feat: make DOI optional in manual citation entry.

* chore: update composer.lock

* chore: add missing test and copilot review changes
* chore: Fix Pint issues
* chore: update package-lock.json and yarn.lock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment