Code

gosa.git
15 years agoApply patch from mba for Trac #2644
psc [Mon, 15 Jun 2009 09:18:04 +0000 (09:18 +0000)]
Apply patch from mba for Trac #2644

Avoid error message when saving a workstation object
with Startup -> FAI-Classes set to state 'inherited'

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13717 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years agoApply patch from psc/mba for #225:
psc [Mon, 15 Jun 2009 09:02:35 +0000 (09:02 +0000)]
Apply patch from psc/mba for #225:

- Show inheritance symbol behind system, when object inherited
  attributes from an object group
- Display of FAI-release if member is not a member of an object
  group, but has a release set
- Show the FAI-release if member is member of an object group
  but has its own FAI-release
- Show the inheritance symbol behind the release, if the release
  was inherited from the object group, too.

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13716 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years agoFollowup patch for #2634
psc [Fri, 12 Jun 2009 13:24:30 +0000 (13:24 +0000)]
Followup patch for #2634

- Add localisation for de
- Fix "Address is not a valid IPv4 or IPv6 address" error

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13714 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years agoApply patch by mba for Trac #2634
psc [Wed, 10 Jun 2009 13:32:57 +0000 (13:32 +0000)]
Apply patch by mba for Trac #2634

- Show a message if a printer has been created on a
  different server, to warn the user.
- Do not simply overwrite ppd URI when editting a printer,
  that has been created on a different server.

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13703 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years agoMake new queue items in gotomasses appear instant
psc [Wed, 10 Jun 2009 12:33:01 +0000 (12:33 +0000)]
Make new queue items in gotomasses appear instant

