Commit Graph

26 Commits

Author SHA1 Message Date
Eduard Heimbuch
550ebefd93 Context sensitive search (#2102)
Extend global search to search context-sensitive in repositories and namespaces.
2022-08-04 12:14:46 +02:00
Eduard Heimbuch
162dd6ad0a CLI Support for repository actions (#1987)
To make SCM-Manager more accessible and to make it easier using scripts against the server, we created a command line interface. This command line interface can be used to perform the default actions like create, modify and delete repositories. It is also very flexible and can be extended by plugins.

The CLI already supports internationalization, help texts, input validation, loose and table-like templates and nested subcommands. Check the cli guidelines to learn how add new cli commands.

Co-authored-by: Sebastian Sdorra <sebastian.sdorra@cloudogu.com>
2022-04-04 12:02:16 +02:00
Sebastian Sdorra
9dee08f68d Update Gradle to 7.3 (#1873)
Update Gradle to 7.3. in order to profit from the performance improvement and to prepare for dependency lockfiles. Due to the upgrade to 7.x we had to use a license plugin which supports Gradle 7.
2021-11-29 09:05:24 +01:00
Sebastian Sdorra
21a6943980 Refactor Search API and allow analyzer per field (#1755)
The Search api is now simpler, because it provides useful defaults. Only if you want to deviate from the defaults, you can set these values. This is mostly reached by using the builder pattern. Furthermore it is now possible to configure an analyzer per field. The default analyzer is still the one which is derived from the index options, but it is possible to configure a new indexer with the analyzer attribute of the indexed annotation. The attribute allows the configuration for code, identifiers and path. The current implementation uses the same analyzer code, identifiers and path. The new implemented splits tokens on more delimiters as the default analyzer e.g.: dots, underscores etc.

Co-authored-by: René Pfeuffer <rene.pfeuffer@cloudogu.com>
2021-08-05 08:21:46 +02:00
Sebastian Sdorra
39d2f12b66 Return separate links for searchable types instead of single templated link (#1733)
The search link of the index resource is now an array of links instead of single templated link.
The array contains one link for each searchable type.

Co-authored-by: René Pfeuffer <rene.pfeuffer@cloudogu.com>
2021-07-21 10:07:41 +02:00
Sebastian Sdorra
e75d937ee5 Prepare search api for different types (#1732)
We introduced a new annotation '@IndexedType' which gets collected by the scm-annotation-processor. All classes which are annotated are index and searchable. This opens the search api for plugins.
2021-07-19 08:48:43 +02:00
Sebastian Sdorra
02e8e3795a Move scm-core module.xml
We move module.xml from scm-core to scm-annotations to avoid conflict with the annotation processor.
2021-01-14 11:55:27 +01:00
Sebastian Sdorra
8d698c53a5 Added javadoc for Requires annotation 2020-04-15 08:35:50 +02:00
Eduard Heimbuch
64a699b050 add javadoc 2020-04-09 08:14:03 +02:00
Eduard Heimbuch
347417e247 remove requires value from extension annotation and add new requires annotation instead 2020-04-07 12:49:25 +02:00
Florian Scholdei
f1b34eb502 Changeover to MIT license (#1066)
* prepare license-maven-plugin for license migration
* added license mapping for tsx files and added some more excludes
* Changeover to MIT license
* Fix build problems
* Delete old remaining licenses
* Add more exclude path for license checker
* Rename included netbeans license, add exclude .m2/repository/
* Specify .m2 exclude because not only repository/, also wrapper/ must match
* Add .cache/ exclude for license check
* Modify formatting of license in java classes to comply with convention and IDE
* Add IntelliJ documentation for license configuration
* Update CHANGELOG.md
* Exclude tmp/workspace/ dir for license check
* Edit README.md

Co-authored-by: Sebastian Sdorra <sebastian.sdorra@cloudogu.com>
2020-03-23 15:35:58 +01:00
Rene Pfeuffer
6e9524f809 Fix JavaDoc builds for java > 8
Sadly, therefor we have to remove the APIviz lib. It seems this is dead.
2020-02-06 11:52:24 +01:00
Sebastian Sdorra
bac3068b73 improve javadoc of requires attribute 2020-01-09 08:19:43 +01:00
Sebastian Sdorra
c1aa4af6e0 implemented optional dependencies
Plugin authors could now define optional dependencies to other plugins in their pom.
Extensions which are using classes from optional dependencies must specify this
with the "requires" attribute of the extension annotation.
Extensions with "requires" attribute are not installed if one of the specified plugins,
is not installed.
2020-01-08 14:27:11 +01:00
Sebastian Sdorra
7821b68d9c implemented LinkEnricher registration via Enrich annotation 2019-01-03 10:52:37 +01:00
René Pfeuffer
c173db35a2 Add documentation 2018-11-13 11:14:41 +01:00
René Pfeuffer
541303b351 Move annotation to corresponding module 2018-11-13 11:12:16 +01:00
Philipp Czora
ffabda3f83 Set namespace while creating a repository 2018-06-29 17:10:14 +02:00
Sebastian Sdorra
79e1e5e972 added module to register servlets and filters by new WebElement annotation 2015-02-01 19:14:46 +01:00
Sebastian Sdorra
37a9ef163f introducing priority annotation to order extensions 2014-12-20 22:41:13 +01:00
Sebastian Sdorra
bfd67c5aef support for non auto binding extension points and treat guice modules as normal extension points 2014-12-19 17:41:46 +01:00
Sebastian Sdorra
be24164b88 replace DefaultEngine annotation with the new Default annotation 2014-08-24 14:54:35 +02:00
Sebastian Sdorra
50b0b6b2b8 added Default annotation to fix ServletContext injection on eager loading singletons 2014-08-24 14:49:35 +02:00
Sebastian Sdorra
07363cbe82 move extension annotation from sonia.scm.plugin.ext to sonia.scm.plugin 2014-03-29 09:51:17 +01:00
Sebastian Sdorra
93dc44b729 improve annotation processor 2014-03-28 20:38:36 +01:00
Sebastian Sdorra
812021f212 create separate module for annotations and build maven plugins before scm-core 2014-03-18 17:23:48 +01:00