Commit Graph

12599 Commits

Author SHA1 Message Date
Ralf Becker
b195b3cb8d - throwing an egw_exception_db_not_unique, if saving an remote location, violates a unique constrain
- fixed wired error in setup-cli.php, caused by the automatic setup of the static accounts object, in the setup enviroment
2007-12-20 02:47:37 +00:00
Ralf Becker
56d644d921 new egw_exception_db_not_unique, to be used when a unique constraing got violated, eg while saving a row 2007-12-20 02:42:29 +00:00
Patrick Bihan-Faou
95eeded398 Make the detection of the device types a little smarter and able to use
out-of-band data such as the HTTP user agent.

Use that to determine weither message fragmentation should be used or not.

Indicate that Funambol 6+ supports fragmentation (this solves cases where
big addressbooks cannot be syncrhonized because there are too many entries).
2007-12-19 07:45:36 +00:00
Ralf Becker
365d4cdafa adapted the debian patch to the removed tab in phpgwapi/inc/functions.inc.php 2007-12-19 06:40:40 +00:00
Ralf Becker
d74bd8e3aa reworked the access for showheader comand a bit 2007-12-18 23:13:59 +00:00
Ralf Becker
e195efadeb moved access checks into the class with a default implementation, so commands can override it, to be eg. anonymous or under other restrictions available 2007-12-18 23:11:53 +00:00
Christian Binder
40a68b6cfd little re-design of notifications: cleaned up relation between main class and backends. main class is responsible for notification routing. backends are responsible for sending one message to one user. relocated ajax functions to a separate file. 2007-12-18 15:53:38 +00:00
José Luis Gordo Romero
e0217cfabd 1. Enabling custom fckeditor config file (settings that can not be configured by the php object) and modified connector path
2. Enabling compatibility (ofically supported by fckeditor) to safari and opera
2007-12-17 18:00:48 +00:00
José Luis Gordo Romero
181085c4a7 Adding Fckeditor 2.5 to trunk 2007-12-17 17:58:19 +00:00
José Luis Gordo Romero
0bbb81840d Deleting fckeditor in order to import 2.5 adapted 2007-12-17 17:50:14 +00:00
Ralf Becker
18790b1362 ability to specifiy a suffix for select-numbers, to eg. add "h" to the label of each option 2007-12-16 23:13:32 +00:00
Oscar Manuel Gómez Senovilla
25bcc36a02 tracker #1364 2007-12-15 23:15:05 +00:00
Oscar Manuel Gómez Senovilla
de08a06de2 tracker #1363 2007-12-15 16:25:38 +00:00
Ralf Becker
44ebdd457a fixed warning, if session dir is not listable 2007-12-15 16:19:38 +00:00
Ralf Becker
9eb50fff4a fixed bug reported on the users list: if admin forced or set a default of 'personal' for the default addressbook where new accounts should be created, it prevents eg. syncml to create the contact, as it's the admins personal addressbook, to whom no user user has access, thanks to pgoerzen-at-hustlerturf.com 2007-12-14 23:20:18 +00:00
Christian Binder
b319e27c68 added additional XSS prevention in winpopup notification. Thx to Aleksander Adamowsky 2007-12-14 13:52:28 +00:00
Klaus Leithoff
a853569034 added the optional customfield column for infolog.index.rows and infolog.index.rows-noheader using the customfield header subwidget for displaying
the header
2007-12-14 13:16:38 +00:00
Klaus Leithoff
8d7d08b82d added the option to display customfields in the infolog main view.
after selecting customfields with the columnselector, you can choose which customfields you want to display
in the customfields column with the columnselector. The header supports sorting and selecting.                
Controling of the displayed customfields is done in uiinfolog, the action takes place in soinfolog
2007-12-14 13:11:51 +00:00
Klaus Leithoff
79e9038ec0 added the option to display customfields in the infolog main view.
after selecting customfields with the columnselector, you can choose which customfields you want to display
in the customfields column with the columnselector. The header supports sorting and selecting.
Controling of the displayed customfields is done in uiinfolog, the action takes place in soinfolog
2007-12-14 13:11:29 +00:00
Ralf Becker
86001bea68 changing the way the account object gets instanciated again a bit, as the new setup stuff wasnt working fully after the last fix 2007-12-14 01:28:33 +00:00
Ralf Becker
6651f0efc4 fixed problem in setup, because of not instanciated account object 2007-12-13 23:46:44 +00:00
Ralf Becker
1c2a564c14 fixed problem in setup, because of not instanciated account object 2007-12-13 23:42:17 +00:00
Ralf Becker
483aa9a343 "fix for postgres problem reported by Hertell <nabble.com-at-hertell.com>, sql error when you filter by a category with sub-cats" 2007-12-13 16:04:34 +00:00
Klaus Leithoff
e72c783fd4 pre_process_cf_header -> created by Ralf Becker!!!
function to display the customfields in a nextmatch table-header with the functionality of sorting and selecting
by customfields. Of cource you need to adapt the source of your get_rows or search functionality to do the
actual sorting and selecting. We try to do some additional documentation in codecorner
You can pass the allowed/wanted fields to the header by passing an array of the wanted fields to the widget
through the options parameter (see the eTemplate editor for fields/cells). This array is passed on through
$cell['size']. By now the array passed through is only working, if it is the only entry in the optionsparameter.
The allowed fields array assumes an numerical indexed array of (an) array(s) with ['name'] tag(s) set.
The name provided assumes a preceding #. (e.g.: $allowed_fields[x]['name']='#MyCustomField')
2007-12-13 15:36:44 +00:00
Christian Binder
5d74af6d9a implemented fallback to email-backend if recipient has no rights to run notification-app or recipient has no prefs set 2007-12-13 12:52:35 +00:00
Ralf Becker
bbfe57db8b "fixed typo preventing the remote administration values being displayed" 2007-12-13 04:03:43 +00:00
Ralf Becker
e3a9dc646f - installs can now be switched before the install happens to ldap, so all default records get created (eg. sitemgr is working)
- new setup command to create an admin user, used eg. from setup-cli.php
2007-12-13 02:41:55 +00:00
Ralf Becker
21238900c7 __isset() & __unset() methods for admin_cmd 2007-12-13 02:34:44 +00:00
Ralf Becker
2aa096915c reworked the accounts class, to be able to instanciate both backends (ldap&sql), as well as specify the config (account_repository, ldap_*) 2007-12-13 02:32:44 +00:00
Ralf Becker
f750f112f3 check against own filename 2007-12-12 02:21:00 +00:00
Nathan Gray
f7b93b3d10 Added how to completely hide a column from nextmatch 2007-12-11 22:29:05 +00:00
Patrick Bihan-Faou
d97f1eed5e Extend the patch to get_categories in infolog submitted by matthias to the other classes as well.
Added a hack that allows one to search for the categories' names prefixed by X-
Sony Ericsson phones (and possibly others) systematically prepend a X- to the 
category names, so with this patch we match X-CatName just like CatName

