Commit graph

11 commits

Author SHA1 Message Date
Peter Goodhall
07c3527cb6 Render diary images & improve diary cache
Load and render station diary images inline and separately, and make cache handling more robust. Notes controller: load diary_images for print view and invalidate public diary cache when an image caption is updated. Stationdiary controller: include a render-version token in the public diary cache key to force re-renders when markup changes. Note model: make touch_public_diary_cache_version more resilient (unique value, fallback to file_put_contents and cache clean), add invalidate_public_diary_cache_for_note helper, and enhance process_image_shortcodes to handle encoded brackets, tolerant shortcode spacing, modifiers (alignment and size) with deterministic styling, and return used image ids. Views: update station_diary_print and note view to process shortcodes, remove empty paragraph artifacts, show inline images via shortcodes, and display remaining images with captions and improved print CSS.
2026-03-08 15:11:33 +00:00
Peter Goodhall
5d034d0963 Add public Station Diary with images & RSS
Introduce public Station Diary functionality: add global config flag, routes, controller, model changes, views and DB migrations. New migrations (252-254) add is_public/include_qso_summary, diary_images table and logbook_id on notes. Notes model updated to handle public flags, diary images, qso summaries, caching (per-user cache version), and helper methods for listing/counting public diary entries. New Stationdiary controller serves paginated public pages and RSS feed with caching. Notes controller updated to handle image uploads, attach images to diary entries, and provide an AJAX endpoint to delete images. Views updated to support public visibility options, logbook selector, image upload UI and Quill editor assets; routes and migration version bumped accordingly. Includes file upload example added to uploads/diary.
2026-03-08 11:42:41 +00:00
Peter Goodhall
bef1e54820 Show saved timestamp in notes views
Display the saved creation timestamp (including time) across notes list, note view, and edit form. Adds a human-readable "Saved" line in application/views/notes/edit.php and application/views/notes/view.php, and updates application/views/notes/main.php to include the time using the format "M d, Y \a\t g:i A". The date input in the edit form still uses a YYYY-MM-DD value for the date picker, and entries with empty or zero dates show "N/A".
2026-02-12 22:20:52 +00:00
Peter Goodhall
5c5bdf2f2f Add categories and management to notes feature
Introduces note categories with support for filtering, assigning, and managing categories. Adds category selection and creation to add/edit forms, category filtering to the notes list, and modals for deleting/merging categories and confirming note deletion. Updates controller and model logic to handle categories, and improves UI for notes management.
2026-01-09 13:17:56 +00:00
Andreas
ac2cdc6e58 [Translation] Replaced all language string from $this->lang->line to lang 2023-05-14 13:45:10 +02:00
Peter Goodhall
f507acde67 [Notes][Translate] Added Code to support translating UI to other langs 2021-01-11 15:22:48 +00:00
Peter Goodhall
46dfd35815 Added Quill WYSIWYG to Notes, added XSS to user area and Notes 2019-10-05 21:57:44 +01:00
Peter Goodhall
589d56a231 Notes User Interface updated 2019-05-13 18:28:16 +01:00
Peter Goodhall
01163e95e8 Major UI changes, some areas like search are broken 2011-11-06 23:09:51 +00:00
Peter Goodhall
925034e3e5 Added Name Field, QRA Lookup, Stats Tab 2011-07-24 23:33:08 +01:00
Peter Goodhall
ec190cc61e Updated codebase added notes, new dashboard, search features 2011-06-17 13:52:00 +01:00