Skip to content
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

Allways confirm report when send with email #4087

Open
daeynasvistas opened this issue Aug 31, 2022 · 4 comments
Open

Allways confirm report when send with email #4087

daeynasvistas opened this issue Aug 31, 2022 · 4 comments

Comments

@daeynasvistas
Copy link

daeynasvistas commented Aug 31, 2022

is it possible to users add report without email confirmation?

i need the user to add report without the need of email confirmation and without login.

i can see the open in cobrand: "never_confirm_report".

but im unable to implement .. or this configuration dont do what i need.

thank you

@dracos
Copy link
Member

dracos commented Aug 31, 2022

Hi - never_confirm_reports should do what you request, as you suggest - if it is a function set to return 1 in your cobrand .pm file, then any report made is immediately confirmed and any associated user entry inserted or updated. An alternative would be to turn on anonymous reporting (which can be done per-category in the admin if the cobrand defines an anonymous_account), which allows anonymous reporting without providing any user details.

@daeynasvistas
Copy link
Author

Thanks dracos!
yes.. probalby did something wrong before. If a add the never_confirm_reports no email for confirmation are generated. good

but and if i whant to do with the import endpoint?
https://www.fixmystreet.com/import

is it also possible?
if i use the "import" the report get some PARCIAL status.

@daeynasvistas
Copy link
Author

well.. im a little lost.
-Can i use the open311 controller to POST new report into fixmystreet database?
-do i need to implement open311 server to be able to use the POST method?

I just need some easy method to inject new report into fixmystreet database, alternative to WEB form.
thanks

@daeynasvistas
Copy link
Author

daeynasvistas commented Sep 5, 2022

ok.. so was finally able to do what i need with the /report/new/mobile? endpoint from mobile APP

working great.. able to add new report withour webapp with this workaround

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants