Commit graph

562 commits

Author SHA1 Message Date
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
Aliaksei Tratseuski 0ee46e1c1e feat: native language names for locale picker 2024-05-18 02:45:05 +04:00
Aliaksei Tratseuski c70edb957d fix: center empty_page_placeholder title alignment 2024-05-15 20:20:59 +04:00
Aliaksei Tratseuski a7ed0d20b2 Merge remote-tracking branch 'sp/master' into feat_token_management 2024-05-15 20:12:13 +04:00
Aliaksei Tratseuski 71bd5e5ad2 fix: brand_header now extends preferred_size_widget 2024-05-15 20:01:27 +04:00
Aliaksei Tratseuski 1e75dbcb81 feat: root_scaffold_with_subroutes
rewrote root_scaffold_with_navigation:
* extracted common code
* removed dead one
* cleaned up remaining one
* fixed translations update on language change
2024-05-15 19:45:04 +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 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 161c5b7fc5 fix: made root destination list const, removed translations from objects 2024-05-15 14:45:24 +04:00
Aliaksei Tratseuski 5033fa3b49 chore: version bump, changed discountinued package_info to package_info_plus 2024-05-15 14:41:31 +04:00
Inex Code 4930fc2387 feat: Show the error screen when libsecret fails 2024-05-02 15:05:38 +03:00
Aliaksei Tratseuski 6eb5299d46 feat: proper separate getter for clipboard content 2024-04-30 23:25:51 +04:00
Aliaksei Tratseuski 47f3d5f53c feat: added translations to some of console page elements, empty view when there are 0 logs in console yet. 2024-04-30 02:49:06 +04:00
Aliaksei Tratseuski 8919a50bf3 Merge remote-tracking branch 'sp/master' into feat_token_management
Keeping PR up-to-date.
2024-04-29 18:02:46 +04:00
NaiJi ✨ a6b846cc78 feat(backups): Show how much space a service uses on backup (#500)
Fixes #434

![image](/attachments/351cc025-8dae-44f2-9bca-18f8950e0780)

Co-authored-by: Inex Code <inex.code@selfprivacy.org>
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy.org.app/pulls/500
Reviewed-by: Inex Code <inex.code@selfprivacy.org>
Co-authored-by: NaiJi  <naiji@noreply.git.selfprivacy.org>
Co-committed-by: NaiJi  <naiji@noreply.git.selfprivacy.org>
2024-04-24 13:18:02 +03:00
NaiJi ✨ 6819192219 feat: Add country names to installation process (#501)
Fixes #494

Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy.org.app/pulls/501
Reviewed-by: Inex Code <inex.code@selfprivacy.org>
Co-authored-by: NaiJi  <naiji@noreply.git.selfprivacy.org>
Co-committed-by: NaiJi  <naiji@noreply.git.selfprivacy.org>
2024-04-24 12:54:32 +03: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
Aliaksei Tratseuski 22fbbb051e feat: infobox changed to use wrap.
shown as 1 line when content fits, wraps into column when not.
2024-04-20 13:44:14 +04:00
Aliaksei Tratseuski 32769c9d9f fix: selectable new device key.
In devices menu, when key for the connection of new device is created, one can select key text for copy.
2024-04-20 03:16:38 +04:00
NaiJi 1c42598787 fix(backups): Implement filtering for enabled services for backups
- Resolve: https://git.selfprivacy.org/SelfPrivacy/selfprivacy.org.app/issues/433
2024-04-16 23:03:11 +04:00
Inex Code 81f4f93d7c refactor: Fix typos in variable names 2024-04-12 15:13:30 +03:00
dettlaff c179a109fd fix: add subtitle for flash button (#462)
closes #453

![image](/attachments/398ae5b1-df90-43cf-8389-0be4bafde9fd)

idk how to change hover

Co-authored-by: Inex Code <inex.code@selfprivacy.org>
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy.org.app/pulls/462
Co-authored-by: dettlaff <dettlaff@riseup.net>
Co-committed-by: dettlaff <dettlaff@riseup.net>
2024-04-11 13:53:31 +03:00
def add2366e6b feat: add copy link to service page (#461)
closes #452

Co-authored-by: Inex Code <inex.code@selfprivacy.org>
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy.org.app/pulls/461
Co-authored-by: def <dettlaff@riseup.net>
Co-committed-by: def <dettlaff@riseup.net>
2024-04-11 13:14:20 +03:00
dettlaff 0dc281a4f6 feat: add route to service cards in storage page (#446)
Co-authored-by: Inex Code <inex.code@selfprivacy.org>
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy.org.app/pulls/446
Co-authored-by: dettlaff <dettlaff@riseup.net>
Co-committed-by: dettlaff <dettlaff@riseup.net>
2024-04-11 13:04:22 +03:00
dettlaff a4737e9f05 feat: cubit.state.progress check for connect_to_existing 2024-04-03 13:00:27 +03:00
Inex Code bf66717854 fix(docs): Digital Ocean DNS used wrong manual 2024-04-03 12:54:33 +03:00
Inex Code d3b7f31c65 chore: Upgrade flutter and dependencies 2024-04-02 18:11:29 +03:00
Inex Code e874392a83 refactor: Remove the server deletion function 2024-03-14 18:19:52 +02:00
Inex Code b25e2f2d5f feat(ui): Overflow of the network graph card 2024-03-13 19:22:56 +03:00
Inex Code 4b08b96b38 feat(ui): Text overflow on the storage card 2024-03-13 19:03:44 +03:00
Inex Code f1c5fa7d82 feat(ui): Try out iOS bottom navbar 2024-03-13 18:32:04 +03:00
Inex Code e9538a4a84 feat(ui): Use adaptive widgets where possible 2024-03-13 18:20:50 +03:00
Inex Code 1cb5df19f3 fix: Title overflow of the provider and service cards titles 2024-03-13 18:02:13 +03:00
Inex Code bba29caeba feat: Add ssh settings 2024-03-09 19:30:43 +03:00
Inex Code b2384a5635 feat(jobs): Block starting client-side jobs when server is rebuilding or moving a service 2024-03-08 14:14:23 +03:00
Inex Code ff2b6b8f03 refactor(ui): Move server settings to a separate screen 2024-03-05 18:10:15 +03:00
NaiJi aec259301c feat(ui): Change provider card title to headline medium
- Resolve: https://git.selfprivacy.org/SelfPrivacy/selfprivacy.org.app/issues/448
2024-03-04 14:58:16 +04:00
NaiJi ✨ b8b8ac43ea Merge branch 'master' into move-title-in-cards 2024-03-04 12:42:27 +02:00
Inex Code 60c6736487 fix: Empty server confirmation screen during recovery 2024-03-02 18:50:05 +02:00
Inex Code b29ee2e90e fix: Misleading value of "Do not verify TLS" 2024-03-01 11:16:53 +02: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 490e5f92f3 refactor(ui): Code deduplication in AboutApplicationPage 2024-02-23 17:56:54 +02:00
Inex Code e36cba045a feat(ui): Select device icon depending on the screen width 2024-02-23 17:56:54 +02:00
Inex Code b4f700d56a feat(ui): Select device icon depending on the platform we are runnning on 2024-02-23 17:56:54 +02:00
Inex Code 9532ddc8af feat(ui): About page now contains links 2024-02-23 17:56:54 +02:00
Inex Code 275e8b1f40 chore: Fixes from review 2024-02-23 17:49:10 +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 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
def 035fe990d0 Merge branch 'master' into subtitles_for_menu_options 2024-02-08 17:15:21 +02:00
Inex Code 3a525f0d11 refactor: Replace RecoveryKeyCubit with RecoveryKeyBloc 2024-02-08 18:08:29 +03:00
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 c67661ff65 feat: change NavigationDestinationLabelBehavior 2024-02-08 00:19:27 +04: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
Aliaksei Tratseuski 370186030a added keys to segmented_buttons _ButtonSegment's 2024-02-05 12:59:29 +02:00
Aliaksei Tratseuski 40f4f8822f chore: segmented_buttons rewrite 2024-02-05 12:59:29 +02: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
Inex Code e26b6a23b2 fix(ui): Filled button overflow 2023-12-28 20:07:30 +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 5c03749577 refactor(linter): Add library; to brand icons 2023-12-20 16:57:52 +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