Commit Graph

5453 Commits

Author SHA1 Message Date
Hadi Nategh
ad34d20080 IDE warning cleanup 2015-05-05 09:01:01 +00:00
Hadi Nategh
08729a9df8 Do not return null for return_array function as expected to return always an array 2015-05-04 10:40:50 +00:00
Ralf Becker
e5b89deea4 fix PHP Fatal error "Class APCIterator not found" during installation, caused by for apc.enable_cli=0, but APC(u) installed 2015-04-29 13:38:03 +00:00
Ralf Becker
5e40c8748d fix IDE warnings 2015-04-27 08:31:49 +00:00
Ralf Becker
e3f6fe6104 only use tree-wide load_via array, but do some sanity checks before using it (need to contain all stock keys), to fix not loaded (common) translations, cleaning up some IDE warnings 2015-04-26 11:00:01 +00:00
Ralf Becker
02161a851e * PostgreSQL: fix SQL error viewing history of an entry containing attachments 2015-04-25 10:08:12 +00:00
Ralf Becker
4b4c5e8a84 * PostgreSQL/Addressbook: fixed not working creating of new distribution lists
caused by egw_db::insert() using 0 or NULL in value of $where of primary key when trying to create the list, MySQL ignories these
2015-04-24 13:50:33 +00:00
Ralf Becker
9059132c34 fixed default SMTP account was not returned during setup and deprecated old send class in favor of using egw_mailer direct 2015-04-24 10:01:22 +00:00
Ralf Becker
0b1da4118e * Notifications: skip email notification if we have no valid SMTP profile (eg. because there are only personal accounts and we run via cron) 2015-04-24 08:24:12 +00:00
Ralf Becker
6d3dd5889a fix sharing CSS for Stylite template 2015-04-23 21:16:20 +00:00
Ralf Becker
c823f64c4b fix not working download url for share on a subdirectory of a mounted filesystem with given download url 2015-04-23 19:40:55 +00:00
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