Ralf Becker
849b94374b
allow to deinstall old "phpgwapi", but not new "api"
2016-06-05 10:56:00 +02:00
Ralf Becker
3c3210dba9
remove code checking since 1.4 not used "file_repository" and "file_store_contents" config vars resulting in not being able to create "files_dir" config
2016-06-05 08:58:56 +02:00
Ralf Becker
1090a32242
resurect emailadmin/setup directory, it is needed for updating from versions before latest 14.3
2016-06-03 16:30:59 +02:00
Ralf Becker
d12e2c806d
quitening connection trial for testing database is there
2016-06-02 12:34:51 +02:00
Ralf Becker
956b1f139e
using "#!/usr/bin/env php -qC" for setup-cli.php
2016-06-02 12:34:51 +02:00
Ralf Becker
f5f05d4262
do NOT remove config, if deinstalling old phpgwapi, as that's global api config
2016-05-31 23:31:00 +02:00
Ralf Becker
9c1249cd9a
allow to deinstall old phpgwapi, but not api
2016-05-31 22:58:08 +02:00
Ralf Becker
9abc9beb0f
switch verbose off, when installing single apps, as it's diagnostics probably look like a bug to most
2016-05-28 13:55:08 +02:00
Ralf Becker
cb3248a4e6
fix failed package install without phpgwapi installed
2016-05-26 10:46:40 +02:00
Ralf Becker
49f640a016
fix wrong case in EGroupware
2016-05-26 10:46:40 +02:00
Ralf Becker
2e6d1e2638
fix old "phpgwapi" version used instead of new "api"
2016-05-25 21:41:50 +02:00
Ralf Becker
8c821ab8cb
fix wrong/different case WrongUserInput --> WrongUserinput
2016-05-25 21:41:50 +02:00
Ralf Becker
1b32000d4d
fix old class-name db_backup giving error in setup-cli
2016-05-25 21:41:50 +02:00
Ralf Becker
8a24f3e449
fix not loaded header / CSS, caused by missing echo before $GLOBALS['egw']->framework->(header|footer)
2016-05-14 21:26:36 +02:00
Ralf Becker
19501960e1
fix wrong case in "AsyncService" to "Asyncservice"
2016-05-09 09:15:48 +00:00
Ralf Becker
33605585e2
move default login and head templates from idots to api/templates/default and some other fixes to fix up non-Pixelegg login and old templates
2016-05-05 13:29:41 +00:00
Ralf Becker
c15fcdfb52
WIP egw installs now without phpgwapi and allows to login
2016-05-02 22:26:40 +00:00
Ralf Becker
cea5c69b7f
move CreateObject and ExecMethod into new api
2016-05-02 14:41:48 +00:00
Ralf Becker
ca2ffb6aea
using new api for setup
2016-05-01 15:56:49 +00:00
Ralf Becker
3e92578753
fix some ocurences with: <object> instanceof <phpgwapi-class>, which is no longer true, when object is from new Api, but old <phpgw-class> extends new Api class
2016-04-27 07:10:04 +00:00
Ralf Becker
c14f25c0e8
hide spellchecker config and always use browser native spellchecker
2016-04-25 20:14:47 +00:00
Ralf Becker
0b9937332c
some more setup fix, 16.1 updates now 1.8, 14.x and installs itself new
2016-04-05 16:51:43 +00:00
Ralf Becker
ee1d467895
fix PHP Fatal error: Call to undefined method setup::deregister_hooks()
2016-04-05 16:21:23 +00:00
Ralf Becker
978f8e282d
show api version instead of phpgwapi
2016-04-02 20:25:01 +00:00
Ralf Becker
2baf654e14
move all tables to new api and update api to 16.1
2016-04-02 19:55:08 +00:00
Ralf Becker
adb748d6e7
move hooks class to api and only cache hooks in instance cache (instead of database: filesystem scan takes ~4ms, cache ~0.2ms)
2016-04-02 14:16:20 +00:00
Ralf Becker
00abda4682
moving emailadmin to api and admin, only emailadmin_hooks and tables still need moving
2016-03-28 18:51:38 +00:00
Ralf Becker
3c9353514d
check of (newer) "mysqli" extension not old "mysql" no longer existing in PHP 7.0+
2016-03-09 06:58:46 +00:00
Ralf Becker
b95727bb6f
move auth classes to Api\Auth, only Sql is currently tested!
2016-03-06 20:47:10 +00:00
Ralf Becker
7ada2354d3
move addresbook_bo to Api\Contacts, ldap to Api\Ldap, ldapserverinfo to Api\Ldap\ServerInfo, bo_tracking to Api\Storage\Tracking, historylog to Api\Storage\History, Api\Customfields to Api\Storage\Customfields
2016-03-06 13:45:15 +00:00
Ralf Becker
ed8f6f45c4
move egw_csrf class to Api\Csrf without a compatibility class
2016-03-05 14:02:13 +00:00
Ralf Becker
1ab66dd811
move exceptions to new api structure, thought to catch an exception by its deprecated name, new exceptions have to extend deprecated ones
2016-02-28 13:43:06 +00:00
Ralf Becker
86955dfc95
work in progress: using ADOdb 5.20 and move db classes to new api directory
2016-02-20 20:27:17 +00:00
Ralf Becker
c3a99d13a0
fix SQL error during update: Column "app_tables" cannot be null (1048)
2016-02-20 14:23:19 +00:00
Ralf Becker
bc7fa3bc8b
* Filemanger: filemanager/cli.php wrongly reported wrong passwords for setup or config user with newer password hashes
2016-02-15 11:10:23 +00:00
Ralf Becker
b137f4710c
remove old network class from Trunk/16.1
2016-02-01 12:50:34 +00:00
Ralf Becker
21a9d24d3a
Simplify accounts exist check, by checking for total of search > 1, fixes problems with not working limited search in ldap (still returning correct total)
2016-01-29 10:52:52 +00:00
Ralf Becker
3b781ceb05
* Univention: allow to migrate accounts from SQL backupt to Univention (install new EGroupware app and delete all users and groups in Univention first)
2015-11-13 14:49:34 +00:00
Ralf Becker
3d6da043fa
changing php-versions for Trunk/next release: required: 5.4, recommended: 5.6
2015-11-02 17:13:27 +00:00
Ralf Becker
b97024f00e
fix issue pointed out by Andrew McNicol
2015-09-03 16:21:12 +00:00
Ralf Becker
ae9acfd5e2
give an error message "%1 does NOT have a password (userPassword attribute) or we are not allowed to read it!", if LDAP does not allow us to read passwords
2015-09-03 09:02:04 +00:00
Ralf Becker
328712af0d
fix not working setup/setup-cli.php --setup-cmd-ldap <domain>,<config-user>,<config-pw> sub_command=passwords_to_sql
2015-09-01 18:46:07 +00:00
Ralf Becker
188e31c9c1
not working database gave a database error instead of instructions how to create the database
2015-08-27 12:30:16 +00:00
Ralf Becker
c94007f344
fix typo stalling new installs
2015-07-07 14:15:52 +00:00
Ralf Becker
8702d06ec7
also give Admins apps of all users group Defaults, in case one forgot to add admins to it
2015-07-01 07:25:16 +00:00
Ralf Becker
6c7026fa52
* Setup: support mail authentication without PHP imap extension
2015-06-10 15:44:01 +00:00
Ralf Becker
e3bfbeeee9
using exception / exit code 92 for "Domain XXX does NOT exist !!!"
2015-05-12 14:57:29 +00:00
Ralf Becker
9319954d39
show full database url in setup, not just driver-name and show used IP in "Invalid IP address" message
2015-05-03 12:04:21 +00:00
Ralf Becker
b086604711
move "Save as" phrase to common and merge-cli run
2015-04-01 08:00:07 +00:00
Ralf Becker
61cf8fa9f5
* Univention: Samba SID was not propagated to config of SambaAdmin app
2015-03-13 13:51:10 +00:00
Klaus Leithoff
a27d5963c5
pending translations from our translation server
2015-03-05 09:04:21 +00:00
Ralf Becker
18fafed2a4
pending translations from our translation server
2015-02-17 08:52:58 +00:00
Ralf Becker
3c4cb54f34
* Setup: allow to use Composer ( https://getcomposer.org/ ) to manager requirements (instead of PEAR)
2015-01-18 12:05:09 +00:00
Hadi Nategh
4fa44e6482
Reorder and add missing phrases in lang files
2015-01-15 14:53:34 +00:00
Ralf Becker
b98972582c
check if allow_url_fopen = On
2014-12-15 14:29:56 +00:00
Ralf Becker
ca4f49121f
fix pear upgrade (not update) command given as instructions to user
2014-12-15 10:33:42 +00:00
Ralf Becker
b5d4177bde
removing no longer used checks and fixing IDE warnings
2014-12-15 09:36:27 +00:00
Ralf Becker
e7f4bb0848
move defining of (deprecated) SEP constant to common functions, as there are cases where it gets used before defined
2014-12-13 09:53:18 +00:00
Ralf Becker
8497d0cfd5
removing egw-pear
2014-12-11 10:48:16 +00:00
Ralf Becker
494a87af52
bump version to 14.2 and change dependency check from == to >=, like it is used every where else
2014-12-10 09:10:55 +00:00
Ralf Becker
f78f8762b0
fix typo
2014-11-30 13:46:39 +00:00
Ralf Becker
e5b3a83693
allow to update passwords from LDAP, if accounts stored in SQL and authentication is against LDAP
2014-11-17 12:19:56 +00:00
Ralf Becker
b1b11167e7
fix fatal error and call vfs hooks to create user and group home directories
2014-11-12 08:41:40 +00:00
Ralf Becker
628a112e4e
change setup to only add admin account to new groups, but never set memberships removing existing ones, important if using an existing account, also fixed it to change password of existing account if a non-empty password given
2014-11-12 08:06:33 +00:00
Ralf Becker
b721ae1afc
changes for Univention install
2014-11-07 13:16:30 +00:00
Ralf Becker
8a32ae7c32
fix typo in smtp plugin name and stay on selected accounts plugin, even if it is inaccessible due to open_basedir, as we otherwise would store default "sql"
2014-11-06 19:21:56 +00:00
Ralf Becker
afaf5a1ece
fix some problem in Univention install
2014-11-06 16:54:33 +00:00
Ralf Becker
a70600d964
add storing of config values with names like "app/name"
2014-11-06 13:46:03 +00:00
Ralf Becker
753ce75b15
using univention-directory-manager cli to create not accounts to get Kerberos stuff addded
2014-11-05 20:27:52 +00:00
Ralf Becker
a1a88d801a
show sha1 hashes for uploaded backups
2014-10-30 15:18:59 +00:00
Ralf Becker
a5f7195462
do not run admin-cli.php --add-user for Stylite package install
2014-09-09 18:07:39 +00:00
Ralf Becker
20179f1767
* Spellchecker: marking "browser based" (default for new installs) and "No" as safer and fixing CSP policy for web-spell-checker
2014-09-04 09:58:48 +00:00
Ralf Becker
a025e4f5a5
PEAR check: show version again, if available, instead of just "Yes"
2014-08-27 12:16:16 +00:00
Ralf Becker
e3e42b3dc8
be more specific about found pear packages, for which we could not check the version
2014-08-27 10:25:17 +00:00
Ralf Becker
31960e45e2
fixed setup-cli --update and setup_cmd_update to install apps marked as "autoinstall"
2014-07-08 16:50:54 +00:00
Ralf Becker
6a3ed78a28
fix IDE warnings
2014-07-04 18:45:22 +00:00
Ralf Becker
5241d3c951
* Setup: config changed in setup did not update instance cache and was therefore not immediatly available
2014-07-04 12:43:11 +00:00
Ralf Becker
d5cb4112b5
* Setup: fixed fatal error "Cannot redeclare auth_type()", when there is a validation error on saving configuration
2014-07-03 12:46:08 +00:00
Ralf Becker
7666292284
no need to manually (un)serialize vfs_fstab and detect old php serialize and new json_encoded values
2014-06-27 07:48:44 +00:00
Ralf Becker
b612f5ad62
do not give run-rights by default to old apps
2014-06-27 07:47:30 +00:00
Ralf Becker
2ee9082f2e
* PostgreSQL: fixed not working installation (access to not yet existing table stalls transaction)
2014-06-25 12:43:11 +00:00
Ralf Becker
6a016fac3f
prevent false CSRF warning, if DB schema upgrade is needed
2014-06-24 08:43:46 +00:00
Ralf Becker
c8e7fdccde
set recommended PHP version to 5.5
2014-06-24 08:42:55 +00:00
Klaus Leithoff
0b851a622b
get rid of php notice undefined variable: channel
2014-06-10 09:16:10 +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
9602d061ad
* Setup: re-add config for mail authentication and fixed it to always try to use a TLS connection
2014-05-17 08:00:17 +00:00
Ralf Becker
b25724e7ed
fixed setup uses cached config values for installs with multiple instances
2014-05-13 15:53:35 +00:00
Ralf Becker
e4e4aa97bc
flushing instance cache and config cache, after saving minimal config, fixing default_records of apps use not up to date data
2014-05-13 09:32:21 +00:00
Ralf Becker
91e2992172
fix pear install command to include channel
2014-05-12 14:52:36 +00:00
Ralf Becker
e134826088
"setup/setup-cli.php --exit-codes" was not reporting 11: Your Database is not working!
2014-05-06 09:23:12 +00:00
Ralf Becker
6864caac21
do NOT detect templates as (not installed) apps
2014-05-05 09:09:47 +00:00
Ralf Becker
544d57ca46
prevent CSRF for setup and admin site configuration
2014-05-01 06:26:09 +00:00
Ralf Becker
df8f6b9460
change validation of configuration to return existing validation functions, not running arbitrary ones
2014-04-23 14:36:08 +00:00
Klaus Leithoff
0d09278ad6
remove references to removed emailadmin_ui
2014-04-23 12:02:31 +00:00
Ralf Becker
f303930f6d
need to replace - and . with _ in database-name
2014-04-16 20:14:19 +00:00
Ralf Becker
3b68b8bff8
need to consider caching when applying setup operations
2014-04-16 17:57:44 +00:00
Ralf Becker
4ff9464133
fixed typo
2014-04-16 16:48:43 +00:00
Ralf Becker
87a6119595
some more changes to setup a mail account via cli, but not by default
2014-04-16 10:40:54 +00:00
Ralf Becker
90218092c2
some more changes to create mail accounts via setup
2014-04-15 20:03:16 +00:00
Ralf Becker
147fe01d38
stop complaining about missing or uncomplete email configuration, it is moved now inside EGroupware
2014-04-15 18:30:03 +00:00
Ralf Becker
621d6d46f4
create new mail accounts from setup-cli
2014-04-15 15:10:39 +00:00
Ralf Becker
fa5d0affb2
remove mail stuff from interactive setup
2014-04-09 07:46:48 +00:00
Ralf Becker
107a48ce2c
fixed checks and config to use mbstring.func_overlaod=0 and disabled checks from anyway not supported databases
2014-02-22 17:12:24 +00:00
Ralf Becker
aeffdb3c4b
remove home from EGroupware url in setup
2014-02-22 17:11:21 +00:00
Ralf Becker
332d4e5a42
removed gif images for which we have a png image available, as png is now supported by all browsers
2014-02-03 14:04:39 +00:00
Ralf Becker
0d8051837c
translations from Stefan
2014-01-28 13:40:16 +00:00
Ralf Becker
edd07a9729
removed outdated xmlrpc and soap service, it is off by default since couple of versions
2014-01-19 10:19:49 +00:00
Ralf Becker
6de6114e22
remove old API browser class, apps only used content_header method with is available as html::browser_header() with identical signature
2014-01-19 09:30:33 +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
ddc93e9af8
install new mail app automatic and give default group run rights to it
2014-01-14 09:31:14 +00:00
Ralf Becker
0ce21ccee3
fix now shown up image
2014-01-13 14:09:41 +00:00
Klaus Leithoff
841afa5ba0
translations from translation server; thanks to thoose that contributed
2013-12-18 09:17:12 +00:00
Ralf Becker
1ee480eaa3
remove configurable image-type preference in favor to hardcoded one always prefering png over gif, also removed all .gif images which have a png counterpart
2013-12-05 02:04:59 +00:00
Klaus Leithoff
68f2605cf4
translations generated/retrieved on translation site: Thank you for your contributions
2013-12-04 10:31:41 +00:00
Ralf Becker
aa75f22671
fixed changed name of bullet in sidebox
2013-11-29 00:41:32 +00:00
Ralf Becker
4ac778c4d9
show channel and add command how to discover channel to help message
2013-10-29 09:29:51 +00:00
Ralf Becker
a4d8c8dac1
check for pear.horde.org/Horde_Imap_Client
2013-10-29 09:05:16 +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
892500fee3
change cli detection to use php_sapi_name()
2013-09-10 17:29:58 +00:00
Klaus Leithoff
0abc706463
commit some french lang file stuff; provided by Thomas Chaillot, Spirea
2013-08-30 07:09:32 +00:00
Klaus Leithoff
dae7123c77
commit some lang file stuff; mostly french
2013-08-26 09:39:33 +00:00
Klaus Leithoff
95e18fd5a7
merge russian lang files provided by MBCGroup
2013-08-16 11:01:33 +00:00
Ralf Becker
30d6d76d7a
allow to set smtp auth options via setup-cli
2013-07-15 15:27:14 +00:00
Ralf Becker
5caa242314
* Admin/Active Directory: create new users with CN=<username> as Windows does and allow to configure profilePath, homeDirectory, homeDrive and scriptPath for new users
2013-07-09 15:26:59 +00:00
Ralf Becker
809aa0c63c
fixed setup-cmd-ldap copy2ad to fix samba-tool clasicupgrade wrong set never expiring accounts to correct value
2013-07-09 13:47:47 +00:00
Ralf Becker
71489f3eda
* Setup/Active Directory: setup_cmd_ldap sub_command=copy2ad now checks multivalue attributes caseinsensitive for doublicate values and new parameter no_sid_check=1 allow to use it for migrating mail-attributes without Samaba checks
2013-07-09 09:56:32 +00:00
Ralf Becker
ed24fa796d
allow to copy uid and just set an attribute eg. "attributes={\\server\\homes\\}homeDirectory=uid,{H:}homeDrive="
2013-07-06 09:37:08 +00:00
Ralf Becker
d522bbd808
* Debian/RPM: fixed "PHP Fatal error: Call to a member function drop_add_all_langs() on a non-object" on install/update of a non-default package
2013-06-28 14:15:28 +00:00
Ralf Becker
aa1426b8de
* Admin: split password strength config in minimum length and number of character types, allow account backends specially AD to report password policy failures
2013-06-25 16:37:44 +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
8d93ebb01e
* Setup: allow to enable account in AD via setup-cli.php and renamed --postfix and --cyrus options to more generic names --smtp and --imap
2013-06-20 14:48:53 +00:00
Ralf Becker
025c6a4c22
need to report expired accounts as NOT active and add ability to copy shadowExpire attribute from LDAP to AD (not done by samba-tool classicupgrade!)
2013-06-20 09:54:08 +00:00
Ralf Becker
6291318635
* Setup/LDAP/ADS: script to copy from samba-tool classicupgrade not copied inetOrgPerson and mail-server attributes
2013-06-19 20:29:41 +00:00
Ralf Becker
014a273908
* Setup/LDAP/ADS: script to change uidNumber and gidNumber in LDAP to match relative id (last part of SID) in preparation of Samba4 migration and using ActiveDirectory
2013-06-18 18:14:08 +00:00
Klaus Leithoff
079b919bbe
russian translations provided by Vladimir Gavrilov (MBC-Group)
2013-06-17 12:30:44 +00:00
Ralf Becker
da74bf4210
prefering mysqli for new installs
2013-05-26 09:43:10 +00:00
Ralf Becker
3996f8a936
* MySQL: got mysqli extension working and make it default for EGroupware, as mysql is now officially deprecated, existing installs need to be switched manually in header.inc.php or Setup >> Manage header
2013-05-26 09:32:41 +00:00
Ralf Becker
b8ce46782c
re-order ADS above CAS, as it now also allowed for account storage and translations
2013-05-25 09:15:17 +00:00
Ralf Becker
8c6fd8d936
changes to create users and set passwords on win2008r2
2013-05-24 17:08:15 +00:00
Ralf Becker
eaf3e6e1a5
offer to delete all existing accounts from SQL tables, before migration to it
2013-05-23 14:33:14 +00:00
Ralf Becker
4e1a2bc048
fixed typo causing admin account creation to fail, if "delete all users and acl" was checked
2013-05-22 18:30:04 +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
Klaus Leithoff
c9e8e0b115
replace old sieveport 2000 with new default 4190
2013-05-21 14:54:01 +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
Ralf Becker
b46770872e
new German translations from Stefan
2013-02-18 15:52:43 +00:00
Ralf Becker
4e77413fe9
new english phrases
2013-02-18 15:36:57 +00:00