Commit Graph

3558 Commits

Author SHA1 Message Date
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
f7892bcce2 setting egw_api_content_history.sync_{added|modified|deleted} to NOTNULL, as the code only sets one timestamp (mysql does not care about NOTNULL, but eg. postgres does) 2005-03-30 07:36:17 +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
Oscar Manuel Gómez Senovilla
f2a93fa910 *** empty log message *** 2005-03-26 22:00:50 +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
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