From 01e6e78c717422870df54698c5c08a5b85915c7c Mon Sep 17 00:00:00 2001 From: Patrick Fic Date: Mon, 20 Apr 2020 14:14:41 -0700 Subject: [PATCH] BOD-25 BOD-24 Uploading to cloudinary + thumbnail generation --- bodyshop_translations.babel | 70 ++++- client/package.json | 4 +- .../documents-upload.container.jsx | 221 +++++----------- .../global-loading-bar.component.jsx | 82 +++--- .../components/header/header.component.jsx | 14 + .../jobs-detail-labor.component.jsx | 2 +- ...bs-document-gallery.download.component.jsx | 24 ++ .../jobs-documents-gallery.component.jsx | 110 +++----- ...obs-documents-gallery.delete.component.jsx | 72 +++++ .../time-ticket-modal.component.jsx | 9 - client/src/graphql/bodyshop.queries.js | 1 + client/src/graphql/documents.queries.js | 1 + client/src/translations/en_us/common.json | 5 + client/src/translations/es/common.json | 5 + client/src/translations/fr/common.json | 5 + client/src/utils/DocHelpers.js | 14 - client/yarn.lock | 245 +----------------- .../down.yaml | 5 + .../up.yaml | 5 + .../down.yaml | 45 ++++ .../up.yaml | 46 ++++ .../down.yaml | 46 ++++ .../up.yaml | 44 ++++ .../down.yaml | 5 + .../up.yaml | 5 + .../down.yaml | 35 +++ .../up.yaml | 37 +++ .../down.yaml | 37 +++ .../up.yaml | 39 +++ .../down.yaml | 37 +++ .../up.yaml | 39 +++ server.js | 3 +- server/media/media.js | 12 +- 33 files changed, 784 insertions(+), 540 deletions(-) create mode 100644 client/src/components/jobs-documents-gallery/jobs-document-gallery.download.component.jsx create mode 100644 client/src/components/jobs-documents-gallery/jobs-documents-gallery.delete.component.jsx delete mode 100644 client/src/utils/DocHelpers.js create mode 100644 hasura/migrations/1587398898639_alter_table_public_bodyshops_add_column_textid/down.yaml create mode 100644 hasura/migrations/1587398898639_alter_table_public_bodyshops_add_column_textid/up.yaml create mode 100644 hasura/migrations/1587398906593_update_permission_user_public_table_bodyshops/down.yaml create mode 100644 hasura/migrations/1587398906593_update_permission_user_public_table_bodyshops/up.yaml create mode 100644 hasura/migrations/1587398924400_update_permission_user_public_table_bodyshops/down.yaml create mode 100644 hasura/migrations/1587398924400_update_permission_user_public_table_bodyshops/up.yaml create mode 100644 hasura/migrations/1587408177344_alter_table_public_documents_add_column_type/down.yaml create mode 100644 hasura/migrations/1587408177344_alter_table_public_documents_add_column_type/up.yaml create mode 100644 hasura/migrations/1587408195798_update_permission_user_public_table_documents/down.yaml create mode 100644 hasura/migrations/1587408195798_update_permission_user_public_table_documents/up.yaml create mode 100644 hasura/migrations/1587408202367_update_permission_user_public_table_documents/down.yaml create mode 100644 hasura/migrations/1587408202367_update_permission_user_public_table_documents/up.yaml create mode 100644 hasura/migrations/1587408207340_update_permission_user_public_table_documents/down.yaml create mode 100644 hasura/migrations/1587408207340_update_permission_user_public_table_documents/up.yaml diff --git a/bodyshop_translations.babel b/bodyshop_translations.babel index b23fcd446..609ef9e7d 100644 --- a/bodyshop_translations.babel +++ b/bodyshop_translations.babel @@ -1,4 +1,4 @@ - +