Molkobain
46e99bfb40
🐛 Fix notifications tab in objects no longer displaying items (regression introduced by a9bd5a8)
2019-02-07 14:06:06 +01:00
Pierre Goiffon
7034ffea39
N°2010 Fix case for information_schema column names
...
In MySQL 8, we need to use same case as column declaration, or use an alias
2019-02-07 11:17:19 +01:00
Pierre Goiffon
94ed0354c2
Merge branch 'master' into develop
2019-01-31 18:43:31 +01:00
Pierre Goiffon
2bd7a7b5f8
Merge remote-tracking branch 'origin/support/2.5'
...
# Conflicts:
# application/utils.inc.php
2019-01-31 18:43:20 +01:00
Pierre Goiffon
0aab80917a
N°1921 Process InlineImage from another iTop as external images
...
* Notifications : do not embed InlineImage with wrong secret
* HtmlSanitizer : remove data-img-* attributes if not the same iTop (using approot from Config)
* move \HTMLDOMSanitizer::ProcessImage to \InlineImage::ProcessImageTag
* data-img-* attributes name are now InlineImage class constants
2019-01-30 11:32:47 +01:00
Pierre Goiffon
2cf3408023
💡 add PhpDoc to AttributeImage methods
2019-01-29 11:08:01 +01:00
Pierre Goiffon
6bbc543ac1
🚸 Change AttributeImage methods visibility to allow overrides
2019-01-28 13:56:20 +01:00
Eric
1ca4f993b0
💚 Fix apc-emulation
2019-01-24 18:07:50 +01:00
Eric
abf7e65816
Avoid unnecessary warnings
2019-01-24 17:22:49 +01:00
Pierre Goiffon
01fbcb7044
🎨 replace TCPPDF:SetFont calls by iTopPDF::SetFontParams
...
This ensures that the same font is used in every caller
2019-01-23 11:46:52 +01:00
Pierre Goiffon
53d2f6320b
💡 Some comments on TCPPDF fonts
2019-01-23 11:44:23 +01:00
Pierre Goiffon
9d02da9d9c
🎨 PDF : new helper method to set only font size
2019-01-23 11:05:12 +01:00
Pierre Goiffon
e3c4d611c3
New InvalidConfigParamException
...
To be used for example in extensions like notify-on-expiration
2019-01-18 11:05:29 +01:00
Eric
b8b468195c
PR#39 Fix support of expressions (friendlyname) in different languages context (use class name by language for the expression caches)
2019-01-15 11:24:48 +01:00
Eric
6ad27b43ab
PR#39 Fix support of expressions (friendlyname) in different language contexts
2019-01-14 11:30:01 +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
340cacc691
Merge remote-tracking branch 'origin/release/2.6.0-community' into release/2.6
...
# Conflicts:
# install.txt
2019-01-09 17:23:43 +01:00
Pierre Goiffon
5723e9a77e
🎨 PDF : new helper method to set only font weight and size
2019-01-09 09:25:40 +01:00
Pierre Goiffon
bdedd83368
🔧 New "export_pdf_font" config param
2019-01-09 09:25:40 +01:00
Denis Flaven
2b563d4fc8
Remove debug traces when updating objects
...
A very verbose debug trace in the error log was happening each time a
CmdbAbstractObject gets created non-interactively.
2019-01-07 16:24:31 +01:00
Eric
a9bd5a8bb0
⚡ Avoid scalar values in OQL, replace them with variables
2019-01-02 17:41:56 +01:00
Pierre Goiffon
2f5c810276
Merge remote-tracking branch 'origin/support/2.5' into release/2.6
2018-12-31 17:21:52 +01:00
Pierre Goiffon
636a3940cd
N°1915 import : fix cannot create object with value for field that is readonly in modification
...
Last fix (523e19528e ) was not a correct solution
2018-12-31 12:13:45 +01:00
Pierre Goiffon
352f8cee10
💡 Config : add ref to loading methods
2018-12-31 11:38:57 +01:00
Pierre Goiffon
523e19528e
N°1915 import : fix cannot create object with value for field that is readonly in modification
...
GetAttributeFlags method returns OPT_ATT_READONLY for this field, but not GetInitialStateAttributeFlags method
2018-12-28 18:16:32 +01:00
Pierre Goiffon
9f3332b2f2
💡 PHPDoc for AttributeFlags methods
2018-12-28 16:37:03 +01:00
Pierre Goiffon
2b71621628
Merge remote-tracking branch 'origin/support/2.5' into release/2.6
2018-12-28 11:42:11 +01:00
Pierre Goiffon
1665b12b86
💡 PHPDoc for \DBObject::DBInsert methods hierarchy (and some more, too O:) )
2018-12-27 15:07:49 +01:00
Denis Flaven
778db225a8
N°1912: 🐛 text written in white in the PDF export of the impact analysis.
2018-12-26 15:41:00 +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
27b1b1f8a8
N°1903 - Fix initial value of a MetaEnum attribute is always its default value
2018-12-21 09:59:19 +01:00
Eric
44671a5085
Fix typos in configuration description
2018-12-19 09:02:49 +01:00
Pierre Goiffon
3089cbc2bc
💡 Add some PhpDoc
2018-12-18 11:15:55 +01:00
Molkobain
6a88f622ad
N°1839 Update TriggerOnThresholdReached to select attribute from a set of valid attributes instead of typing it manually
2018-12-14 11:51:14 +01:00
Molkobain
9b5d8b8a01
N°931 Fix bug when max allowed items set to 1
2018-12-14 11:11:59 +01:00
Molkobain
b4448c5bb9
Code cleanup
2018-12-14 10:00:29 +01:00
Molkobain
daafa9123c
N°1852 Fix loss of inline images and attachments when user has been logged off
2018-12-13 11:35:00 +01:00
Pierre Goiffon
b4a6d378ab
N°1827 fix freeze on object creation when changing dependant field, if object has hidden TagSet field
2018-12-11 15:54:33 +01:00
Molkobain
f54da5f9a6
Internal: Debug trace when InlineImage::FinalizeInlineImages() fails to retrieve transaction ID
2018-12-10 17:44:49 +01:00
Pierre Goiffon
36d47c2274
N°1835 fix transaction_id lost with session
...
* transaction_id are now stored by default in file instead of session ("transaction_storage" config parameter : default value was 'Session', it is now 'File')
* session_regenerate_id() call can be disabled using "regenerate_session_id_enabled" config parameter
* new 'transaction_id' parameter type to allow dots (with a file storage, transaction_id equals the temp file name and on Windows we're getting *.tmp)
2018-12-10 17:39:07 +01:00
Molkobain
68da3a4aad
Change default attachments (and inline images) lifetime to 1 day instead of 1 hour
2018-12-07 11:16:41 +01:00
Eric
2a4bd4b0dc
💚 N°1825 - Fix ormset control when no limit
2018-12-05 10:10:45 +01:00
Eric
f4f5281769
💚 N°1825 - Fix tagset control when no limit
2018-12-05 10:08:40 +01:00
Eric
a4a09cd8c7
N°1825 - Fix TagSet code numeric generate a Fatal Error
2018-12-05 09:39:41 +01:00
Eric
831b18b4d2
Force the number of Tags in ormTagSet
2018-12-05 09:04:30 +01:00
Eric
af8b06dda6
💚 Display error log instead of fatal error in case of Exception when modifying an object in console
2018-12-04 11:33:32 +01:00
Eric
6e31a040b2
Display error log instead of fatal error in case of Exception when modifying an object in console
2018-12-04 10:49:30 +01:00
Molkobain
0c8dd6fd1b
N°562 Notifications: Add support for placeholders in HTML hyperlinks (regular href, mailto, ...)
2018-12-04 10:22:31 +01:00
Eric
387c166985
Fix Remote User synchro
2018-12-03 11:33:15 +01:00
Eric
aca11ac966
Fix AttributeSet wrong error on number of tags in creation
2018-12-03 11:01:54 +01:00