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
ef04b5bf57
chore: Implement server installation on businness logic layer for hetzner
2023-02-22 21:03:58 +04:00
NaiJi
8da7341ccb
chore: Implement basics of hetzner installation logic
2023-02-21 13:11:04 +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
efe4f620ee
chore: Transfer some methords from api to provider
2023-02-07 20:51:15 +04:00
NaiJi
a270f3dfbb
feat: Implement general server provider and its factory
2023-01-30 19:44:52 +04:00
NaiJi
14263083a5
feat: Implement server recovery for different dns providers
2023-01-17 18:33:25 +04:00
NaiJi
08cd59a709
feat: Implement DNS_PROVIDER_TYPE variable for infecting server
2023-01-17 17:29:15 +04:00
NaiJi
3b962c5f5a
feat: Adapt Desired DNS Records checking for Digital Ocean
2023-01-11 22:01:46 +04:00
NaiJi
9184a9db5d
feat: Implement DnsProvider loaging
2023-01-05 14:12:59 +04:00
NaiJi
2980887333
feat: Add DNS provider selection page
...
Upload cloudflare svg
2023-01-04 14:42:22 +04:00
NaiJi
6767b679a0
chore: Merge master into digital-ocean-dns
2023-01-03 13:00:01 +04:00
Inex Code
b007fec75b
refactor(initializing): Refresh the server istallation UI
2022-12-31 07:16:10 +03: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
8922551239
Merge branch 'master' into digital-ocean-dns
2022-12-21 13:47:25 +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
7847839ea6
feat: Enable server provider logging
2022-12-15 15:42:21 +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
1dfd2180d2
feat: Implement distinction for connection errors on storage page
...
Now user gets notified when connection error occurs
2022-11-29 15:28:09 +04:00
NaiJi
e62e8bf916
feat: Implement distinction for connection errors on dns provider page
...
Now user gets notified when connection error occurs
2022-11-28 23:55:37 +04:00
NaiJi
1df5f6594d
feat: Implement distinction for connection errors on server type page
...
Now user gets notified when connection error occurs
2022-11-28 23:11:08 +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
b53bb6d4dd
refactor: Remove 'unused' warnings
2022-11-18 11:33:28 +04:00
NaiJi
b26e22cd4e
fix: Check on null for server type identifier
...
It is not needed to finish installation so it's okat if it's empty
2022-11-18 11:30:50 +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
268816385f
fix(recovery): Fix custom api token on recovering provider type
2022-11-18 05:19:54 +04:00
NaiJi
51dc4c67b2
feat(recovery): Implement access recovery routing for server providers
2022-11-17 11:14:34 +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
a7cbde663e
refactor(server-api): Generalize and encapsulate server metrics endpoints
2022-11-12 22:11:14 +04:00
NaiJi
10bdd4c800
refactor(server-api): Make general server info polymorphic
...
Removing Hetzner type hardcode from server page and replacing it with generic String-based metadata container
2022-11-11 07:32:01 +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
59d186a8af
fix(volume): Change raw int to DiskSize object in volume endpoints
...
We already have an abstraction for size, there is no need to pass size value as raw numeric variables
2022-11-04 16:19:39 +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
34b8bf5b07
chore: Merge master into graphql
2022-10-26 20:45:28 +04:00
NaiJi
93c58323b2
chore: Merge master into digital-ocean
2022-10-26 20:41:45 +04:00
NaiJi
aa3dee585b
chore(dart): Fix warnings that appeared at Dart 2.18 SDK
2022-10-26 20:26:09 +04:00
NaiJi
a69b096d6f
fix(digital-ocean): Change /locations to /regions and fix tokens validation
2022-10-26 20:07:35 +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