Justine Arreche
b897e81fd2
updated build status bg colors
2014-12-10 21:30:42 +01:00
Justine Arreche
4ce70d2784
we're hiring changes
2014-12-10 16:44:45 +01:00
Mathias Meyer
f8aaf2c2b2
Remove merge conflict remnants.
2014-12-10 13:36:11 +01:00
Justine Arreche
60a8cd5a40
merging we're hiring styles
2014-12-10 10:53:28 +01:00
Justine Arreche
ebbc93ff25
fixed we're hiring a tag
2014-12-10 08:40:43 +01:00
Mathias Meyer
b51ca7e50a
Fix hiring link to point to the proper page.
...
Also includes a quick fix for styling the link.
2014-12-09 19:01:39 +01:00
Justine Arreche
3d0b50c679
we're hiring message added to #top bar
2014-12-09 18:31:13 +01:00
Piotr Sarnacki
9057650646
Fix client on Firefox 34.0 beta
...
Our ajax function was passing params as object to xhr.send function.
For some reason this breaks on Firefox 34.0 beta. Sending stringified
version of params works correctly.
2014-11-13 18:04:58 +01:00
Piotr Sarnacki
95538498f0
Make pusher log fallback configurable and disable it by default
2014-11-12 12:26:49 +01:00
Piotr Sarnacki
840ce5a47d
Revert "Merge pull request #308 from rwjblue/update-ember"
...
After upgrading ember to 1.8.1 tests pass, but I found a few cases where
things break (for example when navigating between certain routes). I'm
reverting for now.
This reverts commit fa5e9179af
, reversing
changes made to 978c887123
.
2014-11-12 12:11:53 +01:00
Piotr Sarnacki
767c546ab5
Change timeout for pusher fallback to 30s
...
We have a bug that results in sending unneeded ajax queries on missing
log parts. I'm working on a fix, but it may take a while, because I want
to refactor a few parts of the app instead of putting more hacks on
legacy code. To help with the situation I'm increasing timeout for
pusher fallback.
2014-11-12 11:15:38 +01:00
Piotr Sarnacki
fa5e9179af
Merge pull request #308 from rwjblue/update-ember
...
Update to Ember 1.8.1.
2014-11-10 15:31:37 +01:00
Chad Whitacre
3084212f2e
fix typo: "the the" -> "the"
2014-11-07 08:37:00 -05:00
Robert Jackson
e40d8a282f
Inject config
into controllers.
...
Avoid deprecations from globals in template.
2014-11-05 15:29:26 -05:00
Robert Jackson
aa7fab4cc0
Use container to lookup views (instead of globals).
2014-11-05 15:29:03 -05:00
Robert Jackson
5d72292915
No need to advanceReadiness (automatic with visit now).
2014-11-05 15:12:39 -05:00
Robert Jackson
2b0f107225
Metamorph tags are no longer added, reducing the number of children.
2014-11-05 12:51:27 -05:00
Robert Jackson
b21ceadc63
Use alias when appropriate.
2014-11-05 12:51:16 -05:00
Robert Jackson
8e0b2e9fb3
Remove extra nesting level in integration test.
2014-11-05 12:50:56 -05:00
Robert Jackson
e66ccfdfcd
Remove view.state checks (in favor of _state).
2014-11-05 12:50:40 -05:00
Robert Jackson
89a3c20217
Keep elements fully within a single element.
...
{{if}} is implemented as an Ember.View (without an element), and
children must be valid DOM.
2014-11-05 12:48:26 -05:00
Robert Jackson
2faca2e9d6
Do not use globals to lookup views from template.
2014-11-05 08:19:49 -05:00
Robert Jackson
a789fdab6f
Do not run timers in testing.
2014-11-05 08:19:16 -05:00
Robert Jackson
3db8a7624b
Update to Ember 1.8.1.
2014-11-05 08:19:02 -05:00
Robert Jackson
0972475dcb
Controller#content -> Controller#model.
2014-11-05 08:18:32 -05:00
Robert Jackson
f9fe221e9a
Use standard Ember.Handlebars.registerBoundHelper.
...
No need for the custom Ember.registerBoundHelper implementation.
2014-11-05 07:39:45 -05:00
Robert Jackson
9011f9d85d
Pass test suite.
...
* Add `travis.source_endpoint` meta (fixes many tests with hard
expectations on `http://github.com ` being in URL paths).
* Wrap `Ember.run.once` in a `Ember.run` (prevents test auto-run
assertion).
* Fix expect counts for a couple tests.
2014-11-04 21:22:58 -05:00
Sven Fuchs
7315efed5f
remove extra comma
2014-10-14 15:29:12 +02:00
Sven Fuchs
b348ee0e40
Revert "Make sorting more in line with what we will do on a server"
...
This makes the timeline ordering odd when restarting: The repo will be
sorted to be bottom of the timeline while in :created state, and then
pops back up to the top when :started.
One weird thing is that it only seems to behave this way on com
(staging) and enterprise, but not on org (staging).
This reverts commit ce8237b4e7
.
2014-10-14 15:20:14 +02:00
Sven Fuchs
bb034704d2
Patch pusher.js to set a default activity_timeout
...
The current pusher.js throws an error if a connnection handshake reply
does not include an activity_timeout.
This seems to be new since 2.1.6, and would require changes in slanger
for enterprise.
2014-10-14 14:27:14 +02:00
Sven Fuchs
bd4c0aa0a0
do not create two Pusher instances
2014-10-13 17:20:02 +02:00
Sven Fuchs
fa8a00194a
remove stale prefix
2014-10-13 15:00:04 +02:00
Sven Fuchs
6ab834f516
fix Travis.Pusher.prefix
2014-10-13 15:00:00 +02:00
Sven Fuchs
e9552a5f60
can channel be undefined?
2014-10-13 14:59:34 +02:00
Sven Fuchs
5130726389
restore CHANNEL_PREFIX, but check if it is already present
2014-10-13 14:59:31 +02:00
Sven Fuchs
1951784c28
add private attribute to repo, prefix job channels based on the private status, otherwise use what api hands over
2014-10-13 14:59:25 +02:00
Sven Fuchs
aa286866a8
try simplifying pusher channel subscriptions
2014-10-13 14:59:19 +02:00
Sven Fuchs
f827c155f5
disable sending metrics to pusher
2014-10-13 14:56:23 +02:00
Sven Fuchs
be63d535e1
on the repos list remove "summary" elements for repos without a build
2014-10-13 14:56:07 +02:00
Piotr Sarnacki
ce8237b4e7
Make sorting more in line with what we will do on a server
2014-10-13 14:55:54 +02:00
Sven Fuchs
0468b1e327
remove path from endpoint
2014-10-13 14:46:49 +02:00
Sven Fuchs
2aba520512
more hardcoded github.com urls
2014-10-13 14:46:36 +02:00
Sven Fuchs
8b1dfd67f9
ignore pusher error code 1006
2014-10-13 14:46:19 +02:00
Sven Fuchs
bf8f944ab1
fix ignoreWarning
2014-10-13 14:45:58 +02:00
Sven Fuchs
b2d3a6199d
config source_endpoint
...
Conflicts:
config.ru
public/index.html
2014-10-13 14:45:50 +02:00
Sven Fuchs
65ee0d5486
allow setting the pusher host
2014-10-13 14:42:12 +02:00
zamabe
2c027f730e
irc urls have a / between the server and target
2014-09-29 22:44:57 -05:00
Piotr Sarnacki
5c913fcaaa
Destroy parts object when leaving log
2014-09-12 16:20:52 +02:00
Piotr Sarnacki
1200d27fb3
Merge pull request #301 from travis-ci/ps-pusher-timeout
...
Implement fallback for pusher log messages
2014-09-12 16:02:42 +02:00
Piotr Sarnacki
43a7ad927f
Fix tests syntax
2014-09-12 15:45:47 +02:00
Piotr Sarnacki
1297c99396
Don't fetch missing log parts if test haven't started yet
2014-09-12 15:43:43 +02:00
Mathias Meyer
fe7ea41425
Change link from mailing list to stack overflow.
2014-09-12 11:03:47 +02:00
Piotr Sarnacki
13408d875a
Implement fallback for pusher log messages
...
If we don't get any pusher messages with log updates after 5 seconds, we
will try to download them from the API.
2014-09-11 18:22:31 +02:00
Mathias Meyer
fd007dcb84
Reduce and change the help menu.
2014-09-11 15:56:09 +02:00
Piotr Sarnacki
5dec305cda
Caches and requests need authentication
...
(closes #299 )
2014-09-03 13:56:56 +02:00
Piotr Sarnacki
d15b6f851c
_referenceCache is not a function
2014-08-25 15:32:19 +02:00
Piotr Sarnacki
5c41529d07
Reset ssh key controller properly
2014-08-25 15:22:17 +02:00
Piotr Sarnacki
3b8ecdad41
Add a newline in ssh key screen
2014-08-25 13:58:25 +02:00
Piotr Sarnacki
ecd1b7292c
Handle validation error messages better
2014-08-25 13:16:05 +02:00
Piotr Sarnacki
0df22b4c3b
Set min-width for settings
2014-08-22 17:36:16 +02:00
Piotr Sarnacki
b6b5bf5778
A few more styling fixes (for multiline names and values)
2014-08-22 17:24:37 +02:00
Justine Arreche
0013073892
Merge branch 'master' of https://github.com/travis-ci/travis-web
2014-08-22 17:06:25 +02:00
Justine Arreche
960f26f627
adjusted line height for var name
2014-08-22 17:01:08 +02:00
Piotr Sarnacki
5e45008044
Env var should be saved with PATCH
2014-08-22 16:55:55 +02:00
Justine Arreche
9ad263e984
increased width for env.name and added word-break
2014-08-22 16:51:43 +02:00
Piotr Sarnacki
0014c65cbd
Fix hooks toggling
...
When changing adapter to make it work with env vars I used PATCH method.
Hooks are using PUT to update active fields, so it broke hooks. This
commit moves saveRecord with PATCH to env vars' adapter.
2014-08-21 20:23:05 +02:00
Piotr Sarnacki
b43842dade
Fix requests page
2014-08-21 17:07:59 +02:00
Piotr Sarnacki
a77f3827ee
Settings need a signed in user
2014-08-21 16:56:04 +02:00
Piotr Sarnacki
50e9986dda
Fixes after merging ps-env-vars
2014-08-21 16:39:15 +02:00
Piotr Sarnacki
9741ede075
Merge branch 'ps-env-vars'
...
Conflicts:
assets/scripts/app/controllers.coffee
assets/scripts/app/helpers/handlebars.coffee
assets/scripts/app/templates/repo/settings.hbs
assets/scripts/app/views/repo/show.coffee
assets/styles/tabs.sass
config.ru
2014-08-21 16:02:07 +02:00
Piotr Sarnacki
79806fb8f4
Fix env vars css on chrome, align forms
2014-08-21 14:34:10 +02:00
Justine Arreche
66ffa1f686
changed alignment and spacing in edit state
2014-08-21 13:02:05 +02:00
Justine Arreche
7481d87d66
cont wip with env var
2014-08-20 23:25:51 +02:00
Piotr Sarnacki
daa8646eea
Add lock icon to a non public env var
2014-08-20 21:56:48 +02:00
Justine Arreche
6ac46f002f
wip re-styling env-vars
2014-08-20 21:38:33 +02:00
Piotr Sarnacki
71b4c6b865
Make env var form play better with oneliners
2014-08-20 14:41:31 +02:00
Piotr Sarnacki
3c847bbb38
Display env vars in one line
2014-08-20 12:45:04 +02:00
Piotr Sarnacki
5abcc75cb3
Make switch on profile page smaller
2014-08-20 11:45:37 +02:00
Piotr Sarnacki
b32bd3fe61
Fix settings link on the profile page
2014-08-20 11:45:27 +02:00
Piotr Sarnacki
5db108c5d4
Use switch on env vars form
2014-08-20 11:32:25 +02:00
Piotr Sarnacki
9aa3513766
Allow to resize switch with a font setting
2014-08-20 11:24:01 +02:00
Piotr Sarnacki
6aa9771170
Reset value in env_var controller also based on public attr
...
When we switch from private to public env var, we don't want to set
"***********" as a new value of a var.
2014-08-19 19:42:08 +02:00
Justine Arreche
46501b44dd
removed inline-block from env-var displays
2014-08-19 17:25:46 +02:00
Justine Arreche
def5a6cbc3
changed layout to list env-vars to list in a row
2014-08-19 16:05:38 +02:00
Justine Arreche
d1de40d918
Cleaned up typographic dominant styling
2014-08-19 15:29:02 +02:00
Justine Arreche
bd5eea05f6
fixed top margin on env variable button
2014-08-19 13:59:54 +02:00
Justine Arreche
6b16b4b11c
fixed left margin on settings-form for better alignment
2014-08-19 12:07:52 +02:00
Mathias Meyer
135b9afb43
Use "Private Key" as a label for the key field.
2014-08-18 11:24:39 +02:00
Mathias Meyer
3d6cc0cb1f
Fix casing for the settings tabs.
...
This also slighlty improves the copy on the SSH key settings page.
2014-08-18 10:45:13 +02:00
Piotr Sarnacki
0f3f966c3f
Update pusher to 2.2.2
2014-08-18 10:08:11 +02:00
Piotr Sarnacki
61f820cada
Specify _finishedAt and _startedAt as dependencies for duration
...
Because of our partial loading implementation we need to specify
finishedAt and startedAt differently than we would normally do. For some
reason duration was not recalculated while loading record and specifying
raw attributes helps here.
2014-08-15 06:25:19 +02:00
Piotr Sarnacki
4fc599f767
Revert dd46161
and 2ccade4
...
Duration on job was not specified, beacuse we actually don't return
duration from the API, it's always calculated based on startedAt and
finishedAt, that's why it's obsolete. It doesn't hurt to have it defined
on the Job model, but there's no need to do it.
2014-08-15 06:05:04 +02:00
John Faucett
ef2f6a695b
[ fixes #291 ] User menu cutoff with short usernames
...
Add vim relic file gitignore entry for .sw[op] files
Upgrade return due to an uninitialized constant Listen uninitialized constant
Listen::MultiListener exception (see:
https://github.com/rails/spring/issues/145 )
2014-08-14 23:42:37 +02:00
Piotr Sarnacki
dd46161487
Duration is not returned before build is finished
2014-08-14 22:47:56 +02:00
Piotr Sarnacki
2ccade46a4
Fix some of the issues with duration sometimes not showing up
...
* duration was not actually defined in Travis.Job, which may have caused
bugs when combined with partial record loading (so for example it was
ok on a refresh, but may have been broken on update)
* notStarted was not a dependency of duration
2014-08-14 22:39:49 +02:00
Piotr Sarnacki
615edb5686
Fix specs
...
For some reason mocked ajax queries don't fire when build page is opened
directly in specs. I don't want to go into detail at this point, because
I plan rewriting build/job related views and controllers to decouple
repo controller anyway, which should fix some of the oddities.
2014-08-14 18:45:06 +02:00
Piotr Sarnacki
0ba62df35c
Remove outdated specs
2014-08-14 16:08:57 +02:00
Piotr Sarnacki
eee1ef6fe5
Merge pull request #296 from stof/patch-2
...
Fixed the display of the state icon in the request page
2014-08-14 16:03:21 +02:00
Christophe Coevoet
13719fcf81
fixed the display of the state icon in the request page
2014-08-14 03:29:40 +02:00
Christophe Coevoet
c482100769
Fixed the display of the build in the list of requests
...
Closes travis-ci/travis-ci#2667
2014-08-14 03:03:00 +02:00
Sven Fuchs
4a845cf9b3
position log lines so fold and time tags can have a top position
2014-08-13 15:43:03 +02:00
Piotr Sarnacki
1f2b8a84ff
Don't display link to caches if caches are disabled
2014-08-12 16:06:06 +02:00
Piotr Sarnacki
eb8b5092e6
Revert "Revert "Better wording for deleting all caches""
...
This reverts commit a9b1560999
.
2014-08-12 16:05:30 +02:00
Piotr Sarnacki
94a752592d
Revert "Revert "API uses match to filter by slug""
...
This reverts commit 0a9fdb718c
.
2014-08-12 16:05:28 +02:00
Piotr Sarnacki
eecd5187a3
Revert "Revert "Page for displaying caches""
...
This reverts commit 3d6931c523
.
2014-08-12 16:05:21 +02:00
Sven Fuchs
361afed583
bump travis-web-log
2014-08-12 15:59:41 +02:00
Sven Fuchs
3d6931c523
Revert "Page for displaying caches"
...
This reverts commit a58688b451
.
2014-08-12 15:53:19 +02:00
Sven Fuchs
0a9fdb718c
Revert "API uses match to filter by slug"
...
This reverts commit e286428722
.
2014-08-12 15:53:06 +02:00
Sven Fuchs
a9b1560999
Revert "Better wording for deleting all caches"
...
This reverts commit 07b06b2b8c
.
2014-08-12 15:52:40 +02:00
Sven Fuchs
11a4293fc1
turn off debugging
2014-08-12 15:42:48 +02:00
Sven Fuchs
f8ce687b2e
bump web-log
2014-08-12 15:03:49 +02:00
Sven Fuchs
417c59f8ea
move timing tags one line up
2014-08-12 15:03:49 +02:00
Sven Fuchs
eba80920b6
update web-log, add styles, turn on DEBUG
2014-08-12 15:03:49 +02:00
Sven Fuchs
8ed39d75e8
bump travis-web-log
2014-08-12 15:03:49 +02:00
Sven Fuchs
097a076a33
use log.js from travis-web-log/sf-log-timing
2014-08-12 15:03:49 +02:00
Piotr Sarnacki
2958717eba
Fix settings tab highlighting
2014-08-06 16:38:37 +02:00
Piotr Sarnacki
b4dc5ec547
Don't try to put labels on nested paths
2014-08-06 16:30:44 +02:00
Piotr Sarnacki
74b3cf765f
Hide settings tab by default
2014-08-06 16:28:35 +02:00
Piotr Sarnacki
d50ec7f5af
General -> General settings
2014-08-06 16:04:30 +02:00
Piotr Sarnacki
907c363707
Add labels to settings forms
2014-08-06 16:01:28 +02:00
Justine Arreche
8bc8463045
styling of settings-sub-nav
2014-08-06 14:45:31 +02:00
Piotr Sarnacki
07b06b2b8c
Better wording for deleting all caches
2014-08-05 18:15:13 +02:00
Piotr Sarnacki
e286428722
API uses match to filter by slug
2014-08-05 18:14:34 +02:00
Piotr Sarnacki
a58688b451
Page for displaying caches
2014-08-05 18:09:24 +02:00
Piotr Sarnacki
d8e2d8c771
Highlight invalid textarea
2014-08-01 04:35:53 +02:00
Piotr Sarnacki
c6cfd57b0a
Proper field name on ssh_key form
2014-08-01 04:33:57 +02:00
Piotr Sarnacki
534ac6431b
Allow to disable ssh_key
2014-08-01 04:33:04 +02:00
Piotr Sarnacki
74d20d0149
Ssh key form styling and polishing
2014-08-01 04:10:26 +02:00
Piotr Sarnacki
c9f58718cf
Final touches on env vars
2014-08-01 02:50:20 +02:00
Piotr Sarnacki
68fe6f4f46
Merge branch 'ps-env-vars' of github.com:travis-ci/travis-web into ps-env-vars
2014-07-31 15:42:19 +02:00
Justine Arreche
b5bb386023
Finished all action hover states
2014-07-31 12:48:19 +02:00
Piotr Sarnacki
040848619a
Add loading indicator for settings
2014-07-31 12:26:33 +02:00
Piotr Sarnacki
568c0e14b8
Display settings in repo pane
2014-07-31 12:26:33 +02:00
Piotr Sarnacki
17ed1d94cc
First stab at ssh key form
2014-07-31 12:26:19 +02:00
Justine Arreche
9fa906aafc
began styling of edit and delete actions
2014-07-30 16:54:55 +02:00
Justine Arreche
e0002e5f7b
fixed alignment on vertical elements
2014-07-30 16:37:57 +02:00
Piotr Sarnacki
a5dae4acf3
Set job and build on repo controller to null when leaving
...
We set job and build directly on repo controller for routes like job,
build and repo.index. We also need to clean that up when we exit to not
show for example download log button when we switch to different route.
2014-07-30 13:36:27 +02:00
Piotr Sarnacki
cb4b385b2b
Rename concurrent builds to concurrent jobs
2014-07-30 12:56:32 +02:00
Piotr Sarnacki
73e852b23a
Remove unused helpers
2014-07-30 12:56:31 +02:00
Piotr Sarnacki
7c922ddebb
Update Ember.js to 1.6.1
2014-07-30 12:56:31 +02:00
Justine Arreche
f45573a7c9
WIP on env var settings
2014-07-29 12:38:45 +02:00
Piotr Sarnacki
745a39eae5
First stab at env vars
2014-07-28 14:19:44 +02:00
Piotr Sarnacki
fc21c46579
Use settings-form class for settings form
2014-07-28 13:00:11 +02:00
Piotr Sarnacki
bcf5ac50c5
Send record to buildURL method when it's available
...
For some cases (like coming env vars) we will need to also pass a
repository id to the URL, so I'm passing it from createRecord and other
methods which handle records.
2014-07-28 12:50:11 +02:00
Piotr Sarnacki
05489d4a0a
Change tabs to work with routes and outlets instead of helpers
...
When I started working on settings I had a bit different vision on tabs
and I've added that code prematurely. It seems that the best way to go
is to create separate routes and controllers for each tab - that way we
can just rely on Ember.js for customizing, not some custom code in tabs
helpers etc.
2014-07-28 12:42:21 +02:00
Piotr Sarnacki
20c1a7370a
Remove unused helpers
2014-07-28 10:45:40 +02:00
Sven Fuchs
6281669616
update travis-web-log
2014-07-24 14:55:01 +02:00
Piotr Sarnacki
d8121ed1af
Update Ember.js to 1.6.1
2014-07-23 15:18:11 +02:00
Piotr Sarnacki
aa06f3947e
Display current repo's URL for lint link
2014-07-22 18:47:45 +02:00
Justine Arreche
55d41d4d10
adding lint for requests tab
2014-07-22 18:47:44 +02:00