Commit Graph

18537 Commits

Author SHA1 Message Date
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
Ralf Becker
4b83719907 fixed "Save as" / forced download for known mime-types 2012-03-09 12:39:39 +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
cbc87ce197 * InfoLog CSV import: do not notify a 2nd time when primary link get set (UI does not do it either)
fixed wired formatting of 8 space instead of tab and removed xmlrpc like call by introducing new parameter value 2=only update modifier
2012-03-09 09:22:15 +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
Nathan Gray
c3fd6f685f Don't hard-code preferences 2012-03-09 00:44:28 +00:00
Nathan Gray
73817441cf jQuery-UI datepicker as date selection popup 2012-03-09 00:36:35 +00:00
Nathan Gray
8cd853fa36 Bring external test a little more up to date, at least so it sort of works 2012-03-09 00:35:24 +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
Nathan Gray
96271ea210 Change image buttons from using a child image widget to using the img node as the button's DOM node 2012-03-08 17:10:26 +00:00
Nathan Gray
2df89f73ab Remove redundant code - api handles this 2012-03-08 16:57:23 +00:00
Nathan Gray
e1f8411253 Add tree to list 2012-03-08 16:55:12 +00:00
Ralf Becker
1b345bbf36 * InfoLog/CalDAV: fixed wrong timezone used for iCal generation
times where read in server-time, but infolog_ical was told it is user-time, now set to server-time in infolog_groupdav::get_handler()
2012-03-08 16:23:43 +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
Nathan Gray
c09d09a8c1 Fix some problems with dates set with string values - they were parsed as UTC, but server sends user times 2012-03-08 00:20:04 +00:00
Nathan Gray
0effc3a229 Tree now looks like it works 2012-03-07 23:17:49 +00:00
Nathan Gray
9a0948f6fb More detailed error messages 2012-03-07 22:55:02 +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
c0db2e36a9 Fixed a lot of problems regarding centralized JavaScript code; et2_dataview_view_resizeable is current WIP; now building etemplate2 DOM-Tree to a DocumentFragment first, which brings a significant performance gain 2012-03-07 15:33:21 +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
e03b8471e9 * Admin/Addressbook: do NOT mark accounts as deleted, as accounts do NOT know that state, always deleted them and allow to cleanup already marked as deleted accounts in addressbook 2012-03-07 12:05:02 +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
Nathan Gray
548ac686d8 Work in progress on tree 2012-03-07 00:30:47 +00:00
Klaus Leithoff
8b20b2d314 * translations: Italian translation improvements for email, emailadmin and calendar (minor canges); provided by Ilias Chasapakis, Webtrain Services 2012-03-06 16:56:25 +00:00
Andreas Stöckel
69c7697e61 Fixed problem with infolog-image 'not-started' not found in grid; causes new problem with some buttons being displayed twice (caused by this.image=null in et2_widget_button.js::180) 2012-03-06 16:29:18 +00:00
Klaus Leithoff
cbcefbeb1f change add - submit button to button. (has no autofocus) 2012-03-06 16:06:57 +00:00
Andreas Stöckel
e4ed4399cf Attempt of fixing legacy JavaScript functions, only tested for simple cases 2012-03-06 15:26:11 +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
328623bc9c dont switch on output buffering for log-tailer 2012-03-06 13:16:33 +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
Nathan Gray
68d8b02525 Remove accidentally committed debug 2012-03-05 21:43:03 +00:00
Nathan Gray
ac01014a14 Translate select box options (including empty selection text) using proper egw object 2012-03-05 21:40:44 +00:00
Nathan Gray
731b8cf460 Translate selectbox options 2012-03-05 21:07:02 +00:00
Nathan Gray
3bac2f8cd3 Add integer type, alias of int tag 2012-03-05 16:53:52 +00:00
Andreas Stöckel
5f3b572cc9 Changed hash function for egw api instances 2012-03-05 16:05:48 +00:00
Andreas Stöckel
65ca8b0c1b Using new egw json api for sending submits 2012-03-05 15:02:32 +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
Klaus Leithoff
a5be6a5016 * timesheet: fixed wrong sum for timesheets;
the retrieval of the summary (sum of duration and sum of price) has to take care that the customfield table is not joined, as the join causes a multiplication of the sum per customfield found; joining of the cutomfield table is triggered by criteria being set with either a string or an array, for this reason we set it to false, and pass the criteria as filter
2012-03-05 12:06:17 +00:00
Ralf Becker
40c87abcb9 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 14:01:13 +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
Nathan Gray
bade774bfa Fix visible   in all selectboxes - prevent double encoding 2012-03-02 22:02:26 +00:00
Nathan Gray
119aa1c121 Fix visible   in sub-category names 2012-03-02 19:38:31 +00:00