Commit graph

673 commits

Author SHA1 Message Date
NaiJi 129c1bb4c6 Refactor infrastructure
Co-authored-by: Inex Code <inex.code@selfprivacy.org>
2022-05-14 05:54:40 +03:00
NaiJi 4a42733d31 Refactor infrastructure: cubits and endpoints
Co-authored-by: Inex Code <inex.code@selfprivacy.org>
2022-05-13 16:57:56 +03:00
NaiJi 01b1f7462d Implement recovery domain page frontend 2022-05-11 21:37:08 +03:00
NaiJi ce3e046f5a Improve server endpoints, add recovery page
- Handle Dio error codes properly to avoid exceptions
- Improve en and ru assets
- Improve dns recordings failure handling
- Add recovery button to initializing page
- Add recovery pages group
2022-05-10 23:42:33 +03:00
NaiJi 31be961dd0 Implement server endpoints for tokens
get /auth/recovery_token
post /auth/recovery_token
post /auth/recovery_token/use
post /auth/new_device/authorize
post /auth/new_device
delete /auth/new_device
get /auth/tokens
post /auth/tokens
delete /auth/tokens
2022-05-10 02:16:36 +03:00
NaiJi c4ae2b3b4f Merge pull request 'Fix username validation and exception handling' (#89) from naiji-dev into master
Reviewed-on: https://git.selfprivacy.org/kherel/selfprivacy.org.app/pulls/89
2022-05-04 22:38:09 +03:00
NaiJi 8d6cbfdfc9 Fix docstyle comments 2022-05-04 22:32:24 +03:00
NaiJi 4c7cf05578 Refactor FieldCubit creation for user forms
Move all cubit fields to a special factory which encapsulates all logic related to their default properties, which leaves possibility for future dependency inversion on that factory or future factories of other cubit fields (in case we will have to replace it with other implementations).
2022-05-04 19:58:47 +03:00
Inex Code 9cec5e901a hardcode dark theme on linux for now 2022-05-03 15:18:06 +03:00
Inex Code c5fa712ef0 Test custom colors 2022-05-03 13:45:10 +03:00
NaiJi 4c99579f13 Fix username validation and exception handling
1. Refactor string validation classes
2. Rename string validation assets for length
3. Improve exception handling when server is not able to create requested server
2022-05-02 14:56:46 +03:00
Inex Code 265cc15ea5 Merge pull request 'Catch wakelock exception on desktop' (#88) from naiji-dev into master
Reviewed-on: https://git.selfprivacy.org/kherel/selfprivacy.org.app/pulls/88
2022-05-02 10:51:07 +03:00
Inex Code 4ddde34b47 Fix server deletion 2022-04-29 13:53:58 +03:00
NaiJi 834cddfe13 Catch wakelock exception on desktop 2022-04-29 13:45:15 +03:00
Inex Code 125788c3ab Update pubspec.yaml 2022-04-19 14:59:03 +03:00
Inex Code 2e6bfcc5e1 Update changelog 2022-04-19 14:58:14 +03:00
Inex Code 902b9fbda5 Add android:exported to manifest, to make it compatible with android 12 2022-04-19 14:55:53 +03:00
Inex Code c36038b1ab Update Gradle dependency 2022-04-16 19:44:04 +03:00
Inex Code 45134d26da Raise target Android version to API 31 2022-04-09 07:25:21 +03:00
Inex Code cca55f82cc Encode password to base64 during server creation 2022-04-06 20:15:59 +03:00
Inex Code 4d8843f008 Update changelog 2022-04-05 19:03:37 +03:00
Inex Code bef625a934 Update breaking fl_chart dependency 2022-04-05 18:50:47 +03:00
Inex Code 073b7bfcb6 Merge pull request 'Fix users cubit, add changelog for 0.5.0' (#87) from NaiJi/selfprivacy.org.app:cubit-users into master
Reviewed-on: https://git.selfprivacy.org/kherel/selfprivacy.org.app/pulls/87
2022-04-05 17:10:57 +03:00
NaiJi 8d884af594 Fix users cubit, add changelog for 0.5.0 2022-04-03 22:54:18 +03:00
Inex Code 3e2a86ede1 Merge pull request '0.5.0 DKIM' (#85) from inex/selfprivacy.org.app:dkim into master
Reviewed-on: https://git.selfprivacy.org/kherel/selfprivacy.org.app/pulls/85
2022-03-23 16:18:43 +02:00
Inex Code 85235a2e7c Add SSH key adding and deleting 2022-03-23 17:07:52 +03:00
inexcode d240e493b1 Add user synchronization and SSH keys screen 2022-03-03 20:38:30 +03:00
inexcode e4bdd47848 Merge branch 'feature/service-configurations' into dkim
# Conflicts:
#	lib/logic/api_maps/hetzner.dart
#	lib/logic/api_maps/server.dart
#	lib/logic/cubit/backups/backups_cubit.dart
#	lib/logic/cubit/forms/initializing/cloudflare_form_cubit.dart
#	lib/logic/models/job.dart
#	lib/ui/pages/initializing/initializing.dart
#	lib/ui/pages/providers/providers.dart
#	pubspec.lock
#	pubspec.yaml
2022-02-18 02:37:15 +03:00
inexcode e925a1897a Fix some typos 2022-02-16 10:28:29 +03:00
inexcode 914d56ff87 DNS records cubit and screen 2022-02-16 10:09:53 +03:00
inexcode 83a2d19e37 Introduce new brand screen, use it for backups 2022-02-16 10:01:05 +03:00
inexcode 8de33ea19b Fix typo 2022-02-10 12:50:37 +03:00
kherel 7eff0968d0 update 2022-02-08 22:01:08 +01:00
inexcode d06e8976c5 Fix infect stage and DKIM 2022-02-08 09:59:35 +03:00
inexcode a0edbd636d Refactor DNS checks 2022-02-08 09:59:19 +03:00
inexcode 9afe61db42 Migrate to Flutter 2.10 2022-02-08 09:58:12 +03:00
kherel 83ff387998 update 2022-02-07 08:53:13 +01:00
Inex Code f6508dfcad Attempts at string escaping 2022-02-02 12:53:21 +00:00
Inex Code 0bc3d9f31c Add DKIM key creation 2022-02-01 01:56:05 +00:00
Inex Code 88d5dbf010 Add more escaping to server infection 2022-02-01 01:55:09 +00:00
kherel 9566a6ad10 update 2022-01-25 18:02:32 +01:00
Illia Chub d79b41a3fe Added fastlane changelog for latest app vesion 2022-01-25 18:02:31 +01:00
Inex Code 3cd187e416 Enforce alphanumeric bucket id 2022-01-25 18:02:31 +01:00
Inex Code 2dfb92f650 Fix wrong server name escaping symbol 2022-01-25 18:02:31 +01:00
Inex Code 72100e483a Replace all non-alphanumeric symbols during hetzner creation 2022-01-25 18:02:31 +01:00
Inex Code de13b09f23 Add gifs to illustrate API token instructions 2022-01-25 18:02:31 +01:00
Inex Code 2e8908053c Bump version 2022-01-25 18:02:31 +01:00
Inex Code 8622ed30f1 Add more instructions to UI 2022-01-25 18:02:31 +01:00
Inex Code 5957e5720b Add user deletion (for real) 2022-01-25 18:02:31 +01:00
Inex Code e72df08453 Show that we are doing something when upgrading/restarting server 2022-01-25 18:02:31 +01:00