Commit Graph

4113 Commits

Author SHA1 Message Date
Nathan Gray
60c2566bf9 Anything longer than 3 days is shown as Month + Day 2014-09-15 20:03:11 +00:00
Nathan Gray
69f6668d05 Some experimental speed changes:
- Make pm list load first, so others don't matter
- Add preference to limit dates in gantt
- Log timing of gantt loading
2014-09-15 19:35:29 +00:00
Ralf Becker
fad57f202b using egw_json_response::json_encode() for GET requests too, to work agains empty windows caused eg. by wrong encoding 2014-09-10 18:25:36 +00:00
Ralf Becker
9e60cadb70 fixed date client/server protocol to always just append "Z" after seconds, so apps can compare date values 2014-09-10 10:22:55 +00:00
Ralf Becker
a4d18fdce2 trigger blur on taglist in getValue() to not loose just typed content (previous fix stoped selection of suggestions by mouse) 2014-09-10 10:02:07 +00:00
Nathan Gray
06a78f145f Fix sub-grid column indent 2014-09-09 23:14:42 +00:00
Nathan Gray
dbbd64d66b Make sure tab doesn't start by trying to display a hidden tab. 2014-09-09 22:19:50 +00:00
Nathan Gray
4d93470fb9 - Fix bug loading new data into gantt
- Setup for Stylite gantt features
2014-09-09 20:40:27 +00:00
Nathan Gray
c33a71c5f7 Add some CSS during column resize to indicate which columns are fixed and which columns will change when you resize. 2014-09-09 17:39:33 +00:00
Nathan Gray
108d3a0f40 When user changes the width of a relative width column, make sure that column stays at the set size and adjust all other relative columns to fit. Fixes relative width columns changing width again after being resized. 2014-09-09 16:58:26 +00:00
Ralf Becker
837a84b330 fixed IE 11 names almost all files "blob" 2014-09-09 16:30:00 +00:00
Nathan Gray
8cb9914d15 Change minimum characters to 4 to avoid long queries on large installs. 2014-09-09 14:13:47 +00:00
Ralf Becker
c73cc6b398 fixing the fix: now cat_id=1 got not lost with a 2nd default option set in addressbook (0=None) 2014-09-09 14:11:42 +00:00
Ralf Becker
8ecaac7dde fixed category with cat_id=1 got lost in addressbook 2014-09-09 13:13:27 +00:00
Hadi Nategh
c651fa269a * Filemanager: Fix not working file upload in IE 2014-09-09 12:59:06 +00:00
Ralf Becker
b1f0448b6d fixed advanced search was always filtering by first option of custom-fields of type select or select-* 2014-09-09 08:36:34 +00:00
Ralf Becker
fd9519ccfe fix IDE warning 2014-09-09 08:31:59 +00:00
Nathan Gray
4e6c5c3a1f Warn about legacy function calls using too many arguments 2014-09-08 23:01:55 +00:00
Nathan Gray
4031e2b5a1 Fix customfield column size preference not used 2014-09-08 20:09:21 +00:00
Nathan Gray
ff327c30fe Limit link search to 1000 results 2014-09-08 19:15:01 +00:00
Nathan Gray
7f291a17a6 Fix missed case of 'really need it'. See SVN r47435. 2014-09-08 18:23:34 +00:00
Ralf Becker
0404f7f272 fix IDE warning 2014-09-08 11:40:57 +00:00
Ralf Becker
f4e47c176f * eTemplate2/all apps: fixed not displayed readonly dates outside lists (eg. created/modified dates in dialogs) 2014-09-08 11:38:02 +00:00
Ralf Becker
88a111b2c5 fixed storing same password twice in admin makes account unusable:
caused by tabs and callbacks added multiple times and therefor passwords beforeSendToClient method was called twice causing password to be replaced with asterisks
2014-09-06 10:00:42 +00:00
Ralf Becker
8c9854daa2 date widget has now api to set or get year, month, date, hours, minutes or time(stamp) and using that in calendar app.js for date manipulation 2014-09-05 10:34:37 +00:00
Nathan Gray
62e089c889 Add duration_unit parameter so we can reduce resolution for large time spans.
Prevents browser hanging while processing every minute of multi-year projects.
2014-09-04 20:53:27 +00:00
Hadi Nategh
6b62a84aae Fix styling of freezed buttons while uploading files via file widget 2014-09-04 15:00:59 +00:00
Ralf Becker
57ab83f3b0 remove resize: none from et2_textbox, as users like to resize their textboxes 2014-09-04 14:04:54 +00:00
Ralf Becker
35f63b35d5 * Calendar: fixed freetime search to correctly read and set times from edit window
- fixed et2_date.set_value() to understand nummeric timestamps in usertime used on server-side (needed timezone offset)
- added new parameter-type for et2_date.set_value() string starting with + or - to add or subtract given number of seconds from current time (to not have to code that in applications)
2014-09-04 13:03:48 +00:00
Ralf Becker
e5dcceb27b * Projectmanager/all apps: fix not working popups, eg. add existing action in elements list
also fixed IDE warnings
2014-09-04 08:29:02 +00:00
Ralf Becker
9e71712e2f fix indention 2014-09-04 08:27:45 +00:00
Nathan Gray
e47cb0f3f6 Speed improvements for large gantt tasks 2014-09-03 20:11:48 +00:00
Ralf Becker
cf7f5fef7e remove addressbook-email from app-list in link widgets 2014-09-03 12:53:43 +00:00
Nathan Gray
70d918331b Prevent additional objectManagers.
Fixes separate selection problem with right clicks on sub-grids.
2014-09-02 22:29:19 +00:00
Ralf Becker
d50ccc9c21 fixed not working custom date filter 2014-09-02 16:26:37 +00:00
Ralf Becker
757a741d99 * Tracker/eTemplate: user could not empty CC field (taglist-email) 2014-09-02 12:22:31 +00:00
Klaus Leithoff
a1bf9c0d9b allow to empty the taglist (even provided prior content is part of the preserve array), by returning null upon validation when array is empty 2014-09-02 11:39:23 +00:00
Hadi Nategh
ea57df4765 Add css class to add contact button in url-email widget, and make the icon size 16x16 2014-09-02 08:39:57 +00:00
Ralf Becker
ff626a812b disabling my workarounds to better test Nathans fixes in action system 2014-09-02 08:30:14 +00:00
Nathan Gray
12ab21e6a4 - Propagate clearSelection() to children
- Fix missed change in previous commit
2014-09-01 18:44:13 +00:00
Nathan Gray
3a49e4cfec Fix handling of missing ID (usually from empty placeholder) 2014-09-01 16:53:59 +00:00
Nathan Gray
fa8861ef38 Preserve selected egwActionObjects through to nm_action, it will extract string IDs there. 2014-09-01 16:30:31 +00:00
Hadi Nategh
312a914ce2 Bind onmouseenter event of add contact+ button on url-email set_value, as widget might be created by apps client side code, not directly loaded from xet file 2014-09-01 10:02:18 +00:00
Hadi Nategh
02453109d1 Add new attribute to url-email widget in order to be able to add contact+ button to each email address. 2014-08-29 14:56:14 +00:00
Ralf Becker
d9bcab4f58 same is true (and fixable here) for right-click in sub for actions allowing no multiple entries 2014-08-28 12:14:09 +00:00
Ralf Becker
d9fe3a5f8c when nextmatch queries children, querying controller has no filters, so we have to use the ones from its parent 2014-08-28 12:09:08 +00:00
Ralf Becker
8e75eca579 fixing temp. fix:
- doubleclick does not deselect selection in other hierarchy level (eg. previous selected sub-entry in infolog) --> use _senders
- if there was a confirmation _senders array contains strings with id instead of action-objects
- empty placeholder from sub-level is selectable --> ignore its empty id
2014-08-28 09:48:27 +00:00
Nathan Gray
ff29be3197 Fix history log widget no longer working 2014-08-27 17:13:38 +00:00
Ralf Becker
df83b4dbbe an other timezone fix for time(only) widget: this.date is on current date, changing it in get_value() to 1970-01-01, gives a time-difference, if we are currently on DST 2014-08-27 16:57:22 +00:00
Ralf Becker
f9a99637d1 temp. fix for _ids containing (wrong) selections from different hierarchy levels, fixes doubleclick on InfoLog with children, selects more then one entry to open, which obviously fails 2014-08-27 15:56:01 +00:00
Nathan Gray
6b2b686544 Fix duration parsed in wrong format if there was no choice for format. 2014-08-27 15:09:14 +00:00
Ralf Becker
fe9336896c fixed taglist-account displays groups as id eg. "-4" 2014-08-26 09:27:33 +00:00
Hadi Nategh
d806a5bf69 Change minWidth of columns in dataview to 20px 2014-08-26 07:34:33 +00:00
Nathan Gray
f3c15f87b1 Infolog lists embedded as action can have their own separate column preferences. 2014-08-25 23:18:09 +00:00
Nathan Gray
55ae503923 Even more date fixes:
- Don't send a date (just 1970-01-01) with timeonly values
- Avoid infinite loop when setting timeonly with timepicker
2014-08-25 19:33:35 +00:00
Nathan Gray
5b573114b9 Remove deprecated (& internal) __proto__.
Fixes error in IE with calendar edit.
2014-08-25 18:52:00 +00:00
Nathan Gray
60b02ccb4b - validate filters when getting rows
- run method (beforeSendToClient, validate) needs to include all sub-templates (header_left, header_right, header_row, template) or those widgets get left out.
2014-08-25 17:28:00 +00:00
Nathan Gray
299caf9807 More time fixes:
- Also accept string timestamps in Zulu time
- Fix change detection causing nextmatch filter to not work
2014-08-25 17:26:22 +00:00
Hadi Nategh
a450db05b8 Make sure toolbar-dropdown list stays on the top 2014-08-22 15:38:23 +00:00
Ralf Becker
868e5e0a38 adding autocomplete attribute to et2_textbox and et2_passwd and use it in email wizzard/account to stop browser from accidently filling out empty fields 2014-08-21 13:06:17 +00:00
Ralf Becker
21d3dce3e4 adding et2_appicon class 2014-08-21 09:47:30 +00:00
Nathan Gray
4d5f5677e1 Try to correctly handle timezone offset on the other side of the world 2014-08-20 14:39:42 +00:00
Nathan Gray
28d2fad14a * Change nextmatch column size calculations so extra size is allocated better. 2014-08-19 23:33:06 +00:00
Nathan Gray
ec1471c6d2 Another attempt at resolving the browser timezone issue 2014-08-19 21:22:26 +00:00
Hadi Nategh
a512c04183 Fix F.F does not trigger resize nm column onmousedown, but after mouseup 2014-08-19 13:58:35 +00:00
Hadi Nategh
fe02eda1a7 * Etemplate/Nextmatch: Do not trigger resize event on nextmatch header columns if the clicked element is select-tag, as it may cause conflict between two click and resize handlers in some browsers.
- Fix clicking on selectboxes located at nm header causes to resize the column, in FireFox.
2014-08-19 12:48:22 +00:00
Hadi Nategh
427956518e * Etemplate/widget: Introduce video widget.
- Add ability to play video media/stream
2014-08-19 10:10:09 +00:00
Nathan Gray
175d6b7201 - Change zoom auto level to better suit projects a day or two long
- Reset start/end dates when changing data
2014-08-18 22:55:54 +00:00
Nathan Gray
976c7e55ac - Adjust default columns to exclude resolution, completion, timesheets, votes and bounties. They can still be turned on manually, just hidden by default.
- Set some more default column widths
2014-08-18 19:44:37 +00:00
Nathan Gray
1e5ea67595 Fix unable to have checkboxes with an unselected value that evaluates to false. 2014-08-18 17:33:43 +00:00
Nathan Gray
5b91e871de Deal with languages helpfully adding timezones into timestamps
Fixes random (12, 6, 7) hours sometimes added to dates
2014-08-18 16:47:27 +00:00
Hadi Nategh
161734f941 Handle validation_error if widget is children of a tabbox.
-Fix widget with validation error does not activate its related tab.
2014-08-18 12:05:04 +00:00
Ralf Becker
e47db95be7 * Mail: fixed sometimes not working (un)subscribe of mailboxes, added better diagnostic and automatic (de)select children 2014-08-15 11:22:43 +00:00
Hadi Nategh
a03a69bd8e Override padding and border for remove class in fileupload progress, seems it gets padding from et2_link:firstChild class which is not meant to be set for remove div.
-Fix wierd yellow box next to fileupload progress.
2014-08-15 08:55:11 +00:00
Nathan Gray
f6bca11f4f Add an additional format to parse times in the formatY-m-dTHⓂ️s for insertion into spreadsheets, fixes warning when merge printing "Unable to parse date ... left as text" 2014-08-12 23:19:39 +00:00
Nathan Gray
4944b1a1fb Fix double encoded & in merge functions 2014-08-12 17:48:47 +00:00
Nathan Gray
694a63d1f4 Indicate merge class to use for mail, fixes infolog placeholders not known 2014-08-12 16:58:07 +00:00
Nathan Gray
cc04f0b89c Create & use a flag 'no_actions' to disable actions for sum rows 2014-08-11 23:13:02 +00:00
Nathan Gray
0fa3ad831b Fix no longer working 'None' category option 2014-08-11 22:50:38 +00:00
Nathan Gray
f7589316e0 Make sure options are there before looking inside, avoids a potential error in filter options 2014-08-11 20:27:56 +00:00
Ralf Becker
672297df94 fix for somehow empty etemplate request content, giving an error when (or after) sending mail 2014-08-11 15:12:34 +00:00
Hadi Nategh
ef6aed6579 Make sure we are getting the current appName 2014-07-30 15:12:05 +00:00
Nathan Gray
5b873215b0 - Fix expanding closed projects by passing parent ID
- Fix missing milestone icon
2014-07-29 21:51:37 +00:00
Nathan Gray
795e2cdb9c Refine cache check conditions, rows is always empty by this point. 2014-07-29 21:46:01 +00:00
Hadi Nategh
6689ca64f7 SelectAccount with type "none" should get sel_options but it should be readonly if user has no admin access. Fix infolog delegation for admin users with selectAccount type "none" selected 2014-07-29 17:39:35 +00:00
Klaus Leithoff
235888ad88 fix typo, that prevented the correct split of TreeNodeOpenItems 2014-07-29 12:50:39 +00:00
Nathan Gray
8a70df4df8 Handle num_rows set by application:
- Don't overwrite num_rows setting if the application sets it for some reason
- If num_rows is 0, don't get the initial rows server side
- If num_rows is 0 and the initial rows are missing, trigger an update right away to get them asyncronously.
2014-07-28 21:00:39 +00:00
Nathan Gray
9851a8a6ef Trigger a clear event on the etemplate DOMContainer when the etemplate is cleared, so app code can listen for it.
This allows a 'et2_unload' sort of processing.
2014-07-28 20:51:49 +00:00
Hadi Nategh
40aa20eaa2 As we replace spaces with + for those account ids which contain spaces, therefore we need to do the same for getting request-id too. 2014-07-28 15:29:49 +00:00
Ralf Becker
c6783d8b8e document hack, to work around birthdays changing one day for each time they are stored 2014-07-25 12:32:34 +00:00
Ralf Becker
970331b97c * Addressbook/all apps: dates change every time they get stored (temporary fix as conditions causing that are not clear) 2014-07-25 10:17:15 +00:00
Ralf Becker
1266aeb52a quiten permanennt error_log in etemplate_widget::run, if widget is disabled, and therefore not running 2014-07-24 09:38:55 +00:00
Nathan Gray
b6b660ee16 Fix detached date label 2014-07-22 22:22:09 +00:00
Nathan Gray
8f0513c99e Don't clear children if tabs attribute not provided 2014-07-22 21:33:41 +00:00
Nathan Gray
101eee1e1c Extend run() method for tabs:
- Apply additional tabs once in run() before applying the method, instead of in each method
- Apply tab readonlys to disable tabs, so they can be skipped
2014-07-22 21:26:03 +00:00
Nathan Gray
3176500c83 Refine select option searching when the id is like parent[selectbox].
- only search parents when the ID has multiple parts
- fix case when selectbox was in the sel_options arrayMgr, but had no options, parent was used as select options
2014-07-22 21:21:33 +00:00
Nathan Gray
bd41288788 - Add special handling for ids like something[{$row}] to only send select options once
- Don't need to process or send options for account, it is done client side now.
2014-07-21 16:31:10 +00:00
Ralf Becker
6a0c7e2c3d log not compiling PHP expressions as warning, as they are most likely caused by wired content, eg. filenames containing a $ 2014-07-21 15:27:15 +00:00
Ralf Becker
3c6130f7e6 setting an (unlikely) custom delimiter, to allow to use "," in value, eg. folder-name, IF values are specified as array 2014-07-21 12:57:32 +00:00
Ralf Becker
9712e625db * Admin/API: remove no longer fully supported method to not "store session-id in cookie", it is the safer default anyway 2014-07-18 10:02:51 +00:00