Commit Graph

8191 Commits

Author SHA1 Message Date
Hadi Nategh
671fec00d4 Delete accidentally added files by commit 47981 2014-08-04 14:12:02 +00:00
Hadi Nategh
22d6d80aae Add browser popup blocker checker for open_link method.
-Fix not poping up the emailadminWizard popup when an IMAP error occurrs, because of the browser blocks the popup.
2014-08-04 14:02:05 +00:00
Klaus Leithoff
f6e5b61327 pending translations from our translation server 2014-07-31 11:47:49 +00:00
Nathan Gray
ffb986f560 Handle if ID is not a string instead of erroring. 2014-07-28 23:11:22 +00:00
Nathan Gray
2fe7b34081 Smarter cache expiry based on age 2014-07-28 22:07:47 +00:00
Nathan Gray
df76846b37 Allow for long-term client side caching of dataFetch responses. 2014-07-28 21:17:06 +00:00
Ralf Becker
6744ba967e force CKEditor moono theme/skin on 14.1 update 2014-07-25 12:22:57 +00:00
Ralf Becker
acfd576c75 fixed not translated update-notification 2014-07-25 10:47:39 +00:00
Ralf Becker
35e5ff6d6e * Admin: restore from admin was not working (worked only from setup) 2014-07-25 09:13:19 +00:00
Hadi Nategh
5e8de7f972 Get the socialMedia icons out of table and append it to form if it is pixelegg template 2014-07-25 07:53:30 +00:00
Hadi Nategh
1912a14fe7 Add login.js to phpgwapi in order to make it available for all templates. Implement socialMedia for jdots and idots templates too 2014-07-24 17:13:46 +00:00
Ralf Becker
3253a191b7 fixed typo causing no next execution to be found, and therefore periodic jobs to be terminated 2014-07-24 15:58:20 +00:00
Ralf Becker
98692acb09 fixed sqlfs_stream_wrapper::dir_opendir("links://default/apps/$app/$id",0) links://default/apps/$app/$id is no directory! 2014-07-24 07:27:58 +00:00
Ralf Becker
349630ffa7 show calendars and ressource-calendars for user whos preferences are displayed, for "default" and "forced" we only display all and primary group calendars, but ressources of current user 2014-07-23 12:30:39 +00:00
Ralf Becker
eeafdea313 * Admin/Setup: restore of 14.1 backup was not working (backup file itself is correct)
caused by typo in json_decode of schema
2014-07-23 07:15:06 +00:00
Ralf Becker
b3c2bebd5f fixe PHP Fatal error in preferences::copy_preferences() in mail install 2014-07-22 16:52:22 +00:00
Ralf Becker
f2ca4d2762 copy felamimail preferences to new mail app, if they still exist there 2014-07-22 14:57:23 +00:00
Klaus Leithoff
a63cfe5aa1 firefox does stumble on kama skin; use moonocolor instead 2014-07-22 13:01:55 +00:00
Ralf Becker
be405e847c allow all php serialized values, to fix integer timestamps in async table 2014-07-22 11:11:28 +00:00
Ralf Becker
9cfee0d9a4 fixed wired data-values created directly after migration to json, got semaphore working again and fixing all IDE warnings 2014-07-22 10:44:03 +00:00
Ralf Becker
f337b33502 * eTemplate2: fixed popups eg. tracker open empty, not rendering popup content 2014-07-21 13:38:23 +00:00
Ralf Becker
cdd295fd5c quiten open_basedir warnings, when minify tries to access docroot 2014-07-21 08:22:11 +00:00
Ralf Becker
9f07b91490 quiten open_basedir warnings, when minify tries to access docroot 2014-07-21 07:02:48 +00:00
Klaus Leithoff
003f36afdb avoid warning on unexpected accounts->memberships result 2014-07-18 11:14:33 +00:00
Ralf Becker
9712e625db * Admin/API: remove no longer fully supported method to not "store session-id in cookie", it is the safer default anyway 2014-07-18 10:02:51 +00:00
Klaus Leithoff
a8a5557aa7 * API/CKEditor: introduce new skins/themes 2014-07-18 09:49:17 +00:00
Hadi Nategh
a2bac6e07a Make sure _with value is not null when trying to replace it into url, it causes broken url while using _replace argument from refresh_opener 2014-07-18 09:16:41 +00:00
Klaus Leithoff
430cba8991 * API/CKEditor: update to version 4.4.3; add additional skins 2014-07-18 07:56:43 +00:00
Ralf Becker
f49bbab26f fix an other CSP error, caused by json-responses send eg. from get_rows method on a GET request, filemanager opened in iframe from tracker 2014-07-17 17:26:00 +00:00
Ralf Becker
55475026ce remove xcache backend, because it is as obsolte as xcache 2014-07-17 13:05:36 +00:00
Ralf Becker
e7eaa72bc9 * API/Admin: fixed not working Admin >> Clear cache for default APC(u) and files backends 2014-07-17 12:34:43 +00:00
Ralf Becker
46fcd19256 missing images from previous update-checker commit 2014-07-17 11:23:45 +00:00
Ralf Becker
fa95339c3c only need one save-as-zip image 2014-07-17 11:22:57 +00:00
Ralf Becker
448e1e3675 * Admin: automatic update check displaying an icon for available (security-)updates for admins, escalating for security updates to all users after 3 days 2014-07-17 09:22:54 +00:00
Ralf Becker
258def8344 only modify js&css files for "real" browsers identified by existing of HTTP_REFERER, to return false data to WebDAV clients eg. used for backup 2014-07-17 07:34:06 +00:00
Ralf Becker
b1a95fb2e7 mitigate risk of serving javascript or css via webdav from our domain 2014-07-16 14:54:01 +00:00
Ralf Becker
9fa607c3bd fixed problems reported by LFRZ 2014-07-16 12:18:04 +00:00
Ralf Becker
f472ff10ee fixed PHP Fatal error: Call to a member function MetaTables() on a non-object, when non-default apps like esyncpro got installed/updated 2014-07-15 11:07:26 +00:00
Ralf Becker
2e4a5107b8 pending French translations from translation.stylite.de 2014-07-15 09:38:29 +00:00
Nathan Gray
9f9f5184fc If selected egwActionObject(s) contain data, use that over global data store. 2014-07-14 20:29:42 +00:00
Ralf Becker
2461660920 * Preferences: do NOT use deny configuration for admins 2014-07-14 16:26:03 +00:00
Nathan Gray
a0d2956bb6 Link was missing if application entry directory already exists.
Fixes unable to symlink existing entries to vfs
2014-07-14 10:22:48 +00:00
Nathan Gray
8a36e40b10 Call applyFilters() function instead of setting directly, which skipped change detection.
Fixes selection not cleared when applying a favorite.
2014-07-14 09:59:02 +00:00
Ralf Becker
f11f9937ac make detection of serialized values more robust, to allow string like eg. "a:hello" 2014-07-13 09:38:55 +00:00
Ralf Becker
ff1934a51f fixed typo 2014-07-13 08:55:48 +00:00
Ralf Becker
6b0ed9111f * API: fixed broken configuration, causing eg. ActiveDirectory or LDAP authentication to fail (you need to run Setup >> Clear cache!)
all config vars with names starting with an "a" were returning false instead there correct value
2014-07-12 08:51:31 +00:00
Ralf Becker
2dd0625ebe * Backup: backup could contain rows multiple times (which caused restore to fail) 2014-07-11 17:35:46 +00:00
Klaus Leithoff
772ebe6a41 improve (failsafe for non matching vartype personal (array instead of expected string)) imap_rfc822_write_address own fallback function 2014-07-11 11:34:11 +00:00
Ralf Becker
f151190d64 changed an other German translation to "Zugriffsrechte" 2014-07-09 08:18:42 +00:00
Nathan Gray
b7a6e53163 * Added context menu to download all linked files in one zip file
As long as there are 2 or more files linked to the entry, you can download them all as a zip using the link list context menu.
2014-07-08 16:51:01 +00:00
Ralf Becker
017ffe5e15 fixed javascript error "undefined attribute length" 2014-07-08 14:26:15 +00:00
Ralf Becker
3d79bae09a Brazilian translations from Guilherme Rocha guilherme-at-gf7.com.br 2014-07-08 09:57:42 +00:00
Nathan Gray
a3a1d500ee set_preference now accepts an additional callback parameter, passed on to jsonq 2014-07-08 03:34:05 +00:00
Nathan Gray
db5fb7a86a Use egw_vfs::file_exists() instead of file_exists() to handle missing prefix.
Fixes not being able to symlink to vfs from link widget.
2014-07-07 22:10:02 +00:00
Nathan Gray
08c10a70aa Update Resumable from github, fixes some problems with setting et2_file value to a list of files in firefox. 2014-07-07 20:26:48 +00:00
Ralf Becker
5ba884f4a6 * Admin/API: remove old database based error-log 2014-07-05 08:54:36 +00:00
Ralf Becker
ada3b84386 fixed IDE errors and removed deprecated functions create_emailpreferences and check_owner 2014-07-05 07:58:48 +00:00
Ralf Becker
d399e01ce8 new client-side API methods egw.dataSearchUIDs() and egw.dataRefreshUIDs() search for a given uid or regular expression and refreshing matching nextmatch rows, if somethings found 2014-07-04 08:55:37 +00:00
Nathan Gray
f2dec7deac Don't exit after creating a ZIP so caller can do cleanup, if needed. 2014-07-03 16:51:21 +00:00
Ralf Becker
442614f5bd * Addressbook,Calendar,InfoLog,Timesheet: switch on history / delete preventions, if there is not already a config 2014-07-03 16:42:56 +00:00
Ralf Becker
6560a9d137 fixed not working "Search ..." in old eTemplate nextmatch-account-filter ("noPrint" class caused necessary "uiaccountselection" class not to be added) 2014-07-03 08:41:37 +00:00
Nathan Gray
35f59acf41 Zip still needs the encoding, lost in previous commit. 2014-07-02 14:46:15 +00:00
Nathan Gray
977cb5e7df Apparently converting like that doesn't work, since umlauts get mangled.
Using to_ascii() instead
2014-07-02 14:40:28 +00:00
Ralf Becker
4c15c2f2de * Calendar/API: allow not serialized data in async jobs, only run automatic purge if we have a real number > 0 2014-07-02 12:42:12 +00:00
Nathan Gray
e63984884f Take some more care with filenames, trying to get Windows to handle the zips 2014-06-30 17:42:11 +00:00
Ralf Becker
b3a9da635f moved translation statistics logic and caching to translation class 2014-06-28 11:47:32 +00:00
Ralf Becker
b75a9c42a2 fixed not working tracker resolutions (and probably other labels) after category extra data in json 2014-06-27 11:36:18 +00:00
Ralf Becker
94a0465616 json_encode instead of PHP serialized 2014-06-27 08:48:47 +00:00
Ralf Becker
d422d2ea8d json_encode instead of PHP serialized 2014-06-27 08:47:30 +00:00
Ralf Becker
cced2ceffc * API: storing category extra data now json-encoded 2014-06-27 08:21:01 +00:00
Ralf Becker
7666292284 no need to manually (un)serialize vfs_fstab and detect old php serialize and new json_encoded values 2014-06-27 07:48:44 +00:00
Ralf Becker
2287ae9d9a fix author, jerryr template is from Jerry Ruhe 2014-06-27 07:46:58 +00:00
Ralf Becker
d6a5c93e01 new php_safe_unserialize function refusing to unserialize objects and using it for config, preferences and DB-backups 2014-06-26 17:38:29 +00:00
Ralf Becker
174e0c1e15 fixed not detected JSON in array not object syntax 2014-06-26 13:44:31 +00:00
Ralf Becker
e0a0708a64 fixed no new customfields could be created 2014-06-26 13:32:26 +00:00
Ralf Becker
23cbc01e2c activating observer for admin instead of app_refresh and using it to invalidate client-side account-cache 2014-06-26 08:23:02 +00:00
Ralf Becker
864c3189cc moved about link to admin and changed wording of "Powered by ..." in footer 2014-06-25 19:02:06 +00:00
Nathan Gray
b602714292 Use relative paths inside zip 2014-06-25 17:15:00 +00:00
Ralf Becker
9e67848243 force new Pixelegg template on update 2014-06-25 16:46:36 +00:00
Nathan Gray
d6fcba4dc9 Update documentation to mention filtering too 2014-06-25 16:10:43 +00:00
Ralf Becker
936b6d90cc an other stall of PostgreSQL update caused by string literals with double quotes 2014-06-25 15:51:15 +00:00
Ralf Becker
9f450a8132 * PostgreSQL/Addressbook: fixed not displayed pictures
by backporting ADORecordSet_postgres64::_decode() from ADOdb 5.19
2014-06-25 15:43:20 +00:00
Ralf Becker
d2bc16c79b fix IDE warnings 2014-06-25 12:55:16 +00:00
Ralf Becker
2ee9082f2e * PostgreSQL: fixed not working installation (access to not yet existing table stalls transaction) 2014-06-25 12:43:11 +00:00
Ralf Becker
bfade1bbbc fix query to work with Postgres: string literals need single quotes not double 2014-06-25 09:23:21 +00:00
Ralf Becker
9da3a90a96 improved repair of required nods to cope with renamed or wrongly linked nods like / having a name and/or linked to itself instead of 0, also fixed IDE warnings 2014-06-25 08:23:28 +00:00
Nathan Gray
a852eed949 Add save as ZIP action 2014-06-24 19:29:05 +00:00
Ralf Becker
7505b92bcb fixed not working password link in Firefox (JSON.parse in FF does not like white-spaces) 2014-06-24 14:07:42 +00:00
Klaus Leithoff
2502f5500a * Notification/Mail: make sure acc_smtp_username is used (if available), to cope with strict mailserver settings to prevent faking sender information 2014-06-24 13:38:32 +00:00
Ralf Becker
d6ce36d735 bump versions to 14.1 2014-06-24 10:00:50 +00:00
Ralf Becker
74b98920de fixed lost type2 values in cf migration eg. InfoLog type cf is valid for 2014-06-24 07:47:43 +00:00
Ralf Becker
af9b8303d6 make egw_db::from_bool() static and use that to work around PHP 5.3 limitation of not making class scope available in closures 2014-06-24 07:25:35 +00:00
Ralf Becker
ffae12e240 * all apps: custom-fields are now stored in own egw_customfields table (no more limit on number), site configurations get now JSON serialized 2014-06-23 14:35:22 +00:00
Ralf Becker
d4bb8a00a9 move et2_call method to egw.js to have it always available at window scope (it is NOT et2 specific), maybe we find a better/nicer place for it 2014-06-23 08:10:40 +00:00
Ralf Becker
ff00c695ca new API method egw_framework::popup($link, $target="_blank", $popup="640x480") to open a popup independent of running a regular or a JSON request 2014-06-18 13:57:15 +00:00
Ralf Becker
6e6e75182b added a debug message 2014-06-18 08:22:12 +00:00
Nathan Gray
715bbf9abe If a refresh of a particular UID is requested and server doesn't give it then remove it.
Fixes refresh where the row no longer match filters, but is still there.
2014-06-17 19:23:14 +00:00
Hadi Nategh
75b9624266 Fix calendar multiselect accounts not change the view after submit 2014-06-17 16:03:54 +00:00
Ralf Becker
0f3be64360 (re-)set VFS user for vfs access rights, when user of async job changes 2014-06-17 06:52:52 +00:00
Ralf Becker
b49d9fac67 Entry directories are always reported existing and empty, if not existing in sqlfs 2014-06-16 20:01:59 +00:00
Ralf Becker
e16b6b361d using PHP 5.3 late static binding and closures 2014-06-16 08:41:46 +00:00
Ralf Becker
ad85c88c72 only save preferences of apps whos preferences actually changed 2014-06-13 16:08:42 +00:00
Hadi Nategh
2ff1107b78 Ignore favorite preferences which are not correctly serialized, and somehow are stroed in database. At the moment we just ignore them, but they stays in database, need to be watched closely to find the cause, though. 2014-06-13 16:03:16 +00:00
Ralf Becker
541e6f9bb5 need to remove /e modifier, when using preg_replace_callback 2014-06-13 13:30:36 +00:00
Ralf Becker
60106975aa * Preferences: now stored JSON encoded in database (also removed many deprecated methods) 2014-06-13 13:15:21 +00:00
Hadi Nategh
b9038925a8 Add jQuery onchange handler for tz_selection selectbox in idots 2014-06-13 11:36:46 +00:00
Hadi Nategh
78e701ed85 Remove another inline script which was violating CSP 2014-06-13 11:16:04 +00:00
Ralf Becker
a5eb58638d fixed IDE warnings 2014-06-13 07:04:51 +00:00
Ralf Becker
e9295a5861 replaced PHP 5.5 boolval function with (bool) cast 2014-06-12 10:21:33 +00:00
Ralf Becker
95b89a0c9f fixed under some conditions not working translations, caused by egw object calling translation::init and preceeding lang_arr with (en) translations, before lang.php calls add_app() with a single translation, now explicitly calling init() and init() allways empties lang_arr 2014-06-12 10:07:57 +00:00
Nathan Gray
44ae90b8d3 Avoid warning from explode() if type2 is already an array 2014-06-11 17:33:19 +00:00
Nathan Gray
80962c1963 No permission check when initializing link hooks for during asyncronous processing.
Fixes missing links in notifications.
2014-06-11 17:30:44 +00:00
Nathan Gray
2bc3ad43c0 Avoid undefined error when links is not provided 2014-06-10 15:27:11 +00:00
Ralf Becker
76fc9f97dc set $GLOBALS[egw_info][flags][async-service] (check with isset()), so emailadmin can check if there is no user-session 2014-06-05 11:05:45 +00:00
Ralf Becker
6efc08cc0a * Notifications: fixed not used SMTP authentication and selection of mail account 2014-06-05 10:36:13 +00:00
Ralf Becker
f5d4cdf7c0 fix IDE warnings 2014-06-05 10:33:38 +00:00
Ralf Becker
6d6e9d8a43 also replace p tags 2014-06-05 09:54:21 +00:00
Ralf Becker
854d17b46b fix PHP Deprecated: preg_replace(): The /e modifier is deprecated 2014-06-05 08:52:08 +00:00
Ralf Becker
07cd6838f5 * Admin/Filemanager: creating groups did not create group directory, but damaged VFS (can be repaired with "Check virtual filesystem") 2014-06-04 09:26:29 +00:00
Ralf Becker
90214935be reapplied r42638: Add a global ajax callback so the et2 widget can stay in sync with the dhtmlxtree 2014-06-03 08:56:14 +00:00
Ralf Becker
d9c9e06aad reapplied r41681: 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) 2014-06-03 08:54:46 +00:00
Ralf Becker
85c5468013 fixed old tree stuff to use new dhtmlx locations, allways use dhtmlxtree/codebase/dhtmlxcommon.js 2014-06-03 08:17:43 +00:00
Nathan Gray
3b8bee4d18 Update dhtmlxTree & dhtmlMenu to latest version 2014-06-02 23:32:15 +00:00
Nathan Gray
4b1fc627c4 Update dhtmlxTree & dhtmlMenu to latest version 2014-06-02 23:31:30 +00:00
Ralf Becker
960b50b83a sync CalDAV default-alarm trigger/time to calendar preference 2014-05-28 10:57:02 +00:00
Nathan Gray
07ec496a8e Decode stored favorite before parsing it, fixes missing umlauts 2014-05-27 18:52:44 +00:00
Nathan Gray
32f51ced99 Remove error log 2014-05-27 15:49:51 +00:00
Klaus Leithoff
5e44a189cc other changes (keep_bad and -htmlawed-transform) that did affect the expected result of htmlawed v1.1.17 compared to v1.1.14 2014-05-27 15:26:06 +00:00
Nathan Gray
eaccfdfe1d Enhance error message to include request info 2014-05-27 14:53:34 +00:00
Klaus Leithoff
9924612245 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
introduce and use new make_tag_strict option 3, to exclude font from applying strict measures to it
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
2014-05-27 14:12:44 +00:00
Klaus Leithoff
f94e6bb501 * API/htmLawed: update to version 1.1.17 2014-05-27 13:52:02 +00:00
Ralf Becker
d1c25c7c38 * fixed SQL error "Field last_mod doesnt have a default value" on update for newer MySQL versions or PostgreSQL 2014-05-27 12:46:18 +00:00
Ralf Becker
9ed199261a fix dialog and translations to allow messages with newlines 2014-05-27 12:11:09 +00:00
Nathan Gray
e9d426111a Keep unsorted favorites 2014-05-26 23:00:02 +00:00
Ralf Becker
ddc17e8e0d allow null as well as undefined for message-type-detection 2014-05-26 15:39:21 +00:00
Ralf Becker
baf7e2e97a remove unnecessary and in PHP 5.5 deprecated preg_replace /e modifier 2014-05-26 14:29:40 +00:00
Ralf Becker
28b45639be to give observer method of other apps more information about what to refresh, server-side adds now links to refresh-opener and therefore observer calls 2014-05-26 13:29:35 +00:00
Ralf Becker
b1603f4fd3 support <br/> and a single <a href="...">Text</a> (no further attributes!) in egw.message() 2014-05-26 13:05:40 +00:00
Ralf Becker
c04f0ccc8f fix not updated infolog in list, when timesheet is booked on it: added "row_mod" as maximum of info_modified, link_lastmod (incl. deleted ones) and timesheet_bo::sum() max_modified 2014-05-24 10:59:03 +00:00
Ralf Becker
ddc1b2d673 docu update about how to stop regular refresh 2014-05-23 09:20:42 +00:00
Ralf Becker
7edd12d251 run observers in main window (eg. not iframe, which might be opener!) 2014-05-23 09:19:46 +00:00
Ralf Becker
24ee68bdf2 fixed infinit loop for apps running in iframe by refactoring frameworked templates work with client-side api:
- moved shared etemplate2 part into static etemplate2.app_refresh() method
- egw_message.refresh() calls framework.refresh() which can return a DOMwindow for egw.refresh() to work on, instead of calling egw.refresh recursive
2014-05-23 08:21:11 +00:00
Ralf Becker
893091e286 - new app.js observer method which receives update notifications from all apps
- app.infolog.observer triggering refresh of InfoLog list, when a timesheet get stored
- moved code of already deprecated egw_refresh() to egw.refresh() and changed etemplate to use that
- framework from jdots/pixelegg template no longer overwrites window.egw_refresh, but egw.refresh calls framework.refresh for regular refreshs if framework is present
2014-05-22 15:29:14 +00:00
Hadi Nategh
b3ee7bc605 Make sure if the refresh is done, then give up not to reload the whole page 2014-05-22 11:27:29 +00:00
Ralf Becker
4b9078eb7d fix implementation of calling (set|get|unset)Cache with install_id to behave identical to call to (set|get|unset)Instance for current instances install_id (install_id was used directly in keys) 2014-05-22 11:21:02 +00:00
Klaus Leithoff
a50810f9a6 if kama is choosen as skin, use monocolor; kama-skin seems not be fully compatible with ckeditor requirements on skins; next ckeditor update will remove kama skin 2014-05-22 10:01:31 +00:00
Nathan Gray
a5cdc928f0 Call static methods staticly 2014-05-21 16:48:36 +00:00
Ralf Becker
e6304eec45 fixed PHP Fatal error: Attempt to unset static property accounts::$cache 2014-05-20 15:55:17 +00:00
Ralf Becker
c7d32e47d5 egw_cache::(get|set|unset)Cache($level,...) excepts now an install_id to use instance cache of given instance
accounts class uses now instance_id to access instance cache to support using it with multiple instances
instanciating accounts class with an array of config values clears now internal static cache and singelton instance
2014-05-20 08:59:29 +00:00
Ralf Becker
01a7875627 egw_cache::(get|set|unset)Cache($level,...) excepts now an install_id to use instance cache of given instance
accounts class uses now instance_id to access instance cache to support using it with multiple instances
instanciating accounts class with an array of config values clears now internal static cache and singelton instance
2014-05-20 08:59:23 +00:00
Ralf Becker
9602d061ad * Setup: re-add config for mail authentication and fixed it to always try to use a TLS connection 2014-05-17 08:00:17 +00:00
Ralf Becker
c3b7018916 logging for exceptions now also request-method and user-agent 2014-05-16 09:09:38 +00:00
Ralf Becker
ef07aebbd4 * ProjectManager/Timesheet: automatic change a changed project-title in Timesheet too 2014-05-15 13:20:52 +00:00
Ralf Becker
802d4c5282 * ProjectManager: fixed parent projects were not updated with changes (you had to run sync-all manually
caused by running notifications delayed after response is send to user and to taking into account new notifications generated by notified apps
2014-05-15 13:14:09 +00:00
Ralf Becker
bdbc22dd98 reverted r46410 calling header explicitly before navbar, causing navbar no longer being able to add stuff to header, eg. include javascript
and fixing idots_framework::navbar() to still call header, if $navbar_done is set
2014-05-15 09:41:31 +00:00
Nathan Gray
33f264346a Fix error deleting a favorite 2014-05-13 21:39:23 +00:00
Ralf Becker
b25724e7ed fixed setup uses cached config values for installs with multiple instances 2014-05-13 15:53:35 +00:00
Ralf Becker
e4e4aa97bc flushing instance cache and config cache, after saving minimal config, fixing default_records of apps use not up to date data 2014-05-13 09:32:21 +00:00
Ralf Becker
19fc7acb7f top.egw is a function not an object 2014-05-13 08:48:27 +00:00
Ralf Becker
ac220a6e82 using egw.is_popup() which deals with situation of egw main-window having an opener (eg. bookmark) 2014-05-13 06:44:50 +00:00
Nathan Gray
9a8182480f Stop popups from re-initializing sidebox. Fixes favorites causing whole application to reload after saving a popup. 2014-05-12 20:36:18 +00:00
Ralf Becker
927b6eacb3 seems webspellchecker in CKEditor uses now https, need to allow that instead of http in CSP policy 2014-05-08 16:46:59 +00:00
Ralf Becker
194606b196 public method to translate between PHP and jQuery date(Time)Picker date/time-format 2014-05-08 15:57:07 +00:00
Ralf Becker
a345f2c47e implemented search method in accounts sql backend, to no allways do a full query and limit in code 2014-05-08 13:35:22 +00:00
Ralf Becker
7c9df2fe1e implemented search method in accounts sql backend, to no allways do a full query and limit in code 2014-05-08 12:30:03 +00:00
Ralf Becker
79fa175235 fixed SQL error stalling update, if addressbook contains no entries without 2-letter country-code 2014-05-08 12:03:00 +00:00
Ralf Becker
c29cb5c972 limiting a huge list of accounts returned not all accounts, because full search was limited too original number of requested rows 2014-05-08 08:50:57 +00:00
Ralf Becker
b111f5005b fixed select-accounts show only part of users, caused by previously trying to extend now used array 2014-05-07 15:51:45 +00:00
Nathan Gray
012b49838c Send value/label pairs to preserve sorting 2014-05-06 20:33:40 +00:00
Ralf Becker
f806bee109 fixed PHP Fatal error: Call to a member function appsession() on a non-object when running as cron-job 2014-05-06 14:41:06 +00:00
Ralf Becker
d5777290ab update from 1.8.007 2014-05-06 07:23:11 +00:00
Ralf Becker
6f98614b15 * Setup: fixed (partially) stalled installation, because caching could not find not yet created configuration 2014-05-05 12:33:33 +00:00
Hadi Nategh
c185974275 Apply overflow:hidden for sidebox in top level, because there might be some apps (eg. AB) which need to have visible overflow over sidebox divs 2014-05-02 10:59:40 +00:00
Ralf Becker
544d57ca46 prevent CSRF for setup and admin site configuration 2014-05-01 06:26:09 +00:00
Nathan Gray
61198e3684 Update gantt code 2014-04-30 20:24:50 +00:00
Nathan Gray
140a0746d1 Make sure top actually has app before calling it.
Fixes error in calendar where non-list views are still in an iframe, but top window has no app.js
2014-04-30 16:25:05 +00:00
Nathan Gray
4d016169e7 Precautions for iframes + sidebox
- Unbind any existing events on existing sidebox, if _init_sidebox() is called again
- Only call _init_sidebox() on top-level window's app.js, fixes some iframe issues with admin
2014-04-29 16:51:57 +00:00
Nathan Gray
5c19f99d9d Remove no longer needed AJAX call for groups, API now provides them directly to the widget 2014-04-29 16:15:23 +00:00
Klaus Leithoff
7434cd7144 * Mail: fix for messed up signature in some cases; fix for not beeing able to delete/remave an attachment to a new mail that was attached using PRESET methods 2014-04-29 09:53:47 +00:00
Nathan Gray
178fa34031 Implement action system state for trees 2014-04-28 23:11:58 +00:00
Nathan Gray
08ecadcc99 Add support for querying multiple deleted links, same as single 2014-04-28 19:56:21 +00:00
Nathan Gray
21e5eb79dd Fix bug where if no additional apps were requested, no translation was done.
Was visible in ACL edit dialog.
2014-04-28 16:17:41 +00:00
Hadi Nategh
c912849bd5 Apply favorites sortable feature to sidebox fav. menu 2014-04-25 07:37:11 +00:00
Ralf Becker
d28315dc9f disable help until content is reworked 2014-04-24 05:56:41 +00:00
Nathan Gray
62686e4b2a Enhancement to r45442 so search options provided as a list are still filtered, but server response is accepted unfiltered.
Fixes search options provided as a static list were not being filtered.
2014-04-23 21:42:22 +00:00
Nathan Gray
48fa6611f3 Use a single client-side cache for account selection so we don't have to send it for every widget 2014-04-23 19:00:59 +00:00
Klaus Leithoff
79134d7b12 translations from our translation server 2014-04-23 12:39:12 +00:00
Hadi Nategh
bc33bb842e Fix not showing up sidebox fav items 2014-04-23 12:04:05 +00:00
Hadi Nategh
9805f019a1 * Favorites: Make favorites item sortable and store their orders as user preference 2014-04-23 11:42:48 +00:00
Klaus Leithoff
d1151d876e translations from our translation server 2014-04-23 07:44:08 +00:00
Ralf Becker
f2030c4746 added an implementation of imap_mime_header_decode() using Horde_Mime::decode() with which mail app now seems to work without PHP imap extension 2014-04-19 09:22:59 +00:00
Ralf Becker
54dc648b18 an implementation of imap_rfc822_parse_adrlist and imap_rfc822_write_address, to obsolete imap extension 2014-04-18 12:51:17 +00:00
Hadi Nategh
826e35ffac Get mail print working for idot and pixelegg templates 2014-04-17 15:10:16 +00:00
Ralf Becker
6b7b6fac58 returning false and logging error in ExecMethod, not returning an error-message 2014-04-17 15:07:02 +00:00
Ralf Becker
f641c2cec6 open password in a popup 2014-04-17 07:37:21 +00:00
Ralf Becker
41c1c8c777 keep lines ("\n") in messages 2014-04-17 07:34:59 +00:00
Nathan Gray
c4f56f2c3b New dhtmlxGantt library, and etemplate2 widget to use it (work in progress) 2014-04-16 19:47:29 +00:00
Ralf Becker
3b68b8bff8 need to consider caching when applying setup operations 2014-04-16 17:57:44 +00:00
Hadi Nategh
20db2d8c81 Make sure that the display:none is applied for onlyPrint and noPrint 2014-04-16 17:42:31 +00:00
Ralf Becker
cf6ae6ee77 empty array on insert/update, store as NULL, or if not allowed whatever value NULL is casted to 2014-04-15 08:15:23 +00:00
Klaus Leithoff
04760c6510 rework of translation::replaceTagsCompletley as the prior method removed too much in rare cases 2014-04-14 15:09:07 +00:00
Klaus Leithoff
c68e887a9c remove references to obsolet felamimail stuff 2014-04-10 08:37:12 +00:00
Ralf Becker
af5841a5d1 new 14.1 favicon 2014-04-09 09:35:55 +00:00
Ralf Becker
88ac923de2 switched off permanent error_log 2014-04-09 08:49:07 +00:00
Ralf Becker
0a83c89f9f fixed PHP Fatal error: Undefined class constant "SSL_TLS" 2014-04-09 08:41:57 +00:00
Ralf Becker
370dd66938 fixed send class to use new accounts stuff and not calling (no longer existing) felamimail 2014-04-09 08:22:59 +00:00
Klaus Leithoff
83716092fb translations from our translation server 2014-04-07 06:50:08 +00:00
Ralf Becker
b5818b931f patched PHPMailer to allow to use STARTTLS and TLS version>=1, enhanced wizard to autodetect hosted 1-and-1 domains by using Mozilla ISPDB on MX or domain-part of MX, fixed folder detection to not require folders below INBOX 2014-04-04 08:31:28 +00:00
Ralf Becker
554789e9ff 2 new message types "help" and "info" and displaying now all message types but "success" until next message or user explicitly closes them 2014-04-02 19:02:49 +00:00
Nathan Gray
d3c0314b4d Switch AJAX upload library to Resumable for chunked uploads. 2014-04-01 20:48:40 +00:00
Ralf Becker
6fdf8c98d1 open preferences and ACL in a popup (ACL still needs a little more work: use et2_dialog to add/edit instead of an other popup) 2014-04-01 15:49:08 +00:00
Ralf Becker
d28583a3a4 fix Array has no method match, if egw_framework::message() is called in GET request 2014-04-01 14:16:11 +00:00
Ralf Becker
97dc98453c Horde_iCalendar::newComponent(): include relative from current dir, as we no longer set (old) Horde dir in include path 2014-04-01 13:41:45 +00:00
Ralf Becker
71b97568e5 restore include_path after include of (old) Horde lib/core.php to not conflict wth new Horde code installed in include-path 2014-04-01 12:33:14 +00:00
Ralf Becker
28a819926c fixed fatal error class Horde_String not found when trying to save a new compose with attached vCard as draft
caused be previous include include of phpgwapi/inc/horde/Horde/String.php via use of vCard and old Horde code uses just String instead of Horde_String as class-name
2014-04-01 10:37:36 +00:00
Nathan Gray
5be831d9dc Fix broken cache update when deleting a preference.
Before, it would only store the preference for the updated app instead of all.
2014-03-31 16:59:01 +00:00
Klaus Leithoff
8d5b0e83a3 translations from our translation server 2014-03-31 12:50:09 +00:00
Ralf Becker
13ad291696 need to init apps too 2014-03-28 13:15:11 +00:00
Ralf Becker
1a1e0fcffc move "nothing to save." to common 2014-03-28 13:05:56 +00:00
Klaus Leithoff
f495345550 add some more examples for imap_rfc822_parse_adrlist 2014-03-28 09:48:09 +00:00
Ralf Becker
115aabf21a fixed error because using (by loading order sometimes) uninitialised class-variable instead of documented and initialies private var 2014-03-28 08:06:30 +00:00
Ralf Becker
ca3f43838c fixed IDE warnings 2014-03-28 07:49:49 +00:00
Klaus Leithoff
5547753502 first step for a workaround when there is no imap extension available; ToDo: implement imap_rfc822_parse_adrlist (used quite often) 2014-03-27 14:03:06 +00:00
Nathan Gray
e7fd500006 Store the jQuery jqXHR request object in the json_request, and return it from sendRequest() so caller can access it, if needed. 2014-03-26 17:53:09 +00:00
Ralf Becker
a4b27d286d * FireFox/all apps: fixed in recent FF version popups opened always in a single popup (overwritting previous opened one) 2014-03-26 10:32:17 +00:00
Ralf Becker
7d7436e54b fixed javascript errors happening if config was not loaded 2014-03-25 12:23:06 +00:00
Ralf Becker
9a10af6fe5 missed to commit parameter to parse CN from url 2014-03-25 12:22:00 +00:00
Ralf Becker
659ad40b50 display old html::form_1button like a button inline-block 2014-03-25 12:17:46 +00:00
Ralf Becker
1007f2ec7e fixed idots not always loaded client-side configuration: now using egw_info[flags][nonavbar] === "popup" to let framework definitly know we dont want a navbar (need to know before navbar is called and can not use true, which is allways set by index.php) 2014-03-25 12:12:00 +00:00
Ralf Becker
fd7a180412 fixed IDE warnings 2014-03-23 08:51:28 +00:00
Ralf Becker
1f0dd46118 as we use now etemplate_new for eTemplate2 and etemplate for old eTemplate class, there is no need to switch etemplate class between new and old 2014-03-23 08:41:31 +00:00
Ralf Becker
fcc1737036 fixed error when filename included non-ascii chars (eg. German umlauts) and added a header with information about author and Github url 2014-03-21 17:11:18 +00:00
Hadi Nategh
9423598d14 Correct css class name used for footer toolbar in dialogs 2014-03-21 10:34:41 +00:00
Ralf Becker
ac18b6cc8d changed et2_core_inheritance.js to implement ClassWithAttributes extending Class from egw_inheritance and changed et2 objects to use ClassWithAttributes when required (also fixed lots of IDE warnings / added docu) 2014-03-20 09:40:37 +00:00
Ralf Becker
a8e9a97212 some formatting of dialogHeader for idots, removing of width:98% from popupMainDiv, as it seems unneeded and forces to give all popups a width (to get ride of scrollbars) and overflow: hidden for sidebox 2014-03-19 13:24:23 +00:00
Nathan Gray
aa3c0ca7c0 Pass along last modification time to callback 2014-03-18 22:28:50 +00:00
Nathan Gray
764d7f99a5 Update CSS order so apps can customize theme:
Libs < etemplate2 < framework/theme < app < print
2014-03-18 15:29:03 +00:00
Nathan Gray
53f0873583 Avoid initial request to server on creation 2014-03-18 14:51:33 +00:00
Ralf Becker
77579f364f fixe funny "Group, Name" label, should not contain a comma 2014-03-18 13:34:59 +00:00
Ralf Becker
f47e38f320 wrong window was used when compiling list of already included scripts or css files, fixes missing css styles for context menu in popups (list of links) 2014-03-13 15:28:42 +00:00
Ralf Becker
804df769d5 fixed IDE warnings 2014-03-12 17:15:48 +00:00
Ralf Becker
2a34b88111 fixed not working referesh of ACL list 2014-03-12 13:14:23 +00:00
Ralf Becker
8d1633f58b deals with situation that no extra application menu is necessary 2014-03-12 12:18:35 +00:00
Nathan Gray
26eaf7e1fe Add a isDefault flag to allow changing default execution function 2014-03-11 16:25:18 +00:00
Ralf Becker
086195c0aa stop event propagation after calling setState, fixes "double sidebox" in CRM view, if called via a favorite (caused 2 identical requests to server, which both added their sidebox) 2014-03-11 08:16:52 +00:00
Hadi Nategh
68cf208ada Fix width in idot template for popup windows 2014-03-10 16:20:10 +00:00
Hadi Nategh
96a6a7ee1a Adjust width for resized popup windows, since we are trying to use fix width for edit popups 2014-03-10 16:04:01 +00:00
Ralf Becker
f87e456be2 do not send/set extra data twice for multiple etemplate (eg. CRM view) 2014-03-10 15:20:27 +00:00
Hadi Nategh
d62bec8088 Fix toolbar menu for addressbook covered under sidebox menu 2014-03-10 15:16:04 +00:00
Ralf Becker
79e1b5c9b8 fixed CSP error for multiple eTemplate2s (CRM view), by allways sending etemplate data via et2_container tag (instead etemplate script tag) and create an et2 object for all of them in egw.js 2014-03-10 11:58:49 +00:00
Ralf Becker
bea1863d14 resize only last et2 containter, to deal with multiple ones like in addressbook CRM view 2014-03-10 11:55:33 +00:00
Ralf Becker
ea04a556ca added a couple more default icons similar to et2_button, and fixed actions with just a caption string where not working with toolbar 2014-03-06 18:33:27 +00:00
Ralf Becker
e44537a46d new square logo 2014-03-05 18:33:57 +00:00
Stefan Reinhardt
4da2182c14 delete: font-family + font-size 2014-03-05 17:03:46 +00:00
Ralf Becker
a7251c13ed using new css class "drop-hover" for hovering over egw_action dropables and no longer any activeClass showing possible drop targets 2014-03-05 12:31:32 +00:00
Ralf Becker
97a5a41867 fix typo 2014-03-04 12:20:26 +00:00
Ralf Becker
04442bb0cf move actions stuff to api bundle, as loading just it fails with etemplate bundle split in two parts (fixes error reported on devel list) 2014-03-04 09:10:58 +00:00
Nathan Gray
6b86eb9c0f For the purposes of keyhandling, consider textareas & buttons inputs too 2014-03-03 19:00:25 +00:00
Nathan Gray
e9b5dfde4d Bind key handler to save favorite on Enter 2014-03-03 18:51:58 +00:00
Hadi Nategh
e5b1c65045 Fix broken onmouseover|click prefs for extraApp and sidebox menus 2014-03-03 17:45:18 +00:00
Ralf Becker
11d77f3dab fixed a couple of problems with automatic switch to idots template from mobile browsers: csp-error, wrong icons 2014-03-03 17:35:48 +00:00
Ralf Becker
f45c1e7d53 fixed all methods of common class are static 2014-03-03 17:33:55 +00:00
Hadi Nategh
8d2018e8f9 Implement show more apps slider menu and sidebox slider menu in idots template with jQuery 2014-03-03 16:03:39 +00:00
Ralf Becker
876a14ff52 new 4th parameter to egw_framework::includeCSS() to tell framework NOT to load any default CSS and make send_headers public 2014-03-03 14:54:03 +00:00
Ralf Becker
aa850d24fc implemented account_type: (accounts|groups|both) option for taglist-account as available in select-account widget 2014-02-28 16:52:42 +00:00
Nathan Gray
3b15036ce8 Add a check for select_all action, and use it if there.
Fixes Ctrl+A only selected visible nextmatch rows.
2014-02-27 23:06:27 +00:00
Ralf Becker
f218f9412c added note about certificate validation and some more diagnostics to error_log, for failed ADS auth 2014-02-27 12:05:37 +00:00
Ralf Becker
1ae9925cd5 removed .on("mouse(enter|leave)" (wrapping trash icon), as it stalls delete of favorites in IE11 2014-02-26 15:44:00 +00:00
Ralf Becker
4d8a7d58a1 IE11 seems to require a return false from click handler, stopPropagation() does NOT stop link from being executed 2014-02-26 12:35:56 +00:00
Ralf Becker
cb0f609985 remove droped egw_interserv from default-records, as it stalls new installs 2014-02-26 10:39:54 +00:00
Nathan Gray
56ac3577f0 Revert r45738, it broke mouse selection.
Now users have to actually select the address before clicking send
2014-02-25 22:50:30 +00:00
Ralf Becker
71d685ef9d updating jQuery to 1.11.0 and jQuery-UI to 1.10.4, seems to fix some IE 11 problems 2014-02-25 17:18:02 +00:00
Ralf Becker
b4a0a18de6 fixing wired IE11 errors ... 2014-02-25 17:16:42 +00:00
Ralf Becker
81818d2bbd fixing wired IE errors: need to clone data in set_preferences, as it gets cleaned up in IE 2014-02-25 17:05:16 +00:00
Nathan Gray
4591fa6e21 Fix TypeError: Cannot call method 'css' of undefined
Fixes blank infolog popup, timesheet index
2014-02-25 16:31:06 +00:00
Ralf Becker
e5aa97e2a0 fix IDE warnings 2014-02-25 16:03:12 +00:00
Ralf Becker
8181772025 do NOT initialise imediatly, as DOM is not yet ready (at least in IE11) 2014-02-25 16:02:46 +00:00
Klaus Leithoff
a46398da52 move groupdav to_ascii to translation class; unify content_header and content_disposition_header to be used by all downloads; adapt vfs_webdav_server thereof; try to improve replaceTagsCompletley 2014-02-25 15:48:23 +00:00
Ralf Becker
58b6cb3bc6 fixed tons of IDE warnings 2014-02-25 15:03:13 +00:00
Ralf Becker
589a6e2e96 fixed not working hideOnDisabled when building popup menu for multiple drop actions, also fixed tons of IDE warnings 2014-02-25 15:02:49 +00:00
Klaus Leithoff
f63b47fb27 translations from our translation server 2014-02-25 10:42:23 +00:00
Ralf Becker
308dfdadc7 allow to already use egw.refresh() instead of egw_refresh() and added todo to move code 2014-02-25 09:46:05 +00:00
Ralf Becker
516713589f * WebDAV/Filemanager: reject to save files by clients using chunked transfer-encoding on servers which does not support that (eg. OS X Finder with server using FastCGI PHP) 2014-02-24 12:40:10 +00:00
Ralf Becker
4ff1a4efd1 fixed after new shutdown handling broken autoloading of tree nodes: json.php is used to send arbitrary JSON data, instead using egw_json_response methods (egw_json_request::isJSONRequest(false) turns that off now) 2014-02-22 15:51:14 +00:00
Ralf Becker
2f3add4ce9 hook to allow apps to add addional domains to CSP frame-src, eg. used by sitemgr to allow access to its sites, also fixed not displayed sidebox menu of old apps 2014-02-21 17:06:11 +00:00
Ralf Becker
a786894c27 new egw::on_shutdown($callback, $args) method to register shutdonw handlers to run after output send back to user, thought only really working with fastCGI, Apache mod_php waits ... 2014-02-21 15:38:38 +00:00
Ralf Becker
796663c2a6 fixed modified translations were not automatic loaded after new login 2014-02-21 11:10:11 +00:00
Ralf Becker
a9b6c6e9b4 * CalDAV/CardDAV: fixed support for limited sync-collection report used eg. by Marten Gajdas Android apps 2014-02-20 17:46:15 +00:00
Nathan Gray
5949016faa Move reading of favorites into a separate function from rendering list 2014-02-20 17:44:53 +00:00
Ralf Becker
3cbf1d24fb * eTemplate/all apps: limit displayed history to 500 entries 2014-02-20 12:47:06 +00:00
Ralf Becker
a7f65672c8 * All apps: run link notifications after processing and returning control to user to speed up saving of entries with links to (big) projects 2014-02-20 11:29:51 +00:00
Ralf Becker
1297c32fb2 adding an extra icon for ical export in context menu, so templates can change it independent of mime icons 2014-02-20 11:07:12 +00:00
Ralf Becker
530ebec63f fixed not translated time-labels in datetime picker 2014-02-19 16:40:56 +00:00
Ralf Becker
d3f2b0a1f9 make parsing of arguments more robust 2014-02-19 15:11:57 +00:00
Ralf Becker
b692346cce several IE11 fixes avoiding or working around javascript errors 2014-02-19 15:10:39 +00:00
Ralf Becker
2f8b7064d8 allow to send a redirect from server-side via client-side egw.link_handler(url, app) allowing to specify which tab to use and a top-level (ajax=true) url 2014-02-19 15:08:51 +00:00
Ralf Becker
bd941f3601 allow to send a redirect from server-side via client-side egw.link_handler(url, app) allowing to specify which tab to use and a top-level (ajax=true) url 2014-02-19 15:08:38 +00:00
Ralf Becker
5734d2e143 fix some html markup IE complains about 2014-02-19 11:49:53 +00:00
Ralf Becker
e22df1b7e2 fixed user agent detection to report correct IE version to fix not longer used svg images after last fix, also fixed all IDE warnings 2014-02-18 19:21:34 +00:00
Ralf Becker
668bec020b fix display and logging of javascript errors for IE 2014-02-18 17:05:26 +00:00
Ralf Becker
e6052f9704 automatic split bundles with more then 50 files into chunks, as IE11 does NOT cache them otherwise 2014-02-17 17:15:37 +00:00
Klaus Leithoff
0d458c8119 disable transaction for mysql for restore, as a failure during restore may lead to an empty database, as drop table is not transactional for mysql 2014-02-17 16:16:44 +00:00
Ralf Becker
186bdbcb55 running categories and acl in iframe again. If they run top-level their admin/js/app.js objects conflict with other top-level admin/js/app.js object and only one working categories or acl tab can be opened 2014-02-17 15:11:26 +00:00
Ralf Becker
d01d5119ca calling app[appname].et2_ready(et2,name) with template name as second parameter 2014-02-17 14:58:20 +00:00
Klaus Leithoff
1c013e92f0 IE changed its USER_AGENT string; html:: report trident; change this to msie when detected, to match the use of msie throughout egroupware; use moonocolor as fallback skin, when ie anf ff are detected 2014-02-17 13:56:17 +00:00
Klaus Leithoff
597e8fdeac we allow filtered style sections now throughout egroupware 2014-02-17 11:35:25 +00:00
Ralf Becker
3ba14a1291 always stop event propagation for click-handler executing on javascript urls in navigation 2014-02-17 11:18:59 +00:00
Klaus Leithoff
acd8b742e8 make sure that request parameters is array before binding/passing them to handle_request 2014-02-17 09:44:13 +00:00
Ralf Becker
64875876ed fixed mail wizard required emailadmin run rights, caused by loading translations required run rights for that app 2014-02-17 08:53:55 +00:00
Ralf Becker
ca12321613 fixed sitemgr-links show no navbar icon in Stylite/Pixelegg template 2014-02-16 09:12:08 +00:00
Ralf Becker
5e0ac9b76f moved favorites code to new class egw_favorites 2014-02-14 13:48:45 +00:00
Ralf Becker
be60a5036e older group-favorites have just true as their group and are not deletable, if we dont find correct group 2014-02-14 13:26:32 +00:00
Ralf Becker
0fa215c9e8 fixed sometimes not deletable favorites 2014-02-14 12:46:49 +00:00
Nathan Gray
bad65780bc Register a JSON handler to show error responses as error message instead of losing them. 2014-02-13 18:47:19 +00:00
Ralf Becker
af1e70ab32 fixed javascript error, if favorite has no href AND make sure all new favorites are created with an href, like they are created server-side 2014-02-13 16:50:49 +00:00
Ralf Becker
e4d65ae94d do NOT check for run rights of preferences app, as we want to be able to store implicit preferences 2014-02-13 16:34:09 +00:00
Ralf Becker
3a5ece79a7 fixed creating or deleting favorites in calendar does not work: was caused by sidebox not initialised as not yet loaded, now calling _init_sidebox from framework, also need to add a click handler for favorites as initialising sidebox removes one installed from template 2014-02-13 15:37:49 +00:00
Ralf Becker
476f33af23 until home works again, we use default_app from prefs (if set and not home) or calendar, if allowed, or first app found 2014-02-13 13:18:48 +00:00
Ralf Becker
80d74f863e fixed typo in adding classes causing image to be lost and cleaned up adding of classes 2014-02-13 11:00:29 +00:00
Nathan Gray
96e44c018f Fix bug where loss of focus from clicking on a button did not trigger blur in time.
Fixes typing an email address & clicking send does not enter address into to field
2014-02-12 23:32:56 +00:00
Nathan Gray
614736e4e3 Handle lost bar position by reverting to 50%, same as too close to edge 2014-02-12 22:51:55 +00:00
Ralf Becker
f0d7751496 removed caret from group favorites, fixed prefered favorite was not show correct initialy nor updated 2014-02-12 21:51:25 +00:00
Ralf Becker
4a7c0204a0 fixed just added favorite can NOT be used as default for dropdown button (gave alert "No default set") 2014-02-12 20:55:10 +00:00
Ralf Becker
75316761b2 added FF name 2014-02-12 18:40:01 +00:00
Nathan Gray
1ca01da9b0 Fix missing group ID when deleting group favorites, fixes unable to delete group favorites 2014-02-12 17:33:22 +00:00
Ralf Becker
17b8bfcc95 fixed javascript error "max is undefined" 2014-02-12 16:36:51 +00:00
Ralf Becker
197b999d35 adding a css class for cancel, delete or yes/no buttons to "old" etemplate 2014-02-12 15:36:47 +00:00
Ralf Becker
22b66c9e3d fix javascript error when clicking on a group favorite (state.state is undefined) 2014-02-12 11:23:04 +00:00
Ralf Becker
3ec6ffe264 deal with situation that storage quota on html5 localstorage is exceeded:
- browser/user can limit quota, we then get an exception which must NOT stall EGroupware!
- we set a smaller MAX_LOGS of 200 instead of current 1000
- if currently more log items stored OR if exception.name=="QuotaExceededError" we clear whole log (trying to clear old limit of 1000 messages)
2014-02-12 10:38:39 +00:00
Ralf Becker
384756ff71 explicitly allow svg for logo in navbar 2014-02-12 08:34:33 +00:00
Ralf Becker
af0876708f reverting fix deprecated warning returnValue use preventDefault() in jquery 2014-02-12 08:17:47 +00:00
Ralf Becker
0a5001ea11 explicitly allow svg for logo in login screen 2014-02-12 08:14:07 +00:00
Klaus Leithoff
85e844fd9b fix deprecated warning returnValue use preventDefault() 2014-02-12 08:10:58 +00:00
Ralf Becker
28df2d8125 fixed buttons with just an image from html::submit_button() were shown like a button after changing tag from <input type="submit" to <button 2014-02-11 16:52:45 +00:00
Ralf Becker
ea9e2569bc fixed not working multiple account trigger after changing html::submit_button() from <input type="submit" to <button 2014-02-11 16:42:02 +00:00
Ralf Becker
a639b42222 translate calendar/timepicker on demand, works around not working call with ready in popup, fixes javascript error when doubleclick a mail 2014-02-11 15:17:43 +00:00
Ralf Becker
436fe041e0 switching svg images off for everything but application icons in Stylite or Pixelegg template 2014-02-11 14:41:17 +00:00
Ralf Becker
a4c1c5ad72 include addressbook preferences in user.php, as some et2 widgets need this prefs and we dont want to block until they are loaded 2014-02-11 12:48:20 +00:00
Ralf Becker
6d17e87b0a use egw_json_response::call() instead of deprecated script() 2014-02-11 12:16:16 +00:00
Ralf Becker
2574956cdc update from 1.8.006 2014-02-11 09:32:36 +00:00
Klaus Leithoff
1b95f843ec translations from Stefan 2014-02-11 09:21:30 +00:00
Ralf Becker
195c63a9d3 fixed "undefined is not a function" error originating from egw_message, because jQuery not loaded, when egw_message get initialised 2014-02-10 16:10:01 +00:00
Ralf Becker
9bfc082843 fix not opening infolog popup 2014-02-10 11:49:27 +00:00
Ralf Becker
061a1a07f2 fixed popup detection to deal with main EGw window opened with an opener from a different security context, also made is_popup() a global egw method 2014-02-10 11:21:58 +00:00
Ralf Becker
12666f0f53 fiddeling around with re-throwing event caught by global error-handler 2014-02-10 09:18:08 +00:00
Ralf Becker
1f599abaf6 fix exception for not found image / null passed 2014-02-10 09:16:18 +00:00
Ralf Becker
486303cde5 only allow caching, if login succeeds, otherwise we get a cached redirect to login 2014-02-10 09:15:29 +00:00
Ralf Becker
f97f223026 * CalDAV/Calendar: fixed invalid ics file for alarm exactly at the event 2014-02-10 08:53:16 +00:00
Ralf Becker
ca334ad13b moving egw_preferences (handler to call preferenes, acl or categories) from jsapi.js to egw_preferences.js show_preferences() method 2014-02-07 14:04:12 +00:00
Ralf Becker
899c04abb5 using correct bit not just any overload setting 2014-02-07 14:02:48 +00:00
Ralf Becker
d90faa7dcc fixed app-header show in wrong tab, caused by framework object being created AFTER egw 2014-02-07 09:11:30 +00:00
Nathan Gray
444d82d1c7 -Unencode favorite search, firefox leaves encoded spaces
-If adding a favorite with same name as existing favorite, old one is removed from the sidebox.
2014-02-06 17:53:29 +00:00
Ralf Becker
b13a7eefb8 calling egw.message() without or with empty argument clears message, installed click handler to hide message and also check for translation of "error" to determine unspecified type 2014-02-06 17:24:40 +00:00
Ralf Becker
6a8802fc35 move egw_(message|app_header) from jsapi.js to egw_message.js available as egw(window).message(_msg, _type) and make it usable in popups too 2014-02-06 15:42:33 +00:00
Ralf Becker
9df623c4ca lgpl wand icon from David Vignoni - http://www.icon-king.com/ and using a hbox for bottom icon bar 2014-02-06 09:16:58 +00:00
Nathan Gray
1cb3ac1111 Fix groups in add favorite popup:
- missing options for selectbox
 - saving for group wouldn't work
2014-02-06 00:30:03 +00:00
Nathan Gray
2ece0f771f Use ajax flag to load acl into div, not iframe 2014-02-05 22:39:00 +00:00
Nathan Gray
c771f2fc80 Make sure group is there before trying to set its value 2014-02-05 20:53:08 +00:00
Ralf Becker
81e91019eb default style for admin - site configuration 2014-02-05 20:20:51 +00:00
Ralf Becker
8fe24f1e41 some button images for idots too 2014-02-05 17:27:26 +00:00
Ralf Becker
f42c7be3e0 ignore menuOpened as it is always open on idots 2014-02-05 17:27:09 +00:00
Ralf Becker
60adf9ff47 added a div around default admin site configuration and some default styling for it 2014-02-05 17:26:17 +00:00
Ralf Becker
1b9c5d1363 display configuration with et2 like [save] [apply] [cancel] buttons, incl. old eTemplate apps 2014-02-05 16:25:35 +00:00
Ralf Becker
4c2e29f960 more styling of calendar edit 2014-02-05 10:04:13 +00:00
Ralf Becker
84d20661c2 fixed problem reported by Pedro Ribeiro 2014-02-04 13:50:23 +00:00
Ralf Becker
327123a588 preparing to use egroupware with mbstring.func_overload=0 by using mb_(strlen|substr) where necessary and providing an implementation for mb_*, if mbstring is not available 2014-02-03 19:57:50 +00:00
Ralf Becker
332d4e5a42 removed gif images for which we have a png image available, as png is now supported by all browsers 2014-02-03 14:04:39 +00:00
Ralf Becker
b8aa28c055 fixed error if argument was a widget, using jQuery.extend instead not existing clone() 2014-02-03 09:59:30 +00:00
Hadi Nategh
7f222b165d Remove "BLACK DIAMOND SUIT" character from global categories 2014-02-03 09:19:59 +00:00
Nathan Gray
5f4f8f99fd Don't require literal search text to be in results - if server returns it, present it to user 2014-01-29 17:32:32 +00:00
Ralf Becker
48679c3e6c update timepicker to (unnamed) version from Nov. 2013 2014-01-29 13:15:38 +00:00
Ralf Becker
a659b49f51 silently fix skiped minutes or times with just one digit, as parser is quite pedantic ;-) 2014-01-29 13:10:31 +00:00
Ralf Becker
a7724dc6e5 remove Expires header from egw_session::cache_control(true), so have same behavior as session_cache_limiter("private_no_expire") 2014-01-28 15:06:47 +00:00
Ralf Becker
60e3037bf8 * CalDAV/Resources: fixed only first N resources were available in CalDAV (N = common preference how many entries to show) 2014-01-28 14:44:52 +00:00
Ralf Becker
d40025f732 allow to specify app for redirects (for Stylite or Pixelegg template) 2014-01-28 11:00:39 +00:00
Ralf Becker
55df2f5bb3 fix typo causing common::show_date to only work with default $adjust_to_usertime = true 2014-01-28 09:52:19 +00:00
Hadi Nategh
fbccbb87a3 Fix wrong styling in egw_tail log 2014-01-28 08:33:28 +00:00
Ralf Becker
99ce5b41f9 allow to optionally specify app for redirect instead of always using current app 2014-01-27 16:28:39 +00:00
Hadi Nategh
ea20648d39 Remove inline-scripts from egw_tail. Additionally, add a new library to jsapi related to egw_tail 2014-01-27 14:29:24 +00:00
Ralf Becker
8b3b5c84fc fixed can NOT unset last (forced) preference of an app, also fixed not working delete_(user|group) code 2014-01-23 12:33:25 +00:00
Ralf Becker
f0710fbecb fixed et2_dialog static methods like confirm did not show translations: injecting an egw object with loaded translations for current app 2014-01-23 10:52:44 +00:00
Ralf Becker
a788827c1e check if json apply needs a not yet instanciated app.js object and instanciate it in that case 2014-01-23 09:03:30 +00:00
Nathan Gray
e103145a53 Fix JSON to call callback even if server does not return anything in particular. 2014-01-22 09:30:22 +00:00
Ralf Becker
d20ce47a8d allways add "account_lid" to order of accounts, as groups only have that, also at ASC/DESC sort to each order criteria 2014-01-21 17:18:29 +00:00
Ralf Becker
ad04ba821d allways add "account_lid" to order of accounts, as groups only have that, also at ASC/DESC sort to each order criteria 2014-01-21 17:15:08 +00:00
Ralf Becker
58e13743fc make local storage more robust (deal with gaps) 2014-01-21 15:09:06 +00:00
Ralf Becker
93ae56a9f2 catch exception about circular reference in JSON.stringify, try fixing object by unsetting _parent&_children and if that does not work the whole argument 2014-01-21 11:23:26 +00:00
Ralf Becker
cbdfb90e10 move trigger and error-log under same comment 2014-01-21 11:20:11 +00:00
Nathan Gray
95b51fefea Some UI for client error log, log egw.open() calls 2014-01-21 09:21:46 +00:00
Ralf Becker
658b773dc1 fixed an ide warning 2014-01-20 15:25:43 +00:00
Ralf Becker
595d2a23bf first step of a javascript error notifier and clientside log 2014-01-20 15:23:40 +00:00
Nathan Gray
e276a14be1 Make sure to copy registry settings, not use reference
Fixes mail compose always filling address
2014-01-20 09:48:17 +00:00
Ralf Becker
3418b002bf move smbhash class to sambaadmin app, which is only user of it 2014-01-19 10:37:07 +00:00
Ralf Becker
6f5fea84f3 remove not used sessions_db class, was never converted to new egw_sessions 2014-01-19 10:30:23 +00:00
Ralf Becker
f07e51790a removed outdated xmlrpc and soap service, it is off by default since couple of versions 2014-01-19 10:28:06 +00:00
Ralf Becker
6d87d0c1cf remove never used rssparser from API 2014-01-19 10:27:15 +00:00
Ralf Becker
04b6349044 remove not used old fpdf stuff 2014-01-19 10:26:09 +00:00
Ralf Becker
192a0382ef remove not used old fpdf stuff 2014-01-19 10:24:41 +00:00
Ralf Becker
4128514f04 removed outdated xmlrpc and soap service, it is off by default since couple of versions 2014-01-19 10:22:38 +00:00
Ralf Becker
edd07a9729 removed outdated xmlrpc and soap service, it is off by default since couple of versions 2014-01-19 10:19:49 +00:00
Ralf Becker
28673080f1 remove old API interserver class, drop its table and commented out functionality from admin 2014-01-19 09:54:14 +00:00
Ralf Becker
cdd68bd4c0 updated to current used locations 2014-01-19 09:43:03 +00:00
Ralf Becker
9d34d4ae2c remove kses from API docs, it is not used any more 2014-01-19 09:42:35 +00:00
Ralf Becker
156000a5d5 remove not used http class 2014-01-19 09:41:45 +00:00
Ralf Becker
1d7e097ca3 remove not used PclZip class 2014-01-19 09:41:26 +00:00
Ralf Becker
c51337bdb5 removed old db class, which is since many version only extending egw_db class 2014-01-19 09:32:55 +00:00
Ralf Becker
6de6114e22 remove old API browser class, apps only used content_header method with is available as html::browser_header() with identical signature 2014-01-19 09:30:33 +00:00
Ralf Becker
5a8b145b7f fixed caching in a couple of places:
- user.php was not reloaded if (session-)preferences changed eg. language via select-box in login, because we used Expires header, but did not force a different url
- (user|config|images).php now has etag on url, to force reload by browser as we use an Expires header (changed images still need Admin >> clear cache to rebuild image cache)
- preferences are now loaded via a cachable GET request
2014-01-18 17:43:15 +00:00
Klaus Leithoff
8276a2a448 fix for problem with style fragments on triggering mail compose build in html validation 2014-01-18 17:02:29 +00:00
Ralf Becker
496c34614d switch on private (browser only) caching for read mail bodys, plus fix to switch it on after session was started 2014-01-18 14:52:47 +00:00
Nathan Gray
35c70fea93 Changes to action system:
- Change selected to not start at global root - fixes key handler only working for 1 app
 - Add depth limit for finding action / object (depth first search)
 - Use depth limit when looking for top level application action/object to avoid crossing apps
2014-01-18 11:21:53 +00:00
Ralf Becker
7879e7ac2e disabling choosen by default, as we did in et2 2014-01-18 11:08:06 +00:00
Nathan Gray
1933389ae2 Fix some more splitter strange behaviour
- Add ignore zone, undock won't go to a position < 20px from edge. In that case, it undocks to 50%
 - Work around deferred layout (Chrome & Firefox) which caused wrong DOMNode height, which broke nm resizing
2014-01-17 12:43:14 +00:00
Klaus Leithoff
387035f76d new translations from translation.stylite.de 2014-01-17 10:48:19 +00:00
Ralf Becker
bcba09973f pass an id to _add_topmenu_info_item, so templates can use that to generate an id for each div 2014-01-17 09:23:23 +00:00
Ralf Becker
1ed9196066 just calling egw.image to use its special handling for egw_actions and dhtmlxtree 2014-01-16 16:49:26 +00:00
Ralf Becker
f8679b86ba fix permanent reload on idots login screen caused by trying to show (on login page not existing) quick-add selectbox, now not loading idots javascript files at all for login page, as they are not needed 2014-01-16 08:56:23 +00:00
Ralf Becker
6203286a6c wait for all js-files to be included 2014-01-16 08:27:33 +00:00
Ralf Becker
53c6059d84 fix en translation is always used for common, caused by preferences had a stub default preference for common AND egw.includeJS immediatly called callback for a file just sheduled to be loaded, but not yet arrived 2014-01-15 17:39:07 +00:00
Ralf Becker
0cc75cb3e6 need to strip egw-url from css includes, to not included css-files twice 2014-01-15 15:48:22 +00:00
Nathan Gray
47c6c74fbf Never display an empty confirm message 2014-01-15 15:18:23 +00:00
Nathan Gray
e493255cc6 Allow action to confirm only on multiple rows selected, but let single rows proceed 2014-01-15 14:59:42 +00:00
Nathan Gray
6792b9831c Allow popups to set just a message without refreshing before closing 2014-01-15 14:40:42 +00:00
Klaus Leithoff
7d3eaf728c translations provided by stefan 2014-01-15 13:21:42 +00:00
Ralf Becker
699b614ac1 re-adding cache buster to javascript urls, if debug_minify=True 2014-01-14 17:59:33 +00:00
Nathan Gray
16c922c199 Pay attention to user application permissions when going through link registry.
Fixes not available applications registering conflicting mimes with allowed applications.
2014-01-14 17:16:08 +00:00
Ralf Becker
e265874bd7 new method to create object tag for svg and img for all other image types 2014-01-14 16:07:39 +00:00
Nathan Gray
ae491c0810 Enable symlinking VFS files to not yet existing entries 2014-01-14 12:11:13 +00:00
Ralf Becker
57240d4e8a fixed typo causing preferences not to be deleted, when users or groups get deleted 2014-01-14 11:53:53 +00:00
Ralf Becker
3bef4b2a26 * Tracker: dropping unique index(es) on escalations to not limit creating same escalations eg. on different queues
Was previously done by modifying index to contain more columns in update, but not new installations.
Now droping all existing unique indexes completly.
2014-01-14 11:06:31 +00:00
Ralf Becker
b08b507edb fix egw_link::link to accept an array of links as 3. parameter, even if we dont have an $id1 yet 2014-01-13 17:52:19 +00:00
Hadi Nategh
9dcc4cc00a Map mailto url params to right object in mailto magic function 2014-01-13 17:37:46 +00:00
Nathan Gray
71f0fcdda0 Implement refresh type 'update' to _only_ update the data of a row - sorting is not considered, so make sure to use 'edit' if sorting might be affected. 2014-01-13 09:40:23 +00:00
Nathan Gray
8228b9512d Fix type attribute check to work 2014-01-13 08:58:16 +00:00
Ralf Becker
4c105718a8 fixed uncaught exeption "Serialization of Closure is not allowed", when minifying is enabled 2014-01-11 19:32:38 +00:00
Ralf Becker
b62a663285 aligning new logo 2014-01-11 19:16:42 +00:00
Ralf Becker
b281707030 move new EGroupware logo from pixelegg to default 2014-01-11 18:55:24 +00:00
Ralf Becker
8c9034b3e9 using now 3 minified and concatinated javascript file-bundles:
1. api: egw, jquery, old jsapi and egw_json plus its dependences
2. et2: etemplate2.js plus dependencies
3. jdots: files from Stylite or new pixelegg template
all other javascript files are loaded on there own. 
Bundle-configuration is dynamicly created and cached.
EGw configuration allows to disable minifying and concatination of javascript and css files for deverloping purpose
or to just concatinate but not minify them aka "debug".
2014-01-11 18:49:51 +00:00
Ralf Becker
ee378ec6b9 Remove all "use strict" as we have a mixure of strict and non-strict code (mostly externals libs) 2014-01-11 18:39:55 +00:00
Ralf Becker
f49cdf4d85 update minify to version 2.1.7 and reapplying our patches r40512 and r45055 2014-01-11 16:39:17 +00:00
Nathan Gray
881f8d254b Context menu only on keypress, or right-click of something with actions 2014-01-11 15:20:11 +00:00
Nathan Gray
8e69a1e23b Only call request callback once, when the request is finished.
Callback is not called if the response only has 'data' type responses, since data handler calls callback already.
2014-01-11 14:47:31 +00:00
Ralf Becker
942f54b4de remove no longer used wz_dragdrop 2014-01-11 12:59:31 +00:00
Ralf Becker
ab490eadc1 extend egw.includeJS to support concatinated/bundled files included and not include contained files again 2014-01-11 12:10:31 +00:00
Nathan Gray
8140ecf24b Don't try to translate caption if one was not provided - silences warning when dragging 2014-01-11 11:51:46 +00:00
Nathan Gray
d94fc6b492 Fix not called callback 2014-01-11 11:41:05 +00:00
Nathan Gray
31987e9704 Check result type, if it's not 'data' quietly reject - fixes warning in multi-part responses 2014-01-11 11:40:30 +00:00
Ralf Becker
3fe9c78c26 do NOT load egw.js a second time via minifyier 2014-01-10 16:58:50 +00:00
Ralf Becker
e3dc74eef6 enabling minifying of javascript again and added new option to debug concatination by setting debug flag for minify 2014-01-10 16:08:13 +00:00
Nathan Gray
1742d07374 Use egw.debug function instead of console to warn about missing images. 2014-01-10 15:57:02 +00:00
Nathan Gray
15bc1b3909 Wait until DOM is loaded before trying to load etemplate or set message 2014-01-10 09:13:56 +00:00
Ralf Becker
6927f61614 quieten permanent error-log 2014-01-10 09:01:41 +00:00
Ralf Becker
5ec887d70d fixing the fix: using private var to store config 2014-01-10 08:12:59 +00:00
Klaus Leithoff
4cc93e8ead fix for unexpected not defined this.configs 2014-01-10 08:00:45 +00:00
Ralf Becker
400240f1e4 caching translations for 10days and changing translation url, when translations are changing --> saves server-roundtrip for each translation 2014-01-09 15:32:07 +00:00
Ralf Becker
90edb55ec5 add async include and et2 render times to page-generation-times shown 2014-01-09 12:20:13 +00:00
Ralf Becker
0092addd08 ignore SecurityError exception if opener is different security context / cross-origin 2014-01-08 15:19:04 +00:00
Ralf Becker
911e7d2955 ignore SecurityError exception if opener is different security context / cross-origin 2014-01-08 15:14:10 +00:00
Nathan Gray
271d7a869c Turn debug level down to warning 2014-01-08 14:58:41 +00:00
Ralf Becker
faecfb326b * CalDAV/calendar: fixed permanent auth request in iCal, if accountselection is set to "selectbox with groupmembers" and rights granted from group without being a member
expand-property report now ignores the url instead of throwing an exception
2014-01-07 17:32:34 +00:00
Ralf Becker
c5191e3e01 * API/Admin: fixed SQL error on repairing filesystem, if one of required directories has wrong permissions 2014-01-07 09:55:07 +00:00
Ralf Becker
f075452ee3 first try of svg support: prefer svg over other image type for all browsers but IE<9 2014-01-03 18:49:24 +00:00
Ralf Becker
02ce1e20d1 new translations from translation.stylite.de 2013-12-23 20:28:10 +00:00
Nathan Gray
9009ef44bb Pass current app to egw_app_header() so it can set header for correct app. Fixes sometimes wrong app header shown. 2013-12-23 16:13:40 +00:00
Klaus Leithoff
eabf6b2dbd translations provided by stefan becker 2013-12-20 12:09:27 +00:00
Klaus Leithoff
0c818b0928 translations provided by stefan becker 2013-12-20 09:42:37 +00:00
Nathan Gray
7381f103e5 Initialize popup flag with window.opener detection, instead of false. 2013-12-19 17:18:01 +00:00
Nathan Gray
89e1757d9e Avoid errors if no email address was provided 2013-12-19 17:16:33 +00:00
Hadi Nategh
1d14ecc80f Remove "drag-and-drop" and "IE dropdownmenu hack" from the common preferences 2013-12-19 10:19:14 +00:00
Hadi Nategh
185237291f Make sure the et2 is not empty before giving up to not refresh the whole page 2013-12-19 08:46:51 +00:00
Ralf Becker
8ad1e7ed20 get navigation-calendar to use egw_link_handler too, so listview does not reload top window 2013-12-18 05:23:45 +00:00
Nathan Gray
9bb37f5ca0 Add IDs to topmenu items 2013-12-17 20:21:48 +00:00
Nathan Gray
a79f7b87a6 Continue moving most favorite functionality from favorite widget into framework. Favorite widget now uses framework. 2013-12-12 23:45:09 +00:00
Ralf Becker
01adf460f3 silently upgrade old calendar favorites 2013-12-12 22:25:56 +00:00
Nathan Gray
0d3a7b73cf Reorder CSS inclusion so theme can override jQuery-UI
eTemplate2 does it right automatically, but it also needs to be done in framework, because framework included etemplate2.css
2013-12-12 18:03:23 +00:00
Ralf Becker
fef5bb4972 fix error if query parameters contain null 2013-12-12 03:43:17 +00:00
Ralf Becker
2bb7b7565c fix add-favorite method to NOT bubble and giving a CSP warning instead of running 2013-12-12 02:42:08 +00:00
Ralf Becker
2de3cdb780 fix encoding of favorites, so they can eg. contain single quotes 2013-12-12 02:40:31 +00:00
Nathan Gray
e15144c7f9 - Fix name in delete confirm
- Some documentation & cleanup
2013-12-12 00:38:06 +00:00
Nathan Gray
0ecc494cb4 Remove loading class if there is no favorite delete being processed 2013-12-12 00:00:54 +00:00
Nathan Gray
d2e2622b77 Remove reference to sidebox in destructor 2013-12-11 23:54:42 +00:00
Nathan Gray
b9f39dd315 - Use egw.link() instead of string concatenation so it can craft the URL 'properly'
- Load categories in a div instead of an iframe
2013-12-10 22:26:07 +00:00
Nathan Gray
72c3d211be One more fix needed to allow :: inside UIDs 2013-12-09 21:13:59 +00:00
Nathan Gray
443b8ed854 Give some UI feedback if the delete does not work 2013-12-06 23:26:48 +00:00
Nathan Gray
72c37e0849 non-et2 Favorites work in progress
Handle states that are id_data objects for egw.open()
2013-12-06 23:12:05 +00:00
Nathan Gray
d097a0bfa1 non-et2 Favorites work in progress
New states now added to list immediately, can delete states
2013-12-06 21:26:55 +00:00
Nathan Gray
79498c5ae5 non-et2 Favorites work in progress
Can now save & restore state.  Still some UI needed, not fully integrated with et2 favorites.
2013-12-06 18:24:29 +00:00
Klaus Leithoff
3219eccec4 translation work provided by ingo, michael and other stylite staff 2013-12-06 08:05:58 +00:00
Ralf Becker
b2c563e5aa restoring current app/tab, if pressing save or cancel, to do so let server know which is current app and run under that appname (otherwise redirect will happen to currently views app 2013-12-06 00:02:16 +00:00
Nathan Gray
cfefedc8f7 non-et2 Favorites work in progress
Add current link shows popup with state details.
2013-12-05 23:22:54 +00:00
Klaus Leithoff
50279607a6 only try replacement loading of classes, if there is a replacement available; if defaultimap, load emailadmin_oldimap 2013-12-05 09:23:58 +00:00
Ralf Becker
1ee480eaa3 remove configurable image-type preference in favor to hardcoded one always prefering png over gif, also removed all .gif images which have a png counterpart 2013-12-05 02:04:59 +00:00
Nathan Gray
87936488bf Implement getState() & setState() towards a more universal favorites, but still more to do:
- Need to get favorite widget to use setState()
- Move much code out of etemplate2 widgets into a higher level
2013-12-05 00:00:43 +00:00
Ralf Becker
9cba54fb63 calendar state handling via set/getState methods in calendar app.js 2013-12-04 23:28:31 +00:00
Klaus Leithoff
68f2605cf4 translations generated/retrieved on translation site: Thank you for your contributions 2013-12-04 10:31:41 +00:00
Nathan Gray
6f15f0aa4c Make popups 10px bigger 2013-11-29 17:42:20 +00:00
Ralf Becker
4f3f88ae92 fixed not updated sidebox in calendar when using framed template-set, as sidebox is now transported as data attribute, we need to set it in or before header call 2013-11-28 23:18:36 +00:00
Nathan Gray
33b01975b2 Allow :: inside data UIDs 2013-11-28 20:16:33 +00:00
Klaus Leithoff
de1b7207ec * API/CKEditor: update to CKEditor 4.3 (compatibility issues with IE10/11) 2013-11-28 12:53:06 +00:00
Klaus Leithoff
dd5ac9d70f * API/CKEditor: update to CKEditor Version 4.2.3 2013-11-28 09:41:31 +00:00
Nathan Gray
b86173ad16 Fix warning to only come when app JS object is missing 2013-11-27 00:13:56 +00:00
Nathan Gray
0502f9326c Make sure ajax flag is at the end so framework finds it 2013-11-26 22:23:08 +00:00
Hadi Nategh
fca35f8127 Revert r44596 about egw_refresh 'cause need more investigation 2013-11-26 08:48:10 +00:00
Nathan Gray
6985c3d61f Resize popups according to their content 2013-11-21 19:09:17 +00:00
Nathan Gray
fd737f10dc Change queued AJAX to go async 2013-11-20 23:40:26 +00:00
Nathan Gray
e231ca5212 Fix some splitter issues:
- Loaded at wrong size
- Docking lost previous pane size
- Docking overwrote bar location preference
- Allowed etemplate to think load was done too early
2013-11-20 23:27:10 +00:00
Ralf Becker
dbd15105e0 * CalDAV/CardDAV: do NOT use Content-Length header, if zlib.output_compression is enabled, fixes problems with iOS7 eg. eTask app
Content-Length is size AFTER applying transfer encoding which compression is, as compression is done in PHP outside our control, we only set wrong (to big) size
2013-11-20 14:12:47 +00:00
Nathan Gray
089144d986 Avoid adding CSS files again if they're already in the header 2013-11-19 23:22:33 +00:00
Hadi Nategh
74d0797904 Make sure only fall into et2 specific reload for egw_refresh when the etemplate2 object has value 2013-11-19 08:36:08 +00:00
Ralf Becker
c68ae86a18 fixed check for template specific tree-images-directory in html::tree, jdots was using it, without having one 2013-11-18 22:05:04 +00:00
Ralf Becker
2b7d9af0a2 reverting to previous app.css file and remove app.less files, as they are not used by pixelegg template and create some glitches, might re-introduce .less for regular templates later 2013-11-18 19:57:38 +00:00
Ralf Becker
5dc6ae9728 remove inline script from login page: using html5 autofocus, instead of inline focus() and no chosen 2013-11-18 16:40:51 +00:00
Ralf Becker
2a52826ad2 loading jquery.js for login screen too 2013-11-18 16:23:12 +00:00
Ralf Becker
2a4c1c3813 renamed idots orange-ball.png to bullet.png, to use identical name in all templates 2013-11-18 16:12:50 +00:00
Ralf Becker
65b3cee7ab fix ckeditor config to allow string with css unit, also added some docu 2013-11-16 16:08:35 +00:00
Ralf Becker
8e69433829 use template specific images for foldertree, use "template" handler for all calls to template/framework object, NOT instanciating a new one using eg. a parent class 2013-11-15 16:28:24 +00:00
Ralf Becker
82d3ac1d2e fixed not working close of popups after handler change 2013-11-15 13:03:09 +00:00
Ralf Becker
727cdc83b3 newewst pixelegg changed from today 2013-11-14 19:29:55 +00:00
Nathan Gray
a97ca723d3 Allow app.appcode.function(); calls in sidebox in addition to global functions. Needs the (); at the end though. 2013-11-14 16:50:16 +00:00
Ralf Becker
9643d31dd1 loading template/theme and print css last, so they can overwrite anything 2013-11-14 16:23:50 +00:00
Ralf Becker
f51f7f5731 allow to use "default" or "forced" as parameter to preferences::set_account() to load default or forced preferences 2013-11-14 15:33:12 +00:00
Ralf Becker
74dd9f0e02 allow templates packed as apps to replace login screen template by setting it as default template (without setting it in header.inc.php) 2013-11-14 13:52:50 +00:00
Nathan Gray
fb2c103cef Use current app to get around missing etemplate run rights 2013-11-13 23:57:49 +00:00
Nathan Gray
31a42e3110 Use current app to get around missing etemplate run rights 2013-11-13 23:22:44 +00:00
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