Commit Graph

302 Commits

Author SHA1 Message Date
Mathias Meyer
87790fb6e1 Start fleshing out the getting started guide. 2013-06-13 12:44:21 +02:00
Piotr Sarnacki
704bd9434e Redirect to getting started page if user has no repositories 2013-06-11 17:22:52 +02:00
Mathias Meyer
6708412a4d Sidebar be gone! 2013-06-08 10:12:41 +02:00
Henrik Hodne
c1814fa062 Change shadow for "Follow logs" button
In general, the "light" on web pages come from directly above, so
shadows should be directly below things. This isn't really a shadow,
though, but rather a way to make it seem like the text is "embossed"
into the surface by giving it a slight sheen on the bottom edge, in
which case the shadow definitely shouldn't be shifted left or right.
2013-05-22 12:58:29 +02:00
Mathias Meyer
7831fbc70b Move join links from sidebar into the top menu. 2013-05-20 15:56:13 +02:00
Mathias Meyer
3caf5adfc2 Set an opacity on the GitHub octomark images.
Leaving them black makes them stand out a bit too much, this is
a bit more subtle.
2013-05-17 07:54:27 +02:00
Henrik Hodne
f05477bb0c Add GitHub mark to GitHub links
This was requested in #95.

Adds a little 10x10px GitHub mark to every GitHub link in the main
frame.
2013-05-16 17:59:07 +02:00
Piotr Sarnacki
a4fccf800a Don't use id for flash view
When logging out and then logging back in, there is sometimes an error
when registering flash view, which says that it can't register 2 views
with the same id. We don't need to use id here, so I just changed id to
class
2013-05-16 13:33:07 +02:00
Henrik Hodne
3c8bfa4690 Fix bold ANSI colours 2013-05-15 17:12:34 +02:00
Henrik Hodne
94eaa079dc Update the ANSI log colours 2013-05-15 16:46:07 +02:00
Josh Kalderimis
da35b52a56 Merge branch 'master' of https://github.com/travis-ci/travis-web 2013-05-13 10:56:03 +02:00
Mathias Meyer
6230224412 Remove Fork me sidebar. 2013-05-10 23:50:25 +02:00
Josh Kalderimis
55a58f275d remove the (i) from the top right of the tabs
the (i) is a miscommunication as it looks like it is to give information about the tabs instead of pop down descriptions underneath each of the repos in the recent and 'my repos' lists.
2013-05-10 19:54:52 +02:00
Mathias Meyer
9bce26ea3e Change repository header to link to Travis repo.
Linking this to GitHub is cause for confusion, even for myself.
The tiny octocat now points to GitHub instead.
2013-05-10 16:49:15 +02:00
Piotr Sarnacki
df9db80c42 A few improvements for tabs on repos list
* if user is logged out, the default tab should be 'recent'
* when user logs in, the tab is switched to 'my repositories'
* when user logs out, my repositories is hidden again and tab is
  switched to 'recent'
2013-04-30 02:45:16 +02:00
Piotr Sarnacki
957d8a01ab Merge branch 'sidebar-tabs'
Conflicts:
	assets/scripts/spec/support/conditions.coffee
2013-04-05 19:26:24 +02:00
Piotr Sarnacki
39d0202d7a Fix specs, add styling for firefox 2013-04-05 18:09:00 +02:00
Sven Fuchs
8f891168d7 un-bold the non-active tab in the sidebar 2013-03-22 02:32:27 +01:00
Sven Fuchs
300e91133c Merge branch 'master' into sf-log
Conflicts:
	assets/scripts/app/views/log.coffee
