Commit Graph

50 Commits

Author SHA1 Message Date
Denis Flaven
dc3713f0ea New implementation for displaying long lists: pagination
SVN:trunk[1295]
2011-06-23 10:46:10 +00:00
Romain Quetiez
c42fa13b92 Templates: new type of block = sqlblock, allows for displaying tables/charts based in SQL queries (much quicker for Group By operations)
SVN:trunk[1289]
2011-06-21 13:12:02 +00:00
Denis Flaven
ddfc84db6a - New implementation of the UIExtKeyWidget that is no longer limited to editing an attribute of an object
- When needed the drop-down list of organizations is replaced by an autocomplete

SVN:trunk[1285]
2011-06-15 17:06:46 +00:00
Romain Quetiez
a0900cd732 Optimization: do not load the full set of items when it comes to displaying an autocomplete!
SVN:trunk[1275]
2011-06-08 13:30:56 +00:00
Denis Flaven
46e7bbe2c8 Bug fix: prevent (infinite) recursion when building search form with external keys, that point to search form with external keys, etc...
Now support nested search dialogs properly...

SVN:trunk[1210]
2011-04-12 09:37:52 +00:00
Denis Flaven
7908b87881 - Make sure that the search form preserves it's "action" (i.e. target page) when reloading (when specifying a derived class). This was breaking the UniversalSearch page.
- Prepare for the style cleanup
- Don't display the menu to create a new 'Email Notification" when listing the notifications sent on a ticket (in the Notifications tab) !

SVN:trunk[1182]
2011-04-06 16:39:42 +00:00
Denis Flaven
bca713a964 Search forms enhancement: when a search criteria is an external (foreign) key, use an autocomplete instead of of drop-down list, when the number of different values is too big, as in other forms.
SVN:trunk[1123]
2011-03-09 16:39:58 +00:00
Romain Quetiez
1a52f4de72 #149 Implemented friendly names
SVN:trunk[1057]
2011-01-26 09:43:35 +00:00
Romain Quetiez
d85aba8ebc Improved change tracking: user login replaced by the full name if available
Added a tab into the CSV import: browse the CSV imports history
Finalized the read-only mode (distinguish between users and everybody, admin message displayed on top of the main screen)

SVN:trunk[1007]
2010-12-03 10:18:28 +00:00
Denis Flaven
d10c3ace5d Renamed 'autocompleteWidget' to 'extkeyWidget' since it's not always an autocomplete...
SVN:trunk[988]
2010-11-29 10:43:06 +00:00
Denis Flaven
4a6bc8a896 - added the ability to create objects pointed by ExtKeys even when the edit mode is a drop-down list and not an autocomplete
- made this behavior configurable globally or per external key, using the config-flag/option: allow_target_creation.

SVN:trunk[987]
2010-11-29 10:35:18 +00:00
Romain Quetiez
35c50d6689 Ajax pages: exceptions are traced into error.log
SVN:trunk[970]
2010-11-24 14:00:24 +00:00
Romain Quetiez
d8bb6a45b2 REVIEWED THE FILE INCLUSION POLICY
- includes are relative to the application root folder, aka APPROOT
- changed the config file, while preserving the compatibility with older installs

SVN:trunk[962]
2010-11-22 17:53:52 +00:00
Denis Flaven
0306c6691a - Implementing the creation of objects on the fly when editing an extrernal key... still to be fully tested.
SVN:trunk[955]
2010-11-22 10:44:43 +00:00
Denis Flaven
dc9a52c9e0 Improved implementation of the 'autocomplete' input and fix of quite a few related issue with aysnchronous inputs. Autocompletes are now restricted to external keys only.
Some details:
- Autocomplete now matches on 'contains' instead of 'begins with'
- The minimum size of this match is configurable in the config file and per attribute ('min_autocomplete_chars').
- The maximum size that turns a drop-down list into an autocomplete is configurable in the config-file and per attribute ('max_combo_length').
- Better feedback when expanding/collapsing search results lists.
- 'Pointer' cursor on the link to Expand/Collapse results lists.
- The 'mandatory' state of an attribute is no longer lost when some part of a form is reloaded asynchronously