This is only done for SyncML obviously.
2007-12-11 09:29:50 +00:00
Ralf Becker
810aa25ebd "fixed for bug #1011: Mail all participants -dosen't fill in members of groups" 2007-12-11 07:13:08 +00:00
Ralf Becker
fbc9a8806c "fixed category sync problem reported by sezuan <supportrq-at-sucksass.de>" 2007-12-11 06:57:15 +00:00
Ralf Becker
573e27ad2e "egw_db::create_database gives no returnvalue, so we need to test the new db by connecting to it" 2007-12-11 01:43:18 +00:00
Ralf Becker
f0e0d84e55 next step config is now also a command object and added better&shorter passwords 2007-12-11 01:28:07 +00:00
Ralf Becker
ab3c470388 moved check_dir to setup_detection, to have it available inside and outside of setup 2007-12-11 01:15:02 +00:00
Christian Binder
bfff821e18 notification-app is now ready for non-eGW users as sender and recipients. deleted the old-style sending part from bo_tracking. this is not needed anymore. 2007-12-10 08:26:29 +00:00
Ralf Becker
0276cfae19 new setup command object to install, used in setup-cli so far 2007-12-10 04:59:01 +00:00
Ralf Becker
f2cf788aea docu update and commented some error_log, which mess up the output of the command line client 2007-12-10 04:54:57 +00:00
Ralf Becker
1a743d658d E_ALL notice 2007-12-09 22:54:26 +00:00
Ralf Becker
3a6b8ce799 typo 2007-12-09 22:48:53 +00:00
Ralf Becker
e1c115d310 docu update 2007-12-09 19:00:16 +00:00
Ralf Becker
cbf94ab243 mark required input fields visually (darker border and light yellow background) 2007-12-09 08:11:55 +00:00
Ralf Becker
fc1ce1fa71 removed copy of Template object in setup, using the one in the api 2007-12-09 08:03:56 +00:00
Ralf Becker
b96ebc16fc new command objects to install an instance: create database, ldap structur, create/edit header (used by setup-cli too) 2007-12-09 08:03:15 +00:00
Ralf Becker
6a91f65335 "docu update: which exceptions should give translated messages ready to display to the user and which dont need to" 2007-12-09 07:38:52 +00:00
Ralf Becker
6994cc27c1 "using exception instead of exit, thought I can not yet remove the options to ignore the fatal error, as they might be used" 2007-12-09 07:37:16 +00:00
Ralf Becker
583be8ddab "fetching of the content of selectbox customfield did not work (options were not set)" 2007-12-07 18:17:04 +00:00
Ralf Becker
e522141b42 "using the labels of selectbox-customfields instead of the values in notifications" 2007-12-07 08:14:50 +00:00