Commit Graph

23 Commits

Author SHA1 Message Date
9a4650626f remove: Temporarily remove "compareto" feature
- Input validation is tricky for this feature.
- This is postponed until a future release.
2025-03-17 10:35:58 +05:30
0b571c1c07 SQL table-based auth
The auth is now done against the table in the db
instead of hard-coded values
2025-03-17 10:14:04 +05:30
8e807fa52c VALID_COMPARISONS 2025-03-15 09:42:47 +05:30
3acbb85b08 refactor: Modularize attribute class definitions
- Split `definitions/attribute.py` into separate files under `definitions/attributes/`.
- Added `__init__.py` for simplified imports.
- Improved code organization and maintainability.
2025-03-14 11:32:03 +05:30
f398c9e35b refactor: Abstract common numeric attribute logic into numAttribute base class
- Created `numAttribute` as a base class for `intAttribute` and `floatAttribute`.
- Moved shared validation logic for numeric attributes (e.g., min_val, max_val, step) into `numAttribute`.
- Simplified `intAttribute` and `floatAttribute` by inheriting from `numAttribute` and adding type-specific validation.
- Updated config to use the new structure, reducing redundancy and improving maintainability.
2025-03-13 12:46:56 +05:30
2e0e02bf40 Added valid_comparisons field for Attribute classes 2025-03-13 11:14:22 +05:30
71a3d957b1 Fixed requirement of html_input_type in config 2025-03-13 10:31:03 +05:30
8b98a84230 Form validation using Marshmallow 2025-03-04 15:25:01 +05:30
bd0c1b2232 Introduced sets in config validation 2025-03-04 12:27:20 +05:30
783c25d0ad Modularized models.py 2025-03-03 16:04:59 +05:30
3731a68d3c Use dataclass for class definitions 2025-03-03 14:08:29 +05:30
e00b1a128c Refactoring 2025-02-28 01:12:18 +05:30
d396b33686 Minor additions to Attribute properties 2025-02-27 15:59:41 +05:30
0539934c99 Misc minor changes 2025-02-25 23:43:01 +05:30
346c1db607 Improved attribute definitions 2025-02-25 16:02:11 +05:30
8c4ae8dd88 Adjusted to new class defs and config format 2025-02-23 00:28:10 +05:30
0b58ac5d27 Continue refactoring Attribute classes 2025-02-19 16:08:10 +05:30
6055bcad17 Split Attribute classes using inheritance 2025-02-19 00:47:04 +05:30
c56b07718e Started modularizing the attribute class 2025-02-18 16:10:27 +05:30
487e0fc720 Moved SQL config to config file 2025-02-13 04:23:02 +05:30
1eea7104ad Added "campare" field & comments to Attribute class def 2025-02-12 15:23:27 +05:30
1e01c4f144 Updated models.py to use the config! 2025-02-12 02:15:25 +05:30
bf0298e342 More modularity 2025-02-12 00:15:53 +05:30