Commit Graph

5432 Commits

Author SHA1 Message Date
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
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