2013-03-22 02:14:55 +01:00
Sven Fuchs
894f321a8f some style tweaks to the sidebar tabs /cc @drogus 2013-03-22 02:14:00 +01:00
Piotr Sarnacki
65254b70da Fix cutting too long logs 2013-03-19 16:07:21 +01:00
Piotr Sarnacki
aedddd8afe Display only jobs and workers in tabs 2013-03-15 19:22:24 +01:00
Piotr Sarnacki
b06d7f9628 Tabs on the sidebar, the beginning based on @svenfuchs work 2013-03-15 16:30:28 +01:00
Sven Fuchs
c011cfafcd fix line numbering 2013-03-14 17:18:34 +01:00
Sven Fuchs
331d6cec0d give space for fold markers 2013-03-14 15:48:42 +01:00
Sven Fuchs
e5fd18e8d9 do not display the collapse/expand icon for non-active (empty) folds 2013-03-14 15:48:42 +01:00
Sven Fuchs
2331e8e006 re-add limit and scroll, fix positioning of messages 2013-03-14 15:48:42 +01:00
Sven Fuchs
c0a4fed836 use travis-web-log/sf-dom 2013-03-14 15:47:59 +01:00
Piotr Sarnacki
8fab8448c2 Show appropriate message if repository was not found 2013-03-11 19:47:59 +01:00
Sven Fuchs
5d885289de update log.js, use Log.Dom engine 2013-03-04 02:32:04 +01:00
Sven Fuchs
894fa721bf move log expand/collapse icons to the left 2013-03-01 00:05:04 +01:00
Sven Fuchs
b1b16f9039 Merge branch 'ps-ember-update' of github.com:travis-ci/travis-web into ps-ember-update 2013-02-28 21:38:08 +01:00
Sven Fuchs
1058a505eb cleanup unused style 2013-02-28 21:37:48 +01:00
Piotr Sarnacki
3442610244 Fix jasmine styles to make it bigger and relative (on top of app) 2013-02-28 15:56:55 +01:00
Sven Fuchs
53beddfa77 fix fold styles 2013-02-27 23:17:55 +01:00
Sven Fuchs
f1a767a09f update log.js and adapt styles for fold name tags 2013-02-27 22:39:10 +01:00
Sven Fuchs
e178838568 remove line number color 2013-02-22 23:48:05 +01:00
Sven Fuchs
5872c15413 highlight line number 2013-02-22 23:38:19 +01:00
Sven Fuchs
4ed82fa2b9 remove log scrollbars css (not used anyway) 2013-02-22 22:04:53 +01:00
Piotr Sarnacki
11681c6359 Apply style changes from sf-log branch 2013-02-22 17:03:08 +01:00
Piotr Sarnacki
3862dd163d Limit log to 5000 lines 2013-02-13 04:03:02 +01:00
Piotr Sarnacki
c5dce13317 Group running jobs by repo 2013-02-07 13:20:41 +01:00
Piotr Sarnacki
ad6f9e59c7 Display running jobs 2013-02-07 13:20:41 +01:00
Piotr Sarnacki
e05b2cbe80 Merge pull request #134 from lukesarnacki/show-disabled-links-in-cog-menu
Disable links in cog menu when not signed in
2013-02-07 02:02:15 -08:00
Lukasz Sarnacki
201a3abf17 Disable links in cog menu when not signed in
When user is not logged in, some links in cog menu
are not display. This commit makes them visible but
disabled.
2013-02-07 00:40:15 +01:00
Piotr Sarnacki
66ce7239ee Merge pull request #130 from lukesarnacki/right-workers-slug-ff-css-fix
Better align of build numbers in right column
2013-02-05 11:15:38 -08:00
Lukasz Sarnacki
6b29e9b88d Better align of build numbers in right column
This is only fix for FF, checked on chrome few last versions,
safari 5.1 and 6, FF above 15.
2013-02-05 19:30:29 +01:00
Eugen Minciu
d58ec434d7 !important is not needed for committer media query 2013-01-28 15:40:43 +02:00
Eugen Minciu
b1809c0951 Media query to hide committer on small screens. 2013-01-24 16:12:28 +02:00
Piotr Sarnacki
75035c9a63 Left margin should be added only to the statuses on the list 2013-01-19 18:59:24 +01:00
Nick Schonning
36c5aa8ca4 Slit out #main content sponsor Sass 2013-01-18 19:41:43 -05:00
Piotr Sarnacki
fbc98889b9 Move ansi.sass to assets/styles, it's not a mixin 2013-01-19 01:12:11 +01:00
Piotr Sarnacki
4fb2d8d455 Add left margin to status icon 2013-01-18 01:32:50 +01:00
Piotr Sarnacki
97630fc171 Removed unused css from colors.sass 2013-01-18 01:22:40 +01:00
Piotr Sarnacki
a8b5460eed Show download log link in the cog menu 2013-01-16 12:59:15 +01:00
Piotr Sarnacki
98e6503e73 Add download log link at the bottom of the log 2013-01-15 13:18:49 +01:00
Piotr Sarnacki
4519736fcd Put message before the commit on lists (closes #93) 2013-01-11 18:36:22 +01:00
Laurent Goderre
7adf8648e8 Removed the unused font-face declararation.
Not needed since 754be38 (See issue #72)
2012-12-13 10:44:38 -05:00
Dan Allen
454c1c3e9a add AsciiDoc markup to status images dialog 2012-12-09 17:29:16 -07:00
Sven Fuchs
808ab28a4e fix icon size 2012-12-09 22:19:41 +01:00
Sven Fuchs
754be387b4 use svg icons instead of fonts 2012-12-09 22:04:50 +01:00
Sven Fuchs
e2ea999974 try using font/icons for color issues 2012-12-09 15:16:27 +01:00
Sven Fuchs
395918a406 use states instead of result 2012-12-09 15:16:27 +01:00
Piotr Sarnacki
c00aa911d7 Add regenerate key option in repo view 2012-12-05 01:59:03 +01:00
Piotr Sarnacki
fc40190c29 Optimize log viewer
Till now, log viewer was rendered in handlebars, which was the simplest
solution, but it had a major drawback - every append to log caused it to
rerender which was not efficient and memory consuming.

The new approach is to make Travis.Log interpret the log and send lines
with instructions to the view, so for example if view should add a line,
it gets something like:

    { number: 1, content: '$ bundle install' }

Such approach is required to handle cases where data coming from pusher
is not actually a new line. For example output containing dots from
tests needs to be appended:

    $ rake
    ....

Such output could be sent to client in 2 chunks: "$ rake\n.." and "..".
In such situation we would need to send 3 instructions:

  { number: 1, content: '$ rake' }
  { number: 2, content: '..'     }
  { number: 2, content: '..', append: true }

The third instruction can come much later, because tests can take a
while to run, so we can't assume that each line will come in one piece.

The other scenario is \r, for example when showing progress:

    \rDownloading: 10%
    \rDownloading: 50%
    \rDownloading: 100%

Such input should be changed into such instructions:

  { number: 1, content: 'Downloading: 10%' }
  { number: 1, content: 'Downloading: 50%',  replace: true }
  { number: 1, content: 'Downloading: 100%', replace: true }

Travis.Log also supports folds, for example on bundle install, the code
was rewritten to make folds management simpler.
2012-12-04 22:57:57 +01:00
Piotr Sarnacki
afa1d07fbe Show only first 15 elements from each queue for now
With shitloads of jobs in queues app becomes unusable, this is a quick
solution to make it better.
2012-11-28 00:04:23 +01:00
Sven Fuchs
df69a4a221 fix padding for broadcasts 2012-11-27 10:41:15 +01:00
Sven Fuchs
e27b4e56db make sure the profile details table does not break with long translations 2012-11-22 16:42:54 +01:00
Piotr Sarnacki
9a0e7d5bb6 Merge pull request #50 from KL-7/info-icon-fix
Fix info icon overlapping tabs (in Firefox).
2012-11-12 08:40:31 -08:00
Sven Fuchs
3a7850cd02 abstract out styles for menu from profile 2012-11-12 12:12:57 +01:00
Kirill Lashuk
3d896d6a57 Fix info icon overlapping tabs. 2012-11-12 12:10:32 +03:00
Josef Šimánek
31e914b52d Don't hide overflow on #main.
This fixes https://github.com/travis-ci/travis-ci/issues/750 for me. Tested on Linux with Chrome 22 and Firefox 16.0.1.
2012-11-08 21:47:16 +01:00
Piotr Sarnacki
8968cd2095 Fix auth view for browsers with flex layout 2012-11-07 12:55:59 +01:00
Piotr Sarnacki
bc79c1bef3 leave display: -webkit-box for safari 2012-11-05 12:24:53 +01:00
Piotr Sarnacki
97e5774631 Fix hiccups with long log views
When scrolling page with long log page was freezing for a moment on
every DOM update (which means at least for a second as we update
duration every second). This was caused by unnecassery reflows - the
main offender was display: box (flexible layout model). It turns out
that newer version of flexible layout, display: flex, behaves much
better. It works on newest versions of Chrome, Safari and on next
version of Opera. Unfortunately Firefox will support it in 18th version,
so I left rules with -moz prefixes for old flexible page model
2012-11-03 23:09:37 +01:00
Piotr Sarnacki
35eb3f1df6 Merge pull request #38 from kugaevsky/patch-1
Fix selected indicator style for left panel
2012-10-29 04:57:29 -07:00
Jeremy Mack
809ce6ccab Fixes slow scrolling on pages with gigantic logs 2012-10-28 15:49:19 -04:00
Nick Kugaevsky
4e2e39a96b Fix selected indicator style for left panel
I think it will be better to fix position of selected project indicator in left panel.
So when you toggle project info it doesn't jump around, and info separator doesn't detach right border. 

Here is some screenshots.
Before: http://cl.ly/image/3v3L2w0K3S1K
After:  http://cl.ly/image/200o3i1l1b3b
2012-10-25 16:40:52 +04:00
Piotr Sarnacki
a63ac52458 Remove layout views, just change template on application 2012-10-23 01:40:05 +02:00
Piotr Sarnacki
3fdd2d50ab Get back to old version of log number scrolling 2012-10-22 21:29:14 +02:00
Sven Fuchs
853606bcc6 moar routing/auth refactorings 2012-10-19 22:20:45 +02:00
Sven Fuchs
eca5d1902f check both repos.isLoaded and repos.length before rendering empty; set height to 100% 2012-10-19 02:46:39 +02:00
Sven Fuchs
45cc6a47e3 fix top menu active item styles 2012-10-19 00:33:39 +02:00
Sven Fuchs
52bdbf5468 Merge branch 'master' of github.com:travis-ci/travis-web
Conflicts:
	public/scripts/app.js
	public/scripts/min/app.js
	public/styles/app.css
	public/version
	script/server
2012-10-18 03:55:17 +02:00
Sven Fuchs
90fb2c3b78 add broadcasts 2012-10-18 03:53:19 +02:00
Piotr Sarnacki
cb76de3718 Move afterSignIn to auth Route
If we keep it only on states lower than root and afterSignIn is sent
when app is still in root.loading (which is often the case as we need to
wait for repository deserialization), it will try to find afterSignIn on
root.
2012-10-18 03:28:29 +02:00
Piotr Sarnacki
450f2b5f49 Make page nicer in smaller resolutions 2012-10-16 22:41:04 +02:00
Piotr Sarnacki
ce534fdcb8 Make layout work for smaller resolutions 2012-10-16 22:29:00 +02:00
Piotr Sarnacki
efcdae70c0 Fix layout in firefox 2012-10-16 21:17:42 +02:00
Piotr Sarnacki
0bb3eff03b Fix popup positioning and make sure popups always open properly
(closes #24)
2012-10-16 19:41:57 +02:00
Sven Fuchs
393ef62eae Merge branch 'master' of github.com:travis-ci/travis-web
Conflicts:
	public/scripts/app.js
	public/scripts/min/app.js
	public/styles/app.css
	public/version
2012-10-16 02:05:17 +02:00
Sven Fuchs
f91622e7e8 add an events tab 2012-10-16 02:00:24 +02:00
Piotr Sarnacki
4153c990be Fix specs 2012-10-15 23:20:33 +02:00
Sven Fuchs
bee1a895ba css sync and hooks buttons 2012-10-14 15:07:30 +02:00
Sven Fuchs
2485a7bcb9 fix router after_signin behaviour 2012-10-13 14:51:12 +02:00
Sven Fuchs
927c8de8b0 remove flash count binding and solve that in css 2012-10-09 15:53:23 +02:00
Sven Fuchs
847c120bd7 fuck yeah, flash messages 2012-10-09 15:16:54 +02:00
Sven Fuchs
521fc3112d add flash messages and styles 2012-10-08 16:27:55 +02:00
Sven Fuchs
02a1f166d5 change tools button to have a menu, add requeue menu item, make status image stuff a popup 2012-10-07 16:59:01 +02:00
Sven Fuchs
6e4413d5a2 finally rename repository to repo 2012-10-06 20:08:46 +02:00
Sven Fuchs
38ea058afc fix assets order 2012-10-04 00:20:17 +02:00
Sven Fuchs
7b47863014 extract paths in Assetfile; rename javascripts to scripts, stylesheets to styles 2012-10-03 17:13:02 +02:00