Commit Graph

232 Commits (28c1d56b6fc11e3eea5c820c65c7083f8b04d1ee)

Author SHA1 Message Date
Philippe Pittoli 65857a7155 Fix warnings. 2023-07-14 01:15:02 +02:00
Philippe Pittoli 418f6d74cd Compiles again, but not everything will work (still validations to do!) 2023-07-14 01:04:38 +02:00
Philippe Pittoli 15eb7d9acb `andThen` 2023-07-14 00:35:50 +02:00
Philippe Pittoli 5fdbcc6058 Fix most errors in the validation module. 2023-07-13 19:30:09 +02:00
Philippe Pittoli 66cc65dc52 Validation: WIP. Still cannot build for the moment. 2023-07-13 02:55:57 +02:00
Philippe Pittoli db6987b3a8 Validation: first draft. WIP. Cannot build atm. 2023-07-13 00:54:29 +02:00
Philippe Pittoli bf0db1417d (minor) remove some logs. 2023-07-12 23:57:44 +02:00
Philippe Pittoli c0ed930bea Rewrite RecordBase type (in RR.purs) to match ResourceRecord. 2023-07-12 20:38:50 +02:00
Philippe Pittoli 7c5574e3d4 Remove Finalize action. 2023-07-12 19:15:08 +02:00
Philippe Pittoli 52bbebd879 RR.purs: clean unused code. 2023-07-12 19:11:09 +02:00
Philippe Pittoli 297f0312bd New RRUpdated & RRReadOnly return messages. 2023-07-12 16:08:42 +02:00
Philippe Pittoli d23699d85a Sync RR. 2023-07-12 14:45:19 +02:00
Philippe Pittoli f0db34d694 All updates in only two actions. 2023-07-12 14:19:07 +02:00
Philippe Pittoli c307e1679e Fix warnings. 2023-07-12 13:06:36 +02:00
Philippe Pittoli c2fb32b547 fromLocalToRR + some code removal 2023-07-12 03:22:32 +02:00
Philippe Pittoli 15012f3824 Cosmetic changes (fix -> save, X -> remove) + comments. 2023-07-12 02:41:19 +02:00
Philippe Pittoli 437722c323 Add "Protocol" attribute to SRV RR. 2023-07-12 01:38:21 +02:00
Philippe Pittoli f883dcd27a SOA is now supported. 2023-07-11 23:35:56 +02:00
Philippe Pittoli 2fb58ea458 Update comments. 2023-07-11 05:44:54 +02:00
Philippe Pittoli 4467ceaa74 Remove most debug logs. 2023-07-11 04:46:48 +02:00
Philippe Pittoli 8c1b0b8b76 Minor fix for the zone update. 2023-07-11 04:46:24 +02:00
Philippe Pittoli cf8380fff4 Add new entries! 2023-07-11 04:18:43 +02:00
Philippe Pittoli 0680c9f1ab Zone is correctly received. SOA todo. 2023-07-11 03:43:16 +02:00
Philippe Pittoli 88226019fd Add real data from the server: WIP. 2023-07-11 03:26:42 +02:00
Philippe Pittoli e60ce8f8b4 Can add new MX RR. RR removal implies a modal. 2023-07-11 02:00:29 +02:00
Philippe Pittoli 2f7ac68e2c Further cleaning of the ZoneInterface module. 2023-07-10 20:33:28 +02:00
Philippe Pittoli 252fbac269 Classes are in CSSClasses, some unused code removed, etc. 2023-07-10 20:15:22 +02:00
Philippe Pittoli b976cd2ebc Remove now useless App.Style module. 2023-07-10 18:24:50 +02:00
Philippe Pittoli c0db4a93e0 ZoneInterface now uses mostly the Bulma module. 2023-07-10 18:14:56 +02:00
Philippe Pittoli 44004ec96e ZoneInterface: log decode errors, log received Zone. 2023-07-10 05:01:08 +02:00
Philippe Pittoli fbb34ba0fe TTL limit actually isn't sent. 2023-07-10 04:17:00 +02:00
Philippe Pittoli 8130a90f4a Container now provides messages from dnsmanagerd to the ZoneInterface module. 2023-07-10 04:08:02 +02:00
Philippe Pittoli 5dc03a9649 Interface slightly fixed. 2023-07-10 03:59:44 +02:00
Philippe Pittoli faf7129989 Forgot a value in the ResourceRecord type. 2023-07-10 03:59:15 +02:00
Philippe Pittoli b89eae5a82 DNSZone now relates to the actual DNSZone on dnsmanagerd. 2023-07-10 03:58:26 +02:00
Philippe Pittoli 1870c5df50 RRDeleted message. 2023-07-10 03:36:40 +02:00
Philippe Pittoli 302b18c9ff Minor changes. 2023-07-10 03:16:07 +02:00
Philippe Pittoli f03909f83d ResourceRecord type is now implemented to handle incoming messages. 2023-07-10 03:15:32 +02:00
Philippe Pittoli b3e422c38f Remove the App.Button module (only served as an example). 2023-07-10 03:15:03 +02:00
Philippe Pittoli 44e4331943 ZoneInterface: remove the DoNothing action. 2023-07-09 17:41:37 +02:00
Philippe Pittoli c0d38d09bb ZoneInterface another stab at cleaning the whole module. 2023-07-09 17:37:49 +02:00
Philippe Pittoli d9518bc563 ZoneInterface rewrite: WIP. Updates for new RR are now cleaner (1 action). 2023-07-09 16:00:36 +02:00
Philippe Pittoli f9ab384d06 ZoneInterface outputs are taken care of. 2023-07-09 15:59:49 +02:00
Philippe Pittoli b178a830cc Tiles + titles. 2023-07-09 14:26:47 +02:00
Philippe Pittoli 7f08646fda Show a zone template. 2023-07-09 05:27:53 +02:00
Philippe Pittoli 6ccc1846df Adding a WIP zone interface. Not even showable ATM. 2023-07-09 05:14:29 +02:00
Philippe Pittoli 2072347df0 Add a modal to confirm the removal of a domain. 2023-07-09 03:14:31 +02:00
Philippe Pittoli 796cd3ea55 Store the AuthenticationDaemonAdminInterface state, too. 2023-07-09 02:40:10 +02:00
Philippe Pittoli f6f78f49ed Store the state of DomainListInterface in its parent. IT WORKS! 2023-07-09 02:28:36 +02:00
Philippe Pittoli 507330120e Add some documentation for DomainListInterface. 2023-07-08 23:44:01 +02:00
Philippe Pittoli 572dfc88a4 Make the compiler happy (remove useless imports). 2023-07-08 17:05:34 +02:00
Philippe Pittoli 367e914fc7 At last, some documentation. Just a scratch on the surface. 2023-07-08 17:04:13 +02:00
Philippe Pittoli dafb90b71a Problem to fix: state is rewritten when changing page. 2023-07-08 07:09:56 +02:00
Philippe Pittoli a395b88ef2 Better (pseudo-)routing. 2023-07-08 06:29:37 +02:00
Philippe Pittoli 05f751dd21 Actual navigation WIP. 2023-07-08 05:41:41 +02:00
Philippe Pittoli 0e29dc5df6 Navbar in a separate file. 2023-07-08 04:17:13 +02:00
Philippe Pittoli afe576a557 Coding style corrections. 2023-07-08 04:00:32 +02:00
Philippe Pittoli ed4ac04c28 Bulma: provide remaining signatures. 2023-07-08 03:47:13 +02:00
Philippe Pittoli e4fbe59a3b Clearer netlib.re navbar. 2023-07-08 02:59:30 +02:00
Philippe Pittoli 46d9352a16 Bulma cleaning (WIP). Removing some useless stuff. 2023-07-08 02:00:23 +02:00
Philippe Pittoli 7c88287f2b Oopsie. 2023-07-08 01:52:09 +02:00
Philippe Pittoli dac8067508 CSS classes in a separate module. 2023-07-08 01:50:11 +02:00
Philippe Pittoli ac9492b62e Decorative navbar. 2023-07-08 00:22:23 +02:00
Philippe Pittoli caaefcca3e Show the URL of the WS connection. 2023-07-07 20:29:49 +02:00
Philippe Pittoli 0fb4fcd608 Style (minor). Are sections even useful? 2023-07-05 07:14:49 +02:00
Philippe Pittoli 9f4600b1e8 Style, again. Improved DomainList UI. 2023-07-05 07:00:42 +02:00
Philippe Pittoli de52e40036 Style. 2023-07-05 06:50:30 +02:00
Philippe Pittoli 53fdefd790 New LogMessage structure. 2023-07-05 04:49:32 +02:00
Philippe Pittoli d99e38d1b8 Some name changes (+ fix). 2023-07-05 04:18:01 +02:00
Philippe Pittoli fb7c07e64d Change some names. 2023-07-05 03:52:28 +02:00
Philippe Pittoli 85df40cc23 Better message routing. 2023-07-05 03:45:45 +02:00
Philippe Pittoli 634b30bbf5 Change some log messages. 2023-07-05 03:18:01 +02:00
Philippe Pittoli 5ed167d8bb NewDomainInterface is now connected to the other components. 2023-07-05 02:38:20 +02:00
Philippe Pittoli a145577791 Compiles again! :) 2023-07-05 02:06:57 +02:00
Philippe Pittoli 07008d9038 WIP: CAN'T BE COMPILED. WILL BE SOON FIXED. 2023-07-04 13:14:04 +02:00
Philippe Pittoli c2569bc959 Small code reduction. 2023-07-04 04:50:07 +02:00
Philippe Pittoli b061c0b18e Remove printing messages in AuthenticationDaemonAdminInterface. 2023-07-04 04:49:22 +02:00
Philippe Pittoli 3be96bd436 Log all authentication form messages. 2023-07-04 03:26:09 +02:00
Philippe Pittoli 7c9f5a7a56 UX 2023-07-04 03:11:02 +02:00
Philippe Pittoli 6d4268820d Log component! 2023-07-04 02:58:17 +02:00
Philippe Pittoli 51f5ba79f1 A single component for WS, another one for messages. WIP! 2023-07-03 20:32:46 +02:00
Philippe Pittoli 88aa805613 WS component (WIP). 2023-07-03 18:03:47 +02:00
Philippe Pittoli 320ff4f2ec Fix admin toggle. 2023-07-03 16:41:36 +02:00
Philippe Pittoli b2caff5123 Bulma: introduce some fields. 2023-07-03 15:05:40 +02:00
Philippe Pittoli 4522c22c42 Reset subdomain input when sending a NewDomain message. 2023-07-03 13:46:34 +02:00
Philippe Pittoli cbaeaf8ee2 Slight code simplification. 2023-07-03 13:38:21 +02:00
Philippe Pittoli 62347d40b2 Domain can be deleted - with automatic update of the own domain list. 2023-07-03 12:17:44 +02:00
Philippe Pittoli 99fb18c57a Can now delete a domain. No automatic domain list update. 2023-07-03 04:31:00 +02:00
Philippe Pittoli e0fc55e5ca Put websocket info in a dedicated record. 2023-07-03 04:04:14 +02:00
Philippe Pittoli 15e407972a Remove another big chunk of code. 2023-07-03 03:50:51 +02:00
Philippe Pittoli 026e3f055a Remove a massive amount of redundant code. 2023-07-03 03:45:08 +02:00
Philippe Pittoli 87731bf061 Removing useless imports. 2023-07-03 03:39:01 +02:00
Philippe Pittoli 771573ec5c App.Utils. 2023-07-03 03:23:02 +02:00
Philippe Pittoli 3dddbf6990 (minor) remove a useless line. 2023-07-03 00:20:55 +02:00
Philippe Pittoli 850d61678a Add a "." between the subdomain and domain names, only when needed. 2023-07-02 23:50:19 +02:00
Philippe Pittoli 02f312b447 WS info in a record: code is now clearer. 2023-07-02 23:32:31 +02:00
Philippe Pittoli ad6a64d78a Type simplification. 2023-07-02 22:12:39 +02:00
Philippe Pittoli e9808e70f1 Create a subdomain based on the selected domain. 2023-07-02 00:10:14 +02:00
Philippe Pittoli 8d32f9933b Let's select a domain! 2023-07-02 00:05:38 +02:00
Philippe Pittoli 8fe25f8aca Bulma select. 2023-07-01 17:32:15 +02:00