Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found
Select Git revision
  • add_route_assignments
  • ask-user-to-delete-exercises-on-duplicates
  • bedran_exercise-list
  • jw_sonar
  • jw_sonar_backup
  • main
  • update-dependencies
  • v6.0.0
  • 2.0.0
  • 2.1.0
  • 2.2.0
  • 3.0.0
  • 3.0.1
  • 3.1.0
  • 3.1.1
  • 3.1.2
  • 3.1.3
  • 3.2.0
  • 3.3.0
  • 3.4.0
  • 3.4.1
  • 3.4.2
  • 3.5.0
  • 3.5.1
  • 3.5.2
  • 3.5.3
  • 4.0.0
  • 4.1.0
  • 5.0.0
  • 5.0.1
  • 6.0.0-dev
  • v1.0.1
32 results

Target

Select target project
No results found
Select Git revision
  • add_route_assignments
  • ask-user-to-delete-exercises-on-duplicates
  • bedran_exercise-list
  • jw_sonar
  • jw_sonar_backup
  • main
  • update-dependencies
  • v6.0.0
  • 2.0.0
  • 2.1.0
  • 2.2.0
  • 3.0.0
  • 3.0.1
  • 3.1.0
  • 3.1.1
  • 3.1.2
  • 3.1.3
  • 3.2.0
  • 3.3.0
  • 3.4.0
  • 3.4.1
  • 3.4.2
  • 3.5.0
  • 3.5.1
  • 3.5.2
  • 3.5.3
  • 4.0.0
  • 4.1.0
  • 5.0.0
  • 5.0.1
  • 6.0.0-dev
  • v1.0.1
32 results
Show changes
93 files
+ 8181
4528
Compare changes
  • Side-by-side
  • Inline

Files

+3 −0
Original line number Diff line number Diff line
@@ -7,6 +7,8 @@ ExpressAPI/src/config/Version.ts
redoc.html
OpenAPI.yaml-r

sonarlint.xml
sonarlint/

############################ MacOS
# General
@@ -193,6 +195,7 @@ web_modules/
.flaskenv*
!.env.project
!.env.vault
!config.env

# parcel-bundler cache (https://parceljs.org/)
.cache
+47 −12
Original line number Diff line number Diff line
@@ -16,6 +16,7 @@ variables:
    WIKI_FOLDER: Wiki
        


.get_version:
    script:
        - IS_DEV=$([[ $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH ]] && echo false || echo true)
@@ -72,6 +73,36 @@ code_quality:lint:

        - npm install
        - npm run lint
    rules:
        -   if: $CI_COMMIT_TAG
            when: never
        -   if: $CI_PIPELINE_SOURCE == "merge_request_event"
            when: manual
        -   when: on_success


code_quality:sonarqube:
    stage: code_quality
    tags:
        - code_quality
    image:
        name: leadrien/isc-sonar-scanner-cli
        entrypoint: [ "" ]
    variables:
        SONAR_USER_HOME: "${CI_PROJECT_DIR}/.sonar" # Defines the location of the analysis task cache
        GIT_DEPTH: "0" # Tells git to fetch all the branches of the project, required by the analysis task
    cache:
        key: "${CI_JOB_NAME}"
        paths:
            - .sonar/cache
    script:
        - sonar-scanner
    rules:
        -   if: $CI_COMMIT_TAG
            when: never
        -   if: $CI_PIPELINE_SOURCE == "merge_request_event"
            when: manual
        -   when: on_success


test:build:
@@ -84,7 +115,11 @@ test:build:
        - npm install
        - npm run build
    rules:
        - if: '$CI_COMMIT_TAG =~ "/^$/"'
        -   if: $CI_COMMIT_TAG
            when: never
        -   if: $CI_PIPELINE_SOURCE == "merge_request_event"
            when: manual
        -   when: on_success


clean:release:
@@ -96,7 +131,7 @@ clean:release:
        - !reference [.get_version, script]
        - !reference [.clean_release, script]
    rules:
        - if: '$CI_COMMIT_REF_PROTECTED == "true"'
        - if: $CI_COMMIT_REF_PROTECTED == "true"


clean:packages:
@@ -108,10 +143,10 @@ clean:packages:
        - !reference [.get_version, script]
        - !reference [.clean_packages, script]
    rules:
        - if: '$CI_COMMIT_REF_PROTECTED == "true"'
        - if: $CI_COMMIT_REF_PROTECTED == "true"


clean:dev:release:
clean:release:dev:
    stage: clean
    tags:
        - gitlab_clean
@@ -121,10 +156,10 @@ clean:dev:release:
        - VERSION="${VERSION}${VERSION_DEV_SUFFIX}"
        - !reference [.clean_release, script]
    rules:
        - if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
        - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH


clean:dev:packages:
clean:packages:dev:
    stage: clean
    tags:
        - gitlab_clean
