3.0 KiB
3.0 KiB
Files to Delete from Codebase
Based on analysis of the workspace, the following files and folders appear to be temporary, debug-related, test-specific, or one-off scripts that should not remain in the production codebase. Review and delete as appropriate.
Debug/Test Folders (entirely removable)
debug-disabled/(and all subfolders: comprehensive-polish-map/, debug-polish-orthophoto/, test-improved-wmts/, test-polish-map/, test-polish-orthophoto/)data/(contains database.sqlite, likely a development database)uploads/(user-uploaded files that should be gitignored or stored elsewhere)scripts/(test data creation scripts: create-additional-test-data.js, create-admin.js, create-diverse-test-data.js, create-sample-projects.js, create-test-data.js)
Test Files (one-off test scripts)
- test-audit-fix-direct.mjs
- test-audit-logging.mjs
- test-auth-api.mjs
- test-auth-detailed.mjs
- test-auth-pages.mjs
- test-auth-session.mjs
- test-auth.mjs
- test-complete-auth.mjs
- test-create-function.mjs
- test-current-audit-logs.mjs
- test-date-formatting.js
- test-dropdown-comprehensive.html
- test-dropdown.html
- test-edge-compatibility.mjs
- test-logged-in-flow.mjs
- test-logging.mjs
- test-mobile.html
- test-nextauth.mjs
- test-project-api.mjs
- test-project-creation.mjs
- test-safe-audit-logging.mjs
- test-task-api.mjs
- test-task-sets.mjs
- test-user-tracking.mjs
Debug Files
- debug-dropdown.js
- debug-task-insert.mjs
Check/Verification Scripts (one-off)
- check-audit-db.mjs
- check-columns.mjs
- check-projects-table.mjs
- check-projects.mjs
- check-schema.mjs
- check-task-schema.mjs
Migration Scripts (likely already executed)
- migrate-add-completion-date.mjs
- migrate-add-edited-at-to-notes.mjs
- migrate-add-initial-column.mjs
- migrate-add-team-lead-role.mjs
- migrate-add-wartosc-zlecenia.mjs
- migrate-to-username.js
- run-migrations.sh
Other One-Off Scripts
- add-assignable-column.mjs
- export-projects-to-excel.mjs
- fix-notes-columns.mjs
- fix-task-columns.mjs
- init-db-temp.mjs
- update-admin-username.js
- update-queries.ps1
- verify-audit-fix.mjs
- verify-project.mjs
Implementation/Status Documentation (temporary notes)
- AUDIT_LOGGING_IMPLEMENTATION.md
- AUTHORIZATION_IMPLEMENTATION.md
- DEPLOYMENT_TIMEZONE_FIX.md
- DOCKER_GIT_DEPLOYMENT.md
- DOCKER_TIMEZONE_FIX.md
- DROPDOWN_COMPLETION_STATUS.md
- DROPDOWN_IMPLEMENTATION_SUMMARY.md
- EDGE_RUNTIME_FIX_FINAL.md
- EDGE_RUNTIME_FIX.md
- INTEGRATION_COMPLETE.md
- INTEGRATION_SUMMARY.md
- MERGE_COMPLETE.md
- MERGE_PREPARATION_SUMMARY.md
- POLISH_LAYERS_IMPLEMENTATION.md
Development-Only Files
- start-dev.bat
Potentially Keep (but review)
- deploy.bat / deploy.sh (if used for production deployment)
- geoportal-capabilities.xml (if it's configuration data)
This list focuses on files that seem to be development artifacts, temporary fixes, or test utilities. Before deletion, verify if any are still referenced in the codebase or needed for specific workflows. The core application code in src/, configuration files, and essential docs like README.md should remain.