Commit Graph

2441 Commits

Author SHA1 Message Date
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
Ralf Becker
0bd82f3ab8 a bugfix in select and some MaxDB stuff 2004-08-05 15:31:55 +00:00
Ralf Becker
9c5edb9b04 reworked to use the new db-functions 2004-08-04 15:34:14 +00:00
Ralf Becker
5d5730d813 improved handling of schema-files on system startup or in setup 2004-08-04 15:33:42 +00:00
Ralf Becker
ccb4700624 removed unnecessary ';' in query in register_hooks, MaxDB treats them as SQL-errors 2004-08-04 10:30:47 +00:00
Ralf Becker
ff1cf940cc moved special insert_id handling for postgres into ADOdb, added workaround for updates of text/LONG columns in MaxDB to db::update 2004-08-03 23:06:37 +00:00
Ralf Becker
ecf1fd06eb MetaIndexes and _insert_id functions added 2004-08-03 23:04:29 +00:00
Ralf Becker
5f8de74a2a added table and colum as parameter to Insert_ID() to correctly retrive the id under postgres and MaxDB 2004-08-03 23:03:38 +00:00
Ralf Becker
1ef5e6e3ad small fix 2004-08-03 22:53:45 +00:00
Ralf Becker
d757e35973 reworked so-layer for MaxDB and new db-functions 2004-08-03 22:52:55 +00:00
Carsten Wolff
00ce9a3181 vbXMLRPC needs a slightly different dateformat. 2004-08-03 16:09:27 +00:00
Ralf Becker
2d11bcec04 re-added (to be able to make patches agains 4.51) the sapdb change 2004-08-02 08:34:09 +00:00
Ralf Becker
b3d517a98c imported version 4.51 of ADOdb 2004-08-02 08:30:47 +00:00
Ralf Becker
d4167b6c44 fixed double serialisation of times and data (leftover from old code)
Thanks alpe for the notice
2004-08-01 17:19:47 +00:00
Ralf Becker
9352bd53c4 replaced unnecessary ereg_replace, which caused trouble with mbstring.function_overload=7 2004-08-01 08:09:35 +00:00
Ralf Becker
bb9f10fb29 removed ereg_replace which causes problems with multibyte charsets and mbstring.function_overload=7 2004-08-01 08:05:44 +00:00
Ralf Becker
a4181bf0a8 reverted omgs's changes 2004-07-31 21:36:54 +00:00
Oscar Manuel Gómez Senovilla
e15e152369 *** empty log message *** 2004-07-31 19:55:06 +00:00
Ralf Becker
7e1da8f7ad 1) fix for cookie domain, when using a proxy which rewrites the host-name
2) also applied Benjamins fix for the link function from the 1.0 branch - thought I dont know what it fixes ;-)
2004-07-31 10:14:52 +00:00
Ralf Becker
be01760302 removed manual acl-settings for auto-created accounts, as suggested by Matthew Galgoci 2004-07-31 09:28:28 +00:00
alpeb
6d36e3afaa Changed param comment of function input: funtion should expect time in server's timezone instead of users localtime; the conversion to user's localtime is taken care inside the function when calling common->show_date 2004-07-30 00:24:12 +00:00
Ralf Becker
8286bb3dc6 fixed typo 2004-07-25 20:05:28 +00:00
Ralf Becker
788440b69d fixed get_list, which was only returning groups if 'both' were requested, which caused eg. in calender only groups to be selectable 2004-07-25 15:51:54 +00:00
Ralf Becker
c591c2c221 fixed / added mssql support for egw and fixed some other Windows probs on the way ;-)
- knowledgebase is not working: select distinct is not possible with text-columns
- fudforum is not working: is does not use ADOdb and has no own db-layer for mssql
- other apps seem to work, everthing needs through testing - incl. our "old" db's
2004-07-25 01:41:37 +00:00
Ralf Becker
968f1ccf91 fixed bug [ 991222 ] Error uploading file -
thought the whole class need to be reworked with the new db-functions
2004-07-24 20:29:15 +00:00
Ralf Becker
8107e51abc removed wrong semicolon bedind the sql queries 2004-07-23 00:59:44 +00:00
Ralf Becker
29594f2771 added 'async_' prefix to column-names of phpgw_async, as 'id' is a reserved word in sapdb 2004-07-23 00:46:01 +00:00
Ralf Becker
d5c32df4e3 first version of data-dictionary for sapdb 2004-07-23 00:41:24 +00:00
Ralf Becker
1a585efd36 fixed the code, which was not working after the right table-name was used ;-)
dont think that part is used anyhow
2004-07-22 18:40:19 +00:00
Carsten Wolff
42142322b4 now that the old db-classes are gone, we can put function name_quote to use. 2004-07-22 08:22:52 +00:00
alpeb
efe5157b83 fixed typo that wasn't allowing phpmailer to authenticate to smtp server when needed 2004-07-21 21:15:54 +00:00
Ralf Becker
5f0e998729 fixed wrong name of config-table 2004-07-21 13:53:31 +00:00
Ralf Becker
de506124a3 fixing bug [ 992090 ] Could not log out
At that time, there is no account-id set which results in an empty string, what pgSql dont likes in integer fields. Casting it to int now.
2004-07-21 10:12:58 +00:00
bgigon
4e6fa932cb Add feature "rejected line"
Somes lines has been rejected.
This features warn admin directly
2004-07-20 16:11:31 +00:00
Ralf Becker
bfab7d5a46 changed quoting for wz_tooltips to allow linebreaks 2004-07-19 15:19:02 +00:00
Ralf Becker
04650e3680 re-read job, in case it had been updated or even deleted in the method 2004-07-12 23:46:54 +00:00
Ralf Becker
eba1ec911f fixed name2id for groups (was still the old variable-name) and limited id2name & name2id for groups on certain fields only 2004-07-12 21:25:51 +00:00
Ralf Becker
c7280a44a9 created new colorpicker for eGW based on the one from htmlArea 2004-07-12 18:50:39 +00:00
bgigon
fcd6d6a807 Add features translations for templates 2004-07-12 10:49:35 +00:00
Ralf Becker
f7d51c9e57 fixing probs with debian woody which is php >= 4.1.1, but lacks mcrypt_generic_deinit 2004-07-11 13:37:30 +00:00
Carsten Wolff
23cbfee599 somtimes less is more ... do not confuse users with just doing nothing, just because he likes to type phonenumbers with an extra space 2004-07-11 13:35:22 +00:00
Carsten Wolff
f2b7d8deda Fix for the same bug as after the last import of a new adodb-version.
I wonder, if someday all will start to patch instead of overwriting and committing.
Anyway, this bugfix will be part of the next ADODB release. See:
http://phplens.com/lens/lensforum/msgs.php?id=9849
2004-07-11 11:38:59 +00:00
Ralf Becker
e5d689cb9f added smtp-auth configuration to email and API's send-class (translations for that are moved to admin, as the config is now in Admin >> Site config and only for confinience accessible via Admin >> Email >> Site config too 2004-07-11 08:33:28 +00:00
Ralf Becker
5ea042041c fixed not showing up langs like 'es-ca' which hasn't been in phpgw_languages (or only as just 'ca') 2004-07-10 10:59:37 +00:00
Ralf Becker
551c66d68e change to make sure eg. '1.0.0' is counted less the '1.0.0.xxx' ! 2004-07-10 10:56:09 +00:00
Ralf Becker
0a5573a0fe 1) using hint-values of auth class about name, group, email, primary-group in $GLOBALS['auto_create_acct'], as the sql-class already does
2) using default group as specified in Setup >> Configuration for the primary group too, if none is given, this should fix also bug [ 958418 ] Registration problem with LDAP accounts
2004-07-10 08:25:02 +00:00
Ralf Becker
ee82c376f6 using default group as specified in Setup >> Configuration for the primary group too, if none is given 2004-07-10 08:22:07 +00:00
Ralf Becker
e1599a19c0 fix for big files in web_dav as suggested by bug [ 964418 ] Downloading large files through webdav fails 2004-07-10 08:01:25 +00:00
Ralf Becker
8e71034baf fix for binary data stored in database as describt in bug [ 985874 ] Can't store files in database 2004-07-10 07:51:29 +00:00
Ralf Becker
c8b165acae fixed typo 2004-07-10 07:50:16 +00:00
Ralf Becker
ec9ef473ce imported ADOdb ver. 4.50 which should solve many php5 probs 2004-07-10 07:19:40 +00:00
Ralf Becker
759d1d4f17 fixed bug with not working language-selection and SQL error because of empty session-id in phpgw_app_session 2004-07-09 15:17:04 +00:00
Ralf Becker
0ce4cbad1a and the status 2004-07-08 17:30:37 +00:00
Ralf Becker
36eea9746e fixed unencrypted password on creation of new users 2004-07-08 17:25:53 +00:00
Ralf Becker
b24f796eb2 killed some warnings with mb_string activated: haystack is empty 2004-07-08 12:36:21 +00:00
Ralf Becker
3a14a39902 reverted rev. 1.13 changes (primary group not preselected) and fixed bug which caused groups with no app-permission to to be displayed if the selection requires app-permission 2004-07-08 09:58:11 +00:00
Ralf Becker
4a5d497a6e killed debug message 2004-07-07 09:43:01 +00:00
Ralf Becker
691d107ca6 fixed bug in acccounts::search: first accounts got overwritten by groups, eg. they were not selectable in the calendar on editing/adding an event 2004-07-07 09:41:00 +00:00
Ralf Becker
c0c8206f2a fixed bug in user-creation reported by Chris Kretas (was introduced in the last commit / after RC6) 2004-07-06 12:42:56 +00:00
bgigon
d0387ffc5e Fix little bug in links (keep query) 2004-07-06 11:58:12 +00:00
bgigon
554a213fe3 Add a protection against overload when we launch for first time the account-page-selection. 2004-07-06 11:48:09 +00:00
bgigon
9d3eac79ed Add more translation (lang_lastname and lang_firstname) 2004-07-06 11:34:49 +00:00
bgigon
9666206080 Fixbug for Arrow "next" / "prev" 2004-07-06 10:11:46 +00:00
bgigon
4681236b1d Keep prev query 2004-07-06 09:16:28 +00:00
Ralf Becker
9858417a99 not used any more and it depended on the (old) manual app 2004-07-05 10:24:16 +00:00
Ralf Becker
d4d2f53405 was never used 2004-07-05 10:15:39 +00:00
Ralf Becker
a978d214ad killed the debug-messages and added some more comments 2004-07-05 10:13:56 +00:00
Ralf Becker
9b6952ec0b New send class, which just implements the old interface (msg-methode) on top of the PHPMailer. It gets it's configuration from Admin >> Site configuration and does NOT depend on one of the email-apps anymore. 2004-07-05 10:11:11 +00:00
Ralf Becker
a81630aad0 removed old / non-adodb db-classes and -code 2004-07-04 18:46:54 +00:00
Ralf Becker
c4326776b2 fixed error in caching of sub-queries 2004-07-04 18:34:18 +00:00
Ralf Becker
13bcfd8318 fixed wrong ldap attribut-names 2004-07-04 18:32:29 +00:00
Ralf Becker
b40f691a78 fix to be able to use the new select, update, ... functions during eGW startup (eg. accounts-class) 2004-07-04 17:31:12 +00:00
Ralf Becker
e7917423a5 added extra label and fixed group-selection 2004-07-04 17:28:57 +00:00
Ralf Becker
8bfb6cfb07 added email-address to the accounts-data (ldap untested so far!) 2004-07-04 17:27:42 +00:00