Commit Graph

45 Commits

Author SHA1 Message Date
Ralf Becker
d2c85cfe86 fix PHP 8.0 errors: key(): Argument #1 ($array) must be of type array, null given
guarding key() from calling with null eg. $button = key($content['button']) --> key($content['button'] ?? []) or check before !empty($content['button'])
2021-10-06 16:08:32 +02:00
Ralf Becker
ffc048d472 fix PHP 8.0 Fatal error unknown function get_magic_quotes_gpc 2021-03-21 18:27:09 +01:00
nathangray
d805e9f467 Stop using deprecated each(), using foreach(), key() or current() instead 2019-02-12 14:13:45 -07:00
Hadi Nategh
c5c09c4f9f Deprecate CKEDITOR and remove it from source 2019-01-25 12:41:13 +01:00
Hadi Nategh
b00b37efa8 W.I.P. implementing TinyMCE editor and deprecating CKEditor:
- Fix image upload via old file_selector for etemplate apps
2018-10-25 15:31:41 +02:00
Hadi Nategh
227a5b28da Add deprecated tag to filemanager_select class 2017-12-01 11:21:29 +01:00
Hadi Nategh
a93722959b Use filemanager_select for old etemplate apps 2017-12-01 11:05:32 +01:00
Hadi Nategh
448cc8975f W.I.P of VFS Select widget restructure 2017-10-11 18:27:42 +02:00
nathangray
a10d4a2931 Replace deprecated $response->script() call with $response->apply(), fixes file select window not closing in FF when opened through wiki 2017-02-13 08:53:29 -07:00
Ralf Becker
25a7046983 * Filemanager/CKEditor: correctly encoding selected files, causing eg. images to not show 2016-07-05 09:16:09 +02:00
Ralf Becker
1587c977b8 use new api in filemanager 2016-05-05 07:20:07 +00:00
Ralf Becker
429177686a make home a regular application, which can eg. disabled, incl. moving all services using "home" as appname to "api" and moved some other forgotten stuff from phpgwapi&etemplate to api 2016-05-01 09:57:48 +00:00
Hadi Nategh
cb2830979c Tag favorites in select-files as "is_dir" because client-side expects it to be directory 2015-10-16 13:35:08 +00:00
Nathan Gray
97efc7808c Let filemanager/vfs handle escaping characters instead of just stripping them out 2015-03-18 16:20:11 +00:00
Hadi Nategh
a87e9840fe Fix another popup window.close 2014-12-12 15:16:59 +00:00
Ralf Becker
36eca32a77 remove inline script 2014-06-04 12:08:57 +00:00
Nathan Gray
4466776e70 Add a is_dir flag to select dialog files info instead of relying on mime.
Makes it possible to navigate into and inside /apps
2014-06-03 20:29:26 +00:00
Nathan Gray
fca003d78d File select dialog
- Fix create folder
- Fix can't change directory by editing path
2014-05-26 17:11:22 +00:00
Ralf Becker
3f5f0ed81b no need to switch on CSP policy unsafe-inline, unless we use method=ckeditor_return, as we are ported to eT2 2014-05-14 08:15:42 +00:00
Nathan Gray
a70e12f3d3 Display favorites as folders in file select dialog 2014-02-20 17:47:38 +00:00
Ralf Becker
4ba2a0ba58 fixed javascript error in file select dialog (notable under FireFox) caused by calling event.preventDefault() without the event 2014-02-10 18:37:51 +00:00
Klaus Leithoff
a8b65a0932 adapt filemanager_select select popup to csp_script_src_attrs; fix select for CKEditor 4.3, falsely regarding the ckeditor induced filemanager_select.select as JSONResponse 2013-11-28 12:02:04 +00:00
Nathan Gray
8c94a4fd19 File select fixes:
- some layout issues
- selecting a single file
- missing mime options
- file uploads
2013-10-04 09:28:10 +00:00
Nathan Gray
04ce0638a9 Fix clicking on file name toggles checkbox 2013-10-01 16:27:50 +00:00
Nathan Gray
a8136aa191 Give filemanager selection a widget front-end. 2013-10-01 15:40:14 +00:00
Ralf Becker
7bb16b4823 * Filemanager: ability to create a directory in open or save-as dialog 2012-10-31 18:20:34 +00:00
Ralf Becker
343ffd9149 get filemanager select click on subdirs working again in old eTemplate 2012-10-31 18:00:28 +00:00
Nathan Gray
587e3c8862 Adapt file select popup to work with et2 2012-07-02 22:57:02 +00:00
Klaus Leithoff
06ae9da6e1 remove unwanted apps from app list (home-account, addressbook-mail) from the browse dialog of files 2012-01-06 10:21:27 +00:00
Ralf Becker
b4d761b571 * Filemanager popup: fixed sometimes missing first directory, eg. in favorites
caused by removing the first entry, which is not garantied to be the directory itself, as we sort by name
2011-08-04 15:44:52 +00:00
Andreas Stöckel
4b93e5c0c5 Accidently set the thumbnail size to 16 in every vfs-mime widget. Added new option to the vfs-mime widget which allows you to set the thumbnail size. 2010-12-31 14:31:50 +00:00
Ralf Becker
70278c14b6 * new preference to disable "Your home directory" or "Users and groups" in sidebox menu
plus missing translations
2010-11-30 14:29:06 +00:00
Ralf Becker
65813764ed * sorting fileselection popup always by directory on top and then name 2010-11-09 12:59:27 +00:00
Ralf Becker
a709044415 only use egw::link on egw_vfs::download_url, if it is still a path (relative to EGroupware install dir), allowing filesystem streamwrapper to return a complete direct url 2010-09-07 11:57:31 +00:00
Ralf Becker
818f57ebcf - fixed handling of failed uploads, eg. > max_upload_size
- fixed encoding of special chars in uploaded file names
2010-05-27 13:30:40 +00:00
Andreas Stöckel
4e8acf09a6 Fixed bug with the upload field not being shown 2010-05-26 09:30:55 +00:00
Andreas Stöckel
7f32f80230 Added support for the new CKEditor 3.2.1 2010-05-25 07:50:59 +00:00
Ralf Becker
ffc36027ba "remove checkbox from empty line" 2010-05-19 12:25:33 +00:00
Ralf Becker
5b2da78e32 "ignore hidden files" 2009-05-11 20:58:53 +00:00
Ralf Becker
ff50938aa7 "special handling for favorites" 2009-05-11 20:43:18 +00:00
Ralf Becker
24bbec6df1 Adding a scrollbar to path in file select dialog, if it gets too long. 2009-05-03 20:45:34 +00:00
Ralf Becker
f0896ccd09 saving attachments to vfs 2009-04-17 08:22:31 +00:00
Ralf Becker
25d1f106ab shortcuts to application directories 2009-04-17 07:37:12 +00:00
Ralf Becker
3c18478f86 - more docu for file selection dialog
- added mime type filter
- added more user friendly mime type names:
  application/pdf --> PDF file (application/pdf)
2009-04-17 06:28:19 +00:00
Ralf Becker
a50e1cc2ec allow to attach (multiple) files from filemanager in fmail compose 2009-04-15 21:11:57 +00:00