Commit Graph

625 Commits

Author SHA1 Message Date
Piotr Sarnacki
21f25cd2bf [deprecations] Remove all of the views from the app 2016-01-12 16:55:22 +01:00
Piotr Sarnacki
c3ef9ac5d9 [deprecations] Remove all of the views we use just for layouts 2016-01-12 16:55:22 +01:00
Lisa P
b8f8071f98 add image descriptions 2016-01-07 14:33:34 +01:00
Lisa P
253a56f47d not use view in accounts 2016-01-07 14:22:39 +01:00
Piotr Sarnacki
39cf0b3044 [deprecations] Don't use ArrayController 2016-01-07 11:22:40 +01:00
Piotr Sarnacki
6ee82c0cf8 Merge pull request #426 from travis-ci/lp-whitelist-info
add link to docs on requests if branch is gh-pages
2016-01-06 11:26:09 +01:00
Piotr Sarnacki
f4aa705b51 Merge pull request #427 from travis-ci/fix-displaying-last-synced-at
Fix displaying synced at time on the profile page
2016-01-05 14:57:37 +01:00
Piotr Sarnacki
341296aaaa Merge pull request #418 from travis-ci/lp-mobile-log
Mobile log
2016-01-05 14:55:52 +01:00
Piotr Sarnacki
01bcfb8a8c Merge pull request #424 from travis-ci/lp-accessible-jobslist
add aria-labels to jobs-item
2016-01-05 14:51:21 +01:00
Lisa P
8d2ca774d0 fix template logic if job has not yet started 2016-01-05 14:20:23 +01:00
Lisa P
f445690fb5 refactor a lot of buttons so toggle log looks more consistent 2016-01-05 14:20:23 +01:00
Lisa P
10b0c62fc2 make log toggle on mobile 2016-01-05 14:15:25 +01:00
Lisa P
8e2b3a86c6 feature flag Build 2016-01-05 13:57:14 +01:00
Lisa P
5a0618b22e bring back branch name 2016-01-05 13:35:29 +01:00
Lisa P
f5211f1fdc add aria-labels to jobs-item 2016-01-05 12:56:26 +01:00
Lisa P
7aa77b4f6f add link to docs on requests if branch is gh-pages 2016-01-05 12:43:09 +01:00
Piotr Sarnacki
00d448c231 Fix displaying synced at time on the profile page 2016-01-05 12:31:12 +01:00
Jonas Weber
ab54733723 Show author name and author avatar on builds list 2016-01-04 12:18:33 +01:00
Jonas Weber
9e94643dc4 Calculate actual avatar URL in model
repeated logic for Gravatar fallback
2016-01-04 12:18:01 +01:00
Piotr Sarnacki
4e720519fe Revert "Merge branch 'thriqon-bug-author-committer'"
This reverts commit ac576077ab, reversing
changes made to f9263fc8f3.
2016-01-04 12:14:44 +01:00
Jonas Weber
83bb882475 Show author name and author avatar on builds list 2016-01-04 11:53:20 +01:00
Jonas Weber
8abc24f04b Calculate actual avatar URL in model
repeated logic for Gravatar fallback
2016-01-04 11:50:10 +01:00
Piotr Sarnacki
573ebfd406 Fix status image popup
While fixing deprecations a `propertyBinding="foo"` calls were changed
into `property="foo"` calls, which should be `property=foo`. Otherwise
`foo` is treated as a string.
2016-01-04 11:41:50 +01:00
Lisa P
8cf9be6adc refactor some of the icon styles an usages 2016-01-04 11:41:50 +01:00
Lisa P
d95e34484f remove old repos templates 2015-12-22 11:13:10 +01:00
Lisa P
b4a8dc5707 remove jobs template 2015-12-22 11:13:03 +01:00
Lisa P
a941bc867a remove label helper 2015-12-22 11:12:57 +01:00
Lisa P
79c8e97f51 remove events file 2015-12-22 11:12:52 +01:00
Lisa P
90675b1380 remove annotations 2015-12-22 11:12:38 +01:00
Lisa P
7eef434c67 delete unused accounts files 2015-12-22 11:12:32 +01:00
Lisa P
b99dc5ee59 refactor accounts, pt2 2015-12-22 11:12:25 +01:00
Lisa P
875ff4fb44 rearrange templates, start unifying avatar 2015-12-22 11:12:19 +01:00
Lisa P
201a37aa70 refactor accounts, pt1 2015-12-22 11:12:12 +01:00
Lisa P
8c9f92062d refactor cta subscription button to component, remove deprecation 2015-12-22 11:07:44 +01:00
Lisa P
bae81542b9 update more deprecated syntax
update input action handling
2015-12-22 11:07:35 +01:00
Lisa P
d18715858f switch to new each helper syntax 2015-12-22 11:07:07 +01:00
Piotr Sarnacki
2e2d2ae81b Feature flag API V3 2015-12-17 12:39:17 +01:00
Piotr Sarnacki
598f6a02fb Don't show default branch in inactive branches 2015-12-10 12:12:42 +01:00
Piotr Sarnacki
b950b60c64 Fix committer and author in build header 2015-12-10 09:39:05 +01:00
Piotr Sarnacki
679d5227b3 Don't reload a page after clicking on Travis CI's logo 2015-12-09 14:52:37 +01:00
Piotr Sarnacki
cc38f08df4 Fix codeclimate logo 2015-12-09 10:23:09 +01:00
Piotr Sarnacki
0d9755489f Sort repos in repos controller, not in the component
We rely on the order of repositories when we set current repo on the
main page. That's why we need to do sorting in the controller.
2015-12-08 10:18:08 +01:00
Piotr Sarnacki
7ae4d6aa7d Fix handling branches
This commit fixes handling of branches when using both V3 and V2. The
changes include:

  * proper definition of relationships that reflect V3 structure, so for
    example build belongs to a branch
  * setting up inverse records for some of the relationships. without
    doing that Ember Data can handle relationships in a surprising way,
    for example if the same record is referenced in 2 places in a
    belongsTo relationship, Ember Data will remove one of the references
    without proper inverse definitions
  * we need to add id when extracting branch as a relationship. Ember
    Data expects all of the relationships to have an id
  * lastly, we need to mimic the structure of the V3 API in V2 payloads,
    so for a build payload I'm now creating a branch record
2015-12-08 10:18:06 +01:00
Piotr Sarnacki
8de314e943 Sort repos in repos-list component, not in controller 2015-12-08 10:18:02 +01:00
Piotr Sarnacki
47439657a1 Use lastBuild from defaultBranch on repository
One thing that is not standard here is a serializer for branch, which
uses @href as id. At this point branches don't have ids and ember-data
needs one, so using @href is the easiest way.
2015-12-08 10:18:02 +01:00
Piotr Sarnacki
d9cff6e8b4 Create adapters and serializers working with v3 and v2 APIs
This commit adds adapters and serializers for v3, but also a fallback
serializer for v2, which allows to handle v2 and v3 payloads at the same
time. This is needed, because when we use v3 endpoint for one of the
models (in this case repo), we can also get embedded records of other
types (like branch or build).
2015-12-08 10:18:02 +01:00
Lisa P
efe80caa37 clean up icons and other assets 2015-12-04 11:44:24 +01:00
Lisa P
174e7b2bc1 update docs and blog links to use https 2015-12-04 11:44:24 +01:00
Lisa P
5a8024fd42 change settings icon on profile page 2015-12-04 11:44:23 +01:00
Lisa P
d78ec1a438 fix commit link in build header 2015-12-03 12:32:48 +01:00