Commit Graph

973 Commits

Author SHA1 Message Date
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
Hadi Nategh
775f8f93fc WIP of modern login page:
- Add modern social networks icons
2017-02-07 19:02:59 +01:00
nathangray
888c9028cb Define idx_data outside of the loop, since it's used later
(Thanks Scrutinizer)
2017-02-07 09:42:10 -07:00
nathangray
1338add5fb Add PHPUnit tests for Schema, based on Ralf's previous command line tests 2017-02-07 09:19:30 -07:00
nathangray
16f649322f Add some sanity checks on egw session / GLOBALS before we start testing, makes it easier to figure out where things went wrong. 2017-02-07 09:19:30 -07:00
nathangray
b2ec0e9aa6 Move IncludeMgr tests into their own test class,
originals left there since they look useful.
2017-02-07 09:19:30 -07:00
Hadi Nategh
74af635dac WIP of modern login page:
- Position social media icons
2017-02-07 12:44:00 +01:00
nathangray
e0c7ddd0cb Make stored usertime protected instead of private 2017-02-06 13:27:30 -07:00
nathangray
4d6ba96115 Move commented-out DateTime tests into their own class 2017-02-06 13:08:05 -07:00
nathangray
502caf4703 Split application specific test stuff and the Egw session stuff 2017-02-06 13:08:05 -07:00
Ralf Becker
2b45b52477 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 10:38:01 +01:00
Ralf Becker
250cbb5704 * Addressbook: only add groups as distribution lists, if accounts addressbook is not hidden 2017-02-06 09:21:50 +01:00
Ralf Becker
70d803249d no maintenance version for master 2017-02-03 13:39:24 +00:00
Hadi Nategh
ce9a36ddf9 WIP of smime sing and encrypt message 2017-02-03 12:33:49 +01:00
nathangray
efe0d62df7 Add method to mock the tracking object to ease reuse 2017-02-02 08:45:58 -07:00
Ralf Becker
ba8b1c403e use cryptographically secure random_int available in PHP 7+ when generating default passwords 2017-02-02 15:45:32 +01:00
Ralf Becker
c8605a0e7d CS translations from Tony <tw.mail-AT-quick.cz> 2017-02-02 15:32:07 +01:00
Ralf Becker
c3926df7a3 add DE translation for {{letterprefix}} and remove broken one from EN lang-file 2017-02-02 12:36:15 +01:00
Ralf Becker
c3546243fe fix missing EN translation in api lang file 2017-02-02 11:35:40 +01:00
Ralf Becker
56ab357f54 CS translations from Tony <tw.mail-AT-quick.cz> 2017-02-02 11:04:11 +01:00
Ralf Becker
be32282214 maintain an maintenance_release version in api/setup/setup.inc.php, also move update-checker images to api 2017-02-02 10:38:13 +01:00
Hadi Nategh
e3bacb3565 * Mobile template: Fix "info message regarding fullscreen" does not respect the discard checkbox 2017-02-01 18:12:35 +01:00
Hadi Nategh
385977e828 * All applications: Set proper default page title if nothing is set 2017-02-01 16:23:25 +01:00
Hadi Nategh
c1950b4b1c Make path and up button always available in filemanager mobile theme 2017-02-01 13:17:39 +01:00
Hadi Nategh
c78042d522 Update PUBLIC ID of etemplate2.dtd in all templates 2017-02-01 09:59:37 +01:00
Ralf Becker
70c0a26307 * Mail/Admin: fix setting ACL or vaction notice from Admin app, if IMAP auth uses email address from account 2017-01-31 18:01:49 +01:00
nathangray
71ffd661ac Make sure to always call typeOptions() with a string
(to satisfy Scrutenizer)
2017-01-31 08:41:22 -07:00