Commit Graph

4349 Commits

Author SHA1 Message Date
Nathan Gray
29f84a83f9 If link is missing needed information so it won't work, don't look like a link 2014-10-21 16:32:47 +00:00
Hadi Nategh
db397dac5e Fix dnd helper stack order 2014-10-21 15:25:36 +00:00
Hadi Nategh
0722b0a328 Fix dnd helper stack order 2014-10-21 15:24:20 +00:00
Hadi Nategh
66e889fe06 Style images properly located inside drag's helper row 2014-10-21 15:03:09 +00:00
Hadi Nategh
0c82167d09 More progress of commit r49059 2014-10-21 14:40:16 +00:00
Hadi Nategh
e8980e5836 Work in progress, standardization of dnd action helper styling for all apps 2014-10-21 14:39:24 +00:00
Ralf Becker
e545a9fdf0 Make sure nm row_ids are string in order to address them as string, seems some ids are not 2014-10-21 10:30:14 +00:00
Nathan Gray
c0972a636a * Drag and drop entries between lists to link them 2014-10-20 18:29:57 +00:00
Hadi Nategh
f61c898b86 Style images properly located inside drag's helper row 2014-10-20 14:07:38 +00:00
Hadi Nategh
570558ff31 Show both date and time for before today time.
- Fix mails in the list not showing date and time under date column.
2014-10-20 13:29:29 +00:00
Hadi Nategh
9b05ccc4ad Show both date and time for before today time.
- Fix mails in the list not showing date and time under date column.
2014-10-20 13:27:44 +00:00
Hadi Nategh
96d9f14d12 More progress of commit r49059 2014-10-20 11:41:59 +00:00
Ralf Becker
93bc0feb16 * Filemanager: fix since PHP 5.5.18 not longer working non-ascii chars in filenames, eg. German umlauts or accents 2014-10-18 12:17:17 +00:00
Nathan Gray
24b5779210 Better styling for planned times so early tasks can be seen too. 2014-10-17 17:17:23 +00:00
Hadi Nategh
dae1ce6554 Work in progress, standardization of dnd action helper styling for all apps 2014-10-17 16:34:14 +00:00
Ralf Becker
850836be8a * Timesheet: fix (un)setting project for adding, editing and save&new timesheets
- fixed et2_widget_textbox to update options.blur in set_blur(), as it is used in getValue, also updating input
- fixed et2_widget_linkentry to trigger change event, after reacting to click on X in search
- fixed timesheet to handle ts_project and pm_id in bo (ts_project is always stored in db for searching, even if it contains no custom project name)
- fixed not working change of project in an existing timesheet
- fixed unsetting of project
2014-10-17 12:59:35 +00:00
Ralf Becker
b1f48200e6 fixed color-picker shown twice if used in a tab-widget after apply, backport of
r48992: disabling immediate direct call to loadingFinished() for selected tab seems to have no recognisable impact
and some widgets, eg. color-picker have problems with calling doLoadingFinished twice
r49047: change tab loading again to initialise visible tab immediatly and gard et2_color / jPicker against being initialised twice
2014-10-17 12:14:44 +00:00
Ralf Becker
15bc2f3ade change tab loading again to initialise visible tab immediatly and gard et2_color / jPicker against being initialised twice 2014-10-17 11:37:15 +00:00
Nathan Gray
8ef066f283 Prevent empty options being sent when selectbox is in a row.
Fixes unwanted numeric options in auto-repeat rows.
2014-10-16 22:50:09 +00:00
Nathan Gray
bdecd27961 Show planned times on gantt chart while editing real times 2014-10-15 22:22:49 +00:00
Nathan Gray
ce65365049 * Support export Gantt chart to PDF and PNG using DHMTLX's service 2014-10-14 22:58:56 +00:00
Nathan Gray
f099800b62 Prevent empty options being sent when selectbox is in a row.
Fixes unwanted numeric options in auto-repeat rows.
2014-10-14 16:43:47 +00:00
Ralf Becker
83b6706964 * Timesheet: fix (un)setting project for adding, editing and save&new timesheets
- fixed et2_widget_textbox to update options.blur in set_blur(), as it is used in getValue, also updating input
- fixed et2_widget_linkentry to trigger change event, after reacting to click on X in search
- fixed timesheet to handle ts_project and pm_id in bo (ts_project is always stored in db for searching, even if it contains no custom project name)
- fixed not working change of project in an existing timesheet
- fixed unsetting of project
2014-10-14 15:58:37 +00:00
Ralf Becker
b6f628a66d fix non-fatal PHP Parse error, when $j was used eg. in onload 2014-10-13 12:22:11 +00:00
Ralf Becker
a1e444fdfd fix non-fatal PHP Parse error, when $j was used eg. in onload 2014-10-13 12:21:53 +00:00
Ralf Becker
ff5c1e83a9 mtime postfix for WebDAV has to use "?download=", as our WebDAV treats everything else literal 2014-10-13 12:15:48 +00:00
Ralf Becker
55e931871e mtime postfix for WebDAV has to use "?download=", as our WebDAV treats everything else literal 2014-10-13 12:15:30 +00:00
Hadi Nategh
f071d8561c Make sure the class name used as identifier has no invalid chars 2014-10-13 10:11:53 +00:00
Hadi Nategh
b542033f8d Make sure the class name used as identifier has no invalid chars 2014-10-13 10:06:30 +00:00
Ralf Becker
026347ba2f disabling immediate direct call to loadingFinished() for selected tab seems to have no recognisable impact
and some widgets, eg. color-picker have problems with calling doLoadingFinished twice
2014-10-13 09:07:23 +00:00
Hadi Nategh
e5115b430e Give widget color dialog unique class in order to identify it later for binding click handler to picker span.
-Fix the bug, color picker opens other colorpickers dialog which are in the same template.
2014-10-10 15:06:04 +00:00
Hadi Nategh
b0e4655eff Give widget color dialog unique class in order to identify it later for binding click handler to picker span.
-Fix the bug, color picker opens other colorpickers dialog which are in the same template.
2014-10-10 12:40:41 +00:00
Klaus Leithoff
ca9765f9aa pending translations from our translation server 2014-10-10 12:14:15 +00:00
Klaus Leithoff
e1b2df5609 pending translations from our translation server 2014-10-10 12:11:14 +00:00
Ralf Becker
28afa0994b Use a client-side setDetachedAttributes() to do needed data changes for dates.
r48920: do not convert empty values, otherwise we will get current date or 1970-01-01 instead
r48938: Fix bad logic breaking historylog
r48960: refactored code to always run Nathans fix (before it was only run for ajax requests, not for initial request)
2014-10-09 08:39:24 +00:00
Ralf Becker
7f619fe32d fix redirect loop initiated eg. by saving a mail, caused by document.location=url triggering etemplate unload handler and destroying et2 request, identical redirect url detected by jdots framework causes refresh via nextmatch --> next redirect 2014-10-08 20:06:30 +00:00
Ralf Becker
178bca7f7a fix redirect loop initiated eg. by saving a mail, caused by document.location=url triggering etemplate unload handler and destroying et2 request, identical redirect url detected by jdots framework causes refresh via nextmatch --> next redirect 2014-10-08 20:02:59 +00:00
Nathan Gray
bf51e940b0 Remove auto refresh options for 30 seconds and 1 minute, as apparently they cause problems with mail.
Add auto refresh options for 15 and 30 minutes.
2014-10-08 17:29:40 +00:00
Nathan Gray
2ca305b5cc Remove auto refresh options for 30 seconds and 1 minute, as apparently they cause problems with mail.
Add auto refresh options for 15 and 30 minutes.
2014-10-08 17:27:39 +00:00
Nathan Gray
2623a9410b Fix broken relative width calculation after r48947. 2014-10-08 17:13:58 +00:00
Nathan Gray
5e9676e770 Fix broken relative width calculation after r48947. 2014-10-08 17:10:58 +00:00
Ralf Becker
fcd03a54c8 refactored code to always run Nathans fix (before it was only run for ajax requests, not for initial request) 2014-10-08 12:16:13 +00:00
Ralf Becker
e1799cac7d * all apps: custom fields of type "float" allow to specify maxlength,size,min,max comma-separated in length field 2014-10-08 10:46:24 +00:00
Ralf Becker
76dbe08207 * all apps: custom fields of type "float" allow to specify maxlength,size,min,max comma-separated in length field 2014-10-08 10:45:55 +00:00
Ralf Becker
0d2cae7ade reverting accidently commited date+nextmatch widget 2014-10-08 09:12:09 +00:00
Ralf Becker
065f772302 * Mail: allow to enter name+mail eg. "Ralf Becker <rb@stylite.de>" in compose, automatic fix unquoted commas in entered mail addresses 2014-10-08 09:09:02 +00:00
Ralf Becker
a19fe17f45 revert r48946, as it break for some conditions 2014-10-08 09:07:26 +00:00
Ralf Becker
3edc0f3080 revert r48945, as it break for some conditions 2014-10-08 09:07:01 +00:00
Ralf Becker
1c9a14159e * Mail: allow to enter name+mail eg. "Ralf Becker <rb@stylite.de>" in compose, automatic fix unquoted commas in entered mail addresses 2014-10-08 09:01:51 +00:00
Nathan Gray
302e7c8d8c Fix relative columns width preference not saved as relative width 2014-10-07 23:04:53 +00:00
Nathan Gray
7fe36b289b Fix relative columns width preference not saved as relative width 2014-10-07 22:59:55 +00:00
Nathan Gray
c10d926a54 Change email regex to allow email addresses of the form "Ralf Becker <rb@stylite.de" 2014-10-07 22:30:08 +00:00
Nathan Gray
7111e0bb83 Change email regex to allow email addresses of the form "Ralf Becker <rb@stylite.de" 2014-10-07 22:27:27 +00:00
Nathan Gray
e674c5aa5b Partially revert r48812, seems it didn't help entry widgets but it did cause problems with preferences 2014-10-07 21:16:18 +00:00
Nathan Gray
26261e080d Fix bad logic breaking historylog 2014-10-07 20:47:54 +00:00
Hadi Nategh
856db31c66 Complement to commit 48899, fixes error in IE11 2014-10-07 11:40:19 +00:00
Hadi Nategh
f5a71a635f Complement to commit 48899, fixes error in IE11 2014-10-07 11:39:34 +00:00
Ralf Becker
cf96d4e82d do not convert empty values, otherwise we will get current date or 1970-01-01 instead 2014-10-07 10:19:21 +00:00
Ralf Becker
d65b786b26 backport of Nathans r48904: trim email addresses to avoid validation errors 2014-10-07 06:40:22 +00:00
Ralf Becker
1fcc8cb801 backport of Nathans r48905: fix typo resulting in all not being processed 2014-10-07 06:38:13 +00:00
Nathan Gray
a6ac5155ac - Apply 'none' user selection preference (with admin consideration)
- Avoid potential infinite loop with no select options
2014-10-06 22:11:27 +00:00
Nathan Gray
06369b922a Fix typo resulting in all not being processed. 2014-10-06 21:31:14 +00:00
Nathan Gray
fe4cdcb1d1 Trim email addresses to avoid validation errors 2014-10-06 21:17:37 +00:00
Nathan Gray
aeefd2823a Use a client-side setDetachedAttributes() to do needed data changes for dates. 2014-10-06 20:43:46 +00:00
Nathan Gray
e4e869953f Save some processing by preventing API from fetching UIDs, which aren't applicable here. 2014-10-06 20:10:07 +00:00
Hadi Nategh
0db144feb9 Make sure options are available before getting access to its properties
-Avoid error while saving tracker using IE 11
2014-10-06 15:56:47 +00:00
Hadi Nategh
b7229cdcdf Make sure options are available before getting access to its properties 2014-10-06 15:47:22 +00:00
Ralf Becker
8c2599d03a using a compiled list of timestamp column-names instead a regular expression, fixes duration columns like "info_used_time" get transformed too 2014-10-06 11:22:22 +00:00
Ralf Becker
11fefa28fa remove debug stuff 2014-10-06 11:22:02 +00:00
Ralf Becker
1e4e044f5b using a compiled list of timestamp column-names instead a regular expression, fixes duration columns like "info_used_time" get transformed too 2014-10-06 11:20:58 +00:00
Nathan Gray
d3ef2618cb Check that options are there before using.
Hopefully fixes bug in IE11.
2014-10-03 16:52:33 +00:00
Nathan Gray
d3cde1efb4 Check that options are there before using.
Hopefully fixes bug in IE11.
2014-10-03 16:48:48 +00:00
Ralf Becker
0f5752bdd6 fixed row vanishes on refresh, eg. after editing an address in an already refreshed addressbook list, caused by row_modified no longer a timestamp when it get checked in ajax_get_rows 2014-10-02 15:00:42 +00:00
Ralf Becker
aff6248300 fixed row vanishes on refresh, eg. after editing an address in an already refreshed addressbook list, caused by row_modified no longer a timestamp when it get checked in ajax_get_rows 2014-10-02 15:00:18 +00:00
Ralf Becker
ac0a2d0930 * Mail/Calendar/eTemplate2: fix timezone problems of times in grid or lists, if server_timezone differs from php.ini date.timezone
- for grid this is a real fix by correctly expanding names in auto-repeated rows and therefor running widgets beforeSendToClient methods
- for nextmatch is is just a hack looking at get_rows content and converting everything "looking" like a timestamp to a "Y-m-d\TH:i:s\Z" string
2014-10-01 19:11:42 +00:00
Ralf Becker
e316379373 * Mail/Calendar/eTemplate2: fix timezone problems of times in grid or lists, if server_timezone differs from php.ini date.timezone
- for grid this is a real fix by correctly expanding names in auto-repeated rows and therefor running widgets beforeSendToClient methods
- for nextmatch is is just a hack looking at get_rows content and converting everything "looking" like a timestamp to a "Y-m-d\TH:i:s\Z" string
2014-10-01 19:10:59 +00:00
Ralf Becker
b537c3963d fix IDE warnings 2014-10-01 19:05:33 +00:00
Nathan Gray
b1e77ca062 Add some handling to allow ID to be different from the value source by allowing the value attribute to point to the value. 2014-10-01 17:29:22 +00:00
Nathan Gray
0eb14c1dc1 Implement comparison and alternate fields 2014-10-01 16:49:26 +00:00
Nathan Gray
15be410487 Make sure to use correct parent ObjectManager when destroying.
Should fix "Action object with id ... does not exist" errors.
2014-10-01 15:37:01 +00:00
Nathan Gray
9e0b882f92 Add refresh(id, type) function to et2_gantt widget 2014-10-01 15:34:54 +00:00
Hadi Nategh
ee46807842 * Filemanager: New styling and access to list of uploading files in progress 2014-10-01 15:21:48 +00:00
Hadi Nategh
7c3683f3e8 More styling on file upload progress list 2014-10-01 15:16:13 +00:00
Nathan Gray
3ec23b92fd Fix unwanted apps showing in link-app 2014-10-01 15:15:33 +00:00
Hadi Nategh
561880e31d Fix extra progress bar shown always under file name even before the uploading processes get started 2014-10-01 15:05:01 +00:00
Nathan Gray
3abff57761 Avoid error if filter has no options. 2014-10-01 15:04:21 +00:00
Nathan Gray
e1619d6cb9 Handle more refresh options, Support multiple projects in gantt chart 2014-10-01 14:57:01 +00:00
Hadi Nategh
cc9dfd0043 Implement dropdown list style for file upload 2014-10-01 14:19:36 +00:00
Ralf Becker
cd30e8bee1 Don't try to delete not-existing attribute.
Hopefully solves error in IE.
2014-10-01 10:43:24 +00:00
Ralf Becker
2d0d1916c6 fixed date-time_today widget broken after last commit 2014-10-01 04:40:54 +00:00
Ralf Becker
c42802beea fixed date-time_today widget broken after last commit 2014-10-01 04:40:19 +00:00
Nathan Gray
6ee7f3f219 Basics of infolog-value and tracker-value widgets 2014-09-30 22:08:57 +00:00
Nathan Gray
aa6c36ba3f Work on app-entry widgets (contact-value) 2014-09-30 21:37:45 +00:00
Ralf Becker
d102b7782c fix handling of timestamps in usertime on client-side, by using date("Y-m-d\TH:i:s\Z", ts) equivalent to PHP date function we use on server-side, fixes wrong time in alarms, if server- and user-timezone differ 2014-09-30 20:13:15 +00:00
Ralf Becker
1a3c6985e4 fix handling of timestamps in usertime on client-side, by using date("Y-m-d\TH:i:s\Z", ts) equivalent to PHP date function we use on server-side, fixes wrong time in alarms, if server- and user-timezone differ 2014-09-30 20:12:53 +00:00
Nathan Gray
c16bb0c647 Make sure to use correct parent ObjectManager when destroying.
Should fix "Action object with id ... does not exist" errors.
2014-09-30 16:52:42 +00:00
Nathan Gray
3843109dff Avoid error if filter has no options. 2014-09-30 14:47:54 +00:00
Ralf Becker
9057821241 * Preferences: opening forced preferences set selectboxes for not set values to first real value not "Users Choice"
caused by etemplate_widget_menupopup not being run, it is now run by etemplate_new::exec / etemplate_new::fix_sel_options for everything in sel_options
2014-09-30 14:27:47 +00:00
Ralf Becker
3e12e8f2f9 * Preferences: opening forced preferences set selectboxes for not set values to first real value not "Users Choice"
caused by etemplate_widget_menupopup not being run, it is now run by etemplate_new::exec / etemplate_new::fix_sel_options for everything in sel_options
2014-09-30 14:27:29 +00:00
Nathan Gray
84821bef95 - Apply 'none' user selection preference (with admin consideration)
- Avoid potential infinite loop with no select options
2014-09-29 20:37:23 +00:00