Skip to content

Develop - #695

Merged
ShaneIsrael merged 10 commits into
mainfrom
develop
Aug 21, 2026
Merged

Develop#695
ShaneIsrael merged 10 commits into
mainfrom
develop

Conversation

@ShaneIsrael

Copy link
Copy Markdown
Owner

This pull request introduces two-factor authentication (TOTP) and login IP whitelisting to Fireshare, improves the video modal's responsive layout for short and narrow viewports, and enhances the login form to support the new multi-step authentication flow. It also includes minor UI improvements and updates the application version.

Security & Authentication Enhancements

  • Added support for TOTP two-factor authentication (MFA) and login IP whitelisting, including documentation and setup instructions in README.md and Security.md. The login form now supports a multi-step flow for MFA, including code entry and error handling. (README.md, app/client/src/components/forms/LoginForm.js) [1] [2] [3] [4] [5] [6]
  • The navigation bar now respects the loginAllowed prop, hiding the login button when login is disabled. (app/client/src/components/nav/MainNavbar.js) [1] [2]

UI/UX Improvements

  • The view count icon color now indicates private views with a red icon for better visibility across image and video cards. (app/client/src/components/cards/CompactImageCard.js, app/client/src/components/cards/CompactVideoCard.js, app/client/src/components/cards/MasonryImageCard.js) [1] [2] [3]
  • Improved touch device detection for video cards to use modern media queries, increasing reliability. (app/client/src/components/cards/CompactVideoCard.js)

Responsive Layout Improvements

  • Refactored the video modal layout logic for better handling of short and narrow viewports, ensuring the video and info panel remain accessible and visually balanced on all devices. (app/client/src/components/modal/VideoModal.js) [1] [2] [3] [4] [5] [6] [7]

Maintenance

  • Bumped the application version to 1.7.7 in package.json.

ShaneIsrael and others added 10 commits August 17, 2026 15:59
…ox (Changed isTouchDevice detection to check actual input device)
Fix wrong touch device detection causing all videos card to automatically start under certain conditions
OpenLDAP had no CA configured (the images ship ca-certificates but not
libldap-common's ldap.conf), so every LDAPS handshake failed with a bare
SERVER_DOWN. Connections now verify against the system CA bundle, with
LDAP_TLS_CACERT and LDAP_TLS_REQCERT for private CAs, and TLS failures log
what to actually check.

Also fixes LDAP_ENABLE=false, LDAP_STARTLS and DISABLE_ADMINCREATE being
treated as true for any value, implements the previously unused
LDAP_STARTLS, adds connect/operation timeouts, reconnects stale binds
instead of failing until restart, keeps serving when the LDAP server is
unreachable at startup, and unbinds the connection on a failed login.
@ShaneIsrael
ShaneIsrael merged commit 9e73899 into main Aug 21, 2026
10 checks passed
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