Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/#2718 mapping path static resources3 #2750

Merged
merged 7 commits into from
Nov 17, 2023

Conversation

Limraj
Copy link
Collaborator

@Limraj Limraj commented Oct 28, 2023

No description provided.

- Added StaticImagesController, StaticImagesUtils;
- Refactoring system/url path;
- Added parameters to env.properties: webresource.uploads.path, webresource.graphics.path
@Limraj Limraj added this to the 2.7.7 milestone Oct 28, 2023
@github-actions
Copy link

github-actions bot commented Oct 28, 2023

Java Script Mocha Unit Test Results

268 tests   268 ✔️  4s ⏱️
  70 suites      0 💤
    1 files        0

Results for commit 44ca573.

♻️ This comment has been updated with latest results.

@github-actions
Copy link

github-actions bot commented Oct 28, 2023

Java JUnit Test Results

2 308 tests   2 308 ✔️  24s ⏱️
     97 suites         0 💤
     97 files           0

Results for commit 44ca573.

♻️ This comment has been updated with latest results.

@Limraj Limraj requested a review from Patrykb0802 November 2, 2023 17:59
Added:
- Feature that enables choosing write/read paths for uploaded images and graphics for graphical view for old and new UI inside system settings
- Validation for uploads and graphics path (old and new UI)
- Methods in utils for accessing uploads and graphics files in dwr, service and utils classes
}
},
validateForm(paths){
const values = paths.map(item => item.value);
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

here you could probably use 'every' instead of 'map'

removal of unnecessary declaration const path = require('path'); corrected translation key, and value; support path with whitespace; refactor MiscSettingsComponent.validateForm
@Limraj Limraj merged commit 8028a41 into release/2.7.7 Nov 17, 2023
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants