Commit Graph

88 Commits

Author SHA1 Message Date
Romain Quetiez
f8a582b375 New helper class: TemplateString - to allow extended syntaxes such as $this->location_id->org_id->parent_id->name$... to be progressively introduced and replace the heavy ToArgs()
SVN:trunk[1645]
2011-10-24 13:37:37 +00:00
Denis Flaven
c4db9cd84e More fixes for Trac#446: XSS vulnerabilities with vectors containing double quotes
SVN:trunk[1563]
2011-09-08 13:21:32 +00:00
Denis Flaven
29f1dd5a69 Prevent an exception in some (rare?) conditions where an incorrect value was set in a temporary object....cf Trac #466
SVN:trunk[1546]
2011-08-31 14:28:41 +00:00
Denis Flaven
6df6e4a9cc - Allow creation of an ticket in a different initial state via the new 'initial_state_path' attribute.
- Support update of CaseLog fields in bulk_modify mode.

SVN:trunk[1517]
2011-08-25 16:04:58 +00:00
Romain Quetiez
21002574ce Notifications: case log in plain text (this->case_log) or the latest entry (this->head(case_log))
SVN:trunk[1513]
2011-08-25 11:49:15 +00:00
Denis Flaven
ffa9b21364 Bug fix: allow modifying an object as if in target state, before applying the stimulus (cf PortalWebpage).
SVN:trunk[1506]
2011-08-24 15:58:22 +00:00
Denis Flaven
6c8e021727 Fixed Trac# 457: crash when deleting two organizations.
SVN:trunk[1482]
2011-08-19 17:14:06 +00:00
Denis Flaven
772c892b15 New option DEL_MOVEUP (move the children up one level) for 'on_target_delete' for HierarchicalKey attributes.
SVN:trunk[1430]
2011-08-07 12:24:45 +00:00
Denis Flaven
aa6d7578d1 Fixed issues when adding/removing modules during the setup:
- When adding modules: the data model was not refreshed in the cache before attempting to load "structure" (or "sample") data
- When removing a module: remaining (invalid) triggers were still used.

SVN:trunk[1401]
2011-08-01 10:30:22 +00:00
Denis Flaven
7e60a9fce7 Implementation of a new type of ExternalKey attribute: HierarchicalKey. This attribute implements the "nested set" model and is used to define a hierarchy of an arbitrary depth of objects of the same class. With this new feature it is possible to retrieve in one OQL query (and in one sql query as well) all the children of a given organization.
I'm still keeping (commented out) some of the traces helpful for debugging the construction of the OQL queries.

