-
Notifications
You must be signed in to change notification settings - Fork 80
Update backends.py #1259
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
FBrosset
wants to merge
79
commits into
dev_v4
Choose a base branch
from
replace_cas_fbrosset
base: dev_v4
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Update backends.py #1259
Changes from all commits
Commits
Show all changes
79 commits
Select commit
Hold shift + click to select a range
73ed68a
* UPGRADE Django to v4.2.16
Badatos e50187e
Merge branch 'develop' into pod_V4
Badatos 7e4cd06
* Remove USE_L10N deprecated param
Badatos af15471
Remove `USE_L10N` from test_settings
Badatos 7c01d4b
Merge branch 'develop' into pod_V4
Badatos a721a03
* Correct video_edit slect2 display with tagulous (remove duplicated …
Badatos 4deb722
* Remove Python 3.8 from compatible py versions, and add 3.12
Badatos b2975a6
Merge branch 'develop' into pod_V4
Badatos 645b930
Upgrade dependencies
Badatos 7c5d362
several corrections for 4.0. Prepare to say goodbye to CKEditor
Badatos 917a006
correct video/models.py
Badatos 9a4ab7f
Remove Compatibility with ES 6
Badatos 097edab
Replace js_asset by django.templatetags.static, as js_asset is deprec…
Badatos 151af7c
Fix code scanning alert no. 81: URL redirection from remote source
Badatos ccfebc3
Improve security in pod playlists, as suggested by CodeQL
Badatos 5941015
Disable some video_tags functions
Badatos bf7dc21
Flake8 compliance
Badatos cb32056
Disable Debug in test_settings
Badatos c9de8e1
only add debug toolbar when not in testing mode
Badatos d28b3dc
Add title_en to sample videos.json
Badatos 6bd0164
Reset ES-INDEX for tests as "Pod"
Badatos 3c17c09
Use Elasticsearch 7 in github workflows
Badatos b54952b
set Video tags as "not required" + correct bug on video tags indexing
Badatos fd9fbaa
Adapt Video views and video-info to Tagulous
Badatos bf5cabd
adapt video get_json_to_index() function to Tagulous
Badatos 92ac5b2
Adapt Video Recorder to Tagulous
Badatos cecec76
Only do dressing tests when `USE_DRESSING==True
Badatos f7d1a21
* Only run `cut` tests when `USE_CUT==True`
Badatos 44a9a5b
Merge branch 'develop' into pod_V4
Badatos dfd0662
+ Upgrade all py packages
Badatos 14c3457
Drop compatibility with ES 7
Badatos ff15569
Upgrade importlib-metadata to 7.2.1 for compatibility with ralph-malp…
Badatos e6ed3f7
replace "order" by "date_added" in channel video sorting
Badatos abd6cdc
Display a tag cloud with tags assigned to videos
Badatos 4698507
apply GH actions "pod_dev" and "code_formatting" on pod_V4 branch
Badatos 2501b45
Fixup. Format code with Prettier
invalid-email-address a18ea13
Fixup. Format code with Black
invalid-email-address 76e6191
Auto-update configuration files
invalid-email-address 7b58f99
Merge branch 'main' into pod_V4
Badatos c2d1011
Bump ELASTICSEARCH_TAG to 8.16.1
Badatos b5fc92a
Change elastic-github-actions to master to avoid ES 8 issue
Badatos 92fa056
Set ES_VERSION=8 in settings_local_docker
Badatos 4853cdd
Fixup. Format code with Black
invalid-email-address 12d0c3f
test ES with CURL after create_pod_index
Badatos e62575b
Merge branch 'pod_V4' of https://github.com/EsupPortail/Esup-Pod into…
Badatos 68d7f5f
test with es1:9200 url
Badatos 3216702
Return to elasticsearch.localhost url
Badatos 6eeedd4
add --insecure to curl command
Badatos 8cfc848
Disable elastic-github-actions security
Badatos 50c5437
replace https by http in curl
Badatos 7343fa0
increase sqlite timeout in test settings to have less "sqlite3.Operat…
Badatos 5115cb4
Replace `assertNotEquals`by `assertNotEqual`for Python 3.12 compatibi…
Badatos 2f928f9
Replace remaining assertEquals by assertEqual
Badatos ec9addf
Bump Django to 4.2.17 (fix 2 CVE, see https://docs.djangoproject.com/…
Badatos 241712f
Replace unmaintained django-cas-client by django-cas-ng
Badatos c80323a
* Add pod_affiliation_handler() func to set staff status to CAS user …
Badatos 06301b5
Flake8 compliance + Black formatting
Badatos bd764a4
Replace `CAS_RESPONSE_CALLBACKS` by `cas_user_authenticated_callback
Badatos e91aa1a
Remove typing for compatibility with Python 3.9
Badatos 4dfae61
Force `CAS_APPLY_ATTRIBUTES_TO_USER` to True when `POPULATE_USER==CAS`
Badatos e91fea4
Bump Django to 4.2.18
Badatos 6ab6f93
Merge branch 'pod_V4' into replace_cas
Badatos 385937a
Set CAS_APPLY_ATTRIBUTES_TO_USER to True in settings
Badatos 1b02e4f
Merge branch 'main' into pod_V4
Badatos 31aae7a
Merge branch 'pod_V4' into replace_cas
Badatos 5359641
Update backends.py
FBrosset 3c0a15b
Update CONFIGURATION_FR.md
FBrosset ab86186
Update CONFIGURATION_EN.md
FBrosset 1c16298
Update configuration.json
FBrosset 17fce3f
Update test_populated.py
FBrosset e2df422
Update backends.py
FBrosset 79bd664
Update test_populated.py
FBrosset 10fa81b
correct some bugs after unit testing with @Fbrosset
Badatos e62bb86
Correct test_populated to test presence of group from OIDC_DEFAULT_AF…
Badatos a7bac5b
Add english translations for configs
Badatos ebcc0d2
Merge branch 'main' into replace_cas
Badatos 2d6f6b0
Cleanup merge artifacts
Badatos 3a014b9
Merge branch 'main' into replace_cas
Badatos 4df1dd2
Merge branch 'replace_cas' into replace_cas_fbrosset
Badatos File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.