Commit graph

50 commits

Author SHA1 Message Date
Peter Goodhall
1aff7dcf50 Make logbook header and table responsive
Add responsive styles and restructure header markup for better mobile layout (flex column on small, row on md+; full-width diary button on small). Update echo_table_header_col() and echo_table_col() to accept an optional CSS class and apply it to th/td elements. Apply Bootstrap responsive utility classes (d-none d-sm-/d-md-/d-lg-table-cell) to hide less-important columns on smaller screens and adjust time column visibility. These changes improve readability on narrow viewports while preserving existing tooltips and badges.
2026-05-07 22:19:02 +01:00
Peter Goodhall
69dd06c225 Add Quill editor styles to views
Add comprehensive Quill .ql-editor CSS (typography, spacing, headings, lists, blockquotes, pre/code, tables, images, links, hr) to notes/add.php, notes/edit.php and view_log/index.php to improve editor and rendered content readability and ensure consistent styling. Note: the inserted CSS in notes/edit.php appears to have a missing/ mis-nested closing brace which may break the stylesheet and should be corrected.
2026-03-09 14:02:15 +00:00
Peter Goodhall
f8dffa8776 Add image shortcodes and caption editing
Support inline diary images via shortcodes and improve notes UI. Introduces a Note::process_image_shortcodes() method (ID/caption lookup and modifiers like left/right/center/small/medium/large), and updates station diary rendering to process shortcodes and avoid duplicate image output. Adds an AJAX endpoint notes/update_image_caption with ownership checks to save image captions, plus client-side JS to edit/save captions from the note edit view. Refactors notes add/edit views: reorganized form into sections/accordion, Quill editor min-height, image upload tips, improved buttons and layout, and QSO summary layout tweaks.
2026-03-08 14:36:56 +00:00
Peter Goodhall
50c24aede1 Add public station diary & QSO filters
Introduce Public Station Diary feature and QSO filtering support.

- Add migrations: 255 adds public_station_diary_enabled option (default enabled), 256 adds qso_date_start, qso_date_end, qso_satellite_only columns to notes.
- Bump migration version to 256.
- Add controller actions (Options::public_diary, public_diary_save) and new options view to manage the public diary setting; add sidebar link.
- Extend Note model to persist QSO filter fields and provide new methods to fetch QSO lists/summaries for date ranges and satellite-only filtering; wire filter usage into summary generation.
- Update notes add/edit views to include QSO Summary Filters (date range + satellite-only).
- Add translations for the new options keys across multiple language files.
- Update public station diary listing view styling/path and minor content cleanup; other views updated to support feature.
- Remove obsolete cache files (.htaccess, index.html).

