Commit Graph

1275 Commits

Author SHA1 Message Date
Ralf Becker
0a4c2614a5 - moved user timezone list to egw_time
- added standard widget to select timezones
- modified egw_time::server2user and ::user2server to return NULL, if
  time can not be parsed, not throwing an exception (as this are legacy
  function meant to easy convert existing code, eg. replace strtotime())
2009-11-01 12:48:25 +00:00
Ralf Becker
d8ce440e33 fixed not encoded column-headers in csv export (were not useing the
export charset, as used for data)
2009-10-27 14:49:23 +00:00
Ralf Becker
a00b86c0df "making send_notification public, as it's used by infolog" 2009-10-24 09:07:33 +00:00
Ralf Becker
b1e7fddde7 "making bo_tracking::datetime public again, as it's used outside of the class" 2009-10-23 09:47:15 +00:00
Ralf Becker
b74cf30404 "using a vbox (instead just a box) widget, to separate files in individual lines for readonly display too" 2009-10-22 14:02:19 +00:00
Ralf Becker
dbcf17972e "make 1:N relations more tolerant for none existing rows, gave a fatal error" 2009-10-19 12:24:34 +00:00
Ralf Becker
29040ae9f8 Allow extensions to mark themself as noReadonlysALL, to not set
readonly, if $readonlys['__ALL__'] is set:
required for tab-widget, to be able to disable single tabs, if whole
dialog is set to readonly (view-mode)
2009-10-15 08:48:47 +00:00
Ralf Becker
ccdb259f5f setting readonlys to array, if its not that type 2009-10-14 19:06:54 +00:00
Ralf Becker
12c7f02be3 "fixed only first row got loged, as array_diff keys the index --> renumbering with array_values" 2009-10-14 19:01:36 +00:00
Ralf Becker
11d0e8caec "allow to specify an addtional option for each widget in a 1:N relation" 2009-10-14 19:00:16 +00:00
Ralf Becker
17bd96df7d "ability for table plugins: they allow to repeat a table-row of an 1:N relation
It can eg. be used to list infologs under a sheet with contact information"
2009-10-14 08:12:11 +00:00
Ralf Becker
b97b485700 "need to also empty $name, to fully supress buttons in a box" 2009-10-13 12:09:54 +00:00
Ralf Becker
7ad5e22305 "disabling permanent logging of get_rows calls" 2009-10-12 09:08:11 +00:00
Ralf Becker
7813b84458 "reworked nextmatch widget to be able to call it's csv-export from applications (to not implement it again):
Example: nextmatch_widget::csv_export(array('get_rows' => 'myapp.myclass.mymethod'));"
2009-10-11 12:37:48 +00:00
Ralf Becker
4e21b766b9 - reworked old browser class to use have only static methods
--> recogniced it's so old and dusty, it does not make sense any more
--> moved content_header() method to html class
- fixed calls of browser->content_header to use html::content_header
  instead
2009-10-11 11:37:46 +00:00
Ralf Becker
30a8168747 "only open office archives need to be repaired by \"zip -F\" (because a bug in php<5.3.1),
ms word files brake, when \"zip -F\" is run on them
GRRRRRRRRRRRR"
2009-10-09 14:39:55 +00:00
Ralf Becker
141519d4e6 "open office and ms office xml based formats always use utf-8 encoding (dont use export charset for them)" 2009-10-09 11:22:23 +00:00
Ralf Becker
200a6d61d5 Reworked so_sql class to:
- use new egw_time::server2user() and egw_time::user2server() to do
  timezone conversation of registered timestamps
- added $timestamp_type parameter to constructor, to automatic convert
  all timestamps on read (or search) to given type, default NULL leaves
  them unchanged --> will allow in future to work completly with
  egw_time objects
