Ralf Becker
c8e7fdccde
set recommended PHP version to 5.5
2014-06-24 08:42:55 +00:00
Ralf Becker
289de71581
backport of r47147 from 1.8, thought 11.1 or trunk seems not to initialise session
2014-06-03 12:10:20 +00:00
Ralf Becker
11469a741d
fixed typo causing not being able to log in with header-admin-user/password into setup
2014-01-18 10:06:13 +00:00
Ralf Becker
0ca55a1103
* SiteMgr: fixed not working anonymous user and using now a random password
2013-10-15 09:25:49 +00:00
Ralf Becker
eec0972bc0
share cookie with regular EGroupware (required for Stylite hosting)
2013-09-12 15:23:38 +00:00
Ralf Becker
cfd0923c97
need to tell php session to use secure and httponly cookies too
2013-09-11 12:39:32 +00:00
Ralf Becker
ee3544d3d1
fixed language selection got lost
2013-09-11 12:18:40 +00:00
Ralf Becker
eb06a2adee
setup uses now sessions too and password-hashes in header.inc.php use most secure hashing type
2013-09-11 11:35:20 +00:00
Ralf Becker
c44be3ee6d
handle not available AD or LDAP connection with an exception, caught and just displayed within setup, so one can change ip or credentials
2013-06-23 09:58:08 +00:00
Ralf Becker
4037993dc5
* API: full support of active directory as account storage, tested so far with Samba4
2013-05-22 17:22:20 +00:00
Ralf Becker
93710e09e1
* Setup/API: improved diagnostics about db connection problem and not installed EGroupware
...
- removed deprecated egw_db->Halt_On_Error handling in favor of just exceptions
- added a couple of exceptions extending egw_exception_db to be able to detect different problem areas
- fixed setup to use / catch exceptions
- new egw_exception_db_setup displays link to setup below exception message, to cope with no longer allowed html in exception messages
2013-03-05 10:50:43 +00:00
Nathan Gray
6cae734945
Fix historylog, links & categories sticking around if app is deleted
2013-01-14 20:25:37 +00:00
Ralf Becker
ec2ce0f943
* Setup: when migrating accounts from SQL to LDAP or back, also migrate addressbook data
2012-11-19 08:23:09 +00:00
Ralf Becker
a81d7126aa
setting and checking required PHP version of 5.3
2012-10-26 08:50:07 +00:00
Ralf Becker
e23996a45b
using new syntax
2012-06-19 17:43:37 +00:00
Ralf Becker
43092fea2e
setting recommended php version to 5.3, not sure why we havnt done that already
2012-03-11 09:37:38 +00:00
Ralf Becker
c2feef73de
using preferences class to set preferences
2011-06-11 11:53:43 +00:00
Ralf Becker
d5a4b78bae
* fixed "undefined function lang_select" issue, if no cookies are allowed, also showing again language selection for new installs
2011-02-03 02:01:48 +00:00
Nathan Gray
792e0af077
Remove configuration when removing an app
2011-02-02 15:53:45 +00:00
Nathan Gray
18882c57c7
Remove an app's categories when removing the app
2011-02-02 00:45:54 +00:00
Ralf Becker
6154863394
remove hooks of apps, when deleting them (event if sources are no longer there)
2010-09-15 20:09:57 +00:00
Ralf Becker
d6822d9564
- fixed not working accounts::cache_invalidate(): cache is now in regular egw_cache on session level
...
- calling static methods static: accounts::cache_invalidate() or egw::invalidate_session_cache()
- fixed wrong number of deleted items in setup_cmd_ldap sub-comand=delete_ldap
- only use create, if we have an ldap_admin_pw set
- call an add_account hook for each created account, if specified (not by default)
2010-08-29 08:16:27 +00:00
Ralf Becker
9df4f2e93b
setup_cmd_admin execs "admin/admin-cli.php --edit-user" to run all hooks, which can NOT run in setup
2010-08-20 19:28:08 +00:00
Ralf Becker
5973d330fd
setup->setup_account_object() need to load config to $GLOBALS[egw_info][server] too, as eg. auth::encyrpt_password needs the encryption type
2010-05-15 07:56:58 +00:00
Ralf Becker
7d1ac84b67
fixed typo in previous commit: problem pointed out by Nahuel Grisolia <ngrisolia@cybsec.com>
2010-02-13 04:55:34 +00:00
Ralf Becker
8b92fc4998
fixed typo in previous commit: problem pointed out by Nahuel Grisolia <ngrisolia@cybsec.com>
2010-02-13 04:47:01 +00:00
Ralf Becker
aca8b220df
fixed problem pointed out by Nahuel Grisolia <ngrisolia@cybsec.com>
2010-02-13 02:57:22 +00:00
Ralf Becker
a3a3faab22
"using isset($GLOBALS['egw']->accounts) instead of is_object, as egw object always instanciates accounts object (with wrong config) if is_object() is used"
2009-12-07 17:47:57 +00:00
Ralf Becker
5408924afb
All EGroupware apps can now set default and forced preferences on
...
installation time --> nice user experience and cleaner look (by hiding
exotic prefs by focing them to a usual value):
- settings returned from settings hook can contain values for keys
'default' or 'forced'
- if settings hook require part of api or application, which are not
available during installation time: use a method hook (instead of
an old $app/inc/hook_settings.inc.php file), and check if
$hook_param['setup'] is true
- default prefs created so far in setup/admin_account.php got removed
- common prefs in preferences_hooks::settings() got reworked to set
default and forced prefs
- calendar prefs in calendar_hooks::settings() got reworked to set
default and forced prefs
--> I will rework prefs of all our (default) applications according to a
best practice list of Stylite consultants
2009-10-18 12:57:30 +00:00
Ralf Becker
a83a79e167
- setting required php version to 5.2
...
- removing tz_offset default pref and config
- adding tz default pref (defaults to server timezone)
2009-10-12 07:39:47 +00:00
Klaus Leithoff
b0ba5cbf50
log invalid IP Loginattempts to the webservers error_log
2009-08-27 12:35:27 +00:00
Ralf Becker
59b4f49e58
fixed errors in creating the home dirs of standard groups in sqlfs during setup
2008-10-26 07:37:37 +00:00
Ralf Becker
3684010c3b
create home dir for admin created in setup
2008-10-14 16:08:32 +00:00
Ralf Becker
40f013181e
"set recommend php version to 5.2+"
2008-10-14 09:27:10 +00:00
Ralf Becker
9d2016ebf6
- php5 static and protected for egw_framework
...
- new feature allowing apps to specify with index-page and icon to use
--> allows to install sitemgr-link icon without an extra application
(which was a symlink and got lost in every version upgrade)
2008-08-18 09:00:19 +00:00
Ralf Becker
6b631a3dd0
"removed debug messages (error_log)"
2008-06-18 20:00:25 +00:00
Ralf Becker
1ab52586bd
"fixed fatal error \"Exception thrown without a stack frame in Unknown on line 0\", if DB does not exist when calling setup"
2008-04-01 09:16:03 +00:00
Ralf Becker
ea3ae107d1
added minimal egw object (egw_minimal), which is shared between egw and setup
2008-03-22 09:29:29 +00:00
Ralf Becker
d36c179645
fixed account-migration to work with current accounts-class
2008-03-06 20:02:30 +00:00
Ralf Becker
86001bea68
changing the way the account object gets instanciated again a bit, as the new setup stuff wasnt working fully after the last fix
2007-12-14 01:28:33 +00:00
Ralf Becker
1c2a564c14
fixed problem in setup, because of not instanciated account object
2007-12-13 23:42:17 +00:00
Ralf Becker
e3a9dc646f
- installs can now be switched before the install happens to ldap, so all default records get created (eg. sitemgr is working)
...
- new setup command to create an admin user, used eg. from setup-cli.php
2007-12-13 02:41:55 +00:00
Ralf Becker
f2cf788aea
docu update and commented some error_log, which mess up the output of the command line client
2007-12-10 04:54:57 +00:00
Ralf Becker
fc1ce1fa71
removed copy of Template object in setup, using the one in the api
2007-12-09 08:03:56 +00:00
Ralf Becker
a33f2ab12c
fix for bug #518 :
2007-05-08 11:44:43 +00:00
Lars Kneschke
f05bc701a6
reverted to revision 23513
2007-03-19 09:53:03 +00:00
Lars Kneschke
d14d8c7663
merged from trunk
2007-03-19 09:13:57 +00:00
Miles Lott
bdfcc82351
Applied patches from OMGS #61 . Also added nulling of membership key to try to avoid ldap issues on group creation.
2007-03-13 03:20:53 +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
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
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
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
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
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
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
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
021d72b93e
extended the check for (admin-)accounts to other account storages
2005-10-15 07:57:06 +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
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
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
Miles Lott
7c5b4d93c0
Fix for BUG 1167158. Now setting cookie as encoded password vs. plaintext.
2005-05-16 00:42:05 +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
Ralf Becker
7bccad3c7c
removed instanciation of not existing app_registry class
2005-03-04 15:54:15 +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
Miles Lott
01faba0c4d
Moved setup and schema_proc classes to api; reorganize how the setup class
...
is created
2002-03-03 21:53:00 +00:00
Miles Lott
8b54414c64
also check api version for hooks table in deregister_hooks()
2002-02-20 05:19:35 +00:00
skeeter
532993d024
Some major cleanups. Should reduce warnings by 75%. This will speed things up if the admin is logging php errors/warnings.
2002-02-18 16:18:34 +00:00
Miles Lott
92c0e20c12
Adjust banners to credit just about all of the core team...
2002-02-17 20:23:26 +00:00
skeeter
539f13e14d
This might fix some problems with installation under php 4.0.6 versions.
2002-01-30 04:41:44 +00:00
skeeter
298f754424
This will now correctly remove the system level cache. Previous problem was occuring because loaddb() was not called prior to clearing the cache. This also clears up all warning messages being dumped to the HTTP log file.
2002-01-14 12:14:40 +00:00
skeeter
1f4c69b108
This will now clear system/user level cache when adding/deleting apps.
2002-01-13 17:20:33 +00:00
Miles Lott
21f0653bde
Formatting and comment adjustment
2002-01-11 03:40:59 +00:00
seek3r
c13ade18dc
Several fixes in this commit because the switch from sf to savannah had to come from a day old copy of our cvs tree. Much was fixed including email being fixed for PHP3 compatibility, skeeter updated all the setup.inc.php files to say they would be comaptible with the new API version, ceb made fixes to the projects app based on newly submitted bug reports. Im sure there are more but I dont know all the details. Oh, I did add a print_r() to the php3 support files.
2002-01-07 10:50:42 +00:00
Miles Lott
0740e85b12
Switch to local hook function to avoid catch_22/chicken-egg/cart-horse situation
2002-01-05 23:50:18 +00:00
Miles Lott
49f7216e19
Remove unused function
2002-01-02 15:46:17 +00:00
Miles Lott
18a45d4bc5
security fix for php 4.1.0 (?) to verify that what isset() is also !empty()
2001-12-18 02:07:14 +00:00
Miles Lott
a4053a15c4
Missed a global
2001-11-25 02:27:22 +00:00
Miles Lott
592f7ca4f1
Fix selection order of ConfigDomain
2001-11-22 00:50:12 +00:00
Miles Lott
aa32b065bf
more adjustment for globals
2001-11-21 15:01:43 +00:00
Miles Lott
39bd4f6318
check and increment app_id, or set random value if api version >= 0.9.13.015
2001-10-17 18:42:18 +00:00
Miles Lott
93d75f74f5
Allow enter to work for setup or header login, if single domain; fix setting of invalid password message
2001-09-18 12:38:26 +00:00
skeeter
d23736a1dc
Small fix for redeclaring a variable to a different type.
2001-09-18 03:45:22 +00:00
Miles Lott
6471f4d546
Another manageheader fix
2001-09-17 03:25:34 +00:00
Miles Lott
3f389090cc
Fix HeaderPW check
2001-09-17 03:09:47 +00:00
Miles Lott
173d81ab87
register_globals and formatting changes
2001-09-17 02:10:34 +00:00
skeeter
a1d8939e82
Fix for the compare of version function. Was not properly setting testb vars.
2001-09-03 09:50:40 +00:00
Miles Lott
43127662ab
Some more fixes to work with register_globals Off; Change one debug echo.
2001-08-31 22:29:23 +00:00
Miles Lott
e0db915670
Changes to allow register_globals to be off
2001-08-21 18:48:50 +00:00
seek3r
9218a82cbd
this is now setup3 code
2001-07-30 15:59:25 +00:00