Commit Graph

3650 Commits

Author SHA1 Message Date
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
84b5587e81 1) $GLOBALS['phpgw{_info}'] ==> $GLOBALS['egw{_info}']
2) removed loading of required db-extension, as it's now done in the db-class
2005-03-06 21:44:31 +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
zhangweiwu
8150196d52 Add a notice to let users know most documents are currently on wiki site. 2005-03-04 10:36:23 +00:00
zhangweiwu
6242bb0b77 These info are already on wiki 2005-03-04 08:51:31 +00:00
zhangweiwu
bc14599417 again wiki draft 2005-03-04 07:59:01 +00:00
zhangweiwu
0f79fa41f6 Further wiki draft modification 2005-03-04 07:39:53 +00:00
zhangweiwu
11582200b6 Store my wiki draft of modification/correction here temperarelly to the developer's doc before I regain my wiki midification right^_^ 2005-03-04 07:36:04 +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
8149f57cad add new table to keep track of contentchanges 2005-02-27 23:30:55 +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
c351630e88 'vfs_' column-prefix and "new" table-name for egw_vfs
- needed for the oracle support
2005-02-26 13:58:53 +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
811d0fe37c removed this not longer (if ever) used files 2005-02-17 10:33:12 +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
Oscar Manuel Gómez Senovilla
29997ba72f bug 1112125 2005-01-29 19:36:06 +00:00
Oscar Manuel Gómez Senovilla
a06003edef *** empty log message *** 2005-01-29 13:05:52 +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
reinerj
5722e79f41 lang file update Swedish from Marko 2005-01-17 13:31:49 +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
9172c8606e remove border from jscal style blue to be able to define border while embedding.
Make integration in sidemenu, or wherelse, more configurable.
2005-01-13 00:11:35 +00:00
ak703
c7bf33461a changed row_on/row_off to be not so dull greyish, but more light 2005-01-12 13:19:15 +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
ak703
9d2c351fe2 modified little colors to make egw more readable and take off this greyish feeling
after many people here asking for cleaner/brighter interface
2005-01-11 23:58:41 +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
Oscar Manuel Gómez Senovilla
b25004f3e1 *** empty log message *** 2004-12-31 12:03:20 +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
Oscar Manuel Gómez Senovilla
c701fd5a44 *** empty log message *** 2004-12-15 15:30:44 +00:00
dawnlinux
b305532907 Correct a variable name, it should be "$_account_id" not "$account_id" 2004-12-14 02:12:09 +00:00
reinerj
28c16e64b6 update the slovenian lang file from orb_ter 2004-12-07 21:51:19 +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
reinerj
e01031de62 update the slovenian lang file from orb_ter 2004-12-03 22:22:47 +00:00
Miles Lott
70425fa29b Fix headers and adjust classname in schedule service 2004-11-30 13:40:46 +00:00
Oscar Manuel Gómez Senovilla
bfe146ef78 *** empty log message *** 2004-11-27 23:35:32 +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
raphaelpereira
d884b853d9 Corrected pt-br translation 2004-11-24 18:18:32 +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
d649fc878b spellcheck 2004-11-22 03:10:45 +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
Ralf Becker
52fbe1064f fixed wrong content for phrase charset (was a translation of charset and not the used charset) 2004-11-21 09:43:23 +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
7de6ba771f phrases for the multiple account selection 2004-11-09 09:49:52 +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
Ralf Becker
26dee37d3e support for the new 1.0.0 revision 1.0.0.006 2004-11-06 12:22:51 +00:00
raphaelpereira
465041f39c These are the JS classes ContactCenter uses on its interface.
dJSWin -> Javascript Window
dTabs  -> Javascript Tabs Manager
dftree -> Javascript Tree View
wz_dragdrop -> base DHTML manipulation lib
2004-11-05 22:54:41 +00:00
raphaelpereira
2a9e2713b2 This is the image ContactCenter uses for dJSWin instantiation... 2004-11-05 22:49:59 +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
dawnlinux
83ebc41a2d Add title for logo image of template "prisma" 2004-10-29 03:22:13 +00:00
dawnlinux
41d1a5d5d6 close the parenthesis for title 2004-10-29 03:17:34 +00:00
dawnlinux
60751585fa Close the quotes for title 2004-10-29 03:14:39 +00:00
dawnlinux
77f18d4ab9 Add tilte for logo image of template "jerryr" 2004-10-29 03:10:40 +00:00
dawnlinux
eda94088b6 Add title for logo image of template "idots" 2004-10-29 03:07:59 +00:00
dawnlinux
79bac7c40c Add title for logo image of template "edge-it" 2004-10-29 03:05:22 +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
Pim Snel
a5f83f44ed restyled all buttons, feedback is very welcome 2004-10-26 11:25:35 +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
Ralf Becker
be176ff4ed added missing colon to the domain lable 2004-10-23 07:01:17 +00:00
Oscar Manuel Gómez Senovilla
a41f2b461f *** empty log message *** 2004-10-22 19:48:26 +00:00
Oscar Manuel Gómez Senovilla
e4d1f6ea5e *** empty log message *** 2004-10-21 21:30:38 +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
Pim Snel
9739e104a4 cleaned up css-file, make all fontsizes relative for future 508 Accessibility support 2004-10-18 15:49:49 +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
Pim Snel
94b5260a9e wider inputs for login screen 2004-10-15 11:30:32 +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
bgigon
cbdd197322 Update from Omar Boumeddane 2004-10-14 09:07:31 +00:00
shrykedude
e999260d52 Really hide domain selection when not needed; UI cleanup of Login button 2004-10-13 14:49:03 +00:00
kymer
8cdc5262ad Fixed Formatting 2004-10-10 19:42:38 +00:00
Pim Snel
cca7bc4085 sevral fixes for IE and Mozilla 2004-10-08 10:15:51 +00:00
Pim Snel
e7f0d8a133 reorderded htmlarea so different htmlarea's can be configured seperately 2004-10-07 23:09:52 +00:00
Pim Snel
b7d77a8588 fix contextmenu bug when in which occures when in scrolling down in Gecko 2004-10-07 15:34:17 +00:00
reinerj
d251796c54 Lang file update traditional Chinese from Finjon Kiang 2004-10-01 10:56:14 +00:00
bgigon
1b119f58d5 Update template 2004-09-30 13:23:31 +00:00
bgigon
414c78b639 Fix strange bug into crypto api.
Somes "ghost" characters appears
2004-09-30 12:11:43 +00:00
bgigon
f518db0997 Update 2004-09-30 08:54:24 +00:00
bgigon
d1c003d999 Readding files 2004-09-29 13:49:53 +00:00
bgigon
d817f44a22 Modifications templates
(Omar Boumeddane)
2004-09-29 08:37:52 +00:00
Pim Snel
29969f360d new witch login box, we need more space 2004-09-28 21:50:33 +00:00
Pim Snel
9667feeebf htmlarea.js 2004-09-28 21:30:52 +00:00
Pim Snel
2a5bd05ad0 UploadImage now works in IE too,
Code cleanup
IE resizing bug fixed
2004-09-28 21:06:25 +00:00
bgigon
9d9643a9b5 Fix small display bug if webserver_url isn't set 2004-09-28 13:11:16 +00:00