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

Story/vspc 196 #344

Open
wants to merge 35 commits into
base: develop
Choose a base branch
from
Open

Story/vspc 196 #344

wants to merge 35 commits into from

Conversation

ajay3568yadav
Copy link
Contributor

Guidelines for Pull Requests

If you haven't yet read our code review guidelines, please do so, You can find them here.

Please confirm the following by adding an x for each item (turn [ ] into [x]).

  • I have removed all code style changes that are not necessary (e.g. changing blanks across the whole file that don’t need to be changed, adding empty lines in parts other than your own code)
  • I am not making any changes to files that don’t have any effect (e.g. imports added that don’t need to be added)
  • I do not have any sysout statements in my code or commented out code that isn’t needed anymore
  • I am not reformatting any files in the wrong format or without cause.
  • I am not changing file encoding or line endings to something else than UTF-8, LF
  • My pull request does not show an insane amount of files being changed although my ticket only requires a few files being changed
  • I have added Javadoc/documentation where appropriate
  • I have added test cases where appropriate
  • I have explained any part of my code/implementation decisions that is not be self-explanatory

Please provide a brief description of your ticket

(you can copy the ticket if it hasn't changed)

It should be possible to reuse link images

Anything else the reviewer needs to know?

https://diging.atlassian.net/browse/VSPC-196?focusedCommentId=24055

@diging-jenkins
Copy link

Can one of the admins verify this patch?

@ajay3568yadav ajay3568yadav reopened this Jun 6, 2024
@jdamerow
Copy link
Member

please reopen existing pr so the comment history is kept

@jdamerow jdamerow closed this Jun 10, 2024
@ajay3568yadav ajay3568yadav reopened this Jul 24, 2024
@jdamerow
Copy link
Member

jdamerow commented Nov 8, 2024

Resolve conflicts please

Copy link
Member

@jdamerow jdamerow left a comment

Choose a reason for hiding this comment

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

I'll stop here. There seem to be a bunch of wrong formatting and indentation changes, and in general unnecessary changes. Please fix first before I review.

vspace/pom.xml Outdated
<javers.version>5.15.0</javers.version>
<spring-security-version>5.3.3.RELEASE</spring-security-version>
<thymeleaf.version>3.0.11.RELEASE</thymeleaf.version>
<javers.version>5.11.1</javers.version>
Copy link
Member

Choose a reason for hiding this comment

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

is there are reason these are being downgraded?

vspace/pom.xml Outdated
<db.url>jdbc:mysql://localhost:3306/vspace?serverTimezone=UTC</db.url>
<db.user>root</db.user>
<db.password>Metroplaza@2023</db.password>
<uploaded.files.path>/Users/ajayyadav/Downloads/Vpsace_images</uploaded.files.path>
Copy link
Member

Choose a reason for hiding this comment

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

should not be changed

vspace/pom.xml Outdated
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<version>2.3.1</version>
</dependency>
Copy link
Member

Choose a reason for hiding this comment

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

formatting

vspace/pom.xml Outdated
<artifactId>thymeleaf-extras-springsecurity5</artifactId>
<version>3.0.3.RELEASE</version>
</dependency>
Copy link
Member

Choose a reason for hiding this comment

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

formatting

vspace/pom.xml Outdated
@@ -424,4 +406,5 @@
</plugin>
</plugins>
</build>
</project>

</project>
Copy link
Member

Choose a reason for hiding this comment

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

there are a bunch of versions being downgraded here which they shouldn't

protected abstract T getTarget(String linkedId);

protected abstract U createDisplayLink(L link);

Copy link
Member

Choose a reason for hiding this comment

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

I'm so confused, why is this here? I this needed for this ticket?

Copy link
Member

Choose a reason for hiding this comment

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

ah I see, this should not be moved

Copy link
Member

Choose a reason for hiding this comment

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

?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This came from merging changes from the main branch

@RequestParam("moduleLinkLabel") String moduleLinkLabel, @RequestParam("moduleType") String displayType,
@RequestParam("moduleLinkImage") MultipartFile file)
throws NumberFormatException, SpaceDoesNotExistException, IOException, ImageCouldNotBeStoredException {
public ResponseEntity<String> createModuleLink(@PathVariable("id") String id, @RequestParam("x") String x,
Copy link
Member

Choose a reason for hiding this comment

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

Indentation is wrong I believe

@jdamerow jdamerow closed this Nov 8, 2024
This reverts commit fda3666.

revert
ajay Yadav and others added 2 commits November 20, 2024 16:09
protected abstract T getTarget(String linkedId);

protected abstract U createDisplayLink(L link);

Copy link
Member

Choose a reason for hiding this comment

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

?

@@ -119,7 +119,7 @@
{ "code": "na", "label": "Nauru" },
{
"code": "nb",
"label": "Bokm�l, Norwegian; Norwegian Bokm�l"
"label": "BokmÂl, Norwegian; Norwegian BokmÂl"
Copy link
Member

Choose a reason for hiding this comment

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

why is this being changed?

@@ -184,7 +184,7 @@
{ "code": "uz", "label": "Uzbek" },
{ "code": "ve", "label": "Venda" },
{ "code": "vi", "label": "Vietlabelse" },
{ "code": "vo", "label": "Volapk" },
{ "code": "vo", "label": "Volap¸k" },
Copy link
Member

Choose a reason for hiding this comment

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

or this?

* @param search This is the search term used to find spaces by name.
* @return A ResponseEntity containing a JSON array of spaces (ID and name) and HTTP status OK.
*/

Copy link
Member

Choose a reason for hiding this comment

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

remove empty line

Copy link
Member

Choose a reason for hiding this comment

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

actually what is this javaodc for?





Copy link
Member

Choose a reason for hiding this comment

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

too many empty lines

display.getPositionY(), display.getRotation(), display.getExternalLink().getExternalLink(), title,
displayType, null, null);
display.getPositionY(), display.getRotation(), display.getExternalLink().getExternalLink(), title,
displayType, null, null);
Copy link
Member

Choose a reason for hiding this comment

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

a lot of wrong indentation in this file

@jdamerow jdamerow closed this Nov 28, 2024
@ajay3568yadav ajay3568yadav reopened this Dec 13, 2024
@ajay3568yadav
Copy link
Contributor Author

there are some code factor issues but I believe they are not currently affecting the app's functionality.

@jdamerow
Copy link
Member

Make it so, Jenkins.

@jdamerow
Copy link
Member

there are test failures.

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.

3 participants