Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
13 changes: 8 additions & 5 deletions .env.template
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# A trailing slash is required
DEV_HOST = "<<Your Debbuging Server Host>>"
ALPHA_HOST = "<<Your Alpha Server Host>>"
PROD_HOST = "<<Your Production Server Host>>"
PLAUSIBLE_HOST = "<<Your Plausible Analytics Host>>"
PLAUSIBLE_DOMAIN = "<<Your Plausible Analytics Domain>>"
DEV_URL = "http://localhost:3000/"
ALPHA_URL = "https://titan.dev.eclair.ec-lyon.fr/"
PROD_URL = "https://myecl.fr/"
DEV_HOST = "http://localhost:8000/"
ALPHA_HOST = "https://hyperion.dev.eclair.ec-lyon.fr/"
PROD_HOST = "https://hyperion.myecl.fr/"
#PLAUSIBLE_HOST = ""
#PLAUSIBLE_DOMAIN = ""
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
### Subject of the issue

Describe your issue here.

### Your environment

- Version of Hyperion
- Operating system

### Steps to reproduce

Tell us how to reproduce this issue. Please provide a working demo.

### Expected behaviour

Tell us what should happen

### Actual behaviour

Tell us what happens instead
73 changes: 73 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
# Description

## Summary

<!--BRIEF description: DON'T EXPLAIN the code: JUSTIFY what this PR is for!-->

...

<!--#### Sources at the end-->

## Issues/PR dependencies

<!--Use a keyword, then #123 for the same repo or aeecleclair/RepoName#123 for another-->

### Issues to be resolved

<!--Keywords: "closes", "fixes", "resolves" -->
<!--Fixes #-->

### Required PRs

<!--Keywords: "depends on", "blocked by" -->
<!--Depends on aeecleclair/Hyperion#-->

## Changes Made

<!--DESCRIBE the changes: tell the BIG STEPS, use a CHECKLIST to show progress. You can explain below how the code works.-->

- [x] ...
- [ ] ...

## Additional Notes

<!--Anything relevant that does not quite fit in the summary-->

<!--Don't touch these two tags-->
<details>
<summary>

# Classification

</summary>

## Type of Change

- [ ] 🐛 Bug fix (non-breaking change which fixes an issue)
- [ ] ✨ New feature (non-breaking change which adds functionality)
- [ ] 🔨 Refactor (non-breaking change that neither fixes a bug nor adds a feature)
- [ ] 🔧 Infra CI/CD (changes to configs of workflows)
- [ ] 💥 BREAKING CHANGE (fix or feature that require a new minimal version of the front-end)
- [ ] 😶‍🌫️ No impact for the end-users

## Impact & Scope

- [ ] Core functionality changes
- [ ] Single module changes
- [ ] Multiple modules changes
- [ ] Other: ... <!--Not module-oriented: write something!-->

## Testing

- [ ] 1. Tested this locally
- [ ] 2. Added/modified tests that pass the CI (or tested in a downstream fork)
- [ ] 3. Tested in a local client using a pre-prod backend
- [ ] 0. Untestable (exceptionally), will be tested in prod directly

## Documentation

- [ ] Updated [the docs](docs.myecl.fr) accordingly : <!--[Docs#0 - Title](https://github.com/aeecleclair/myecl-documentation/pull/0)-->
- [ ] `//` Comments
- [ ] No documentation needed

</details>
16 changes: 0 additions & 16 deletions .github/PULL_REQUEST_TEMPLATE/Titan_PR_Template.md

This file was deleted.

32 changes: 16 additions & 16 deletions .github/dependabot.yaml → .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# Dependabot version updates
# https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/about-dependabot-version-updates

version: 2
updates:
# Maintain dependencies for GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "monthly"

# Maintain Python dependencies
- package-ecosystem: "pub"
directory: "/"
schedule:
interval: "monthly"
# Dependabot version updates
# https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/about-dependabot-version-updates
version: 2
updates:
# Maintain dependencies for GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "monthly"
# Maintain Python dependencies
- package-ecosystem: "pub"
directory: "/"
schedule:
interval: "monthly"
5 changes: 5 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@ jobs:
java-version: "23.x"
cache: "gradle"

# Remove ^ to fix flutter version parsing
- name: Fix Flutter Version in Pubspec
run: |
sed -i 's/flutter: ^/flutter: /' pubspec.yaml

- name: Setup Flutter SDK
uses: subosito/flutter-action@v2
with:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/lintandformat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ jobs:
- name: Check out the code
uses: actions/checkout@v4

# Remove ^ to fix flutter version parsing
- name: Fix Flutter Version in Pubspec
run: |
sed -i 's/flutter: ^/flutter: /' pubspec.yaml

- uses: subosito/flutter-action@v2
with:
channel: "stable"
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/release-mobile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,11 @@ jobs:
java-version: "23.x"
cache: "gradle"

# Remove ^ to fix flutter version parsing
- name: Fix Flutter Version in Pubspec
run: |
sed -i 's/flutter: ^/flutter: /' pubspec.yaml

- name: Setup Flutter SDK
uses: subosito/flutter-action@v2
with:
Expand All @@ -77,7 +82,7 @@ jobs:
printf "%s" "$CONFIG" > config.json
env:
CONFIG: ${{ vars.ALPHA_CONFIG }}

- name: Configure Alpha config.json
if: needs.extract-version.outputs.isAlpha == 'false'
run: |
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/release-web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@ jobs:
- name: Checkout 🛎️
uses: actions/checkout@v4

# Remove ^ to fix flutter version parsing
- name: Fix Flutter Version in Pubspec
run: |
sed -i 's/flutter: ^/flutter: /' pubspec.yaml

- name: Setup Flutter SDK
uses: subosito/flutter-action@v2
with:
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Test

on:
pull_request:
types: [opened, edited, ready_for_review, synchronize]
types: [opened, ready_for_review, synchronize]
push:
branches:
- main
Expand All @@ -17,6 +17,11 @@ jobs:
- name: Check out the code
uses: actions/checkout@v4

# Remove ^ to fix flutter version parsing
- name: Fix Flutter Version in Pubspec
run: |
sed -i 's/flutter: ^/flutter: /' pubspec.yaml

- uses: subosito/flutter-action@v2
with:
channel: "stable"
Expand Down
3 changes: 3 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"recommendations": ["dart-code.flutter", "oderwat.indent-rainbow"]
}
15 changes: 14 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
{
"editor.formatOnSave": true
"editor.tabSize": 2,
"indentRainbow.colors": [
"rgba(0,0,255,0.15)",
"rgba(0,255,0,0.15)",
"rgba(255,0,0,0.15)",
"rgba(0,255,255,0.15)",
"rgba(255,0,255,0.15)",
"rgba(255,255,0,0.15)"
],
"[dart]": {
"editor.formatOnSave": true,
"editor.formatOnType": true,
"editor.rulers": [80]
}
}
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
FROM nginx:1.28.0-alpine
FROM nginx:1.28.0-alpine3.21-slim
COPY nginx.conf /etc/nginx/nginx.conf
COPY ./build/web/ /app/html
COPY ./build/web/ /app/html
RUN find /app/html/ -type f -size +512c -regex '.*\.\(html\|css\|js\|json\|svg\|ttf\|otf\|woff2\|wasm\|mjs\|symbols\|yaml\|env\)' -exec gzip -k9 {} +
File renamed without changes.
Loading