Commit Graph

2361 Commits

Author SHA1 Message Date
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