Commit Graph

5460 Commits

Author SHA1 Message Date
Ralf Becker
ec03148f1a harden ldap auth, by removing \000 bytes, causing passwords to be not empty by php, but empty to c libaries 2015-02-17 22:26:09 +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
2654dccb45 * 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:51:16 +00:00
Ralf Becker
15368b70b7 use error_log instead of echo to give constant feedback (echo uses output buffering) and set fs_content in all rows to NULL, as it is a lot quicker 2015-02-17 07:55:24 +00:00
Ralf Becker
bb76fbe8c4 seems like bindValue need to be done for each execute 2015-02-16 15:52:00 +00:00
Ralf Becker
d1bea8ca1d fix migrate_db2fs to only fetch 5 files per query, as we dont want to require enough memory to hold all file in memory 2015-02-16 15:14:07 +00:00
Ralf Becker
97d38091d8 fix PHP Fatal error: Call to undefined function is_stream() stalling WebDAV 2015-02-15 00:13:52 +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
042c8bc3cc 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:57 +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
b29610c2b9 * 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:56:28 +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
0f1b3bd03d change url of translation status to community.egroupware.org 2015-02-13 19:30:50 +00:00
Ralf Becker
7ac233704b change url of translation status to community.egroupware.org 2015-02-13 19:29:50 +00:00
Ralf Becker
ad58d4d76a disable execution-time-limit, as on slow boxes configured value might be not enough 2015-02-13 16:16:37 +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
9d68f9f8b4 fixed share links were reused, event if attributes were different (password, expires, writable) 2015-02-11 21:52:29 +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
Ralf Becker
f4d6be1106 * Filemanager/Mail: fixed not created thumbnails for readable shares 2015-02-11 11:17:55 +00:00
Klaus Leithoff
b9228c8fb5 skip activesync debug.txt on filebackup (, if activated) 2015-02-06 14:57:26 +00:00
Klaus Leithoff
92767dff1d skip activesync debug.txt on filebackup (, if activated) 2015-02-06 14:33:33 +00:00
Klaus Leithoff
af4373c307 fix for _bcc ending up in Return-Path Header on SaveAsDraft 2015-02-03 14:11:55 +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
e9bd3317a5 fix egw_db::name_quote() to deal correctly with expressions like "table.column", to fix reported SQL error in projectmanager 2015-02-03 13:18:59 +00:00
Ralf Becker
2fcacd8f5c fix "PHP Notice: Use of undefined constant EGW_SERVER_ROOT", caused eg. by calendar/gradient.php 2015-02-03 13:18:03 +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
8339b027c9 * 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:46:39 +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
26abe50b8c * 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:41 +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
8858a2a307 fix not working clearing of cache for files backend 2015-01-29 13:56:25 +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
6b9cbb197f * Mail: fix not working BCC addresses 2015-01-27 07:56:27 +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
ec5541a07b using recommended lowercase protocol "mailto:" in CalDAV:calendar-user-address-set 2015-01-23 09:40:01 +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
Ralf Becker
223455b7aa first step for new file-sharing feature 2014-11-13 17:31:36 +00:00
Ralf Becker
debe67be86 * Admin/Setup: ignoring doublicate rows from old backups 2014-11-13 11:51:49 +00:00
Ralf Becker
2926ab109d added video/mp4 mime-type and fixed IDE warnings 2014-11-11 10:48:58 +00:00
Klaus Leithoff
d5715314d9 remove quotes enclosing mailaddresses on replaceEmailAdresses when replacing style <email@adress.es> to email@adress.es addresses 2014-11-11 10:29:58 +00:00
Ralf Becker
2a4d7c382b * CalDAV: big calendars with more then 500 events in result-set were missing events 2014-11-10 14:19:43 +00:00
Ralf Becker
318ebe29a2 fix big $_GET[f] URL parameter got removed by Suhosin extension 2014-11-08 15:33:52 +00:00
Ralf Becker
cee1a48939 fix infinit recursion caused by systemtime < max modification time of files, now relying only on modification times 2014-11-07 10:33:46 +00:00
Nathan Gray
cbbb0bf39f Some WIP on getting home working again 2014-11-06 21:40:03 +00:00
Ralf Becker
afaf5a1ece fix some problem in Univention install 2014-11-06 16:54:33 +00:00
Ralf Becker
753ce75b15 using univention-directory-manager cli to create not accounts to get Kerberos stuff addded 2014-11-05 20:27:52 +00:00
Ralf Becker
fd37251ac4 setting sambaPrimaryGroupSID and univentionObject with univentionObjectType 2014-10-31 15:31:32 +00:00
Ralf Becker
99895e0dd9 only register hooks of installed apps, not all existing in filesystem, fixes fatal errors resulting from not installed apps 2014-10-31 12:23:56 +00:00
Ralf Becker
ae282257dc support for Univention LDAP schemas 2014-10-30 15:21:39 +00:00
Ralf Becker
8d52ecd059 not show apps and context-menu entries for apps not available to user, hooks->single() did not check apps for new method-hooks 2014-10-30 15:12:37 +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
Ralf Becker
bc864c4103 * Admin: if group was selected only active accounts were shown and show primary group in LDAP 2014-10-22 17:10:12 +00:00
Ralf Becker
66611329e9 fix return value of close and several IDE warning 2014-10-21 17:58:10 +00:00
Ralf Becker
af048109ee adding singular and plural name of app entries to link registry under "entry"/"entries" plus translations for apps which need them different from app-name 2014-10-21 13:51:37 +00:00
Ralf Becker
1df5500d28 * Admin/LDAP: LDAP extra attributes homedirector and loginshell were not stored (home set to /dev/null) 2014-10-21 08:58:08 +00:00
Ralf Becker
0a00a710f7 * Filemanager: fix since PHP 5.5.18 not longer working non-ascii chars in filenames, eg. German umlauts or accents 2014-10-18 12:01:10 +00:00
Ralf Becker
e2d6d75607 fix async jobs with scalar data (strings, int) got quoted over and over again 2014-10-17 13:51:28 +00:00
Ralf Becker
424b4c451c fix redirects in a popup and new egw_exception_redirect to be used in hooks/callbacks like for addressbook.edit to redirect to a different location 2014-10-15 14:55:08 +00:00
Nathan Gray
08e1ce3c9e Keep custom translations as highest precidence.
Fixes loading translations for another app loses custom translations
2014-10-14 16:03:50 +00:00
Hadi Nategh
7369a71d49 Fix a missing space in connect-src line of CPS 2014-10-13 14:06:20 +00:00
Ralf Becker
bde32aaeeb add deprecation note to egw_framework::on_* methods, as they get stoped by CSP (they work for old apps incl. old eTemplate) 2014-10-13 12:49:14 +00:00
Klaus Leithoff
d54c88e047 * Mail: fix for messed up plain-text signature in some cases 2014-10-10 10:10:36 +00:00
Ralf Becker
db6e2c1ed6 allow to set CSP connect-src and fix all IDE warnings 2014-10-09 20:32:59 +00:00
Ralf Becker
3af8b4806b insert/update timezones without sqlite extension 2014-10-07 21:04:58 +00:00
Ralf Becker
b86a4b17dd fall back to own db_backup for installing timezones, if sqlite extension is not available or broken 2014-10-07 13:15:04 +00:00
Ralf Becker
21a1f6ea64 do no call posix_* methods (from posix extension), if it is not available 2014-10-07 09:31:25 +00:00
Ralf Becker
c543cdf6c4 quiten a warning 2014-10-02 10:31:57 +00:00
Nathan Gray
f17a896283 If link changes, update client side with new title when possible. 2014-10-01 16:20:18 +00:00