Commit Graph

98 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
2c8ad8a22a refactor: Modularize field creation in create_dynamic_schema
- Split field creation logic into helper functions for each attribute type.
- Improved readability, maintainability, and reusability of the code.
- No functional changes.
2025-03-15 11:58:03 +05:30
7714d64d6b Merged validation of input type=number 2025-03-15 11:27:13 +05:30
b774427e9c "Allowed chars" validation for textAttribute 2025-03-15 10:06:34 +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
de12a966d8 Slash in login route 2025-03-13 09:57:02 +05:30
6ea5ee3e0e Updated config validation of 'compareto' 2025-03-09 22:28:14 +05:30
ae8e19f8a1 Added slash to paths 2025-03-08 16:09:22 +05:30
cf15c7b54f Remove commented code 2025-03-08 14:12:53 +05:30
1021a8db32 Added header to all pages 2025-03-08 13:04:23 +05:30
12b902c382 Added user login functionality 2025-03-08 11:53:34 +05:30
ff4336f655 Updated README 2025-03-08 08:55:45 +05:30
ce8373f613 Fixed csv submission and redirection 2025-03-06 13:43:35 +05:30
6d667b2001 Fixed bug in redirect 2025-03-06 13:24:46 +05:30
34215b711a Fixed form submission after uploading csv 2025-03-06 12:34:31 +05:30
e43601a86c Added "Edit using CSV" feature 2025-03-06 11:39:41 +05:30
7bb5727cbf Refactored create & update forms into 1 form 2025-03-05 12:25:37 +05:30
71866cd883 FIxed csv upload 2025-03-05 11:54:41 +05:30
cba1615750 Fixed create & update form validation 2025-03-04 15:50:31 +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
268d205cc7 Update README 2025-02-25 13:10:35 +05:30
db17bdc873 Updated README 2025-02-25 13:07:23 +05:30
173928006d Cancel buttons 2025-02-25 01:42:21 +05:30
352ea445eb Removed unused route "viewasset" 2025-02-25 01:13:31 +05:30
a944bd9384 Added preview before deleting item 2025-02-25 01:07:28 +05:30
5c22dbcc31 Fixed flash message in confirm_save.py 2025-02-25 00:48:47 +05:30
312a54e624 Validation and error messages on submitting csv 2025-02-25 00:13:40 +05:30
14d26fbaeb Fixed csv upload 2025-02-24 23:27:11 +05:30
a3fe6f922b Improving upload.py 2025-02-24 16:08:11 +05:30
d4e7c0833b Attempt validation for csv 2025-02-24 02:24:00 +05:30
4a9ac53dd8 Evaluation and error messages for route "update" 2025-02-23 23:09:52 +05:30
719dc3ce2e Form validation for create.py 2025-02-23 22:57:18 +05:30
3f4c27ee5b Started validation of submitted vals 2025-02-23 02:50:01 +05:30
fb6745fd31 Updated edited_csv.js 2025-02-23 02:25:55 +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