Ralf Becker
c8996cb302
autocreate_session_callback can now return (beside false or true&account-data) also a session-id (by calling session::create($account) itself). That allows to handle wrong account-data yourself and NOT get redirected to login.php
2006-04-06 18:32:22 +00:00
Ralf Becker
2c604b7b06
invalid session cache on change of session preference, otherwise session prefs only work in login
2006-04-05 15:17:41 +00:00
Ralf Becker
00060f9551
- added functions to abstract from_unixtime and date_format for DB-types other then mysql
...
- db::select adds ORDER BY to append param, only if its not already in the append param
2006-04-05 15:14:59 +00:00
Ralf Becker
a9988cc72a
fixed wrong referer if url contains webserver_url more then once, eg. " http://egroupware.org/egroupware/index.php " and "/egroupware"
2006-04-05 14:55:57 +00:00
Cornelius Weiß
d515ec7100
allow to configure more custom options for tinymce
2006-04-05 14:01:09 +00:00
Ralf Becker
c230fb81c4
new capability union
2006-03-29 06:58:56 +00:00
Lars Kneschke
9c069b1550
added sifcalendar
2006-03-27 23:28:53 +00:00
Lars Kneschke
23df97648d
various bugfixes
2006-03-27 23:24:17 +00:00
Ralf Becker
9c2c27b800
disabled SQL queries using the old phpgw_vfs table for WebDAV
2006-03-27 13:43:39 +00:00
Ralf Becker
37cb5095d5
improved printing: progressbar is now printed as percent value
2006-03-26 22:19:24 +00:00
Ralf Becker
40e5634739
fixed reference with clone, thanks to jpingle <jim-AT-hpcisp.com> from the user-list
2006-03-24 17:26:27 +00:00
Ralf Becker
65b9f91744
cloning the DB-object, maybe that fixes some of the problems the people on the list have with VFS2 and PHP5
2006-03-22 06:58:49 +00:00
Lars Kneschke
2362499507
adding a new file
2006-03-21 13:50:34 +00:00
Lars Kneschke
2dedbf0f7c
support for slowsync with search
...
added real working state machine
SyncML conformance improvment
2006-03-21 13:49:13 +00:00
Lars Kneschke
2bc928a6cb
fixed search for empty values
...
empty values can be '' or NULL
2006-03-21 06:49:10 +00:00
Ralf Becker
a615cada89
added ability to specify some extra styles for the multiselectbox with checkboxes
2006-03-20 21:51:55 +00:00
Lars Kneschke
f2537f6305
fix for mysql > 4.1
...
the first timestamp row gets always updated on update if not set
2006-03-19 22:13:57 +00:00
Ralf Becker
383c45dad3
added tree method using dhtmlXTree version 1.2
2006-03-19 17:55:36 +00:00
Cornelius Weiß
896da3651e
fix for bug #1446050 ( no font selection in htmlarea )
2006-03-19 07:34:41 +00:00
Ralf Becker
d6d5b29ef5
removed diagnostics from bugfix
2006-03-15 16:53:13 +00:00
Ralf Becker
bd471bda9d
fix for bug
...
- [ 1450332 ] Addressbook LDAP - categories not searchable
- [ 1038503 ] show private contact
2006-03-15 14:02:40 +00:00
Cornelius Weiß
300b9b1070
addressbook extension:
...
Admin can now define multiple addressbooks each with an own edit / view template and an own icon.
Atm. all Addressbooks are stored in one backend, but this will change soon^tm
2006-03-14 13:54:17 +00:00
Cornelius Weiß
b97f701d05
added an optinal check for a save^tm password (criterias as in MS-Windows)
2006-03-13 21:56:28 +00:00
Lars Kneschke
ea0f776b92
Patch from Jan
...
It is the simple patch to prevents the segfaulting of horde on ical with
spaces in the begin:vevent etc lines. (just \W\w replaced by \S if I
remember well at one place..)
The second patch is for getting rid of some php5 warnings when it
encounters the array_merge() in setParameter(). (only a simple cast to
an array).
2006-03-11 08:09:12 +00:00
Ralf Becker
db1a32aa33
fix for bug [ 1446044 ] eGw asking for delete sub-categories when it not exists
2006-03-10 09:53:10 +00:00
Lars Kneschke
cfc4ad5006
$accountID is a string not a int
2006-03-10 08:09:42 +00:00
Ralf Becker
e419a6aa6d
allow ',' in order
2006-03-09 22:33:06 +00:00
Ralf Becker
ceb34ebfee
set multiselectbox size=4, as some browsers dont show scrollbars if its under 4
2006-03-09 18:21:22 +00:00
Cornelius Weiß
86036a1ddc
fixed non working privacy
2006-03-08 22:36:35 +00:00
Ralf Becker
ed687031a2
disabled it for security reasons
2006-03-08 22:13:00 +00:00
Ralf Becker
7a80cb08a6
changed system.time for Espen/eGWOsync to return struct with keys:
...
- system: system-time as datetime.iso8601
- system_tz_offset: tz_offset to UTC in seconds as integer
and, if loged in, analog user and user_tz_offset
2006-03-08 19:34:02 +00:00
Ralf Becker
a5a87c4fe8
fix for bug [ 1370943
] Nextmatches->search doesn't set the value
2006-03-08 18:10:36 +00:00
Ralf Becker
dc48662fc8
fix for bug:
...
- [ 1442406 ] patch: Account hooks don't see installed applications
- [ 1232664 ] new ldap users not activating hook
2006-03-08 17:21:52 +00:00
Ralf Becker
1186a8e406
if n < 0, use n chars from the end of the string, eg. for zh-tw
2006-03-08 11:39:44 +00:00
Ralf Becker
23c4f7976f
if n < 0, use n chars from the end of the string, eg. for zh-tw
2006-03-08 11:36:58 +00:00
Ralf Becker
15c845e0de
fixed timezone handling in addressbook:
...
- db stores now server-time as everywhere in eGW
- contacts-class in the api and bocontacts in addressbook take and deliver user-time
- xmlrpc gives user-time as the other apps too
2006-03-07 22:43:08 +00:00
Ralf Becker
52863057ec
fixed not working xmlrpc system.time method
2006-03-04 10:27:36 +00:00
Ralf Becker
119fb13409
fix for not set $_SERVER['DOCUMENT_ROOT'] if run by the async-service, eg. calendar alarms
2006-03-03 13:44:43 +00:00
Ralf Becker
3a8c25df86
added function to abstract SQL union statement, needed to speed up the calendar search for MySQL 5
2006-03-03 12:01:10 +00:00
Ralf Becker
23ea4159ef
documentation update and extra param to show_date, to disable time-zone-conversation
2006-03-03 09:32:47 +00:00
Ralf Becker
8fc1ad4184
fix for empty or zero id in call to bolink::tile
2006-03-02 19:21:55 +00:00
Miles Lott
920d865760
Minor fix for system.time documentation and signature
2006-02-24 03:08:40 +00:00
Miles Lott
5f9d52623c
Fix minor bug in lang() for common, and update setup's version to match common
2006-02-24 03:06:40 +00:00
Miles Lott
95152c501e
Patch 1424025 to adjust default for system.time format
2006-02-07 13:34:02 +00:00
Miles Lott
9e47c6843e
Patch 1424030 from Esben
2006-02-04 14:33:40 +00:00
Lars Kneschke
1b03623316
two patches from Benjamin Donnachie to fix
...
- async service
- make calendar notifications working again
2006-01-22 19:24:00 +00:00
Lars Kneschke
785391f71d
patches from JVL and some debug output removed
2006-01-22 17:59:06 +00:00
Lars Kneschke
40586d80db
patch from jvl xs4all nl
2006-01-16 11:14:33 +00:00
Lars Kneschke
735dcde161
different SyncML fixes
2006-01-16 09:49:51 +00:00
Lars Kneschke
08d3e484dc
final syncml fixes
2006-01-14 08:29:23 +00:00
Lars Kneschke
fce1d83932
updated WBXML code to work without external binary
...
many thanks to the horde project for writing very good code!!
2006-01-11 05:42:07 +00:00
Ralf Becker
145a1d0f6b
bugfix, sql-error - one bracket too much
2006-01-11 05:20:50 +00:00
Ralf Becker
aa085fd849
bugfix
2006-01-11 05:20:01 +00:00
Ralf Becker
7dd8eda157
some bugfixes: unlink was not working on tempr. links (no id yet) hold in an array
2006-01-11 05:18:48 +00:00
Carsten Wolff
99cb0bd567
fixed a handfull of bugs that broke setup/update from 1.0 to 1.2
2006-01-06 16:21:51 +00:00
Ralf Becker
5043404475
fixed typo
2006-01-06 04:55:51 +00:00
Ralf Becker
d0b013767b
fixing the fix: sql strings (integer
...
index) were not used in the where clause on update/insert, causing eg. double entries for file-attachments
2006-01-06 04:52:10 +00:00
Carsten Wolff
a0f4331554
small cleanup
2006-01-06 02:47:45 +00:00
Cornelius Weiß
b55f6deb14
fix: deleting of accounts resulted in deleting of group
2006-01-04 21:01:33 +00:00
Lars Kneschke
6f05e93e26
read debugdir from egw config
2005-12-25 16:41:35 +00:00
Miles Lott
afaa6f2815
Creates LM and NT hashes natively in php
2005-12-25 10:56:54 +00:00
Lars Kneschke
916f9994b6
fix charset translation
2005-12-23 12:32:57 +00:00
Lars Kneschke
8d704fe5c0
PHP5 fixes
2005-12-20 17:45:47 +00:00
Lars Kneschke
ca2e74f153
added objectclass for rfc2307bis.schema
2005-12-16 07:12:36 +00:00
Ralf Becker
68828494ab
fix for negative group-ids, which are not allowed by all dbms in auto-columns:
...
- egw_accounts.account_id is now again positiv for groups too
- mapping to negative group-id is done in the accounts-class now
2005-12-14 23:35:09 +00:00
Ralf Becker
b5197ce79d
fixed bug in creation of new groups under ldap, they get always the same id
2005-12-14 23:33:07 +00:00
Ralf Becker
36138f346e
setting group-context from (user-)context, if not set
2005-12-14 23:31:51 +00:00
Ralf Becker
5ddc4a4f85
constructor of datetime need to be called after preferences are read (again), otherwise the tz-offset is not set - easy to verify from the other end of the world ;-)
2005-12-14 06:41:27 +00:00
Ralf Becker
57998e5827
fixed to small div in multiselectbox, this should be handeled by css (overflow)
2005-12-14 06:36:27 +00:00
Ralf Becker
5f625f4289
fixed bug: privat cats were not returned / shown
2005-12-02 20:29:49 +00:00
Lars Kneschke
3abea0dbe6
fixed changing passwords using ldap
2005-12-02 12:49:50 +00:00
Ralf Becker
f2d06cbe56
fixed assignment which should be a comparison, dont think it did any harm, but anyway it's wrong
2005-12-02 10:43:39 +00:00
Ralf Becker
14b93846c0
reverted fix from 2005/11/23 as it caused trouble in other areas (eg. vfs class) and fixed the problem (cant insert sql-strings/numerical id's) in the insert-function
2005-12-02 10:41:50 +00:00
Ralf Becker
341eb15afb
fixed not working system-charset conversation (now removed) with backup and re-install of backup with a different charset. A setable client encoding is used if availible.
2005-12-01 23:18:07 +00:00
Ralf Becker
332b6fabd5
fix for mssql problem reported, without SET identity_update <table> ON, mssql refuses to change the identity column (create negative group id). I cant test it, as I have no MsSQL at the moment.
2005-12-01 21:01:06 +00:00
Ralf Becker
24472f972d
fixed not working sessionid in url
2005-11-29 13:05:20 +00:00
Ralf Becker
68d0668328
fix for bool columns:
...
- work around some "magic" in ADODB's datadict
- MySQL4.1 allows the standard true/false for inserts only and not as default value
2005-11-29 07:52:18 +00:00
Ralf Becker
46adb5d50b
destroy the session-cache on login/logout
2005-11-28 12:47:35 +00:00
Ralf Becker
bf9ee3a86d
fixed empty property warining in error_log
2005-11-28 08:24:36 +00:00
Ralf Becker
16e9475d0b
fixed double navbar on access denied (eg. calling a app by url without run-rights for that app)
2005-11-27 23:11:25 +00:00
Ralf Becker
0cfdea3f97
fixed error in user-creation under ldap: account_id of group was send negative to the ldap-server
2005-11-27 22:33:08 +00:00
Ralf Becker
7b2b823835
- setup uses now the system_charset, that fixes various errors reported:
...
+ setup_demo gives errors under postgres
+ setup_demo can save special chars in the admin name
- renamed setup_demo into admin_account, as setting up demo accounts is the least used function of it
- fixed warning db::delete missing params, if delete_all was checked
2005-11-27 07:48:22 +00:00
Miles Lott
3617eeda1f
update for new calendar function
2005-11-26 15:37:14 +00:00
Miles Lott
bcacc1ef46
phpgw->egw
2005-11-26 14:25:39 +00:00
Ralf Becker
b68c7922c0
fixed prob reported on the lists: new created account are not working
2005-11-25 19:58:05 +00:00
Miles Lott
bcb682ed9d
phpgw->egw
2005-11-25 00:20:34 +00:00
Miles Lott
98bb88f545
phpgw->egw
2005-11-25 00:13:29 +00:00
Ralf Becker
43ae18fb7a
finding the db-object from setup too
2005-11-24 20:48:31 +00:00
Ralf Becker
d8932b3ad3
calling invalidate_session_cache only if it exists (setup does not have/need it)
2005-11-24 20:08:09 +00:00
Ralf Becker
9606f6ea25
eGW uses now negative id's for groups, this allows to better support ldap (you can have users and groups with identical id's)
2005-11-24 19:48:21 +00:00
Ralf Becker
e9bbdad358
fixed bug: only 2 levels of categories get returned
2005-11-23 23:01:28 +00:00
Ralf Becker
4169bd99e1
fixed bug in column_data_implode: numerical keys where used if $only===true
2005-11-23 08:56:43 +00:00
Cornelius Weiß
f043f76be2
fix typo
2005-11-22 22:32:21 +00:00
Cornelius Weiß
81f918c8b6
fix: font tag was not allowed
2005-11-22 22:26:35 +00:00
Ralf Becker
597e4b8589
fixed for mysql < 4.1 for the quoting of boolean columns (0/1, instead of standard true/false)
2005-11-21 16:39:43 +00:00
Ralf Becker
cde95cd926
fixed bug in common::get_referer, which gives a warning and wrong result if eGW is installed in the docroot
2005-11-21 08:21:11 +00:00
Ralf Becker
e9cfc86e19
fixed bug: missing param 5 in egw_db::insert, which stoped login, if display errors is on
2005-11-21 07:23:37 +00:00
Ralf Becker
9320913b9e
- new capability 'name_case'
...
- docu update
- removed some depricated stuff from the last release
2005-11-20 15:40:28 +00:00
Ralf Becker
2dbaf992fa
fix for bug [ 1357995 ] LDAP account import errors
2005-11-20 08:03:06 +00:00
Ralf Becker
1549913fd7
fix for bug [ 1361782 ] missing sql tables: hook code accessing the prefs-table is moved to the prefs class
2005-11-20 07:32:51 +00:00
Ralf Becker
c267a875de
fixed quoting of bool column to return true or false, as required by newer postgres and accepted by mysql too
2005-11-19 20:14:45 +00:00
Ralf Becker
1c8ecb3992
enhanced _insertID function to deal with tables without oid's (default from 8.1+)
2005-11-19 20:13:06 +00:00
Ralf Becker
fa96e4a576
new functions to read and write a single phrase
2005-11-19 20:08:45 +00:00
Ralf Becker
c3a9b1c5e8
fix for different format of multiple cats ('1,2' instead of old ',1,2,') in new addressbook
2005-11-18 15:22:10 +00:00
Ralf Becker
96a2aad962
Adjusting the multi-selectbox width a bit
2005-11-14 21:35:55 +00:00
Cornelius Weiß
256deada9f
fix, sorry
2005-11-14 21:27:11 +00:00
Cornelius Weiß
dd068c15c7
add a few more plugins to tinymce
2005-11-14 21:18:01 +00:00
Ralf Becker
85406b1a86
if called by setup, use setup's db-instance
2005-11-14 10:21:02 +00:00
Ralf Becker
ef43034467
added some stuff for handling db-charsets:
...
- db-version gets now queried after the connection is made and before we select the DB, to be availible if the db not yet exists
- create_database can set now the default charset for mysql4.1+, that might make sense for Postgres too
- mysqlt is now translated to mysql in db::Type, as it's queried in many places, which do not recognise mysqlt. You can find the untranslated value now in db::setupType
2005-11-14 08:36:39 +00:00
Ralf Becker
29ebabe0f5
quitent an other diagnostics
2005-11-14 08:32:59 +00:00
Ralf Becker
35a77b3c36
- quietent a warning if the connecting database does not exist
...
- cant use mysqli_real_escape_string without DB-connection, falling back to default quoting
2005-11-14 06:17:43 +00:00
Ralf Becker
e665bbad9d
quitend a debug message
2005-11-13 18:22:06 +00:00
Ralf Becker
8e25d2e29c
phpgw_addressbook(_extra) --> egw_addressbook(_extra)
2005-11-13 12:05:35 +00:00
Ralf Becker
f65d804916
phpgw_interserv --> egw_interserv
2005-11-13 11:55:07 +00:00
Ralf Becker
dab141fdb7
phpgw_history_log --> egw_history_log and reworked class with new db-functions
2005-11-13 10:52:34 +00:00
Ralf Becker
1b17b82ca8
phpgw_nextid --> egw_nextid
2005-11-13 10:13:16 +00:00
Ralf Becker
1f37f024ca
phpgw_access_log --> egw_access_log
2005-11-13 09:47:05 +00:00
Ralf Becker
f6e4328f85
phpgw_(app_)sessions --> egw_(app_)sessions
2005-11-13 09:16:31 +00:00
Ralf Becker
8add4f6398
infolog link registry ins now in infolog class
2005-11-13 09:14:02 +00:00
Ralf Becker
44bcc1247d
improved docu of prefs class and phpgw_preferences --> egw_preferences
2005-11-13 07:49:56 +00:00
Ralf Becker
8a06c230c4
modernized and documented the hooks-class, phpgw_hooks --> egw_hooks
2005-11-13 06:58:38 +00:00
Ralf Becker
dafaf45680
fixed typo which caused the admin passwd to be changed, instead the one of the edited user
2005-11-13 06:09:10 +00:00
Ralf Becker
f7ebba2e44
some more db-capabilities:
...
- like_on_text (boolean)
- order_on_text (boolean or string for sprintf)
2005-11-11 23:08:49 +00:00
Ralf Becker
0be34d315b
code cleanup and link function allows now query in the url too
2005-11-11 23:07:29 +00:00
Ralf Becker
3bae8c3a00
fix for referer under etemplate
2005-11-11 23:06:34 +00:00
Ralf Becker
090dc5c1da
shorten the category names, by not appending <Global [App]> anymore, instead we use a symbol (diamond) to indicate a non-user cat
2005-11-11 23:05:35 +00:00
Cornelius Weiß
e11fe7cd81
tinymce
...
- addoption: FontChooser
- align buttons left
2005-11-11 20:52:58 +00:00
Cornelius Weiß
599a4cdfdf
adjust link to new view dialog
2005-11-11 20:52:09 +00:00
Cornelius Weiß
a52d78d66b
fixed typo
2005-11-10 21:36:51 +00:00
Ralf Becker
35833c2583
fixed not working reference assignment
2005-11-09 13:54:36 +00:00
Ralf Becker
515b8c0630
hopefully now all possebilities to construct an eGW URL are covered
2005-11-09 13:27:49 +00:00
Ralf Becker
988b7c1bc5
new method common::get_referer(), to get an eGW conformat referer from $_SERVER['HTTP_REFERER'], suitable for direct use in the link function
2005-11-09 12:45:48 +00:00
Ralf Becker
c5a6a2bcc0
phpgw --> egw plus some documentation
2005-11-09 12:44:32 +00:00
Ralf Becker
bd325a811f
fix for bug reported by Oscar on the list: category query of categories::return_array ended with AND
2005-11-09 06:53:51 +00:00
Ralf Becker
cd102084d5
reverted last commit, as & in urls do not work in javascript, they only work as value in tags and we dont know for what the returnvalue of link() is used
2005-11-08 20:03:46 +00:00
Ralf Becker
c84bb21068
xhtml conforming url's
2005-11-08 17:53:04 +00:00
Ralf Becker
263caae5e8
missing param
2005-11-08 10:10:36 +00:00
Ralf Becker
709ef070c9
fix for bug, that empty arrays are returned as serialized empty array and not an empty array
2005-11-08 08:12:30 +00:00
Ralf Becker
a0beab57d4
fixed bug reported by Lutz on the german list (missing AND before filter in return_array)
2005-11-08 05:07:37 +00:00
Ralf Becker
40b35348e0
Get- and SetCharSet for mysql and mysqli
2005-11-07 13:37:21 +00:00
Ralf Becker
ae9ae56e30
fix for the segfaults happening since the last commits in several apps: function was calling itself ;-)
2005-11-07 09:30:33 +00:00
Ralf Becker
c4db9872c2
it was definitly to late last night ;-)
2005-11-06 09:09:05 +00:00
Ralf Becker
9de4dcd476
typo
2005-11-06 07:38:27 +00:00
Ralf Becker
7635fb25c9
phpgw_categories --> egw_categories plus reworked categories class
2005-11-05 22:58:51 +00:00
Ralf Becker
2ec277c0d9
typo
2005-11-05 19:00:31 +00:00
Ralf Becker
34b1f64ae3
typo
2005-11-05 18:18:55 +00:00
Ralf Becker
0f7354b09b
check for the old table too, to not scare updating users ;-)
2005-11-05 13:15:33 +00:00
Ralf Becker
912aac5e6c
1) renamed translation_sql to translation, as translation_file is not used or working (we can allways re-add it)
...
2) new list_langs function for the TranslationTools, so they dont need to access the languages table direct
2005-11-05 08:51:06 +00:00
Ralf Becker
2477ebc7bb
functions to get and set the charset
2005-11-04 18:38:29 +00:00
Ralf Becker
970a92297e
an other big update ;-)
...
1) phpgw_lang(uages) --> egw_lang(uages)
2) mysql 4.0+
- charset gets now set for the connect
- charset gets used for new tables
- some columns shortend to deal with 1000byte (= 333 utf-8 chars) limit for indexes
- update to 1.0.1.019 fixes the charset of existing tables
2005-11-04 18:35:09 +00:00
Ralf Becker
65c41b525e
fixed bug report by Dros on the german list: using account in ldap, nextmatch (eg. in setting group ACL's) is not working
2005-11-04 06:57:22 +00:00
Ralf Becker
a41761660e
fixed bug: addressbook popup for email apps: adding all search results was not working with ldap (contacts_ldap class did not support the "!''" filter used)
2005-11-03 14:30:40 +00:00
Ralf Becker
335cef9104
display_fullname and get_account_name replace now an empty firstname with the lid and an empty lastname with group or user
2005-11-02 20:43:04 +00:00
Ralf Becker
3960fcc0ae
implemented the same default, as for the sql class: everything which is not 'accounts' or 'groups' gives a list of both
2005-11-02 20:40:44 +00:00
Ralf Becker
c85d34c0fe
changed the following table-names:
...
- phpgw_accounts --> egw_accounts
- phpgw_acl --> egw_acl
- phpgw_log(_msg) --> egw_log(_msg)
- phpgw_config --> egw_config
- phpgw_applications --> egw_applications
This requires code-changes in many apps. Quite often I was able to replace the db access, with calls to the appropreate classes.
2005-11-02 11:45:52 +00:00
Cornelius Weiß
e4ed1ac5b0
add execmethod2 which could handle multiple arguments
...
There was no way of patching the existing ExecMethod, as Felamimail,
emailadmin and ldapadmin depend on the class consturction of this
method
2005-11-01 14:19:00 +00:00
Ralf Becker
295d7844e5
added no_notify parameter to link function, to suppress the notify
2005-10-27 09:28:24 +00:00
Régis Leroy
7b9f0f7b79
add mysqlt type for mysql in transactionnal mode with innodb tables
2005-10-25 15:27:42 +00:00
Régis Leroy
0f476f3e98
Bugfix: RowLock was not working with MySQL. ignore is a reserved word and could be empty. See as well fix on mysql driver for getOne with LIMIT and FOR UPDATE
2005-10-25 14:45:19 +00:00
Régis Leroy
9b4814ba81
bugfix: Select with LIMIT fail if FOR UPDATE is not after the LIMIT but before
2005-10-25 14:38:10 +00:00
Ralf Becker
a4b67d9f2b
UUPS javascript ;-)
2005-10-24 12:17:31 +00:00
Ralf Becker
38577905fb
1) fixed obscur IE 5.5/6 bug that caused the search button (user image) not to be displayed if its a link with an image => input type="image"
...
2) phpgw --> egw
2005-10-24 10:30:29 +00:00
Régis Leroy
c2c29c186b
removing galaxia library. See reworked workflow library in workflow/inc/engine
2005-10-17 15:54:19 +00:00
Régis Leroy
c53b0302ba
removing galaxia library. See in reworked workflow library in workflow/inc/engine
2005-10-17 15:52:39 +00:00
Cornelius Weiß
f578c4f826
make tinymce call easier and provide some custom view
2005-10-13 20:43:06 +00:00
Cornelius Weiß
43c1115dbf
switch to tinymce by default
2005-10-13 15:16:38 +00:00
Ralf Becker
ea1e8d89a2
fixed sql error on deleting users, thanks to Regis Leroy
2005-10-13 14:26:29 +00:00
Ralf Becker
1784637cff
Make the PHP session restore an own session type in manageheader. So you can switch it on and off, without the need to edit the code. At the moment it's off by default, with a note that it can give a big performance boost (if it works on your distro).
...
Please note: If you already edited your phpgwapi/inc/functions.inc.php to switch it off, you will get an cvs conflict on updating, just do a "cvs update -C phpgwapi/inc/functions.inc.php" to fix it. If you want to use the session restore or you already used it, you need to go to Setup >> Headeradmin and switch it on there.
2005-10-13 14:14:01 +00:00
Ralf Becker
e2e0fd6446
Make the PHP session restore an own session type in manageheader. So you can switch it on and off, without the need to edit the code. At the moment it's off by default, with a note that it can give a big performance boost (if it works on your distro).
...
Please note: If you already edited your phpgwapi/inc/functions.inc.php to switch it off, you will get an cvs conflict on updating, just do a "cvs update -C phpgwapi/inc/functions.inc.php" to fix it. If you want to use the session restore or you already used it, you need to go to Setup >> Headeradmin and switch it on there.
2005-10-13 12:11:48 +00:00
zhangweiwu
0ec0bc7654
add a bit of phpdoc explanation.
2005-10-11 02:00:23 +00:00
Ralf Becker
8fd573db65
setting language, date- and timeformat for tinymce from the user prefs
2005-10-11 00:27:24 +00:00
Ralf Becker
2a05447886
fixed domain-selection via url
2005-10-09 12:02:24 +00:00
Ralf Becker
9f0f20a4cf
an other try to get the right size for the multiple selectbox with checkboxes
2005-10-05 12:40:59 +00:00
Cornelius Weiß
5c8e62b4ce
files with owner_id == 0 need to be readable for all useres!
2005-10-04 22:59:14 +00:00
Ralf Becker
8a8077bf4e
typo
2005-10-01 21:06:43 +00:00
Ralf Becker
b31e40e067
moved InfoLog's link class and it's table into the api
2005-10-01 20:18:41 +00:00
Ralf Becker
f7ec5b42f5
fix to use our db class with the new php5 mysqli extension
2005-10-01 09:09:45 +00:00
Ralf Becker
7f835c1020
mysqli has a separete param for the port
2005-10-01 08:53:38 +00:00
Ralf Becker
d088c71ae0
mysqli should use the mysql datadictionary
2005-10-01 08:47:27 +00:00
Carsten Wolff
7ae0075fb3
fix an usort sideeffect
2005-09-30 16:03:27 +00:00
Ralf Becker
42e14d2cfd
multiselectbox with checkboxes: calculated widths was far to much
2005-09-30 14:21:50 +00:00
Miles Lott
eefec39e13
Formatting
2005-09-29 11:31:02 +00:00
Carsten Wolff
c5f0daa001
remove PHP3 legacy code and fix performance bug in sorting ldap_search results.
2005-09-28 13:10:22 +00:00
Ralf Becker
93e3241b70
re-added to postgres fixes not (yet) contributed to JohnLim:
...
- updates to work around postgres error while upgrading a phpGW 0.9.14 install
- postgres fix (error in converting varchar to int if >= 100)
2005-09-26 10:28:28 +00:00
Ralf Becker
4e5cb1786e
imported adodb 4.65
2005-09-26 10:12:10 +00:00
Ralf Becker
bd527ef0b8
the xmlrpc log should be off be default, as it contains everything in cleartext (eg. passwords) and it is in most distros world readable
2005-09-20 10:14:10 +00:00
Ralf Becker
e72ec322e1
added configuration switch for xmlrpc and soap services (default off)
2005-09-10 10:39:36 +00:00
Ralf Becker
a4b3f4fecb
added patch from raphaelpereira-AT-gmail.com to allow creation of the DB under Postgres again
2005-09-06 10:20:56 +00:00
Carsten Wolff
3be92d3fa2
fix change_owner()
2005-08-30 20:56:33 +00:00
Lars Kneschke
e2f6eb9b06
always include some common javascript functions
2005-08-28 20:31:36 +00:00
Miles Lott
35d6232281
Switch to new arrays and db cloning
2005-08-27 12:24:56 +00:00
Miles Lott
137e472433
Use correct quoting when querying/setting account_id; minor formatting
2005-08-27 12:19:35 +00:00
Miles Lott
b4a21c4e9e
Switch to egw_info, etc, and remove reset/while
2005-08-23 17:53:41 +00:00
Miles Lott
9438655ca5
Format and switch to egw_info, et al.
2005-08-23 17:49:49 +00:00
Miles Lott
7d18902b97
HEAD only: Add client from 2.0 lib - adds compression, proxy auth, etc.
2005-08-16 13:23:03 +00:00
Miles Lott
46e44572df
Remove eval from ldap version, too
2005-08-14 22:11:15 +00:00
Miles Lott
4248167886
Update lib to version 2.0; remove eval calls
2005-08-14 20:36:46 +00:00
Miles Lott
08b61a050e
Fix for multiple domains via xml-rpc to ensure the correct domain
2005-08-14 17:01:30 +00:00
Carsten Wolff
d61920a22b
fix the handling of charsets in the contacts_ldap class and provide admins with a script, that helps to fix old, corrupted eGW-LDAP-addressbooks. For a description of why and when this is necessary, please read the header of the fix-ldap-charset-for-egw1.1.pl script. This should appear in the release-notes for eGW 1.1.
2005-08-13 21:01:14 +00:00
Miles Lott
4af309944f
initial line spacing
2005-08-13 13:16:01 +00:00
Lars Kneschke
7dc342e317
removed organizer as required field
2005-07-29 07:31:30 +00:00
Ralf Becker
8d4c01bf4b
fixed missing escaping of double quotes in the title of wz_tooltips
2005-07-28 09:45:58 +00:00
Ralf Becker
0c38cbea43
fixed wrong charset in xajax responses
2005-07-27 10:04:52 +00:00
Lars Kneschke
bf49d639c6
remove session after successfull sync
2005-07-26 07:27:39 +00:00
Lars Kneschke
ee05cd3a34
fixed handling of ALERT 222
2005-07-26 07:22:58 +00:00
Miles Lott
ca8cf03ff2
Update for egw arrays
2005-07-23 11:39:20 +00:00
Ralf Becker
5cbbbb7d29
1) phpgw --> egw
...
2) fixed problem I came across while debuging: $p->fake_full_name --> $p->fake_full_path
3) some improvement dont set empty mime_type
2005-07-22 17:59:09 +00:00
Ralf Becker
7b1229e29a
fixed problem in the new db-functions which caused eg. the vfs_class to mailfunction and create two attachments instead of one in infolog
2005-07-22 17:53:02 +00:00
Ralf Becker
c395f26dc6
added function to invalidate the session-cache if:
...
- global config (egw_info[server]) changes
- user prefs change
- acl of the current user changes
2005-07-22 09:20:31 +00:00
Ralf Becker
b82ac2c4d6
added function to invalidate the session-cache if:
...
- global config (egw_info[server]) changes
- user prefs change
- acl of the current user changes
2005-07-22 09:05:01 +00:00
Ralf Becker
d933e70c72
fixed SQL queries
2005-07-20 12:42:09 +00:00
Ralf Becker
5e97b462c4
setting defines for currentapp=login too
2005-07-20 12:31:58 +00:00
Ralf Becker
83b0801533
commit for Lars: latest SyncML updates
2005-07-20 12:09:32 +00:00
Ralf Becker
ef7bff339e
commit for Lars:
...
1) ajax proposal: proof of concept using xajax in felamimail to work without page reloads
2) also implemented IMAP ACL for cyrus and php5 (still needs some work)
2005-07-20 08:12:21 +00:00
Ralf Becker
b495b33d0a
commit for Lars:
...
1) ajax proposal: proof of concept using xajax in felamimail to work without page reloads
2) also implemented IMAP ACL for cyrus and php5 (still needs some work)
2005-07-20 08:07:47 +00:00
Ralf Becker
f20c9f093e
the LDAP server also needs to be re-connected
2005-07-17 22:47:54 +00:00
Ralf Becker
f99f2ef4e8
1) eGW enviroment (egw_info-array and egw-object) can now be stored in a php-session and restored from there. It is no longer necessary to create it on every page-request.
...
At the moment you need to log out to activate any changes in the config, preferences or the apps enabled for a user. This can be changed easily by invalidating the cache.
2) New way to create an anoymous session: you can specify a callback function, which gets called if the session could not be verified. The callback can use the DB or instanciate a config object to get the account-date, which it returns. A new session get then created.
2005-07-17 21:00:49 +00:00
Ralf Becker
5736cb296c
*** empty log message ***
2005-07-17 19:58:41 +00:00
Ralf Becker
7c46b63263
1) fixed not working session kill
...
2) ignore (empty) login sessions created by IE and konqueror, when clicking on [login] (double submission of the form)
2005-07-13 08:29:50 +00:00
petere78
73d74fa0f3
XHTML 1.0 cleanup for setup application
2005-07-11 18:02:19 +00:00
Miles Lott
47d7968d60
Disable debugging by default, but enable for the interserv test application
2005-07-02 20:19:19 +00:00
Miles Lott
07b6cc1297
Fix for case-sensitive variable name
2005-07-02 20:13:51 +00:00
Pim Snel
cd8871a53d
add fetch_string function so templates can live in a database table as well
2005-07-01 13:27:35 +00:00
Carsten Wolff
64120e723c
another shot at datetime.iso8601:
...
- accept both simple and extended format from input
- output simple format, if the client sends a HTTP-header "isoDate: simple".
This should maybe extended by another possibility, where the information
is stored in the session on login. Then there is a good way for all
clients, regardless of the use of any combination of Auth-headers,
login/cookies and webservers.
2005-06-30 19:01:19 +00:00
Miles Lott
ff4a0d24cc
CRITICAL: Implement security fixes from latest release of php-xmlrpc
2005-06-30 13:36:47 +00:00
Pim Snel
15e32ce762
create tinymce init function so this can be optinaly run before the header is sent.
2005-06-30 09:10:15 +00:00
Pim Snel
014aa6ca67
only show template set that contain a setup.inc.php
2005-06-29 21:06:52 +00:00
Pim Snel
210e5621be
Add wrapper function for the TinyMCE WYSIWYG editor. This editor much cleaner then htmlarea
2005-06-21 19:46:56 +00:00
Ralf Becker
cea4c314d2
phpgw_setup --> egw_setup
2005-06-20 22:07:40 +00:00
Lars Kneschke
b3ecd8456d
generate a smaller guid
2005-06-20 11:14:40 +00:00
Lars Kneschke
062f20ec42
chaning phpgw -> egw
2005-06-20 11:04:20 +00:00
Ralf Becker
84ab716959
$GLOBALS['phpgw --> $GLOBALS['egw
2005-06-20 07:51:01 +00:00
Lars Kneschke
d43bf7d44f
first commit of syncml code
2005-06-19 19:00:58 +00:00
Lars Kneschke
f354eacf66
the best of my and ralfs version
2005-06-19 18:07:06 +00:00
Ralf Becker
d4760bb15c
renamed our db-class to egw_db to allow easier integration of other code (eg. Lars SyncML stuff which is partially from horde)
2005-06-19 12:43:00 +00:00
viniciuscb
0a28f3812e
Some changes:
...
- Inclusion of the following javascript directories:
* Connector: javascript object to interface xmlhttprequest object. This object allows
asynchronous posts and support for messages while this post is being done, such as
"wait, contacting server", etc.
* JsAPI: general javascript functions and methods
* jsolait: performs conversion from a xmlrpc message to a javascript object
* xmlRpcMsgCreator: performs conversion from a javascript object to a xmlrpc message
* dynapi: cross-browser class to draw layers
- Update in setup version: now is 1.0.1.008; Update your versions. There was made a
change in phpgw_vfs2_files table in handling of modified files.
- Upgrade of vfs2 classes and PclZip class
- Changes in javascript object and common object to allow the javascript backend to
applications to work (now just filescenter will use it...)
2005-06-18 20:43:14 +00:00
Ralf Becker
332c9c41df
to work around the not terminated sessions (because php is configured by default only to check it on every 100th session-creation), we terminate now all timed out sessions when a list of sessions is requested
2005-06-18 06:38:29 +00:00
Pim Snel
1d68ccb070
replace hardcoded links to home.php with links to home/index.php
2005-06-15 11:16:27 +00:00
Ralf Becker
fd5576e3ee
- phpgw --> egw
...
- fixed a problem php5 complained about, which is present in php4 too: arrays in $GLOBALS[egw][server] are NOT unserialized. As this seems to be only used for the lang_ctimes, I just took care of it here
2005-05-31 13:52:14 +00:00
Ralf Becker
a3fb79a6a4
fixing the fix ;-) now it's working in php4 + 5
2005-05-30 14:18:23 +00:00
Lars Kneschke
402d3b60e8
little type
2005-05-29 11:23:51 +00:00
Pim Snel
d9ec1f87e2
Initial addition of the savant2 template engine and the egw-wrapper class.tplsavant2.inc.php Enjoy ;)
2005-05-26 19:38:09 +00:00
petere78
c9e47a1f28
Fix broken PAM authentication
2005-05-24 13:00:13 +00:00
Ralf Becker
f2a058fccf
modernized asyncservice class and renamed phpgw_async to egw_async
2005-05-23 18:57:58 +00:00
Ralf Becker
8f2420541a
fixed generation of options in select-boxes: now 0 == '0' != '' when marking options as selected
2005-05-20 17:00:12 +00:00
Ralf Becker
5d763bd11e
corrected a "funny" php5 behavior
2005-05-20 11:24:54 +00:00
Ralf Becker
f34b93e6ae
implemented the possebility to specify the HTMLarea width and height via it's config (default is via the dimensions of the textarea). Needed if the HTMLarea is in a not displayed tab (style="display: none").
2005-05-19 13:22:44 +00:00
Régis Leroy
c14db352f2
add a rule 7) in activities verifications. Start activities must be autorouted and interactive. Just to alert user what he is doing can't work actually.
2005-05-17 21:42:30 +00:00
viniciuscb
729b5d3d7a
VFS SQL2 classes
2005-05-17 14:48:20 +00:00
Régis Leroy
5e51a5d913
Forbidden access to activities assigned to other users or already gone, the engine was too much relying on client datas. Warning the engine compile pre-activity code is changed, you need to recompile all interactive activities.
2005-05-15 18:25:51 +00:00
Régis Leroy
2990191359
thanks to neomagic: syntax fix, still the same old renamed fields error. Actually not very used function, no immediate effect
2005-05-14 21:12:20 +00:00
Ralf Becker
a9e8ee4e1c
some fixes:
...
- using string 'not set' for a not set lastname, as LDAP allows no accounts without lastname.
- addaccount hook was not called if account was auto-created at login-time (as the apps array is not yet read). Atm. app-names with hooks need to be listed here. I just added felamimail, which need to create mailboxes for new users
2005-05-13 16:02:37 +00:00
Ralf Becker
b883eca49d
new auth_ads class:
...
- only needs host- and domain-name
- needs NO extra account on the ADS host
- can be used with accounts in SQL or LDAP to auto-create autheticated users
- new param to lowercase the user-names before auto-creating them (to deal with case-insensitve and case-sensitive system)
2005-05-13 15:58:10 +00:00
Cornelius Weiß
632a990cfb
added support for authentication via cookie. NOTE: you have to enable this in setup if u want to use it.
2005-05-11 18:25:17 +00:00
Régis Leroy
fd9d1b1ceb
galaxia workflow bugfix: non interactive activities should not set the user to the actual user, the user having the role on this activity (to make a manual send for example) can be a different one as this actual user is the one having a role on the prev interactive activity
2005-05-11 14:23:23 +00:00
Cornelius Weiß
bd9f34dbd3
bugfix in password migration
2005-05-10 21:14:20 +00:00
Cornelius Weiß
79c9507039
- massive code cleanup
...
- added md5_hmac auth type
- added support for password migration
2005-05-10 19:00:55 +00:00
Ralf Becker
658e1a78c9
form: empty action uses now PHP_SELF?QUERY_STRING
2005-05-03 14:55:24 +00:00
Ralf Becker
b97d8b5eeb
big documentation update
2005-04-25 10:09:10 +00:00
Ralf Becker
d6ba225257
fix for not working pam-auth if magic_quotes_gpc is on, as suggested by Robert Theisen <trobert@redhat.com> on the developer list
2005-04-15 14:46:29 +00:00
Ralf Becker
327c0765ea
fixed not working charset conversation in setup
2005-04-15 14:01:15 +00:00
Miles Lott
3cfb82e06d
Check for array or object on decrypt/unserialize. Return this even if empty.
2005-04-13 13:03:04 +00:00
Ralf Becker
93c063bd6c
- applied patch from cornelius Weiss: fixes some probs with xmlrpc too
...
- small documentation update
2005-04-13 08:53:42 +00:00
Ralf Becker
b1b41188ad
- added possebility to specify titles for options
...
- fixed typo in class-var $wz_tooltip_included
- fixed left-alignment of inner div of progressbar
2005-04-12 16:30:16 +00:00
Ralf Becker
a828ba73f3
added missing charset-translation of the cn (common name), thanks to Martin Dalum <martin-AT-cabo.dk>
2005-04-12 09:54:07 +00:00
Ralf Becker
167d7e7288
new param. to supply a join for the select method: eg. ",table2 WHERE x=y" or "LEFT JOIN table2 ON (x=y)"
2005-04-08 18:34:49 +00:00
Ralf Becker
2c300e8cd7
fixed bug of not removable apps in the user management
2005-03-30 14:42:32 +00:00
Ralf Becker
bc4501f2e7
added not allways set sync_changedby column, which is required as it is NOTNULL and some code modernisation ;-)
2005-03-30 08:16:31 +00:00
Ralf Becker
404ebd1a5a
new function to get all locations for a given app and user
2005-03-29 15:30:08 +00:00
Régis Leroy
9d9de69793
bugfix: old vars names still there. The ProcessMonitor workflow ui wasn't able to show number of activities per processes. pId->wf_p_id
2005-03-29 13:26:29 +00:00
Régis Leroy
f8b10f7097
Bugfix: user was not setted when forms were launched, this lett multiple users run the same activity on the same instance at the same time. WARNING:: You should recompile all your activities to fix the bug.
2005-03-27 09:03:07 +00:00
Miles Lott
6bcd0f9cfb
cleanup formatting
2005-03-25 09:59:48 +00:00
Ralf Becker
4e2bce12e6
modernized code and fixed problem reported on the list: new installs cant create admin-account due to not longer existing phpgw class in the api
2005-03-24 13:15:12 +00:00
Régis Leroy
4610377a66
fixing ->setOwner which were always setting empty owner
2005-03-17 14:36:06 +00:00
Ralf Becker
1a5243c9c4
_check_script_tags function:
...
1) fixed problems pointed out by gulftech, iframes get now unset too
2) unset variables from _check_script_tags are now found in $GLOBALS['egw_unset_vars'], eg. a posted input-field called content would be found in $GLOBALS['egw_unset_vars']['_POST[content]'] (please not the array is only 1-dimensional!), if it has been unset by check_script_tags
3) speed up the function a bit, by not checking all possible names of the superglobals arrays, if nothing found in $_GET and $_POST
2005-03-15 15:36:44 +00:00
Ralf Becker
7288defaaf
the default value for $accountid has to be '', as get_account_id returns all integer (0 too) unchanged
2005-03-12 17:55:48 +00:00
Ralf Becker
12e4740941
rewrote AND documented the ACL class with new DB functions to fix the problems pointed out by GulfTech
...
I backported them to 1.0.0 too, but will give it a view days testing on my server and egroupware.org, before I commit them
2005-03-12 16:30:25 +00:00
Ralf Becker
8529237f82
changed ACL code to use standard get_grants method from the acl-class, the existing coded tried it on it's own and failed if directories were owned by a group
2005-03-07 17:08:54 +00:00
Ralf Becker
9c091abd5b
upps
2005-03-07 17:06:01 +00:00
Ralf Becker
436a5635d2
1) $GLOBALS['phpgw{_info}'] ==> $GLOBALS['egw{_info}']
...
2) rewrote some methods with new db-functions
3) add possibility to delete an app/location for all accounts
4) fixed get_location_list_for_id() method (it was not returning all locations)
2005-03-07 16:59:32 +00:00
Ralf Becker
275b75be1a
option to show selected items at the top of the multiselect-checkbox
2005-03-05 15:03:01 +00:00
Ralf Becker
0a104f1063
1) $GLOBALS['phpgw{_info}'] ==> $GLOBALS['egw{_info}']
...
2) modernized CreateObject
2005-03-04 20:48:05 +00:00
Ralf Becker
69c93b3f2b
$GLOBALS['phpgw{_info}'] ==> $GLOBALS['egw{_info}']
2005-03-04 15:47:08 +00:00
Ralf Becker
b6883d59e8
1) fixed setup-detection, to allow login into setup again
...
2) $GLOBALS['phpgw{_info}'] ==> $GLOBALS['egw{_info}']
3) moved setup-classes from phpgwapi/inc back to setup/inc (they are not used anywhere else, but in setup)
2005-03-04 12:40:28 +00:00
Ralf Becker
887e71e57e
1) fixed lost egw object if register_globals=On: was caused by the identicaly named session-variable used for php4-sessions (now renamed to egw_session)
...
2) $GLOBALS['phpgw{_info}'] ==> $GLOB ALS['egw{_info}']
2005-03-04 11:33:44 +00:00
Ralf Becker
6b2eb04274
$GLOBALS['phpgw{_info}'] ==> $GLOB ALS['egw{_info}']
2005-03-04 11:30:00 +00:00
Ralf Becker
49c4775efd
seems not to be used (anymore)
2005-03-03 15:20:13 +00:00
Ralf Becker
08bc681ab9
seems not to be used (anymore)
2005-03-03 15:13:30 +00:00
Ralf Becker
8a0ca7a6be
seems not to be used (anymore)
2005-03-03 15:02:28 +00:00
Ralf Becker
8052da02bc
given the regular "you need to port your header ..." message
2005-03-03 11:01:19 +00:00
Ralf Becker
e82027d0cb
changing from
...
1) $GLOBALS['phpgw_info'] to $GLOBALS['egw_info'],
2) $GLOBALS['phpgw'] to $GLOBALS['egw'],
3) PHPGW_ to EGW_ constants
The phpgw ones ars now a reference to the new egw ones, to allow a soft migration
2005-03-03 10:47:28 +00:00
Ralf Becker
d7f1458d1a
new header-template to:
...
1) correct the displayed page-generation-time for idots and jerry
2) use ob_start to get rid of "Header could not be sent, output started at ..." errors
3) changing from $GLOBALS['phpgw_info'] to $GLOBALS['egw_info'], the phpgw one is now a reference to the new egw one, to allow a soft migration
2005-03-03 10:45:52 +00:00
Ralf Becker
37fa750990
1) corrected fix of wrong comparison with NULL in column_data_implode
...
2) allow for null in array in column_data_implode
2005-02-28 11:51:10 +00:00
Lars Kneschke
0b846885ee
add class to handle history of content inside egw
2005-02-27 23:29:40 +00:00
Lars Kneschke
ffc98ddd1f
add 2 function sto handle global UIDs
2005-02-27 23:27:36 +00:00
Ralf Becker
0af62b80b3
fixed wrong comparison with NULL in column_data_implode
2005-02-27 21:27:36 +00:00
Ralf Becker
d9ba5f9ab8
fixed update problem of wiki, RenameColumn could not deal with column-names in mixed case
2005-02-27 19:51:24 +00:00
Ralf Becker
a53e61f903
'vfs_' column-prefix and "new" table-name for egw_vfs
...
- needed for the oracle support
Also put vfs and vfs_shared in one file
2005-02-26 14:00:02 +00:00
Ralf Becker
9a6b90e78f
1) enabled DB support additionaly for:
...
- Oracle via oci8 or odbc extension
- MsSql via odbc extension
2) added checks for the neccesary extension incl. loading them if they are not loaded by default: db extensions and session extension. This is now consitent wiht check_install.
3) sessions class tries now to load the php session extension and silently fallbacks to db-sessions
2005-02-25 07:45:37 +00:00
Ralf Becker
feadf8459e
implemented a multiselectbox with checkboxes:
...
- it looks nearly like a multiple selectbox, eg. scrolls for further lines
- it acts in the same way in forms
- it's NOT identical if using it via javascript
2005-02-24 21:01:13 +00:00
Ralf Becker
b313272616
fallback to db sessions if php's session extension is not loadable, atm. you get cryptic errors, bugs in the bugtracker and mails on the list ;-)
2005-02-21 07:57:41 +00:00
Ralf Becker
c0bed5e88e
added escaping of onclick for buttons
2005-02-20 21:47:14 +00:00
Ralf Becker
844ec779c2
optimized handling of app_session data under php4: previously there was always a copy of the data in $GLOBALS['phpgw_sessions'], which is unnecessary and needs double as much memory. Also changed the name from $_SESSION[phpgw_session] to $_SESSION[egw]
2005-02-18 20:28:06 +00:00
Ralf Becker
c04582258f
1) big documentation update
...
2) image method accepts now:
- image name, search in given app
- URL
- vfs:/ pseudo protocol to access the vfs, eg. vfs:/home/ralf/pic.png
- array with get-vars passed to the link-function for '/index.php'
2005-02-16 13:04:14 +00:00
Ralf Becker
021b1314c7
fix for php5
2005-02-12 14:37:25 +00:00
Ralf Becker
4d498d47cb
updates to work around postgres error while upgrading a phpGW 0.9.14 install
2005-02-10 15:15:29 +00:00
Ralf Becker
b1ed2f8d61
fixed bug [ 1106069 ] bad hypertext link creation when '&' is in the URL
2005-02-09 16:48:30 +00:00
Ralf Becker
c6d1a7e325
select: fixed quoting of option texts in selectbox,
...
htmlspecialchars: dont quote < > as they are already entities
2005-02-09 13:53:16 +00:00
Ralf Becker
8518892d9a
fix for bug [ 1049574 ] Windows does not support dates prior 1970-01-01
...
using adodb's datelibary instead of the regular php-functions: date, mktime, ...
2005-02-09 10:13:24 +00:00
Ralf Becker
bff130735c
automaticaly lowercase column- and tablenames for oracle (as already done for MaxDB) and setting the maximum index length for oracle to 30
2005-02-07 20:28:05 +00:00
Ralf Becker
08285c7bdb
automaticaly lowercase column- and tablenames for oracle (as already done for MaxDB)
2005-02-07 16:56:19 +00:00
Ralf Becker
48ada76f3f
added html fieldset
2005-02-06 15:42:31 +00:00
Ralf Becker
10864e96f8
fixed error with fulltext indexes (eg. in the wiki), when the default-type-type is set to InnoDB, which is eg. the default for some newer windows installs or mysql 4.1.x
2005-02-04 11:13:01 +00:00
dawnlinux
8b24ab5af6
Enable searching the given name when doing a query by alphabet
2005-01-27 01:50:29 +00:00
alpeb
ee0afbc998
Call Activitymanager::replace_activity() with extra parameter to avoid recreation of empty code files
2005-01-17 19:26:13 +00:00
alpeb
a3f705c358
Do not create empty files if called from ProcessManager::new_process_version because they have already been copied (and recompiled with new path for shared code)
2005-01-17 19:22:36 +00:00
Michael Bartz
0af7e47978
Corrected a incorrect field name in the where clause for the search string in list_instances call.
2005-01-14 02:49:08 +00:00
ak703
fb7bb7c599
modified jscal style to a more friendly layout instead of this grey standard
2005-01-12 00:11:12 +00:00
alpeb
d190a689ae
Allow splitting from a split activity to more than two activities, and fixed join activity (it wasn't wating for all incomming actvities to be completed for it to be activated)
2005-01-11 14:34:56 +00:00
ak703
0719a89986
fixed bug #1097058 ldap, adding user to groups changes phpgwaccounttype to u
2005-01-09 17:12:50 +00:00
Miles Lott
8943ece01f
remove last of the global calls
2004-12-29 04:19:56 +00:00
Miles Lott
c3d3c14b68
Clear the _xh accumulator after finished using xml parser
2004-12-29 04:16:58 +00:00
dawnlinux
b305532907
Correct a variable name, it should be "$_account_id" not "$account_id"
2004-12-14 02:12:09 +00:00
Ralf Becker
9dd38aa59a
fixed moving files in filemanger
2004-12-06 14:15:08 +00:00
Ralf Becker
948f739fd6
added a trim to cope with junk after charset name
2004-12-05 16:35:24 +00:00
Miles Lott
70425fa29b
Fix headers and adjust classname in schedule service
2004-11-30 13:40:46 +00:00
viniciuscb
08377c2a40
Change in selection() method to allow non-html return
2004-11-26 13:14:19 +00:00
viniciuscb
d48577b0f1
Changed type of return of input function: can now return an input with html
...
and js together (default, as it had ever been) or can return an array with
html and js parts separed.
2004-11-25 20:39:17 +00:00
raphaelpereira
fcec70607a
Removed print_r() debug line I forgot... sorry!
2004-11-25 20:27:35 +00:00
raphaelpereira
569158098e
- This functionality is already included in class.datetime.inc.php
2004-11-25 19:50:32 +00:00
raphaelpereira
2a09fe8f3e
- Now class.javascript.inc.php automatically loads the specific browser JS,
...
which is located at the same hierarchy, but inside a folder with the name
of the browser. For example:
Usual folder => contactcenter/js/ccQuickAdd/ccQuickAdd.js
Specific Folder => contactcenter/js/ccQuickAdd/mozilla/ccQuickAdd.js
It falls back to the usual folder if there is no specific code.
2004-11-25 19:41:07 +00:00
raphaelpereira
2fc017bf88
- Inserted an array 'zone_list_offset' with all glib compatible timezones...
2004-11-25 18:20:09 +00:00
Michael Bartz
9a6fc2fab8
Fixed two minor typos in column aliases.
2004-11-24 15:57:43 +00:00
Michael Bartz
33578130b4
Added error messages (required when debugging other issues!!)
2004-11-24 15:53:29 +00:00
Michael Bartz
907949ebe5
Added a column variable alias to make it consistent with other resultset variables and integrate with egw.
2004-11-24 15:51:24 +00:00
Miles Lott
fc21d2f9ff
Fix credits due to shared class - please add yourself into the shared class if you were the author
2004-11-22 03:02:42 +00:00
Miles Lott
7b1b090dc9
Add missing credit to the original author, remove author credited in error
2004-11-22 02:53:55 +00:00
Ralf Becker
3b2da86ce2
postgres fix (error in converting varchar to int if >= 100)
2004-11-21 22:40:21 +00:00
Ralf Becker
920af8e10e
support to set the client-encoding (charset) for the DB and select a system-charset (utf-8 or others) at installation time
2004-11-21 10:54:11 +00:00
Ralf Becker
64976f0b1c
support to set the client-encoding (charset) for the DB and select a system-charset (utf-8 or others) at installation time
2004-11-21 09:44:02 +00:00
alpeb
39d7cad85b
Fixed monitor footer stats
2004-11-19 13:32:49 +00:00
alpeb
ec7f2677b3
Delete appropiate instances when deleting processes
2004-11-19 13:32:00 +00:00
Ralf Becker
fa70cfed73
reformatting acording to our standards - someone totaly screed it ;-)
2004-11-19 06:32:10 +00:00
Ralf Becker
54ed54807f
fixed escaping of parameters for the wz_tooltips: single quotes in calendar titles caused all tooltips on that page not to appear
2004-11-17 14:21:43 +00:00
viniciuscb
da954d0f98
get_shares now grings information about owner of the share.
2004-11-16 06:03:42 +00:00
Ralf Becker
f0d65a40f3
added content-type header with correct charset to override the webservers default
2004-11-15 08:51:18 +00:00
Ralf Becker
6ef1f7113c
killed a warning if no table-definition, as requested by Cornelius Weiss
2004-11-12 07:39:07 +00:00
mgalgoci
5be4d30994
Initial check in.
...
fixing the data calculation logic everywhere is gonna suck big time ;-(
2004-11-11 20:36:44 +00:00
Ralf Becker
f8ee85dc81
- optimiced db::row() to use the ADODB fetchmode (via db::next_record())
...
- new param strip for db::row() to strip off common column-prefixes
2004-11-07 14:33:24 +00:00
viniciuscb
762995c5b4
Fix in vfs_sql2 bugs when running in pgsql.
2004-11-05 21:14:10 +00:00
Ralf Becker
aff48bc2cb
killed the debug output, which echoed each line on restore
2004-11-05 09:34:46 +00:00
alpeb
355d32ec28
Applied patch 1058956: use SEP instead of slashes
2004-11-04 17:31:15 +00:00
viniciuscb
78ac3f7122
Fix: Added support for e-mail in user_id.
2004-11-03 21:37:01 +00:00
shrykedude
2cffc50145
Fix for occassional session-verification problem
2004-11-03 05:01:36 +00:00
viniciuscb
7b8bae4f16
Bugs Fixed when executing queries in pgsql
2004-10-30 19:32:52 +00:00
viniciuscb
13badf3a90
gz/bz2 class removed because license is incompatible with gpl.
2004-10-28 19:09:54 +00:00
viniciuscb
0d61ac226a
File Compression classes
2004-10-27 23:37:27 +00:00
raphaelpereira
252075f37a
Classes for vfs sql implementation v2
...
Responsible developer: viniciuscb (Vinicius Cubas Brand)
2004-10-27 23:34:21 +00:00
Ralf Becker
630c88d766
reworked installation/upgrade process to not use delta-updates any more, as we can now reliable read the schema back from our supported databases:
...
- makes update scripts a lot easier and saver
- updates are a lot faster now
==> only the needed update-functions get called
2004-10-23 15:00:44 +00:00
Ralf Becker
fe6b0728de
fix for system with mbstring.func_overload set and NOT using utf-8
2004-10-23 10:53:17 +00:00
Lars Kneschke
a0cfcc38e4
make the clone hack working with PHP5 too
2004-10-21 18:12:11 +00:00
Ralf Becker
1b53a1ce6d
added clone function for php4, use as $db = clone($this->db);
2004-10-19 14:54:57 +00:00
Ralf Becker
940deb08a9
finished DB backup and restore for eGW:
...
- the backup is independent of the used DB and can eg. be used to port an install to an other DB type
- autom. backup before upgrades of the DB structure
- installing backups instead an installation from scratch
- own backup screen in setup and admin to:
+ shedule repeating backups
+ up- and download of backups
+ creating and restoring backups
2004-10-15 23:06:34 +00:00
Ralf Becker
219d169207
let's the asyncservice class run under setup
2004-10-15 22:56:00 +00:00
Ralf Becker
d9b2a23d72
first version of new db-backup class: DB independent backup and restore functions
...
==> can be used eg. to port an eGW installation to a different DB type
Atm. there no UI, but if you uncomment the code behind the class, you can backup and restore via an URL. UI to come soon.
2004-10-14 21:04:03 +00:00
Ralf Becker
a4557c1191
added prepared statements in insert and update for DB's which support it (atm. only MaxDB). Atm this need to be switched on by a parameter, as I still have some problems, it off by default
2004-10-14 20:58:39 +00:00
Ralf Becker
ba55620f3d
fixed the schema-retrival functions for MySql, Postges and MaxDB
2004-10-14 20:55:52 +00:00
Ralf Becker
2740acc03e
fixed the schema-retrival functions for MySql, Postges and MaxDB
2004-10-14 20:35:50 +00:00
Pim Snel
e7f0d8a133
reorderded htmlarea so different htmlarea's can be configured seperately
2004-10-07 23:09:52 +00:00
bgigon
414c78b639
Fix strange bug into crypto api.
...
Somes "ghost" characters appears
2004-09-30 12:11:43 +00:00
bgigon
9d9643a9b5
Fix small display bug if webserver_url isn't set
2004-09-28 13:11:16 +00:00
bgigon
c8b891cb96
Fix display bug
...
(Omar Boumeddane)
2004-09-28 12:27:59 +00:00
bgigon
7e1a268980
Increase visual
2004-09-28 12:26:05 +00:00
bgigon
9cd4505562
Another major fixbug for macOS display :-)
...
Thanks to Omar Boumeddane
2004-09-22 15:33:10 +00:00
Ralf Becker
a52fa703a1
aplied benjamins fix
2004-09-22 15:12:04 +00:00
Ralf Becker
ce279014bc
merged Lars patch, which was only applied to 1.0
2004-09-22 13:46:24 +00:00
Ralf Becker
ac501a1937
use replace for mysql only if the primary keys are included
2004-09-22 10:24:39 +00:00
Pim Snel
8139a1c0f9
add custom_toolbar argument to htmlarea for more developer control
2004-09-21 12:21:24 +00:00
Ralf Becker
e08004b4bc
reworked the vfs_sql class to use the new db-functions, all quoting for the db is now done by them.This fixes some MaxDB problem, which should be a problem at least for postgres as well.
2004-09-20 10:50:46 +00:00
Ralf Becker
88f72fdd51
fix for bug [ 1006205 ] wiki editing broken with Safari
...
- safari gets now recogniced as browser by the html-class
- html::htmlarea show's a textarea if HTMLarea is not availible (suppresses error with safari)
- dont show button to convert to html if:
* HTMLarea is not availible for the browser
* admin disabled it in the wiki configuration
2004-09-19 21:19:00 +00:00
alpeb
e0d1912226
Wasn't finding htmlarea.css when not using /egroupware as base directory
2004-09-19 16:44:27 +00:00
Ralf Becker
35ef5df8a3
fixed MsSQL and MaxDB problem: DISTINCT on text column in function get_installed_charsets
2004-09-19 12:46:22 +00:00
Ralf Becker
33918385fc
fixed 2 other probs:
...
- cat_id is varchar, so the id's in "cat_id IN ('1','2')" have to be in single quotes for MaxDB
- search on text-columns:
* MsSQL need to cast the column to varchar
* MaxDB cant do it at all
2004-09-19 12:34:34 +00:00
Ralf Becker
b125007c92
reworked the contacts class using the new db-functions to fully support MaxDB
2004-09-19 11:33:31 +00:00
Ralf Becker
c6e4fdac77
added some debug and error messages
2004-09-19 10:35:54 +00:00
Ralf Becker
85a946bc5f
enabling prepared statements for MaxDB
2004-09-19 10:32:35 +00:00
Ralf Becker
28ed51f49f
fix for bug [ 1027089 ] ALTER TABLE ... ADD COLUMN ... DEFAULT doesn't work
...
postgres cant add a column with a default in one go
2004-09-19 08:26:45 +00:00
Ralf Becker
355beade2a
using mysql's REPLACE syntax instead of doing first a select to determine if the column exists and then an update or insert accordingly
2004-09-18 15:18:48 +00:00
Ralf Becker
3a3e4810a8
fixed handling of:
...
- updates of blob column for MaxDB
- encoding of blob columns for all DB's
2004-09-18 14:56:18 +00:00
Ralf Becker
4420445e55
ported app-registration functions to new db-functions, as the applications tables contains a text column which need special treatment for MaxDB
2004-09-18 14:55:02 +00:00
Ralf Becker
fcddfff1d8
removed the HtmlTidy plugin from the defaults, as it breaks the source edit mode (<>) if tidy is not installed
2004-09-16 21:40:23 +00:00
Ralf Becker
b8c3adb4d3
killed warning of destroying an uninitialised session:
...
bug [ 1026623 ] Sitemanager site can't be viewed anonymously with PHP session:
- cant reproduce it on my system, but silencing it does no harm
2004-09-13 07:46:36 +00:00
Ralf Becker
257251fe00
fix for bug [ 1022807 ] users with some login names can't login
2004-09-08 13:16:54 +00:00
dawnlinux
954dd1d9ab
Fix the bug: Fail to create text files that contain multibyte
...
characters in filemanager, for exmaple, files that contain Chinese
characters.
Reason for producing the bug: One parameter of "fwrite"
is "strlen ($data['content'])". To multibyte character, "strlen" can
not return its actual length. So "fwrite" cannot write all characters
to the created file.
2004-09-06 03:48:10 +00:00
alpeb
4b6047655f
Big changes everywhere only to support postgres
2004-09-03 22:56:15 +00:00
mgalgoci
a089746e47
fix the fix
2004-08-31 15:18:25 +00:00
mgalgoci
606c1064be
- re-write of the phpgwapi::accounts_ldap::auto_add function
...
- set a default account email address as well as a user preference email
address in the users' preferences
- actually check if the account creation succeeds before we commit the transaction to the database.
- remove some crap and make function readable
2004-08-30 15:16:40 +00:00
mgalgoci
99ffa6ebc1
- re-write of the phpgwapi::accounts_sql::auto_add function
...
- set a default account email address as well as a user preference email
address in the users' preferences
- actually check if the account creation succeeds before we commit the transaction to the database.
- set default name to New User if we have no other data
- remove some crap and make function readable
2004-08-30 15:15:59 +00:00
Ralf Becker
7b6b6d5759
fixed mapping of I4 to INTEGER now, it was mediumint which is a 3-byte interger only
2004-08-30 15:06:05 +00:00
Ralf Becker
c69e9cd32e
implemented a one-click (tm) change between single and multiple account-selection for the calendar
2004-08-29 20:32:56 +00:00
Ralf Becker
df81dc93ab
integrated the HTMLarea plugins into the eGW translation system
...
fixed bug [ 1006205 ] wiki editing broken with Safari
2004-08-29 01:26:42 +00:00
Ralf Becker
b3b3420674
allow sorting after multiple criteria as in sql
2004-08-28 14:44:05 +00:00
Ralf Becker
e109e8c320
removed destroying of the crypto object if the session-verification fails, as it leads to problems in sitemgr creation of anonymous sessions and it get cleaned up anyway by the shutdown function
2004-08-27 18:21:28 +00:00
Ralf Becker
d868007dac
fixed some of our sessions problems:
...
- [ 1015846 ] Registering session MySQL query error
- handlich of timed out sessions for php4 sessions was wrong
==> I can't reproduce any more sessions probs, either with db nor php4 sessions
2004-08-27 13:17:25 +00:00
Ralf Becker
b68f289d87
made the update strategy of setup_process a bit more flexible: update dont need to be in order in the tables_update file any more: if the next update is not the one we need, we search for the right one and start again from there. This is needed to be able to import phpGW versions from after the fork and it simplyfies the update-scripts a lot now.
2004-08-27 10:41:57 +00:00
mgalgoci
18221503b6
- re-write display_fullname to be more readable and suck much less
...
- add support for Lastname, Firstname username account views
2004-08-26 18:47:29 +00:00
Ralf Becker
b3971d810c
RenameColumn no checks if column is used in an index and evtl. rename the column in the index-definition (for the baseline delta)
2004-08-26 14:18:09 +00:00
Lars Kneschke
23046ac0b5
fix for bug [ 1007816 ] error message
2004-08-25 20:04:27 +00:00
Ralf Becker
d5b8419f8d
fixing the fix, now even all sub-arrays get reset
2004-08-24 20:01:49 +00:00
Ralf Becker
e027149a05
fixed delete-problem of anglemail after security update
2004-08-24 10:45:07 +00:00
Ralf Becker
ed8760d199
fixing the fix ;-)
2004-08-23 18:44:37 +00:00
Ralf Becker
d7fc09daef
fixed probs pointed out by Joxean Koret
2004-08-23 18:18:26 +00:00
Ralf Becker
ce8a00c31a
fixed calltime-pass-reference
2004-08-23 09:40:53 +00:00
Ralf Becker
9ed16c7960
fixed probs pointed out by Joxean Koret
2004-08-22 23:14:55 +00:00
Ralf Becker
822506cec0
using native adodb functions for quote and db_addslashes:
...
- qstr() save's one extra call compared to the PEAR function quote()
- dont need substr( ,1,-1) for db_addslashes
2004-08-22 20:30:12 +00:00
Ralf Becker
aa86cc11eb
small fix
2004-08-22 18:32:20 +00:00
Ralf Becker
092bca5805
small fix
2004-08-22 14:14:38 +00:00
Ralf Becker
bb4c9f46d4
also deleting the memberships of a group
2004-08-21 16:17:04 +00:00
Ralf Becker
508cff860c
added configurable search-filter to auth_ldap
2004-08-21 12:18:07 +00:00
Ralf Becker
ec4bf09604
added MetaIndexes function for mssql
2004-08-17 08:21:09 +00:00
Ralf Becker
adf79e6d7e
added code to drop not-depending sequences when droping a table, depending ones cant and dont need to be droped separatly
2004-08-15 19:52:49 +00:00
Ralf Becker
9a67dc3141
import ADOdb 4.52
2004-08-15 18:45:20 +00:00
Ralf Becker
ee3f5cafff
added own MetaType, MetaColumns and MetaColumnNames functions for MaxDB to have better control over the column-types
2004-08-15 18:12:41 +00:00
Ralf Becker
647222728c
fix for MaxDB not returning the primary keys via MetaColumns
2004-08-15 16:20:39 +00:00
Ralf Becker
38a2ea7768
added MetaPrimaryKeys for MaxDB
2004-08-15 16:19:46 +00:00
Ralf Becker
531dbe93c7
added function to read back / import the schema from an existing database (used in setup and db-tools)
2004-08-15 15:43:52 +00:00
Ralf Becker
d5dbb7ef72
new schema_proc class seems to work now
2004-08-13 19:01:03 +00:00
Ralf Becker
1cabb62405
new schema_proc class seems to work now
2004-08-13 18:59:00 +00:00
Lars Kneschke
cd30d6d0ab
call the right function name
2004-08-13 16:27:50 +00:00
Lars Kneschke
11219ead38
add class to authenticate against ADS
2004-08-13 15:53:07 +00:00
Ralf Becker
b4e2d56594
added the missing postgres functions - thought they are not fully testes yet
2004-08-11 23:22:25 +00:00
alpeb
dc410a8ee0
Fixed some translations
2004-08-10 23:41:22 +00:00
alpeb
36a38b9b56
The ProcessManager class is dependant on the RoleManager class (when creating new minors/majors)
2004-08-10 14:08:56 +00:00
alpeb
8a356e7e72
Queries in Galaxia api need ADODB_FETCH_ASSOC set
2004-08-10 14:07:30 +00:00
reinerj
691831c09f
change back the egwhack
2004-08-09 21:28:47 +00:00
Ralf Becker
4dae67c9c0
got updates working again for MaxDB, MySql and MsSql (untested). Now I need to start working on postgres.
2004-08-09 21:20:08 +00:00
alpeb
0a566e4635
Added translation of 'Logout'
2004-08-09 21:18:35 +00:00
reinerj
febeab4d8d
replace the crap
2004-08-09 13:46:03 +00:00
reinerj
d18d0d397e
replace the crap
2004-08-09 13:20:26 +00:00
Ralf Becker
ef53586f0f
documentation update and added $not_null parameter to quote() to control if php null's are written as SQL NULL or not. Is used by column_data_implode to only write NULL in columns which allow to do so
2004-08-08 22:31:41 +00:00
alpeb
52a3cae790
Galaxia workflow api port for egroupware
2004-08-07 19:58:49 +00:00
alpeb
6322ce9832
galaxia workflow api
2004-08-07 19:46:10 +00:00
Ralf Becker
9a58928b81
fix for bug [ 1000255 ] Todo with progress screw formating in calender:
...
- partialy caused by a <div ... /> with no closing </div>
- a table around the icons and title, puts them in one line now
2004-08-07 18:32:03 +00:00
Ralf Becker
c22cba8574
fix for bug [ 998496 ] Session error on logout under https, session-id and loginid are unset, which leads to a pg_atoi: zero length string sql-error. I now dont save anything if there is no sessionid or no loginid
2004-08-07 17:57:26 +00:00
Ralf Becker
4346d06789
fix for bug [ 997669 ] Session Error with db-sessions
2004-08-07 17:44:37 +00:00
Ralf Becker
ce2045bae1
fix for bug [ 1002325 ] Manual error:
...
if session.use_trans_sid was enabled, we created a wrong link for the manual
2004-08-07 13:15:06 +00:00
Ralf Becker
6b8f6a3d87
removing all it's acl-rights if an account gets deleted, admin only removed the run-rights, but not the grants or other rights
2004-08-07 12:46:58 +00:00
Ralf Becker
7cfabeb7c5
writing unset php-variables and thouse set to NULL now as SQL NULL
2004-08-07 11:58:05 +00:00
reinerj
b2b8bd3512
fix from Shain Tancheff
2004-08-07 00:51:29 +00:00
Ralf Becker
e2eed6a73f
killed warnings if executables not found
2004-08-06 12:38:14 +00:00