diff --git a/README.md b/README.md index c7abd9aa..da244d2e 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ -⚠ Canaille is under development. Do not use in production yet. ⚠ +
+ Canaille +
-# Canaille - -Canaille is a French word meaning *rascal*. It is roughly pronounced **Can I?**, +**Canaille** is a French word meaning *rascal*. It is roughly pronounced **Can I?**, as in *Can I access your data?* Canaille is a simple OpenID Connect provider based upon a LDAP database. It aims to be very light, simple to install and simple to maintain. Its main features are : @@ -14,6 +14,8 @@ It aims to be very light, simple to install and simple to maintain. Its main fea ## Install +⚠ Canaille is under heavy development and may not fit a production environment yet. ⚠ + First you need to install the schemas into your LDAP server. There are several ways to achieve this: ### LDAP schemas diff --git a/canaille/__init__.py b/canaille/__init__.py index 70fccdbd..8309cc71 100644 --- a/canaille/__init__.py +++ b/canaille/__init__.py @@ -176,6 +176,7 @@ def setup_app(app): def global_processor(): return { "logo_url": app.config.get("LOGO"), + "favicon_url": app.config.get("FAVICON", app.config.get("LOGO")), "website_name": app.config.get("NAME"), "user": current_user(), "menu": True, diff --git a/canaille/conf/config.sample.toml b/canaille/conf/config.sample.toml index f892e825..1f855325 100644 --- a/canaille/conf/config.sample.toml +++ b/canaille/conf/config.sample.toml @@ -2,14 +2,17 @@ SECRET_KEY = "change me before you go in production" # Your organization name. -NAME = "MyDomain" +NAME = "Canaille" # The interface on which canaille will be served # SERVER_NAME = "auth.mydomain.tld" # PREFERRED_URL_SCHEME = "https" # You can display a logo to be recognized on login screens -# LOGO = "https://path/to/your/organization/logo.png" +LOGO = "/static/img/canaille-head.png" + +# Your favicon. If unset the LOGO will be used. +FAVICON = "/static/img/canaille-c.png" # If unset, language is detected # LANGUAGE = "en" diff --git a/canaille/static/img/canaille-c.png b/canaille/static/img/canaille-c.png new file mode 100644 index 00000000..11b048cb Binary files /dev/null and b/canaille/static/img/canaille-c.png differ diff --git a/canaille/static/img/canaille-c.svg b/canaille/static/img/canaille-c.svg new file mode 100644 index 00000000..fb15e09b --- /dev/null +++ b/canaille/static/img/canaille-c.svg @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + diff --git a/canaille/static/img/canaille-full.png b/canaille/static/img/canaille-full.png new file mode 100644 index 00000000..2653737b Binary files /dev/null and b/canaille/static/img/canaille-full.png differ diff --git a/canaille/static/img/canaille-full.svg b/canaille/static/img/canaille-full.svg new file mode 100644 index 00000000..ad1da295 --- /dev/null +++ b/canaille/static/img/canaille-full.svg @@ -0,0 +1,151 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/canaille/static/img/canaille-head.png b/canaille/static/img/canaille-head.png new file mode 100644 index 00000000..e869f9fb Binary files /dev/null and b/canaille/static/img/canaille-head.png differ diff --git a/canaille/static/img/canaille-head.svg b/canaille/static/img/canaille-head.svg new file mode 100644 index 00000000..55ec9bfc --- /dev/null +++ b/canaille/static/img/canaille-head.svg @@ -0,0 +1,79 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/canaille/static/img/canaille-label.png b/canaille/static/img/canaille-label.png new file mode 100644 index 00000000..befb387b Binary files /dev/null and b/canaille/static/img/canaille-label.png differ diff --git a/canaille/static/img/canaille-label.svg b/canaille/static/img/canaille-label.svg new file mode 100644 index 00000000..b0e8efc2 --- /dev/null +++ b/canaille/static/img/canaille-label.svg @@ -0,0 +1,77 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/canaille/templates/base.html b/canaille/templates/base.html index f4aa6521..5bff2163 100644 --- a/canaille/templates/base.html +++ b/canaille/templates/base.html @@ -9,7 +9,7 @@ - {% if logo_url %}{% endif %} + {% if logo_url %}{% endif %} {% block style %}{% endblock %}