Commit Graph

500 Commits

Author SHA1 Message Date
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 63b07bdf22 set default LANGUAGE_CODE to 'de' instead of 'en-us' 2025-09-01 12:47:24 +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
Roman 7cfd477d40 refactor ExternView into separate class-based views with BaseApplicationView 2025-08-31 23:41:11 +02:00
Roman 98d1ae9284 refactor(forms): unify forms with BaseApplicationForm and CommonOrderMixin for consistent fields and order 2025-08-31 23:38:22 +02:00
Roman eea08e6075 Merge branch 'cosmocode' into feature/replace-radios-with-links 2025-08-27 17:53:54 +02:00
Andreas Gohr 0bb7f8680c Merge branch 'refactor/button-styles' into 'cosmocode'
moved inline styles to base.css and button.css and adjusted button styles

See merge request wikimedia/foerderbarometer!2
2025-08-27 12:18:58 +02:00
Roman Fen 1159cd3394 moved inline styles to base.css and button.css and adjusted button styles 2025-08-27 12:18:58 +02:00
Roman 8d57909a17 Add static info page for project funding ≥ 1,000 € 2025-08-27 11:58:40 +02:00
Roman 0d033e7e25 Refactor CheckForm to use model field 'terms_accepted' instead of separate 'check' field 2025-08-26 22:48:13 +02:00
Roman e10ec7e691 Add migration 0099: add terms_accepted field to BusinessCard, Email, List, and Literature 2025-08-26 15:39:43 +02:00
Roman c187bf2e9e Add custom save() in CheckForm to map 'check' field to model's 'terms_accepted' 2025-08-26 15:37:33 +02:00
Roman 9ef2af0a2f add terms_accepted to admin list display for BusinessCard, Literature, Email and List 2025-08-26 13:53:39 +02:00
Roman 7816ac4237 add terms_accepted field to Email, List, Literature and BusinessCard via mixin 2025-08-26 12:54:29 +02:00
Oliver Zander 94882d9039 fixed literature test 2025-08-21 10:47:17 +02:00
Oliver Zander 2973741696 added tests for internal views 2025-08-21 10:43:38 +02:00
Oliver Zander 860205cac9 skip finance id test 2025-08-21 10:11:59 +02:00
Oliver Zander 257b10310d readded test module file 2025-08-21 10:10:17 +02:00
Oliver Zander 656cfe8cc9 renamed model test file accordingly 2025-08-21 10:09:15 +02:00
Oliver Zander dff9ef858d added whitespace 2025-08-21 10:08:38 +02:00
Oliver Zander c329c84661 clean up tests 2025-08-21 10:08:24 +02:00
Oliver Zander 7698eb0648 removed intern view 2025-08-21 10:02:19 +02:00
Oliver Zander fa84fc6bd0 use a table form renderer 2025-08-20 14:28:52 +02:00
Andreas Gohr 126790d57f Merge branch 'docker' into 'cosmocode'
add docker compose setup for development

See merge request wikimedia/foerderbarometer!1
2025-08-20 12:53:33 +02:00
Andreas Gohr 2e883ba58b add docker compose setup for development 2025-08-20 12:45:06 +02:00
Oliver Zander 6dc1b22eb8 separate library, e-literature and software by using proxy models 2025-08-20 12:06:43 +02:00
Oliver Zander df8a9708ea set explicit library type choices 2025-08-20 11:19:05 +02:00