Commit graph

378 commits

Author SHA1 Message Date
Inex Code 3b9cdd9819 fix: Do not use the 'id' field in GraphQL as flutter-graphql normalizes cache based solely on this value 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 eab2f892c9 feat: Add the updateDnsRecords to DNS providers 2024-07-29 19:38:40 +03:00
Inex Code 7c28f92581 fix: Use graphqlTransportWs to automatically ping server and prevent timeouts 2024-07-10 19:14:12 +03:00
Inex Code e0232bfa44 feat: Use Websockets to update server jobs status 2024-07-10 19:14:12 +03:00
Inex Code 135ed30ee3 chore: Update GraphQL API schema 2024-07-10 19:14:12 +03:00
Aliaksei Tratseuski 4bda23eaf9 fix: re-enabled dio logs (developer debug console) 2024-06-30 18:49:07 +04:00
Aliaksei Tratseuski 85bc997776 feat: db versioning and better logging 2024-06-26 02:11:36 +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 bd090b646d feat: reset locale to system default from language settings, removed dead code theme_picker code 2024-06-16 04:13:10 +04: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 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 00545c34b4 feat: console log feature refactor.
listing scroll performance fix, uniform code and widget UI for different log item types, dialog data can now be selected & copy-pasted
2024-04-20 13:53:55 +04: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 4eb8f34e37 Merge remote-tracking branch 'origin/master' into api-connection-refactor 2024-02-20 20:13:19 +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 9a1f47711c chore: Update GraphQL schema with experimental system rebuild tracking 2024-02-12 20:20:30 +03:00
Inex Code 98228cfc05 fix(hetzner): Fix the resize volume request 2024-02-07 13:39:41 +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 ✨ 19e070133c Merge branch 'master' into dynamic-dns 2023-12-29 22:24:59 +02:00
NaiJi 1c07476764 refactor: Move DNS records validation to cubit layer 2023-12-29 23:58:58 +04:00
Inex Code 2a4614c673 feat: Allow custom SSH keys during setup and use the new NixOS infect 2023-12-28 22:35:39 +03:00
NaiJi ✨ ada5f1a66c Merge branch 'master' into dynamic-dns 2023-12-20 15:09:29 +02:00
NaiJi 371d83b4be fix(linter): Change httpClientAdapter callback creation 2023-12-20 17:04:33 +04:00
NaiJi 2ef0121321 refactor(linter): Create HTTP client from adapter 2023-12-20 16:56:31 +04:00
NaiJi 02a2097b10 refactor(linter): Change DioError to DioException 2023-12-20 16:50:43 +04:00
NaiJi cd9b47b924 Merge branch 'master' into 'dynamic-dns' 2023-11-22 09:34:31 +04:00
NaiJi e50ef9b189 fix: Revert lints of premaster flutter version back to 3.16 2023-11-20 19:38:24 +04:00
NaiJi 8dc5847c6c Merge branch 'master' into 'lints' 2023-11-20 18:33:31 +04:00
NaiJi f11a75dfb7 refactor: Remove obsolete network objects 2023-11-20 18:29:26 +04:00
NaiJi cea2f6d8a4 refactor: Correct a typo in Hetzner API 2023-11-20 18:10:19 +04:00
NaiJi f7afd6fd15 fix(hetzner): Remove optional status enum for getVolumes of Hetzner 2023-11-20 03:32:41 +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 b46ef2f7a3 Merge branch 'master' into dynamic-dns 2023-11-18 09:24:10 +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
NaiJi d45417effe feat: Implement model adapter for Digital Ocean DNS
- Adapt all external interfaces to new DNS record models
2023-11-09 18:48:49 +04:00
NaiJi 5a7ae23ec2 feat: Implement model adapter for Cloudflare DNS 2023-11-09 17:21:56 +04:00
NaiJi e9c01576b2 feat: Implement model adapters
- Move desec model conversion to adapters
2023-11-09 16:52:27 +04:00
NaiJi c894456fe6 refactor: Fix linter warnings
- Remove unused text_extensions.dart
2023-11-06 17:15:38 +04:00
NaiJi 043d29538c refactor: Conventionally reduce DiskSize to only 'int gb' for resize digital ocean volume 2023-09-30 21:35:58 -03:00
NaiJi fbacb5969d fix: Force size value truncation for digital ocean, change query url
- Resolve https://git.selfprivacy.org/SelfPrivacy/selfprivacy.org.app/issues/367
2023-09-30 21:04:04 -03:00