Commit graph

26 commits

Author SHA1 Message Date
Peter Goodhall
a1bc0f415e Use per-install temp dir for session files
Replace hardcoded '/tmp' sess_save_path with a dynamically generated temp directory based on sys_get_temp_dir() and a hash of the installation path (realpath(FCPATH)). Create the directory with 0700 permissions if it does not exist. Changes applied to application/config/config.sample.php and install/config/config.php to avoid shared /tmp collisions and improve session isolation/security.
2026-06-06 10:29:41 +01:00
Peter Goodhall
5a44ef4b4e Per-install encryption key and session checks
Replace hardcoded encryption key in installer with a %encryption_key% placeholder and generate a unique per-install key during installation (uses random_bytes, falls back to openssl_random_pseudo_bytes or sha1(uniqid)). Inject the generated key into config.php. Also tighten User_Model::validate_session(): return early if no user_id, clear session if user_hash is missing, re-read the user from the database to verify user_type before authenticating, and refresh or clear the session accordingly. These changes improve security by using a unique encryption key per install and by validating session state against persisted user data.
2026-06-06 10:25:45 +01:00
Peter Goodhall
22b67fb925 Add Portuguese language support to config
Added a case for 'portuguese' in the language selection switch statement to support Portuguese in the configuration.
2025-08-27 10:46:20 +01:00
Peter Goodhall
36f0a30923 Updated the install config with the latest parts for language. 2023-08-02 13:29:04 +01:00
Peter Goodhall
542f199295 [Version] Store version number in the options table
Store version number in the options table so that its easier to update for the frontend rather than the config.php which we don't really want to touch
2023-07-14 14:03:55 +01:00
Peter Goodhall
35a2c46783 Time to bump the version number to 2.4.4 2023-06-29 11:26:40 +01:00
Peter Goodhall
562a093795 Update config.php 2023-05-29 17:36:23 +01:00
Peter Goodhall
6a80ed8338 probably should just show this 2023-05-08 14:41:59 +01:00
Peter Goodhall
b7f90ee582 Tagged as 2.4.1 2023-04-06 14:19:01 +01:00
phl0
cd52dd657d
Update versions 2023-01-29 13:15:10 +01:00
Peter Goodhall
0ffe57dc63 [Auth] Changed Roles either Administrator or Operator
This is the first step in changes to the AUTH system it will have two roles

- Admin - who can access all the admin tools plus log qsos
- Operator - who can just access the main Cloudlog functions and their own logbooks and locations
2021-11-08 15:28:16 +00:00
Andreas Kristiansen
234ec52f1b
Merge branch 'mastettest' into station_logbooks 2021-10-08 11:48:01 +02:00
Andreas Kristiansen
a7694080e3
Update config.php 2021-10-05 20:55:17 +02:00
Andreas
a796073585 Configurable updates folder. Changed install\config\config.php also. 2021-09-22 14:19:48 +02:00
Jeremy Brown
30600ae220 Added support for a config flag to determine if we should get full names from qrz. Added error checking for this with the api for import as well. 2020-11-11 14:38:00 -05:00
Peter Goodhall
b09584ac49 Added missing config areas for HamQTH 2019-06-30 15:46:03 +01:00
Tobias Mädel
bd91f7aa2c Changed DB layout to UTF8mb4 2019-02-25 17:26:44 +01:00
Peter Goodhall
4c45cbdba3 Removed Google Maps API from config and added QRZ fields 2018-11-27 00:07:33 +00:00
Peter Goodhall
2505b6cc1e Set Cloudlog to version 1.7
There hasn't been a release of Cloudlog in some time there for I'm tagging the current code base 1.7.
2018-11-27 00:00:12 +00:00
Peter Goodhall
01da1fc7e6
More time changes 2018-11-22 14:13:43 +00:00
Peter Goodhall
6c8f368f56
Default timezone is UTC not the servers local time 2018-11-22 14:10:57 +00:00
Tobias Mädel
80f8c3f158 Added configurable google maps key 2018-11-05 11:56:55 +01:00
Warren Volz
2c2e2c97e5 sync installer config template files, fix dbconf sample
- syncs config.php and database.php for installer with CI 3.1.6 versions
- syncs sample database config file with CI 3.1.6 (missed before)
2017-12-12 16:57:18 -07:00
Corby Krick
b868695767 Changing table name to all caps. 2013-04-29 18:16:13 -05:00
Peter Goodhall
272b3e1380 Stopped Logged in session from expiring 2012-01-07 22:49:12 +00:00
Peter Goodhall
bc7bc4ff58 Includes install system just go to /install in the browser and follow the on screen instructions 2011-12-20 15:38:43 +00:00