Ralf Becker
5be553dae1
check if download_url is not already an url (some stream-wrappers allow to specify that!)
2015-04-11 08:21:04 +00:00
Ralf Becker
1120df65dc
check if download_url is not already an url (some stream-wrappers allow to specify that!)
2015-04-11 08:18:53 +00:00
Hadi Nategh
699df9241c
Fix click handler does not work always for images with href attribute
2015-04-09 10:52:36 +00:00
Hadi Nategh
809ad4a678
Fix click handler does not work always for images with href attribute
2015-04-09 10:52:05 +00:00
Hadi Nategh
d8374eaa87
Do not trigger expose view if one of the operator keys (e.g. Ctrl) are held, in order to be able to select entries
2015-04-09 08:01:10 +00:00
Hadi Nategh
58ea1e3773
Do not trigger expose view if one of the operator keys (e.g. Ctrl) are held, in order to be able to select entries
2015-04-09 07:59:55 +00:00
Nathan Gray
455e067555
Remove all actions before setting to prevent conflicts between old and new actions with the same id
2015-04-08 22:45:07 +00:00
Nathan Gray
f926605ea7
Remove all actions before setting to prevent conflicts between old and new actions with the same id
2015-04-08 22:41:44 +00:00
Nathan Gray
f6d8617b51
Fix error in historylog caused by trying to load a template widget for infolog status 'template'
2015-04-08 20:58:15 +00:00
Nathan Gray
894714c3f5
Fix error in historylog caused by trying to load a template widget for infolog status 'template'
2015-04-08 20:49:36 +00:00
Hadi Nategh
cf657413c7
Fix touch on filemanager heirarchical folder open arrow does not open the sub folder, using touch devices
2015-04-07 16:01:55 +00:00
Hadi Nategh
19f55e73d8
Fix touch on filemanager heirarchical folder open arrow does not open the sub folder, using touch devices
2015-04-07 16:01:34 +00:00
Ralf Becker
97d57fb2a0
Merging r51397ff from Trunk: 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-04-07 09:21:05 +00:00
Ralf Becker
fd435043ad
fixed not shown readonly value for numerical values
2015-04-03 14:20:19 +00:00
Ralf Becker
6390696ee6
fixed not shown readonly value for numerical values
2015-04-03 14:19:34 +00:00
Ralf Becker
4eea57c8a8
* All apps: fix unable to remove last value from multiselect
2015-04-03 12:47:29 +00:00
Ralf Becker
d82f65e95e
reverting r52412, as it breaks not validating not send values, sending empty array for nothing selected in selectbox instead of (not submitted) null value
2015-04-03 12:43:26 +00:00
Nathan Gray
fdc1afc303
Add support for multi-part history values into historylog
2015-04-02 15:44:07 +00:00
Nathan Gray
9cebe6a8fb
Fix unable to remove last value from multiselect
2015-04-02 15:41:05 +00:00
Nathan Gray
cb97259a3b
Handle bad rounding / floating point math fun
2015-04-02 14:58:50 +00:00
Nathan Gray
17885d27af
Handle bad rounding / floating point math fun
2015-04-02 14:57:16 +00:00
Hadi Nategh
282534a8b9
* All app/links: features and fixes
...
- Feature: Open supported media links in all applications, e.g. images,videos, etc. in expose view
- Add save option to expose view
- Fix styling of expose controls buttons (for better experience in mobile theme)
- Fix tooltip of expose controls buttons
2015-04-02 08:58:33 +00:00
Hadi Nategh
ed092a5887
Trigger expose view by clicking on link-list's links
2015-04-02 08:37:13 +00:00
Nathan Gray
c1c8f22b8f
Add button type to et2_dropdown_buttons to stop default browser behaviour.
...
Fixes filters get cleared when pressing enter in entryfilter
2015-04-01 23:06:37 +00:00
Nathan Gray
5edd9b902a
Add button type to et2_dropdown_buttons to stop default browser behaviour.
...
Fixes filters get cleared when pressing enter in entryfilter
2015-04-01 23:04:45 +00:00
Nathan Gray
db74398622
Adapt detection for missing 'All' category option to array of options style
2015-04-01 20:17:53 +00:00
Nathan Gray
bd51cb4a08
Add support for multi-part history values into historylog
2015-04-01 19:35:35 +00:00
Nathan Gray
1deb3d4f34
Selectbox options kept on the client side
...
Static options copied to the client side in the JS code where possible, and requested from the server once via AJAX when needed.
2015-04-01 17:11:21 +00:00
Hadi Nategh
5c944330c5
Expose link widget WIP:
...
- Implement expose view for link-string widget
- Adapt link-string widget, and other widgets which are using expose to download_href link
2015-04-01 16:51:18 +00:00
Hadi Nategh
3987e3f033
Expose view few changes:
...
- Implement download button and locate it in expose view
- Style control icons better
- Give control icons tooltip
2015-04-01 15:43:14 +00:00
Hadi Nategh
3b0e72d98a
* Infolog/list: Fix favorits are not working with details/no detail filter
2015-04-01 12:38:05 +00:00
Hadi Nategh
02e525b95f
* All apps/customfields:
...
Fix customfields options with multiple negated fields and single custom field
Specify css class on customfield's row with named as field's id, in order to be able to customize its style
2015-04-01 12:29:20 +00:00
Ralf Becker
78e41aa1a1
move "Save as" phrase to common and merge-cli run
2015-04-01 08:01:30 +00:00
Ralf Becker
b086604711
move "Save as" phrase to common and merge-cli run
2015-04-01 08:00:07 +00:00
Nathan Gray
1f88ddf303
Fix single-field customfields widgets not setting value properly
2015-03-31 19:48:46 +00:00
Ralf Becker
38f4980849
* Mail: setting default font-face and -size reliable and remove space in front of cursor
2015-03-31 17:04:10 +00:00
Ralf Becker
9fc67020cc
* Mail: setting default font-face and -size reliable and remove space in front of cursor
2015-03-31 17:01:25 +00:00
Nathan Gray
3125dcba42
- Fix infinite loop in onchange trigger on selectboxes under some cases
2015-03-31 16:29:15 +00:00
Nathan Gray
6671f4090a
- Fix missing onchange trigger on selectboxes
...
- Avoid loops caused by onchange trigger when applying filters
2015-03-31 16:23:41 +00:00
Nathan Gray
4c1424db9b
Improvements for linking mail:
...
- Let filemanager encode name so we can keep more characters
- Remove doubled mime removal, which sometimes damaged title
- Fix file information action
2015-03-31 14:30:55 +00:00
Hadi Nategh
df1208fd4a
Fix regular expression in expose view
...
- Exclude tif and xcf images from expose view
- Define a global regexp for expose
2015-03-31 14:05:39 +00:00
Hadi Nategh
f4285fb820
Treat iceweasel browser like as firefox
2015-03-31 14:04:48 +00:00
Hadi Nategh
d6d2d27e9e
Do not show expose thumbnail for single media entry
2015-03-31 14:03:10 +00:00
Hadi Nategh
3be8c38c0d
Fix click handler on links does not stop propagation, causes unwanted click event
2015-03-31 14:02:24 +00:00
Hadi Nategh
5026216842
Treat iceweasel browser like as firefox
2015-03-31 13:55:05 +00:00
Hadi Nategh
c5ddcdfcf9
Fix regular expression in expose view
...
- Exclude tif and xcf images from expose view
- Define a global regexp for expose
2015-03-31 13:39:55 +00:00
Hadi Nategh
467578d34f
Consider iceweasel browser in autocomplete_fix handling
2015-03-31 12:30:43 +00:00
Hadi Nategh
69fe18d1e0
Do not show expose thumbnail for single media entry
2015-03-31 10:31:25 +00:00
Hadi Nategh
ed2bed1b97
Fix click handler on links does not stop propagation, causes unwanted click event
2015-03-31 10:01:51 +00:00
Ralf Becker
d35ea3845d
quick fix for tracker links on title open wrong popup
2015-03-31 07:16:21 +00:00
Ralf Becker
1805c4a425
quick fix for tracker links on title open wrong popup
2015-03-31 07:15:53 +00:00
Hadi Nategh
9e8a7dab61
Define an undefined var
2015-03-30 13:41:12 +00:00
Hadi Nategh
2ef3d4f048
* Mail, Filemanager: use now same handling, pdf, text or html are opened now in popup, fixes viewing of attachments using mobile theme
2015-03-30 11:03:46 +00:00
Hadi Nategh
a06de7758b
Specify css class on customfield's row with named as field's id, in order to be able to customize its style
2015-03-30 09:50:53 +00:00
Hadi Nategh
01e339815f
Fix customfields options with multiple negated fields and single custom field
2015-03-27 16:32:51 +00:00
Hadi Nategh
ff507682eb
Replace deprecated console.timelineEnd and console.timeline with console.timeEnd and console.time
2015-03-27 10:46:56 +00:00
Hadi Nategh
c3eed99cdd
Introduce new target type called "_browser", in order to specify browser default link handling
...
- Description widget using href, the default target would be _browser
- Call filemanager egw.open with target _browser
2015-03-27 10:13:57 +00:00
Hadi Nategh
4368ccbb58
Fix some more typo in customfield widget
2015-03-26 19:07:08 +00:00
Hadi Nategh
0328abf1c4
Fix typo in customfield widget
2015-03-26 17:08:49 +00:00
Hadi Nategh
186a6b968f
Revert description widget changes from commit 52279
2015-03-26 12:42:16 +00:00
Hadi Nategh
caffcee09d
Fix eml attached files not getting opened in popup
2015-03-26 10:15:36 +00:00
Hadi Nategh
59a47e405a
Fix URL for expose media in description widget
2015-03-26 08:48:23 +00:00
Nathan Gray
310bbe6f10
Fix select options with ${row} were not always found
2015-03-25 21:54:41 +00:00
Nathan Gray
9c28235334
Fix select options with ${row} were not always found
2015-03-25 21:45:57 +00:00
Nathan Gray
ad070b221c
Fix file information action
2015-03-25 21:19:59 +00:00
Hadi Nategh
1067a771c9
Use text-overflow-ellipsis for very long infolog titles in listview to avoid collision with info_id
2015-03-25 17:57:03 +00:00
Ralf Becker
5887bc4313
* Mail, Filemanager: use now same handling, pdf, text or html are opened now in popup, fixes viewing of attachments using mobile theme
2015-03-25 17:48:24 +00:00
Hadi Nategh
6704f41dcc
Do not show thumbnail indicator for image widget expose view
2015-03-24 18:17:16 +00:00
Hadi Nategh
320816b4cb
Do not show thumbnail indicator for image widget expose view
2015-03-24 18:16:10 +00:00
Hadi Nategh
fe9f480212
Prepare description widget for mime handling
...
-Add mime_data attribute representing hash for data stored on service-side with egw_link::(get|set)_data()
-Do not show thumbnail indicator for expose view
-Bind click handler when it is neccessary to handle a link
2015-03-24 18:08:57 +00:00
Nathan Gray
d3c7e21144
After we find a match, no need to keep looking.
2015-03-24 15:23:28 +00:00
Nathan Gray
99657a094b
After we find a match, no need to keep looking.
2015-03-24 15:18:19 +00:00
Hadi Nategh
89a9ea4bb1
Some more WIP of attachment mime handling
2015-03-24 11:40:06 +00:00
Ralf Becker
6f2a7ca40c
fix sub-template of modified etemplate (WebDAV Url) wont work, as cache-buster / timestamp got added without download prefix, causing WebDAV to not find sub-template, because it treats everything but "?download" as part of URL
2015-03-24 10:52:43 +00:00
Ralf Becker
14cd9dfb34
fix sub-template of modified etemplate (WebDAV Url) wont work, as cache-buster / timestamp got added without download prefix, causing WebDAV to not find sub-template, because it treats everything but "?download" as part of URL
2015-03-24 10:52:14 +00:00
Hadi Nategh
70510ca506
Use text-overflow-ellipsis for very long infolog titles in listview to avoid collision with info_id
2015-03-23 17:00:22 +00:00
Hadi Nategh
9257177870
Give 100% width to toolbar's actionlist
2015-03-23 16:17:16 +00:00
Hadi Nategh
7c6bd961a7
Give 100% width to toolbar's actionlist
2015-03-23 16:16:33 +00:00
Hadi Nategh
cf76bf2df5
Make query callback parameters more useful (& documented) by passing the link widget instead of response
2015-03-23 13:27:25 +00:00
Ralf Becker
6f804b58e8
* All apps: nummeric custom-fields (float or new integer) sort nummeric in lists
2015-03-23 08:41:51 +00:00
Ralf Becker
8431629ed2
* All apps: nummeric custom-fields (float or new integer) sort nummeric in lists
2015-03-23 08:38:30 +00:00
Ralf Becker
cb463d1492
fix not working hbox for selectbox, they were not on one line
2015-03-20 20:31:15 +00:00
Ralf Becker
e7bdc85530
fix not working hbox for selectbox, they were not on one line
2015-03-20 20:30:33 +00:00
Ralf Becker
f275cbe52f
empty-label was not translated if set via (legacy-)options
2015-03-20 19:26:14 +00:00
Ralf Becker
dff07e68a5
empty-label was not translated if set via (legacy-)options
2015-03-20 19:25:51 +00:00
Ralf Becker
8c8e61630d
allow to submit partial content by passing a container(-widget) to etemplate2.submit()
...
- not send content is not validated and therefore not passed to server-side callback (currently only implemented for text-, select- and checkbox)
- new method et2_grid.getRow(_widget) to return a fake row container to pass it etemplate2.submit() --> implemented a real row-container for et2_grid
- new output_mode=4 for etemplate_new::exec() to force a json response, like form was submitted from client-side
--> allows to use full server-side validation for ajax like calls submitting only partial content
2015-03-20 15:39:35 +00:00
Ralf Becker
d4c0992f45
do NOT send select-options for each autorepeated row for id like "set[$row_cont[id]][value]" and fix merging of app preset options with type-specific ones to not overwrite the later
2015-03-20 15:38:40 +00:00
Ralf Becker
7fa86b19ca
do NOT send select-options for each autorepeated row for id like "set[$row_cont[id]][value]" and fix merging of app preset options with type-specific ones to not overwrite the later
2015-03-20 15:38:20 +00:00
Ralf Becker
63a7af621d
allow to submit partial content by passing a container(-widget) to etemplate2.submit()
...
- not send content is not validated and therefore not passed to server-side callback (currently only implemented for text-, select- and checkbox)
- new method et2_grid.getRow(_widget) to return a fake row container to pass it etemplate2.submit() --> implemented a real row-container for et2_grid
- new output_mode=4 for etemplate_new::exec() to force a json response, like form was submitted from client-side
--> allows to use full server-side validation for ajax like calls submitting only partial content
2015-03-20 02:12:33 +00:00
Ralf Becker
caa1f2247d
onkeypress handler for textbox and number widget
2015-03-19 21:21:29 +00:00
Ralf Becker
21aa3eb325
onkeypress handler for textbox and number widget
2015-03-19 21:21:03 +00:00
Ralf Becker
aa930e75d6
fix javascript error stalling eT2 rendering, if option label is null eg. because it could not be json encoded because of non-utf8 chars in it
2015-03-19 10:54:49 +00:00
Ralf Becker
66ecee59a5
fix javascript error stalling eT2 rendering, if option label is null eg. because it could not be json encoded because of non-utf8 chars in it
2015-03-19 10:54:29 +00:00
Ralf Becker
35f6de7f2a
fix warning
2015-03-19 10:52:34 +00:00
Ralf Becker
12c308cd71
backport of several eT2 fixes from work on ranking / result-service app:
...
r52153: implement part attribute with values "header" and "footer" to put rows in thead or tfoot instead of tbody of table
r52163: stop etemplate_widget_template::instance from returning a stdClass object for a not found template after content-expanding, leading to a fatal error in etemplate_widget line 338
r52175: there should be no validation for disabled widgets
r52176: $cont is NOT root but current name-space in old eTemplate, leaving now identical $_cont for now
r52194: fixed eT2 data returned from client for case where name-space contains more then one component eg. "nm[rows]"
r52195: fixed not run validation on server-side for templates included via template tag
r52196: implement formatting of numbers in read-only widget
2015-03-18 22:16:15 +00:00
Ralf Becker
fac9f796a8
implement formatting of numbers in read-only widget
2015-03-18 22:04:47 +00:00
Ralf Becker
d40f41950b
fixed not run validation on server-side for templates included via template tag
2015-03-18 21:31:16 +00:00
Ralf Becker
7269552342
fixed eT2 data returned from client for case where name-space contains more then one component eg. "nm[rows]"
2015-03-18 21:30:22 +00:00
Nathan Gray
0db176f0b2
No need to strip out mime again, it's already removed by egw_link
2015-03-18 17:28:49 +00:00
Hadi Nategh
1108e0b30d
Focus on the first input field only if the field is empty for mobile theme
2015-03-18 16:56:39 +00:00