mysociety / fixmystreet

This is mySociety's popular map-based reporting platform: easy to install in new countries and regions
http://fixmystreet.org/
Other
507 stars 235 forks source link

Allways confirm report when send with email #4087

Open daeynasvistas opened 2 years ago

daeynasvistas commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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