Ralf Becker
70b603ac77
moving VFS API classes into a namespaced PSR4 autoloadable structure:
...
- PSR4 autoloader exists beside our old autloader to support old as well as new structure until everything is ported over
- moved ported API stuff from phpgwapi to new api directory (idea is phpgwapi become a compatibility layer for old code, while we only port selected stuff to new api directory)
- namespaces use prefix "EGroupware", then (first letter capitalised) app-name or "Api", sub-system names like "Vfs" or for apps "Ui", "Bo, "So" and at least class name starting with a capital letter and without understores eg. "StreamWrapper" plus just ".php"
- examples:
+ egw_vfs in phpgwapi/inc/class.egw_vfs.inc.php --> EGroupware\Api\Vfs in api/src/Vfs.php
+ sqlfs_stream_wrapper in phpgwapi/inc/class.sqlfs_stream_wrapper.inc.php --> EGroupware\Api\Vfs\Sqlfs\StreamWrapper in api/src/Vfs/Sqlfs/StreamWrapper.php
+ sqlfs_utils in phpgwapi/inc/class.sqlfs_utils.inc.php --> EGroupware\Api\Vfs\Sqlfs\Utils in api/src/Vfs/Sqlfs/Utils.php
- api directory is no a new svn module but exists (like home) as sub-directory under base egroupware module
2015-01-26 09:15:07 +00:00
Ralf Becker
4578d849f5
new script widget to allow to include javascript in (customizied) templates, also adding an id to style widget
2015-01-23 19:32:32 +00:00
Hadi Nategh
ad6f33d78b
Support audio mime tyep for expose view, in order to play audio file
2015-01-23 15:52:00 +00:00
Ralf Becker
cf61d38137
share loaded eTemplates with iframes and popups, this way they dont need to load templates in same EGroupware session again (unless main window get reloaded), also adding now a cache-buster by default, if server dont supply one
2015-01-23 14:32:47 +00:00
Hadi Nategh
d56b92af8b
Fix the grid widget resize handler for grid_wrapper
2015-01-23 14:29:46 +00:00
Ralf Becker
8185324061
fixed 404 Not found caused by appending &thheight=... to mime-icon url
2015-01-23 12:39:37 +00:00
Hadi Nategh
75097c9cc2
Fix expose view always shows the first picture of the list without respect to the selected one
2015-01-23 09:25:18 +00:00
Ralf Becker
fcda7613f1
fix not working startup of gallery, as mediaContent has to be an array without gaps from non-media content
2015-01-22 09:01:58 +00:00
Nathan Gray
f27d39aeeb
Got expose gallery to paginate/fetch images backwards and forwards
2015-01-21 23:41:26 +00:00
Ralf Becker
14a7dd38f3
style tile-view to show images on whole tile with file-name and comment on hover only
2015-01-21 18:59:12 +00:00
Hadi Nategh
b9da0b6d4c
Set thumbnail size on expose to 128 height, and style them
2015-01-21 17:54:35 +00:00
Nathan Gray
a622113b0b
Pass event in instead of using window.event, fixes exposé initialization to selected image in firefox
2015-01-21 16:17:19 +00:00
Ralf Becker
2e27d90d45
thumbnailer now accepts 4 parameters in following priority: thheight, thwidth, thminsize and old thsize:
...
- thheight ensures a fixed height
- thwidth ensures a fixed width
- minsize ensures a minimum size
- thsize ensures a maximum size
2015-01-21 15:46:01 +00:00
Hadi Nategh
847bc2ef15
Introduce thumb_mime_size to vfs-mime widget in order to specify thumb size for specific mime types
2015-01-21 15:03:59 +00:00
Ralf Becker
0f8d251fc4
pending French translations from our translation server
2015-01-21 14:12:43 +00:00
Hadi Nategh
9bd80cdfc4
Fix url for expose view thumbnails
2015-01-21 11:15:59 +00:00
Hadi Nategh
33cf3205fa
Fix some issues in Expose view:
...
-Fix an error complaing of nm existance(eg.link widget)
-Some styling to thumbnail indicator
-Add hideControlsOnSlideshow to the blueimp gallery plugin to be able to hide the controls
2015-01-21 11:10:17 +00:00
Nathan Gray
6ffca62c3c
Exposé [mostly] working with filemanager list (pagination goes forward, not back)
2015-01-20 23:58:38 +00:00
Ralf Becker
03b6b7a871
show hand cursor (et2_clickable class), if expose is available
2015-01-20 22:25:11 +00:00
Hadi Nategh
95007f20d6
Fix base_urls for expose view in vfs and image widget
2015-01-20 18:47:08 +00:00
Hadi Nategh
262c92558e
Fix error apply is not available from the this._super in expose view
2015-01-20 18:32:51 +00:00
Ralf Becker
2fbc91c5d9
fixed not saved comment on an existing file/attachment
2015-01-20 17:36:09 +00:00
Hadi Nategh
511028f987
Some fixes of expose view for widget vfs-mime
...
- Introduce expose_view attribute for the widget
- Fix attach to DOM
- Fix get Media method
2015-01-20 15:07:09 +00:00
Hadi Nategh
40cc063500
Create links with et2_vfs-mime widget for links which have mime type
...
- Links with accepted media type will be opened in expose view
2015-01-20 14:59:28 +00:00
Hadi Nategh
4eb63d65ec
Do not bind the expose view click handler if the media type is not supported
2015-01-20 13:14:23 +00:00
Hadi Nategh
fc5d0cab49
Introduce expose view to image widget
...
- The expose view only be shown if the image widget have href value
2015-01-20 11:56:51 +00:00
Ralf Becker
d3d0edaea3
let framework import magicsuggest and blueimp-gallery inline
2015-01-20 10:33:22 +00:00
Nathan Gray
5d93df0fbd
Clear slides after closing the gallery. Fixes showing the first image next time expose is opened.
2015-01-19 20:20:02 +00:00
Nathan Gray
ff2f486c3f
Fix vfsMime & expose to use this.node instead of image
2015-01-19 19:42:03 +00:00
Hadi Nategh
cb439ffc55
Expose view work in progress
2015-01-19 18:59:35 +00:00
Hadi Nategh
811f24f9b7
Add expose plugin widget
2015-01-19 17:21:11 +00:00
Hadi Nategh
a4b8dabef5
Implement the lightbox view (expose) for mime widget
2015-01-19 17:18:01 +00:00
Nathan Gray
d633ce970a
Don't try to transform missing templates, it doesn't end well.
2015-01-16 18:10:30 +00:00
Hadi Nategh
f8e9911743
Serach js files for new phrases for translation
2015-01-15 14:56:23 +00:00
Hadi Nategh
4fa44e6482
Reorder and add missing phrases in lang files
2015-01-15 14:53:34 +00:00
Hadi Nategh
1db3cc96ef
Refresh nm rows which got linked after egw_link_drop action
2015-01-15 13:06:38 +00:00
Nathan Gray
06abca167d
If a widget is transformed into a template, try to load and process that template too.
2015-01-14 20:10:34 +00:00
Nathan Gray
2b1a897718
Surpress labels on entry-templates
2015-01-14 17:22:29 +00:00
Hadi Nategh
f9e28d24e8
Make a delay before favorites sorting action starts in order to prevent accidental sorting action
2015-01-14 17:00:47 +00:00
Hadi Nategh
d5231d35bc
Fix onFinishOne attribute and its handler
2015-01-14 09:05:34 +00:00
Nathan Gray
2404ebda6e
Ignore some new attributes, preserve settings when value is not an object
2015-01-13 22:00:12 +00:00
Nathan Gray
abb02c7b40
Add ability to store view in favorites, so tiles can be put on home.
...
Still some bugs in resizing with this in the home portlet.
2015-01-13 21:56:54 +00:00
Hadi Nategh
04730c83fe
Fix toolbar toggle buttons with Function are not getting executed
2015-01-13 15:51:30 +00:00
Hadi Nategh
01319d2704
Bind hover handler in file upload widget on input element as input always is on top and transparent
2015-01-13 13:25:12 +00:00
Hadi Nategh
1ad841f9d8
Set the action default for dropdown actions
2015-01-13 12:16:04 +00:00
Ralf Becker
325a471131
moving vfsMime icon size to etemplate, only overwriting it for thumbnail more specific in filemanager for Pixelegg template as they limit all images in NM widget
2015-01-13 10:45:10 +00:00
Ralf Becker
6bd93b25fb
fixed phrase
2015-01-12 16:02:13 +00:00
Ralf Becker
86eba3f137
for nextmatch filters we need to encode global nextmatch definition too
2015-01-12 14:10:40 +00:00
Ralf Becker
f15a37f368
always run fix_encoded_options to cope with customfields of type select got resorted by Firefox
2015-01-12 12:53:50 +00:00
Ralf Becker
157230ba57
pending translations from our translation server
2015-01-12 11:54:05 +00:00
Ralf Becker
989adb3fc3
some missing 128x128 icons from LGPL Crystal Clear icon theme from Everaldo Coelho downloaded from http://commons.wikimedia.org/wiki/Crystal_Clear
2015-01-11 17:34:55 +00:00
Ralf Becker
54e3db4c7b
some missing 128x128 icons from LGPL Crystal Clear icon theme from Everaldo Coelho downloaded from http://commons.wikimedia.org/wiki/Crystal_Clear
2015-01-11 17:10:58 +00:00
Ralf Becker
f44d73830e
some missing 128x128 icons from LGPL Crystal Clear icon theme from Everaldo Coelho downloaded from http://commons.wikimedia.org/wiki/Crystal_Clear
2015-01-11 13:24:29 +00:00
Ralf Becker
5b2baa7f44
128x128 GPLv2 mime icons from https://github.com/eagerterrier/MimeTypes-Link-Icons
2015-01-11 13:04:06 +00:00
Ralf Becker
baf79766a6
if exif extension is available, use it to fetch thumbnails from jpeg or tiff files
2015-01-10 13:15:17 +00:00
Ralf Becker
85bcd0200d
modernized login- and start-message editing a bit
2015-01-09 18:58:23 +00:00
Hadi Nategh
8ee3b4ccb1
Remove commented code from previous commit
2015-01-09 16:21:32 +00:00
Hadi Nategh
607677d9e7
Fix getting wrong initial excess_height
2015-01-09 16:19:52 +00:00
Hadi Nategh
882532d891
Give more room for input field in duration widget
2015-01-09 15:01:36 +00:00
Hadi Nategh
e1b9b43f6c
Fix toolbar dropdown actions set label
2015-01-09 14:45:39 +00:00
Hadi Nategh
eec3ebbc5d
Correct stored toolbar's preferences with the wrong id
2015-01-08 14:02:21 +00:00
Nathan Gray
0eaa3e0896
Fix file drop stopped working after changing template
2015-01-07 22:35:21 +00:00
Hadi Nategh
7009ba1de0
Fix mail compose issues:
...
-Set default toolbar actions
-Set toolbar actions view range to 6
-Fix compose window not being resized correctly in FF
-Fix displaying toolbar's selectbox
-Fix styling of toggle button
2015-01-07 17:08:21 +00:00
Hadi Nategh
56d8947ccc
Make sure the toJSON is not null before using string replace
2015-01-07 12:32:28 +00:00
Hadi Nategh
9dea759bad
Missing styling from commit #51126
2015-01-05 14:37:26 +00:00
Nathan Gray
8fb1418b3b
Some thumbnail enhancements:
...
- Allow client to cache thumbnails for 5 minutes, makes scrolling with tile view more bearable
- If thumbnail size is 64px or larger, extract & use thumbnail from opendocument files, makes them look better in tile view
2015-01-02 19:43:50 +00:00
Nathan Gray
33a0d1154a
* Tile view for filemanager
2014-12-31 17:55:06 +00:00
Nathan Gray
eb0a91d3fe
Don't pass settings when resizing, moving, or removing a portlet, they're not needed.
2014-12-29 17:35:50 +00:00
Hadi Nategh
733fd41a45
Implement toggle button in toolbar widget, representing checkbox actions in toolbar
2014-12-23 14:24:25 +00:00
Hadi Nategh
458aed9262
Open the select-file dialog with less height
2014-12-22 09:52:58 +00:00
Hadi Nategh
b34adb3108
Fix vfs upload select-file dialog
2014-12-22 09:42:04 +00:00
Nathan Gray
c48065f4c3
Add ability for admins to set home portlets as default, for groups, and forced for all.
2014-12-19 22:26:29 +00:00
Nathan Gray
aa526a3225
Fix bug where clearing the entered value would lose the selected application
2014-12-19 22:14:54 +00:00
Hadi Nategh
6138698b50
Add focus back to search input field after clicking on cross icon
2014-12-19 14:15:28 +00:00
Hadi Nategh
2021a8227e
Fix nm_popup dialog does not display full content of button's label
2014-12-19 13:52:57 +00:00
Hadi Nategh
cc0aad2d6b
Add span.et2_button_text to be able to give button style to span
2014-12-18 09:37:19 +00:00
Hadi Nategh
76bf4f31dc
Fix a tags in nextmatch take fullWidth of parent and causing not be able select next match row on free space area
2014-12-17 16:58:09 +00:00
Ralf Becker
60f67bfff8
* all apps: preserving for current user unavailable categories (eg. private categories of other user) when editing entries
2014-12-17 13:58:15 +00:00
Hadi Nategh
6b8698baef
Fix taglist lack of styling in jdots
2014-12-17 13:09:37 +00:00
Hadi Nategh
9e768dcaac
Stop taglist's ancestor change event from bubbling on taglist
2014-12-16 17:06:42 +00:00
Hadi Nategh
0f32084f8d
Bind onchange handlers of taglist options only to magicsuggest selectionchange, avoid unwanted triggered inputWidget parent change
2014-12-16 14:22:54 +00:00
Nathan Gray
bf89266ddc
Only require one radiobox to be set, checked by ID
2014-12-15 20:54:30 +00:00
Nathan Gray
da3d0d23c4
- Use link registry to open notification links
...
- Fix mark all notifications as read on popup close
2014-12-15 19:09:22 +00:00
Ralf Becker
cc71329be0
fix categories in admin sometimes change color after search
2014-12-15 17:46:21 +00:00
Hadi Nategh
81cc0f35f7
Convert ambiguous column to tablename.column name
2014-12-15 16:57:45 +00:00
Nathan Gray
4d34079576
Some more type checking before use to avoid errors
2014-12-11 18:02:08 +00:00
Ralf Becker
36699ed54b
fix javascript error stalling Home for _val===undefined
2014-12-11 17:02:52 +00:00
Ralf Becker
012eee4594
fix javascript error stalling Home for _val===undefined
2014-12-11 16:59:46 +00:00
Ralf Becker
0b8ad9798c
set default thumbnail size to 64px and fix IDE warnings
2014-12-11 09:57:31 +00:00
Nathan Gray
3474836244
Fix files selected from filemanager before entry is saved do not show in link list until entry is saved.
2014-12-10 17:58:42 +00:00
Hadi Nategh
dec43dd938
Fix typo from commit #49813
2014-12-10 15:59:34 +00:00
Hadi Nategh
a94f892219
Fix mobile framework popup not showing up the close botton
2014-12-10 15:53:28 +00:00
Ralf Becker
e2ad7fe20d
* all apps: custom field attribute length only sets visible length, to set maximum length specify rows=1
2014-12-10 14:35:08 +00:00
Nathan Gray
afcad4b50f
Set value to a new location using a prefix to avoid changing the original, should fix contact-templates
2014-12-10 00:07:23 +00:00
Hadi Nategh
be3dff7c30
Implement framework specific get_excessHeight to be able to calculate excess height correctly for each framework window
2014-12-09 16:07:51 +00:00
Hadi Nategh
dfe03c8531
Resize the initial resize after everthing is loaded immediately
2014-12-09 11:20:38 +00:00
Nathan Gray
323d276fa6
Slight performance improvement on rendering elements with many children.
2014-12-08 20:38:48 +00:00
Nathan Gray
6eb5fead04
Fix multiselect/taglist values not properly set if value is an object instead of an array
...
- Fix to handle strings and nulls too
2014-12-08 20:01:15 +00:00
Nathan Gray
68151ad8e7
Fix multiselect/taglist values not properly set if value is an object instead of an array
2014-12-08 18:14:00 +00:00
Hadi Nategh
0607b60bc9
Set a timeout to window resizer to make sure this happens after other resize events, hopefully fixes the timing issue
2014-12-08 17:04:41 +00:00
Ralf Becker
052a1e8d9f
do NOT add default placeholder-action of "add", if there is no such action, stalls new apps using nextmatch by default
2014-12-08 15:58:22 +00:00
Ralf Becker
dbdb0b440d
missing translation of blur text in textbox
2014-12-08 15:57:06 +00:00
Ralf Becker
173192f879
remove 0=off in NM column-selection, to show empty-label "Refresh" instead
2014-12-08 13:16:51 +00:00
Hadi Nategh
8203d5f695
Use appHeader outerHeight for resize calcualtion
2014-12-08 12:24:21 +00:00
Hadi Nategh
ee6754b75c
Take AppboxHeader into account for dialog resize height calculation
2014-12-08 10:51:34 +00:00
Hadi Nategh
1869e94f84
Popup resize handler enhancement:
...
- Fix multi-line textbox resizing
- Introduce tab_height to tab widget and remove extra height set on tab containers children
- Let mail compose uses its own resize handling as it deals with some special resizing
2014-12-05 17:29:41 +00:00
Hadi Nategh
14230d10f7
Make sure there's string to be replaced
2014-12-05 11:04:42 +00:00
Ralf Becker
9b5c68f743
hidden widget to transport content from server to client and back, thought server to client could easier be done by accessing content via content array manager
2014-12-05 08:59:51 +00:00
Hadi Nategh
e8d1c874e6
Implement resize handler callback for widget in order to resize widget properly after the window size changes
2014-12-04 16:38:34 +00:00
Hadi Nategh
b4ad7f8543
Bind swipe handler on grid view in order to be able to select nm rows on touch devices via swipe left/right
2014-12-04 16:35:17 +00:00
Ralf Becker
ecc9dece92
throw an exceptin with a more maningful message if a template does not contain a template tag with an id attribute matching template name, eg. it was forgotten to rename when customizing
2014-12-04 15:51:59 +00:00
Ralf Becker
cf9326391c
document tooltip name "hint" for actions
2014-12-04 09:19:03 +00:00
Nathan Gray
46bcd3df8a
Automatically set focus to first input
2014-12-03 23:43:34 +00:00
Nathan Gray
a2e0e45a64
Avoid invalid characters in DOM IDs.
...
Fixes missing comments, occasional errors in link comments.
2014-12-03 22:14:03 +00:00
Nathan Gray
ae257d8c98
Set focus to first input when loading a template into dialog
2014-12-03 22:11:24 +00:00
Nathan Gray
681566471a
Accept and process commands even if they're right at the beginning.
...
Fixes bug where commands at the start of content were not processed.
2014-12-03 19:58:59 +00:00
Nathan Gray
2eb7795061
Fix missing translation on Add current
2014-12-03 17:53:40 +00:00
Nathan Gray
e06e8d4c32
Fix sorting, needed to turn off order by branch.
2014-12-03 16:23:21 +00:00
Ralf Becker
e4ac846d2a
add blur attribute to date-widget
2014-12-03 16:23:10 +00:00
Ralf Becker
597e9b82ae
remove no longer necessary resize from (old) eTemplate, as it is done now by egw.js for all popups
2014-12-03 07:34:30 +00:00
Nathan Gray
65a9b4c79c
Avoid errors if getWidgetById() is called on a cleared widget / template
2014-12-03 00:16:39 +00:00
Nathan Gray
fb4482afe6
Some more width for custom field textboxes so they're not so small
2014-12-02 22:37:15 +00:00
Ralf Becker
f7610cd6d6
do not validate vfs-widgets not returning a value, as it overwrites preserved values with null
2014-12-02 19:17:03 +00:00
Ralf Becker
4d80104403
allow to disable date widget with set_readonly on run-time
2014-12-02 17:19:13 +00:00
Nathan Gray
fc66bfec63
Fix auto-selection of last used app (broken r48959)
2014-12-01 17:05:33 +00:00
Nathan Gray
bffa092efc
Set textarea to get height from rows attribute
2014-12-01 16:09:40 +00:00
Ralf Becker
8a9657541d
moving egw_openWindowCentered() to egw(window).openPopup()
2014-12-01 10:45:24 +00:00
Nathan Gray
f3c3fedf32
If the current application does not own the template, load the javascript for the current application and the application owning the template. (Gets actions working reliably in home)
2014-11-28 17:34:38 +00:00
Ralf Becker
010054bd97
fixed not working view_range (max. number of buttons to show incl. label)
2014-11-28 14:45:45 +00:00
Nathan Gray
8c5ea8eba9
More Home progress:
...
- Remove app header from addressbook
- Always load app's CSS for single entry
2014-11-27 18:31:08 +00:00
Hadi Nategh
7f4f340efd
Missing code from commit r49612
2014-11-27 17:31:03 +00:00
Hadi Nategh
7c3f8d10d6
Missing code from commit r49612
2014-11-27 17:29:44 +00:00
Ralf Becker
5bed0cdf77
fix not working dragging images into CKEditor of mail compose in FireFox
2014-11-27 13:44:50 +00:00
Nathan Gray
dd0e95d232
More Home progress (favorites):
...
- Put show header button into header
- Fix mixing columns between multiple favorites on home
- Fix changing column spacing when hiding header
- Fix add favorite from context menu didn't load properly
2014-11-25 21:50:42 +00:00
Nathan Gray
b967548cb5
More Home progress:
...
- Favorite now hides whole header
- Link thumbnail now just setting width to avoid distortion
- File thumbnail no longer limited, using full size thumbnail from site configuration or widget width, whichever is smaller
- Fix links were using edit instead of view
2014-11-25 00:45:14 +00:00
Nathan Gray
f8b09fa7e8
Stop trying to set dataset directly, caused error in Firefox
2014-11-25 00:41:56 +00:00
Nathan Gray
fd191888bb
Fix missing empty label when no value in readonly selectbox
2014-11-24 19:58:59 +00:00
Ralf Becker
0da238155c
dont allow to insert html
2014-11-21 11:18:42 +00:00
Hadi Nategh
3e6a7a7ba4
Make sure the removing class of progress dropdown list is happening before customized onFinish called by et2_call, because it may loses its context after call
2014-11-21 08:58:58 +00:00
Nathan Gray
44595fe931
- Apply user's gantt sort preference
...
- Add sort by end date preference
2014-11-19 22:57:39 +00:00
Ralf Becker
674fd0736a
fix PHP Fatal error: Access to undeclared static property: customfields_widget::$non_printable_fields
2014-11-19 13:24:12 +00:00
Ralf Becker
7bfa13728d
class var to enable/disable memory_usage reporting to error_log
2014-11-19 12:57:31 +00:00
Ralf Becker
c633e0033b
* all aps: lower memory requirements of insert into document by skipping HTML processing, if there are no html (custom-)fields
2014-11-19 12:20:59 +00:00
Ralf Becker
ca7bdb66a3
fix error introduced by previous commit
2014-11-19 09:22:52 +00:00
Ralf Becker
b10cf0a295
quiten permanent error_log on disabled cells and fixed IDE warnings
2014-11-19 08:53:17 +00:00
Nathan Gray
b626fd1a88
Home progress:
...
- Fix missing size for new widgets
- Different styling for single entries
- Custom template for single addressbook entries
- Hideable nextmatch header
2014-11-18 23:46:58 +00:00
Nathan Gray
08708664b3
If one application uses a template from another, notify the application that loaded the template, not just the application that owns it.
2014-11-18 23:10:41 +00:00
Nathan Gray
370577e763
Make sure color doesn't get paths confused, be more specific about it
2014-11-18 22:42:48 +00:00
Nathan Gray
e75c584aad
Fix resize dimensions off by padding amount (just added padding to resize grid)
2014-11-18 15:56:40 +00:00
Ralf Becker
5eeac7093c
use filemanager UI as UI for sharing directories
2014-11-18 12:55:32 +00:00
Ralf Becker
be66f13885
fix unknown modifier "n" warning caused by a "/" in replacement
2014-11-18 12:28:20 +00:00
Nathan Gray
ece1ccff43
Fix a bug in automatic drag and drop -> link support detection that gave DnD to apps that couldn't handle it.
2014-11-17 20:28:21 +00:00
Ralf Becker
08ab6679d2
try to increase/double prce.backtrack_limit no failure to preg_replace up to 1/4 of memory_limit
...
previous code was adding max 10 time 10000 to default limit of 1000000, which increased it by 10% max, given we have now a default memory_limit of 128M
2014-11-14 19:08:18 +00:00
Ralf Becker
275d733c22
fix customfield type "button" without any value stalls whole addressbook
2014-11-14 12:38:40 +00:00
Ralf Becker
8f713fe2f1
fix fatal error if customfields contains widget with no validation method --> nothing to validate / return
2014-11-13 09:28:22 +00:00
Ralf Becker
e923931fda
catch exception from unparsable date and display it empty instead
2014-11-12 19:23:47 +00:00
Nathan Gray
872a11bfdb
Home progress:
...
- Fix some incorrect sizes on new portlets
- Fix mainscreen message
- Base for using other app favorites on home screen
2014-11-11 23:07:35 +00:00
Nathan Gray
af1bf822a9
Provide missing context, fixes unwanted unregister of all callbacks instead of just the ones for that nextmatch
2014-11-11 22:51:54 +00:00
Nathan Gray
4ed5c57364
Fix link list broken by r49319.
2014-11-10 16:24:09 +00:00
Nathan Gray
cbbb0bf39f
Some WIP on getting home working again
2014-11-06 21:40:03 +00:00
Nathan Gray
f0d4523de1
Add support for link change handler, better support for not saved links
2014-11-06 21:31:11 +00:00
Nathan Gray
2232895b39
Let color be cleared (null wouldn't be returned)
2014-11-05 23:24:02 +00:00
Ralf Becker
026e93a0c4
use template base url from initial template, to continue using webdav, if that was loaded via webdav
2014-11-05 13:07:13 +00:00
Hadi Nategh
975a3fd2d5
Fix placeholder in taglist
2014-11-04 13:18:20 +00:00
Ralf Becker
f3dd3c2c0b
setting white-space:nowrap on et2_tabheader so tab-flags do not wrap into 2. line and remove no_wrap class from addressbook tab-widget, as it prevents wrapping of everything incl. content in individual tabs
2014-10-31 10:12:53 +00:00
Nathan Gray
9a7d087824
Fix missing icon for link action
2014-10-30 22:14:07 +00:00
Ralf Becker
1c6524cf0b
remove upper limit of number of characters at last domain-part to allow new domain-names like .hamburg
2014-10-30 13:20:04 +00:00
Nathan Gray
c917cbd865
Link enhancements:
...
- Add confirm dialog to delete link
- Log unlinking files into historylog
2014-10-29 23:03:35 +00:00
Hadi Nategh
94a8b6e87b
Get taglist working properly again with updated magicsuggest
2014-10-29 11:07:35 +00:00
Nathan Gray
2d149394ae
* Add clear button to nextmatch search box for Firefox
2014-10-28 16:37:55 +00:00
Ralf Becker
4acbbf81c1
fix IDE warnings
2014-10-23 12:47:51 +00:00
Ralf Becker
5549dd1fd2
* InfoLog: "No filter" favorite was not resetting filters anymore
2014-10-23 12:42:24 +00:00
Nathan Gray
16c902196d
Switch to nextmatch and edit dialog for customfield list (missed files from #49147 )
2014-10-22 20:11:31 +00:00
Hadi Nategh
d9b4480276
Keep toolbar actions in single line
...
-Fix mail display toolbar delete action jumps to second line
2014-10-22 08:50:10 +00:00
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
0722b0a328
Fix dnd helper stack order
2014-10-21 15:24:20 +00:00
Hadi Nategh
f61c898b86
Style images properly located inside drag's helper row
2014-10-20 14:07:38 +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
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
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
a1e444fdfd
fix non-fatal PHP Parse error, when $j was used eg. in onload
2014-10-13 12:21:53 +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
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
Klaus Leithoff
e1b2df5609
pending translations from our translation server
2014-10-10 12:11:14 +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
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
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
Nathan Gray
26261e080d
Fix bad logic breaking historylog
2014-10-07 20:47:54 +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
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
b7229cdcdf
Make sure options are available before getting access to its properties
2014-10-06 15:47: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
d3cde1efb4
Check that options are there before using.
...
Hopefully fixes bug in IE11.
2014-10-03 16:48:48 +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
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
Hadi Nategh
7c3683f3e8
More styling on file upload progress list
2014-10-01 15:16:13 +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
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
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
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
88a6114c0a
Look for old widgets that were adapted to etemplate2 but still follow old name scheme
2014-09-25 18:30:32 +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
5c78150f9f
Give more space between toolbar buttons
2014-09-25 11:43:33 +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
Ralf Becker
2e8a353f3e
pending translations from our translation server
2014-09-22 11:57:15 +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
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
Ralf Becker
4fc6102162
removed not used setting of application via GET parameter
2014-07-18 08:48:37 +00:00
Ralf Becker
f49bbab26f
fix an other CSP error, caused by json-responses send eg. from get_rows method on a GET request, filemanager opened in iframe from tracker
2014-07-17 17:26:00 +00:00
Hadi Nategh
ce6ac57f34
Correct "Save as Zip" icon in link widget contxt menu
2014-07-17 14:21:55 +00:00
Klaus Leithoff
0aa84dbaa1
use self::get_id on multiple selects and radio AND regard its output-format
2014-07-17 12:39:20 +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
Ralf Becker
9fa607c3bd
fixed problems reported by LFRZ
2014-07-16 12:18:04 +00:00
Stefan Reinhardt
6cf9017c26
pixelegg / less
...
change @import....
2014-07-16 11:31:26 +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
Hadi Nategh
061b4b9954
Specify et2_file and et2_vfs_btn classes for et2_link_to widget
2014-07-15 16:21:38 +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
94b726f883
Don't remove request from POSTs, etemplate is still active client side.
...
Fixes etemplates stop working after downloading a file (merge print, zip, etc.)
2014-07-14 12:03:04 +00:00
Ralf Becker
c54e53d405
fixed PHP Strict Standards: Declaration of etemplate_widget_*::set_attrs() should be compatible with etemplate_widget::set_attrs()
2014-07-14 10:02:47 +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
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
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
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
3e56f38995
Try to get attribute with getAttribute method, IE does not support element dataset
2014-07-11 15:52:43 +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
dbc6dbd7e1
Brazilian translations from Guilherme Rocha guilherme-at-gf7.com.br
2014-07-09 19:40:43 +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
48016d16c0
Fix category tree sorting
2014-07-08 23:15:49 +00:00
Nathan Gray
a5b9173fc9
Handle multiple buttons in a single custom field
2014-07-08 20:13:51 +00:00
Nathan Gray
210ebb5706
- Add $$user/primary_group$$ common placeholder
...
- Add calendar_owner/<contact> sub-placeholders, including primary_group
2014-07-08 19:05:09 +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
2de7931700
* Admin: custom-fields were not loaded, account was edited from admin not addressbook
2014-07-08 15:05:20 +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
Ralf Becker
3d79bae09a
Brazilian translations from Guilherme Rocha guilherme-at-gf7.com.br
2014-07-08 09:57:42 +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
Nathan Gray
760dc4b1d3
When update(true), also invalidate record change detection, to re-fetch all known rows
2014-07-08 03:35:55 +00:00
Nathan Gray
7eb528ee1f
Instead of replacing a dropped image with an error image, we'll remove it, and pass the image to the first et2_file widget with a drop target. That's not ideal, but it should work for us in most cases until CKEditor fully supports drag and drop.
...
(Firefox only)
2014-07-07 20:48:35 +00:00
Nathan Gray
08c10a70aa
Update Resumable from github, fixes some problems with setting et2_file value to a list of files in firefox.
2014-07-07 20:26:48 +00:00
Nathan Gray
1273955f9d
Allow possibility to include select all flag in url in addition to selected IDs
2014-07-07 16:46:16 +00:00
Nathan Gray
15ddeb2a24
- Avoid duplicate ID warning by only returning the value from the matching radio button
...
- Fix radiobuttons where the options/values were set in the template instead of sel_options
2014-07-07 16:19:37 +00:00
Hadi Nategh
296530b320
Fix etemplate2 submit() method for those buttons which they do not have nested ids
2014-07-07 13:25:20 +00:00
Nathan Gray
9ed54eb3fd
Drag & drop images don't work because of DB field sizes, so replace dropped images with error image so user knows right away it won't work.
2014-07-02 20:50:39 +00:00
Nathan Gray
4c5e36500a
Fix (?) the tough bug where app tab is closed, and nextmatch autorefresh generates an error after "this.getInstanceManager() is null"
2014-07-02 15:58:00 +00:00
Hadi Nategh
2c9ffb39b9
Override attchToDOM method in selectAccount, because chosen needs to be set after widget dettached from DOM (eg. validation error)
2014-07-02 14:36:47 +00:00
Hadi Nategh
6e4c7472fc
Make sure rows are bigger than 0 otherwise customfield CKEditor will get height of 0
2014-07-02 09:34:51 +00:00
Hadi Nategh
64329c4c0e
Add et2_label_empty class to textbox_ro widget if there is no content for the label
2014-07-01 16:18:01 +00:00
Ralf Becker
9c01142c22
margin between radio-button and its label
2014-07-01 16:04:01 +00:00
Ralf Becker
4ac94b2c01
remove label from readonly radiobutton, as we show label of checked option as value
2014-07-01 16:03:31 +00:00
Ralf Becker
96af6b8dba
removed padding from empty hbox child, eg. no postcode gives empty space in front of city in addressbook list
2014-07-01 15:56:09 +00:00
Nathan Gray
9562483697
Improvements to handle not yet existing links
...
- Can't view file info for non-existing file, so context menu item is disabled
- Fix setting a comment
- Fix loading class on delete & fetch title showing incorrectly
2014-07-01 00:22:13 +00:00
Nathan Gray
26f1e351f3
Apply missing font & size preferences
2014-06-30 21:28:03 +00:00
Ralf Becker
15fbd6bde8
fixed not working custom fields of type radio
2014-06-30 19:34:53 +00:00
Ralf Becker
d8b35e0a77
only join in extra table, if we really need it, to improve performance
2014-06-30 09:05:16 +00:00