Commit graph

340 commits

Author SHA1 Message Date
Inex Code 9d6721d58b refactor: Deprecate showFab on BrandHeroScreen 2023-04-05 13:38:07 +03:00
inexcode 0df9d2ac27 feat: Use Material 3 animation curves 2023-04-05 13:38:07 +03:00
inexcode 423efeeb20 feat: Introduce new router and adaptive layouts 2023-04-05 13:38:07 +03:00
inexcode befdc0286e feat: Automatic day/night theme 2023-04-05 13:38:07 +03:00
inexcode 8fc229647f feat: Add Support drawer and basic support cubit. 2023-04-05 13:38:07 +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 4d4a980aaf Merge branch 'digital-ocean-dns' into refactoring 2023-02-06 12:40:08 +04:00
NaiJi 2fd5c9a2cd chore: Merge flutter-3.7 into digital-ocean-dns 2023-02-06 12:39:39 +04:00
Inex Code 6b90c5aa3b refactor: Migrate to Flutter 3.7 2023-02-05 16:24:37 +03:00
Inex Code c271331f29 refactor(ui): Remove SafeArea where they are not needed 2023-02-01 01:40:42 +03:00
Inex Code 80547785d3 refactor(ui): Change the styling of "Server is not ready" card 2023-02-01 01:29:17 +03:00
Inex Code 44553eaf85 fix(ui): Add a title to setup wizard 2023-02-01 01:13:06 +03:00
Inex Code c8bc75d422 fix(ui): Make onboarding screen more adaptive 2023-02-01 01:11:59 +03:00
Inex Code e186dac39f fix(ui): Deduplicated launch_url functions
Also fixed issue of calling URI with duplicate protocol

