Upload-size checks before publishing
Report forms now catch oversized evidence selections in the browser before submission, using the deployment's configured upload limit.
Details
- Added a combined-size check for evidence chosen across repeated file-picker selections and drag-and-drop actions.
- Oversized selections now show an accessible inline warning and prevent new-report or edit-report submission until enough files are removed.
- The form reads MAX_CONTENT_LENGTH_MB from the server, so its displayed limit and browser-side check follow deployment configuration instead of assuming 50 MB.
- The existing server-side request-size limit remains in place as the authoritative fallback.
Rotatable, reorderable evidence media
Evidence images and videos can now be corrected and arranged before publishing or while editing a report, with persistent ordering and more reliable thumbnail storage.
Details
- Added rotate-left and rotate-right controls to newly selected images and videos on both new-report and edit-report forms.
- Existing evidence can also be rotated while editing; image changes invalidate the old thumbnail, and a backup restores the original media if saving fails.
- Added up/down controls and drag-and-drop reordering that persist one media order across existing evidence and newly selected files; the first item in that order becomes the report cover.
- Added an automatic database migration and legacy backfill for stored media positions.
- Thumbnail files are still generated automatically when missing, and new uploads, rotated media, and generated thumbnails now use deployment-readable file permissions.
- Application startup repairs missing read permissions on existing uploads and thumbnails, preventing owner-only cache files from blocking SFTP backups or deployment access.
Related shops, removable evidence, and evenly sized report cards
Reports can now list the shops they are connected to, either by linking an existing ShopAlert report or by naming a shop that is not on ShopAlert. Files chosen for supporting proof can also be removed again before the report is submitted. Report cards now keep their excerpt to the same three lines, so a listing no longer looks ragged when reports differ in length.
Details
- Added an optional Related shops section to the report form that accepts up to 10 entries per report.
- Searching by shop name or address lists existing reports; selecting one links to that report, so its name and address stay current and the entry disappears if the report is archived or deleted.
- Shops that are not on ShopAlert can be added by hand with a name and an optional address or public link.
- Related shops appear on the report detail page, where linked reports open directly.
- Each file chosen as supporting proof now has a remove button on its preview, so a wrong selection can be dropped without clearing the whole list.
- Report card excerpts now always occupy three lines and are cut with an ellipsis, so cards in the same row align instead of shifting with the length of each report.
A faster home page: recent reports, scroll loading, and lighter images
The home page now opens with the most recent community reports instead of the entire record, loads further reports automatically as the page is scrolled, and shows small cached cover images rather than full-size uploads.
Details
- The home page opens on the newest reports under a Recent reports heading instead of rendering the whole community record at once.
- Scrolling toward the end of the list loads the next reports in place, for the recent view as well as for keyword and nearby results.
- A Load more reports button remains available and still works without JavaScript, where it reloads the page with the reports already listed plus the next batch.
- Added the HOME_RECENT_REPORTS_COUNT setting, which controls how many reports each batch contains and defaults to 9.
- Report cards, the My reports list, the evidence thumbnail rail, and the edit form now load a small cached copy of each image instead of the full-size upload, which cut the cover images on a sample home page by about 86 percent.
- Thumbnails are generated once on first request, reused afterwards, removed together with their report, and replaced by the original file whenever an image cannot be processed.
Open-source licensing and safer administrator controls
ShopAlert now publishes its source code under the MIT License, lets a deployment manage the administrator account from environment variables, and makes destructive account controls clearer in the dashboard.
Details
- Released the ShopAlert source code under the MIT License and updated the licenses page to reference the new LICENSE file instead of stating that no project license exists.
- Added an optional ADMIN_PASSWORD setting that creates the administrator account at startup when it is missing and keeps its password in sync with the configured value.
- Added an optional ADMIN_USERNAME setting that fixes the administrator's login username, so the account can sign in with either that username or the configured email address.
- Stopped offering the ban control on the administrator's own dashboard card, showing a disabled button and the reason instead of rejecting the action only after it is submitted.
- Restyled the ban action with the same destructive-action color already used for report deletion, while leaving ban removal in the neutral style.
- Excluded local operational files, deployment scripts, and database backups from the Docker build context so they cannot reach a published image.
A clearer report-creation workflow
Creating a report now keeps every proof selection, previews media before publishing, and clearly tracks the current form section while scrolling.
Details
- Changed the supporting-proof picker so files selected or dropped in multiple actions are appended instead of replacing earlier selections.
- Added responsive image and video thumbnail cards beneath the proof picker, including filenames, file sizes, editable display names, and a video play indicator.
- Made the report-form progress indicator follow the current shop-details, report-details, or supporting-proof section as the page scrolls.
Searchable hashtags and privacy transparency
Reports now support searchable hashtags, while ShopAlert clearly explains its data practices and the privacy implications of public reports and optional external services.
Details
- Added account profiles with profile-picture management, verified password changes, and a consolidated view of the user’s own reports.
- Added unique login usernames that can be chosen at sign-up, changed from the profile, and used instead of an email address when logging in.
- Expanded the administrator role with report archive/restore and permanent deletion, user ban/restore controls, and administrator password resets.
- Added optional hashtags to report creation and editing, with Enter-to-label input, language-aware suggestions, popular hashtag shortcuts, validation, clickable display chips, and keyword search.
- Added an IP-country language default for visitors without a saved preference and localized report timestamps using the visitor's timezone.
- Moved preferences from the header to the profile and footer, with separate selectors for language, appearance, and color.
- Published a bilingual introduction page explaining ShopAlert’s purpose, reporting workflow, and responsible-use boundaries.
- Added a live similar-report check that compares shop names, addresses, Google Place IDs, and coordinates, with matched reports previewed in an in-page dialog that preserves the draft.
- Last-updated timestamps now stay hidden until a report has actually been edited.
- Published a bilingual privacy policy covering accounts, public submissions, evidence media, administrator contacts, location search, cookies, browser storage, external services, retention, security, and user choices.
- Added direct privacy-policy access from the site footer and contact information for privacy and data requests.
- Created a ShopAlert storefront-and-alert website icon with SVG, ICO, Apple touch, and installable app-icon formats.
Online shops, preferences, and project information
Reports now support online-only shops, while visitors can tailor the interface and review how ShopAlert evolves.
Details
- Added editable display filenames for newly selected and existing evidence media while retaining randomized server storage names.
- Added a live current/total media index to report evidence galleries.
- Localized Google Place Autocomplete and stored both English and Traditional Chinese formatted addresses so existing report views switch with the interface language.
- Added up to 10 validated controversy/source URLs with Cloudflare URL Scanner checks, fail-closed malicious-link blocking, a cached server-generated screenshot, and confirmation on detail pages.
- Added persistent failed-login limits with configurable retry windows, timed lockouts, and Retry-After responses.
- Added optional Cloudflare Turnstile verification to login and sign-up, including server-side action and hostname checks.
- Added a report-specific administrator contact window and a protected inbox for reviewing and resolving submitted concerns.
- Changed evidence images to open in an accessible in-page preview instead of a new browser tab.
- Added persistent last-updated timestamps to report details and redesigned date placement on desktop management cards.
- Added a private My reports page and owner-only editing for report details, social links, and supporting evidence.
- Reworked report evidence into a contained stage with image and video thumbnails that remains usable on narrow screens.
- Assigned every report a stable GUID for public URLs while preserving redirects from legacy numeric links.
- Added an online-shop option that removes the physical-address requirement and excludes the report from nearby searches.
- Added complete English and Traditional Chinese interfaces with a persistent language selector.
- Added light and dark themes plus a system mode that follows operating-system appearance changes.
- Published a bilingual update timeline and a dedicated license and attribution page.
- Kept preference controls accessible and responsive across desktop and mobile navigation.
Evidence-led shop reports
ShopAlert launched with the core tools needed to document and discover community concerns about shops.
Details
- Added secure account registration, sign-in, remembered sessions, and sign-out.
- Required at least one supporting image or video for every published shop report.
- Added shop details, controversy descriptions, official social links, and optional Google Place Autocomplete.
- Added keyword search and nearby filtering using browser geolocation and selectable distance ranges.
- Added responsive report cards, evidence galleries, allegation notices, and responsible-reporting guidance.
A secure Flask foundation
The first release established a small, maintainable application that runs locally with SQLite by default.
Details
- Built the application with Flask, SQLAlchemy, server-rendered Jinja templates, and vanilla JavaScript.
- Added password hashing, CSRF protection, safe redirects, randomized upload names, and upload validation.
- Made SQLite the zero-configuration default while retaining support for another SQLAlchemy database URL.
- Added automated coverage for authentication, access control, reporting, media delivery, and search.