Pierre Goiffon
dc47c34981
(Retrofit from trunk) r4983 N.1065 When joining, reverse leaf-root order : now it's root first !
...
* decrease the amount of joins on obsolescence use cases
* should also improve other uses cases as most of the time we believe the attribute linked is in the root class !
* the root table join is done using expressions instead of OQL for perf reasons
* a where clause on finalclass is also added to avoid problems if the leaf table join is not used (would be removed during query optimization phase)
SVN:2.4[4988]
2017-10-05 16:03:08 +00:00
Eric Espié
3ac5131a19
(Retrofit from trunk) r4969
...
N°1098 Fix CSV import by id. Fix a regression introduced in rev 4885.
---------------------
r4968
N°1100 - External field pointing to a magic attribute * A specific pass has been added in MetaModel::InitClasses() to generate the magic attributes before the external fields.
---------------------
SVN:2.4[4987]
2017-10-05 16:00:49 +00:00
Eric Espié
134a9aa684
(Retrofir from trunk) N.1065 Fix performance issues (unexpected objects reload).
...
* Fix regression in 2.4 into attribute optimization (archive_flag, obsolescence_flag).
* Fix attribute optimization (friendlyname for ExternalField pointing to ExternalKey)
SVN:2.4[4986]
2017-10-05 15:59:21 +00:00
Eric Espié
a98c0d32ae
(Retrofit from trunk)
...
r4961
N°1065 Fixed a regression introduced in r4965.
SVN:2.4[4985]
2017-10-05 15:57:16 +00:00
Eric Espié
38af2b85c4
(Retrofit from trunk)
...
r4961
N°1065 Fixed a regression introduced in r4965.
---------------------
r4960
N.1065 Fix performance issues. Limit APC emulation cache entries to avoid disk saturation. New configuration entry added: 'apc_cache_emulation.max_entries'.
---------------------
r4956
N.1065 Fix performance issues. ormLinkSet creates the objects on demand.
---------------------
r4954
APC emulation using files when APC or APCu is not installed.
SVN:2.4[4984]
2017-10-05 15:55:15 +00:00
Guillaume Lajarige
646972838a
(retrofit from trunk) N°1034 New EventOnObject class to store explaination on object's updates
...
SVN:2.4[4981]
2017-10-05 15:50:34 +00:00
Guillaume Lajarige
715eeff627
(Retrofit from trunk) N°1082 Fixed a regression introduced with ormLinkSet rework: Modified links not updated.
...
SVN:2.4[4979]
2017-10-05 15:48:13 +00:00
Romain Quetiez
651de821df
(Retrofit from trunk) N.1065 and #372 Query build cache not efficient with global search (each search generates about 80 new entries in the APCu cache)
...
SVN:2.4[4978]
2017-10-05 15:46:53 +00:00
Guillaume Lajarige
2233ea5f54
(Retrofit from trunk) N°1067 Rework on ormLinkSet BC with DBObjectSet.
...
- PHP notice are not thrown anymore, see PHPDoc instead.
- GetColumnAsArray() introduced.
SVN:2.4[4977]
2017-10-05 15:46:21 +00:00
Eric Espié
39e6915e05
r4945
...
(Retrofit from trunk) Fix regression introduced in trunk[4943]
---------------------
r4944
Code cleanup.
---------------------
r4943
N.1065 Fix performance issues (caches added on query build)
SVN:2.4[4976]
2017-10-05 15:45:35 +00:00
Guillaume Lajarige
6279f4ac70
(Retrofit from trunk) Internal: Typo in PHPDoc
...
SVN:2.4[4975]
2017-10-05 15:45:01 +00:00
Guillaume Lajarige
2e9cd6a342
(Retrofit from trunk) Internal: Changed way AttributeLinkedSet check if two ormLinkSet are equal.
...
SVN:2.4[4973]
2017-10-05 15:42:51 +00:00
Denis Flaven
4b210273d2
(retrofit from trunk) N°1806, N°1069: CSV and Excel export and import of documents (files) and images as URLs.
...
SVN:2.4[4953]
2017-09-30 09:24:29 +00:00
Romain Quetiez
951e8e03b0
(Retrofit from trunk] N.1072 Localization for magic attributes archive_date (completed the existing implementation) and obsolescence_date (full implementation)
...
SVN:2.4[4947]
2017-09-27 12:38:01 +00:00
Romain Quetiez
4611442665
(Retrofit from trunk) N.707 Export of custom fields: improved the xlsx format and implemented the spreadsheet format (both are aligned)
...
SVN:2.4[4936]
2017-09-22 13:52:25 +00:00
Romain Quetiez
c110206264
(Retrofit from trunk) N.1052 After a setup or MTP, the datamodel is not taken into account... until the web server gets restarted or the APC cache (user data) gets reset.
...
SVN:2.4[4924]
2017-09-20 14:48:07 +00:00
Guillaume Lajarige
b3ad2030cb
(Retrofit from trunk) N°1006.2 Templates: $this->raw(attcode)$ can be used to display an date(time) attribute in the SQL format like before.
...
SVN:2.4[4919]
2017-09-18 15:56:08 +00:00
Guillaume Lajarige
0938ba939c
(Retrofit from trunk) N°1006 Templates: Date & time format is now applied when using a date(time) attribute in a placeholder (eg. Notifications)
...
SVN:2.4[4918]
2017-09-18 15:55:02 +00:00
Guillaume Lajarige
66ae89e91d
(Retrofit from trunk) N°1038 Fatal error on transition with AttributeBlob or AttributeCaseLog
...
SVN:2.4[4908]
2017-09-13 16:09:02 +00:00
Guillaume Lajarige
affd8ea8a6
Internal: Code cleanup. Unecessary var_dump as it is already logged in the error log.
...
SVN:trunk[4898]
2017-09-06 18:56:08 +00:00
Romain Quetiez
abd2748a09
N.890.1 Move to test/prod failing with message "Unknown attribute org_id_archive_flag from class contact"
...
SVN:trunk[4897]
2017-09-06 15:31:42 +00:00
Guillaume Lajarige
6a1c9b9f26
N°1021 Regression introduced in r4841: Autocomplete failing with "Unknown filter code..."
...
SVN:trunk[4896]
2017-09-06 08:01:45 +00:00
Guillaume Lajarige
cf79456ff3
N°583.2 Fixed regression introduced in r4861.
...
SVN:trunk[4885]
2017-08-31 13:34:50 +00:00
Romain Quetiez
3d72060bf5
N.890.1 and N.890.2: build a new run time environment into a separate "build" directory, then commit it by the mean of quick and bullet proof file copies/moves. Not yet used in the setup.
...
SVN:trunk[4881]
2017-08-29 08:08:24 +00:00
Guillaume Lajarige
b02d347541
N°977 DataSynchro: Creation and edition was broken due to the new object set API from ormLinkSet.
...
Backward compatible method have been introduce to ensure plugins and modules compatibility. That being said they are already flagged as deprecated and should not be used.
New: Using those deprecated methods will raise a PHP deprecated error.
SVN:trunk[4878]
2017-08-25 13:06:21 +00:00
Guillaume Lajarige
58534dca39
N°782.1 New configuration parameter 'allow_menu_on_linkset' (boolean, default value false) to display actions in linkset in view mode (new, modify, delete, ...)
...
SVN:trunk[4876]
2017-08-25 08:35:59 +00:00
Romain Quetiez
cba6e8d8a3
890.3 Fixed regression introduced in commit 4870 - fatal error during a MTP from the designer
...
SVN:trunk[4874]
2017-08-23 15:31:08 +00:00
Guillaume Lajarige
fd9fe85ef3
N°844 Portal: ExternalField support in forms was not properly supporting external key as readonly.
...
SVN:trunk[4873]
2017-08-23 14:39:58 +00:00
Romain Quetiez
b1494d0dd9
N890.3 Archive mode toggle menu not visible after setup/MTP: the information is cached into the session and needs to be reset
...
SVN:trunk[4870]
2017-08-21 15:28:07 +00:00
Guillaume Lajarige
bad5aff764
Internal: PHPDoc on some DBObjectSet methods.
...
SVN:trunk[4868]
2017-08-18 15:37:44 +00:00
Guillaume Lajarige
440f2639b5
N°498 Added some attributes to the HTML sanitizer (title for a tag, alt / title for img tag).
...
SVN:trunk[4867]
2017-08-18 13:59:49 +00:00
Guillaume Lajarige
80832877eb
N°984 Portal: Dependancies on autocomplete fields now works properly. (Changing value on a parent autcomplete was not resetting value on a dependant autocomplete field)
...
SVN:trunk[4863]
2017-08-17 15:21:17 +00:00
Guillaume Lajarige
4171c5c35f
N°583 CSV Import now supports friendlynames as reconciliation keys. More over, read-only attributes (friendlyname, obsolescence flag, ...) are forced to reconciliation scheme.
...
SVN:trunk[4861]
2017-08-17 09:51:38 +00:00
Guillaume Lajarige
df4cad3ff1
N°844 Portal: ExternalField support in forms has been improved. For example, email and url links were not displayed as proper HTML.
...
SVN:trunk[4854]
2017-08-08 11:59:53 +00:00
Guillaume Lajarige
6f40459215
N°952 Portal: Added UI extension APIs similar to those used in the console (Experimental!)
...
SVN:trunk[4852]
2017-08-02 11:30:30 +00:00
Denis Flaven
09a2dbc185
Bug fix: for archive and obsolescence flags: the parent class may be a pure PHP class. Use ParentPersisteClass instead.
...
SVN:trunk[4848]
2017-07-28 12:02:03 +00:00
Denis Flaven
4710ae6eb7
No change (just a comment for better typing return values)
...
SVN:trunk[4846]
2017-07-26 08:21:36 +00:00
Romain Quetiez
b9866008b2
Impact analysis: better error report if the data model defines redundancy on a unidirectional relation (make it easier to troubleshoot for consultants)
...
SVN:trunk[4840]
2017-07-19 12:53:38 +00:00
Romain Quetiez
46b5293867
N.542, N.912 Finalized the API UserRights::Impersonate. This is an enabler for several enhancements.
...
SVN:trunk[4837]
2017-07-18 09:36:25 +00:00
Romain Quetiez
3c7f5db5e7
N890.6 Obsolescence: if the expression defining the flag is evaluated to null, then consider the object as being NOT obsoleted. The workaround implemented in the reference datamodel has been removed (no need to use COALESCE anymore).
...
SVN:trunk[4834]
2017-07-13 09:36:57 +00:00
Romain Quetiez
d45cbb36f7
Regression introduced in the rework of N-N link edition. Parsing error on PHP 5.3
...
SVN:trunk[4831]
2017-07-11 15:11:46 +00:00
Romain Quetiez
e3847ac24b
Archive: Experimental API DBSearch::DBBulkWriteArchiveFlag, to quickly archive a huge number of objects (minimizes the number of queries needed to do the job, skips object change handlers, and DOES NOT RECORD the change in the history of object changes -that limitation could be fixed later)
...
SVN:trunk[4807]
2017-07-07 14:12:19 +00:00
Romain Quetiez
0844beca79
Obsolescence: do not lose external keys pointing to obsolete data
...
SVN:trunk[4786]
2017-06-30 14:06:08 +00:00
Romain Quetiez
813c80499c
Archive: fixed regression on the exports (N.890.8)
...
SVN:trunk[4778]
2017-06-30 08:21:43 +00:00
Romain Quetiez
cbf2919dcd
Obsolescence: fixed the case when an external field points to an external key that is obsoletable (or archivable), causing an error during the setup (view could not be created)
...
SVN:trunk[4776]
2017-06-29 15:17:17 +00:00
Romain Quetiez
8451ffdfb4
Regression introduced with the implementation of obsolescence: first install not working (Access denied for user ''@localhost)
...
SVN:trunk[4771]
2017-06-27 13:58:38 +00:00
Romain Quetiez
43b8522b85
Rework of the edition of 1-N and N-N links: managed as a delta from the GUI down to the the lowest APIs.
...
- Fixes the management of obsolete linked data.
- N.744 Fixes concurrent modifications (example: a user modifies a team, another user modifies a person related to that same team). Still NOT fixed with the customer portal.
- N.849 Fixes links edition in the case some data are not allowed to the current user (organization silos) -TO BE TESTED
- #1145 Fixes the creation of duplicate links in one step (Server to NW Device)
- #1147 Fixes the update of duplicate links
SVN:trunk[4766]
2017-06-21 15:47:28 +00:00
Guillaume Lajarige
eca746f558
N°653 Ticket Lifecycle: Part 2, core & console done.
...
SVN:trunk[4761]
2017-06-09 07:06:40 +00:00
Denis Flaven
01865ed7f9
More meaningful default values for the version/revision of iTop.
...
SVN:trunk[4760]
2017-06-08 13:57:05 +00:00
Romain Quetiez
636356f479
N.897 Object having too many external keys could not be recorded (61 tables)
...
SVN:trunk[4755]
2017-06-01 12:44:21 +00:00