Commit Graph

1740 Commits

Author SHA1 Message Date
Nathan Gray
ce65365049 * Support export Gantt chart to PDF and PNG using DHMTLX's service 2014-10-14 22:58:56 +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
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
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
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
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
5e9676e770 Fix broken relative width calculation after r48947. 2014-10-08 17:10:58 +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
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
7fe36b289b Fix relative columns width preference not saved as relative width 2014-10-07 22:59:55 +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
Hadi Nategh
f5a71a635f Complement to commit 48899, fixes error in IE11 2014-10-07 11:39:34 +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
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
b7229cdcdf Make sure options are available before getting access to its properties 2014-10-06 15:47:22 +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
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
Hadi Nategh
cc9dfd0043 Implement dropdown list style for file upload 2014-10-01 14:19:36 +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
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
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
Hadi Nategh
b4adc01f6e Introduce new attribute to image widget in order to show image as a tooltip next to the widget with provided source 2014-09-29 16:29:17 +00:00
Nathan Gray
b6c86c2df0 Don't try to delete not-existing attribute.
Hopefully solves error in IE.
2014-09-29 16:05:32 +00:00
Ralf Becker
9ca870d1e7 we need to return null for no value instead of empty array, which gets overwritten by preserved value on server-side 2014-09-26 11:25:09 +00:00
Hadi Nategh
cc00102ef5 Make sure there's an app set, otherwise set it from top of the list 2014-09-26 09:22:07 +00:00
Nathan Gray
5896c7e103 Use global template store directly, solves an error with loading sub-templates if they're not in the tree 2014-09-25 18:29:18 +00:00
Hadi Nategh
acd07a1f93 Adjusting toolbar widget
-Fix toolbar widget droppable space
-Fix toolbar widget for first time user with no preferences
2014-09-25 11:12:04 +00:00
Hadi Nategh
3f54a33fda Make sure nm row_ids are string in order to address them as string, seems some ids are not 2014-09-25 08:45:06 +00:00
Nathan Gray
f0bb5a8957 Support multiple projects in gantt chart 2014-09-24 17:21:24 +00:00
Nathan Gray
812518f72f Fix unwanted apps showing in link-app 2014-09-24 16:15:24 +00:00
Nathan Gray
c5d5260d8b Drag and drop nextmatch rows to link between entries 2014-09-23 21:25:46 +00:00
Nathan Gray
eefc75369c Add refresh(id, type) function to et2_gantt widget 2014-09-23 16:58:09 +00:00
Nathan Gray
cd19f52964 Get not loaded UIDs if select all is used. 2014-09-22 19:39:50 +00:00
Nathan Gray
c27e4f2098 Fix diff widget to better handle empty values (cleared fields) 2014-09-22 16:16:11 +00:00
Nathan Gray
378a11f841 Also accept file names to remove. 2014-09-18 18:56:43 +00:00
Nathan Gray
cf3f99c260 Don't unregister selected rows from the selection manager, even if they're destroyed.
Fixes selection loses first rows when user scrolls down.
2014-09-18 02:58:52 +00:00
Nathan Gray
b7b6baaed5 Accept string without suffix as fixedWidth.
Fixes infolog defaults missing when changing details/no details
2014-09-18 02:29:14 +00:00
Nathan Gray
946558b559 More gantt improvements for large projects
- Add a further zoom level, yearly, for long projects
- Fix some scaling issues
- Turn on gantt cover while loading, so it gets a better chance to be displayed
2014-09-17 20:17:29 +00:00
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
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