Commit graph

18 commits

Author SHA1 Message Date
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
60fe6ddbf2 Format notes view templates
Normalize indentation, spacing and PHP/HTML formatting in application/views/notes/main.php and application/views/notes/station_diary_print.php. Changes are purely cosmetic (whitespace, indentation, minor spacing around concatenation and tags, and newline adjustments) to improve readability and consistency; no functional logic was modified.
2026-02-13 11:16:49 +00:00
Peter Goodhall
680612ca01 Add Station Diary print view & action
Add a Station Diary print feature: controller Notes.php now sets a has_diary_entries flag for the main notes view and adds a station_diary() action that loads Station Diary entries and renders a print-friendly view. The notes main view conditionally shows a "Station Diary" button that opens the print page in a new tab. A new view notes/station_diary_print.php provides a print-optimized layout, entry listing with date/time handling, total entries summary, a print button, and a friendly fallback when no entries are found.
2026-02-12 22:30:08 +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
0ca9484ef2 Improve created_at date handling in notes list
Updated the logic to display 'N/A' for invalid or empty created_at values, including the '0000-00-00 00:00:00' placeholder, ensuring more accurate date representation in the notes view.
2026-01-09 16:17:32 +00:00
Peter Goodhall
ae97ef5152 Add created_at to notes and enable date filtering
Introduces a migration to add a created_at timestamp to the notes table. Updates the Note model and Notes controller to support filtering notes by creation date, and enhances the notes view to include date filter fields and display the created date for each note. Migration version is incremented to 242.
2026-01-09 16:13:57 +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
b5d4e41806 [Translation] Replaced string $this->lang-line where no echo was used 2023-05-14 13:54:10 +02: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
Tobias Mädel
9191cfc332
Fix encoding on this file (convert to UTF8) 2018-12-18 00:05:29 +01:00
Peter Goodhall
01163e95e8 Major UI changes, some areas like search are broken 2011-11-06 23:09:51 +00:00
Peter Goodhall
77e12484c0 Added submenu to notes and improved notice if no notes exist 2011-09-28 12:06:41 +01:00
Peter Goodhall
925034e3e5 Added Name Field, QRA Lookup, Stats Tab 2011-07-24 23:33:08 +01:00
Peter Goodhall
8ac7fbd70f changes to css, views, background code 2011-07-22 00:10:09 +01:00
Peter Goodhall
ec190cc61e Updated codebase added notes, new dashboard, search features 2011-06-17 13:52:00 +01:00