Piotr Sarnacki
cbe5d7ac34
Merge pull request #419 from travis-ci/lp-base64
...
Convert svg background images to base64
2015-12-22 11:32:25 +01:00
Lisa P
7fa107a3f0
update default avatar
2015-12-22 11:13:14 +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
fc0aefb42c
remove old env-vars files
2015-12-22 11:12:44 +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
Lisa P
af76a3f30b
change to .peekRecords and .isEvery
2015-12-22 10:50:59 +01:00
Piotr Sarnacki
96f22bff8c
Get also api builds when clicking on 'show more'
2015-12-17 13:21:38 +01:00
Piotr Sarnacki
e170753ba8
Properly serialize env var
2015-12-17 13:12:56 +01:00
Piotr Sarnacki
fdd7b5b91b
Properly normalize ssh key
2015-12-17 13:10:07 +01:00
Piotr Sarnacki
2e2d2ae81b
Feature flag API V3
2015-12-17 12:39:17 +01:00
Lisa P
5a747a4da0
Merge pull request #417 from travis-ci/hh-new-title-picture
...
Update the picture and title for Henrik
2015-12-10 07:20:21 -08:00
Piotr Sarnacki
598f6a02fb
Don't show default branch in inactive branches
2015-12-10 12:12:42 +01:00
Piotr Sarnacki
830211444b
Make only one query to jobs
2015-12-10 11:43:54 +01:00
Piotr Sarnacki
048e7737ea
Limit initial repos request to 20 repos
2015-12-10 11:43:46 +01:00
Piotr Sarnacki
b950b60c64
Fix committer and author in build header
2015-12-10 09:39:05 +01:00
Piotr Sarnacki
b94cc70a4e
Removed wrong function in 4d73d67
2015-12-09 18:40:29 +01:00
Piotr Sarnacki
4d73d67f51
Remove duplicated function in job's serializer
2015-12-09 18:08:21 +01:00
Henrik Hodne
80a0255f39
Update the picture and title for Henrik
2015-12-09 17:43:03 +01:00
Lisa P
e09da9386d
refactor some of the icon styles an usages
2015-12-09 15:53:29 +01:00
Lisa P
f07dd50e43
use base64 backgroung svg
2015-12-09 15:53:28 +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
b2b892238b
Fix adding ssh key
2015-12-09 11:58:10 +01:00
Piotr Sarnacki
9a55449789
Fix pusher auth for pro
2015-12-09 11:57:57 +01:00
Piotr Sarnacki
cc38f08df4
Fix codeclimate logo
2015-12-09 10:23:09 +01:00
Piotr Sarnacki
09f27d47be
Fix search
2015-12-09 10:23:09 +01:00
Piotr Sarnacki
00653e9420
Fix repo search
2015-12-08 10:18:09 +01:00
Piotr Sarnacki
ada9e9ba02
Fix adding ssh keys and env vars
2015-12-08 10:18:09 +01:00
Piotr Sarnacki
6db80a4073
Remove unneeded require
2015-12-08 10:18:09 +01:00
Piotr Sarnacki
87fdd95a6f
Fix tests
2015-12-08 10:18:09 +01:00
Piotr Sarnacki
d4955c1ed0
Fix hooks toggling
...
New ember-data serializers send data without a model key in the payload
by default, so instead of what API expects:
{
"hook": {
"id": 1,
"active": true
}
}
it would send:
{ "id": 1, "active": true }
Because of that we need to change how hooks are serialized.
Furthermore, API V2 returns just "result: true" after a successful
request to change a hook, so we need to return something meaningful from
the adapter's updateRecord in order to make ember-data happy.
2015-12-08 10:18:08 +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
35c5d619bd
Convert repos controller to javascript
2015-12-08 10:18:08 +01:00
Piotr Sarnacki
36d099667e
Download last_build for a branch when we get the branch from pusher
...
`lastBuild` is a synchronous relationship on a branch model, so we need to
have a build record present when we put a default branch from a repository
model into the store. We don't send lastBuild's payload in pusher, so
we need to get it using an ajax call, if it's not already in the store.
In the future we may decide to make the relationship async, but I don't
want to change the code at the moment
2015-12-08 10:18:08 +01:00
Piotr Sarnacki
bdcb906fe0
[deprecations] Use peekRecord instead of getById
2015-12-08 10:18:08 +01:00
Piotr Sarnacki
842c050100
Load repos list only once
2015-12-08 10:18:08 +01:00
Piotr Sarnacki
2be45cdc18
Fix requests payload
2015-12-08 10:18:08 +01:00
Piotr Sarnacki
e8f2e5ae97
Properly notify build to update times
2015-12-08 10:18:07 +01:00
Piotr Sarnacki
a56e4a39c3
Fix sorting on the left sidebar
2015-12-08 10:18:07 +01:00
Piotr Sarnacki
e1a334678d
Fix handling default_branch from pusher
...
Pusher payloads don't have all of the information that is available in
API V3, so we need to do some normalizing.
2015-12-08 10:18:07 +01:00
Piotr Sarnacki
9b4d5c5b4e
Remove obsolete pusher handling code from store
...
Removed code was checking if we should handle a pusher event, ie. if the
event is associated with the user, or if we already have a record
associated with the event. We don't need the check now, because we no
longer use the common channel.
2015-12-08 10:18:07 +01:00