Closes: #184
2023-02-01 01:11:50 +03:00
NaiJi a270f3dfbb feat: Implement general server provider and its factory 2023-01-30 19:44:52 +04:00
NaiJi fcd1c29606 fix: Remove breaking underscore from a launchURL call
In services.dart
2023-01-29 08:56:51 +04:00
NaiJi 10593229b2 chore: Merge master into digital-ocean-dns 2023-01-29 08:54:31 +04:00
NaiJi ✨ 42b9de656c chore: Merge recovery-fix into master
Reviewed-on: https://git.selfprivacy.org/kherel/selfprivacy.org.app/pulls/190
Reviewed-by: Inex Code <inex.code@selfprivacy.org>
2023-01-29 06:50:31 +02:00
NaiJi 9929cdd1a3 fix: Remove double protocol on opening a service link 2023-01-29 08:41:59 +04:00
NaiJi 9cbe3b2abb fix: Improve dns checking on recovery
No special case for when a user only has one server
2023-01-29 08:31:40 +04:00
NaiJi 3b962c5f5a feat: Adapt Desired DNS Records checking for Digital Ocean 2023-01-11 22:01:46 +04:00
NaiJi 9184a9db5d feat: Implement DnsProvider loaging 2023-01-05 14:12:59 +04:00
NaiJi 36bc5b2554 chore: Generate build runner files 2023-01-05 13:16:30 +04:00
NaiJi 2980887333 feat: Add DNS provider selection page
Upload cloudflare svg
2023-01-04 14:42:22 +04:00
NaiJi 6767b679a0 chore: Merge master into digital-ocean-dns 2023-01-03 13:00:01 +04:00
NaiJi e0c04468bc Merge branch 'master' into release-party 2022-12-31 10:06:34 +04:00
Inex Code d1c4aa9fc6 feat(about): Add privacy policy and licenses 2022-12-31 09:04:25 +03:00
NaiJi 12de989df6 docs: Add Digital Ocean how-to markdown 2022-12-31 10:01:27 +04:00
Inex Code bbb1d55b64 feat(services): Sort the services by their status
Done by changing the indexes of ServiceStatus enum and sorting by it.
2022-12-31 08:08:25 +03:00
Inex Code e2a9493b61 fix(jobs): Make jobs panel take less space
Closes: #136
2022-12-31 07:51:47 +03:00
Inex Code 3feb5acf71 style: Linting 2022-12-31 07:50:43 +03:00
Inex Code 48446ab3d5 fix(charts): Temporary fix for Hetzner CPU chart 2022-12-31 07:49:19 +03:00
Inex Code b007fec75b refactor(initializing): Refresh the server istallation UI 2022-12-31 07:16:10 +03:00
Inex Code e342727181 refactor(services): Remove services switch on services screen cards 2022-12-31 05:31:59 +03:00
NaiJi e560de58e7 feat: Implement DNS provider picker page 2022-12-30 07:25:18 +04:00
NaiJi 18d3039dc4 chore: Create infrastructure for Digital Ocean DNS provider
Also rename hardcoded cloudflare names from backend
2022-12-17 14:26:19 +04:00
NaiJi 899c84c54f chore: Rename Check step to Installation
It just feels more convenient tbh...
2022-11-30 19:04:04 +04:00
NaiJi 8c6b56f61d fix: Make improvements by Code Review 2022-11-23 11:55:28 +04:00
NaiJi a70e793360 chore: Merge master into digital-ocean 2022-11-22 16:10:00 +04:00
NaiJi 3ba2c6f731 feat: Add refresh indicator on Recovery Key page to support drag gestures 2022-11-21 17:17:27 +04:00
NaiJi b2a5d57a1d feat(initializing): Add description and back button to server type step 2022-11-20 14:48:08 +04:00
NaiJi b53bb6d4dd refactor: Remove 'unused' warnings 2022-11-18 11:33:28 +04:00
NaiJi 0c4da8eb9f refactor: Move all API factories into encapsulated static class
Because it's very hard to track all different provider factories created in different cubits, if users reset application config the previous factories stayed unchanged which would lead to unexpected behavior
2022-11-18 09:49:04 +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 bde364dde1 fix(digital-ocean): Adjust charts rendering for digital ocean values 2022-11-16 04:12:49 +04:00
NaiJi 92b417a103 feat(digital-ocean): Implement metrics for Digital Ocean 2022-11-15 08:00:10 +04:00
NaiJi a7cbde663e refactor(server-api): Generalize and encapsulate server metrics endpoints 2022-11-12 22:11:14 +04:00
NaiJi 10bdd4c800 refactor(server-api): Make general server info polymorphic
Removing Hetzner type hardcode from server page and replacing it with generic String-based metadata container
2022-11-11 07:32:01 +04:00
NaiJi cdc47ecdb3 refactor(ui): Move all pop up dialogs into general utils function
To not import get_it everywhere and encapsulate all the related dirt into utils.
2022-11-09 22:43:05 +04:00
NaiJi 59d186a8af fix(volume): Change raw int to DiskSize object in volume endpoints
We already have an abstraction for size, there is no need to pass size value as raw numeric variables
2022-11-04 16:19:39 +04:00
NaiJi 8c053f50b0 chore: Merge master into digital-ocean 2022-11-02 18:45:36 +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 93c58323b2 chore: Merge master into digital-ocean 2022-10-26 20:41:45 +04:00
NaiJi aa3dee585b chore(dart): Fix warnings that appeared at Dart 2.18 SDK 2022-10-26 20:26:09 +04:00
NaiJi 5ddbfcb342 chore: Merge master into digital-ocean 2022-10-25 12:22:34 +04:00
NaiJi 20e4d9565b fix(assets): Fix broken strings for network domain elements 2022-10-24 16:19:39 +04:00
NaiJi df9ec28d02 fix(initializing): Adjust server location and type list cards 2022-10-21 08:33:47 +04:00
inexcode e7bb1dc16e feat(timezone): Design the search bar for 'Select Timezone' page 2022-10-20 22:33:40 +03:00
NaiJi e36a94ded5 feat(timezone): Implement search bar for 'Select Timezone' page 2022-10-20 22:29:19 +03:00
NaiJi cb1fe6eafd fix(initializing): Make provider and server type picking work 2022-10-20 18:44:29 +04:00
NaiJi eebff47d0c chore: Merge master into digital-ocean 2022-10-20 12:40:16 +04:00
NaiJi b40ab17197 fix(initializing): Move bloc provider from provider picker to initialization page 2022-10-19 18:43:01 +04:00
NaiJi 556df5aadc fix(assets): Remove string hardcode from domain setup page 2022-10-19 17:46:16 +04:00
NaiJi ea85ce6064 refactor: Apply formatting 2022-10-18 05:38:26 +00:00
NaiJi f5a75e6eb5 feat(initializing): Implement additional server type field for server installation 2022-10-16 01:16:47 +00:00
NaiJi 8a93af2b06 fix(region): Move region settings for provider api to factory 2022-10-16 00:51:10 +00:00
NaiJi 72760e7980 feat(initializing): Implement server type selection for initialization page 2022-10-15 21:51:37 +00:00
NaiJi fe820ef5be feat(initializing): Implement location selection step for initializing page 2022-10-15 19:49:31 +00:00
NaiJi 79e9334aca feat(pricing): Replace raw double with simple type Price 2022-10-12 01:42:45 +00:00
NaiJi 70330c59ab feat(digital-ocean): Implement provider picker pages 2022-10-11 20:11:13 +00:00
NaiJi a305e0b53f fix(assets): Change naming to conventional and consistent 'username' 2022-10-08 19:28:07 +00:00
NaiJi f4e588c435 fix(user): Replace cubit context read with state variable on login page 2022-10-08 19:22:08 +00:00
NaiJi 465af52350 Merge branch 'master' into validations 2022-10-08 19:18:33 +00:00
NaiJi c4f3b76414 fix(validations): Make validations and errors text more specific 2022-10-08 16:41:19 +00:00
NaiJi 7bad11967a refactor(job): Implement polymorphic predicate for job accessibility
Now every job type can impement canAddTo function to make JobsCubit know whether it can be applied or not
2022-10-07 17:50:18 +00:00
NaiJi db2f5c1342 fix(job): Fix server settings toogles not creating upgrade server job 2022-10-07 16:36:17 +00:00
Inex Code 3f663b7900 Merge branch 'master' into fix/app-bars 2022-10-06 10:40:06 +03:00
inexcode 2fc20f43c3 fix(ui): New app bar now properly supports long titles 2022-10-06 10:38:29 +03:00
NaiJi 699e2f676f refactor(service): Get rid of legacy common enums 2022-10-05 01:41:48 +03:00
Inex Code 129eb76a04 feat: MD3 app bars
Fixed #123 spent @2h
2022-10-04 13:36:37 +03:00
Inex Code c1cba41b7b fix(i18l): Un-hardcode service status descriptions 2022-10-04 11:05:26 +03:00
NaiJi d36c8e987d Completely refactor language asset files 2022-10-04 02:32:35 +03:00
NaiJi bb6d615d37 Fix 'start migration button' subtitle 2022-09-19 03:48:59 +03:00
Inex Code 0425ea8ab8 Add a button to remove all removable server jobs 2022-09-19 03:42:00 +03:00
Inex Code 10891881ae Service migrations 2022-09-19 03:21:08 +03:00
NaiJi d6d7a0dcb6 Implement rebuild server job for settings page 2022-09-19 03:00:40 +03:00
Inex Code 2a4c691f1e Pre-release testing bug fixes 2022-09-19 01:11:26 +03:00
Inex Code 900e07f364 Implement user password reset 2022-09-18 23:25:26 +03:00
Inex Code e330878e6d Allow removing completed and failed server jobs 2022-09-18 23:12:09 +03:00
Inex Code 19aab4b57f Redesign the ServerJobCard 2022-09-18 20:57:00 +03:00
Inex Code 1817031be8 Animate color of BrandLinearIndicator 2022-09-18 20:57:00 +03:00
NaiJi 35a617065e Implement root page pushing after extending volume button 2022-09-18 19:31:22 +03:00
NaiJi d9b82b1250 Implement volume extending button 2022-09-18 19:26:55 +03:00
Inex Code 8017c5ab4c Show services in Server Storage screen 2022-09-18 19:06:17 +03:00
Inex Code cb660eb2bb Refactor server_settings.dart to use vanilla ListTiles 2022-09-18 17:17:13 +03:00
NaiJi 39358a827f Implement migrate to binds logic 2022-09-18 17:05:41 +03:00
Inex Code 5ca4ee27e3 Introduce ListTileOnSurfaceVariant and refactor TextDetails on server details screen. 2022-09-18 16:24:17 +03:00
Inex Code 3d34f0bb55 Fix screens when no server initialized 2022-09-16 17:14:29 +03:00
Inex Code c84d16d8b7 Move files related to storage 2022-09-16 16:49:53 +03:00