Commit Graph

7717 Commits

Author SHA1 Message Date
Ralf Becker
45a70dcf1d todays changes from pixelegg 2013-11-12 17:24:19 +00:00
Ralf Becker
b0237ef5a3 added installing with installer from http://nodejs.org/download/ 2013-11-12 11:58:12 +00:00
Ralf Becker
3b51dcda45 fixed name of old etemplate/templates/default/app.css 2013-11-12 11:43:13 +00:00
Ralf Becker
1434a55e7e new README about how EGroupware uses images and css in templates 2013-11-12 11:26:06 +00:00
Ralf Becker
6ae755b1aa added pixelegg template, to also delete image cache of it 2013-11-12 09:29:44 +00:00
Ralf Becker
81331d5820 remove pixelegg images from api templates dir, as it is installed as app 2013-11-12 07:57:49 +00:00
Ralf Becker
583538e824 using now CSS preprocessor less (http://lesscss.org) to create some of our css files, used a lot in new Pixelegg template 2013-11-11 19:10:28 +00:00
Ralf Becker
77a30817d6 images for new Pixelegg template 2013-11-11 18:56:02 +00:00
Ralf Becker
6195a36a1a uncommited changes (class is not used anyway) 2013-11-11 08:32:46 +00:00
Ralf Becker
af8f7b2c35 uncommited changes 2013-11-11 08:31:33 +00:00
Ralf Becker
d4d0c13876 static method can not use $this, there is no need to anyway 2013-11-11 08:28:03 +00:00
Ralf Becker
b1f5649451 fixed egw_min_php_version to 5.3 2013-11-11 08:27:10 +00:00
Ralf Becker
aeced1ddae always check for read access too 2013-11-11 08:23:14 +00:00
Ralf Becker
e4ee379138 fix wrong sql produced by column_data_implode with param $use_key="VALUES" and numerical indexes in data 2013-11-11 08:21:54 +00:00
Ralf Becker
d7a1b12d96 normalize ./ away 2013-11-11 08:19:00 +00:00
Ralf Becker
12e8a3bbcd iterator to run arbitrary callbacks on a select 2013-11-08 19:54:08 +00:00
Nathan Gray
aa47e50f97 Fix missing drag helper 2013-11-06 23:12:32 +00:00
Ralf Becker
aeb6ebd84c instanciate app.js object from egw.js, so non et2 apps can use it too, get et2_dialog working from app.calendar outside listview 2013-11-05 18:08:07 +00:00
Ralf Becker
6d226a7921 split constructor function and place of instanciation for app.js objects: app[appname] = new app.classes[appname](); 2013-11-04 20:54:23 +00:00
Nathan Gray
07ff17704f Refresh current app or target app too, like it says it's supposed to 2013-11-04 18:57:20 +00:00
Ralf Becker
1dd3ad5e0a fixed ckeditor wont start with NOT expanded toolbar 2013-11-04 10:13:28 +00:00
Ralf Becker
7e856af544 mark popups as such by enclosing there content in div#popupMainDiv and properly closing html markup for popups 2013-11-03 09:30:25 +00:00
Ralf Becker
b20bd49817 * CalDAV: fixed wrong http-status for delete in inbox and announce sync-report on inbox, so clients using it get events only once 2013-10-31 11:29:22 +00:00
Nathan Gray
4d29125c41 Fix some window/scope issues with jquery & plain assign handlers to make sure they operate on the window, not the request context (which can be anything) 2013-10-28 22:22:09 +00:00
Ralf Becker
e94502515d * Admin/Preferences: changepassword hook was called twice
fixed by calling in now from API and not on every location in application code changing a password
2013-10-25 19:24:01 +00:00
Nathan Gray
ae04210b66 jqplot version update to 1.0.8 2013-10-24 20:24:26 +00:00
Nathan Gray
1e6fcec665 Fix missing typeof operator 2013-10-24 17:01:58 +00:00
Klaus Leithoff
892f90205a work around ckeditor problem with default (kama) skin, by falling through to moonocolor 2013-10-24 14:42:40 +00:00
Ralf Becker
c8f1e75165 PSR-0 autoloading eg. for PEAR or Horde classes 2013-10-22 08:25:55 +00:00
Klaus Leithoff
210a145747 support additional moonocolor skin 2013-10-21 11:33:39 +00:00
Klaus Leithoff
9a8ecd6e12 add additional moonocolor skin 2013-10-21 11:33:05 +00:00
Klaus Leithoff
aefa07f028 fix broken kama skin, remove obsolet kama skin.js 2013-10-21 11:04:47 +00:00
Klaus Leithoff
7b7c9f47a6 fix broken kama skin, add icons_hidpi.png 2013-10-21 10:59:38 +00:00
Klaus Leithoff
e24697679d fix broken kama skin 2013-10-21 10:58:31 +00:00
Nathan Gray
f6526a30e8 Fix intermittent issue with missing window breaking ajax 2013-10-18 21:01:53 +00:00
Ralf Becker
998d568ef4 for egw.json calls in a popup we need to use jQuery object of that window, as otherwise eg. apply from server with app.$app.method to run in main window instead of popup 2013-10-18 16:14:36 +00:00
Ralf Becker
d63cf889b4 silenced permanent error_log and fixed a typo 2013-10-18 14:31:46 +00:00
Klaus Leithoff
1d3998c99e * CKeditor: update to version 4.2.2 2013-10-17 15:13:47 +00:00
Klaus Leithoff
6e0448cb62 fix broken scayt and spellcheckerbuttons in config for ckeditor 2013-10-17 15:09:56 +00:00
Ralf Becker
6e76361736 open all sidebox admin link in admin vi admin.admin_ui.index loader 2013-10-15 16:53:43 +00:00
Ralf Becker
319a503c90 fixed broken install under PostgreSQL caused by PHP Fatal error: Call to a member function fetch() on a non-object 2013-10-15 11:42:28 +00:00
Ralf Becker
b0219a682f reverted accidently commited phpgwapi changes 2013-10-15 09:36:23 +00:00
Ralf Becker
0ca55a1103 * SiteMgr: fixed not working anonymous user and using now a random password 2013-10-15 09:25:49 +00:00
Ralf Becker
38504680b7 setting CSP attributes needed by CKeditor now automatic when egw_ckeditor_config::get_ckeditor_config(_array) get called 2013-10-14 10:42:36 +00:00
Nathan Gray
b77ce6a8dc - MagicSuggest update
- Fix setting taglist value via js
2013-10-11 14:38:04 +00:00
Nathan Gray
129eb91b3d Null is also not OK for icon 2013-10-10 16:15:46 +00:00
Klaus Leithoff
43d73abbcd test if the required method is available on framework 2013-10-10 15:38:18 +00:00
Nathan Gray
bab4adf6d9 Update toolbar definitions to match new format 2013-10-10 11:55:29 +00:00
Ralf Becker
24e3fb2e63 fix "Got invalid title request, by NOT sending empty requests" warnings 2013-10-10 10:49:41 +00:00
Nathan Gray
e0954288dd Switch to a heartbeat style of tracking open [named] popups. Seems much more consistent. 2013-10-10 09:37:21 +00:00
Klaus Leithoff
cce86e346e silence permanent error log 2013-10-10 09:25:04 +00:00
Klaus Leithoff
77d28bad75 allow to set config via json_encoded string for purify wrapper 2013-10-10 09:23:55 +00:00
Nathan Gray
33a88ea089 Also accept meta (Command) key to turn on dragging files out of window 2013-10-09 09:12:02 +00:00
Ralf Becker
6cfd7b22b7 using jQueryUI resizable to resize sidebox, getting it to work under CSP that way 2013-10-08 12:06:07 +00:00
Ralf Becker
bafcc80e35 fixed translations not loaded on very first request, as postponing ready for waiting on translations did not work, now using a direct callback instead 2013-10-08 08:55:15 +00:00
Ralf Becker
0bb8093426 fixed translations on client-side: server sends now currentapp and langRequire to client, which uses that to translate phrases, langRequire is only stored in egw object for matching app-name and window! 2013-10-07 17:00:03 +00:00
Ralf Becker
a6311fa1a3 creating and using an app-specific egw object 2013-10-07 16:53:13 +00:00
Nathan Gray
746e6ea193 Also accept just the window name to windowClosed(), as sometimes window.name is not available anymore. 2013-10-07 11:20:47 +00:00
Nathan Gray
57c412bd47 Slightly more robust popup handling.
It's still not possible to completely track them, but it's a little better.
2013-10-07 10:09:08 +00:00
Nathan Gray
3ca2448f94 Make storage api global 2013-10-07 10:08:24 +00:00
Ralf Becker
ffc506561a * API: fixed not working session encryption, by switch back to previous MCrypt algorithm and mode 2013-10-07 07:22:50 +00:00
Ralf Becker
43e1bfcc12 switching on Content-Security-Policy: script-src 'self' 'unsafe-eval' for all templates, old non-et2 apps can call egw_framework::csp_script_src_attrs('unsafe-inline') to enable inline scripts in their scope, et2 does it for CK editor which does not support CSP currently and old etemplate does it for all apps using it 2013-10-05 13:33:28 +00:00
Nathan Gray
8a7ffaa182 Restore accidentally removed return of popup window 2013-10-05 09:38:22 +00:00
Nathan Gray
893648e189 Add the ability to track named popups opened using egw.open() or egw.open_link(). Unnamed popups or those opened in other ways are not tracked. You can get the list using egw.getOpenWindows(app, regex_filter), which returns a list of names.
Also, a wrapper around session storage.
2013-10-05 09:28:12 +00:00
Ralf Becker
b4accbbcb5 idots now also automatic resizes its application area like Stylite template, so eg. et2 nextmatch can fill full area 2013-10-04 11:58:13 +00:00
Ralf Becker
65223eb80a when displaying topmenu in sidebox as "General menu", use same code to display new topmenu items too 2013-10-04 11:56:47 +00:00
Ralf Becker
59f264ada4 do NOT require enabled=true for (enable|disable)Class or enableId attribute to work 2013-10-04 11:18:50 +00:00
Nathan Gray
282fb76cb6 Improve error message 2013-10-04 09:40:35 +00:00
Ralf Becker
2f39c7b4dd fixed not working preferences under idots template 2013-10-03 15:54:19 +00:00
Ralf Becker
dad39e1d8a moved all confirmation to api egw_actions and changed select_all to depend on all visible rows selected (Ctrl-A) 2013-10-03 15:30:27 +00:00
Ralf Becker
66db293a67 missing commit for new preferences 2013-10-03 15:17:14 +00:00
Ralf Becker
f8a0db06fc completly remove preferences menu from sidebox and tiled preferences index in favoir of app-sensitive entries in top-menu 2013-10-03 09:23:18 +00:00
Ralf Becker
6f162f144e add context sensitive link to ACL/grant access to top-menu, same is to be happen for cats and preferences itself and preferences in sidebox will be removed 2013-10-02 16:29:08 +00:00
Ralf Becker
7cf6500f92 docu update 2013-10-02 10:33:44 +00:00
Ralf Becker
53880e2063 to mitigate html download with CSP: no blacklisting just IE, only whitelist tested browsers and versions 2013-10-01 09:50:23 +00:00
Nathan Gray
28c2737c9f Change multi-select header styling:
- Change icons from jQueryUI to egw
- Stop hiding header when not needed, always show
- Don't visually distinguish header
- Don't float right icons, leave them between checkbox and label
2013-09-30 15:39:36 +00:00
Nathan Gray
756b3d3380 Fix app-level redirect affects whole page 2013-09-30 12:34:45 +00:00
Ralf Becker
bc9c486e03 some small fixes to get through a view more tests for managed attachments 2013-09-25 12:37:42 +00:00
Ralf Becker
d4c2ed3f65 stop CalDAVTester from creating one log per test-step 2013-09-25 07:46:02 +00:00
Ralf Becker
ba73deee9f fixed typo in ATTACH property "FMTTYP(E)" and added xml error bodys for wrong managed-id parameter (more to follow) 2013-09-25 07:11:27 +00:00
Ralf Becker
86649cd1e1 full implementation of draft-murchison-webdav-prefer-05, incl. return=representation for 412 conflicts 2013-09-25 07:09:44 +00:00
Ralf Becker
0601d40bd3 fix Prefer header to use return=(minimal|representation) instead of older draft dash, enable add-member property, and add Location header to action=attachment-add 2013-09-24 12:29:17 +00:00
Klaus Leithoff
45326fa484 on async job write, make sure that possible next attribute in data is in sync with job[next] 2013-09-24 10:22:03 +00:00
Ralf Becker
edd4cc49ca basic managed attachment support, tested with iCal from OS X mountain lion 2013-09-23 13:39:28 +00:00
Ralf Becker
1752f7defd basic managed attachment support, tested with iCal from OS X mountain lion 2013-09-23 10:21:31 +00:00
Klaus Leithoff
5e425398fa change convertHTMLToText behavior, regarding the replacing of CRLF or LF to single space; now removing them completely, when text to be processed is regarded to be html 2013-09-18 12:14:59 +00:00
Nathan Gray
07b311d495 Enhance error message to actually include the original error message 2013-09-17 20:17:20 +00:00
Nathan Gray
6fd5e50d60 Use a two step process to force an absolute URL, in case server settings have full URL 2013-09-17 15:34:39 +00:00
Nathan Gray
68b1178657 Undefined needs quotes. 2013-09-16 14:35:55 +00:00
Ralf Becker
b8341e48a1 mitigate risk of html downloads by using Content-Security-Policy header or Content-Disposition: attachment for IE 2013-09-12 18:49:07 +00:00
Ralf Becker
9523ba79c2 removed not used assignment 2013-09-12 08:31:10 +00:00
Ralf Becker
d26cfed93a update from 1.8.005 2013-09-11 16:30:05 +00:00
Nathan Gray
b4007621f7 When applying (call a function) call it on the request window, not current - they may be different 2013-09-11 15:52:49 +00:00
Ralf Becker
855c04cb2c use secure and httponly cookies by default, secure cookies can be switched off in Admin >> site configuration, if required for sitemgr 2013-09-11 13:06:00 +00:00
Ralf Becker
eb06a2adee setup uses now sessions too and password-hashes in header.inc.php use most secure hashing type 2013-09-11 11:35:20 +00:00
Nathan Gray
958167b0f7 Add an optional async parameter to sendRequest() to make simple async calls easier 2013-09-10 20:22:47 +00:00
Nathan Gray
8ca7b57715 Start giving some deprecated warnings so we can start the process of removing this file 2013-09-10 19:39:20 +00:00
Ralf Becker
892500fee3 change cli detection to use php_sapi_name() 2013-09-10 17:29:58 +00:00
Ralf Becker
1590d02816 new egw_framework::message($msg, $msg_type="success") method and fixing nextmatch filter-change to return app-header 2013-09-05 11:53:25 +00:00
Nathan Gray
eef2235f2e Merge egw_jsons - change jsonq to use egw.json() 2013-09-04 22:01:33 +00:00
Nathan Gray
467734258c Merge egw_jsons - change preferences to use egw.json() 2013-09-04 21:51:08 +00:00
Nathan Gray
72e5c43a96 Add child action visbile/enabled checking - previously children were always enabled 2013-09-04 19:09:48 +00:00
Ralf Becker
1f8e0e9e41 global method egw_message(_msg, _type) to display success-, warning- or error-messages in app-header 2013-09-04 19:02:34 +00:00
Ralf Becker
aaf0a7491d silence warning be defining the constants 2013-09-02 13:40:40 +00:00
Ralf Becker
e2cce43bad fixed not working _self target 2013-09-02 13:25:00 +00:00
Klaus Leithoff
d5c2a03f51 revert changes introduced with r43681, as issue is fixed in bo_tracking and handling of GLOBALS[info][user][account_id] 2013-09-02 11:34:38 +00:00
Ralf Becker
3d20422177 not creating references to ['egw_info']['user'], as bo_tracking and other async service stuff has problems to change between different user enviroments 2013-09-02 10:43:16 +00:00
Klaus Leithoff
7744905ba8 try to resolve a use-session-stored-data related problem; make sure account_id and prefs are restored after send_notification 2013-08-30 12:57:51 +00:00
Klaus Leithoff
f5e00e4bad add (and use) preg replace callback for mailto link to text transformation 2013-08-29 10:39:08 +00:00
Nathan Gray
eb989ed98b Hold Ctrl key to drag a file from filemanager to system folder / desktop
Restricted to Chrome only, one file at a time, folders don't work well.
This uses Chrome-only DownloadURL, so other browser support is unlikely.
2013-08-28 22:31:14 +00:00
Ralf Becker
a9a8e65ece new parameter to be able to use get_user_applications() in admin and class-constants for ACL-rights, can be used instead EGW_ACL_* defines 2013-08-28 13:27:53 +00:00
Ralf Becker
ccab8e0ac1 fix alert("1"), caused by data-window-close being a string 2013-08-27 16:49:57 +00:00
Klaus Leithoff
a4cf6874e2 commit some french lang file stuff; provided by Thomas Chaillot, Spirea 2013-08-27 08:54:05 +00:00
Ralf Becker
db7d12af4b first take on new ACL dialog for admin 2013-08-26 18:25:43 +00:00
Ralf Becker
aa8a848871 optional parameter for egw_framework::window_close() to specify an alert message, which get shown/alerted, before closing the window 2013-08-26 10:24:11 +00:00
Ralf Becker
0de6ab1b35 fix not working timesheet status and category actions: "disableClass", "enableClass" and "enableId" are now handled by action system itself, one should not set an explicit "enabled" attribute anymore 2013-08-26 08:24:50 +00:00
Ralf Becker
0984527661 let old eTemplate run its own confirmation from nextmatch_action.js 2013-08-26 07:36:51 +00:00
Ralf Becker
6fbfb6c784 propset svn:keywords 2013-08-26 07:36:19 +00:00
Ralf Becker
46f81649eb also fix calls to deprecated ajaxResponse class to use egw_json_response singleton, should be fixed in code for current apps 2013-08-25 15:14:19 +00:00
Ralf Becker
38798b872d Force use of singleton: $response = egw_json_response::get(); not using it causes response being wrapped in an other response 2013-08-25 12:42:55 +00:00
Ralf Becker
b2ba685edd remove inline javascript from idots and jerryr templates 2013-08-21 20:22:53 +00:00
Nathan Gray
1d9589db99 If et2 object changes, we need the new one, not reject. 2013-08-20 23:20:56 +00:00
Nathan Gray
dca0c40418 Promote some useful common functionality to the app.js parent class 2013-08-20 19:20:10 +00:00
Nathan Gray
dba3bcc2aa Update timepicker, some work on date-timeonly so it returns a value 2013-08-20 18:37:09 +00:00
Ralf Becker
b5ca4ac505 fixed jdots/Stylite template to contain no more inline scripts 2013-08-20 18:01:49 +00:00
Ralf Becker
73aa652c41 missing egw.js from last commit and egw_framework::window_focus() method 2013-08-20 13:25:36 +00:00
Ralf Becker
1c4f65120c new egw_framework methods refresh_opener and window_close to call egw_refresh on opener or close popup window in a content security save way 2013-08-20 12:06:41 +00:00
Ralf Becker
8b8faba28c some docu and jsdoc tags to show the outline 2013-08-20 07:06:59 +00:00
Nathan Gray
ba80841c5e Add some comments and a warning if action string can't be parsed to a function 2013-08-19 17:41:16 +00:00
Klaus Leithoff
95e18fd5a7 merge russian lang files provided by MBCGroup 2013-08-16 11:01:33 +00:00
Ralf Becker
cf25e7bae0 get Eclipse to display outline 2013-08-16 09:16:40 +00:00
Ralf Becker
ec6d873941 let PHP Warnings look exactly like original ones, but with a backtrace 2013-08-15 10:15:13 +00:00
Klaus Leithoff
12402514b9 * CKEditor/ASpell: hardening of jscode for IE10, as spellCheckerWin object may not be defined 2013-08-14 09:35:03 +00:00
Ralf Becker
c806da58ce give a trace for PHP (User) Warnings 2013-08-14 08:09:51 +00:00
Klaus Leithoff
27149b237f play around with catching the smtp error of smtp class, as it is the one that has the info about the error 2013-08-07 09:20:16 +00:00
Klaus Leithoff
a7be5a026e move reset-call of smtp to phpmailer class, as it is the one that throws exceptions, and stops action 2013-08-07 08:34:00 +00:00
Ralf Becker
118657ddee using etemplate_new::ajax_proecess_content to allow to have etemplate still extend etemplate_old, making etemplate_new autoloadable 2013-08-06 18:24:30 +00:00
Klaus Leithoff
54b2596ff8 send reset command after failure while failing when adding addresses 2013-08-06 13:51:39 +00:00
Ralf Becker
48fd2113f3 some long running operations, eg. merge-print, run into situation that DB closes our separate sqlfs connection, we try now to reconnect once 2013-08-05 14:59:31 +00:00
Ralf Becker
0f37c16cd8 using correct case: To, Cc and Bcc 2013-08-05 14:56:39 +00:00
Klaus Leithoff
d22f24666b ClearAllRecipients should only clear recipients, not From, ReplyTo and such 2013-08-05 13:44:44 +00:00
Ralf Becker
243bb169a2 need to reimplement Clear methods from parent, to also clear our private addresses 2013-08-05 08:46:29 +00:00
Ralf Becker
6fe4085a11 fixed wrong condition only giving a location header if requests fails, not if it succeeds 2013-08-02 19:28:38 +00:00
Ralf Becker
207b7de248 instead of sending nothing, which gives a parse error on client-side, send a valid, empty response 2013-08-01 12:28:28 +00:00
Ralf Becker
6f39b0618d using dhtmlxtree from sources instead of codebase directory, as does et2_widget_tree, to not double load it and causing 2. load to overwrite extensions from 1. 2013-08-01 11:19:14 +00:00
Ralf Becker
3afd9aaa18 check if quick-add selectbox is alread there, only create it again if not 2013-08-01 09:54:09 +00:00
Ralf Becker
05765db6ca * Admin/Filemanager: added filesystem check and repair for missing or broken required directories /, /apps and /home 2013-08-01 07:53:20 +00:00
Ralf Becker
8ce9969ece we need to double encode (html::htmlspecialchars( , TRUE)), as otherwise we get invalid json, eg. for quotes, fixes not working display in filemanager for some directories containing directories with quotes in their name 2013-08-01 06:36:18 +00:00
Nathan Gray
afa7a73f0a Fix chosen sizes using new width attribute for account multi-select 2013-07-26 15:08:17 +00:00
Klaus Leithoff
7cf8a4d01b * CKEditor/ASpell: adaption of aspell plugin to work with IE10 2013-07-26 10:40:28 +00:00
Ralf Becker
200a8860bf * eTemplate/all apps: (silently) limit number of links shown to 1000 newest, to not run into memory_limit or max_execution_time and assuming noone will scroll further down anyway 2013-07-26 09:38:38 +00:00
Nathan Gray
f65680a7ae Add CSS to better match egw. Fix chosen sizes using new width attribute. Not perfect, but at least never too small. 2013-07-25 20:28:32 +00:00
Ralf Becker
8e85c86f8b * Async service/Backup: updating job to next scheduled time BEFORE running it, to copy with jobs running longer then async frequency of 5min, eg. backup 2013-07-25 13:11:07 +00:00
Ralf Becker
59c683c359 removed ancient "mark untranslated strings with *" site configuration, as it is unnecessary and breaks links-stream-wrapper and WebDAV 2013-07-25 12:18:08 +00:00
Ralf Becker
71676f982a fixed not working special char detection 2013-07-25 07:21:35 +00:00
Ralf Becker
37671ac812 fixed handling of attributes stored in data, was depending on order or attributes to work 2013-07-24 10:18:11 +00:00
Ralf Becker
8ec5425c5a disable minify-ing of javascript, until I find time to fix it, as it stalls testers (css still get minifyed, if debug minify is off in site config) 2013-07-24 07:42:27 +00:00
Ralf Becker
6e6b2b7b0a reverted "no need for RegExp replace", as javascript only replace first occurence, if a string given 2013-07-23 14:41:53 +00:00
Ralf Becker
8242d40d1e no need for RegExp replace 2013-07-23 11:49:16 +00:00
Ralf Becker
58949008f9 disable outer scrollbar, eg. if rendering time is swichted on 2013-07-23 11:33:23 +00:00
Klaus Leithoff
c4caefc9e9 suppress warning on searching for active members 2013-07-23 10:59:56 +00:00
Klaus Leithoff
e92e3694ee replace currentapp occurence with egw_appName 2013-07-23 10:12:00 +00:00
Ralf Becker
16191d4db4 rendering quick-add menu on clientside and content-security safe, thought not yet in idots template, also removed not used inline javascript from idots 2013-07-22 19:20:13 +00:00
Ralf Becker
4ed52a2b16 get notifications-popup ready for content-security, install as object in app.notifications and use data-poll-intervall of script tag to pass poll frequency 2013-07-22 13:29:20 +00:00
Ralf Becker
5842f5fd07 removed afaik not used currentapp, newer egw_appName can be used instead 2013-07-22 08:09:15 +00:00
Nathan Gray
cd64ef06dc Fix copy/paste error initializing app.js object 2013-07-20 14:16:21 +00:00
Ralf Becker
74cb73d2d2 moved most action "comfort" functions (with exception of nm_action and pagination) from server-side nextmatch class to client-side egwActions.updateActions() method, so they are available for all widgets 2013-07-20 13:45:22 +00:00
Nathan Gray
d4880a3351 Load & parse etemplate2 if set in egw.js object's data-attributes 2013-07-20 13:42:23 +00:00
Nathan Gray
26e9792256 Load javascript files before processing other response types, so all JS is available. 2013-07-20 13:41:17 +00:00
Nathan Gray
23fa7ed233 Make sure node is Draggable / Droppable before trying to undo it - though it probably should be 2013-07-20 13:38:09 +00:00
Nathan Gray
67d6775f54 Use htmlspecialchars to escape data-attributes 2013-07-19 18:03:47 +00:00
Ralf Becker
5e3c0192d3 $extra parameter for framework->header() 2013-07-19 17:07:05 +00:00
Ralf Becker
33ac096fdf enabled and enhanced dependency tests so they can be used to display full dependencies of one or more files 2013-07-19 15:24:55 +00:00
Ralf Becker
0d7c5455df fixed wrong dependency 2013-07-19 15:22:54 +00:00
Ralf Becker
70c56ebab6 one more missing debug 2013-07-19 15:22:37 +00:00
Ralf Becker
f55a668bdf include user-data and common prefs like we already do it with eg. server config 2013-07-19 15:22:00 +00:00
Nathan Gray
6674e258fc Tag widget works better with supporting library 2013-07-19 13:36:08 +00:00
Klaus Leithoff
ae848ffaee upgrade to version 4.1.3 2013-07-19 11:13:23 +00:00
Klaus Leithoff
fbedb9d558 rebuild basic browsertest functionality not provided by jquery anymore 2013-07-19 11:07:22 +00:00
Ralf Becker
45e1fa8d2a an other missing chosen fix re-added 2013-07-19 10:51:02 +00:00
Ralf Becker
60ac65e80b updated choosen to 0.13.0 and re-merged r42794 2013-07-19 10:41:27 +00:00
Ralf Becker
d16c426fb6 first step towards content-security by passing parameters to egw.js script via data-attributes of script tag instead of using inline scripts in page 2013-07-19 08:45:26 +00:00
Nathan Gray
ba0fd9fa22 Update jQuery & jQuery UI to latest versions 2013-07-18 15:21:15 +00:00
Ralf Becker
9af953e2b1 fixed accounts::search sometimes returning too many lines 2013-07-17 13:14:08 +00:00
Ralf Becker
792f1b26cc replacing egw.LAB with egw_LAB, as egw object is shared by all iframes and popups, while LAB has to work on document 2013-07-17 12:47:21 +00:00
Ralf Becker
94926467d2 always check with "passwd_forbid_name" enabled, if setting of password failed 2013-07-16 14:57:06 +00:00
Ralf Becker
10436d5e41 fixed not being able to switch "forbid password to contain name" off again, after it has been switched on (caused by name "passwd_forbid_name") 2013-07-16 14:50:12 +00:00
Klaus Leithoff
b04ee25e07 wrap a set_preferences call in LAB.wait to avoid run time problems 2013-07-16 14:48:49 +00:00
Klaus Leithoff
2bdcd29582 pass acount_id to crackcheck, as it is required for crackcheck rule validation forbid_name 2013-07-16 10:42:31 +00:00
Ralf Becker
d48e8f4d84 * PostgreSQL: fix for SQL error eg. on update from 1.8.001 to 1.8.004 from 9.1 on 2013-07-16 06:47:54 +00:00
Ralf Becker
b54aef66e4 need to use own authentication method, to be able to auth user forced to change password and need to always recheck flag, if user are forced to change password, as otherwise he will be prompt again after changing it 2013-07-15 20:29:49 +00:00
Ralf Becker
526c938eec * Active Directory: allow to do a forced password change in EGroupware and handle reset of that flag for Samba4 too 2013-07-15 20:01:01 +00:00
Nathan Gray
744345d751 Change egw.open() (which accepts _blank, _self, etc. as targets) to not pass invalid parameters to egw_link_handler() (which only accepts app names). 2013-07-15 16:03:37 +00:00
Ralf Becker
5f74357963 * WebDAV/CalDAV/CardDAV: fixed basic authentication via redirect-rule to use $_SERVER["REDIRECT_HTTP_AUTHORIZATION"] as it is used by newer Apache versions 2013-07-15 11:06:45 +00:00
Ralf Becker
e90a6e1d42 fixed again not working new account creation under AD agains Win2008r2 2013-07-15 08:10:03 +00:00
Ralf Becker
6898ee9cdb * Admin/Preferences/Active Directory: more understandable password policy errors and using windows defaults only, if admin has not configured something else 2013-07-14 13:05:24 +00:00
Ralf Becker
6e6835ca8f disable "account_lid" input, if backend (eg. AD) does not allow changing it 2013-07-13 08:34:04 +00:00
Ralf Becker
cb523f8400 * Admin/Active Directory: fixed not working display, setting and removing of "must change password upon next login" 2013-07-13 07:50:36 +00:00
Ralf Becker
5caa242314 * Admin/Active Directory: create new users with CN=<username> as Windows does and allow to configure profilePath, homeDirectory, homeDrive and scriptPath for new users 2013-07-09 15:26:59 +00:00
Klaus Leithoff
16014f8067 * API: fix for wrong (unexpected array) type passed in check_list 2013-07-08 08:04:41 +00:00
Hadi Nategh
86dfe42104 replace no longer existing depricated egw_info->user email and fullname 2013-07-04 17:45:20 +00:00
Ralf Becker
76ab4eee25 return account_expires and account_primary_group via accounts::search 2013-07-03 16:26:18 +00:00
Ralf Becker
4850efed1e fix js error, when chosen is not loaded, eg. on admin >> manage accounts 2013-07-02 12:37:01 +00:00
Ralf Becker
ffceaf445a prototype for an admin app using et2 and a navigation tree, need to set index url in database: UPDATE egw_applications SET app_index="admin.admin_ui.index&ajax=true" WHERE app_name="admin" (dont forget to clear cache) 2013-07-01 17:07:07 +00:00
Ralf Becker
bca1712229 fixed allowed memory size exceeded error, if trying to read history from a ldap or ads contact with an id starting with a letter, did an unlimited query for all history-log entries of addressbook 2013-06-29 16:44:55 +00:00
Ralf Becker
2702d01b34 * Admin/API/ADS: account creation did not set initial password 2013-06-29 09:30:22 +00:00
Ralf Becker
8325352e88 * Admin/Preferences/ADS: give explicit error, that AD requires SSL or TLS to change passwords (not just failing with unspecific error) 2013-06-29 08:51:02 +00:00
Ralf Becker
5e0c017129 remove old default of 7 for password length, as it allways checks for that default otherwise 2013-06-28 16:20:01 +00:00
Ralf Becker
287abb2b38 adding again error message and number from DB to exception thrown in case of SQL errors, also adding a new method to abstract MySQL group_contact for PostgreSQL 8.4+ 2013-06-28 10:50:42 +00:00
Ralf Becker
0c1e3f7ed4 forgotten phrases for password strengh 2013-06-27 14:45:29 +00:00
Ralf Becker
a0cba996a0 display mail-address for groups in AD 2013-06-26 19:57:48 +00:00
Ralf Becker
5eea435035 fixed auth_sql to allow updating passwords of in-active accounts and return true for all successfull password changes as documented (returned false if password was unchanged and hash password on success) 2013-06-26 09:49:30 +00:00
Ralf Becker
ee41d4a09d * Admin/API/LDAP: fixed not working pagination of accounts for 2. or further pages introduced by enabling caching again in last package 2013-06-26 08:12:17 +00:00
Ralf Becker
aa1426b8de * Admin: split password strength config in minimum length and number of character types, allow account backends specially AD to report password policy failures 2013-06-25 16:37:44 +00:00
Ralf Becker
aa221a4e77 add tabs for each application 2013-06-25 13:14:27 +00:00
Ralf Becker
4ef222e7ff allow to use protocol independent url like "//host/path/to/logo.png" for logo in admin site configuration 2013-06-24 07:45:11 +00:00
Ralf Becker
293d395472 allow auth backends to throw exceptions to give verbose error why password changing failed, auth_ads does now password strength check (even if not configured), as this is most likely cause for not changed password 2013-06-23 10:46:26 +00:00
Ralf Becker
c44be3ee6d handle not available AD or LDAP connection with an exception, caught and just displayed within setup, so one can change ip or credentials 2013-06-23 09:58:08 +00:00
Ralf Becker
78efd4a604 * API: if re-connect to database fails for an existing session, stop execution with an exception, as otherwise eg. preferences can get lost 2013-06-20 13:30:58 +00:00
Ralf Becker
025c6a4c22 need to report expired accounts as NOT active and add ability to copy shadowExpire attribute from LDAP to AD (not done by samba-tool classicupgrade!) 2013-06-20 09:54:08 +00:00
Ralf Becker
7b9bcffb74 * Admin/ActiveDirectory: fixed only first N accounts where shown and turned accidently switched off caching in session on again 2013-06-20 07:45:08 +00:00
Nathan Gray
db75f272b8 Re-add lost reset methods 2013-06-18 14:32:36 +00:00
Ralf Becker
02e4c44624 * Addressbook/LDAP: recreation of contact (eg. because of missing objectclass) failed and lead to deleted contact or account 2013-06-18 10:45:00 +00:00
Ralf Becker
b993253dcd * API: ancent APC (3.1.3) in Debian 6/Squezze has size in MB without a unit, this caused APC not to be used because of to small cache size 2013-06-18 06:35:12 +00:00
Nathan Gray
4f21c927cd Some of the latest changes from chosen library 2013-06-17 22:57:21 +00:00
Nathan Gray
5bb349eb7a Prevent too narrow chosen boxes 2013-06-17 22:01:11 +00:00
Klaus Leithoff
079b919bbe russian translations provided by Vladimir Gavrilov (MBC-Group) 2013-06-17 12:30:44 +00:00
Nathan Gray
22f2b5599b Only echo JSONResponse if it's non-empty 2013-06-12 21:06:16 +00:00
Ralf Becker
933be21758 link-table stores accounts for app="home-accounts" 2013-06-12 18:11:11 +00:00
Nathan Gray
44e96714af Fix adding distribution list (& maybe some other link issues) by looking for framework's link handler in open_link() 2013-06-12 17:04:42 +00:00
Ralf Becker
066ffc2c25 refactored account_id change script to use information from app-specific tables_current.inc.php instead of a fixed list 2013-06-12 16:57:44 +00:00
Nathan Gray
04fd3b82a9 If egw_link_handler() is defined, use that instead of window.open() 2013-06-12 16:56:12 +00:00
Nathan Gray
3300e82b27 Implement queue when setting preferences 2013-06-11 22:48:27 +00:00
Nathan Gray
936c375a2d Fix cache not being updated when clearing a preference 2013-06-11 22:43:42 +00:00
Ralf Becker
b6319b43cf * API: allow to set a maximum caching time used instead of unlimited caching or a bigger time, eg. in header.inc.php: egw_caching::$max_expiration = 864000; // 10days 2013-06-10 09:55:22 +00:00
Ralf Becker
9ed61924d0 fix background of dialogs in calendar, tested with resources to keep intended fix from Nathan 2013-06-06 15:02:47 +00:00
Ralf Becker
7e8db9b2fe urlencode password to cope with url special chars like forward slash or @ in passwords 2013-06-03 19:32:26 +00:00
Nathan Gray
d5b289e894 Add a global ajax callback so the et2 widget can stay in sync with the dhtmlxtree 2013-06-03 16:32:45 +00:00
Klaus Leithoff
6270bc83f9 allow some nesting of div elements 2013-06-03 13:27:19 +00:00
Ralf Becker
d328af7cff accounts addressbook incl. working updates for active directory 2013-06-01 17:55:33 +00:00
Nathan Gray
fdfae8dd92 Add gridster library for home portlet layout 2013-05-29 19:23:49 +00:00
Nathan Gray
c2c910cee2 Add UI object into all links, in case of popup, so it's available to whatever is chosen 2013-05-29 19:20:36 +00:00
Nathan Gray
555de8e540 Include jQuery's UI object in drop action for location 2013-05-29 16:41:00 +00:00
Nathan Gray
51161e8ddd For nested droppables, make children greedy to consume the action 2013-05-28 22:09:03 +00:00
Nathan Gray
4995e1fa08 When clearing, remove links too 2013-05-28 22:08:17 +00:00
Nathan Gray
6cfda15a5f If a programmer calls dock on the splitter while it's already docked, just ignore it instead of breaking 2013-05-28 17:08:45 +00:00
Ralf Becker
3996f8a936 * MySQL: got mysqli extension working and make it default for EGroupware, as mysql is now officially deprecated, existing installs need to be switched manually in header.inc.php or Setup >> Manage header 2013-05-26 09:32:41 +00:00
Ralf Becker
b9102b010c * Sambaadmin: create new users/groups in LDAP with uidNumber/gidNumber matching relative id (last part of SID) to ease migration to AD or Samba4 2013-05-25 11:07:38 +00:00
Ralf Becker
8c6fd8d936 changes to create users and set passwords on win2008r2 2013-05-24 17:08:15 +00:00
Ralf Becker
9ecefc6b79 * LDAP: only check for matching system users, if a new account get added, as existing accounts can be reported - depending on configuration - as system users too 2013-05-23 17:09:59 +00:00
Klaus Leithoff
a7944a3b76 fix problem regarding the ability to save a groups emailaddress 2013-05-23 13:48:51 +00:00
Ralf Becker
4037993dc5 * API: full support of active directory as account storage, tested so far with Samba4 2013-05-22 17:22:20 +00:00
Ralf Becker
f993f20723 * API: fallback auth checks and - if necessary - updates passwords on fallback on successful primary authentication or password change, to ensure they are kept up to date 2013-05-22 09:02:53 +00:00
Klaus Leithoff
5182f8280b * eMail: fix problem on compose when changing signatures, when html-mail contained anchors 2013-05-22 08:30:40 +00:00
Ralf Becker
95cfb08502 * All apps: group grants now again return inactive users, was broken since inactive users are no longer shown in user-selections 2013-05-16 12:43:44 +00:00
Ralf Becker
410abc5fb7 * CalDAV/CardDAV/Calendar/InfoLog/Addressbook: changed database schema to allow for up to 200 char name-part in url to support eg. Bynari WebDAV Collaborator Outlook client 2013-05-13 09:35:51 +00:00
Ralf Becker
2b2938d2dd methods to get/set current account_id taking care of necessary offset for groups 2013-05-10 17:20:37 +00:00
Ralf Becker
a23205060b use new eTemplate preferences 2013-05-10 16:39:42 +00:00
Ralf Becker
efdd96d0a9 fixed not working CalDAV/eSync log viewer, LAB.wait missing 2013-05-09 10:29:53 +00:00
Klaus Leithoff
80f74e5449 * Tracker: fix bug regarding the save of replys that could be regarded as empty (only span with style, no content) 2013-05-07 11:38:44 +00:00
Klaus Leithoff
e8852dc8f3 on InlineImageExists make sure there is at least one attachment 2013-05-06 14:37:23 +00:00
Klaus Leithoff
7e00a006d7 * API/phpmailer: introduce optional parameter to InlineImageExists, to be able to determine if all attachments are inline, or only some; this will be used to decide on the mimetype of the message to be sent (multipart/ related (all) or mixed (some)) 2013-05-06 14:27:41 +00:00
Ralf Becker
24604bdb5d method to test which apps implement a hook 2013-05-03 15:31:09 +00:00
Klaus Leithoff
bec51776a4 we set allowedContent to true as the 4.1 contentFiltering system allows only activated features as content 2013-04-29 08:43:42 +00:00
Klaus Leithoff
c2667accee *API/CKEdidor: upgrade to Version4.1.1 2013-04-29 08:20:40 +00:00
Klaus Leithoff
e589930fd8 rework of link to text functionality when converting HTML to Text 2013-04-25 14:18:49 +00:00
Ralf Becker
a211ea665d remove echo of error-message of failed ldap connection, it scares users when flushing cache in setup 2013-04-23 13:30:44 +00:00
Nathan Gray
5e84ddd935 Change admin column selection to allow setting / clearing / forcing column selection 2013-04-22 22:32:40 +00:00
Klaus Leithoff
fa091d879c adapt preg_match to recognize IE 10 2013-04-18 14:21:32 +00:00
Klaus Leithoff
7b1047aacb reintroduce r23367 (setFocus capability) and r29752 (oversized events) 2013-04-18 13:22:35 +00:00
Klaus Leithoff
38e5f6e29e remove call of setFocus as currently not provided 2013-04-18 13:00:41 +00:00
Klaus Leithoff
8ffea421d2 updating wz_dragdrop.js from Walter Zorn from Version 4.87 to v. 4.91 2013-04-18 09:47:33 +00:00
Ralf Becker
ad4776c78e allways using filemtime for timestamps appended to urls to force loading of current version, as mixed use of file{c,m}time causes wired errors due to double loading eg. on OS X where they are different 2013-04-13 07:17:36 +00:00
Nathan Gray
b2cb70f15f Use egw.LAB object if available 2013-04-12 16:30:30 +00:00
Ralf Becker
6577e30111 reverting change to original egw_json.js as it somehow needs to assign return value to some context to work 2013-04-12 16:23:10 +00:00
Ralf Becker
34a2f8c6e0 support for non-global func eg. "app.someapp.func" need to be in both egw_json objects (until we fix it so one calls the other) 2013-04-12 16:03:45 +00:00
Nathan Gray
eba9226dd3 Pass selected objects to callback 2013-04-12 10:27:04 +00:00
Ralf Becker
f7214ecd4f docu fix 2013-04-12 08:23:23 +00:00
Nathan Gray
6d6feb06d7 Fix droppables to accept dragged if one of the types match 2013-04-11 12:53:23 +00:00
Nathan Gray
8192f13b3b Fix typos preventing some drops 2013-04-11 12:22:34 +00:00
Nathan Gray
868c41643c Only expire old data if there are no registered callbacks 2013-04-11 10:22:51 +00:00
Nathan Gray
8834d86818 Give a trace on all logs if debug level is 5 to help track things down 2013-04-10 14:14:06 +00:00
Nathan Gray
93eacb1b13 Show browser context menu when you ctrl + right click 2013-04-10 09:03:08 +00:00
Ralf Becker
26f54eb8ce fixed error if get parameter has no equal sign, eg. /some/url?download 2013-04-09 16:17:43 +00:00
Nathan Gray
344bd88e4a Open context menu with context menu key 2013-04-09 16:13:10 +00:00
Klaus Leithoff
86fbb6c966 add target ID to target.iface object 2013-04-09 15:43:42 +00:00
Klaus Leithoff
91dc1f9df9 allow for objectified egw functions like app.APPLICATION. 2013-04-09 14:39:56 +00:00
Klaus Leithoff
cd25f3e625 applying the context: suggested by nathan 2013-04-09 14:26:06 +00:00
Ralf Becker
a1d90ea237 get regexp to play nice with opening script tag without attributes 2013-04-09 12:47:44 +00:00
Ralf Becker
ff7cf9ff17 propset svn:keywords Id 2013-04-09 12:10:48 +00:00
Nathan Gray
a0d18dc8fb Fix properties 2013-04-09 12:10:09 +00:00
Nathan Gray
f3209731f3 Add inheritance stuff 2013-04-09 12:08:44 +00:00
Nathan Gray
978a90852c Add a base object for application javascript code to contain it, and solve initialization timing issues 2013-04-09 08:45:59 +00:00
Klaus Leithoff
4ac1cd196c * API: introduce optional parameter to pass java script to be executed after CKEDITOR instance ready 2013-04-08 12:48:45 +00:00
Ralf Becker
f7a9c20e1d fixed typo in cache-control header, causing pages not getting cached, if clients used it in favor of Expires header 2013-04-05 10:23:58 +00:00
Klaus Leithoff
983c1e358d * API/eMail/HTMLawed/CKEditor: tidy eats away even some wanted whitespace, so we switch it off;we used it for its compacting and beautifying capabilities, which resulted in better html for further processing 2013-04-04 12:32:53 +00:00
Ralf Becker
da32eb81fb using egw.LAB.wait for jscalendar 2013-04-03 07:49:04 +00:00
Nathan Gray
70126e5698 Avoid additional visible border on some hidden popups 2013-04-02 21:41:43 +00:00
Klaus Leithoff
16a1970cca add egw.LAB.wait to tree creation, as dhtmlxtree object may not be loaded on time 2013-04-02 13:36:58 +00:00
Klaus Leithoff
07f21d1291 make sure CKEDITOR is loaded, using egw.LAB.wait 2013-04-02 12:13:27 +00:00
Ralf Becker
6e28933f18 missing onLoad attibute in body tag, causing all sorts of things to fail 2013-04-02 08:13:37 +00:00
Nathan Gray
a20f7651a0 Wrap some more js 2013-04-01 22:19:10 +00:00
Nathan Gray
ef2a5d377d Use LABjs throughout framework to load javascript - prevents a lot of undefined / timing errors 2013-04-01 19:14:52 +00:00
Nathan Gray
8e66bc33bf Fix error in window module instanciation 2013-04-01 19:06:47 +00:00
Nathan Gray
792152497c When an ajax response includes a directive to load a javascript file, try to load it using the API - allows cache to skip known files 2013-04-01 18:39:03 +00:00
Ralf Becker
a29b69edae using HTTP status 500 for exceptions, to ease detection of errors with externals tools 2013-03-29 09:44:03 +00:00
Ralf Becker
220650b53a ckeditor 4 needs toolbarCanCollapse=true to honor toolbarStartupExpanded=false 2013-03-27 07:58:42 +00:00
Nathan Gray
d394cca06f Avoid some init / destroy errors in color picker popup 2013-03-25 19:39:02 +00:00
Ralf Becker
84b3edbfcb * Filemanager: fixed not working "Save as" for Internet Explorer (all versions), gave PHP Fatal Error 2013-03-25 18:26:57 +00:00
Nathan Gray
19aef757f6 Use window from egw object, if available - still not quite right 2013-03-25 16:58:33 +00:00
Klaus Leithoff
9425c1da14 * API/CKEditor: allow link dialog in simple-with-image feature mode (email) 2013-03-21 16:20:16 +00:00
Klaus Leithoff
77c15b226c * API/CKEditor: allow more space for html-editable area (by setting smaller margin) 2013-03-21 11:06:51 +00:00
Klaus Leithoff
892910a76d documentation on wanted functionality for allowed method fetch on egw_link::get_registry possibly provided by search_link 2013-03-21 10:27:12 +00:00
Nathan Gray
c8c45a582d Style for empty row placeholder 2013-03-20 16:43:43 +00:00
Nathan Gray
732351a539 Remove debug logging 2013-03-20 16:43:07 +00:00
Ralf Becker
8ca1d8297b * Filemanager: fixing problem creating new directory with cyrilic name, also generating etag for directories as required by ownCloud 2013-03-20 12:56:44 +00:00
Ralf Becker
da800182cb * Projectmanager: showing again global categories and their color from all apps, do no remove datasource category when element get stored and no category is selected 2013-03-20 11:06:23 +00:00
Klaus Leithoff
229b09da8d handle missing v2 skin 2013-03-18 16:02:35 +00:00
Klaus Leithoff
6204999b19 allow better config options for spell checking in ckeditor (add BrowserBased only) 2013-03-18 15:36:27 +00:00
Klaus Leithoff
8f2c59ac45 * API: enable browsers native spellchecker as default for HTML Editor, if e.g.: aspell fails - to use browsers native spellchecker, you have to hold CMD/CTRL button on rightclick to access the browsers spell correction options 2013-03-18 09:59:21 +00:00
Ralf Becker
428e71daad documented required rewrite rule for Apache FCGI 2013-03-18 08:14:47 +00:00
Ralf Becker
fc4545d1ea * CalDAV: preference to overwrite default on how many days to sync into past or future 2013-03-14 17:13:59 +00:00
Klaus Leithoff
382b12b29a missing fallback on skins 2013-03-14 17:00:34 +00:00
Klaus Leithoff
d22fb56089 remove ckeditor3 2013-03-14 16:52:21 +00:00
Klaus Leithoff
a3ef1985ec switch to CKEditor4 2013-03-14 16:30:55 +00:00
Klaus Leithoff
48687977f9 * API: add CKEDITOR4 2013-03-14 16:16:49 +00:00
Klaus Leithoff
308c4a2951 * CKEDITOR/API: Version update to 3.6.6.1; handle IE10 problems regarding input behavior on enter 2013-03-14 09:55:03 +00:00
Nathan Gray
e685a222dc Avoid JSON error popup by checking for the queue before using it 2013-03-13 19:31:06 +00:00
Nathan Gray
68529ce692 Load et2 CSS in at the top level so it's available for sidebox 2013-03-12 22:45:58 +00:00
Klaus Leithoff
203316af08 improve focus management by forcing carent in all browsers to be placed at the start of the loaded document 2013-03-08 13:14:14 +00:00
Klaus Leithoff
a2e75c3ca4 further work regarding the editor focus 2013-03-06 09:17:21 +00:00
Ralf Becker
93710e09e1 * Setup/API: improved diagnostics about db connection problem and not installed EGroupware
- removed deprecated egw_db->Halt_On_Error handling in favor of just exceptions
- added a couple of exceptions extending egw_exception_db to be able to detect different problem areas
- fixed setup to use / catch exceptions
- new egw_exception_db_setup displays link to setup below exception message, to cope with no longer allowed html in exception messages
2013-03-05 10:50:43 +00:00
Klaus Leithoff
9b0623ff3a fix typo/copy and past error on dataGetUIDdata 2013-03-04 16:25:39 +00:00
Klaus Leithoff
2b27946d6f * eMail/api: attempt to fix the focus on body issue with FF; thanks to CKEditor support 2013-03-04 11:50:17 +00:00
Ralf Becker
ea6e8c8e94 * ImportExport: do NOT complain about wrong charset, if text contains only standard ascii chars 2013-03-01 09:51:02 +00:00
Nathan Gray
9616e44aff Add ability to get all an application's preferences with '*' 2013-02-27 18:08:03 +00:00
Nathan Gray
987af6b473 Pass along internal lastModification time, and use it 2013-02-27 18:00:15 +00:00
Ralf Becker
139c12821a added method to access data: egw().dataGetUiddata(_uid) 2013-02-27 12:41:19 +00:00
Klaus Leithoff
3fcc703375 do not try to break out of egw server root when iterating over all apps 2013-02-26 11:08:20 +00:00
Ralf Becker
59e60c523b error-handler to throw recoverable errors (eg. catchable fatal error from type hinting) as ErrorException 2013-02-25 14:36:44 +00:00
Ralf Becker
84ed911c97 * CalDAV/CardDAV: removed unnecessary (double) etag generation and improved calendar etag generation for recurring events 2013-02-25 11:17:59 +00:00
Ralf Becker
a50f785224 fixed wrong call name2id to get account_lid of owner, causing lot of database access and returning nothing, as account_id for given 2013-02-25 10:30:44 +00:00
Ralf Becker
1d2a4ae065 ignore "broken" grants (eg. negative account_id for a user), as they lead to further errors (no members) 2013-02-25 09:48:58 +00:00
Ralf Becker
a6f869be64 * WebDAV/CalDAV/CardDAV: implemented support for clients sending passwords with non-ascii chars (eg. acents or umlauts) in iso-8859-1 instead utf-8: Firefox, Thunderbird, IE, Netdrive 2013-02-22 13:32:29 +00:00
Klaus Leithoff
a09ef26c5c use monospace fontstyle for plaintext edit; preserve whitespace (horizontal AND vertical) if mail is plaintext (not containing any html) 2013-02-22 10:58:39 +00:00
Klaus Leithoff
98120c44b3 omit unit, when no size is given; display unit to the user, so he knows what he is selecting 2013-02-22 09:45:47 +00:00
Klaus Leithoff
2315944590 preset font span, omit empty style elements completely 2013-02-22 09:27:35 +00:00
Nathan Gray
03c9c0804f Split panel widget. Mostly working, needs some more special case for working with nm - they both want full page 2013-02-22 00:25:41 +00:00
Ralf Becker
0c11206d91 change default font unit for new installs to "pt" and fixed not set font-size in email 2013-02-21 13:19:15 +00:00
Ralf Becker
f158a8c5d2 * Preferences/all apps: allow to specify font size unit of richtext editor: either "px" display pixels or "pt" as used in word processing 2013-02-21 11:32:46 +00:00
Ralf Becker
ef1756438e * Preferences/EMail: if user changed password, update password in session correct, so eg. EMail using that password keeps working 2013-02-21 09:43:38 +00:00
Ralf Becker
151b800a5a ignore . and .., as it gives an open_basedir warning, it is no application directory anyway 2013-02-21 06:32:30 +00:00
Ralf Becker
ea411d53c8 * Filemanager: removing extended ACL for groups was not immediatly reflected in rights of current user, had to log out and in again 2013-02-20 13:59:31 +00:00
Ralf Becker
9b88b849f6 * SiteMgr: sitewide config to allow proxys and CDNs caching of anonymous requests (Expires and Cache-Control header)
apps can now enable public caching by either setting $GLOBALS[egw_info][flags][nocachecontrol] to "public" (default php.ini session.cache_expire) or a numeric value in seconds, or call egw_session::cache_control()
2013-02-19 15:34:19 +00:00
Nathan Gray
89ec3ba866 Add some images of Class Diagram 2013-02-15 16:46:16 +00:00
Ralf Becker
d44e448976 include unsuccessfull session creation and reason in debug logging 2013-02-15 16:15:52 +00:00
Nathan Gray
a325583643 Add some overview of how this stuff fits together 2013-02-15 15:55:23 +00:00
Ralf Becker
52ea94cbee using LABjs to load javascript files in order via egw.includeJS 2013-02-15 15:30:35 +00:00
Nathan Gray
a3647e1b00 Implement refreshing a single UID, limit known UIDs sent to server to 200 2013-02-14 11:22:27 +00:00
Nathan Gray
547d125a30 Check app_refresh to not get an error if an application overrides app_refresh() instead of using register_app_refresh() 2013-02-14 11:11:17 +00:00
Nathan Gray
588c6141c9 Return true to not throw an exception if the plugin worked 2013-02-14 11:01:50 +00:00
Ralf Becker
5f1c76ae91 refactored js loading a bit, to be able to get files to load for et2 2013-02-13 16:28:39 +00:00
Ralf Becker
cbe137876a docu for egw_include_mgr 2013-02-13 16:27:52 +00:00
Ralf Becker
90370bc387 tracking state of existing script tags and allow to specify multiple callbacks for loading of javascript files 2013-02-13 16:26:42 +00:00
Klaus Leithoff
33aac37741 add new images to visualize that a folder may not be selectable 2013-02-13 13:57:35 +00:00
Nathan Gray
33e94d355c Fix app_refresh to support applications that set window.app_refresh instead of calling register_app_refresh() 2013-02-13 12:47:17 +00:00
Nathan Gray
f2fc558e19 - Add static methods to get into etemplate2 widget context from outside. Call etemplate2.getByApplication(app) or etemplate2.getByTemplate(name) for a list of etemplate2 objects
- Add register_app_refresh() function to allow applications to specify a more intelligent way to refresh them
- Change egw_refresh() to call registered refresh function, or if etemplate2 is available try that over reloading the whole page
2013-02-12 15:46:14 +00:00
Ralf Becker
4f247b26f8 merged translations and other uncommited ones 2013-02-08 19:03:20 +00:00
Ralf Becker
abba55b569 German translations from Stefan, plus some Suomi translations 2013-02-08 16:22:47 +00:00
Ralf Becker
763279562c fixed event handling in tree, added tree specific onSelect and onCheck events, implemented !multiple mode and fixed dhtmlxtree to not trigger onSelect if selection is change via set_value (according to their documentation) 2013-02-08 13:23:58 +00:00
Ralf Becker
52ac0dd0b3 fix lang.php always returning all translations, because preferences::standard_substitutes loads them 2013-02-07 15:32:18 +00:00
Nathan Gray
5513df1277 Fix bug in link handling that lost extra vars when extra vars are already in url 2013-02-06 15:04:26 +00:00
Nathan Gray
616e94a7b4 Add the ability to specify the client-side data cache prefix, to avoid collisions in applications where there can be more than one type of data 2013-02-06 10:49:46 +00:00
Ralf Becker
daac136f47 as et2 adds options as text, we can NOT use html entities, but direct utf-8 chars, which unfortunately php does not support as string literals, using html_entity_decode therefor 2013-02-05 11:24:02 +00:00
Klaus Leithoff
0bfa06c6b3 * API/CKEditor: Version update to 3.6.6 2013-02-05 09:56:01 +00:00
Klaus Leithoff
ddb75bebc5 russian translations provided by Vladimir N. Gavrilov 2013-02-04 16:38:56 +00:00
Ralf Becker
e47fca7d10 missing templates and a fix for new reply handling 2013-02-01 16:54:51 +00:00
Ralf Becker
685cc0ab26 ignore whitespace before and after equal sign in dkim tags 2013-01-30 16:40:41 +00:00
Ralf Becker
5521f110ec option to fold dkim signature, which is off by default as recommend for http and sign Authorization header - if given - as required by current iSchedule spec 2013-01-30 10:17:55 +00:00
Ralf Becker
1d96ed8cf9 added private-exchange to list of methods how to fetch public key 2013-01-30 07:42:17 +00:00
Ralf Becker
17a46f71b0 missing return false to fail if signature is expired 2013-01-29 22:44:31 +00:00
Ralf Becker
1f0523e522 improved dkim signature validation:
- whole signature can be folded
- values of bh, b and h tag can contain whitespace
- check optional expiry / x tag
2013-01-29 22:39:24 +00:00
Ralf Becker
d7204c520e User-Agent complient with https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/latest/p2-semantics.html#header.user-agent 2013-01-29 22:11:42 +00:00
Ralf Becker
b67e43d3ed some changes to dkim signature:
- added User-Agent
- value of x tag is a unix timestamp, not value in secs
- no more oversigning of recipient header, due to new ischedule-relaxed header canon
plus method to check ischedule is available for a domain/email and method to send a freebusy request
2013-01-29 21:54:41 +00:00
Ralf Becker
90e85f4c19 added ken.name public key and setting correct http-status for logs 2013-01-29 19:33:42 +00:00
Ralf Becker
047a8aa9fa loop over attendee not participants, as we add organizer there 2013-01-29 18:19:16 +00:00
Ralf Becker
d97da6d309 modifications for new iSchedule draft:
- ischedule-relaxed header cannonisation
- error xml response
- modified capabilities with serial and iSchedule-Capabilities header in every response
- using urls with mailto: schema for Originator and Recipient headers
2013-01-28 22:00:33 +00:00
Ralf Becker
2fadcab928 modifications for iSchedule 2013-01-28 21:50:07 +00:00
Ralf Becker
c8f1733634 import of orginal version of PHP mail domain signer, required in enhanced form for iSchedule 2013-01-28 21:49:29 +00:00
Ralf Becker
f40a292865 updated capabilities query to current iSchedule spec from jan 2013 2013-01-28 18:15:44 +00:00
Ralf Becker
20e1299729 updated capabilities query to current iSchedule spec from jan 2013 2013-01-28 17:34:00 +00:00
Ralf Becker
9d8c2f42c9 * CalDAV: fixed accepting event removed it from calendar, because email address of a deleted account was prefered over regular account, correctly reporting not found URLs in multiget report 2013-01-25 17:52:28 +00:00
Ralf Becker
2841317b08 * all apps: exclude expired or deactivated accounts from all lists and selections (beside admin app to be able to activate them again) 2013-01-25 13:21:31 +00:00
Ralf Becker
4c060a5889 * Filemanager: introduced maximum symlink depth of 10, to stop infinit recursion in circular symlinks (eg. two symlinks pointing to each other) 2013-01-24 14:26:02 +00:00
Ralf Becker
9a9e6f0808 docu update 2013-01-24 09:30:30 +00:00
Ralf Becker
0f76ff5ab5 * CardDAV: fixed wrong privileges for accounts addressbook, causing clients to report it read-only even for admins 2013-01-22 08:37:58 +00:00
Ralf Becker
34f3c8bf1f * Admin/Setup: fixed restore always converted longtext columns to text and therefore truncating them to 64k on MySQL, also fixed backup to report them correctly in backup of schema 2013-01-21 09:49:59 +00:00
Ralf Becker
140d7498e8 added missing, but not used, parameter 2013-01-21 08:14:01 +00:00
Ralf Becker
be6845b4d0 * All apps: merged missing translations from other apps or branches 2013-01-18 13:48:34 +00:00
Ralf Becker
da811e3509 * CalDAV/Calendar/Ressources: readded missing resource- and location-calendars after recent changes in resources app 2013-01-18 13:07:11 +00:00
Nathan Gray
cfa0b7277a Fix for IE overflow from Anthony Messina 2013-01-17 23:29:14 +00:00
Nathan Gray
575464654c Move default app preference out of Text editor settings into template settings section 2013-01-17 23:21:28 +00:00
Klaus Leithoff
c8aaaa68cf handle php warning, when trying to call AddrAppend with empty object/array 2013-01-17 10:14:45 +00:00
Klaus Leithoff
d159f2b51f * API: adding library idna_convert by Matthias Sommerfeld, and some egw_wrapper for basic config and autoloading 2013-01-10 14:55:35 +00:00
Ralf Becker
5178d84537 1.5.001 update (1.4 --> 1.6): if filename not found in filesystem try with hardcoded iso-8859-1 charset instead of current utf-8 2013-01-04 07:27:31 +00:00
Klaus Leithoff
5d8531f66f adapt comment 2012-12-17 14:44:18 +00:00
Klaus Leithoff
a210fbc3c7 * email: allow cid as overall url schema; handle background url in htmLawed, as background is not allowed except for body, but commonly used with other tags (e.g. in td); control schema for background in hook_tag 2012-12-17 14:39:00 +00:00
Nathan Gray
6c03b0ec39 Try to avoid conflicts between framework's egw_appWindow() & jsapi's egw_appWindow() 2012-12-12 19:45:27 +00:00
Klaus Leithoff
c3d2170518 remove CR from start and end of lang string line read from file, as it breaks stuff e.g. in eMail module 2012-12-12 10:18:40 +00:00
Klaus Leithoff
36bc7871c1 * API/Translation: fix bug with missing german umlauts as first letter of words; ( as php5.3.3 with squeeze does not support splitting lines with fgetcsv while reading properly if the first letter after the delimiter is a german umlaut (UTF8 representation thereoff)) 2012-12-12 09:42:56 +00:00
Nathan Gray
c067e2ccb7 Do the check in a way that matches correctly for all 2012-12-11 15:31:35 +00:00
Nathan Gray
cf5269f6d1 Check for empty user font preference span, and remove it so empty checks still work 2012-12-10 23:10:58 +00:00
Nathan Gray
340fec0611 - Remove debug
- Change font in results to match selected option and other selectboxes
2012-12-10 16:16:58 +00:00
Nathan Gray
cbb88e22cb Remove other places trying to set default ckEditor toolbar mode - using common preference 2012-12-05 20:22:13 +00:00
Nathan Gray
85c15e42fd Use preference for ckEditor features by default 2012-12-05 19:58:37 +00:00
Nathan Gray
3ee18797b0 Rework common preferences
- Better grouping
- Added preferences for rich text editor
  - Font
  - Font size
Take effect on new, blank editors.  Existing data is untouched.
2012-12-04 22:21:59 +00:00
Klaus Leithoff
6a2b8882de for replaceTagsCompletely modify the prex for singeltons (as we are in Ungreedy mode, so we expect * to be ungreedy without specifying ?) 2012-12-04 14:13:36 +00:00
Nathan Gray
74931d30a9 Return the result of opening so caller can use it 2012-12-04 00:13:12 +00:00
Nathan Gray
713a78dc96 Add a new debug level that includes a stack trace 2012-12-04 00:12:13 +00:00
Nathan Gray
d0fa6110d1 Use CSS to style preference tabs 2012-12-03 18:36:00 +00:00
Klaus Leithoff
f231144c03 * eMail: use different image to show that a image was not loaded (due to allowExternalIMGs=no) 2012-11-29 13:55:45 +00:00
Klaus Leithoff
6378d289ca use better defaults for some egw_info server values (num_unsuccessful_id, num_unsuccessful_ip, block_time) 2012-11-29 11:13:58 +00:00
Nathan Gray
b0e47a70f7 Fix bug where multi-select default text was not fully shown 2012-11-27 22:24:25 +00:00
Nathan Gray
2ea64a658b Better handling of different hights & open up vs down 2012-11-27 21:32:53 +00:00
Nathan Gray
4dc9f6a472 Fix for chosen results pushing down bottom of popup window 2012-11-26 22:55:09 +00:00
Nathan Gray
284a644069 Use parent method to generate top menu 2012-11-26 16:13:41 +00:00
Ralf Becker
15df850d28 ignore not (yet) existing mailaccounts table, but not checking for emailadmin, as it is not set in setup 2012-11-22 14:58:34 +00:00
Ralf Becker
350acd2157 handle not (yet) existing mailaccounts table eg. in setup or when no emailadmin installed 2012-11-22 13:25:22 +00:00
Nathan Gray
0b3836a9f5 If chosen selectbox is close to bottom of the page, open options above the selectbox 2012-11-21 16:22:29 +00:00
Ralf Becker
60a22fe179 accounts part missed in r40877: first take on migrating mail accounts from LDAP to SQL (only qmailUser schema) 2012-11-19 13:19:14 +00:00
Ralf Becker
12fa75f978 fix typo in comment 2012-11-19 08:24:47 +00:00
Ralf Becker
b82f6516e8 fixed not load translations if depending on multiple files and maintaining load_via in tree-wide cache 2012-11-16 09:21:17 +00:00
Nathan Gray
1484e44c00 Left align chosen selectbox contents 2012-11-15 17:40:46 +00:00
Klaus Leithoff
cd9e0cfab5 improved control of excess empty div tags 2012-11-15 15:30:11 +00:00
Ralf Becker
6341e8fc33 store group email in mailaccounts table 2012-11-15 15:26:35 +00:00
Klaus Leithoff
bea130bc23 if style stuff contains e.g. font-family: Kunstler Script EGroupware Script detection complains about script tags when posting such content. So we remove Script from inline style definition 2012-11-15 11:55:19 +00:00
Nathan Gray
b83a19284a UI changes for chosen selectboxes 2012-11-14 20:33:33 +00:00
Nathan Gray
8b55a21206 More changes to use chosen for fancy selectboxes - apply to egw multi-select and select user too 2012-11-13 22:14:00 +00:00
Nathan Gray
f72a582532 Use chosen plugin for to get fancy selectboxes. Selectboxes with more than 12 options get it turned on automatically 2012-11-12 19:29:23 +00:00
Ralf Becker
234a8a8154 check if we use cookies for the session, but no cookie set: happens eg. in sitemgr (when redirecting to a different domain) or with new java notification app 2012-11-12 09:48:31 +00:00
Klaus Leithoff
3420b15ff4 mailheader-decoding: check if there is a possible nested encoding; make sure that the inputstring and the decoded result are different before recursively calling decodeMailHeader on the decoded result (to avoid loops) 2012-11-07 11:46:14 +00:00
Klaus Leithoff
b48bee9406 use NEW exception for assertion failed 2012-11-06 10:36:25 +00:00
Nathan Gray
2218fd8956 Fix category search missing when result is a child, but parent does not match too 2012-11-05 17:56:03 +00:00
Ralf Becker
1e53272309 loading all translations in one go from cachem, saving some latency 2012-11-05 13:24:52 +00:00
Ralf Becker
a709f6104f * Setup/API: translations are no longer installed in database, but loaded directly from lang-files into tree-level cache 2012-11-05 12:18:22 +00:00
Klaus Leithoff
4957c77f74 allow to access ReplyTo of MailObject by extending classes; provide Function to retrieve replyTo Address; alter Method to detect wether a filename is already encoded, and if - do not try to use the basename as filename 2012-11-05 08:48:13 +00:00
Ralf Becker
b48e399253 fix for bug #3164: Lines containing accents are truncated in vCard exports 2012-11-01 17:23:40 +00:00
Ralf Becker
06bc5ea552 do NOT delete preferences, before writing them in preferences::save_repository (might be cause for race-condition causing preferences to be lost) 2012-10-31 14:16:17 +00:00
Ralf Becker
8c4125e75c * Admin: new function "Clear cache and register hooks", also called automatic when restoring a backup 2012-10-31 14:00:34 +00:00
Ralf Becker
b514745d01 * Admin: new function "Clear cache and register hooks", also called automatic when restoring a backup 2012-10-31 13:56:40 +00:00
Ralf Becker
49a0d70324 correctly urlencode redirects if we have no ntlm available 2012-10-30 14:43:10 +00:00
Klaus Leithoff
627c65e6dd * eMail/HTMLawed: introduce and use new make_tag_strict option 3, to exclude font from applying strict measures to it 2012-10-30 14:24:08 +00:00
Ralf Becker
d28f83d70e disable permanent error-log and tests 2012-10-30 12:25:10 +00:00
Ralf Becker
7cd606e529 cumulate group-preferences of all memberships of a user, not just his primary group 2012-10-30 10:22:05 +00:00
Ralf Becker
71cebbf12e allow to query cache for multiple locations at once: $location param to getCache is an array and returned is an array indexed by these locations (not found entries are NOT returned 2012-10-30 10:02:37 +00:00
Klaus Leithoff
9c73af1aca * eMail: allow table as inline element while balancing tags (new internal config option); try to correct common errors/problems in html-code which caused display/layout problems 2012-10-29 15:49:13 +00:00
Ralf Becker
c327cba153 consistently send ETag by using and extending put_response_headers 2012-10-29 12:23:17 +00:00
Ralf Becker
aca3b3b028 * CalDAV/CardDAV: fix not working logging of errors into traffic log 2012-10-29 12:14:33 +00:00
Ralf Becker
f7cc51ad18 do NOT minify ckeditor, as it breaks it (it is already minifyed anyway) 2012-10-26 10:00:05 +00:00
Ralf Becker
18fe5c1d4b fixed minify issues: installation in docroot is now handeled, as well as problems with jscalendar and email 2012-10-26 09:24:39 +00:00
Ralf Becker
7a981eba15 using pseudo-sessionid for ownCloud remote.php url too, as we otherwise generate lots of new sessions 2012-10-25 12:51:28 +00:00
Ralf Becker
99e1cad866 * Filemanager/WebDAV: support for newer ownCloud clients (eg. version 1.1.1) 2012-10-24 16:25:53 +00:00
Klaus Leithoff
5b295573dd introduce detect_encoding functionality as a static function (used in decodeMailHeader as of now) 2012-10-24 10:54:44 +00:00
Ralf Becker
79d2c8f8a1 fixed typo causing alert with "undefied" message, instead of an error 2012-10-24 09:52:00 +00:00
Ralf Becker
b6a2d9591f koping with EGroupware installed direct in docroot (webserver_url "", "/" or "http(s)://domain.com/") 2012-10-24 06:27:56 +00:00
Ralf Becker
a6190a6933 * API: only cache in APC by default, if it has at least 64M of shared memory, otherwise use filesystem 2012-10-23 07:49:21 +00:00
Ralf Becker
c87d6997ab * CalDAV: fixed parsing of principal urls used by iOS6 for users 2012-10-22 16:43:51 +00:00
Ralf Becker
6996efe50b use minify on javascript files: for now minify does NOT support query parameters, nor php files generating javascript, therefore these are excluded 2012-10-15 17:22:44 +00:00
Ralf Becker
82c73c423e patch for minify to support EGroupware set up as an alias, which is a common setup 2012-10-15 16:22:42 +00:00
Klaus Leithoff
019a84cd17 update htmLawed to Version 1.1.14 (including adaptions from http://www.bioinformatics.org/phplabware/forum/viewtopic.php?id=235) 2012-10-15 09:33:01 +00:00
Ralf Becker
4e8f54268c fix for typo: path_url --> parse_url 2012-10-15 06:51:54 +00:00
Ralf Becker
71ec92a777 cache, concat and minify all css resources to speed up requests, javascript files planned too 2012-10-14 19:38:32 +00:00
Ralf Becker
4c5b764347 allow to use HTTP_HOST (without optional port) or SERVER_NAME to find matching instance 2012-10-12 15:11:42 +00:00
Klaus Leithoff
db78e25cc0 rework changes regarding denied attributes; improve import of mails regarding filename detection for attachments 2012-10-10 10:37:45 +00:00
Klaus Leithoff
259a917e38 ckeditor (current) version 3.6.4 2012-10-09 15:03:32 +00:00
Klaus Leithoff
7e827dfcef filter/remove (on(before)?(abort|blur|change|click|dblclick|error|focus|keydown|keypress|keyup|load|mousedown|mousemove|mouseout|mouseover|mouseup|reset|select|submit|unload)) attributes in/with htmLawed for default and email config 2012-10-09 09:27:13 +00:00
Ralf Becker
1b98e9e858 requests in log were always trunkated (since last changes) and fixed quoting in autoindex for hierarchical props in collection resources 2012-10-08 11:20:29 +00:00
Ralf Becker
46acebf2a7 fixed many issues with dkim signing 2012-10-06 19:42:05 +00:00
Ralf Becker
81376af3f3 got dkim-validation working with oversigned headers and sha256 hashing algorithm 2012-10-05 10:52:53 +00:00
Ralf Becker
20db974942 added logging like for CalDAV/CardDAV (curently permanently enabled) 2012-10-04 12:09:25 +00:00
Ralf Becker
bef455f5e3 make logging available for iSchedule 2012-10-04 11:59:04 +00:00
Ralf Becker
aeeb585604 dkim signature according to iSchedule draft 02 2012-10-04 05:56:30 +00:00
Ralf Becker
18ceb54882 dkim signature according to iSchedule draft 02 2012-10-04 05:53:52 +00:00
Ralf Becker
5a890e36ab updated capabilities to draft 02 2012-10-03 11:19:12 +00:00
Ralf Becker
e9fe6cd6e1 adapted to updated spec using action=capabilities 2012-10-03 10:10:13 +00:00
Ralf Becker
19f25f2012 adapted to updated spec using action=capabilities 2012-10-03 10:08:09 +00:00
Ralf Becker
0d5ae0e2c2 added dkim signature validation to ischedule_server 2012-10-03 07:56:43 +00:00
Ralf Becker
33510a2f4d dkim signature for posts using mailDomainSigner class, plus some code to generate and store a key-pair 2012-10-02 22:30:36 +00:00
Nathan Gray
7410c738c8 Prevent repeats of default template directory 2012-10-02 14:22:07 +00:00
Ralf Becker
4e2a7dab80 * CardDAV/Addressbook: fixed not working delete of contacts 2012-10-01 17:23:44 +00:00
Ralf Becker
a52876ad6a freebusy for iSchedule 2012-10-01 14:21:55 +00:00
Ralf Becker
eef63477c5 fixed invalid xml in CardDAV:principal-address property of pricipal collection 2012-10-01 14:16:18 +00:00
Ralf Becker
3e538116c9 add some check if cached config does not meet basic requirements, recreate it then 2012-10-01 09:23:51 +00:00
Ralf Becker
7783f1535a start of iSchedule implementation 2012-09-30 21:03:33 +00:00
Ralf Becker
db4bdb7f74 * CalDAV/Calendar/Resources: calendars of resources can now be accessed or subscribed via CalDAV, to subscribe use CalDAV preferences 2012-09-27 15:46:08 +00:00
Ralf Becker
52675388a3 * CalDAV/CardDAV: sync-collection report for all apps allowing a more efficient sync 2012-09-26 14:30:47 +00:00
Ralf Becker
c9074f936d additionally check prefs read from cache, if they are of type array, otherwise read them from db, might help with APC at least in some versions not seem to deal correctly with out-of-memory 2012-09-26 10:18:18 +00:00
Ralf Becker
078fa987d4 allow storing and retrieval of following CalDAV properties: default-alarm-vevent-date, default-alarm-vevent-datetime 2012-09-26 10:01:02 +00:00
Ralf Becker
3b7a0171c8 * Filemanager: fixed not working repair of doublicate directories 2012-09-25 12:55:17 +00:00
Ralf Becker
f224fe5852 sync-collection report for InfoLog, thought reminder app on OS X 10.8.2 does not use it, moved logic for sync-token to baseclass and determine availablity on supported-report-set 2012-09-24 10:26:29 +00:00
Ralf Becker
e69918f583 * CalDAV/CardDAV: return urn:uuid as last record in calendar-user-address-set, as according to iCal4OL developer, some clients might have problems with it, also adding both full uri and just path of principal url, as calendarserver does it 2012-09-24 07:07:57 +00:00
Ralf Becker
a6f541edba * CardDAV: rfc 6578 sync-collection report (more efficient way to sync contacts) 2012-09-23 20:19:35 +00:00
Nathan Gray
a86a3d72c6 Fix fatal error deleting user (LDAP) 2012-09-21 14:36:02 +00:00
Ralf Becker
f87d202652 docu update 2012-09-21 11:59:44 +00:00
Ralf Becker
40e7908231 * API/all apps: fixed account-selection popup started with all users, not primary group, also displaying shown group in bold 2012-09-04 14:08:09 +00:00
Klaus Leithoff
6b8a937977 fix the use of deprecated firstname/lastname; using account_firstname/account_lastname 2012-08-30 11:49:06 +00:00
Christian Binder
bd270b4010 fix ignored _onExecute attribute 2012-08-25 14:40:48 +00:00
Klaus Leithoff
4cd32b9deb silence warnings 2012-08-22 08:00:36 +00:00
Klaus Leithoff
c888134a04 * email: fix for ->no initial border on plaintext editor textarea<- 2012-08-15 14:55:02 +00:00
Ralf Becker
89a10f6234 * Filemanager/WebDAV: fixed not working Subscribtions (Notifications) when using WebDAV, caused by PHPs internal stat-cache 2012-08-14 13:55:02 +00:00
Klaus Leithoff
e5a80d758a fix bug regarding certain russian filenames when forwarding/compose as new, as AddStringAttachment is using basename to make sure only a filename will be used for the namepart; some fixes backported from phpmailer5.2.1 2012-08-14 13:52:26 +00:00
Christian Binder
98d17d7ca4 removed accidentally found typo and logging 2012-08-14 12:02:47 +00:00
Ralf Becker
25ddf016f4 only truncate string if length given and <= 255, to not unnecessary truncate varchar(>255) as PostgreSQL uses text anyway and MySQL truncates itself silently (unless strict mode!) 2012-08-13 14:42:55 +00:00
Ralf Becker
1d743830c9 need to allow account_lid string as parameter for accounts::id2name(), it is used in many places 2012-08-13 14:26:00 +00:00
Ralf Becker
c23f7fc95b * WebDAV/GroupDAV/CalDAV/CardDAV: removed option only used for old KDE GroupDAV resource and unknown WebDAV clients producing invalid XML, fix for community bug #3152 2012-08-13 09:32:03 +00:00
Ralf Becker
c0f83a275d * API/Setup/MySQL: fixed backup to correctly report boolean columns and support MySQL 5.0+ varchar(>255) 2012-08-12 09:49:06 +00:00
Ralf Becker
188e2f8038 cast accounts->members(hips) to array, to cope without PHP warnings for not (longer) existing accounts 2012-08-09 09:02:50 +00:00
Ralf Becker
51270655f9 cast accounts->members(hips) to array, to cope without PHP warnings for not (longer) existing accounts 2012-08-09 08:56:28 +00:00
Ralf Becker
46f700851a cast accounts->members(hips) to array, to cope without PHP warnings for not (longer) existing accounts 2012-08-09 08:50:04 +00:00
Ralf Becker
110ad12bb6 delete user categories, when user get deleted and admin command to delete already orphaned categories: admin/admin-cli.php --admin-cmd-check-cats admin,password 2012-08-08 16:25:03 +00:00
Ralf Becker
e913a6a263 pending translations from translation.stylite.de 2012-08-08 12:11:04 +00:00
Ralf Becker
48009a16e5 avoid calling accounts->members(hips) without an account_id 2012-08-08 10:47:47 +00:00
Ralf Becker
75b458b2f8 avoid calling accounts->members(hips) without an account_id 2012-08-08 10:41:04 +00:00
Ralf Becker
c30999f1b4 call hook again, in case an (smtp) error happened 2012-08-08 10:01:01 +00:00
Ralf Becker
92a97ea4d9 accounts::id2name() needs to return false, not throw an exception for not found accounts 2012-08-07 16:09:54 +00:00
Ralf Becker
0e0993863c * API/preferences: caching preferences in instance cache instead of session, to get immediate update in long running sessions (eg. sync) and get smaller sessions 2012-08-07 13:57:56 +00:00
Ralf Becker
6fa4cc864e not storing $GLOBALS[egw_info][user] twice in session (was also stored as $GLOBALS[egw]->session->user), also removing not used $GLOBALS[egw_info][user][acl], but re-reading preferences in session::verify() so long running sessions get preferences set by an other session, removing nowhere used creditspoint class from api (calls not public available creditspoint app) 2012-08-07 08:55:41 +00:00
Ralf Becker
c2105fcf31 * API/accounts: instance-wide cache for account-data incl. members and memberships, so change take imediate effect (compared to previous session based cache) 2012-08-06 10:06:59 +00:00
Klaus Leithoff
5ac1d755b2 adapting jerryr brushed-metal background image, as background color grey does not match the b-m look 2012-08-03 14:11:45 +00:00
Klaus Leithoff
5b47c1cdfa different approach to avoid php-warnings on str_repeat, provided by Santosh Patnaik 2012-08-03 08:24:40 +00:00
Klaus Leithoff
6123e479b2 revert r40031 2012-08-02 10:01:39 +00:00
Klaus Leithoff
f9ceede91b different approach to avoid php-warnings on str_repeat 2012-08-02 08:27:06 +00:00
Klaus Leithoff
6fc8e208c1 add rarely used charset mswin1252; seems to be a variation of windows-1252 2012-08-01 14:53:33 +00:00
Klaus Leithoff
e547e8adfa if balancing is switched on, allow span element everywhere 2012-08-01 08:29:32 +00:00
Ralf Becker
0195bad452 * Admin/Preferences: fixed not removable ACL rights for apps using NO group-acl, eg. Addressbook or InfoLog 2012-07-31 17:44:01 +00:00
Klaus Leithoff
9bb5ddfdf4 upgrade to htmLawed 1.1.13, 22 July 2012 of Santosh Patnaik 2012-07-31 15:14:44 +00:00
Ralf Becker
0d84fdd087 jQuery 1.6 (used in Trunk) needs to use prop() instead of attr() to access DOM attributes 2012-07-31 13:35:29 +00:00
Ralf Becker
42563b8d1a * LDAP authentication: if changing password fails bind as user, try changing is with given admin-dn, to cater for all sorts of ldap configurations 2012-07-31 12:28:05 +00:00
Klaus Leithoff
eafb5f8730 take care of php-warning on str_repeat (second param has to be greater or equal to 0) 2012-07-31 11:06:55 +00:00
Klaus Leithoff
af782d1fc7 simple balancing on throwaway divs 2012-07-31 10:59:56 +00:00
Ralf Becker
b0267b6744 fixed error when registration was enabled for a user and he looks at /apps, caused by regitering a - not existing - query method in link-registry of registration 2012-07-31 09:56:25 +00:00
Klaus Leithoff
9526746694 throwing away excess div elements, that carry no style or class or id info 2012-07-30 15:07:56 +00:00
Klaus Leithoff
0904fb74b6 small alteration to make htmLawed respect keep_bad config value when tags are generally considered bad for not matching the regex (and not in any list of known tags) 2012-07-27 10:17:06 +00:00
Ralf Becker
ec34cbb070 do NOT use jerryr as mobile template 2012-07-24 06:19:16 +00:00
Ralf Becker
13bcf73178 fix for 5.4 PHP Strict Standards: Declaration of ADODB2_mysql::_CreateSuffix() should be compatible with ADODB_DataDict::_CreateSuffix 2012-07-20 16:30:26 +00:00
Ralf Becker
3918f2606c * InfoLog/CalDAV: preference allowing to modify responsible user from devices not supporting them by setting EMail address as category 2012-07-20 13:06:47 +00:00
Nathan Gray
f198fb8f6e Lets try this theme for a while, see how it looks 2012-07-18 16:50:49 +00:00
Ralf Becker
44dd8e92e9 * Admin/Setup: fixing high memory usage in registering all hooks 2012-07-18 10:34:31 +00:00
Ralf Becker
bf9efd2acc slightly different expand-property report requested from OS X 10.6.8 iCal requests properties from DAV namespace not explicitly specified 2012-07-17 15:17:22 +00:00
Ralf Becker
493bf3bcd0 fixed 5.4 PHP Warning: Illegal offset type 2012-07-17 13:59:37 +00:00
Ralf Becker
565a2be7d6 also add dir and pref for filemanager templates 2012-07-17 13:26:52 +00:00
Ralf Becker
6699e26062 accounts_sql::members() use single sql query with join to acl table instead calling id2name for each account, as it is quicker and uses less memory 2012-07-16 12:36:53 +00:00
Ralf Becker
dea7e46a2d accounts_sql::members() use single sql query with join to acl table instead calling id2name for each account, as it is quicker and uses less memory 2012-07-16 12:27:01 +00:00
Ralf Becker
04f732e653 using accounts->member(ship)s($id, true) instead of accounts->member(ship), as it does not require to read (unused) account_lid, which takes far longer and require more memory on huge installs 2012-07-16 12:05:21 +00:00
Ralf Becker
727bd06868 fix returned xml for correct expansion is empty 2012-07-15 09:55:46 +00:00
Ralf Becker
b4f087e41e correctly returning multiple expanded properties as eg. calendar-proxy-(read|write)_for example 2012-07-15 09:12:28 +00:00
Ralf Becker
b690d98fc4 * CalDAV: expand-property reports queried by iCal from OS X 10.7.4
- expanded-group-member-set
- expanded-group-membership
- calendar-proxy-read-for
- calendar-proxy-write-for
Both calendar-proxy reports can be combined in one request, this is NOT yet handled correct!
2012-07-14 19:41:43 +00:00
Ralf Becker
588950ae29 fixed PHP Strict Standards: config::save_value must be declared static to be used static (no longer allowing non-static usage!) 2012-07-14 08:53:44 +00:00
Ralf Becker
49a90413e4 fixed PROPFIND did not return additional properties if path contained special chars like ? or # 2012-07-13 15:55:29 +00:00
Ralf Becker
f4724ee3d4 xcache caching provider 2012-07-12 13:18:22 +00:00
Ralf Becker
371ebda9b0 only create a temporary mount for ownCloud clients on /clientsync, thought admin can create a different permanent one 2012-07-12 08:48:13 +00:00
Nathan Gray
417c1aa27f Use creator if file modifier is null 2012-07-10 15:51:14 +00:00
Ralf Becker
d97111833c * PostgreSQL: fixed SQL error using egw_db::unix_timestamp(): No function matches the given name and argument types 2012-07-10 13:50:45 +00:00
Ralf Becker
535051e77f Some index to speed up access/update of huge history-logs 2012-07-05 09:24:51 +00:00
Ralf Becker
86df4ba58b allow to use default host, but give a dn and pw 2012-07-05 07:23:06 +00:00
Ralf Becker
3459a34a9f limit IE hack (no attachment in Content-disposition header) to IE < 9 2012-07-03 09:33:26 +00:00
Ralf Becker
dc7259a59c invalidate categories cache after DB restore 2012-07-03 08:16:52 +00:00
Ralf Becker
d0f097e1ec chunk size for number of rows to query was far to low for huge tables like egw_history_log which can be a couple of million rows, backup took far to long 2012-07-03 07:05:55 +00:00
Ralf Becker
f88aa3738b * Admin/DB-Backup: querying only chunks for 100 rows, to not run into memory limit on huge tables 2012-06-30 15:18:49 +00:00
Klaus Leithoff
45fe6d9fea for new (autocreated) accounts, set ->can change password<- appropriately, move section before processing of hooks 2012-06-29 13:54:13 +00:00
Klaus Leithoff
fa90c1066c * API: for new (autocreated) accounts, set ->can change password<- flag only if admin requires his users to change their passwords regularily (admin->site configuration->set recurrent forced password change) 2012-06-29 11:38:58 +00:00
Ralf Becker
09997309ab docu update 2012-06-29 09:05:22 +00:00
Ralf Becker
5100dfcc71 * Password: fixed not working check, if user has right to change password, causing password link in topmenu to be displayed when not in preferences app 2012-06-29 07:14:46 +00:00
Ralf Becker
2674b43532 create valid SQL, even if account has for whaterver reason no group-memberships 2012-06-28 16:39:36 +00:00
Nathan Gray
3d4b28ae15 Add changes in linked files into history log (et2) 2012-06-27 20:32:45 +00:00
Ralf Becker
b025809df1 * CalDAV/CardDAV expand-property report for principals used in iCal on OS X 10.7 2012-06-27 20:08:56 +00:00
Ralf Becker
52d7d6bbcf * Admin: global categories showed private categories of other users 2012-06-27 16:04:51 +00:00
Klaus Leithoff
fafb8947d3 * API: HTML Editor-> disable encoding as entities needs to set the config value to false, as the default is true with the current ckeditor version 2012-06-26 12:37:42 +00:00
Ralf Becker
ab086e10a2 * Filemanager/API: automatically decrement and store subquery depth limit, to work around different limits in different MySQL versions and configurations causing SQL error 2012-06-26 12:07:37 +00:00
Nathan Gray
1881c45d0d Restrict nm header height to ~6 lines, then scroll 2012-06-25 15:12:16 +00:00
Nathan Gray
5eae11346d If possible, include CSS here. Menu does not really work without it. 2012-06-19 18:55:03 +00:00
Ralf Becker
3418c5284e * Backup: fix sometimes not working restore (seems like an internal error in preg_match, causing Apache to run at 100% CPU never finishing) for php 5.3+ 2012-06-17 10:10:46 +00:00
Klaus Leithoff
502a00e17f mangle @ in blockquote cite attribute 2012-06-13 11:10:12 +00:00
Nathan Gray
234832d1f0 Make sure lang 'array' is not a real array - that means it's empty, and will return 0 for missing translations. It is supposed to be an object. 2012-06-12 18:47:42 +00:00
Ralf Becker
6f9fb0b104 fix typo in column-name and added SQL to add index in MySQL 2012-06-12 07:02:59 +00:00
Ralf Becker
fb00481043 * eSync/API: update access-log action for eSync, run maintenance only on logout and other changes to speed up access/update to huge access-logs, thought indexes on session_php, (account_id,ip,li), (account_id,loginid,li) will help alot 2012-06-12 06:37:58 +00:00
Ralf Becker
5549c2d3b9 some index to speed up access/update of huge access-logs 2012-06-12 06:29:02 +00:00
Ralf Becker
c3e0a2ab15 * Setup/Admin: restoring 10 rows per sql statement to speed up restore 2012-06-10 12:38:35 +00:00
Ralf Becker
27748e4f50 allow apps to implement further fsck methods 2012-06-08 16:19:21 +00:00
Nathan Gray
71456ff8ef Force nextmatch to load affected rows by clearing the data from data store 2012-06-06 21:56:18 +00:00
Klaus Leithoff
c0dcb66ebc replace ctype_digit with is_numeric, as ctype_digit returns false on integers 2012-06-06 10:48:58 +00:00
Klaus Leithoff
fdfcdfc387 * API: upgrade htmLawed from 1.1.10 to 1.1.11 2012-06-06 08:54:35 +00:00
Nathan Gray
09937c410d Fix history logging of removed links when removing by link_id - need to read values before they are deleted 2012-06-05 16:44:48 +00:00
Klaus Leithoff
c00e9756eb when converting HTML 2 Text remove style,head and comment style browser-switch 2012-06-04 14:56:45 +00:00
Ralf Becker
dc17cfbb47 * API: support windows-1256 via iconv and prefer iconv for windows-1252 too 2012-06-04 11:58:08 +00:00
Klaus Leithoff
6fcc4455e4 * email: fix for Helpdesk Issue:3430 (Unstructured display of text when converting email to infolog) 2012-06-04 11:26:40 +00:00
Ralf Becker
e1cb2efa1b moved uri parsing into _connect, to allow multiple uri not just multiple hosts and added parameter to constructor to throw exceptions instead of echoing error-messages and returning false on ldapConnect 2012-06-04 07:59:07 +00:00
Ralf Becker
0c6d80d778 * API/Admin: add user-agent to accesslog and sessions, add sessionid to history to better identify what was causing changes in history 2012-06-01 13:13:06 +00:00
Klaus Leithoff
d4c0a892cb remove kses and htmlpurifier, as they are replaced by htmLawed now 2012-06-01 12:46:59 +00:00
Klaus Leithoff
b6638adc24 handling of multibyte chars in attribute values of tags in mbstring.func_overload enviroments,
as substr_replace does not have a multibyte func overload function associated.
Thus substr_replace(, '', 0, strlen()) will fall short in the above mentioned enviroments; we use our own bytes-function now introduced into htmLawed
2012-05-30 09:22:27 +00:00