Commit Graph

33 Commits

Author SHA1 Message Date
Philipp Staiger
01b77384f9
feat(duo): multi device selection (#2137)
Allow users to select and save the preferred duo device and method, depending on availability in the duo account. A default enrollment URL is provided and adjusted if returned by the duo API. This allows auto-enrollment if enabled by the administrator.

Closes #594. Closes #1039.
2021-12-01 14:32:58 +11:00
Amir Zarrinkafsh
209b39ffd0
docs: fix required flag for smtp notifier sender option (#2446)
Fixes: #2445.
2021-10-04 13:44:59 +11:00
Amir Zarrinkafsh
a32d030144
ci(buildkite): remove automatic retries for lint step (#2435)
* ci(buildkite): remove automatic retries for lint step

* refactor(web): refactor commitlint hook for windows
2021-10-02 15:56:46 +10:00
Amir Zarrinkafsh
3d312cf3b9
refactor: replace yarn with pnpm (#2424)
* Check for pnpm in authelia-scripts
* Improve husky hooks to check for required apps
* Use pnpm in coverage dockerfile
* Use pnpm in dev workflow
* Stop buildx log truncation
* Ignore pnpm lockfile in yamllint
* Update versions required for docker and docker-compose in contributing docs
2021-09-29 17:24:21 +10:00
Amir Zarrinkafsh
cc765115b2
ci: add husky with pre-commit and commit-msg hooks (#2352)
* ci: add husky with pre-commit and commit-msg hooks

This change includes two new hooks as part of our GitHub workflow with husky:

* `pre-commit`: Performs linting with golangci-lint and eslint/prettier
* `commit-msg`: Ensures that the commit messages conform to our guidelines and will error and provide context to a user when they do not.

The `prepare` command which has been included is executed each time a `yarn install` is executed.

* ci: extend @commitlint/config-conventional configuration

* fix: lint all dot js files
2021-09-09 12:22:11 +10:00
James Elliott
0fbd3c3938
docs: update and unify contact options (#2213)
This updates and unifies the contact options so it is easier to maintain. All contact options now link back to one of two locations, and both of these locations are a copy and paste for the most part.

Co-authored-by: Amir Zarrinkafsh <nightah@me.com>
2021-07-30 14:19:17 +10:00
Amir Zarrinkafsh
a004164bc3
ci(autheliabot): remove commentary on all-contributor commits (#2091) 2021-06-17 17:35:18 +10:00
James Elliott
d33d6c2f00
ci: add yamllint (#1895)
This change implements yamllint and adjusts all yaml files to abide by our linting setup. This excludes config.template.yml as this will be done in an alternate commit.
2021-04-11 06:51:00 +10:00
Amir Zarrinkafsh
e816a2e563
ci: publish docker images to ghcr (#1860)
* ci: publish docker images to ghcr

* ci: remove ghcr images with no tags

* ci: remove unnecessary ghcr jq args for empty tags

* ci: move ghcr empty tag clean up

Publishes Docker container images on both DockerHub and GitHub Container Registry.
2021-03-30 09:17:19 +11:00
James Elliott
5b9f505e6c
docs: add issue templates (#1847)
* docs: add issue templates
* ci: skip .github/ dir
2021-03-24 09:50:11 +11:00
James Elliott
1e46ec6c44
ci: restore dependabot rules (#1797)
Restores the dependabot rules in buildkite for the purpose of security fixes which are handled by dependabot still.
2021-03-10 15:53:33 +11:00
Amir Zarrinkafsh
aac5170ddc
ci: remove dependabot (#1696)
da5892faad introduced renovate to Authelia.
Now that it has been evaluated dependabot is no longer necessary and can be removed.
2021-02-04 13:06:23 +11:00
renovate[bot]
da5892faad
ci: configure renovate (#1643)
* Add renovate.json

* Update renovate configuration

* Fix labelling

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Amir Zarrinkafsh <nightah@me.com>
2021-01-30 14:28:23 +11:00
Amir Zarrinkafsh
b68ebda83e
[CI] Fix CI/CD for forked master branches (#1596)
An extra filter needed to be removed and pull request branch filtering on Buildkite changed to ensure that forked `master` branches actually receive CI/CD treatments.
2021-01-13 12:45:15 +11:00
Amir Zarrinkafsh
e6111f775b
[CI] Update PR commentary (#1592)
This change updates the PR commentary specifically around linting.

We now also allow users to submit PR's to Authelia from forked `master` branches as this previously caused issues with codecov.
2021-01-12 12:21:01 +11:00
Amir Zarrinkafsh
ad6b152fee
[CI] Fix user reference in PR commentary (#1231)
Co-authored-by: Clément Michaud <clement.michaud34@gmail.com>
2020-07-26 21:09:43 +02:00
Amir Zarrinkafsh
ccc5ce8b42
[CI] Final touches to PR commentary (#1171) 2020-07-01 16:59:46 +10:00
Amir Zarrinkafsh
73a7d0465a
[CI] Attempt to fix PR commentary (#1168) 2020-07-01 16:28:12 +10:00
Amir Zarrinkafsh
414927043c
[CI] Ignore CI/CD and notify for forked master branches (#1166)
There is an issue with codecov where if a PR is made from a forked master branch this manages to assume itself as the default codecov branches, this in turn causes coverage synchronisation issues for our repo.
2020-07-01 16:07:27 +10:00
Amir Zarrinkafsh
15edb2a074
[CI] Adjust external PR commentary (#1117)
Within the current message autheliabot refers to itself in third person, this looks to clear up the language around that messaging.
2020-06-17 16:39:18 +10:00
James Elliott
9e9dee43ac
[FEATURE] Notifier Startup Checks (#889)
* implement SMTP notifier startup check
* check dial, starttls, auth, mail from, rcpt to, reset, and quit
* log the error on failure
* implement mock
* misc optimizations, adjustments, and refactoring
* implement validate_skip config option
* fix comments to end with period
* fix suites that used smtp notifier without a smtp container
* add docs
* add file notifier startup check
* move file mode into const.go
* disable gosec linting on insecureskipverify since it's intended, warned, and discouraged
* minor PR commentary adjustment
* apply suggestions from code review

Co-Authored-By: Amir Zarrinkafsh <nightah@me.com>
2020-04-21 14:59:38 +10:00
James Elliott
a26ddf9c65
[CI] Update PR commentary messages (#890)
* thank users for their contribution
* let users know about the golangci-lint reviews
* notify users about artifacts on buildkite
2020-04-21 13:08:40 +10:00
Amir Zarrinkafsh
cd561ef094
[Buildkite] Fix pipeline to work alongside dependabot (#706)
This change will continue to perform unit and integration testing, however, disables deployment steps in association with dependabot PRs.
Deployment comments on the PR with autheliabot are also disabled.
2020-03-15 13:49:57 +11:00
Amir Zarrinkafsh
6530780817
[MISC] Utilise Probot for PR commentary (#633)
Remove Buildkite trigger for commentary.
2020-02-14 18:50:38 +11:00
Amir Zarrinkafsh
9c9d8518eb
[Buildkite] Perform PR commentary in pipeline and remove github action (#614)
* [Buildkite] Perform PR commentary in pipeline and remove github action

* [Buildkite] Optimise deployment post-command hook
2020-02-03 20:07:01 +11:00
Clément Michaud
4d981b3934
Use forked version of checkout action 2020-02-02 22:54:34 +01:00
Clément Michaud
d8f20ea7a9
Update comment.yml 2020-02-02 22:34:49 +01:00
Clément Michaud
8a07fc5c67
Update comment.yml 2020-02-02 22:30:45 +01:00
Clément Michaud
4df798e067
Update comment.yml 2020-02-02 12:23:24 +01:00
Amir Zarrinkafsh
6245dd68e9
[MISC] Change github action comment plugin (#609) 2020-02-01 18:12:58 +01:00
Amir Zarrinkafsh
006c9e20db
[FIX] Fix token associated with github actions (#607) 2020-02-02 00:47:23 +11:00
Amir Zarrinkafsh
05592cbe2d
[MISC] Add github comment workflow for automated builds (#605) 2020-02-01 12:56:11 +01:00
Clément Michaud
fffff82735
Create FUNDING.yml 2020-01-21 22:20:13 +01:00