NaiJi
f64f741a76
fix: Manage server deletion for Digital Ocean
2022-12-23 13:50:38 +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
fc4f78162b
feat: Implement domain list getter for digital ocean dns
2022-12-21 23:35:20 +04:00
NaiJi
a45b93cd27
feat: Improve Dns Record structure and logic
...
It is to much digital ocean api. The decision with adding optional id is bad, but it will be refactored soon along with entire backend.
2022-12-21 23:31:03 +04:00
NaiJi
8922551239
Merge branch 'master' into digital-ocean-dns
2022-12-21 13:47:25 +04:00
Inex Code
a0e531f18c
Merge pull request 'feat: Implement logging for GraphQL API map' ( #153 ) from graphql-logging into master
...
Reviewed-on: https://git.selfprivacy.org/kherel/selfprivacy.org.app/pulls/153
Reviewed-by: Inex Code <inex.code@selfprivacy.org>
2022-12-19 21:05:02 +02:00
NaiJi
8dffcab30d
chore: Rename and unify GraphQL logging classes
2022-12-19 22:53:07 +04:00
NaiJi
813d275d12
feat: Implement logging for GraphQL API map
...
Log to application console all requests and all responses
2022-12-19 22:47:35 +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 ✨
1e8f17f16e
chore: Merge recovery-error into master
...
Reviewed-on: https://git.selfprivacy.org/kherel/selfprivacy.org.app/pulls/152
Reviewed-by: Inex Code <inex.code@selfprivacy.org>
2022-12-15 13:55:23 +02:00
NaiJi
7847839ea6
feat: Enable server provider logging
2022-12-15 15:42:21 +04:00
NaiJi ✨
968667e4bf
chore: Merge ssh-access-recovery into master
...
Reviewed-on: https://git.selfprivacy.org/kherel/selfprivacy.org.app/pulls/151
Reviewed-by: Inex Code <inex.code@selfprivacy.org>
2022-12-13 06:34:01 +02: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 ✨
51ca8bce27
chore: Merge endpoint-errors into master
...
Reviewed-on: https://git.selfprivacy.org/kherel/selfprivacy.org.app/pulls/149
Reviewed-by: Inex Code <inex.code@selfprivacy.org>
2022-12-09 16:35:51 +02: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
899c84c54f
chore: Rename Check step to Installation
...
It just feels more convenient tbh...
2022-11-30 19:04:04 +04:00
NaiJi
54d8b04439
fix: Fix backblaze token validation
...
True if correct, false if incorrect, null if no connection
2022-11-30 19:02:30 +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
6b5a4f7875
chore: Make assets for connectior eroor shorter
...
To fit on screen
2022-11-29 15:27:19 +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 ✨
58ce0f0f8b
chore: Merge digital-ocean into master
...
Reviewed-on: https://git.selfprivacy.org/kherel/selfprivacy.org.app/pulls/140
Reviewed-by: Inex Code <inex.code@selfprivacy.org>
2022-11-23 15:28:32 +02:00
NaiJi
8c6b56f61d
fix: Make improvements by Code Review
2022-11-23 11:55:28 +04:00
NaiJi
a70e793360
chore: Merge master into digital-ocean
2022-11-22 16:10:00 +04:00
Inex Code
32ca58537e
Merge pull request 'feat: Add refresh indicator on Recovery Key page to support drag gestures' ( #148 ) from recovery-keys into master
...
Reviewed-on: https://git.selfprivacy.org/kherel/selfprivacy.org.app/pulls/148
Reviewed-by: Inex Code <inex.code@selfprivacy.org>
2022-11-22 14:07:24 +02:00
NaiJi
3ba2c6f731
feat: Add refresh indicator on Recovery Key page to support drag gestures
2022-11-21 17:17:27 +04:00
NaiJi
479efac6e9
chore: Fix an awkward commentary typo...
2022-11-20 18:35:44 +04:00
NaiJi
93b28d981e
chore: Remove testing flag before merging into master
2022-11-20 18:34:20 +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
b2a5d57a1d
feat(initializing): Add description and back button to server type step
2022-11-20 14:48:08 +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
da394e22ac
feat(server-api): Implement bad certificates fallback for staging environment
...
Without it client application won't accept staging certificates from server
2022-11-18 10:59:47 +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
611fe6bf45
feat(server-api): Implement support for staging acme certificates
...
Related to https://letsencrypt.org/docs/staging-environment/ to not get domain banned by constant renewal
2022-11-17 11:21:49 +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
bde364dde1
fix(digital-ocean): Adjust charts rendering for digital ocean values
2022-11-16 04:12:49 +04:00
NaiJi
2a5fceae91
fix(hetzner): Fix endpoints urls
...
Incorrect dereferencing in strings
2022-11-16 00:49:41 +04:00
NaiJi
92b417a103
feat(digital-ocean): Implement metrics for Digital Ocean
2022-11-15 08:00:10 +04:00
NaiJi
7fdc546714
refactor(server-api): Make appearance provider name polymorphic and required for metadata
2022-11-14 09:48:36 +04:00
NaiJi
e20063a9ad
chore: Remove unneeded metrics fields
...
PPS metrics aren't used in our charts
2022-11-12 22:44:15 +04:00
NaiJi
a7cbde663e
refactor(server-api): Generalize and encapsulate server metrics endpoints
2022-11-12 22:11:14 +04:00
NaiJi
e66b24d869
refactor: Remove obsolete initializing steps enum type
2022-11-11 15:29:17 +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