Pierre Goiffon
ea845dc6eb
N°6228 - CheckToWrite() propagation to target objects based on with_php_constraint property
2023-11-23 11:14:37 +01:00
Molkobain
2d8ecd465b
N°6903 - Fix crash when emptying file attribute (eg. picture of a contact)
2023-11-09 18:17:35 +01:00
Stephen Abello
a9bd62dc43
N°6385 - Allow to disable LinkedSet (1:n & n:n) edition by XML
...
Co-authored-by: Molkobain <lajarige.guillaume@free.fr >
2023-10-24 11:09:12 +02:00
Pierre Goiffon
c5cb84f976
N°6733 Fix some attributes impl not prompted in transitions when mandatory
2023-09-26 11:32:06 +02:00
Benjamin Dalsass
e654daf4a5
N°6516 - Add @experimental PHP annotation on temporary objects features
2023-07-05 14:24:05 +02:00
Molkobain
8292b16387
N°6502 - Fix AttributeImage::GetAsHtml() using download URL instead of display URL which triggers download listeners
2023-07-05 10:35:36 +02:00
Molkobain
340b982d77
N°6502 - Avoid new history entry on AttributeBlob download
2023-07-05 10:35:35 +02:00
bdalsass
9d38b4d1d6
N°6043 - Booking: Add prerequisites in iTop core - CRUD extensibility ( #520 )
2023-07-04 16:22:53 +02:00
Stephen Abello
40dc3deabb
N°6495 - Fix strlen crashing with null value in AttributePassword
2023-07-04 13:56:31 +02:00
Pierre Goiffon
6cc2d49cd5
N°6414 Move existing AbstractSimpleField::Validate impl to custom validators
...
- LinkedSetField
- SelectObjectField
- MultipleChoicesField (warning this hierarchy contains non multiple value fields like SelectField !)
Also change AbstractValidator::Validate signature : now we are returning an array of error messages, so that we can return multiple ones
2023-07-03 11:30:04 +02:00
Pierre Goiffon
6606af71ff
N°6414 Validator refactoring
...
New AbstractValidator class, with new method Validate
All existing validators are now children of AbstractRegexpValidator
Handle validators JS counterparts in renderers : only regexp validators are implemented client side
2023-07-03 11:30:04 +02:00
Pierre Goiffon
52049b7837
N°6414 Disable Field validation for untouched attcodes
2023-07-03 11:30:04 +02:00
bdalsass
b46d4db8ff
N°6476 - Revert datamodel / compiler changes from N°5563 ( #515 )
2023-06-29 15:11:30 +02:00
Eric Espie
db6e4137b1
N°6271 - Fix drop-down list not refreshed when adding an external key with a friendlyname built on an external key
2023-06-26 18:00:04 +02:00
Benjamin Dalsass
a206af1813
N°6005 - CSV import : import an object and a linkset fails
...
- Restore old get as html for linked set with display style tab
2023-06-26 15:11:41 +02:00
Molkobain
b642dbe3d6
N°6389 - Fix SQL error when saving an object with an emptied blob attribute
2023-06-22 20:43:56 +02:00
Molkobain
96f1bd3646
N°6462 - Sort \AttributeApplicationLanguage alphabetically (eg. "Language" in ActionEmail class)
2023-06-21 18:33:12 +02:00
Molkobain
a8a3385969
N°6460 - Sort \AttributeClassAttCodeSet alphabetically (eg. "Target fields" in Trigger class)
2023-06-21 16:06:22 +02:00
Anne-Catherine
c2309876fb
N°6239 - Portail: Fix error message when trying to display object with missing icon ( #485 )
2023-06-14 09:42:43 +02:00
Denis
fed149dc66
N°918 - Translate placeholders in notifications ( #506 )
...
- Localization of date & time formats
- Use of DataLocalizer (if present)
- All placeholders can be used in the uploaded HTML template as well as in the notification "message"
2023-06-13 09:51:32 +02:00
Benjamin Dalsass
0a45039c5c
N°6005 - CSV import : import an object and a linkset fails
2023-06-13 08:14:34 +02:00
Benjamin Dalsass
c486aea299
N°803 - Allow display & edition of attributes on n:n relations on Portal
...
- Remove input when object is in view mode
- Improve form errors handling
- Prevent row selection when clicking input
- Attach date time picker to table instead of input to prevent popup truncating (popup will be visible but not aligned on the input)
2023-06-09 10:34:19 +02:00
Eric Espie
1b7529fcb9
N°6384 - Flag LinkedSet to specify that it has CheckToWrite constraint (more specific parameter name)
2023-06-09 10:21:47 +02:00
Eric Espie
99e84e86cd
N°6384 - fix typo
2023-06-08 17:19:45 +02:00
Eric Espie
7ebf5a6dd4
N°6384 - Flag LinkedSet (Indirect) when CheckToWrite must be requested to Hosted Object
2023-06-08 17:07:01 +02:00
Molkobain
bac6cbc1d8
N°1646 - Add possibility to sort Attribute[Meta]Enum either by code (default), rank or label
2023-06-07 19:53:11 +02:00
Benjamin Dalsass
11c147574a
N°803 - Allow display & edition of attributes on n:n relations on Portal
2023-06-07 15:30:08 +02:00
Benjamin Dalsass
8eb1053daa
N°803 - Allow display & edition of attributes on n:n relations on Portal
2023-06-05 16:19:06 +02:00
Pierre Goiffon
0508608e78
N°6322 Delegate \AttributeCustomFields::CheckValue to the handler
...
This allows to move template_id checks from BuildForm (which is called in the UI to construct the form also) to a dedicated method only called for validation
2023-05-24 09:28:26 +02:00
Anne-Catherine
a98fab8f66
N°6240 - Improve display of picture in read or edit mode ( #484 )
2023-05-15 16:12:26 +02:00
Pierre Goiffon
7c594db4b9
N°1150 AtributeCustomFields : FromJSONToValue is now delegated to the handler
...
Method was always returning null before
2023-05-12 10:58:43 +02:00
bdalsass
e16a32bad2
Feature/6154 - Change dict key ( #490 )
2023-05-03 09:47:56 +02:00
bdalsass
de35d941c1
N°6154 N°6219 - Relations Read - tooltip, confirmation title and message ( #486 )
...
N°6154 - n:n Read - tooltip, confirmation title and message on Add-Edit-Remove
N°6219 - 1:n Read: tooltip, modal title and message on Add-Edit-Remove-Delete
2023-04-28 14:43:53 +02:00
Pierre Goiffon
900aa4a044
N°6043 Add phpdoc
2023-04-26 17:41:07 +02:00
Pierre Goiffon
3e454de77e
N°1150 AtributeCustomFields : GetForJSON is now delegated to the handler
...
Method was always returning null before
2023-04-18 11:44:00 +02:00
Pierre Goiffon
c9af546867
💡 AttributeDefinition : fix phpdoc for GetForJSON and FromJSONToValue methods
2023-04-13 10:56:45 +02:00
Molkobain
7df0526bda
💚 LinkedSet: Fix rename namespace not propagated everywhere in e6f1a872
2023-04-06 14:39:27 +02:00
Molkobain
7ad3b07e89
LinkedSet: Rename classes / files to match conventions
2023-04-05 19:10:52 +02:00
Pierre Goiffon
fe670fa1dd
Fix freeze after choosing request template form to display
...
When having multiple request template for the same service, you have to choose first which template to fill.
After choosing from the drop down the form was reset and nothing displayed, with an error server side.
Regression introduced in 82d2ac66
2023-04-04 18:33:37 +02:00
Pierre Goiffon
82ddc64e44
N°6042 Field init : use existing method in AttDef
...
Thanks Molkobain for the review in 0c70bd9
2023-03-31 16:58:40 +02:00
Pierre Goiffon
cdb655f69f
N°6042 Delegate history creation (CMDBChangeOp instances) to the new AttributeDefinition::RecordAttChange method
2023-03-28 12:08:29 +02:00
Pierre Goiffon
0c70bd9f12
N°6042 Console : now handles AttDef with FormField edit class
...
Those fields will use FormField / Form / FieldRenderer mechanism (previously only implemented in the portal and custom fields)
2023-03-28 12:07:47 +02:00
Benjamin Dalsass
4a9c3d3582
🐛 N°6043 - fix linkset attribute default handler impact
2023-03-21 07:55:22 +01:00
Pierre Goiffon
d8d8756623
N°6043 - Booking: Add prerequisites in iTop core - Attribute extensibility
2023-03-20 14:33:02 +01:00
Molkobain
c767ebe989
📝 Copyright year bump
2023-03-17 18:28:47 +01:00
Molkobain
0aa0229170
N°2889 - Add counter on file attributes / attachments downloads
2023-03-14 19:16:19 +01:00
Eric Espie
ae5f4cc30f
N°6040 - Booking: Add prerequisites in iTop core - Compilation extensibility - rework of properties
2023-03-10 11:48:22 +01:00
Molkobain
559f5b4bdb
Merge remote-tracking branch 'origin/support/3.0' into develop
2023-03-08 11:04:24 +01:00
Molkobain
4bfc1747b7
N°5784 - Fix AttributeOneWayPassword::HasAValue() implementation
2023-03-08 10:54:55 +01:00
Molkobain
19db527bf7
Merge remote-tracking branch 'origin/support/3.0' into develop
2023-03-07 10:25:15 +01:00