Commit Graph

360 Commits

Author SHA1 Message Date
f9f79875c0 Add mail verification. 2024-02-11 16:24:42 +01:00
3f2573831a Registration: validation works. 2024-02-11 15:36:14 +01:00
9a19462a99 Validate login (alphanum), email, password (vchar). 2024-02-10 20:28:59 +01:00
dc7ee7d250 WIP: validation for the email address at registration. 2024-02-10 18:11:11 +01:00
329d84e6f9 Change a few names, split authentication and registration. 2024-02-10 03:10:29 +01:00
41b4511a94 Use (#) instead of ($) for multi-line function chaining. 2024-02-09 05:23:07 +01:00
42192fb9e9 Better rendition of the zone content (empty line between record groups). 2024-02-09 02:12:02 +01:00
412a06d10b Page reload: DONE! 2024-02-08 20:20:33 +01:00
7544cb90ee WIP: automatic re-authentication to dnsmanagerd on page reload. 2024-02-07 20:45:48 +01:00
c9c1b81912 WS Module comments. 2024-02-07 16:48:19 +01:00
5a987a524c Better display of resource records. 2024-02-07 05:00:51 +01:00
4f785e6dcc Largely simplify the Bulma module. 2024-02-07 04:00:15 +01:00
32fe44e34c Massive code removal! 2024-02-06 04:21:26 +01:00
4813d5dd60 Remove RR.purs (now useless). 2024-02-06 04:20:21 +01:00
6367bf8a86 ZoneInterface: the interface change is almost complete. 2024-02-06 03:20:29 +01:00
cf6370640d WIP: replacing the dedicated records with ResourceRecord. Compiles again! 2024-02-05 23:29:07 +01:00
0cc1fec90b WIP: switching to ResourceRecord everywhere. Cannot compile ATM. 2024-02-05 19:32:02 +01:00
0838c962f0 Compiles again. CurrentRR Modal is on the way. 2024-02-05 15:29:38 +01:00
e343523142 WIP: modals. CANNOT COMPILE ATM. 2024-02-05 04:17:56 +01:00
1f4191acba WIP: massive code cleaning & _resources array for all RRs. 2024-02-05 01:12:53 +01:00
2904a0e089 UpdateLocalForm: simpler code, could replace dozens and dozens of lines. 2024-02-04 14:33:16 +01:00
08dcd6d875 WIP: a single entry in the state for all resources. 2024-02-04 04:30:54 +01:00
cfd356a650 Provide error messages + fix some warnings. 2024-02-04 00:54:00 +01:00
2b8a640427 Errors are displayed in a fancy way. 2024-02-03 18:57:38 +01:00
4a10ffa4e3 Validation: parsers for about everything. WIP. 2024-02-02 05:16:50 +01:00
64fe15aff7 Validation: both simplification and slowly using GenericParser. 2024-02-02 04:02:12 +01:00
38bbc36a88 AcceptedRRTypes. 2024-02-01 16:20:55 +01:00
1171703b62 A new path for the validation process. Will be rewritten with GenericParser! 2024-02-01 16:11:53 +01:00
28c1d56b6f WIP Validation, CANNOT COMPILE ATM. 2024-02-01 13:27:15 +01:00
bbc258bc58 minor 2024-01-23 02:51:22 +01:00
8310488e82 Remove unused code. 2024-01-23 02:44:06 +01:00
d6f49210a8 Remove the modal when the "add" button is clicked. 2024-01-23 02:42:04 +01:00
7fcb9d73a9 Remove a lot of obsolete code. 2024-01-22 23:43:51 +01:00
68a06928ca WIP: code clean-up. loopE to loop over Halogen evenful functions. 2024-01-22 21:22:30 +01:00
272237a5a1 WIP: modal forms. 2024-01-22 05:44:29 +01:00
c448521df7 WIP: (slowly) replacing fixed "new RR" forms with modal forms. 2024-01-21 17:44:46 +01:00
c9552677ab Bulma "level" layout. 2024-01-21 05:33:10 +01:00
22053089af WIP: bulma modal caps + remove some warnings. 2024-01-21 02:51:49 +01:00
047c21103f WIP: Bulma module now has modal capabilities. 2024-01-21 02:47:12 +01:00
f579353d11 Start using GenericParser. 2024-01-20 05:00:03 +01:00
6829b6445b Put all decoding message code in Container instead of AuthenticationForm. 2023-10-01 01:39:37 +02:00
7178b29ae1 Remove redundant code. 2023-09-30 22:35:17 +02:00
7c6cb46c12 ZoneInterface is now somewhat working again. Should remove useless log messages. 2023-09-30 20:54:09 +02:00
5ac94bf0fe Can build again 2023-09-30 14:52:48 +02:00
ab654ddbe7 Comments. 2023-08-17 23:52:21 +02:00
8786af38a7 Decode DNS messages in the Container module (WIP: NOT BUILDABLE). 2023-07-29 20:33:29 +02:00
e1dcf5c40b Prevent new domain request until new subdomain is correct. 2023-07-25 23:01:03 +02:00
fa4e6703ee New domains are now tested before submit. 2023-07-25 16:47:29 +02:00
729eedf475 Comments. 2023-07-25 15:54:17 +02:00
26b1c59937 Domain Parser: return the last point. 2023-07-25 15:32:42 +02:00
91337d0f57 Comments. 2023-07-24 15:05:59 +02:00
f1f30c8bcd DomainParser: removed warnings. 2023-07-24 12:32:57 +02:00
016f0e03c5 DomainParser 2023-07-23 22:42:43 +02:00
ff46b7937a Bulma: strong 2023-07-23 03:29:19 +02:00
99eedc1c15 Bulma: code + text 2023-07-22 15:44:32 +02:00
ef3be6cc76 Take care of many error responses. 2023-07-15 21:54:18 +02:00
c168c36dd0 Password recovery (draft). 2023-07-15 19:44:41 +02:00
b059b42bfc Navbar: single button for login and register. 2023-07-15 18:35:56 +02:00
54e7e77c5a Delete button for removing domains. 2023-07-15 18:13:18 +02:00
576e036501 Disconnection button. 2023-07-15 18:05:44 +02:00
6705d29dba Textareas for TXT records. 2023-07-15 17:53:36 +02:00
3e358f04fc THIS IS AN ALPHA RELEASE 2023-07-15 16:30:02 +02:00
62078e04b8 Navbar rewrite. 2023-07-15 16:29:51 +02:00
e4c696b656 Rework on the home page and the navbar. 2023-07-15 15:52:56 +02:00
eb780fc5ce HomeInterface: module can be compiled, nothing to render yet. 2023-07-15 13:56:32 +02:00
e172a41f2d HomeInterface, WIP. 2023-07-15 04:33:18 +02:00
8e83eb3b56 Better new RR forms. 2023-07-15 04:13:51 +02:00
e60664b522 Better forms. 2023-07-15 03:23:21 +02:00
4767bd186c No more useless columns. 2023-07-14 21:22:17 +02:00
2d31751b09 Better tables + SOA display is now okay-ish. 2023-07-14 21:02:35 +02:00
9b674a9d1e Show errors for both Simple, MX and SRV RR. 2023-07-14 19:49:39 +02:00
b0b0429ace Show actual errors. 2023-07-14 19:33:33 +02:00
9e55254f91 Add a new error line when an error in a RR occurs. Empty for now. 2023-07-14 18:43:06 +02:00
e07e5f35cd Add a (still commented) function to refactor update code. 2023-07-14 07:45:52 +02:00
50eeb340f8 Slight refactoring. 2023-07-14 06:03:57 +02:00
106245c6c6 Many more small contributions for the validation module. 2023-07-14 05:40:03 +02:00
f261e836b4 Let's try some parsing. 2023-07-14 03:08:44 +02:00
2c439667cf Move AlternativeMain (will probably be ignored forever). 2023-07-14 01:16:24 +02:00
65857a7155 Fix warnings. 2023-07-14 01:15:02 +02:00
418f6d74cd Compiles again, but not everything will work (still validations to do!) 2023-07-14 01:04:38 +02:00
15eb7d9acb andThen 2023-07-14 00:35:50 +02:00
5fdbcc6058 Fix most errors in the validation module. 2023-07-13 19:30:09 +02:00
66cc65dc52 Validation: WIP. Still cannot build for the moment. 2023-07-13 02:55:57 +02:00
db6987b3a8 Validation: first draft. WIP. Cannot build atm. 2023-07-13 00:54:29 +02:00
bf0db1417d (minor) remove some logs. 2023-07-12 23:57:44 +02:00
c0ed930bea Rewrite RecordBase type (in RR.purs) to match ResourceRecord. 2023-07-12 20:38:50 +02:00
7c5574e3d4 Remove Finalize action. 2023-07-12 19:15:08 +02:00
52bbebd879 RR.purs: clean unused code. 2023-07-12 19:11:09 +02:00
297f0312bd New RRUpdated & RRReadOnly return messages. 2023-07-12 16:08:42 +02:00
d23699d85a Sync RR. 2023-07-12 14:45:19 +02:00
f0db34d694 All updates in only two actions. 2023-07-12 14:19:07 +02:00
c307e1679e Fix warnings. 2023-07-12 13:06:36 +02:00
c2fb32b547 fromLocalToRR + some code removal 2023-07-12 03:22:32 +02:00
15012f3824 Cosmetic changes (fix -> save, X -> remove) + comments. 2023-07-12 02:41:19 +02:00
437722c323 Add "Protocol" attribute to SRV RR. 2023-07-12 01:38:21 +02:00
f883dcd27a SOA is now supported. 2023-07-11 23:35:56 +02:00
2fb58ea458 Update comments. 2023-07-11 05:44:54 +02:00
4467ceaa74 Remove most debug logs. 2023-07-11 04:46:48 +02:00
8c1b0b8b76 Minor fix for the zone update. 2023-07-11 04:46:24 +02:00
cf8380fff4 Add new entries! 2023-07-11 04:18:43 +02:00
0680c9f1ab Zone is correctly received. SOA todo. 2023-07-11 03:43:16 +02:00
88226019fd Add real data from the server: WIP. 2023-07-11 03:26:42 +02:00
e60ce8f8b4 Can add new MX RR. RR removal implies a modal. 2023-07-11 02:00:29 +02:00
2f7ac68e2c Further cleaning of the ZoneInterface module. 2023-07-10 20:33:28 +02:00
252fbac269 Classes are in CSSClasses, some unused code removed, etc. 2023-07-10 20:15:22 +02:00
b976cd2ebc Remove now useless App.Style module. 2023-07-10 18:24:50 +02:00
c0db4a93e0 ZoneInterface now uses mostly the Bulma module. 2023-07-10 18:14:56 +02:00
44004ec96e ZoneInterface: log decode errors, log received Zone. 2023-07-10 05:01:08 +02:00
fbb34ba0fe TTL limit actually isn't sent. 2023-07-10 04:17:00 +02:00
8130a90f4a Container now provides messages from dnsmanagerd to the ZoneInterface module. 2023-07-10 04:08:02 +02:00
5dc03a9649 Interface slightly fixed. 2023-07-10 03:59:44 +02:00
faf7129989 Forgot a value in the ResourceRecord type. 2023-07-10 03:59:15 +02:00
b89eae5a82 DNSZone now relates to the actual DNSZone on dnsmanagerd. 2023-07-10 03:58:26 +02:00
1870c5df50 RRDeleted message. 2023-07-10 03:36:40 +02:00
302b18c9ff Minor changes. 2023-07-10 03:16:07 +02:00
f03909f83d ResourceRecord type is now implemented to handle incoming messages. 2023-07-10 03:15:32 +02:00
b3e422c38f Remove the App.Button module (only served as an example). 2023-07-10 03:15:03 +02:00
44e4331943 ZoneInterface: remove the DoNothing action. 2023-07-09 17:41:37 +02:00
c0d38d09bb ZoneInterface another stab at cleaning the whole module. 2023-07-09 17:37:49 +02:00
d9518bc563 ZoneInterface rewrite: WIP. Updates for new RR are now cleaner (1 action). 2023-07-09 16:00:36 +02:00
f9ab384d06 ZoneInterface outputs are taken care of. 2023-07-09 15:59:49 +02:00
b178a830cc Tiles + titles. 2023-07-09 14:26:47 +02:00
7f08646fda Show a zone template. 2023-07-09 05:27:53 +02:00
6ccc1846df Adding a WIP zone interface. Not even showable ATM. 2023-07-09 05:14:29 +02:00
2072347df0 Add a modal to confirm the removal of a domain. 2023-07-09 03:14:31 +02:00
796cd3ea55 Store the AuthenticationDaemonAdminInterface state, too. 2023-07-09 02:40:10 +02:00
f6f78f49ed Store the state of DomainListInterface in its parent. IT WORKS! 2023-07-09 02:28:36 +02:00
507330120e Add some documentation for DomainListInterface. 2023-07-08 23:44:01 +02:00
572dfc88a4 Make the compiler happy (remove useless imports). 2023-07-08 17:05:34 +02:00
367e914fc7 At last, some documentation. Just a scratch on the surface. 2023-07-08 17:04:13 +02:00
dafb90b71a Problem to fix: state is rewritten when changing page. 2023-07-08 07:09:56 +02:00
a395b88ef2 Better (pseudo-)routing. 2023-07-08 06:29:37 +02:00
05f751dd21 Actual navigation WIP. 2023-07-08 05:41:41 +02:00
0e29dc5df6 Navbar in a separate file. 2023-07-08 04:17:13 +02:00
afe576a557 Coding style corrections. 2023-07-08 04:00:32 +02:00
ed4ac04c28 Bulma: provide remaining signatures. 2023-07-08 03:47:13 +02:00
e4fbe59a3b Clearer netlib.re navbar. 2023-07-08 02:59:30 +02:00
46d9352a16 Bulma cleaning (WIP). Removing some useless stuff. 2023-07-08 02:00:23 +02:00
7c88287f2b Oopsie. 2023-07-08 01:52:09 +02:00
dac8067508 CSS classes in a separate module. 2023-07-08 01:50:11 +02:00
ac9492b62e Decorative navbar. 2023-07-08 00:22:23 +02:00
caaefcca3e Show the URL of the WS connection. 2023-07-07 20:29:49 +02:00
0fb4fcd608 Style (minor). Are sections even useful? 2023-07-05 07:14:49 +02:00
9f4600b1e8 Style, again. Improved DomainList UI. 2023-07-05 07:00:42 +02:00
de52e40036 Style. 2023-07-05 06:50:30 +02:00
53fdefd790 New LogMessage structure. 2023-07-05 04:49:32 +02:00
d99e38d1b8 Some name changes (+ fix). 2023-07-05 04:18:01 +02:00
fb7c07e64d Change some names. 2023-07-05 03:52:28 +02:00
85df40cc23 Better message routing. 2023-07-05 03:45:45 +02:00
634b30bbf5 Change some log messages. 2023-07-05 03:18:01 +02:00