Commit Graph

222 Commits

Author SHA1 Message Date
Lars Kneschke
aa55c600be run both pathnames trough realpath to compare equal names 2007-02-11 12:04:15 +00:00
Ralf Becker
e065856c7e automatically adding brackets around the ldap-search-filter, if the admin forgets it 2006-11-12 19:23:28 +00:00
Ralf Becker
3cd3484c2f fixed big bug in setup-cli on updating multiple domains: only the update on the first domain run correct, the further domains only get the version-number upgraded, but not the schema. This is fixed now. 2006-08-30 04:48:56 +00:00
Ralf Becker
6b327c6c4f creating of eg. the files-dir was only tried if the parent dir was writable, which failed if it does not yet exist 2006-07-09 17:24:43 +00:00
Ralf Becker
5fb740f401 some fixes for new installs:
- acl of the anon user gets now set correct
- nopasswordchange ACL for groups get no longer set
- nopasswordchange ACL for user gets only set to 1 (no 0), as in admin
2006-07-09 17:23:35 +00:00
Ralf Becker
11a9afc1ba fixed setup to deal with proxies: behind a non-transparent proxy the cookie domain was wrong, which cause the browser to refuse the setup cookies, which throw you always back to setup login 2006-07-09 06:55:35 +00:00
Cornelius Weiß
d6d795aff7 fix typo found by Ageless 2006-06-28 16:50:05 +00:00
Ralf Becker
8383d58c50 reversed password change ACL from changepassword to nopassword change, to allow eGW users created in LDAP to be full users, without the need to change/add something in the ACL table 2006-06-23 01:27:40 +00:00
Ralf Becker
7b6a2cd289 changing the setup manual url to manual.egroupware.org, as otherwise the www-redirect on egroupware.org removes the get-params 2006-06-10 16:02:00 +00:00
Ralf Becker
e8be3ed748 fixing the fix: -2 has nothing to do with the default group, it is the id for the default prefs 2006-06-09 03:19:54 +00:00
Ralf Becker
6b2d5676f9 - using new accounts::save instead accounts::create
- not setting change password acl for groups
2006-06-08 21:11:07 +00:00
Ralf Becker
a7ecb209a9 - new account-migration script which replace the former import and export
- retired the modifiy script as it's no longer necessary
- removed references and translations of the old scripts
- removed ldap version 3 switch from config
2006-06-07 23:10:06 +00:00
Ralf Becker
df3fb3b9ac rewrite of the accounts classes:
- new cleaner AND documented interfaces
- old interfaces are still availible, but depricated
- LDAP backend stores now membership information in LDAP too, and does NO longer require the phpgwAccount schema
- LDAP backend deals now well with LDAP schema in which posixGroup is no structural object (eg. newer SuSE distros)
- password from users are done now binded as that user, so if you dont need/use our admin to manage accounts, you can give a root-dn which only allows to search&read accounts
2006-06-06 23:44:50 +00:00
Ralf Becker
408a951b23 small fix to be able to upgrade a pre 1.2 header 2006-06-03 14:45:49 +00:00
Ralf Becker
478c9ab8e2 fixed not working --config (after last changes) and added output of (basic) current config 2006-05-31 17:21:25 +00:00
Ralf Becker
7690dd10f7 fixed smal prob with non existing header 2006-05-31 01:55:13 +00:00
Ralf Becker
55b9797a59 got setup command line interface fully working:
- create, edit & update the header
- install & update eGW
- config eGW
- create admin account
- install & update languages
- create & restore (install) backups
---> update, languages & backup can work for all domains at once
---> for use in 1.2 you have to update/switch the whole setup app to HEAD/trunk
2006-05-29 02:56:16 +00:00
Ralf Becker
1a3b8761a6 first step to new setup command line interface (setup/setup-cli.php):
- atm. all manageheader functionality is accessible
- reworked manageheader.php using the new setup_header class shared with setup-cli.php
=> install & update via cli is comming the next days
Works in 1.2 if you drop setup-cli.php and class.setup_header.inc.php in a 1.2 install.
2006-05-28 00:55:41 +00:00
Ralf Becker
8427a186d8 fixed typo 2006-04-09 10:54:46 +00:00
Ralf Becker
77f5b766bd added online help to setup 2006-04-06 11:19:56 +00:00
Ralf Becker
ef14c49e04 - fixed files-directory check for webdav
- fix to keep your settings on a validation error
- make Option filesystem translatable
2006-03-08 09:41:53 +00:00
Lars Kneschke
e890029659 Generate some "out of the box" useable settings
Takes LSB into account
2006-03-05 08:57:16 +00:00
Miles Lott
5f9d52623c Fix minor bug in lang() for common, and update setup's version to match common 2006-02-24 03:06:40 +00:00
Carsten Wolff
99cb0bd567 fixed a handfull of bugs that broke setup/update from 1.0 to 1.2 2006-01-06 16:21:51 +00:00
Ralf Becker
1f8f71de35 fix for not working setup under some versions / compilations of php4 2005-12-01 15:23:49 +00:00
Ralf Becker
7b2b823835 - setup uses now the system_charset, that fixes various errors reported:
+ setup_demo gives errors under postgres
 + setup_demo can save special chars in the admin name
