mirror of
				https://github.com/immich-app/immich.git
				synced 2025-11-04 03:27:09 -05:00 
			
		
		
		
	* implement method to read config file * getConfig returns config file if present * return isConfigFile for http requests * disable elements if config file is used, show message if config file is set, copy existing config to clipboard * fix allowing partial configuration files * add new env variable to docs * fix tests * minor refactoring, address review * adapt config type in frontend * remove unnecessary imports * move config file reading to system-config repo * add documentation * fix code formatting in system settings page * add validator for config file * fix formatting in docs * update generated files * throw error when trying to update config. e.g. via cli or api * switch to feature flags for isConfigFile * refactoring * refactor: config file * chore: open api * feat: always show copy/export buttons * fix: default flags * refactor: copy to clipboard --------- Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
		
			
				
	
	
		
			68 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			Dart
		
	
	
	
	
		
			Generated
		
	
	
			
		
		
	
	
			68 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			Dart
		
	
	
	
	
		
			Generated
		
	
	
//
 | 
						|
// AUTO-GENERATED FILE, DO NOT MODIFY!
 | 
						|
//
 | 
						|
// @dart=2.12
 | 
						|
 | 
						|
// ignore_for_file: unused_element, unused_import
 | 
						|
// ignore_for_file: always_put_required_named_parameters_first
 | 
						|
// ignore_for_file: constant_identifier_names
 | 
						|
// ignore_for_file: lines_longer_than_80_chars
 | 
						|
 | 
						|
import 'package:openapi/api.dart';
 | 
						|
import 'package:test/test.dart';
 | 
						|
 | 
						|
// tests for ServerFeaturesDto
 | 
						|
void main() {
 | 
						|
  // final instance = ServerFeaturesDto();
 | 
						|
 | 
						|
  group('test ServerFeaturesDto', () {
 | 
						|
    // bool clipEncode
 | 
						|
    test('to test the property `clipEncode`', () async {
 | 
						|
      // TODO
 | 
						|
    });
 | 
						|
 | 
						|
    // bool configFile
 | 
						|
    test('to test the property `configFile`', () async {
 | 
						|
      // TODO
 | 
						|
    });
 | 
						|
 | 
						|
    // bool facialRecognition
 | 
						|
    test('to test the property `facialRecognition`', () async {
 | 
						|
      // TODO
 | 
						|
    });
 | 
						|
 | 
						|
    // bool oauth
 | 
						|
    test('to test the property `oauth`', () async {
 | 
						|
      // TODO
 | 
						|
    });
 | 
						|
 | 
						|
    // bool oauthAutoLaunch
 | 
						|
    test('to test the property `oauthAutoLaunch`', () async {
 | 
						|
      // TODO
 | 
						|
    });
 | 
						|
 | 
						|
    // bool passwordLogin
 | 
						|
    test('to test the property `passwordLogin`', () async {
 | 
						|
      // TODO
 | 
						|
    });
 | 
						|
 | 
						|
    // bool search
 | 
						|
    test('to test the property `search`', () async {
 | 
						|
      // TODO
 | 
						|
    });
 | 
						|
 | 
						|
    // bool sidecar
 | 
						|
    test('to test the property `sidecar`', () async {
 | 
						|
      // TODO
 | 
						|
    });
 | 
						|
 | 
						|
    // bool tagImage
 | 
						|
    test('to test the property `tagImage`', () async {
 | 
						|
      // TODO
 | 
						|
    });
 | 
						|
 | 
						|
 | 
						|
  });
 | 
						|
 | 
						|
}
 |