- 09 Apr, 2018 4 commits
-
-
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 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 7 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>
-