summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/gitblit/authority
Commit message (Collapse)AuthorAgeFilesLines
* Fix single quotes in MessageFormat patterns.Egor Shchegolkov2023-10-141-1/+1
|
* authority: Fix null pointer crash for deleted usersFlorian Zschocke2022-11-011-1/+5
| | | | | | | | | | | | When a user had a certificate, i.e. an entry in the Gitblit Authority database, but the user was deleted from the Gitblit database, then the Authority application crashes upon loading. This patch prevents the crash. The deleted user is no longer shown in the Authority. But the database entry still is kept. This should be improved to show deleted users and give the possibility to delete them from the Authority's database. This fixes #1359
* For Java 9+ define the classpath instead of using a Launcher.Florian Zschocke2019-11-071-166/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The (moxie and other) Launcher do not work with Java 9 and later anymore. It used to dynamically extend the classpath, misusing an internal interface of the `URLClassLoader`. This is no longer possible since Java 9, which closed that path and does not offer any way to dynamically extend the classpath during runtime. So the choice is between providing one large Jar with everything in it, providing a Jar that has the Jars in `ext` listed explicitly in its manifest, and specifying the classpath on the command line where the `ext` directory can be added and all contained jar files will be put on the classpath. The motivation for the Launcher class was to be able to simply drop new jar files into a directory and they will be picked up at the application start, without having to specify a classpath. We opt for solution three here. This way jar files can still be dropped into the ext directory, albeit the directory needs to be added to the classpath on the command line. Unfortunately using a wildcard is not possible in the manifest file. We change the calls in the script files accordingly. This seems like a good compromise, since no one will run the application manually typing the whole commandline anyway. This also does away with the splash screen, by the way. Again, doesn't seem like a big loss, as I don't think it was ever shown for the Authority. Personally, I am not convinced that it is the best way, because I don't really think that the use case of dropping whatever jar files into the `ext` directory is a valid one that happened a lot. This does not yet fix the client programs, which still use a Launcher. Maybe for them a all-in-one Jar is a better solution. Fixes #1262 Fixes #1294
* fix bug "get user default language null exception"william2017-01-251-1/+5
|
* Sending email (certificate zip file) based on locale that user selectedwilliam2017-01-241-3/+12
|
* Improve notification api by introducing the Mailing modelJames Moger2014-02-281-23/+8
|
* Support customizing the "from" display name for generated emailsJames Moger2013-12-301-1/+2
| | | | Change-Id: Ibad9e2b1c12a24ad9c671a0d96aafb3365daa529
* Moved servlets and services to separate packagesJames Moger2013-11-291-3/+3
| | | | Change-Id: I5f0f50f4ae7d332e9f724a2e6f074fa71f646035
* Use equals to compare strings instead of ==Simon Harrer2013-10-241-1/+1
|
* Trim trailing whitespace and organize importsJames Moger2013-09-3017-235/+273
| | | | Change-Id: I9f91138b20219be6e3c4b28251487df262bff6cc
* Fixed Gitblit Authority failing to load realm.NNN.backingUserService (issue-280)James Moger2013-07-251-6/+3
|
* [authority] Clear user selection on filter changeJames Moger2013-05-073-8/+13
|
* [authority] Fixed out of bounds exception on cert generation for a filtered userJames Moger2013-05-071-2/+2
|
* Organize importsJames Moger2013-05-021-2/+3
|
* Reorganized to Apache Standard Directory Layout & integrated MoxieJames Moger2013-03-2718-0/+2978
This is a massive commit which reorganizes the entire project structure (although it is still monolithic), removes the Build classes, and switches to Moxie, a smarter Ant build tookit based on the original Gitblit Build classes. The Ant build script will likely require additional fine-tuning, but this is big step forward.