Commit Graph

2011 Commits

Author SHA1 Message Date
Nathan Gray
b2eeab5b75 Fix typo breaking submits 2011-10-18 15:44:06 +00:00
Nathan Gray
8674cdd7c3 Avoid undefined val breaking tabs 2011-10-18 15:41:30 +00:00
Nathan Gray
2ae94af14f Allow '#' in field names, for custom fields 2011-10-18 14:50:24 +00:00
Nathan Gray
96a219ede1 Add select to readonly types, display a value that isn't in the options as blank 2011-10-18 14:13:44 +00:00
Nathan Gray
428d201179 Use getEntry() as fallback for text roots 2011-10-17 21:01:04 +00:00
Nathan Gray
b704db187f List each cf as a separate column when sending to server, apps expect it 2011-10-17 20:40:18 +00:00
Nathan Gray
a8531017bd Update selected custom fields when column selection changes 2011-10-17 16:43:34 +00:00
Nathan Gray
87bb95beb4 Check for updated visibility (ex nextmatch column selection change) 2011-10-17 16:34:58 +00:00
Nathan Gray
9ea341151f Handle if string to be parsed is missing too 2011-10-17 16:08:34 +00:00
Ralf Becker
ebb3a2595f reverting r36788 as it breaks editing of custom fields, type is not returned because of added post_process method is also called for customfields-type widget 2011-10-14 18:20:09 +00:00
Nathan Gray
e100d0ce5f Get nextmatch-customfields header working 2011-10-14 17:59:57 +00:00
Nathan Gray
824b57cfa2 Check / load common custom field settings globally, at top level. 2011-10-14 17:57:16 +00:00
Nathan Gray
3260c1cc81 Store common custom field settings globally, at top level. 2011-10-14 17:56:29 +00:00
Nathan Gray
aba7a6eca3 Add namespace, get row template parsed too 2011-10-14 17:55:24 +00:00
Nathan Gray
7f9bbe99a3 Fix attribute defaults getting changed, options no longer get copied across selectboxes 2011-10-13 16:06:56 +00:00
Nathan Gray
cf75387f56 Get custom selectbox options working 2011-10-12 20:56:11 +00:00
Nathan Gray
0700876775 Handle null values 2011-10-12 20:04:16 +00:00
Nathan Gray
cc8891820c Don't overwrite options passed into constructor, merge them 2011-10-12 19:55:33 +00:00
Nathan Gray
5b26a5faed Get nextmatch header down to one line, hopefully looking a little nicer 2011-10-12 19:06:52 +00:00
Nathan Gray
5cab1f7811 Get filter labels into header 2011-10-12 16:42:22 +00:00
Nathan Gray
ea406d3e85 Fix deleteDOMNode() -> removeDOMNode(), fixes labels for selectboxes, probably others 2011-10-12 16:37:56 +00:00
Nathan Gray
a09c277ae7 Log a warning if et2_insertLinkText is called without a node 2011-10-12 16:34:52 +00:00
Nathan Gray
338b14fc9d _rebuildContainer() doesn't take parameters 2011-10-12 16:27:50 +00:00
Klaus Leithoff
1621485da9 * import/export: fix for failed export on not set limit for nonadmins on standard export (handle empty export_limit since it will be casted to 0 on (int)) 2011-10-12 10:37:35 +00:00
Nathan Gray
a11673dc8f Give a warning when the detached nodes are missing, to help track them down 2011-10-11 20:07:57 +00:00
Nathan Gray
0c2866a133 Rework fetching values from content & setting values in nextmatch 2011-10-11 18:18:58 +00:00
Nathan Gray
06e03d2137 Make sure customfields widget has an ID, or it can't access settings client-side 2011-10-11 18:15:51 +00:00
Nathan Gray
5e3362b3b7 Get some custom fields working 2011-10-07 16:59:50 +00:00
Nathan Gray
a33accfdbb If an empty value is passed, make sure text is cleared 2011-10-07 16:58:36 +00:00
Nathan Gray
575d21b962 Progress on custom fields widgets 2011-10-06 23:44:55 +00:00
Nathan Gray
d88d25b704 Use namespace for nextmatch so children can get their data in the standard way 2011-10-06 23:10:08 +00:00
Nathan Gray
ed76f0491e Expand sub-arrays that are indexed by form-name ('a[b][c]') into actual sub-arrays so perspectives work properly 2011-10-06 23:08:15 +00:00
Nathan Gray
be79886301 Add a warning if trying to set an attribute to an Object, so it doesn't just disappear 2011-10-06 23:04:40 +00:00
Nathan Gray
08f5e28d00 Override getPath() to push nextmatch's ID in 2011-10-06 16:38:51 +00:00
Nathan Gray
c9e4d6801d Add getPath() to core widget so widgets can override it 2011-10-06 16:33:55 +00:00
Nathan Gray
66ea661e08 Try to handle partial template names - row as well as app.function.row 2011-10-06 15:23:24 +00:00
Nathan Gray
f67bfba58d Let transformer handle trying to change sel_options 2011-10-05 22:27:35 +00:00
Nathan Gray
dfe5d21ea4 Save as default checkbox - still a problem getting value on server 2011-10-05 16:12:40 +00:00
Nathan Gray
a9b4bfdaba Move column selection popup to nextmatch 2011-10-04 21:45:54 +00:00
Nathan Gray
99cad7bd37 Update for attributes moved to options sub-property 2011-10-03 17:50:29 +00:00
Nathan Gray
4c593038b0 Update nm query when column selection changes, re-query only when columns added 2011-10-03 17:14:17 +00:00
Nathan Gray
3c1bebf3f1 Fix missing current app... 2011-10-03 16:02:41 +00:00
Nathan Gray
155e3ab3b5 Fix error when sorting/filtering (showed up in timesheet) 2011-10-03 15:34:10 +00:00
Nathan Gray
c230e5f99a Send category options - header doesn't use a template, so they have to be passed 2011-10-03 14:56:20 +00:00
Andreas Stöckel
8f9db8e353 Implemented own code for column resizing as jQuery-UI did not work properly with FF 2011-10-03 13:42:56 +00:00
Nathan Gray
b706d7d13d Fix undefined var breaking linking 2011-09-30 16:19:09 +00:00
Nathan Gray
16d010becf If hooked, keep app in extension_data to persist across etemplate loops. Fixes lost infolog custom fields in addressbook view when changing nm filters 2011-09-30 14:59:41 +00:00
Nathan Gray
43e75da558 Start of column resizing. Works OK in chrome, FF needs some work. 2011-09-29 22:57:42 +00:00
Nathan Gray
c956d6571b Column selection using default or preference 2011-09-29 19:35:20 +00:00
Nathan Gray
168b79bc14 Implement called, but not defined, set_visibility() to update column visibility 2011-09-29 19:21:38 +00:00
Nathan Gray
18f73b21b9 Handling for setting value (for multiple-select) with an array or object 2011-09-29 19:20:20 +00:00
Nathan Gray
9b7cd5019c Silence some messages about missing attribute attributes 2011-09-27 23:44:07 +00:00
Nathan Gray
a1d344077e Set current column filter values 2011-09-27 23:16:54 +00:00
Nathan Gray
36c39cf4b8 Get filterheaders working 2011-09-27 17:58:10 +00:00
Nathan Gray
4e8fe1bb2c Layout & some functionallity for nm header 2011-09-27 00:16:00 +00:00
Nathan Gray
c5237863c2 Get filter options into nm header 2011-09-26 19:11:01 +00:00
Nathan Gray
b41745afdb Get js in row buttons working (again) 2011-09-26 16:19:09 +00:00
Nathan Gray
29501fc027 Add set_value() so selectbox can show current value 2011-09-26 16:01:42 +00:00
Nathan Gray
0ace096701 Start nextmatch header 2011-09-23 19:09:52 +00:00
Nathan Gray
c622957b40 Handle if button onclick didn't get compiled. Still a problem with variable insertion though 2011-09-22 23:03:37 +00:00
Nathan Gray
f7b2a2b02f Set text last, in case title is undefined - it breaks the chaining 2011-09-22 21:40:21 +00:00
Nathan Gray
96bb751a26 Allow full URLs as images, don't try to split off the app 2011-09-22 21:39:34 +00:00
Nathan Gray
04f4287091 Declare variable before using it 2011-09-22 21:39:02 +00:00
Nathan Gray
860d37912b If value is '', don't show a unit either 2011-09-22 21:28:26 +00:00
Nathan Gray
390bb1f6f0 Get all button images working (in timesheet & infolog list at least) 2011-09-22 21:23:30 +00:00
Nathan Gray
c631412dfb Change style for buttons with icons to only display image 2011-09-22 19:10:21 +00:00
Nathan Gray
7488843290 Fix link - this.node is used by parent for DOM node 2011-09-22 19:02:33 +00:00
Nathan Gray
15ed02894f Get submit buttons + buttons with no onclick function in a nm row (legacy actions) to at least fire 2011-09-22 16:25:41 +00:00
Nathan Gray
7297e02f39 Get some buttons working in nm. Not quite done yet, only buttons with onclick function working 2011-09-21 21:07:21 +00:00
Klaus Leithoff
2d494997ab rework of bo_merge::getExportLimit, apply to etemplate, importexport, addressbook, calendar 2011-09-16 13:03:46 +00:00
Nathan Gray
0d47709ed1 Implement transformer changing type on client side by changing type while loading 2011-09-15 18:00:17 +00:00
Nathan Gray
965fb54ffa Fix handling of first example - simple assignment 2011-09-15 17:57:48 +00:00
Nathan Gray
0b41f9da89 Target text could also be a number, treat it the same as string 2011-09-15 17:51:21 +00:00
Nathan Gray
a5e17d5193 Easier warning message for tracking down not existing attributes 2011-09-15 17:49:03 +00:00
Klaus Leithoff
d216a37bba check if app is set before calling the hook on export_limit; TODO: move the call to bo_merge::getExportLimit and cache the appspecific returnvalue there, to improve speed 2011-09-15 17:40:37 +00:00
Klaus Leithoff
d9905d3fb4 calendar/addressbook/API: introduce hook to fetch the export_limit to be applied for an app; introduce method to test if a specific hook exists for an application; fetch the export_limit via hook where appropriate 2011-09-15 14:46:56 +00:00
Nathan Gray
c7d3cba6c6 Fix error breaking dates in nm 2011-09-15 14:02:24 +00:00
Nathan Gray
2302de28f2 Add some et2_IDetachedDOM handling 2011-09-14 20:52:59 +00:00
Nathan Gray
ff2a8102d6 Implemented all link widgets 2011-09-14 20:36:39 +00:00
Nathan Gray
812242a224 Get images working in buttons, sort of
-- Don't know what's happening with events in the grid.  Something happens if you double click, but it's not the button's click method.
2011-09-14 18:37:38 +00:00
Nathan Gray
8b1a63e1ee Transform attributes before passing them to the row's widget 2011-09-14 15:44:54 +00:00
Ralf Becker
ad99ce981f getting server supplied actions working, thought actions submitting the form do not yet work 2011-09-14 14:25:09 +00:00
Klaus Leithoff
70a7026915 * merge_print/calendar: control the availability of mergeprint and csv export, if the export_limit is set to ->no<- and the user in question is not exempted from export_limit restrictions 2011-09-14 13:09:13 +00:00
Klaus Leithoff
36e3a1b8ce add missing translations for export_limit feature of calendar, correcting translation strings for export_limit warnings 2011-09-14 10:27:53 +00:00
Ralf Becker
2bd343ee05 - processsing actions now on serverside, also creating action_links array
- call_get_rows return now directly rows indexed by row-number: start, ..., start+num_rows-1
- non-numerical indexed rows are returned as is
--> widget still calls ajax_get_rows, even as we supply the first N=25 rows
2011-09-14 09:41:08 +00:00
Nathan Gray
a3901bd00f Link list 2011-09-14 00:06:04 +00:00
Nathan Gray
6b361f770f Handle app/image_name style values 2011-09-14 00:04:54 +00:00
Nathan Gray
43449a0c24 Fix bug where display was not using user preference 2011-09-14 00:04:06 +00:00
Ralf Becker
77f2a043fc local caching and queueing of egw.link_title() requests 2011-09-13 19:55:06 +00:00
Ralf Becker
5cadd29d58 Basic egw.link_title(_app,_id,_callback,_context) method.
Plan is to run a clientside cache and own queue for link_titles, as server can query titles for N id's for a given app more effiently then N separeate queries.
2011-09-13 18:23:43 +00:00
Nathan Gray
e31357bd88 Fix date & duration in dataview 2011-09-13 17:37:29 +00:00
Nathan Gray
077acb3fb0 Better warning to help track down offending widget 2011-09-13 17:18:00 +00:00
Klaus Leithoff
74b41ec99a fix bug regarding merge_print with export_limit set in calendar, as calendar may pass a search query instead of a list of ids (this is the reason, why the test within bo_merge on export_limit is not working as expected) 2011-09-13 15:41:31 +00:00
Klaus Leithoff
d52c72207c * calendar/importexport/addressbook: calendar introduce new config option to set app specific export_limit; calendar csv export: use enumerate for exporting events as csv; bo_merge: introduce new helper functions to get and check export-limit; addressbook: use new helper functions 2011-09-13 09:05:33 +00:00
Klaus Leithoff
55ba753e3c making 1st param for custumfield_widget construct (ui) optional, to avoid warning 2011-09-13 08:38:16 +00:00
Nathan Gray
f44558a385 Got link entry working as separate widget 2011-09-12 23:43:39 +00:00
Nathan Gray
1bf74cc95b Read only for date 2011-09-12 15:21:42 +00:00
Ralf Becker
132cafc8a9 check if we can use the XSL extension, to not give a fatal error and rendering whole merge-print non-functional AND only keep tags, if XSL is available 2011-09-12 10:51:21 +00:00
Ralf Becker
9066385fa5 check if we can use the XSL extension, to not give a fatal error and rendering whole merge-print non-functional 2011-09-12 10:21:18 +00:00
Ralf Becker
2aff9d170b implementation of old server etemplate::js_pseudo_funcs() on client as et2_js_pseudo_funcs, thought we need to pass the namespace to et2_checkType!!! 2011-09-10 13:16:40 +00:00