Commit Graph

124 Commits

Author SHA1 Message Date
Denis Flaven
64f452caba FIxed the processing of hierarchical ZLists to keep the display order when plain fields and fieldsets are mixed at the same level.
SVN:trunk[1037]
2011-01-03 12:56:07 +00:00
Romain Quetiez
cde184e2a3 Allow a module to provide a handler to override application settings: OnMetaModelStarted()
SVN:trunk[1010]
2010-12-06 09:14:20 +00:00
Denis Flaven
9d1df1b799 - Bug fix: when creating a new object the "Cancel" button must go somewhere !
SVN:trunk[1002]
2010-11-30 15:55:40 +00:00
Denis Flaven
7531dd8b19 Align properly the 'validation_error' icon in forms.
SVN:trunk[990]
2010-11-29 13:04:50 +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
Denis Flaven
9e70feb29d - Fixed bug #334: proper handling of the "remove objects" button (was working only for the first linkset in the object).
- Improved feedback while searching and reloading added objects.

SVN:trunk[978]
2010-11-26 13:19:13 +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
Romain Quetiez
738d90d592 Regression on N-N links creation - passing over to Denis
SVN:trunk[948]
2010-11-18 17:09:02 +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
Romain Quetiez
5ea71a3d51 #320 Integrated an HTML Editor -still, no attribute has been changed, because it would require a migration procedure... to be continued
SVN:trunk[946]
2010-11-16 16:16:47 +00:00
Denis Flaven
e5f0460703 AutoComplete usage: code cleanup
SVN:trunk[935]
2010-11-02 10:16:24 +00:00
Denis Flaven
0b95b3799e Fixed Trac #307: prevent form submission when the value typed into an autocomplete field does not correspond to a valid value.
SVN:trunk[930]
2010-10-26 08:12:31 +00:00
Denis Flaven
7651aaed81 - Fixed the search form, and also fixed the search/selection of objects to link (n:n links) that was broken on IE8.
SVN:trunk[925]
2010-10-25 14:12:26 +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
135353aa76 Fixed Trac #258: cleaner handling of search forms...
SVN:trunk[912]
2010-10-21 15:39:30 +00:00
Romain Quetiez
ddd52554f1 Fixed issues with the search form and context and page args... not finished
SVN:trunk[911]
2010-10-21 14:28:40 +00:00
Denis Flaven
22cf8e4986 Fixed Trac #292: enums can now be null (if allowed) !
SVN:trunk[910]
2010-10-21 09:23:41 +00:00
Denis Flaven
adaf3a376c Fixed Trac #258: cleanup of application context parameters.
SVN:trunk[908]
2010-10-20 15:55:30 +00:00
Denis Flaven
f145b872de - Implemented some hints to help users find out what are the mandatory fields for a CSV import (Trac #276). Though not 100% bullet-proof.
- Continue to implement support of hierarchical ZLists in modification forms.

SVN:trunk[904]
2010-10-19 15:03:24 +00:00
Romain Quetiez
0c4a030e2a Improved security
SVN:trunk[809]
2010-09-10 11:59:04 +00:00
Romain Quetiez
e9a84e1e84 Fixed cosmetic issues (block_id) and made sure the warning would never appear again
SVN:trunk[804]
2010-09-09 15:14:05 +00:00
Denis Flaven
c39ec1eec4 - Properly deactivate the creation of 1:n links while creating an object, since it is not possible to create such links at this time.
SVN:trunk[793]
2010-09-07 19:02:59 +00:00
Denis Flaven
d0e07c634a - Fixed bug #226: Back button no longer uses the history "back" which is too unpredictable.
SVN:trunk[792]
2010-09-07 16:17:09 +00:00
Romain Quetiez
a9bfaee2ef Fixed typo causing a warning on some PHP compilations
SVN:trunk[784]
2010-09-06 16:47:14 +00:00
Denis Flaven
e965ba71b9 - Fixed the display of "Notifications"
- Rolled back, not to display menus on linkedset when not in edition mode

SVN:trunk[775]
2010-09-06 09:09:31 +00:00
Denis Flaven
47e18d9927 - Handle expansion/truncation of objects lists as part of the browser navigation history... implemented only for "simple lists" (Trac #73)
SVN:trunk[771]
2010-09-05 20:54:53 +00:00
Denis Flaven
633497d7ff - Fixing more accurately #222 and #172
SVN:trunk[769]
2010-09-05 15:49:25 +00:00
Denis Flaven
d892005e7f - Fixed Trac #224: properly validate non-mandatory integer fields.
SVN:trunk[768]
2010-09-05 13:20:09 +00:00
Romain Quetiez
a9c0ba63df Optimizations: DBObjectSet::Count does it without loading all the data + possibility to specify LIMIT + restored the query cache (was inoperant) + improved the debug reports + added two settings (query_cache_enabled and debug_queries)
SVN:trunk[756]
2010-09-03 21:23:37 +00:00
Denis Flaven
22b096de28 - Fixed bug#236: current value is now properly displayed in autcomplete fields, and the validation works properly too.
SVN:trunk[752]
2010-09-03 10:36:57 +00:00
Denis Flaven
b1f877f845 Fixed bug #231: distinguish between external key (id) and external key (name) for loading fields that are external keys pointing to externla keys! Example: Connected To->Device is to be mapped to the Connected Interface's device NAME whereas Connected To->Device->id is to be mapped to the connected interface's device id
SVN:trunk[747]
2010-09-02 15:57:08 +00:00
Denis Flaven
16baa35ad4 - Fixed a regression introduced by revision [737]
SVN:trunk[744]
2010-09-02 11:21:38 +00:00
Denis Flaven
22aef82b83 - Display the full list of attributes (details ZList) when exporting objects in HTML format (useful for Excel Web Queries).
SVN:trunk[737]
2010-09-01 10:52:08 +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
Denis Flaven
1d0f0231a4 - Fixed bug #225: improve friendliness of auto-complete
SVN:trunk[715]
2010-08-30 12:02:36 +00:00
Denis Flaven
d2bad7d0fd - Fixed regression #230: Mandatory fields no longer shown as mandatory.
- Fixed bug #139: input of strings is now limited to 255 characters in the user interface

SVN:trunk[714]
2010-08-30 11:23:02 +00:00
Denis Flaven
bd001f8072 - Better management of (truncated) list of linked objects (Trac #219)
- New type of display block to display some "actions" (New/Search) for a given class of objects.

SVN:trunk[709]
2010-08-27 15:34:47 +00:00
Denis Flaven
88efd37525 SVN:trunk[708] 2010-08-27 14:18:58 +00:00
Denis Flaven
11be873fe4 - Fixed bug #222: properly setup dependent fields in the form when creating a new object.
SVN:trunk[702]
2010-08-25 16:35:35 +00:00
Denis Flaven
a7799e524a - Objects filtering (read) is now performed by the core directly, no need to check further which objects in a set are read-able. Only those that can be read are returned.
SVN:trunk[684]
2010-08-23 12:54:27 +00:00
Romain Quetiez
f59cdc523b #208 Missing email notification tabs for tickets - now automatically added for any class
SVN:trunk[679]
2010-08-18 14:09:39 +00:00
Denis Flaven
28cfa56c95 - Fixed bug #197: incorrect validation of textarea fields
SVN:trunk[673]
2010-08-10 18:45:24 +00:00
Denis Flaven
db8c287925 - Fixed the problem of initial (default) values (Trac #172) when creating an object by factorizing: creation / modification and cloning of objects !
SVN:trunk[663]
2010-08-05 17:10:35 +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
b9887bac8c - New implementation of the n-n link edition widget... in progress.
SVN:trunk[652]
2010-08-04 18:43:17 +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
c667e65904 Re-added the "toggle" style for history blocks. The style by default remains the plain "table" (inside a dedicated tab).
SVN:trunk[615]
2010-07-20 11:32:05 +00:00
Denis Flaven
ffdf72ae4d Data model fine tuning
SVN:trunk[580]
2010-07-06 15:59:14 +00:00