Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[HOLD for payment 2023-05-25] [HOLD for payment 2023-05-23] [Feature] Support all file types for attachments #11189

Closed
JmillsExpensify opened this issue Sep 21, 2022 · 68 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Daily KSv2 Engineering Internal Requires API changes or must be handled by Expensify staff NewFeature Something to build that is a new item.

Comments

@JmillsExpensify
Copy link

JmillsExpensify commented Sep 21, 2022

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Action Performed:

Try to upload a CSV, XLSX, HEIF or HEFV image. None of them work!

Expected Result:

We should support all file types, especially since we have an antivirus scanner handling all attachments.

Actual Result:

The upload files with the following error message.
image (2)

Workaround:

No workarounds

Platform:

  • Web
  • iOS
  • Android
  • Desktop App
  • Mobile Web

Version Number: 1.2.2-0
Reproducible in staging?: Yes
Reproducible in production?: Yes
Email or phone of affected tester (no customers): Everyone
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Expensify/Expensify Issue URL:
Issue reported by: @quinthar
Slack conversation: https://expensify.slack.com/archives/C01GTK53T8Q/p1663790246088889

View all open jobs on GitHub

@JmillsExpensify JmillsExpensify added AutoAssignerTriage Auto assign issues for triage to an available triage team member Daily KSv2 labels Sep 21, 2022
@melvin-bot
Copy link

melvin-bot bot commented Sep 21, 2022

Triggered auto assignment to @kevinksullivan (AutoAssignerTriage), see https://stackoverflow.com/c/expensify/questions/4749 for more details.

@melvin-bot melvin-bot bot removed the AutoAssignerTriage Auto assign issues for triage to an available triage team member label Sep 21, 2022
@kevinksullivan
Copy link
Contributor

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Daily KSv2 labels Sep 22, 2022
@kevinksullivan kevinksullivan added the External Added to denote the issue can be worked on by a contributor label Sep 22, 2022
@melvin-bot
Copy link

melvin-bot bot commented Sep 22, 2022

Current assignee @kevinksullivan is eligible for the External assigner, not assigning anyone new.

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Sep 22, 2022
@melvin-bot
Copy link

melvin-bot bot commented Sep 22, 2022

Triggered auto assignment to Contributor-plus team member for initial proposal review - @Santhosh-Sellavel (External)

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Sep 22, 2022
@kevinksullivan kevinksullivan added Engineering and removed Help Wanted Apply this label when an issue is open to proposals by contributors labels Sep 22, 2022
@melvin-bot
Copy link

melvin-bot bot commented Sep 22, 2022

Triggered auto assignment to @neil-marcellini (External), see https://stackoverflow.com/c/expensify/questions/7972 for more details.

@melvin-bot
Copy link

melvin-bot bot commented Sep 22, 2022

Current assignee @neil-marcellini is eligible for the Engineering assigner, not assigning anyone new.

@melvin-bot melvin-bot bot changed the title [Feature] Support all file types for attachments [$250] [Feature] Support all file types for attachments Sep 22, 2022
@neil-marcellini
Copy link
Contributor

Hmm is this a front end only error? What do you think @Santhosh-Sellavel?

@Santhosh-Sellavel
Copy link
Collaborator

@neil-marcellini

We have frontend restrictions but could be a backend too as per this comment

App/src/CONST.js

Lines 16 to 18 in 3780e0f

// Same as the PHP layer allows
ALLOWED_EXTENSIONS: ['jpg', 'jpeg', 'png', 'gif', 'pdf', 'html', 'txt', 'rtf', 'doc', 'docx', 'htm', 'tiff', 'tif', 'xml', 'mp3', 'mp4', 'mov'],

@melvin-bot melvin-bot bot added the Overdue label Sep 26, 2022
@neil-marcellini
Copy link
Contributor

Thanks for looking into that! I think we should make this internal since I imagine most of the work will be on the backend.

@melvin-bot melvin-bot bot removed the Overdue label Sep 26, 2022
@neil-marcellini neil-marcellini added Internal Requires API changes or must be handled by Expensify staff and removed External Added to denote the issue can be worked on by a contributor labels Sep 26, 2022
@neil-marcellini neil-marcellini removed their assignment Sep 26, 2022
@JmillsExpensify JmillsExpensify added the Daily KSv2 label May 3, 2023
@JmillsExpensify
Copy link
Author

The timing for this is super tight so I'm going to add the daily label back as well.

@youssef-lr
Copy link
Contributor

Draft PRs created and it's working nicely for me locally. PRs should be ready for review on Monday!

@melvin-bot melvin-bot bot added the Reviewing Has a PR in review label May 8, 2023
@rushatgabhane
Copy link
Member

rushatgabhane commented May 16, 2023

PR reviewed and merged!! 🚀

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Daily KSv2 labels May 16, 2023
@melvin-bot melvin-bot bot changed the title [Feature] Support all file types for attachments [HOLD for payment 2023-05-23] [Feature] Support all file types for attachments May 16, 2023
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label May 16, 2023
@melvin-bot
Copy link

melvin-bot bot commented May 16, 2023

Reviewing label has been removed, please complete the "BugZero Checklist".

@melvin-bot
Copy link

melvin-bot bot commented May 16, 2023

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.14-14 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:

If no regressions arise, payment will be issued on 2023-05-23. 🎊

After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.

  • External issue reporter
  • Contributor that fixed the issue
  • Contributor+ that helped on the issue and/or PR

As a reminder, here are the bonuses/penalties that should be applied for any External issue:

  • Merged PR within 3 business days of assignment - 50% bonus
  • Merged PR more than 9 business days after assignment - 50% penalty

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Weekly KSv2 labels May 18, 2023
@melvin-bot melvin-bot bot changed the title [HOLD for payment 2023-05-23] [Feature] Support all file types for attachments [HOLD for payment 2023-05-25] [HOLD for payment 2023-05-23] [Feature] Support all file types for attachments May 18, 2023
@melvin-bot
Copy link

melvin-bot bot commented May 18, 2023

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.15-12 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:

If no regressions arise, payment will be issued on 2023-05-25. 🎊

After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.

  • External issue reporter
  • Contributor that fixed the issue
  • Contributor+ that helped on the issue and/or PR

As a reminder, here are the bonuses/penalties that should be applied for any External issue:

  • Merged PR within 3 business days of assignment - 50% bonus
  • Merged PR more than 9 business days after assignment - 50% penalty

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels May 23, 2023
@JmillsExpensify
Copy link
Author

@youssef-lr quick question on this issue: Should it still be open?

@JmillsExpensify
Copy link
Author

Further, @rushatgabhane have been paid you out for this one? I see you reviewed one of the linked PRs.

@youssef-lr
Copy link
Contributor

I think we can close!

@JmillsExpensify
Copy link
Author

Alrighty!

@JmillsExpensify
Copy link
Author

@rushatgabhane please reach out over New Expensify if anything remains outstanding for you.

@anmurali
Copy link

anmurali commented Jul 1, 2023

I paid Rushat on New Dot

@JmillsExpensify
Copy link
Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Daily KSv2 Engineering Internal Requires API changes or must be handled by Expensify staff NewFeature Something to build that is a new item.
Projects
None yet
Development

No branches or pull requests