Commit graph

26 commits

Author SHA1 Message Date
Kamil Trzcinski
b1f5af4059 Bring back the commit_url as it's used by CycleAnalytics 2016-11-18 22:31:26 +01:00
Kamil Trzcinski
bd8d4d2eb9 Merge branch '22539-display-folders' of gitlab.com:gitlab-org/gitlab-ce into 22539-display-folders 2016-11-18 20:21:57 +01:00
James Lopez
e56c305be0 fix spec failures 2016-11-18 08:13:34 +01:00
Grzegorz Bizon
54ee0df78a Do not use absolute URLS in entities use relative 2016-11-17 16:10:12 +01:00
James Lopez
ed39d61d74 refactor events facade so it uses separate classes and refactor query stuff 2016-11-17 13:22:27 +01:00
James Lopez
9e0102e494 small refactor - removing includes no longer needed 2016-11-17 08:22:59 +01:00
James Lopez
cbd7d00039 added custom date helper and spec and fixed some unrelated spec failures 2016-11-17 08:22:59 +01:00
James Lopez
cf2dcf043c Refactor all query config stuff into separate classes and added specs 2016-11-17 08:22:59 +01:00
James Lopez
f560099751 fix issue events and related spec - now using generic serializer for a hash 2016-11-17 08:22:58 +01:00
James Lopez
747e5c3b6f use request to pass extra parameters 2016-11-17 08:22:58 +01:00
James Lopez
6a2737e6a8 WIP - refactor events to use a generic build entity for some of the hybrid events 2016-11-17 08:22:58 +01:00
James Lopez
0ddf825ddf WIP - adding a generic entity serializer that should accept a Hash coming from Arel 2016-11-17 08:22:58 +01:00
James Lopez
3b179bc37b WIP - refactored events to use build serializer, related spec passing 2016-11-17 08:22:58 +01:00
James Lopez
81d0146c4c WIP - refactoring URL builder and events presenter into serializers 2016-11-17 08:22:58 +01:00
Grzegorz Bizon
b0a4635be3 Simplify implementation of entity serializers 2016-11-04 15:00:39 +01:00
Grzegorz Bizon
e49fb264e6 Add tests for deployment and environment entitites 2016-11-04 13:23:06 +01:00
Grzegorz Bizon
3968b07d7e Add tests for serialization entities, add user entity 2016-11-04 13:08:58 +01:00
Grzegorz Bizon
c315332b8a Refine build entity tests a little 2016-11-04 10:19:29 +01:00
Grzegorz Bizon
a2c1178c21 Expose commit author if author exists 2016-11-04 10:16:30 +01:00
Grzegorz Bizon
f203ca5c93 Fix specs related to deployments and environments 2016-11-03 15:19:07 +01:00
Grzegorz Bizon
a68e7e605a Add basic tests for build entity used by serialzier 2016-11-03 14:22:19 +01:00
Grzegorz Bizon
c3dae798e1 Extend tests for environments serializer 2016-11-03 14:01:35 +01:00
Grzegorz Bizon
7dd6485a0f Add manual actions for deployment serialization 2016-11-03 13:43:27 +01:00
Grzegorz Bizon
573921cb9d Implement entities needed for environments folders 2016-11-03 13:27:00 +01:00
Grzegorz Bizon
f1e9c97d64 Use entity request object in environment entity 2016-11-02 15:00:48 +01:00
Grzegorz Bizon
acfe394018 Add PoC for resource serializers 2016-11-02 14:26:57 +01:00