Commit Graph

1754 Commits (08e674b62f6e86e052c42024c4ced4e48ea7372e)

Author SHA1 Message Date
Clement Michaud b89f63e9c1 Fix and parallelize integration tests. 2019-12-05 11:05:24 +01:00
Clement Michaud be802cfc7b Fix unit tests. 2019-12-05 11:05:24 +01:00
Clement Michaud 1617d98b11 Remove old version of the frontend. 2019-12-05 11:05:24 +01:00
Clement Michaud 17eaeabdf9 Remove the test directory at the root of the repo. 2019-12-05 11:05:24 +01:00
Clement Michaud c78a732c6a Rewrite and fix remaining suites in Go. 2019-12-05 11:05:24 +01:00
Clement Michaud 373911d199 Add first unit tests to frontend components. 2019-12-05 11:05:24 +01:00
Clement Michaud 9ae2096d2a Rewrite authelia frontend to improve user experience.
This refactoring simplify the code of the frontend and prepare the
portal for receiving a user settings page and an admin page.
2019-12-05 11:05:24 +01:00
Amir Zarrinkafsh 05129207a2 Update QEMU to v4.1.1-1 2019-12-03 08:46:18 +01:00
Amir Zarrinkafsh 41913360be Optimise deploy steps for Github releases (#468)
Signed-off-by: Amir Zarrinkafsh <nightah@me.com>
2019-12-02 20:46:27 +01:00
Amir Zarrinkafsh 6725dc753a Adjust logging for Docker helper script
Signed-off-by: Amir Zarrinkafsh <nightah@me.com>
2019-12-01 22:11:19 +01:00
Amir Zarrinkafsh 68845057a2 Retry curl up to 3 times for transient network errors
Signed-off-by: Amir Zarrinkafsh <nightah@me.com>
2019-11-29 08:34:12 +01:00
Amir Zarrinkafsh 1c35be7c27 Publish binary artifacts to GitHub
Signed-off-by: Amir Zarrinkafsh <nightah@me.com>
2019-11-28 18:54:07 +01:00
Amir Zarrinkafsh f143dd19a2 Publish additional minor and major tags on DockerHub
Signed-off-by: Amir Zarrinkafsh <nightah@me.com>
2019-11-28 18:52:10 +01:00
Amir Zarrinkafsh 1530267b50 Prevent publishing alpha/beta releases as latest on DockerHub 2019-11-22 14:19:00 +01:00
Clément Michaud 02971ff52c
Update README.md 2019-11-20 18:49:37 +01:00
Clément Michaud b388385491
Add enclosing parenthesis to users_filter
The enclosing parenthesis are mandatory with the Go LDAP driver.

In the near future a check will be done at configuration validation before Authelia even starts.
2019-11-20 09:01:08 +01:00
Clement Michaud eafd9330dc Update documentation to introduce migration scripts. 2019-11-19 00:11:53 +01:00
Clement Michaud 3b2d733367 Move source code into internal directory to follow standard project layout.
https://github.com/golang-standards/project-layout
2019-11-17 16:30:33 +01:00
Clement Michaud a06b69dd45 Provide commands to migrate database from v3 to v4. 2019-11-17 16:30:33 +01:00
Clement Michaud 6303485fd2 Add support for PostgreSQL. 2019-11-16 23:39:26 +01:00
Clement Michaud b2ced06402 Fix Kubernetes suite tests.
Also deploy kubernetes dashboard prior to authelia services to ease
debugging of the suite.
2019-11-16 23:39:26 +01:00
Clement Michaud e20112f209 Remove retry mechanism from mysql provider.
The retry logic is implemented in the reflex service script instead.
2019-11-16 23:39:26 +01:00
Clement Michaud 5b836fc4cf Cleanup documentation.
Remove mention of Mongo and basic suites. Also adapt some part
to changes made to authelia-scripts.
2019-11-16 23:39:26 +01:00
Clement Michaud bd19ee48fd Deprecate mongo and add mariadb as storage backend option. 2019-11-16 23:39:26 +01:00
Clement Michaud fc099221f7 Add logs before and after waiting for Authelia service in suites. 2019-11-16 23:39:26 +01:00
Clement Michaud a991379a74 Declare suites as Go structs and bootstrap e2e test framework in Go.
Some tests are not fully rewritten in Go, a typescript wrapper is called
instead until we remove the remaining TS tests and dependencies.

Also, dockerize every components (mainly Authelia backend, frontend and kind)
so that the project does not interfere with user host anymore (open ports for instance).
The only remaining intrusive change is the one done during bootstrap to add entries in /etc/hosts.
It will soon be avoided using authelia.com domain that I own.
2019-11-15 20:23:06 +01:00
Clement Michaud ad8463f2fa Fix authentication issue while performing docker tags cleaning. 2019-11-13 08:49:25 +01:00
Clement Michaud b8aaa01247 Do not fail silently on curl errors. 2019-11-12 21:17:01 +01:00
Amir Zarrinkafsh 08b519293a During cleanup, treat non-200 responses as an error and retry up to 3 times 2019-11-12 18:51:04 +01:00
Amir Zarrinkafsh 51465f8b77 Sync README.md from GitHub to DockerHub after push-manifest 2019-11-10 11:51:24 +01:00
Clément Michaud 0f248a01e9
Update README.md 2019-11-09 12:43:45 +01:00
Amir Zarrinkafsh 175ac50888 Remove unnecessary tags from DockerHub after publishing a manifest 2019-11-09 12:30:03 +01:00
Amir Zarrinkafsh e7816d7028 Fix docker manifest push 2019-11-08 13:15:15 +01:00
Clement Michaud a8ce22ade7 Fail the authelia-scripts commands when bad args are provided. 2019-11-07 16:26:18 +01:00
Amir Zarrinkafsh 23c093b9c6 Fix docker manifest push 2019-11-07 15:59:40 +01:00
Amir Zarrinkafsh 6380bd32d7 Enable Multiarch docker builds 2019-11-07 07:51:14 +01:00
Clement Michaud b9fea361c9 Create suite for testing the docker image.
Running this suite is the first advice given by the
bootstrap script to help the user move forward.

This commit also updates the documentation to reflect
changes introduced by the Go rewrite.
2019-11-03 16:53:47 +01:00
Daniel Miller c6e6551ebc Add "{CRYPT}" detail to deployment-dev 2019-11-03 10:20:56 +01:00
Clement Michaud 391bd6c576 Move authelia entrypoint to cmd/authelia directory. 2019-11-02 11:09:18 +01:00
Clement Michaud 5bd9e831eb Use pure implementation of crypt to generate and check password hashes.
This allows to remove the dependency to libc.
2019-11-01 23:06:31 +01:00
Clement Michaud ee2b181a7f Update changelog file. 2019-11-01 23:06:31 +01:00
Clement Michaud 0571df4058 Fetch state after logging out. 2019-11-01 19:03:22 +01:00
Clement Michaud 9d7224b7ad Replace typescript version of authelia-scripts by Go version. 2019-11-01 19:03:22 +01:00
Amir Zarrinkafsh 2dccd10a27 Add timezone example in Docker deployment 2019-10-30 22:47:44 +01:00
Amir Zarrinkafsh 3725578d8b Include tzdata package in docker container 2019-10-30 22:47:44 +01:00
Clement Michaud 546616173c Fix randomness in integration tests. 2019-10-30 09:29:43 +01:00
Clement Michaud 7006035012 Include a migration step regarding LDAP filters in the documentation. 2019-10-30 09:29:43 +01:00
Clement Michaud 67613d9fbe Support ldap:// protocol for ldap url to be backward compatible with v3. 2019-10-30 09:29:43 +01:00
Clement Michaud 931887a0a7 Use Golang modules to freeze dependencies. 2019-10-29 00:40:45 +01:00
Clement Michaud a86c652485 Isolate test resources under test directory. 2019-10-29 00:40:45 +01:00