- 10 Apr, 2018 5 commits
-
-
BERJON Matthieu authored
I added two methods in order to make an update on allgouser each time that a modification is done on the django user table. Signed-off-by:
Matthieu Berjon <matthieu.berjon@inria.fr>
-
BERJON Matthieu authored
I fixed a bug related to the allgouser table that has a missing primary and auto-increment command on the id field. Signed-off-by:
Matthieu Berjon <matthieu.berjon@inria.fr>
-
BERJON Matthieu authored
I added (hard-coded) the REST API description for each webapp for those who wants to run a job for test purpose. Signed-off-by:
Matthieu Berjon <matthieu.berjon@inria.fr>
-
BERJON Matthieu authored
I updated the order of the webapp's list. Signed-off-by:
Matthieu Berjon <matthieu.berjon@inria.fr>
-
BERJON Matthieu authored
I added the contact information and add a small grid system. Signed-off-by:
Matthieu Berjon <matthieu.berjon@inria.fr>
-
- 09 Apr, 2018 9 commits
-
-
BERJON Matthieu authored
For each webapp when a README is registered in the database, I read the file stored in the media directory and convert it using the mistune library from markdown into HTML. I updated the dockerfile to be used in the Django container as well. Signed-off-by:
Matthieu Berjon <matthieu.berjon@inria.fr>
-
BERJON Matthieu authored
I updated the documentation mainly regarding the installation process. Signed-off-by:
Matthieu Berjon <matthieu.berjon@inria.fr>
-
BERJON Matthieu authored
I cleaned up the Dockerfile of some commented instructions that aren't relevant anymore and as well some unecessary packages. Signed-off-by:
Matthieu Berjon <matthieu.berjon@inria.fr>
-
BERJON Matthieu authored
I can now display the logo whenever they exist in the database (if a name exists in the dedicated field). Signed-off-by:
Matthieu Berjon <matthieu.berjon@inria.fr>
-
BERJON Matthieu authored
I deleted few print functions that were here only for debug. Signed-off-by:
Matthieu Berjon <matthieu.berjon@inria.fr>
-
BERJON Matthieu authored
I added two environment variables related to the media and static files. I updated the documentation with it. Signed-off-by:
Matthieu Berjon <matthieu.berjon@inria.fr>
-
BERJON Matthieu authored
I added a very small tool to convert html to markdown for the readmes. Signed-off-by:
Matthieu Berjon <matthieu.berjon@inria.fr>
-
BERJON Matthieu authored
I deleted the dependency related to environment variable specific to django as I rewrote the settings file and use only the built-in library. Signed-off-by:
Matthieu Berjon <matthieu.berjon@inria.fr>
-
BERJON Matthieu authored
I updated the link to the documentation hosted on readthedocs in the main menu. Signed-off-by:
Matthieu Berjon <matthieu.berjon@inria.fr>
-
- 06 Apr, 2018 3 commits
-
-
BERJON Matthieu authored
I added the local authentication mechanism using the allauth plugin. Because the authentication through email doesn't work, I found a workaround described here https://stackoverflow.com/questions/49655402/email-authentification-doesnt-work-using-django-allauth Now users can register and login using their email account. Registering is achieved through email confirmation. Signed-off-by:
Matthieu Berjon <matthieu.berjon@inria.fr>
-
BERJON Matthieu authored
I fixed a bug related to the test of the secret key existence as an environment variable. Signed-off-by:
Matthieu Berjon <matthieu.berjon@inria.fr>
-
BERJON Matthieu authored
I updated the container in order to: - update the wsgi file in order to load the environment variables and which config file to read - update of the docker file in with the packages to install - update of the supervisor config file Signed-off-by:
Matthieu Berjon <matthieu.berjon@inria.fr>
-
- 04 Apr, 2018 8 commits
-
-
BERJON Matthieu authored
I updated the django_site table data in order to have a proper name for the declared site (in the current context the name is A||go). Because it's used by default the authentification and registration plugin to generate emails. Signed-off-by:
Matthieu Berjon <matthieu.berjon@inria.fr>
-
BERJON Matthieu authored
I added in the base template the possibility to display any type of message returned by Django to the user. I added as well the jquery library to be able to remove selected messages if the user wants. Signed-off-by:
Matthieu Berjon <matthieu.berjon@inria.fr>
-
BERJON Matthieu authored
I changed the url for the authentification and registration in order to fit the legacy rails app. Signed-off-by:
Matthieu Berjon <matthieu.berjon@inria.fr>
-
BERJON Matthieu authored
I updated the webapps table in order to put all null values to 0 (meaning public and it corresponds to what have been done in the rails app). I changed as well the field to not accept any null values and use a default to 1 (private) if nothing is specified by the user. Signed-off-by:
Matthieu Berjon <matthieu.berjon@inria.fr>
-
BERJON Matthieu authored
I updated the webapp model and view in order to display only the public applications. I changed the model to not accept any null value and force the default to 1 (private). Signed-off-by:
Matthieu Berjon <matthieu.berjon@inria.fr>
-
BERJON Matthieu authored
I added a type of macro in the header template in order to get an active link on the current page. Signed-off-by:
Matthieu Berjon <matthieu.berjon@inria.fr>
-
BERJON Matthieu authored
I updated the webapp detail view in order to display the information according the its docker name. I updated the url naming to fit the original allgo app. Signed-off-by:
Matthieu Berjon <matthieu.berjon@inria.fr>
-
BERJON Matthieu authored
I added a uniqueness constraint of the field docker_name in the table webapps because two equivalent same names shouldn't exist in the database. I took the advantage of this change to update the file by removing too many calls and cleaning the file. Signed-off-by:
Matthieu Berjon <matthieu.berjon@inria.fr>
-
- 03 Apr, 2018 10 commits
-
-
BERJON Matthieu authored
I added the allauth migration for authentification and registration to the SQL table. Signed-off-by:
Matthieu Berjon <matthieu.berjon@inria.fr>
-
BERJON Matthieu authored
I added and configured the allauth backend for authentification and registration. At the moment the system doesn't manage oauth2 authentification. Signed-off-by:
Matthieu Berjon <matthieu.berjon@inria.fr>
-
BERJON Matthieu authored
I decided to use django-allauth for authentification because by default it proposes both registration and oauth2. Signed-off-by:
Matthieu Berjon <matthieu.berjon@inria.fr>
-
BERJON Matthieu authored
For some specifics tasks Django needs a table called django_site. It's necessary for the authentification third party system that we use allauth. Signed-off-by:
Matthieu Berjon <matthieu.berjon@inria.fr>
-
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 4 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>
-