Inex Code
4ce7b0bcdb
Merge branch 'master' into inex/april-refactor
...
# Conflicts:
# lib/config/get_it_config.dart
# lib/config/hive_config.dart
# lib/logic/api_maps/graphql_maps/graphql_api_map.dart
# lib/logic/cubit/server_installation/server_installation_repository.dart
# lib/logic/cubit/server_installation/server_installation_state.dart
# lib/logic/get_it/api_config.dart
2024-06-25 18:02:51 +03:00
NaiJi
291a6507ae
feat(jobs): Implement garbage collection job ( #506 )
...
Co-authored-by: Inex Code <inex.code@selfprivacy.org>
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy.org.app/pulls/506
Reviewed-by: Inex Code <inex.code@selfprivacy.org>
Co-authored-by: NaiJi <naijiworld@protonmail.com>
Co-committed-by: NaiJi <naijiworld@protonmail.com>
2024-05-25 12:32:21 +03:00
Inex Code
1e024a236b
refactor: Move information about tokens to the Resources model, and introduce a WizardData model
2024-05-15 17:16:59 +03:00
Inex Code
bba29caeba
feat: Add ssh settings
2024-03-09 19:30:43 +03:00
Inex Code
a9a7b04ad5
fix: Return the binds migration interface
...
Turns out, there are still servers that didn't perform the binds migration. The can't perform it anymore because email changed the id. I'm getting back the option to perform the binds migration, with some fallback defaults.
2024-02-23 19:50:28 +03:00
Inex Code
160e6d3b35
refactor: Remove unused job
2024-02-21 05:00:45 +03:00
Inex Code
caa2fd3b8e
refactor: Handle situation when the job has to be removed
...
Closes #166
2024-02-20 23:17:36 +03:00
Inex Code
16094a3257
refactor: Rework ClientJobs cubit so it doesn't depend on other cubits
...
Also implemented tracking of the jobs and rebuild status
2024-02-20 19:33:24 +03:00
Inex Code
3b9d616045
refactor: Introduce VolumesBloc, remove ServerVolumeCubit
2024-02-01 18:30:06 +04:00
Inex Code
acb5da9a92
style: Enable directives_ordering lint
2024-01-31 09:14:23 +04:00
NaiJi
07058d3db5
fix(graphql): Remove and replace deprecated mutations
...
- https://git.selfprivacy.org/SelfPrivacy/selfprivacy.org.app/issues/418
2024-01-15 13:11:09 +04:00
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