Nathan Gray
470cf39e94
Change validation to accept & validate numeric list IDs if include_lists is set.
2014-06-04 20:00:46 +00:00
Nathan Gray
2e09cf1ab1
- changing column selection preference now works if 'nextmatch-' prefix is included in the columnselection_pref setting
...
- change column selection popup to reload every time it opens, just in case something changes in the columns
2014-06-04 18:37:58 +00:00
Nathan Gray
001eab9159
If extra data is sent from a get_rows, try to update a matching child widget.
2014-06-04 16:45:19 +00:00
Nathan Gray
ee7349f4f6
Fix missing path, prevented single selected address merge into mail from opening properly in popup
2014-06-04 15:41:24 +00:00
Ralf Becker
2c5ba307b5
convert numbers to string for consistent matching, 0 was never set, because it was treated as already set, which gives wrong result if it is not first option
2014-06-04 09:52:02 +00:00
Nathan Gray
0d9e9553b3
Change date filters:
...
- End date is now inclusive
- Task dates must now either start after start date _or_ end before end date to be included, instead of fall completely within the range
2014-06-03 23:29:46 +00:00
Ralf Becker
c6fe901b56
fixed infinit loop, if string to active starts with url right away, eg. " https://domain.com/ "
2014-06-03 07:22:34 +00:00
Nathan Gray
3b8bee4d18
Update dhtmlxTree & dhtmlMenu to latest version
2014-06-02 23:32:15 +00:00
Ralf Becker
92fddc9c51
fixed validation of private custom-fields using a different name, eg. addressbook
2014-06-02 13:29:26 +00:00
Ralf Becker
b59585cf4b
fixed IDE warnings
2014-06-02 13:25:20 +00:00
Hadi Nategh
87d3a0bf28
Set date-duration display_format default to day/hour/minute
2014-05-30 13:40:13 +00:00
Nathan Gray
10d7a3f579
If a filter changed, explicitly clear the selection to prevent confusion if selected rows are in the new results
2014-05-29 16:21:41 +00:00
Nathan Gray
79f7a8a6cf
Use popup mail compose window if default document is an email, same as non-default documents
2014-05-29 15:33:27 +00:00
Nathan Gray
bb5b1163cb
Progress on gantt chart
...
- Fixed error from projects with no constraints
- Got ajax expansion working
2014-05-27 23:27:30 +00:00
Nathan Gray
1224439431
Fix reversed path when namespaced widgets were nested
2014-05-27 20:22:23 +00:00
Nathan Gray
bff821e300
Move special path handling from nextmatch up to top level so it can work for all widgets with a namespace and their own value
2014-05-27 20:16:02 +00:00
Nathan Gray
7af73c91c4
Avoid infinite loop looking up accounts
2014-05-27 15:33:26 +00:00
Ralf Becker
9ed199261a
fix dialog and translations to allow messages with newlines
2014-05-27 12:11:09 +00:00
Nathan Gray
34ed2d7290
- Fix missing change handler on some nm header templates
...
- Fix improper usage of jQuery.when() (it doesn't take an array)
- Fix missing filter detection to not break with multiple values
2014-05-26 22:27:57 +00:00
Nathan Gray
e5f1e3e473
Decode title before showing to user in list
2014-05-26 20:05:33 +00:00
Ralf Becker
9455efae32
added postSubmit=true to document actions in mime-type sub-menus, was there for all other cases already
2014-05-26 16:09:03 +00:00
Ralf Becker
086501bc30
fixed .5 hours entered in infolog (PM tab) is displayed after saving as 30 days, caused by automatic transformation to minutes and not recognising that display_format does NOT support minutes
2014-05-26 13:44:24 +00:00
Hadi Nategh
ba1141f0cc
Set value for date-timeonly when it's string and NaN
2014-05-26 07:46:30 +00:00
Ralf Becker
30ffb38bd6
reverted r47030 as it breaks server-side nextmatch actions
...
nextmatch values were in root instead of namespaced "nm", causing all serverside actions (eg. move one contact into an other addressbook) to fail, because validation did not find values placed clientside outside valid namespace
2014-05-23 16:00:17 +00:00
Ralf Becker
24ee68bdf2
fixed infinit loop for apps running in iframe by refactoring frameworked templates work with client-side api:
...
- moved shared etemplate2 part into static etemplate2.app_refresh() method
- egw_message.refresh() calls framework.refresh() which can return a DOMwindow for egw.refresh() to work on, instead of calling egw.refresh recursive
2014-05-23 08:21:11 +00:00
Nathan Gray
1f4c8a0c03
Fix blank list on refresh, related to r47042
2014-05-22 16:32:58 +00:00
Ralf Becker
893091e286
- new app.js observer method which receives update notifications from all apps
...
- app.infolog.observer triggering refresh of InfoLog list, when a timesheet get stored
- moved code of already deprecated egw_refresh() to egw.refresh() and changed etemplate to use that
- framework from jdots/pixelegg template no longer overwrites window.egw_refresh, but egw.refresh calls framework.refresh for regular refreshs if framework is present
2014-05-22 15:29:14 +00:00
Nathan Gray
84e20433b6
Attempt to get rows in the direction of need, rather than centered on the missing rows
2014-05-22 14:48:22 +00:00
Ralf Becker
090c6eb19f
only replace @ or $cont, no $row_cont as we dont know row, upload/selection of vfs attachments in mail fails otherwise
2014-05-22 12:15:11 +00:00
Ralf Becker
f203703e42
fixed changing of settings (eg. template set) did not work anymore reported by Christoph Kaulich
...
caused by always breaking reference from attribute values. Now reference is only broken, if attribute value needs expanding (because it contains @ or $)
2014-05-22 09:39:16 +00:00
Nathan Gray
ccdb54a366
Gantt chart progress
2014-05-21 22:11:36 +00:00
Ralf Becker
5825c8df18
new button attribute "novalidate" to skip validation
2014-05-21 17:24:56 +00:00
Ralf Becker
cbd328eb55
htmlarea-widget in mode="ascii" looses or modifies content (<, >, <tag>) by calling html::purify on it, also fixed set_attrs to expand attribute values
2014-05-21 09:55:02 +00:00
Ralf Becker
6ee8b47d7a
fixed javascript error when setting a validation error on a widget not on a tab
2014-05-21 09:07:14 +00:00
Nathan Gray
02db5d0357
Don't send blank row option for read-only selectboxes. It's not needed, and can conflict with non-readonly (nm filter vs row)
2014-05-20 19:25:48 +00:00
Ralf Becker
bdba288048
fix ide warning
2014-05-16 09:31:18 +00:00
Ralf Becker
ec667b9c41
also implement r46958 server-side: get customfield_list to respect readonlys of single fields
2014-05-16 09:29:10 +00:00
Ralf Becker
281863ac29
get customfield_list to respect readonlys of single fields
2014-05-15 16:49:53 +00:00
Ralf Becker
bdbc22dd98
reverted r46410 calling header explicitly before navbar, causing navbar no longer being able to add stuff to header, eg. include javascript
...
and fixing idots_framework::navbar() to still call header, if $navbar_done is set
2014-05-15 09:41:31 +00:00
Ralf Becker
2b3a9cd1b5
* eTemplate2: fixed accounts got lost, if account-selection did not show all accounts
...
if accounts need to be fetched from server, callback is called async --> calling set_value again for last callback
2014-05-14 10:00:31 +00:00
Hadi Nategh
d849c6797a
Switch sorted array and id params position, in sortable gird
2014-05-14 08:29:04 +00:00
Nathan Gray
e1134224fc
Move gantt css to seperate link instead of including
2014-05-13 22:24:25 +00:00
Nathan Gray
33f264346a
Fix error deleting a favorite
2014-05-13 21:39:23 +00:00
Nathan Gray
bca1696866
Tell request not to get cleaned up, something changed
2014-05-13 20:11:06 +00:00
Nathan Gray
18bf4a4ebd
Fix typo
2014-05-13 18:44:59 +00:00
Nathan Gray
51c73ddf89
Make sure all account options are present. Was on server side, now needs to be client side. See r46713
2014-05-13 18:40:31 +00:00
Nathan Gray
1ccc8f9e0d
Fix label DOM nodes so it works in columns other than the first one
2014-05-13 00:36:32 +00:00
Nathan Gray
777e1bec1e
Better handling for detached label, fixes errors if there is no label
2014-05-12 22:16:05 +00:00
Nathan Gray
b4b1eee57a
Expand what is accepted as a CSV for multi-select. Fixes Permanent time zone preference does not get saved.
2014-05-12 22:03:38 +00:00
Nathan Gray
34a382be2b
Implement detached labels
2014-05-12 21:49:48 +00:00
Nathan Gray
f5010b880b
Preserve expanded sub-grids across refresh
2014-05-12 19:29:00 +00:00
Hadi Nategh
e8e3de984a
Wrap content in link-add with span
2014-05-09 15:54:11 +00:00
Hadi Nategh
5b80563707
Consider other date widgets for date initialization as they could have fixed data_format too
2014-05-09 09:48:10 +00:00
Hadi Nategh
fbd35cba3f
No need to check oldValue as check for customfields condition is good enough, and it may cause other date widgets do not get parsed
2014-05-09 08:48:26 +00:00
Hadi Nategh
b6e2460e91
Set customfields "date" and "date-time" widgets value correctly when they get initiated by storage value
2014-05-08 17:48:54 +00:00
Hadi Nategh
82e259c407
Setup data_format customfileds "date" and "date-time" in client-side
2014-05-08 17:45:09 +00:00
Nathan Gray
c886f46122
- Listen to sub-template deferred to allow children of children to finish initializing (allows more complex sub-templates)
...
- Special case for sub-template filter having null value
- On sub-template input change, only update changed values instead of resetting & re-generating filters
Fixes some sub-template filters & col_filters conflicting and overwriting each other
2014-05-08 16:25:28 +00:00
Nathan Gray
609d1df763
Expose key splitting publicly, so other code can use it
2014-05-08 16:14:41 +00:00
Nathan Gray
6ec24b1b50
Make sure app ObjectManager is there before trying to use it
2014-05-07 20:55:34 +00:00
Nathan Gray
3230554c01
Add a config setting 'assigned' to allow extending classes to provide assigned users in a way other than a specific entry field.
2014-05-07 20:54:53 +00:00
Nathan Gray
d80ef84012
Remove div from console, it's no longer useful
2014-05-07 16:35:51 +00:00
Ralf Becker
b111f5005b
fixed select-accounts show only part of users, caused by previously trying to extend now used array
2014-05-07 15:51:45 +00:00
Nathan Gray
354c030520
Work in progress on gantt chart:
...
- Gantt widget now supports context menu
2014-05-07 14:41:15 +00:00
Nathan Gray
30b300201e
Clear action manager, if present
2014-05-07 14:38:44 +00:00
Hadi Nategh
0691903105
Still need to translate empty_label in selectbox widget for cases like when we do have "options" as an extra item for select_options
2014-05-07 13:03:14 +00:00
Hadi Nategh
b3ebc04ae5
Fix missing "translate" sub-attribute for some other widgets "empty_label" attribute.
2014-05-07 12:23:02 +00:00
Hadi Nategh
c35968d4a6
No need to translate empty_label explicitly, as we have a "translate" sub-attribute to triger translation for an attribute
2014-05-07 12:12:25 +00:00
Hadi Nategh
a8278017ed
Fix missing translation for taglist's empty_label attribute
2014-05-07 11:06:47 +00:00
Ralf Becker
610e7e6e93
halfway fixed eTemplate(1) part of etemplate_widget_transformer, but then enabled old code in contact_widget again, as value is not yet handeled correctly by callback in contact_widget
2014-05-07 09:00:59 +00:00
Nathan Gray
4f2504aafc
Fix typo
2014-05-06 20:05:08 +00:00
Nathan Gray
b76ace01f5
Revert r46820 as it causes some widgets (tag list) problems.
...
Fix select account changing selectbox default instead.
2014-05-06 19:56:02 +00:00
Nathan Gray
33594b565d
Custom fields are not allowed to have a null value, since NULL is skipped by backend
...
Fixes bug where it was impossible to clear date cfs
2014-05-05 22:19:54 +00:00
Nathan Gray
c99f0ee32d
Fix bug in last select option fallback option, was getting value instead of options
2014-05-05 22:17:23 +00:00
Nathan Gray
4053d1a204
- Move function to find selectbox options to public, static so other widgets (read only selectAccount) can use it
...
- Fix selectAccount missing extra app-specific options
2014-05-05 17:25:01 +00:00
Nathan Gray
e004e23c31
If the default is an object, use a clone of the default value to prevent widget from accidentally changing the default by reference
2014-05-05 17:22:25 +00:00
Ralf Becker
ed85cc3ce6
allow apps to supply own etemplate_widget_transformer extending widgets
2014-05-05 16:05:39 +00:00
Hadi Nategh
098de471cd
No need to overwrite the "beforeSendToClient" method for date widget, because we are handling date/time conversion on client side
2014-05-05 14:11:00 +00:00
Hadi Nategh
62fa190439
Handle converting string date/time formats to Date object for date-time widget
2014-05-05 14:09:47 +00:00
Hadi Nategh
b5357e23eb
Add css class for vfs-select button caption. Additionally, re-arrange link_to widget styles for all app link tabs
2014-04-30 11:02:13 +00:00
Hadi Nategh
e85816cce9
Add button caption to vfs-select widget
2014-04-30 10:52:27 +00:00
Nathan Gray
d828eefaeb
Fix missing column filters after loading template(s)
2014-04-29 19:05:55 +00:00
Hadi Nategh
bf19f45705
Put spaces between selectBoxes in link widget
2014-04-29 13:20:50 +00:00
Nathan Gray
e6c32bf765
Avoid vertical scrollbar, dynheight takes care of height now
2014-04-28 23:10:41 +00:00
Nathan Gray
785ed4e4c1
Round dates to grid scale, avoids potential infinite loop in the other method
2014-04-28 23:05:26 +00:00
Nathan Gray
1aee6f3bed
Enhance auto-popup to only show visible buttons
2014-04-28 20:20:54 +00:00
Hadi Nategh
c912849bd5
Apply favorites sortable feature to sidebox fav. menu
2014-04-25 07:37:11 +00:00
Hadi Nategh
334c66d203
Set select_options for <listbox> widget type of "select-account" with egw->accounts client-side method
2014-04-24 11:49:39 +00:00
Nathan Gray
ba8bfa1b6a
Gantt chart work in progress
...
Filters, ajax fetching, double click (edit) callback
2014-04-23 22:18:05 +00:00
Nathan Gray
4f2f64fcbe
Automatically disable custom field column if there are no custom fields
2014-04-23 20:39:22 +00:00
Nathan Gray
48fa6611f3
Use a single client-side cache for account selection so we don't have to send it for every widget
2014-04-23 19:00:59 +00:00
Nathan Gray
f5297f17a7
Add a get_value() function to allow access to values outside of callback
2014-04-23 16:44:01 +00:00
Hadi Nategh
54e241f468
Update instantly the sideBox fav. menu when sort items from nm fav. menu
2014-04-23 13:58:32 +00:00
Hadi Nategh
fa50c92609
Add favorites sortable placeholder css class
2014-04-23 11:46:42 +00:00
Hadi Nategh
9805f019a1
* Favorites: Make favorites item sortable and store their orders as user preference
2014-04-23 11:42:48 +00:00
Klaus Leithoff
d1151d876e
translations from our translation server
2014-04-23 07:44:08 +00:00
Nathan Gray
a8a73683b4
Fix missing explicitly supplied select options
2014-04-22 16:56:27 +00:00
Nathan Gray
7a674ff8aa
Don't add empty label as option for tags or search (chosen), it's registered as a real option.
2014-04-22 15:47:22 +00:00
Ralf Becker
e526c42e3d
forgot to handle empty-label value
2014-04-18 08:32:13 +00:00
Nathan Gray
dac15dbded
Fix an additional case in duplication detection.
...
Prevents doubled options in some select-account widgets
2014-04-17 21:47:13 +00:00
Ralf Becker
0b9bffc40c
fixed validation for select-account to work on actual value and attribute account_type and not on options send by server
2014-04-17 12:46:27 +00:00
Ralf Becker
f26a140a01
fixed search returns users, even if limited to groups
2014-04-17 12:24:03 +00:00
Nathan Gray
c4f56f2c3b
New dhtmlxGantt library, and etemplate2 widget to use it (work in progress)
2014-04-16 19:47:29 +00:00
Hadi Nategh
d5187e085e
Apply padding-right to children of hbox
2014-04-15 12:58:39 +00:00
Hadi Nategh
8fb542465f
Remove extra comment field from link widget, as we have another one in context menu
2014-04-15 11:34:50 +00:00
Hadi Nategh
9753323074
Set selectbox and input fileds in link_to widget to 40% width. In additon arrange the close icon and link button properly
2014-04-15 10:23:36 +00:00
Nathan Gray
5720af761a
Avoid warnings about not listening for deferred loadingFinished
2014-04-08 21:22:07 +00:00
Nathan Gray
a06e408bbd
Add some special CSS to improve printing a nextmatch
...
- Try not to break rows across page
2014-04-08 20:26:06 +00:00
Nathan Gray
22dfe2a5db
Any changed sel_options from app need to get encoded too.
...
Fixes missing 'All' option in Tracker with Firefox.
2014-04-08 17:42:19 +00:00
Nathan Gray
683310ba94
Add a new function activateTab(widget) to activate a tab containing a given widget, move previous code inside tab widget to properly encapsulate it. Fixes broken tab selection with deferred tab loading, wrong tab shown if a widget has a validation error.
2014-04-08 17:11:35 +00:00
Ralf Becker
9532debc5d
* eTemplate/all apps: removed custom-field widget type IP again, as it caused too many problems in various modules
2014-04-08 11:59:55 +00:00
Nathan Gray
8ca9f9a469
Store internal reference to CKEDITOR instance, fixes Uncaught TypeError: Cannot read property 'on' of undefined
2014-04-07 22:20:30 +00:00
Nathan Gray
1ca9b134f9
Fix typo causing extra selection after delete
2014-04-07 20:57:59 +00:00
Nathan Gray
2e72b12452
Only email addresses in mail app need the hover popup, so move it into mail app.
2014-04-07 19:25:17 +00:00
Nathan Gray
76357f3451
Fix no_filter[2] nextmatch attribute not applied when set in template
2014-04-07 19:07:10 +00:00
Nathan Gray
0f94764857
Don't do an email address hover in addressbook - they're already a contact if they're in addressbook
2014-04-07 16:18:56 +00:00
Nathan Gray
0c220389fb
Remove click handler from read-only account widget
2014-04-07 14:59:01 +00:00
Nathan Gray
99023a7812
If initial rows has no rows, add an empty row placeholder.
...
This way add context menu items work without clicking search first.
2014-04-07 14:44:52 +00:00
Ralf Becker
6369b5ec88
padding between selectbox/textbox and it's label
2014-04-07 13:11:07 +00:00
Nathan Gray
f6f2a883f0
If UID prefix is not set by the application, set dataStorePrefix automatically once and use it, instead of calculating it (different ways) each time.
2014-04-03 15:23:05 +00:00
Nathan Gray
1dcb1a9065
Fix bug causing long task to fetch the same 200 ids repeatedly
2014-04-03 14:33:01 +00:00
Ralf Becker
e84a7823ae
fixed fileupload overlapping other icons
2014-04-03 13:32:18 +00:00
Nathan Gray
68ee717d0f
Fix occasionally missing click handler
2014-04-02 23:31:01 +00:00
Nathan Gray
d81adb1d82
Fix bugs in server side custom field validation
...
- Multiselects were always passing required check
- Validation errors were not properly set, so weren't displayed
2014-04-02 20:12:52 +00:00
Ralf Becker
3840569b0a
also show icons instead of buttons in index-definition part of db-tools
2014-04-02 19:33:19 +00:00
Ralf Becker
ce3c5c897f
stop server-side validation errors, if submit was with no_validation
2014-04-02 19:30:33 +00:00
Nathan Gray
734b5d02f2
Add a parameter for submit() to skip the client-side widget validation
2014-04-02 18:49:43 +00:00
Nathan Gray
d5c810d5c4
If nextmatch starts hidden (or disabled) it won't size correctly.
...
Added a resize if enabling a disabled nextmatch so it re-calculates its size.
2014-04-02 15:16:12 +00:00
Nathan Gray
ad3e1e5021
Cast legacy options to string, in case someone passed in a number or something.
...
Fixes error loading tracker configuration with queue other than all.
2014-04-02 14:43:23 +00:00
Nathan Gray
210dea829b
Avoid big scary error if server tries to assign on an unloaded etemplate.
...
Log a little friendly warning instead.
2014-04-01 21:42:06 +00:00
Nathan Gray
0377dbe076
Use tree's ActionManager for new ObjectManager, fixes "Action object with id 'mail_drop_move' does not exist"
2014-04-01 21:32:06 +00:00
Nathan Gray
d3c0314b4d
Switch AJAX upload library to Resumable for chunked uploads.
2014-04-01 20:48:40 +00:00
Ralf Becker
e30adcba12
indention
2014-04-01 14:14:56 +00:00
Nathan Gray
de2f05ee27
If link is for just 1 id (normal case), then don't use an array for ID
2014-03-31 18:20:54 +00:00
Nathan Gray
dcf0cf4e95
If link is for just 1 id (normal case), then don't use an array for ID
2014-03-31 18:20:38 +00:00
Nathan Gray
9d8304a70e
Fix typo preventing proper display of custom field column for some templates
2014-03-31 17:26:10 +00:00
Nathan Gray
ae940d9174
Fix for nextmatch header setFilters()
...
- Add flag to prevent widget change events from triggering an applyFilters() call
Fixes custom date filters causing extra calls and resetting other column filters.
2014-03-31 15:49:36 +00:00
Ralf Becker
3dbfd3aea6
more compact display of db-tools
2014-03-31 14:44:13 +00:00
Ralf Becker
ba4bb53c29
fixed not working autorepeat if $row_cont was used
2014-03-28 17:32:32 +00:00
Ralf Becker
dfc5a8222e
using !egw.app(appname) to check if user has no run-rights for appname
2014-03-28 13:09:21 +00:00
Ralf Becker
61f25c05ff
fixed direct access to (not longer existing) egw.userData.apps[app] by using method egw.app(app)
2014-03-28 08:46:54 +00:00
Ralf Becker
d6747117ca
put some margin between checkbox and its label
2014-03-28 07:55:19 +00:00
Klaus Leithoff
a9f7b3486b
silence permanent error log
2014-03-27 14:30:14 +00:00
Nathan Gray
5e6d19568d
Add a popup on hover to every read-only url-email widget.
...
Popup gives an option to add the email to a new contact
2014-03-26 23:25:43 +00:00
Nathan Gray
24fd900626
Fix multiple request problem
...
- actually pass delay to autocomplete, it works better that way
- track previous request, and abort it if another one needs to be started
2014-03-26 17:55:50 +00:00
Nathan Gray
869bf62108
Improve handling of changing actions in a nextmatch response:
...
- Also (re)set default action on new actions
- Avoid extra actionManagers
2014-03-26 14:55:06 +00:00
Nathan Gray
b93286a467
Don't call finish or change callbacks if upload fails
2014-03-25 21:03:35 +00:00
Nathan Gray
2f90f3d427
Fix changed actions only partially updated, missed _actionLinks in controller
2014-03-25 18:34:00 +00:00
Nathan Gray
42272cf2e2
Don't take away default action's onExecute, even if it does have children
2014-03-25 16:47:27 +00:00
Nathan Gray
7ef65b30d6
Fix expand_multiple_rows button to only be added once
2014-03-25 15:20:05 +00:00
Ralf Becker
7d7436e54b
fixed javascript errors happening if config was not loaded
2014-03-25 12:23:06 +00:00