Commit Graph

999 Commits

Author SHA1 Message Date
Hadi Nategh
695cf12ded WIP of background & logo image upload into instance dir:
- Fix regexp can not cope with spaces
2017-04-28 14:21:50 +02:00
Ralf Becker
47df7828ce handler to download images from $files_dir/anon-images/ without login 2017-04-28 12:08:20 +02:00
nathangray
d277c8b6cf Avoid warning about app list being null instead of array if there's no apps
Appears to happen when session expires
2017-04-27 08:10:15 -06:00
Hadi Nategh
a206ec325a * ActiveSync: Fix error body part not set, while trying to forward an email 2017-04-26 17:23:48 +02:00
Hadi Nategh
203fa8a9be Make sure that placeholder actions are defined and existed in client-side 2017-04-24 17:53:25 +02:00
Hadi Nategh
73e2243b33 Fix email identity with no domain part set 2017-04-24 11:39:02 +02:00
nathangray
75124d097b PHP v5.4 syntax 2017-04-21 15:04:24 -06:00
nathangray
f60461eb9f PHP v5.4 syntax 2017-04-21 12:33:27 -06:00
nathangray
9d1756e5d9 Basic Etemplate testing
Some simple exec / process round-trip tests
2017-04-21 12:17:59 -06:00
Hadi Nategh
ba7f8f2d80 Fix splitter line in split widget does not always get fullwidth 2017-04-21 14:08:37 +02:00
Hadi Nategh
524296b757 * Mail: Fix vacation notice can not deal with aliases, which have no domain set 2017-04-21 11:08:39 +02:00
Hadi Nategh
848535874e Set children of readonly tab to disabled to avoid server side validation error 2017-04-20 18:33:52 +02:00
nathangray
3ea4fda227 Do not change XMLNode, that changes the cached template. Clone it, then change it to avoid weird side effects. 2017-04-19 12:51:58 -06:00
nathangray
bf1bd63110 If tab is hidden, set widgets to readonly to avoid the need for client side validation 2017-04-19 10:44:24 -06:00
Hadi Nategh
7b810b57f3 Adopt taglist server side accordingly regarding domainOptional attribute 2017-04-19 16:40:20 +02:00
Hadi Nategh
f230917d21 Add a new option to taglist-email to allow domain part of email be optional 2017-04-19 15:49:01 +02:00
Ralf Becker
a468c57284 allow hooks to send redirects via Exception\Redirect, thought only first redirect will be executed, if there are multiple hooks 2017-04-19 10:43:29 +02:00
nathangray
6b294db3fc File upload bugfixes:
- Javascript error uploading files with ' in their name
- uploading the same file twice to a customfield did not show the file uploaded properly
2017-04-18 09:34:33 -06:00
Hadi Nategh
163b6b6522 Give preferences popup bigger size plus show fulltext of selectboxes 2017-04-18 14:57:04 +02:00
nathangray
8d7a9b7284 Move VFS widget file handling from Etemplate/Widget/Customfields to Storage/Customfields, to avoid errors with CalDAV/CardDAV not being able to find Etemplate/Widget/Customfields 2017-04-17 09:48:45 -06:00
nathangray
944718daaa Some more tests of basic Etemplate stuff 2017-04-17 08:30:24 -06:00
nathangray
bcd86f7ae9 Fix bug where some elements would not be returned if a child of a later sibling was the same type 2017-04-17 08:30:24 -06:00
nathangray
68e4df3d22 Fix upload status on single uploads disappeared when upload was complete 2017-04-13 08:52:24 -06:00
Ralf Becker
caad687406 allow to filter by multiple account_id/uidNumber 2017-04-13 12:54:19 +02:00
nathangray
cfba2eea33 Make sure magicsuggest loses its focus class to avoid focus stealing issues with multiple on a page 2017-04-11 10:14:57 -06:00
Hadi Nategh
df998bab26 W.I.P. smime support:
- Make sure recipients addresses are not in RFC822 format
2017-04-11 17:29:44 +02:00
Hadi Nategh
1a63b5681d W.I.P. smime support:
- Fix stdClass not exist
2017-04-11 15:29:31 +02:00
Hadi Nategh
fff5543d3d W.I.P. smime support:
- Override verify method, in order to extract content
2017-04-11 14:24:22 +02:00
nathangray
d5c24a2c8e Thumbnails (and handling) of uploaded files on new entries that have not yet been saved 2017-04-10 10:39:04 -06:00
nathangray
ee62801ace W.I.P. Some more Etemplate testing stuff 2017-04-10 08:12:17 -06:00
Ralf Becker
e817e59fb8 * LDAP: fix fatal error in minimal install 2017-04-07 18:50:38 +02:00
Hadi Nategh
d609c67d8a Some adjustment for modern login-page 2017-04-06 18:17:47 +02:00
Ralf Becker
8d5d178869 fix exception stalling new installations 2017-04-06 16:50:37 +02:00
Ralf Becker
fcf50f1bc0 fix last commit by storing db attribute as wakeup order wakes up acl before parent 2017-04-06 13:45:47 +02:00
Ralf Becker
6c97df764c do NOT store Acl data in session, as it can be quite huge 2017-04-06 09:47:52 +02:00
nathangray
6f13a9caa9 Test some core Widget functions 2017-04-05 10:10:08 -06:00
Ralf Becker
c0e1f3ac67 always need to translate app-title, as users might use different languages 2017-04-05 10:18:09 +02:00
Ralf Becker
96413c1096 fix no translations loaded, by keeping just that pref in the session, as it is used before rest of prefs get restored 2017-04-05 10:02:41 +02:00
nathangray
d690c7d9d3 Use a constant for birthday cache time 2017-04-04 12:10:09 -06:00
Ralf Becker
2adeddce8d do NOT store user preferences and apps in session, we restore them from instance cache 2017-04-04 19:13:43 +02:00
nathangray
99595ba1cf Moce calendar birthday stuff into contacts, expire the birthday cache if birthdays change 2017-04-04 10:58:46 -06:00
nathangray
319d217a3e Some test adjustments to make things a little smoother, and prepare for some widget tests 2017-04-04 10:31:30 -06:00
Ralf Becker
dfbd0d2e6f do NOT store actions in session or eT2 request, nor send for mobile devices skiped actions 2017-04-04 16:54:36 +02:00
Hadi Nategh
786ad5b71b 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:51:41 +02:00
Ralf Becker
4f9e14fcc6 never storing rows in Etemplate\Request and by that keeping apps from storing it as state into the session 2017-04-04 15:04:44 +02:00
Ralf Becker
76087e2cb7 * Api: keep session small / quick to load by limiting number of cached link-titles 2017-04-04 09:58:57 +02:00
nathangray
8cfb2c997f Silence error_log, hopefully fix wrong row count 2017-03-23 11:34:35 -06:00
nathangray
d92de5501d 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 09:09:05 -06:00
nathangray
6551a71b41 Addressbook - Fix filtering by addressbook in duplicates view. 2017-03-22 14:23:05 -06:00
nathangray
d5386625d5 Addressbook - Duplicate view - Fix a bug with types, add some debug to help with long queries. 2017-03-17 10:01:23 -06:00
nathangray
c65c081585 Fix searching in duplicate contact list 2017-03-16 11:06:58 -06:00
nathangray
71de64fe8f Break out parsing search into its own function 2017-03-16 10:54:27 -06:00
nathangray
56d9424c1d Fix duplicate contact view to make sense if you have more than 3 matching rows 2017-03-16 10:53:53 -06:00
Ralf Becker
06214add74 use line-breaks in login-message 2017-03-16 12:12:48 +01:00
Hadi Nategh
0f84e305a2 Remove not necessary error_log 2017-03-15 18:00:14 +01:00
Hadi Nategh
2b0fecd8bd Return form including etemplate-data if the output_mode is set to 1 2017-03-15 16:55:24 +01:00
Ralf Becker
e2d25e741b pending CS and FR changes from our translation server 2017-03-15 11:54:24 +01:00
Hadi Nategh
3cd15c6b3c Do not show input field if taglist is readonly 2017-03-14 16:43:58 +01:00
nathangray
23bf37b98e * Addressbook - new view to show duplicate contacts 2017-03-13 12:11:53 -06:00
Ralf Becker
bb5a845600 our error_handler did not allow to supporess just warnings
eg. by using: error_reporting(error_reporting()&~E_WARNING);
2017-03-13 16:41:12 +01:00
Ralf Becker
211e60b45d fix through proxying not matching webserver_url using X-Forwared-Host header 2017-03-10 22:04:15 +01:00
Ralf Becker
78880b5238 missing commit for readonly db stuff 2017-03-09 20:17:50 +01:00
Hadi Nategh
66315db75a WIP SMIME suport:
- Integrate smime encryption inti mailer class
2017-03-09 17:33:46 +01:00
Ralf Becker
6221e69229 fix regexp to only match beginning of string 2017-03-09 16:42:50 +01:00
Ralf Becker
23ac04df8d allow to switch whole database readonly, via setting "db_readonly" => true in header.inc.php 2017-03-09 12:08:00 +01:00
nathangray
78c5f31ff5 * Addressbook - When viewing a user account's calendar or next/previous dates, use the account calendar over the contact calendar 2017-03-08 09:53:52 -07:00
Ralf Becker
9361927edf prefer window over top, which might cause a security exception 2017-03-08 15:02:29 +01:00
Ralf Becker
e63cb7c849 same story tutorial popup: ignore security exception if window.top is in a different security context
eg. because SiteMgr contact-form is running in an iframe
2017-03-08 14:25:52 +01:00
Ralf Becker
f0925ef32c same story for framework: ignore security exception if window.top is in a different security context
eg. because SiteMgr contact-form is running in an iframe
2017-03-08 14:21:29 +01:00
Ralf Becker
d1b963c98b ignore security exception if window.top is in a different security context
eg. because SiteMgr contact-form is running in an iframe
2017-03-08 14:14:16 +01:00
Ralf Becker
1c80a22413 added (commented out) code to enable IMAP log for a single user 2017-03-08 10:33:00 +01:00
nathangray
0f83206907 * All apps - Add special search case for #<int> to only match the ID, not search the whole entry 2017-03-07 12:24:42 -07:00
nathangray
5926c5e7be Allow docm and xlsm merge templates 2017-03-07 12:08:01 -07:00
Hadi Nategh
3209484d31 Cover more events on XSS regexp and avoid confusion between legitimate words with beginning of "on" and on[Events] 2017-03-06 19:12:56 +01:00
nathangray
e649793aee Add tooltip so you can tell which phone number is which in addressbook list 2017-03-02 10:53:42 -07:00
nathangray
d0913cb309 Fix title & description in calendar events were not escaped 2017-03-01 10:52:38 -07:00
Ralf Becker
acfcd24983 fix not updated logout time on new farm 2017-03-01 13:36:42 +01:00
Ralf Becker
832276f969 give quota-limit from SMTP/SQL precedence over (cached) quota from Dovecot 2017-02-28 18:39:55 +01:00
Ralf Becker
c9822e3023 Merge pull request #8 from filkaris/mail_account_bug
If Mail Account has empty password, it's still regarded as imap
2017-02-28 14:04:19 +01:00
A Sigalas
11b2eff8c5 Host always needed, not imap if username & pass missing 2017-02-28 12:55:04 +00:00
A Sigalas
b4e29edaea If Mail Account has empty password, it's still regarded as imap 2017-02-28 12:40:14 +00:00
Ralf Becker
282c0bc90f method to disable a hook for the current request 2017-02-28 13:27:48 +01:00
Ralf Becker
80cb358d88 fix use of old accounts_sql class, only existing if old phpgwapi is installed 2017-02-28 10:14:38 +01:00
Ralf Becker
38b0dd0dd0 fix PHP Deprecated: Non-static method EGroupware\Api\Vfs\Sqlfs\StreamWrapper::url_stat() should not be called statically 2017-02-27 20:39:46 +01:00
nathangray
608f9d1142 Some translation improvements from Stefan Unverricht 2017-02-27 11:14:31 -07:00
Ralf Becker
d6590cbf64 fix PHP Fatal, if debug is enabled 2017-02-27 17:31:08 +01:00
nathangray
6dd3f4838f Keep any notification errors 2017-02-27 08:10:48 -07:00
Hadi Nategh
738a1acd0e Revert Htmlawed option comment back into value 1 2017-02-27 13:33:24 +01:00
Ralf Becker
f55d36cc50 improve waterfall by releasing session 2017-02-25 15:18:21 +01:00
Hadi Nategh
8f24e0dfec * Mail: fix memory exhaustion caused by e-mails with long string set on DATE field 2017-02-23 15:44:23 +01:00
nathangray
4d0419f5b4 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:56:37 -07:00
Hadi Nategh
116151a092 WIP of SMIME support:
- Implement smime ecryption in compose
- Implement passphrase dialog
2017-02-15 12:23:27 +01:00
Hadi Nategh
eed277fc9e WIP of modern login page:
- Do not break account's recovery link into second line
2017-02-10 16:33:29 +01:00
Hadi Nategh
1d69265b9c WIP of modern login page:
- Fix logo size
- Implement customizable background image
- Set different logo for login
2017-02-10 15:55:30 +01:00
Hadi Nategh
508d0aa920 Try to match placeholder NENVLF with its described example 2017-02-10 10:41:43 +01:00
Hadi Nategh
83a6595d26 Handle NELF placeholder for mimetype text/html 2017-02-09 15:03:09 +01:00
nathangray
bbdd1e77c9 Skip failing false positive for PHP < 7 2017-02-08 12:32:07 -07:00
nathangray
342230ef08 Fix typo in function name 2017-02-08 12:32:07 -07:00
nathangray
d83a929254 Get tests to not fail if DB is missing - we skip the ones that need a DB 2017-02-07 16:02:06 -07:00
nathangray
eeecc2eecd Add PHPUnit tests for security, based on Ralf's previous command line tests 2017-02-07 12:28:35 -07:00