Commit graph

412 commits

Author SHA1 Message Date
NaiJi b6e38bd141 fix(recovery): Check server location on recovery for server selection step 2024-09-23 22:09:25 +03:00
NaiJi f938a04c5e fix(recovery): Fix installation recovery current step resolving
- Refactor the nested if-pyramid
- Replace the DnsProviderType check with a simple check for a token string, since we receive DnsProviderType from the server and the user has no actions in it
- Make sure the server selection prompt isn't skipped before asking for a DNS token
- Resolve: #395
2024-09-23 22:09:25 +03:00
NaiJi 50bc9d8965 fix(ui): Ignore checkboxes input on loading state
- Resolve: #165
2024-09-11 14:24:18 +03:00
Inex Code e13b324afa refactor: Server location is no longer a part of server provider controller. 2024-08-14 07:53:02 +03:00
NaiJi b69e4ad7ff fix: Implement better error messaging for providers token check
- Resolves #508
2024-08-07 22:12:11 +04:00
NaiJi 68f34dc7b7 feat(metrics): Implement disk usage metrics
- Refactor metrics_cubit
- Implement fallback to legacy when less than 20 dots
2024-08-06 18:45:18 +03:00
Inex Code acf2001c12 fix: Server installation fixes 2024-07-30 19:15:27 +03:00
Inex Code efed52f3ec feat: Allow setting the provider token after recovery 2024-07-30 18:22:32 +03:00
Inex Code e065463ffb feat: CPU, Network and RAM stats from the server 2024-07-30 07:15:31 +03:00
Inex Code 8fe0de0c9e feat: Allow skipping the server provider token when recovering 2024-07-30 04:15:17 +03:00
Inex Code 74eb1135df feat: BackupsProvider and TokensBloc 2024-07-30 01:18:54 +03:00
Inex Code da073b7454 fix: Do not remove all DNS records if server connection failed 2024-07-29 19:38:40 +03:00
Inex Code ef51f27e91 feat(services): Service settings 2024-07-29 19:38:40 +03:00
Inex Code 7dff880147 feat: Update DNS records after actions that potentially require DNS changes 2024-07-29 19:38:40 +03:00
Inex Code 1ad8fccbb6 fix: App didn't save the server type and location correctly 2024-07-04 18:05:01 +04:00
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
Aliaksei Tratseuski dfef56c25f Merge remote-tracking branch 'sp/master' into feat_token_management 2024-06-13 18:43:58 +04: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
Aliaksei Tratseuski 4e0779f5e7 feat: some more work on console_page
* console_log's copy data is now a valid json object for all log types
* graphQLResponse now provides raw response object for copy
* console_model now handles pause in itself, so UI pipeline doesn't disturb pause (like when revisiting page / hot reloading)
* some minor console_page UI tweaks
2024-05-20 03:19:30 +04:00
Inex Code 9e56afba50 fix: Clear serverInstallationWizardData after the wizard is finished 2024-05-15 19:23:39 +03:00
Aliaksei Tratseuski 5e27b369ca chore: some missing async/awaits. 2024-05-15 19:47:41 +04:00
Aliaksei Tratseuski ea2cc28ac9 feat: introduced app_controller, rehooked dependencies from app_settings_cubit, added language picker to settings_page 2024-05-15 19:39:16 +04:00
Inex Code e9f13c5471 fix: Server couldn't install due to a faulty null check 2024-05-15 17:58:24 +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
Aliaksei Tratseuski 53ea69a000 fix: minor code tweaks (no functional changes) 2024-05-15 14:57:52 +04:00
Aliaksei Tratseuski 4f200ae757 fix: typos in field names 2024-04-20 13:37:04 +04:00
Inex Code 16d1c8a918 refactor: Remove unused Users Hive box 2024-04-12 15:41:32 +03:00
Inex Code 81f4f93d7c refactor: Fix typos in variable names 2024-04-12 15:13:30 +03:00
Inex Code e874392a83 refactor: Remove the server deletion function 2024-03-14 18:19:52 +02:00
Inex Code bba29caeba feat: Add ssh settings 2024-03-09 19:30:43 +03:00
Inex Code 67bcbe419f fix: Do not include faulty link-local DNS records in the list of found records 2024-03-04 01:31:27 +03:00
Inex Code 643020ebd7 fix: Detect the situation when we have faulty link-local IPv6 records 2024-03-01 11:54:27 +03:00
Inex Code c8577b3bdf fix: When using fallback upgrade, UI showed that upgrade failed 2024-02-23 20:15:39 +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 92cf2cde6d refactor: Refactor ServerDetailsCubit to use ApiConnectionRepository 2024-02-20 20:09:14 +03:00
Inex Code 9459191c09 refactor: Remove Job dependency on ClientJobsCubit 2024-02-20 20:04:39 +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 fdb40fccd7 fix: Init ApiConnectionRepository after server access recovery 2024-02-14 15:59:01 +03:00
Inex Code 455b1ed7f9 refactor: Replace UsersCubit with UsersBloc 2024-02-09 18:01:05 +03:00
Inex Code 710b9b53dd refactor: Replace ApiDevicesCubit with DevicesBloc 2024-02-09 14:07:03 +03:00
Inex Code 3a525f0d11 refactor: Replace RecoveryKeyCubit with RecoveryKeyBloc 2024-02-08 18:08:29 +03:00
Inex Code 1daf957245 chore: Move ConnectionStatus bloc to bloc folder 2024-02-08 16:58:45 +03:00
Inex Code 6914b01d2a refactor: remove ProviderVolumes cubit 2024-02-06 18:21:21 +03:00
Inex Code 3b9d616045 refactor: Introduce VolumesBloc, remove ServerVolumeCubit 2024-02-01 18:30:06 +04:00
Inex Code 3222a9b500 refactor: Init blocs in initState and not in widget build 2024-01-31 18:06:49 +04:00
Inex Code f46865ca71 style: Apply directives_ordering lint 2024-01-31 14:57:12 +04:00
Inex Code 31c6a18918 Merge remote-tracking branch 'origin/directives_ordering' into api-connection-refactor
# Conflicts:
#	lib/config/bloc_config.dart
#	lib/logic/cubit/app_config_dependent/authentication_dependend_cubit.dart
#	lib/logic/cubit/backups/backups_cubit.dart
#	lib/logic/cubit/dns_records/dns_records_cubit.dart
#	lib/logic/cubit/providers/providers_cubit.dart
#	lib/logic/models/service.dart
#	lib/ui/pages/backups/backup_details.dart
#	lib/ui/pages/backups/change_period_modal.dart
#	lib/ui/pages/backups/change_rotation_quotas_modal.dart
#	lib/ui/pages/backups/copy_encryption_key_modal.dart
#	lib/ui/pages/more/more.dart
#	lib/ui/pages/server_storage/binds_migration/migration_process_page.dart
#	lib/ui/pages/server_storage/server_storage.dart
#	lib/ui/pages/server_storage/storage_card.dart
2024-01-31 14:50:40 +04:00
Inex Code acb5da9a92 style: Enable directives_ordering lint 2024-01-31 09:14:23 +04:00
Inex Code 149969aed8 refactor: Rename ServerVolume model to reflect that it is tied to provider 2024-01-29 20:49:20 +04:00
Inex Code 9bfaf5d381 refactor: Remove usesBinds from ApiServerVolumeCubit 2024-01-29 20:45:49 +04:00