NaiJi
c34a5b97d6
fix: Improve DNS formatting for Cloudflare DNS
2023-11-19 23:34:58 +04:00
NaiJi
cd97833025
feat: Make GetDnsRecords query return also service DNS
2023-11-18 10:22:07 +04:00
NaiJi
ec8d08ff07
fix(api): Force DateTime to UTC where timezone naive
...
- Solve https://git.selfprivacy.org/SelfPrivacy/selfprivacy.org.app/issues/385
2023-11-13 14:03:52 +04:00
Inex Code
1b26f2cf29
feat(backups): Allow to change snapshot rotation settings
2023-09-09 21:13:27 +03:00
Inex Code
13e80a9e37
Merge branch 'master' into restore-strategy
2023-08-14 05:35:52 +03:00
NaiJi
80b83980ce
feat(backup): Implement forget snapshot method
2023-08-07 09:44:26 -03:00
NaiJi
75b8a7b9ac
feat(backups): Implement restore backup strategy
2023-08-07 09:23:48 -03:00
NaiJi
e97d52bad5
fix: Replace runSystemRebuild with rebootSystem
2023-08-06 18:24:41 -03:00
NaiJi
ffe923ef13
fix: Replace hard reset from server provider with direct server reboot
2023-08-02 18:08:23 -03:00
Inex Code
edb02764f7
fix: GraphQL fragments deduplication
2023-07-02 18:22:07 +03:00
NaiJi
b3b7c83461
chore: Implement fragments for ServerJob type on backup requests
2023-06-29 15:38:46 -03:00
Inex Code
d2d8add10d
feat(backups): Update the models
2023-06-29 12:52:09 +03:00
NaiJi
feca9d3b06
chore: Update scheme.graphql and its models
2023-06-22 23:22:48 -03:00
NaiJi
f05bedf460
chore: Implement new backups api
2023-06-22 11:14:00 -03:00
NaiJi
9552df1ec2
chore: Remove unused abstraction for ServerProvider
2023-06-19 15:17:15 -03:00
NaiJi
215ad3579d
chore: Rename ApiMaps to RestApiMap and GraphQLApiMap
2023-06-19 15:15:24 -03: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
14263083a5
feat: Implement server recovery for different dns providers
2023-01-17 18:33:25 +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
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
8c6b56f61d
fix: Make improvements by Code Review
2022-11-23 11:55:28 +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
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
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
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
d6d7a0dcb6
Implement rebuild server job for settings page
2022-09-19 03:00:40 +03:00
Inex Code
e330878e6d
Allow removing completed and failed server jobs
2022-09-18 23:12:09 +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
NaiJi
11e58981b5
Implement migration process page
2022-09-16 12:08:31 +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
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
06fbcff9a9
Fix graphql type errors
2022-09-08 22:58:45 +03:00
inexcode
5f58022d42
Update user list screen to properly support newer cubit logic
2022-09-05 14:51:01 +04:00
Inex Code
18b737a327
Reformatting
2022-09-05 07:34:47 +03:00
Inex Code
0879ea8e97
Refactor Users cubit to use GraphQL and unified data model
2022-09-05 07:01:36 +03:00
Inex Code
c1bb617ca7
Add user type to the User model
2022-09-04 14:29:05 +03:00
Inex Code
33b8003f07
Add user-related GraphQL handlers
2022-09-04 13:45:03 +03:00
NaiJi
a693f694ac
Add endpoints for migration checking
2022-09-02 08:59:46 +03:00
inexcode
7d8f8e1d38
Rewrite services cubit and add basic service screen.
2022-08-30 00:35:06 +04:00
inexcode
c0ce019360
Add Services type and GraphQL endpoints with parsers.
2022-08-29 04:40:35 +04:00