@@ -134,10 +169,10 @@ clean:dev:packages:
        - VERSION="${VERSION}${VERSION_DEV_SUFFIX}"
        - !reference [.clean_packages, script]
    rules:
        - if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
        - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH


upload:packages:wiki:
upload:packages:doc:wiki:
    stage: upload
    tags:
        - gitlab_package
@@ -157,10 +192,10 @@ upload:packages:wiki:
        # Send package
        - 'curl --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file ${WIKI_ARCHIVE_PATH} "${PACKAGE_URL_WIKI}";'
    rules:
        - if: '$CI_COMMIT_REF_PROTECTED == "true"'
        - if: $CI_COMMIT_REF_PROTECTED == "true"


release:wiki:
release:doc:wiki:
    stage: release
    tags:
        - release
@@ -205,7 +240,7 @@ release:wiki:
        # Push the change back to the master branch of the wiki
        - git push origin "HEAD:main"
    rules:
        - if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
        - when: never


release:gitlab:
@@ -245,4 +280,4 @@ release:gitlab:
              --header "JOB-TOKEN: $CI_JOB_TOKEN" \
              --request POST "${GITLAB_API_PROJECT_URL}/releases"
    rules:
        - if: '$CI_COMMIT_REF_PROTECTED == "true"'
        - if: $CI_COMMIT_REF_PROTECTED == "true"

.idea/.gitignore

0 → 100644
+5 −0
Original line number Diff line number Diff line
# Default ignored files
/shelf/
/workspace.xml
# Editor-based HTTP Client requests
/httpRequests/
+12 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="UTF-8"?>
<module type="WEB_MODULE" version="4">
  <component name="NewModuleRootManager">
    <content url="file://$MODULE_DIR$">
      <excludeFolder url="file://$MODULE_DIR$/.tmp" />
      <excludeFolder url="file://$MODULE_DIR$/temp" />
      <excludeFolder url="file://$MODULE_DIR$/tmp" />
    </content>
    <orderEntry type="inheritedJdk" />
    <orderEntry type="sourceFolder" forTests="false" />
  </component>
</module>
 No newline at end of file
+17 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
  <component name="MaterialThemeProjectNewConfig">
    <option name="metadata">
      <MTProjectMetadataState>
        <option name="migrated" value="true" />
        <option name="pristineConfig" value="false" />
        <option name="userId" value="104e8585:19002424fea:-7ffe" />
      </MTProjectMetadataState>
    </option>
    <option name="titleBarState">
      <MTProjectTitleBarConfigState>
        <option name="overrideColor" value="false" />
      </MTProjectTitleBarConfigState>
    </option>
  </component>
</project>
 No newline at end of file

.idea/modules.xml

0 → 100644
+8 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
  <component name="ProjectModuleManager">
    <modules>
      <module fileurl="file://$PROJECT_DIR$/.idea/dojobackendapi.iml" filepath="$PROJECT_DIR$/.idea/dojobackendapi.iml" />
    </modules>
  </component>
</project>
 No newline at end of file

.idea/vcs.xml

0 → 100644
+7 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
  <component name="VcsDirectoryMappings">
    <mapping directory="" vcs="Git" />
    <mapping directory="$PROJECT_DIR$/ExpressAPI/src/shared" vcs="Git" />
  </component>
</project>
 No newline at end of file
+60 −0
Original line number Diff line number Diff line
@@ -18,6 +18,66 @@
-->


## 6.0.0 (Upcoming)

### ✨ Feature
- Add SonarQube integration for exercises (thanks to @joel.vonderwe)
- Add routes to list exercises of a user (thanks to @bedran.sezer)
- Add routes to list available assignments (thanks to @bedran.sezer)

### 🔨 Internal / Developers
- Major dependencies update


## 5.0.1 (2025-02-25)

### 🐛 Bugfix
- Fix some bugs related to assignments / exercises deletion

### 🔨 Internal / Developers
- Adminer: Style migration to dracula theme


## 5.0.0 (2024-10-21)

### ✨ Feature
- Add possibility of self-host the solution


## 4.2.0 (2024-07-05)

### ✨ Feature
- Add support for tags on assignments and exercises (thanks to @vincent.steinman)
- Add possibility for user and staff to delete an exercise (thanks to @bedran.sezer)


## 4.1.0 (2024-05-28)

### ✨ Feature
- Add features related to corrige (commentary, commit specific link / update, delete link)

### 🎨 Interface
- Ask for confirmation before creating an exercise that already exists


## 4.0.0 (2024-04-19)

### ✨ Feature
- Add features related to corrige (commentary, commit specific link / update, delete link)

### 🔨 Internal / Developers
- Migration to GitBreaker library for all Gitlab API calls
- SonarQube integration
- Multi-process start is disabled where it is not in a production environment

### 🐛 Bugfix
- Fix no response when Authorization header is missing
- Fix get assignment by url with assignment containing spaces

### 📚 Documentation
- Corrige routes documentation


## 3.5.3 (2024-02-26)

### 🐛 Bugfix