Commit Graph

1816 Commits

Author SHA1 Message Date
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