59f2ef1171 
								
							 
						 
						
							
							
								
								Remove print statements  
							
							
							
						 
						
							2025-03-26 12:59:49 +01:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								7cfacc3306 
								
							 
						 
						
							
							
								
								Save before deployment  
							
							
							
						 
						
							2025-03-26 12:56:52 +01:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								b4fbc457a6 
								
							 
						 
						
							
							
								
								Progress Indicator ( #259 )  
							
							... 
							
							
							
							closes  #74 
Show progress indicator to track deployment
- Disable deploy button when deployment is in progress.
Co-authored-by: kevin <kevin@procolix.com>
Reviewed-on: Fediversity/Fediversity#259 
Reviewed-by: kiara Grouwstra <kiara@procolix.eu> 
						
							2025-03-26 10:14:06 +01:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
									
										
									
								
							
							
							
								
							
							
								d78995b34c 
								
							 
						 
						
							
							
								
								make re-exports explicit again  
							
							... 
							
							
							
							Fediversity/Fediversity#269 (comment)  
						
							2025-03-25 08:43:45 +01:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								a5c310ad03 
								
							 
						 
						
							
							
								
								refactor variables ( #269 )  
							
							... 
							
							
							
							Reviewed-on: Fediversity/Fediversity#269 
Reviewed-by: Valentin Gagarin <valentin.gagarin@tweag.io>
Co-authored-by: Kiara Grouwstra <kiara@procolix.eu>
Co-committed-by: Kiara Grouwstra <kiara@procolix.eu> 
							
						 
						
							2025-03-24 10:04:43 +01:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								f8ac63853c 
								
							 
						 
						
							
							
								
								source htmx by nix ( #268 )  
							
							... 
							
							
							
							Reviewed-on: Fediversity/Fediversity#268 
Reviewed-by: Valentin Gagarin <valentin.gagarin@tweag.io>
Co-authored-by: Kiara Grouwstra <kiara@procolix.eu>
Co-committed-by: Kiara Grouwstra <kiara@procolix.eu> 
							
						 
						
							2025-03-24 08:41:16 +01:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								af18b39b63 
								
							 
						 
						
							
							
								
								clean up shebang of manage.py ( #271 )  
							
							... 
							
							
							
							Reviewed-on: Fediversity/Fediversity#271 
Reviewed-by: Valentin Gagarin <valentin.gagarin@tweag.io>
Co-authored-by: Kiara Grouwstra <kiara@procolix.eu>
Co-committed-by: Kiara Grouwstra <kiara@procolix.eu> 
							
						 
						
							2025-03-24 08:38:13 +01:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								de33e888c7 
								
							 
						 
						
							
							
								
								fix typo  
							
							
							
						 
						
							2025-03-20 13:11:18 +01:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								658fa7ff60 
								
							 
						 
						
							
							
								
								add TODO, reformat  
							
							
							
						 
						
							2025-03-20 13:09:46 +01:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
									
										
									
								
							
							
							
								
							
							
								ee70a0026d 
								
							 
						 
						
							
							
								
								restore env vars in dev shell  
							
							
							
						 
						
							2025-03-20 13:06:39 +01:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
									
										
									
								
							
							
							
								
							
							
								1caf95dde1 
								
							 
						 
						
							
							
								
								fix CI  
							
							
							
						 
						
							2025-03-20 12:56:25 +01:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
									
										
									
								
							
							
							
								
							
							
								e13f24eba0 
								
							 
						 
						
							
							
								
								panel service: set NIX_BIN  
							
							
							
						 
						
							2025-03-20 11:14:11 +01:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								ce5126c0fa 
								
							 
						 
						
							
							
								
								add CI tests for the panel  
							
							
							
						 
						
							2025-03-20 10:57:58 +01:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
									
										
									
								
							
							
							
								
							
							
								c98663ae71 
								
							 
						 
						
							
							
								
								pass nix binary explicitly rather than thru PATH  
							
							
							
						 
						
							2025-03-20 09:44:24 +01:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								3700b6e383 
								
							 
						 
						
							
							
								
								remove option fediversity.eu ( #257 )  
							
							... 
							
							
							
							removing fediversity.eu from form options as its subdomains are running live services
Reviewed-on: Fediversity/Fediversity#257 
Reviewed-by: Kevin Muller <kevin@procolix.com>
Co-authored-by: Kiara Grouwstra <kiara@procolix.eu>
Co-committed-by: Kiara Grouwstra <kiara@procolix.eu> 
							
						 
						
							2025-03-19 16:01:03 +01:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
									
										
									
								
							
							
							
								
							
							
								e3b816d85e 
								
							 
						 
						
							
							
								
								revert change on USER_SETTINGS_FILE, fixing dev shell  
							
							
							
						 
						
							2025-03-19 10:22:52 +01:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								afbbcbc22d 
								
							 
						 
						
							
							
								
								simplify configuration via environment  
							
							
							
						 
						
							2025-03-19 10:06:38 +01:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
									
										
									
								
							
							
							
								
							
							
								c5fe0157b0 
								
							 
						 
						
							
							
								
								factor reading env vars out to settings.py  
							
							
							
						 
						
							2025-03-19 09:51:23 +01:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
									
										
									
								
							
							
							
								
							
							
								53d3791eaa 
								
							 
						 
						
							
							
								
								move NIX_DIR to env, making its use more explicit  
							
							
							
						 
						
							2025-03-19 09:51:23 +01:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
									
										
									
								
							
							
							
								
							
							
								53658e9880 
								
							 
						 
						
							
							
								
								trigger nixops from panel  
							
							... 
							
							
							
							adds a deploy button to the panel form - covers the local part of #76 .
As a workaround to pass info (from our user form) into nixops4 uses
environment variable `DEPLOYMENT` thru nix's
`--extra-experimental-features configurable-impure-env`. 
							
						 
						
							2025-03-19 09:51:23 +01:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								3364d6c972 
								
							 
						 
						
							
							
								
								fix: NixOS deployment code  
							
							... 
							
							
							
							- simplify the configuration module
  the `package` attribute makes little sense to be user-configurable,
  since it will always need to be the derivation defined in this very
  repository. for debugging one may as well change the original code itself.
- unbreak deployment
  setting `CREDENTIALS_DIRECTORY` disabled the systemd mechanism set up
  in the configuration module.
- remove unneeded configuration for deployment
- unbreak integration tests
  before that missed waiting for the service to create some
  state before running the application-level tests. 
							
						 
						
							2025-03-19 09:48:41 +01:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								8f0bcc35f0 
								
							 
						 
						
							
							
								
								fix: run manage in service directory  
							
							... 
							
							
							
							for everything else it will error on CHDIR, even if $PWD has the right owner and permissions. 
							
						 
						
							2025-03-18 09:52:14 +01:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								98c4490b4e 
								
							 
						 
						
							
							
								
								update fedi201 host public key ( #251 )  
							
							... 
							
							
							
							this is a hack in order to be able to redeploy; that machine was still provisioned
manually
Reviewed-on: Fediversity/Fediversity#251  
							
						 
						
							2025-03-18 09:51:27 +01:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
									
										
									
								
							
							
							
								
							
							
								4d748c91d7 
								
							 
						 
						
							
							
								
								remove paragraph: Configuration schema version, following  #247  
							
							
							
						 
						
							2025-03-17 14:11:58 +01:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								08d109cc82 
								
							 
						 
						
							
							
								
								Remove versions  
							
							
							
						 
						
							2025-03-13 15:31:09 +01:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								e41f9c572a 
								
							 
						 
						
							
							
								
								add basic service configuration ( #236 )  
							
							... 
							
							
							
							- test the form interaction for a fixed schema version
- also add a database migration missed in the last commit
Closes  #73 
Reviewed-on: Fediversity/Fediversity#236 
Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
Co-committed-by: Valentin Gagarin <valentin.gagarin@tweag.io> 
							
						 
						
							2025-03-13 15:28:54 +01:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
									
										
									
								
							
							
							
								
							
							
								607b17a10a 
								
							 
						 
						
							
							
								
								rekey for public key lois  
							
							
							
						 
						
							2025-03-12 14:34:57 +01:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								7afae84b6c 
								
							 
						 
						
							
							
								
								Add pub key Lois  
							
							
							
						 
						
							2025-03-12 12:01:50 +01:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								9dd92b4cc1 
								
							 
						 
						
							
							
								
								basic versioned forms  
							
							... 
							
							
							
							this is still rudimentary since the actual forms are not auto-generated
from the underlying model. the comments show a path towards that. 
							
						 
						
							2025-03-06 11:47:26 +01:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								981ba011ab 
								
							 
						 
						
							
							
								
								store versioned configurations  
							
							... 
							
							
							
							Test manually:
```shell-session
$ manage shell
>>> from panel.models import Configuration
>>> Configuration().value
'{"enable":false,"domain":"fediversity.eu"}'
>>> Configuration().save()
>>> Configuration.objects.first().parsed_value
Configuration(enable=False, domain=<Domain.EU: 'fediversity.eu'>)
``` 
							
						 
						
							2025-03-05 09:32:03 +01:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								438f7d280a 
								
							 
						 
						
							
							
								
								add django-pydantic-field  
							
							
							
						 
						
							2025-03-05 09:00:18 +01:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								cba66d1b8b 
								
							 
						 
						
							
							
								
								allow adding extra Python packages  
							
							
							
						 
						
							2025-03-05 08:57:55 +01:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
									
										
									
								
							
							
							
								
							
							
								4db91bd0b7 
								
							 
						 
						
							
							
								
								Transmit initial user from JSON to services  
							
							
							
						 
						
							2025-02-28 10:57:31 +01:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
									
										
									
								
							
							
							
								
							
							
								086a69ac53 
								
							 
						 
						
							
							
								
								Support injecting initial user in Pixelfed service  
							
							
							
						 
						
							2025-02-28 10:56:22 +01:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								6e386a9fd6 
								
							 
						 
						
							
							
								
								Merge pull request 'Generate machines' list automatically' ( #209 ) from Niols/Fediversity:generate-machines-list-by-hand into main  
							
							... 
							
							
							
							Reviewed-on: Fediversity/Fediversity#209 
Reviewed-by: kiara Grouwstra <kiara@procolix.eu> 
							
						 
						
							2025-02-27 22:06:57 +01:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
							
							
								
							
							
								9cc1e40b5d 
								
							 
						 
						
							
							
								
								Merge pull request 'deploy fedipanel' ( #201 ) from kiara/Fediversity:deploy-panel into main  
							
							... 
							
							
							
							Reviewed-on: Fediversity/Fediversity#201 
Reviewed-by: Nicolas Jeannerod <nicolas.jeannerod@moduscreate.com> 
							
						 
						
							2025-02-27 22:06:24 +01:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
									
										
									
								
							
							
							
								
							
							
								0b18938eaa 
								
							 
						 
						
							
							
								
								Support specifying disk size  
							
							
							
						 
						
							2025-02-27 16:45:11 +01:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
									
										
									
								
							
							
							
								
							
							
								52e4dc8aec 
								
							 
						 
						
							
							
								
								Make ShellCheck happy  
							
							
							
						 
						
							2025-02-27 16:45:11 +01:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
									
										
									
								
							
							
							
								
							
							
								816099eb1f 
								
							 
						 
						
							
							
								
								Document regenerating the list of machines  
							
							
							
						 
						
							2025-02-27 16:45:11 +01:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
									
										
									
								
							
							
							
								
							
							
								34476bf93b 
								
							 
						 
						
							
							
								
								Add jq to the environment  
							
							
							
						 
						
							2025-02-27 16:45:11 +01:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
									
										
									
								
							
							
							
								
							
							
								8ba000307f 
								
							 
						 
						
							
							
								
								Generate list of machines from config  
							
							
							
						 
						
							2025-02-27 16:45:11 +01:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
									
										
									
								
							
							
							
								
							
							
								b42d654ab6 
								
							 
						 
						
							
							
								
								Track machines' descriptions  
							
							
							
						 
						
							2025-02-27 16:45:11 +01:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
									
										
									
								
							
							
							
								
							
							
								f34f2e45ab 
								
							 
						 
						
							
							
								
								Get panel config as a block - use eg. mastodon.enable  
							
							
							
						 
						
							2025-02-27 11:43:44 +01:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
									
										
									
								
							
							
							
								
							
							
								07b3cd90d7 
								
							 
						 
						
							
							
								
								Make clearer what nixos.module is  
							
							
							
						 
						
							2025-02-27 11:39:07 +01:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
									
										
									
								
							
							
							
								
							
							
								ea98ccebfc 
								
							 
						 
						
							
							
								
								Very vague and minimalistic description of deployment/  
							
							
							
						 
						
							2025-02-27 11:35:55 +01:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
									
										
									
								
							
							
							
								
							
							
								c66889f58f 
								
							 
						 
						
							
							
								
								Better naming of makeMakeDeployment arguments  
							
							
							
						 
						
							2025-02-27 11:35:55 +01:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
									
										
									
								
							
							
							
								
							
							
								cbed66c934 
								
							 
						 
						
							
							
								
								Report errors in subprocesses  
							
							
							
						 
						
							2025-02-27 11:35:55 +01:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
									
										
									
								
							
							
							
								
							
							
								0c75a4053e 
								
							 
						 
						
							
							
								
								Report already deleted VM in a clean way  
							
							
							
						 
						
							2025-02-27 11:35:55 +01:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
									
										
									
								
							
							
							
								
							
							
								beb225faf7 
								
							 
						 
						
							
							
								
								Better logging of VM removal  
							
							
							
						 
						
							2025-02-27 11:35:55 +01:00 
							
								 
							
						 
					 
				
					
						
							
						 
						
							
							
								
								
									
										
									
								
							
							
							
								
							
							
								e27cc6e96a 
								
							 
						 
						
							
							
								
								Generalise test deployment; get config from JSON  
							
							
							
						 
						
							2025-02-27 11:35:54 +01:00