Commit Graph

1502 Commits

Author SHA1 Message Date
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
61d26df913 reworked auth classes, to allow them to use each other and a new auth class using a primary backend (ldap) and a fallback (sql) 2010-01-28 04:22:37 +00:00
Hans-Jürgen Tappe
9c5fd08d90 Fix backup->restore() as discussed on the devel list:
- Internationalization of error messages.
- Typos
- Add missing code documentation
- Respect return code of db->transaction_commit()
- Add missing filename arguments in restore() calls.
2010-01-22 21:39:19 +00:00
Hans-Jürgen Tappe
91b434636b Fix Typo. 2010-01-21 20:42:50 +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
61c48fb5c0 allow setup-cli to install ldap based right away 2009-12-05 17:42:18 +00:00
Oscar Manuel Gómez Senovilla
0deeb03379 Fixing problem with preg_split replaced with explode, tracker #2403 2009-12-05 10:30:22 +00:00
Ralf Becker
868e9b7356 "supress warning \"session.save_path not writable by webserver\", if open_basedir is activ and path is NOT included
--> spares users from false warning, that they can not login, because sessions not working"
2009-12-01 13:58:39 +00:00
Ralf Becker
fd0bfe97ea querying date_default_timezone_get() only once and storing it as
$GLOBALS[egw_info][server][server_timezone], as it fills the log with
warnings under php5.3
2009-11-28 10:18:21 +00:00
Oscar Manuel Gómez Senovilla
a70df0ddbb Pending language updates 2009-11-24 05:51:49 +00:00
Oscar Manuel Gómez Senovilla
31bc2ff512 tracker #2349 2009-11-18 19:40:17 +00:00
Ralf Becker
9a755daa24 Client to submit monthly statistical data 2009-11-17 09:24:10 +00:00
Ralf Becker
28a778955c "setting standard IMAP and SMTP as default" 2009-10-28 21:59:49 +00:00
Ralf Becker
ed5a1234c6 "do not count \"deleted\" apps (apps without sources) as to upgrade" 2009-10-28 21:08:23 +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
Ralf Becker
db3b46293b "- using realpath('..') to give user pathes in filesystem (in errors)
- using 'only_if_exists' for 'is_world_writable'=>false check, to cope with doc symlinks under Debian, which are not included in open_basedir (gave file does not exists error and stoped check)"
2009-10-01 09:51:28 +00:00
Klaus Leithoff
317b956d32 adding email as authtype to setuptemplate 2009-09-15 15:18:03 +00:00
Klaus Leithoff
58890aaf9c added email as mail Login Type 2009-09-10 12:16:29 +00:00
Oscar Manuel Gómez Senovilla
2386a28cc5 Update Czech translation for trunk. Tracker #1956 2009-09-09 22:12:43 +00:00
Klaus Leithoff
88687148cd Call-time pass-by-reference has been deprecated Stuff. 2009-08-28 11:46:07 +00:00
Klaus Leithoff
5378561274 fixed an issue with 0 not passed or passed as empty minCount; Now forcing it to 0 if empty 2009-08-27 13:14:54 +00:00
Klaus Leithoff
44a53ee05b backup housekeeping feature from H.J.Tappe together with a feature to backup egroupware the files - tree from Christian Fueller; The File-backup feature is testet against relatively small eGroupware Instances; It requires ZipArchive (If you dont have that, the backup should run, but without backup of files); AND if you enable it backup takes a) more time to run and restore b) way more space, so you should enable housekeeping 2009-08-27 12:46:12 +00:00
Klaus Leithoff
b0ba5cbf50 log invalid IP Loginattempts to the webservers error_log 2009-08-27 12:35:27 +00:00
Ralf Becker
07c3816a14 "added check for following php extensions:
- error if ctype is missing (required by HTMLpurifier)
- warning if mcrypt is missing (eTemplate form state)"
2009-08-14 09:48:49 +00:00
Nathan Gray
d160101c65 Make delete instance / domain checkbox actually remove the domain. DB still needs to be dropped manually. 2009-07-06 22:20:57 +00:00
Ralf Becker
1c94011502 "only delete header, if it does exist and is NOT writable (otherwise the header is owned by the user running the script)" 2009-06-21 12:34:02 +00:00
Ralf Becker
66451aa99d "dont unlink header.inc.php for root user, as it get created again with owner root" 2009-06-18 21:21:20 +00:00
Ralf Becker
8fa0c12341 "also setting spellcheck_lang (no idea why this is a separate option)" 2009-06-14 10:37:01 +00:00
Ralf Becker
c0cab3f834 "improved default preferences
- setting country from lang
- setting dateformat for lang != en to 'd.m.Y'
- setting curreny for lang != en to 'EUR'"
2009-06-14 10:29:01 +00:00
Ralf Becker
232252475f patch fixing many depricated functions (eg. posix regular expressions) and features, which fill up the error_log under php5.3 (and will no longer be available under php6).
Patch is mostly created by script in egroupware/doc/fix_depricated.php in separate commit.
I do NOT advice to apply this patch to a production system (it's commited to trunk!), as the automatic modified regular expressions have a good change to break something ...
2009-06-08 16:21:14 +00:00
Ralf Becker
bf7e7889cf if header is a symlink --> work on it's target 2009-05-31 09:51:57 +00:00
Ralf Becker
8a66799414 get exit codes for setup-cli working again (was broken in 1.6) 2009-05-31 08:15:11 +00:00
Ralf Becker
f14596e3b0 remove not used/needed css 2009-05-31 08:14:00 +00:00
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
02587c2153 "when directly calling cmd object:
- set domain as first argument, to select the right domain in header include
- allow to give 1-dimensional arrays on command line (like php does it with urls, eg. 'config[name]=value')"
2009-05-24 13:59:03 +00:00
Ralf Becker
2175ee37b0 "allow to call directly via setup-cli" 2009-05-24 13:41:39 +00:00
Ralf Becker
73bb5ca1c5 "small changes to get setup-cli working with current EGroupware" 2009-05-23 10:25:45 +00:00
Ralf Becker
9ebd2fab61 "new sub-command to drop database and user" 2009-05-21 22:16:09 +00:00
Oscar Manuel Gómez Senovilla
67b0a09c15 update spanish translation 2009-05-15 15:33:15 +00:00
Ralf Becker
e50f35cbad "- error_reporting E_ALL
- fixed handling of session_save_path() returning nothing (was stalling the PEAR check AND failing)
- removed not longer necessary constants (defined now in common_functions.inc.php)"
2009-04-28 19:25:35 +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
Oscar Manuel Gómez Senovilla
12d6d29540 Support for Indonesian. Tracker #1832 2008-11-23 13:32:49 +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
Oscar Manuel Gómez Senovilla
0ed6cda053 Update nl lang files 2008-11-23 08:30:49 +00:00
Oscar Manuel Gómez Senovilla
388c515883 preparing to sync current lang files before branching for 1.6. One more commit
expected meanwhile!
2008-11-22 11:05:43 +00:00
Ralf Becker
92c5157b90 add grant host to db creation 2008-11-18 19:58:11 +00:00
Ralf Becker
04c7f2a6cb "new logo stored only under default" 2008-11-16 19:11:32 +00:00
Ralf Becker
fde8fc7b27 CAS (Central Authentication Service) login for eGroupware 2008-11-15 10:54:39 +00:00
Ralf Becker
5632e41d9e - fix for bug #1813: Setting files to world readable does not work.
- check and give error message if perms could not be changed
- added sudo feature to file preferences allowing to get VFS root access
  + setup config user/password can always be used
  + further eGW users can be configured in setup >> configuration
--> allows eg. to create free folders in the vfs root
--> should be used with caution and respect to users privacy
- added file preferences icon to opened directory (eg. for the root dir)
2008-11-09 16:33:09 +00:00
Ralf Becker
51cd3ec0ba "fix for bug ##1815 - typo in database creation instructions for mysql" 2008-11-03 09:58:59 +00:00
Oscar Manuel Gómez Senovilla
7c3ab3ab8c tracker #1774, added estonian translation 2008-11-02 14:23:56 +00:00
Oscar Manuel Gómez Senovilla
def7784c71 Modifications for utf-8 and estonian language 2008-11-02 14:18:32 +00:00
Oscar Manuel Gómez Senovilla
3edee675a7 tracker #1812 2008-11-02 13:38:18 +00:00
Ralf Becker
fa73ad5339 Improved exception handling:
- exceptions get now always logged to the error_log
- in the webgui it's now configurable, if the message contains a
  stacktrace (incl. function arguments) - default no (security)
- command line interfaces get detected and contain no html anymore
- webdav and groupdav send the exceptions as basic auth realms to the
  client
- webdav and groupdav login failures contain the reason as part of the
  basic auth realm
2008-10-26 12:13:01 +00:00
Ralf Becker
80324c6c63 "enabling the following GroupDAV and filemanager by default for the Default group" 2008-10-26 11:57:38 +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
Oscar Manuel Gómez Senovilla
504b096e06 latest update of egw translators pending work 2008-10-15 21:11:30 +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
2030c6a24a "better handle the situation of an empty / dummy header in rpm files" 2008-10-13 06:03:32 +00:00
Ralf Becker
025b54917a new translation and removing not longer used ones 2008-10-09 17:08:52 +00:00
Ralf Becker
cb45f661a2 fixed typo session_handler 2008-10-09 16:45:53 +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
Oscar Manuel Gómez Senovilla
8ed57c413b tracker #1747 2008-10-05 19:24:49 +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
93112e0277 phpDoc headers 2008-08-20 06:04:28 +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
Oscar Manuel Gómez Senovilla
b8df48b6f4 updated spanish translation 2008-08-05 19:13:53 +00:00
Ralf Becker
0587f0585d added PEAR HTTP_WebDAV_Server, PDO and file-upload checks plus missing translations 2008-08-05 06:23:52 +00:00
Oscar Manuel Gómez Senovilla
f98569ee85 Updated russian translation (#1658) and some spanish updates 2008-08-03 19:07:15 +00:00
Oscar Manuel Gómez Senovilla
77f63b4c00 updated russian translation 2008-07-29 20:40:02 +00:00
Oscar Manuel Gómez Senovilla
241e844f4b Resulting lang files after applying the "Search for new phrases" in translation tools for every app 2008-07-26 21:59:22 +00:00
Oscar Manuel Gómez Senovilla
e6a0bc30a9 tracker #1511 2008-07-25 21:22:37 +00:00
Stefan Becker
3485f97e90 "Patch for IE 6/7 PNG bugfix on setup template" 2008-07-22 09:26:27 +00:00
Ralf Becker
b5c28fba48 1. NTLM Single Sign ON
NTLM SSO removes Windows users on a PC, which is a member of a Windows
domain and who are logged into that domain, from the need to explicitly log
into eGW.  They simply point IE to the eGW URL (eg. http://domain.com/egroupware/)
and start working. They can of cause explicitly log out and log in as an
other user.
For more information look at the README at
http://www.egroupware.org/viewvc/trunk/phpgwapi/ntml/README

2. different authentication for SyncML and/or GroupDAV
You can now use eg. an external auth provider for the login via the
WebGUI (eg. ADS) and the passwords stored in SQL for SyncML.
2008-07-16 09:29:13 +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
Ralf Becker
a53b69af40 setting the session.save_path to /tmp only for session.save_handler=files and !is_writable(session.save_path) 2008-03-06 06:03:18 +00:00
Nathan Gray
c53cf5cee5 Allow applications with setup in their name to be setup 2008-02-27 16:07:35 +00:00