-
Notifications
You must be signed in to change notification settings - Fork 96
request flow #1159
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
request flow #1159
Changes from all commits
Commits
Show all changes
114 commits
Select commit
Hold shift + click to select a range
3656dd1
start new request flow implementation
bikubi 1272376
clean up
bikubi b6ab3d5
refactor filter badge component
bikubi 2663a54
redo steps logic, support the various hide_ GET parameters
bikubi 21ecbb0
syntax fix, cleanup
bikubi 4836264
improve validation of subject + body
bikubi 445dab4
validation for address
bikubi fa65371
validate some max_lengths, cleanup+fix steps
bikubi 6ec6a30
refactor UserCreateAccount, validate everything as consistently as po…
bikubi 7a8b4d7
restructure public body search
bikubi 73320f9
add "confirm i do not request private info" checkbox
bikubi a6cceef
implement similar search, with results and pagination
bikubi fdf7dad
cleanup
bikubi 1e2fc7f
implement onlinehelp links from django slots
bikubi dd462b8
separate "intro howto" step with static_alias, "skip" preference
bikubi 006592e
refactor "intro campaigns"
bikubi 10cd9ee
fix i18n prop
bikubi 86ca5f5
cleanup
bikubi bf02e0e
improve ui
bikubi 4e19f56
add "quick select publicbody" to similar request search
bikubi 558ae47
display project (minimally), format date nicely, cleanup
bikubi d722943
prevent early annoying invalidation on keyboard navigation
bikubi 01c7b5c
fix dark mode simple stepper
bikubi 1884c41
tweaks + cleanup
bikubi 5894206
use new pagination for publicbody search
bikubi 5add6ec
calculate min year
bikubi 4794226
cleanup
bikubi bcc7eb1
fix stored confirm handling
bikubi 653213c
fix wrong+confusing button
bikubi 4286406
?hide* param tweaks
bikubi d8739b9
skip intro howto if static_alias empty
bikubi 539e2b1
cleanup
bikubi d62900b
fix postupload SimpleStepper steps
bikubi 872e20e
fix law_type, add comments
bikubi ec167a1
fix "first step", when publicbody is preset
bikubi 4a74a4b
remove multiRequest temp hack
bikubi 8f8363a
cleanup
bikubi 1fab2ea
fix flow bugs
bikubi d9c7452
fix publicbody by-prop vs. from-storage
bikubi 9f0b970
layout cleanup
bikubi f530d61
clean up onlinehelp links for DjangoSlots related v-bs directives
bikubi baf5dd7
use proper search API
bikubi d52ff97
fix onlinehelp link for cms-sourced djangoslots
bikubi 1467dae
move intro howto static_alias to template for override
bikubi c867f13
cleanup
bikubi 216cb55
skip intro = jump to select publicbody
bikubi 7da3e95
nicer intro campaigns
bikubi eb7d351
add another intro template, fix campaign logo layout
bikubi 1cb2625
fix disappearing intro step after (failing/invalid) request submit
bikubi 2fc1411
improve skip intro logic
bikubi dca14ba
cleanup
bikubi f13c2a0
implement "am journo, claim vip/plus" checkbox
bikubi 4507290
clean up online-help links, main campaign card
bikubi b7930f5
user confirm label overridable with template
bikubi 89d841a
cleanup
bikubi 4758c89
cleanup
bikubi 782e2f6
fix address handling
bikubi bdfe142
do not equire extra confirm for trusted users
bikubi db6aa06
purge storage after logout
bikubi 494e903
remove betaUi flag
bikubi bdb889b
remove unnecessary form json, save 4MB of traffic!
bikubi bf4b363
cleanup
bikubi 2e95d9b
adapt beforeunload logic
bikubi 6ccc7ad
cleanup
bikubi ac8b48c
fix TypeChoiceField vs bool handling
bikubi 8c7a01c
revive regexy text body needles
bikubi 6a6e27a
cleanup
bikubi aa8e825
add properties to request search api
bikubi b7fa7ca
i18n + l10n de
bikubi f4662a2
add missing template
bikubi 66252c9
fix first year calculation
bikubi 61687cd
code readability
bikubi 1a143ac
improve similar search filter badges
bikubi ceca508
unify filter badge layouts / fix regression
bikubi 127b045
publicbody filter dropdowns scrollable
bikubi db647f7
fixup badges again
bikubi 7374f48
cleanup
bikubi 9f0ce0d
fix missing i18n
bikubi 49fb70b
keep campaign logo storage as-is
bikubi f03f29b
✨ add `jurisdiction_rank` parameter to foirequest search endpoint
krmax44 c6bcf35
♻️ cleanup, add comments
krmax44 2667bea
🗃️ add campaign logo migration
krmax44 99daf4a
replace broken mediaqueries, fix layout
bikubi 55b41d6
improve filter dropdowns
bikubi 2900e89
keep dash in time range years centered
bikubi c542c41
use jurisdiction_rank parameter in frontend
bikubi 248ff4b
hide/disable UserConfirm if slot/template/alias is empty
bikubi e500d77
♻️ filter by jurisdiction rank without modifying es documents
krmax44 66a0127
📝 fix typing, add comment
krmax44 28cace0
♻️ make `RequestPageTourForm` generic
krmax44 4175e86
fix (non-live) tests
bikubi 20fed28
improve first step for /make-request/to/foo
bikubi ab5a10f
fix empty address regex handling
bikubi 946700b
fix live tests
bikubi 9b8a9f3
fix initial step
bikubi d538ee1
split create account in two steps
bikubi 98552c8
improve search similar step ux
bikubi feb7032
fix live tests, add ids
bikubi ec459b7
cleanup
bikubi 77be7e1
refine skip intro preference, lower threshold
bikubi e28f40d
emphasize form-checks
bikubi d2bbef4
cleanup
bikubi a8f94ac
ajaxify form submit
bikubi 777190f
fix tests, hackily
bikubi 5852ca9
💄 remove empty breadcrumb item / arrow
krmax44 36e6fd1
fix form layout, overlong form-check line
bikubi 238077d
streamline multirequest publicbody chooser layout
bikubi bf2ae10
fix intro layout, mid mobile viewport
bikubi d13fee7
fix userConfirm validation when static_alias empty
bikubi 5eb7395
fix user address regex check
bikubi b783135
demote address regex to nag only
bikubi 13431fd
⚡️ fix n+1 query in jurisdiction api
krmax44 be6ee62
do not purgestorage after sent request
bikubi d0d5c7c
l10n de
bikubi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
froide/campaign/migrations/0008_campaign_logo_campaign_short_description.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| # Generated by Django 5.2.6 on 2025-12-08 11:55 | ||
|
|
||
| import froide.helper.storage | ||
| from django.db import migrations, models | ||
|
|
||
|
|
||
| class Migration(migrations.Migration): | ||
|
|
||
| dependencies = [ | ||
| ("campaign", "0007_campaign_report_url"), | ||
| ] | ||
|
|
||
| operations = [ | ||
| migrations.AddField( | ||
| model_name="campaign", | ||
| name="logo", | ||
| field=models.ImageField( | ||
| blank=True, | ||
| null=True, | ||
| storage=froide.helper.storage.HashedFilenameStorage(), | ||
| upload_to="campaign-logos", | ||
| ), | ||
| ), | ||
| migrations.AddField( | ||
| model_name="campaign", | ||
| name="short_description", | ||
| field=models.TextField(blank=True), | ||
| ), | ||
| ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.