Commit Graph

372 Commits

Author SHA1 Message Date
Oliver Zander 5d107dab96 split form processing in multiple methods 2025-10-17 11:42:42 +02:00
Roman 621941c6e4 Update and add email templates for applicant and staff notifications 2025-10-17 11:25:34 +02:00
Roman f98894b250 Enhance ApplicationView to send applicant/staff emails with attachments and improved subjects 2025-10-17 11:05:24 +02:00
Roman 1ad4970cbc Add decision mailers for applicants and staff with approval/denial templates 2025-10-17 10:54:53 +02:00
Roman 5f2d99c037 Add robust mail attachment caching and file attachment support with TTL and MIME detection 2025-10-17 10:53:29 +02:00
Oliver Zander ad3ab2e993 made tests robust against changing order 2025-10-17 10:28:08 +02:00
Oliver Zander b963db5731 informal error message 2025-10-16 17:00:40 +02:00
Oliver Zander c5bdc80c54 allow empty grant fields in project 2025-10-16 16:44:26 +02:00
Oliver Zander 6a36b293f4 Merge branch 'feature/add-request-url-to-services' of gitlab.cosmocode.de:wikimedia/foerderbarometer into cosmocode 2025-10-16 16:31:35 +02:00
Oliver Zander 28a42b1709 fixed pid test 2025-10-16 15:46:49 +02:00
Oliver Zander 22aec6fdde fixed pid scheme 2025-10-16 15:41:22 +02:00
Oliver Zander 7e4d197384 added proxies for declined & requested projects 2025-10-16 15:38:41 +02:00
Oliver Zander 4efab724ca fixed test for proj 2025-10-16 12:26:52 +02:00
Oliver Zander 89cb50ddd7 improved datetime shortcuts 2025-10-16 12:16:52 +02:00
Oliver Zander a8731a4195 use existing project model & added categories and wikimedia projects 2025-10-16 12:16:08 +02:00
Oliver Zander cf81a45231 fixed spacing & imports 2025-10-15 17:32:28 +02:00
Oliver Zander 7d1511bb93 added projektförderung to extern types test 2025-10-15 12:26:57 +02:00
Oliver Zander ec062df5f4 fixed and unified project funding & services 2025-10-15 12:24:14 +02:00
Oliver Zander c27e4c5183 cleaned up project forms 2025-10-15 12:20:11 +02:00
Oliver Zander d1cda4c1a9 simplified project request model 2025-10-15 12:19:25 +02:00
Oliver Zander dcd9a3d213 reordered migrations 2025-10-15 12:14:42 +02:00
Oliver Zander 4dbf3749d7 Merge branch 'feature/project-funding-under-1000' of gitlab.cosmocode.de:wikimedia/foerderbarometer into cosmocode 2025-10-15 11:26:46 +02:00
Oliver Zander 77d7ff2ce3 integrated negative test 2025-10-14 16:59:36 +02:00
Oliver Zander ce4aeb0721 fixed tests 2025-10-14 16:48:39 +02:00
Oliver Zander a7d3df7b39 simplified application views 2025-10-14 11:39:58 +02:00
Oliver Zander 84ef809705 do not show internal address default 2025-10-14 11:16:13 +02:00
Oliver Zander 01267e6939 simplified field ordering 2025-10-14 11:15:50 +02:00
Oliver Zander 29c4cdd8ac simplified migration name 2025-10-14 11:15:19 +02:00
Roman e4797b9bcd Squash duplicate migrations 0100 and 0101 into a single cleaned-up migration 2025-10-08 12:38:53 +02:00
Roman 48e0d1d2b1 Add mixin to auto-insert before and remove redundant fields definitions 2025-10-08 12:34:17 +02:00
Roman f646561136 Add migrations for request_url field in service models 2025-09-30 15:48:04 +02:00
Roman b23cf3adb8 Add request_url field and otrs_link.js integration to service admins with ordered fields 2025-09-30 15:46:23 +02:00
Roman 0db5cb7fd9 Add 'Antrag (URL)' request_url field to service models via RequestUrlMixin 2025-09-30 15:44:03 +02:00
Oliver Zander 38f6deee51 Merge branch 'feature/replace-radios-with-links' into 'cosmocode'
refactor(forms): Split Views and Template Restructure

See merge request wikimedia/foerderbarometer!5
2025-09-29 16:31:43 +02:00
Oliver Zander aa5c981872 Merge branch 'feature/terms-consent' into 'cosmocode'
Store user agreement to terms

See merge request wikimedia/foerderbarometer!4
2025-09-29 16:31:06 +02:00
Roman cda7d7a79d Switch to single quotes across models.py for consistent string formatting 2025-09-29 00:51:13 +02:00
Roman c9959988cb Fix: use Django URL tag for project funding link instead of hardcoded path 2025-09-29 00:40:20 +02:00
Roman 46240fedc1 Add public route, view, and navigation link for project funding requests under 1000 EUR 2025-09-29 00:33:42 +02:00
Roman 98f8414576 Add migrations for ProjectRequest and ProjectsDeclined models with updated options and field constraints 2025-09-29 00:32:09 +02:00
Roman cc55b17cff Add service layer for approving and declining ProjectRequest with transactional logic 2025-09-29 00:27:09 +02:00
Roman 14717c8318 Add admin integration for ProjectRequest with approve/decline actions and custom ApproveActionForm 2025-09-29 00:25:16 +02:00
Roman 4e6906e318 Add ProjectRequestForm and ProjectRequestAdminForm with JSON-backed multi-selects and help texts 2025-09-29 00:22:47 +02:00
Roman 011e262df6 Add ProjectRequest and ProjectsDeclined models for project funding under 1000 EUR 2025-09-29 00:18:40 +02:00
Roman a239922e14 use walrus operator for user session check 2025-09-01 13:33:17 +02:00
Roman 238c674517 change all string literals to single quotes 2025-09-01 13:24:59 +02:00
Roman 6585eeaf78 replace regex assertion and remove status code check in test_extern_lit 2025-09-01 12:04:52 +02:00
Roman ed2db04309 add negative test for Literature form submission without terms_accepted 2025-09-01 01:45:50 +02:00
Roman 8ba54bdca9 add CSS styles for form layout 2025-08-31 23:55:50 +02:00
Roman a2ec4071b4 restructure templates: introduce base with header/footer, replace old extern template, add generic form layout, and update info page 2025-08-31 23:47:27 +02:00
Roman 35ae9ab0e5 update URL routing to use new class-based application views and static extern page 2025-08-31 23:43:29 +02:00