Skip to content
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

feat(templates): templating functions #4635

Merged
merged 6 commits into from
Dec 23, 2022
Merged

Conversation

james-d-elliott
Copy link
Member

This adds several functions which are available in most areas that use templates.

This adds several functions which are available in most areas that use templates.
@authelia
Copy link

authelia bot commented Dec 23, 2022

Artifacts

These changes are published for testing on Buildkite, DockerHub and GitHub Container Registry.

Docker Container

  • docker pull authelia/authelia:feat-template-funcs
  • docker pull ghcr.io/authelia/authelia:feat-template-funcs

@codecov
Copy link

codecov bot commented Dec 23, 2022

Codecov Report

Merging #4635 (40630e6) into master (a916b65) will increase coverage by 0.15%.
The diff coverage is 77.30%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #4635      +/-   ##
==========================================
+ Coverage   67.31%   67.47%   +0.15%     
==========================================
  Files         265      265              
  Lines       18876    18973      +97     
  Branches      431      431              
==========================================
+ Hits        12707    12802      +95     
- Misses       5427     5429       +2     
  Partials      742      742              
Flag Coverage Δ
backend 67.89% <77.30%> (+0.17%) ⬆️
frontend 62.65% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...rnal/configuration/koanf_provider_filtered_file.go 73.41% <50.00%> (-3.59%) ⬇️
internal/templates/funcs.go 67.33% <76.61%> (+67.33%) ⬆️
internal/templates/util.go 42.46% <86.66%> (+12.46%) ⬆️

@james-d-elliott james-d-elliott changed the title feat(templates): readily available functions feat(templates): templating functions Dec 23, 2022
@netlify
Copy link

netlify bot commented Dec 23, 2022

Deploy Preview for authelia-staging ready!

Name Link
🔨 Latest commit cc22727
🔍 Latest deploy log https://app.netlify.com/sites/authelia-staging/deploys/63a5747b5a0994000829be05
😎 Deploy Preview https://deploy-preview-4635--authelia-staging.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@james-d-elliott james-d-elliott merged commit 55a6794 into master Dec 23, 2022
@james-d-elliott james-d-elliott deleted the feat-template-funcs branch December 23, 2022 10:58
@james-d-elliott james-d-elliott added this to the v4.38.0 milestone Jan 7, 2023
james-d-elliott added a commit that referenced this pull request Mar 24, 2023
This adds several functions which are available in most areas that use templates.
@james-d-elliott james-d-elliott added area/email Email related features/bugs area/config Configuration related features/bugs labels Aug 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/config Configuration related features/bugs area/email Email related features/bugs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants