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