Pierre Goiffon
5d7582bb6f
N°2977 LogAPI : restore default log level to OK, and really allow LEVEL_DEFAULT overloads
...
* Level was changed by mistake to trace with refactoring in 289171b9
Thanks @v-dumas !
* self wouldn't allow to override
see https://www.php.net/manual/fr/language.oop5.late-static-bindings.php
Thanks @bruno-ds !
* improve PHPDoc !
2020-05-04 16:55:46 +02:00
Eric
843798505a
N°2974 - Fix Global Search doesn't search in external field
...
The IsSearchable() check was wrong for some attributes
2020-05-04 11:40:02 +02:00
Pierre Goiffon
bf13f9fc8a
N°2975 improve RotatingLogFileNameBuilder next cron occurrence computation
2020-04-30 08:41:55 +02:00
Pierre Goiffon
289171b9f1
N°2977 LogAPI : allow to overwrite the default log level
2020-04-29 15:16:45 +02:00
Pierre Goiffon
9b065ffb0a
Merge remote-tracking branch 'origin/support/2.7.0' into support/2.7
...
# Conflicts:
# datamodels/2.x/itop-attachments/renderers.itop-attachments.php
2020-04-29 09:00:10 +02:00
Eric
75730eeea0
Log database deadlocks in EventIssue
2020-04-23 15:25:12 +02:00
acognet
0b95dbee7f
N°1588 - Count on Managed Brick sometimes wrong
2020-04-20 16:31:56 +02:00
Eric Espié
1f750bb12d
N°2902 Fix alias renaming when already exists in one OQL of an UNION
...
The legacy impl is not modified
2020-04-20 14:59:56 +02:00
Pierre Goiffon
4ee66377ce
Merge commit '15e5e21a89a3d3214dace82b8765a47e304a8f29' into support/2.7
2020-04-20 14:21:55 +02:00
Eric
432a950f8c
N°2945 - Fix fatal error when adding empty attachment
...
alert when empty attachment is detected
2020-04-20 10:54:27 +02:00
acognet
a77ba2fbab
N°2564 - Stop copy after "<" character in a Copy operation on a Transition - change only in Copy function
2020-04-14 17:56:27 +02:00
Eric
15e5e21a89
Compatibility with MySQL 5.6
2020-04-01 17:37:55 +02:00
Pierre Goiffon
eb41d3e2ef
📝 Fix erroneous PHPDoc for InlineImageGC
2020-03-30 17:09:04 +02:00
Eric
c26b9459bb
N°2869 - Fix 2.7 Migration
...
Run UPDATE requests just after the corresponding ALTER TABLE requests
2020-03-16 18:49:12 +01:00
Pierre Goiffon
7ff1a03a3c
N°2820 monthly log rotation : restore default config
2020-03-04 16:04:19 +01:00
Pierre Goiffon
eadc3b72c2
📝 N°2793 log rotation add PHPDoc about timezones
2020-03-04 14:23:34 +01:00
odain
c06f8e9a98
N°2793 log rotation test : fix timezone issues
2020-03-04 12:05:42 +01:00
Pierre Goiffon
6675d7d42a
N°2793 Test log rotation
2020-03-04 09:21:05 +01:00
Eric
afc118e9c2
🐛 fix GetAsPlainText() on EnumSet
2020-03-03 17:34:15 +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
29d24faf52
N°2793 Log rotation : fix no rotation :/
...
Was caused by erroneous file exists test
2020-03-03 10:18:09 +01:00
Pierre Goiffon
33f3f2810e
N°2793 Log rotation : add file exists check in the lock
2020-03-02 18:33:00 +01:00
Pierre Goiffon
56ef6feadf
N°2820 Log rotation : new MonthlyRotatingLogFileNameBuilder class
2020-03-02 15:52:59 +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
Eric
6874aed4a2
N°1627 - Ticket ref sometimes duplicate
...
add MakeInsertQuery() to legacy
2020-03-02 12:04:12 +01:00
Pierre Goiffon
a45d1336f4
🎨 Change \ormStopWatch::ComputeGoal for IDE convencience, add phpdoc
2020-02-28 12:02:20 +01:00
Stephen Abello
ed030403aa
N°2112 - Remove unused legacy portal conf variable and its usage
2020-02-25 14:00:58 +01:00
Stephen Abello
ccfd3848fb
N°1164 #1491 - Fix syntax code highlighting display in CaseLog/HTML fields
2020-02-25 09:54:18 +01:00
Molkobain
c669d6951b
PHPDoc and warnings suppression
2020-02-24 16:36:31 +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
Pierre Goiffon
19809249a2
📝 Update PHPDoc for StopWatches interfaces
2020-02-20 18:01:09 +01:00
Molkobain
0b5ee1e05c
Internal: Fix typo in PHPDoc
2020-02-17 11:24:20 +01:00
Eric
f94e86ecea
🐛 Add missing function
2020-02-14 17:18:00 +01:00
Eric
0ecfffe413
N°2746 - Fix export separator
2020-02-13 12:12:35 +01:00
Eric
ef3bdd63a4
N°2746 - Fix search from shortcut
2020-02-13 11:56:19 +01:00
Eric
585135c6c7
N°2758 - Keep AddCondition to avoid BC break
2020-02-13 11:56:01 +01:00
Pierre Goiffon
03834fedb8
N°2369 deprecate MySQL views
2020-02-12 18:11:12 +01:00
Eric
406774aa15
N°2746 - Fix Import/Export using labels or code
2020-02-12 12:08:40 +01:00
Pierre Goiffon
dd8712e2e8
📝 Add more doc for \DBObject::GetAsHTML
2020-02-12 11:44:00 +01:00
Eric
e9c1467026
N°2746 - Fix "Modify All" fatal error
2020-02-11 14:35:38 +01:00
Eric
863cb4cad6
N°2758 - Allow only one condition on ValueSetDef and restore cache
2020-02-11 11:54:00 +01:00
Pierre Goiffon
55d8a2316a
📝 GetAttributeFlags PHPDoc revised
2020-02-11 08:34:57 +01:00
Eric
888d0775e6
N°2758 - Removed ValueSetDef cache
2020-02-10 14:29:28 +01:00
Molkobain
a259443735
N°2314 - Markup extensibility: Add attribute flags as metadata to object forms
2020-02-10 13:27:36 +01:00
Pierre Goiffon
58e8ca1f50
📝 GetAttributeFlags PHPDoc
2020-02-10 09:56:31 +01:00
Pierre Goiffon
ab79426508
N°2293 some PHPDoc update
2020-02-07 18:21:02 +01:00
Eric
5d88391109
N°2758 - Reset ValueSetDef cache when modifying some parameters
2020-02-07 14:27:22 +01:00
Eric
dd5f4909da
Fix warning
2020-02-06 15:01:02 +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
Molkobain
6a432c6a25
N°2757 - Fix count in group by dashlets
2020-02-06 12:12:27 +01:00