Stephen Abello
e1ffa65d8b
N°3136 - Add creation and modification of n-n objects in object details ( #378 )
...
* Rebase onto develop
* Use exit condition instead of englobing condition
* Add informative modals that can be called from modal toolbox
* Refactor "apply_modify" and "apply_new" into own controller, handle ajax requests with a json response and handle these responses in linkset creation/edition
* Fix merge issues
* Remove inverted condition
* Move linkset create button to a better place, still needs to fix duplicate "New" button caused by a refactor
* Handle "Cancel" button in modals
* Do not display relations when editing an object in a modal
* More elegant way to add "New" button to relations lists
* Factorize vertical highlights in alerts and modal in a single mixin
* Replace button name with dict entry code
* Change route name to snake case
* More elegant way to add "Create in modal" button to relations lists
* Replace triple if with in_array
* Move listener to body
* Rename variable to match boolean rules
* Rename event
* Rename extra param
* Add phpdoc
* Revert changes
* Check indirect linkset rights before allowing creation in modal
2023-01-18 13:35:48 +01:00
Pierre Goiffon
5d1852fe45
Merge remote-tracking branch 'origin/support/3.0' into develop
2023-01-12 16:43:41 +01:00
Pierre Goiffon
d7b94fb123
N°3769 Add data-input-type HTML attribute to fields in a transition form
...
Was only present in object edit mode :(
2023-01-12 16:40:31 +01:00
Eric Espie
a693c343e8
N°4756 - Ease extensibility for CRUD operations : Reduce events after review
2023-01-04 14:18:01 +01:00
Eric Espie
cd17eb484a
N°4756 - Ease extensibility for CRUD operations : Reduce events after review
2023-01-04 12:23:23 +01:00
Eric Espie
4c4d7c12e8
N°4756 - Ease extensibility for CRUD operations : Coherency in method parameters
2023-01-02 14:23:36 +01:00
Eric Espie
97c3cacfaa
N°4756 - Ease extensibility for CRUD operations : Pass DeletionPlan to EVENT_DB_CHECK_TO_DELETE
2023-01-02 14:20:17 +01:00
Eric Espie
1cac189077
N°4756 - Ease extensibility for CRUD operations : Fix CRUD after review
2022-12-23 10:37:08 +01:00
Eric Espie
44fac686f9
N°4756 - Ease extensibility for CRUD operations : Events renamed
2022-12-22 15:16:52 +01:00
Eric Espie
bdd5741290
N°4756 - Ease extensibility for CRUD operations : Protect against update loops
2022-12-22 08:56:40 +01:00
Eric Espie
06db3561dc
N°4756 - Ease extensibility for CRUD operations : Protect against update loops
2022-12-20 14:26:44 +01:00
Molkobain
5cb2f19ea0
N°4756 - Improve PHPDoc and type hints
2022-12-20 11:11:14 +01:00
Eric Espie
fae857175b
N°4756 - Ease extensibility for CRUD operations : Event Service - Changed CheckToWrite and CheckToDelete events and add two new events to set attributes flags
2022-12-16 11:07:41 +01:00
bdalsass
bdb29fd99a
Issue/5074 - Routage, Block UI relations, Links row actions ( #369 )
...
* datatable row actions
Below is a sample of extra param to enable feature:
$aExtraParams['row_actions'] = [
[
'tooltip' => 'remove an element',
'icon_css_class' => 'fa-minus',
'js_row_action' => 'console.log("You clicked the remove button");',
'confirmation' => [
'message' => 'UI:ConfirmationMessage',
'message_row_data' => "name",
'remember_choice_pref_key' => 'remove_do_not_show_again',
],
],
[
'tooltip' => 'open in new tab',
'icon_css_class' => 'fa-external-link-square-alt',
'on_action_js' => 'window.open("http://localhost/itop-branchs/dev/pages/UI.php?operation=details&class=UserRequest&id= " + aData.id + "&c[menu]=UserRequest%3AOpenRequests");',
],
[
'tooltip' => 'other actions',
'icon_css_class' => 'fa-ellipsis-v',
'on_action_js' => 'console.log(event);',
],
];
* Contrôleur pour la suppression et le détachement de liens
* Block UI pour l'édition des relations
* Block UI pour la visualisation des relations
* Boutons d'actions pour la suppression et le détachement de liens
* Gestion dialogue de confirmation pour les row actions
2022-11-23 16:10:34 +01:00
Molkobain
5e0698b7f3
Add support for "Ctrl + Enter" and "Meta (Cmd) + Enter" submit on multi-line fields
2022-11-08 17:28:42 +01:00
Pierre Goiffon
6e8949a880
Merge remote-tracking branch 'origin/support/3.0' into develop
2022-10-20 16:47:38 +02:00
Pierre Goiffon
4b670cfa90
N°5625 Fix crash when opening DocumentFile in ES language
...
Regression introduced in 3.0.1 with a merge : 67fa156c
The % was removed in 530ec111 but we kept the call to Dict::Format, and the merge restored the % in ES dict
A larger fix will be done later with N°5491
2022-10-20 16:46:37 +02:00
Eric Espie
b9d865f881
N°4756 - Fix DBInsert/NoReload call order
2022-09-21 18:08:44 +02:00
Eric Espie
71464f6d0e
Merge branch 'develop' into feature/faf_event_service
...
# Conflicts:
# core/cmdbobject.class.inc.php
# core/dbobject.class.php
# core/designdocument.class.inc.php
# lib/composer/autoload_files.php
# lib/composer/autoload_static.php
2022-09-19 09:45:08 +02:00
Molkobain
7b60c9c71a
Merge remote-tracking branch 'origin/support/3.0' into develop
...
# Conflicts:
# composer.json
# composer.lock
# lib/composer/installed.json
# lib/composer/installed.php
# lib/twig/twig/.travis.yml
# lib/twig/twig/CHANGELOG
# lib/twig/twig/composer.json
# lib/twig/twig/lib/Twig/Loader/String.php
# lib/twig/twig/src/Environment.php
# lib/twig/twig/src/ExpressionParser.php
# lib/twig/twig/src/Extension/AbstractExtension.php
# lib/twig/twig/src/Extension/CoreExtension.php
# lib/twig/twig/src/Extension/ProfilerExtension.php
# lib/twig/twig/src/Loader/ArrayLoader.php
# lib/twig/twig/src/Loader/ChainLoader.php
# lib/twig/twig/src/Loader/FilesystemLoader.php
# lib/twig/twig/src/Node/EmbedNode.php
# lib/twig/twig/src/Node/Expression/BlockReferenceExpression.php
# lib/twig/twig/src/Node/Expression/Test/DefinedTest.php
# lib/twig/twig/src/Node/Expression/TestExpression.php
# lib/twig/twig/src/Node/ForNode.php
# lib/twig/twig/src/Node/IfNode.php
# lib/twig/twig/src/Node/IncludeNode.php
# lib/twig/twig/src/Node/ModuleNode.php
# lib/twig/twig/src/Node/Node.php
# lib/twig/twig/src/Node/WithNode.php
# lib/twig/twig/src/Template.php
# lib/twig/twig/src/TokenParser/ApplyTokenParser.php
2022-08-23 10:38:09 +02:00
Stephen Abello
b1bc2cec1b
N°5138 Fix tooltips flickering in bulk modify when it contains hyperlinks
2022-08-22 16:59:24 +02:00
acognet
c94e24c0ff
Merge remote-tracking branch 'origin/support/3.0' into develop
...
# Conflicts:
# application/cmdbabstract.class.inc.php
2022-08-12 18:17:00 +02:00
acognet
7320005c08
Merge remote-tracking branch 'origin/support/2.7' into support/3.0
...
# Conflicts:
# application/cmdbabstract.class.inc.php
# core/coreexception.class.inc.php
# core/dbobject.class.php
2022-08-12 18:13:42 +02:00
Anne-Catherine
d7e5705520
N°5318 - Fix DBObject::CheckValue() messages being HTML encoded when not necessary ( #326 )
...
* Rollback N°4898 - Security fix
* N°5318 - security fix
2022-08-12 17:50:14 +02:00
acognet
aad4a5e20c
Merge remote-tracking branch 'origin/support/3.0' into develop
2022-08-04 16:43:20 +02:00
Stephen Abello
1ab35c68c8
Fix typo in datetime input autocomplete attribute
2022-08-03 14:47:01 +02:00
Molkobain
86e1f165cd
Merge remote-tracking branch 'origin/develop' into feature/4517-from-dev
...
# Conflicts:
# CONTRIBUTING.md
# composer.lock
# core/designdocument.class.inc.php
# lib/composer/installed.json
# lib/composer/installed.php
2022-07-28 10:30:25 +02:00
Molkobain
76062ca8b2
Merge remote-tracking branch 'origin/support/3.0' into develop
2022-07-26 22:32:22 +02:00
Molkobain
a11bbd667a
Fix typos
2022-07-26 20:09:37 +02:00
Eric Espie
2c265aab44
N°4756 - Ease extensibility for CRUD operations
...
- Change event order in CRUD
- Add LinkHostObject for link update
- Add events EVENT_SERVICE_DB_ARCHIVE and EVENT_SERVICE_DB_UNARCHIVE
2022-07-08 10:19:54 +02:00
acognet
7ec12f1e12
N°4517 - PHP 8.1: Replace htmlentities(***, ENT_QUOTES, 'UTF-8') with utils::EscapeHtml
2022-07-01 09:22:25 +02:00
Eric Espie
682ab44dea
Merge branch 'develop' into feature/faf_event_service
2022-06-30 14:22:52 +02:00
Benjamin Dalsass
02dab4eb72
Merge remote-tracking branch 'origin/support/3.0' into develop
...
# Conflicts:
# lib/composer/autoload_files.php
# lib/composer/autoload_static.php
# templates/pages/backoffice/oauth/Wizard.html.twig
2022-06-27 08:38:01 +02:00
Pierre Goiffon
d6798470e7
💡 N°5248 \cmdbAbstractObject::DisplayBareHeader phpdoc v3
2022-06-21 12:15:04 +02:00
Pierre Goiffon
073388436b
💡 N°5248 \cmdbAbstractObject::DisplayBareHeader phpdoc v2
2022-06-21 10:21:10 +02:00
Pierre Goiffon
84d1be07cd
💡 N°5248 Document method signature change in \cmdbAbstractObject::DisplayBareHeader
2022-06-20 15:38:51 +02:00
Eric Espie
c7e54c66c8
Event "Compute Values"
2022-06-01 09:09:16 +02:00
Eric Espie
c9317542c8
refactor
2022-05-31 15:37:29 +02:00
Eric Espie
aed8337c51
Protection against reentrance for DBUpdate
2022-05-30 17:03:47 +02:00
Eric Espie
af4a5e1b8d
New CRUD behaviour (removed Reload in DBInsert and DBUpdate) and protection against reentrance
2022-05-27 17:46:10 +02:00
Eric Espie
56103d1952
Refactor
2022-05-25 10:38:07 +02:00
Eric Espie
b827c68187
Merge branch 'develop' into feature/faf_event_service
2022-05-25 10:04:54 +02:00
acognet
fd1064b044
N°3950 - Deprecate old unreferenced methods that are @deprecated - BulkUpdate
2022-05-20 10:40:29 +02:00
Molkobain
6a332ca60b
Merge remote-tracking branch 'origin/support/3.0' into develop
2022-05-18 10:43:22 +02:00
Thomas Casteleyn
3d04cf1cd6
🌐 Improve DBObject::CheckValue and CheckConsistency error messages ( #288 )
...
Now contains attribute code and value
2022-05-17 17:01:41 +02:00
Molkobain
afc8354523
Code cleanup
2022-05-14 20:42:48 +02:00
acognet
c20cedf266
Deprecate unused and broken method
2022-05-12 17:09:16 +02:00
Eric Espie
b0a55e057b
Events to cmdbAbstract
2022-04-07 17:02:19 +02:00
Eric Espie
5ac9b05b2d
new CRUD
2022-04-06 23:51:21 +02:00
Eric Espie
29c6b73d93
EventService: refactoring
2022-03-15 17:50:13 +01:00