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
7c61d9a787
chore: Generate build runner models
2022-10-27 16:15:35 +04:00
inexcode
88bcdcff39
chore(server-api): Deprecate getDkim
...
Server API now aware of all required DNS records. More general approach to handle DNS records is required in the future.
2022-10-26 20:24:00 +03:00
inexcode
1845bea361
chore(server-api): Deprecate ApiResponse
...
ApiResponse is a wrapper for REST API responses, which is removed. Our code, however, depends on this interface. This dependency must be removed.
2022-10-26 19:53:25 +03:00
NaiJi
34b8bf5b07
chore: Merge master into graphql
2022-10-26 20:45:28 +04:00
NaiJi
aa3dee585b
chore(dart): Fix warnings that appeared at Dart 2.18 SDK
2022-10-26 20:26:09 +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
2b419d5923
chore: Merge master into graphql
2022-10-24 09:34:55 +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
e956a2c9a1
fix(assets): Fix broken string for bytes on disk size
2022-10-21 06:54:55 +04:00
NaiJi
465af52350
Merge branch 'master' into validations
2022-10-08 19:18:33 +00:00
NaiJi
c4f3b76414
fix(validations): Make validations and errors text more specific
2022-10-08 16:41:19 +00:00
NaiJi
0b5f8b6920
fix(job): Remove unnecessary cascade validation calls
2022-10-08 16:19:53 +00:00
NaiJi
7bad11967a
refactor(job): Implement polymorphic predicate for job accessibility
...
Now every job type can impement canAddTo function to make JobsCubit know whether it can be applied or not
2022-10-07 17:50:18 +00:00
NaiJi
db2f5c1342
fix(job): Fix server settings toogles not creating upgrade server job
2022-10-07 16:36:17 +00:00
NaiJi
26466bb8d5
refactor(job): Force services to always reload after jobs execution
2022-10-06 19:45:25 +00:00
NaiJi
d0be867aa6
refactor(job): Make jobs execution polymorphic instead of relied on plain switch
2022-10-06 19:16:07 +00:00
NaiJi
699e2f676f
refactor(service): Get rid of legacy common enums
2022-10-05 01:41:48 +03:00
NaiJi
d36c8e987d
Completely refactor language asset files
2022-10-04 02:32:35 +03:00
Inex Code
ad55b204cf
Fix jobs screen failing to draw when no jobs
2022-09-20 12:42:20 +03:00
Inex Code
0425ea8ab8
Add a button to remove all removable server jobs
2022-09-19 03:42:00 +03:00
Inex Code
10891881ae
Service migrations
2022-09-19 03:21:08 +03:00
NaiJi
d6d7a0dcb6
Implement rebuild server job for settings page
2022-09-19 03:00:40 +03:00
NaiJi
fe95f5e5d3
Add props into provider job state
2022-09-19 02:13:25 +03:00
Inex Code
2a4c691f1e
Pre-release testing bug fixes
2022-09-19 01:11:26 +03:00
Inex Code
900e07f364
Implement user password reset
2022-09-18 23:25:26 +03:00
Inex Code
e330878e6d
Allow removing completed and failed server jobs
2022-09-18 23:12:09 +03:00
NaiJi
34d635c2c5
Add delay between provider and server storage resizing calls
2022-09-18 19:35:16 +03:00
Inex Code
89c907b109
Make job status an enum
2022-09-18 19:29:11 +03:00
NaiJi
d9b82b1250
Implement volume extending button
2022-09-18 19:26:55 +03:00
NaiJi
159f861965
Implement initialization migration to binds error handling
2022-09-18 17:29:00 +03:00
NaiJi
39358a827f
Implement migrate to binds logic
2022-09-18 17:05:41 +03:00
Inex Code
c84d16d8b7
Move files related to storage
2022-09-16 16:49:53 +03:00
Inex Code
ae0295d959
Add storage usage to service screen, formatting
2022-09-16 16:36:51 +03:00
Inex Code
641e329725
Move DiskStatus to the server volume cubit
2022-09-16 14:28:17 +03:00
NaiJi
11e58981b5
Implement migration process page
2022-09-16 12:08:31 +03:00
NaiJi
4a4fa35de3
Remove setTimezone from ServerDetailedInfo cubit
2022-09-16 11:11:03 +03:00
Inex Code
d75c2837ca
Catch error on metrics loading from Hetzner
2022-09-16 11:08:45 +03:00
NaiJi
e3d7f2b3d7
Fix ServerDetailsCubit exception
2022-09-16 11:06:27 +03:00
Inex Code
a7248a9b30
Remove unnecessary logging
2022-09-16 10:50:21 +03:00
Inex Code
36cbc8e89b
Catch StateError on server_detailed_info_cubit.dart
2022-09-16 10:50:05 +03:00
NaiJi
8039283f37
Wrap get metrics endpoint with try-catch
2022-09-15 16:05:23 +03:00
NaiJi
dc72b6d1b2
Implement server settings page functionality
2022-09-15 02:31:25 +03:00
NaiJi
c5eed6ace9
Improve server settings page
2022-09-12 20:38:22 +03:00
Inex Code
ef7d906504
Catch Hetzner metrics trying to emit when closed and disable logging.
2022-09-09 17:58:01 +03:00
Inex Code
11885b7ac7
Fix app connecting to ' https://api./ ' after access recovery
...
We no longer hold server domain in ServerAPI class. Instead, we get a domain from the app config every time.
2022-09-09 17:57:34 +03:00
NaiJi
e4bb35d5d8
Catch cloudflare exceptions
2022-09-09 12:14:37 +03:00