]> cat aescling's git repositories - mastodon.git/commit
Adding POST /api/v1/reports API, and a UI for submitting reports
authorEugen Rochko <eugen@zeonfederated.com>
Tue, 14 Feb 2017 19:59:26 +0000 (20:59 +0100)
committerEugen Rochko <eugen@zeonfederated.com>
Tue, 14 Feb 2017 19:59:26 +0000 (20:59 +0100)
commit3b81baaaaf51ff1c70fb1f865eef07fdb33a5950
treefd3c5f038bdc3dcf08c3747220027160084329de
parent40a40537326aa168d20324bd8bd0e979d5083570
Adding POST /api/v1/reports API, and a UI for submitting reports
26 files changed:
app/assets/javascripts/components/actions/compose.jsx
app/assets/javascripts/components/actions/reports.jsx [new file with mode: 0644]
app/assets/javascripts/components/components/status_action_bar.jsx
app/assets/javascripts/components/containers/mastodon.jsx
app/assets/javascripts/components/containers/status_container.jsx
app/assets/javascripts/components/features/account/components/action_bar.jsx
app/assets/javascripts/components/features/account_timeline/components/header.jsx
app/assets/javascripts/components/features/account_timeline/containers/header_container.jsx
app/assets/javascripts/components/features/report/components/status_check_box.jsx [new file with mode: 0644]
app/assets/javascripts/components/features/report/containers/status_check_box_container.jsx [new file with mode: 0644]
app/assets/javascripts/components/features/report/index.jsx [new file with mode: 0644]
app/assets/javascripts/components/features/status/components/action_bar.jsx
app/assets/javascripts/components/features/status/index.jsx
app/assets/javascripts/components/reducers/index.jsx
app/assets/javascripts/components/reducers/reports.jsx [new file with mode: 0644]
app/assets/stylesheets/components.scss
app/assets/stylesheets/forms.scss
app/controllers/api/v1/reports_controller.rb [new file with mode: 0644]
app/models/report.rb [new file with mode: 0644]
app/views/api/v1/reports/index.rabl [new file with mode: 0644]
app/views/api/v1/reports/show.rabl [new file with mode: 0644]
config/routes.rb
db/migrate/20170214110202_create_reports.rb [new file with mode: 0644]
db/schema.rb
spec/fabricators/report_fabricator.rb [new file with mode: 0644]
spec/models/report_spec.rb [new file with mode: 0644]