- renamed setup_demo into admin_account, as setting up demo accounts is the least used function of it
- fixed warning db::delete missing params, if delete_all was checked
2005-11-27 07:48:22 +00:00
Ralf Becker
2ee5b02448 fixed bug reported on the list: using (constant) returnvalue as reference is not possible in php4 2005-11-25 09:21:42 +00:00
Ralf Becker
759a50c8c6 fix for 2-digit version-numbers (dependency on 1.2 is ok with a 1.2.xxx version) 2005-11-24 13:07:57 +00:00
Ralf Becker
cde824505e fixed bug of not written domains under windows with new php's:
It's a bit obscure:
$deletedomain='';
$domain='default';
isset($deletedomain[$domain]) === true
under linux this is NOT true
fixed it by using: is_array($deletedomain) && isset($deletedomain[$domain])
2005-11-20 12:43:50 +00:00
Ralf Becker
3b8febb076 1) fixed not working detection of a connection to the db (postgres)
2) fixed detection of table-names with mixed case, which get returned in lowercase
2005-11-19 20:28:39 +00:00
Cornelius Weiß
d4b865c1bd fix: removed debug messages 2005-11-17 10:41:42 +00:00
Ralf Becker
48a95410db added enhanced validation hooks for:
- tmp-dir (writable)
- files- & backup-dir (writable, not in docroot)
- mailserver configuration (also syncs the values with emailadmin)
2005-11-14 14:51:58 +00:00
Ralf Becker
f6e4328f85 phpgw_(app_)sessions --> egw_(app_)sessions 2005-11-13 09:16:31 +00:00
Ralf Becker
44bcc1247d improved docu of prefs class and phpgw_preferences --> egw_preferences 2005-11-13 07:49:56 +00:00
Ralf Becker
8a06c230c4 modernized and documented the hooks-class, phpgw_hooks --> egw_hooks 2005-11-13 06:58:38 +00:00
Ralf Becker
7635fb25c9 phpgw_categories --> egw_categories plus reworked categories class 2005-11-05 22:58:51 +00:00
Ralf Becker
e922cb3e75 1) renamed translation_sql to translation, as translation_file is not used or working (we can allways re-add it)
2) new list_langs function for the TranslationTools, so they dont need to access the languages table direct
2005-11-05 12:50:55 +00:00
Ralf Becker
970a92297e an other big update ;-)
1) phpgw_lang(uages) --> egw_lang(uages)
2) mysql 4.0+
 - charset gets now set for the connect
 - charset gets used for new tables
 - some columns shortend to deal with 1000byte (= 333 utf-8 chars) limit for indexes
 - update to 1.0.1.019 fixes the charset of existing tables
2005-11-04 18:35:09 +00:00
Ralf Becker
c85d34c0fe changed the following table-names:
- phpgw_accounts --> egw_accounts
- phpgw_acl --> egw_acl
- phpgw_log(_msg) --> egw_log(_msg)
- phpgw_config --> egw_config
- phpgw_applications --> egw_applications
This requires code-changes in many apps. Quite often I was able to replace the db access, with calls to the appropreate classes.
2005-11-02 11:45:52 +00:00
Ralf Becker
809bbaccda replaced depricated mcrypt_generic_end, which 4.1.1+ mcrypt_generic_deinit, as it gaves warnings in php5 2005-10-27 09:26:08 +00:00
Ralf Becker
021d72b93e extended the check for (admin-)accounts to other account storages 2005-10-15 07:57:06 +00:00
Miles Lott
09201c7ecb Fix for apps showing post-install dependency failure even though they are not installed. 2005-10-08 14:54:01 +00:00
Lars Kneschke
7a02fe0c6b switch to require to exit with a error when this file is not available
include only generates a warning

see http://php.net/include/
2005-09-01 17:10:09 +00:00
Ralf Becker
2c58feb1e0 fixed unknows method invalidate_session_cache() 2005-07-27 10:59:30 +00:00
Ralf Becker
16bb85a6cc using a (dummy) egw object instead the new one with all the session stuff 2005-07-20 12:46:59 +00:00
petere78
73d74fa0f3 XHTML 1.0 cleanup for setup application 2005-07-11 18:02:19 +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
Ralf Becker
f5956885c1 quitend warning, if no api translation exists 2005-06-17 07:23:24 +00:00
Lars Kneschke
93ac857bd2 as any of the user supplied password and the stored password
can be md5 or clear text, we convert both to md5 and compare always
the md5 hashs
2005-05-29 08:03:01 +00:00
Ralf Becker
3adb0e569a 2 bugfixes and some clean-ups:
- db::Halt_on_Error was not set, because of typo
- new md5 encrypted PW in cookie was again md5 encoded on each submit
2005-05-19 06:32:42 +00:00