Commit Graph

1015 Commits

Author SHA1 Message Date
René Pfeuffer
617b98c6f3 Use optionals for get by name and namespace 2018-07-11 13:42:09 +02:00
Johannes Schnatterer
e1963d45dd Some polishing during review 2018-07-11 12:03:04 +02:00
René Pfeuffer
50d9da8726 Merge base branch into feature 2018-07-05 14:56:33 +02:00
René Pfeuffer
bbce9b7ca2 Use correct namespace of created repository 2018-07-05 12:19:31 +02:00
René Pfeuffer
68e196d576 Create resource collection endpoint for get 2018-07-04 16:45:52 +02:00
René Pfeuffer
d1d183df32 Merge 2018-07-04 11:43:53 +02:00
René Pfeuffer
1bcc35d48b Support reading object by other identifiers than id
Therefore split adapter class for single entity and collection handling.
2018-07-03 13:11:18 +02:00
René Pfeuffer
0768b638ed Bootstrap v2 version to get repositories 2018-07-03 12:39:01 +02:00
René Pfeuffer
54776548ea Merge parallel development 2018-07-02 14:36:04 +02:00
Philipp Czora
ffabda3f83 Set namespace while creating a repository 2018-06-29 17:10:14 +02:00
Philipp Czora
0402596cf1 Added namespace to Repository 2018-06-29 17:09:40 +02:00
René Pfeuffer
5b5c30f054 POC for spaces strategy 2018-06-29 16:59:35 +02:00
René Pfeuffer
e7ea9e686e Clean up exceptions
- Remove declared IOException
- Fix repetition of exception messages
2018-06-29 09:34:31 +02:00
Johannes Schnatterer
85f69fb67b More polishing during review 2018-06-25 18:32:00 +02:00
René Pfeuffer
da0cb2a5a4 Move page object creation to PageResult class 2018-06-22 10:42:02 +02:00
René Pfeuffer
9ec3833a97 Add overall count to collection results 2018-06-22 10:15:35 +02:00
Philipp Czora
89322a0511 Cleanup 2018-06-20 14:45:55 +02:00
Philipp Czora
b93b291293 Implemented unit tests for Manager and added param checks 2018-06-15 14:36:22 +02:00
René Pfeuffer
c50a3fb2e2 Remove unused function 2018-06-14 08:07:59 +02:00
René Pfeuffer
838777b403 Mob review 2018-06-14 08:05:29 +02:00
René Pfeuffer
8bfe6bacb0 Create endpoint for groups 2018-06-13 12:45:32 +02:00
René Pfeuffer
470ebaff7e Implement base to read groups 2018-06-11 08:27:25 +02:00
René Pfeuffer
a8c61a9bfd Cleanup and documentation 2018-06-06 16:24:59 +02:00
René Pfeuffer
2c5823e961 Add json enricher and json field filter 2018-06-06 10:36:27 +02:00
René Pfeuffer
2673756f8b Correct pagination 2018-06-06 08:44:32 +02:00
Sebastian Sdorra
244e9ba297 fix deserialization of changeset modifications 2017-06-28 22:03:51 +02:00
Sebastian Sdorra
3637a8de20 switch from jersey 1.x to resteasy 2017-06-27 20:16:05 +02:00
Sebastian Sdorra
aec3d5d65d merge with branch 1.x 2017-06-25 19:01:33 +02:00
Sebastian Sdorra
b7568ea919 introducing new ExtensionPoint for repository path matching
The new ExtensionPoint was introduced to  remove the tight coupling between the DefaultRepositoryManager and the GitRepositoryHandler.
Git has now its own RepositoryPathMatcher which allow the matching of repository with .git or without .git extension.
2017-06-06 10:46:44 +02:00
Oliver Milke
33ea2273b0 Add git-lfs support 2017-05-19 17:27:18 +02:00
Oliver Milke
80fe417206 fixing test execution on german / windows machines 2017-05-10 13:56:13 +02:00
Sebastian Sdorra
f4c9c35996 added support for gtld email domains, see #909 2017-04-26 11:01:18 +02:00
Sebastian Sdorra
3724c6a24c merge with branch issue-781 2017-04-26 08:47:49 +02:00
Sebastian Sdorra
d68e557561 added more tests for email address validation 2017-04-25 21:29:34 +02:00
Gábor Stefanik
1d40b454ec Fix e-mail address validation for t.co, ucla.college and example.xn--p1ai
These are all valid domain names that can host e-mail addresses.
2017-03-07 18:53:07 +00:00
Sebastian Sdorra
66a0165280 fix wrong comments of the AdvancedHttpClient api 2017-04-25 21:17:31 +02:00
Gábor Stefanik
64d57e932a Fix e-mail address validation for t.co, ucla.college and example.xn--p1ai
These are all valid domain names that can host e-mail addresses.
2017-03-07 18:53:07 +00:00
Sebastian Sdorra
acc3ff791b #781 process all kinds authorization relevant event and produce AuthorizationChangedEvent 2017-02-26 13:19:35 +01:00
Sebastian Sdorra
e0d42d7c92 change authentication parameters to match oauth spec 2017-02-09 20:52:53 +01:00
Sebastian Sdorra
dcf62ae991 added resolver to simplify parsing and validating of access tokens 2017-01-17 17:22:55 +01:00
Sebastian Sdorra
5738fa2d66 redesign bearer tokens 2017-01-17 15:54:32 +01:00
Sebastian Sdorra
70d5942250 token enricher should use new access token api 2017-01-17 15:33:19 +01:00
Sebastian Sdorra
2388cfd35d create a more flexible interface for the creation of access tokens
Provide a AccessTokenBuilderFactory to simplify the creation of access tokens and a default implementation which is based on JWT. Added also an AccessTokenCookieIssuer to unify the creation of access token cookies. Removed old BearerTokenGenerator.
2017-01-17 14:40:50 +01:00
Sebastian Sdorra
e7d6f50fd9 implement token scopes, scopes can be used to issue a token which is only suitable for a single or set explicit actions 2017-01-16 15:04:44 +01:00
Sebastian Sdorra
df6d9dacf8 implement LoginAttemptHandler for scm-manager 2 2017-01-15 20:27:06 +01:00
Sebastian Sdorra
cbc6dad0fe fixed duplicate filter bindings 2017-01-15 19:33:22 +01:00
Sebastian Sdorra
1591ab43b3 improve DeepCopy util class 2017-01-15 13:13:59 +01:00
Sebastian Sdorra
3536c29908 added DAORealmHelperFactory to simplify the creation of dao based realms 2017-01-15 12:50:29 +01:00
Sebastian Sdorra
76384de26f enabled xsrf be default and remove claim prefix to reduce size 2017-01-14 18:26:11 +01:00
Sebastian Sdorra
46d8b58810 introduce TokenClaimsEnricher and TokenClaimsValidator api 2017-01-12 22:04:19 +01:00