Skip to content

Region based report system

Matthias Larisch requested to merge report-permissions into master

What does this MR do?

Implements an API method allowing to return data about reports for a given region. Logic should comply to the comments in #296 (closed).

An additional vue.js frontend is added that can be triggered by supplying a region id (&bid=...) to the reports page. See it as WIP to present something, let's work together on how it should be like.

Also, this refactors the way avatar images are handled in vue components as from now on, the full URL is build on the frontend and not in the API.

FluentPDO is integrated as a proof of concept as it came in handy for the ReportGateway refactoring, can be easily removed again...

Also adds seed data for reports.

How confident are you it won't break things if deployed?

should work...

Links to related issues

Checklist

  • added a test, or explain why one is not needed/possible...
  • no unrelated changes
  • asked someone for a code review
  • joined #foodsharing-beta channel at https://slackin.yunity.org
  • added an entry to CHANGELOG.md (description, merge request link, username(s))
Edited by Peter Tönnies

Merge request reports