These changes enable admins to toggle a public station diary and let note authors control which QSOs are included in summaries via date ranges and SAT-only filtering.
2026-03-08 13:34:31 +00:00
Peter Goodhall
ee69b8ad74 Mirror diary form messages to modal footer
Add a dedicated footer message container and client-side logic to mirror form messages into the modal footer. Removed the `required` attribute from the quick logbook select, introduced `#diaryFormFooterMessages`, and added a MutationObserver + htmx:afterSwap listener to copy content from `#diaryFormMessages` to the footer. Also consolidated error rendering into a single HTML snippet and clear both message areas when the modal closes. This surfaces HTMX/server messages in the modal footer for better visibility and avoids duplicated message handling.
2026-03-08 11:53:52 +00:00
Peter Goodhall
dbed529f5d Require logbook for QSO summary; fix band ordering
Add numeric band sorting in Note model and make logbook selection required when including a QSO summary. Note model: select COL_BAND+0 as band_num and order by band_num to ensure proper numeric ordering. Views (notes/add, notes/edit, view_log/index): update labels and placeholder option text, mark the logbook <select> as required, adjust helper text, and add JS to toggle the required attribute and visibility based on the "Include QSO summary" checkbox (including setting initial state for validation).
2026-03-08 11:48:17 +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
a4ec01a8ea Add Station Diary modal and quick_add endpoint
Introduce a Station Diary UI and backend endpoint to allow quick note creation via HTMX. Added Notes::quick_add in the controller with form validation, note creation, success/error responses and a small JS form reset. Updated view_log/index to show a Station Diary button (when user_show_notes=1) and include the modal form that posts to notes/quick_add and renders messages into the modal.
2026-02-12 22:08:55 +00:00
abarrau
6d39b92d5c add special class for all map 2023-12-09 10:44:26 +01:00
HB9HIL
8c4bae8453 run migration script 2023-11-14 13:35:53 +01:00
Peter Goodhall
2f8056e873 {Logbook] Added a heading under nav to show current logbook and location name. 2023-08-14 14:48:22 +01:00
Peter Goodhall
f3f50b45ad Revert "Merge pull request #2147 from cats-shadow/view-decoration"
This reverts commit 596480f029, reversing
changes made to a8f93191c2.
2023-05-23 21:45:32 +01:00
cats-shadow
cf33aac012 Sepatate CSS classes for decoration station logbook name and station location name. 2023-05-18 11:18:46 +03:00
cats-shadow
36234ad4c2 Transformed decoration to CSS class 2023-05-18 11:12:36 +03:00
cats-shadow
df0c64a67d [Visual decorations] Small decoration for header of the log overview view. 2023-05-16 21:29:44 +03:00
Andreas
ac2cdc6e58 [Translation] Replaced all language string from $this->lang->line to lang 2023-05-14 13:45:10 +02:00
Andreas
e32ebe35a8 [Map options] Added options for map on dashboard and in logbook 2023-04-29 18:44:35 +02:00
Andreas
a28eb44ac4 Fix for Logbook Model - now loads without a logbook defined. Fixed #1481 2022-07-02 23:40:04 +02:00
phl0
798d6315fd
Add logbook and station profile name to Logbook page 2022-05-02 12:38:55 +02:00
Peter Goodhall
e85c9a6ec0 [Logbook][Translate] Forgot the damn heading #fail 2021-01-05 17:37:01 +00:00
Andreas
f494b55491 Added bootstrapdialog in dashboard, logbook and search. I think that should cover it. 2020-09-24 20:22:09 +02:00
Peter Goodhall
a2f572809a Made the world map full width on the /logbook page to match dashboard 2020-08-23 16:42:23 +01:00
Peter Goodhall
be6e47d0d5 Logbook options are now a cog dropdown to clean up the interface 2019-06-16 15:29:31 +01:00
Peter Goodhall
e2ff5d77c1 Logbook interface updated 2019-05-14 16:46:16 +01:00
Peter Goodhall
1690bd1bb8 Fixed OSM maps to display only QSOs being displayed in table 2018-11-27 14:15:06 +00:00
=
fd6e815b93 Made zoom a variable, changed Social/maps to use OpenStreetMap 2018-11-26 20:24:14 +00:00
=
c33865a8c5 Move from GoogleMaps to OpenStreeMap 2018-11-25 14:21:12 +00:00
Andy
c40eb37f40 more changes 2016-02-12 16:31:29 +00:00
Peter Goodhall
6df862b135 bands are always shown with a lowercase m 2014-01-08 18:05:14 +00:00
Peter Goodhall
7dbf66c3a9 if callsign_tags is set to true in config.php the logbook page displays what callsign made the qso based on col_operator or col_station_callsign 2013-08-06 23:24:23 +01:00
Peter Goodhall
44558d7d39 Moved edit QSO to Bootstrap style, made QSL infos into tabs, and adjusted layout still needs work 2013-02-20 23:23:30 +00:00
Peter Goodhall
53d27e9844 Maps now centre on stored locator in a user profile if logged in.issue #56 2012-11-30 16:16:43 +00:00
Peter Goodhall
d86b9d634c Serials TX/RX displayed inside labels for improved UI 2012-11-13 20:20:26 +00:00
Peter Goodhall
79de2357fe Serial number correctly stored from ADIF, displayed editable 2012-10-31 17:07:27 +00:00
Peter Goodhall
5c61da5082 Added QSL card status icons to logbook view if logged in 2012-05-20 15:54:05 +01:00
Peter Goodhall
1a57e4923f Uses site_url for logbook map pins 2011-11-24 16:14:54 +00:00
Peter Goodhall
01163e95e8 Major UI changes, some areas like search are broken 2011-11-06 23:09:51 +00:00
Peter Goodhall
cfdc1c4fb3 Moved the Edit Delete link futher away from the close icon 2011-10-21 19:48:30 +01:00
Peter Goodhall
c3f0ebd967 Edit functions moved to a popup window 2011-10-18 23:06:34 +01:00
Peter Goodhall
12706b313c All sorts of updates 2011-10-18 22:29:50 +01:00
Peter Goodhall
e02c92f28e Logbook: QSOs for each page displayed on map 2011-10-04 16:09:21 +01:00
Peter Goodhall
f682cbed97 QSO Popup boxes changed to fixed width 2011-09-28 16:41:45 +01:00
Peter Goodhall
8c2939873d Styled Logbook Pager System 2011-09-27 20:18:19 +01:00
Peter Goodhall
126ab6b1eb Added option to delete a qso when in the Edit QSO area" 2011-08-28 14:51:57 +01:00
Peter Goodhall
f7b531d3f4 QSO Lists: If QSO is a satellite QSO then rather than display band the satellite name is shown 2011-08-23 16:34:05 +01:00
Andy Smith
576df8be26 Further authentication changes. 2011-08-19 18:24:56 +01:00
Peter Goodhall
8ac7fbd70f changes to css, views, background code 2011-07-22 00:10:09 +01:00
Peter Goodhall
106e83044c Improved CSS, Log Viewing, and General Layout 2011-07-06 17:15:48 +01:00
Peter Goodhall
ec190cc61e Updated codebase added notes, new dashboard, search features 2011-06-17 13:52:00 +01:00
Peter Goodhall
f2b50c4573 Added Basic Files 2011-04-25 16:24:01 +01:00