Commit graph

475 commits

Author SHA1 Message Date
def 087deede3a Merge branch 'master' into remove_snackbar_style_notif 2024-02-08 14:39:30 +02:00
Inex Code 46910061ed ci: Update Windows build 2024-02-08 14:30:50 +02:00
aliaksei tratseuski dd81053f42 refactor(UI): Rewrite onboarding page
rewrote OnboardingPage:
* decomposed into separate widgets
* now content stays centered on wide screens (set so width won't expand further than 480px)
* pageController is now properly disposed
* added some more code changes to
    * main (error widget builder)
    * brand_header (centerTitle instead of empty actions list)
    * console_page (listener callback fix, used gaps instead of SizedBox'es, added keys to list items)
    * service_page (just cleaner build method)
	* removed some dead code

Co-authored-by: Aliaksei Tratseuski <aliaksei.tratseuski@gmail.com>
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy.org.app/pulls/444
Co-authored-by: aliaksei tratseuski <misterfourtytwo@noreply.git.selfprivacy.org>
Co-committed-by: aliaksei tratseuski <misterfourtytwo@noreply.git.selfprivacy.org>
2024-02-08 13:59:52 +02:00
dettlaff ba0e247fba fix: remove SnackBarBehaviov 2024-02-08 00:06:55 +04:00
Inex Code 6914b01d2a refactor: remove ProviderVolumes cubit 2024-02-06 18:21:21 +03:00
NaiJi 1d834703be feat(ui): Move provider card title to the top row
- Resolve: https://git.selfprivacy.org/SelfPrivacy/selfprivacy.org.app/issues/448
2024-02-04 11:12:14 +04:00
Inex Code 3b9d616045 refactor: Introduce VolumesBloc, remove ServerVolumeCubit 2024-02-01 18:30:06 +04:00
Inex Code 725c592086 refactor: Fix callbacks returning sets 2024-01-31 15:14:37 +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 831a0e95eb refactor: Rewrite services cubit to bloc, using ApiRepo streams 2024-01-29 19:58:37 +04:00
Inex Code a5e7725733 refactor: Rewrite backups cubit to bloc, using ApiRepo streams 2024-01-29 17:54:09 +04:00
Inex Code b1be3f24d6 refactor: Rewire cubit from depending on server_installation_cubit to the new connection manager 2024-01-26 18:46:09 +04:00
Inex Code 332e31b655 refactor: Remove binds migration 2024-01-26 14:58:59 +04:00
Inex Code 24e5c8baee refactor: Remove unused providers cubit 2024-01-26 14:49:36 +04:00
Inex Code 766f44ee19 style: Add missing trailing comma 2024-01-19 16:38:07 +03:00
def 76d93ab782 fix: missclicked on "Approve" button 2024-01-18 15:31:07 +02:00
def 79fae03e9b fix: overflows use this domain 2024-01-12 18:23:13 +02:00
Inex Code 16dca8faf8 Merge pull request 'feat: Implement dynamic DNS records validation' (#392) from dynamic-dns into master
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy.org.app/pulls/392
Reviewed-by: Inex Code <inex.code@selfprivacy.org>
2024-01-10 14:52:16 +02:00
Inex Code 23922ef243 chore: Update the copyright year 2024-01-09 21:46:57 +02: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
def e3e5570e4e feat: Add the button to copy password on the new user creation screen (#409)
https://git.selfprivacy.org/SelfPrivacy/selfprivacy.org.app/issues/299

Co-authored-by: dettlaff <dettlaff@riseup.net>
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy.org.app/pulls/409
Reviewed-by: NaiJi  <naiji@noreply.git.selfprivacy.org>
Reviewed-by: Inex Code <inex.code@selfprivacy.org>
Co-authored-by: def <dettlaff@riseup.net>
Co-committed-by: def <dettlaff@riseup.net>
2023-12-28 15:19:16 +02:00
def d7bf6a0c06 feat: Add animation to the recovery key screen (#410)
https://git.selfprivacy.org/SelfPrivacy/selfprivacy.org.app/issues/164
Co-authored-by: dettlaff <dettlaff@riseup.net>
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy.org.app/pulls/410
Reviewed-by: NaiJi  <naiji@noreply.git.selfprivacy.org>
Reviewed-by: Inex Code <inex.code@selfprivacy.org>
Co-authored-by: def <dettlaff@riseup.net>
Co-committed-by: def <dettlaff@riseup.net>
2023-12-26 11:28:52 +02:00
NaiJi ✨ ada5f1a66c Merge branch 'master' into dynamic-dns 2023-12-20 15:09:29 +02:00
NaiJi 9ea952b46e refactor(linter): Force const constructor where needed 2023-12-20 16:58:46 +04:00
NaiJi f1b0b3fc9e Merge branch 'master' into dynamic-dns 2023-12-18 08:46:19 +04:00
NaiJi ✨ 2f6b4e0f9c Merge pull request 'feat: Implement better domain ownership check during installation' (#394) from domain-ownership-setup into master
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy.org.app/pulls/394
Reviewed-by: Inex Code <inex.code@selfprivacy.org>
2023-12-12 17:24:22 +02:00
Inex Code 4ed038d34c refactor: Tweak the design of the BrokenDomainOutlinedCard 2023-12-12 08:31:37 +03:00
NaiJi ✨ 37d2f2fe11 Merge pull request 'fix(ui): Remove listening of a server volume cubit for migration page' (#400) from migration-button-error into master
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy.org.app/pulls/400
Reviewed-by: Inex Code <inex.code@selfprivacy.org>
2023-12-03 20:10:37 +02:00
NaiJi ee49b634ae Merge 'master' into 'dynamic-dns' 2023-12-03 01:12:55 +04:00
NaiJi 4abd1e15f1 fix(ui): Remove listening of a server volume cubit for migration page 2023-11-30 12:33:54 +04:00
NaiJi 5b94cc0cc0 fix(devices): Add refresh indicator to 'Other devices' section
- Resolve https://git.selfprivacy.org/SelfPrivacy/selfprivacy.org.app/issues/163
2023-11-30 12:15:56 +04:00
NaiJi ✨ 0b4f8d66ef Merge branch 'master' into domain-ownership-setup 2023-11-30 07:50:01 +02:00
NaiJi ✨ 5a33bec6bd feat(ui): Make Snapshot List page show fab button
- Resolve https://git.selfprivacy.org/SelfPrivacy/selfprivacy.org.app/issues/290
2023-11-29 18:38:27 +04:00
NaiJi 8037eec486 feat: Implement better domain ownership check during installation
- Produce support instructions for DNS domain recovery

- https://git.selfprivacy.org/SelfPrivacy/selfprivacy.org.app/issues/389
2023-11-27 19:00:05 +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 a2b28e199d feat: Implement flexible precision formatting for prices 2023-11-19 23:51:36 +04:00
NaiJi c34a5b97d6 fix: Improve DNS formatting for Cloudflare DNS 2023-11-19 23:34:58 +04:00
NaiJi c894456fe6 refactor: Fix linter warnings
- Remove unused text_extensions.dart
2023-11-06 17:15:38 +04:00
NaiJi 87b58ec6d8 feat: Implement confirmation modal for volume resizing
- Resolve https://git.selfprivacy.org/SelfPrivacy/selfprivacy.org.app/issues/308
2023-10-07 18:52:36 -03:00
NaiJi ✨ 6096ef2572 Merge branch 'master' into digital-ocean-volume 2023-10-02 20:10:54 +03:00
NaiJi 97a9793f9d fix(ui): Disable storage card while volume information is being fetched
- Resolve https://git.selfprivacy.org/SelfPrivacy/selfprivacy.org.app/issues/317
2023-09-30 21:51:11 -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
Inex Code 914775ac48 chore(ui): Change icon of the Services placeholder 2023-09-26 20:20:13 +03:00
NaiJi ✨ f9c951f127 Merge branch 'master' into plug-backgrounds 2023-09-26 18:46:14 +03:00
NaiJi aa4429cc79 refactor(ui): Reorganize placeholders for empty pages
- Resolve https://git.selfprivacy.org/SelfPrivacy/selfprivacy.org.app/issues/348
- Make 'Data Center' cards unclickable when uninitialized
2023-09-23 23:03:54 -03:00
NaiJi c64c6e11d7 refactor(ui): Change SizedBox dimension hardcode from 10 to 8 for service cards 2023-09-18 12:42:40 -03:00
NaiJi ✨ ec36f6b764 Merge branch 'master' into service-card-naming 2023-09-18 18:39:58 +03:00
NaiJi ✨ 86f2d0c0bb Merge branch 'master' into email-copy 2023-09-18 18:34:47 +03:00
NaiJi ✨ a7e8c0aa6b Merge branch 'master' into service-card-naming 2023-09-18 18:34:16 +03:00
NaiJi ✨ 70c47c69ab Merge branch 'master' into email-copy 2023-09-18 18:30:25 +03:00
NaiJi ✨ 8901507f08 Merge branch 'master' into service-card-naming 2023-09-18 18:30:03 +03:00
NaiJi 7aa3305d23 refactor: Rename isUserPrimary to isPrimaryUser for User 2023-09-18 12:28:41 -03:00
NaiJi dae535e35a Merge branch 'master' into users-order 2023-09-18 12:26:50 -03:00
NaiJi ✨ f34c4417b6 Merge pull request 'refactor(ui): Change measure units on 'Extending volume' page' (#344) from extending-fields into master
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy.org.app/pulls/344
Reviewed-by: Inex Code <inex.code@selfprivacy.org>
2023-09-18 18:23:33 +03:00
NaiJi 40568925e1 refactor(ui): Move service card name to its icon row
- Resolves https://git.selfprivacy.org/SelfPrivacy/selfprivacy.org.app/issues/350
2023-09-18 12:22:37 -03:00
NaiJi 5c329d47c1 refactor(ui): Make users be ordered properly on users page
- Resolves https://git.selfprivacy.org/SelfPrivacy/selfprivacy.org.app/issues/340
2023-09-16 02:09:40 -03:00
NaiJi 887302f936 refactor(ui): Add measure units to 'Extending volume' page
- Resolves https://git.selfprivacy.org/SelfPrivacy/selfprivacy.org.app/issues/301
2023-09-16 01:41:02 -03:00
NaiJi d2ed9f3a75 refactor(ui): Move service descriptions above login info for service cards
- Resolves https://git.selfprivacy.org/SelfPrivacy/selfprivacy.org.app/issues/341
2023-09-16 00:46:16 -03:00
Inex Code 0ffd7e61d6 feat(backups): Add note about the scope of backup rotation 2023-09-09 21:20:21 +03:00
Inex Code 1b26f2cf29 feat(backups): Allow to change snapshot rotation settings 2023-09-09 21:13:27 +03:00
Inex Code aac4b2773b feat(backups): Show the snapshot creation reason 2023-09-09 10:22:43 +03:00
Inex Code ef91ffaf2b Merge pull request 'feat: Implement dialogue to choose an domain from several during installation' (#330) from domain-selection into master
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy.org.app/pulls/330
Reviewed-by: Inex Code <inex.code@selfprivacy.org>
2023-09-08 15:42:38 +03:00
Inex Code 031ad47417 refactor(ui): Domain selection refresh 2023-09-08 15:41:12 +03:00
Inex Code 062fa725c4 fix(ui): DNS API key support page was using old code 2023-09-08 09:38:08 +03:00
NaiJi 14dbdbbc73 feat: Implement dialogue to choose an domain from several during installation 2023-09-08 02:54:28 -03:00
NaiJi 3c548e5aa9 feat: Add copy-to-clipboard for email on user page
- Implement setClipboard adapter and encapsulate platform dependency on clipboard service
2023-09-07 18:26:33 -03:00
NaiJi cd452d5f26 refactor: Change getOverrideColor lambda to simple variable in backup page 2023-09-07 18:04:26 -03:00
NaiJi a67c203266 Merge branch 'master' into gray-backups 2023-09-07 18:00:49 -03:00
Inex Code fe93360870 refactor: Use snackbar to show snapshot id copy notification 2023-09-07 14:35:42 +03:00
NaiJi e07394e8b1 feat: Implement visible accent when backup modal buttons are disabled 2023-09-06 23:31:47 -03:00
NaiJi ffa985aba2 feat: Implement copying to clipboard for snapshot id of backups 2023-09-06 23:03:06 -03:00
NaiJi 8a5ee1d42e Merge 'master' into 'price-calculation' 2023-09-06 20:54:30 -03:00
Inex Code 0984892a01 feat: UI tweaks for server costs 2023-09-06 20:01:56 +03:00
NaiJi 85abd8f0fc refactor: Remove mentions of cloudflare from general variables 2023-09-05 08:45:09 -03:00
Inex Code d64764f4a8 Merge branch 'master' into price-calculation 2023-09-01 15:38:35 +03:00
Inex Code b01c61a47b feat(backups): Add snapshot restore modal 2023-08-14 07:10:15 +03:00
Inex Code 03f7e7d819 fix(ui): Fix encryption key modal behaviour when no key found
Closes #300
2023-08-14 07:09:06 +03:00
Inex Code 7e1620be3c fix(ui): Add loading animation for backups screen
Closes #309
2023-08-14 05:54:11 +03:00
Inex Code 4170224119 fix(ui): Add divider in backups screen 2023-08-14 05:48:15 +03:00
Inex Code 13e80a9e37 Merge branch 'master' into restore-strategy 2023-08-14 05:35:52 +03:00
NaiJi e4c5220fb4 refactor: Rename isTherePendingChange to isVolumePicked on migration page 2023-08-11 10:21:27 -03:00
NaiJi 2279ebf47f Merge 'master' into 'service-migration' 2023-08-11 10:17:31 -03:00
NaiJi a94965ab0d feat: Add autofocus to cubit text fields for keyboard displaying 2023-08-10 23:21:45 -03:00
NaiJi 91dce222cc fix: Don't let start service migration if the same volume was picked 2023-08-10 23:07:03 -03:00
NaiJi 75b8a7b9ac feat(backups): Implement restore backup strategy 2023-08-07 09:23:48 -03:00
NaiJi 20c3948e60 Merge 'master' into 'price-calculation' 2023-08-07 07:58:57 -03:00
NaiJi 037498070a fix: Include IPv4 cost to overall server cost 2023-08-07 07:52:26 -03:00
NaiJi ✨ e35514b670 Merge pull request 'feat: Replace general entity naming on UI with specifics.' (#264) from hardcoded-naming into master
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy.org.app/pulls/264
Reviewed-by: Inex Code <inex.code@selfprivacy.org>
2023-08-07 12:06:30 +03:00
NaiJi ✨ 1db2f53c9a Merge pull request 'fix(hetzner): Normalize CPU usage percentage by cached amount of cores' (#272) from hetzner-cpu into master
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy.org.app/pulls/272
Reviewed-by: Inex Code <inex.code@selfprivacy.org>
2023-08-07 12:02:35 +03:00
NaiJi 719a5a7274 fix(hetzner): Normalize CPU usage percentage by cached amount of cores 2023-08-07 04:08:54 -03:00
NaiJi 4b1c85c4a8 chore: Add missing trailing commas to encryption key modal page 2023-08-06 20:32:05 -03:00
NaiJi 4f8f87f8a8 feat: Include volume cost to overall monthly cost per server 2023-08-06 20:28:02 -03:00
NaiJi bd8faf8760 feat: Replace general entity naming on UI with specifics.
- Pass actual provider namings to .tr functions as arguments
- Remove hardcoded namings where known
- Get rid of general mentions of 'DNS Provider' or 'Server Provider' where confusing
2023-07-28 20:42:41 -03:00