Piotr Sarnacki
20e8a47576
Fix logs displaying when a restart happens
...
When a user restarts a job, we should not try fetching the log again. In
order to do this I added a guard in job-log component, which checks if
attributes changed in didReceiveAttrs callback. If the old job value is
the same as the new value, we don't need to do anything.
2016-02-11 13:43:59 +01:00
Lisa P
1c4f748b2e
fix tests, refactor repo-actions component
2016-02-01 13:09:16 +01:00
Lisa P
cd7ab9b719
remove code climate
...
remove code climate popup function
2016-02-01 13:09:15 +01:00
Piotr Sarnacki
ac4f5ed193
Merge pull request #445 from travis-ci/update-finished-at-for-finished-builds
...
Update time also for finished builds, but only every minute
2016-02-01 11:58:44 +01:00
Piotr Sarnacki
7764479c14
Schedule inserting elements afterRender
...
It will ensure that log element is already loaded.
2016-01-29 14:31:16 +01:00
Piotr Sarnacki
24465e634f
Use el.innerHTML = ''; instead of $(el).empty()
...
innerHTML is faster than empty(), especially on some versions of
firefox. This change was already commited before, but it was somehow
lost while converting project to JS.
2016-01-29 14:31:16 +01:00
Piotr Sarnacki
6639a29411
Merge pull request #437 from travis-ci/lp-avatar
...
make a user-avatar component
2016-01-27 13:13:19 +01:00
Piotr Sarnacki
9a9d3805d8
Bring back noop function which was accidentally destroyed
2016-01-27 12:32:53 +01:00
Lisa P
5d74d57ac6
add avatarUrl propertuy to user model
2016-01-26 18:40:07 +01:00
Lisa P
d82ff49359
change component implementation
2016-01-26 14:50:58 +01:00
Piotr Sarnacki
e919906f99
Update time also for finished builds, but only every minute
2016-01-25 17:55:48 +01:00
Lisa P
2882c8ca96
add empty href otherwise iOS does not fire a tap event correctly
2016-01-25 15:25:33 +01:00
Lisa P
05b85eb37f
make a user-avatar component
...
delete some, add some, fix some tests
2016-01-21 12:08:28 +01:00
Piotr Sarnacki
2d0aee4e68
Fix status images popup
...
After recent refactorings status images popup started to fetch branches
info whenever a repo page was opened, resulting in additional HTTP
requests. Furthermore, because of a way we load branches, it could
result in builds view displaying very old builds, because in API V2 we
essentially download last build for each branch for branches request.
This commit fixes the situation in 2 ways:
1. We wait with downloading branhes till the popup is open
2. We use a V3 requests to download branches and we don't put that data
into the store
2016-01-18 13:14:28 +01:00
Piotr Sarnacki
4bbf114e82
Check also for value in attrs for job-log
2016-01-15 15:15:59 +01:00
Piotr Sarnacki
c96a4602cd
Merge pull request #432 from travis-ci/ps-remove-deprecations
...
Remove deprecations in preparation for 2.x update
2016-01-14 11:37:41 +01:00
Piotr Sarnacki
99b7ce4a9d
Add missing semicolon
2016-01-14 11:28:25 +01:00
Piotr Sarnacki
ee5f842d51
Fix adding ssh key
2016-01-13 11:25:45 +01:00
Piotr Sarnacki
13d2eba016
[deprecations] Remove the need to use beforeObserver in job-log component
2016-01-12 18:27:24 +01:00
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
6eed891a1a
show build number on hover in branch tiles
2016-01-12 13:10:15 +01:00
Piotr Sarnacki
4b71704b1c
[deprecations] Don't use second argument in a property
...
This makes Ember.js think that we're trying to use the property as
setter and it's deprecated
2016-01-07 11:18:05 +01:00
Piotr Sarnacki
e7ca2c8bfe
[deprecations] Use Store#unloadRecord instaed of Store#dematerializeRecord
2016-01-07 11:18:05 +01:00
Piotr Sarnacki
a6087d4fcd
[deprecations] Use Component#_state instead of Component#state
2016-01-07 11:18:00 +01:00
Piotr Sarnacki
03332a8654
[deprecations] Don't run Ember.set directly in didInsertElement
2016-01-07 10:40:14 +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
Lisa P
5bf4e4ffe4
make isGHPages a proper property
2016-01-05 15:01:38 +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
Lisa P
1233eba3e8
fix log
2016-01-05 14:44:27 +01:00
Lisa P
10b0c62fc2
make log toggle on mobile
2016-01-05 14:15:25 +01:00
Lisa P
4edd1feaad
remove coffee file
2016-01-05 13:25:48 +01:00
Lisa P
f5211f1fdc
add aria-labels to jobs-item
2016-01-05 12:56:26 +01:00
Lisa P
dbd124852d
remove coffee file
2016-01-05 12:44:08 +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
737685a7c0
Fix ajax callbacks after javascript conversion
2016-01-04 13:15:15 +01:00
Piotr Sarnacki
e60b0a0224
Fix jshint errors after conversion to JS
2016-01-04 13:15:15 +01:00
Piotr Sarnacki
fafaf65043
Convert project to JavaScript
2016-01-04 13:15:14 +01:00
Jonas Weber
e27a19101d
Drop unneeded imports for gravatarImage
2016-01-04 12:19:14 +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
b68ae942a6
Drop unneeded imports for gravatarImage
2016-01-04 11:54:18 +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
ae704df6bf
Use el.innerHTML = ''; instead of $(el).empty()
...
It turns out that jQuery's empty method can be really slow in Firefox,
which can freeze the browser when cleaning the log.
2016-01-04 11:41:50 +01:00
Piotr Sarnacki
f6b95a9a9a
Convert log-content component to js
2016-01-04 11:41:50 +01:00
Lisa P
79c8e97f51
remove events file
2015-12-22 11:12:52 +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
Piotr Sarnacki
2e2d2ae81b
Feature flag API V3
2015-12-17 12:39:17 +01:00