Commit graph

372 commits

Author SHA1 Message Date
NaiJi 80b83980ce feat(backup): Implement forget snapshot method 2023-08-07 09:44:26 -03:00
NaiJi 75b8a7b9ac feat(backups): Implement restore backup strategy 2023-08-07 09:23:48 -03:00
NaiJi 5c473d96a9 Merge 'master' into 'soft-reset' 2023-08-07 08:03:24 -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 ✨ a17b66c729 Merge pull request 'refactor: Implement Cloudflare-specific objects to avoid usage of global models' (#268) from dto into master
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy.org.app/pulls/268
Reviewed-by: Inex Code <inex.code@selfprivacy.org>
2023-08-07 12:06:45 +03:00
NaiJi 4f8f87f8a8 feat: Include volume cost to overall monthly cost per server 2023-08-06 20:28:02 -03:00
NaiJi e97d52bad5 fix: Replace runSystemRebuild with rebootSystem 2023-08-06 18:24:41 -03:00
NaiJi ffe923ef13 fix: Replace hard reset from server provider with direct server reboot 2023-08-02 18:08:23 -03:00
NaiJi b2c67c80bd refactor: Implement Cloudflare objects to avoid usage of dynamic blobs
- Get rid of ZoneId term outside of Cloudflare
2023-08-02 16:04:49 -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
NaiJi ccac0ff7fa refactor(digital-ocean-dns): Implement basic DTO for Digital Ocean DNS to avoid dynamic objects 2023-07-27 20:55:32 -03:00
NaiJi 146350f8f4 refactor(desec): Implement basic DTO for DESEC to avoid dynamic objects 2023-07-26 21:33:50 -03:00
NaiJi 27aaf93838 chore: Rename '_getApiToken' to 'get _token' for GraphQL API map 2023-07-22 11:26:48 -03:00
NaiJi 08f3258615 feat(graphql): Implement Accept-Language header for GraphQL API map 2023-07-22 11:24:37 -03:00
NaiJi 7ff1e36161 refactor(rest-api): Move rest api methods according to their business logic files positions
- Rename unmatching functions
2023-07-13 06:22:39 -03:00
Inex Code edb02764f7 fix: GraphQL fragments deduplication 2023-07-02 18:22:07 +03:00
Inex Code 62b7a0ee7e feat(backups): Add descriptions for backups 2023-07-02 14:41:31 +03:00
NaiJi b3b7c83461 chore: Implement fragments for ServerJob type on backup requests 2023-06-29 15:38:46 -03:00
Inex Code 90ab4244f6 feat(backups): Expose if the service can be backed up 2023-06-29 13:51:38 +03:00
Inex Code d2d8add10d feat(backups): Update the models 2023-06-29 12:52:09 +03:00
NaiJi feca9d3b06 chore: Update scheme.graphql and its models 2023-06-22 23:22:48 -03:00
NaiJi f05bedf460 chore: Implement new backups api 2023-06-22 11:14:00 -03:00
NaiJi e70cbab618 chore: Fix a typo in GraphQL scheme 2023-06-19 18:05:57 -03:00
NaiJi f4700965c6 chore: Merge master into backups-rewrite 2023-06-19 17:56:00 -03:00
NaiJi 9552df1ec2 chore: Remove unused abstraction for ServerProvider 2023-06-19 15:17:15 -03:00
NaiJi 215ad3579d chore: Rename ApiMaps to RestApiMap and GraphQLApiMap 2023-06-19 15:15:24 -03:00
NaiJi f9da202093 chore: Remove unused abstractions 2023-06-19 15:11:55 -03:00
NaiJi 3fedb17553 chore: Remove unused function from Desec API 2023-06-19 14:59:46 -03:00
NaiJi 0d49b89e43 chore: Remove unused function for Cloudflare provider 2023-06-19 14:52:07 -03:00
NaiJi e418a58e5b chore: Remove unused ApiTokenvalidatoin 2023-06-19 14:42:48 -03:00
NaiJi 6337889ab7 chore: Remove unneeded files 2023-06-19 11:59:11 -03:00
Inex Code 53e72504f7 refactor: Allow changing values for TLS settings 2023-06-16 05:59:48 +03:00
Inex Code 13af7e5e1d feat(backups): Introduce read GraphQL nodes for backups 2023-06-16 04:30:46 +03:00
Inex Code a5bb654a76 refactor(backups): Rename BackbaleCredential to BackupsCredential
Also adding provider field
2023-06-16 04:28:45 +03:00
NaiJi 69707f543f fix: Properly convert Digital Ocean droplets to ServerBasicInfo 2023-06-14 14:56:07 -03:00
NaiJi 2b1f6a12ea fix: Change JSON parsing for Digital Ocean droplets 2023-06-13 23:47:06 -03:00
NaiJi f6424200e2 chore: Implement basic DigitalOceanServerType model 2023-06-12 23:48:29 -03:00
NaiJi bfd67bac8d fix: Change .id field to ['id'] for DnsRecord in Digital Ocean DNS 2023-06-09 06:13:16 -03:00
NaiJi 9d62d3af8e chore: Merge master into refactoring 2023-06-09 04:10:15 -03:00
NaiJi 140acaee49 chore: Implement basic Digital Ocean server models 2023-06-07 03:22:27 -03:00
NaiJi f42e415633 chore: Replace dynamic blobs with HetznerLocation 2023-06-07 00:25:34 -03:00
NaiJi 875a9e2e86 chore: Replace dynamic blobs with HetznerServerInfo 2023-06-07 00:20:42 -03:00
NaiJi 49fe40bb38 chore: Implement better Price abstraction for Hetzner server provider 2023-06-07 00:09:39 -03:00
NaiJi 2a66d246c7 chore: Replace dynamic blobs with HetznerServerType 2023-06-07 00:03:34 -03:00
NaiJi ffa13aee04 chore: Implement HetznerVolume model and use it instead dynamic json 2023-06-06 23:35:57 -03:00
NaiJi a690fb5089 fix: Force JSON content-type for REST API requests 2023-06-05 09:46:42 -03:00
NaiJi f81bf968fd fix: Add forced JSON content type to REST APIs 2023-06-02 01:36:33 -03:00
NaiJi 3a0221e8b1 chore: Merge master into desec 2023-06-02 00:52:32 -03:00
Inex Code 4e65d5f945 refactor: Migrate to Flutter 3.10 and Dart 3.0 2023-06-01 15:12:49 +03:00
NaiJi 0e3e560485 feat: Remove certificate check during installation 2023-06-01 15:12:49 +03:00
NaiJi 25eb82c131 feat: Implement proper access recovery for DNS providers 2023-06-01 15:12:49 +03:00
NaiJi 73ec2687b2 fix: Make minor improvements for deSEC 2023-06-01 15:12:49 +03:00
NaiJi 6bee028188 feat: Implement proper DKIM creation for deSEC 2023-06-01 15:12:49 +03:00
NaiJi 32ef162f9b feat: Implement polymorphic DNS check for DNS API 2023-06-01 15:12:49 +03:00
NaiJi c67e37a40e fix: Adjust graphql schemas to new dns provider
- fix runtime bugs
2023-06-01 15:12:49 +03:00
NaiJi 01c09aaae4 feat: Implement deSEC API support 2023-06-01 15:12:49 +03:00
NaiJi b41b4159b4 feat: Implement infrastructure for new DNS provider deSEC 2023-06-01 15:12:49 +03:00
NaiJi d114d1477f fix: Adapt usage of DNS provider interface to refactoring 2023-05-30 12:48:18 -03:00
NaiJi b0769b8ed0 chore: Separate business logic from API layer for Digital Ocean DNS 2023-05-30 00:04:29 -03:00
NaiJi 8123632cc1 feat: Implement Cloudflare DNS provider layer and separate from API 2023-05-29 23:18:02 -03:00
NaiJi 7832094609 chore: Create cloudflare dns provider interface and separate it from api 2023-05-25 00:15:58 -03:00
NaiJi 509b2ac7c7 chore: Move DNS provider methods to the abstract interface 2023-05-25 00:02:10 -03:00
NaiJi 8863dc8b2c chore: Move DNS validation to provider layer for desec 2023-05-24 23:51:40 -03:00
NaiJi eebbf98349 chore: Move domain list getter to dns provider layer for desec 2023-05-24 23:47:43 -03:00
NaiJi 4bb26559aa chore: Move business logic from API for desec dns provider 2023-05-22 23:40:25 -03:00
NaiJi 4260152081 chore: Merge desec into refactoring 2023-05-17 13:58:15 -03:00
NaiJi 4afcedebb7 feat: Remove certificate check during installation 2023-05-16 17:02:08 -03:00
NaiJi 232699bdb1 feat: Implement proper access recovery for DNS providers 2023-05-16 15:49:03 -03:00
NaiJi ce017c6ea8 fix: Make minor improvements for deSEC 2023-05-16 15:03:31 -03:00
NaiJi 6ddc2328f0 feat: Implement proper DKIM creation for deSEC 2023-05-16 12:49:55 -03:00
NaiJi e9665ad75d feat: Implement polymorphic DNS check for DNS API 2023-05-16 11:06:01 -03:00
NaiJi 56dd40e90e fix: Adjust graphql schemas to new dns provider
- fix runtime bugs
2023-05-12 16:32:19 -03:00
NaiJi af90ddd78a feat: Implement deSEC API support 2023-05-12 03:07:43 -03:00
NaiJi 234064ed72 feat: Implement infrastructure for new DNS provider deSEC 2023-05-09 03:15:48 -03:00
NaiJi 72a04a54b3 refactor: Remove low level ApiController and replace Dns interfaces 2023-05-03 00:01:44 -03:00
NaiJi 5cbf399a58 fix: Remove accidental hardcode for staging options 2023-05-02 23:49:13 -03:00
NaiJi 30385c2470 refactor: Create empty DnsProvider interfaces 2023-05-02 23:42:18 -03:00
NaiJi 1e9f1f88a7 fix: Hetzner installation issues
- Replace serverType id with locaiton id
- Replaces id accessing in volume from .id to [id]
2023-04-25 16:44:43 -03:00
NaiJi 4c2cfca4c4 fix: Change server location type for Hetzner 2023-04-25 16:20:23 -03:00
NaiJi 3b49805c9c chore: Move volume api to abstract server provider interface 2023-04-24 12:09:23 -03:00
NaiJi f6591cbfc6 chore: Implement server installation for Digital Ocean 2023-04-19 10:41:30 -03:00
NaiJi 15c0586ab3 chore: Merge digital-ocean-dns into refactoring 2023-04-12 05:32:56 -03:00
NaiJi 755ac1d5c0 chore: Merge master into digital-ocean-dns 2023-04-12 02:42:33 -03:00
Inex Code 466a221dd0 refactor(ui): More compact view of console.dart 2023-04-05 13:38:07 +03:00
Inex Code f5313a8148 chore: New lints 2023-04-05 13:38:07 +03:00
inexcode 1f5f366bc5 refactor(server-api): GraphQL codegen removed dependency on JSON Serializable. 2023-04-05 13:38:07 +03:00
NaiJi 7b2540640f chore: Rewrite server installation function on api level for Digital Ocean 2023-03-22 21:28:16 -03:00
NaiJi 4e4b61609f chore: Move volume functions to provider layer for Digital Ocean 2023-03-21 13:08:46 -03:00
NaiJi dde6f7e80d chore: Move volume functions to provider layer for Hetzner 2023-03-20 12:22:43 -03:00
NaiJi 7b543f9030 chore: Implement server deletion for digital ocean on provider level 2023-03-10 00:47:02 +04:00
NaiJi bc9ab447f0 chore: Implement server deletion for hetzner on provider layer 2023-03-09 13:06:15 +04:00
NaiJi 76536f8115 chore: Move basic functionality of Digital Ocean to provider layer 2023-03-03 03:01:09 +04:00
NaiJi cd59c19c9c chore: Start implementing Digital Ocean provider layer 2023-03-01 06:53:51 +04:00
NaiJi 97e9e9d9cb chore: Adapt MetricsRepository to new ProvidersControllers model 2023-02-28 07:00:52 +04:00
NaiJi 8da7341ccb chore: Implement basics of hetzner installation logic 2023-02-21 13:11:04 +04:00
NaiJi 02abb3d321 chore: Merge digital-ocean-dns into refactoring 2023-02-15 11:46:15 +04:00
NaiJi ba1f9dbfc9 chore: Merge flutter-3.7 into digital-ocean-dns 2023-02-15 11:45:48 +04:00
NaiJi e99b08bcc3 fix: Improve DigitalOcean server types filtering
- Convert RAM to GB
- Don't let it droplets with RAM less than 1024 MB
2023-02-15 11:03:13 +04:00
NaiJi be25775601 chore: Merge digital-ocean-dns into refactoring 2023-02-15 10:45:14 +04:00