mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-30 04:26:44 +00:00
* adds new field 'parameter type' to PartParameterTemplate model * Move part parameter settings onto their own page * Add "choices" and "regex" template types * Adds validation for PartParameter based on template type * javascript cleanup * Fix for serializers.py * Add unit testing for parameter validation * Add filters * Rename "type" field to "param_type" - Should have seen that one coming * Coerce 'boolean' value to True/False * table update * js linting * Add requirement for "pint" package * Add validator for physical unit types - Revert a previous migration which adds "parameter type" and "validator" fields - These will get implemented later, too much scope creep for this PR - Add unit test for validation of "units" field * Update PartParameter model - Add data_numeric field (will be used later) - Add MinLengthValidator to data field * Run validation for part parameter data - Ensure it can be converted to internal units * Update admin interface to display partparameter values inline for a part * Adds validation of part parameter data value - Also converts to base units, and stores as "numeric" value - Display "numeric" value in tables - Create new file conversion.py for data conversion * Update unit tests and fix some bugs * Update docstring * Add units to parameter columns in parameteric part table * Allow part list to be ordered by a particular parameter value - Annotate queryset with new "order_by_parameter" method - Skeleton method for future work * Bump API version * Adds unit testing for sorting parts by parameter value * Update historical data migrations - Turns out RunPython.noop is a thing? * Cache the unit registry - Creating the unit registry takes a significant amount of time - Construct when first called, and then cache for subsequent hits - Massive improvement in performance * Throw error on empty values when converting between units * Data migration for converting existing part parameter values * Handle more error cases * Show parameteric table on top-level part page too * Unit test for data migration * Update credits in docs * Improved error checking * WIP docs updates * Fix parameteric table filtering * remove zoom property * Fix for import path * Update parameter docs * Run background task to rebuild parameters when template changes * Make "data_numeric" field nullable - Defaulting to zero is not appropriate, as the actual value may be zero - Sorting still seems to work just fine * Fixes for unit test * More unit test fixes * Further fixes for unit tests --------- Co-authored-by: Matthias Mair <code@mjmair.com>
5.2 KiB
5.2 KiB
title
title |
---|
Credits |
Python Packages
InvenTree relies on the following Python libraries:
Library | License | Description |
---|---|---|
Django | BSD | Python web framework |
invoke | BSD | Task execution tool |
wheel | MIT | Python packaging |
pillow | HPND | Image manipulation |
djangorestframework | BSD | REST API |
django-cors-headers | MIT | CORS headers |
django-filter | BSD | Advanced filtering for REST API |
django-mptt | MIT | Modified preorder tree traversal |
django-sql-utils | MIT | Advanced SQL subqueries |
django-markdownx | BSD | Markdown editor |
django-markdownify | MIT | Markdown template filters |
coreapi | BSD | API auto documentation |
pygments | BSD | Syntax highlighting |
tablib | MIT | Data import/export |
django-crispy-forms | MIT | Advanced form rendering |
django-import-export | BSD | Data import/export in admin interface |
django-cleanup | MIT | Automated cleanup of django media files |
rapidfuzz | MIT | Fuzzy string matching |
django-stdimage | MIT | Advanced image fields for django |
django-weasyprint | Apache 2.0 | PDF generation |
django-debug-toolbar | BSD | Debug interface |
django-admin-shell | MIT | Command line shell for the admin interface |
django-money | BSD | Currency support |
certifi | MPL 2.0 | Web certification |
django-error-report | BSD | Error / excepttion management |
django-test-migrations | MIT | Unit testing for database migrations |
python-barcode | MIT | Barcode support |
qrcode | BSD | QR code support |
django-q | MIT | Background task manager |
gunicorn | MIT | Web server |
flake8 | MIT | style checking |
pep8-naming | Expat | name checking |
coverage | Apache-2.0 | coverage checking |
coveralls | MIT | coverage uploader |
django-formtools | MIT | better forms / wizards |
django-allauth | MIT | SSO for django |
pint | licence | Physical unit conversion |
Frontend libraries
InvenTree relies on the following frontend libraries and components:
Name | License | Description |
---|---|---|
Bootstrap | MIT | Frontend framework |
jquery | MIT | JS framework |
Bootstrap table | MIT | Table rendering |
Font Awesome - Icons | CC BY 4.0 License | Icons |
Font Awesome - Code | MIT | Delivery code for icons |
Select2 | MIT | Searchable selection box |
fullcalendar | MIT | Calender rendering |
chart.js | MIT | charts |
Moment JS | MIT | Time and date rendering |
jquery-treegrid | MIT | Treegrid rendering |
clipboard.js | MIT | text copying |
qr-scanner | MIT | Javascript QR Code Scanner |
Assets
Splash Screen
The InvenTree splash screen graphic is sourced from unsplash.com and used under the unsplash license.
Source Code Contributions
The InvenTree project relies on the expertise and generosity of its source code contributors.
Translation Contributions
Translation efforts are supported by the InvenTree community. We appreciate the efforts of our translation team.