Commit Graph

536 Commits

Author SHA1 Message Date
Ralf Becker
3ec3c205ee created a rpm post script to automatic install or update EGroupware:
- cleaned up exceptions in cli code (no need to log, as it goes direct to the user)
- regarding small rpm redirect header (< 200 bytes) as no header
- fixed wrong detected vars for cli install (eg. webserver_url)
- fixed egw_cache to not stall if system_charset is not yet in db
2009-05-30 20:15:31 +00:00
Ralf Becker
6503d6d0cc - updated documentation
- add feature to allow apps to choose to be automatic installed on
  updated: $setup_info[$app]['autoinstall'] = {true|'1.x.xxx'};
- run default_records.inc.php (if exists) also for apps without tables,
  as they might need to initialise some stuff
2009-05-28 11:33:30 +00:00
Ralf Becker
e763445dee "do NOT run an update, if none necessary" 2009-05-25 07:44:03 +00:00
Ralf Becker
6d72b2b297 - fixed in some cases not working setup-cli (domain not detected)
- make update a separat setup-cmd-object
- fixed handling of egw_exception_wrong_userinput, to not include a
  trace (which is unneeded for regular input-validation)
2009-05-25 06:39:38 +00:00
Ralf Becker
2175ee37b0 "allow to call directly via setup-cli" 2009-05-24 13:41:39 +00:00
Ralf Becker
9ebd2fab61 "new sub-command to drop database and user" 2009-05-21 22:16:09 +00:00
Ralf Becker
aca05a32e3 using new check_load_extension function 2009-04-20 12:43:44 +00:00
Ralf Becker
bf036043b2 - making all methods of translation class static
- caching the phrases in new egw_cache on Tree level
--> a good speed improvment on my devel system
- also added a global function
check_load_extension($extension,$throw=false)
2009-04-20 11:59:39 +00:00
Ralf Becker
cddd95b571 allow to set language via setup-cli 2008-11-23 16:46:32 +00:00
Ralf Becker
6e3c8ceda2 "allow setting install-id and vfs-root-user" 2008-11-23 13:09:51 +00:00
Ralf Becker
d379065824 "need to use verbose parameter for restore too" 2008-11-23 13:09:16 +00:00
Ralf Becker
92c5157b90 add grant host to db creation 2008-11-18 19:58:11 +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
214afe0bd5 datetime --> egw_datetime 2008-10-21 14:22:27 +00:00
Ralf Becker
3684010c3b create home dir for admin created in setup 2008-10-14 16:08:32 +00:00
Ralf Becker
cd781c228c Only check for smtp server. As Klaus is going to create an emailadmin
profile allowing the user to set there own profiles and signatures, if
no default imap server is defined in setup.
2008-10-14 14:34:41 +00:00
Ralf Becker
40f013181e "set recommend php version to 5.2+" 2008-10-14 09:27:10 +00:00
Ralf Becker
025b54917a new translation and removing not longer used ones 2008-10-09 17:08:52 +00:00
Ralf Becker
b6996bee01 reworked manageheader:
- removed include_root (is now always identical to server_root)
- removed mcrypt_version (not relevant to todays php versions)
- replaced session_type with session_handler
- look is now a bit more like setup and eGroupware itself
--> updated header-version to 1.29 forcing everyone to update
2008-10-09 16:22:42 +00:00
Ralf Becker
9e3281799f Allow to change the where VFS stores the content of files:
1. filesystem (default)
2. database (problems with files > 1mb)
3. custome set via filemanager/cli.php mount
--> If you can only access the docroot, you can use 2. AND set the files
directory to the path for temp. files
2008-10-02 15:30:44 +00:00
Ralf Becker
8d7c57e253 small fix 2008-10-02 15:27:39 +00:00
Ralf Becker
dd50a906a2 Patch from Raphael Alla allowing to specify mysqlt direct in header-admin 2008-09-27 06:56:36 +00:00
Ralf Becker
da43ab71f8 "- calling setup_header methods via magic __call method, to allow classes to extend this command and alow overwrite the setup_header methods
- added new session-handler config var"
2008-08-20 09:01:29 +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
5447cd6a6d "setting currentapp='setup' for setup" 2008-08-13 07:19:32 +00:00
Ralf Becker
f4d11dc778 "fix from Frank Jas, Ontelix for renamed emailadmin bo class" 2008-06-30 07:50:29 +00:00
Ralf Becker
6b631a3dd0 "removed debug messages (error_log)" 2008-06-18 20:00:25 +00:00
Klaus Leithoff
01c02fe075 bugfix: missed that emailadmin.bo while doing the class rename 2008-06-09 06:23:53 +00:00
Klaus Leithoff
f4f0470b16 general stuff:
--------------
-emailadmin classnames
YOU MAY HAVE TO RUN "SEARCH AND REGISTER ALL HOOKS OF ALL APPLICATIONS"
2008-06-05 14:08:17 +00:00
Ralf Becker
a5a7c2d30e Additional password crypt types for ldap:
- MD5_CRYPT (9 char salt prefixed with $1$)
- BLOWFISH_CRYPT (16 char salt prefixed with $2$)
- EXT_CRYPT (9 char salt, no prefix)
2008-05-31 06:25:04 +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
Nathan Gray
c53cf5cee5 Allow applications with setup in their name to be setup 2008-02-27 16:07:35 +00:00
Ralf Becker
c27c36286e allow to call command objects via setup-cli 2008-01-14 05:44:32 +00:00
Ralf Becker
86621d7fe2 moved randomstring method to admin_cmd 2007-12-22 03:21:07 +00:00
Ralf Becker
125c300182 fixed detection of running inside eGroupWare, as debian package sets up a header.inc.php without domains, also allow to access header with password direct specified and not as hash (secret) 2007-12-21 01:54:20 +00:00
Ralf Becker
ed4a2eabd0 returning install_id too 2007-12-21 01:51:47 +00:00
Ralf Becker
d74bd8e3aa reworked the access for showheader comand a bit 2007-12-18 23:13:59 +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
6651f0efc4 fixed problem in setup, because of not instanciated account object 2007-12-13 23:46:44 +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
573e27ad2e "egw_db::create_database gives no returnvalue, so we need to test the new db by connecting to it" 2007-12-11 01:43:18 +00:00
Ralf Becker
f0e0d84e55 next step config is now also a command object and added better&shorter passwords 2007-12-11 01:28:07 +00:00
Ralf Becker
ab3c470388 moved check_dir to setup_detection, to have it available inside and outside of setup 2007-12-11 01:15:02 +00:00
Ralf Becker
0276cfae19 new setup command object to install, used in setup-cli so far 2007-12-10 04:59:01 +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
3a6b8ce799 typo 2007-12-09 22:48:53 +00:00
Ralf Becker
e1c115d310 docu update 2007-12-09 19:00:16 +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
b96ebc16fc new command objects to install an instance: create database, ldap structur, create/edit header (used by setup-cli too) 2007-12-09 08:03:15 +00:00
Ralf Becker
1151deace4 added option to showheader command to only transfer the remote_hash and not the whole header 2007-12-07 00:07:08 +00:00
Ralf Becker
cae8bb40a8 added draft of an exception class for eGW, plus a global exception handler and replaced the fatal errors in the db-class plus the application rights check in the egw object with exceptions, modified the exceptions in admin_cmd* to use egw_excpetion*, instead just Exception 2007-12-06 08:00:41 +00:00
Ralf Becker
4f77162f64 first version of a setup command that can run via admins remote command execution 2007-12-05 02:27:49 +00:00
Ralf Becker
90f39cef39 "encryption" type plain for sql and ldap, to allow to store the passwords readable 2007-11-06 11:16:34 +00:00
Ralf Becker
c8eec1ae36 "fixed not working language selection after changeing the lang-filenames from phpgw_XX.lang to egw_XX.lang" 2007-10-31 07:50:56 +00:00
Oscar Manuel Gómez Senovilla
7bbfae68c6 Changes in setup to handle egw_ prefix in lang files 2007-10-14 16:13:50 +00:00
Klaus Leithoff
319f1ee907 Small Bugfix for the call of the setup-cli.php script. When checking the enviroment as command-line call DOCUMENT_ROOT is not set. The empty string
results in an error stating, that the path provided for tmp/file/backup is in DOC_ROOT. This is fixed now.
2007-09-19 12:23:07 +00:00
Ralf Becker
a33f2ab12c fix for bug #518: 2007-05-08 11:44:43 +00:00
Ralf Becker
1e0f7c71e8 allow to uninstall apps with dependency failures or which sources are no longer there, plus some missing translations 2007-05-08 09:53:11 +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
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
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
729b34782e fix of last commit, was setting up a reference to itself and not to the old phpgw_info 2005-03-25 09:21:23 +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
c205597803 missed a view: $GLOBALS['phpgw{_info}'] ==> $GLOBALS['egw{_info}'] 2005-03-04 15:00:33 +00:00
Ralf Becker
5f71a7e50a fix to work with an old header (to be able to upgrade) 2005-03-04 14:44:21 +00:00
Ralf Becker
54061abe26 missed a view: $GLOBALS['phpgw{_info}'] ==> $GLOBALS['egw{_info}'] 2005-03-04 14:43:14 +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
071edecfe0 Add new file to check configured items, including files directory and mcrypt tests; use with newconfig.php, to be renamed to config.php if this works for everyone. 2004-11-20 15:09:20 +00:00
reinerj
9c7206f15f replace the bad word 2004-08-31 18:15:53 +00:00
Ralf Becker
5ea042041c fixed not showing up langs like 'es-ca' which hasn't been in phpgw_languages (or only as just 'ca') 2004-07-10 10:59:37 +00:00
Ralf Becker
6223948d37 fixed an E_NOTICE warning 2004-07-10 09:25:53 +00:00
Ralf Becker
2c1197d9dc fixes for installations with error_reporting E_ALL 2004-03-09 21:05:28 +00:00
reinerj
3f5c75878b changes from phpgw to egw dev group 2004-01-27 20:49:25 +00:00
Miles Lott
04067c7a04 Add SMD5 hashing for sql and ldap based on my debian experience today 2004-01-26 03:01:54 +00:00
Miles Lott
c7117e4c58 add currently unused sql password functions 2004-01-18 15:24:41 +00:00
Miles Lott
26ef5d0726 Complete adjustments to $ConfigDomain - no need to get_var if already authenticated anymore 2004-01-06 13:45:10 +00:00
Miles Lott
0f85f3763f Modified md5_cryptpasswd() function to create {md5}xxx style password;
Add actual function to deal with sha passwords, and added ability for use of ssha;
2003-12-28 17:27:34 +00:00
Miles Lott
b6c0e6e0b2 Replace langs using phpGroupWare 2003-12-19 12:34:45 +00:00
Pim Snel
72299b948a port setup to idots template set 2003-10-09 23:08:04 +00:00
Ralf Becker
1ed1b0f431 some fixes for setup:
- back-button for manage-header
- header-update shows lang-selection
- lang-selection is sorted now alphabetical
- lang-selection in header-admin shows up only if called the first time (without login)
- manage-languages and add-applications respekt now different translations for the same phrase in different apps
2003-09-23 13:08:40 +00:00
Ralf Becker
7971e01aef some first basic branding 2003-08-28 18:17:11 +00:00
Ralf Becker
b8557e49d9 make the phpgw Version-0_9_16-branch HEAD 2003-08-28 14:31:11 +00:00
ceb
a77d47cd5f moved all the setup mess to its right place 2002-12-07 02:12:15 +00:00
seek3r
86032f02dd removed common->phpgw_exit() and fixed all references to it in the core apps and api 2002-09-28 20:01:44 +00:00
Miles Lott
d6ebb363c4 Add copy of old template class so setup can work for now. 2002-08-11 23:54:58 +00:00
ldw
47ea887c92 - Moved documentation files to module/doc directory.
- Renamed phpgroupware/doc/LICENSE in phpgroupware/doc/copyright.gpl
2002-06-12 10:14:14 +00:00
skeeter
0bd3848040 Changed to use get_var(). 2002-04-09 23:43:55 +00:00
Miles Lott
a5f0e27362 add comments 2002-03-03 22:00:55 +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
Miles Lott
63b0e05ffe adjust banners to credit seek3r, angles, and some other dude 2002-02-17 20:20:09 +00:00
Miles Lott
e383697ecd Adjust banners to credit mdean and some other guy 2002-02-17 20:16:51 +00:00
Miles Lott
d458becbe0 Added patch from Ralf Becker to calculate precision from largest enum value
when doing sql to schema_proc array conversion
2002-02-17 20:10:29 +00:00
Miles Lott
9804ff609d Apply modified patch from Ralf Becker to allow for use within phpgw (not setup) 2002-02-17 20:00:28 +00:00
Miles Lott
12b66fb8a9 Change lang/languages tables to phpgw_lang/phpgw_languages 2002-02-17 19:31:50 +00:00
skeeter
73f3c725fb GNU Patch #106 and #109. 2002-02-15 03:16:11 +00:00
Miles Lott
2ead51ae60 Fix for annoying result of cvs backup files in lang subdir 2002-02-10 20:18:49 +00:00
Miles Lott
c77dea5328 Update get_account_id() 2002-02-08 06:07:46 +00:00
Miles Lott
6735cc4d5d Add a check to setup to be able to exclude apps from the mass upgrade process.
WCM will be the first to use this, others may follow...
2002-02-03 17:02:56 +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
Miles Lott
03e2617813 syntax error 2002-01-15 01:48:41 +00:00
Miles Lott
85ef717696 Additional fix for non-installed apps during upgrades 2002-01-15 01:46:27 +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
Miles Lott
2d32663ce1 rollback last change for now 2002-01-13 21:12:35 +00:00
Miles Lott
478ca3adc4 Upgrade API version to 0.9.15.001, add post-install dependency failure
test to detection class and applications.php
2002-01-13 19:52:47 +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
Miles Lott
b6d48e874a Set intval() of value to insert to ensure some input on not null columns 2002-01-08 14:03:29 +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
a012283ba5 Lang files are now installed as part of the install/upgrade process. For step
one (mass install/upgrade), english is installed by default
2002-01-05 21:20:52 +00:00
Miles Lott
950b7a8a5c Mod to (un)install application translations with each app (applications.php only) 2002-01-05 18:07:11 +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
66a41b74eb minor update 2001-12-03 17:39:39 +00:00
Miles Lott
6330681793 php3 fix for detection class; add use of db_addslashes() for when we re-insert
table data to a new table in pg (altertable/column)
2001-11-29 03:58:22 +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
skeeter
509b88901b Possible fix for problems with bad php.ini settings. 2001-11-21 12:07:58 +00:00
skeeter
00e7719717 Small change to the RenameTable function in MySQL. This will allow for older versions of MySQL to be used. 2001-10-18 01:02:49 +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
663e83b66e fix timestamp display, fix default display to remove double "'" 2001-09-29 15:44:17 +00:00
jengo
f4efac55bb - Fixed logout button not working correctly
- Re-enabled the logout button in lang.php, not sure why it was disabled
2001-09-27 23:59:39 +00:00
jengo
386187a81c Fixed parse error, missing ) at end of if 2001-09-24 20:42:22 +00:00
Miles Lott
2a738905e4 Add check for existence of index prior to DROP INDEX 2001-09-23 11:58:10 +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
a33d7d1648 Fix header generation (templates) 2001-09-17 03:19:07 +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
Miles Lott
9f5a0813b4 not used 2001-09-12 13:50:40 +00:00
Miles Lott
61c105e352 minor formatting 2001-09-12 13:45:58 +00:00
skeeter
370818fa8e Cleanups of warnings. 2001-09-03 09:51:27 +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
87f5ac0200 Fix to show float4/8 correctly in sqltoarray 2001-08-25 09:16:00 +00:00
Miles Lott
ad1e3f276a Undo inadvertent commit on this file... 2001-08-21 18:57:13 +00:00
Miles Lott
e0db915670 Changes to allow register_globals to be off 2001-08-21 18:48:50 +00:00
Miles Lott
4e1a2a6bb6 add test app to run system.listApps against the local server at phpgroupware/xmlrpc.php 2001-08-09 15:54:52 +00:00
Miles Lott
bd30af4d61 Replace print_r with var_dump (php3) 2001-08-04 13:29:53 +00:00
seek3r
9218a82cbd this is now setup3 code 2001-07-30 15:59:25 +00:00
seek3r
cd3f5a90dc preparing to put setup3 code in here 2001-07-30 15:44:12 +00:00
Miles Lott
2628c9857c Update function to match the api 2001-05-31 09:25:58 +00:00
Miles Lott
d4cb332f25 Had to add one more variable back to make the new header template work 2001-05-30 08:56:01 +00:00
jengo
efa2d7dede Cleaned up quite a bit in PostgreSQL create, upgrade and drop tables. 2001-05-03 04:53:49 +00:00
skeeter
5cf7a13846 possible fix for using enter/return key on setup/login 2001-04-30 03:03:11 +00:00
jengo
955bf76715 Added an option to force a certian theme on users 2001-04-27 10:02:33 +00:00
jengo
155246b74b Moved version number up 2001-04-23 08:54:42 +00:00
skeeter
584ea9936d Fix for bug #417329 2001-04-22 14:18:50 +00:00
Miles Lott
901956a477 Check only for apps tables, not any tables 2001-04-12 00:51:04 +00:00
Miles Lott
32d5dec027 Add get_account_id for ldap.php to use the accounts class 2001-03-21 23:28:57 +00:00
Miles Lott
af513b2a9d (re)add CreateObject function 2001-03-01 16:44:52 +00:00
el_latino
86a3f8da81 Wed, 28 Feb 2001 16:21:16 +0000
Ra�l Alexis Betancort Santana <rabs@dimension-virtual.com>

	Fixed the *config* table name problem on phpgw_setup.inc.php
