Skip to content
This repository has been archived by the owner on Mar 9, 2023. It is now read-only.

Reset tutorials #23

Open
wants to merge 23 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
9cd40cc
feat: upgrade to spring 3.0 and add daily-challenge ,tutorial api and…
Ram-20062003 Dec 28, 2022
475fb37
feat: update DC api and readme (#3)
Ram-20062003 Dec 30, 2022
e571a09
feat(Daily Challenge LeaderBoard): Added the DailyChallengeLeaderboar…
b1otch Jan 6, 2023
82edb0e
feat(dc): Add seeders for daily challenge and add get route for daily…
ZaBarudo Jan 12, 2023
ef89564
feat: add tutorials and recaptcha-validations (#7)
Valliammai-SM Jan 22, 2023
f5728a4
feat: Added Username Validation (#10)
ZaBarudo Feb 6, 2023
5230212
feat: add http2 and gzip compression (#12)
vigneshd332 Feb 6, 2023
cb1e01f
feat: add code,map,DC apis and scheduling (#11)
Ram-20062003 Feb 6, 2023
bf08349
feat: Updated README.md, defaultCodeModularity, added submodules (#16)
ZaBarudo Feb 14, 2023
264107c
feat: update open-api config for spring boot 3 and jakarta validation…
Ram-20062003 Feb 15, 2023
56363ca
update(Update game entities): Updated Attackers and Defenders (#17)
b1otch Feb 18, 2023
a1ef0ec
feat : add daily challenge algo, completion,battleTV (#15)
shubham-1806 Feb 26, 2023
8b5a839
feat: add getLeaderBoardbyTier and leaderboard update events (#13)
Valliammai-SM Feb 27, 2023
b20f2c7
fix: update timezone and remove unused variables in application.yml (…
Ram-20062003 Mar 1, 2023
23f918a
feat(Auto Matches): Added automatches functionality with rating (#14)
b1otch Mar 4, 2023
3810985
update: Update yml for prod and fix update ratings for TIER_PRACTICE …
Ram-20062003 Mar 7, 2023
b24c9ec
update(reset tutorial): added reset tutorial enum
b1otch Mar 9, 2023
b41d32a
update : add template email for sendgrid (#21)
Ram-20062003 Mar 9, 2023
6506e8f
add profile checks (#22)
Valliammai-SM Mar 9, 2023
33123d7
Merge branch 'main' into reset-tutorials
Ram-20062003 Mar 9, 2023
6fecb1e
update : stats for troops (#24)
shubham-1806 Mar 9, 2023
74bf45f
feat: add recaptcha check for forget-password
Ram-20062003 Mar 9, 2023
77bb6a4
Merge branch 'main' into reset-tutorials
vigneshd332 Mar 9, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
with:
arguments: test
- name: Upload coverage
uses: codecov/codecov-action@v2
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./server/build/reports/jacoco/test/jacocoTestReport.xml
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,12 @@ out/

### Data ###
data
dcConstants.json

### OpenAPI ###
openapitools.json

### App Config ###
server/src/main/resources/application.yml


3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "player_code"]
path = server/src/main/resources/player_code
url = https://github.com/delta/codecharacter-default-codes-2022
2 changes: 1 addition & 1 deletion .runConfigurations/Format.run.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@
<DebugAllEnabled>false</DebugAllEnabled>
<method v="2" />
</configuration>
</component>
</component>
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM gradle:7.3.3-jdk17 as base
FROM gradle:7.6-jdk17 as base
WORKDIR /server
COPY build.gradle.kts settings.gradle.kts gradlew ./
COPY library/build.gradle.kts library/settings.gradle.kts ./library/
Expand Down
26 changes: 15 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<h1 align="center">CodeCharacter Server 2022</h1>
<h1 align="center">CodeCharacter Server 2023</h1>

<p align="center">
<a href="https://github.com/delta/codecharacter-server-2022/actions/workflows/ci.yml">
<img src="https://github.com/delta/codecharacter-server-2022/actions/workflows/ci.yml/badge.svg"/>
<a href="https://github.com/delta/codecharacter-server-2023/actions/workflows/ci.yml">
<img src="https://github.com/delta/codecharacter-server-2023/actions/workflows/ci.yml/badge.svg"/>
</a>
<a href="https://github.com/delta/codecharacter-server-2022/actions/workflows/docs.yml">
<img src="https://github.com/delta/codecharacter-server-2022/actions/workflows/docs.yml/badge.svg"/>
<a href="https://github.com/delta/codecharacter-server-2023/actions/workflows/docs.yml">
<img src="https://github.com/delta/codecharacter-server-2023/actions/workflows/docs.yml/badge.svg"/>
</a>
<a href="https://codecov.io/gh/delta/codecharacter-server-2022">
<img src="https://codecov.io/gh/delta/codecharacter-server-2022/branch/main/graph/badge.svg?token=DW315MJFHY"/>
<a href="https://codecov.io/gh/delta/codecharacter-server-2023">
<img src="https://codecov.io/gh/delta/codecharacter-server-2023/branch/main/graph/badge.svg"/>
</a>
</p>

Expand All @@ -20,10 +20,14 @@
### Setup

1. Clone the repo and open in IntelliJ Ultimate.
2. Press `Ctrl+Alt+Shift+S` and make sure the JDK version is 17.
3. Press `Ctrl+Alt+S` and go to `Build, Execution, Deployment -> Docker` and make sure docker is configured correctly/
4. Copy `server/src/main/resources/application.example.yml` to `server/src/main/resources/application.yml`. If you want to use docker instead, copy the `server/src/main/resources/application.docker.example.yml` to `server/src/main/resources/application.yml`.
5. The run configurations will be available in the top bar:
2. From the project root directory,run ```./gradlew installGitHooks``` to install git-hooks
3. Press `Ctrl+Alt+Shift+S` and make sure the JDK version is 17.
4. Press `Ctrl+Alt+S` and go to `Build, Execution, Deployment -> Docker` and make sure docker is configured correctly/
5. Copy `server/src/main/resources/application.example.yml` to `server/src/main/resources/application.yml`. If you want to use docker instead, copy the `server/src/main/resources/application.docker.example.yml` to `server/src/main/resources/application.yml`.
6. Run `git submodule update --init`
7. Run `cp server/src/main/resources/dcConstans.example.json server/src/main/resources/dcConstans.json`
8. The run configurations will be available in the top bar:

![Run Configurations](https://i.imgur.com/pO2SrPd.png)

### Run Configurations
Expand Down
1 change: 1 addition & 0 deletions docker-compose.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ services:
networks:
- common


networks:
common:
name: codecharacter_common
Expand Down
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# CodeCharacter Server 2022
# CodeCharacter Server 2023

### Code Generation Process

Expand Down
Loading