Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
87 commits
Select commit Hold shift + click to select a range
5b73f05
Feature/setup ui (#1)
RuellePaul Jan 14, 2021
e87881f
Feature/setup api (#2)
RuellePaul Jan 18, 2021
1db4e15
Feature/setup design (#3)
RuellePaul Jan 21, 2021
2bdb259
Feature/auth (#4)
RuellePaul Jan 26, 2021
1ba431c
Feature/settings (#6)
RuellePaul Mar 2, 2021
6d5b0c6
Feature/ux (#7)
RuellePaul Mar 11, 2021
62b4b84
Feature/dataset creation & refactoring. Start infra (#8)
RuellePaul Mar 12, 2021
5d7b026
Feature/test environnement & dataset frontend (#9)
RuellePaul Mar 16, 2021
f7b4e4a
Feature/users chart (#10)
RuellePaul Mar 16, 2021
ff1c3d6
Feature/test server (#11)
RuellePaul Mar 18, 2021
32c27c0
Feature/upload (#12)
RuellePaul Apr 13, 2021
2a7bc6e
Feature/images front (#13)
RuellePaul Apr 19, 2021
4d234d7
Feature/useImages hook (#14)
RuellePaul Apr 20, 2021
8479683
Feature/labelisator (#16)
RuellePaul Apr 27, 2021
da7c291
Feature/add delete dataset method (#17)
ThomasRoudil Apr 27, 2021
a381fd6
wip generator
ThomasRoudil Apr 27, 2021
0a92492
WIP front
Apr 27, 2021
1cb3ace
modify uuid import
ThomasRoudil Apr 27, 2021
4ae7a9e
modify uuid import
ThomasRoudil Apr 27, 2021
45c9298
add line gitignore
ThomasRoudil Apr 27, 2021
119171f
WIP front
Apr 27, 2021
0388107
fix
Apr 27, 2021
6880aaa
WIP labels_from_annotations : need to code (breaking change) fetch im…
ThomasRoudil Apr 27, 2021
3d7a371
WIP labels_from_annotations : need to code (breaking change) fetch im…
ThomasRoudil Apr 27, 2021
6812df9
Feature/resize labels (#18)
RuellePaul Apr 28, 2021
4631ea5
WIP generator : scrap labels
Apr 28, 2021
ea31242
WIP labels_from_annotations : need to code (breaking change) fetch im…
ThomasRoudil Apr 28, 2021
1f37941
Merge remote-tracking branch 'origin/dev' into feature/generator
ThomasRoudil Apr 28, 2021
92fa435
Feature/generator (#19)
ThomasRoudil Apr 28, 2021
f74414e
Feature/generator front (#20)
RuellePaul Apr 29, 2021
b3daa39
Feature/images lazy load (#21)
RuellePaul Apr 29, 2021
486e6f3
Feature/canvas padding (#22)
RuellePaul Apr 29, 2021
d5de4d5
Feature/auto switch tool (#23)
RuellePaul Apr 29, 2021
b717294
Feature/delete label (#24)
RuellePaul Apr 29, 2021
501f9f9
Feature/user profile (#25)
ThomasRoudil Apr 30, 2021
b39781c
Feature/modify password (#26)
ThomasRoudil May 3, 2021
d3fd336
Feature/object categories (#27)
RuellePaul May 6, 2021
51a0d28
Feature/labelisator ux (#28)
RuellePaul May 7, 2021
1704033
Feature/api refactoring 💪 (#29)
RuellePaul May 13, 2021
cfbc6be
Feature/design enhancement (#30)
RuellePaul May 13, 2021
97d0bf9
Feature/tasks (#31)
RuellePaul May 15, 2021
be06337
Feature/delete categories (#32)
RuellePaul May 16, 2021
7f67a91
Feature/pagination backend (#33)
RuellePaul May 16, 2021
9ca2b97
Feature/tasks enhancement (#34)
RuellePaul May 20, 2021
4837c59
Feature/notifications (#35)
RuellePaul May 25, 2021
845adc3
Feature/search (#36)
ThomasRoudil May 28, 2021
1936b69
Feature/generator v2 (#37)
RuellePaul Jun 3, 2021
f3b5137
Feature/fastapi (#39)
RuellePaul Jun 7, 2021
3218beb
Feature/websocket (#41)
RuellePaul Jun 8, 2021
5d19e3b
Hotfix/errors handling with fastapi (#42)
RuellePaul Jun 8, 2021
384b4b9
Feature/augmentor frontend (#43)
RuellePaul Jun 15, 2021
563e812
Feature/augmentor labels (#45)
RuellePaul Jun 17, 2021
79b5e29
Feature/refactoring error messages (#46)
RuellePaul Jun 17, 2021
a134738
Feature/tasks refactoring (Celery + RabbitMQ) (#47)
RuellePaul Jun 22, 2021
0a09af4
Feature/task and notifications front end (#48)
RuellePaul Jun 25, 2021
79f71ac
Feature/augmentor task (#49)
RuellePaul Aug 21, 2021
ca08639
Feature/change dataset privacy (#51)
RuellePaul Aug 21, 2021
9292c1a
Feature/small fixes & clean front (#53)
RuellePaul Aug 27, 2021
e369c79
Feature/task linking (#54)
RuellePaul Aug 27, 2021
67d10b5
Feature/dataset browse (#55)
RuellePaul Sep 6, 2021
576c278
Feature/security on dataset actions (#56)
RuellePaul Sep 6, 2021
e33ed05
Hotfix/absolute imports (#57)
RuellePaul Sep 7, 2021
75d29ae
Feature/pipelines enhancement (#58)
RuellePaul Sep 13, 2021
0a17e6c
Feature/labelisator drawer (#59)
RuellePaul Sep 16, 2021
ec18e52
Feature/unregister (#60)
RuellePaul Sep 16, 2021
846dc46
Feature/UI & UX (DatasetMainView / SectionOverview / Labelisator) (#61)
RuellePaul Sep 29, 2021
a4e8f22
Feature/documentation system (#62)
RuellePaul Oct 1, 2021
5ee2a8b
Quickfix/enhance settings UI (#63)
RuellePaul Oct 1, 2021
a846f99
Feature/material UI 5 (#64)
RuellePaul Oct 4, 2021
8c59290
Feature/dataset export (#65)
RuellePaul Oct 5, 2021
27b5617
Feature/edit dataset (#66)
RuellePaul Oct 5, 2021
64d4aac
Feature/export task (#67)
RuellePaul Oct 7, 2021
04b2013
Feature/front end tweaking (#68)
RuellePaul Oct 12, 2021
fa4599e
Feature/production deployment (#69)
RuellePaul Oct 14, 2021
ec7d886
Feature/overview frontend (#70)
RuellePaul Oct 18, 2021
0970b2d
Feature/section images frontend (#71)
RuellePaul Oct 25, 2021
def30e0
Feature/labelisator mobile (#72)
RuellePaul Nov 22, 2021
c790a3d
Feature/rebranding & new home design (#73)
RuellePaul Dec 12, 2021
1907a7d
Feature/auth pages design & forgot password workflow (#74)
RuellePaul Dec 13, 2021
da4b767
Feature/documentation content (1/2) & front-end refactored (#75)
RuellePaul Feb 21, 2022
d33d793
Feature/elk stack 🚀 - Elastic, Logstash, Kibana (#77)
RuellePaul Mar 15, 2022
0093a30
Feature/augmentation & tasks rebranding (#79)
RuellePaul Apr 12, 2022
6399f0e
Feature/home features section (#80)
RuellePaul Apr 26, 2022
6f7ca7d
Feature/public footer (#81)
RuellePaul Apr 28, 2022
f33ce9d
Feature/ip address for public logs (#82)
RuellePaul May 16, 2022
15ee063
Hotfix/image preview
Jun 8, 2022
d980322
Quickfix/update S3 bucket for future demos
Nov 11, 2022
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
  •  
  •  
  •  
33 changes: 33 additions & 0 deletions .github/workflows/Make_api_image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Make api image

on:
push:
tags:
- 'v_[0-9]+.[0-9]+.[0-9]+'

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Branch name
id: branch_name
run: |
echo ::set-output name=SOURCE_NAME::${GITHUB_REF#refs/*/}
echo ::set-output name=SOURCE_BRANCH::${GITHUB_REF#refs/heads/}
echo ::set-output name=SOURCE_TAG::${GITHUB_REF#refs/tags/}
- name: Build base image
run: |
echo $SOURCE_NAME
echo $SOURCE_BRANCH
echo $SOURCE_TAG
env:
SOURCE_TAG: ${{ steps.branch_name.outputs.SOURCE_TAG }}

- uses: actions/checkout@v1
- name: 'Build api image'
run: export VERSION=${{ steps.branch_name.outputs.SOURCE_TAG }} && docker-compose -f ./builds/docker-compose.yml build api
- name: Docker login
run: docker login docker.pkg.github.com -u $GITHUB_ACTOR -p ${{ secrets.GITHUB_TOKEN }}
- name: 'Pushing images to distant repository'
run: docker push docker.pkg.github.com/ruellepaul/datatensor/datatensor-api:${{ steps.branch_name.outputs.SOURCE_TAG }}
33 changes: 33 additions & 0 deletions .github/workflows/Make_celery_image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Make celery image

on:
push:
tags:
- 'v_[0-9]+.[0-9]+.[0-9]+'

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Branch name
id: branch_name
run: |
echo ::set-output name=SOURCE_NAME::${GITHUB_REF#refs/*/}
echo ::set-output name=SOURCE_BRANCH::${GITHUB_REF#refs/heads/}
echo ::set-output name=SOURCE_TAG::${GITHUB_REF#refs/tags/}
- name: Build base image
run: |
echo $SOURCE_NAME
echo $SOURCE_BRANCH
echo $SOURCE_TAG
env:
SOURCE_TAG: ${{ steps.branch_name.outputs.SOURCE_TAG }}

- uses: actions/checkout@v1
- name: 'Build celery image'
run: export VERSION=${{ steps.branch_name.outputs.SOURCE_TAG }} && docker-compose -f ./builds/docker-compose.yml build celery
- name: Docker login
run: docker login docker.pkg.github.com -u $GITHUB_ACTOR -p ${{ secrets.GITHUB_TOKEN }}
- name: 'Pushing images to distant repository'
run: docker push docker.pkg.github.com/ruellepaul/datatensor/datatensor-celery:${{ steps.branch_name.outputs.SOURCE_TAG }}
33 changes: 33 additions & 0 deletions .github/workflows/Make_ux_image_production.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Make ux production image

on:
push:
tags:
- 'v_[0-9]+.[0-9]+.[0-9]+'

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Branch name
id: branch_name
run: |
echo ::set-output name=SOURCE_NAME::${GITHUB_REF#refs/*/}
echo ::set-output name=SOURCE_BRANCH::${GITHUB_REF#refs/heads/}
echo ::set-output name=SOURCE_TAG::${GITHUB_REF#refs/tags/}
- name: Build base image
run: |
echo $SOURCE_NAME
echo $SOURCE_BRANCH
echo $SOURCE_TAG
env:
SOURCE_TAG: ${{ steps.branch_name.outputs.SOURCE_TAG }}

- uses: actions/checkout@v1
- name: 'Build ui image'
run: export VERSION=${{ steps.branch_name.outputs.SOURCE_TAG }} && export ENVIRONMENT=production && docker-compose -f ./builds/docker-compose.yml build ux
- name: Docker login
run: docker login docker.pkg.github.com -u $GITHUB_ACTOR -p ${{ secrets.GITHUB_TOKEN }}
- name: 'Pushing images to distant repository'
run: export ENVIRONMENT=production && docker push docker.pkg.github.com/ruellepaul/datatensor/datatensor-ux:${{ steps.branch_name.outputs.SOURCE_TAG }}_$ENVIRONMENT
199 changes: 199 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,199 @@
## General
*.pyc
*~
.~*
.*.swp
jenkins-test-reports/
.idea/
/.idea/
/.idea/**


## Security
*.pem
*.csv
deploy.sh
run_ui.sh
builds/development/init_env.sh
builds/development/development.env
builds/production/init_env.sh
builds/production/login.sh
builds/production/elk/.env


## React dependencies
ui/.eslintcache
ui/node_modules/
/node_modules
/.pnp
.pnp.js

## Boilerplate
boilerplate/

# testing
/coverage

# production
/build

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*



## Sass
.sass-cache/
/.sass-cache/
*.css.map
*.sass.map
*.scss.map


## Python
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
pip-wheel-metadata/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py
db.sqlite3
db.sqlite3-journal

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
target/

# Jupyter Notebook
.ipynb_checkpoints

# IPython
profile_default/
ipython_config.py

# pyenv
.python-version

# pipenv
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
# However, in case of collaboration, if having platform-specific dependencies or dependencies
# having no cross-platform support, pipenv may install dependencies that don't work, or not
# install all needed dependencies.
#Pipfile.lock

# PEP 582; used by e.g. github.com/David-OConnor/pyflow
__pypackages__/

# Celery stuff
celerybeat-schedule
celerybeat.pid

# SageMath parsed files
*.sage.py

# Environments
.venv
env/
venv/
.venv_3.8
env/_3.8
venv_3.8/
ENV/
env.bak/
venv.bak/

# Spyder project user
.spyderproject
.spyproject

# Rope project user
.ropeproject

# mkdocs documentation
/site

# mypy
.mypy_cache/
.dmypy.json
dmypy.json

# Pyre type checker
.pyre/

# Pycharm related
../.idea

# generator data
api/workflows/generator/datasources
api/workflows/generator/datasources/*
13 changes: 13 additions & 0 deletions Dockerfile-api
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# === Api image ====
FROM python:3.9-slim AS release

COPY api /api
WORKDIR /api
RUN apt-get update
RUN apt-get install ffmpeg libsm6 libxext6 -y
RUN pip install --user -r requirements.txt --no-warn-script-location

ENV PATH /root/.local/bin:$PATH

CMD ["python", "-m", "app"]

12 changes: 12 additions & 0 deletions Dockerfile-celery
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# === Api image ====
FROM python:3.9-slim AS release

COPY api /api
WORKDIR /api
RUN apt-get update
RUN apt-get install ffmpeg libsm6 libxext6 -y
RUN pip install --user -r requirements.txt --no-warn-script-location

ENV PATH /root/.local/bin:$PATH

CMD ["celery", "-A", "worker", "worker", "--loglevel=INFO"]
23 changes: 23 additions & 0 deletions Dockerfile-ux
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# === UI image ====
FROM node:14.16.0-alpine3.13

# ==== Arg section ====
# System args
ARG ENVIRONMENT

# ==== Env section ====
# System env
ENV ENVIRONMENT=$ENVIRONMENT

WORKDIR /ux

ENV PATH /ux/node_modules/.bin:$PATH

COPY ux /ux

COPY builds/${ENVIRONMENT}/.env /ux/.env

RUN yarn add package.json --silent
RUN yarn run build

CMD yarn run serve:production
Loading