~ahmadrezaf1991/canonical-identity-provider:master

Last commit made on 2023-07-18
Get this branch:
git clone -b master https://git.launchpad.net/~ahmadrezaf1991/canonical-identity-provider
Only ahmadreza can upload to this branch. If you are ahmadreza please log in for upload directions.

Branch merges

Branch information

Recent commits

c174747... by Shane M. Pelletier

Replace raw unicode in LANGUAGE_NAMES

At some point, perhaps due to updating the version of Python that SSO
uses, the raw unicode bytes in the strings in LANGUAGE_NAMES stopped
being properly converted to utf-8 for display by the view. There were
two possible ways to fix this issue: either each string is turned into a
byte string and .decode('utf-8') is appended to each of the strings, or
the strings can be changed to directly use the utf-8 characters.

This change does the easier thing of just directly using utf-8 encoded
text.

Fixes https://warthogs.atlassian.net/browse/SN-1785
Fixes https://bugs.launchpad.net/canonical-identity-provider/+bug/2027971

Merged from https://code.launchpad.net/~shanepelletier/canonical-identity-provider/+git/canonical-identity-provider/+merge/446996

6bdd328... by Shane M. Pelletier

Replace raw unicode in LANGUAGE_NAMES

At some point, perhaps due to updating the version of Python that SSO
uses, the raw unicode bytes in the strings in LANGUAGE_NAMES stopped
being properly converted to utf-8 for display by the view. There were
two possible ways to fix this issue: either each string is turned into a
byte string and .decode('utf-8') is appended to each of the strings, or
the strings can be changed to directly use the utf-8 characters.

This change does the easier thing of just directly using utf-8 encoded
text.

ea8251d... by John Paraskevopoulos

Set ols-vms.conf back to xenial

Merged from https://code.launchpad.net/~quantifics/canonical-identity-provider/+git/canonical-identity-provider/+merge/445581

e6a9cbf... by John Paraskevopoulos

Update xenial dependencies in ols-vms.conf

8489eea... by John Paraskevopoulos

Set ols-vms.conf back to xenial

c82768d... by John Paraskevopoulos

Bump dependencies for focal upgrade

Also keeps xenial support

Merged from https://code.launchpad.net/~quantifics/canonical-identity-provider/+git/canonical-identity-provider/+merge/445435

6d9aa0a... by John Paraskevopoulos

Simplify cert CN and SSO_ROOT_URL setting

15160f7... by John Paraskevopoulos

Add xenial check in run-ssl target

12a7d8f... by John Paraskevopoulos

Add xenial dependencies(-devel)

Since we want to be flexible in terms of focal/xenial switches (until we
are safely fully switched) we need to support both scenarios. Since some
dependencies on focal don't work for xenial (and vice versa) we add two
new "xenial" dependencies files to use when we are on xenial (and have
the default dependencies files for focal). Also added a way to pick the
appropriate based on system version in `setup-container` script and
another change in the `Makefile.db` to switch between the two different
postgresql versions

fcbc057... by John Paraskevopoulos

Use urllib.parse quote for ~

Re-introduces properly a way to make the ~ character testable in the
test_discovery.py. Uses urllib's quote which in python 3.5 escapes the
character whereas in higher versions it does not