Commit Graph

21 Commits

Author SHA1 Message Date
Joona Hoikkala
0c3d538de8
Update golint, dependencies and get to sane state (#313)
* Update golangci-lint config

* Fix mutex embedding lint issue

* Change go version

* Update dependencies

* Bump golangci-lint version
2022-08-10 15:17:11 +03:00
Joona Hoikkala
835fbb9ef6
Migrate to GitHub actions for coverage & unit test automation (#251) 2021-01-11 17:31:09 +02:00
znerol
c13035a344 Refactor: Use more specific type in argument of DB.Update (#162)
The DB.Update function takes a type of ACMETxt. However, the function
only requires the Value and Subdomain fields.

Refactor the function such that it takes ACMETxtPost instead of the full
ACMETxt record. This will simplify extraction of txt-record related
logic from the db code.
2019-06-12 15:41:02 +03:00
Joona Hoikkala
75d4a30c1f
Update dependencies and replace uuid library (#100) 2018-08-10 16:51:32 +03:00
Joona Hoikkala
733245fb3d
Support for multiple TXT records per subdomain (#29)
* Support for multiple TXT records per subdomain and database upgrade functionality

* Linter fixes

* Make sure the database upgrade routine works for PostgreSQL

* Move subdomain query outside of the upgrade transaction
2018-01-22 09:53:07 +02:00
Joona Hoikkala
9c54da3ee6
Try to read config from under /etc (#18) 2017-11-14 00:42:30 +02:00
Joona Hoikkala
41b2ff5940 Use iris v6 and Go 1.8+ (#10)
* Quick fixes to bring framework up to date

* Script for test running, api tests need complete rewrite

* Removed govendor from tests

* Fix for AutoTLS
2017-08-02 19:25:27 +03:00
Joona Hoikkala
c3ac7a211c
DB code for CIDR handling 2016-12-01 00:03:08 +02:00
Joona Hoikkala
353a488f01
Extend the database for a upcoming feature before release 2016-11-29 15:35:46 +02:00
Joona Hoikkala
31a82e680f
Better DB test coverage 2016-11-28 01:55:57 +02:00
Joona Hoikkala
4615826267
Made DB an interface 2016-11-27 23:21:46 +02:00
Joona Hoikkala
5072b231af
Refactored tests 2016-11-27 19:41:54 +02:00
Joona Hoikkala
4269069a54
Went logrus 2016-11-26 15:53:38 +02:00
Joona Hoikkala
2406bf8d44
More API tests and removal of dead code 2016-11-24 01:37:24 +02:00
Joona Hoikkala
670c20f904 Refactoring and comments 2016-11-23 22:12:43 +02:00
Joona Hoikkala
ba63bad793 Refactoring 2016-11-23 22:12:43 +02:00
Joona Hoikkala
8d21f32d1e Database mutex 2016-11-23 22:12:42 +02:00
Joona Hoikkala
546a35ed00 Added PostgreSQL support 2016-11-23 22:12:42 +02:00
Joona Hoikkala
d30860eeb8 Coding style fixes 2016-11-23 22:12:42 +02:00
Joona Hoikkala
ed56a11e88
Refactoring, alpha v0.1 2016-11-13 14:50:44 +02:00
Joona Hoikkala
5433444b2f
Initial commit, PoC quality 2016-11-11 16:48:00 +02:00