Ralf Becker
72b040db01
fix IDE warning
2014-09-09 08:33:58 +00:00
Ralf Becker
866cb11f50
fix IDE warning
2014-09-08 11:41:18 +00:00
Ralf Becker
7cafc2fd9c
* eTemplate2/all apps: fixed not displayed readonly dates outside lists (eg. created/modified dates in dialogs)
2014-09-08 11:38:23 +00:00
Ralf Becker
6992005c6a
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-08 08:37:32 +00:00
Ralf Becker
bae6b3686f
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:35:08 +00:00
Hadi Nategh
e438ed281e
Fix styling of freezed buttons while uploading files via file widget
2014-09-04 15:04:22 +00:00
Ralf Becker
977c0bf482
* 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)
r48463: some styling for freetime search
2014-09-04 14:34:06 +00:00
Ralf Becker
1f214243bb
* Projectmanager/all apps: fix not working popups, eg. add existing action in elements list
...
also fixed IDE warnings
2014-09-04 08:29:20 +00:00
Ralf Becker
41e8331edd
* Projectmanager: speed improvements for large gantt charts
2014-09-04 06:09:17 +00:00
Ralf Becker
7d5ed49395
remove addressbook-email from app-list in link widgets
2014-09-03 12:54:09 +00:00
Ralf Becker
b179734df8
Prevent additional objectManagers.
...
Fixes separate selection problem with right clicks on sub-grids.
2014-09-03 06:59:26 +00:00
Ralf Becker
146febd692
* InfoLog: fixed selection over multiple hierarchy levels (eg. deleting a child from an opened InfoLog also deleted previously selected top-level entry!)
2014-09-02 10:34:05 +00:00
Hadi Nategh
8aa58344b0
Add css class to add contact button in url-email widget, and make the icon size 16x16
2014-09-02 09:35:26 +00:00
Hadi Nategh
e7bc170c4e
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-02 09:33:43 +00:00
Hadi Nategh
9a7a635f04
Add new attribute to url-email widget in order to be able to add contact+ button to each email address.
2014-09-02 09:31:38 +00:00
Ralf Becker
0a952f54a5
same is true (and fixable here) for right-click in sub for actions allowing no multiple entries
2014-08-28 12:14:33 +00:00
Ralf Becker
6fe1d935d4
when nextmatch queries children, querying controller has no filters, so we have to use the ones from its parent
2014-08-28 12:13:45 +00:00
Ralf Becker
491817de35
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:46 +00:00
Ralf Becker
0a93f3dc0c
backport of Nathans r48352: Fix history log widget no longer working
2014-08-27 17:28:07 +00:00
Ralf Becker
de3cb0f4db
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:44 +00:00
Ralf Becker
1ed8a70a08
backport from Nathans r48344: Fix duration parsed in wrong format if there was no choice for format.
2014-08-27 16:32:20 +00:00
Ralf Becker
ee167028e3
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:20 +00:00
Hadi Nategh
d18989c3e2
Change minWidth of columns in dataview to 20px
2014-08-26 14:04:52 +00:00
Hadi Nategh
59f0b65e63
Backport commit r48263, committed by Nathan Gray. Infolog lists embedded as action can have their own separate column preferences.
2014-08-26 13:51:06 +00:00
Hadi Nategh
739d2406bc
Backport commit r48260, committed by Nathan Gray. 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-26 13:45:36 +00:00
Hadi Nategh
0f83b2be95
Backport commit r48259, committed by Nathan Gray. Remove deprecated (& internal) __proto__.
...
Fixes error in IE with calendar edit.
2014-08-26 13:44:23 +00:00
Hadi Nategh
c3ae1410ea
Backport commit r48252, committed by Nathan Gray. More time fixes:
...
- Also accept string timestamps in Zulu time
- Fix change detection causing nextmatch filter to not work
2014-08-26 13:38:42 +00:00
Ralf Becker
72780a254b
fixed taglist-account displays groups as id eg. "-4"
2014-08-26 09:27:54 +00:00
Ralf Becker
19e2b49325
Check if content is there before trying to look inside it.
...
Fixes "TypeError: Cannot read property id of null" from mail dialog
2014-08-22 12:32:49 +00:00
Ralf Becker
7db4672b35
Refine cache check conditions, rows is always empty by this point.
...
r48042: Make sure options are there before looking inside, avoids a potential error in filter options
r48106: - 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-22 12:31:15 +00:00
Ralf Becker
70b2e235ce
* all apps: fixed column sizes and stretch (which columns change when window size changes)
2014-08-22 11:51:11 +00:00
Hadi Nategh
6af247558a
Handle validation_error if widget is children of a tabbox.
...
-Fix widget with validation error does not activate its related tab.
2014-08-22 11:50:23 +00:00
Hadi Nategh
80cd11972a
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-08-22 11:48:18 +00:00
Ralf Becker
ba254be4fc
* eTemplate2/all apps: fixing various timezone related issues
...
backport of Nathan and mine commits r47919, r48102, r48133, r48142, r48163, r48166 using now ISO time strings instead of timestamps for communication between client and server
2014-08-21 18:46:11 +00:00
Ralf Becker
894e757f18
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:42 +00:00
Ralf Becker
92131c0619
adding et2_appicon class
2014-08-21 09:47:50 +00:00
Hadi Nategh
10a0235855
Introduce video widget.
...
- Add ability to play video media/stream
2014-08-20 08:22:16 +00:00
Hadi Nategh
b8ba550e47
* All Applications: Fix problem with resizing listviews' columns in FireFox (FF) and Internet Explorer (IE).
...
- Fix column being resized by clicking on selectbox (dropdown triangle handle) in IE and FF
- Fix resizing column attempt to select texts instead of resizing column in FF
2014-08-20 08:18:40 +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
ed861b33f3
- Change zoom auto level to better suit projects a day or two long
...
- Reset start/end dates when changing data
2014-08-18 23:09:18 +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
64fbc7810f
Create & use a flag 'no_actions' to disable actions for sum rows
2014-08-18 20:22:11 +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
6a8e85c3e1
Add drag&drop for email and link lists
2014-08-18 18:00:00 +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
c1275309ab
* Mail: fixed sometimes not working (un)subscribe of mailboxes, added better diagnostic and automatic (de)select children
2014-08-15 11:25: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
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
f7589316e0
Make sure options are there before looking inside, avoids a potential error in filter options
2014-08-11 20:27:56 +00:00
Hadi Nategh
82fa583951
svn commit -m 'Backport commit 47925 committed by NathanGray. 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.' etemplate
2014-08-04 09:39:44 +00:00
Hadi Nategh
59bc2e04a8
Backport commit 47924 committed by NathanGray. Trigger a clear event on the etemplate DOMContainer when the etemplate is cleared, so app code can listen for it.
2014-08-04 09:22:38 +00:00
Hadi Nategh
d2ba902fd1
Make sure we are getting the current appName
2014-07-30 15:50:05 +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
b0933c32b9
fix typo, that prevented the correct split of TreeNodeOpenItems
2014-07-29 12:51:56 +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
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
787d5385ba
* Addressbook/all apps: dates change every time they get stored (temporary fix as conditions causing that are not clear)
2014-07-25 10:17:38 +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
Hadi Nategh
e7da57c6cb
Backport commit 47853 by ng, Fix detached date label
2014-07-23 12:54:02 +00:00
Ralf Becker
0abcd5e68f
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-23 09:14:24 +00:00
Nathan Gray
b6b660ee16
Fix detached date label
2014-07-22 22:22:09 +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
Ralf Becker
7cf1d222ae
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:33 +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
Nathan Gray
59e76d78c5
Fix extra options not used in read only select-account
2014-07-21 14:51:47 +00:00
Ralf Becker
346215edc6
setting an (unlikely) custom delimiter, to allow to use "," in value, eg. folder-name, IF values are specified as array
2014-07-21 12:58:08 +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
Hadi Nategh
344c2f2064
Correct "Save as Zip" icon in link widget contxt menu
2014-07-17 14:23:51 +00:00
Hadi Nategh
ce6ac57f34
Correct "Save as Zip" icon in link widget contxt menu
2014-07-17 14:21:55 +00:00
Nathan Gray
9c57ef865d
If link has a target, use that.
...
Causes linked files to be opened in new browser tab.
2014-07-16 15:03:09 +00:00
Nathan Gray
2785aed59c
Check if content is there before trying to look inside it.
...
Fixes "TypeError: Cannot read property 'id' of null" from mail dialog
2014-07-16 14:42:28 +00:00
Nathan Gray
762d8a9c09
If link has a target, use that.
...
Causes linked files to be opened in new browser tab.
2014-07-15 19:19:36 +00:00
Nathan Gray
10aa07b2fc
Fix extra options not used in read only select-account
2014-07-15 15:40:22 +00:00
Nathan Gray
67390bbcfa
Add HTML5 drag support for Chrome for all files in link lists
2014-07-14 22:34:55 +00:00
Nathan Gray
3b915de4cb
Grid row action enhancements:
...
- If row has a key 'id', set the egwActionObject id to match instead of just row_[i]
- Pass the row content in egwActionObject's data, so it's available during action processing
2014-07-14 20:47:52 +00:00
Nathan Gray
4104f793b2
Call applyFilters() function instead of setting directly, which skipped change detection.
...
Fixes selection not cleared when applying a favorite.
2014-07-14 14:11:41 +00:00
Nathan Gray
8a36e40b10
Call applyFilters() function instead of setting directly, which skipped change detection.
...
Fixes selection not cleared when applying a favorite.
2014-07-14 09:59:02 +00:00
Ralf Becker
d1d743e4b9
fixed broken regular expression for multiple comma-separated values (dash in character class has to be last character!)
2014-07-13 09:15:29 +00:00
Ralf Becker
f011a6c3d1
fixed broken regular expression for multiple comma-separated values (dash in character class has to be last character!)
2014-07-13 09:14:58 +00:00
Hadi Nategh
80f1abf3a2
Try to use xmlDoc.responseText as xmlDoc.response might not be available in IE
2014-07-11 16:50:38 +00:00
Hadi Nategh
ef9409294c
Try to use xmlDoc.responseText as xmlDoc.response might not be available in IE
2014-07-11 16:49:45 +00:00
Hadi Nategh
1471def4b2
No need to use Microsoft.XMLDOM for IE anymore, since IE 7+ supports XMLHttpRequest object
2014-07-11 16:08:01 +00:00
Hadi Nategh
8f0dba15fe
No need to use Microsoft.XMLDOM for IE anymore, since IE 7+ supports XMLHttpRequest object
2014-07-11 16:07:02 +00:00
Hadi Nategh
b95f53f073
Try to get attribute with getAttribute method, IE does not support element dataset
2014-07-11 15:53:58 +00:00
Hadi Nategh
3e56f38995
Try to get attribute with getAttribute method, IE does not support element dataset
2014-07-11 15:52:43 +00:00
Hadi Nategh
9ae80ec4c1
Use getAttribute to get the data-group value to use it for toolbar sorting.\n\r -Fix group is undefined error opening mail in IE10
2014-07-11 12:57:47 +00:00
Hadi Nategh
a0bf45da93
Use getAttribute to get the data-group value to use it for toolbar sorting.\n\r -Fix group is undefined error opening mail in IE10
2014-07-11 10:38:36 +00:00
Ralf Becker
2a6168a1c2
* Addressbook: fixed sorting of category tree
...
fixes not displayed cat-tree and validation error introduced with r47575
2014-07-09 11:18:47 +00:00
Nathan Gray
a5b9173fc9
Handle multiple buttons in a single custom field
2014-07-08 20:13:51 +00:00
Nathan Gray
b7a6e53163
* Added context menu to download all linked files in one zip file
...
As long as there are 2 or more files linked to the entry, you can download them all as a zip using the link list context menu.
2014-07-08 16:51:01 +00:00
Ralf Becker
55722f4520
change default value for unset checkbox to be in line with old eTemplate, using "" that evaluates in PHP and javascript to false and not string "false"
2014-07-08 11:31:57 +00:00
Hadi Nategh
a1285433bd
Add alert method to et2_dialog in order to create alert dialog with optional arguments message, title and dialog type. Additionally, remove an not used argument from et2_dialog.confirm method
2014-07-08 10:29:59 +00:00
Nathan Gray
ed6013605e
If a custom field is added to the column list, invalidate known columns to get all new data back, in case app did not send custom fields in the first request. Fixes needing to reload after displaying custom fields in nextmatch
2014-07-08 04:21:02 +00:00
Nathan Gray
7a1d2dc0cd
Customfield lists need to create all widgets, so they can be enabled if the column is changed without re-doing the whole thing
2014-07-08 03:37:47 +00:00