Commit Graph

1210 Commits

Author SHA1 Message Date
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
nathangray
ceea2cb976 Some more code cleanup:
- Remove some unexecutable code
- Fix some variable declarations
(to satisfy Scrutenizer)
2017-01-31 08:29:00 -07:00
Ralf Becker
7ce511cfc1 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:16:51 +01:00
Ralf Becker
5bf8630620 allow to additionally use just a name for which content array contains a path to upload pictures 2017-01-31 10:16:16 +01:00
Ralf Becker
988c79319d pending it+sk translations from our translation server 2017-01-31 09:31:57 +01:00
nathangray
4edc398286 Fix a missed change of Stylite -> EGroupware 2017-01-30 09:27:33 -07:00
nathangray
76cc4d6f5c Fix a missed change of Stylite -> EGroupware 2017-01-30 09:18:33 -07:00
nathangray
4cd8b3ee08 Fix for selecbox change event not being bound in some cases (see a81fe4f, 768b6ae) 2017-01-30 09:06:42 -07:00
Ralf Becker
a2a5ea15ae fix select(-account) tags=true widget to not call onchange callback twice with different signature, now signature is onchange(_node, _widget, _change) 2017-01-30 14:44:31 +01:00
Ralf Becker
a81fe4f82a partial revert of 768b6ae, as filter, filter2 and cat get lost when changing a column filter 2017-01-30 09:59:56 +01:00
Ralf Becker
388bffc48b * All apps: fix random failure in drag-n-drop or pasting images into CKEditor eg. mail compose 2017-01-27 17:38:08 +01:00
Ralf Becker
7f8b81f45b * Admin: fix bulk password reset to pick only passwords having required strength 2017-01-27 14:27:58 +01:00
Hadi Nategh
2d8b8fc5dc WIP of SMIME support: First attempt to decrypt a smime encrypted message 2017-01-26 17:45:07 +01:00
Hadi Nategh
572ae1d77e WIP of SMIME support: Add method to extract certificate's info from pkcs12 2017-01-25 18:04:54 +01:00
Hadi Nategh
efbb02b1b7 WIP of SMIME support: implement smime type storage 2017-01-25 18:03:35 +01:00
Ralf Becker
75a83fa35c allow to store (user specific) s/mime private keys in mail account 2017-01-25 11:40:05 +01:00
Hadi Nategh
3a42900eb6 Add accept attributes for widget File in order to be able to filter extensions in upload dialog 2017-01-25 10:28:10 +01:00
nathangray
8de5542803 Fix nextmatch category, filter & filter2 selectboxes did not listen for custom change return value to cancel server call 2017-01-24 08:41:05 -07:00
Ralf Becker
45114cd2b8 fix PHP fatal on call to Api\Html::progressbar caused by no longer existing static property $netscape4 2017-01-24 10:59:52 +01:00
Hadi Nategh
389f00dead * Mail: Fix "Show All Addresses" does not show plus icon (happens only in 16.1-compat because of missing icon) 2017-01-24 10:08:38 +01:00
Hadi Nategh
2b99050d99 W.I.P of SMIME support for mail application:
- Add a method for extracting public-key from a certificate
2017-01-23 16:19:46 +01:00
Ralf Becker
da58ef5769 * Filemanager/PostgreSQL: shared files were not cleaned up after expiring of 100 days not accessed under PostgreSQL 2017-01-23 15:23:11 +01:00
Ralf Becker
f8a3bd8e34 fix typo causing filtering by group-distribution-list to fail 2017-01-23 11:27:44 +01:00
Ralf Becker
bb7fb1abf8 * Addressbook/Mail: allow to use groups as (readonly) distribution lists 2017-01-23 11:17:02 +01:00
nathangray
74c48e0592 Custom fields can be at the start of the content 2017-01-19 10:53:53 -07:00
nathangray
6ed24454f9 Allow expansion of custom fields when merging to include fields from other apps
eg: {{#other_app/#addressbook_cf/n_fn}}
2017-01-19 10:53:53 -07:00
Hadi Nategh
a3562129b0 W.I.P of SMIME support for mail application:
- Resolve smime p7b attachment and translate it to PEM format
- Assign a button to show the message is signed plus handler for showing the certificate
- Fix Smime class to only use php openssl extension
2017-01-19 18:52:44 +01:00
nathangray
845a1ec3e7 Added a checkbox for 'save as infolog' when merging multiple contacts into an email document. 2017-01-19 09:36:38 -07:00
Hadi Nategh
e992b9991d W.I.P of SMIME support for mail application 2017-01-18 19:03:29 +01:00
nathangray
f8be81e17f Clear instance singleton on destruct
Allows for unit testing
2017-01-11 15:46:12 -07:00
nathangray
5e13b8dfda - Some nicer messages when things go wrong
- Reset account backend after test
2017-01-11 15:41:53 -07:00
nathangray
a5f45e2bfa Fix some translation problems reported by Stefan Unverricht 2017-01-10 09:30:00 -07:00
Hadi Nategh
1eff570926 Consider whitespaces when trying to translate <, >, <= and >= signs in HTML:
- Fix some mails get cut off after switching to plain-text mode
2017-01-09 16:57:30 +01:00
nathangray
775ef84867 Fix namespace 2017-01-06 11:21:38 -07:00
nathangray
b439bb2b5c - Re-initialize Config on each start, since it doesn't happen normally
- Better error message for if login fails
2017-01-06 10:39:16 -07:00
nathangray
f8b57077fb A start on some automatic testing for apps
- use 'phpunit -c doc/phpunit.xml' to run tests
 - extend api/src/test/AppTest.php to write application tests
2017-01-06 10:39:16 -07:00
Hadi Nategh
c7089cadd9 Revert unintentional changes to mrconfig and ContentSecurityPolicy from commitacdf079fb180490d8659fad0f4c20dd74ea78503 2017-01-05 15:04:53 +01:00
Hadi Nategh
acdf079fb1 * Etemplate: Fix error "Etemplate\Api\Auth not found" happening while to login 2017-01-05 14:59:20 +01:00
Hadi Nategh
b91560f79c Fix collab editor fails to open files with spaces in their names 2017-01-04 14:42:17 +01:00
Hadi Nategh
fdad5d0fcf Add src attribute as an option to iframe widget 2017-01-04 11:57:31 +01:00
Ralf Becker
dc84982a55 * CalDAV/CardDAV: send unchange REALM for "bad login or password" to allow storing credentials 2017-01-04 10:18:34 +11:00
nathangray
9f8c5af937 Avoid an error in etemplate2 if content is not set 2016-12-21 15:36:13 -07:00
Hadi Nategh
2d1bb1ecc3 Another patch to previous commit in order to cover empty space 2016-12-12 10:20:46 +01:00
Hadi Nategh
760bd4106f * 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 09:35:52 +01:00
Ralf Becker
d4a64babbd fix PHP 5.4 Fatal error: Can't use function return value in write context 2016-12-08 16:22:54 +01:00
nathangray
fbba0f2e59 - Fix a bug in print dialog, clicking header was also toggling first checkbox
- Missing translations from Stefan Unverricht
2016-12-06 09:45:55 -07:00
Hadi Nategh
23aea3864c Keep allowExternalIMGs preference intact and use an explicit preference for allowed domains 2016-12-02 10:09:56 +01:00
nathangray
aad82affa1 Handle re-loading an app with the URL query parameters so it actually gets reloaded, since its internal state may have changed since the initial load 2016-12-01 11:20:25 -07:00
nathangray
db71f7660f Reduce translation duplication - use a single common message for entry copied 2016-11-24 10:30:36 -07:00
Hadi Nategh
6ed3b92298 Work in progress of mail external image handler:
- Fix styling
- Add handler for mobile and display
2016-11-24 14:35:54 +01:00
Hadi Nategh
5fb70c77ab Work in progress of mail external image handler 2016-11-23 18:52:43 +01:00
nathangray
ed6069aa4d * Infolog: Add a context menu action to view a list of linked timesheets 2016-11-22 11:41:51 -07:00
Hadi Nategh
9c2d7abd55 Implement avatar readonly widget 2016-11-18 14:50:58 +01:00
Ralf Becker
df58b405af ignore empty signatures and email, identity_name needs mail-account data to 2016-11-18 14:48:17 +01:00
Ralf Becker
f7b7bc8155 script returning all signatures of authenticated user for eM Client 2016-11-18 14:01:41 +01:00
Hadi Nategh
d9031c4c2e Implement tooltip preview for mime types icons which have preview content available 2016-11-17 11:36:26 +01:00
Ralf Becker
6d472b1592 use openssl_random_pseudo_bytes, if available, to generate etemplate_exec_id, as it is used for CSRF protection too 2016-11-17 11:09:30 +01:00
nathangray
a15aa412e2 Attempt to fix redirects to invalid /index.php 2016-11-16 09:20:03 -07:00
Ralf Becker
6a31d2462a fix identities from aliases or imap-user without @ shown with empty label, if name is empty 2016-11-14 13:43:05 +01:00
Ralf Becker
b38542439a if webserver_url does not match eg. because of proxying, fix it 2016-11-14 13:43:05 +01:00
Hadi Nategh
ad2c3674e5 A hack to fix jumping cursor issue of wodoeditor 2016-11-10 14:12:51 +01:00
Klaus Leithoff
e9155a000b * Mail/Z-Push: handle charset-problem on sending mails with added EGW-Signature 2016-11-10 12:50:51 +00:00
nathangray
8ecc188fd7 Customfields required bugs
- Load attributes from modifications array, were previously ignored
- Remove double required check, actual field widget should handle it
2016-11-07 09:22:33 -07:00
nathangray
c330df915f Avoid JS error if value is undefined 2016-11-07 09:15:49 -07:00
Ralf Becker
c20ee5575d allow to use Api\Contacts::search() without Acl check 2016-11-07 09:26:14 +01:00
Ralf Becker
b46fea5c89 * Filemanager: DB schema update to remove doublicate rows for WebDAV properties on update, caused eg. excessively by OneNote 2016-11-03 19:09:33 +01:00
nathangray
1764ee826c Fix some missing / incorrect translations, found & tranlated by Stefan Unverricht 2016-11-02 09:30:39 -06:00
Ralf Becker
2d35e890fd remove permantent error_log on restore of egw_cal_dates 2016-11-02 14:28:34 +01:00
Ralf Becker
16689ebc27 fix use of old egw class in favor of new Api\Egw 2016-11-02 09:38:37 +01:00
Ralf Becker
225bc0bbc2 fix searching for "group" reveals groups normally hidden by forced account-selection pref "groupmembers" or "none" 2016-10-31 18:46:59 +01:00
Ralf Becker
8040fa49ec remove Exception type, to not get a Type error when PHP 7+ throws an Error 2016-10-31 18:29:32 +01:00
Ralf Becker
dbae12260b fix setting alias and forwards, allow to add/remove from existing ones 2016-10-31 15:41:52 +01:00
Ralf Becker
74e2c62b48 * Admin/Mail: allow to limit users to only create identities for aliases 2016-10-28 14:27:59 +02:00
Hadi Nategh
6038936cef Fix wodocollabeditor conflicts with other libraries because of global require and define AMD modulation 2016-10-27 18:47:02 +02:00
Hadi Nategh
3b76072885 Revert changes of local definition of define variable, because they no more conflict with wodocollabeditor 2016-10-27 18:43:41 +02:00
nathangray
017e45ffd4 Fix some missing / incorrect icons
- Addressbook advanced search was from default
- Add favorite dialog had no icons on buttons
- All dialogs using standard button sets were either missing or from default theme
- Mail confirm all was missing Yes icon
2016-10-27 09:04:47 -06:00
Hadi Nategh
84207e9a5a Keep the default behavior for opening tel-url and make call_popup felixable to be able to get target 2016-10-27 14:17:42 +02:00
Hadi Nategh
b59b44d29d Open phonecall window target as _self instead of new tab 2016-10-27 11:07:59 +02:00
Ralf Becker
a23ab6a9fb * Addressbook/LDAP: fix error if egroupware-epl-compat (old API) not installed 2016-10-27 10:51:47 +02:00
nathangray
648b6fd759 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-10-24 09:21:57 -06:00
Ralf Becker
e989d079d6 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:21:40 +02:00
Ralf Becker
ab79e193ec * Mail: show validation error if local part (before @) of email-address contains non-ascii chars 2016-10-20 12:29:56 +02:00
Ralf Becker
3372e1b1c2 * Mail: show which email address has a wrong format when pasting multiple ones 2016-10-20 11:47:09 +02:00
Ralf Becker
ad059b81e7 add missing traversable-test mentioned by Scrutinizer 2016-10-20 10:17:20 +02:00
Ralf Becker
2fbafeaa27 add missing false-test mentioned by Scrutinizer 2016-10-20 09:50:57 +02:00
nathangray
0ca2094e2e Fix some email addresses would not pre-fill address if you created a new contact from mail view From field 2016-10-19 09:00:55 -06:00
Ralf Becker
c2d1fe6d50 only check vfs for templates, if /etemplates is mounted 2016-10-19 16:44:04 +02:00
Ralf Becker
ae712ff8a1 * 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:02 +02:00
Klaus Leithoff
7588c9a493 rework of fix for problem regarding send with bcc when using esync 2016-10-19 10:01:38 +00:00
nathangray
f71131d28d Change double-click to auto-size column based on current contents, to only work for fixed width columns. Relative (flex) width columns now just show a message as it was difficult to get them to properly size without weird side effects, especially with 2 relative width columns displayed. 2016-10-18 09:23:13 -06:00
Klaus Leithoff
c47d8a26c3 * Mail: fix problem regarding send with bcc when using esync 2016-10-18 13:59:32 +00:00
Ralf Becker
a81442373c fix typo 2016-10-13 17:58:27 +02:00
Ralf Becker
30cf772c4d 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 17:54:58 +02:00
Ralf Becker
9b4d727eb0 * All apps/History: fixed history tab shown empty in default (minimal) installation 2016-10-12 17:50:32 +02:00
nathangray
aa03aab010 Bind double-click to auto-size column based on current contents. 2016-10-11 16:00:01 -06:00
Ralf Becker
6e1429d833 change to just "Powered by EGroupware <version>" 2016-10-08 14:46:25 +02:00
Hadi Nategh
c3fb98f3c1 Try to correct ckeditor references point to vendor directory 2016-10-07 12:15:03 +02:00
Ralf Becker
315ceed672 error_log if calendar can not send notifications 2016-10-06 19:09:40 +02:00
Hadi Nategh
57349e6386 Remove spellchecker lang from preferences 2016-10-06 18:30:37 +02:00
nathangray
fa8f53e6d4 Fix VFS ajax uploads did not work if path needed expansion 2016-10-05 16:13:31 -06:00
nathangray
19a67b92fd Fix legacy options were not parsed if the first one was empty
eg. ,,,legacy,option
was not parsed
2016-10-05 16:13:31 -06:00
nathangray
8ada656d56 Fix js errors if readonly 2016-10-05 16:13:31 -06:00
Hadi Nategh
69ce664000 Fix some of content in mails with specific html formats get removed by HtmLawed's balance 2016-10-05 17:13:07 +02:00
Hadi Nategh
93f3826259 Update HTMLawed into version 1.1.22 2016-10-05 16:18:06 +02:00
Ralf Becker
fc086c56cd 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:47:24 +02:00
Ralf Becker
dbb07961f6 allow to specify a subdirectory in attach_file as part of $file[name] parameter 2016-10-04 10:49:55 +02:00
nathangray
3da08fa7a1 Make sure category data is an array before looking inside it, avoids warning if it is not 2016-10-03 09:58:59 -06:00
Hadi Nategh
d3467b49e7 Implement fav_filter icon base on template 2016-09-29 12:06:40 +02:00
Hadi Nategh
92dbf0dbe1 Remove text-shadow from et2_buttons 2016-09-29 11:05:51 +02:00
Hadi Nategh
8d5f2c45b4 Add missing attach icon in jdots template 2016-09-28 16:07:16 +02:00
Ralf Becker
adaeabe592 fix wrong namespaced Exception: \DateTime throws \Exception 2016-09-28 11:17:19 +02:00
Ralf Becker
76c83eb2a9 allow to specify multiple cat_id's 2016-09-26 14:35:52 +02:00
Ralf Becker
e467b48fea allow to import without acl-check and setting modifier 2016-09-26 11:40:02 +02:00
Ralf Becker
d99a283929 fix old class names in docu 2016-09-26 09:27:52 +02:00
Hadi Nategh
56df11b5da * Mobile template: Close sidemenu after clicking on items in sidebar 2016-09-21 17:39:51 +02:00
Hadi Nategh
83de4986c8 Fix inline images of compose do not get stored as links into integrated applications like infolog, tracker or calendar 2016-09-21 15:52:50 +02:00
Hadi Nategh
3b413f7caf WIP avatar widget:
- Add icon for rotate left button
- Fix misalignment of fileupload widget in dialog
2016-09-19 16:08:43 +02:00
Hadi Nategh
8da2404279 Mobile template:
- Show fav icon when it's available
- Fix delete_action does not get removed after the row is deleted or deselected
- Fix some alignments for mail list header
2016-09-19 12:23:16 +02:00
Hadi Nategh
69604cb633 Another try to fix base_url for print_dialog template. Seems it's necessary to keep the template_base_url untocued, because template_base_url gets calculated everytime when an et2 instance loads a template. 2016-09-15 11:50:18 +02:00
Hadi Nategh
16992899d4 Let egw.link takes care of the base url. Fix sometimes nm_print_dialog template runs into CSP error 2016-09-14 15:09:32 +02:00
Hadi Nategh
1cca4183c9 WIP avatar widget:
- Implement upload and delete of contacts photo
- Add missing cropper stylesheet
2016-09-13 17:30:52 +02:00
nathangray
c2bd221ae0 Silence debug error log 2016-09-13 08:07:52 -06:00
Ralf Becker
9b09267e0b * Calendar/CalDAV: update or removal of (managed) attachments via CalDAV failed 2016-09-13 15:55:55 +02:00
Ralf Becker
4bf26a6c52 Vfs::rename() is supposted to be static, quitens warning that it is used static 2016-09-13 13:53:05 +02:00
Ralf Becker
e82ce99537 fix SQL error happening in sync-colletion in TB caused by Db->Type == 'mysqli' and Db->group_connect returning false 2016-09-12 23:22:56 +02:00
nathangray
7afd7e420b Better version of optgroup fix to still allow additional data (title, color) in option entries 2016-09-12 10:42:12 -06:00
nathangray
dee0caa875 Fix validation of select values in an optgroup always failed 2016-09-12 08:40:48 -06:00
Hadi Nategh
e231ac86cf WIP of implementing cropping avatar photo 2016-09-12 16:23:57 +02:00
Hadi Nategh
7de7af4cc1 Implement position attribute for widget dialog 2016-09-12 16:00:14 +02:00
nathangray
4dcb415f44 Try to fix redirects from AJAX calls to static methods 2016-09-09 10:27:33 -06:00
Hadi Nategh
676148ba94 Implement client-side validation check for date_duration in order to catch check the validity right after entry before submit. 2016-09-09 15:46:13 +02:00
Hadi Nategh
aff9f0eba8 Fix Ctrl+A in context menu does not get translated 2016-09-09 12:54:52 +02:00
Hadi Nategh
f98674b164 Implement step attribute for date_duration widget. Seems FF needs step to be set to be able to distinguish valid or invalid decimal input format (eg. 1.5 or 1,5) 2016-09-08 17:28:50 +02:00
Hadi Nategh
ea30baf1a3 Fix syntax issue caught by Travis which happens only for php versions older than 5.6 2016-09-08 10:10:49 +02:00
Hadi Nategh
84da56ede8 WIP avatar widget:
- Implement editable option to be able to do some action on hover over
2016-09-07 17:27:47 +02:00
Hadi Nategh
50328495a9 WIP of avatar widget: Implement client-side avatar widget 2016-09-05 17:21:14 +02:00
Hadi Nategh
cc278e0d17 WIP of letter avatar generator:
- Use hash system to pick always the same color for given user
2016-09-05 12:50:04 +02:00
Ralf Becker
4a25a4a1d3 * App apps: async notifications were not using SMTP only account, but personal one with unavailable session password 2016-09-02 18:12:04 +02:00
Hadi Nategh
c3583dbb3c WIP of letter avatar generator 2016-09-02 17:33:55 +02:00
Ralf Becker
d4ce9fce91 enhance filesystem check to also check fs_id of required nodes /, /home, /apps 2016-08-31 19:03:48 +02:00
Hadi Nategh
e0199278c8 Fix printing does not get background and images into account 2016-08-31 14:26:26 +02:00
Hadi Nategh
d8761441b1 * Mail: Fix pdf attachments do not get downloaded in mobile template 2016-08-31 12:10:26 +02:00
Ralf Becker
4b614c91ed * Filemanager: fix missing symlink overlay on mime-icon 2016-08-29 19:42:49 +02:00
Ralf Becker
4cd0d35ff7 possible fix for deactivated / or /apps 2016-08-29 17:14:48 +02:00
Ralf Becker
ef5b160fdd fix for PHP Warning: Illegal string offset 'to_id' in api/src/Etemplate/Widget/Link.php on line 327 2016-08-29 13:50:13 +02:00
Ralf Becker
026fd08125 Sqlfs::mkdir is no longer static, fixing some left over static calls 2016-08-29 13:42:57 +02:00
Ralf Becker
a6189bf9b9 Sqlfs::mkdir is no longer static, fixing some left over static calls 2016-08-29 12:56:35 +02:00
Ralf Becker
c474df28fb fix Scrutinizer bug: Api\Etemplate\Exception does not exist (missing \Exception) and remove old non-static stuff from Api\Etemplate\Widget::setElementAttribute(), as $this is allways unset for methods declared static 2016-08-28 12:51:19 +02:00
Ralf Becker
54bfaeb988 fix Scrutinizer docu bug: Api\Etemplate\Request\Files::__construct($id) $id is not array but string|null 2016-08-28 12:51:19 +02:00
Ralf Becker
8d2d4ef3dd fix Scrutinizer docu bug: Api\Etemplate\Request\Files::__construct($id) $id is not array but string|null 2016-08-28 12:51:19 +02:00
Ralf Becker
4e15b70373 fix Scrutinizer docu bug: Egw::setup() need to support null for $domain_names parameter 2016-08-28 12:51:19 +02:00
Ralf Becker
4dbd49d285 fix Scrutinizer docu bug: Api\Db has no more support for Halt_On_Error attribute 2016-08-28 12:51:19 +02:00
Ralf Becker
bcec596fff fix Scrutinizer docu bug: get_backend returns Sql|Ldap|Ads|Univention backend 2016-08-28 12:51:19 +02:00
Ralf Becker
056e0f97d2 fix Scrutinizer bug: replace new ldap (wrong namespace) with Api\Ldap::factory() 2016-08-28 12:51:19 +02:00
Ralf Becker
6c6f9eae7a fix Scrutinizer bug: non-existing Api\Api\Db\Exception\InvalidSql and delete_list accepts array of list-ids, while check_list does not 2016-08-28 12:51:19 +02:00
Ralf Becker
52ca45a228 fix Scrutinizer bug: remove non-static usage as it gives a PHP Fatal anyway, since Config::save_value() is declared static 2016-08-28 12:51:19 +02:00
Ralf Becker
9082a799e2 fix Scrutinizer docu bug 2016-08-28 12:51:19 +02:00
Ralf Becker
9f073b4c4c fix Scrutinizer bug: get_path only allows array as parameter (calendar&infolog allow int / just the id too) 2016-08-28 12:51:19 +02:00
Ralf Becker
6903ab0f12 fix Scrutinizer bug: missing required parameters 2016-08-28 12:51:19 +02:00
Ralf Becker
2ec05f8936 fix Scrutinizer docu bug 2016-08-28 12:51:19 +02:00
Ralf Becker
d2e05d5a41 fix Scrutinizer bug: Api\Auth\Exception does not exist 2016-08-28 12:51:19 +02:00
Ralf Becker
b400f38b75 fix Scurtinizer bug by explicitly returning $other_cronlines instead of not declared class var 2016-08-28 12:51:19 +02:00
Ralf Becker
87f54ac14f fix Scurtinizer bug 2016-08-28 12:51:19 +02:00
Ralf Becker
3a6be10253 * Calendar: use proxy config from setup >> configuration to download holiday calendars 2016-08-26 14:00:12 +02:00
Ralf Becker
6b7d046564 * All apps: default preferences wont save because merge-print template directory does not exist
creating /templates/$app now via update-script, if it does not already exist, it was already created for new installation and for EPL
2016-08-25 18:16:03 +02:00
nathangray
286c730d08 Allow children for paste actions automatically pulled from drop actions 2016-08-24 14:28:55 -06:00
Ralf Becker
1088278b37 no need to call accounts class, if we have no id 2016-08-24 19:43:37 +02:00
nathangray
a5b31c62ab Add ISO 8601 (Y-m-dTH:i:s) format to list of checked date formats when importing to catch double parsed dates 2016-08-24 08:22:17 -06:00
Ralf Becker
e724752600 remove deprecated use of read without id (1. parameter) to accounts class in phpgwapi 2016-08-24 16:10:52 +02:00
Ralf Becker
afa17b8236 fix PHP Fatal Call to a member function update() on null 2016-08-24 13:06:06 +02:00
Ralf Becker
6a4c89d61a * Mail: iCal attachments are shown as such, only meeting requests trigger calendar interface with accept/reject buttons 2016-08-23 17:22:55 +02:00
Hadi Nategh
b7eb55f6fa W.I.P. collab editor:
- Make all editors options available
- Add viewOptions available for configuration
- Disable active avatar by default
- Some styling for member's list, member's marker and avatar
- Add mobile template for editor
2016-08-23 12:29:49 +02:00
nathangray
7abf44c6a3 Add actions (Add) for blank parts of planner view 2016-08-22 09:39:09 -06:00
Ralf Becker
224c4ce446 * Admin/Mail/ProjectManager: add missing tree images for Stylite template 2016-08-22 13:01:36 +02:00
Ralf Becker
a8268adfb5 fix enhanced (multi-)select boxes in old eTemplate where broken and displayed only as regular select-boxes 2016-08-19 16:47:33 +02:00
Ralf Becker
845f9aee36 fix CSP error in nextmatch print, if EGroupware is installed direct into docroot
et2.template_base_url == '/' generates url //api/templates/... which is a protocol independent representation of domain api and not identical to /api/templates
2016-08-19 14:54:43 +02:00
Hadi Nategh
65b331749d Fix "From" field in mail display always get abbreviated 2016-08-18 18:57:06 +02:00
Ralf Becker
b6c5ad31db log menuaction of eT2 requests, instead of eT2 itself, to do so move update of access-log to destructor of Session class 2016-08-18 13:05:51 +02:00
Ralf Becker
f1f8c4e98d * Filemanager/WebDAV: generally deny user to delete directories /, /home, /apps, /templates (last 2 incl. subdirectories) 2016-08-18 10:04:36 +02:00
nathangray
73dbaa0dfb Preserve link order set by application 2016-08-17 10:52:45 -06:00
Ralf Becker
94bc949cfa * All apps: symlink files to not yet saved entries were not working 2016-08-17 16:05:26 +02:00
Hadi Nategh
704a47a182 W.I.P collab Editor:
- Fix collab editor define global variable conflicts with some other libraries which use define global
2016-08-16 12:52:26 +02:00
Hadi Nategh
a64adb19e6 Fix app.js files included in wrong order 2016-08-16 11:13:11 +02:00
Ralf Becker
9e0ff222f2 missed passing $append parameter to include_modules 2016-08-15 18:55:29 +02:00
Ralf Becker
c3a8012408 adding documented, but never implemented $append parameter to Framework::includeJS 2016-08-15 18:35:26 +02:00
Ralf Becker
a8e1980a15 * Addresssbook: fixed category tree looses unavailable categories (eg. private categories of other users) 2016-08-15 18:22:38 +02:00
Hadi Nategh
55c0122155 W.I.P collab editor:
- Add isDocumentModified method to wodocollabtexteditor
2016-08-15 17:18:35 +02:00
Ralf Becker
afafc8ccba calling (static) EGroupware\Api\Vfs::chown instead of using old egw_vfs not available in minimal install in account::deleted hook when moving home directory to /home/$new_user/old-home-$old_user 2016-08-15 15:43:34 +02:00
Ralf Becker
f3649bf021 fix PHP Fatal from old code using EGW_API_INC, that should point to old api and usage is decrecated in favor of autoloading anyway 2016-08-12 11:25:20 +02:00
Ralf Becker
780d35c096 add not yet detected unicode in name-part of email, like "zero width space" 2016-08-12 11:22:56 +02:00
Ralf Becker
bd24602a42 * Filemanager: fix not working changing owner or group of a file/directory (as root!) 2016-08-12 09:29:40 +02:00
Ralf Becker
ac45503630 Handle recursive directory creation in vfs layer, as not all underlaying
wrappers, eg. smb(client), support it themselfs
2016-08-12 08:49:06 +02:00
Ralf Becker
78893ad901 * Filemanager: fix PHP Fatal error when changing ownership or permissions 2016-08-11 22:39:35 +02:00
Ralf Becker
25b7334017 pending translations from our translation server, thanks to Illias and others 2016-08-10 08:55:21 +02:00
Ralf Becker
281c6d8761 * Mail: fix lost mail account password on user password change 2016-08-09 14:05:51 +02:00
Ralf Becker
4315999573 use Etemplate\Widget::registerWidget, not some third class extended from Etemplate\Widget, as that might screw up autoloading if it happes to create a circle 2016-08-09 10:11:29 +02:00
Ralf Becker
7822f84943 * PostgreSQL/Setup: fix SQL error in Backup or update: Invalid SQL: SELECT * FROM egw_pm_members
ADOdb drive for PostgreSQL requires 2. parameter for RowLock, while MySQL(i) defaults to all rows
2016-08-09 09:31:36 +02:00
Ralf Becker
674db7912e try fixing error in installtion in Travis using Postgres during admin account creation 2016-08-06 12:41:20 +02:00
Ralf Becker
ee468f40ff try creating egroupware database for postgres with psql, as creating it through SQL seem not to work in Travis 2016-08-06 11:10:28 +02:00
Ralf Becker
b26e102ded debugging db creation in Travis for postgres 2016-08-06 10:54:33 +02:00
leithoff
a41896f802 fix charset/transfer encoding issue when sending plain ascii mails but adding utf-8 signature 2016-08-05 15:12:21 +02:00
Hadi Nategh
60c34e5881 W.I.P of collaborative odf editor:
- Define ServerFactory for egw collab
- Revert unintentional commits on Server.js
2016-08-05 12:41:11 +02:00
Ralf Becker
e65812d07d * Admin: fix email address for groups could not be stored for accounts in SQL 2016-08-03 18:24:14 +02:00
Hadi Nategh
5917a70dcc W.I.P of collaborative odf editor:
- Add wodocollabtexteditor library
2016-08-03 18:16:20 +02:00
Ralf Becker
a4dc1b67bb * Api/Filemanager: add mime icons to minimal install 2016-08-03 17:20:41 +02:00
Ralf Becker
a72db03fdb * EPL/Filemanager: fix PHP Fatal using file-a-file dialog (upload with setting eg. a comment) 2016-08-03 15:26:30 +02:00
Ralf Becker
f43369973d do NOT write install_id twice, it is already generated in setup_process::save_minimal_config 2016-08-02 18:41:14 +02:00
nathangray
a2a956005e Add tooltip to datepicker Today button 2016-08-02 09:30:36 -06:00
Ralf Becker
7dde8d0938 fix not working removing of directories and changing group ownership 2016-08-02 12:19:23 +02:00
Hadi Nategh
9d1fca0710 Make sure html property of html object in egw_seperateJavascript is type of string 2016-08-02 12:17:16 +02:00
Ralf Becker
a2439dec02 fix "PHP Fatal error: APCuIterator::__construct(): APC must be enabled to use" in setup-cli 2016-08-02 11:42:37 +02:00
Ralf Becker
2a4535be58 fix PHP Fatal error: Class 'EGroupware\Api\Vfs\Config' not found 2016-08-02 10:19:13 +02:00
Ralf Becker
71a384798f fix PHP Strict Standards: Only variables should be assigned by reference 2016-08-02 10:16:31 +02:00
Ralf Becker
ad5cf7abfe move old schema tests to api/src/Db/test/, not (yet) running via phpUnit/Travis 2016-08-01 13:58:06 +02:00
Ralf Becker
ba18f3f594 allow eg. unit-tests to set/change schema used by db class: Db::set_table_definition() 2016-08-01 13:34:25 +02:00
Ralf Becker
c033435122 fix RenameTable for PostgreSQL to only use old logic, if we still have an old sequence, and if old logic is used, set sequence value 2016-08-01 13:32:43 +02:00
Ralf Becker
27468f0dac fix PHP Warning: filemtime(): stat failed for phpgwapi/setup/setup.inc.php 2016-07-31 10:29:52 +02:00
Hadi Nategh
37cc46a252 * all apps: Fix vfs upload button does not work in link tab 2016-07-29 12:45:41 +02:00
Ralf Becker
d3043c2a45 * Templates: disable old idots and jerryr template, as new calendar does not work with them 2016-07-29 11:55:41 +02:00
nathangray
474e32db67 Slightly more intelligent detection of plain text fields in a document that has HTML parsing turned on 2016-07-28 14:14:20 -06:00
Ralf Becker
f6f3b89f8b * Filemanager/EPL: fix broken notification / subscription to folders
Do not check for (no longer existing) $GLOBALS[egw]->hooks but for no class setup_process, to not call them during install or update.
2016-07-28 15:10:39 +02:00
Ralf Becker
e3bdf129dc fix Travis error for HHVM 2016-07-28 13:51:47 +02:00
Ralf Becker
96caf6effd * Admin/APC(u): fix error in clear cache: if APC(u) runs out of memory clearing just instance cache clear whole cache 2016-07-28 12:02:21 +02:00
Ralf Becker
86823a7e8c make is-directory check more robust, by checking for PHP's directory-mode / Sqlfs::DIR_MODE too, not only for mime-type which is set eg. by stylite.links to "egs/$app" 2016-07-28 11:11:34 +02:00
Ralf Becker
9c13d84a67 define Vfs::LINK_MODE constant again, since we no longer inherit from Vfs\StreamWrapper 2016-07-28 10:05:14 +02:00
Ralf Becker
015ed03bb6 fix cant attach files, if none have been attached to an entry before: Sqlfs\StreamWrapper::mkdir('/apps/calendar/123',0,1) already exist! 2016-07-28 09:40:23 +02:00
Ralf Becker
6ba07ef64b fixed SQL error caused by sql_mode ONLY_FULL_GROUP_BY under MySQL 5.7+ in VFS file-system-check 2016-07-28 09:11:38 +02:00
Hadi Nategh
e45925b063 * All apps: Add a counter indicator for selected entries in a list in mobile template 2016-07-27 11:34:07 +02:00
Ralf Becker
6496f33da6 fix PHP Fatal error: Access to undeclared static property: EGroupware\Api\Vfs\StreamWrapper::$is_root 2016-07-27 11:09:07 +02:00
Ralf Becker
ffa5b37776 fix not working forced password change on login page with fallback auth 2016-07-27 10:19:48 +02:00
Ralf Becker
28cddb8e64 * Api: fixed not working HTTP authentication 2016-07-26 17:07:42 +02:00
Hadi Nategh
09e6d56bf5 * All apps: Fix styling glitches for search links dropdown 2016-07-26 17:05:45 +02:00
Ralf Becker
be08b46767 * eMail/UCS: fix setting of mailbox ACL for IMAP login-type "email" 2016-07-26 14:51:18 +02:00
Ralf Becker
f0a739d7ed * LDAP: fix not working password change by user 2016-07-26 08:47:31 +02:00
Hadi Nategh
693bf4d0a8 Fix filemanager document editor does not respect page size format 2016-07-25 18:29:34 +02:00
Ralf Becker
a0d419a145 log execeptions happening during mergeprint for easier debugging 2016-07-25 14:53:30 +02:00
Ralf Becker
a4d39d5873 fix etemplate2.postSubmit() to not destroy any eT2 session, by unbinding window.onbeforeunload and rebinding it again after 100ms
Before postSubmit was unbinding only if current etemplates destroy_session was bound and causes so an other etemplates session_destroy to fire.
postSubmit now allways rebinds the session_destroy handler of current etemplate assuming it is only used for downloads, where current etemplate (and session) should persist.
2016-07-25 12:55:11 +02:00
Ralf Becker
4b58e87080 fix not working symlinking vfs files to infologs/links, fixed multiple PHP deprecated should not call non-static self::url_stat static 2016-07-22 18:22:46 +02:00
nathangray
3b1ce04608 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
2016-07-21 12:51:32 -06:00
Ralf Becker
fefc2b5f88 fix PHP Fatal error: Call to undefined function EGroupware\Api\Vfs\Sqlfs() 2016-07-21 18:35:58 +02:00
Ralf Becker
6108123fe7 fix PHP Fatal in propatch 2016-07-21 17:43:28 +02:00
Hadi Nategh
dd85a52645 Fix file upload progress doesn't show up on hover over 2016-07-21 16:19:29 +02:00
Hadi Nategh
2cea60b0aa Fix et2 dialogs' buttons sometimes get weird styling 2016-07-21 15:32:52 +02:00
Hadi Nategh
5c3bd11366 Take yyyy-mm-ddThh:mm:ss.s format into account for date widget.
- Fix Date widget doesn't let iOS html native datetime-local input set a value
2016-07-21 14:28:46 +02:00
Ralf Becker
45c272dac2 make Vfs\StreamWrapper::symlinkCache_remove public, to allow calling from Vfs 2016-07-21 12:15:54 +02:00
Ralf Becker
d26d1dd7f8 fix rename and load_wrapper missing in Vfs class 2016-07-21 11:17:01 +02:00
Ralf Becker
58d2e49843 fix two more cases in which "show_generation_time" is queried and should never trigger a request to server, see 1c6c930312 2016-07-21 10:51:17 +02:00
Ralf Becker
52be4ee14b implement PHP 5.4+ stream_metadata method for VFS, allowing to use that functionality from other stream-wrappers like php-smbclient 2016-07-21 09:51:36 +02:00
Hadi Nategh
f9e7a06bca Open Office Editor W.I.P:
- Implement create new document
- Add select file dialog for saving a newly created doc
2016-07-20 17:30:59 +02:00
Hadi Nategh
71acd96080 Open Office Editor W.I.P:
- Get regex of odf mime type into widget context to be able to use it for all expose derived widgets
2016-07-20 17:30:59 +02:00
Hadi Nategh
8434c3051f W.I.P. of implementation and integration of open office document editor (.odt) with file system 2016-07-20 17:30:59 +02:00
Hadi Nategh
6d09028960 Remove not used library from api 2016-07-20 17:30:59 +02:00
Hadi Nategh
956d4606cf Evaluate show_generation_time preference value before calling for pageGenTime 2016-07-20 17:30:59 +02:00
Hadi Nategh
d8ec2ccb23 Fix chosen touch events handler to get it working for both iOS and Android 2016-07-20 17:29:50 +02:00
Ralf Becker
1c6c930312 if "common" prefs are not loaded, do not display page generation time
Before we queried page_generation_time common preference without a callback, which send a synchronious request to server to fetch common preferences, when it returned it looked for the preference again and send the next synchronious request to the server, in an infinit loop. Now setting _callback parameter of egw.preference() to false, just returns undefined, if common preferences are not yet loaded, but dont try to query them from server
2016-07-20 17:13:11 +02:00
Ralf Becker
f04dd8ace6 Vfs no longer extends Vfs\StreamWrapper, as this is the only way to keep static function signatures for Vfs class, also cleans up a bit 2016-07-19 13:29:43 +02:00
Ralf Becker
b65d87bc68 fixing our wrong static methods in stream-wrapper: unlink, rmdir, mkdir, rename and url_stat (they are not static, so PHP can pass in $context) 2016-07-19 11:59:16 +02:00
Ralf Becker
f4acec1b82 fix not working forced password change on login screen 2016-07-15 14:47:13 +02:00
Ralf Becker
f4521e3401 fix missing slash in path of adLDAP.php 2016-07-15 14:24:30 +02:00
Hadi Nategh
4c59ea9d5f Implement touch events for jquery chosen. Fix filter-categories does not work in iOS 2016-07-15 14:16:56 +02:00
Ralf Becker
29ccda8dff fix ntlm directory path 2016-07-15 13:54:39 +02:00
Ralf Becker
52d3aa70cd enable APCu for caching with >= 32M and fix post_install to patch Ubuntu-16.04 /etc/php/7.0/cli/conf.d/20-apcu.ini 2016-07-15 13:23:39 +02:00
Hadi Nategh
9d054b9437 Fix asyncIncludetime in genPageTime repeats itself into DOM instead of updating the value 2016-07-15 09:35:02 +02:00
Ralf Becker
b2ac90fec6 fix some Scrutinizer "bugs" 2016-07-15 08:17:54 +02:00
Ralf Becker
847fb38194 * NTLM: move ntlm login code from phpgwapi to api to allow NTLM login in 16.1 minimal install 2016-07-15 08:05:44 +02:00
Ralf Becker
e1f8fa7799 * ActiveDirectory: using adLDAP now from adldap2/adldap2=4.0.4 via composer 2016-07-15 07:39:53 +02:00
Hadi Nategh
eba29d3541 Create DOM node for pageGenTime data 2016-07-14 17:21:51 +02:00
Ralf Becker
630175178e mark test as skiped, if cache-provider throws Exception because missing PHP extension 2016-07-14 16:07:09 +02:00
Ralf Becker
a90087b81c send page-generation- and session-restore-time via json response not as dom fragment 2016-07-14 14:55:57 +02:00
Moritz 'Morty' Strübe
fc02e0f299 Also adjust links when migrating from Ldap to DB 2016-07-14 10:19:24 +02:00
Ralf Becker
fa70712a2f fix PHP Warning: Memcached::setOptions(): invalid serializer provided, if neither igbinary nor json serializer is available, staying with default php serializer 2016-07-13 08:56:31 +02:00
Ralf Becker
913960a1d5 fix typo 2016-07-12 20:50:19 +02:00
Ralf Becker
6cb0f0f152 making existing cache-tests available for phpunit/Travis, thought leaving old test in place as they are more performance testing 2016-07-12 16:55:11 +02:00
Hadi Nategh
d933b7f423 Fix missing dot for class name used in commit 81829c2496 2016-07-12 15:03:58 +02:00
Ralf Becker
f15b5552ad forgot to modify Link::get_data() 2016-07-12 15:00:40 +02:00
Hadi Nategh
81829c2496 Fix filter-categories in mobile template 2016-07-12 13:55:38 +02:00
Ralf Becker
943ae3612e Link::query callback needs to be called with reference as 3. parameter, passing now array with parameters instead of single parameters 2016-07-12 13:54:36 +02:00
Ralf Becker
3bc0dc60d6 fall back to Api\MimeMagic::filename2mime, if mime_content_type function is not available 2016-07-12 11:56:42 +02:00
Ralf Becker
7455cae476 * API/ProjectManager: fixed some errors caused by no longer sharing instanciated objects not designed to be shared 2016-07-12 11:37:05 +02:00
nathangray
b195d44cbf Fix common and admin translations were sometimes missing 2016-07-11 16:23:58 -06:00
Ralf Becker
3a2ac5402d need to use global namespace for non-namespaced phpunit 4.8 class PHPUnit_Framework_TestCase 2016-07-11 22:49:36 +02:00
Ralf Becker
a39935810c fix Travis errors with phpunit 4.8 under PHP < 7 2016-07-11 22:39:42 +02:00
Ralf Becker
5c33bd9bef adding a first unit test to EGroupware, plus a test runner running all test-classes in either:
$app/src/.*/test/$classTest.php or $app/test/class.$classTest.inc.php
adding test runner doc/test-cli.php to Travis
2016-07-11 21:40:02 +02:00
Hadi Nategh
791d1f1d74 Implement new representation for et2_selectbox widget of multi tags with limited single row 2016-07-11 17:24:20 +02:00
Ralf Becker
a80cb15d66 * LDAP/UCS: groups not found when searching for them eg. in custom fields (account-type=both) 2016-07-11 15:08:51 +02:00
Hadi Nategh
b1e666245a Check and ask for the notification permission if nothing yet set 2016-07-11 12:24:59 +02:00
Hadi Nategh
f01d6bc404 Add a method to egw.notification to check API availability 2016-07-11 12:01:29 +02:00
Ralf Becker
7643c9f57b display login-message depending on $_GET[cd] and whats in database/header for "login_message" 2016-07-11 09:33:46 +02:00
Ralf Becker
fa148e4c89 move check_logoutcode to Api\Framework\Login, where it is used 2016-07-11 08:52:41 +02:00
Ralf Becker
0136ed2112 fix Scrutinzer "bug" changing var imported not as reference into closure 2016-07-10 11:58:54 +02:00
Ralf Becker
0b71dd2756 replace (slower and ugly) create_function with closures 2016-07-10 11:09:21 +02:00
Ralf Becker
dbf69a79c6 * Setup/Auth: fix PHP Fatal with Sqlssl authentication (Class EGroupware\Api\Auth\auth_sql not found) 2016-07-09 09:20:00 +02:00
nathangray
8ef3dac777 German translation for long task totals 2016-07-08 10:47:37 -06:00
Hadi Nategh
30f966225f Style et2_taglist_category similar to nextmatch filter-cat 2016-07-08 12:58:15 +02:00
Ralf Becker
4f4530b98d * Admin: add used caching provider and APCu stats to "PHP Information" 2016-07-08 12:09:37 +02:00
Ralf Becker
f89142629a * eSync: fix not synced subject and other headers, after RC3 Outlook memory reduction 2016-07-08 10:34:33 +02:00
Ralf Becker
1bae5f991f grr fix typo, thanks to Travis 2016-07-08 09:09:47 +02:00
Ralf Becker
a091718807 * Restore: fix failed restore under MySQL 5.7 by temp. disabling strict mode to allow inserting zero dates 2016-07-08 08:40:44 +02:00
Ralf Becker
2c238b7071 * PHP7/ImportExport: fix different evaluation order of PHP 5 and 7 gives eg. error "Function name must be string" in wizard 2016-07-07 20:25:32 +02:00
Ralf Becker
512bc77cfd turn off permanent error_log 2016-07-07 19:54:12 +02:00
nathangray
9b80a7d133 Fix favorite delete confirm dialog header was not translated 2016-07-07 10:19:13 -06:00
Ralf Becker
1818088a88 * APCu/PHP7: fixed not used APCu under PHP7, as it has no APC compatible interface
Apcu class is basicly a copy of Apc, but as its methods are called quite a lot, I dont want to add the overhad of checking to call apc_ or apcu_ on every call, anyway APC died with PHP 5.5 so we can remove Apcu class once we no longer support PHP 5.4
2016-07-07 17:39:37 +02:00
Hadi Nategh
59f23dee5a Set more max-height for result options container in filter-cat 2016-07-07 16:59:21 +02:00
Hadi Nategh
3cac849e58 Improve styling of filter-cat in nextmatch header 2016-07-07 16:47:45 +02:00
Ralf Becker
34f4a23497 fix wrong namespace 2016-07-07 16:36:06 +02:00
Ralf Becker
9c8823cde2 fix PHP 5.4 Fatal error: Cannot create references to elements of a temporary array expression 2016-07-07 16:23:30 +02:00
Ralf Becker
26ccede602 * Mail: automatic migrate old mcrypt tripledes passwords to openssl AES on successful login 2016-07-07 16:08:35 +02:00
Hadi Nategh
ea200604fb Implement new nextmatch cat-filter including category colors 2016-07-07 15:45:14 +02:00
nathangray
2a8bc013d6 Fix Make sure customfield header widgets get finished, even if customfield widget is already done - fix the fix to finish all customfields, not just selectboxes 2016-07-04 13:32:35 -06:00
nathangray
27876aa3fb Add totals (selected, successful, skipped, failed) to long task dialog 2016-07-04 12:49:47 -06:00
Ralf Becker
d5a97279a7 * Univention: fix not working 16.1 install in UCS: Account not found! (acc_id=1) 2016-07-04 15:36:49 +02:00
Hadi Nategh
e98bf91347 Take other objects (like sel_options) from arrayMgrs into account regarding feeding content to view template 2016-07-04 14:28:39 +02:00
Ralf Becker
28c16c7d25 German translation for Abort/Skip/Retry buttons in mass mail 2016-07-04 13:57:49 +02:00
Ralf Becker
7ab213d94a remove trailing comma shown in IDE as warning 2016-07-04 12:28:01 +02:00
Ralf Becker
035593f8a6 * Template: relabeled Pixelegg template/theme to "Standard", and mobile theme for desktop to "Compact" 2016-07-04 11:47:49 +02:00
Ralf Becker
5260af7268 fix typo 2016-07-04 10:34:57 +02:00
Ralf Becker
dbb46f7574 fix Scrutinizer "bugs" 2016-07-02 13:59:49 +02:00
Ralf Becker
b0803c76b6 fix Scrutinizer "bugs" 2016-07-02 12:11:52 +02:00
Ralf Becker
22b62aa168 fix Scrutinizer "bugs" 2016-07-02 11:57:26 +02:00
Ralf Becker
8c6193d22f fix Scrutinizer "bugs" 2016-07-02 11:53:40 +02:00
Ralf Becker
72c22fbd44 fix Scrutinizer "bugs" 2016-07-02 11:47:25 +02:00
nathangray
2615837137 Make sure customfield header widgets get finished, even if customfield widget is already done.
Fixes addressbook switching from 'All contacts' to organization and back loses customfield headers
2016-07-01 13:05:16 -06:00
nathangray
a2d1131aa5 Add an Abort / Retry / Skip prompt for long task when one fails 2016-06-30 15:47:32 -06:00
leithoff
92cc79f20b fix the fix 2016-06-30 11:05:10 +02:00
Ralf Becker
5e470912b9 reworked about text a bit for 16.1 2016-06-30 10:29:15 +02:00
leithoff
da8ead2704 fix error in common lang file 2016-06-30 09:47:38 +02:00
Ralf Becker
efccc70eb3 revert 41b5de825d: disable scrolling too, when in seamless mode, as it prevents iframe content from being scrolled to the bottom, if that content does not implement any other means of scrolling 2016-06-30 09:06:06 +02:00
Ralf Becker
82c4eecfa3 change wording of error message on server-side ajax requests 2016-06-28 20:40:11 +02:00
nathangray
d60596cb43 Add tooltip explaining do not notify flag 2016-06-28 09:17:05 -06:00
Ralf Becker
6efd436a75 need to switch ONLY_FULL_GROUP_BY of for MySQL >= 5.7 2016-06-28 13:43:11 +02:00
Ralf Becker
f4dc9ebc3b * MySQL/Ubuntu 16.04: switch off sql_mode ONLY_FULL_GROUP_BY enabled in MySQL 5.7+ 2016-06-27 20:26:48 +02:00
nathangray
41b5de825d Hide iframe scrollbars too when seamless is on, hides scrollbars in Admin - Global categories 2016-06-27 10:53:50 -06:00
Ralf Becker
9aa98a46a5 fix some scrutinizer "bugs" 2016-06-26 19:44:53 +02:00
Ralf Becker
0a2b30f275 fix some scrutinizer "bugs" 2016-06-26 19:44:53 +02:00
Ralf Becker
ada94b8d43 fix some scrutinizer "bugs" 2016-06-26 19:44:53 +02:00
Ralf Becker
d11405205c fix some scrutinizer "bugs" 2016-06-26 19:44:53 +02:00
Ralf Becker
9860c9d8b7 fix some scrutinizer "bugs" 2016-06-26 19:44:53 +02:00
Ralf Becker
8a9b6591a8 fix some scrutinizer "bugs" 2016-06-26 19:44:53 +02:00
Ralf Becker
903b14f45d fix some scrutinizer "bugs" 2016-06-26 19:44:53 +02:00
Ralf Becker
b103dd23a6 fix some scrutinizer "bugs" 2016-06-26 19:44:53 +02:00
Ralf Becker
e6c2f04dda fix some scrutinizer "bugs" 2016-06-26 19:44:53 +02:00
Ralf Becker
23835a2f68 fix some scrutinizer "bugs" 2016-06-26 19:44:53 +02:00
Ralf Becker
b47dd39072 fix some scrutinizer "bugs" 2016-06-26 19:44:53 +02:00
Ralf Becker
6deedce782 try translating default group descriptions on read, in case they are not translated 2016-06-26 19:44:53 +02:00
Hadi Nategh
66f1e302d2 Bring back enter action for taglist-email widget 2016-06-24 16:27:02 +02:00
Hadi Nategh
009afc76e1 Fix input field in taglist jumps into second line if there's a value set and it's display:none 2016-06-24 13:12:53 +02:00
nathangray
8d1028ead8 Fix missing translation for Add entry 2016-06-23 13:04:59 -06:00
Ralf Becker
50b33f279c Italian translations from Ilias Chasapakis, Webtrain 2016-06-23 18:35:20 +02:00
nathangray
dc8ab4cfc0 Fix missing global category colors if minification is on 2016-06-21 10:54:36 -06:00
Hadi Nategh
14935780ce Fix PGP Encryption backup:
- Rename the backup file, still will check the previous backup file though
- Close backup dialog from mailvelope after the backup process is finished
2016-06-21 12:54:50 +02:00
Ralf Becker
1b4bef13f5 return full mime message as stream without any conversation and without caching it, as this probably caused high memory usage when syncing with Outlook 2016-06-21 09:33:44 +02:00
nathangray
0787e03378 Stop taglist from stealing focus back if user clicks on another input 2016-06-20 10:38:55 -06:00
Ralf Becker
412b874629 quiten permanent error_log in CalDAV::handle_attach, only leave error_log for errors 2016-06-20 18:34:35 +02:00
Ralf Becker
8a1fa99886 only set LC_MESSAGES by default, as LC_ALL would also change PHPs numberformatting to use eg. comman as decimal seperator, fixes not working preference how many infolog lines to show 2016-06-20 18:29:23 +02:00
Ralf Becker
c08853a711 German an Czech translations from Stefan Unvericht 2016-06-20 17:45:14 +02:00
Ralf Becker
f86c1934eb * PGP: using following (hidden) files in users home-directory: .PGP-Key-Backup and .PGP-Keychain 2016-06-20 15:13:37 +02:00
Ralf Becker
ad6840e2ce German translation for PGP backup/restore stuff 2016-06-20 15:11:56 +02:00
Ralf Becker
bd5fc3ed11 fix admin was not able to see devices and logs of an other user, if he opened that users preferences via admin context-menu 2016-06-20 11:48:28 +02:00
Ralf Becker
65a26d707a keep Travis happy by only conditional defining hash_pbkdf2 in polyfill 2016-06-20 11:04:52 +02:00
Ralf Becker
eed6b18e3d * Mail/Api: replace decrecated Mcrypt PHP extension with OpenSSL, use AES128 with pbkdf2 streching of passwords
only new passwords get currently stored via AES, old onces are not yet automatic converted
2016-06-19 14:49:50 +02:00
Ralf Becker
4cbe7dffa3 fix not working tail popup 2016-06-18 10:22:34 +02:00
Hadi Nategh
6fbdd38e33 Implement update status for nm header objects used for mobile template (eg. action button) 2016-06-17 12:29:37 +02:00
leithoff
c173de3935 fix for functional folders showing up multiple times 2016-06-17 11:50:20 +02:00
Ralf Becker
6a02f1c19a merge changes from update-zpush-2.3 branch into master 2016-06-17 09:11:26 +02:00