2001-02-28 16:24:56 +00:00
seek3r
d80f6a4e79 working toward app install/upgrdae within setup prog 2001-02-13 10:53:18 +00:00
jengo
28f53016d6 Mergeing in the most recently schema files 2001-02-11 01:30:19 +00:00
jengo
dc912cab81 Setup can now handle add-on apps using the database tables created via arrays 2001-02-10 23:08:52 +00:00
jengo
cf3564035a Setup will now read the directorys and figure out which applications are present, then it will insert into the phpgw_applications table depending on what was found 2001-02-10 19:47:39 +00:00
jengo
53d641bd9a Temp fix for setup .. it doesn't like the change from applications to phpgw_applications 2001-02-08 21:46:41 +00:00
jengo
dbd48f7e6f Renamed the applications table to phpgw_applications 2001-02-08 20:11:13 +00:00
izzy
6c9387eb13 changed some forgotten $phpgw["server"]["root"] statements to PHPGW_SERVER_ROOT to get the script working again 2001-02-06 13:11:11 +00:00
jengo
093aba9c5a Fixed setup not working due to header changing variable names 2001-02-06 10:59:19 +00:00
jengo
45d2f83bd4 db classes wheren't being loaded 2001-01-11 12:22:26 +00:00
seek3r
e7896e9bc5 added templates selection 2001-01-10 01:16:01 +00:00
seek3r
97d92a6f69 fixed typo 2001-01-08 18:53:56 +00:00
seek3r
1db613d9ed changed the link() and webserver_url to return the entire path 2001-01-08 18:51:39 +00:00
seek3r
07e48031cb moved config to use new design 2001-01-07 10:43:48 +00:00
seek3r
3504b92187 added code for getting apps status in terms of the version 2001-01-06 10:03:03 +00:00
seek3r
26b8f506f9 added support for template detection and selection 2001-01-05 22:39:07 +00:00
seek3r
da015de66d added support for template detection and selection 2001-01-05 22:38:08 +00:00
seek3r
519e7bdcaf disabled schema_proc for now 2001-01-04 20:32:09 +00:00
seek3r
71239ff304 adding in schema proc for testing on php3 2001-01-02 08:37:45 +00:00
seek3r
93cea133f7 adding in schema proc for testing on php3 2001-01-02 08:37:45 +00:00
seek3r
c2874a17ea minor roolback so jengo can test 2001-01-02 08:25:02 +00:00
seek3r
9ae9d07801 adding in schema proc 2001-01-02 08:22:36 +00:00
seek3r
923f731f0f fixed jengos problems 2001-01-02 08:15:12 +00:00
seek3r
f3a10f1998 fixed jengos problems 2001-01-02 08:12:17 +00:00
seek3r
b463fe28e4 fixed jengos problems 2001-01-02 08:11:00 +00:00
seek3r
c76e53cc0c added lang support 2001-01-01 11:50:35 +00:00
seek3r
2683bc556c corrected problem with db updates 2001-01-01 10:36:58 +00:00
skeeter
6e828646fa fixes logout/login problem 2000-12-31 23:46:55 +00:00
Lars Kneschke
594434dc47 reintroduced setup_header because it broke lang.php and ldap.php 2000-12-31 14:24:29 +00:00
seek3r
a812666b75 code clean up, hopefully this should help clean up the problems jengo is having with php 3.0.16 2000-12-31 09:50:16 +00:00
seek3r
f32f3ab843 cleaned up a little code 2000-12-29 19:31:23 +00:00
seek3r
90771fc094 its mostly working now, will continue tonight 2000-12-27 22:04:44 +00:00
seek3r
7ec19342e2 commiting while I go to lunch 2000-12-27 19:59:23 +00:00
seek3r
c8ae0f9de7 its broken, but Im tired, and will continue in the morning from work 2000-12-27 10:39:34 +00:00
jengo
20c3f60c29 create header is now using templates 2000-12-27 09:30:43 +00:00
seek3r
6cfdfaf372 commiting code so that jengo can merge in some other changes 2000-12-27 09:05:13 +00:00
seek3r
73a5ec994a added the security check to all vunerable files 2000-12-23 09:43:04 +00:00
seek3r
55b0109618 changed the format for the version flags so that each app can have their own app version dumped into the new array 2000-12-21 20:43:26 +00:00
seek3r
f795023f8f hopefully settled the directory structure once and for all 2000-12-21 09:16:30 +00:00
seek3r
edb1ade9db working on new setup prog that will allow add-on apps to take advantage of it 2000-12-20 00:02:11 +00:00
seek3r
66ab743445 working on new setup prog that will allow add-on apps to take advantage of it 2000-12-19 22:40:54 +00:00
seek3r
9ca521458c removed commented out line 2000-12-18 21:11:00 +00:00
seek3r
1de711f305 changes needed for new format 2000-12-18 21:09:25 +00:00
seek3r
e1ca332f92 changes needed for new format 2000-12-18 20:41:26 +00:00
Lars Kneschke
1b97f2fe2c reanimated ldap.php
the ldap setup pages where broken, because the cleanup in this directory
2000-12-09 23:08:36 +00:00
seek3r
e9b3af544d cleaned up code, removed unneeded files. I have moved all the real processing to the functions.php where it belongs, and moved the display code to the index.php where it belongs 2000-12-04 08:45:30 +00:00
skeeter
bf040328ed added filter and change of duration to date/time 2000-12-04 01:11:53 +00:00
Lars Kneschke
9703549255 added missing global $phpgw_info 2000-12-02 13:33:16 +00:00
seek3r
e2bbebee9a fixed upgrade path 2000-12-01 22:26:12 +00:00
seek3r
aa2246dd9e fixed default domain bug 2000-12-01 22:05:01 +00:00
seek3r
165bfdcb07 added configuration portion of the setup 2000-12-01 20:11:30 +00:00
seek3r
31bb096266 added configuration portion of the setup 2000-12-01 20:07:23 +00:00
seek3r
2caf561422 fixed problems with database portions of this program. I am done with the core portion of the changes to the table management. Some changes to the db files are still going to be require 2000-12-01 18:25:01 +00:00
seek3r
2dacbb8e21 starting to work toward the table creation/upgrade parts 2000-11-30 22:29:06 +00:00
seek3r
9ca2298a8e moving new setup program into place. Its not done yet, but Im moving as fast as I can 2000-11-30 21:25:14 +00:00
seek3r
dbdf4c5f64 moved header version number to the version.inc.php and adjusted the phpgw.inc.php to reflext that change. Upgrades of the header will be done in the new setup program 2000-11-30 21:20:07 +00:00
jengo
8b39fc8ec9 Fixed setup_header() showing up twice 2000-11-24 02:20:03 +00:00
jengo
00fdbec533 Cleanup the setup_header() and changed the logout button 2000-11-23 09:36:57 +00:00
seek3r
74d17782e7 corrected problems with multi-domain support, and prepared for the new release 2000-11-22 08:34:19 +00:00
seek3r
78d039621e This is the completed (I think) code to support multi-domains 2000-11-21 17:56:56 +00:00
seek3r
97310142a1 fixed backward compatibility with old header.inc.php 2000-11-21 15:20:01 +00:00
Lars Kneschke
642653d734 removed debug output 2000-11-20 18:24:06 +00:00
Lars Kneschke
9c8f376908 setup "login page" was not working anymore 2000-11-20 18:23:16 +00:00
seek3r
2539a46a45 updated array name 2000-11-20 16:47:44 +00:00
seek3r
e2e52ce276 added my changes 2000-11-19 16:09:10 +00:00
seek3r
36f7b3e13b added mutli-domain support. Still have a bug when going to the config page. It will not work for one of my test domains, and Im not sure why 2000-11-19 10:49:31 +00:00
seek3r
561deb921c added supoprt for multiple domains. Still need to modify the setup auth to handle this 2000-11-19 10:22:15 +00:00
jengo
e35f536961 Fixed a few white space errors header() and setup_header(), fixed the notes tables and reworked the default applications so it will be easier to make the phpgroupware and phpgroupware plus packages 2000-11-18 01:11:48 +00:00
jengo
e339bcabf6 Cleaning up setup 2000-11-17 15:49:03 +00:00
jengo
251b8f24c2 Adding in LDAP import of accounts into setup 2000-11-17 15:04:04 +00:00
sjb4891
ea1be66ba2 Sigh. more silly updates. 2000-11-06 03:55:16 +00:00
sjb4891
b92f042dad More fixes for first step 2000-11-06 03:52:45 +00:00
sjb4891
7b1d3ff865 First step in integrating application setup with core setup.
What was in setup/index.php is now in setup/inc/core_setup.inc.php
2000-11-06 03:22:52 +00:00
jengo
838e939072 Working on getting lang into setup 2000-11-05 06:47:24 +00:00
seek3r
01ae77b48f re-organized setup program 2000-11-02 08:03:05 +00:00