Ralf Becker
84ab716959
$GLOBALS['phpgw --> $GLOBALS['egw
2005-06-20 07:51:01 +00:00
Lars Kneschke
d43bf7d44f
first commit of syncml code
2005-06-19 19:00:58 +00:00
Lars Kneschke
f354eacf66
the best of my and ralfs version
2005-06-19 18:07:06 +00:00
Ralf Becker
d4760bb15c
renamed our db-class to egw_db to allow easier integration of other code (eg. Lars SyncML stuff which is partially from horde)
2005-06-19 12:43:00 +00:00
viniciuscb
0a28f3812e
Some changes:
...
- Inclusion of the following javascript directories:
* Connector: javascript object to interface xmlhttprequest object. This object allows
asynchronous posts and support for messages while this post is being done, such as
"wait, contacting server", etc.
* JsAPI: general javascript functions and methods
* jsolait: performs conversion from a xmlrpc message to a javascript object
* xmlRpcMsgCreator: performs conversion from a javascript object to a xmlrpc message
* dynapi: cross-browser class to draw layers
- Update in setup version: now is 1.0.1.008; Update your versions. There was made a
change in phpgw_vfs2_files table in handling of modified files.
- Upgrade of vfs2 classes and PclZip class
- Changes in javascript object and common object to allow the javascript backend to
applications to work (now just filescenter will use it...)
2005-06-18 20:43:14 +00:00
Ralf Becker
332c9c41df
to work around the not terminated sessions (because php is configured by default only to check it on every 100th session-creation), we terminate now all timed out sessions when a list of sessions is requested
2005-06-18 06:38:29 +00:00
Pim Snel
1d68ccb070
replace hardcoded links to home.php with links to home/index.php
2005-06-15 11:16:27 +00:00
Ralf Becker
fd5576e3ee
- phpgw --> egw
...
- fixed a problem php5 complained about, which is present in php4 too: arrays in $GLOBALS[egw][server] are NOT unserialized. As this seems to be only used for the lang_ctimes, I just took care of it here
2005-05-31 13:52:14 +00:00
Ralf Becker
a3fb79a6a4
fixing the fix ;-) now it's working in php4 + 5
2005-05-30 14:18:23 +00:00
Lars Kneschke
402d3b60e8
little type
2005-05-29 11:23:51 +00:00
Pim Snel
d9ec1f87e2
Initial addition of the savant2 template engine and the egw-wrapper class.tplsavant2.inc.php Enjoy ;)
2005-05-26 19:38:09 +00:00
petere78
c9e47a1f28
Fix broken PAM authentication
2005-05-24 13:00:13 +00:00
Ralf Becker
f2a058fccf
modernized asyncservice class and renamed phpgw_async to egw_async
2005-05-23 18:57:58 +00:00
Ralf Becker
8f2420541a
fixed generation of options in select-boxes: now 0 == '0' != '' when marking options as selected
2005-05-20 17:00:12 +00:00
Ralf Becker
5d763bd11e
corrected a "funny" php5 behavior
2005-05-20 11:24:54 +00:00
Ralf Becker
f34b93e6ae
implemented the possebility to specify the HTMLarea width and height via it's config (default is via the dimensions of the textarea). Needed if the HTMLarea is in a not displayed tab (style="display: none").
2005-05-19 13:22:44 +00:00
Régis Leroy
c14db352f2
add a rule 7) in activities verifications. Start activities must be autorouted and interactive. Just to alert user what he is doing can't work actually.
2005-05-17 21:42:30 +00:00
viniciuscb
729b5d3d7a
VFS SQL2 classes
2005-05-17 14:48:20 +00:00
Régis Leroy
5e51a5d913
Forbidden access to activities assigned to other users or already gone, the engine was too much relying on client datas. Warning the engine compile pre-activity code is changed, you need to recompile all interactive activities.
2005-05-15 18:25:51 +00:00
Régis Leroy
2990191359
thanks to neomagic: syntax fix, still the same old renamed fields error. Actually not very used function, no immediate effect
2005-05-14 21:12:20 +00:00
Ralf Becker
a9e8ee4e1c
some fixes:
...
- using string 'not set' for a not set lastname, as LDAP allows no accounts without lastname.
- addaccount hook was not called if account was auto-created at login-time (as the apps array is not yet read). Atm. app-names with hooks need to be listed here. I just added felamimail, which need to create mailboxes for new users
2005-05-13 16:02:37 +00:00
Ralf Becker
b883eca49d
new auth_ads class:
...
- only needs host- and domain-name
- needs NO extra account on the ADS host
- can be used with accounts in SQL or LDAP to auto-create autheticated users
- new param to lowercase the user-names before auto-creating them (to deal with case-insensitve and case-sensitive system)
2005-05-13 15:58:10 +00:00
Cornelius Weiß
632a990cfb
added support for authentication via cookie. NOTE: you have to enable this in setup if u want to use it.
2005-05-11 18:25:17 +00:00
Régis Leroy
fd9d1b1ceb
galaxia workflow bugfix: non interactive activities should not set the user to the actual user, the user having the role on this activity (to make a manual send for example) can be a different one as this actual user is the one having a role on the prev interactive activity
2005-05-11 14:23:23 +00:00
Cornelius Weiß
bd9f34dbd3
bugfix in password migration
2005-05-10 21:14:20 +00:00
Cornelius Weiß
79c9507039
- massive code cleanup
...
- added md5_hmac auth type
- added support for password migration
2005-05-10 19:00:55 +00:00
Ralf Becker
658e1a78c9
form: empty action uses now PHP_SELF?QUERY_STRING
2005-05-03 14:55:24 +00:00
Ralf Becker
b97d8b5eeb
big documentation update
2005-04-25 10:09:10 +00:00
Ralf Becker
d6ba225257
fix for not working pam-auth if magic_quotes_gpc is on, as suggested by Robert Theisen <trobert@redhat.com> on the developer list
2005-04-15 14:46:29 +00:00
Ralf Becker
327c0765ea
fixed not working charset conversation in setup
2005-04-15 14:01:15 +00:00
Miles Lott
3cfb82e06d
Check for array or object on decrypt/unserialize. Return this even if empty.
2005-04-13 13:03:04 +00:00
Ralf Becker
93c063bd6c
- applied patch from cornelius Weiss: fixes some probs with xmlrpc too
...
- small documentation update
2005-04-13 08:53:42 +00:00
Ralf Becker
b1b41188ad
- added possebility to specify titles for options
...
- fixed typo in class-var $wz_tooltip_included
- fixed left-alignment of inner div of progressbar
2005-04-12 16:30:16 +00:00
Ralf Becker
a828ba73f3
added missing charset-translation of the cn (common name), thanks to Martin Dalum <martin-AT-cabo.dk>
2005-04-12 09:54:07 +00:00
Ralf Becker
167d7e7288
new param. to supply a join for the select method: eg. ",table2 WHERE x=y" or "LEFT JOIN table2 ON (x=y)"
2005-04-08 18:34:49 +00:00
Ralf Becker
2c300e8cd7
fixed bug of not removable apps in the user management
2005-03-30 14:42:32 +00:00
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
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
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
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
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
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