Pierre Goiffon
7ad9b9dd08
🎨 Use finally instead of duplicating lines
...
see http://php.net/manual/fr/language.exceptions.php#language.exceptions.finally : finally was added in PHP 5.5
2019-03-07 16:03:51 +01:00
Pierre Goiffon
065895aa73
Merge remote-tracking branch 'origin/master' into develop
...
# Conflicts:
# datamodels/2.x/itop-portal-base/zh_cn.dict.itop-portal-base.php
# dictionaries/zh_cn.dictionary.itop.core.php
# dictionaries/zh_cn.dictionary.itop.ui.php
2019-03-04 09:21:14 +01:00
Eric
38951fab1a
N°1618 - Custom date format: Fix issue with in-line creation
2019-02-28 17:40:49 +01:00
Pierre Goiffon
e59e62fb1b
Merge remote-tracking branch 'origin/master' into develop
...
# Conflicts:
# core/expressioncache.class.inc.php
2019-02-21 17:24:37 +01:00
Eric
7cf7e55454
N°1823 - Fix tags not saved in case of error
2019-02-19 10:16:45 +01:00
Stephen Abello
8efc372a68
(retrofit from develop) N°1909: PHP 7.3 compatibility
2019-02-11 13:33:07 +01:00
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
c140ab970e
Finish 2.6.0
...
# Conflicts:
# core/dbobject.class.php
# install.txt
2019-01-09 17:27:07 +01:00
Stephen Abello
8894ff0fda
N°1909: PHP 7.3 compatibility
2019-01-07 13:56:42 +01:00
Eric
a9bd5a8bb0
⚡ Avoid scalar values in OQL, replace them with variables
2019-01-02 17:41:56 +01:00
Pierre Goiffon
1665b12b86
💡 PHPDoc for \DBObject::DBInsert methods hierarchy (and some more, too O:) )
2018-12-27 15:07:49 +01:00
Eric
92657951c7
N°1408 - Dashboard Attribute (removed from "Properties" tab in edition)
2018-12-18 16:32:46 +01:00
Molkobain
ce9416d887
N°1878 Request Template: Fix history updated even if template not updated
...
When editing the object, the hidden input is not initialized correctly with the values from the form. This is due to a timing issue among async processes. To fix that, we made sure the WizardHelper updates the input value before submit. The real fix would be to better handle the subform building process.
2018-12-18 11:08:54 +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
afd6428411
💡 @var on iApplicationObjectExtension calls
2018-12-11 17:19:52 +01:00
Molkobain
85acac60c7
💪 Fix execution notice
2018-12-11 09:54:09 +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
Stephen Abello
35752a8041
N°1837: Internal: fix regression on data synchronized attributes display
2018-12-06 15:05:13 +01:00
Eric
831b18b4d2
Force the number of Tags in ormTagSet
2018-12-05 09:04:30 +01:00
Eric
aca11ac966
Fix AttributeSet wrong error on number of tags in creation
2018-12-03 11:01:54 +01:00
Eric
bd7e0174f3
🎨 Code refactor proposed by jbostoen
2018-11-19 11:31:57 +01:00
Eric
b28ed08a85
🐎 N°1668 - Perf: avoid object update parse hidden LinkedSet attribute
2018-11-16 17:27:42 +01:00
Kamil Konečný
67f5f09530
Title field XSS vulnerability solution.
2018-11-16 08:59:50 +01:00
Eric
7401e88844
N°1408 - Dashboard Attribute (tab order)
2018-11-14 17:56:02 +01:00
Eric
ffac3250af
N°1408 - Dashboard Attribute (removed from "Properties" tab)
2018-11-14 17:20:40 +01:00
Pierre Goiffon
357555e507
AttributeImage : add css classes to be able to style
2018-11-05 11:54:35 +01:00
Pierre Goiffon
81b5f18579
N°1707 fix mandatory TagSet were not highlighted in the console
2018-10-30 15:06:47 +01:00
Eric
313c3c6fc3
Code cleanup
2018-10-23 15:08:40 +02:00
Pierre Goiffon
574d72b0e7
N°659 Add uniqueness checks
...
* modify compiler to save the new rules
* add check on object save (\DBObject::DoCheckUniqueness)
* default model : add uniqueness rules on Brand, Model, Person
2018-10-22 17:11:07 +02:00
Pierre Goiffon
cd5e1afb2b
DBSearch: Fix serialization rework, use htmlentities
2018-10-22 15:51:28 +02:00
Eric
0298d6bc19
DBSearch: Fix serialization rework
2018-10-22 15:37:32 +02:00
Eric
ebb5ede613
N°1408 - Asynchronous load of dashboard tab
2018-10-15 16:37:19 +02:00
Eric
f3f70d6296
N°1408 - Dashboard Printer friendly page + user edit rights
2018-10-15 16:37:18 +02:00
Eric
15671f6dd4
N°1408 - Use dashboards only in read-only mode
2018-10-15 16:37:17 +02:00
Eric
709badd0f7
N°1408 - Support contextual parameters in attributes dashboard
2018-10-15 16:37:17 +02:00
Eric
99153d02ee
N°1408 - Support contextual parameters in attributes dashboard
2018-10-15 16:37:17 +02:00
Eric
4347b2c5ff
N°1408 - Support contextual parameters in attributes dashboard
2018-10-15 16:37:17 +02:00
Eric
c13b6ea13a
N°1408 - AttributeDashboard first implementation
2018-10-15 16:37:17 +02:00
Stephen
c0d83e96d8
Retrofit 2.5.1 fixes into develop ( 11308dc7, 1e0d654, 7fddd6ac, 12e9e453, cbe749af, 10b7fa60, c5f3598f, 396fc2cd)
2018-10-04 11:12:16 +02:00
Molkobain
11308dc76a
N°1059 Fix new empty caselog entry on bulk modification.
2018-10-03 17:24:08 +02:00
Molkobain
12e9e453d8
N°1644 Fix PHP 7.2 compatibility issue (count() on none array)
2018-10-02 14:57:51 +02:00
Stephen Abello
6e50a1c4be
(Retrofit from develop 7d37b065) Form prefill: add possibility to change attributes flag on the fly
2018-10-02 11:11:46 +02:00
Eric
40355cb2d0
N°917: Fix refresh edit screen, avoid storing bad values in db
2018-09-28 12:08:35 +02:00
Pierre Goiffon
f55c0aa1c9
N°917: Fix TagSet search
2018-09-28 12:08:34 +02:00
Pierre Goiffon
799618dee7
N°931 AttributeSet widget : add charset parameter to htmlentities
2018-09-28 10:33:17 +02:00
Pierre Goiffon
a4315b4789
N°931 AttributeSet widget : better fix for crash when having a ' in the label
...
use htmlentities for input hidden value instead of a textarea display:none
2018-09-28 09:02:35 +02:00
Pierre Goiffon
3e8dd61607
N°931 AttributeSet widget : fix crash when having a ' in the label
2018-09-27 18:31:58 +02:00
Pierre Goiffon
1d28a67d21
N°931 TagSet widget enabling / disabling in bulk edit
...
- rename ToogleField -> ToggleField
- for the set input, use the same ID as other fields (used by ToggleField method)
- disable the set widget if needed on opening
- binds the update event to enable / disable at will
2018-09-27 17:29:36 +02:00
Molkobain
5fa4b4cb88
Taxons: Rework of CSS & markup in the console (portal still to come).
2018-09-27 16:45:04 +02:00
Eric
ec597f697a
N°917: Adapt to generic widget for set
2018-09-27 11:04:20 +02:00