Commit Graph

91 Commits

Author SHA1 Message Date
Oliver Zander 864df9613a cleaned up forms & fixed missing terms field 2025-10-20 15:39:33 +02:00
Oliver Zander b963db5731 informal error message 2025-10-16 17:00:40 +02:00
Oliver Zander 7e4d197384 added proxies for declined & requested projects 2025-10-16 15:38:41 +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 c27e4c5183 cleaned up project forms 2025-10-15 12:20:11 +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 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 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
Roman 4e6906e318 Add ProjectRequestForm and ProjectRequestAdminForm with JSON-backed multi-selects and help texts 2025-09-29 00:22:47 +02:00
Roman 238c674517 change all string literals to single quotes 2025-09-01 13:24:59 +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 0d033e7e25 Refactor CheckForm to use model field 'terms_accepted' instead of separate 'check' field 2025-08-26 22:48:13 +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
Oliver Zander fa84fc6bd0 use a table form renderer 2025-08-20 14:28:52 +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 ee672a4f2f replaced format_html with mark_safe where no formatting is applied 2025-08-19 16:08:48 +02:00
Oliver Zander 452fda2cb5 auto formatting: removed whitespace 2025-08-19 14:10:15 +02:00
Oliver Zander 5f0394afb5 merged settings & use .env files to configure differences 2025-08-19 09:45:14 +02:00
Tobias Herre 4aeb330fa4 Neue Nutzungsbedingungen verlinkt 2025-06-16 09:43:08 +00:00
Tobias Herre c691bc8c80 Inserted otrs-link-fixing to honorary forms 2025-02-27 09:15:25 +00:00
Tobias Herre 7930d7af40 otrs_link.js fixes *all* links on a page. for travel and project forms. 2025-02-26 12:13:46 +00:00
alpcentaur 1454fce9ba corrected small error regarding pid financeid bug fix, started javascript manipulation to get browsers to not translate url to url encoded characters for otrs link bug fix 2023-12-30 17:46:15 +00:00
alpcentaur f60623d485 user gets automatically written, not in the form anymore 2023-10-25 15:50:40 +00:00
alpcentaur 29cdd7b653 now the | in datefield is also hidden via css 2023-02-27 17:09:29 +00:00
alpcentaur 914989d6ac literature self_buy_giveData variable is now required in extern view 2023-02-27 17:09:29 +00:00
alpcentaur 5b91d335de hotel in forms.py is now radioselect choicefield and required 2023-02-27 17:09:29 +00:00
alpcentaur 94f82d5733 fixed literature selfbuy variables in admin view 2023-02-27 17:09:29 +00:00
alpcentaur 1d9811b0ff custom css is now only applied to travel form, not to all forms 2023-02-27 17:09:29 +00:00
alpcentaur 0b450feac9 changed logic of generation of finId and pId, solved Travelform error, hotel variable travelmodel is not required anymore 2023-02-27 17:09:29 +00:00
alpcentaur e638afabd5 added adult multiple choice radio button by changing admin.py and forms.py 2023-02-27 17:09:29 +00:00
alpcentaur b451cbbb16 added a presave signal for travel model to update own field with foreign key project field 2023-02-27 17:09:29 +00:00
alpcentaur 37e629de70 rewrote the javascript part 2023-02-27 17:09:29 +00:00
alpcentaur d9db5238ea added mail_state to all objects, added filters regarding sendmail.py 2023-02-27 17:09:29 +00:00
alpcentaur 1050308712 conditional hiding of address textfield in literature form added 2023-02-27 17:09:29 +00:00
alpcentaur 2254b77a0d changed fields in Travel to required, changed saving of value of selfbuy_give_data when person wants to selfbuy to false 2023-02-27 17:09:29 +00:00
alpcentaur 980ee45066 added intern_notes variable to all dbs, not excluded in extern view for all 2023-02-27 17:09:29 +00:00
alpcentaur a8d8f6fdd6 made mail.adult a required field 2023-02-27 17:09:29 +00:00
alpcentaur 960ec8841c added the automated mail with the possibility to grant travel costs by link in email 2023-02-27 17:09:29 +00:00
alpcentaur cb6710e758 Anfang code der Funktion end of proj approved in sendmails.py 2023-02-27 17:09:28 +00:00
alpcentaur 28e1570bee notes field is now bigger, changed to Textfield analog. new entry url_of_pic, migrated, javascript to hide in businesscard if nopic is choice 2023-02-27 17:09:28 +00:00
alpcentaur 4ba8ad0e6c Datenschutzbestimmungen und Förderrichtlinien öffnen nun auch in neuem Tab 2023-02-27 17:09:28 +00:00
Benni Bärmann 35bbd4b8a7 new autogenerated fields shown in admin but not in form 2021-10-04 15:45:51 +02:00
Benni Bärmann a23ffdf67f intern view now works with django 3.2, too 2021-07-07 09:42:51 +02:00
Benni Bärmann 94164c3d6a fixed TypeError for django 3.2 2021-07-06 13:00:34 +02:00
Benni Bärmann f373fceaab added new field survey_mail_date 2021-04-12 13:44:45 +02:00
Benni Bärmann c02fd9864a removed code duplication, new basis class CheckForm 2020-11-18 18:06:00 +01:00
Benni Bärmann 2a182215c5 fancy stuff for LiteratureForm 2020-11-18 18:02:23 +01:00
Benni Bärmann 3a062c7c7c check for nutzungsbedingungen added to some other forms 2020-11-18 16:50:58 +01:00