Code

gosa.git
15 years agoFix regular expression for the check, weither $
psc [Tue, 29 Sep 2009 11:41:22 +0000 (11:41 +0000)]
Fix regular expression for the check, weither $
is at the end of the share name or not, so that
foo$bar leads to an error.
(Trac: #1960)

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

15 years agoAllow the specification of hidden shares (indicated
psc [Tue, 29 Sep 2009 09:24:49 +0000 (09:24 +0000)]
Allow the specification of hidden shares (indicated
by a $ _at the end_ of the share name) by relaxing the
check weither a share name is valid or not
(Trac: #1960)

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

15 years agoUpdate locale files and add german translation for
psc [Mon, 28 Sep 2009 10:59:39 +0000 (10:59 +0000)]
Update locale files and add german translation for
the new inherit to group members button
(Trac: #3020)

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

15 years agoEnable inheritance of XDriver
psc [Mon, 28 Sep 2009 09:35:23 +0000 (09:35 +0000)]
Enable inheritance of XDriver
(Trac: #3020)

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

15 years ago- Adapt actions to be more consistent overall
psc [Mon, 28 Sep 2009 09:29:06 +0000 (09:29 +0000)]
- Adapt actions to be more consistent overall
  - Add 'force localboot' option in several places
  - Change visibility of the localboot event so that it gets
    automatically displayed in places, where events are selected
    by their visibility.
  - Remove actions that don't work.
- Fix a typo in class_servGeneric.inc
(Trac: #3097/#1242)

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

15 years agoUse icons in the list of fai classes, instead of
psc [Mon, 28 Sep 2009 09:18:55 +0000 (09:18 +0000)]
Use icons in the list of fai classes, instead of
text, to enhance clarity.
(Trac: #348)

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

15 years agoAdd a new button to objectgroups of workstations, that
psc [Mon, 28 Sep 2009 08:46:50 +0000 (08:46 +0000)]
Add a new button to objectgroups of workstations, that
enables to let all member objects inherit from the objectgroup,
instead of doing this manually from each object.
(Trac: #3020)

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

15 years ago- Fix update_fai_cache to not overwrite class information for classes
psc [Thu, 24 Sep 2009 09:39:47 +0000 (09:39 +0000)]
- Fix update_fai_cache to not overwrite class information for classes
  that contain several class types.
- Fix function selectable classes: Properly return the abbrevations for
  a given class_name instead of constructing it randomly with
  false results.
- Implement function get_classes to reduce code duplication and use it
  in several places.
- Implement function get_abbrevations_string to determine abbrevations
  string and use it.
(Trac: #3381)

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

15 years agoidProduct- and idVendor-Inputfield should be caseinsensitive.
lhm-gosa [Wed, 9 Sep 2009 13:04:52 +0000 (13:04 +0000)]
idProduct- and idVendor-Inputfield should be caseinsensitive.

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

15 years ago- class_DaemonEvent.inc: Do not simply reset timestamp, because
psc [Wed, 22 Jul 2009 11:33:09 +0000 (11:33 +0000)]
- class_DaemonEvent.inc: Do not simply reset timestamp, because
it causes PHP errors when sending messages
- class_DaemonEvent_notify.inc: Add missing timestamp to attributes
list
- gosa-si: Revert commit 13501 because the code actually needs id not
to be a primary key.

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

15 years agoRevert commit 13946
psc [Wed, 22 Jul 2009 11:29:01 +0000 (11:29 +0000)]
Revert commit 13946

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

15 years ago- Add missing 'timestamp' in attributes list
psc [Wed, 22 Jul 2009 11:28:18 +0000 (11:28 +0000)]
- Add missing 'timestamp' in attributes list
- Do not simply unset the timestamp, because that
causes PHP errors when sending messages

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

15 years agoUse get_attribute for FAItemplateFile if it exists
psc [Wed, 22 Jul 2009 11:13:33 +0000 (11:13 +0000)]
Use get_attribute for FAItemplateFile if it exists
in the object, because it can be binary and would
otherwise be damaged.
(Trac: #2983)

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

15 years ago* Make CopyPasteVars complete
psc [Tue, 21 Jul 2009 10:07:13 +0000 (10:07 +0000)]
* Make CopyPasteVars complete
* Force adding the new object to eventually existing printer objects
  on Copy/Paste
(Trac: #3034)

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

15 years agoBy default do not delete recursive
psc [Mon, 20 Jul 2009 11:58:56 +0000 (11:58 +0000)]
By default do not delete recursive

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

15 years agoOn copy and paste also copy the accessTo field,
psc [Thu, 16 Jul 2009 13:39:40 +0000 (13:39 +0000)]
On copy and paste also copy the accessTo field,
which fixes PHP errors when iterating over that
non-existing value.
(Trac: #3033)

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

15 years agoTake share server into account, when testing weither
psc [Thu, 16 Jul 2009 13:18:43 +0000 (13:18 +0000)]
Take share server into account, when testing weither
a specific share is in use or not, because otherwise
we might block removing in case of double sharenames on
different servers.

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

15 years agoFix check of idVendor and idProduct inputfields.
lhm-gosa [Thu, 16 Jul 2009 12:55:11 +0000 (12:55 +0000)]
Fix check of idVendor and idProduct inputfields.

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

15 years agoOptimize LDAP searchfilter. The LDAP-Performance-Warning after Gosa-Login doesn't...
lhm-gosa [Wed, 15 Jul 2009 09:17:41 +0000 (09:17 +0000)]
Optimize LDAP searchfilter. The LDAP-Performance-Warning after Gosa-Login doesn't appear anymore

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

15 years agoOptimize LDAP searchfilter. The LDAP-Performance-Warning after Gosa-Login doesn't...
lhm-gosa [Wed, 15 Jul 2009 09:12:43 +0000 (09:12 +0000)]
Optimize LDAP searchfilter. The LDAP-Performance-Warning after Gosa-Login doesn't appear anymore.

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

15 years agoAdded a new special casing for debconf variables
psc [Wed, 15 Jul 2009 08:57:41 +0000 (08:57 +0000)]
Added a new special casing for debconf variables

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

15 years agoFollowup commit for r13729
psc [Mon, 13 Jul 2009 14:36:12 +0000 (14:36 +0000)]
Followup commit for r13729

Handle moving of printers properly, by comparing
the CN instead of the full DN.

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

15 years ago- When checking if a share is in use by other objects,
psc [Mon, 13 Jul 2009 14:07:01 +0000 (14:07 +0000)]
- When checking if a share is in use by other objects,
also check if it is in use by object groups.
- Also check for used shares if removing the share only
  (and not the whole service or server)

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

15 years agoRemoved check for object presence when
psc [Mon, 13 Jul 2009 13:55:20 +0000 (13:55 +0000)]
Removed check for object presence when
updating freeze tags

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

15 years agoRenumber $this->FAIclasses when deleting values.
psc [Mon, 13 Jul 2009 08:48:09 +0000 (08:48 +0000)]
Renumber $this->FAIclasses when deleting values.
Avoids problem with "ghost" entries.

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

15 years agoSome improvements to the ArrayUp/ArrayDown handling
psc [Fri, 10 Jul 2009 09:52:48 +0000 (09:52 +0000)]
Some improvements to the ArrayUp/ArrayDown handling

- In functions Array(Up|Down) don't do anything if
  number of elements is 1
- Don't display down element if there is only
  one entry in the list.

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

15 years agoFollowup commit for r13825
psc [Wed, 8 Jul 2009 16:30:37 +0000 (16:30 +0000)]
Followup commit for r13825

- Take other CopyPasteVars in account, too, when preparing
  for copy & paste, because otherwise some values might
  be missing, leading to strange effects.
- Remove sambaGroupType from CopyPasteVars because it leads
  to an access violation when saving the object, although
  the sambaGroupType is saved properly in the resulting
  object (identical to the value in the previous object)

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

15 years agoAlso return if a file is 0 bytes long.
psc [Tue, 7 Jul 2009 12:52:28 +0000 (12:52 +0000)]
Also return if a file is 0 bytes long.

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

15 years agoPrint a error message if files are 0-byte long,
psc [Tue, 7 Jul 2009 12:51:04 +0000 (12:51 +0000)]
Print a error message if files are 0-byte long,
instead of trying to parse that empty file.

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

15 years agoFollowup commit for r13694
psc [Tue, 7 Jul 2009 08:51:45 +0000 (08:51 +0000)]
Followup commit for r13694

- Make delete functionality properly handle the new array
  with numeric indices

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

15 years agoDon't copy over subobjects in subreleases if their
psc [Fri, 3 Jul 2009 10:38:54 +0000 (10:38 +0000)]
Don't copy over subobjects in subreleases if their
parent is in "removed" state

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

15 years agoMake sure CoW objects in subreleases are properly created when the main
psc [Fri, 3 Jul 2009 09:05:45 +0000 (09:05 +0000)]
Make sure CoW objects in subreleases are properly created when the main
object gets modified and check that the parent object is not marked as
removed in is_child_of_cow_parent()

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

15 years agoIn PrepareForCopyPaste instanciate the source object and set
psc [Mon, 29 Jun 2009 16:10:49 +0000 (16:10 +0000)]
In PrepareForCopyPaste instanciate the source object and set
$this->smbgroup depending on what is set in the source object.
This fixes problems with copying groups if the group is tied
to a samba group (Trac #2670)

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

15 years agoLimit scope of get_child_objects and some cosmetic
psc [Mon, 29 Jun 2009 13:10:43 +0000 (13:10 +0000)]
Limit scope of get_child_objects and some cosmetic
changes.

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

15 years agoRewrite get_parent_object(..) so that it uses gosa_explode_dn
psc [Mon, 29 Jun 2009 09:03:35 +0000 (09:03 +0000)]
Rewrite get_parent_object(..) so that it uses gosa_explode_dn
instead of preg_replace, because it should avoid potential
problems with ',' in DNs

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

15 years agoFollowup commit for r13801: Remove var_dump
psc [Fri, 26 Jun 2009 11:33:25 +0000 (11:33 +0000)]
Followup commit for r13801: Remove var_dump

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

15 years agoApply patch for #2674 by mba
psc [Fri, 26 Jun 2009 11:19:33 +0000 (11:19 +0000)]
Apply patch for #2674 by mba

If the gid is the same as a gid of a group with the same name,
set primaryGroup to 0, i.e. "automatic".
If "automatic" was chosen as a group. See if there is group with the
same name as the uid, and if so, set the person's gid to that gid.

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

15 years agoCheck for double group names (Trac: #2756)
psc [Fri, 26 Jun 2009 10:49:06 +0000 (10:49 +0000)]
Check for double group names (Trac: #2756)

When adding new groups or editting existing groups
check for existing groups and abort with an error if same
named groups exist in the same unit tag

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

15 years agoRemove the double function
psc [Fri, 26 Jun 2009 09:01:23 +0000 (09:01 +0000)]
Remove the double function
Add the modeline again, which got lost in the las commit

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

15 years agoMove functionality of determining the GosaUnitTag of
psc [Fri, 26 Jun 2009 08:41:50 +0000 (08:41 +0000)]
Move functionality of determining the GosaUnitTag of
an object to an own function and use this one inside
of tag_attrs. This way the function can be used in other
parts of gosa, where comparisons with the GosaUnitTag of
a new object may be desired

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

15 years agoAdd a configuration option allowGroupsWithSameNameInOtherSubtrees,
psc [Wed, 24 Jun 2009 10:35:42 +0000 (10:35 +0000)]
Add a configuration option allowGroupsWithSameNameInOtherSubtrees,
which allows to control the object attribute
allowGroupsWithSameNameInOtherSubtrees
(Related to Trac #2756)

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

15 years agoFix Trac #2646
psc [Wed, 24 Jun 2009 08:48:26 +0000 (08:48 +0000)]
Fix Trac #2646

Do not handle field seperators different in _get_next
and _get_last functions, which are used when moving
items around. This fixes several problems with moving items
around.

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

15 years agoApply patch by mba for Trac #2667
psc [Tue, 23 Jun 2009 12:16:57 +0000 (12:16 +0000)]
Apply patch by mba for Trac #2667

- Add download button for logon scripts
- Change button label from "Import" to "Import script"

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

15 years agoFix revision 13752 (for Trac #2697)
psc [Mon, 22 Jun 2009 18:20:25 +0000 (18:20 +0000)]
Fix revision 13752 (for Trac #2697)

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

15 years agoUse preselected priority, so that preset priorities
psc [Mon, 22 Jun 2009 16:02:09 +0000 (16:02 +0000)]
Use preselected priority, so that preset priorities
do not get reset (Trac #2643)

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

15 years agoCompare LDAP::fix()'ed DNs only, because othereise the the comparison
psc [Mon, 22 Jun 2009 14:05:51 +0000 (14:05 +0000)]
Compare LDAP::fix()'ed DNs only, because othereise the the comparison
can fail if DNs contain special characters.
(#1917)

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

15 years agoSilence error message when SNMP-support is missing (Trac #2006)
psc [Mon, 22 Jun 2009 12:27:01 +0000 (12:27 +0000)]
Silence error message when SNMP-support is missing (Trac #2006)

Do not show an error message if SNMP-support is missing,
instead indicate it in status view.

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

15 years agoCommitting results from running update-locale..
psc [Mon, 22 Jun 2009 12:22:24 +0000 (12:22 +0000)]
Committing results from running update-locale..

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

15 years agoRevert 13752 because it might cause data loss
psc [Mon, 22 Jun 2009 10:30:15 +0000 (10:30 +0000)]
Revert 13752 because it might cause data loss

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

15 years agoApply patch for Trac #2697 by mba
psc [Mon, 22 Jun 2009 07:54:13 +0000 (07:54 +0000)]
Apply patch for Trac #2697 by mba

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

15 years agoApply patch for Trac #225 by mba
psc [Sun, 21 Jun 2009 19:47:01 +0000 (19:47 +0000)]
Apply patch for Trac #225 by mba

Properly show object group membership in system list

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

15 years agoApply patch for #225 by mba
psc [Sun, 21 Jun 2009 19:45:04 +0000 (19:45 +0000)]
Apply patch for #225 by mba

- Properly handle renaming of systems that contain
  special characters
- Properly capture object group membership when editing systems

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

15 years agoFix by mba for #2697
psc [Fri, 19 Jun 2009 15:03:21 +0000 (15:03 +0000)]
Fix by mba for #2697

Reduce '|removed' entries by applying clean_up_releases() function
on child releases, too.

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

15 years agoApply patch for Trac #2697
psc [Fri, 19 Jun 2009 14:47:26 +0000 (14:47 +0000)]
Apply patch for Trac #2697

Save changes first, before cleaning up FAI-classes wrt
to "|removed" information

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

15 years agoApplying fix for Trac #2090 from Sebastian Harl
psc [Fri, 19 Jun 2009 10:22:40 +0000 (10:22 +0000)]
Applying fix for Trac #2090 from Sebastian Harl

- Fix wrong mountpoint display and wrong partition type,
by setting mountpoint explicit to - (as required for FAI)
- Fix undo of preserve Flag by setting FAIpartitionFlags to
" " explicit

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

15 years agoRevert commit 11689 which breaked known behaviour
psc [Fri, 19 Jun 2009 09:57:40 +0000 (09:57 +0000)]
Revert commit 11689 which breaked known behaviour
and update the line to use session::get.
(Trac: #2603)

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

15 years agoFix check for used DNs
psc [Fri, 19 Jun 2009 09:54:04 +0000 (09:54 +0000)]
Fix check for used DNs
(Trac: #2673)

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

15 years agoFix device driver upload by handling the special case
psc [Thu, 18 Jun 2009 12:57:11 +0000 (12:57 +0000)]
Fix device driver upload by handling the special case
'new' properly (without copying empty files)
(Trac: #2715)

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

15 years agoAccept same share-/server-combination if gosaUnitTag is different
psc [Thu, 18 Jun 2009 09:51:15 +0000 (09:51 +0000)]
Accept same share-/server-combination if gosaUnitTag is different
(Trac: #500)

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

15 years agoRelax checks when adding a new share.
psc [Thu, 18 Jun 2009 09:49:06 +0000 (09:49 +0000)]
Relax checks when adding a new share.

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

15 years agoImprove commit messages for already existing shares
psc [Thu, 18 Jun 2009 09:46:30 +0000 (09:46 +0000)]
Improve commit messages for already existing shares

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

15 years agoFollowup commit for 13555: Add missing string in messages.po
psc [Wed, 17 Jun 2009 20:12:34 +0000 (20:12 +0000)]
Followup commit for 13555: Add missing string in messages.po

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

15 years agoCorrect variablename from $ignoreACl to $ignoreACL.
lhm-gosa [Tue, 16 Jun 2009 11:28:27 +0000 (11:28 +0000)]
Correct variablename from $ignoreACl to $ignoreACL.
Ticket: #2594

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

15 years ago Add special-character-handling for gotoHotplugDeviceDN-entries.
lhm-gosa [Tue, 16 Jun 2009 08:50:44 +0000 (08:50 +0000)]
 Add special-character-handling for gotoHotplugDeviceDN-entries.
 Ticket #2156

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

15 years agoAdd localisation for #225
psc [Mon, 15 Jun 2009 10:52:57 +0000 (10:52 +0000)]
Add localisation for #225

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

15 years agoFollowup commit for #2644
psc [Mon, 15 Jun 2009 09:40:18 +0000 (09:40 +0000)]
Followup commit for #2644

Clear FAI class list if FAI mirror has been set to inherited

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

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