Commit graph

20 commits

Author SHA1 Message Date
Peter Goodhall
476b59abc4 Add logbook sharing email notification
Introduces email notifications when a logbook is shared with a new user, including a new email template and improved error logging for email sending. Also enhances the test email UI with a loading spinner and updates error messages for better clarity.
2025-11-22 15:09:44 +00:00
Peter Goodhall
f2b8a3eeaa Redirect to edit page after logbook creation
After creating a new logbook, users are now redirected to the edit page for the newly created logbook instead of the logbooks list. The add method in Logbooks_model now returns the new logbook ID to support this change.
2025-11-22 14:38:53 +00:00
Peter Goodhall
b287af642b Add multi-user logbook sharing and permissions
Introduces logbook sharing with read, write, and admin permission levels via a new station_logbooks_permissions table and related migration. Updates controllers, models, and views to support managing collaborators, restricts sensitive actions to owners/admins, and adds UI for sharing management. Also adds user lookup by callsign and improves logbook/station location access logic.
2025-11-19 15:37:34 +00:00
Peter Goodhall
5ff5e12890 Add public radio status option to logbooks
Introduces a new 'public_radio_status' field to station logbooks, allowing users to enable or disable the display of radio status on public logbook pages. Updates migration, controllers, model, views, and language files to support this feature and provide UI controls for toggling the option.
2025-08-22 14:52:07 +01:00
Alex Johnstone
345c2f7515
typo 2023-08-23 22:05:31 +01:00
phl0
e2ef6c2b20
Add logbook setting for public search 2023-07-10 17:11:40 +02:00
phl0
7205a82d61
Add function to delete public slugs 2022-10-15 20:50:20 +02:00
Peter Goodhall
6b0e9b5eeb [Station Logbooks] Swapped layout so that it made more sense visually. 2022-02-11 11:23:33 +00:00
Peter Goodhall
56007fcfe4 [Station Logbooks] Code added for saving public slugs
Needs more validation added but its a start!
2022-02-09 22:51:46 +00:00
Peter Goodhall
4f2980a2a7 [Logbooks] Added system to check if a public slug is available 2022-02-09 22:29:29 +00:00
Thomas Werzmirzowsky
9ed56e7211 improvements to multi user support of stations/logbooks
- Set active logbooks checks if logbook belongs to user
- Link station to logbook checks that station and logbook belong to user
- Unlink station from logbook checks that station and logbook belong to user
- Edit of logbook only shows stations of user
- Set active station checks if station belongs to user
- find_active and find_gridsquare of Stations model now check user
2021-10-31 09:56:45 +01:00
Thomas Werzmirzowsky
d62ab2e7d4 added check for empty result from list_logbooks_linked
removed "echo" outputs as then the following redirect is not possible
2021-10-12 20:03:14 +02:00
Peter Goodhall
87d5c8e1b0 [Station Logbook] Improved edit interface 2021-10-12 15:19:39 +01:00
Peter Goodhall
ce1d7a5351 Code added to have an active logbook and code to set it all up 2021-09-07 18:07:48 +01:00
Peter Goodhall
56e7827fe7 Adds code to create relationship between logbook and location 2021-09-07 17:42:35 +01:00
Peter Goodhall
efac6b8d80 Base code for getting select options for station locations 2021-08-23 21:56:18 +01:00
Peter Goodhall
831f249938 Built interface to display station locations when editing Station Logbooks 2021-08-23 17:34:00 +01:00
Peter Goodhall
79d9167e8b [Station Logbooks] Added functions to handle editing 2021-08-12 21:10:43 +01:00
Peter Goodhall
ee0a93b48a [Station Logbooks] Added code to create and delete station logbooks 2021-08-12 20:36:01 +01:00
Peter Goodhall
ef65494eb6 [Station Logbooks] Added the basics for the index page 2021-08-12 20:17:18 +01:00