Commit Graph

2281 Commits

Author SHA1 Message Date
nathangray
68a316fb3f Fix PHP 7.2 warning "PHP Warning: Invalid argument supplied for foreach()" 2018-12-10 09:32:42 -07:00
Ralf Becker
7b69f8cfa5 * Api/Filemanager/WebDAV: fix SQL error if login error or WebDAV path contains non-ascii chars
in that case we transliterate these to ascii for storage in egw_access_log table, which only allows ascii chars
2018-12-10 16:47:16 +01:00
Hadi Nategh
b24d9f9cde Fix missing space and extra spaces in calendar's birthday tooltip 2018-12-10 14:20:35 +01:00
Hadi Nategh
d437852fe2 Fix broken width in show_dialog 2018-12-10 11:39:58 +01:00
Ralf Becker
fc95580c05 pending spanish translations from our translation server 2018-12-10 12:29:14 +01:00
Ralf Becker
a361d05767 making translations a bit more resilient for wrong charset 2018-12-10 10:59:43 +01:00
Ralf Becker
3552afa91c converting turkish translations to utf-8 2018-12-10 10:59:43 +01:00
Ralf Becker
bb2557491d * Api: truncate varchar for all DB types now, as MariaDB 10.3 also errors on to big content 2018-12-09 13:54:35 +01:00
Hadi Nategh
80fb0315d4 Make hover_action available for none detached description 2018-12-07 11:16:14 +01:00
nathangray
4bf653515a Fix PHP 7.2 warning "PHP Warning: Invalid argument supplied for foreach()" 2018-12-06 14:54:57 -07:00
Ralf Becker
a26e0717b5 remove he and rw translations, as they contain (nearly) nothing and are not selectable 2018-12-06 14:11:42 +01:00
Ralf Becker
b3079c3df6 to long http header cause Nginx to reject the response with 502
upstream sent too big header while reading response header from upstream
2018-12-06 10:56:22 +01:00
nathangray
ab76966e02 Fix taglist doesn't always show current value on load 2018-12-05 16:04:46 -07:00
Ralf Becker
b67fc51893 copy 17.1 changelog to master to satisfy update checker 2018-12-05 10:23:37 +00:00
Hadi Nategh
0efbbfb75f Fix smime messages stop activesync 2018-12-04 19:16:25 +01:00
Ralf Becker
2dc6178313 copy 17.1 changelog to master to satisfy update checker 2018-12-04 16:27:27 +00:00
Ralf Becker
dc073f858a fix tabs added by code where not reported and sometimes missing clickable class for image buttons 2018-12-04 17:05:39 +01:00
Ralf Becker
63fa1e98db * CalDAV/CardDAV: allow up to 255 char UIDs to support OutlookCalDAVSynchronizer 2018-12-04 10:51:05 +01:00
nathangray
87ea099f05 Calendar - fix selecting 'Select all' did not consistently set select_all in calendar listview 2018-12-03 15:31:12 -07:00
nathangray
de58e561a9 API - Make send() extending signature compatible parent 2018-12-03 15:31:12 -07:00
Ralf Becker
e805a02ef3 fix not working sharing if primary DB node has failed 2018-12-03 18:29:05 +01:00
nathangray
314fe706f5 If a single attachment fails, continue with the others instead of failing altogether 2018-12-03 10:19:38 -07:00
nathangray
211a8e5251 Fix PHP 7.2 deprecated each() 2018-11-29 11:00:54 -07:00
nathangray
85a3b3e027 Fix some PHP 7.2 warnings "PHP Warning: count() Parameter must be an array or object ..." 2018-11-29 10:13:49 -07:00
nathangray
ee5d7461fa Handle changes to query that were not there when sent 2018-11-28 14:57:08 -07:00
nathangray
4a8b94bed8 Fix some PHP 7.2 warnings "PHP Warning: Use of undefined constant ..." 2018-11-28 11:11:45 -07:00
nathangray
4b989d016c Log useful error message if select or radio custom field has no values 2018-11-28 11:06:17 -07:00
Hadi Nategh
579b4f6923 Remove rte_features from preferences 2018-11-28 18:06:38 +01:00
Hadi Nategh
4ec54ffd36 Fix titles for html editor toolbars 2018-11-28 11:32:42 +01:00
Hadi Nategh
fd36f854a3 W.I.P. of disableIfNoEPL attribute:
- Implement the same attribute for sidebox menu
- Fix if hideOnDisabled is enabled it will ignore the disableIfNoEPL and it will not show the menu at all
- Adopt addressbook Mail VCard menu
2018-11-27 15:22:50 +01:00
Hadi Nategh
f3ebfacc57 Introduce new action attribute to disable EPL actions via action system 2018-11-27 11:50:23 +01:00
Hadi Nategh
377766293f Fix mail with forwarded attachment may not be shown if there's no name assigned 2018-11-26 17:06:19 +01:00
Ralf Becker
ff7c7326f5 need to use "c" for partial updates, as "r+" requires the file to exits 2018-11-24 08:07:09 +08:00
Hadi Nategh
8d359ee39f Fix nextmatch rendering issue when it's inside an inactive tab 2018-11-23 10:44:50 +01:00
Hadi Nategh
ce20aaaba8 Fix typo for previous commit 2018-11-22 16:48:32 +01:00
Hadi Nategh
b6e0cc7fcc Fix tinymce steals focus from already focused element after executing a command 2018-11-22 15:42:14 +01:00
Ralf Becker
0326f67f90 WIP getting PUT with range-requests working for chunked uploades
eg. for RAI client
With this commit it should work for regular / non-versioned files
2018-11-22 18:50:59 +08:00
Ralf Becker
dd8e9c6269 use full url-encoding for all clients as required by most clients and RFC 2018-11-22 18:15:43 +08:00
Ralf Becker
630c340ce8 * WebDAV: fix encoding for Cyberduck or Mountain Duck clients 2018-11-22 18:15:43 +08:00
nathangray
bc5c3c161c Etemplate - for value widget sums, treat empty fields as 0 2018-11-21 15:10:43 -07:00
Ralf Becker
0ea9d513e5 fix PHP 7.2 Warning count(): Parameter must be an array or an object that implements Countable 2018-11-20 08:09:13 +08:00
nathangray
132b0fca1c Change tests to try and make Widget scan happy 2018-11-15 15:11:52 -07:00
nathangray
38939f1f38 Improvements for entry widget for robustness, includes automatic server side tests. 2018-11-15 11:15:35 -07:00
Hadi Nategh
5745919c5a Fix broken tutorial onclick handler 2018-11-14 09:57:40 +01:00
nathangray
5ca429b972 ID reset has to go after parent call, or things break 2018-11-13 15:06:46 -07:00
nathangray
2bf7e14477 Etemplate - add custom field sub-fields for app-entry widgets
- add regex & regex_replace attributes to change value around
2018-11-13 14:11:26 -07:00
Hadi Nategh
48ad4f6d25 Make sure value is set before using it 2018-11-06 16:31:17 +01:00
Hadi Nategh
bb60ddd040 * Api: fix radiobox not return current selected value but the first value 2018-11-06 14:32:15 +01:00
nathangray
78752738d2 Fix Select All sometimes misses rows if there's between 50 and 1000 and you scroll down 2018-11-05 15:54:26 -07:00
Hadi Nategh
7089489db9 Hide editor statusbar from compose dialog 2018-11-05 15:35:13 +01:00
nathangray
5c03107500 Fix Select All sometimes misses rows if there's between 50 and 1000 2018-11-02 14:54:13 -06:00
Hadi Nategh
b86e2e2e6f Try to pass context on when binding events because there might be some other plugins using those events too. Fix broken avatar cropper. 2018-11-02 10:00:08 +01:00
nathangray
9437c89d74 Missed translations reported by Stefan Unverricht 2018-11-01 11:56:09 -06:00
nathangray
4f111e69d3 Etemplate - change default empty label for multiple user/group selection to more appropriate 'Select user or group' 2018-11-01 11:54:50 -06:00
Ralf Becker
2f1333a116 return and show in browser JSON parsing errors maybe caused by network problems
server sends HTTP status "400 Bad Request" with JSON payload with "error" and "errno" attributes.
error is json_last_error_msg() prefixed with "JSON ".
Not yet implemented is resending the request (max. twice) for JSON parsing errors to try to work around network problems
2018-11-01 12:00:08 +01:00
Hadi Nategh
a635ac34b4 Fix wrong constructed src url 2018-10-31 14:41:36 +01:00
Hadi Nategh
2690ec5053 Introduces avatar.php and replaces all addressbook.photo urls accordingly 2018-10-31 13:49:51 +01:00
Ralf Becker
6b633b2c50 fix added extra line in front of content 2018-10-30 15:38:31 +01:00
Hadi Nategh
e6735f635d W.I.P. migration of mainscreen to et2:
- Fix extra space added when save the entry
- Fix htmlarea not getting a right height when is in inactive tab
2018-10-30 12:02:55 +01:00
Hadi Nategh
8339ddd962 Complement part for the previous commit 2018-10-29 15:19:25 +01:00
Hadi Nategh
9c08c4cee7 Fix et2_htmlarea disabled not working 2018-10-29 15:11:32 +01:00
Ralf Becker
0f80e158ff also set Error/Errno, if database is readonly 2018-10-28 09:29:25 +01:00
Hadi Nategh
9b993e5484 Revert unintentional commit 2018-10-25 18:23:36 +02:00
Hadi Nategh
16fe435de4 W.I.P. implementing TinyMCE editor and deprecating CKEditor:
- Fix language setting
- Update TinyMCE
2018-10-25 18:18:47 +02:00
Hadi Nategh
e60d061183 W.I.P. implementing TinyMCE editor and deprecating CKEditor:
- Fix selector fails when textarea id includes some specific chars
- Fix width and height
2018-10-25 16:16:39 +02:00
Hadi Nategh
b00b37efa8 W.I.P. implementing TinyMCE editor and deprecating CKEditor:
- Fix image upload via old file_selector for etemplate apps
2018-10-25 15:31:41 +02:00
Hadi Nategh
39944322b5 W.I.P. implementing TinyMCE editor and deprecating CKEditor:
- Replace fckEditor with tinymce for old etemplate apps
2018-10-25 12:32:18 +02:00
Hadi Nategh
b0891483cc W.I.P. implementing TinyMCE editor and deprecating CKEditor:
- Add language packages
2018-10-25 10:54:31 +02:00
nathangray
2fc4caec71 * Infolog - Exclude current entry from parent select/search results to avoid loop 2018-10-24 11:11:25 -06:00
Hadi Nategh
908ee59d1a W.I.P. implementing TinyMCE editor and deprecating CKEditor:
- Add missing icon
2018-10-24 14:59:31 +02:00
Hadi Nategh
7e25284816 W.I.P. implementing TinyMCE editor and deprecating CKEditor:
- Add configurable toolbar as preference
- Do not load CkEditor until it's used
2018-10-24 14:48:19 +02:00
Hadi Nategh
44ef6a0a30 W.I.P. implementing TinyMCE editor and deprecating CKEditor:
- Fix CKEditor widget
- Fix editor doesn't work if no imageUpload is set
2018-10-23 17:10:33 +02:00
Hadi Nategh
345c3c2611 W.I.P. implementing TinyMCE editor and deprecating CKEditor:
- Add d-n-d image upload
2018-10-23 15:50:55 +02:00
Hadi Nategh
f62c5d8ea5 W.I.P. implementing TinyMCE editor and deprecating CKEditor:
- Implement vfs file selector
- Add/remove more actions from toolbar
2018-10-23 13:04:20 +02:00
Hadi Nategh
987727f5fa W.I.P. implementing TinyMCE editor and deprecating CKEditor:
- Add code plugin in order to be able to edit html script
2018-10-23 10:28:13 +02:00
Hadi Nategh
236006b795 W.I.P. implementing TinyMCE editor and deprecating CKEditor:
- Keep editor toolbar in one line at least for mail compose
- Add a preference to enable/disable menubar at the top of editor
- Respects mode preference
2018-10-22 12:37:45 +02:00
Hadi Nategh
1cbd0aa2a3 W.I.P. implementing TinyMCE editor and deprecating CKEditor 2018-10-19 16:35:18 +02:00
Hadi Nategh
b39bcc8c36 Remove unintentional commited part from commit a9a303a 2018-10-19 14:59:20 +02:00
Ralf Becker
8ae20c34b9 fix PHP Warning: array_shift() expects parameter 1 to be array, null given 2018-10-19 13:55:23 +02:00
Ralf Becker
1d826e798a fix SQLSTATE[42000]: Syntax error or access violation in filemanager
caused by not correctly quoted empty string instead of id in extended ACL
2018-10-19 13:46:06 +02:00
Ralf Becker
180c07e23c fix PHP Warning: A non-numeric value encountered 2018-10-19 09:46:30 +02:00
Ralf Becker
9e99c8608c copy 17.1 changelog to master to satisfy update checker 2018-10-18 14:33:14 +00:00
Ralf Becker
adee0b4c52 fix warning about unknown option 'ro' by filesystem streamwrapper
it is handled by vfs, so ignoring it here
2018-10-18 11:13:04 +02:00
nathangray
9be59b55bf - Accept an extra array from ajax_create
- Filter extra array by db columns
2018-10-15 14:57:24 -06:00
nathangray
289e6079f7 Last / Next date
- Fix list title back to just date
- Link leads to actual recurrence for recurring events
2018-10-12 10:51:46 -06:00
Hadi Nategh
97eb04e75c Fix broken inline images because of wrong url 2018-10-12 16:58:38 +02:00
Hadi Nategh
01a54413a2 Unbind events after widget gets cleared from DOM to avoid calling events like onchange for second time (eg. infolog projectmanager selection) 2018-10-12 11:29:21 +02:00
nathangray
747e0ecda1 - Last / next event date for accounts too
- Fix bug showing deleted events
- Fix bug showing wrong next date if recurring
2018-10-11 17:09:12 -06:00
nathangray
117b559a5e Entry share changes
- Writable share is now a checkbox
- Add Sharing -> Merge entry into email template, share gets selected options
- Add {{share}} placeholder which creates (by default) read only share
2018-10-11 12:54:17 -06:00
Hadi Nategh
970fb80675 Respect async flag with set false value 2018-10-11 14:14:21 +02:00
nathangray
233832b889 Remove unused title, use Api\DateTime for time conversion 2018-10-10 10:28:28 -06:00
nathangray
16ddefcecf Use custom query for last/next event instead of search 2018-10-09 15:05:35 -06:00
Ralf Becker
9f6a7e3187 fixing no grant required for inviting contacts 2018-10-09 18:59:56 +02:00
nathangray
cb902a3219 Fix complex name finding to handle select options with label & value set, not just simple key => values 2018-10-09 10:20:51 -06:00
Ralf Becker
d8e6c3b919 fix storing and retrieval of urls containing % or %25
- PUT with url containing an encoded % (%25) was stored as is, due to minimal encoding in HTTP_WebDAV_Server class, now this is changed back to store just %
- PROPFIND/REPORT was urldecoding the caldav_name/path, so % as well as %25 were reported as %25
- multiget REPORT was not finding a caldav_name containing %25 reported in PROPFIND as %2525
--> all above is working now and caldav_name with %25 or %2525 can not read via multiget
2018-10-09 18:04:34 +02:00
Hadi Nategh
c3c887da98 Fix set_account_data turns into an infinite loop because of async ajax call 2018-10-09 17:41:38 +02:00
Ralf Becker
109117316c fix PHP Fatal error: Declaration of EGroupware\Api\CalDAV\Principals::delete(&$options, $id) must be compatible with EGroupware\Api\CalDAV\Handler::delete(&$options, $id, $user) 2018-10-09 13:43:25 +02:00
Ralf Becker
cc22e89242 * CalDAV: CalDAVSynchronizer: only allow owner/organizer to update or delete an event (not users with edit/delete rights) 2018-10-09 13:15:11 +02:00
Ralf Becker
985879b56c remove long decrecated use of <app>/inc/(functions|header).inc.php, giving a PHP Warning because of undefined EGW_APP_INC constant 2018-10-08 12:50:34 +02:00
Ralf Becker
d152738321 fix PHP Warning: Invalid argument supplied for foreach() 2018-10-08 12:48:46 +02:00
nathangray
c197d15a28 Explicitly set async to false for user list 2018-10-04 16:09:42 -06:00
nathangray
20956c4966 Explicitly set async to false for user list 2018-10-04 16:01:44 -06:00
nathangray
590446a701 Use framework tooltips for toolbar button tooltips instead of browser titles
Avoids Firefox actually changing the title text sometimes
2018-10-04 15:21:03 -06:00
Hadi Nategh
cceba01f87 Change default value for async json_request to true 2018-10-04 17:48:13 +02:00
Hadi Nategh
577850cfd0 * Api: change default submit to async call and try to block user interfering with submitted popup until the response 2018-10-04 17:23:30 +02:00
nathangray
13598f5342 Prefer most specific select options, if available 2018-10-02 14:19:12 -06:00
Ralf Becker
c950d7b0c1 check if we have a valid template and/or theme on 17.1 update 2018-10-02 12:43:29 +02:00
Hadi Nategh
d022e555d5 Fix xhr url in Offline options 2018-10-02 10:12:40 +02:00
nathangray
f2cfd94391 Add a keep emails flag (default true), set to false to skip saving merged emails to sent folder 2018-10-01 11:16:17 -06:00
nathangray
20629e2a16 Mail merge - Accept false as folder to skip saving to mail folder 2018-10-01 11:15:31 -06:00
Hadi Nategh
54cafd15d7 Implement Online/Offline connection indicator 2018-10-01 15:54:42 +02:00
nathangray
3daa25ca1a Only set taglist empty label for editable widgets 2018-09-28 10:49:12 -06:00
nathangray
92e818f429 Explicitly set taglist empty label 'Select some options' when missing so it can be translated 2018-09-27 11:46:29 -06:00
nathangray
dd8fc59d6a * Addressbook - fix birthday cache was not cleared when birthday edited 2018-09-26 11:27:50 -06:00
Hadi Nategh
b7c359a6f1 * Mail: implement new preference to configure mail identity label shown as mail folder header 2018-09-25 15:00:01 +02:00
Hadi Nategh
13f3cc5260 Fix some issues with select-country widget:
- Country selection in preferences does not respect selected value
- Fix missing empty labels in country selection in preferences
- Remove flag image from empty labels
2018-09-25 11:24:22 +02:00
Hadi Nategh
5615fbf15e Fix commit 4bd103fd7d 2018-09-24 15:00:17 +02:00
Hadi Nategh
475a25b66c Add list of states for more countries 2018-09-24 14:23:58 +02:00
Hadi Nategh
2010850c16 Fix couple of issues regarding AB country and region selections:
- Use taglist-state widget for US state selector
- Make sure falg class only gets added for select-country widget
- Fix some styling
2018-09-24 13:48:24 +02:00
nathangray
4a819f70d4 Move grant cache to class level to ease testing 2018-09-20 11:05:17 -06:00
Ralf Becker
f7d09e9ec0 * CalDAV: work around problems with Outlook CalDAV Synchroniser (https://caldavsynchronizer.org/)
- sends a DELETE to reject a meeting request --> deletes event for all participants, if user has delete rights on the calendar
- always sends all participants back with status NEEDS-ACTION --> resets status of all participant, if user has edit rights
--> remove all add, edit, delete rights from other users
2018-09-20 15:58:00 +02:00
Hadi Nategh
9e1d9e143e * Mail: fix deleting mails from draft folder does not respect "move to trash" in delete message preference 2018-09-20 15:25:11 +02:00
Hadi Nategh
66bb77b37c Fix 7-5 days switch action in calendar toolbar does not show a right cursor 2018-09-20 14:25:24 +02:00
Hadi Nategh
4bd103fd7d Make sure whitespaces are removed from certkey before doing comparison 2018-09-20 14:14:05 +02:00
Hadi Nategh
6c4cc97a5f Implement new taglist widget to represent list of regions of a selected country 2018-09-19 16:43:19 +02:00
nathangray
e805551575 Keep image tags when merging into HTML templates 2018-09-18 10:21:36 -06:00
Hadi Nategh
1c9836f95e Add more regions into country class 2018-09-18 17:04:37 +02:00
Hadi Nategh
cdae6c4b01 Fix country-select does not set flag when switching between countries 2018-09-18 16:05:32 +02:00
Hadi Nategh
82065b51c3 Fix unwanted autocomplete showing up for country-select widget 2018-09-18 15:16:51 +02:00
Hadi Nategh
6e94639b0a Implement flags indication for country-select widget:
- Migrate AB country selector to select-country tags
- Migrate Country selector in preferences to use select-country tags
2018-09-18 10:46:36 +02:00
Ralf Becker
1eb64136ce fix not working login with permanent redirect to login page: session could not be verified 2018-09-17 15:03:19 +02:00
Ralf Becker
5ceabc8e96 fix parsing of boolean attributes:
- no defaults for disabled/readonly as it defaults depend on readonlys[__ALL__] is set or not
- only cast value to boolean, if it does not contain a variable eg. "!@no_something"
2018-09-17 11:16:38 +02:00
Ralf Becker
321b56e2b6 * Addressbook: private addressbook in newer installations could not be enabled
caused by forced preference value of false casted to string as "", now we write all forced and default preferences with value false as "0" AND update all forced preferences only from "" to "0"
2018-09-14 14:02:51 +02:00
nathangray
cabbacf229 Missing translations from Stefan Unverricht 2018-09-13 14:26:54 -06:00
nathangray
752138cc16 Make link-to results list taller, search box in nextmatch header wider 2018-09-13 11:44:27 -06:00
nathangray
4bafc12326 Remove doubled taglist header 2018-09-13 11:17:30 -06:00
nathangray
075c7851db Translate taglist option labels 2018-09-13 11:16:20 -06:00
Ralf Becker
e483ec4957 automatic cast and defaults for boolean attributes
Not all attributes are implemented, as many dont play any role on server-side.
Fixes taglist-account multiple="false" returns array(<selected id>)
2018-09-13 14:57:50 +02:00
nathangray
822b967fe3 Better handling of HTML tables when merging.
Fixes table within table broke format parsing.
2018-09-12 16:46:36 -06:00
Ralf Becker
9f3f3e501d fix PHP Warning: Use of undefined constant OPENLDAP_LDAPSERVER 2018-09-12 17:06:31 +02:00
Ralf Becker
a646bc6a61 disabling permanent error_log in favor of $debug attribute 2018-09-12 14:52:34 +02:00
nathangray
9368992032 Fix namespace 2018-09-10 15:26:53 -06:00
nathangray
8abbefd9e1 Missing 'move' translation in VFS select dialog 2018-09-10 09:50:41 -06:00
Ralf Becker
58703cbaba * Filemanager/SMB: fix directory creation failed on Samba (smbclient PHP extension)
smbclient treats every non-zero value of $options parameter as recursive, not just &1 and we have by default &8 = STREAM_REPORT_ERRORS set.
2018-09-06 12:04:18 +02:00
nathangray
7efefc6e63 Strip UTF-8 BOM from ical file 2018-09-05 13:29:03 -06:00
nathangray
cf1f99a828 Trying to get tests to pass
- Cast type array to array
- Try explicitly disconnecting db after test
2018-09-05 09:53:57 -06:00
Hadi Nategh
9b742430c5 Allow single or double quoting as valid personal part of email rfc822 2018-09-04 13:51:10 +02:00
Hadi Nategh
d50f444965 Try to stripe extra quoting from personal part of email address 2018-09-03 16:21:32 +02:00
Ralf Becker
1e95f0608b copy 17.1 changelog to master to satisfy update checker 2018-08-31 14:08:46 +00:00
Hadi Nategh
2f8ba269e3 Revert previous commit, since horde smime verification itself takes care of it with extracting email out of cert 2018-08-30 14:19:00 +02:00
Hadi Nategh
e5bd217a77 * Mail: take certificate SAN email into account when verifying SMIME signed message 2018-08-30 14:06:26 +02:00
nathangray
2cf4904e1e Don't use a static reference to egw->db, it breaks tests 2018-08-29 10:04:25 -06:00
nathangray
be34f95723 Add template fetch fallback using egw.link() if template_base_url fails 2018-08-24 12:03:19 -06:00
nathangray
e4308f3d27 Fix positioning to center after template is loaded 2018-08-23 15:41:14 -06:00
Hadi Nategh
b4b2b9d5d2 Implement an admin-config setting to be able to disable PGP encryption feature 2018-08-23 16:58:14 +02:00
Hadi Nategh
08b9138ae6 Fix tutorials json feed and PGP Installation tutorial video 2018-08-23 14:54:37 +02:00
Hadi Nategh
36a6efe837 Fix missing translations for PGP Back/restore feature 2018-08-23 13:47:04 +02:00
Hadi Nategh
45ccd5f780 Add more translations for admin toolbar settings 2018-08-23 13:29:26 +02:00
Neo Morina
8093e6a549
Update Taglist.php
For showing better results.
2018-08-23 11:39:09 +02:00
Hadi Nategh
051531c3d0 Add some translations for admin toolbar settings 2018-08-22 14:11:36 +02:00
Ralf Becker
cf10e4af69 make sure Api\Config::read(_repository) always returns an array
even if not configuration is saved yet
2018-08-22 11:24:05 +02:00
Hadi Nategh
698e77e0cb Implement reset user preferences for admin toolbar actions 2018-08-21 17:22:58 +02:00
Ralf Becker
60e953292a adding sel_options to etemplate2_before_exec hook (for policy) 2018-08-17 14:39:28 +02:00
Hadi Nategh
d7c462149a W.I.P. of toolbar admin default prefs:
- Set default preference by admin
- Consider default preference for the first time login users
2018-08-16 16:52:20 +02:00
Hadi Nategh
2ebbf89b0c Set a placeholder icon if nothing found 2018-08-16 16:49:54 +02:00
Hadi Nategh
bf151cff7b W.I.P. of toolbar admin default prefs:
- Add admin settings button
- Add dialog
2018-08-16 12:29:35 +02:00
Ralf Becker
bbe551d4cc sending appliction/json aka JSON as direct payload for all POST ajax requests
instead of additionally encoding them as form-data
2018-08-16 11:07:50 +02:00
Hadi Nategh
ccda87b157 W.I.P. of toolbar admin default prefs 2018-08-15 16:50:46 +02:00
Hadi Nategh
c69532e7f0 Another attempt to invalidate zero with space (\u200B) char in the beginning an email address 2018-08-15 11:36:37 +02:00
Hadi Nategh
e433c708df Fix taglist fails to invalidate email address which starts with none visible unicode char 2018-08-14 17:15:35 +02:00
Hadi Nategh
d35a337590 Make an incase sensitive comparison between smime cert email and from email 2018-08-14 16:09:12 +02:00
Ralf Becker
5e7ef5386c allow additional "UPDATED" success message to keyring.importPublicKey 2018-08-14 11:33:28 +02:00
Ralf Becker
584613f0bf fix somehow created async-job with a next time before the keep time
eg. not updated alarm trigger time in the past
2018-08-13 15:40:53 +02:00
Hadi Nategh
e1ee71873a Implements lavatar and replace default photo avatar with generated lavatar 2018-08-13 11:56:05 +02:00
Hadi Nategh
29337d79d1 Show lavatar text in caps 2018-08-13 11:53:57 +02:00
Hadi Nategh
73b6ab8128 IE 11 and below does not support ES6 syntax we need to use some polyfills 2018-08-10 10:31:40 +02:00
nathangray
60e43ab60b Etemplate - getWidgetById() can handle nested[type][names] 2018-08-09 12:41:37 -06:00
nathangray
da45cf2776 Avoid warning if filter is null 2018-08-08 09:27:38 -06:00
nathangray
3c5b7c8ba5 * Addressbook - Allow multiselection for customfield added to link title 2018-08-08 09:18:55 -06:00
Hadi Nategh
7289e80e92 Wait till common translations are loaded then ask for IE browser compatibility 2018-08-08 11:12:57 +02:00
Hadi Nategh
931100c2ac Fix translation 2018-08-08 10:48:40 +02:00
Hadi Nategh
3604e66fa6 Exclude Edge from previous commit 2018-08-07 16:30:53 +02:00
Hadi Nategh
4c7d7fa9ca Add IE browser warning as message after login 2018-08-07 16:26:54 +02:00
Ralf Becker
af6c2a0f25 * CalDAV/Calendar: fix not working snozzing of alarms in Thunderbird
Caused by triggered alarms were - so far - immediatly deleted, now we keep them around for an other day, so TB get them in the update iCal after PUTing its X-MOZ-SNOOZE-TIME-<timestampt>
2018-08-07 15:03:59 +02:00
Hadi Nategh
77aa6cae4e Add translation 2018-08-07 13:51:02 +02:00
Hadi Nategh
dae7c85b42 Warn user on login page if using browser is IE 11 or below. 2018-08-07 13:40:46 +02:00
Hadi Nategh
c5a291218a Fix full_email option in email-url not working 2018-08-03 16:15:24 +02:00
Ralf Becker
e53482289a fix not displayed requrested and comment 2018-08-03 15:38:34 +02:00
Ralf Becker
c579347ad1 allow to identify real changes 2018-08-03 11:56:34 +02:00
Hadi Nategh
a9a303a6ff Add new preference to control default action of editing a document (open with:Collabora|CollabEditor|Download) 2018-08-03 11:08:00 +02:00
nathangray
04334eb0f0 Etemplate - Hide tabs from tab widget if there's only one tab 2018-08-02 09:23:30 -06:00
Ralf Becker
250b56589c WIP allow to document admin actions, if EPL policy app is installed 2018-08-02 11:43:56 +02:00
Hadi Nategh
024c8ce7fb * Framework: fix broken favicon 2018-08-02 09:52:31 +02:00
Hadi Nategh
7e126290f7 Some more basename replacing with Vfs::basename to avoid setlocale issue. 2018-08-01 11:11:16 +02:00
Hadi Nategh
17cfcf1168 Replace basename with Vfs::basename to avoid setlocale issue. 2018-08-01 10:02:16 +02:00
Hadi Nategh
d89247fdf3 Strip RFC822 email to avoid search contacts other than email itself. Fix issue sometimes add as new contact not showing up because it takes it as existing contact. 2018-07-31 11:06:38 +02:00
nathangray
17ba77d369 Make sure we get correct path when sharing from a share 2018-07-30 12:55:23 -06:00
nathangray
a5b232d129 Make sure we get the actions from the right app 2018-07-30 08:58:14 -06:00
Ralf Becker
634efff9c4 fix SQL error or information leakage on no longer available custom fields 2018-07-30 15:28:12 +02:00
Ralf Becker
f4081c1443 Revert "* Api - Avoid SQL errors caused by removed custom fields still in favorites"
This reverts commit a03931493f.
2018-07-30 15:28:12 +02:00
Ralf Becker
747b3bb103 fix typeError if enableClass method is called without _target parameter
stalling rendering of nextmatch rows in filemanager
2018-07-30 11:35:07 +02:00
nathangray
dca3c1ec30 * Etemplate - timestamper widget now supports timezone attribute to force a certain timezone 2018-07-27 13:31:02 -06:00
nathangray
c15eeb66a8 Pass the action as expected 2018-07-26 15:30:14 -06:00
nathangray
0098f41a12 Fix missing collabora app 2018-07-26 15:08:32 -06:00
Hadi Nategh
7413b60ecf Do not add edit setting action when we are in sharing view 2018-07-26 14:10:53 +02:00
nathangray
26ed40bd73 Use default action for file part of path if it can be found 2018-07-25 14:56:41 -06:00
nathangray
a03931493f * Api - Avoid SQL errors caused by removed custom fields still in favorites 2018-07-25 10:16:46 -06:00
Ralf Becker
5d6de2c686 copy 17.1 changelog to master to satisfy update checker 2018-07-25 13:06:55 +00:00
Hadi Nategh
f5422526ce Make sure there's a context and selectionMgr objects before using them 2018-07-25 14:11:45 +02:00
Hadi Nategh
f99672a742 Fix d-n-d indicator shows wrong number of selected rows if it's a select all 2018-07-25 11:22:04 +02:00
nathangray
fbea34819a * Filemanager - make files and their paths clickable 2018-07-24 14:31:17 -06:00
nathangray
e8127f7da7 * Api - Fix row category colors go missing after a change
- Row color css was not specific enough to override the default, and only worked because of load order
- Remove uneeded category CSS requests from calendar
2018-07-24 12:57:17 -06:00
nathangray
7805844b7c Better support for no_actions row flag so fetched rows with no_actions are not selected by 'select all' 2018-07-24 10:10:31 -06:00
nathangray
f7e194b0b4 Respect no_actions flag in controller_selection when selecting a range / all 2018-07-23 12:53:41 -06:00
Hadi Nategh
c5e902926b Fix notifications with same id but no links are not getting grouped together 2018-07-23 16:25:07 +02:00
Krzysztof Kaczmar
7881945c68 Some fixes in Polish language files 2018-07-23 14:01:10 +02:00
nathangray
82ea4fe2de * Addressbook - add filtering by distribution list for organisations 2018-07-19 14:54:05 -06:00
nathangray
de15acc03d Add div to list of tags that avoid HTML encoding on replacements
Fixes HTML tracker description from external source showing HTML in notifications
2018-07-19 12:50:22 -06:00
nathangray
d5e0bc1615 * Addressbook - Fix bug preventing turning off letter filter after some actions 2018-07-18 13:43:32 -06:00
nathangray
8092e1fb86 Set current app to filemanager so js loads correctly 2018-07-18 12:27:27 -06:00
nathangray
675f0e2998 Check that file mime is there before trying to match on it to avoid error if it's false 2018-07-18 12:24:06 -06:00
nathangray
10db110ea3 Keep selection manager's index map set on reset 2018-07-18 10:26:08 -06:00
Krzysztof Kaczmar
28aae75bed Fix typos in Polish language files 2018-07-18 12:59:03 +02:00
nathangray
2d5e471fd8 Paginate fetching missing selected rows, limit fetch to 1000 rows 2018-07-17 16:56:58 -06:00
nathangray
9e19baf492 Handle action enable/disable class checks on rows that are not currently rendered by checking their data 2018-07-17 10:20:52 -06:00
nathangray
658e84e59f Fix bug where nextmatch selection manager was holding onto selected rows 2018-07-16 16:17:36 -06:00
Hadi Nategh
e9f4a72031 Do not add the loading prompt container if it's already there 2018-07-13 16:32:44 +02:00
Ralf Becker
e6dab124ee * Univention: fix not working password change (setting Kerberos credentials) 2018-07-13 09:58:38 +02:00
Hadi Nategh
677a4a03fb * Tracker: fix issue text part of some html tickets mail notifications contain html parts 2018-07-12 17:47:19 +02:00
Hadi Nategh
cc3e00f9f1 * Mail: take opened compose dialogs into account when trying to forward attachment, share files into mail or vcard attachment from addressbook 2018-07-11 14:39:40 +02:00
Hadi Nategh
03fd308d00 Remove comma from personal part since comma is preserved as address separator 2018-07-05 14:29:49 +02:00
Hadi Nategh
9317cdd216 Fix contacts with ampersands in their name will fail in mailto function 2018-07-05 11:28:12 +02:00
Hadi Nategh
8bdf9e27f6 Fix empty row on nm response 2018-07-04 17:09:44 +02:00
Hadi Nategh
2bc4f2b8a4 On nm init check for grid total number to avoid placeholder actions 2018-07-04 16:57:09 +02:00
Hadi Nategh
f9fa811e2e Take nm response after initialization into account when trying to create emptyRow for placeholders action 2018-07-04 16:43:53 +02:00
Hadi Nategh
dd03c7fe16 * Mail: fix some smime signed messages get recognized wrongly as encrypted 2018-07-04 15:41:43 +02:00
Ralf Becker
18a048e5c8 finish migration AD to new UCS domain via EGroupware 2018-07-03 22:25:08 +02:00
Hadi Nategh
18efbfad98 * Api: Fix enabled actions don't show up on nm initiation 2018-07-03 18:21:58 +02:00
Hadi Nategh
eb5652dc20 * Api: get avatar showing up for taglist accounts and calendar owner 2018-06-29 10:12:59 +02:00
Hadi Nategh
ad913ff93d Do not push popup windows if we are in mobile framework 2018-06-29 10:05:28 +02:00
Hadi Nategh
89487ea0c0 Change taglist icon size while rendering in dropdown-menu 2018-06-28 17:53:37 +02:00
Hadi Nategh
36726c7400 Add new attributes into core widget in order to be able to set widget->type attributes in preferences 2018-06-27 17:40:26 +02:00
Ralf Becker
09ecfdbc46 copy 17.1 changelog to master to satisfy update checker 2018-06-25 15:29:17 +00:00
Ralf Becker
a11b9a266b * Addressbook: fix SMime/PGP public key import not containing a newline after the key 2018-06-25 14:23:19 +02:00
Hadi Nategh
6aec99eab1 Consider app name when trying to fetch icon for taglist 2018-06-22 16:00:38 +02:00
Hadi Nategh
263cba6bf1 Support icon feature for taglist widget 2018-06-22 15:06:53 +02:00
Hadi Nategh
e6e4ca6309 - Fix taglist item's width in edit mode causes input field to jump into the second line 2018-06-21 15:51:59 +02:00
Hadi Nategh
23c844b90d Remove magicsuggest from api then add it to vendor 2018-06-21 13:39:00 +02:00
nathangray
3929432c14 Clear the selection before creating the empty row.
Fixes empty rows not getting placeholder actions in some cases.
2018-06-20 09:40:35 -06:00
Ralf Becker
b29f89cf16 migrate AD accounts incl. mail-attributes to SQL 2018-06-20 15:25:44 +02:00
nathangray
b049a68cb9 Api - Better way to clear recipients between merges that doesn't loose the placeholder 2018-06-18 10:26:49 -06:00
Ralf Becker
102b41ef43 change history-log values to longtext (was text=64k) 2018-06-18 11:34:48 +02:00
Hadi Nategh
5f3b59fe3d Remove meta tag by HtmLawed 2018-06-18 11:08:46 +02:00
Ralf Becker
7ba77356d5 new "session_created" hook 2018-06-18 09:07:14 +02:00
Hadi Nategh
8f53e3d9f1 * Mail: warn user when there's no space left for storing sieve rules because of sieve_maxscriptsize limit 2018-06-15 15:49:34 +02:00
nathangray
aea2b4d216 * Api - Clear recipients between merges to avoid sending subsequent merges to previous contacts 2018-06-14 11:09:56 -06:00
nathangray
c3b642a39a Allow apps to implement their own Sharing 2018-06-13 14:45:43 -06:00
nathangray
23394e9e76 Keep current value if provided 2018-06-13 14:44:12 -06:00
Ralf Becker
baa2807606 some hooks needed for new policy app 2018-06-12 19:04:02 +02:00
nathangray
d201dc9fd9 Seperate birthday cache by language 2018-06-11 11:26:08 -06:00
nathangray
67d8166b27 Better way to handle an app having more than one etemplate2_before_exec hook - fixes collabora stopped working 2018-06-08 10:26:48 -06:00
Hadi Nategh
ce52dd10ad * Addressbook: Inform the user about number of contacts adding to mail compose dialog via Email action 2018-06-07 14:45:42 +02:00
nathangray
6708ccb043 Record share emails in history log & display them instead of user when set 2018-06-06 15:51:46 -06:00
nathangray
d4c40e8ce3 Remove check on $GLOBALS['egw_info'] since it's not available at the time 2018-06-06 15:49:14 -06:00
nathangray
0582f2347f Fix a few issues from Scrutinizer
- Remove debug code
- Remove some unused variables
- Add get_ui() to base class that gives error message (should always be a subclass)
2018-06-06 09:54:49 -06:00
nathangray
cc21c823dd Handle an app having more than one etemplate2_before_exec hook 2018-06-05 15:34:54 -06:00
nathangray
847d1c6812 Fix some namespace errors 2018-06-05 15:01:09 -06:00
nathangray
ca32d0bc50 Remove unreachable code 2018-06-05 14:59:05 -06:00
nathangray
71ee883210 Entry sharing - handle files checkbox 2018-06-05 14:31:04 -06:00
nathangray
1bd5927869 Pass action back to popup so it knows what to do 2018-06-05 14:31:04 -06:00
nathangray
a1a7570c86 Add method to get sharing context menu actions 2018-06-05 14:31:04 -06:00
nathangray
4a9df7ef33 Got link creation via context menu working 2018-06-05 14:31:04 -06:00
nathangray
a5f5930064 Check record-level permissions 2018-06-05 14:31:04 -06:00
nathangray
d0a50d8d45 Changes needed to just get the screenshots, much more work needed for proper functionallity since I faked the permissions 2018-06-05 14:31:04 -06:00
Ralf Becker
430368eab9 new JSON response method "message" to call egw.message eg. in a popup, by using the context from the egw.json call 2018-06-05 12:29:51 +02:00
nathangray
6f7050d036 Fix taglists did not always get their options 2018-06-04 14:42:07 -06:00
nathangray
5d65420a03 Limit subjects for filenames to 200 characters to avoid failures 2018-06-04 10:24:15 -06:00
Ralf Becker
84b715c5af * Admin: allow to show last login, IP and password change in list 2018-06-01 14:46:52 +02:00
Hadi Nategh
f479314e06 Allow apps to load JavaScript or CSS files, knowing we're loading the framework or not 2018-06-01 10:37:38 +02:00
nathangray
7843da6e08 Change allowOnMultiple check to use count of selected objects, not count of actionLinks
Allows enabled check functions to call other actions's enabled functions.
2018-05-31 09:19:39 -06:00
nathangray
daa4670f60 Etemplate - missing translations 2018-05-30 13:36:04 -06:00
Hadi Nategh
ea80839b56 Stop autocomplete_url calls for taglist_thumbnail widget 2018-05-29 18:14:42 +02:00
Hadi Nategh
71ae7876d6 Fix namespace issue when calling function 2018-05-29 11:13:12 +02:00
Hadi Nategh
e9f1e8bcad Implement taglist-thumbnail for rest of upload image fields in admin site configuration 2018-05-29 11:05:08 +02:00
Hadi Nategh
b205e2f4a2 Implement new kind of taglist to show thumbnail of set value 2018-05-28 17:41:52 +02:00
Hadi Nategh
6aeb7a5c1e * Admin: Implement new feature to upload multiple images for login background image in site-configuration and show them randomly. 2018-05-28 15:31:32 +02:00
Ralf Becker
90dfe8ec54 copy 17.1 changelog to master to satisfy update checker 2018-05-23 13:16:44 +00:00
Hadi Nategh
ecb8f84afa Add complementary option for app-select widget in order to be able to exclude specific apps from the list 2018-05-22 14:39:15 +02:00
Ralf Becker
54ee23e731 use error-image from api not old phpgwapi 2018-05-20 13:22:46 +02:00
nathangray
5682044227 Fix loader never goes away if you use shift to select just a few rows 2018-05-15 08:43:13 -06:00
nathangray
e8f28b25b2 Allow prompt textbox to expand with the dialog 2018-05-14 15:54:03 -06:00
nathangray
010815ea0f Let et2_dialogs size themselves according to contents unless otherwise specified.
(just dialogs, leave others alone)
2018-05-14 15:52:03 -06:00
nathangray
e0ad35a241 Let et2_dialogs size themselves according to contents unless otherwise specified.
Fixes dialogs too narrow for their title
2018-05-14 15:16:25 -06:00
nathangray
b139583f6a Load filemanager translations for vfsSelectUI 2018-05-14 13:10:10 -06:00
Ralf Becker
e5a7156544 Translations from Ilias Chasapakis 2018-05-14 18:55:38 +02:00
Nathan Gray
3b9e5f672d
Merge pull request #40 from Sportacandy/i18n-japanese
update Japanese language files.
2018-05-14 10:05:44 -06:00
Hadi Nategh
41a983e317 Make a bigger header size assumption (32k) in order to cover importing mails with big headers 2018-05-14 14:54:44 +02:00
U-quokka\komaba
2da4ec91db update Japanese language files. 2018-05-12 08:24:38 +09:00
nathangray
5ceea5b93e Slightly more robust checking for "blank" HTML area in case CKEditor adds some styles 2018-05-11 15:00:12 -06:00
nathangray
820d269e71 Add checks to see if actionManager has been set before using it
Fixes errors in historylog widget
2018-05-11 14:33:17 -06:00
nathangray
8030c477c9 Avoid warning about scheme already registered 2018-05-11 11:25:02 -06:00
nathangray
668a4fede8 Api - Turn on merge for presentations, text templates, spreadsheet templates and presentation templates 2018-05-07 13:34:35 -06:00
nathangray
0dea93ac15 Api - Editing files in shared directories & sharing editable links 2018-05-07 10:40:12 -06:00
Hadi Nategh
f0e7f2aeed Take user's number format into account when set date duration widget. Fixes duration widget doesn't accept "," as decimal separator in Firefox. 2018-05-07 16:57:37 +02:00
nathangray
11cf369540 Turn off debug 2018-05-04 15:07:57 -06:00
nathangray
c8ddbe0680 Some more debug for Travis 2018-05-04 14:36:24 -06:00
nathangray
bd570c3676 - Fix incorrect skipped method
- Move cache clear before logout
2018-05-04 11:36:38 -06:00
nathangray
77a71d1c9c Some more debug for Travis 2018-05-04 09:58:21 -06:00
nathangray
a7a2092a48 Some more debug for Travis 2018-05-04 09:37:53 -06:00
Ralf Becker
ba366467b0 * Admin/Mail: fix saving mail-accounts for multiple accounts 2018-05-04 15:07:06 +02:00
nathangray
fba069e4b6 Some more debug for Travis 2018-05-03 14:31:48 -06:00
nathangray
1ee1c15e75 Turn on debug for sharing tests 2018-05-03 13:59:39 -06:00
nathangray
0d52cc293b Throw an exception (that phpunit can catch) rather than exiting on failure so all tests can get 2018-05-03 10:59:22 -06:00
Ralf Becker
b8e230190f * Mail: fixed equal signs (=) are not displayed in subject
Not sure why, but equal sign was removed unconditional together with other non-printable chars.
Equal sign is now removed from that preg and code is cleaned up to have a single preg removing unprintable chars independet on the function used to decode the header.
2018-05-03 11:01:08 +02:00
nathangray
1022931845 Lock UI with loader while waiting for selected rows query to complete 2018-05-02 14:10:03 -06:00
nathangray
5881ea7bd3 Only reset focused child on first creation, not every action assignment 2018-05-02 14:08:36 -06:00
nathangray
cf4752e8dd Change account filtering to give accounts when asked even if accounts are hidden in preferences 2018-04-26 14:34:09 -06:00
nathangray
6c4ea8cb38 Api - Stop adding calcext:value-type attributes when merging to spreadsheets, they're no longer used and can cause a warning with recent templates 2018-04-23 09:24:49 -06:00
nathangray
48239f3506 Fix mail merge into mail template excluded BCC 2018-04-20 12:00:50 -06:00
Ralf Becker
fa2403f905 * EMail: fix searching in email gives an error
reverting commit 5bd63482ea as the implemented __isset and ArrayAccess interface hide the one implemented by parent Horde_Imap_Client
2018-04-20 10:39:23 +02:00
Ralf Becker
d458b8dd00 Translations from Stefan Unverricht 2018-04-19 17:53:31 +02:00
nathangray
235746e4d6 * Addressbook - Add preference to turn off user groups as distribution lists 2018-04-17 09:35:08 -06:00
Ralf Becker
5bd63482ea implement __isset and ArrayAccess for Imap, to allow eg. to use empty($imap->attribute) 2018-04-17 10:28:37 +02:00
Ralf Becker
648badc44c copy 17.1 changelog to master to satisfy update checker 2018-04-13 14:50:37 +00:00
Ralf Becker
753beb06ac fix PHP 7.2 Warning: The each() function is deprecated 2018-04-13 16:08:37 +02:00
Ralf Becker
77b79f24b7 * Setup: updates from old versions (eg. 1.4 or 1.8) no longer require to update to 14.x and 16.1 first 2018-04-13 13:46:49 +02:00
Ralf Becker
f1437d4ccb fixing a couple more PHP Warning count(): Parameter must be an array or an object that implements Countable 2018-04-13 09:12:26 +02:00
nathangray
5f160114e9 Better error message & correct lost Vfs::$db 2018-04-12 11:23:54 -06:00
Ralf Becker
63d89a3ba0 * Setup/Restore: restore from a other charsets then utf-8 failed 2018-04-12 18:00:27 +02:00
Ralf Becker
81143a0624 * All apps: fixed moving attachments to new entries (without attachments) lost moved file 2018-04-12 15:10:05 +02:00
Ralf Becker
d70304e391 * CalDAV/resources: fix wrong ACL/rights send to clients (PHP warning in log) 2018-04-12 13:03:13 +02:00
Hadi Nategh
835913e454 Fix file upload button does not cover its caption 100% 2018-04-11 16:45:05 +02:00
Hadi Nategh
f2d5687cb2 Add some translations, thanks to Evgen Vodopivec. 2018-04-11 15:59:22 +02:00
Hadi Nategh
c0b5a7c44e Add and fix some translations, thanks to Stefan Unverricht. 2018-04-11 15:19:39 +02:00
Ralf Becker
235821b04a run fastcgi_finish_request also for non-compat install 2018-04-11 15:05:53 +02:00
Ralf Becker
7c1a481d97 fix shutdown functions did not have $GLOBALS[egw] set, caused by session created by MServer 2018-04-11 15:04:48 +02:00
Ralf Becker
ad95a01cec fixing function and test 2018-04-11 14:05:49 +02:00
Ralf Becker
047e68ecd4 limit filesystem depth for managed attachments to gard against infinit recursion 2018-04-11 11:25:53 +02:00
Ralf Becker
bded1bf17e remove 4-byte unicode when cleaning subjects 2018-04-11 11:22:11 +02:00
Ralf Becker
104cae6081 fix smime key got immediatly deleted again 2018-04-10 14:52:14 +02:00
Hadi Nategh
9be52c2d75 * Api: Fix auto-complete password field gets activated even though user hasn't selected it deliberately. 2018-04-10 12:39:27 +02:00
Hadi Nategh
16ab038d4d Fix uploading multiple files does not enable submit buttons after upload is done 2018-04-10 10:17:08 +02:00
Ralf Becker
5b93dd160c fixing not working links stream-wrapper 2018-04-10 08:54:32 +02:00
nathangray
f26b271067 Exclude symlinks from Vfs 2018-04-09 14:02:24 -06:00
nathangray
abc1ccc8f1 Trying to share a symlink actually uses the link target instead 2018-04-09 14:02:24 -06:00
nathangray
c508cd8731 Add tests for trying to share a symlink actually uses the link target 2018-04-09 14:02:24 -06:00
nathangray
cbdbae2f9a Shuffle around some code for better extendability 2018-04-09 14:02:24 -06:00
nathangray
e675ab57d4 Remove unneeded definitions, they're in parent already. 2018-04-09 14:02:24 -06:00
nathangray
e2209b1e57 - Add check to see if merge sqlfs directory is there before creating it
- Add parameter to addFiles() to provide test file content
- Add current user as owner for filesystem mount
2018-04-09 14:02:24 -06:00
Hadi Nategh
5d128cc43b * Addressbook: Fix send all contact's emails/vcards to compose dialog does not work 2018-04-09 16:42:08 +02:00
Ralf Becker
98c7a7af64 fix Scrutinizer issue (seems to be some left over old code) 2018-04-09 16:32:00 +02:00
Ralf Becker
98376b5908 * PHP 7.2: fix several PHP Fatal errors and warnings stalling installation and usage 2018-04-09 16:02:00 +02:00
nathangray
2de26a0f2b Refactor sharing tests to use a base class so Collabora tests can exend it 2018-04-05 08:49:25 -06:00
nathangray
97134373dc Refactor sharing tests to use a base class so Collabora tests can exend it 2018-04-05 08:49:25 -06:00
Hadi Nategh
d9d051a97e Fix move/copy actions in link_to widget vfsSelect try to create not unwanted new symlink 2018-04-04 17:54:30 +02:00
Hadi Nategh
b8fd2f9c97 Fix vfsSelect extra buttons sometimes failing to close the dialog after execution 2018-04-04 17:51:31 +02:00
Hadi Nategh
3327077cec Increase cred_password field size in DB to be able to get fit large smime pkey. 2018-04-04 15:23:56 +02:00
nathangray
6ef00bbf9e Look in action children so placeholder actions can be in sub-levels 2018-04-03 16:24:15 -06:00
nathangray
1cb13a1f13 * Api - Fix references to sub-fields of custom field entries only merged for the first entry of each type 2018-04-03 15:27:09 -06:00
Hadi Nategh
c28e6de2ba Add some translations, thanks to Evgen Vodopivec. 2018-04-03 11:24:42 +02:00
Hadi Nategh
980b4e1ab2 Make sure mail_bo object is there before using it, fixes error "can not call undefined function reopen()" 2018-04-03 10:33:40 +02:00
Hadi Nategh
25a60bf358 Fix translation 2018-03-29 17:43:21 +02:00
nathangray
5b43b1f63c * Etemplate - Stop times from advancing 1 hour shortly after DST 2018-03-29 09:31:45 -06:00
Hadi Nategh
773a9410c5 Make sure we are not disabling submit buttons if upload is not triggered, to avoid disabled submit buttons after failure. 2018-03-28 18:20:11 +02:00
Hadi Nategh
9e7ff133b5 Fix translation 2018-03-28 11:20:36 +02:00
Hadi Nategh
df70d71cc3 Add button_icon new attribute to vfs-select widget and changes link button icon 2018-03-28 11:07:47 +02:00
Hadi Nategh
747d45e47c Set dialog button icons from Api instead of etemplate 2018-03-28 11:05:48 +02:00
Hadi Nategh
b3c26e351c Try to avoid fullwidth for some specific widgets in customfields list 2018-03-27 18:09:35 +02:00
Hadi Nategh
a3c7952925 Make second column of customfields list fullwidth 2018-03-27 15:42:42 +02:00
Hadi Nategh
0930b52934 Add translation for "previous" button in notifications 2018-03-26 17:37:05 +02:00
Hadi Nategh
2491209adf Add some translations, thanks to Stefan Unverricht. 2018-03-26 14:31:39 +02:00
Hadi Nategh
94519b0174 Fix broken priority icons in mail compose 2018-03-26 12:41:37 +02:00
nathangray
8840b5ddc6 Add readable & writable share tests for merge filesystem 2018-03-23 13:01:43 -06:00
nathangray
ff720b097a Add readable & writable share tests for entry filesystem (/apps/infolog/#) 2018-03-23 13:01:43 -06:00
nathangray
33396193ce Add writable check for filesystem:// shares 2018-03-23 13:01:43 -06:00
nathangray
127be25c38 Add explicit check for filesystem file 2018-03-23 13:01:43 -06:00
nathangray
0a7f81a2e2 Api - Sharing from filesystem:// mounts - with tests even 2018-03-23 13:01:43 -06:00
nathangray
eeae245833 Sharing test - refactor for better code, add checks on versioning backend 2018-03-23 13:01:43 -06:00
Hadi Nategh
2943b678bd Fix merge replace placeholders causes huge performance issue. Additionally, fixes the extra $ sign shown up in replaced placeholders. 2018-03-23 16:46:51 +01:00
Ralf Becker
74746a14ef * Sharing/Collabora: fix not working cleanup of temp. files and shares
- 14.x installs had the job created with old class-name egw_sharing
- Wopi shares where never cleaned up, they are now after 3 month
2018-03-22 13:09:59 +01:00
Ralf Becker
5f63892c09 copy 17.1 changelog to master to satisfy update checker 2018-03-21 17:29:30 +00:00
nathangray
e940b283ae WIP - Sharing test - now plays well with others, let's see what Travis says... 2018-03-21 09:44:42 -06:00
Ralf Becker
1d835928d2 new method Api\Framework::getUrl() to get a full / externally usable Url 2018-03-21 12:51:52 +01:00
Ralf Becker
21e123ef84 do NOT use hostname configured in setup, if it is the default localhost
stick with HTTP Host header in that case
2018-03-21 12:49:31 +01:00
Hadi Nategh
045436609d Get Sharing + Collabora into latest 17.1 version 2018-03-21 12:43:25 +01:00
nathangray
097d123a3b WIP - Sharing test - now works on its own, causes other tests to fail though 2018-03-20 15:44:46 -06:00
Hadi Nategh
be4dbc37ae * Fix opening collabora fails from a shared directory:
-we need to have collabora app to avoid CSP error since redirect share-link in collabora should get frame-src. e.g:(Collabora/Src/Ui.php:redirect(Sharing::share2link))
2018-03-16 13:15:45 +01:00
Hadi Nategh
e9b80ecee5 Remove not used csp method 2018-03-16 13:14:16 +01:00
Ralf Becker
f83f03a084 * API: webservice call when password has been changed outside EGroupware to eg. re-encrypting (mail) credentials
Can be used eg. via CURL *after* password has been changed:
echo '<new-password> | curl --user <username> --data-raw '<old-password>' -X POST https://egw.domain.com/egroupware/api/changepwd.php
2018-03-16 11:01:07 +01:00
nathangray
3185acb7b1 Add merge into the list to get /apps working again 2018-03-15 16:55:43 -06:00
nathangray
6be5b8f678 Fix editing a file through gave not found error if the symlink was in a versioned directory 2018-03-15 16:55:43 -06:00
Hadi Nategh
65b2588d65 Add missing negation from commit 600872a4bf 2018-03-15 12:24:19 +01:00
nathangray
b5a4b050d5 WIP - Sharing test - some debug, starting to test writable 2018-03-14 15:14:34 -06:00
Hadi Nategh
600872a4bf An attempt to fix broken collabora sharing which originally got broken by commit f166fbdd46 in order to get mounted template sharing fixed. 2018-03-14 18:58:30 +01:00
Ralf Becker
dcb78d9776 remove due to own table in 17.1 no longer needed migration of (private) custome-fields 2018-03-14 14:50:46 +01:00
Hadi Nategh
eb1eed5b8d Implement new feature for vfs-select widget to accept extra buttons action. Additionally, add extra "copy" and "move" actions to link-to vfs dialog. 2018-03-13 17:43:21 +01:00
Ralf Becker
ddd4127ee7 * AD/LDAP migration: change favorites and index states too 2018-03-12 21:22:12 +01:00
nathangray
357e5a3326 Re-init static streamwrapper, as some of them look at permissions or preferences 2018-03-12 13:51:04 -06:00
Hadi Nategh
5de5c09207 Fix styling of opened popups selector dialog 2018-03-12 17:05:49 +01:00
Hadi Nategh
2d71cdf0f5 Fix tracking of opened popups not working after framework reload 2018-03-12 17:04:17 +01:00
Ralf Becker
c2c1bdb6ad * EMail/Tracker/InfoLog: fix error converting mails by replacing 4-byte utf8 chars
MySQL and MariaDB before 10.1 need 4-byte utf8 chars replaced with our default utf8 charset
(MariaDB 10.1 does the replacement automatic, 10.0 cuts everything off behind and MySQL gives an error)
Changing charset to utf8mb4 requires schema update, shortening of some indexes and probably have negative impact on performace!
		if (substr($this->Type, 0, 5) == 'mysql' && $this->ServerInfo['version'] < 10.1)
		{
			$value = preg_replace('/[\x{10000}-\x{10FFFF}]/u', "\xEF\xBF\xBD", $value);
		}
2018-03-12 14:02:13 +01:00
Hadi Nategh
72bc17abf7 Add a fallback site title to avoid showing undefined as title 2018-03-12 12:16:50 +01:00
Ralf Becker
163c87db82 * Api: use proxy configuration when downloading available tutorial videos 2018-03-12 11:16:57 +01:00
Hadi Nategh
fbf63bf65c Fix tutorials.json url to use https 2018-03-12 11:08:09 +01:00
Ralf Becker
32d10dd243 Fix not working textbox validators containing backslashes
PHP xml parser reads backslashes literal from attributes, 
while JavaScript ones need them escaped (eg. like PHP strings)
-> replace \\ with \ to get following XML working: validator="/^\\d+$"
2018-03-10 17:55:12 +01:00
Ralf Becker
e578e64926 ActiveDirectory: additional allow accountExpires=0 for never expires
(beside attribute is not set or has value 9223372036854775807)
2018-03-09 19:51:49 +01:00
Hadi Nategh
81a79f0da8 WIP framework's popup storage/restore:
- fix typo
2018-03-09 17:53:36 +01:00
Hadi Nategh
b2526b340f WIP framework's popup storage/restore:
- Add missing template
2018-03-09 17:51:29 +01:00
Hadi Nategh
a8e10cdc64 WIP framework's popup storage/restore:
- Keep tracking of popup's window object and restore it when needed
- Implement a method to check an already opened popup and execute a method in the selected popup context
- Fix vcard import into opened compose windows not working
2018-03-09 17:48:09 +01:00
nathangray
223b55d631 Api - Allow sharing to use Collabora to open files instead of downloading 2018-03-07 11:29:00 -07:00
Hadi Nategh
d2859d5cee * Mail: Fix "tel:" href links wrongly get denied by mail compose 2018-03-05 18:16:12 +01:00
Hadi Nategh
53b97078ad Fix mail with a bold digits gets removed from text part 2018-03-05 17:31:47 +01:00
Hadi Nategh
dca72ebd9c Fix broken sharing caused by commit 89a8e6f448 2018-03-05 11:13:54 +01:00
nathangray
9a51ad9211 API - Avoid issue with incompatable types by forcing to array, even if no account found 2018-03-02 10:21:43 -07:00
Hadi Nategh
63dd5ce96b Make sure replace only and only VT char (Vertical Tab) 2018-03-02 12:13:13 +01:00
Ralf Becker
205cf9c588 replace non-utf8 chars in content send to browser with utf8 replacement char
before we were removing the whole string
2018-03-01 17:38:45 +01:00
Ralf Becker
f800ab008b if we can not store failed login attempts in database, store it in cache 2018-02-28 18:01:32 +01:00
Ralf Becker
a799abb0a0 * All apps: multiselect custom-field switches to single select after submit 2018-02-28 13:41:13 +01:00
Ralf Becker
c1e8ac6324 Switching consistent hashing (Libketama) off by default
as for just 2 Memcached servers it creates an extrem unbalanced 
distribution favoring the 2. server and has no benefits,
as requests to the failed node can only go to the other one anyway.
2018-02-28 10:45:48 +01:00
Hadi Nategh
b7582fa9a0 Add hover_action for detached description widget 2018-02-26 17:54:13 +01:00
Ralf Becker
69f91de4a7 update to EGroupware GmbH and 2018 2018-02-26 14:03:23 +01:00
nathangray
e259895e2e WIP on sharing test
try to fix it for Travis
2018-02-21 15:13:16 -07:00
nathangray
a4e80ea9a0 WIP on sharing test
try to fix it for Travis
2018-02-21 15:03:45 -07:00
nathangray
529991e283 WIP on sharing test - now actually working with other tests after 2018-02-20 15:32:37 -07:00
nathangray
d76a08b434 Etemplate - email widget tooltip - show loading while waiting for server response, remove tooltip if nextmatch scrolls 2018-02-20 10:32:04 -07:00
nathangray
56b40adb26 Etemplate - don't assume event data will still be there after a timeout, fixes occasional errors about it being missing 2018-02-20 10:28:18 -07:00
Ralf Becker
8b88e748f7 * Admin: new config to generate no or lowercase email addresses for new users 2018-02-20 09:15:42 +01:00
Hadi Nategh
7510a94e11 Add closing timer on notifications 2018-02-19 17:17:24 +01:00
nathangray
8f752fcc03 * Mail - Improvements to list display in address search results
Now automatic group lists & created distribution lists limited to 10 each
If there are more, this is indicated with ellipsis
2018-02-16 11:19:47 -07:00
nathangray
816db05496 Use abstraction to determine mime type, see 9a398594ac 2018-02-15 10:16:04 -07:00
nathangray
05f7754f0e WIP on sharing test - now actually finding & checking the files 2018-02-15 09:37:48 -07:00
nathangray
54dcc794a2 - Re-init VFS for each test class
- Balance output buffering
2018-02-15 09:33:01 -07:00
nathangray
89a8e6f448 Place check on session first to avoid errors if it's missing 2018-02-15 09:19:26 -07:00
Hadi Nategh
2945021b20 * Mail: Fix spacing issue between grouped toolbars 2018-02-15 15:14:06 +01:00
Hadi Nategh
69e83c5aaf Make sure the node is available before addressing its tooltip, fixes broken rename folder action in mail 2018-02-15 14:01:11 +01:00
Ralf Becker
e3c67a1c63 fix PHP Warning if keys contain a backslash as in namespaced classes 2018-02-15 09:52:24 +01:00
nathangray
9c29079ddf Silence warning about time in array format by passing it to constructor 2018-02-14 08:38:48 -07:00
Ralf Becker
f4927d7e0b * Filemanager/Sharing: fix PHP 7.1 error causing auth request to popup
Session only stores app-names and $GLOBALS[egw_info][user][apps] gets restored from $GLOBALS[egw_info][apps] for the allowed app-names. Check if we need to restore from installed apps array was using is_array($GLOBALS[egw_info][user][apps][api]) instead or isset($GLOBALS[egw_info][user][apps][0]), as check if it is a real, non associative array
2018-02-14 09:03:14 +01:00
nathangray
f166fbdd46 * Api - Fix sharing from mounted shares failed with 404 2018-02-13 15:10:34 -07:00
nathangray
28eaee5707 Fix add contact tooltip to work inside nextmatch again 2018-02-12 10:33:24 -07:00
Ralf Becker
71a5d5dcb6 copy 17.1 changelog to master to satisfy update checker 2018-02-09 14:12:30 +00:00
Ralf Becker
c2bb28d3f1 pending DE and SK translation from Stefan Unvericht 2018-02-09 12:34:50 +01:00
nathangray
c67560049c * Api - Check if email address is known before offering 'Add as contact' button 2018-02-08 13:19:26 -07:00
Hadi Nategh
4e0be8a887 Allow custom theme for mobile template 2018-02-08 10:10:15 +01:00
nathangray
a8ffe5ab05 * Api - Fix some spelling errors, reported by Stefan Unverricht 2018-02-07 13:30:55 -07:00
nathangray
01e7ea5dfe Mark test incomplete 2018-02-07 11:13:54 -07:00
nathangray
582e11c4ba Allow to pass egw_info in when creating session 2018-02-07 10:22:53 -07:00
nathangray
091b052943 WIP on sharing test 2018-02-07 10:22:00 -07:00
Hadi Nategh
3bbad14683 Add some translations and adopt link list widget to take editor opener handler preference into account 2018-02-07 15:18:43 +01:00
Hadi Nategh
034b17a49a Implement new user preference in order to be able to select a handler for opening a merge print document 2018-02-07 13:15:29 +01:00
Hadi Nategh
9c4b26f4fb Make sure the original link_registry values of filemanager-editor are not touched 2018-02-07 12:38:07 +01:00
Hadi Nategh
8e0243294c Implement proposed filemanager mime type open handler based on user preferences 2018-02-06 18:00:36 +01:00
Ralf Becker
d934f33ea6 also fixing preg for email with optional domain part 2018-02-05 19:13:01 +01:00
Ralf Becker
419b1656fb fixing the fix again: removing check from client side
We can not use "(?<![.\s])", used to check that name-part does not end in
a dot or white-space. The expression is valid in recent Chrome, but fails
eg. in Safari 11.0 or node.js 4.8.3 and therefore grunt uglify!
Server-side will fail in that case because it uses the full regexp.
2018-02-05 17:01:15 +01:00
Ralf Becker
75a39143f8 fixing the fix, now "email.@domain.com" is invalied, but "x@domain.com" is valid 2018-02-05 16:06:46 +01:00
Ralf Becker
6efe719ea1 one letter name-part in email address failed validation, eg. "x@egroupware.org" 2018-02-05 15:32:00 +01:00
nathangray
f07dbf7439 Attempt to prefer user's date format when parsing date from a string.
Should fix merging into spreadsheet problems with certain date formats (dd/mm/yyyy)
2018-02-02 11:37:30 -07:00
Hadi Nategh
1494d1a6e9 * Addressbook: Fix avatar photo gets removed when adding category to contact via contextmenu 2018-01-31 16:10:48 +01:00
nathangray
cf2b759054 * Admin - fix group list filter & sort
- Remove created & modified columns since they're not stored for groups
- Fix email sort
- Fix search returned all results
2018-01-30 11:28:27 -07:00
Ralf Becker
b1275c4d1e copy 17.1 changelog to master to satisfy update checker 2018-01-30 16:37:54 +00:00
nathangray
9a398594ac * Etemplate - Don't trust browsers mime if we don't have to - fixes incorrect mime types and Resources rejecting pictures 2018-01-30 09:14:52 -07:00
Ralf Becker
20cde78af3 allow user & password again as in http://user:pass@example.com/ to fix tests 2018-01-30 16:54:43 +01:00
Ralf Becker
a9ee58cfad allow private IP addresses (starting with 10.|169.254.|192.168.) too 2018-01-30 16:19:35 +01:00
nathangray
3fed690b9e Switch phrase to one already translated, make confirmation dialog a little wider 2018-01-29 15:55:12 -07:00
nathangray
f453c5b056 Fix typo in doc 2018-01-29 09:04:29 -07:00
Ralf Becker
bff3b0215e * LDAP/ActiveDirectory: fix sorting accounts by anything other then account-name fails 2018-01-29 12:47:57 +01:00
Ralf Becker
37957a49f4 update/add support options in setup and about EGroupware page 2018-01-29 10:20:18 +01:00
Ralf Becker
6b2501430e using PHP_BINARY constant instead of - sometimes not set - $_SERVER['_'] 2018-01-26 14:15:32 +01:00
nathangray
be93c24def Make sure popup notifications are fully in recipient's language
"Message from" and "Linked entries" were in sender's language
2018-01-25 15:40:25 -07:00
nathangray
670b74cf23 Fix wiki links did not load properly after login if your session was expired 2018-01-24 10:28:34 -07:00
Ralf Becker
65e7c7be78 make NM lettersearch lettes translatable via phrase "ABCDEFGHIJKLMNOPQRSTUVWXYZ" 2018-01-24 10:08:55 +01:00
Ralf Becker
034eddb37e * Mail: fix invalid domain name in headers stall whole mailbox
Horde_Idna::decode() and Horde_Mime_Headers::toArray() throws Horde_Idna_Exception for invalid domain names in email addresses like "test@-domain.com", which stall display of whole folder
2018-01-23 12:58:35 +01:00
Ralf Becker
3dadd5b14b fix call to protected method EGroupware\Api\Mail::clean_subject_for_filename() from context mail_integration 2018-01-23 09:31:54 +01:00
nathangray
e13bd2ed63 Mail - Reorganize and use same cleaning function when saving mail as infolog as for saving to VFS 2018-01-22 09:13:19 -07:00
Ralf Becker
79ee97a22c allow to sepecify last security release for multiple major versions 2018-01-21 10:27:40 +01:00
Ralf Becker
ffb0631154 copy 17.1 changelog to master to satisfy update checker 2018-01-18 11:49:38 +00:00
Hadi Nategh
5e94600677 *Mail: Fix sharing of attached files as download links in compose dialog exposes all folders as readonly shares 2018-01-17 16:32:21 +01:00
nathangray
74dafc653a Tests for customfields read options from file 2018-01-16 11:04:12 -07:00
nathangray
f6ae17c0d3 Vfs widget - error handling so it doesn't fail and take down the app if file is weird 2018-01-15 11:53:38 -07:00
nathangray
f402561d7d Better tests for Customfields, fix a couple of permission bugs revealed
Found a problems when requesting 'all' custom fields, it would still use current user permissions
2018-01-12 10:03:34 -07:00
nathangray
236d8e8f06 Update resumable file library, fix bug breaking drag & drop from filesystem in Firefox 2018-01-11 11:46:28 -07:00
Hadi Nategh
2bf7597647 Fix a bug notifications sidebar in client-side not being translated 2018-01-11 17:23:58 +01:00
nathangray
3709d773d9 * Allow private custom fields in notifications, with filtering according to set permissions. Private custom fields are removed from notifications to non-users. 2018-01-10 10:43:43 -07:00
Hadi Nategh
33b41c3f6a Add proper icon for vfsSelect submit button 2018-01-04 12:02:36 +01:00
Ralf Becker
57b92c29de
Merge pull request #32 from stefanwerfling/patch-1
Update autoload.php
2017-12-23 12:27:53 +07:00
nathangray
a9b616fa20 * API - Make sure private custom fields are not accidentally included in notification due to being cached 2017-12-21 11:26:51 -07:00
stefanwerfling
bfabaa52eb
Update autoload.php
- add interface exist check for interface loading by vendor classes
2017-12-21 19:19:03 +01:00
Ralf Becker
ad8746643f copy 17.1 changelog to master to satisfy update checker 2017-12-20 06:14:45 +00:00
Hadi Nategh
652a23be7c W.I.P. migrating of Collabeditor (webodf) from filemanager and Api to an individual app 2017-12-19 18:48:40 +01:00
nathangray
e491f4112a Etemplate - make sure nextmatch action popups get properly closed 2017-12-18 14:51:07 -07:00
Hadi Nategh
e9d82bcadc Add more translations, thanks to Stefan Unverricht 2017-12-18 10:42:08 +01:00
Hadi Nategh
81bcd9fb42 Fix vfsSelect dialog does not preserve the name field on reload 2017-12-18 09:58:40 +01:00
nathangray
d6916b3580 Fix typo breaking the setting of autocomplete params 2017-12-15 10:29:55 -07:00
Hadi Nategh
a3b903b75c * Mail: Fix empty trash/empty junk actions causes error in some mail servers, e.g. Cyrus. 2017-12-15 13:33:04 +01:00
Hadi Nategh
9b639b1fe0 Fix collabora can not open vfs symlinks from apps 2017-12-13 10:10:04 +01:00
Hadi Nategh
d52ede97c5 * Mail: fix vacation notice still sending out notification mail even if the original mail is a spam. 2017-12-08 13:54:11 +01:00
Hadi Nategh
9fb74c1b7c Make selectbox tags&search available for nextmatch header filter 2017-12-07 15:58:25 +01:00
Ralf Becker
2cec97a6c5 replace from PostgreSQL not understood && with standard AND 2017-12-07 17:28:00 +08:00
Ralf Becker
4a13fb4c21 * All apps/PostgreSQL: fix SQL error when deleting an entry without attachments 2017-12-07 17:16:46 +08:00
Ralf Becker
93353a55c0 * Filemanager/PostgreSQL: cant open file in Collabora because of SQL error
Syntax error: 7 ERROR: syntax error at or near "=“, PostgreSQL needs true/false not 1/0
2017-12-07 16:45:01 +08:00
Hadi Nategh
594bd63181 * Mail/Admin: Fix upload picture into mail signature from editor image browser does not work. 2017-12-06 16:25:43 +01:00
nathangray
ced6c63ddd Fix historylog pagination, found by Filippos Karailanidis 2017-12-05 15:13:30 -07:00
Hadi Nategh
fecb034955 Make sure the appname is from the current window 2017-12-05 18:02:11 +01:00
Nathan Gray
fade7185ae
Merge pull request #31 from filkaris/history_rows
Historylog widget: Ability to set nextmatch num_rows
2017-12-05 08:40:30 -07:00
Hadi Nategh
24af670de9 Fixes for broken select-account:
- Fix select account dialog Ok button not working
- Fix selecting a searched account in dialog not working
- Fix broken search dialog
2017-12-05 15:21:25 +01:00
Hadi Nategh
8ca3a19cd9 * Tracker: Fix broken tracker queue selectbox filter 2017-12-05 12:17:19 +01:00
Hadi Nategh
fe5c7a5186 Make sure the options are typeof array or object 2017-12-04 17:02:34 +01:00
nathangray
6506418e61 * Api - Fix nested custom field merging 2017-12-01 11:58:44 -07:00
nathangray
2df24a3aaf Add flag for select all to collabora action 2017-12-01 10:36:58 -07:00
Hadi Nategh
90a5e91fc7 * Addressbook: fix bug setting Hide User Account in preferences into Show all accounts breaks show accounts 2017-12-01 14:58:44 +01:00
A Sigalas
e9de76af7a Set option for num_rows 2017-12-01 11:04:31 +00:00
Hadi Nategh
a93722959b Use filemanager_select for old etemplate apps 2017-12-01 11:05:32 +01:00
nathangray
f45afa1b6b * Etemplate - fix bug preventing Shift + Select until you refresh the app 2017-11-30 10:21:40 -07:00
Ralf Becker
08d2b52d2a copy 17.1 changelog to master to satisfy update checker 2017-11-30 10:28:58 +00:00
nathangray
ad6c143059 Fix various missing translations, found by Stefan Unverricht 2017-11-29 09:58:01 -07:00
nathangray
e88afc07d0 * Addressbook - fix SQL error with accounts hidden + Organisation by location / department
- Fix accounts missing if no preference for hide accounts set
2017-11-29 09:12:05 -07:00
Ralf Becker
546606141e * Addressbook: fix lost picture in upload 2017-11-29 16:25:08 +08:00
Ralf Becker
dd4ae60fa2 fix avatar/files update issues 2017-11-29 09:58:36 +08:00
nathangray
2d93c48b75 Some style fixes:
- Missing icons in several dialogs
- Change nextmatch dialog action to use et2_dialog
2017-11-28 15:59:06 -07:00
nathangray
1f042783f7 Fix select all disables multi-entry actions 2017-11-27 15:06:13 -07:00
Hadi Nategh
95d1911528 Fix error Call to a member function setDate() on boolean 2017-11-27 18:05:47 +01:00
Ralf Becker
df26dc2913 update maintenance_release version in master, to not show yellow "update arrow" 2017-11-26 09:09:44 +08:00
Ralf Becker
e4f51b5692 fix stalled update if jpegphoto is empty string (and not null) 2017-11-23 14:55:11 +01:00
nathangray
105e191920 Translate months too 2017-11-22 11:30:14 -07:00
nathangray
6477c81097 Translate days of the week 2017-11-22 11:13:35 -07:00
Hadi Nategh
41dece3d57
Merge pull request #26 from filkaris/link-type
Add hook option in case user wants link to display another link
2017-11-22 17:21:41 +01:00
nathangray
b04eb80b39 Addressbook - fix show/hide account preference bugs
- account filter was missing for show active
- preference changed to match current value
2017-11-21 11:07:50 -07:00
nathangray
57abd48625 Etemplate - add 'format' option to timestamper to specify the time format 2017-11-21 10:26:54 -07:00
Hadi Nategh
1ecfab062a Fix list of favorites in VfsSelect contains previous selected contents as well 2017-11-20 17:49:46 +01:00
nathangray
2364a39de0 Avoid error if this.input is not yet set 2017-11-20 09:26:04 -07:00
Hadi Nategh
7e6bcc035f Make favorites available as an individual button in VfsSelect dialog 2017-11-20 17:01:50 +01:00
nathangray
ffd66b56d7 - Fix typo
- Fix value not re-set after changing select options if value was ''
2017-11-17 10:05:46 -07:00
nathangray
e6bc7940b3 Etemplate - implement DetachedDOM interface on read-only checkbox, fixes set for every row bug in nextmatch 2017-11-16 10:03:01 -07:00
nathangray
b47777422b Make prefix argument optional 2017-11-16 09:56:20 -07:00
Hadi Nategh
1f998f1612 Fix attempting to open a document link in infolog pops collabora link even the user has no permission to the collabora app 2017-11-16 16:31:22 +01:00
nathangray
867c661796 Fix missing fields in merge if info_contact is not a addressbook entry 2017-11-15 15:41:12 -07:00
nathangray
c8369f9b39 Addressbook - fix hide accounts preference did not work for duplicate & organisation views
- Added a new preference option to hide only deactivated accounts
2017-11-15 11:29:10 -07:00
nathangray
ddd45ccc2e Mail - stop additional mail in sent folder when merging multiple contacts into email 2017-11-14 17:00:17 -07:00
nathangray
f9e1e1b2a6 Better handling of target to support custom fields, now switches to the target tab 2017-11-14 10:35:21 -07:00
Hadi Nategh
1b0c1b9960 * Addressbook: Fix avatar icon is doubled if contact has no avatar set 2017-11-13 12:16:08 +01:00
Ralf Becker
b408c8b464 allow to specify a date-format in custom-fields using eg. format=Ymd, as it was possible in 11.1 in len field 2017-11-10 17:31:05 +01:00
Nathan Gray
43927f0bd5
Merge pull request #29 from neomorina/patch-2
Made some changes at egw_actions
2017-11-10 08:56:55 -07:00
Nathan Gray
a4608d64d7
Merge pull request #28 from neomorina/patch-1
Add MIME Type "text/csv" when "pagerepeat" found
2017-11-10 08:50:47 -07:00
Ralf Becker
3055190ea7 * CalDAV/CardDAV: fix encoding of control chars stalling iOS sync
eg. \xb is not allowed in XML and caused iOS sync to stall, as it's XML parser fails
use htmlspecialchars option ENT_XML1|ENT_DISALLOWED (PHP 5.4+) to ensure proper XML encoding
2017-11-10 15:49:30 +01:00
Ralf Becker
e5ddf8d6b6 allow to migrate accounts from ADS to SQL 2017-11-09 15:27:50 +01:00
Hadi Nategh
9f2abdd5df Remove special file drop handling on CKEditor for IE, it's no longer necessary. Fix issue of drop none image file on compose HTML area uploads the file twice. 2017-11-09 15:01:41 +01:00
Neo Morina
85866c6ef6
Made some changes at egw_actions
This is a usefull for opening "second level results" as a popup.
"Second level results" couldn't get opened as a popup at Project Manager app when i try to add a new Project as Template at the selected Project.
2017-11-09 14:43:49 +01:00
Neo Morina
653a0d50c7
Added MIME Type "text/csv" when "pagerepeat" found
This gives the possibility to use "pagerepeat" in CSV files.
2017-11-09 13:16:06 +01:00
Hadi Nategh
861d714724 Fix vfsSelect does not show any content for the first load 2017-11-09 10:25:35 +01:00
nathangray
7c65127e64 Mail - Also include HTML version of email in integration data (for apps that can handle it) 2017-11-08 13:11:46 -07:00
nathangray
331364810b Fix nextmatch returned null for getDOMNode() if no sender provided
This caused it to appear hidden to etemplate print()
2017-11-07 09:01:31 -07:00
Ralf Becker
ff3ae9815d never invalidate session in sharing, as we cant regenerate it (and we dont need to) 2017-11-07 13:02:39 +01:00
Ralf Becker
719b2ff834 also log if _check_script_tag was able to disarm XSS automatic 2017-11-07 12:23:11 +01:00
Hadi Nategh
fe583421df Fix mime handler for sharing 2017-11-07 10:49:24 +01:00
Ralf Becker
cfe9204f77 allow sql fragments in Api\Storage\Base::delete as in other places 2017-11-06 16:43:23 +01:00
Ralf Becker
790fa8c71d allow sql fragments in Api\Storage\Base::delete as in other places 2017-11-06 16:24:30 +01:00
Ralf Becker
0d99d129dc deny sharing owner rights (chmod, chgrp, set eACL) and disable eACL tab 2017-11-06 14:52:12 +01:00
Ralf Becker
f21b13090f pending translations from our translation server 2017-11-04 09:36:02 +01:00
nathangray
df4f4deb1f Etemplate - Make sure to not return an empty string, it will fail when queried 2017-11-03 14:37:46 -06:00
nathangray
06e41356bd Better handling for thumbnail tooltip if not in nextmatch row 2017-11-03 13:07:02 -06:00
nathangray
dda47ca863 Disable extended ACL for readonly shares 2017-11-03 10:28:27 -06:00
Hadi Nategh
873a2a93d8 Allow multiple mime types 2017-11-03 15:05:35 +01:00
Ralf Becker
4ebf79d0e1 * Sharing/Collabora: allow to use Collabora on writable shares (EPL only) 2017-11-03 12:43:09 +01:00
nathangray
ef7956f34b Make sure lang gets passed on to registration 2017-11-02 11:13:29 -06:00
nathangray
069d49afba Disable copy / paste for readonly shares 2017-11-02 09:43:08 -06:00
Ralf Becker
3689b3d645 * Filemanager/Sharing: deny rename, move, mkdir and rmdir on readonly share 2017-11-02 13:34:10 +01:00
Ralf Becker
3a24416eb9 suppress notice screwing up thumbmails, if notices are on 2017-11-02 13:23:36 +01:00
Hadi Nategh
3465c40b50 Remove unsafe-eval CSP for CKEditor 2017-11-02 11:02:16 +01:00
A Sigalas
df6898a11c Add discard image to buttons 2017-11-01 11:59:11 +00:00
Ralf Becker
0813403b5b * All apps: get sharing working with files attached to application entries 2017-10-31 10:51:59 +01:00
Ralf Becker
b9594ea357 fix typo 2017-10-31 10:49:12 +01:00
Ralf Becker
b5574da397 remove system call used for PHP < 5.3.1 2017-10-31 09:55:23 +01:00
Ralf Becker
a4526c98cb store CalDAV/CardDAV log in user spezific log directories 2017-10-30 15:00:42 +01:00
A Sigalas
f6b314949d Add hook option in case user wants link to display another link 2017-10-30 12:52:36 +00:00
nathangray
616c11c1fb Fix wrong table name 2017-10-27 17:48:42 +02:00
nathangray
0d14155472 Fix minimum fs_id was not returning proper value 2017-10-27 17:43:40 +02:00
nathangray
90ce0cc7b6 Add a function to get the lowest fs_id for a path 2017-10-27 17:43:40 +02:00
Hadi Nategh
f42801236a Override the globalEval to mitigate potential execution of script tag 2017-10-27 17:42:44 +02:00
Ralf Becker
12dbfca137 check cookies for XSS attempts 2017-10-27 16:52:34 +02:00
nathangray
5750904809 Fix setlocale to be able to find locales on Ubuntu 2017-10-27 10:54:39 +02:00
Ralf Becker
92584a61ad * Update: fix not finishing update for more then 100 photos in addressbook
caused by contact_jpegphoto was not set to NULL, as column no longer exists in tables_current
2017-10-26 21:27:16 +02:00
Ralf Becker
5b573abef7 do not allow path traversal and htmlencode displayed path 2017-10-26 13:16:52 +02:00
nathangray
fdb47ab168 Merge calendar events into user account if there is one over user contact 2017-10-26 09:16:02 +02:00
Ralf Becker
77b42dd9a4 always send X-Content-Type-Options: nosniff
It does not harm and stops unpredictable results from browsers changing our content-types
(FF 50+ now also supports nosniff)
2017-10-25 17:35:30 +02:00
Ralf Becker
d11fe532d8 Changelog for 17.1.20171023 2017-10-23 17:27:18 +00:00
Hadi Nategh
fdb3202b6b Add new config to the admin site configuration in order to be able to upload a custom header logo 2017-10-23 13:23:52 +02:00
nathangray
b381a9aa0c Timestamp widget fixes:
- Remove new line before timestamp
- Fix focus not going to where it should
2017-10-23 12:10:45 +02:00
Hadi Nategh
c88e3b8a69 Disable new button and new action in filemanager when there's no writable right 2017-10-23 12:08:33 +02:00
nathangray
b8f8a014fa Move all tests under api/src into api/tests 2017-10-23 10:14:14 +02:00
nathangray
24de1dff3b Move PHPUnit tests from test to tests subdirectory 2017-10-23 09:51:28 +02:00
Ralf Becker
65b02c0246 bump verison to 17.1 2017-10-22 12:56:58 +02:00
Ralf Becker
c88e6e0237 disabling E_DEPRECATED, as contrib apps wont work under PHP 7.1 with having eg. contructors with same name as the class 2017-10-21 12:03:10 +02:00
nathangray
d3c596a443 - Add a parameter to pass in the class of the notification to use so we can pass in a test one
- Explicitly tell notification what type of message (plain or html) we're giving it
2017-10-21 11:29:05 +02:00
nathangray
b8f4af5602 Documentation update from the move of tests into app/tests subdirectory (not app/inc/test or app/test) 2017-10-21 11:29:05 +02:00
Hadi Nategh
ff4396030a Fix CKEditor Browse Server button to open vfsSelect 2017-10-20 18:55:22 +02:00
nathangray
31c007bac7 Give a better message if the test table is missing (Check test app not installed) 2017-10-20 10:20:49 +02:00
nathangray
accd6187e2 Get date widget duration test working again 2017-10-20 09:56:47 +02:00
nathangray
9e6ecce1d0 Move tests into app/tests subdirectory (not app/inc/test or app/test) 2017-10-18 18:30:54 +02:00
nathangray
237d81ce36 Move tests into app/tests subdirectory (not app/inc/test or app/test) 2017-10-18 15:43:35 +02:00
nathangray
865fd6405d Move sanity check to a pre-condition check 2017-10-18 11:47:28 +02:00