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