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

v2.0.0 #114

Merged
merged 54 commits into from
Apr 25, 2023
Merged

v2.0.0 #114

merged 54 commits into from
Apr 25, 2023

Conversation

weaponsforge
Copy link
Owner

@weaponsforge weaponsforge commented Apr 25, 2023

Updates

#105, #106, #108. #113

  • Change password feature inside the /settings page, #30
  • Sidebar re-design
  • Export all Contacts or selected Contacts to CSV/PDF from the sidebar Download tab, #43
  • Update use-sync-v version to v2.0.16
  • Upload a Contact photo when creating a new Contact or updating an existing Contact, #39, #104
  • Delete a Contact photo along with Contact document deletion
  • Linked profile_picture_url to actual picture from firebase
  • 🆕 👉 Make Contact photos private - Store the Contact photo's Full Firebase Storage File path in the profile_picture_url field instead of the uploaded file's public Storage downloadURL
  • Display an option to resend the account verification email in the
    • /register page - when trying to register an unverified email
    • /account page - when signing in with an unverified email
  • Use a stricter set of Firebase Storage Security Rules for Contact photo uploads, #50
  • Display user-friendly generic Firebase permissions error messages when uploading Contact photos and creating/updating Contact documents
  • Fix page errors in the /account?mode=resend_email_verification and mode=resetPassword pages

Firebase Storage Rules Updates

  • Photo Image File Specifications
    • The new Storage Rules accepts image files of type .jpg, .jpeg, .png, .gif, .bmp and .webp
    • Image Files should not exceed 1 MB (megabyte)
  • Filename
    • The Firebase Storage file name should follow the pattern photo_{docId} without a file extension name.
    • For example, when uploading a "mountain.jpg" photo on Contact document HgKAzTCzoHaIBSvqYYCAEZBO9Qp1
      • Firebase Storage file name becomes photo_HgKAzTCzoHaIBSvqYYCAEZBO9Qp1
  • Full Firebase Storage File path
    • The Storage Rules only accepts a full Firebase storage file path following the pattern:
      • photos/{userId}/photo_{docId}
      • User uploads to other paths are blocked
    • Using "mountain.jpg" and the Contact document from the previous example,
      • Full Firebase Storage file path becomes: photos/XwLYjqlWbSMRJLqcwrS9wla1bzs1/photos_HgKAzTCzoHaIBSvqYYCAEZBO9Qp1
      • The total Firebase Storage file path string length should not exceed 100 characters
      • The {userId} path segment refers to a signed-in user's authId (uid). Users must be signed-in and have a valid Firebase Auth record:
        • emailVerified=true
        • custom claims account_level=2
  • Display an option to resend the account verification email in the
    • /register page - when trying to register an unverified email
    • /account page - when signing in with an unverified email

vikyw89 and others added 30 commits April 12, 2023 16:44
chore: added export contacts popup and event listener to cancel it
TODO: wire the export to backend
- changed export contact blur and background
- changed export radio button options
    - removed google csv and outlook csv
    - added pdf and csv
fix: bumped use-sync-v version and bug on /login
weaponsforge and others added 24 commits April 23, 2023 04:42
…reference in profile_picture_url instead of the public firestore downlodURL
- linked profile_picture_url to actual picture from firebase
put real profile_picture on /contacts with initial as fallback
@weaponsforge weaponsforge merged commit 6dc931b into master Apr 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants