Skip to content

Commit

Permalink
Update dependencies and fix deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
wrsuperboy committed Jan 31, 2024
1 parent 7269848 commit 962081e
Show file tree
Hide file tree
Showing 20 changed files with 537 additions and 501 deletions.
2 changes: 1 addition & 1 deletion tortolla-web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="UTF-8" />
<link rel="icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Tortolla Blog System</title>
<title>Tortolla Blog</title>
</head>
<body>
<div id="root"></div>
Expand Down
971 changes: 492 additions & 479 deletions tortolla-web/package-lock.json

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions tortolla-web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,28 +10,28 @@
"preview": "vite preview"
},
"dependencies": {
"@fluentui/react-components": "^9.45.0",
"@fluentui/react-components": "^9.46.2",
"markdown-it": "^14.0.0",
"monaco-editor": "^0.45.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-i18next": "^14.0.0",
"react-i18next": "^14.0.1",
"react-router-dom": "^6.21.3"
},
"devDependencies": {
"@types/markdown-it": "^13.0.7",
"@types/react": "^18.2.48",
"@types/react-dom": "^18.2.18",
"@typescript-eslint/eslint-plugin": "^6.19.0",
"@typescript-eslint/parser": "^6.19.0",
"@typescript-eslint/eslint-plugin": "^6.20.0",
"@typescript-eslint/parser": "^6.20.0",
"@vitejs/plugin-react": "^4.2.1",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.5",
"prettier-eslint": "^16.2.0",
"prettier-eslint": "^16.3.0",
"typescript": "^5.3.3",
"vite": "^5.0.11"
"vite": "^5.0.12"
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package clan.midnight.tortolla;
package clan.midnight.tortolla.service;

import clan.midnight.tortolla.User;
import clan.midnight.tortolla.repository.UserRepository;
import clan.midnight.tortolla.util.JwtUtil;
import clan.midnight.tortolla.util.PasswordEncoder;
import jakarta.annotation.Resource;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package clan.midnight.tortolla;

import clan.midnight.tortolla.repository.UserRepository;

import java.util.Date;

@SuppressWarnings("LombokGetterMayBeUsed")
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
package clan.midnight.tortolla;
package clan.midnight.tortolla.repository;

import clan.midnight.tortolla.Post;

import java.util.List;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package clan.midnight.tortolla;
package clan.midnight.tortolla.repository;


import clan.midnight.tortolla.User;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package clan.midnight.tortolla;
package clan.midnight.tortolla.persist;

import jakarta.persistence.*;
import lombok.AllArgsConstructor;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package clan.midnight.tortolla;
package clan.midnight.tortolla.persist;

import jakarta.persistence.*;
import lombok.AllArgsConstructor;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package clan.midnight.tortolla;
package clan.midnight.tortolla.repository;

import clan.midnight.tortolla.Post;
import clan.midnight.tortolla.persist.PostPO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.PageRequest;
import org.springframework.data.domain.Sort;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package clan.midnight.tortolla;
package clan.midnight.tortolla.repository;

import clan.midnight.tortolla.User;
import clan.midnight.tortolla.persist.UserPO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package clan.midnight.tortolla;
package clan.midnight.tortolla.repository;

import clan.midnight.tortolla.persist.PostPO;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.repository.PagingAndSortingRepository;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package clan.midnight.tortolla;
package clan.midnight.tortolla.repository;

import clan.midnight.tortolla.persist.UserPO;
import org.springframework.data.jpa.repository.JpaRepository;

public interface UserJpaRepository extends JpaRepository<UserPO, Long> {
Expand Down
4 changes: 2 additions & 2 deletions tortolla/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.2.0</version>
<version>3.2.2</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<groupId>clan.midnight</groupId>
Expand Down Expand Up @@ -61,7 +61,7 @@
<dependency>
<groupId>com.azure.spring</groupId>
<artifactId>spring-cloud-azure-dependencies</artifactId>
<version>5.7.0</version>
<version>5.8.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down
3 changes: 3 additions & 0 deletions tortolla/presentation/.azure/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.env
connections.resources.xml
deployment.targets.xml
1 change: 1 addition & 0 deletions tortolla/presentation/.azure/default/connections.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<connections />
3 changes: 3 additions & 0 deletions tortolla/presentation/.azure/profiles.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<profiles version="1" defaultProfile="default">
<profile name="default" />
</profiles>
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@ComponentScan(basePackages = {"clan.midnight.tortolla.controller"})
@ComponentScan(basePackages = {"clan.midnight.tortolla.controller", "clan.midnight.tortolla.repository", "clan.midnight.tortolla.service"})
public class TortollaApplication {

public static void main(String[] args) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
package clan.midnight.tortolla.controller;

import clan.midnight.tortolla.*;
import clan.midnight.tortolla.Post;
import clan.midnight.tortolla.User;
import clan.midnight.tortolla.repository.PostRepository;
import clan.midnight.tortolla.repository.UserRepository;
import clan.midnight.tortolla.request.CreatePostRequest;
import clan.midnight.tortolla.request.DeletePostRequest;
import clan.midnight.tortolla.response.*;
import clan.midnight.tortolla.service.UserService;
import jakarta.annotation.Resource;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package clan.midnight.tortolla.controller;

import clan.midnight.tortolla.User;
import clan.midnight.tortolla.UserRepository;
import clan.midnight.tortolla.UserService;
import clan.midnight.tortolla.repository.UserRepository;
import clan.midnight.tortolla.request.SignInRequest;
import clan.midnight.tortolla.request.SignUpRequest;
import clan.midnight.tortolla.response.*;
import clan.midnight.tortolla.service.UserService;
import jakarta.annotation.Resource;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
Expand Down

0 comments on commit 962081e

Please sign in to comment.