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
|
c1295d671f
|
added subdomains of earthmanrpg.me to ansible playbook
|
2026-01-13 21:27:11 -05:00 |
|
Disco DeDisco
|
9e02f236fd
|
added wsl reqs
|
2026-01-13 20:58:25 -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
|
d942839308
|
supplemented ansible playbook early w. task to build container img locally before export
|
2026-01-13 15:02:43 -05:00 |
|
Disco DeDisco
|
affbddc3cd
|
commented 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
|
2026-01-13 14:57:17 -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
|
3006d86544
|
commented-out nonroot user from Dockerfile to ensmoothen Win11 hostility (actually last commit, forgot to mention); added container.db.sqlite3 to .gitignore
|
2026-01-06 14:17:30 -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
|
1cc3141186
|
forgot to add the renamed reqs.dev.txt file from last commit
|
2026-01-04 23:32:07 -05:00 |
|
Disco DeDisco
|
9c38d3f0b3
|
requirements.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
|
2026-01-04 23:31:32 -05:00 |
|
Disco DeDisco
|
ac3518f4a6
|
installed gunicorn dependency; updated Dockerfile accordingly so it installs alongside django
|
2026-01-04 23:13:30 -05:00 |
|
Disco DeDisco
|
902b7c4dfd
|
containerization achieved; Dockerfile & .dockerignore added
|
2026-01-04 21:46:55 -05:00 |
|
Disco DeDisco
|
ab96364a24
|
move code into newly created ./src/ dir
|
2026-01-03 23:36:38 -05:00 |
|
Disco DeDisco
|
011fca41ef
|
updated NewVisitorTest() FT to instantiate StaticLiveServerTestCase instead, for containerization compatibility
|
2026-01-03 23:31:22 -05:00 |
|
Disco DeDisco
|
85f1db1bc3
|
set STATIC_ROOT in core.settings; disabled admin in same & .urls
|
2026-01-03 22:04:39 -05:00 |
|
Disco DeDisco
|
e3e753369f
|
added lxml & cssselect to req'ments; this allowed more precise targeting of html attrs in apps.dashboard.tests'
|
2026-01-03 21:12:28 -05:00 |
|
Disco DeDisco
|
08305532c2
|
bootstrap 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
|
2026-01-03 20:05:41 -05:00 |
|
Disco DeDisco
|
8955d51474
|
other files inadvertently skipped in prev commit
|
2026-01-03 19:21:40 -05:00 |
|
Disco DeDisco
|
a393628ca2
|
refactor templates to use core/base.html, newly created; small accomodations to functional_tests for title and header block rendering
|
2026-01-03 19:20:41 -05:00 |
|
Disco DeDisco
|
779f46c5ba
|
commenced FTs for layout & styling
|
2026-01-03 18:35:58 -05:00 |
|
Disco DeDisco
|
a3ca56d606
|
created apps.dashboard.urls & offloaded many of the app-specific paths from core.urls here instead
|
2026-01-03 01:47:27 -05:00 |
|
Disco DeDisco
|
7425b14363
|
simplified vars & args in view_list() FBV in apps.dashboard.views; extended dynamic list handling to django templating in list.html
|
2026-01-03 01:36:37 -05:00 |
|
Disco DeDisco
|
ada383c81a
|
redefined & 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
|
2026-01-03 01:30:51 -05:00 |
|
Disco DeDisco
|
b09bec02dc
|
apps.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
|
2026-01-02 22:19:08 -05:00 |
|
Disco DeDisco
|
b4b2b43475
|
in 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
|
2026-01-02 21:50:37 -05:00 |
|
Disco DeDisco
|
87e40d977c
|
deleted 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
|
2026-01-02 20:01:23 -05:00 |
|
Disco DeDisco
|
61c2c1bcb3
|
created 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
|
2026-01-02 19:50:27 -05:00 |
|
Disco DeDisco
|
47bf26ce49
|
plugged up some testing holes with explicit placeholder urls in views and unit tests; most tests now pass
|
2026-01-02 00:00:56 -05:00 |
|
Disco DeDisco
|
3081cd85b1
|
added new FT (not yet passing); changed list string syntax slightly
|
2026-01-01 21:42:52 -05:00 |
|
Disco DeDisco
|
4af36ca49c
|
refactored tests for less clunky explicit wait times
|
2026-01-01 17:52:19 -05:00 |
|
Disco DeDisco
|
8b3d82fff5
|
functional_tests.py -> functional_tests/tests.py; also initiated as django folder w. __init__.py, __pycache__/
|
2026-01-01 15:50:40 -05:00 |
|
Disco DeDisco
|
2615445b97
|
added 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)
|
2025-12-31 14:54:23 -05:00 |
|
Disco DeDisco
|
c318a526fc
|
new and refined tests for dashboard app; home iterates list w. django templating; views refined for redirect after post request
|
2025-12-31 14:39:26 -05:00 |
|
Disco DeDisco
|
1950eaa12e
|
more robust home_page() FBV in apps.dashboard.views feat. individual item handling; .tests return OK given this new view
|
2025-12-31 00:47:17 -05:00 |
|
Disco DeDisco
|
e3fdc54ad4
|
+2 new migrations in apps.dashboard; added new Item() model to dashboard.models; added ItemModelTest() to .tests; cleaned up deadspace in functional_tests
|
2025-12-31 00:26:39 -05:00 |
|
Disco DeDisco
|
822dcd3a96
|
refactor to NewVisitorTest() model in functional_tests, incl. new helper method for DRY table & row assertion
|
2025-12-30 23:54:44 -05:00 |
|
Disco DeDisco
|
f6b73a17ea
|
NewVisitorTest() 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
|
2025-12-30 23:47:25 -05:00 |
|
Disco DeDisco
|
1ddabe4448
|
changed _ 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
|
2025-12-30 22:19:42 -05:00 |
|
Disco DeDisco
|
b3dba69708
|
actual commit from last attempt, now incl. all new files
|
2025-12-30 22:06:06 -05:00 |
|
Disco DeDisco
|
394d46c718
|
refactored 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)
|
2025-12-30 22:05:33 -05:00 |
|
Disco DeDisco
|
f267dd98ae
|
expanded NewVisitorTest() model in functional_tests to check if user can input a to-do item, which fails
|
2025-12-30 17:44:48 -05:00 |
|
Disco DeDisco
|
70392f3103
|
streamlined HomePageTest() test model; linked default index path to urlpatterns in core.urls
|
2025-12-30 17:22:22 -05:00 |
|
Disco DeDisco
|
d4c00424f5
|
added home_page() FBV to apps.lists.views; added HomePageTest() model to .tests; installed django-stubs & related dependencies
|
2025-12-30 16:15:55 -05:00 |
|
Disco DeDisco
|
b7d3535402
|
created apps.lists, w. deliberately failing unit test
|
2025-12-30 15:49:50 -05:00 |
|