Molkobain
1c983e8093
Merge remote-tracking branch 'origin/support/2.6' into support/2.7
...
# Conflicts:
# core/config.class.inc.php
# datamodels/2.x/itop-portal-base/portal/src/controllers/objectcontroller.class.inc.php
# pages/ajax.render.php
2021-08-18 16:12:22 +02:00
Molkobain
92a9a8c65f
N°4129 - Security hardening
2021-08-18 15:57:18 +02:00
odain
386c90c601
N°3668 - URL direct error: renamed trust_proxies<-behind_reverse_proxy
2021-03-15 14:56:16 +01:00
bruno-ds
7b093a6bba
N°3671 - app_root_url: handle reverse proxies during the setup and preserve existing configuration during an upgrade.
2021-03-03 11:55:18 +01:00
bruno-ds
0030d5c2b8
N°3764 - add transactions_gc_threshold in order to tune CSRF token GC load
2021-03-01 15:30:40 +01:00
Pierre Goiffon
8bfcb14d0c
N°3416 XFrame-Options header is now set using a config parameter, defaults to SAMEORIGIN
...
Also adds an indirection (\WebPage::add_xframe_options) to set header
2020-12-02 17:17:11 +01:00
odain
8902d6e532
CI migration/automation + new test to ease iTop release management
...
- new Jenkinsfile and .jenkins removal to launch phpunit/behat tests
triggered on both iTop build and push.
- N°3053 - Check XML conversion methods
- N°3057 - New build recipe
- N°3059 - Automatically set the documentation URLs
- N°3052 - Check community modules XML version against latest version
- N°3054 - Check community modules version against major version
- N°3062 - setup.css file integrity test
- N°3060 - Check consistency between the list of modules and installation.xml
- Add exclusion group for CI
- N°3061 - Automatically check the installation.xml consistency
2020-08-07 14:48:51 +02:00
Pierre Goiffon
7ff1a03a3c
N°2820 monthly log rotation : restore default config
2020-03-04 16:04:19 +01:00
odain
c06f8e9a98
N°2793 log rotation test : fix timezone issues
2020-03-04 12:05:42 +01:00
Pierre Goiffon
f36fcb2a2d
N°2820 Log rotation : change default from weekly to monthly
2020-03-03 15:31:11 +01:00
Pierre Goiffon
2be16f9078
N°2793 Log rotation ( #117 )
...
Now log file name is unchanged : current log is still /log/error.log \o/
Rotation check (using file last modification time) is done :
* on each file write : we don't want to miss calls if session last from 23:59:59 to 00:01 for example ! Though the filemtime() call is done once per session to lower performance impacts
* using a new background process (LogFileRotationProcess)
File renaming on setup is therefore removed.
Also the interface is renamed (from ILogFileNameBuilder to iLogFileNameBuilder) to conform to iTop convention.
2020-03-02 15:01:12 +01:00
Stephen Abello
ed030403aa
N°2112 - Remove unused legacy portal conf variable and its usage
2020-02-25 14:00:58 +01:00
Pierre Goiffon
04fc58b55c
📝 Some @since annotations were missing complete version (ex 2.5 instead of 2.5.0)
2020-02-21 18:05:30 +01:00
bruno DA SILVA
214dbeef5b
N°2154 - var into string patterns can now also be enabled using server vars
...
- usage: $_SERVER['ITOP_CONFIG_PLACEHOLDERS']
- plus removal of useless log Trace since this code is too early in iTop's init process for this feature
2020-02-06 14:05:08 +01:00
bruno DA SILVA
15c9cf926e
2154 - preserve "var" in conf
...
- add possibility to inject var using string patterns (ie: `'%env(DB_HOST)?:localhost%`)
- on WriteToFile, preserve the non interpreted value when the interpreted value is kept the same
- added unit tests for both behaviours
- minor bugfix (default value in comment was wrong) and code readability improvements
2020-01-31 17:29:37 +01:00
bruno DA SILVA
cff53d71ba
N°2154 & N°2720 & N°2684 - config integrity during setup
2020-01-27 15:21:50 +01:00
Eric
8a1a78444d
N°2249 - Supportability - Updater module (unified version name)
2020-01-16 18:13:58 +01:00
odain
1fc290587c
N°2154: Fix security breach (scratch install usecase)
2020-01-08 10:10:49 +01:00
odain
fdd79e91f0
N°2154: Fix security breach (scratch install usecase)
2020-01-07 17:44:39 +01:00
bruno DA SILVA
838c4f123c
👌 peer review
...
mostly coding convention,
thanks @molkobain
2020-01-07 15:34:27 +01:00
bruno DA SILVA
c115f64cb5
N°2154 - Security breach
2020-01-06 15:31:31 +01:00
Stephen Abello
611e828d1a
N°2314 Introduce custom themes for iTop's console
2019-12-12 15:46:03 +01:00
Pierre Goiffon
18db31f138
Log : rename config parameter from 'min_log_level' to 'log_level_min'
2019-12-10 09:46:42 +01:00
bruno DA SILVA
e5c49e3bd4
filterable logs using min_log_level optionnaly per channels
2019-12-10 09:03:14 +01:00
Eric
30430bb7dc
N°2135 - Setup callbacks for MTP
2019-11-13 17:33:56 +01:00
Eric
d035130d00
N°2240 - Supportability - Maintenance mode
2019-11-07 09:16:06 +01:00
Pierre Goiffon
cd6104ddb3
N°2518 If switching to log file rotation, rename setup/error legacy files
2019-10-22 15:08:48 +02:00
Pierre Goiffon
4fe7cd5adc
🎨 Config file code formating
2019-10-22 15:08:48 +02:00
Eric
88be0d7638
N°2261 - Log KPI not available in lnk window
2019-10-11 16:27:01 +02:00
Eric
7b36852d7a
N°2261 - Log KPI not available in lnk window
2019-10-11 15:56:32 +02:00
Pierre Goiffon
c3915ee48e
N°2518 Implementation to rotate logs on a weekly basis
2019-10-08 08:42:41 +02:00
Pierre Goiffon
21ff03e28f
N°2518 Possibiliy to rotate log files based on days
...
See the 'log_filename_builder_impl' config parameter
2019-10-08 08:42:41 +02:00
Eric
3f165c9803
N°2456 - Deadlock during concurrent updates
2019-09-26 18:18:52 +02:00
Pierre Goiffon
99e21652a0
🎨 clarify \Config::UpdateIncludes with $sModulesDir=null
2019-09-12 09:54:06 +02:00
Eric
0f890ad228
N°2272 - OQL performance (Expression cache is configurable)
2019-09-06 14:30:42 +02:00
Eric
aac6ab0fc6
N°2272 - OQL performance (testability)
2019-09-06 14:30:42 +02:00
Pierre Goiffon
51bbe1f79d
Handle nested transactions ( #90 )
...
* starting a new transaction will send nothing in the DB (only one global transaction : merge nested transactions)
* same for COMMIT or ROLLBACK if more than 1 transaction is opened
* transactions are kept inside \DBObject::DBInsertNoReload, but they can be disabled using config flag db_core_transactions_enabled=false (true by default, hidden by default)
2019-08-20 10:47:29 +02:00
Eric
11f62063a6
N°2311 - Debug login FSM
2019-08-16 17:39:47 +02:00
Eric
7885d712a6
N°2311 - Authentication extensibility in iTop
2019-08-16 17:39:47 +02:00
Pierre Goiffon
b897da8f6f
N°2404 remove charset/collation DB parameters
...
Are constants since N°1001 (iTop 2.5.0)
2019-07-19 16:58:25 +02:00
Molkobain
0a9b376684
N°2324 Remove legacy portal security check
2019-07-17 15:40:43 +02:00
Pierre Goiffon
a4743901a3
N°2269 Font Awesome : update iTop for new v5 icons
...
* remove useless css in light-grey (weren't used)
* change icons class names from v4 to v5
2019-07-16 12:20:59 +02:00
Molkobain
6197ecbaf4
Update version number for 2.6.2 beta
2019-06-19 14:43:21 +02:00
Pierre Goiffon
5dc8283229
💡 Some doc for Config::GetModule* methods
2019-04-10 11:27:11 +02:00
Pierre Goiffon
53d2f6320b
💡 Some comments on TCPPDF fonts
2019-01-23 11:44:23 +01:00
Pierre Goiffon
c140ab970e
Finish 2.6.0
...
# Conflicts:
# core/dbobject.class.php
# install.txt
2019-01-09 17:27:07 +01:00
Pierre Goiffon
bdedd83368
🔧 New "export_pdf_font" config param
2019-01-09 09:25:40 +01:00
Pierre Goiffon
352f8cee10
💡 Config : add ref to loading methods
2018-12-31 11:38:57 +01:00
Pierre Goiffon
1a3f836a5a
Merge remote-tracking branch 'origin/release/2.6' into develop
...
# Conflicts:
# application/itopwebpage.class.inc.php
# core/config.class.inc.php
# css/css-variables.scss
# css/light-grey.css
# datamodels/2.x/itop-attachments/nl.dict.itop-attachments.php
# datamodels/2.x/itop-incident-mgmt-itil/nl.dict.itop-incident-mgmt-itil.php
# datamodels/2.x/version.xml
2018-12-21 10:26:17 +01:00
Eric
44671a5085
Fix typos in configuration description
2018-12-19 09:02:49 +01:00