Commit Graph

88 Commits (3a0221e8b1b8fc539c74612de7dcaf20948952e2)

Author SHA1 Message Date
NaiJi ✨ 3a0221e8b1 chore: Merge master into desec 2023-06-02 00:52:32 -03:00
NaiJi ✨ f55800cd72 fix: Implement better domain id check on DNS restoration 2023-06-01 15:12:49 +03:00
NaiJi ✨ 25eb82c131 feat: Implement proper access recovery for DNS providers 2023-06-01 15:12:49 +03:00
NaiJi ✨ c67e37a40e fix: Adjust graphql schemas to new dns provider
- fix runtime bugs
2023-06-01 15:12:49 +03:00
NaiJi ✨ b41b4159b4 feat: Implement infrastructure for new DNS provider deSEC 2023-06-01 15:12:49 +03:00
NaiJi ✨ d114d1477f fix: Adapt usage of DNS provider interface to refactoring 2023-05-30 12:48:18 -03:00
NaiJi ✨ 4260152081 chore: Merge desec into refactoring 2023-05-17 13:58:15 -03:00
NaiJi ✨ 232699bdb1 feat: Implement proper access recovery for DNS providers 2023-05-16 15:49:03 -03:00
NaiJi ✨ 56dd40e90e fix: Adjust graphql schemas to new dns provider
- fix runtime bugs
2023-05-12 16:32:19 -03:00
NaiJi ✨ 234064ed72 feat: Implement infrastructure for new DNS provider deSEC 2023-05-09 03:15:48 -03:00
NaiJi ✨ 72a04a54b3 refactor: Remove low level ApiController and replace Dns interfaces 2023-05-03 00:01:44 -03:00
NaiJi ✨ 30385c2470 refactor: Create empty DnsProvider interfaces 2023-05-02 23:42:18 -03:00
NaiJi ✨ 4aa13dd63a chore: resolve ui conflicts and make it build 2023-04-24 13:45:16 -03:00
NaiJi ✨ 15c0586ab3 chore: Merge digital-ocean-dns into refactoring 2023-04-12 05:32:56 -03:00
NaiJi ✨ 755ac1d5c0 chore: Merge master into digital-ocean-dns 2023-04-12 02:42:33 -03:00
NaiJi ✨ 97e9e9d9cb chore: Adapt MetricsRepository to new ProvidersControllers model 2023-02-28 07:00:52 +04:00
NaiJi ✨ 62c0030f8e chore: Implement server installation logic on cubit layer 2023-02-22 21:58:59 +04:00
NaiJi ✨ bad6926567 chore: Continue refactoring
- Rename APIGenericResult to GenericResult
- Wrap all provider functions results with GenericResult
- Move basic server commands and getters to business logic layer from API on Hetzner
2023-02-13 18:13:32 +04:00
NaiJi ✨ a270f3dfbb feat: Implement general server provider and its factory 2023-01-30 19:44:52 +04:00
NaiJi ✨ 08cd59a709 feat: Implement DNS_PROVIDER_TYPE variable for infecting server 2023-01-17 17:29:15 +04:00
NaiJi ✨ 9184a9db5d feat: Implement DnsProvider loaging 2023-01-05 14:12:59 +04:00
NaiJi ✨ 6767b679a0 chore: Merge master into digital-ocean-dns 2023-01-03 13:00:01 +04:00
NaiJi ✨ e560de58e7 feat: Implement DNS provider picker page 2022-12-30 07:25:18 +04:00
NaiJi ✨ 41dc77103f feat: Implement error handling on server deletion
Notify users when errors occured and handle application state accordingly
2022-12-22 22:56:58 +04:00
NaiJi ✨ 18d3039dc4 chore: Create infrastructure for Digital Ocean DNS provider
Also rename hardcoded cloudflare names from backend
2022-12-17 14:26:19 +04:00
NaiJi ✨ d7318ed2e4 fix: Make recovery by API token endpoint expect GraphQL token
We pass GraphQL token, but at the same time we did not use it and tried to authorize without token...
2022-12-13 08:15:32 +04:00
NaiJi ✨ b5133aa2a6 fix: Remove breaking installation changes 2022-12-02 23:06:57 +04:00
NaiJi ✨ e0b32404be refactor: Implement better error handling on create server stage
Replace try-catch hell with APIGenericResult chain
2022-12-02 22:40:08 +04:00
NaiJi ✨ 29b0bf2397 fix: Fix some initializing errors
Correct progress index calculation and hardcore cloudflare loading until new providers for DNS are supported
2022-11-30 19:05:21 +04:00
NaiJi ✨ 65f5d987e2 feat: Implement error handling for server installation
Now user gets notified when connection error occurs
2022-11-29 19:21:36 +04:00
NaiJi ✨ bd33b8d679 feat: Implement distinction for connection errors on initialing page
Now it's 'false' when api token is invalid and null response if couldn't connect at all, to show different kinds of errors to the user
2022-11-28 22:51:37 +04:00
NaiJi ✨ 58c9e00ce0 fix(recovery): Add reverse dns validation for digital ocean
In Digital Ocean reverse dns is not domain name but just name, like mydomainname instead of mydomainname.xyz, so we need additional condition
2022-11-20 18:31:31 +04:00
NaiJi ✨ 0c4da8eb9f refactor: Move all API factories into encapsulated static class
Because it's very hard to track all different provider factories created in different cubits, if users reset application config the previous factories stayed unchanged which would lead to unexpected behavior
2022-11-18 09:49:04 +04:00
NaiJi ✨ 0234278c2c refactor: Rename server.dart to server_api.dart
Because the class is called ServerApi, not just Server, it's totally not consistent with all other apis
2022-11-16 04:24:40 +04:00
NaiJi ✨ cdc47ecdb3 refactor(ui): Move all pop up dialogs into general utils function
To not import get_it everywhere and encapsulate all the related dirt into utils.
2022-11-09 22:43:05 +04:00
NaiJi ✨ 8c053f50b0 chore: Merge master into digital-ocean 2022-11-02 18:45:36 +04:00
NaiJi ✨ 86b80156fd refactor: Generalize DKIM usage into DnsRecords
- Replace raw DKIM String object with a general DnsRecord structure
- Implement network utils for common operations with networking concepts and structures
- Implement initializing page pop up to re-try server deployment in case of a random networking error
2022-10-30 18:23:47 +04:00
NaiJi ✨ 68811efc1e refactor(server-api): Generalize and unify api response objects
- Separate response success from  business logic operation success
- Remove ApiResponse, replace with GenericResult
- Make GenericMutationResult inherit GenericResult
- Add generic error message for when a response couldn't be sent or received
2022-10-28 12:20:09 +04:00
NaiJi ✨ ed37775510 chore: Merge master into digital-ocean 2022-10-26 21:27:22 +04:00
NaiJi ✨ 5ddbfcb342 chore: Merge master into digital-ocean 2022-10-25 12:22:34 +04:00
NaiJi ✨ c487f16194 chore: Merge master into graphql 2022-10-25 12:17:33 +04:00
NaiJi ✨ 20e4d9565b fix(assets): Fix broken strings for network domain elements 2022-10-24 16:19:39 +04:00
NaiJi ✨ 1b94e14727 feat(server-api): Migrate all server endpoints to GraphQL 2022-10-24 15:39:53 +04:00
NaiJi ✨ 19b45ac142 fix(server-api): Adapt ApiResponse structure to GraphQL format 2022-10-24 13:47:47 +04:00
NaiJi ✨ daf50e8c92 refactor(server-api): Replace Rest API interface with Graphql endpoints everywhere they are used
With no implementations yet
2022-10-23 05:13:27 +04:00
NaiJi ✨ b574659dc3 fix(initializing): Implement store and load of server provider from BNames 2022-10-21 08:34:36 +04:00
NaiJi ✨ cb1fe6eafd fix(initializing): Make provider and server type picking work 2022-10-20 18:44:29 +04:00
NaiJi ✨ f5a75e6eb5 feat(initializing): Implement additional server type field for server installation 2022-10-16 01:16:47 +00:00
NaiJi ✨ 8a93af2b06 fix(region): Move region settings for provider api to factory 2022-10-16 00:51:10 +00:00
NaiJi ✨ 72760e7980 feat(initializing): Implement server type selection for initialization page 2022-10-15 21:51:37 +00:00