Ralf Becker
deb8d570a0
centralised 2-digit iso country codes in phpgwapi/inc/class.country.inc.php
...
Other classes can use them, as there are atm:
- etemplate/inc/class.select_widget.inc.php
- phpgwapi/inc/class.sbox.inc.php
2004-06-15 07:45:21 +00:00
Ralf Becker
8d833331ff
some UI fixes for bigger groups
2004-06-14 07:03:05 +00:00
Ralf Becker
a99697ae09
new account selection:
...
- search after different criteria: all fields, firstname, lastname, lid, starting with or exact match
- additional display of the current selection in the popup
2004-06-13 20:17:54 +00:00
Ralf Becker
d484a2227f
- IE workaround only for IE
...
- phpgwapi as default app-name for image-buttons
2004-06-13 20:12:59 +00:00
Ralf Becker
ab9ec83bc4
implemented different search-types:
...
- all fields
- firstname, lastname, account-lid
- start with
- exact
for the new account-selection popup
2004-06-13 20:11:31 +00:00
Ralf Becker
7829ecd511
fixed the regular selectbox (single-selection)
2004-06-12 21:58:47 +00:00
Ralf Becker
d02338d346
killed the debug-message ;-)
2004-06-12 12:26:50 +00:00
Ralf Becker
401afbb787
fix for IE (it seems to not act on onclick on an image, if its in the internet-zone)
...
fix for nextmatch
2004-06-12 12:25:01 +00:00
Ralf Becker
26901c6865
first version of the account-selection widget
2004-06-12 09:48:20 +00:00
Ralf Becker
1b5427cb5a
using array internaly instead of commasep. string
2004-06-12 09:45:33 +00:00
reinerj
4877495957
fix from Stephen Reindl for open_restrictions error message in setup
2004-06-11 10:36:14 +00:00
Lars Kneschke
f2c52cc197
handle macroman as iso8859-1
2004-06-11 05:32:03 +00:00
Lars Kneschke
0e953fdeeb
fix for BUG [ 969767 ] Projects: Administrator list and
...
BUG [ 969759 ] Edit manager list - Duplicate Names
2004-06-10 15:07:40 +00:00
Ralf Becker
dc2d527ba4
add a content-type header to overwrite an existing default charset in apache (AddDefaultCharset directiv)
2004-06-10 07:13:37 +00:00
Ralf Becker
0dd4cc1925
imported ADOdb version 4.22:
...
it seems to fix some php5 probs the old version had
2004-06-08 14:09:55 +00:00
Lars Kneschke
a40c1f9e83
fix for chines chars
...
There are many (I belive around 5%) Chinese character coded in GB2312
contains \xad, remove all \xad make the characters broken. Image you see
one broken ideograph in every sentence:(
2004-06-07 02:07:04 +00:00
Lars Kneschke
ab6a4ae74f
added class to create pdf file
...
http://www.fpdf.org
2004-06-04 06:17:23 +00:00
alpeb
892f40ff23
funtion renamecolumn wasn't upgrading the indexes, which avoided changing an indexed column name in postgres
2004-06-01 05:10:43 +00:00
Ralf Becker
d6c38c6ced
1) table-definitions are shared now between all db-instances
...
2) some extensions for easier quoting of sql-queries: functions to construct and run a whole insert, update, delete or select query, plus a function (expression) to generate a whole quoted expression with brackets and different operators
see the inline-docu for how to use them of look at bookmarks/inc/class.so.inc.php
2004-05-31 16:32:22 +00:00
Ralf Becker
151af07339
added the abillity to handle and quotes values as arrays (they generate a col IN (val1,val2, ...) instead a col=val
2004-05-31 09:25:35 +00:00
Ralf Becker
1b60e0f309
fixed droping of non-existing primary keys
2004-05-30 11:18:47 +00:00
Ralf Becker
4549d52c56
disabled diagnostics about setting not existing blocks again, as it breaks email
2004-05-30 10:55:52 +00:00
Ralf Becker
728b1de2dd
moved accounts & accounts_shared into one file accounts:
...
saves opening and existens of one more file
2004-05-29 16:11:35 +00:00
Ralf Becker
9a386bb064
extended the diagnostics on template-errors (eg. backtrace) and added some good debug-possebilities
2004-05-29 10:23:18 +00:00
Ralf Becker
35b80dabd2
added extra param append_ix to _GetTableSQL (used only by pgsql, but gives warning if not there)
2004-05-29 10:21:04 +00:00
zhangweiwu
1f799dd84d
patch [ 962307 ] Chinese charset conversion patch
...
"I am alost certain this is the best solution. I just
commited the change, please close this patch.
This is a typical problem (GB2312~GB18030) that many
opensource/commercial mailers fail to handle."
2004-05-29 01:14:29 +00:00
Ralf Becker
2a311ca452
Added tigra color-picker Ver. 1.1 and some documentation updates (they are now phpdoc conform)
2004-05-26 07:23:31 +00:00
Ralf Becker
475be59cb1
E_ALL fix
2004-05-24 22:33:48 +00:00
Ralf Becker
3edc6525f2
fix for php 4.1 (print_r with 2 params)
2004-05-24 14:23:46 +00:00
Ralf Becker
39b2c216fd
fix for Bugs:
...
- mail from Thomas Hackl: newest cal upgrades (performance patch)
- wiki upgrade probs under postgesql
- [ 948279 ] upgrade postgresql 0.9.14-0.9.15
implemented index_names for pgsql db-type (there's no equivalent function in ADOdb)
2004-05-24 14:22:45 +00:00
Ralf Becker
da83e39c89
fixed creation of sub-cats, to automaticaly set the main-cat (as it already set the level) from the parent
2004-05-24 09:29:30 +00:00
Ralf Becker
7d5faa667a
added concat function to abstract different concat operators or functions
2004-05-23 23:34:32 +00:00
Ralf Becker
01d480cad1
applied patch [ 956110 ] webdav VFS checks for local directories
2004-05-23 23:22:24 +00:00
Ralf Becker
70bc641bd4
added error-message if webserver user need to be in a certain group to execut the crontab command. The name of the webserver user and the groupname are read from the process and the file-permission and displayed too, in case the admin dont know them ;-)
2004-05-23 20:03:29 +00:00
Ralf Becker
eed94133c3
fixed and extended auto_create_accounts: the following information from ldap are now automaticaly stored in the sql-account:
...
- name & firstname
- primary group (if a group with that numerical id exists in eGW, its added as primary group to the account and acl)
- numerical account-id (if availible, no new one gets created, but the one from ldap is used)
- email (as preference for the email-app)
2004-05-22 11:00:18 +00:00
Ralf Becker
ebabe1570b
fixed bug in group-/account-listing (total was not stored) and reactivated the session-cache for ldap
2004-05-19 06:02:31 +00:00
Lars Kneschke
58eef6a9e2
disables account cache, because it did break group admin page
2004-05-16 23:19:29 +00:00
Ralf Becker
49a44154ce
tooltip allows now to read it's content from the widget it's set as tooltip
2004-05-16 22:54:49 +00:00
Carsten Wolff
bc140271bc
added escape-function for ldap-queries - will be used by contacts soon
2004-05-12 09:55:30 +00:00
Ralf Becker
5cb848c8d6
re-enabled error-messages if CreateObject fails, gave a blank page, but no error
2004-05-09 20:04:07 +00:00
Ralf Becker
942a967704
added some docu
2004-05-09 20:01:28 +00:00
Ralf Becker
84e8c11710
typo
2004-05-09 10:25:30 +00:00
Ralf Becker
ce9c339c87
fixed for on??? atributes, which contain single quotes
2004-05-09 10:18:56 +00:00
Ralf Becker
291da54d43
fix for mbstring.overload=7, hopefully that works now in all cases
2004-05-09 10:17:44 +00:00
Ralf Becker
731a50b29f
- fix for mbstring.overload=7
...
- potential multibyte/charset problem: addslashes was done before translate !!!
2004-05-08 22:30:19 +00:00
Ralf Becker
e26850933c
update tooltips
2004-05-08 21:09:44 +00:00
Ralf Becker
5cce1585dd
fix for month-name shortcuts different from the first 3-chars of the long name, because they would be indentical with the shortcut of an other monthname, eg. frensh Juin = Jun and Juillet = Jui
2004-05-08 11:00:46 +00:00
Ralf Becker
143b9c5d04
added a flag in the phpgw_info array to include stuff at the ende of the page, needed for the wz_toolstips
2004-05-07 21:22:46 +00:00
Ralf Becker
5a008e6768
- added function to create tooltips with the wz_tooltip class
...
- reformatted the file, it was totaly messed up
2004-05-07 21:21:20 +00:00
Ralf Becker
218a56178e
added function to set onResize attribute for the body tag.
2004-05-07 21:18:13 +00:00
Ralf Becker
9a23925f8b
fix for IE and re-added old jscal-trigger-image
2004-05-06 21:16:48 +00:00
Ralf Becker
31f348e259
implemented callbacks for week and month, to use it for the navigation in the calendar
2004-05-06 16:21:04 +00:00
Ralf Becker
41a3f88199
imported version 0.9.6 from jscalendar
2004-05-06 12:58:31 +00:00
Ralf Becker
5631d6a830
implemented caching in the session, thought its only activated for LDAP atm.
2004-05-05 13:49:32 +00:00
reinerj
48f840d7de
move from old projct to new one
2004-05-05 12:06:13 +00:00
Ralf Becker
caefc24438
fixed htmlarea to not try to load a plugin for an empty plugin string
...
Pim: every param with a default value is set ;-)
2004-05-05 07:40:01 +00:00
Ralf Becker
3e24a6db3b
gives better performance
2004-05-04 20:26:08 +00:00
Ralf Becker
3b632d36c7
fix to get IP-ranges working
2004-05-04 09:51:17 +00:00
Ralf Becker
257b69a6fb
added support for limiting the access to setup on certain IP's, IP-ranges or hostnames
2004-05-04 09:08:28 +00:00
Ralf Becker
2981120ef4
fix for mbstring.overloading = 7
2004-05-04 08:37:18 +00:00
Ralf Becker
5fb282b58b
fix for bug [ 945880 ] session expiration and logout
2004-05-03 13:52:09 +00:00
Ralf Becker
273f6b0a2f
fix for bug #944311 : Calendar: Error on user-defined fields
2004-05-03 10:39:42 +00:00
Carsten Wolff
0bfa697995
added function name_quote, wich quotes table- and columnnames correctly
2004-05-02 17:18:38 +00:00
Ralf Becker
99303481a2
fixed cookie prob for setup too
2004-05-01 09:58:38 +00:00
Carsten Wolff
e9c2659778
we can not trust in the right order of columns
2004-04-30 23:07:03 +00:00
Ralf Becker
3b94536b99
setcookie seems not to like domain-names without dots (it does not set the cookie at all, in that case). Leaving the domain-name empty, get setcookie to set the domain without dot by itself (its the default) ...
2004-04-27 07:54:56 +00:00
Carsten Wolff
20ee4f1d27
fixed rename_table() in schema_proc_pgsql, wich was relying on index_names() and therefore was broken with ADODB.
2004-04-25 22:58:37 +00:00
petere78
0e289e36bd
Localize "version" in setup footer.
2004-04-20 19:29:40 +00:00
Pim Snel
91eb7ee636
implement extra parameter to make use of the htmlarea plugins, olee
2004-04-20 17:19:14 +00:00
Lars Kneschke
76f22cc700
make sorting in felmaimail working again
2004-04-20 02:43:11 +00:00
Ralf Becker
ffd1de75c6
fixed the not-always-working patch of 1.26
2004-04-19 10:08:06 +00:00
reinerj
df1a2b74a6
add auth from Matthew Galgoci (RH)
2004-04-16 00:53:06 +00:00
Ralf Becker
dfdfaad414
implemented automatical forwarding into eGW after a login was necessary, because no session existed
2004-04-14 11:52:16 +00:00
Ralf Becker
b7890a9ba4
fix for ADOdb's missing BlobEncode function for mysql, that caused a lot SQL-errors in email
2004-04-14 09:28:18 +00:00
Ralf Becker
7aae6434e5
posibility to pass arguments to the links of the icons in the navbar: used atm. to set a specific manual page, if the automatic generation of the page-name is not sufficent, eg.
...
$GLOBALS[phpgw_info][flags][params][manual] = array('page' => 'ManualInfologAdd');
2004-04-13 15:53:25 +00:00
Ralf Becker
0e649819d8
fixed prob with localised list and not already loaded translations: setup was only installing the first language on upgrad of an app, as the translate-call changed the db-cursor
2004-04-13 14:19:52 +00:00
Ralf Becker
066722cb9b
implemented enble == 4 type apps - opened in a popup window - for the manual
2004-04-13 08:18:06 +00:00
Ralf Becker
b495aa7a0f
implemented enble == 4 type apps - opened in a popup window - for the manual
2004-04-13 07:54:25 +00:00
Ralf Becker
d943b9f59d
register globals
2004-04-13 07:52:13 +00:00
Lars Kneschke
94a05b4690
patch from Matthew Galgoci to make cookies work also with domain names
...
with more then 2 parts(hostname.domainname.de)
2004-04-13 05:28:01 +00:00
Ralf Becker
41f40155aa
added function to check if browser supports htmlarea / richtext editor
2004-04-12 13:58:25 +00:00
Ralf Becker
5fc5cb207d
small convinient extension to column_data_implode:
...
1. param $only === True: write only columns from the column-definitions
2. param $use_key==='VALUES' return "(key1,key2,...) VALUES (val1,val2,...)" for inserts
2004-04-12 07:19:24 +00:00
Ralf Becker
1b4b338fb9
fixed wrong activation of mailto: addresses in in links
2004-04-11 10:10:51 +00:00
Carsten Wolff
d5026a9f75
make the use of adodb the default in the quote() and db_addslashes() functions, too
2004-04-11 09:03:56 +00:00
Lars Kneschke
56ae9c191a
fix for
...
Warning: preg_match() expects at least 2 parameters, 1 given in
/var/www/www.phpgw.de/htdocs/egroupware/phpgwapi/inc/class.categories.inc.php on line 164
2004-04-05 06:04:07 +00:00
Ralf Becker
fe8be115fb
as talked with lars ;-)
2004-04-04 23:01:58 +00:00
Ralf Becker
ba4ed68752
fix for search to return also the entries from sub-categoris, as sugested by Stephan Hilchenbach from the german list
2004-04-04 22:52:24 +00:00
Ralf Becker
4b7ced6e84
fix for search to return also the entries from sub-categoris, as sugested by Stephan Hilchenbach from the german list
2004-04-04 22:23:47 +00:00
Ralf Becker
f68cd32ede
as talked with lars and Stephan Hilchenbach from the german list ;-)
2004-04-04 22:21:26 +00:00
Ralf Becker
53f20990de
as talked with lars ;-)
2004-04-04 20:50:29 +00:00
Ralf Becker
f6b1b8e03e
fix to get IE and HTMLarea working together again, HTMLarea seems not to work in IE, if a <base href="..."> is set. This was done to get relative image-pathes working.
2004-04-04 19:31:30 +00:00
Ralf Becker
517913682c
as talked with lars
2004-04-04 18:06:37 +00:00
Ralf Becker
94b0845564
as talked with lars
2004-04-04 17:58:00 +00:00
Ralf Becker
bd187fca49
return the config-array in read_repository, like other classes read_repository functions does (eg. preferences)
2004-04-04 10:02:25 +00:00
Ralf Becker
b9cb241948
killed error-message in droptable and moderniced the code a bit ;-)
2004-04-03 13:03:01 +00:00
Ralf Becker
6e36f7e652
fix to eliminate doublicate entris on multiple installs / reinstalls via add_acl
2004-04-03 13:01:28 +00:00
Ralf Becker
0bfe2bcd98
fix to remove dublicates in none-indexed tables
2004-04-03 13:00:19 +00:00
Ralf Becker
b69585b36f
fix to create the postgres conection string in an extra variable
2004-04-03 12:58:43 +00:00
Ralf Becker
c09e4eb4c8
fixed typo
2004-04-03 10:22:08 +00:00
Ralf Becker
a88b08f274
dont log anonymous sessions
2004-04-02 17:24:31 +00:00
Ralf Becker
7cbfd65cde
small fix for setup:
...
- useing allways $this->Type (not type) and $GLOBALS['phpgw']->ADOdb (not adodb)
- remembering if we use a privat Link_ID for disconnect
2004-04-02 08:15:18 +00:00
Ralf Becker
48dd6ec970
not setting the class-vars direct - thought it still works, but calling the connect functions with them as parameters
2004-04-02 07:36:11 +00:00
Ralf Becker
10118549f5
fix to allow multiple connections, even to different db-types (only creating a new ADOdb object if its to a different db)
2004-04-02 07:34:41 +00:00
Ralf Becker
5594a20a3b
added ability to set a base href, to get relative image-pathes working in htmlarea
2004-03-28 21:43:14 +00:00
Ralf Becker
3ca724bf61
limit login-name in accesslog to 30 chars as the column is created in table
2004-03-28 14:58:45 +00:00
Ralf Becker
8af7e93dac
fixed bug on creation of db via setup (SQL error on setting up the grants)
2004-03-28 12:10:08 +00:00
Lars Kneschke
2583db40f0
fix for bug [ 923070 ] htmlspecialchars()
2004-03-26 16:24:08 +00:00
Carsten Wolff
56aa7e6eb3
removed some files that don't belong into cvs
2004-03-24 08:56:03 +00:00
Ralf Becker
b4f8235976
speedup for the translation function
2004-03-23 16:34:23 +00:00
Lars Kneschke
82a4305005
added comments which function are for compatibility only
2004-03-22 15:45:45 +00:00
Lars Kneschke
10d033f6fb
add another function from phpgw to egw api, to stay compatible with there
...
contacts class
2004-03-22 15:43:37 +00:00
Lars Kneschke
269756f577
add wraper function to support phpgw contact api
2004-03-22 15:34:32 +00:00
Ralf Becker
9ec5c51938
fixed double-translation of country-names
2004-03-22 08:00:06 +00:00
Ralf Becker
b7d9897a33
fixed parse-error, see bug #920580
2004-03-22 07:19:43 +00:00
Ralf Becker
745bfdc35e
fixed merging of session and user prefs
2004-03-21 22:03:06 +00:00
Ralf Becker
3dc254c6ee
added session (temporary) preferences
2004-03-21 21:17:34 +00:00
Ralf Becker
5e406355f9
localised the list of availible languages
2004-03-21 21:16:57 +00:00
Ralf Becker
23bf823035
now setting /tmp or c:\temp automatically as temp-dir (was only /tmp)
2004-03-21 16:25:22 +00:00
Ralf Becker
1417a115f6
fixed typo
2004-03-21 16:23:38 +00:00
Carsten Wolff
7f85671046
'blob'-columns need some special attention in the new quote()-function.
...
Note that there is no need to use BlobDecode() on read, since adodb does it automagically.
2004-03-17 12:42:24 +00:00
Lars Kneschke
c7b6cf2a49
fix for Call-time pass-by-reference
...
----------------------------------------------------------------------
2004-03-16 06:54:22 +00:00
Ralf Becker
2238ea9dbb
makeing ADOdb the configuration default: unless you explicitly set
...
$GLOBALS['phpgw_info']['server']['use_adodb'] = False;
in your header.inc.php, eGW uses ADOdb
2004-03-15 22:41:55 +00:00
Ralf Becker
3df33d3ef6
imported ADOdb version 4.20 released 27 Feb 2004
2004-03-15 22:17:52 +00:00
Ralf Becker
0e943f4c58
fix for bug #911628 : Intall Cron Job Multiple Domain Error
2004-03-14 18:41:35 +00:00
Miles Lott
06b80fa3bf
Formatting cleanup
2004-03-14 17:31:43 +00:00
Ralf Becker
74fe998db9
php.net recommend this for security reasons, it should be our default too
2004-03-14 11:35:33 +00:00
Ralf Becker
ed8ff9cd31
removed the out-commented html and body closing tags
2004-03-13 21:57:15 +00:00
Ralf Becker
6c5c54d4b6
fixed wrong id2name in xmlrpc2cats
2004-03-13 18:09:06 +00:00
Carsten Wolff
a72cb3b1c8
more on the bytea-thing ... sometimes less is more ...
2004-03-13 17:57:20 +00:00
Carsten Wolff
5889064b1f
oops, fix for the fix ... /me pulls brown paperbag over his head
2004-03-11 17:39:05 +00:00
Carsten Wolff
7dcab6a1b0
This patch adds full Support for the bytea-datatype, wich is missing from PHP itself. I should have known this, before adding the datatype to schemaproc, but well ... here's the fix.
2004-03-11 15:40:31 +00:00
Ralf Becker
0711abd82b
1) added a base-class with some useful functions:
...
- converting to and from dateTime.iso8601
- converting cat_id-arrays to and from xmlrpc structs with cat-id / name pairs (and creating & updateing new cats)
2) removed unnecessary (and not standard conform) xmlrpc struc arround all responses
3) added detection to copy arrays (numerical keys 0,1,...) to xmlrpc arrays and not structs
Note: 2+3 only apply to the _php class as the _epi class does this by itself
2004-03-10 00:38:10 +00:00
Ralf Becker
31add06b33
added last_mod to fields always fetched, as its not in the standard_address_fields, it get never returned
...
(last_mod is not implemented in ldap so far)
2004-03-09 23:42:40 +00:00
Ralf Becker
2c1197d9dc
fixes for installations with error_reporting E_ALL
2004-03-09 21:05:28 +00:00
Ralf Becker
49d9007518
fixed function to send xmlrpc-faults (error-msg) from the handler, was not loged in the log-file
2004-03-07 10:00:18 +00:00
Ralf Becker
9ed6f2e60d
added function to send xmlrpc-faults (error-msg) from the handler
2004-03-07 09:58:22 +00:00
Ralf Becker
99e4e9efec
added standard xmlrpc error-msg for 'entry not found'
2004-03-07 09:55:43 +00:00
Ralf Becker
9c9892c9b7
fix to allow fieldlist like array('id','owner') instead of only ('id'=>'id','owner'=>'owner')
2004-03-07 09:54:37 +00:00
Ralf Becker
3803f842f3
added missing return on success
2004-03-07 09:53:26 +00:00
Ralf Becker
0daaf711d7
typo
2004-03-06 20:35:23 +00:00
Ralf Becker
809a2b8827
fixed foreach for no extra_fields
2004-03-06 20:34:56 +00:00
Lars Kneschke
345fd4de07
fix pass by reference
2004-03-06 11:27:32 +00:00
Miles Lott
2211a5aa63
Oops - comment out debug
2004-03-05 13:54:19 +00:00
Miles Lott
05fb371651
Add sql from phppgadmin for finding indexes on pg < 7.3
2004-03-05 13:32:00 +00:00
Miles Lott
e56c40e8c4
add disconnect function
2004-03-02 02:32:39 +00:00
alpeb
bf943fdce0
was removing '?' in link over + and - images
2004-03-01 20:19:47 +00:00
alpeb
ad19e78d7c
last item in the manual tree wasn't showed
2004-03-01 19:51:48 +00:00
Ralf Becker
77fd33e471
1) fix for bug #905284 , etemplate does not show images if webserver_url contains protocoll and domain
...
2) added a new progress-bar
2004-02-29 09:51:45 +00:00
Ralf Becker
dcd1912a7b
added default values parameter to RefreshTable
2004-02-29 00:13:47 +00:00
Ralf Becker
1994b1c179
change default-param of htmlarea, to be used if no or empty style is given
2004-02-29 00:12:48 +00:00