SVN:trunk[947]
2010-11-18 16:41:09 +00:00
Denis Flaven
463bc0873b Allow n:n links to link several times to the same remote object (if "duplicates)=> true in the linkedset definition)
SVN:trunk[917]
2010-10-22 10:45:12 +00:00
Denis Flaven
e43ba5f2db - Bug fix: use serialize instead of ToOQL to pass a search to the ajax page, since the OQL string does not contain the query parameters. This caused the chart to fail to load.
SVN:trunk[822]
2010-09-12 07:57:44 +00:00
Denis Flaven
f120e21e00 Code cleanup: proper usage of the ReadParam function.
SVN:trunk[814]
2010-09-10 14:11:30 +00:00
Denis Flaven
463e7b5413 - Enhancement (Trac#189) first version of a (simple) End-Users portal.
- Fix for the appUserPreferences class

SVN:trunk[806]
2010-09-10 10:10:57 +00:00
Denis Flaven
7aacef8d7d - Get rid of the class UserContext, since now everything is implemented directly in MetaModel
- Make the Accordion menu collapsible

SVN:trunk[683]
2010-08-23 12:27:21 +00:00
Denis Flaven
272387d61e - Integrated all the authentications methods and various logon methods...
SVN:trunk[665]
2010-08-09 10:19:14 +00:00
Denis Flaven
279e0238cb - New implementation of the n-n link edition widget... almost complete.
SVN:trunk[659]
2010-08-05 09:07:14 +00:00
Denis Flaven
422ac56260 - New implementation of the n-n link edition widget... in progress.
SVN:trunk[658]
2010-08-04 20:10:20 +00:00
Denis Flaven
9974457971 Enhancing the search (Trac #147): now allows to pass some "magic patterns" when doing a standard search without any operator. Specially useful for searching on ranges of dates/datetimes
SVN:trunk[638]
2010-07-28 15:18:52 +00:00
Denis Flaven
223704ca4a Continuing the integration of the new data model...
SVN:trunk[539]
2010-07-03 12:56:50 +00:00
Denis Flaven
3392f30e6e - Cosmetics: aligning the style in the different pages, make the iTop logo clickable, etc...
- Handle persistent user preferences: for now only the menu status (open/closed) and its width. In the future the status of lists (open/closed, which columns to show...) can be considered as well.

SVN:trunk[487]
2010-06-25 16:27:44 +00:00
Denis Flaven
bfbaddc73d - Restyling and update of the UI
SVN:trunk[478]
2010-06-23 15:33:10 +00:00
Denis Flaven
8035f20b1c Fix some bugs in the handling of creation/modification forms (Trac #131)
SVN:trunk[468]
2010-06-15 16:58:01 +00:00
Denis Flaven
21bea2e7c3 - Enhanced the display and modification/creation of objects in order to be able to get rid of templates... (Trac#138)
SVN:trunk[463]
2010-06-14 15:49:35 +00:00
Romain Quetiez
a0e0371812 #19 - Reviewed the licensing information and started to align the comments in the code
SVN:trunk[422]
2010-05-24 09:24:35 +00:00
Denis Flaven
280c8579be - Small bug fixes after a quick test by performing a clean installation on Windows/IE 8
SVN:trunk[417]
2010-05-16 18:46:19 +00:00
Denis Flaven
1de8ae4c33 - Added validation of the fields based on a regexp pattern
- Fields that depend on another field (in the same form) get refreshed when one of the fields they depend on is changed
- Updated the wizard to group all the mandatory fields on the first page, since having inter-dependent fields on one page is now supported

SVN:trunk[412]
2010-05-16 16:47:16 +00:00
Denis Flaven
fe44e447ce - Search forms now display the subclasses of the specified class...
SVN:trunk[389]
2010-05-02 18:28:18 +00:00
Romain Quetiez
69a8d27b54 Obsoleted the SibusQL and the keyword pkey (still allowed as a placeholder in the templates)
SVN:trunk[372]
2010-04-29 16:51:56 +00:00
Romain Quetiez
7220052134 Enabled localized strings (not only enums, but other types... to be defined)
SVN:trunk[359]
2010-04-27 12:38:56 +00:00
Denis Flaven
9952b9608d - Removed the limit to the number of elements displayed in an autocomplete input. The maximum number of elements in the autocomplete is now 150 (scrolling enabled). (Trac #83)
SVN:trunk[296]
2010-02-17 09:10:24 +00:00
Denis Flaven
cc357910ea Completed the implementation of 1:n links. The default value should now works for all external keys (whether they are displayed as an autocomplete or or a simple select)
SVN:trunk[253]
2010-01-17 09:42:17 +00:00
Denis Flaven
0a413a32f6 Renaming of the WebPage class (and its derived classes) to stick to the same naming convention as other classes.
SVN:trunk[250]
2010-01-17 09:07:10 +00:00
Denis Flaven
95b1ce9030 - Fix the dialog to manage n-n links: don't display again objects that are already linked.
- Now use OQL instead of SibusQL

SVN:trunk[222]
2010-01-03 13:39:56 +00:00
Denis Flaven
966d4820ca - First implementation of documents
- small cleanup to remove a global Config variable (and removed some deprecated utils:: functions)
- removed the 'DocumentVersion' object since previous versions are now tracked as normal change objects.

SVN:trunk[220]
2009-12-31 09:08:09 +00:00
Denis Flaven
cc4219714a - completed the fix of the user object history (Trac #48)
- completed the implementation of truncated lists (Trac #61)
- Fixed the handling of the search form in the details page (Trac #29)

SVN:trunk[214]
2009-12-29 14:02:18 +00:00
Romain Quetiez
5efd4f10f5 Fixed a regression: autocomplete not working due to a change in the execution of the script rendered in Ajax
SVN:trunk[168]
2009-09-16 15:00:40 +00:00
Romain Quetiez
3470216767 Fixed a regression on the management of the allowed values and attribute dependencies (symptom: Browse button not working, error when creating a ticket with no CI attached to it)
SVN:trunk[164]
2009-09-16 08:03:42 +00:00
Denis Flaven
61df1d7bab - 'Add...' butotn is now grayed when there is nothing to Add
- Better handling of AllowedValues, supporting autocompletes
- Cleanup unused code in wizard.utils.js

SVN:trunk[151]
2009-09-11 21:23:24 +00:00
Denis Flaven
e2d60e7c8f Implementation of AllowedValues for fields that depend on other fields
SVN:trunk[148]
2009-09-11 20:35:16 +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
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
Denis Flaven
e0b307ef48 - New user interface to manage n-n links
SVN:trunk[104]
2009-08-26 21:52:34 +00:00
Denis Flaven
0957c555c3 Fixed bugs linked to the bookmark creation:
- There must be a user specific menu entry in the list of menuNodes
- The asynchronous ajax page must use the authentication stored in the session
- The query must be stored in OQL instead of sibusQL

SVN:trunk[58]
2009-04-28 13:24:12 +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