Commit Graph

24 Commits

Author SHA1 Message Date
Disco DeDisco
fa5700d9e8 added Meta class to Item() model to test for duplicate item/list entries 2026-01-21 15:29:47 -05:00
Disco DeDisco
e01391446e new test method in ItemValidationTest(); does not currently pass 2026-01-21 15:12:13 -05:00
Disco DeDisco
f841408488 custom save method implemented in ItemForm(); views & tests updated accordingly (all UTs & FTs passing) 2026-01-21 15:02:26 -05:00
Disco DeDisco
071a3d2532 apps.dashboard.forms now employed in all views; FT helpers in base.py updated to look for Django's default #id_text (instead of #id-text) 2026-01-21 14:41:25 -05:00
Disco DeDisco
1d96871d7b emancipated hardcoded form views & html from base.html, apps.dashboard.views, apps.dashboard.tests.test_views; added get_item_input_box() helper method to functional_tests.base & retrofitted the other FTs to utilize it 2026-01-20 15:14:05 -05:00
Disco DeDisco
93cc6632c4 found-n-replaced all instances of name='item_text' w. ='text' 2026-01-19 22:33:21 -05:00
Disco DeDisco
5b1f28db4b form code placeholders left commented-out in apps.dashboard.views; base.html somewhat retrofitted w. dynamic form views 2026-01-19 22:19:33 -05:00
Disco DeDisco
0014d9124a created apps.dashboard.forms & commensurate apps.dashboard.tests.test_forms; new ItemForm() ModelForm & EMPTY_ITEM_ERROR constant 2026-01-19 22:01:33 -05:00
Disco DeDisco
5af5ff55fa invoked get_absolute_url() on List model to achieve DRY urls in views 2026-01-19 19:25:04 -05:00
Disco DeDisco
0b0ae6d5b0 home.html & list.html templates no longer feature hardcoded urls (replaced w. django templating) 2026-01-19 19:17:43 -05:00
Disco DeDisco
91ede73e89 now enforcing model validation in list FBV; all UTs & FTs passing 2026-01-19 19:09:11 -05:00
Disco DeDisco
af3e20faef apps.dashboard.views refactored to handle new item POST requests; add_item() FBV eliminated for newfound redundancy 2026-01-19 18:48:21 -05:00
Disco DeDisco
d406b38207 corrected a very foolish oversight in bootstrap error class handling that sought .is-valid instead of .is-invalid; now FTs 'pass'—up until return line only, in the case of functional_tests.test_list_item_validation 2026-01-19 17:28:50 -05:00
Disco DeDisco
8d23d9f2c2 not getting the same precise error message, but perhaps the intent is the same?; anyway, updated views & some FTs, base.html for more dynamic error handling (tho incomplete) 2026-01-19 16:35:00 -05:00
Disco DeDisco
d05d296f65 split apps.dashboard unittests into test_views & test_models 2026-01-14 13:56:21 -05:00
Disco DeDisco
29f5b56487 moved dashboard app unittests into apps.dashboard.tests.test_all 2026-01-14 13:51:00 -05:00
Disco DeDisco
9909691a7e new list item valid test completed, even if it doesn't yet pass 2026-01-14 13:43:58 -05:00
Disco DeDisco
291025c13f FTs now exist in own test files, ea. reliant on base.py to execute 2026-01-14 13:23:31 -05:00
Disco DeDisco
4b137db317 manage.py changed to lf; FTs tweaked to accomodate WSL2 ansible deployment 2026-01-13 20:58:05 -05:00
Disco DeDisco
eb38722a53 ansible playbook commenced; deployment aimed at staging.earthmanrpg.me 2026-01-13 00:35:28 -05:00
Disco DeDisco
53099f630d added LOGGING params to core.settings, tho with USER nonroot commented-out of Dockerfile, not sure this does anything yet 2026-01-06 14:28:13 -05:00
Disco DeDisco
b2fe1c0d52 restored from the fool's errand that was WSL virtualization 2026-01-06 13:57:34 -05:00
Disco DeDisco
18d28600c9 collectstatic cmd added to Dockerfile build, despite no static files yet being part of project; static dir added to .gitignore; if/else clause added to core.settings to handle debug, secret key & allowed host values when debug is true & otherwise 2026-01-05 00:32:41 -05:00
Disco DeDisco
ab96364a24 move code into newly created ./src/ dir 2026-01-03 23:36:38 -05:00