acognet
700d11fa8f
N°2508 - Include Obsolescence icon within list and autocomplete
2020-08-18 10:19:01 +02:00
Pierre Goiffon
71848cb56b
Merge branch 'support/2.7' into develop
...
# Conflicts:
# .jenkins/bin/tests/phpunit.sh
# Jenkinsfile
# core/config.class.inc.php
# core/dbobjectsearch.class.php
# core/ormlinkset.class.inc.php
# datamodels/2.x/combodo-db-tools/dbtools.php
# dictionaries/nl.dictionary.itop.ui.php
2020-08-17 09:36:43 +02:00
Molkobain
f2725c5a5c
Add $bAllowDefaultPicture parameter to UserRights::GetContactPictureAbsUrl() to return null instead of the default picture
2020-08-13 17:46:48 +02:00
Pierre Goiffon
91c6916d86
🐛 Fix setup homepage error with PHP < 7.1.0
...
Was due to const visibility added in ormLinkSet class in commit b58a084d
This isn't supported before PHP 7.1.0, see https://www.php.net/manual/fr/language.oop5.constants.php :
> As of PHP 7.1.0 visibility modifiers are allowed for class constants.
2020-08-13 15:29:27 +02:00
Molkobain
f90a5b77ad
Fix UserRights::GetContactPictureAbsUrl() when using optional $sLogin parameter
2020-08-13 14:47:07 +02:00
Molkobain
703161157b
Fix UserRights::GetUserId() when using optional $sLogin parameter
2020-08-13 14:08:54 +02:00
Molkobain
55c896bcd3
Internal - Add parameter $aDesiredAttTypes to the MetaModel::GetAttributesList() to filter the result on some attribute types only
2020-08-13 14:08:54 +02:00
Molkobain
dfdeb21023
PHPDoc & code cleanup
2020-08-13 14:08:53 +02:00
Molkobain
9be4743cf6
Internal - UserRights: Rename 1 var. and 1 method to something more meaningful
2020-08-10 14:49:19 +02:00
Stephen Abello
4195cd011c
N°2847 * Fix wrong image name for default placeholder
...
* Close popupmenu when clicking on toggler a second time
* Fix an error in newsroom menu
2020-08-10 14:16:43 +02:00
Molkobain
efb3f7f9cd
Internal - Rework on User and UserRights classes:
...
- PHPDoc
- Add User::GetInitials() method
- Fix several calls to UserRights::FindUser()
- Add UserRights::GetUserInitials()
- Change usage of DBObject->Get('friendlyname') to DBObject->GetRawName()
2020-08-10 11:52:06 +02:00
odain
e5487edbfb
Merge remote-tracking branch 'remotes/origin/feature/perf-serialization' into develop
2020-08-10 11:10:44 +02:00
Stephen Abello
ea7924663a
N°2847 Add a user placeholder image selector in user preferences (poc, need to cleanup)
2020-08-07 15:42:10 +02:00
odain
8902d6e532
CI migration/automation + new test to ease iTop release management
...
- new Jenkinsfile and .jenkins removal to launch phpunit/behat tests
triggered on both iTop build and push.
- N°3053 - Check XML conversion methods
- N°3057 - New build recipe
- N°3059 - Automatically set the documentation URLs
- N°3052 - Check community modules XML version against latest version
- N°3054 - Check community modules version against major version
- N°3062 - setup.css file integrity test
- N°3060 - Check consistency between the list of modules and installation.xml
- Add exclusion group for CI
- N°3061 - Automatically check the installation.xml consistency
2020-08-07 14:48:51 +02:00
Stephen Abello
18b653f641
N°2847 Handle no contact linked to user on usr menu icon hover
2020-08-04 14:44:42 +02:00
Molkobain
c61a66ca69
N°3233 - Remove "display_template" from datamodel classes
2020-08-04 13:26:57 +02:00
Molkobain
bd0480b5c5
N°3233 - Remove "display_template" from the metamodel and compiler
2020-08-04 13:26:57 +02:00
Pierre Goiffon
07bd6b8539
N°3219 cron : reset CMDBChange for each process
2020-08-04 09:44:20 +02:00
Stephen Abello
ed1f3aa950
N°2847 Add bottom menu part :
...
* Notifications icon
* User icon
* Extended user data
Still todo:
* Initialize Newsroom and feed infos to template
* Initialize User popover menu
2020-08-03 17:07:21 +02:00
Molkobain
f59de920c1
PHPDoc & code cleanup
2020-08-02 21:18:23 +02:00
Molkobain
3406ebf1fd
Merge remote-tracking branch 'origin/develop' into feature/backoffice-full-moon-design
2020-07-30 15:23:06 +02:00
Molkobain
1f0211b45a
N°2847 - Rework iTopWebPage layout (WIP Part VI)
...
- iTopWebPage: Restore "open search" feature
- iTopWebPage: Change all resources URL to absolute in order to benefit from the "duplicate removal" benefits
- iTopWebPage: Remove obsolete method IsMenuPaneVisible()
- Config: Add new parameters quick_create.enabled / global_search.enabled / breadcrumb.enabled
- utils: Add new GetAppRevisionNumber() method
- Introduce iUIBlock interface for UI layouts, components, ...
- Introduce BlockRenderer to properly render blocks
- Add "render_block" function to TwigHelper to render blocks directly from TWIG
- Refactor layouts and components into proper block classes to fit the new architecture
2020-07-30 15:22:17 +02:00
Molkobain
71dbccd034
N°3216 - Refactor form files to be part of the autoloader
2020-07-30 15:22:16 +02:00
Molkobain
59b6dd735e
Add helpers to retrieve some of the current contact data in UserRights
2020-07-30 15:22:16 +02:00
Molkobain
1766d42350
Internal: Refactor some harcoded attribute codes into constants in UserRights
2020-07-30 15:22:16 +02:00
Pierre Goiffon
b58a084de5
N°2334 n:n relations : same fields displayed in EDIT and VIEW modes
...
Before we were only showing lnk fields in VIEW, and lnk+remote in EDIT (excluding some fields, see below).
Now by default (as this is customizable in VIEW mode) we have the same !
Rules to choose fields are moved from \UILinksWidget::__construct to :
* \MetaModel::GetZListAttDefsFilteredForIndirectRemoteClass
* \MetaModel::GetZListAttDefsFilteredForIndirectLinkClass
2020-07-30 11:40:54 +02:00
Pierre Goiffon
1148449bb7
📝 Add missing @since on \DBSearch::GetFirstResult
2020-07-29 17:21:15 +02:00
Pierre Goiffon
90b60f90ae
Update files version to 2.8.0
2020-07-28 11:40:16 +02:00
Pierre Goiffon
a26c2cbcdb
📝 Add phpdoc on DBObjectSearch method
2020-07-28 11:35:30 +02:00
Molkobain
ec238569c4
Add method to get allowed classes for specific action (read/modify/...) and categories (bizmodel, ...)
2020-07-27 15:09:34 +02:00
Molkobain
b6117b157c
PHPDoc & code cleanup
2020-07-27 15:09:34 +02:00
Eric
ace676dc24
N°2585 - Fix alias problem in portal scopes
...
The re-aliasing map structure now allows multiple mapping for the same alias (used for the translations of UNIONS)
2020-07-23 16:41:57 +02:00
Eric
8122270476
N°3176 - OQL: Fix malformed UNION queries in portal scopes
...
Fix regression in Unit tests
2020-07-22 17:30:38 +02:00
Eric
1f66d53ab4
N°3176 - OQL: Fix malformed UNION queries in portal scopes
...
Fixed AddCondition_ReferencedBy() for unions (regression introduced by N°2970)
2020-07-22 16:09:08 +02:00
Eric
dfaeca43e4
N°3148 - OQL request malformed
...
Fix variables in ListExpression
2020-07-22 10:06:11 +02:00
Eric
5b04143711
N°3111 - Fix Portal export
2020-07-21 16:39:55 +02:00
Eric
bd14096d43
N°3150 - Wrong count for archived objects
2020-07-21 14:21:55 +02:00
Eric
78f51d40f6
DBObject GetValues()
2020-07-17 15:41:52 +02:00
Eric
72cb3de50d
N°3173 - Installation issue with PHP 7.4 (fix php notice)
2020-07-16 17:23:21 +02:00
Eric
8bfc54e6b4
Event Service
2020-07-15 14:42:33 +02:00
Romain Quetiez
acf0548c4c
N°3171 - Friendly name and obsolescence flag not refreshed ( #151 )
...
- Compute any type of expression on server side
- Recompute friendly name and obsolescence flag on server side (DBOBject)
- Bonus : compute dependency for external keys
2020-07-10 17:26:37 +02:00
Denis Flaven
ea75092bb3
N°3166 - fix for a crash in expressioncache
...
iTop was crashing if the expression/format for the name of a class contained a quote (')
2020-07-10 11:27:43 +02:00
Eric
4f3931e828
N°2370 - Remove MySQL views in iTop, moved to "combodo-views" extension
2020-07-08 10:33:15 +02:00
Eric
d73fdce3c5
Fix legacy regression
2020-07-07 13:58:36 +02:00
acognet
9628a1d028
N°2284 - Replace JQuery Autocompleter plugin by JQuery UI Autocomplete widget and start of bug 2390 - Auto-complete - Relevant results in first
2020-07-02 11:46:51 +02:00
acognet
98870b06e3
2548 - API : remove \DBObject::GetRelationQueries overrides in default datamodel
2020-07-01 16:28:20 +02:00
bruno DA SILVA
46d91322c1
n°2556 - fix errors in the merge of support/2.7 into develop
...
The cherry picks resulted in an out of order apply of the commits, the result was that the wrong code was keeped
2020-07-01 15:41:46 +02:00
acognet
a67fce66fc
N°2999 - Optimize OQL
2020-06-26 16:42:03 +02:00
acognet
491d1d7d53
N°API : remove CMDBSource::GetNextInsertId
2020-06-26 16:20:15 +02:00
acognet
54b48dc908
N°2372 - API : remove \MetaModel::EnumLinksClasses and \MetaModel::EnumLinkingClasses
2020-06-26 16:17:04 +02:00