- 03 Apr, 2018 6 commits
-
-
BERJON Matthieu authored
I created the accounts application and moved everything that was in the main application related to the login/logout/register there. Signed-off-by:
Matthieu Berjon <matthieu.berjon@inria.fr>
-
BERJON Matthieu authored
I stopped tracking the migrations because at the moment we don't need to because start from a fresh installation not deployed. Signed-off-by:
Matthieu Berjon <matthieu.berjon@inria.fr>
-
BERJON Matthieu authored
I updated some paths related to the naming of the module in the django apps. Signed-off-by:
Matthieu Berjon <matthieu.berjon@inria.fr>
-
BERJON Matthieu authored
I renamed the poc module into main for clarity. Signed-off-by:
Matthieu Berjon <matthieu.berjon@inria.fr>
-
BERJON Matthieu authored
Related to the previous commit, I changed the configuration system and I deleted the old settings architecture. Signed-off-by:
Matthieu Berjon <matthieu.berjon@inria.fr>
-
BERJON Matthieu authored
I decided to perform something a bit more simpler than what is suggested in Django best practices for configuration (having a base configuration file extended for local, staging and production. I now have a single configuration file setup for production. I overwrite it using environment variables that I load with the virtual environment. If the secret key isn't loaded then we consider that we are in production environment and must load a .env file located at the root of the program. There are 2 mandatory environment variables: - ALLGO_SECRET_KEY - ALLGO_DATABASE_PASSWORD The documentation reference all the environement variables available. Signed-off-by:
Matthieu Berjon <matthieu.berjon@inria.fr>
-
- 30 Mar, 2018 1 commit
-
-
BERJON Matthieu authored
I updated the container in order to correct several bugs regarding nginx and writing permissions. I added the use of supervisor and gunicorn. I'm using as well Debian Stretch because Jessie doesn't have up to date packages for django and gunicorn. Signed-off-by:
Matthieu Berjon <matthieu.berjon@inria.fr> Add of production config I added a production config file for the Django app and updated the wsgi configuration to run in production. Signed-off-by:
Matthieu Berjon <matthieu.berjon@inria.fr>
-
- 29 Mar, 2018 7 commits
-
-
BERJON Matthieu authored
I updated the redirection according to the right namespace I gave before. Signed-off-by:
Matthieu Berjon <matthieu.berjon@inria.fr>
-
BERJON Matthieu authored
I stopped tracking the migration files because we changed the migration system by using an SQL migration file. At the moment only the initial migration is done on Django, no particular improvements build on the top of it are necessary at the moment. Signed-off-by:
Matthieu Berjon <matthieu.berjon@inria.fr>
-
BERJON Matthieu authored
I forgot to finish all the namespace updates and redirection for login and signup. It's not fixed. Signed-off-by:
Matthieu Berjon <matthieu.berjon@inria.fr>
-
BERJON Matthieu authored
I updated the model to remove the `private`field of the table `dj_webapps`. Signed-off-by:
Matthieu Berjon <matthieu.berjon@inria.fr>
-
BERJON Matthieu authored
I got rid of the `private` field in the table `dj_webapps`. Signed-off-by:
Matthieu Berjon <matthieu.berjon@inria.fr>
-
BERJON Matthieu authored
I ordered the list of the apps by descending creation date. Signed-off-by:
Matthieu Berjon <matthieu.berjon@inria.fr>
-
BERJON Matthieu authored
I added a detailed view for each app. I updated the urls accordingly in the webapp list view. I added as well a name space for the poc app and updated the main menu template accordingly. Signed-off-by:
Matthieu Berjon <matthieu.berjon@inria.fr>
-
- 28 Mar, 2018 11 commits
-
-
BERJON Matthieu authored
I added all the files necessary to handle user registration as well as password change. Signed-off-by:
Matthieu Berjon <matthieu.berjon@inria.fr>
-
BERJON Matthieu authored
I put the pagination system in its own template and include it wherever necessary. Signed-off-by:
Matthieu Berjon <matthieu.berjon@inria.fr>
-
BERJON Matthieu authored
I updated the title tag. Signed-off-by:
Matthieu Berjon <matthieu.berjon@inria.fr>
-
BERJON Matthieu authored
I added the job list for every registered user. Signed-off-by:
Matthieu Berjon <matthieu.berjon@inria.fr>
-
BERJON Matthieu authored
I deleted the users view that was here just for a test purpose. Signed-off-by:
Matthieu Berjon <matthieu.berjon@inria.fr>
-
BERJON Matthieu authored
I updated the webapp list by: - Creating a paginated url to apps/ - Create a class based view - Create a paginated template with cards There are several things that need to be corrected such as the pagination if many pages are created and card images. Signed-off-by:
Matthieu Berjon <matthieu.berjon@inria.fr>
-
BERJON Matthieu authored
I added a simple signup page. It still needs some work on it such as the place of the password policy and a reset password link. Signed-off-by:
Matthieu Berjon <matthieu.berjon@inria.fr>
-
BERJON Matthieu authored
A bug was found in the user database. A missing auto_autocrement constraint was preventing the creation of new user by always using the same ID 0. Signed-off-by:
Matthieu Berjon <matthieu.berjon@inria.fr>
-
BERJON Matthieu authored
At the moment, we decided to remove all unecessary css and keep only the HTML architecture with bootstrap structure. Signed-off-by:
Matthieu Berjon <matthieu.berjon@inria.fr>
-
BERJON Matthieu authored
I updated the Dockerfile as well as the nginx config and the django application deployement. There are still issues such as the `/vol/nginx` doesn't exist for some unknown reasons making nginx refusing to launch. Signed-off-by:
Matthieu Berjon <matthieu.berjon@inria.fr>
-
BERJON Matthieu authored
In order to perform the deployement I updated few things. All python commands are replaced with python3 to force the use of them. I updated as well the SQL migration path to ensure that it will be run wherever the script is executed. Signed-off-by:
Matthieu Berjon <matthieu.berjon@inria.fr>
-
- 27 Mar, 2018 4 commits
-
-
BERJON Matthieu authored
I added the django-environ package necessary to manage easily environmeent variables inside the application. Signed-off-by:
Matthieu Berjon <matthieu.berjon@inria.fr>
-
BERJON Matthieu authored
I added a better configuration system in order to take into account for local development, staging or production deployments. Signed-off-by:
Matthieu Berjon <matthieu.berjon@inria.fr>
-
BERJON Matthieu authored
In order to follow good practices for a Django app development I reorganized the tree. Signed-off-by:
Matthieu Berjon <matthieu.berjon@inria.fr>
-
BERJON Matthieu authored
I forgot to clean the compressor settings in the django app. I commented as well the configuration relation to sass. Signed-off-by:
Matthieu Berjon <matthieu.berjon@inria.fr>
-
- 26 Mar, 2018 11 commits
-
-
BERJON Matthieu authored
I now delete the django tables only if they exist. It avoids very nasty error messages that can compromise the script running. Signed-off-by:
Matthieu Berjon <matthieu.berjon@inria.fr>
-
BERJON Matthieu authored
We decided to have all the tables in a unique database. In order to perform this requirement I rewrote the migration files to duplicate all the tables under a new name prefixed by `dj_` for the allgo tables. The Django mandatory tables haven't been changed. The current model has been adapted to respect this new mapping. Signed-off-by:
Matthieu Berjon <matthieu.berjon@inria.fr>
-
BERJON Matthieu authored
Because we use Jessie, the package python3-django-compressor doesn't exist. It's not critical at this stage of developement so I'm removing it. Signed-off-by:
Matthieu Berjon <matthieu.berjon@inria.fr>
-
BERJON Matthieu authored
In order to satisfy the deployement on Docker, I added to the command line the possibility to specify the host. I took the opportunity to correct a bug as the migration file name changed and wasn't updated into this script. Signed-off-by:
Matthieu Berjon <matthieu.berjon@inria.fr>
-
BERJON Matthieu authored
This file has been renamed migration2django.sql. Signed-off-by:
Matthieu Berjon <matthieu.berjon@inria.fr>
-
BERJON Matthieu authored
Because the library django-libsass isn't supported in Debian, I removed at the moment the use of SASS for the stylesheet. I updated the requirements.txt file accordingly. Signed-off-by:
Matthieu Berjon <matthieu.berjon@inria.fr>
-
BERJON Matthieu authored
I renamed the SQL migration file in order to corresponds to the suggested name by Sébastien. Resolves: #133 Signed-off-by:
Matthieu Berjon <matthieu.berjon@inria.fr>
-
BERJON Matthieu authored
I added a partial for messages that will be prompt to user in case of success, warning, failure, ... Signed-off-by:
Matthieu Berjon <matthieu.berjon@inria.fr>
-
BERJON Matthieu authored
I added the webapp view that just list the name of the apps. I added as well a login view. Unfortunately the hashes of the password recorded in the database do not match with the base django algorithm and people can't identify themselves at the moment. Signed-off-by:
Matthieu Berjon <matthieu.berjon@inria.fr>
-
BERJON Matthieu authored
I deleted a unused field in the Webapp class that I forgot last time and was creating an error. Signed-off-by:
Matthieu Berjon <matthieu.berjon@inria.fr>
-
BERJON Matthieu authored
I updated the home page by tweaking several components. I rewrote the header in order to take all the width but still have the menu centered. I added a sticky footer. Rewrote the css by eleminating everything that are not necessary at this stage. Signed-off-by:
Matthieu Berjon <matthieu.berjon@inria.fr>
-