-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* QoC: * replace some == by === in JS * correct some double quotes in shell scripts * Add some missing types in .py * Replace `len(xxx.sites.all())` by `xxx.sites.count()` * Remove unused vars in Php * Test with Coveralls report * QoC * Python 3.8 compatibility * PHP Code formatting * Test with AndreMiras/coveralls-python-action * add missing types + replace remaining xml.dom by defusedxml + replace some == by === in JS * add misisng quotes in shell scripts + always run apt-get clean AFTER apt-get install + use --no-install-recommends on every apt-get install * try to run coverage without --source (it takes source frome coveragerc) * Add Codacy coverage reporter * Ignore *_settings.py in flake8 * Omit custom settings files in coverage + generate cobertura.xml coverage report * Js: * Tell ESlint to use "module" type for some scripts * tell parseInt functions to use 10 base * replace some innerHTML by textContent + PHP code formatting * forgotten files in previous commit * PHP code formatting * code formatting * correct lang file * Replace remaining innerHTML by textContent in js files and replace some == by === * minor remaining code formatting * Delete the docker apt-get lists after each install * add missing quotes * declare some `i` vars in JS `for` loops * JS vars declarations * 👕 Remove some linter warnings * Remove unused JS functions * Remove merge artifacts * Cleanup merge artifacts * Add unit tests for video apps.py * Flake8 * Disable the "branch" coverage option * revert textContent by innerHTML when content contains tags + include compiled .mo lang files
- Loading branch information
Showing
104 changed files
with
1,970 additions
and
1,294 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
--- | ||
name: Code Formatting | ||
run-name: ${{ github.actor }} is running Pod code formatting 🎨 | ||
|
||
on: | ||
push: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
repos: | ||
- repo: https://github.com/gitguardian/ggshield | ||
rev: v1.27.0 | ||
hooks: | ||
- id: ggshield | ||
language_version: python3 | ||
stages: [commit] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
"""Esup-Pod authentication context_processors.""" | ||
from django.conf import settings as django_settings | ||
|
||
SHIB_NAME = getattr(django_settings, "SHIB_NAME", "Identify Federation") | ||
|
||
|
||
def context_authentication_settings(request): | ||
def context_authentication_settings(request) -> dict: | ||
new_settings = {} | ||
new_settings["SHIB_NAME"] = SHIB_NAME | ||
return new_settings |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.