Commit Graph

39 Commits

Author SHA1 Message Date
Disco DeDisco
a9e635f40e fix for functional_tests.test_login, which still relied on old mock logic, no longer in apps.lyric.views, but handled by celery in apps.lyric.tasks
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2026-02-21 22:03:03 -05:00
Disco DeDisco
5106b04175 updated User creation method in functional_tests.management.commands.create_session
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2026-02-19 20:50:31 -05:00
Disco DeDisco
025a59938b reenabled admin area; outfitted apps.lyric.models w. AbstractBaseUser instead of custom user class; many other fns & several models updated to accomodate, such as set_unusable_password() method to base user model; reset staging db to prepare for refreshed lyric migrations to accomodate for retrofitted pw field
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2026-02-19 20:31:29 -05:00
Disco DeDisco
c41624152a added headless option to .test_sharing for woodpecker FT run
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2026-02-18 15:24:55 -05:00
Disco DeDisco
0370f36e9e list sharing implemented w. passing UTs & FTs; changes to apps.dashboard.urls, .models, .views & .tests.test_views to accomodate; functional_tests.test_sharing also ensures sharing visible in UX; templates/apps/dashboard/list.html & /my_lists.html updated with django templating & for loops 2026-02-18 13:53:05 -05:00
Disco DeDisco
a85e0597d7 created functional_tests.my_lists_page to contain helpers for viewing shared lists; refactored several other FTs to passing 2026-02-17 23:27:54 -05:00
Disco DeDisco
e32c6bbfd6 created functional_tests.list_page to handle common FT helpers; almost every FT file affected & less reliant on .base, which no longer contains those helpers 2026-02-17 23:07:12 -05:00
Disco DeDisco
e26ee5af1d new functional_tests.test_sharing FT for sharing lists; create_pre_authenticated_session() moved from .test_my_lists to .base 2026-02-17 21:19:24 -05:00
Disco DeDisco
e02385118f intentially broke functional_tests.test_login to ensure screendumps functionality works on test runner failure in pipeline
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/manual/woodpecker Pipeline was successful
2026-02-11 15:29:02 -05:00
Disco DeDisco
71b35242eb intentially broke functional_tests.test_login to ensure screendumps functionality works on test runner failure in pipeline
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2026-02-11 15:20:25 -05:00
Disco DeDisco
bcadb28017 functional_tests.base updated w. many helper functions to save screendumps on server after test failures; woodpecker pipeline updated accordingly
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2026-02-11 15:12:04 -05:00
Disco DeDisco
5d0a1401d8 created new dir for STATICFILES_DIRS in core.settings; all Jasmine test files transferred to new dir src/static_src/; new FT test_jasmine executes Jasmine test runner as part of CI pipeline & base FT has dobules MAX_WAIT to 10s; some cleanup of unused imports in text_simple_list_creation
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2026-02-11 14:42:38 -05:00
Disco DeDisco
b94f1f48aa Dockerfile.ci & debug-ci now build working container for CI test image 2026-02-10 22:42:45 -05:00
Disco DeDisco
306b4c8e5e new template _partials for apps.dashboard, incl. _form.html & _scripts.html; respective form, table & content code offloaded from base.html, home.html & list.html; functional_tests.test_my_list TODO resumed (only FT not currently passing, but this is as expected) 2026-02-08 21:43:58 -05:00
Disco DeDisco
8190317c21 nginx compatibility added to serve static files on server; whitenoise installed to catch static file serving in local docker container, also added to core.settings middleware; console logs & print statements removed from dashboard.js & functional_tests.container_commands; ansible playbook and nginx config file support nginx w.in deployment workflow 2026-02-08 17:55:09 -05:00
Disco DeDisco
07a76cb32d added new template apps/dashboard/my_lists.html; all FTs passing green locally, tho half og .test_my_lists TODO'd out; test_login uses mock-patch architecture to avoid Mailgun and DigitalOcean magic login link testing restraints 2026-02-07 22:47:04 -05:00
Disco DeDisco
58b526f434 add_list_item() helper added to functional_tests.base; further propagated into .test_layout_and_styling, .test_list_item_validation, .test_my_lists & .test_simple_list_creation; all FTs passing locally (tho js-dependent FT still require nginx to serve scripts properly in docker or on server) 2026-02-07 19:44:47 -05:00
Disco DeDisco
449b40e12e new functional_tests.container_commands file discerns local from server containers; .base calls now calls reset_database() therefrom; .test_my_lists also discerns test server location for different session keys; functional_tests restored as app in core.settings 2026-02-03 22:14:55 -05:00
Disco DeDisco
55bb589f61 added functional_tests to installed apps in core.settings (but only when debug is true); created management dir to contain new django cmds & listed in .dockerignore; created management.create_session cmd; recreated container.db.sqlite3; tweaked test_server setup in functional_tests.base; added test_server failsafe to magic link login testing in .test_login 2026-02-03 14:54:37 -05:00
Disco DeDisco
3fdd07e003 wrapped most helper functions in functional_tests.base in the new @wait decorator, including wait_for() itself; all UTs & FTs passing 2026-02-01 20:38:26 -05:00
Disco DeDisco
2db1c0e3fc temp. favicon 204 silencer added to core.urls; functional_tests.test_my_lists now tests authenticity of login compared to queried list 2026-02-01 20:18:42 -05:00
Disco DeDisco
cf33f0ccd4 created new FT file at functional_tests.test_my_lists, where the first test model focuses on the integrity of cookie sessions; much of FT login/logout logic offloaded to helper functions in .base;logout django templating added to base.html 2026-02-01 20:06:01 -05:00
Disco DeDisco
d236ab9d69 apps.lyric.views updated with simpler FBV & test functionality for user login & authentication (some mocking employed); FT in test_simple_list_creation updated for new base.html content from several commits previous, now only FT not passing (to be expected) is under test_login 2026-01-31 15:16:34 -05:00
Disco DeDisco
93eb497dec mocking added thruout apps.lyric.tests.test_views, where UTs mock message sending; status message loop added to base.html below navbar; hardcoded assert and model/view values aligned across lyric app, UTs & FTs 2026-01-30 17:23:07 -05:00
Disco DeDisco
3ebf4db974 removed spiked lyric app; pursuring spiked code via TDD, starting w. functional_tests.test_login 2026-01-29 14:28:19 -05:00
Disco DeDisco
eb237f95ec new FT method & error element helper in functional_tests.test_list_item_validation; not yet passing, awaiting JS implementation 2026-01-24 14:23:43 -05:00
Disco DeDisco
6804d3aaae actually committed previously enumerated changes; the previous commit actually contained only the migrations reflecting these changes 2026-01-23 21:51:56 -05:00
Disco DeDisco
e01391446e new test method in ItemValidationTest(); does not currently pass 2026-01-21 15:12:13 -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
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
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
ab96364a24 move code into newly created ./src/ dir 2026-01-03 23:36:38 -05:00