0b0ae6d5b0home.html & list.html templates no longer feature hardcoded urls (replaced w. django templating)
Disco DeDisco
2026-01-19 19:17:43 -05:00
91ede73e89now enforcing model validation in list FBV; all UTs & FTs passing
Disco DeDisco
2026-01-19 19:09:11 -05:00
af3e20faefapps.dashboard.views refactored to handle new item POST requests; add_item() FBV eliminated for newfound redundancy
Disco DeDisco
2026-01-19 18:48:21 -05:00
d406b38207corrected 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
Disco DeDisco
2026-01-19 17:28:50 -05:00
8d23d9f2c2not 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)
Disco DeDisco
2026-01-19 16:35:00 -05:00
d05d296f65split apps.dashboard unittests into test_views & test_models
Disco DeDisco
2026-01-14 13:56:21 -05:00
29f5b56487moved dashboard app unittests into apps.dashboard.tests.test_all
Disco DeDisco
2026-01-14 13:51:00 -05:00
9909691a7enew list item valid test completed, even if it doesn't yet pass
Disco DeDisco
2026-01-14 13:43:58 -05:00
291025c13fFTs now exist in own test files, ea. reliant on base.py to execute
Disco DeDisco
2026-01-14 13:23:31 -05:00
c1295d671fadded subdomains of earthmanrpg.me to ansible playbook
Disco DeDisco
2026-01-13 21:27:11 -05:00
9e02f236fdadded wsl reqs
Disco DeDisco
2026-01-13 20:58:25 -05:00
4b137db317manage.py changed to lf; FTs tweaked to accomodate WSL2 ansible deployment
Disco DeDisco
2026-01-13 20:58:05 -05:00
d942839308supplemented ansible playbook early w. task to build container img locally before export
Disco DeDisco
2026-01-13 15:02:43 -05:00
affbddc3cdcommented back in the 'USER: nonroot' line in the Dockerfile now that pushing to a server thru an ansible playbook has rendered all local WSL-2 considerations a nonissue; updated said deploy-playbook.yaml with new tasks to build out real docker container on server
Disco DeDisco
2026-01-13 14:57:17 -05:00
eb38722a53ansible playbook commenced; deployment aimed at staging.earthmanrpg.me
Disco DeDisco
2026-01-13 00:35:28 -05:00
53099f630dadded LOGGING params to core.settings, tho with USER nonroot commented-out of Dockerfile, not sure this does anything yet
Disco DeDisco
2026-01-06 14:28:13 -05:00
3006d86544commented-out nonroot user from Dockerfile to ensmoothen Win11 hostility (actually last commit, forgot to mention); added container.db.sqlite3 to .gitignore
Disco DeDisco
2026-01-06 14:17:30 -05:00
b2fe1c0d52restored from the fool's errand that was WSL virtualization
Disco DeDisco
2026-01-06 13:57:34 -05:00
18d28600c9collectstatic 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
Disco DeDisco
2026-01-05 00:32:41 -05:00
1cc3141186forgot to add the renamed reqs.dev.txt file from last commit
Disco DeDisco
2026-01-04 23:32:07 -05:00
9c38d3f0b3requirements.txt renamed > requirements.dev.txt; new requirements.txt file handles only those dependencies necessary for docker image building and container running; Dockerfile therefore updated accordingly
Disco DeDisco
2026-01-04 23:31:32 -05:00
ac3518f4a6installed gunicorn dependency; updated Dockerfile accordingly so it installs alongside django
Disco DeDisco
2026-01-04 23:13:30 -05:00
ab96364a24move code into newly created ./src/ dir
Disco DeDisco
2026-01-03 23:36:38 -05:00
011fca41efupdated NewVisitorTest() FT to instantiate StaticLiveServerTestCase instead, for containerization compatibility
Disco DeDisco
2026-01-03 23:31:22 -05:00
85f1db1bc3set STATIC_ROOT in core.settings; disabled admin in same & .urls
Disco DeDisco
2026-01-03 22:04:39 -05:00
e3e753369fadded lxml & cssselect to req'ments; this allowed more precise targeting of html attrs in apps.dashboard.tests'
Disco DeDisco
2026-01-03 21:12:28 -05:00
08305532c2bootstrap libraries added via cdn js & css script & link tags; some bootstrap styling added to base.html & list.html; unit tests updated to accomodate html parsing in assertContains() library fns (but n.b., not all unit tests have been updated to accomodate bootstrap attrs, so some still fail); all FTs currently passing from last commit
Disco DeDisco
2026-01-03 20:05:41 -05:00
8955d51474other files inadvertently skipped in prev commit
Disco DeDisco
2026-01-03 19:21:40 -05:00
a393628ca2refactor templates to use core/base.html, newly created; small accomodations to functional_tests for title and header block rendering
Disco DeDisco
2026-01-03 19:20:41 -05:00
779f46c5bacommenced FTs for layout & styling
Disco DeDisco
2026-01-03 18:35:58 -05:00
a3ca56d606created apps.dashboard.urls & offloaded many of the app-specific paths from core.urls here instead
Disco DeDisco
2026-01-03 01:47:27 -05:00
7425b14363simplified vars & args in view_list() FBV in apps.dashboard.views; extended dynamic list handling to django templating in list.html
Disco DeDisco
2026-01-03 01:36:37 -05:00
ada383c81aredefined & added arguments to existing FBVs in apps.dashboard.views; added new FBV to add to-do items to existing lists; added capture groups to some paths in .urls (tho these are now due for DRY refactor); django templating added to form action in templates/apps/dashboard/list.html; DashViewTest(), NewListTest() & NewItemTest() refactored for dynamic ids in .tests
Disco DeDisco
2026-01-03 01:30:51 -05:00
b09bec02dcapps.dashboard.models, .tests & .views all handle new list creation when a new task item is added (but for now, undesirably, always a new list for each task item; made migrations accordingly
Disco DeDisco
2026-01-02 22:19:08 -05:00
b4b2b43475in apps.dashboard.tests & .urls, adding a new to-do item to the input field in either home.html or a blank-tabled list.html points to /apps/dashboard/newlist; in .views, home_page() FBV simplified to a mere html page render & new_list() FBV added that currently points to the global list
Disco DeDisco
2026-01-02 21:50:37 -05:00
87e40d977cdeleted redundant assertions from apps.dashboard.tests; removed redundant table code from home.html now that list.html includes it; updated FTs to accomodate the title change to "Dashboard" in home.html
Disco DeDisco
2026-01-02 20:01:23 -05:00
61c2c1bcb3created apps/dashboard/list.html template (for now, mirrors home.html); changes ListViewTest() to DashViewTest() in apps.dashboard.tests; added new list template test to same; updated view_list() FBV in .views to accomodate this new template
Disco DeDisco
2026-01-02 19:50:27 -05:00
47bf26ce49plugged up some testing holes with explicit placeholder urls in views and unit tests; most tests now pass
Disco DeDisco
2026-01-02 00:00:56 -05:00
3081cd85b1added new FT (not yet passing); changed list string syntax slightly
Disco DeDisco
2026-01-01 21:42:52 -05:00
4af36ca49crefactored tests for less clunky explicit wait times
Disco DeDisco
2026-01-01 17:52:19 -05:00
8b3d82fff5functional_tests.py -> functional_tests/tests.py; also initiated as django folder w. __init__.py, __pycache__/
Disco DeDisco
2026-01-01 15:50:40 -05:00
2615445b97added forloop.counter to list table rows & fixed name attr to use underscore instead of hyphen in home.html (this latter inconsistency caused functional_tests to fail)
Disco DeDisco
2025-12-31 14:54:23 -05:00
c318a526fcnew and refined tests for dashboard app; home iterates list w. django templating; views refined for redirect after post request
Disco DeDisco
2025-12-31 14:39:26 -05:00
1950eaa12emore robust home_page() FBV in apps.dashboard.views feat. individual item handling; .tests return OK given this new view
Disco DeDisco
2025-12-31 00:47:17 -05:00
e3fdc54ad4+2 new migrations in apps.dashboard; added new Item() model to dashboard.models; added ItemModelTest() to .tests; cleaned up deadspace in functional_tests
Disco DeDisco
2025-12-31 00:26:39 -05:00
822dcd3a96refactor to NewVisitorTest() model in functional_tests, incl. new helper method for DRY table & row assertion
Disco DeDisco
2025-12-30 23:54:44 -05:00
f6b73a17eaNewVisitorTest() in functional_tests almost passes, but needs DRY refactor; pair of functions added to HomePageTest() in apps.dashboard.tests; home_page() FBV in .views streamlined using django templating; templating also applied & form w. csrf functionality added to to-do list in home.html
Disco DeDisco
2025-12-30 23:47:25 -05:00
1ddabe4448changed _ naming convention in el ids to -; expanded home.html to include head w. title, body w. h1, input & table for testing purposes; functional_tests updated to accomodate above changes & for more specific error handling during tests
Disco DeDisco
2025-12-30 22:19:42 -05:00
b3dba69708actual commit from last attempt, now incl. all new files
Disco DeDisco
2025-12-30 22:06:06 -05:00
394d46c718refactored homepage to incl. template structure in root dir; renamed lists app to dashboard & renamed paths in linked py files accordingly (e.g., apps.dashboard.apps, .views; core.settings)
Disco DeDisco
2025-12-30 22:05:33 -05:00
f267dd98aeexpanded NewVisitorTest() model in functional_tests to check if user can input a to-do item, which fails
Disco DeDisco
2025-12-30 17:44:48 -05:00
70392f3103streamlined HomePageTest() test model; linked default index path to urlpatterns in core.urls
Disco DeDisco
2025-12-30 17:22:22 -05:00
d4c00424f5added home_page() FBV to apps.lists.views; added HomePageTest() model to .tests; installed django-stubs & related dependencies
Disco DeDisco
2025-12-30 16:15:55 -05:00
b7d3535402created apps.lists, w. deliberately failing unit test
Disco DeDisco
2025-12-30 15:49:50 -05:00
696814eb19Expanded browser control in .functional_tests
Disco DeDisco
2025-12-29 22:23:00 -05:00
7285e1d229init commit
Disco DeDisco
2025-12-29 21:52:45 -05:00