Commit Graph

8257 Commits

Author SHA1 Message Date
Ralf Becker
2984e4c79e drop evtl. existing temp. table eg. from a previous failed upgrade 2015-07-29 19:01:17 +00:00
Ralf Becker
62c57946f6 fix typo giving fatal error on Univention Installation 2015-07-29 16:02:18 +00:00
Ralf Becker
ae9d87ed97 * Nginx/FastCGI: run shutdown callbacks (eg. link notification processing) after sending response to user
was broken since some time, because a not closed session kept it from working
--> we are now run all callbacks containing "session" it there name, closing session, calling fastcgi_finish_request() and then run rest of the callbacks
2015-07-29 12:36:37 +00:00
Ralf Becker
b799107de5 * Admin: fix SQL error when search contains a non-ascii character 2015-07-29 10:35:01 +00:00
Nathan Gray
b3611a8dfd Remove popup account selection option 2015-07-28 19:08:17 +00:00
Nathan Gray
1ee1a934f8 Remove another unneeded decodeURI() to avoid problems with addressbook advanced search 2015-07-28 14:49:47 +00:00
Nathan Gray
46c0817743 Remove unneeded decodeURI() to avoid problems with addressbook advanced search 2015-07-27 21:43:05 +00:00
Ralf Becker
6110c34aaa if db-object passed to so_sql_cf, use that also for querying custom-fields 2015-07-27 13:17:03 +00:00
Ralf Becker
5ef86e0b16 change history_status back to varchar, as it contains custom-field names, which can be non-ascii 2015-07-24 12:06:33 +00:00
Ralf Becker
2b1d3f63f3 * Univention: support Dovecot as IMAP available and default from 4.0-2 on 2015-07-23 14:56:20 +00:00
Ralf Becker
0f72e3d58d an other one: fix sql error if link-id (accidently) contains non-ascii chars 2015-07-23 11:49:41 +00:00
Ralf Becker
d59c15582f fix sql error if link-id (accidently) contains non-ascii chars 2015-07-23 11:30:57 +00:00
Klaus Leithoff
23d0108df0 prevent some javascript-errors that prevented the correct execution of code 2015-07-23 11:07:46 +00:00
Ralf Becker
262d8d6440 set network timeout for ldap connections to not block for minutes 2015-07-22 13:35:01 +00:00
Ralf Becker
09911badd3 only shorten contact note and custom-field value, if it does not contain longer values 2015-07-19 09:57:20 +00:00
Ralf Becker
a9c4060dd6 shorten index on egw_sqlfs.fs_name to improve performance 2015-07-19 09:12:47 +00:00
Ralf Becker
970078e970 some more fine-tuning of Galera checks, backported persisten connection handling from ADOdb 5.x 2015-07-19 08:35:27 +00:00
Ralf Becker
6cf9385c48 fix wrongly converted columns back to utf-8 and change message_id to ascii, if you already run update to 14.3, you need to set 14.2.025 in your db:
UPDATE egw_applications SET app_version='14.2.015' WHERE app_name='phpgwapi' AND app_version='14.3'
2015-07-16 08:27:00 +00:00
Ralf Becker
e1ad625fca improved and now optional Galera cluster health check 2015-07-15 20:47:49 +00:00
Nathan Gray
7e9b83d280 Get new custom fields ordering properly too 2015-07-14 14:28:29 +00:00
Ralf Becker
f098f5c368 fix typo 2015-07-14 11:15:30 +00:00
Ralf Becker
b318f1e4f4 status value is in column 1 (2. column), also fixed not working fetchColumn 2015-07-14 10:44:12 +00:00
Ralf Becker
3470f4d51c check Galera wsrep_local_state for node is not in state Synced, eg. Donor 2015-07-14 09:44:39 +00:00
Ralf Becker
bba3fa804a some database optimizing: changing columns with no user-input to CHARACTER SET ascii (instead of utf8), shorten indexes and add additional autoincrement columns where primary key contained varchars 2015-07-11 13:56:50 +00:00
Nathan Gray
3f3071241f Fix copy-paste error in favorite selection comparison, giving TypeError. 2015-07-10 17:44:21 +00:00
Nathan Gray
34536f7e89 Fix copy-paste error in favorite selection comparison, giving TypeError. 2015-07-09 18:01:22 +00:00
Nathan Gray
b16047bde2 Fix custom field order renumbering to keep at multiples of 10, and handle cached custom fields 2015-07-09 17:42:40 +00:00
Ralf Becker
cc15b6812a fix not being able to create new password, after r53051: allow to specify multiple ;-separated hosts for database 2015-07-07 12:41:11 +00:00
Ralf Becker
b27dbc617c allow to specify multiple ;-separated hosts for database, by default first one is used, on connection failure other ones are tried too 2015-07-06 11:15:14 +00:00
Ralf Becker
7eff188dcf fix sometimes not working redirect to login page (session could not be verified), because inline script is not allowed by our content-security-policy, redirecting top window now in login.js 2015-07-04 07:53:50 +00:00
Ralf Becker
4e986e58b8 change "password about to expire in N days" warning into an once per login info-message (was a redirect to password change) 2015-07-01 17:51:56 +00:00
Ralf Becker
d39c2a71bf * Login/Password: handle forced password change on login page 2015-07-01 12:44:34 +00:00
Nathan Gray
90c578b8f4 Remove debug 2015-06-30 21:19:05 +00:00
Ralf Becker
be9cd16de4 fix egw_ical_iterator to use new Horde_Icalendar 2015-06-30 06:53:46 +00:00
Nathan Gray
dcc69abf9b * Smarter favorite highlighting
Now highlights if the current application state matches a favorite, either by click or manually setting the filters.
2015-06-29 19:16:56 +00:00
Hadi Nategh
558589c1eb Do not bind any extra resize on popups in idots as they have resize their own handler 2015-06-24 15:20:43 +00:00
Klaus Leithoff
ee02151c3a attempt to get Sendmail working in zpush implementation 2015-06-23 15:36:12 +00:00
Ralf Becker
3b4708f9ea using new Horde code in vendor for CalDAV/CardDAV, moved all old Horde and SyncML code to syncml app, not sure it is still functional 2015-06-22 15:36:23 +00:00
Ralf Becker
bed4a8461b fixed not working popups or other javascript related actions in idots sidebox menu, if it is hidden and only shown on click or hover 2015-06-20 08:47:45 +00:00
Ralf Becker
2d63cfb10d * Mail: inline images were not shown in Thunderbird
we need to send a multipart/related with html-body as first part and inline images as further parts
2015-06-19 14:20:57 +00:00
Nathan Gray
a602dd3e86 Fix custom field order renumbering to keep at multiples of 10. 2015-06-18 16:48:16 +00:00
Ralf Becker
14ccc8f0b5 added todo with url to php class allowing to stream a zip file of arbitrary size 2015-06-11 12:46:27 +00:00
Ralf Becker
821ba63c02 accidently removed retina sprite 2015-06-11 12:40:44 +00:00
Nathan Gray
920616e37a Calendar et2 conversion work in progress.
Context menu is enabled, but not all actions are fully implemented yet.
2015-06-10 21:51:28 +00:00
Ralf Becker
6c7026fa52 * Setup: support mail authentication without PHP imap extension 2015-06-10 15:44:01 +00:00
Hadi Nategh
c14a917390 Fix a XSS issue in mailto temporary form post method 2015-06-09 16:14:53 +00:00
Hadi Nategh
39d10bb0c5 Get mailto with very long url cope with webservers url limit (e.g. Nginx:4k) via using POST request 2015-06-09 09:09:11 +00:00
Ralf Becker
c7763ee259 load chosen and CKEditor as part of API javascript boundle, as they are used be old eTemplate to and loading only one of the two et2 bundles fails 2015-06-08 14:33:57 +00:00
Hadi Nategh
b5dc84fc09 Revert commit #52857 2015-06-02 08:57:26 +00:00
Hadi Nategh
bc5023f18c Keep the fix from previous commit only for IE 2015-05-29 15:33:00 +00:00
Hadi Nategh
be96b786b7 Fix sending many mails from AB to mail compose causes url length limitation error in IE 2015-05-29 11:04:56 +00:00
Ralf Becker
2699dddc4e fix selector for Mailvelope iframe under Firefox 2015-05-29 11:04:09 +00:00
Nathan Gray
9c1ec7ba62 Fix keyboard actions changing selection to last clicked row instead of using current user selection. 2015-05-28 15:34:58 +00:00
Ralf Becker
ddbe8ccec3 encryption of InfoLog entries (EPL only) 2015-05-28 14:40:33 +00:00
Ralf Becker
01860bc469 * Mobile: fix redirect loop, if template_set was forced to something else then "pixelegg"
- refactored generation of framework object to egw_framework::factory used now in login.php and egw object
- using now $framework->template_dir for *.tpl files of template-sets
2015-05-27 14:01:32 +00:00
Ralf Becker
d384f2407a fix replies to encrypted mails dont open with encryption switched on 2015-05-26 15:25:54 +00:00
Nathan Gray
b1b8206d05 Use restore_count variable instead of non-existing length attribute, maybe helps with framework loading. 2015-05-25 17:05:06 +00:00
Ralf Becker
a838f76da2 translation for mail encryption 2015-05-25 10:08:47 +00:00
Ralf Becker
af76a991d5 if we have no keyring, create one and open Mailvelope settings dialog so user can create or import a keypair, offer user to store new public key in addressbook, so other users can write him encrypted mail 2015-05-23 14:04:28 +00:00
Ralf Becker
8b88959e69 read client-side missing pgp keys from addressbook and offer user to import them 2015-05-20 21:20:10 +00:00
Nathan Gray
6537acb11f Highlight currently selected favorite 2015-05-20 16:12:29 +00:00
Ralf Becker
c41156c47c check if we have PGP keys for all recipients, before switching to encrypted mail, when adding further recipients and before trying to send 2015-05-20 15:24:08 +00:00
Hadi Nategh
84b9f579c7 Add missing action icons in compose toolbar, and fix dragging icon has no height 2015-05-20 10:26:08 +00:00
Ralf Becker
517286fdab using now a domain-specific "egroupware" keyring, instead of default "mailvelope", which only works on localhost, plus improved instructions 2015-05-19 20:23:38 +00:00
Ralf Becker
a480dfc022 Encrypt toggle-button in compose to switch PGP encrypted mail on and off 2015-05-19 18:56:12 +00:00
Ralf Becker
38b3122bb8 send OpenPGP/Mime message according to rfc3156, section 4 2015-05-18 19:23:05 +00:00
Hadi Nategh
8f92df1a86 Escape from infinitive loadingDeferred if the diferred did not get resolved or rejected, and give user a chance to try other tabs 2015-05-13 16:21:50 +00:00
Nathan Gray
237d1d809e * If column information is stored in a favorite, restore it along with the filters
To get column information in the favorite, change the visible columns before you create the favorite.
If the favorite has no column information, the visible columns will not be changed.
2015-05-11 17:29:31 +00:00
Ralf Becker
53f381e246 Retina sprite for choosen 2015-05-11 14:12:26 +00:00
Ralf Becker
853dc85e33 allow to add further attachments, after base-part has been generated or set via emailadmin_imapbase::parseRawMessageIntoMailObject() 2015-05-10 14:32:37 +00:00
Hadi Nategh
ad34d20080 IDE warning cleanup 2015-05-05 09:01:01 +00:00
Hadi Nategh
08729a9df8 Do not return null for return_array function as expected to return always an array 2015-05-04 10:40:50 +00:00
Ralf Becker
bdf5c436dd stop redirection loop 2015-05-01 16:34:28 +00:00
Ralf Becker
e69df78ab8 respect download_url given by vfs 2015-05-01 10:52:24 +00:00
Ralf Becker
e5b89deea4 fix PHP Fatal error "Class APCIterator not found" during installation, caused by for apc.enable_cli=0, but APC(u) installed 2015-04-29 13:38:03 +00:00
Ralf Becker
5e40c8748d fix IDE warnings 2015-04-27 08:31:49 +00:00
Ralf Becker
e3f6fe6104 only use tree-wide load_via array, but do some sanity checks before using it (need to contain all stock keys), to fix not loaded (common) translations, cleaning up some IDE warnings 2015-04-26 11:00:01 +00:00
Ralf Becker
02161a851e * PostgreSQL: fix SQL error viewing history of an entry containing attachments 2015-04-25 10:08:12 +00:00
Ralf Becker
4b4c5e8a84 * PostgreSQL/Addressbook: fixed not working creating of new distribution lists
caused by egw_db::insert() using 0 or NULL in value of $where of primary key when trying to create the list, MySQL ignories these
2015-04-24 13:50:33 +00:00
Ralf Becker
9059132c34 fixed default SMTP account was not returned during setup and deprecated old send class in favor of using egw_mailer direct 2015-04-24 10:01:22 +00:00
Ralf Becker
0b1da4118e * Notifications: skip email notification if we have no valid SMTP profile (eg. because there are only personal accounts and we run via cron) 2015-04-24 08:24:12 +00:00
Ralf Becker
6d3dd5889a fix sharing CSS for Stylite template 2015-04-23 21:16:20 +00:00
Ralf Becker
c823f64c4b fix not working download url for share on a subdirectory of a mounted filesystem with given download url 2015-04-23 19:40:55 +00:00
Ralf Becker
c57bd20379 * API: caching uses by default APC(u) if available AND apc.shm_size * apc.shm_segments >= 64M, it no longer complains in cron/cli if APC is not enabled (as it should and is by default) 2015-04-23 09:20:17 +00:00
Ralf Becker
9cd7906852 removed not working cast of Horde_Mail_Rfc822_List to array 2015-04-22 14:26:20 +00:00
Nathan Gray
db0e368f86 Do not warn about translating nulls, just return empty string 2015-04-21 19:47:23 +00:00
Klaus Leithoff
abd6800a89 dont try to send if there is no smtpAccount 2015-04-21 14:23:59 +00:00
Klaus Leithoff
3a3fea946b replacement for broken (and now deprecated) send->msg; 2015-04-21 12:50:41 +00:00
Ralf Becker
495d6d3599 prefer igbinary serialzation, if available of PHP serialization 2015-04-19 08:09:17 +00:00
Ralf Becker
7d54d5b21c fix meeting invitations to not set "Content-Disposition: attachment" for ical alternative 2015-04-17 09:19:42 +00:00
Nathan Gray
dea520f901 Pass mimetype along too as VFS widget and egw_link seem to expect them 2015-04-16 16:20:38 +00:00
Nathan Gray
611c35fc5f Silence some spurious warnings on null and "" 2015-04-16 16:19:41 +00:00
Hadi Nategh
1c6242741b Fix temp_link_id to respect egw_data 2015-04-16 08:23:52 +00:00
Ralf Becker
ed1c1daf4a using serialize to create hash to not fall short if some non-utf-8 or non-json-decodable data is in parameters 2015-04-16 07:04:49 +00:00
Nathan Gray
e9d73a08f2 Do not remove rows that just have not changed.
Fixes linking two rows caused them to disappear.
2015-04-14 19:56:15 +00:00
Ralf Becker
08609c1e0b always return resource seeked to its start 2015-04-14 17:05:38 +00:00
Ralf Becker
0223553284 allow to specify "egw_data" => egw_link::set_data() instead of "tmp_name" of uploaded file to create attachments with egw_link::link() 2015-04-14 15:04:21 +00:00
Ralf Becker
264899f0db * ActiveDirectory: primary group was not used when filtering accounts by a group, causing eg. no accounts to be found for "Domain Users" group in Admin or other apps 2015-04-09 09:45:12 +00:00
Ralf Becker
bf187f131f check if APC(u) is enabled and not only if extension is available 2015-04-03 17:56:35 +00:00
Hadi Nategh
788cd3e078 Fix REQUEST_URI if there is ?download in url 2015-04-02 11:26:35 +00:00
Ralf Becker
0127e6d07c fix not working customized etemplates after fix with content-disposition attachment, we now only set it for urls ending with "?download", not for "?download=something" 2015-04-02 10:46:53 +00:00
Ralf Becker
21a48297bb * Admin/ActiveDirectory: filtering user-list by groups was not implemented 2015-04-02 08:51:36 +00:00
Ralf Becker
a14c880102 * LDAP/Admin: empty groups showed all users, if selected in accounts-list 2015-04-02 08:49:49 +00:00
Ralf Becker
cca60fa93f ?download in WebDAV url did not trigger content-dispostion attachment header 2015-04-02 07:19:37 +00:00
Nathan Gray
bd51cb4a08 Add support for multi-part history values into historylog 2015-04-01 19:35:35 +00:00
Hadi Nategh
5c944330c5 Expose link widget WIP:
- Implement expose view for link-string widget
- Adapt link-string widget, and other widgets which are using expose to download_href link
2015-04-01 16:51:18 +00:00
Hadi Nategh
bfad873952 Fix broken blueimp-gallery plugin minified css file 2015-04-01 16:46:01 +00:00
Nathan Gray
a8d6b8da07 Better error message for invalid sprintf 2015-04-01 16:24:43 +00:00
Hadi Nategh
ba19d9dab9 Fix addressing wrong href in previous commit #52368 2015-04-01 16:10:43 +00:00
Hadi Nategh
3987e3f033 Expose view few changes:
- Implement download button and locate it in expose view
- Style control icons better
- Give control icons tooltip
2015-04-01 15:43:14 +00:00
Ralf Becker
b086604711 move "Save as" phrase to common and merge-cli run 2015-04-01 08:00:07 +00:00
Hadi Nategh
5026216842 Treat iceweasel browser like as firefox 2015-03-31 13:55:05 +00:00
Hadi Nategh
ed2bed1b97 Fix click handler on links does not stop propagation, causes unwanted click event 2015-03-31 10:01:51 +00:00
Ralf Becker
92ee011a45 * Calendar: meeting requests were not recogniced by other clients as such because of lost method parameter 2015-03-31 09:49:31 +00:00
Ralf Becker
b30f051f04 remove popup for pdfs on all mobile devices 2015-03-30 15:54:41 +00:00
Hadi Nategh
21f2fe9b0e Fix mime_open handler for old etemplate 2015-03-30 14:44:20 +00:00
Hadi Nategh
c22094d808 No need to have regexp mime for the rest of the mime type text, as the default mime_target is _browser 2015-03-30 10:37:09 +00:00
Hadi Nategh
41af200dc6 Let browser handles mime types/text which are not suppose to be popup 2015-03-30 09:57:34 +00:00
Ralf Becker
3e47f37983 quote order column in backup and always quote "index" as it seems to be one of very little names not automatic recogniced in MySQL 2015-03-30 08:28:52 +00:00
Ralf Becker
31b4209346 fix user-agent detection to correctly detect "Mozilla/5.0 (Linux; Android 4.3; LT30p Build/9.2.A.1.205) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.117 Mobile Safari/537.36" as Chrome 2015-03-30 08:26:31 +00:00
Ralf Becker
55082bcc68 * LDAP: fixed not working creation of new groups (with empty describtion) 2015-03-29 16:10:02 +00:00
Ralf Becker
86d0b31b3b * ActiveDirectory: real password change (not reset) for PHP 5.4>=5.4.26, 5.5>=5.5.10, 5.6+ (subject to minimum password age policy!) 2015-03-29 15:22:43 +00:00
Ralf Becker
0e6c4cdde6 * LDAP/AD/UCS/Filemanager: new created groups home-directory was not displayed in filemanager 2015-03-27 10:48:18 +00:00
Hadi Nategh
ff507682eb Replace deprecated console.timelineEnd and console.timeline with console.timeEnd and console.time 2015-03-27 10:46:56 +00:00
Hadi Nategh
c3eed99cdd Introduce new target type called "_browser", in order to specify browser default link handling
- Description widget using href, the default target would be _browser
- Call filemanager egw.open with target _browser
2015-03-27 10:13:57 +00:00
Ralf Becker
2c50d99de0 docu fix, default is here ASC to, as it is SQL default 2015-03-27 08:12:19 +00:00
Ralf Becker
57d06008fa * LDAP: setting default sorting to ascending, as in SQL backend 2015-03-27 08:09:29 +00:00
Hadi Nategh
585d42dbde Try to open contents, which have no mime type registered, properly in different browsing environments 2015-03-26 13:41:16 +00:00
Nathan Gray
5c135604d2 Implement searching in group email addresses 2015-03-25 20:33:35 +00:00
Nathan Gray
7cf73e6967 Sort countries by locale, according to user's language and country settings, using already existing method to determine locale 2015-03-25 18:49:16 +00:00
Ralf Becker
5887bc4313 * Mail, Filemanager: use now same handling, pdf, text or html are opened now in popup, fixes viewing of attachments using mobile theme 2015-03-25 17:48:24 +00:00
Nathan Gray
21fca0b702 Sort countries by locale, according to user's language and country settings 2015-03-24 16:05:02 +00:00
Ralf Becker
ffceb37973 WIP attachment handling via mime-registry 2015-03-24 09:43:38 +00:00
Hadi Nategh
ab890a7c56 Clear deferred object after its resolved, since the next time reload checks the deferred object existence
-Fix calendar d-n-d works only once
2015-03-23 14:30:53 +00:00
Ralf Becker
8431629ed2 * All apps: nummeric custom-fields (float or new integer) sort nummeric in lists 2015-03-23 08:38:30 +00:00
Nathan Gray
62019e52eb Wrap this into jQuery object, so remove() works in IE 2015-03-19 16:08:16 +00:00
Hadi Nategh
028ab9644b Add API for browser localStorage 2015-03-19 09:34:06 +00:00
Ralf Becker
b1e5fac775 fix error caused by browser popup blocker and display popup blocked warning for quick-add selectbox 2015-03-18 10:36:47 +00:00
Ralf Becker
3f5a251ad6 Fixed changing to a non-toplevel / iframe url did NOT allow to return to a top-level (ajax=true) one, because browser.currentLocation was not updated for iframe 2015-03-18 09:56:11 +00:00
Nathan Gray
f078a2ae82 Fix for protocol detection and problems converting absolute to relative paths, from Thomas Kurschel. 2015-03-17 14:47:24 +00:00
Hadi Nategh
715bcbd92d Do not trigger window resize for mobile devices as they are getting opened fullscreen anyway 2015-03-17 14:15:20 +00:00
Nathan Gray
7ccca9f4c6 When creating a new objectManager, use the actionManager at the matching search depth.
Fixes objectManagers using an actionManager from a different application, and failing.
2015-03-16 20:17:55 +00:00
Hadi Nategh
58ddac77e9 Fix password change dialog does not open in safari 2015-03-16 17:43:42 +00:00
Ralf Becker
386ee978f3 need to query all apps for CSP frame-sources, as they need to be set on top-level window/document 2015-03-13 12:51:36 +00:00
Nathan Gray
6e98e917b6 Another attempt at properly caching image map without blowing up the cache. 2015-03-11 22:19:43 +00:00
Nathan Gray
cabf2f2e75 Don't clear deferred, as type may get reset in initialization. 2015-03-11 21:55:25 +00:00
Nathan Gray
3135068a45 Return a Deferred object when tab is browsing, and use it do show & hide a loader div while loading an app for the first time. 2015-03-10 20:12:30 +00:00
Ralf Becker
60f1ca4033 fixed account-selection-type "primary_group" to only show membership-groups by default 2015-03-10 15:40:27 +00:00
Nathan Gray
3eb9353b9d Try to avoid a syntax error in IE 2015-03-09 22:46:31 +00:00
Nathan Gray
a9af75f416 Only cache if there user has access to the image dir 2015-03-09 19:50:09 +00:00