Explorar el Código

Set default federation strategy in model (issue 20)

tags/v0.7.0
James Moger hace 12 años
padre
commit
4838c534a2
Se han modificado 3 ficheros con 4 adiciones y 1 borrados
  1. 1
    0
      docs/00_index.mkd
  2. 1
    0
      docs/04_releases.mkd
  3. 2
    1
      src/com/gitblit/models/RepositoryModel.java

+ 1
- 0
docs/00_index.mkd Ver fichero

@@ -28,6 +28,7 @@ Gitblit requires a Java 6 Runtime Environment (JRE) or a Java 6 Development Kit
**%VERSION%** ([go](http://code.google.com/p/gitblit/downloads/detail?name=%GO%)|[war](http://code.google.com/p/gitblit/downloads/detail?name=%WAR%)|[fedclient](http://code.google.com/p/gitblit/downloads/detail?name=%FEDCLIENT%)) based on [%JGIT%][jgit]   *released %BUILDDATE%*
- fixed: Null pointer exception if did not set federation strategy (issue 20)
- fixed: Gitblit GO allows SSL renegotiation if running on Java 1.6.0_22 or later
- added: IUserService.setup(IStoredSettings) for custom user service implementations

+ 1
- 0
docs/04_releases.mkd Ver fichero

@@ -3,6 +3,7 @@
### Current Release
**%VERSION%** ([go](http://code.google.com/p/gitblit/downloads/detail?name=%GO%)|[war](http://code.google.com/p/gitblit/downloads/detail?name=%WAR%)|[fedclient](http://code.google.com/p/gitblit/downloads/detail?name=%FEDCLIENT%)) based on [%JGIT%][jgit]   *released %BUILDDATE%*
- fixed: Null pointer exception if did not set federation strategy (issue 20)
- fixed: Gitblit GO allows SSL renegotiation if running on Java 1.6.0_22 or later
- added: IUserService.setup(IStoredSettings) for custom user service implementations

+ 2
- 1
src/com/gitblit/models/RepositoryModel.java Ver fichero

@@ -63,7 +63,8 @@ public class RepositoryModel implements Serializable, Comparable<RepositoryModel
this.owner = owner;
this.lastChange = lastchange;
this.accessRestriction = AccessRestrictionType.NONE;
federationSets = new ArrayList<String>();
this.federationSets = new ArrayList<String>();
this.federationStrategy = FederationStrategy.FEDERATE_THIS;
}
@Override

Cargando…
Cancelar
Guardar