-
- Downloads
Add CSV/XLS Pulse attachment support to the backend
This commit adds the backend pieces needed to attach CSV and XLS files of query results to Pulses. Attachment support is also there for Alerts. This is an opt-in feature for pulses and alerts. Users can update existing Pulses to include attachments or add them to a new pulse. The file(s) will only be attached when there are results. Fixes #6587, fixes #3894, fixes #2623
Showing
- resources/frontend_client/app/assets/img/attachment.png 0 additions, 0 deletionsresources/frontend_client/app/assets/img/attachment.png
- resources/frontend_client/app/assets/img/attachment@2x.png 0 additions, 0 deletionsresources/frontend_client/app/assets/img/attachment@2x.png
- resources/migrations/000_migrations.yaml 22 additions, 0 deletionsresources/migrations/000_migrations.yaml
- src/metabase/api/alert.clj 2 additions, 2 deletionssrc/metabase/api/alert.clj
- src/metabase/api/pulse.clj 5 additions, 2 deletionssrc/metabase/api/pulse.clj
- src/metabase/email/messages.clj 40 additions, 5 deletionssrc/metabase/email/messages.clj
- src/metabase/models/pulse.clj 29 additions, 14 deletionssrc/metabase/models/pulse.clj
- src/metabase/pulse.clj 1 addition, 1 deletionsrc/metabase/pulse.clj
- src/metabase/pulse/render.clj 58 additions, 16 deletionssrc/metabase/pulse/render.clj
- src/metabase/util/export.clj 21 additions, 3 deletionssrc/metabase/util/export.clj
- test/metabase/api/alert_test.clj 1 addition, 1 deletiontest/metabase/api/alert_test.clj
- test/metabase/api/pulse_test.clj 34 additions, 1 deletiontest/metabase/api/pulse_test.clj
- test/metabase/models/pulse_test.clj 15 additions, 8 deletionstest/metabase/models/pulse_test.clj
- test/metabase/pulse_test.clj 107 additions, 0 deletionstest/metabase/pulse_test.clj
- test/metabase/test/util.clj 3 additions, 1 deletiontest/metabase/test/util.clj
Loading
Please register or sign in to comment