Commit Graph

436 Commits

Author SHA1 Message Date
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 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
Oliver Zander b3c181bacc added missing migration for real- & username fields 2025-08-20 11:17:20 +02:00
Oliver Zander f5134e491f prettify type choices 2025-08-20 11:02:31 +02:00
Oliver Zander 1be12ff88e use mariadb for testing 2025-08-20 10:00:50 +02:00
Oliver Zander edefb6232c added gitlab ci 2025-08-19 16:43:48 +02:00
Oliver Zander 8259be4e7d removed duplicate admin path 2025-08-19 16:11:34 +02:00
Oliver Zander ee672a4f2f replaced format_html with mark_safe where no formatting is applied 2025-08-19 16:08:48 +02:00
Oliver Zander 6421fd64d2 updated deps, removed third party & unused deps 2025-08-19 16:03:36 +02:00
Oliver Zander 147398f3f4 simplified code 2025-08-19 16:02:57 +02:00
Oliver Zander b88c024645 toggle intern view and tests by setting 2025-08-19 16:02:18 +02:00
Oliver Zander 56a5d5b103 added tests for sendmails command 2025-08-19 16:00:57 +02:00
Oliver Zander f0cf6b37d9 added coveragerc 2025-08-19 14:52:31 +02:00
Oliver Zander febebec67c added more tests for extern view 2025-08-19 14:52:18 +02:00
Oliver Zander 4370292c55 fixed read only fields of travel admin 2025-08-19 14:10:36 +02:00
Oliver Zander 452fda2cb5 auto formatting: removed whitespace 2025-08-19 14:10:15 +02:00