Commit Graph

37 Commits

Author SHA1 Message Date
nemunaire 1035610be0 Relicense the project to AGPL-3.0 2023-12-24 11:42:00 +01:00
nemunaire e3d8f32b58 New user that wants to receive newsletter can be registered to listmonk
continuous-integration/drone/push Build is passing Details
2023-11-19 15:03:40 +01:00
nemunaire 890806aeee Expose some API structs 2023-09-07 12:52:22 +02:00
nemunaire e070b6e82b Expose some API structs
continuous-integration/drone/push Build is failing Details
2023-09-07 12:22:33 +02:00
nemunaire 56b22bade5 Fix project name to permit go get
continuous-integration/drone/push Build is running Details
2023-09-07 11:37:18 +02:00
nemunaire 653a8c02e2 Force cookie refresh during auth check in NO_AUTH context
continuous-integration/drone/push Build is passing Details
Bug: https://github.com/happyDomain/happydomain/issues/1
2023-09-07 10:20:50 +02:00
nemunaire 4e17658d88 Define ExternalURL as a net/url.URL and add tests and sanitization
Closes: https://github.com/happyDomain/happydomain/issues/9
2023-09-07 10:06:24 +02:00
nemunaire 216cdee5d5 Add Swagger
continuous-integration/drone/push Build is running Details
2023-08-05 22:10:27 +02:00
nemunaire 90db15d2ed Enable detection and fix go vet issues 2023-05-20 18:53:23 +02:00
Renovate Bot 7b91fc8f5f fix(deps): update module github.com/golang-jwt/jwt/v4 to v5 2023-05-18 19:52:22 +02:00
nemunaire dd67032e5d api: Return NoContent on delete actions 2023-01-11 15:24:02 +01:00
nemunaire c29a8fa57f Use identifiers globally 2023-01-11 12:25:28 +01:00
nemunaire c0a3ea2d4c This is happyDomain now
continuous-integration/drone/push Build is passing Details
2022-01-18 10:16:32 +01:00
nemunaire 15fea62a0c Redirect to external login form 2021-12-16 20:04:10 +01:00
nemunaire 4f1b20e392 Modular authentication
The authentication is now made through JWT.

It still remains login and signup form to simplify small installations
2021-12-16 20:04:10 +01:00
nemunaire 4f375162a3 Fix display of errors (%w is only for Errorf) 2021-08-13 17:39:04 +02:00
nemunaire eb60b3fbde Don't enforce secure cookie flag if external URL begins with http://
Closes: #3
2021-07-06 19:01:08 +02:00
nemunaire cf416224d1 Refactor to use gin-gonic 2021-06-09 22:51:13 +02:00
nemunaire e80281c941 Add NO_AUTH configuration option.
This option permit to use happyDNS without creating accounts.
2021-01-06 03:20:14 +01:00
nemunaire bf5f35daf3 Add user settings and ability to change lang 2020-12-29 17:06:12 +01:00
nemunaire dc49cd0e63 Improve logging 2020-12-08 18:25:23 +01:00
nemunaire e2419d545f API: Add SameSite Strict attribute to cookie 2020-12-08 18:25:23 +01:00
nemunaire e8e845b725 Give neutral answer when username is not found 2020-12-08 18:25:22 +01:00
nemunaire e7cae312d6 api: Fill a structure instead of passing argument to API function 2020-12-08 18:25:21 +01:00
nemunaire fb9860176e Create a administration interface 2020-12-08 18:25:21 +01:00
nemunaire fc64e8d40d Add email validation after registration 2020-06-24 18:28:04 +02:00
nemunaire 725ce10eb5 Move auth to a dedicated route 2020-06-24 18:28:04 +02:00
nemunaire 5461823525 Use secure cookies to store session identifier instead of localstorage 2020-05-12 18:17:14 +02:00
nemunaire 82bf82034f Add LICENSE (CeCILL v2.1) 2020-05-11 00:18:50 +02:00
nemunaire 92896d8a84 Implement zone management in levelDB driver: now fully implemented 2020-05-11 00:18:50 +02:00
nemunaire 53e6b315c7 Implement sessions in LevelDB driver 2020-05-11 00:18:50 +02:00
nemunaire 868a4e3abd Introducing LevelDB, currently handling only users 2020-05-11 00:18:50 +02:00
nemunaire efc6246685 Don't disclose too much informations about users 2020-05-11 00:18:50 +02:00
nemunaire 1263b87d1f Dedicate module to config parsing, include config as request context 2020-05-11 00:18:50 +02:00
nemunaire 7b9544b3db Refactor the whole Go project for a better directory architecture 2020-05-11 00:18:50 +02:00
nemunaire fcc62a0990 Change project name from libredns to happydns.org 2020-05-11 00:18:49 +02:00
nemunaire 74dfd0a42a add basic session management 2020-05-11 00:18:49 +02:00