• !343 Cleanup accounts: This merge requests does a pre-commit cleanup of the accounts application. Part of #562
  • !344 Interactive commands: This merge request cleans the various interactive commands implemented. It centralizes the common code in a base class. It also cleans the fact that some of the commands had the interactive option backward meaning that the user would have to "enable" interactivity rather than the usual "--noinput" route. As drive by commits, some minor cleanups have been applied to the code. Part of #563
  • !345 Cleanup algorithms: This merge requests does a pre-commit cleanup of the algorithms application. Part of #562
  • !346 Cleanup attestations: This merge requests does a pre-commit cleanup of the attestations application. Part of #562
  • !347 Cleanup backend: This merge requests does a pre-commit cleanup of the backend application. Part of #562
  • !348 Cleanup code: This merge requests does a pre-commit cleanup of the code common part. Part of #562
  • !349 Cleanup common: This merge requests does a pre-commit cleanup of the common application. Part of #562
  • !350 Cleanup databases: This merge requests does a pre-commit cleanup of the databases application. Part of #562
  • !352 Cleanup dataformats: This merge requests does a pre-commit cleanup of the dataformats application. Part of #562
  • !353 Cleanup experiments: This merge requests does a pre-commit cleanup of the databases application. Part of #562
  • !354 Cleanup libraries: This merge requests does a pre-commit cleanup of the libraries application. Part of #562
  • !355 Cleanup navigation: This merge requests does a pre-commit cleanup of the navigation application. Part of #562
  • !358 File field reading: This merge request fixes an issue with how files content were read. The returned content was bytes but by default it should have been text. This is now fixed with adding support for CXX algorithm which are in fact binary.
  • !351 Fix forms: This merge request fixes the Widgets used in the admin pages. There was an incompatible change done in Django 2.1 See Django 2.1 release notes Fixes #564
  • !359 Fix template FileField reading: This merge request fixes all templates where a FileField content was read directly rather than using the associated property who would give the correct output. Fixes #566
  • !362 Settings cleanup: This merge requests does a pre-commit cleanup of the settings files. Part of #562
  • !361 Cleanup search: This merge requests does a pre-commit cleanup of the search application. Part of #562
  • !363 Cleanup statistics: This merge requests does a pre-commit cleanup of the statistics application. Part of #562
  • !364 Cleanup team: This merge requests does a pre-commit cleanup of the team application. Part of #562
  • !365 Templates cleanup: This merge requests does a pre-commit cleanup of the templates folder content. Part of #562
  • !366 Cleanup toolchains: This merge requests does a pre-commit cleanup of the toolchains application. Part of #562
  • !367 Cleanup ui registration: This merge requests does a pre-commit cleanup of the registration part stored under the ui application. Part of #562
  • !368 Cleanup ui: This merge requests does a pre-commit cleanup of the ui application. Part of #562
  • !369 Cleanup utils: This merge requests does a pre-commit cleanup of the utils module. Part of #562
  • !360 Scripts cleanup: This merge requests does a pre-commit cleanup of the scripts folder content. Part of #562
  • !370 Cleanup beat/web files: This merge requests does a pre-commit cleanup of the files found at the root of the beat/web folder. Part of #562
  • !371 Remove the scheduler script: The scheduler script located under scripts is not used anymore. Therefore remove it to avoid dead code to pile up. Part of #567
  • !357 Cleanup reports: This merge requests does a pre-commit cleanup of the reports application. Part of #562
  • !356 Cleanup plotters: This merge requests does a pre-commit cleanup of the plotters application. Part of #562
  • !372 Fix supervisor crash on sign-up: This merge request fixes the crash on supervisor sign-up that has appeared after migration to Django 3. The issue is related to a faulty request to the user database with a get that should have been replaced with a filter instead as done for the other classes present in the same file. Fixes #568
  • !373 Update python version to 3.7 for tests: Buster providing Python 3.7, make the current test run use that version as well.
  • !374 Update wsgi socket path: The original path used is rightfully forbidden on production, therefore use a dedicated path with correct accessibility rights.
  • !375 Remove the extra forms for environment language handling: This makes the environment creation and management clearer. Fixes #565
  • !376 Update installed apps: This merge request updates the way installed apps are declared following Django 3 new recommendations. See Django's application documentation It also updates test dependencies adding nose as it was missing for beat/beat.web> but pulled in because of other packages using it. However, not being part of the buildout configuration made it ignored when generating the django scripts therefore the "statistics" module tests could not run properly. Part of #561
  • !377 Remove Python2 imports: This merge request does a cleanup on the special handling of various imports to stay Python 2 compatible. This requirement being not relevant anymore, remove all these special cases.
  • !379 Fix reports url prefix usage: This merge request fixes the URL generation in the emails sent to warn users about future deletion of their reports. Part of #558
  • !378 Fix url prefix usage in attestations: This merge request fixes the URL generation in the emails sent to warn users about future deletion of their attestations. It also fixes an execution issue where the command sending the email would also to the cleanup. Both command are now independent so their actions are clearer. The daily cron tasks to be executed have been updated and now both of them are called in sequence. Part of #558
  • !380 Fix url prefix usage in experiments: This merge request fixes the URL generation in the emails sent when an experiment ends, successfully or not. It also update the testing part and add tests for the email related functionnallity. Part of #558
  • !381 Cleanup URL_PREFIX uses in experiments: This merge request cleans up the uses of URL_PREFIX in the experiments module. The places where it was used were in fact not in use so they have been removed. Part of #558
  • !382 Cleanup url prefix use in search: This merge request fixes the URL generation in the emails sent when a leadboard changes or is deleted. It also fixes the sending of email on leadboard deletion and add tests for the email related functionality. Part of #558
  • !384 Refactor email test in ui to avoid hard coded URL: This merge request improves the checks of generated URLs in emails by removing the hard code part. Part of #558
  • !385 Fix links in activity stream: This merge request fixes an issue where the links generated in the activity stream was wrong and included the URL_PREFIX twice. Part of #558
  • !383 Fix url prefix usage in accounts/registration: This merge request fixes the URL generation in the emails sent to users about registration/activation/re-activation/rejection/yearly re-validation and possible rejection after yearly re-validation. Part of #558
  • !386 Fix front page stats: This merge request fixes the way the numbers are gathered for the statistics on the front page. It now shows an accurate picture to the user on the page whether anonymous or not. Fixes #514
  • !387 Simplify URL_PREFIX handling in urls.py: URL_PREFIX shall not contain a fully qualified URL therefore there's no need to parse it. Part of #558
  • !389 Cleanup url prefix use in accounts api: This merge request fixes the URL generation in the emails sent through accounts api. It also refactors the information sent to a supervisor on a new supervision request. Part of #558
  • !390 Fix name handling in broker callbacks: With the evolution of the bytes/string handling in Python and Django, filtering the database on a CharField with a byte does not work as before. This patch thus ensure that the name of the worker passed to the callback is converted to a string before doing any database query. Part of #561
  • !388 Cleanup account supervision check migration: This MR removes the migration patch used to warn current users of the move to a supervision system, and re-orders the following migrations that need to be adjusted to accommodate with this. The email generated for this are removed as well.
  • !391 Revert "Merge branch '569_cleanup_account_supervision_check_migration' into 'django3_migration'": This reverts merge request !388 "Refactoring" a migration has side effects on an existing database. The migrations are recorded and thus doing this change we break the state and it's wrong. Let's keep the migration as is for consistency.
  • !393 Proper cleanup account supervision check migration: This MR proposes a better cleanup of the migration that was used to shift users to the new supervision ecosystem. It also avoids the issue encountered with !388 and !391 Fixes #569
  • !392 Fix url prefix usage yearly account revalidation: This MR fixes the url prefix usage for the yearly account revalidation command Fixes #570 Part of #558
  • !394 Migrate urls files: This merge request migrates all the URLs to the new Django style using either path or re_path. It also simplify the setup of the API URLs.
  • !395 Pin djangorestframework version: Django REST framework 3.12 was released but the drf-yasg does not yet support it thus pin the package version to keep things running properly.
  • !342 Django 3 migration: This merge request is the base of the migration of beat/beat.web> to Django 3. Preliminary work includes: - Fix all applications with regard to the namespace handling - Fix all missing on_delete parameter in both models and migration - Removal of obvious Python 2 code path - Example fix of URL_PREFIX abuse - Port of login handling to new view system - Update call to function that have become properties - Update to imports Related issues: Fixes #561 Fixes #559 Part of #558
  • !397 Fix the dataformat declaration view: The python ordered dictionary was shown raw, use the string version of the declaration to feed the editor.