mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-30 20:55:42 +00:00 
			
		
		
		
	* Add skeleton for builtin label printing plugin * Force selection of plugin when printing labels * Enhance LabelPrintingMixin class - Add render_to_pdf method - Add render_to_html method * Enhance plugin mixin - Add class attribute to select blocking or non-blocking printing - Add render_to_png method - Add default method for printing multiple labels - Add method for offloding print job * Simplify print_label background function - All arguments now handled by specific plugin * Simplify label printing API - Simply pass data to the particular plugin - Check result type - Return result * Updated sample plugin * Working on client side code * Cleanup * Update sample plugin * Add new model type - LabelOutput model - Stores generated label file to the database - Makes available for download * Update label printing plugin mixin * Add background task to remove any old label outputs * Open file if response contains filename * Remove "default printer" option which does not specify a plugin * Delete old labels after 5 days * Remove debug statements * Update API version * Changed default behaviour to background printing * Update label plugin mixin docs * Provide default printer if none provided (legacy) * Update unit test * unit test updates * Further fixes for unit tests * unit test updates
		
			
				
	
	
		
			106 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			106 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # Byte-compiled / optimized / DLL files
 | |
| __pycache__/
 | |
| *.py[cod]
 | |
| *$py.class
 | |
| 
 | |
| # Distribution / packaging
 | |
| .Python
 | |
| env/
 | |
| inventree-env/
 | |
| ./build/
 | |
| .cache/
 | |
| develop-eggs/
 | |
| dist/
 | |
| bin/
 | |
| lib64
 | |
| pyvenv.cfg
 | |
| share/
 | |
| downloads/
 | |
| eggs/
 | |
| .eggs/
 | |
| lib/
 | |
| lib64/
 | |
| parts/
 | |
| sdist/
 | |
| var/
 | |
| *.egg-info/
 | |
| .installed.cfg
 | |
| *.egg
 | |
| 
 | |
| # Django stuff:
 | |
| *.log
 | |
| local_settings.py
 | |
| *.sqlite3
 | |
| *.sqlite3-journal
 | |
| *.backup
 | |
| *.old
 | |
| 
 | |
| # Files used for testing
 | |
| inventree-demo-dataset/
 | |
| inventree-data/
 | |
| dummy_image.*
 | |
| _tmp.csv
 | |
| InvenTree/label.pdf
 | |
| InvenTree/label.png
 | |
| label.pdf
 | |
| label.png
 | |
| InvenTree/my_special*
 | |
| _tests*.txt
 | |
| 
 | |
| # Local static and media file storage (only when running in development mode)
 | |
| inventree_media
 | |
| inventree_static
 | |
| static_i18n
 | |
| 
 | |
| # Local config file
 | |
| config.yaml
 | |
| plugins.txt
 | |
| 
 | |
| # Default data file
 | |
| data.json
 | |
| *.json.tmp
 | |
| *.tmp.json
 | |
| 
 | |
| # Key file
 | |
| secret_key.txt
 | |
| 
 | |
| # IDE / development files
 | |
| .idea/
 | |
| *.code-workspace
 | |
| .bash_history
 | |
| 
 | |
| # https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore
 | |
| .vscode/*
 | |
| #!.vscode/settings.json
 | |
| !.vscode/tasks.json
 | |
| !.vscode/launch.json
 | |
| #!.vscode/extensions.json
 | |
| #!.vscode/*.code-snippets
 | |
| 
 | |
| # Coverage reports
 | |
| .coverage
 | |
| htmlcov/
 | |
| 
 | |
| # Temporary javascript files (used for testing)
 | |
| js_tmp/
 | |
| 
 | |
| # Development files
 | |
| dev/
 | |
| data/
 | |
| env/
 | |
| 
 | |
| # Locale stats file
 | |
| locale_stats.json
 | |
| 
 | |
| # node.js
 | |
| node_modules/
 | |
| 
 | |
| # maintenance locker
 | |
| maintenance_mode_state.txt
 | |
| 
 | |
| # plugin dev directory
 | |
| InvenTree/plugins/
 | |
| 
 | |
| # Compiled translation files
 | |
| *.mo
 |