Sleep a second, before reloading the list of queued
jobs, to avoid timing issues when adding new queue entries,
that are not listed, immediately after they've been added,
because gosa-si appearently needs some time to process it.
(Trac: #2658)

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13702 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years ago- Make indices in FAIclasses numeric
psc [Thu, 4 Jun 2009 09:07:35 +0000 (09:07 +0000)]
- Make indices in FAIclasses numeric
- Make getpos work properly with numeric indices
- Don't show 'Move Up' link on first item and no 'Move Down' on
last item.
- Remove cobineArrays function, because its not needed anymore

These changes fixes various behaviour problems with
the Move Up/Down functionality.
(Trac #2637)

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13694 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years agoUse faiPackageList instead of faiPackage because thats actually
psc [Thu, 28 May 2009 09:16:50 +0000 (09:16 +0000)]
Use faiPackageList instead of faiPackage because thats actually
the right objectclass for package lists.
Fixes problems with incomplete listings of FAI classes.
(Trac #2665)

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13675 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years agoAdd a allow_remove function to the goShareServer class
psc [Wed, 27 May 2009 10:15:32 +0000 (10:15 +0000)]
Add a allow_remove function to the goShareServer class
to disallow removal of systems, when it provides shares
that are in use. (Trac: #2638)

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13672 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years agoUndo previous commit
psc [Wed, 27 May 2009 09:54:39 +0000 (09:54 +0000)]
Undo previous commit

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13671 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years agoAdd a allow_remove function to the goService class
psc [Wed, 27 May 2009 09:51:54 +0000 (09:51 +0000)]
Add a allow_remove function to the goService class
to disallow removal of systems, when it provides services
that are in use.
(Trac: #2638)

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13670 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years agoMake repository class only conflict with itself (so
psc [Tue, 26 May 2009 09:21:40 +0000 (09:21 +0000)]
Make repository class only conflict with itself (so
that a repository service cannot be added twice) instead
of conflicting with goKioskService, which made
it impossible to have both services on one machine.
(Trac: #2641)

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13668 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years agoMake usage of apostrophes in "Number of listed %s" strings
psc [Mon, 25 May 2009 14:13:55 +0000 (14:13 +0000)]
Make usage of apostrophes in "Number of listed %s" strings
consistent with the rest of the interface. This fixes
problems with truncated strings ("Number of listed")
as well as it is enhancing consistence.
(Trac #2635)

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13665 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years agoIncreased Timeouts for communications with the gosa-si server
hickert [Thu, 7 May 2009 08:39:48 +0000 (08:39 +0000)]
Increased Timeouts for communications with the gosa-si server
-Global timeout from 10 to 15 seconds.
-Ping timeout from 0.5 to 2 seconds

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13632 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years agoRemoved dummy part from acl check.
hickert [Thu, 7 May 2009 08:35:34 +0000 (08:35 +0000)]
Removed dummy part from acl check.

  "Wir haben bemerkt das bei unten genannter Änderung ein Teil im alten
  LHM-Tree wieder entfernt wurde.

  r13612 - branches/2.6-lhm/trunk/gosa-plugins/fai/admin/fai
  von Herrn hickert

  $acl_dn = "cn=dummy,".$this->acl_base_for_current_object($this->dn);

  Wir besitzen keine Gruppe dummy auf die im Code referenziert werden könnte.
  Bitte lassen Sie diesen Codeteil nochmals dahingehend prüfen."

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13631 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years agorecheckin of patch r12833
rettenbe [Thu, 7 May 2009 07:37:38 +0000 (07:37 +0000)]
recheckin of patch r12833

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13626 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years agorecheckin of patch r12975
rettenbe [Thu, 7 May 2009 07:36:25 +0000 (07:36 +0000)]
recheckin of patch r12975

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13625 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years agorecheckin of patch r12474
rettenbe [Thu, 7 May 2009 07:35:28 +0000 (07:35 +0000)]
recheckin of patch r12474

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13624 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years agoApplied commit from 12992
hickert [Thu, 7 May 2009 06:32:14 +0000 (06:32 +0000)]
Applied commit from 12992
- Fixed tagging.
Application tagging is now user based.

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13623 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years agoApplied patches
hickert [Thu, 7 May 2009 06:06:17 +0000 (06:06 +0000)]
Applied patches
- 12995
- 12994
- 12993
- 12991

The above commits modified the unit tagging for fai objects.
Objects will now be tagged with the unit tag of the editing user.

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13622 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years agoupdating 'waiting' softupdate or reinstalling jobs to 'processing' if client wakes...
rettenbe [Wed, 6 May 2009 14:37:14 +0000 (14:37 +0000)]
updating 'waiting' softupdate or reinstalling jobs to 'processing' if client wakes up and reports progress

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13621 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years agoApplied patch from 12800
hickert [Wed, 6 May 2009 13:02:50 +0000 (13:02 +0000)]
Applied patch from 12800
-Updated actions for groups of workstations

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13617 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years agoApplied commit 12534
hickert [Wed, 6 May 2009 12:39:43 +0000 (12:39 +0000)]
Applied commit 12534

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13616 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years agoApplied patch from 12998.
hickert [Wed, 6 May 2009 12:06:22 +0000 (12:06 +0000)]
Applied patch from 12998.
-Removes special tabs - For ACLs, references aso.

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13614 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years agoApplied commits from 13003.
hickert [Wed, 6 May 2009 11:58:27 +0000 (11:58 +0000)]
Applied commits from 13003.
-Added special check when copying applications.

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13613 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years agoAplied changes from revision 12395.
hickert [Wed, 6 May 2009 09:37:36 +0000 (09:37 +0000)]
Aplied changes from revision 12395.
- Changes were partly missing (class_faiManagement.inc, class_faiTemplate.inc)
- ACL related modifications. The default ACL dn to check was modified.

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13612 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years agoRemoved usage of recreate_database (doesn't help in case of database failure).
janw [Tue, 5 May 2009 13:34:55 +0000 (13:34 +0000)]
Removed usage of recreate_database (doesn't help in case of database failure).
Removed function recreate_database.
Changed connection handling to allow exactly one database connection at once, seems to fix corruption failures.
Corrected printError=0 in case of database recreation at start time.

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13604 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years agoMerge Statements.
janw [Wed, 1 Apr 2009 08:27:48 +0000 (08:27 +0000)]
Merge Statements.
Recreate table if 2nd try after analyze fails.
Check if filehandle is open before locking.

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13574 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years agoFix problems with empty boot params by partially reverting
psc [Tue, 31 Mar 2009 15:12:35 +0000 (15:12 +0000)]
Fix problems with empty boot params by partially reverting
previously commits to this file, as proposed by mba.
(Trac: #2298)

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13573 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years agoWhen sending set_activated_for_installation in job_trigger_activate_new
psc [Tue, 31 Mar 2009 12:51:59 +0000 (12:51 +0000)]
When sending set_activated_for_installation in job_trigger_activate_new
prepend a fresh 'new_ldap_config' to the message; fixes problems
with mass installations that don't get a new ldap configuration on
activation and therefore fail to install (missing ldap.conf)
(Trac #2026)

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13572 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years agoDon't loose schema definition internally to allow easy re-creation of database.
janw [Mon, 30 Mar 2009 10:05:36 +0000 (10:05 +0000)]
Don't loose schema definition internally to allow easy re-creation of database.

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13569 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years agoCreate a new numerated array of the items to delete, instead of merging
psc [Thu, 26 Mar 2009 11:25:43 +0000 (11:25 +0000)]
Create a new numerated array of the items to delete, instead of merging
the arrays, because this overwrites existing entries,
due to the fact that the existing arrays have conflicting keys,
which leads to the situation, that array_merge discards the first added
record in favor of the last one (Trac #2269)

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13568 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years agoApply patch from mba: If all classes of a certain type are in FAIstate freeze, don...
psc [Tue, 24 Mar 2009 11:17:38 +0000 (11:17 +0000)]
Apply patch from mba: If all classes of a certain type are in FAIstate freeze, don't allow removal and show lock-symbol (Trac #2271)

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13561 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years ago+ Move reset handling before object creation, otherwise no
psc [Tue, 24 Mar 2009 10:13:32 +0000 (10:13 +0000)]
+ Move reset handling before object creation, otherwise no
new object is created, when _GET['reset'] is set to 1.
+ Add missing reset handling where it was removed by changeset
13288.
(Fixes Trac #2270)

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13559 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years agoUse msgPool::required function if no valid option name was given (fixes error 25)
psc [Fri, 20 Mar 2009 21:05:56 +0000 (21:05 +0000)]
Use msgPool::required function if no valid option name was given (fixes error 25)

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13557 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years agoPartially revert commit 12758, because ACL evaluation does not work properly when...
psc [Fri, 20 Mar 2009 15:25:45 +0000 (15:25 +0000)]
Partially revert commit 12758, because ACL evaluation does not work properly when creating new printer objects (Trac #2246)

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13556 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years agoMake error message for the case when trying to create a
psc [Fri, 20 Mar 2009 09:40:55 +0000 (09:40 +0000)]
Make error message for the case when trying to create a
share with special characters more informative.
(Trac #2244)

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13555 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years agoFollowup commit for changeset 13551:
psc [Wed, 18 Mar 2009 16:06:53 +0000 (16:06 +0000)]
Followup commit for changeset 13551:
Remove the tabs::tabs call from tabs_workstation.inc, too.
(Trac #2246)

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13553 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years agoRemove the tabs::tabs call from tabs_printers.inc because
psc [Wed, 18 Mar 2009 11:39:17 +0000 (11:39 +0000)]
Remove the tabs::tabs call from tabs_printers.inc because
it does not work (properly) in this special case as the printGeneric
class takes more arguments as usual. Instead set $this->acl_category
manually to avoid access control problems.
(Fixes PHP errors at various places; Trac #2246)

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13551 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years agogosa-si-server: early prepare UID / GID as daemon_log needs it
lhm-gosa [Wed, 18 Mar 2009 08:55:35 +0000 (08:55 +0000)]
gosa-si-server: early prepare UID / GID as daemon_log needs it

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13550 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years agoFix @13541 - there is no port to check in this function
lhm-gosa [Mon, 16 Mar 2009 19:24:27 +0000 (19:24 +0000)]
Fix @13541 - there is no port to check in this function

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13548 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years agoOptimize group listing:
psc [Fri, 13 Mar 2009 15:33:52 +0000 (15:33 +0000)]
Optimize group listing:
Only fetch the items that are needed to decide weither to show an
application item or not, instead of fetching all items from the ldap,
which takes a lot of time in larger environments.
(Fixes performance problems where group listing might fail at all, because
its runtime exceeds the max_execution_time, Trac #2232)

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13543 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years agoCorrect permissions for /etc/ldap/ldap-shell.conf from 0600 to 0644.
janw [Fri, 13 Mar 2009 09:11:38 +0000 (09:11 +0000)]
Correct permissions for /etc/ldap/ldap-shell.conf from 0600 to 0644.

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13542 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years agoTry to translate hostname to ip.
janw [Fri, 13 Mar 2009 08:58:23 +0000 (08:58 +0000)]
Try to translate hostname to ip.

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13541 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years agoIncrease trace level on error.
janw [Thu, 12 Mar 2009 11:42:47 +0000 (11:42 +0000)]
Increase trace level on error.
Repair logic of move_table.

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13540 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years agoMake recreate_packages_list work again.
janw [Thu, 12 Mar 2009 11:40:40 +0000 (11:40 +0000)]
Make recreate_packages_list work again.

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13539 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years agoTranslate hostnames to ip-addresses if possible.
janw [Thu, 12 Mar 2009 11:16:56 +0000 (11:16 +0000)]
Translate hostnames to ip-addresses if possible.

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13538 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years agosqlite crashes on schema changes if using prepare_cached.
janw [Thu, 12 Mar 2009 11:14:21 +0000 (11:14 +0000)]
sqlite crashes on schema changes if using prepare_cached.

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13537 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years agoDon't print ERROR on DEBUG message.
janw [Thu, 12 Mar 2009 10:50:30 +0000 (10:50 +0000)]
Don't print ERROR on DEBUG message.

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13536 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years agoAllow optional indices on table.
janw [Thu, 12 Mar 2009 10:44:09 +0000 (10:44 +0000)]
Allow optional indices on table.

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13535 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years agoMerged statements, changed waiting time from 10 to 60 seconds.
janw [Thu, 12 Mar 2009 08:29:24 +0000 (08:29 +0000)]
Merged statements, changed waiting time from 10 to 60 seconds.
-- Diese und die folgenden Zeilen werden ignoriMerert --

M    gosaTriggered.pm

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13532 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years agoAdd more verbosity if wanted.
janw [Wed, 11 Mar 2009 14:48:30 +0000 (14:48 +0000)]
Add more verbosity if wanted.
Correct calls of instance methods.
Add DBI trace on failures if debug level is at 7 or above.
Changed 'normal' statements to cached prepared ones.
Use transactions if needed.
Don't print errors to STDERR.

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13530 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years agoAdded flocks to daemon_log.
janw [Wed, 11 Mar 2009 12:43:53 +0000 (12:43 +0000)]
Added flocks to daemon_log.

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13526 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years agoChanged most statements from 'do' to complete prepared statements.
janw [Tue, 10 Mar 2009 17:05:41 +0000 (17:05 +0000)]
Changed most statements from 'do' to complete prepared statements.

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13524 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years agoChanged open to sysopen.
janw [Mon, 9 Mar 2009 09:36:16 +0000 (09:36 +0000)]
Changed open to sysopen.
More debugging messages about locking.

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13511 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years agochanging file permissions of /var/log/gosa-si-client.log, /etc/ldap/ldap-shell.conf...
rettenbe [Fri, 6 Mar 2009 15:13:24 +0000 (15:13 +0000)]
changing file permissions of /var/log/gosa-si-client.log, /etc/ldap/ldap-shell.conf, /var/run/gosa-si-client.opts, /var/log/fai/..., /var/lib/gosa-si/*.db*

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13508 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years agoUpdated several tabs_*.inc files:
psc [Fri, 6 Mar 2009 14:52:22 +0000 (14:52 +0000)]
Updated several tabs_*.inc files:
- Properly call the tabs::tabs function to make sure ACLs are
  properly inherited on a re_init etc.
  (Fixes problem with the Apply button in several objects, e.g
  when editting printer objects; Trac: #1205)

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13506 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years agoCheck weither is defined, before using it (Fixes Trac #2193)
psc [Fri, 6 Mar 2009 13:04:49 +0000 (13:04 +0000)]
Check weither  is defined, before using it (Fixes Trac #2193)

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13502 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years agosqlite needs id INTEGER PRIMARY KEY
janw [Thu, 5 Mar 2009 14:58:49 +0000 (14:58 +0000)]
sqlite needs id INTEGER PRIMARY KEY

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13501 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years agoAllow a maximum value of 50 POE Childs.
janw [Wed, 4 Mar 2009 14:47:00 +0000 (14:47 +0000)]
Allow a maximum value of 50 POE Childs.

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13500 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years agoFixed typos.
janw [Wed, 4 Mar 2009 14:11:54 +0000 (14:11 +0000)]
Fixed typos.

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13498 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years agoFix typo.
janw [Wed, 4 Mar 2009 13:50:35 +0000 (13:50 +0000)]
Fix typo.

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13496 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years ago'Repair' count_dbentries function.
janw [Wed, 4 Mar 2009 13:35:05 +0000 (13:35 +0000)]
'Repair' count_dbentries function.
Use DBsqlite->count_dbentries for count functions (fai_release, fai_server, packages_list).

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13495 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years agoDon't loose complete schema description of database tables.
janw [Wed, 4 Mar 2009 13:24:26 +0000 (13:24 +0000)]
Don't loose complete schema description of database tables.
Added missing lock statements.

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13494 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years agoChanged wrong function name.
janw [Wed, 4 Mar 2009 12:52:36 +0000 (12:52 +0000)]
Changed wrong function name.
Use SQL Count()-Function to improve performance.

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13493 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years agoMerged Statements.
janw [Wed, 4 Mar 2009 10:16:03 +0000 (10:16 +0000)]
Merged Statements.
When reqeueing, always use 1 minute.

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13492 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years agoUse auto-increment from sqlite, no subselect anymore.
janw [Wed, 4 Mar 2009 09:47:45 +0000 (09:47 +0000)]
Use auto-increment from sqlite, no subselect anymore.

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13490 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years agoAdded automatic deletion of malformed databases.
janw [Wed, 4 Mar 2009 09:11:03 +0000 (09:11 +0000)]
Added automatic deletion of malformed databases.

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13489 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years agoAdded database tests to verify malforming of sqlite databases.
janw [Wed, 4 Mar 2009 08:52:19 +0000 (08:52 +0000)]
Added database tests to verify malforming of sqlite databases.

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13488 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years agoApplied patch from upstream trunk, changeset:13477
janw [Mon, 2 Mar 2009 10:45:50 +0000 (10:45 +0000)]
Applied patch from upstream trunk, changeset:13477

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13482 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years agoFix object group deletion ACLs
lhm-gosa [Mon, 2 Mar 2009 09:58:57 +0000 (09:58 +0000)]
Fix object group deletion ACLs

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13481 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years agoAdd a PrepareForCopyPaste function to make copying of applications
psc [Thu, 26 Feb 2009 15:52:49 +0000 (15:52 +0000)]
Add a PrepareForCopyPaste function to make copying of applications
also copy applicationParameters (Fix for LHM #1269)

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13473 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years agoAdd a PrepareForCopyPaste function to make copying of applications
psc [Thu, 26 Feb 2009 15:42:56 +0000 (15:42 +0000)]
Add a PrepareForCopyPaste function to make copying of applications
also copy applicationParameters (Fix for LHM #1269)

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13472 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years agoAdd vboxvideo to video driver list
lhm-gosa [Wed, 25 Feb 2009 17:23:40 +0000 (17:23 +0000)]
Add vboxvideo to video driver list

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13459 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years agoDon't take ->initially_was_account into account, when checking weither a ppd was...
psc [Wed, 25 Feb 2009 11:55:06 +0000 (11:55 +0000)]
Don't take ->initially_was_account into account, when checking weither a ppd was selected, because this leads to removing a selected ppd when creating a new printer object

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13454 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years agoApplied changeset:13437
cajus [Tue, 24 Feb 2009 08:57:56 +0000 (08:57 +0000)]
Applied changeset:13437

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13447 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years agoAdded changeset:13433 done by psc
cajus [Tue, 24 Feb 2009 08:47:38 +0000 (08:47 +0000)]
Added changeset:13433 done by psc

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13446 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years agoUpdated references
cajus [Tue, 24 Feb 2009 08:28:33 +0000 (08:28 +0000)]
Updated references

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13445 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years ago* Created "old" branch and moved stuff
cajus [Tue, 24 Feb 2009 08:26:37 +0000 (08:26 +0000)]
* Created "old" branch and moved stuff
* Created "tags" directory

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13444 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years agoAdded branches container for old stuff
cajus [Tue, 24 Feb 2009 08:22:13 +0000 (08:22 +0000)]
Added branches container for old stuff

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13443 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years agoUpdated externals to point to the correct repository
cajus [Tue, 24 Feb 2009 08:15:14 +0000 (08:15 +0000)]
Updated externals to point to the correct repository

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13442 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years agoCreated trunk inside of 2.6-lhm
cajus [Tue, 24 Feb 2009 07:56:34 +0000 (07:56 +0000)]
Created trunk inside of 2.6-lhm

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13441 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years ago* Reorder MouseType and MousePorts array, so autodetection is the first entry
lhm-gosa [Fri, 20 Feb 2009 18:42:59 +0000 (18:42 +0000)]
* Reorder MouseType and MousePorts array, so autodetection is the first entry
  - Type: auto
  - Port: /dev/input/mice (combined mouse driver default since Linux 2.6)
* Add "auto" to MouseType for autodetection
* Rename previous MouseType "inheritance" AUTO to use "default"
  -> this will map old AUTO => auto, which should almost always work

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13437 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years agoRefactor parts of the plugin:
psc [Fri, 20 Feb 2009 12:44:34 +0000 (12:44 +0000)]
Refactor parts of the plugin:
- ppdManager::loadDescription now returns a well-formed associative
  array instead of a string which is parsed over and over again.
  This was neccessary to fix problems that occured after applying
  the double-manufacturer-fix, because large parts of the plugin
  were dependent on the string structure.
- Fix display of printer names, it should print the manufacturer
  only once.
- Adapt all usages of the loadDescription function and variables
  storing its return value.

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13433 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years agoFix errornous evaluation of ACLs when managing servers (partial port of revision...
psc [Thu, 19 Feb 2009 08:56:03 +0000 (08:56 +0000)]
Fix errornous evaluation of ACLs when managing servers (partial port of revision 12495)

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13432 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years agoMerge revision 12939 from trunk:
psc [Thu, 19 Feb 2009 08:45:48 +0000 (08:45 +0000)]
Merge revision 12939 from trunk:
Do not check for dummy entries like ('cn=dummy,ou..'), this doesn't work
with user filter settings.

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13431 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years agoSort printer ppd selection alphabetically
psc [Tue, 17 Feb 2009 13:05:55 +0000 (13:05 +0000)]
Sort printer ppd selection alphabetically

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13428 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years agoFix errornous evaluation of ACLs with paranthesis in OUs
psc [Mon, 16 Feb 2009 17:54:50 +0000 (17:54 +0000)]
Fix errornous evaluation of ACLs with paranthesis in OUs

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13426 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years ago* Fix LDAP search filter escaping
lhm-gosa [Tue, 10 Feb 2009 12:55:02 +0000 (12:55 +0000)]
* Fix LDAP search filter escaping
* Fix base stripping, when it contains regexp characters

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13419 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years agofix ACL mapping. It's called "faiPackage", not "faiPackageList"
wolffc [Fri, 6 Feb 2009 11:32:08 +0000 (11:32 +0000)]
fix ACL mapping. It's called "faiPackage", not "faiPackageList"

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13394 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years agothe existence check needs to include FAIprofile.
wolffc [Fri, 30 Jan 2009 16:16:12 +0000 (16:16 +0000)]
the existence check needs to include FAIprofile.

previously, the fact that it failed to find FAIprofiles of the same name,
resulted in the possibility to overwrite profiles by copy&paste in one
place.

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13374 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years agoRemoved very important empty line to README in order to test svn account.
wolffc [Mon, 26 Jan 2009 10:01:27 +0000 (10:01 +0000)]
Removed very important empty line to README in order to test svn account.

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13373 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years agoAdded very important empty line to README in order to test mail notifications.
cajus [Mon, 26 Jan 2009 08:09:42 +0000 (08:09 +0000)]
Added very important empty line to README in order to test mail notifications.

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13372 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years agoRemoved additional space
cajus [Mon, 26 Jan 2009 08:03:07 +0000 (08:03 +0000)]
Removed additional space

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13371 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years agoReverted test commit
cajus [Mon, 26 Jan 2009 08:01:59 +0000 (08:01 +0000)]
Reverted test commit

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13370 594d385d-05f5-0310-b6e9-bd551577e9d8

15 years agoTest commit
cajus [Mon, 26 Jan 2009 08:00:11 +0000 (08:00 +0000)]
Test commit

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13369 594d385d-05f5-0310-b6e9-bd551577e9d8

16 years agodelete conflict ">>>>>>>"
rettenbe [Wed, 12 Nov 2008 13:32:58 +0000 (13:32 +0000)]
delete conflict ">>>>>>>"

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13010 594d385d-05f5-0310-b6e9-bd551577e9d8

16 years ago* reregistering between client and server works again
rettenbe [Wed, 12 Nov 2008 13:28:42 +0000 (13:28 +0000)]
* reregistering between client and server works again
* ticket #1587

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13008 594d385d-05f5-0310-b6e9-bd551577e9d8

16 years agoUpdated ACL checks for Applications.
hickert [Tue, 11 Nov 2008 10:22:26 +0000 (10:22 +0000)]
Updated ACL checks for Applications.

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13003 594d385d-05f5-0310-b6e9-bd551577e9d8

16 years agoUpdated ACL check for menu entries,
hickert [Tue, 11 Nov 2008 09:55:31 +0000 (09:55 +0000)]
Updated ACL check for menu entries,

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13002 594d385d-05f5-0310-b6e9-bd551577e9d8

16 years agochange get_time(30) to calc_timestamp()
rettenbe [Tue, 11 Nov 2008 09:19:27 +0000 (09:19 +0000)]
change get_time(30) to calc_timestamp()

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13001 594d385d-05f5-0310-b6e9-bd551577e9d8