Repository navigation
Conversation
…t contacts from the station being logged.
Update logbook search to accept the callsign as a query parameter and centralize search-term resolution in the controller. This preserves multi-part callsigns like portable or route-style suffixes, keeps exact-match handling intact, and ensures database and external callbook lookups use the normalized full callsign.
CI_Driver_Library loads drivers into undeclared properties (CI_Cache::$file, CI_Cache::$dummy), which PHP 8.2+ reports as "Creation of dynamic property ... is deprecated". Mark CI_Driver_Library and CI_Driver with #[AllowDynamicProperties], as already done for CI_Controller and CI_Loader. On PHP 7.x the attribute is parsed as a comment, and subclasses such as CI_Cache inherit it. Fixes #3146
Use CodeIgniter's standard CI_ENV lookup instead of hardcoding ENVIRONMENT. The default stays 'development', so existing installs behave exactly as before; deployments can opt into production with `SetEnv CI_ENV production` (Apache) or `fastcgi_param CI_ENV production` (nginx) instead of editing index.php, which conflicts on every update.
…tion Fix CI_Cache dynamic property deprecation on PHP 8.2+
Allow selecting the environment via CI_ENV
Also sync the Club Log satellite map in AdifHelper with the LoTW map (TEVEL2-1..9, RS95S).
Adds SKCC-SKS, SKCC-SKSA, SKCC-SKSE and SKCC-WES to the contest table.
Default runtime environment was set to development, which can expose debug behavior in normal deployments. This change makes the app default to production unless CI_ENV is explicitly set, aligning the behavior with production-safe defaults.
POST mode looks the prefix up on the QSO date, treats a two-digit year such as 67 as the previous century, and keeps the entity badge readable when the name contains an apostrophe.
The four bulk update methods in Logbookadvanced_model address QSOs by COL_PRIMARY_KEY, and authorize(2) only proves that the session belongs to a logged-in user - a primary key says nothing about ownership. Any user could therefore modify another user's QSOs by passing their IDs. Scope every one of these updates to the station profiles the requesting user owns. This reuses the same owner rule the read side already applies in getQsosForAdif(), so a user can no longer tick (or forge) a row they should not be able to write. Ownership is enforced inside the SQL rather than by pre-filtering the ID list, so IDs that are not owned simply stop matching instead of raising an error.
Add an unauthenticated plugins/cron endpoint that fires cron.action.run, for operators to call from crontab, and fire qso.action.before_delete from Logbook_model::delete() with a QSO snapshot.
The helper only checked that station_id existed in station_profile, ignoring user_id. Scope the query by user_id so updateStationLocation cannot assign another user's station profile. Co-authored-by: Peter Goodhall <magicbug@users.noreply.github.com>
…owner Scope bulk QSO updates to the owning user
Apply owner-only station_id scoping (matching Logbookadvanced_model bulk fix in #3477) to paperqsl_update, paperqsl_update_sent, and qsl_rcvd(). Return Error from qsl_rcvd_ajax and qsl_sent_ajax when no owned QSO matches. Spotted by raufaser in #3477. Co-authored-by: Peter Goodhall <magicbug@users.noreply.github.com>
Scope single-QSO QSL updates to the owning user
Adds migration 285_tag_2_8_20 which sets the stored version option to 2.8.20 and resets the version dialog confirmation so users see the release info. The down() method reverts the version to 2.8.19. Bumps migration_version to 285 in the migration config.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.