Commit Graph

272 Commits

Author SHA1 Message Date
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