Commit Graph

1449 Commits

Author SHA1 Message Date
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