Piotr Sarnacki
a1c42482b6
Render getting started page into application level
2014-02-13 15:26:52 +01:00
Piotr Sarnacki
9bd9ab2b0a
Make sure that menu is on top
2014-02-13 12:28:55 +01:00
Piotr Sarnacki
bbba892e7b
Don't automatically toggle hook switches
...
Hook switches are toggled in the controller "toggle" action, so if we
toggle them in the component and then in the controller, it will just
return to the original state.
2014-02-12 17:58:19 +01:00
Piotr Sarnacki
0679fc260c
Revert "Revert "Use switches on settings pane""
...
This reverts commit e5ae06afeb
.
2014-02-12 17:33:42 +01:00
Henrik Hodne
e5ae06afeb
Revert "Use switches on settings pane"
...
This reverts commit 357b176f93
.
This commit seems to be where the bug with enabling hooks was
introduced, and reverting this commit seems to fix that bug.
Conflicts:
assets/scripts/app/controllers.coffee
assets/scripts/app/templates/repo/settings.hbs
2014-02-12 09:55:24 -06:00
Henrik Hodne
2450f9fe9d
Revert previous revert
...
I found the commit that caused the bug that caused me to do the last
revert. I'm therefore reverting the previous revert and I will be
committing a revert that reverts the commit that introduced the bug. See
next commit.
This reverts commit db2d38a7af
.
2014-02-12 09:54:24 -06:00
Henrik Hodne
db2d38a7af
Revert setting panel deploy
...
This seems to have caused issues with enabling the hooks for
repositories.
2014-02-12 09:14:47 -06:00
Piotr Sarnacki
3426a8b95f
Notify only on error when saving settings
2014-02-12 13:17:26 +01:00
Piotr Sarnacki
8d19410264
Merge remote-tracking branch 'origin/settings-pane'
...
Conflicts:
assets/scripts/app/controllers.coffee
assets/scripts/app/routes.coffee
assets/scripts/app/views/repo/show.coffee
2014-02-12 11:52:01 +01:00
Piotr Sarnacki
f29ee2372a
Fix specs
...
Change in mocks.coffee broken specs - using repos variable was shadowing
global repos array.
2014-02-12 10:37:07 +01:00
Piotr Sarnacki
ce74220f28
Don't reopen Ember.Route
...
A better way is to provide Travis.Route, which will be used by default
when generating route objects.
There is also no need to define actions for all the routes as they are
needed only in ApplicationRoute (ie. when they're not handled by other
routes).
2014-02-12 08:55:55 +01:00
Piotr Sarnacki
e5749b0629
Fix handling not existing repos
...
Also ensure that we don't break it again with an integration test.
2014-02-12 08:02:47 +01:00
Piotr Sarnacki
a8784a58fa
Use index/loading template instead of IndexLoadingRoute
...
By default Ember.js will use either IndexLoadingRoute or index/loading
template. Before this commit we were specyfing IndexLoadingRoute, which
was renderring index_loading template. This is not needed as long as we
use index/loading template - the effect is the same, but we use a
default.
2014-02-12 07:48:44 +01:00
Piotr Sarnacki
03e8745dc3
Bubble the error to top if we don't handle it in Ember.Route
...
A proper thing to do when an error is not handled is to bubble it up
rather than using throw (which we were using before this commit).
2014-02-12 07:46:56 +01:00
Piotr Sarnacki
71e5959f4e
Properly handle notFound URL
...
We handled notFound URL using an old hack, which no longer works. The
proper way now is to handle a "catch all" route.
2014-02-12 07:45:32 +01:00
Henrik Hodne
31d77c1ad9
Merge pull request #255 from travis-ci/hh-switch-restart-endpoint
...
fix(models): update the endpoint used to restart jobs and builds
2014-02-10 14:15:46 -06:00
Robert Jackson
10d9317f5f
Update Ember to mitigate CVE-2014-0046.
...
Details here:
https://groups.google.com/forum/#!topic/ember-security/1h6FRgr8lXQ
2014-02-07 15:36:44 -05:00
Henrik Hodne
1b7aba494a
fix(models): update the endpoint used to restart jobs and builds
...
/requests is deprecated
2014-01-30 17:19:15 -06:00
Piotr Sarnacki
8e3134d495
Update log engine
2014-01-29 14:43:44 +01:00
Piotr Sarnacki
803c7d0278
Fix flex CSS
...
We used flex CSS features from both old and new specification.
Furthermore, we weren't using moz and ms prefixes for a new model, which
may have also made it worse in IE and Firefox.
This commit changes CSS to use new flexbox implementation with all the
prefixes (which should not be needed for current versions, but it won't
hurt to keep them for a while).
2014-01-29 14:35:59 +01:00
Piotr Sarnacki
0d40f2322e
Merge pull request #245 from dmathieu/refactor_folder
...
Refactor the log folder and test the logs view
2014-01-29 02:49:58 -08:00
Damien Mathieu
5ef0302243
automatically unfold lines starting or ending an highlight
2014-01-29 09:10:50 +01:00
Henrik Hodne
e716c5d569
feat(repo-tools): show status image popup to everyone
...
If you can see the repository, then you should also be able to see the
status of said repository (and status image), so you should also be able
to copy the link to a status image.
Close travis-ci/travis-ci#1881 .
2014-01-28 19:46:30 -06:00
Piotr Sarnacki
5562e72492
Update ember-model
2014-01-28 22:41:51 +01:00
Piotr Sarnacki
c808d3d3b8
Add sideloaded records to record arrays
2014-01-28 22:41:50 +01:00
Mathias Meyer
af07dfb29e
Remove console.log of language.
2014-01-28 20:58:01 +01:00
Hiro Asari
1987a97ec1
Add missing header for pull request
2014-01-28 12:21:11 -05:00
Hiro Asari
1cbf3ffc1e
Fix message that got mangled by the locale removal [skip ci]
2014-01-28 12:06:47 -05:00
Damien Mathieu
9571ce09e3
add integration specs to the log view
2014-01-28 17:23:15 +01:00
Damien Mathieu
6608032652
refactor and test the log folder
2014-01-28 17:23:15 +01:00
Hiro Asari
2c079ae937
Label Rst and POD correctly
2014-01-28 09:57:54 -05:00
Piotr Sarnacki
c3008c1f78
Add mappings for sideloading annotations
2014-01-28 15:33:22 +01:00
Mathias Meyer
36ee4c183c
Fix links to point to new documentation site.
2014-01-28 12:42:26 +01:00
Mathias Meyer
6254fa9664
It's GitHub.
2014-01-28 12:42:17 +01:00
Hiro Asari
853a59141f
Remove top border for annotations [skip ci]
2014-01-27 14:15:34 -05:00
Hiro Asari
e00b938f4d
Merge pull request #190 from travis-ci/hh-annotations
...
Annotation support (#1220 )
2014-01-27 08:41:52 -08:00
Piotr Sarnacki
82b9df2fef
Capitalize labels in job and build headers
2014-01-27 13:24:50 +01:00
Piotr Sarnacki
360b32a4f2
Merge branch 'updated-styles'
...
Conflicts:
assets/scripts/app/templates/layouts/top.hbs
assets/scripts/app/templates/repos/list.hbs
2014-01-27 13:02:05 +01:00
Hiro Asari
634fca454e
Use bind-attr instead of the deprecated bindAttr
2014-01-25 17:29:56 -05:00
Hiro Asari
62fd40f51e
Tell TravisApplication about the Annotation model
2014-01-25 17:14:35 -05:00
Hiro Asari
26c5cf2a05
Add status image example for POD
...
Fixes https://github.com/travis-ci/travis-web/issues/235
Note the height attribute is removed from `#status-image`.
We now let browser decide how tall the popup will be.
2014-01-25 09:06:25 -05:00
Hiro Asari
364fb119c9
Add newline
2014-01-24 10:32:42 -05:00
Hiro Asari
715b1a2d36
Drop image and add status for Annotation
2014-01-24 10:32:11 -05:00
Hiro Asari
9e2a8cb218
Merge branch 'master' into hh-annotations
...
Conflicts:
assets/scripts/app/controllers/job.coffee
assets/scripts/app/models/job.coffee
2014-01-24 10:18:58 -05:00
Justine Arreche
7d9db8cbae
restyled general settings
2014-01-24 10:04:12 -05:00
Piotr Sarnacki
357b176f93
Use switches on settings pane
2014-01-21 18:46:36 +01:00
Piotr Sarnacki
d41d6de175
Merge branch 'master' into settings-pane
...
Conflicts:
assets/scripts/app/templates/profile/tabs/hooks.hbs
2014-01-21 18:01:42 +01:00
Piotr Sarnacki
8e5111da88
Convert switches in profile to components
2014-01-21 17:57:35 +01:00
Piotr Sarnacki
d7bef2b94e
Revert tailing changes
2014-01-20 15:00:34 +01:00
Piotr Sarnacki
492802920e
Use pushState to set urls
...
It seems that directly setting location.hash directly doesn't play nice
with Ember.js URL handling - using it to handle line numbers results in
weird bugs (URL stops being updated after setting hash manually).
This commit gets back to using window.history.pushState() which was
changed to direct hash manipulation in ff1aad3
2014-01-20 14:24:05 +01:00
Mathias Meyer
84037fb3c3
Fix links to blog and docs.
2014-01-20 12:50:08 +01:00
Hiro Asari
8b6be08ef4
Merge branch 'master' into settings-pane
...
Conflicts:
assets/scripts/app/routes.coffee
assets/scripts/app/templates/profile/tabs/hooks.hbs
2014-01-17 07:09:04 -05:00
Piotr Sarnacki
eb54463d35
Remove reference to I18n
2014-01-16 21:08:47 +01:00
Piotr Sarnacki
896c79dd16
Remove the rest of the locales related stuff
2014-01-15 14:40:56 +01:00
Piotr Sarnacki
8801fe7e6c
Replace all of the uses of translation helper with plain text
...
We're removing translations from Travis, the substitution was done using
this script: https://gist.github.com/drogus/8436273
2014-01-15 14:35:01 +01:00
Justine Arreche
f6491297c1
removed instances of locales in current_user and user
2014-01-14 14:01:40 -05:00
Piotr Sarnacki
4cf6f0542e
Update Ember to 1.3.1
2014-01-14 18:25:36 +01:00
Justine Arreche
35e7fc4f55
removed instances of locales from app and auth coffeescript files
2014-01-13 15:03:18 -05:00
Justine Arreche
67b970015f
removed set and default locale from app.coffee
2014-01-13 13:53:33 -05:00
Justine Arreche
5500dbb31c
removed locales from profile.coffee
2014-01-13 12:05:32 -05:00
Hiro Asari
f5b49f4af7
Add specs for link-ifying commit references
2014-01-13 09:08:26 -05:00
Hiro Asari
4e24d9835a
HTTPS everywhere for github.com
2014-01-11 15:11:03 -05:00
Hiro Asari
2b65686636
Rearrange github link helpers
...
So that regex and transformation appear together.
2014-01-11 13:42:34 -05:00
Hiro Asari
9ed3e66206
Detect and link-ify github commit ref in log
...
Addresses https://github.com/travis-ci/travis-ci/issues/1470
2014-01-11 13:40:23 -05:00
Hiro Asari
97d73ad98c
Tweak ANSI cyan values
...
to values indicated in Standard VGA colors in https://en.wikipedia.org/wiki/ANSI_escape_code
Fixes https://github.com/travis-ci/travis-ci/issues/1667
2014-01-11 13:04:50 -05:00
Hiro Asari
496e67070f
Darken ANSI green
...
Fixes https://github.com/travis-ci/travis-ci/issues/1217
2014-01-10 23:37:17 -05:00
Justine Arreche
072e89ad8e
removed locale dropdown in profile and removed colon separators
2014-01-10 14:32:30 -05:00
Justine Arreche
e8c6bc3745
Removed duplicate duration icon
2014-01-10 13:42:51 -05:00
Justine Arreche
007c53c909
removed duration-icon span to resolve duplicate clock icons
2014-01-10 13:34:49 -05:00
Piotr Sarnacki
2c6c09e88b
Update ember.js with 1.3.0 without conflicts
2014-01-10 18:04:49 +01:00
Piotr Sarnacki
7ddeb5cfa8
Remove the conflict from tools.hbs
2014-01-10 17:33:46 +01:00
Justine Arreche
8fb194b557
Merge branch 'master' of https://github.com/travis-ci/travis-web into updated-styles
2014-01-10 10:49:43 -05:00
Justine Arreche
909da95d0f
Updating branch from master
2014-01-09 15:19:42 -05:00
Hiro Asari
6ec13ceee1
Merge pull request #240 from dmathieu/multiple_lines
...
Highlight multiple lines
2014-01-09 10:41:28 -08:00
Damien Mathieu
228afe9a63
store the last selected line and use it as the other end for multiple selection
2014-01-09 17:31:47 +01:00
Damien Mathieu
ff1aad3f03
extract the log lines selector into a separate component
2014-01-09 15:53:33 +01:00
Piotr Sarnacki
e0c062ad15
Add ember.prod.js
2014-01-09 13:19:29 +01:00
Piotr Sarnacki
34a8ed64de
Update log.js
2014-01-09 12:44:38 +01:00
Philip Arndt
4330aa48ed
Fixes #236 by setting #top min-width to 930px to match #left plus #main
2014-01-09 08:55:21 +13:00
Piotr Sarnacki
c8cc13df59
Change submit to save
2014-01-08 12:17:57 +01:00
Robert Jackson
8d681e85af
Use link-to instead of deprecated linkTo.
2014-01-07 21:02:24 -05:00
Robert Jackson
cb3d41739b
Use bind-attr instead of deprecated bindAttr.
2014-01-07 21:00:26 -05:00
Robert Jackson
5260fac6dc
Update to Ember 1.3.0.
2014-01-07 20:51:01 -05:00
Damien Mathieu
c9e0f07a5a
highlight multiple lines
...
We can now highlight multiple lines, adding #L1-L2 to the hash.
We can select the ending line with shift + click.
Closes travis-ci/travis-ci#1829
2014-01-07 21:46:19 +01:00
Piotr Sarnacki
c80a4e4160
No need to abort transition: rejecting will abort automatically
2014-01-07 21:17:20 +01:00
Justine Arreche
69ed05b181
changed gravatar size to 200 for optimized retina displays
2014-01-03 20:24:40 -05:00
Justine Arreche
d324319a96
changes made to profile page including increased type size for readability, color styling and gravatar border radius increase
2014-01-03 19:10:58 -05:00
Mathias Meyer
d569938687
Fix typo in Code Climate popup.
2014-01-02 12:26:34 +01:00
Hiro Asari
4d83e1a4cb
Remove urlAuthor and urlCommitter fields
...
No longer in views, so no need to keep these.
2013-12-31 23:21:10 -05:00
Hiro Asari
80510badff
Remove mailto:
URLs
...
Addresses https://github.com/travis-ci/travis-ci/issues/1807
2013-12-31 19:47:28 -05:00
Piotr Sarnacki
f457a0974c
Merge pull request #233 from dmathieu/tailing
...
Refactor tailing and test it
2013-12-19 09:17:32 -08:00
Piotr Sarnacki
536866d7d6
Get config headers only from jobs when preparing jobs table
...
After changes in travis-core, irrelevant headers are removed when matrix
is expanded. For example python version is removed from a ruby build.
Build's config is not altered, so in order to get only effective keys,
we need to iterate over jobs.
2013-12-19 14:05:23 +01:00
Piotr Sarnacki
cc026b75a8
Make settings header link to repo page
2013-12-18 11:19:06 +01:00
Piotr Sarnacki
c48f70a38b
Finish test for settings-input
2013-12-18 11:02:25 +01:00
Piotr Sarnacki
8aafb8d4e6
Bring back 'outlet pane' and 'outlet pane'
...
For some reason (I haven't had time to debug it) when we don't use named
outlet rendering "into" does not work in certain circumstances (for
example in index current view, where repos are changed automatically).
2013-12-18 11:02:25 +01:00
Piotr Sarnacki
c8575b3f63
Forgot to add repo-settings.png
2013-12-18 11:02:24 +01:00
Piotr Sarnacki
3a15b037da
Link to repo settings from a hooks page
2013-12-18 11:02:24 +01:00
Piotr Sarnacki
8482c4c286
Move settings out of the profile page
2013-12-18 11:02:24 +01:00
Piotr Sarnacki
ac6b394ec4
Display settings link in the cog menu
2013-12-18 11:02:23 +01:00
Piotr Sarnacki
c18222ea51
Settings pane
...
This commit contains a settings pane implementation. There are a couple
of things here, which are not used yet, like advanced form helpers. I'm
leaving them here, because the plan is to add support for more settings
soon (like: include/exclude branch patterns), which will need these
helpers.
There is also tabs support, although in the current version there is
only one tab (initially it was created for supporting general tab and
notifications tab).
2013-12-18 11:02:23 +01:00