Commit Graph

44 Commits

Author SHA1 Message Date
c94dc1e73e Admin/Public: improve comments UX and photo navigation
Split comment users and comment moderation into separate admin sections, and add comment search by photo and user for faster moderation. Rework public photo viewing with full-frame repeated watermarking, in-section prev/next navigation, sticky desktop sidebar, and a mobile bottom nav with section return and photo position.
2026-02-21 11:52:02 +03:00
25aae39bd8 Admin: modal comments and async photo rotation
Open per-photo comments in a modal overlay from the photo table instead of navigating away, and keep deletion inline. Make rotate controls submit via AJAX so preview updates without page reload or scroll jump, while tightening button layout for cleaner action groups.
2026-02-21 11:35:33 +03:00
728050ced9 Admin: clarify photo description and add comment indicators
Rename the photo field label to avoid confusion with user comments and show comment count indicators in photo actions. Let admins open a per-photo comment view from the indicator and remove comments directly from that filtered list.
2026-02-21 11:26:49 +03:00
8dce294249 Admin: add photo rotation controls under previews
Let admins fix wrong image orientation directly in the photo table by rotating both before and after files. Add per-preview left/right 90-degree controls and rotate files on disk so changes apply everywhere immediately.
2026-02-21 11:04:41 +03:00
a0d7e0131d Public: switch to CSS-only image placeholders
Replace JS-driven loading behavior with a pure CSS skeleton background so gallery cards remain fully native links. Drop click interception and deferred JS loaders to keep photo-page navigation immediate while images are still loading.
2026-02-20 19:10:24 +03:00
0eefcf6b04 Public: defer category image fetch and unblock card navigation
Avoid navigation stalls on cold loads by delaying thumbnail requests until cards are near viewport. Stop in-flight page downloads on card click so opening a photo page is immediate even while list images are still loading.
2026-02-20 19:06:18 +03:00
92e606a87e Public: lazy-load category images for faster navigation
Prevent photo-page opens from feeling blocked while a category list is still loading. Defer thumbnail fetches and lower their fetch priority, while keeping detail images high priority for quicker render after navigation.
2026-02-20 19:00:22 +03:00
09dea4a072 Public: show loading spinner for gallery images
Make image loading feedback visible on the public gallery so users see progress on slower connections. Add a lightweight spinner overlay for list/detail photos and clear it automatically once each image finishes or fails.
2026-02-20 18:50:29 +03:00
48bb460749 Admin: split sections/photos workflows in sidebar
Separate section management from photo management to keep the admin navigation clear and focused. Add autosave for section edits, stronger double-confirmation on section removal, and explicit cleanup of before/after files when a section is deleted.
2026-02-20 18:25:33 +03:00
b241c9b9b3 Admin: add section rename and delete actions
Let admins manage section names and ordering from the media sidebar without manual DB edits. Add safe section deletion in admin flow and remove the section storage folder after DB cascade cleanup.
2026-02-20 18:20:03 +03:00
ebca47f3c5 Public: mobile sidebar drawer for inner pages
Keep the sections sidebar visible on the home screen but collapse it on inner pages to save space on phones. Add a menu toggle, overlay close controls, and edge-swipe gestures so navigation stays quickly accessible on touch devices.
2026-02-20 18:14:12 +03:00
Alex Assistant
b2acf44054 UI: align footer author to the right 2026-02-20 15:29:16 +03:00
Alex Assistant
c29eaa897b Public: disable context menu and drag on images 2026-02-20 15:28:29 +03:00
Alex Assistant
f76c869a97 Public: remove subtitle and restore footer author link 2026-02-20 15:27:47 +03:00
Alex Assistant
885dfda729 README: add Timeweb DB setup steps and charset note 2026-02-20 15:19:23 +03:00
Alex Assistant
a8ca2ff592 Fix comment save on hosts without mbstring extension 2026-02-20 15:16:05 +03:00
Alex Assistant
0995989b56 Public badge for restored photos and commenter link retrieval/regeneration 2026-02-20 15:13:46 +03:00
Alex Assistant
9207c739fc Admin: move welcome message editor to dedicated sidebar menu section 2026-02-20 15:09:42 +03:00
Alex Assistant
0e357c0e42 Public: stacked before/after and editable welcome text; admin media/comments mode polish 2026-02-20 15:08:13 +03:00
Alex Assistant
f97064ab8b Fix autosave fetch URL shadowed by input[name=action] 2026-02-20 15:01:38 +03:00
Alex Assistant
2db58562f1 Fix admin autosave endpoint to explicit admin.php with token 2026-02-20 14:57:26 +03:00
Alex Assistant
60c0641608 Fix admin autosave transport: robust AJAX detection and JSON parsing 2026-02-20 14:55:45 +03:00
Alex Assistant
62837855ef Fix autosave reliability and show after preview via non-ajax file upload 2026-02-20 14:53:09 +03:00
Alex Assistant
b923b894e9 Admin: sidebar modes, autosave photo cards, after previews and lightbox 2026-02-20 14:49:02 +03:00
Alex Assistant
eab63dcfa8 Admin UI: sidebar mode switch and fix broken thumbnails 2026-02-20 14:44:27 +03:00
Alex Assistant
e45fd0dcb0 Switch main app to MySQL flow and restore section-first bulk upload UX 2026-02-20 14:39:42 +03:00
Alex Assistant
8a0b5aad55 Add MySQL public gallery, token commenters and watermark for restored photos 2026-02-20 14:20:01 +03:00
Alex Assistant
d8fbe939a9 Add MySQL admin v1: sections and photo upload before/after 2026-02-20 14:16:03 +03:00
Alex Assistant
aa2f064d08 Fix migration runner for MySQL DDL implicit commit 2026-02-20 14:13:59 +03:00
Alex Assistant
883ff30877 Start MySQL implementation: config template, PDO layer and migrations 2026-02-20 14:07:50 +03:00
Alex Assistant
e22476da57 Fix redirect loop: robust HTTPS + non-www rules 2026-02-19 18:00:35 +03:00
Alex Assistant
6b72b57184 Add .htaccess redirects to HTTPS and non-www 2026-02-19 17:59:00 +03:00
Alex Assistant
31efcd44ab Update gallery subtitle text 2026-02-19 17:50:04 +03:00
Alex Assistant
8d93605093 Add favicon and subtle footer author link 2026-02-19 17:46:46 +03:00
Alex Assistant
9635859c2e Update README with sorting, admin flow, covers and cache-busting 2026-02-19 17:42:10 +03:00
Alex Assistant
fa3fb2c77c Add cache-busting version param for CSS/JS assets 2026-02-19 17:38:14 +03:00
Alex Assistant
0bb5b4dcf9 Show category cover thumbnails on public gallery 2026-02-19 17:35:27 +03:00
Alex Assistant
b789085c33 Add sort index auto-cleanup and thumbnails in admin photo list 2026-02-19 17:29:30 +03:00
Alex Assistant
23f2d03b1e Move photo upload into selected category section 2026-02-19 17:22:40 +03:00
Alex Assistant
58a29a3d3b Extend admin: rename/delete/sort categories and photos 2026-02-19 17:17:03 +03:00
Alex Assistant
0a8d0ade23 Add token-protected admin panel for categories and photo uploads 2026-02-19 17:08:27 +03:00
Alex Assistant
9196452688 Show photo titles from filenames in catalog and lightbox 2026-02-19 17:03:10 +03:00
Alex Assistant
6c57f8d5a7 Add secure deploy webhook with local config example 2026-02-19 16:57:09 +03:00
Alex Assistant
b5c49caeb2 Init photo gallery with auto-indexing, thumbs, UI, deploy script 2026-02-19 16:37:51 +03:00