Commit Graph

164 Commits

Author SHA1 Message Date
7c05c6199c Implement domains discovery through dnscontrol 2021-07-05 18:01:43 +02:00
b32c50b5bd WIP Do diff and apply through dnscontrol 2021-07-05 18:01:43 +02:00
4a431565df WIP Can import domain through dnscontrol 2021-07-05 18:01:43 +02:00
af5c500215 WIP Switch to providers 2021-07-05 18:01:43 +02:00
97c8a0d21f Start using DNScontrol 2021-07-05 17:18:15 +02:00
cf416224d1 Refactor to use gin-gonic 2021-06-09 22:51:13 +02:00
4d465883d6 Use gin-gonic as router 2021-06-09 22:51:13 +02:00
b15eb2ad44 Split shared actions in a dedicated package 2021-05-20 10:22:10 +02:00
fa647c7a4b Fix generation of records for the origin 2021-01-22 14:49:39 +01:00
735d68e7af source: Implement actions on importable after migration domains 2021-01-14 03:08:00 +01:00
23d004489d resolver: Handle most of resolver errors 2021-01-12 16:58:50 +01:00
02d19a2af6 resolver: new strategy to resolve ANY questions 2021-01-12 15:59:56 +01:00
3c038bee88 When using a reverse proxy, it can clean empty paths, always add @ 2021-01-09 21:27:28 +01:00
e80281c941 Add NO_AUTH configuration option.
This option permit to use happyDNS without creating accounts.
2021-01-06 03:20:14 +01:00
4dc0c592d0 Rework DNS resolver client 2021-01-06 03:20:14 +01:00
10398cad8a Simplify client resolver form 2021-01-06 03:20:14 +01:00
9272ee5a8c Make the DNS client public 2021-01-06 03:20:14 +01:00
0780bb6444 When importing zone, create a WIP element 2021-01-04 10:52:09 +01:00
f004899f2f Save settings on user registration 2021-01-04 10:52:09 +01:00
0458acc6c9 On password change or account deletion, disconnect all user sessions 2020-12-29 17:06:12 +01:00
d8b123f38a Fix source updating 2020-12-29 17:06:12 +01:00
bf5f35daf3 Add user settings and ability to change lang 2020-12-29 17:06:12 +01:00
af4637ff8b Include source capabilities in source specs list 2020-12-29 17:06:11 +01:00
bb0d9c857a Add icon for some service providers 2020-12-29 17:03:13 +01:00
53da0f60cb Use CustomForm to display services 2020-12-29 17:03:13 +01:00
fd72f3bff8 Refactor service add 2020-12-29 17:01:01 +01:00
6ea1115f20 Move all related forms struct to forms package 2020-12-29 17:00:06 +01:00
bb54496ca5 Split services into family 2020-12-08 18:25:23 +01:00
bf20e73bd6 Refactor zone analyzer method visibility 2020-12-08 18:25:23 +01:00
37ed10f3bf Move zone services under a dedicated route 2020-12-08 18:25:23 +01:00
e25ca8b160 Extract Forms as a dedicated module 2020-12-08 18:25:23 +01:00
e627e6b5ea Disable types that are not compatible with a given source 2020-12-08 18:25:23 +01:00
12d9acd368 Able to list records from abstract services 2020-12-08 18:25:23 +01:00
914d8b2669 New route to generate records for a given service 2020-12-08 18:25:23 +01:00
e70cc46be2 Transfert hexadecimal instead of base64 when this is truly hexadecimal 2020-12-08 18:25:23 +01:00
bf3d23c705 Display most DNS binary fields as hexadecimal 2020-12-08 18:25:23 +01:00
dc49cd0e63 Improve logging 2020-12-08 18:25:23 +01:00
e2419d545f API: Add SameSite Strict attribute to cookie 2020-12-08 18:25:23 +01:00
adff503fa1 Force deletion of the auth cookie when session has expired 2020-12-08 18:25:23 +01:00
a0ebd2f23d api: source_specs and service_specs don't contains / anymore 2020-12-08 18:25:22 +01:00
0b48f7bf58 Add My account page to change password and delete account 2020-12-08 18:25:22 +01:00
e8e845b725 Give neutral answer when username is not found 2020-12-08 18:25:22 +01:00
e5476f884b Fix edition of source with redirections outside happyDNS 2020-12-08 18:25:22 +01:00
eef9462931 Handle source update through source settings API 2020-12-08 18:25:22 +01:00
f439ad605d Rework new domain page, following new source creation method 2020-12-08 18:25:22 +01:00
46ca300201 Handle simple sources creation 2020-12-08 18:25:22 +01:00
21d4ed6f43 Refactor SourceField creation 2020-12-08 18:25:22 +01:00
3efa233a7c Add a button to delete source if it has no more domains associated 2020-12-08 18:25:22 +01:00
02612d576e Implement complex source registration 2020-12-08 18:25:22 +01:00
f5fe9320c6 Add a route to view current user session and clear it 2020-12-08 18:25:22 +01:00
eae71bdc7e Refactor multiple source fields 2020-12-08 18:25:22 +01:00
bbafb1bc6d Store values in session, and automatically save changes 2020-12-08 18:25:22 +01:00
e7cae312d6 api: Fill a structure instead of passing argument to API function 2020-12-08 18:25:21 +01:00
ef87fdf922 Don't include DNSSEC records in diffs 2020-12-08 18:25:21 +01:00
8c1170fef4 Include origin in RR generation to extends relatives forms 2020-12-08 18:25:21 +01:00
d75e20da6b Handle zone diff and update from abstract page 2020-12-08 18:25:21 +01:00
beb87a8572 Rename SourceType as SourceMeta to follow ZoneMeta 2020-12-08 18:25:21 +01:00
ab6fe350ca Import ZoneMeta in domain history 2020-12-08 18:25:21 +01:00
0625d8f5ec storage: add GetSourceType 2020-12-08 18:25:21 +01:00
c6e64d64a3 Don't do special case of aliases. Treat them only in frontend part. 2020-12-08 18:25:21 +01:00
014f728a6f Handle @ in subdomain, to avoid empty string 2020-12-08 18:25:21 +01:00
e1c0352ddc Can add new services to zone 2020-12-08 18:25:21 +01:00
4a19149b51 Full update/deletion on abstract page 2020-12-08 18:25:21 +01:00
8c829ba656 Handle service modifications 2020-12-08 18:25:21 +01:00
9d15f6b9a6 Add the ability to do some user managment tasks through admin API 2020-12-08 18:25:21 +01:00
c44a227419 Handle zone saving 2020-12-08 18:25:21 +01:00
fb9860176e Create a administration interface 2020-12-08 18:25:21 +01:00
f166e5b59b Add DefaultTTL 2020-12-08 18:25:21 +01:00
b2d7fddb39 Add password recovery form 2020-06-24 18:28:04 +02:00
fc64e8d40d Add email validation after registration 2020-06-24 18:28:04 +02:00
f996d69347 APIErrors now can take a link, href like in toasts 2020-06-24 18:28:04 +02:00
725ce10eb5 Move auth to a dedicated route 2020-06-24 18:28:04 +02:00
cc20dcb9fc Handle recursively structs insides primary struct services 2020-05-13 18:58:07 +02:00
5461823525 Use secure cookies to store session identifier instead of localstorage 2020-05-12 18:17:14 +02:00
ad7dde0d0a APIResponses can now handle cookies 2020-05-12 16:42:28 +02:00
40471e2dd9 Add service_specs based on source_specs 2020-05-11 00:19:49 +02:00
ec281b0128 Rename field name to avoid conflict with upcoming service_field 2020-05-11 00:19:49 +02:00
2daea2ae30 Use a function to retrieve Services 2020-05-11 00:19:49 +02:00
93b90ed954 Start working on zone services 2020-05-11 00:19:49 +02:00
dc4932265a Handle IPv6 resolvers 2020-05-11 00:19:49 +02:00
cffcb16116 Resolver: find local resolver instead of harcoded one 2020-05-11 00:19:49 +02:00
eeffeb9bf7 Force API to returns empty array instead of null 2020-05-11 00:18:50 +02:00
05b47ac614 Fix size of int on 32 bits hosts 2020-05-11 00:18:50 +02:00
82bf82034f Add LICENSE (CeCILL v2.1) 2020-05-11 00:18:50 +02:00
bc435db8e3 Add new interface to list domains living in a source API 2020-05-11 00:18:50 +02:00
701361e60d Add new DomainExists fonction to sources 2020-05-11 00:18:50 +02:00
9a474da61a Add a preliminary DNS resolver page 2020-05-11 00:18:50 +02:00
563d84eeda Add icon to sources 2020-05-11 00:18:50 +02:00
7beb01db5c Implement new Response type: FileResponse 2020-05-11 00:18:50 +02:00
311fc87d9f api: source_specs include an Id from json field 2020-05-11 00:18:50 +02:00
8362706c16 Add some fields to source specs 2020-05-11 00:18:50 +02:00
f467ee5059 Add an API route to source specs. 2020-05-11 00:18:50 +02:00
7f0be96a53 API routes for managing sources 2020-05-11 00:18:50 +02:00
fa2ed5133f Rename zone in domain 2020-05-11 00:18:50 +02:00
92896d8a84 Implement zone management in levelDB driver: now fully implemented 2020-05-11 00:18:50 +02:00
53e6b315c7 Implement sessions in LevelDB driver 2020-05-11 00:18:50 +02:00
868a4e3abd Introducing LevelDB, currently handling only users 2020-05-11 00:18:50 +02:00
efc6246685 Don't disclose too much informations about users 2020-05-11 00:18:50 +02:00
1263b87d1f Dedicate module to config parsing, include config as request context 2020-05-11 00:18:50 +02:00
7b9544b3db Refactor the whole Go project for a better directory architecture 2020-05-11 00:18:50 +02:00