SVN:trunk[1349]
2011-07-22 12:07:09 +00:00
Romain Quetiez
c4b7497770 #423 Fixed issues with application root URL = f(mode CLI, modules, web server techno, etc.)
SVN:trunk[1304]
2011-06-28 10:30:03 +00:00
Romain Quetiez
4681b03646 #122 Optimized the load of data set (do not load unused columns, was provoking the swapping of MySQL tmp memory tables)
SVN:trunk[1281]
2011-06-15 11:59:25 +00:00
Romain Quetiez
fc0f6b636e Data sync: fixed issue with the check while creating a new data source (depending on the target class)
SVN:trunk[1237]
2011-04-26 15:24:13 +00:00
Romain Quetiez
60b2162d84 Data synchro: added notifications in case of error + fixed a bug in the error reporting (reconciliation on null values, last error was not recorded)
SVN:trunk[1226]
2011-04-22 13:54:16 +00:00
Romain Quetiez
b7bd1a5943 Data synchro: if the object is deleted from within iTop, do cleanup sync table and replica as well
SVN:trunk[1223]
2011-04-21 09:04:34 +00:00
Romain Quetiez
8ff40fb4b8 Deletion: entirely reviewed to take into account the objects being synchronized by an external data source, or the plugins constraints.
SVN:trunk[1194]
2011-04-08 11:29:25 +00:00
Denis Flaven
1a74fe1ec3 Bug fix: when doing a bulk modify (or bulk apply stimulus) the external keys that were read-only in the edition form were displayed as "ClassName #id" instead of using their friendly name. This is now fixed, but requires a load of the target object.
SVN:trunk[1186]
2011-04-06 19:13:08 +00:00
Denis Flaven
195c1dabf8 New type of Attribute "CaseLog" (under construction !)
SVN:trunk[1166]
2011-04-04 08:37:30 +00:00
Romain Quetiez
d4bfa4c48f Optimization in the setup: 10 queries to insert the 1500 action grant records
SVN:trunk[1152]
2011-03-29 14:28:47 +00:00
Denis Flaven
bec8b57fe1 Implementation of bulk modify and bulk apply stimulus... to be tested !
SVN:trunk[1145]
2011-03-23 16:22:35 +00:00
Romain Quetiez
3790c8f7d5 Fixed a regression in the deletion (and simplified the algorithm, though more queries will be issued)
SVN:trunk[1142]
2011-03-23 08:38:49 +00:00
Romain Quetiez
7989cf622f CSV import: fixed a few issues (restricted to N-N links) + added arguments to the export page, to allow for exporting N-N links
SVN:trunk[1130]
2011-03-15 12:19:04 +00:00
Romain Quetiez
f3cc490295 #328 Added the capability to import/export link sets in CSV format
SVN:trunk[1129]
2011-03-14 14:11:08 +00:00
Romain Quetiez
0b32f511b8 Plugin API - alpha version
SVN:trunk[1124]
2011-03-11 11:04:50 +00:00
Romain Quetiez
c4cca2b2f8 #348 Multi-column queries not working fine with open joins and if null values to be displayed
SVN:trunk[1115]
2011-03-08 10:46:03 +00:00
Denis Flaven
3d4e76d8b0 Synchro Data Sources Implementation on going...
SVN:trunk[1107]
2011-03-02 17:06:56 +00:00
Romain Quetiez
cf8174d54e Data Exchange - Improved to allow the import of complex attributes like passwords and documents + few fixes
SVN:trunk[1106]
2011-03-02 14:38:12 +00:00
Denis Flaven
be1d8674f3 Data Exchange implementation in progress...
SVN:trunk[1104]
2011-03-02 09:12:15 +00:00
Denis Flaven
f3f2eb5c79 Synchro Data Sources Implementation on going...
SVN:trunk[1100]
2011-03-01 09:01:44 +00:00
Romain Quetiez
a9a530a2cb Core: Join any table to an OQL query (prerequisite to Data Exchange)
SVN:trunk[1061]
2011-02-01 16:54:10 +00:00
Romain Quetiez
1a52f4de72 #149 Implemented friendly names
SVN:trunk[1057]
2011-01-26 09:43:35 +00:00
Romain Quetiez
d0f168adbb Read-only mode - draft
SVN:trunk[961]
2010-11-22 14:13:49 +00:00
Denis Flaven
8d80d73f35 - Allow DBObjects to be deleted by the standard UI 'Delete', which may be useful in case a DBObject has to be deleted as a dependent object of a CMDBObject.
SVN:trunk[945]
2010-11-16 13:21:21 +00:00
Denis Flaven
1b618ff57c (Partial) fix for Trac #285: turn email fields into click-able mailto: hyperlinks.
SVN:trunk[915]
2010-10-22 10:33:53 +00:00
Romain Quetiez
1e1e10aa00 #111 Improved the data loader, and added a REST service to load data from a file
SVN:trunk[892]
2010-10-13 16:36:51 +00:00
Denis Flaven
d41e826297 Fixed portal hyperlink
SVN:trunk[861]
2010-09-14 08:35:11 +00:00
Denis Flaven
822c79ce5e - Fixed the URL to the portal hyperlink (hyperlink(portal)) in email notifications.
SVN:trunk[853]
2010-09-13 18:55:30 +00:00
Romain Quetiez
dfb1ae83c7 Fixed issue on deletion: was not recursive, leading to data integrity issues
SVN:trunk[815]
2010-09-10 18:49:48 +00:00
Romain Quetiez
0c4a030e2a Improved security
SVN:trunk[809]
2010-09-10 11:59:04 +00:00
Romain Quetiez
7312d977f3 Notifications template may specify this->hyperlink(portal) (and fixed issues in sample data)
SVN:trunk[805]
2010-09-09 15:26:07 +00:00
Romain Quetiez
5f497a55de New profile: Portal User (and link from a ticket to the user portal)
SVN:trunk[801]
2010-09-09 13:47:22 +00:00
Romain Quetiez
49d96e503f #205 Missing object hyperlink when using trigger on object creation
SVN:trunk[783]
2010-09-06 16:40:16 +00:00
Romain Quetiez
40eb8367a4 #233 Speed up data load, found a bottleneck, but still some room for improvement, added internal settings to boost up huge load or workaround a bug in CheckToWrite (if any)
SVN:trunk[772]
2010-09-05 22:20:28 +00:00
Romain Quetiez
15b805fed6 #242 loosing linked objects when modifying name attribute
SVN:trunk[748]
2010-09-02 16:51:41 +00:00
Romain Quetiez
4894dd2b4c New placeholders in templates: this->html(attcode) and this->label(attcode)
SVN:trunk[735]
2010-09-01 09:07:01 +00:00
Romain Quetiez
77159e8766 Notification were not working well with class hierarchy (not in Trac at that time)
SVN:trunk[734]
2010-08-31 21:11:11 +00:00
Romain Quetiez
8a788acb9a #139 Improved string size verification, the rule is guaranteed by the core
SVN:trunk[721]
2010-08-30 16:11:46 +00:00
Romain Quetiez
283cbeddc0 Fixed bug: grant matrix apparently not updated (but it was) when modifying/creating a user account
SVN:trunk[706]
2010-08-26 17:23:31 +00:00
Romain Quetiez
b28735213d #137 #203 #204 #119 - Finalized the new (simplified) module for user rights management ; needed to review deeply the data integrity management to have the setup working again!
SVN:trunk[697]
2010-08-25 14:51:36 +00:00
Denis Flaven
d0cfd699a4 Fixed for Trac #223: when checking the value of an attribute also use the pattern matching defined at the atribute level itself to ensure consistency.
SVN:trunk[693]
2010-08-23 17:01:40 +00:00