Klaus Leithoff
9503984a4b
* API: introduce htmLawed by Santosh Patnaik into EGroupware. Its planned to replace htmlPurifier with htmLawed as htmLawed provides better configurability, needs less resources and is a lot faster;
2012-04-12 13:35:28 +00:00
Ralf Becker
d85cffb5e8
fixed since r38811 not working restore of backups
2012-04-12 13:25:27 +00:00
Ralf Becker
15c9fd0d32
* CalDAV/CardDAV: log failed requests with ### like exceptions to ease diagnose problems, log if clients requests accounts not visible because of account-selection preference, skip proxys if not visible
2012-04-12 10:44:00 +00:00
Ralf Becker
18d74430ea
* Backup/Addressbook: adding limited index-length to backed up schema and fix restore of old backups without (default to 32 on multicolumn indexes including text columns)
2012-04-12 08:04:35 +00:00
Ralf Becker
5e66d1a2ce
docu update: added accounts-addressbooks accessible via CardDAV
2012-04-11 20:33:24 +00:00
Ralf Becker
7b393d6ab9
disable encoding as entities, as it is unnecessary in EGroupware, because we are using utf-8 everywhere
2012-04-11 14:57:00 +00:00
Ralf Becker
18e2ba28fc
* most apps: fixed rich-text editor to allow to enter < and > eg. html markup in regular input mode (not source)
2012-04-11 14:52:08 +00:00
Ralf Becker
bcb9b2f5c9
fixing the fix: api version is not yet read, therefore use modifiction time of phpgwapi/inc/setup.inc.php instead
2012-04-10 07:53:08 +00:00
Ralf Becker
7e2fd95d9e
* CalDAV/CardDAV: add API version to pseudo session-id used to invalidate all sessions from the previous version (which eg. give database errors, because using old schema)
2012-04-07 06:53:38 +00:00
Nathan Gray
22cb0667eb
Handle Firefox vs Chrome File API
2012-04-05 22:31:01 +00:00
Ralf Becker
dd410d49fb
fixed javascript error stalling everything: et2_csvSplit is not yet defined, thought I dont understand why this is needed here anyway: using _name.split("/",2)
2012-04-05 07:38:07 +00:00
Ralf Becker
407570090d
store already read table-defintions no longer in session (in ['egw_info']['apps'][]['table_defs']) but in a static variable only within the request:
...
--> keeps session smaller
--> php file with table-defintion get stored by accelerator anyway, so nothing to gain
--> if schema get's updated long running sessions like CalDAV not getting fatal errors
2012-04-05 07:05:22 +00:00
Nathan Gray
df2ba7ddd6
Get images named like appname/imagename working again for images outside current app
2012-04-04 19:37:17 +00:00
Nathan Gray
08cb4581ee
egw_open wants the whole registry
2012-04-04 19:17:07 +00:00
Nathan Gray
6e103c4c1b
Get images named like appname/imagename working again
2012-04-04 19:16:19 +00:00
Ralf Becker
3e4ef81080
load wz_tooltips only if required: $GLOBALS[egw_info][flags][include_wz_tooltip] set or html::tooltip() called before calling common::egw_header(), calling header again as end of home page to allow apps to load stuff into the header (not only wz_tooltip)
2012-04-04 13:05:58 +00:00
Ralf Becker
82e4093f1c
* ProjectManager: fixed not working editing of projectelement via context-menu (also check registed sub-types of apps user has access to)
2012-04-03 13:30:44 +00:00
Ralf Becker
504d405fae
update from 1.8.004
2012-03-31 14:18:14 +00:00
Ralf Becker
a3ada52adf
* Admin/ImportExport: fixed import of already hashed passwords
2012-03-29 18:33:33 +00:00
Andreas Stöckel
cfa9c190bb
Implemented keyboard navigation and data retrival for uids
2012-03-29 14:11:22 +00:00
Nathan Gray
bc25b917d4
Fix namespace events - it's event.namespace
2012-03-28 21:01:51 +00:00
Andreas Stöckel
0ae151e638
Got selection working; only problem left with popup menus is, that entries don't get focused on rightclick
2012-03-28 15:36:17 +00:00
Ralf Becker
b55250b81a
encoding and decoding of vfs special characters
2012-03-28 13:58:18 +00:00
Ralf Becker
2f62d7e3b5
allow to set target in mime-registry: need target _self (instead default _blank) for directories opened in filemanager
2012-03-28 13:01:37 +00:00
Ralf Becker
2630a39651
moved egw_links.js window contect specific parts to egw_open.js: egw().open() and egw().open_link() renamed from egw().call_link()
2012-03-28 12:37:03 +00:00
Ralf Becker
fbdb8f3c55
mime_icon method for vfs-mime widget
2012-03-28 08:10:57 +00:00
Ralf Becker
629b9bb393
* CalDAV/CardDAV: fixed typo preventing sync, if logging to Apache error-log was switched on
2012-03-28 07:03:40 +00:00
Andreas Stöckel
3a23d4bb21
Fixed bug with Ctrl-Key no longer working
2012-03-27 13:44:38 +00:00
Ralf Becker
b747f99fc6
removed menuaction check completly, as only missuse was setting currentapp from it, which get now checked
...
improved _check_script_tag and added a lot of tests, thought not all tests really apply here, so low count of ~50% are not as bad
2012-03-27 08:29:52 +00:00
Nathan Gray
257f823773
Fix handling of file url for vfs
2012-03-26 23:27:09 +00:00
Nathan Gray
3aa8e64f73
Give a warning & return if you try to translate an object
2012-03-26 23:24:56 +00:00
Andreas Stöckel
34a43e8869
Various bug fixes in the grid, implemented prefetching, workaround for performance issues regarding update, removed _lastModification
2012-03-26 15:28:02 +00:00
Ralf Becker
a6fe9b04bc
fix to get menuaction proxys (eg. used when creating a link) working again
2012-03-26 11:12:41 +00:00
Ralf Becker
a4727231c5
allow dash in app-name like in "sitemgr-site"
2012-03-26 08:05:11 +00:00
Ralf Becker
650da27fac
Upps, forgot argument
2012-03-26 07:23:52 +00:00
Ralf Becker
ef9734c402
propper encoding of exception messages, checking of $_GET[menuaction] and $GLOBALS[egw_info][flags][currentapp]
2012-03-26 07:18:00 +00:00
Andreas Stöckel
7f57f28f38
Deactivated last commit (slow because pending requests are ignored), lastModification is now set per app in the model
2012-03-23 16:38:08 +00:00
Andreas Stöckel
c525cadcdb
Reverted accidently made commit for class.egw_framework.inc.php
2012-03-23 13:43:20 +00:00
Andreas Stöckel
eadeb57f28
Fixed problem with registered data callbacks, when the window the callback belongs to is closed
2012-03-23 13:39:27 +00:00
Andreas Stöckel
b134b36678
fixed some issues with egw_data, improved egw_json exception handling
2012-03-23 12:45:13 +00:00
Andreas Stöckel
23f221456f
Fixed problem with IE, adapted egw_data.js to specification changes
2012-03-23 12:06:52 +00:00
Ralf Becker
8bd0e2865d
keeping only info about the connected ldap server, fixes problems with changed ldap host after fallback to other server
2012-03-23 11:26:58 +00:00
Ralf Becker
d3cd7ea65b
only transfer link-registry for apps user has access too, otherwise mime-registry would open eg. iCal files in calender, even if user has no calendar access
2012-03-22 12:59:34 +00:00
Ralf Becker
d8c9a194da
only return mime-information of apps the user has access to
2012-03-22 12:43:47 +00:00
Ralf Becker
2e8d60d5a0
reorganized egw.link methods to call each other (and not dublicate code), using mime-registry to open files, todo: special download url of eg. filesystem stream wrapper
2012-03-21 16:02:50 +00:00
Ralf Becker
b5adc21ff6
register filemanager as handler for directory mime-type "httpd/unix-directory" (register hooks!)
2012-03-21 10:28:48 +00:00
Ralf Becker
f62b4784a0
* API: fix account-selection-method "selectbox" containing selected account double (eg. in Admin >> Manage groups)
2012-03-21 09:24:04 +00:00
Klaus Leithoff
4a261802e4
giving selected bg-coloring precedence over other bg-color classes using important
2012-03-21 09:11:46 +00:00
Klaus Leithoff
3abeb7c464
add onbeforeunload as action
2012-03-21 08:25:17 +00:00
Ralf Becker
61474e73c4
* LDAP: if multiple hosts given, try them all for first working one and store choice in session to start new trial only if working one fails
2012-03-21 07:55:51 +00:00
Ralf Becker
200cad46a8
remove not necessary mime_(type|size|name)
2012-03-20 16:01:00 +00:00
Ralf Becker
514375e2b6
knowUids instead of knowRanges, widgetId and some docu changes
2012-03-20 12:37:45 +00:00
Andreas Stöckel
a45f2d5c69
Commited egw_data.js
2012-03-20 12:05:31 +00:00
Ralf Becker
986c733c33
* InfoLog: icons to visualise entry has a parent or subs, using these icons (arrow left or up) in context-menu too
2012-03-20 11:21:53 +00:00
Ralf Becker
cd2cc35b73
* InfoLog: icons to visualise entry has a parent or subs, using these icons (arrow left or up) in context-menu too
2012-03-20 11:18:33 +00:00
Ralf Becker
0f838df1b9
switch zlib.output_compression off, as we cant calculate Content-Length header, if its on, doing our own Content-Encoding: gzip now (wont be necessary for Apache2.2 which fixes false Content-Length headers silently, but eg. Lighttpd cuts off content, if wrong Content-Length header specified
...
using md5 of real content for instance specific translations, cant use lang_ctimes for them
2012-03-19 08:35:47 +00:00
Ralf Becker
96796f5edb
if not category specified to invalidate_cache() call init_cache(), to fix problem of categories deleted via context menu are not deleted from list (only in next, but not in current refresh)
2012-03-17 10:54:36 +00:00
Klaus Leithoff
988373b6c4
fix bug regarding the positioning of the drag n drop context menu popup
2012-03-16 12:30:52 +00:00
Klaus Leithoff
5954d668d0
* translations: Italian translation improvements for admin and API; provided by Ilias Chasapakis, Webtrain Services
2012-03-16 11:43:03 +00:00
Ralf Becker
b28a0ced08
check and reset cookie configuration, if it does not match current enviroment
2012-03-15 12:55:59 +00:00
Ralf Becker
f74b8264a2
propset svn:keywords Id
2012-03-15 08:38:01 +00:00
Ralf Becker
7d4b32f5af
deprecating common::show_date($time,$format,$adjust_for_usertime=true) in favor of new egw_time::to($time,$format) or egw_time::server2user($time,$format), also using that two now for common::show_date()
2012-03-14 15:37:25 +00:00
Ralf Becker
a1ffcd08e4
* Admin/Addressbook: fixed wrong timezone in created and modified times for contacts and accounts
...
- fixed typo / wrong direction of conversation when storing contacts
- fixed accounts_sql, which uses addressbook_bo::search() to convert created and modified timestamps to servertime as
- (documented that) accounts class (SQL and LDAP) operate completly in server-time
2012-03-14 15:22:51 +00:00
Ralf Becker
94f1c840d0
add custom translations
2012-03-14 12:11:19 +00:00
Andreas Stöckel
3ecb7a4eec
Added 'langRequire' function which allows to load translations during runtime
2012-03-13 16:05:52 +00:00
Nathan Gray
1d74169848
Add time picker popup
2012-03-12 21:20:46 +00:00
Nathan Gray
da10c03762
Use window's jQuery to make it work
2012-03-12 17:26:33 +00:00
Andreas Stöckel
dc017ed889
Now again using a local etemplate2 instance on the client
2012-03-12 12:05:14 +00:00
Andreas Stöckel
36314a077e
Fixed bug with etemplate2 not working properly especially in idots: JS files only get included if they really have not already been included; egw object gets included before 'lang' in idots
2012-03-12 09:20:24 +00:00
Nathan Gray
f512d1efae
Move calendar icon inside input box
2012-03-09 18:46:29 +00:00
Andreas Stöckel
d486e50a57
phpgwapi:
...
* Changed way of how "webserverUrl" gets set - any type of data can now be
injected into the egw object by creating an object with the data and an
entry "prefsOnly" set to true. This allows to ensure, that "webserverUrl"
is the first thing that is being set in the egw object (as needed when
including new JS/CSS files at runtime)
jsapi:
* Fixed including JS/CSS files at runtime in other windows than the root
window
* Added "ready" function/module, which provides an alternative to the
$j("ready") function. The ready module provides the functionality to
postpone calling the "ready" until certain events happened.
* using jQuery calendar object instead of jscalendar in the calendar
function.
* added "jquery" module which takes care of including all jQuery modules
in all windows
* added possibility for modules to update constants using the "constant"
function.
* added possibility for modules to access certain other modules using
the "module" function
etemplate:
* Using new egw(window).ready function to build the template first if
loading has finished.
2012-03-09 15:32:29 +00:00
Andreas Stöckel
735b24fe9c
Always include egw.js, as determining whether the current window is a popup or not does not work properly when not running an etemplate2 application
2012-03-09 09:29:05 +00:00
Ralf Becker
f467572bd4
using mime-registry for link-widget "link-list" and "link-string" too
2012-03-09 07:39:36 +00:00
Ralf Becker
dd8a5cf29e
* Filemanager/FMail/Calendar: allow to open .eml and .ics files from filemanager in fmail or calendar (infrastructure for apps to register which mime-types they can open)
2012-03-08 18:43:40 +00:00
Andreas Stöckel
df06f6657c
Now always including egw and etemplate2 javascript code if we are in the top window
2012-03-08 14:05:00 +00:00
Andreas Stöckel
60a2fd9855
Added calendar module for the client side api, roughly working, needs some further work (currently not shown as popup but at the bottom of the page, months etc. are displayed as 'undefined', year number is screwed up)
2012-03-08 11:29:46 +00:00
Ralf Becker
ea079a6803
fixing wiki rate code / mixed case column names for PostgreSQL
2012-03-08 06:20:21 +00:00
Ralf Becker
ebe229e885
always quote for postgreSQL, as this is the only way to support mixed case names
2012-03-07 21:33:59 +00:00
Andreas Stöckel
292f18bc1a
Window dependant api modules do now get reinstanciated, if the window location changes
2012-03-07 15:20:04 +00:00
Andreas Stöckel
c8bf9ed6ef
Fixed design problem in egw_core, which caused window-local modules to be instanciated multiple times if used for multiple applications inside a window. Added egw_css.js as replacement for et2_core_stylesheet.js, which allows to add stylesheet rules at runtime
2012-03-07 14:04:25 +00:00
Ralf Becker
000b74bded
framework->isTop($consider_navbar_not_yet_called_as_true=true): true if we are rendering the top-level EGroupware window
2012-03-07 08:45:57 +00:00
Andreas Stöckel
d996537c35
Improved error message for exception in JSON plugins
2012-03-06 15:25:27 +00:00
Andreas Stöckel
049cbd88dc
Now using the etemplate code from the root instance (etemplate2.js acts as a egw api plugin); fixed egw.json plugins; fixed problem with 'instanceof Object', which does not work when sharing code over multiple windows
2012-03-06 13:22:01 +00:00
Ralf Becker
261f807c46
fixed download of log, in case output buffering could not be switched off (got into endless loop)
2012-03-06 13:06:35 +00:00
Ralf Becker
4a88a9558c
egw_json plugin "html" replacing document content with send html
2012-03-06 09:50:43 +00:00
Andreas Stöckel
130dc87e83
Concatenated dhtmlxmenu.js and dhtmlxmenu_ext.js to one file, to stop the message 'dhtmlxmenu_ext.js required'
2012-03-06 09:35:54 +00:00
Ralf Becker
1fef159630
send direct output of json / etemplate callback back to client via addGeneric('output',...) or alert, in case there's already some JSON response, make sure content-type header is only send once
2012-03-06 07:32:51 +00:00
Andreas Stöckel
5f3b572cc9
Changed hash function for egw api instances
2012-03-05 16:05:48 +00:00
Andreas Stöckel
1bc16c1b8e
Finished egw json api
2012-03-05 15:02:00 +00:00
Andreas Stöckel
d310b14ecf
Client side API now supports modules which are instanciated per application or per window; removed et2_debug function from et2_core_common, now using corresponding API function.
2012-03-05 13:07:38 +00:00
Ralf Becker
f676a23821
fixes for PHP 5.4 warnings and strict warnings, thought disabled E_STRICT for now, because of various strict warnings in working code, which could not be easy fixed in all areas (see comment in phpgwapi/inc/functions.inc.php)
2012-03-04 13:33:10 +00:00
Ralf Becker
bd273c1b45
fixed typo in setting date- and time-format in egw_time::check_set_tz_offset(), causing eg. importexport to fail, if async job before had no account or account had different format
2012-03-02 09:53:41 +00:00
Andreas Stöckel
04db17f9e5
Fixed hypothetical problem with certain entries not being updated properly on app instances of egw
2012-03-02 09:02:36 +00:00
Ralf Becker
1c386e2d6b
new method preferences->default_prefs($app=null,$name=null) to access default prefs, taking into account forced preferences
2012-03-01 18:03:13 +00:00
Andreas Stöckel
3fdf5fdfd0
Removed unneeded egw_app.js
2012-03-01 16:25:32 +00:00
Andreas Stöckel
1876a5faa1
Splitted the egw object into multiple files, added system for allowing a application specific client-side api (use 'egw' as a function)
2012-03-01 16:24:29 +00:00
Ralf Becker
b2a6e59b09
allow to specify a port with tls too: "tls://host[:port]/" or "ldaps://host[:port]/" or "ldap://host[:port]/" or just "host"
2012-03-01 13:08:58 +00:00
Andreas Stöckel
90379afe16
Updated jQuery to version 1.7.1
2012-03-01 12:43:06 +00:00
Ralf Becker
2175421d42
added "custom" (custom instance-specific translations) to apps which have to use home as app-name, also moved sanitrary checks before header-include
2012-03-01 09:30:49 +00:00
Ralf Becker
706fd46d5a
add own agent for dmfs.org, to not recognice it as dataaccessd/iOS
2012-02-29 16:24:49 +00:00