Commit Graph

5492 Commits

Author SHA1 Message Date
Ralf Becker
c57bd20379 * API: caching uses by default APC(u) if available AND apc.shm_size * apc.shm_segments >= 64M, it no longer complains in cron/cli if APC is not enabled (as it should and is by default) 2015-04-23 09:20:17 +00:00
Ralf Becker
9cd7906852 removed not working cast of Horde_Mail_Rfc822_List to array 2015-04-22 14:26:20 +00:00
Klaus Leithoff
abd6800a89 dont try to send if there is no smtpAccount 2015-04-21 14:23:59 +00:00
Klaus Leithoff
3a3fea946b replacement for broken (and now deprecated) send->msg; 2015-04-21 12:50:41 +00:00
Ralf Becker
495d6d3599 prefer igbinary serialzation, if available of PHP serialization 2015-04-19 08:09:17 +00:00
Ralf Becker
7d54d5b21c fix meeting invitations to not set "Content-Disposition: attachment" for ical alternative 2015-04-17 09:19:42 +00:00
Nathan Gray
dea520f901 Pass mimetype along too as VFS widget and egw_link seem to expect them 2015-04-16 16:20:38 +00:00
Hadi Nategh
1c6242741b Fix temp_link_id to respect egw_data 2015-04-16 08:23:52 +00:00
Ralf Becker
ed1c1daf4a using serialize to create hash to not fall short if some non-utf-8 or non-json-decodable data is in parameters 2015-04-16 07:04:49 +00:00
Ralf Becker
08609c1e0b always return resource seeked to its start 2015-04-14 17:05:38 +00:00
Ralf Becker
0223553284 allow to specify "egw_data" => egw_link::set_data() instead of "tmp_name" of uploaded file to create attachments with egw_link::link() 2015-04-14 15:04:21 +00:00
Ralf Becker
264899f0db * ActiveDirectory: primary group was not used when filtering accounts by a group, causing eg. no accounts to be found for "Domain Users" group in Admin or other apps 2015-04-09 09:45:12 +00:00
Ralf Becker
bf187f131f check if APC(u) is enabled and not only if extension is available 2015-04-03 17:56:35 +00:00
Hadi Nategh
788cd3e078 Fix REQUEST_URI if there is ?download in url 2015-04-02 11:26:35 +00:00
Ralf Becker
0127e6d07c fix not working customized etemplates after fix with content-disposition attachment, we now only set it for urls ending with "?download", not for "?download=something" 2015-04-02 10:46:53 +00:00
Ralf Becker
21a48297bb * Admin/ActiveDirectory: filtering user-list by groups was not implemented 2015-04-02 08:51:36 +00:00
Ralf Becker
a14c880102 * LDAP/Admin: empty groups showed all users, if selected in accounts-list 2015-04-02 08:49:49 +00:00
Ralf Becker
cca60fa93f ?download in WebDAV url did not trigger content-dispostion attachment header 2015-04-02 07:19:37 +00:00
Nathan Gray
bd51cb4a08 Add support for multi-part history values into historylog 2015-04-01 19:35:35 +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
5026216842 Treat iceweasel browser like as firefox 2015-03-31 13:55:05 +00:00
Ralf Becker
92ee011a45 * Calendar: meeting requests were not recogniced by other clients as such because of lost method parameter 2015-03-31 09:49:31 +00:00
Ralf Becker
b30f051f04 remove popup for pdfs on all mobile devices 2015-03-30 15:54:41 +00:00
Hadi Nategh
21f2fe9b0e Fix mime_open handler for old etemplate 2015-03-30 14:44:20 +00:00
Hadi Nategh
c22094d808 No need to have regexp mime for the rest of the mime type text, as the default mime_target is _browser 2015-03-30 10:37:09 +00:00
Hadi Nategh
41af200dc6 Let browser handles mime types/text which are not suppose to be popup 2015-03-30 09:57:34 +00:00
Ralf Becker
3e47f37983 quote order column in backup and always quote "index" as it seems to be one of very little names not automatic recogniced in MySQL 2015-03-30 08:28:52 +00:00
Ralf Becker
31b4209346 fix user-agent detection to correctly detect "Mozilla/5.0 (Linux; Android 4.3; LT30p Build/9.2.A.1.205) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.117 Mobile Safari/537.36" as Chrome 2015-03-30 08:26:31 +00:00
Ralf Becker
55082bcc68 * LDAP: fixed not working creation of new groups (with empty describtion) 2015-03-29 16:10:02 +00:00
Ralf Becker
86d0b31b3b * ActiveDirectory: real password change (not reset) for PHP 5.4>=5.4.26, 5.5>=5.5.10, 5.6+ (subject to minimum password age policy!) 2015-03-29 15:22:43 +00:00
Ralf Becker
0e6c4cdde6 * LDAP/AD/UCS/Filemanager: new created groups home-directory was not displayed in filemanager 2015-03-27 10:48:18 +00:00
Ralf Becker
2c50d99de0 docu fix, default is here ASC to, as it is SQL default 2015-03-27 08:12:19 +00:00
Ralf Becker
57d06008fa * LDAP: setting default sorting to ascending, as in SQL backend 2015-03-27 08:09:29 +00:00
Nathan Gray
5c135604d2 Implement searching in group email addresses 2015-03-25 20:33:35 +00:00
Nathan Gray
7cf73e6967 Sort countries by locale, according to user's language and country settings, using already existing method to determine locale 2015-03-25 18:49:16 +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
Nathan Gray
21fca0b702 Sort countries by locale, according to user's language and country settings 2015-03-24 16:05:02 +00:00
Ralf Becker
ffceb37973 WIP attachment handling via mime-registry 2015-03-24 09:43:38 +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
Hadi Nategh
58ddac77e9 Fix password change dialog does not open in safari 2015-03-16 17:43:42 +00:00
Ralf Becker
386ee978f3 need to query all apps for CSP frame-sources, as they need to be set on top-level window/document 2015-03-13 12:51:36 +00:00
Nathan Gray
6e98e917b6 Another attempt at properly caching image map without blowing up the cache. 2015-03-11 22:19:43 +00:00
Ralf Becker
60f1ca4033 fixed account-selection-type "primary_group" to only show membership-groups by default 2015-03-10 15:40:27 +00:00
Nathan Gray
a9af75f416 Only cache if there user has access to the image dir 2015-03-09 19:50:09 +00:00
Ralf Becker
7954f1c2ca fix PHP Fatal error: Call to undefined method egw_customfields::get_customfields() 2015-03-09 16:04:55 +00:00
Ralf Becker
e785f4ba29 login param to egw_session::create needs domain appended, otherwise session verify will fail because of changed domain and anon user gets logged out 2015-03-03 21:28:05 +00:00
Ralf Becker
157cfd84f8 fixed a couple more issues with session reusage when using sharing urls:
- to resolve sharing-path to url, we need to restore full mount-tab
- egw_vfs::clearstatcache() was not clearing resolve_url cache, causing previous share to be used
- need to set egw_info[user][vfs_user] after egw_session::create, as it overwrites it
2015-03-02 21:09:08 +00:00
Ralf Becker
9c569a8c1e * Sharing: fixed not accessible share, if user already logged into same EGroupware instance, also fixed WebDAV problems using a share URL 2015-02-28 22:08:23 +00:00
Nathan Gray
131b19fc32 Fix for custom icons going missing by only caching for the session if no access to VFS 2015-02-23 17:24:09 +00:00
Ralf Becker
9cc1d409eb harden login page by no longer using www.groupware.org to load social media icons 2015-02-21 13:29:10 +00:00
Ralf Becker
63cfd63c67 add group description for accounts in sql too 2015-02-18 17:37:07 +00:00
Ralf Becker
c4da9ba8d9 remove permanent error_log 2015-02-18 13:45:53 +00:00
Ralf Becker
426f9e0f84 * Admin: add a description to stock groups Admins, Default and NoGroup, allow to edit that description for LDAP and ADS 2015-02-18 11:40:26 +00:00
Ralf Becker
5bb6635822 harden ldap auth, by removing \000 bytes, causing passwords to be not empty by php, but empty to c libaries 2015-02-17 22:25:48 +00:00
Ralf Becker
2a5971258b * PostgreSQL: fixed not working new installation
due to access to egw_mailaccounts table prior to creating it: gets now checked, to not abort transaction
2015-02-17 10:52:50 +00:00
Ralf Becker
5af58140f2 fix PHP Fatal error: Call to undefined function is_stream() stalling WebDAV 2015-02-15 00:12:47 +00:00
Ralf Becker
36bc17a442 move code for html or javascript content-type headers from webdav to html class and use it for attachments too 2015-02-14 19:32:21 +00:00
Ralf Becker
50e44741a2 * Univention: mail app was not working for in UCS created users
because of not set "mail" attribute, UCS only set "mailPrimaryAddress", changed our code to also use just that attribute
2015-02-14 12:55:05 +00:00
Ralf Becker
7ac233704b change url of translation status to community.egroupware.org 2015-02-13 19:29:50 +00:00
Ralf Becker
40f3961901 disable execution-time-limit, as on slow boxes configured value might be not enough 2015-02-13 16:16:16 +00:00
Ralf Becker
17f83d89c7 add modification time of files to thumbnail url to allow longer caching, also set_time_limit(0) for pdf thumbnails, as they might take > 90s 2015-02-13 08:27:08 +00:00
Ralf Becker
dd1a2cc801 fixed share links were reused, event if attributes were different (password, expires, writable) 2015-02-11 21:51:59 +00:00
Klaus Leithoff
92767dff1d skip activesync debug.txt on filebackup (, if activated) 2015-02-06 14:33:33 +00:00
Klaus Leithoff
dda90141eb fix for _bcc ending up in Return-Path Header on SaveAsDraft 2015-02-03 14:10:17 +00:00
Ralf Becker
8577b7e1fe fix "PHP Notice: Use of undefined constant EGW_SERVER_ROOT", caused eg. by calendar/gradient.php 2015-02-03 13:17:32 +00:00
Ralf Becker
5ac3f95a91 * all apps: updated jQuery and jQuery-ui to version 1.11.2 fixing eg. some UI glitches in FireFox
- rename window.$ window.$j at the very end of jquery.js
- download custom jquery-ui containing everything, but with selected redmond theme
- removed not used smoothnes theme and removed version from redmond/jquery-ui.css
2015-02-03 09:26:34 +00:00
Ralf Becker
46d58e8e43 fix egw_db::name_quote() to deal correctly with expressions like "table.column", to fix reported SQL error in projectmanager 2015-02-02 20:13:19 +00:00
Ralf Becker
baae7ff596 * Backup: backing up bool columns now for all databases as 1 or 0, but understanding PostgreSQL "t" or "f" too 2015-01-30 12:48:13 +00:00
Ralf Becker
bec89939c7 fix not working clearing of cache for files backend 2015-01-29 13:55:40 +00:00
Ralf Becker
9c35bfa3f3 updated todo and docu 2015-01-29 13:54:34 +00:00
Ralf Becker
3f0d279704 move autoloader on top of file, as it is no longer a function (__autoload) and therefore it need to be executed before all other code to be available, eg. for html::purify() in _check_script_tag() 2015-01-27 08:55:11 +00:00
Ralf Becker
69366f13d1 * Mail: fix not working BCC addresses 2015-01-27 07:55:11 +00:00
Nathan Gray
fdff696a0c Enhance error log with name of problem favorite. 2015-01-26 17:48:06 +00:00
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
605774dd56 using recommended lowercase protocol "mailto:" in CalDAV:calendar-user-address-set 2015-01-23 09:39:34 +00:00
Ralf Becker
64c52e385a always start with tile-view 2015-01-21 19:45:46 +00:00
Ralf Becker
e2aa6dce73 * Filemanager: enhance sharing to keep session of already logged in user, when he clicks on a share 2015-01-20 22:11:35 +00:00
Ralf Becker
b6a83398a4 allow perl regular expression as mime-type filter 2015-01-19 16:09:16 +00:00
Ralf Becker
3c4cb54f34 * Setup: allow to use Composer (https://getcomposer.org/) to manager requirements (instead of PEAR) 2015-01-18 12:05:09 +00:00
Ralf Becker
0c4b46ba04 * WebDAV: fixed not working range requests causing eg. direct playing of video files to fail 2015-01-17 17:29:12 +00:00
Ralf Becker
e26cda55f8 fixed preferences wrong comparison causing unchanged preferences were search for changes, and fixed IDE warnings 2015-01-15 20:12:42 +00:00
Ralf Becker
89fd9e35cf * Backup: fixed broken backup of tables without an auto index 2015-01-15 16:34:27 +00:00
Ralf Becker
4476126986 limit height of mime icon in list-view to 16px, with exception of thumbnails using their configured height 2015-01-12 12:24:23 +00:00
Ralf Becker
9eeabcf953 PHP Fatal error: Access to undeclared static property: egw_vfs::$mime_alias_map 2015-01-12 07:17:31 +00:00
Ralf Becker
4a12f12683 using new mime icons for tile view in 64x64 2015-01-11 18:06:13 +00:00
Ralf Becker
4e432f8623 resynced mime-types from current Horde_Mime package 2015-01-11 13:07:35 +00:00
Ralf Becker
50d87c2963 fixed not working seek in stream-wrapper, caused by sw interface uses true/false while fseek uses 0/-1 2015-01-10 13:04:51 +00:00
Ralf Becker
7346a37998 cleaning up old addressbook stuff 2015-01-10 09:51:51 +00:00
Ralf Becker
85bcd0200d modernized login- and start-message editing a bit 2015-01-09 18:58:23 +00:00
Ralf Becker
13af54802f * Mail: fix for Horde_Imap_Client-2.26.0 requiring Horde_Mail-2.5.1 requring Horde_Idna-1.0.1 which stalls our autoloader by calling spl_autoload_register 2015-01-09 10:46:38 +00:00
Ralf Becker
94d91f3ac8 allow to unset a preference by calling egw.set_preference(app,name) 2015-01-08 13:13:02 +00:00
Ralf Becker
d0e2886f98 fix fatal error for Horde_Mime < 2.5.0 2014-12-19 17:58:44 +00:00
Ralf Becker
7a40d7a71f re-add logging again to egw_mailer 2014-12-19 17:37:46 +00:00
Ralf Becker
cf83860864 * all apps: suppressing private (or removed) custom-fields from history log 2014-12-17 12:00:36 +00:00
Ralf Becker
5d3370fe66 we need to clear stat-cache again, after restoring original user, as eg. eACL is stored in session 2014-12-15 16:59:00 +00:00
Ralf Becker
b98972582c check if allow_url_fopen = On 2014-12-15 14:29:56 +00:00
Ralf Becker
9df9b9b533 fix some PHP 5.6 Deprecated and IDE warnings 2014-12-15 09:08:12 +00:00
Ralf Becker
ef90797b7e send a content-disposition header for shared files, so browser knows how to name downloaded file 2014-12-14 12:33:42 +00:00
Ralf Becker
46be95a854 makeing egw_json_response::json_encode explicitly static to avoid deprecated warning 2014-12-14 12:12:55 +00:00
Ralf Becker
e7f4bb0848 move defining of (deprecated) SEP constant to common functions, as there are cases where it gets used before defined 2014-12-13 09:53:18 +00:00
Ralf Becker
6eedc38a42 * Filemanager: fixed directory creation in vfs root (you need root permisstions of cause) 2014-12-12 15:06:29 +00:00
Klaus Leithoff
3767ca51e7 adding 3 more skins; add kama/skin.js as IE seems to require it to be present 2014-12-12 13:51:42 +00:00
Ralf Becker
079e7d81eb statcache need to be updated on chmod, chown or chgrp 2014-12-12 13:45:43 +00:00
Ralf Becker
2ad6957c73 fixed fatal error caused by HTTP_WebDAV_Server moved 2014-12-11 15:53:52 +00:00
Ralf Becker
8497d0cfd5 removing egw-pear 2014-12-11 10:48:16 +00:00
Ralf Becker
82a42f2644 moving HTTP_WebDAV_Server as last remaining egw-pear package to API dir, as its new BSD license is GPL compatible, in order to remove egw-pear all together for 14.2 2014-12-11 10:35:38 +00:00
Ralf Becker
f0b2131cfd fix IDE warnings 2014-12-11 08:10:41 +00:00
Ralf Becker
79925c1c13 fix exception: nothing known about column "table.column", if "column" alone would work 2014-12-10 15:04:03 +00:00
Ralf Becker
0c9cc9bdbd using php version depending default_charset or mbstring.internal_encoding 2014-12-09 16:46:37 +00:00
Ralf Becker
ef84797019 switching jdots bundle off, as fw_pixelegg will cause whole jdots bundle incl. fw_jdots to include 2014-12-09 16:39:42 +00:00
Ralf Becker
7a4fb44240 also unlink temp. files, when deleting shares of type "Download link" 2014-12-09 12:46:38 +00:00
Ralf Becker
efc14ee2dc fixed session creation for Pixelegg or Stylite template and added extra css for a simplified sharing GUI 2014-12-09 12:08:00 +00:00
Ralf Becker
2c71852545 fix for php 5.6+ deprecating mbstring.internal_encoding in favor or default_charset 2014-12-08 19:16:44 +00:00
Ralf Becker
4467003d10 need to use egw_vfs::is_readable() to correctly check for posix rights, as PHPs is_readable only checks other rights not owner or group 2014-12-08 12:51:33 +00:00
Ralf Becker
d935c15f6d periodic / monthly cleanup of temp. files from sharing 2014-12-05 20:18:51 +00:00
Ralf Becker
6955afccc8 changed token-size to 32 char (more then plenty), only use tokens containing no special url chars (/#), and do not copy files to tmp-dir in vfs, if identical files already there to use 2014-12-05 11:27:22 +00:00
Ralf Becker
12bd2736fe fix not working fopen mode "x" 2014-12-05 11:21:45 +00:00
Ralf Becker
d14605b91a use egw_digest_auth::decode_password to fix password containing non-ascii chars 2014-12-04 16:39:42 +00:00
Ralf Becker
1624457a91 * CardDAV/Addressbook: fixed OS X addressbook overwrites account with lowest id when creating a new contact 2014-12-04 15:01:16 +00:00
Ralf Becker
3f50472828 added password check to shares 2014-12-04 11:25:56 +00:00
Ralf Becker
75688e8cb8 allow to share files and directories from filemanager via mail app 2014-12-03 16:25:10 +00:00
Nathan Gray
da610b8e9a Support autoload of classes for applications with underscore in their name 2014-12-02 22:31:07 +00:00
Ralf Becker
fafb923d5d fix for lost session whenever one switches apps in iOS installed as web-app 2014-12-02 12:57:06 +00:00
Ralf Becker
63a6ac9a6d first version of linked attachments 2014-12-01 20:14:18 +00:00
Ralf Becker
e6cf7c95d3 automatic select mobile theme for mobile user agents 2014-12-01 08:43:07 +00:00
Ralf Becker
86c3974d09 get inline images in mail working again 2014-11-27 12:29:16 +00:00
Ralf Becker
94c5194ab0 get document merge working again with new egw_mailer 2014-11-27 09:10:43 +00:00
Ralf Becker
be6393e91b adding cache-busters to LABjs and egw.js 2014-11-27 08:51:31 +00:00
Ralf Becker
f71bfe32e0 adding trace to error_log tracking access to old PHPMailer properties 2014-11-26 16:01:41 +00:00
Ralf Becker
2e5fcbda4e fixing the fix, we dont want whole mails in memory 2014-11-26 15:05:59 +00:00
Ralf Becker
dd89cf84f7 parseFileIntoMailObject and parseRawMessageIntoMailObject using new egw_mailer 2014-11-26 14:08:52 +00:00
Klaus Leithoff
6502901629 restore activesync stuff after introduction of horde-smtp-mailer 2014-11-26 13:05:10 +00:00
Klaus Leithoff
baa7cbe38e fix typo 2014-11-25 16:14:33 +00:00
Ralf Becker
5bbfcc41f2 allow to clall getHeader before __construct (happens in old send class) 2014-11-25 16:06:49 +00:00
Ralf Becker
51c4e0e580 get notifications working again with new egw_mailer 2014-11-25 14:22:16 +00:00
Ralf Becker
2a0889bcf6 set sender/return-path and from, if empty in identity, setting send/return-path from account, prefering smtp user-name and from from identity 2014-11-25 11:32:25 +00:00
Ralf Becker
53d487c094 empty, deprecated SetMessageType, CreateHeader, CreateBody PHPMailer compatibility methods 2014-11-25 09:27:42 +00:00
Ralf Becker
4b999cc43a removing PHPMailer require, no more empty Bcc, and first version for send class using new egw_mailer 2014-11-25 09:06:46 +00:00
Ralf Becker
3e559d2fda replacing PHPMailer with Horde_Mime_Mail and Horde_Mail_Transport_Smtphorde to overcome memory limit when sending mails 2014-11-24 23:38:37 +00:00
Ralf Becker
1d668d5a10 enhance server-side mobile browser detection (windows phone, blackberry, kindle, ...) and fix IDE warnings 2014-11-21 09:31:39 +00:00
Ralf Becker
c9f45a82ff fix formatting for timestamp and quiten error_log 2014-11-19 12:30:51 +00:00
Ralf Becker
c9a6753b4c missing egw_customfield changed from last commit 2014-11-19 12:23:51 +00:00
Ralf Becker
5eeac7093c use filemanager UI as UI for sharing directories 2014-11-18 12:55:32 +00:00
Klaus Leithoff
97acbbb70f rework sender/from/replyTo Information on notification 2014-11-18 10:50:35 +00:00
Ralf Becker
5aacf69ab9 hook allowing apps to add properties to *dav root 2014-11-14 10:19:20 +00:00
Ralf Becker
50ce55a93a fix regular expression 2014-11-14 09:50:56 +00:00
Ralf Becker
8707ea68b5 fix tons of IDE warnings 2014-11-14 09:29:59 +00:00
Ralf Becker
1affa826b1 implement readonly mounts and use that for sharing 2014-11-14 08:50:05 +00:00
Ralf Becker
16c27de80a fix HTTP status for failed DELETE requests to return "403 Forbidden" and fix IDE warnings 2014-11-14 08:48:47 +00:00
Ralf Becker
8787fe6774 fix IDE warnings 2014-11-14 07:46:34 +00:00