Commit Graph

547 Commits

Author SHA1 Message Date
Ralf Becker
cb22983fad do NOT store user preferences and apps in session, we restore them from instance cache 2017-04-05 08:45:04 +02:00
nathangray
f7c45403ad Use a constant for birthday cache time 2017-04-04 12:13:10 -06:00
nathangray
e16f9676d4 Moce calendar birthday stuff into contacts, expire the birthday cache if birthdays change 2017-04-04 12:12:27 -06:00
Ralf Becker
48fa3a9949 do NOT store actions in session or eT2 request, nor send for mobile devices skiped actions 2017-04-04 17:50:32 +02:00
Hadi Nategh
78bd838488 Implement a new option for sidebox menu, called sendToBottom, in order to be able to sort a specific item at the bottom of the sidebox menu 2017-04-04 16:59:57 +02:00
Ralf Becker
095a95ab9a never storing rows in Etemplate\Request and by that keeping apps from storing it as state into the session 2017-04-04 15:09:26 +02:00
Ralf Becker
4aafcf7e2b * Api: keep session small / quick to load by limiting number of cached link-titles 2017-04-04 10:01:02 +02:00
Hadi Nategh
d15597224a Cover more events on XSS regexp and avoid confusion between legitimate words with beginning of "on" and on[Events] 2017-04-03 12:05:19 +02:00
nathangray
09482bd032 Avoid a Illegal string offset warning from link-entry widgets when they have only-app attribute set
Happened on infologs added from projectmanager element list
2017-03-31 09:34:44 +02:00
nathangray
49ba9452d5 Addressbook - limit previous / next event to the previous / next 2 years, instead of all time
Gives slightly faster performace and reduces memory useage.
2017-03-23 10:29:58 -06:00
Hadi Nategh
3dd114179f Return form including etemplate-data if the output_mode is set to 1 2017-03-16 12:21:55 +01:00
Hadi Nategh
2507fea4b7 Remove not necessary error_log 2017-03-15 17:59:02 +01:00
Ralf Becker
8a30ef21e9 our error_handler did not allow to supporess just warnings
eg. by using: error_reporting(error_reporting()&~E_WARNING);
2017-03-13 16:43:01 +01:00
Ralf Becker
f0e9dce8ce fix through proxying not matching webserver_url using X-Forwared-Host header 2017-03-10 22:08:34 +01:00
nathangray
741ec67092 Allow docm and xlsm merge templates 2017-03-10 08:15:25 -07:00
nathangray
4195fdb306 * Addressbook - When viewing a user account's calendar or next/previous dates, use the account calendar over the contact calendar 2017-03-10 08:14:51 -07:00
Ralf Becker
af5d24a450 missing commit for readonly db stuff 2017-03-09 20:19:16 +01:00
Ralf Becker
0b384f3112 fix regexp to only match beginning of string 2017-03-09 16:48:26 +01:00
Ralf Becker
6dfe752b7f allow to switch whole database readonly, via setting "db_readonly" => true in header.inc.php 2017-03-09 16:48:26 +01:00
nathangray
ffd2d1b5f8 * All apps - Add special search case for #<int> to only match the ID, not search the whole entry 2017-03-08 10:07:01 -07:00
Ralf Becker
6d204441cc fix not updated logout time on new farm 2017-03-01 13:48:09 +01:00
Ralf Becker
5612a98994 give quota-limit from SMTP/SQL precedence over (cached) quota from Dovecot 2017-02-28 18:44:02 +01:00
Ralf Becker
9b98e07b69 method to disable a hook for the current request 2017-02-28 13:29:21 +01:00
Ralf Becker
809e96794e fix use of old accounts_sql class, only existing if old phpgwapi is installed 2017-02-28 10:17:36 +01:00
Ralf Becker
ec16cf10f2 fix PHP Deprecated: Non-static method EGroupware\Api\Vfs\Sqlfs\StreamWrapper::url_stat() should not be called statically 2017-02-28 10:17:30 +01:00
Ralf Becker
70135317a3 fix PHP Fatal, if debug is enabled 2017-02-27 17:37:32 +01:00
Hadi Nategh
cfbe7ebab1 Revert Htmlawed option comment back into value 1 2017-02-27 13:34:34 +01:00
Ralf Becker
1ea49819bf improve waterfall by releasing session 2017-02-25 15:21:07 +01:00
Hadi Nategh
4d37b68987 * Mail: fix memory exhaustion caused by e-mails with long string set on DATE field 2017-02-23 15:45:39 +01:00
nathangray
3c440e8885 Allow <p> tag to enable HTML parsing as well as <br> and <span>, fixes using p for line breaks and no other formatting resulted in unparsed HTML when merging. 2017-02-17 08:58:40 -07:00
nathangray
ad253a2608 Custom fields can be at the start of the content 2017-02-14 09:27:28 -07:00
nathangray
d205c2d294 Allow expansion of custom fields when merging to include fields from other apps
eg: {{#other_app/#addressbook_cf/n_fn}}
2017-02-14 09:26:55 -07:00
Hadi Nategh
80431051e4 Try to match placeholder NENVLF with its described example 2017-02-10 11:08:14 +01:00
Hadi Nategh
0bc700cf8e Handle NELF placeholder for mimetype text/html 2017-02-09 15:20:04 +01:00
Ralf Becker
8de7b6a953 fix warning about static use of Accounts::is_(active|expried) by making it static and throw a WrongParameterException, if is_expired is called with no parameter 2017-02-06 18:20:06 +01:00
Ralf Becker
22d216a43e * Addressbook: only add groups as distribution lists, if accounts addressbook is not hidden 2017-02-06 09:22:57 +01:00
Ralf Becker
4966da5b00 use cryptographically secure random_int available in PHP 7+ when generating default passwords 2017-02-02 16:27:34 +01:00
Ralf Becker
b07f2eff9d maintain an maintenance_release version in api/setup/setup.inc.php, also move update-checker images to api 2017-02-02 10:40:31 +01:00
Ralf Becker
126116584c * Mail/Admin: fix setting ACL or vaction notice from Admin app, if IMAP auth uses email address from account 2017-01-31 18:03:09 +01:00
nathangray
b5d65d4fed Fix a missed change of Stylite -> EGroupware 2017-01-31 08:05:24 -07:00
Ralf Becker
662d810d2d fix json_php_unserialize to return false for not serialized content, as unserialize does and in contray to json_decode which returns null in that case
--> fixes SiteMgr no longer shows html blocks containing unserialized content
2017-01-31 11:18:10 +01:00
Ralf Becker
1cafbd14cb allow to additionally use just a name for which content array contains a path to upload pictures 2017-01-31 10:18:59 +01:00
Ralf Becker
210f00c2ff * All apps: fix random failure in drag-n-drop or pasting images into CKEditor eg. mail compose 2017-01-27 17:39:49 +01:00
Ralf Becker
c814960684 * Admin: fix bulk password reset to pick only passwords having required strength 2017-01-27 14:28:41 +01:00
Ralf Becker
cb8206c4c2 fix PHP fatal on call to Api\Html::progressbar caused by no longer existing static property $netscape4 2017-01-24 11:01:25 +01:00
Ralf Becker
51aebe851e * Filemanager/PostgreSQL: shared files were not cleaned up after expiring of 100 days not accessed under PostgreSQL 2017-01-23 15:24:33 +01:00
Ralf Becker
2c028aa3b5 fix typo causing filtering by group-distribution-list to fail 2017-01-23 11:28:27 +01:00
Ralf Becker
523106c008 * Addressbook/Mail: allow to use groups as (readonly) distribution lists 2017-01-23 11:19:14 +01:00
Hadi Nategh
1debc2a452 Consider whitespaces when trying to translate <, >, <= and >= signs in HTML:
- Fix some mails get cut off after switching to plain-text mode
2017-01-13 10:49:17 +01:00
Hadi Nategh
e49a0f014e * Etemplate: Fix error "Etemplate\Api\Auth not found" happening while trying to login 2017-01-05 15:09:07 +01:00
Ralf Becker
412c8f80ea * CalDAV/CardDAV: send unchange REALM for "bad login or password" to allow storing credentials 2017-01-04 10:20:33 +11:00
Hadi Nategh
3b9f6d6cfa * Mail: Fix accounts selectbox in compose dialog does not include email addresses. Additionally, let local accounts without '@' get explicitly displayed in accounts selectbox. 2016-12-12 10:27:26 +01:00
Ralf Becker
9fe73b20b3 fix PHP 5.4 Fatal error: Can't use function return value in write context 2016-12-08 16:23:58 +01:00
nathangray
7c9f15c842 Attempt to fix redirects to invalid /index.php 2016-12-01 09:34:51 -07:00
Ralf Becker
f15daa5735 allow to use Api\Contacts::search() without Acl check 2016-11-21 11:26:47 +01:00
Ralf Becker
a135f7615d use openssl_random_pseudo_bytes, if available, to generate etemplate_exec_id, as it is used for CSRF protection too 2016-11-17 21:43:50 +01:00
Ralf Becker
db1f92c7f8 fix identities from aliases or imap-user without @ shown with empty label, if name is empty 2016-11-14 13:44:40 +01:00
Klaus Leithoff
6fee3b919a * Mail/Z-Push: handle charset-problem on sending mails with added EGW-Signature 2016-11-10 12:52:02 +00:00
nathangray
59fc41a5b9 Customfields required bugs
- Load attributes from modifications array, were previously ignored
- Remove double required check, actual field widget should handle it
2016-11-08 08:36:45 -07:00
Ralf Becker
9dd7076e9d remove permantent error_log on restore of egw_cal_dates 2016-11-02 14:29:08 +01:00
Hadi Nategh
80dd3fb710 Fix some of content in mails with specific html formats get removed by HtmLawed's balance 2016-11-02 14:00:38 +01:00
Hadi Nategh
562a531ee4 Update HTMLawed into version 1.1.22 2016-11-02 13:59:53 +01:00
Ralf Becker
12752f65d9 fix use of old egw class in favor of new Api\Egw 2016-11-02 09:41:46 +01:00
Ralf Becker
fe6319a227 fix searching for "group" reveals groups normally hidden by forced account-selection pref "groupmembers" or "none" 2016-11-01 15:04:40 -06:00
nathangray
d9a91326bc If searching for an account and you include 'Group ' (or translation) in the search string, it will search just groups instead of all accounts. 2016-11-01 15:04:25 -06:00
Ralf Becker
29a3c5a08e remove Exception type, to not get a Type error when PHP 7+ throws an Error 2016-10-31 18:49:01 +01:00
Ralf Becker
4eeb35275d fix setting alias and forwards, allow to add/remove from existing ones 2016-10-31 16:05:29 +01:00
Ralf Becker
f3466615b6 * Admin/Mail: allow to limit users to only create identities for aliases 2016-10-28 14:29:31 +02:00
Ralf Becker
677c862d9b * Addressbook/LDAP: fix error if egroupware-epl-compat (old API) not installed 2016-10-27 10:52:54 +02:00
Ralf Becker
39d432d82a add missing traversable-test mentioned by Scrutinizer 2016-10-21 09:02:22 +02:00
Ralf Becker
8e9fe8d87d add missing false-test mentioned by Scrutinizer 2016-10-21 09:02:14 +02:00
Ralf Becker
41849e5c18 removing server-side validation of non-ascii in local part of email, because \x80-\xff gives and invalid utf-8 compilation error in preg_match with /u modifier 2016-10-20 15:22:33 +02:00
Ralf Becker
986bdaac27 * Mail: show validation error if local part (before @) of email-address contains non-ascii chars 2016-10-20 12:31:06 +02:00
Klaus Leithoff
d5e8cdca97 rework of fix for problem regarding send with bcc when using esync 2016-10-19 18:01:30 +00:00
Klaus Leithoff
20f9abafe9 * Mail: fix problem regarding send with bcc when using esync 2016-10-19 18:00:15 +00:00
Ralf Becker
da32666df9 only check vfs for templates, if /etemplates is mounted 2016-10-19 16:44:38 +02:00
Ralf Becker
50f362c5e3 * Filemanager: break infinit recursion stalling eg. login by introducing max. sub-directory depth of 100
Detects infinit recursion caused eg. by fs_dir pointing to a child-directory.
No idea how to efficently test for that, without scanning all parents of all filesystme nodes.
2016-10-19 15:52:44 +02:00
Ralf Becker
391f3ce00a fix typo 2016-10-13 18:00:27 +02:00
Ralf Becker
dca8f4dd70 move ADOdb row_lock and rollback_lock methods to Db class, use Db::$tablealiases and use them for backup, also added a "backup_(starts|finished)" hook for apps 2016-10-13 18:00:15 +02:00
Hadi Nategh
271e594a7a Try to correct ckeditor references point to vendor directory 2016-10-09 11:27:24 +02:00
Ralf Becker
11b1eedf5a change to just "Powered by EGroupware <version>" 2016-10-08 14:48:14 +02:00
Ralf Becker
c52c744346 error_log if calendar can not send notifications 2016-10-06 19:11:16 +02:00
Hadi Nategh
7d189b9f46 Remove spellchecker lang from preferences 2016-10-06 19:04:26 +02:00
Ralf Becker
2a3bde1450 fix dbb0796 allow to specify a subdirectory in attach_file as part of $file[name] parameter
(subdir was created, but file was copied to main dir)
2016-10-04 16:49:21 +02:00
Ralf Becker
c17d98ff8c allow to specify a subdirectory in attach_file as part of $file[name] parameter 2016-10-04 10:50:51 +02:00
Ralf Becker
0d432dcaab fix wrong namespaced Exception: \DateTime throws \Exception 2016-09-28 11:18:30 +02:00
Ralf Becker
601ce45c4d allow to specify multiple cat_id's 2016-09-26 14:37:36 +02:00
Ralf Becker
c10654e1da allow to import without acl-check and setting modifier 2016-09-26 11:40:47 +02:00
Hadi Nategh
4ad4e1a5f3 Fix inline images of compose do not get stored as links into integrated applications like infolog, tracker or calendar 2016-09-22 09:19:22 +02:00
Hadi Nategh
fe5c0a9493 Fix Ctrl+A in context menu does not get translated 2016-09-16 17:10:06 +02:00
nathangray
1ece2bb4f0 Try to fix redirects from AJAX calls to static methods 2016-09-14 08:33:42 -06:00
Ralf Becker
9b7f308342 * Calendar/CalDAV: update or removal of (managed) attachments via CalDAV failed 2016-09-13 15:57:34 +02:00
Ralf Becker
e784475ec0 Vfs::rename() is supposted to be static, quitens warning that it is used static 2016-09-13 13:54:05 +02:00
Ralf Becker
15927535a1 * All apps: async notifications were not using SMTP only account, but personal one with unavailable session password 2016-09-02 18:13:31 +02:00
Ralf Becker
05e521e644 enhance filesystem check to also check fs_id of required nodes /, /home, /apps 2016-08-31 19:04:46 +02:00
Hadi Nategh
cecd303208 * Mail: Fix pdf attachments do not get downloaded in mobile template 2016-08-31 12:11:25 +02:00
nathangray
82e4696e21 Add ISO 8601 (Y-m-dTH:i:s) format to list of checked date formats when importing to catch double parsed dates 2016-08-30 08:03:15 -06:00
Ralf Becker
2cb8029f4f * Filemanager: fix missing symlink overlay on mime-icon 2016-08-29 19:43:40 +02:00
Ralf Becker
dc4e2d73dc possible fix for deactivated / or /apps 2016-08-29 17:15:47 +02:00
Ralf Becker
59c098b2d6 fix for PHP Warning: Illegal string offset 'to_id' in api/src/Etemplate/Widget/Link.php on line 327 2016-08-29 13:50:53 +02:00