Commit Graph

5560 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
Ralf Becker
72d5413131 fixing IDE warnings 2014-10-01 07:53:03 +00:00
Ralf Becker
25eae3cd06 fix IDE warnings and generate an install_id, if there is none 2014-09-30 11:59:31 +00:00
Ralf Becker
245391e724 allow path instead of url with schema for login too 2014-09-27 17:11:05 +00:00
Ralf Becker
be369d7ac9 fix PHP Fatal error under PHP 5.3: Cannot access self:: when no class scope is active 2014-09-25 06:21:21 +00:00
Nathan Gray
47df86be97 - Add some more filter options
- Fix maxdepth option to work
2014-09-23 17:46:06 +00:00
Ralf Becker
aa10bc53a5 need to set context even for no proxy, if we need optional authentication 2014-09-23 13:43:09 +00:00
Ralf Becker
bd5796704a * Admin: using proxy configuration from setup for update-check and retrieving EPL license from my.stylite.de 2014-09-22 19:43:38 +00:00
Ralf Becker
fbe9863055 * API/MySQL: automatic try to reconnect once, if server closed connection "MySQL server has gone away" 2014-09-22 10:23:17 +00:00
Ralf Becker
f9fdf59746 remove create_function in favor of a global function as it is causing - at least on some systems - permanently changing cache-ids / minified sources not to be cached 2014-09-10 16:15:22 +00:00
Klaus Leithoff
dc472cdb11 handle problems in email display and processing for further use after commit rev48461 2014-09-05 12:20:49 +00:00
Ralf Becker
eae606a957 fix empty json-response caused by some non-utf8 content in response, eg. broken mail password 2014-09-04 16:02:48 +00:00
Ralf Becker
20179f1767 * Spellchecker: marking "browser based" (default for new installs) and "No" as safer and fixing CSP policy for web-spell-checker 2014-09-04 09:58:48 +00:00
Ralf Becker
7948b17745 fixed sql error "argument of AND must be type boolean, not type integer" 2014-08-26 19:29:56 +00:00
Ralf Becker
a792aaa3c0 * All apps: current user was not taken into account for private custom-fields 2014-08-26 16:54:23 +00:00
Ralf Becker
d0a9307168 * PostgreSQL/Admin/Setup: backup stopped with SQL error 2014-08-26 14:03:18 +00:00
Ralf Becker
903f0e75a5 * eSync: limit creation of sessions to one per device and user (like already done for CalDAV) 2014-08-25 14:04:24 +00:00
Ralf Becker
394fe15fe0 push backend using notifications table 2014-08-22 17:26:22 +00:00
Ralf Becker
3b49416788 class to send push notifications to a logged in user 2014-08-22 14:29:18 +00:00
Ralf Becker
b0e97a61e6 use smpt-username as sender, if available, but only if it is a full email address 2014-08-22 13:25:53 +00:00
Ralf Becker
e9969c91b8 * LDAP/AD: auto-created accounts not allways set primary group also as membership 2014-08-21 15:43:59 +00:00
Ralf Becker
e4a80cbfc6 exclude login failures from session list 2014-08-19 17:15:50 +00:00
Ralf Becker
35e5ff6d6e * Admin: restore from admin was not working (worked only from setup) 2014-07-25 09:13:19 +00:00
Hadi Nategh
1912a14fe7 Add login.js to phpgwapi in order to make it available for all templates. Implement socialMedia for jdots and idots templates too 2014-07-24 17:13:46 +00:00
Ralf Becker
3253a191b7 fixed typo causing no next execution to be found, and therefore periodic jobs to be terminated 2014-07-24 15:58:20 +00:00
Ralf Becker
98692acb09 fixed sqlfs_stream_wrapper::dir_opendir("links://default/apps/$app/$id",0) links://default/apps/$app/$id is no directory! 2014-07-24 07:27:58 +00:00
Ralf Becker
349630ffa7 show calendars and ressource-calendars for user whos preferences are displayed, for "default" and "forced" we only display all and primary group calendars, but ressources of current user 2014-07-23 12:30:39 +00:00
Ralf Becker
eeafdea313 * Admin/Setup: restore of 14.1 backup was not working (backup file itself is correct)
caused by typo in json_decode of schema
2014-07-23 07:15:06 +00:00
Ralf Becker
b3c2bebd5f fixe PHP Fatal error in preferences::copy_preferences() in mail install 2014-07-22 16:52:22 +00:00
Ralf Becker
f2ca4d2762 copy felamimail preferences to new mail app, if they still exist there 2014-07-22 14:57:23 +00:00
Klaus Leithoff
a63cfe5aa1 firefox does stumble on kama skin; use moonocolor instead 2014-07-22 13:01:55 +00:00
Ralf Becker
be405e847c allow all php serialized values, to fix integer timestamps in async table 2014-07-22 11:11:28 +00:00
Ralf Becker
9cfee0d9a4 fixed wired data-values created directly after migration to json, got semaphore working again and fixing all IDE warnings 2014-07-22 10:44:03 +00:00
Ralf Becker
cdd295fd5c quiten open_basedir warnings, when minify tries to access docroot 2014-07-21 08:22:11 +00:00
Ralf Becker
9f07b91490 quiten open_basedir warnings, when minify tries to access docroot 2014-07-21 07:02:48 +00:00
Klaus Leithoff
003f36afdb avoid warning on unexpected accounts->memberships result 2014-07-18 11:14:33 +00:00
Klaus Leithoff
a8a5557aa7 * API/CKEditor: introduce new skins/themes 2014-07-18 09:49:17 +00:00
Ralf Becker
f49bbab26f fix an other CSP error, caused by json-responses send eg. from get_rows method on a GET request, filemanager opened in iframe from tracker 2014-07-17 17:26:00 +00:00
Ralf Becker
55475026ce remove xcache backend, because it is as obsolte as xcache 2014-07-17 13:05:36 +00:00
Ralf Becker
e7eaa72bc9 * API/Admin: fixed not working Admin >> Clear cache for default APC(u) and files backends 2014-07-17 12:34:43 +00:00
Ralf Becker
448e1e3675 * Admin: automatic update check displaying an icon for available (security-)updates for admins, escalating for security updates to all users after 3 days 2014-07-17 09:22:54 +00:00
Ralf Becker
258def8344 only modify js&css files for "real" browsers identified by existing of HTTP_REFERER, to return false data to WebDAV clients eg. used for backup 2014-07-17 07:34:06 +00:00
Ralf Becker
b1a95fb2e7 mitigate risk of serving javascript or css via webdav from our domain 2014-07-16 14:54:01 +00:00
Ralf Becker
9fa607c3bd fixed problems reported by LFRZ 2014-07-16 12:18:04 +00:00
Ralf Becker
f472ff10ee fixed PHP Fatal error: Call to a member function MetaTables() on a non-object, when non-default apps like esyncpro got installed/updated 2014-07-15 11:07:26 +00:00
Ralf Becker
2461660920 * Preferences: do NOT use deny configuration for admins 2014-07-14 16:26:03 +00:00
Nathan Gray
a0d2956bb6 Link was missing if application entry directory already exists.
Fixes unable to symlink existing entries to vfs
2014-07-14 10:22:48 +00:00
Ralf Becker
f11f9937ac make detection of serialized values more robust, to allow string like eg. "a:hello" 2014-07-13 09:38:55 +00:00
Ralf Becker
6b0ed9111f * API: fixed broken configuration, causing eg. ActiveDirectory or LDAP authentication to fail (you need to run Setup >> Clear cache!)
all config vars with names starting with an "a" were returning false instead there correct value
2014-07-12 08:51:31 +00:00
Ralf Becker
2dd0625ebe * Backup: backup could contain rows multiple times (which caused restore to fail) 2014-07-11 17:35:46 +00:00
Klaus Leithoff
772ebe6a41 improve (failsafe for non matching vartype personal (array instead of expected string)) imap_rfc822_write_address own fallback function 2014-07-11 11:34:11 +00:00
Nathan Gray
b7a6e53163 * Added context menu to download all linked files in one zip file
As long as there are 2 or more files linked to the entry, you can download them all as a zip using the link list context menu.
2014-07-08 16:51:01 +00:00
Nathan Gray
db5fb7a86a Use egw_vfs::file_exists() instead of file_exists() to handle missing prefix.
Fixes not being able to symlink to vfs from link widget.
2014-07-07 22:10:02 +00:00
Ralf Becker
5ba884f4a6 * Admin/API: remove old database based error-log 2014-07-05 08:54:36 +00:00
Ralf Becker
ada3b84386 fixed IDE errors and removed deprecated functions create_emailpreferences and check_owner 2014-07-05 07:58:48 +00:00
Nathan Gray
f2dec7deac Don't exit after creating a ZIP so caller can do cleanup, if needed. 2014-07-03 16:51:21 +00:00
Ralf Becker
6560a9d137 fixed not working "Search ..." in old eTemplate nextmatch-account-filter ("noPrint" class caused necessary "uiaccountselection" class not to be added) 2014-07-03 08:41:37 +00:00
Nathan Gray
35f59acf41 Zip still needs the encoding, lost in previous commit. 2014-07-02 14:46:15 +00:00
Nathan Gray
977cb5e7df Apparently converting like that doesn't work, since umlauts get mangled.
Using to_ascii() instead
2014-07-02 14:40:28 +00:00
Ralf Becker
4c15c2f2de * Calendar/API: allow not serialized data in async jobs, only run automatic purge if we have a real number > 0 2014-07-02 12:42:12 +00:00
Nathan Gray
e63984884f Take some more care with filenames, trying to get Windows to handle the zips 2014-06-30 17:42:11 +00:00
Ralf Becker
b3a9da635f moved translation statistics logic and caching to translation class 2014-06-28 11:47:32 +00:00
Ralf Becker
b75a9c42a2 fixed not working tracker resolutions (and probably other labels) after category extra data in json 2014-06-27 11:36:18 +00:00
Ralf Becker
94a0465616 json_encode instead of PHP serialized 2014-06-27 08:48:47 +00:00
Ralf Becker
d422d2ea8d json_encode instead of PHP serialized 2014-06-27 08:47:30 +00:00
Ralf Becker
cced2ceffc * API: storing category extra data now json-encoded 2014-06-27 08:21:01 +00:00
Ralf Becker
7666292284 no need to manually (un)serialize vfs_fstab and detect old php serialize and new json_encoded values 2014-06-27 07:48:44 +00:00
Ralf Becker
d6a5c93e01 new php_safe_unserialize function refusing to unserialize objects and using it for config, preferences and DB-backups 2014-06-26 17:38:29 +00:00
Ralf Becker
174e0c1e15 fixed not detected JSON in array not object syntax 2014-06-26 13:44:31 +00:00
Ralf Becker
e0a0708a64 fixed no new customfields could be created 2014-06-26 13:32:26 +00:00
Ralf Becker
864c3189cc moved about link to admin and changed wording of "Powered by ..." in footer 2014-06-25 19:02:06 +00:00
Nathan Gray
b602714292 Use relative paths inside zip 2014-06-25 17:15:00 +00:00
Ralf Becker
9e67848243 force new Pixelegg template on update 2014-06-25 16:46:36 +00:00
Nathan Gray
d6fcba4dc9 Update documentation to mention filtering too 2014-06-25 16:10:43 +00:00
Ralf Becker
9f450a8132 * PostgreSQL/Addressbook: fixed not displayed pictures
by backporting ADORecordSet_postgres64::_decode() from ADOdb 5.19
2014-06-25 15:43:20 +00:00
Ralf Becker
d2bc16c79b fix IDE warnings 2014-06-25 12:55:16 +00:00
Ralf Becker
2ee9082f2e * PostgreSQL: fixed not working installation (access to not yet existing table stalls transaction) 2014-06-25 12:43:11 +00:00
Ralf Becker
bfade1bbbc fix query to work with Postgres: string literals need single quotes not double 2014-06-25 09:23:21 +00:00
Ralf Becker
9da3a90a96 improved repair of required nods to cope with renamed or wrongly linked nods like / having a name and/or linked to itself instead of 0, also fixed IDE warnings 2014-06-25 08:23:28 +00:00
Nathan Gray
a852eed949 Add save as ZIP action 2014-06-24 19:29:05 +00:00
Ralf Becker
7505b92bcb fixed not working password link in Firefox (JSON.parse in FF does not like white-spaces) 2014-06-24 14:07:42 +00:00
Klaus Leithoff
2502f5500a * Notification/Mail: make sure acc_smtp_username is used (if available), to cope with strict mailserver settings to prevent faking sender information 2014-06-24 13:38:32 +00:00
Ralf Becker
af9b8303d6 make egw_db::from_bool() static and use that to work around PHP 5.3 limitation of not making class scope available in closures 2014-06-24 07:25:35 +00:00
Ralf Becker
ffae12e240 * all apps: custom-fields are now stored in own egw_customfields table (no more limit on number), site configurations get now JSON serialized 2014-06-23 14:35:22 +00:00
Ralf Becker
ff00c695ca new API method egw_framework::popup($link, $target="_blank", $popup="640x480") to open a popup independent of running a regular or a JSON request 2014-06-18 13:57:15 +00:00
Ralf Becker
6e6e75182b added a debug message 2014-06-18 08:22:12 +00:00
Ralf Becker
0f3be64360 (re-)set VFS user for vfs access rights, when user of async job changes 2014-06-17 06:52:52 +00:00
Ralf Becker
b49d9fac67 Entry directories are always reported existing and empty, if not existing in sqlfs 2014-06-16 20:01:59 +00:00
Ralf Becker
e16b6b361d using PHP 5.3 late static binding and closures 2014-06-16 08:41:46 +00:00
Ralf Becker
ad85c88c72 only save preferences of apps whos preferences actually changed 2014-06-13 16:08:42 +00:00
Hadi Nategh
2ff1107b78 Ignore favorite preferences which are not correctly serialized, and somehow are stroed in database. At the moment we just ignore them, but they stays in database, need to be watched closely to find the cause, though. 2014-06-13 16:03:16 +00:00
Ralf Becker
541e6f9bb5 need to remove /e modifier, when using preg_replace_callback 2014-06-13 13:30:36 +00:00
Ralf Becker
60106975aa * Preferences: now stored JSON encoded in database (also removed many deprecated methods) 2014-06-13 13:15:21 +00:00
Hadi Nategh
78e701ed85 Remove another inline script which was violating CSP 2014-06-13 11:16:04 +00:00
Ralf Becker
a5eb58638d fixed IDE warnings 2014-06-13 07:04:51 +00:00
Ralf Becker
e9295a5861 replaced PHP 5.5 boolval function with (bool) cast 2014-06-12 10:21:33 +00:00
Ralf Becker
95b89a0c9f fixed under some conditions not working translations, caused by egw object calling translation::init and preceeding lang_arr with (en) translations, before lang.php calls add_app() with a single translation, now explicitly calling init() and init() allways empties lang_arr 2014-06-12 10:07:57 +00:00
Nathan Gray
44ae90b8d3 Avoid warning from explode() if type2 is already an array 2014-06-11 17:33:19 +00:00
Nathan Gray
80962c1963 No permission check when initializing link hooks for during asyncronous processing.
Fixes missing links in notifications.
2014-06-11 17:30:44 +00:00
Ralf Becker
76fc9f97dc set $GLOBALS[egw_info][flags][async-service] (check with isset()), so emailadmin can check if there is no user-session 2014-06-05 11:05:45 +00:00
Ralf Becker
6efc08cc0a * Notifications: fixed not used SMTP authentication and selection of mail account 2014-06-05 10:36:13 +00:00