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
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
Pierre Goiffon
3089cbc2bc
💡 Add some PhpDoc
2018-12-18 11:15:55 +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
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
Bruno Da Silva
02315b8aa1
N°880: fix the bugfix [r5737]
...
- previous bugfix altered the cron frequency, this is not the desired behaviour, now the conf alter the lifetime of drafts's attachments
- apply for both inline images and attachments
SVN:trunk[5795]
2018-05-16 13:03:15 +00:00
Stephen Abello
65b516d761
N°880 : Added a conf param (inline_image_garbage_collector_interval)
...
SVN:trunk[5737]
2018-04-24 12:36:03 +00:00
Romain Quetiez
7141e0f4b0
Fix for regression introduced in [r4384] and causing a blank screen when attempting to edit an object
...
SVN:trunk[4390]
2016-09-06 13:47:59 +00:00
Romain Quetiez
13933e488c
Rich text editor: the Maximize button icon is missing if iTop is installed in a directory which name contains spaces
...
SVN:trunk[4384]
2016-09-06 09:35:28 +00:00
Denis Flaven
53fb619da1
Image upload inside CKEditor (via drag and drop) seems to be desactivated on IE9.
...
SVN:trunk[4315]
2016-08-05 10:18:22 +00:00
Romain Quetiez
52309bb1e5
Improved images caching: since 2.3.0-beta, iTop handles inline images (case logs, ticket description) and a picture for a person (AttributeImage). This code refactoring handles a case where the browser checks for the validity of the image and the 304 response code can then be returned without checking anything because we assume that the URL of the image contains a signature of it (or the data cannot change -attachement and inline images are in this case).
...
SVN:trunk[4217]
2016-06-16 08:23:15 +00:00
Denis Flaven
f4ff96a552
InlineImage::FixUrls must be
...
1) idempotent
2) aligned with the syntax used by CKEditor
to prevent creating new entries in the history when nothing was modified.
SVN:trunk[4112]
2016-05-23 10:16:31 +00:00
Denis Flaven
3e1607047e
CKEditor's full screen mode is not supported on iOS (cf https://dev.ckeditor.com/ticket/8307 )
...
SVN:trunk[4038]
2016-05-09 15:36:26 +00:00
Denis Flaven
e85c6ca0c5
Fix full screen button in CKEditor.
...
SVN:trunk[4032]
2016-05-04 10:35:12 +00:00
Denis Flaven
b02e163ecc
CKEditor integration fine tuning with a new "Maximize" button in the collapsed toolbar.
...
SVN:trunk[4027]
2016-05-04 08:26:14 +00:00
Denis Flaven
8eba9ae714
Enhancement: Date and time formats are now configurable in iTop !! (beta version, beware!)
...
SVN:trunk[4011]
2016-04-22 09:26:27 +00:00
Guillaume Lajarige
7ea5176b56
CustomFields : Bootstrap integration
...
SVN:trunk[3944]
2016-03-11 12:42:21 +00:00
Denis Flaven
7e3d526de3
Background process for cleaning expired temporary attachments and inline images.
...
SVN:trunk[3935]
2016-02-29 17:20:43 +00:00
Denis Flaven
6bd89f31d3
Prevent access to *any* InlineImage by just guessing its identifier, now an additional "secret" is needed, making it much harder to guess (but not 100% impossible, beware !)
...
SVN:trunk[3927]
2016-02-26 10:18:46 +00:00
Denis Flaven
608e94a613
Inline images in formatted case log & descriptions: beta version fixperms js The inline images are now no longer stored stored as Attachments but using a specific object InlineImage...
...
SVN:trunk[3926]
2016-02-25 15:06:04 +00:00