Commit Graph

35 Commits

Author SHA1 Message Date
Romain Quetiez
58428aefe2 Fixed several issues in the setup (load of data) :
- stopper bug in case of reinstallation/upgrade: the file keyscache.tmp could be left in case of issue in the previous execution of the setup ; the file is now deleted prior to running a new session
- if a fatal error (e.g. call to undefined function) occured during the load of a file (ajax), then we had no clue that this happened ; a log has been added after the load so that we can get faster to the issue
- reordered data files (not the same order in MS-Explorer) to maximize ext key resolution on the first pass
- resolving external keys afterwards should work again (though the file order is avoiding this currently), as the objects are declared "dirty" and no automatic reload will be attempted during further manipulations
- added a log when an external key cannot be resolved during the final round

SVN:trunk[191]
2009-10-09 14:00:48 +00:00
Romain Quetiez
d71df57c66 Added investigation means: DB dump from the ITopConsultant page, this feature should not rely on mySQL statements that are not allowed in the OVH hosting setup. The feature is 100% new and does not interfere with any existing code. Therefore I would advise to upgrade the official build as quickly as possible.
SVN:trunk[190]
2009-10-02 15:07:28 +00:00
Romain Quetiez
a8520c37ee Fixed bug in CSV import: was not working when using private keys. Also fine tuned the field matching mechanism and now the CSV export/import are 100% symmetric
SVN:trunk[182]
2009-09-22 13:36:29 +00:00
Romain Quetiez
048406ab47 Deletion of objects:
- automatic delete of mandatory ext keys, and if the option is set in the data model (I've set the "manual" option by default, and the "auto" option for links)
- automatic reset of optional ext keys (several keys could be updated on one single object)
- takes into account the user rights
- security against the use of page arguments when the automatic deletion is not allowed
Known limitations:
- does not check that resetting an ext key could affect the lifecycle consistency (e.g. delete a workgroup referenced by a ticket)
- does not check recursively on the automatic deletion, which should not be a problem given the current data model (TBC)

SVN:trunk[181]
2009-09-18 16:12:38 +00:00
Romain Quetiez
0454e7fa78 Fixed bug on deletion: take the inheritance into account when checking for referencing objects (eg. a ticket linked to a PC was not seen)
SVN:trunk[180]
2009-09-18 09:35:21 +00:00
Romain Quetiez
9e702899f2 Fixed a security hole: any user was allowed to edit users and profiles, and therefore could give himself admin rights - now, only admins are allowed to do that
Also added a debugging capability: user rights shown for any object class, on demand in URP_Users::DisplayBareRelations()

SVN:trunk[178]
2009-09-17 15:50:28 +00:00
Romain Quetiez
a6c5218dc6 Fixed bug when creating a login (flush privileges = reset the data cache)
SVN:trunk[175]
2009-09-17 12:50:33 +00:00
Romain Quetiez
0232d2dadc User Management: removed limitation on the user rights that could not be established without a given object set, and added a feedback in the user details page (grant summary, based on the results returned by the std user management API, thus is reliable)
SVN:trunk[169]
2009-09-16 16:01:12 +00:00
Romain Quetiez
7b6295f0a0 Fixed regression: server status was reset
SVN:trunk[161]
2009-09-16 07:53:12 +00:00
Romain Quetiez
043552536d Cosmetics on the bulk load (followed new test plan)
SVN:trunk[159]
2009-09-14 16:06:04 +00:00
Romain Quetiez
85ad73419e Hyperlinks in the history logs presentation
SVN:trunk[155]
2009-09-14 08:38:52 +00:00
Romain Quetiez
9ca940a41e Revised the CSV import: fixed issues with the external keys, added hyperlinks to the found objects, obsoleted the word 'pkey', replaced by 'id'
SVN:trunk[154]
2009-09-14 08:37:10 +00:00
Denis Flaven
c45352bcc5 Disabled automatic population of Zlists which was buggy. Not all ZLists are made of AttCode !
SVN:trunk[153]
2009-09-12 19:58:20 +00:00
Romain Quetiez
455d9b23be Improve the UI on object deletion: added a confirmation form and do check the dependencies so as to preserve the DB integrity
SVN:trunk[146]
2009-09-11 15:44:24 +00:00
Romain Quetiez
cc7ea74159 Work in progress for integration of "allowed values"
SVN:trunk[144]
2009-09-11 15:33:06 +00:00
Romain Quetiez
9756ed026f Added INET_ATON and INET_NTOA verbs to the OQL, and allowed carrier returns chars (\r) in the OQL (same as a whitespace)
SVN:trunk[143]
2009-09-11 12:38:46 +00:00
Romain Quetiez
eec951f9ed Fixed bug in the history of tickets (incident or any other type, for which the name is based on the ticket ID, which remained undetermined until the record is created)
SVN:trunk[142]
2009-09-11 12:03:34 +00:00
Denis Flaven
9dfb8940cd Added the validation of mandatory form fields before submitting the creation / modification / clone forms.
SVN:trunk[140]
2009-09-11 06:01:32 +00:00
Romain Quetiez
a2f2cb2d22 Fixed bug on Update / WriteLinks
SVN:trunk[139]
2009-09-10 16:20:35 +00:00
Romain Quetiez
5b26f68ec1 Fixed issue with Date fields being mandatory (DB column created with attribute ON UPDATE CURRENT_TIMESTAMP)
SVN:trunk[134]
2009-09-10 14:29:29 +00:00
Romain Quetiez
c97db0e5e3 Improved the run query page: added meaningfull examples, including "ticket of the user currently logged in", and did some cosmetics on the page (examples shown in a drawer) ; needed to add some options to the OQL (date intervals)
SVN:trunk[122]
2009-09-08 15:10:31 +00:00
Romain Quetiez
3c1df7332c Latest data model (Erwan) and few cosmetic changes (safer display of object hyperlinks)
SVN:trunk[119]
2009-09-07 14:29:49 +00:00
Romain Quetiez
2f26ebe54c Finalization of the user management by profile (UI to manage the accounts), and some unrelated changes:
- Using class labels in the UI
- Data model: you may specify a set of allowed values from a query (see caller_id in bizIncident class), still not 100% used in the UI but does not generate any error
- Data model: you may specify a password field (AttributePassword replacing AttributeString)
- Setup: calling UserRight::Setup() right after calling UserRight::CreateAdministrator()
- Setup: administrator account created with "my organization" and a dedicated contact
- Menus: optimized the load of std menus (queries written in OQL to get the benefit of the query cache)
- Menus: admin tools, seen only by people having the "admin" profile
- Object edition: fixed bug with the display of N-N links in the form

SVN:trunk[110]
2009-09-04 15:22:40 +00:00
Romain Quetiez
e345b516c4 Fixed bug provoking a warning unseen so far but it was causing a fatal error during the installation, with IIS as web server
SVN:trunk[106]
2009-08-27 13:52:31 +00:00
Denis Flaven
802e06888a New helper function IsModified
SVN:trunk[101]
2009-08-25 13:52:13 +00:00
Denis Flaven
a8946fbfdb - Do NOT rely on PHP short open tags, for a better compatibility
- In case of exception, display the whole error string even if it contains HTML tags, sometimes ugly but sometimes VERY useful

SVN:trunk[99]
2009-08-22 09:52:12 +00:00
Denis Flaven
ef27d068ef Do NOT use PHP short open tags for a better compatibility
SVN:trunk[97]
2009-08-22 09:49:13 +00:00
Romain Quetiez
ff6a5a45ee Fixed issue #28, objects not created by the CSV import because mandatory external keys are not in the column set.
SVN:trunk[95]
2009-08-21 15:20:35 +00:00
Romain Quetiez
daa9657e08 Finalized the module "user rights by profile". It is fully integrated with the application setup (inc. sample data). and it it now ready for developing the user management GUI
SVN:trunk[93]
2009-08-20 13:09:41 +00:00
Denis Flaven
3544b38ab9 - Improvements to the history log for large text fields
SVN:trunk[91]
2009-08-17 18:24:26 +00:00
Romain Quetiez
b5c7cbf509 User management by profile ready for integration with the UI
and some caching has been implemented for the building of queries (both from an OQL or from a programmatic query)

SVN:trunk[90]
2009-07-31 13:18:44 +00:00
Denis Flaven
1fdd659395 - Better display of the archives/change log on each object (Trac ticket #9)
SVN:trunk[89]
2009-07-24 15:44:51 +00:00
Romain Quetiez
6b6f89f1c1 User management by profile moving forward: pages to check the projection of objects/users in user defined dimensions
Introduced parameters in OQL (:myvar)
Added the verb MetaModel::IsValidObject($oMyObj)

SVN:trunk[88]
2009-07-24 13:14:51 +00:00
Denis Flaven
665d90175f - reintegrated the changes (mostly bug fixes) from the 0.7.2 branch
SVN:trunk[83]
2009-07-18 17:24:25 +00:00
Denis Flaven
b756db0992 Moved under "trunk" to be able to track releases under "tags"
SVN:trunk[55]
2009-04-28 09:03:12 +00:00