2009-10-08 16:18:28 +00:00
Ralf Becker
fe3ec75610 zip'ed xml document (eg. OO) --> need to encode &,<,> to not mess up xml 2009-10-07 17:46:09 +00:00
Ralf Becker
b5673ab38a "fixed not working delete of filename to upload, after user declined to overwrite the file
(broken since r27247: fixing a problem reported for chrome and safari regarding the multiple upload of files in filemanager)"
2009-10-05 12:34:47 +00:00
Ralf Becker
adf5ca040e "dump4setup: searching by app.% instead of app% now" 2009-10-03 06:17:05 +00:00
Stefan Becker
e1c1f54cd6 added new tags for emty lines also for open office 2009-10-01 19:37:16 +00:00
Ralf Becker
a81fb02efe "\"needed\" attribute got lost for \"select-account\" widget" 2009-10-01 14:08:15 +00:00
Nathan Gray
978a1d9642 Make sure if options-selectcols is set by caller, we don't clear it 2009-09-30 15:04:49 +00:00
Ralf Becker
db8599726e "fixed partial content lost on validation errors" 2009-09-30 07:29:14 +00:00
Nathan Gray
9b29f45a0f Remove return true; it was from the previous way I tried. 2009-09-29 14:22:10 +00:00
Ralf Becker
22083c7780 "only export highest version (we sort by version DESC!)" 2009-09-29 12:35:58 +00:00
Ralf Becker
ba213a6946 "export now correctly included multiple levels of included templates using relative names" 2009-09-29 12:19:54 +00:00
Klaus Leithoff
638ec3fcd0 return false for _post_process_cf_header as the return of always true in rows context, breaks functionality with infolog close, closeall and delete called from listview 2009-09-29 12:04:27 +00:00
Stefan Becker
0c7521cecf added a 7th paramter to use in sitemgr modules 2009-09-28 19:14:45 +00:00
Ralf Becker
d6aaaf1f73 some widgets have label as second option (column name with _ as first),
not a perfect detection ...
2009-09-28 12:52:50 +00:00
Ralf Becker
90cba9cb0e added select-bool widget with options 0 => 'no',1 => 'yes'
--> can be used with nextmatch custom filter to filter by a boolean
column
2009-09-28 12:51:18 +00:00
Ralf Becker
a47dab03a4 "added $extra_cols parameter of so_sql (parent class)" 2009-09-28 12:44:44 +00:00
Ralf Becker
a4d167ef8c "fix to allow array with id's for autoinc_id" 2009-09-26 11:00:11 +00:00
Nathan Gray
c619a5d1ec Clear filter button no longer needed, link-entry handles it 2009-09-25 14:17:41 +00:00
Ralf Becker
a11a04b78d Enhanced nextmatch and link-widget to be able to use a link-entry
widget as a custom nextmatch header
Allows eg. in InfoLog to search and then filter by any linked entry of an other application:
- Infologs linked to a project or
- Infologs linked to a contact
2009-09-25 07:59:34 +00:00
Nathan Gray
dae19a0bfa Remove ID column from default result template, it doesn't add anything useful. 2009-09-23 15:47:04 +00:00
Nathan Gray
780bfee1ec Add ability for nextmatch-customfields header to filter custom fields that are links to another application 2009-09-23 15:27:33 +00:00
Stefan Becker
08d4daad55 added new Tags for merge 2009-09-23 13:00:59 +00:00
Nathan Gray
84e61f3d92 Changes from John Trudel to allow the ajax select widget to return additional information about a selected item. Additional fields are semicolon separated and added after the primary key in the ID Field 2009-09-21 18:34:14 +00:00
Ralf Becker
8db94f2471 "fix csv export to correctly export multiple categories (semicolon separated)" 2009-09-18 14:09:11 +00:00
Ralf Becker
35396fb309 "fix to simplify implementation of view dialogs:
$readonlys['__ALL__'] = true;
$readonlys['button[cancel]'] = false;
--> makes all widgets readonly, but the ones explicitly set to false"
2009-09-16 10:42:45 +00:00
Ralf Becker
ad5d2c3941 docu update and fixed so_sql_cf::delete($keys,true) to always return array 2009-09-16 10:20:34 +00:00
Stefan Becker
e88e7fab4b added serial letters for docx files 2009-09-13 12:06:40 +00:00
Christian Binder
9259494a02 just a small fix for the debug output 2009-09-12 09:09:28 +00:00
Nathan Gray
c8f411bd4c Make etemplate able to handle multiple calls to egw::lang() in the same line 2009-09-11 20:13:06 +00:00
Nathan Gray
52a96767cf Add missing files for captcha widget from Randy 2009-09-10 15:23:01 +00:00
Ralf Becker
4e2f35d4dc added support for ms excel 2007 2009-09-01 14:41:48 +00:00
Ralf Becker
4a2d859391 implemented OO spreadsheet support 2009-09-01 10:25:36 +00:00
Klaus Leithoff
d7c2041872 making do_notification public again, as it is used for addressbook_contactform 2009-08-28 11:16:57 +00:00