Commit Graph

205 Commits

Author SHA1 Message Date
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
Lisa P
8cf9be6adc refactor some of the icon styles an usages 2016-01-04 11:41:50 +01:00
Lisa P
b99dc5ee59 refactor accounts, pt2 2015-12-22 11:12:25 +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
Piotr Sarnacki
2e2d2ae81b Feature flag API V3 2015-12-17 12:39:17 +01:00
Piotr Sarnacki
b950b60c64 Fix committer and author in build header 2015-12-10 09:39:05 +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
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
Lisa P
9cb7c6c836 tweak elapsed time 2015-12-02 16:28:14 +01:00
Lisa P
576409ba1e add elapsed time 2015-12-02 16:13:28 +01:00
Lisa P
9baadcfd9e try two-line /builds
fix white ghosting on api icon

check requests for existing branch

tweak cc icon

tweak settings fields

try hover over settigns menu
2015-12-02 16:13:26 +01:00
Lisa P
0b1bd7d090 style caches
some cache tweaks

add title attributes to settings interaction elements
2015-12-02 16:13:21 +01:00
Lisa P
495c3b50f8 style requests
some spacing tweaks

implement Justine's feedback
2015-12-02 16:13:18 +01:00
Lisa P
3fa79819dd change template for build history
new icon vor show more btn
2015-12-02 16:13:15 +01:00
Lisa P
85f61c5155 style pullrequests 2015-12-02 16:13:14 +01:00
Lisa P
336479a2be jobs list styles
align animating icons

bring back color in sidebar tiles

change settings hover color

new help icon for allowed failures and settings help

fix svgs for firefox

also for remove log

also for help icon

fix coloring issues, use flexbox footer
2015-12-02 16:13:10 +01:00
Lisa P
fe36e018ce start flexboxify job list
implement Justine\'s feedback

remove regenerate key popup styles

add new icons, refactor request-icon component

use correct property name
2015-12-02 16:11:25 +01:00
Lisa P
fd885304f6 remove old build header styles
delete old job styles

cleanup templates and prepare for jobs list
2015-12-02 16:11:21 +01:00
Lisa P
c7212174fb style settings button
hover states for repo tool buttons

style log buttons

dont forget the small arrow iconå
2015-12-02 16:11:17 +01:00
Lisa P
1ba9548ad0 first iteration build header styles
build header styles 2nd iteration

make job header use component too

cleanup templates and markup for repo page

styles for the repo header

rewrite styles for repo header, cleanup tabs
2015-12-02 16:11:14 +01:00
Lisa P
613e1dac80 make component for build header 2015-12-02 16:11:09 +01:00
Lisa P
b482922dd7 also check for dist in GCE notice 2015-12-01 11:38:50 +01:00
Lisa P
00304798a6 add notice for gce builds 2015-11-27 16:55:01 +01:00
Lisa P
787b2fa4d1 fix button alignment bug 2015-11-23 12:47:57 +01:00
Lisa P
6784f6f708 Merge pull request #407 from travis-ci/lp-pro-landingpage
pro landing page
2015-11-23 09:24:54 +01:00
Lisa P
88fd47002f add team pics 2015-11-11 17:17:07 +01:00
Lisa P
2fac9ba462 teak team member styles 2015-11-09 16:50:58 +01:00
Lisa P
f898636a25 make team members a component 2015-11-09 16:36:15 +01:00
Lisa P
0f6230fddc fix link-to in branches template 2015-10-29 17:56:29 +01:00
Lisa P
625e23228a put eye svg into component 2015-10-26 15:22:13 +01:00
Lisa P
64a580f299 rewrite icon template logic 2015-10-23 12:17:26 +02:00
Lisa P
1545dbd9d1 animate transmission waves 2015-10-21 18:39:54 +02:00
Lisa P
5c99abfafc add hover colors and rewrite tower as component 2015-10-21 16:55:44 +02:00
Lisa P
1bbceeaf13 rewrite topbar to fix in broadcasts, plus some cleanup 2015-10-21 10:27:28 +02:00
Lisa P
2e39139da3 fix dashbaord after api cleanup, change some interaction elements 2015-10-14 14:57:39 +02:00
Lisa P
860e89dd86 fix owner page after api cleanup 2015-10-14 14:57:39 +02:00
Lisa P
f9ac2e6a76 remove spacing on build list 2015-10-08 15:34:36 +02:00
Lisa P
1ba4cf25d0 filter for push and api builds on branches 2015-10-08 15:28:17 +02:00
Lisa P
1d71f943ca really fix build tile links 2015-10-07 18:01:31 +02:00
Lisa P
24032d4040 fix status coloring on owner page 2015-10-07 17:37:53 +02:00
Lisa P
4da602c632 fix build tile links 2015-10-07 17:29:17 +02:00