Commit Graph

135 Commits

Author SHA1 Message Date
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
26ae054e65 Start working on services 2020-05-11 00:18:50 +02:00
2c7d3cb043 Fix issue when exchanging huge zones 2020-05-11 00:18:49 +02:00
97051c5a25 Handle user authentication: display user related zones 2020-05-11 00:18:49 +02:00
69baae1310 Not hardcoded server url 2020-05-11 00:18:49 +02:00
fcc62a0990 Change project name from libredns to happydns.org 2020-05-11 00:18:49 +02:00
74dfd0a42a add basic session management 2020-05-11 00:18:49 +02:00
8ac28310f9 add basic users functions 2020-05-11 00:18:49 +02:00
cb50151678 DDNS keys are now not hardcoded 2020-05-11 00:18:49 +02:00
0b55b5fed3 Save zones into DB 2020-05-11 00:18:49 +02:00
5b12363e06 api: define $ORIGIN and $TTL when adding record 2020-05-06 12:06:59 +02:00
e42e078f30 Improve API 2020-05-06 12:06:59 +02:00
1858e61321 Use DefaultNameServer for doing queries 2019-07-16 16:44:54 +02:00
54a104dc72 api: add version info 2019-07-16 16:43:00 +02:00
6d60e29ddf Initial commit 2019-07-16 16:19:10 +02:00