Commit Graph

915 Commits

Author SHA1 Message Date
Marcin Kulik
0714453ff9 Keep "Powerline symbols" font definition in "player" bundle 2014-07-30 09:43:18 +02:00
Richard Gray
62f09a63fb Enable Powerline symbols in embedded player.
Include the font-face CSS at-rule in embed.css to enable use of
powerline symbols in the embedded player.
2014-07-29 20:45:22 +01:00
Marcin Kulik
402529c60e Fix 404 handling on docs pages 2014-07-05 20:16:57 +02:00
Marcin Kulik
7921f5e729 Make "Browse all" links buttons 2014-07-05 19:37:49 +02:00
Marcin Kulik
ba387bbb20 Display 6 featured and 6 latest asciicasts on landing page 2014-07-05 19:37:21 +02:00
Marcin Kulik
560e11f24e Introduce admin 2014-07-05 14:59:42 +02:00
Marcin Kulik
530352bbb1 Make forms responsive 2014-07-02 19:05:26 +02:00
Marcin Kulik
cc65ceb6e3 Improve backgrounds here and there 2014-07-02 18:37:40 +02:00
Marcin Kulik
1ea79309ff Don't use any padding in thumbnails 2014-07-02 17:51:15 +02:00
Marcin Kulik
f73fe27936 Fix theme changing forms 2014-07-02 17:12:54 +02:00
Marcin Kulik
0e7ac4d56a Improvements to the layout of the landing page 2014-07-01 23:08:31 +02:00
Marcin Kulik
6cb6f277fa Support selecting a theme when embedding 2014-07-01 22:44:43 +02:00
Marcin Kulik
56b48e98b3 Don't include Bootstrap in embedded widget styles 2014-07-01 22:40:27 +02:00
Marcin Kulik
1633c94b91 Ensure correct theme is used for displaying embedded asciicast 2014-07-01 22:35:47 +02:00
Marcin Kulik
6bb5f39f8b Add theme changing for whole user profile and single asciicast 2014-07-01 21:33:50 +02:00
Marcin Kulik
fe1af12fe9 Add Solarized Light theme 2014-06-30 21:11:42 +02:00
Marcin Kulik
14648f11b7 Add ability to override theme via url param 2014-06-30 19:30:18 +02:00
Marcin Kulik
78f31ae3de Powerline symbols! 2014-06-25 17:57:48 +02:00
Marcin Kulik
dec2765522 Fix pagination on profile page 2014-06-25 17:35:13 +02:00
Marcin Kulik
55d1cea523 Don't underline preview lines on hover 2014-06-25 16:40:02 +02:00
Marcin Kulik
5a2b6c87b7 Allow iframe to enter fullscreen mode 2014-06-24 22:56:37 +02:00
Marcin Kulik
b27b6c7ae3 Improve sizing of homepage asciicast 2014-06-24 21:09:57 +02:00
Marcin Kulik
b6a23222d7 Integrate new React.js-based player 2014-06-24 20:49:26 +02:00
Marcin Kulik
6ad2a40ab8 Fix opening of currently processed asciicasts 2014-06-22 11:44:40 +02:00
Marcin Kulik
c7e9974f47 Update a separate instance of current user 2014-04-12 12:39:59 +02:00
Marcin Kulik
64c471c2ae Display errors in user form 2014-04-12 12:16:58 +02:00
Marcin Kulik
ace357187c Well, 2 letter usernames are fine too 2014-04-10 22:22:33 +02:00
Marcin Kulik
a6bb7bf5ba Allow capital letters in usernames 2014-04-10 22:14:20 +02:00
Marcin Kulik
698767ad82 Validate username format 2014-04-10 22:03:21 +02:00
Marcin Kulik
992d691b2a Invalidate thumbnail cache when user changes username 2014-04-10 21:44:47 +02:00
Marcin Kulik
b526d575a0 Remove Courier New from terminal/thumbnail font list 2014-03-21 23:12:29 +01:00
Marcin Kulik
82c6c034c5 Improve test coverage of UsersController 2014-03-16 18:34:37 +01:00
Marcin Kulik
56b99f11e3 Clean up test auth helpers 2014-03-16 16:03:33 +01:00
Marcin Kulik
72248d7b83 Add a (pending) test for X-Frame-Options removal 2014-03-16 11:34:25 +01:00
Marcin Kulik
ad9fb63215 Prevent double escaping of page title - content_for already escapes once 2014-03-12 18:00:37 +01:00
Marcin Kulik
e65158d53f Add sponsor information. Thx @brightbox! 2014-03-12 17:46:46 +01:00
Marcin Kulik
06c19adaab Move emedded player related endpoints to API 2014-03-05 10:05:45 +01:00
Marcin Kulik
933c5d9801 Namespace the existing API as v0 2014-02-25 18:35:03 +01:00
Marcin Kulik
fe5907e96f Don't use AR API outside of AR classes 2014-02-20 23:31:49 +01:00
Marcin Kulik
f55ec05ae1 Use Warden for authentication 2014-02-20 23:31:48 +01:00
Marcin Kulik
28e0926fd6 Split User.for_api_token into separate lookup and create methods 2014-02-20 21:11:09 +01:00
Marcin Kulik
83df37f48b Refactor Asciicast#user 2014-02-12 21:33:42 +01:00
Marcin Kulik
fb3d5dec7a Revert "Add "Today We Fight Back" banner"
This reverts commit 37399f2bc6.
2014-02-12 21:01:36 +01:00
Marcin Kulik
86182e6a38 Promote featured asciicasts a bit more 2014-02-12 20:59:58 +01:00
Marcin Kulik
94817be1b3 Rename nickname to username 2014-02-12 20:51:01 +01:00
Marcin Kulik
81c8340bc1 Drop unused columns from asciicasts table 2014-02-12 20:36:51 +01:00
Marcin Kulik
24bad5e628 Use strong_parameters instead of protected_attributes 2014-02-12 20:22:20 +01:00
Marcin Kulik
9b32e2dc37 Prevent shadowing real user profiles by dummy ones 2014-02-12 19:51:25 +01:00
Marcin Kulik
5db7506823 Make "default legacy" asciicast user a dummy one 2014-02-12 17:46:09 +01:00
Marcin Kulik
1be5538e5c Merge dummy users into real ones when assigning api tokens 2014-02-12 17:41:06 +01:00
Marcin Kulik
2ceea32cc4 Create dummy users for new api tokens 2014-02-11 17:49:22 +01:00
Marcin Kulik
74d7bb0156 Make AsciicastCreator unaware of API subtleties 2014-02-10 17:39:37 +01:00
Marcin Kulik
0a47fd441f Remove unused recorded_at column 2014-02-10 16:42:50 +01:00
Marcin Kulik
9530c9d870 Ignore "recorded_at" from client 2014-02-09 19:35:30 +01:00
Marcin Kulik
633f514de8 Use Virtus for AsciicastParams 2014-02-09 19:12:15 +01:00
Marcin Kulik
37399f2bc6 Add "Today We Fight Back" banner 2014-02-09 18:10:00 +01:00
Marcin Kulik
6db51d138d Make Persona login background matching new design 2014-02-09 17:54:22 +01:00
Marcin Kulik
df2ebb91b6 Make notice message's background matching design a bit more 2014-02-09 17:41:15 +01:00
Marcin Kulik
cc28d6efad Use ruby 1.9 hash syntax 2014-02-09 14:58:17 +01:00
Marcin Kulik
13544d9d04 Rename user_token to api_token 2014-02-09 14:44:09 +01:00
Marcin Kulik
33dabc56b2 Mention Fedora package in installation docs 2014-02-06 16:29:34 +01:00
Marcin Kulik
d1b912f1d2 Remove unused helpers 2014-02-01 11:25:47 +01:00
Marcin Kulik
f1c6c890c2 Remove unused template 2014-02-01 11:21:36 +01:00
Marcin Kulik
3fc1c0ec21 Remove redundant as_json from ApplicationDecorator 2014-02-01 11:18:10 +01:00
Marcin Kulik
9c224ce894 Remove unused mailer 2014-02-01 11:17:12 +01:00
Marcin Kulik
4908599204 Fix style violations 2014-02-01 10:29:49 +01:00
Marcin Kulik
105d11bfe7 Change naming convention for presenter objects 2014-02-01 01:26:58 +01:00
Marcin Kulik
463f18c207 Refactor user page to use a presenter object 2014-02-01 01:16:28 +01:00
Marcin Kulik
5dc857ed9e Rename AsciicastPresenter#user to #current_user 2014-02-01 01:14:37 +01:00
Marcin Kulik
7fb6c0354c Cache items on AsciicastListPresenter 2014-02-01 01:12:19 +01:00
Marcin Kulik
d06801487c Set defaults for AsciicastListPresenter in .build 2014-02-01 01:10:54 +01:00
Marcin Kulik
9589df952f Make the view count cookie names shorter 2014-01-29 16:10:18 +01:00
Marcin Kulik
fee207e012 Add Gentoo installation instructions to docs 2014-01-21 10:49:48 +01:00
Marcin Kulik
219d8f1c3f Fix embedded player iframe resizing under https 2014-01-18 15:35:24 +01:00
Marcin Kulik
9e5a7c8d22 Add "autoplay" option to embedded player 2014-01-18 15:17:12 +01:00
Marcin Kulik
edca76233d It's rather "bare" than "raw" 2014-01-18 14:57:35 +01:00
Marcin Kulik
585167089d Rename container_width option to max_width 2014-01-18 14:53:15 +01:00
Marcin Kulik
2d93333cb5 Allow passing container width on example embed page 2014-01-18 14:35:05 +01:00
Marcin Kulik
0e85e9ac28 Pass the asciicast with the options object to player partial 2014-01-18 14:28:01 +01:00
Marcin Kulik
a9913a966d Rename "font_size" playback option to "size" 2014-01-18 14:19:23 +01:00
Marcin Kulik
57bcab04c9 Use proper PlaybackOptions object for passing options to JS player 2014-01-18 14:12:10 +01:00
Marcin Kulik
2191dfe32a Use .decorate instead of manually creating decorator instances 2014-01-18 12:24:40 +01:00
Marcin Kulik
86f6af3d78 Introduce AsciicastPresenter 2014-01-18 11:44:13 +01:00
Marcin Kulik
d571be2bbd Introduce AsciicastListPresenter 2014-01-17 17:21:22 +01:00
Marcin Kulik
f6ad790a09 Introduce HomePresenter 2014-01-17 14:52:37 +01:00
Marcin Kulik
ef8519b035 No need for making embedded player's container 100% width 2013-12-14 14:58:57 +01:00
Marcin Kulik
070b99ed51 Display "Powered by" below the embedded player 2013-12-14 14:54:01 +01:00
Marcin Kulik
57e976ff64 Use jpg background instead of a png on the homepage 2013-12-10 12:22:16 +01:00
Marcin Kulik
fe30c0282f It's "OS X", not "OSX".
(via @solnic)
2013-12-10 12:00:17 +01:00
Marcin Kulik
f7d2b97a6c Use the "method" API of CFG object everywhere 2013-12-09 23:55:12 +01:00
Marcin Kulik
ec2004713e Set test specific carrierwave storage dir prefix in spec_helper 2013-12-09 20:26:08 +01:00
Marcin Kulik
4e3c9a5d28 Add config setting for using local persona js file 2013-12-09 20:09:17 +01:00
Marcin Kulik
11bfe3b0f9 Remove unused path helper 2013-12-09 18:57:10 +01:00
Marcin Kulik
5887d2e4f6 Words 2013-12-07 16:32:00 +01:00
Marcin Kulik
f17a7ffdd0 Spell gittip as Gittip, always 2013-12-03 22:20:36 +01:00
Marcin Kulik
3a62c31d18 Make the thumbnails 100 columns long to fit into widest single column layout 2013-12-03 21:51:49 +01:00
Marcin Kulik
6ee6274751 Add "Follow on Twitter" to footer 2013-12-03 21:37:11 +01:00
Marcin Kulik
c4719ffd24 Put link to "Contributing" page in a footer 2013-12-03 21:22:21 +01:00
Marcin Kulik
18e5f19e16 Update installation docs 2013-12-03 21:00:04 +01:00
Marcin Kulik
d8de171f66 Add "Contributing" page 2013-12-03 20:11:47 +01:00
Marcin Kulik
e2e117ce84 Refactor profile link helpers and decorators 2013-12-01 00:55:31 +01:00
Marcin Kulik
df8da8d6d0 Remove unused partial 2013-12-01 00:54:14 +01:00
Marcin Kulik
b6126167a3 Prefer gravatar over old omniauth provided avatar 2013-11-30 11:15:41 +01:00
Marcin Kulik
9b80151511 Randomize "featured" and "other by user" lists 2013-11-28 23:17:02 +01:00
Marcin Kulik
2962fb8c5f Prepare for https 2013-11-27 23:46:42 +01:00
Marcin Kulik
7f8dc4ac88 Update installation docs 2013-11-25 22:07:58 +01:00
Marcin Kulik
4601272f80 Make sure title and share buttons are on the same line even on small screens 2013-11-24 10:49:29 +01:00
Marcin Kulik
3b63d69bc6 Fix asciicast author info width when title is short 2013-11-23 20:43:17 +01:00
Marcin Kulik
b02927172c Prevent long, single word title flowing out of the preview box 2013-11-23 19:27:50 +01:00
Marcin Kulik
05f535e1f9 Make sure meta bar columns don't stack on smaller screens 2013-11-23 19:15:15 +01:00
Marcin Kulik
4d36ee0c39 Make sure footer columns don't stack on smaller screen sizes 2013-11-23 19:13:08 +01:00
Marcin Kulik
055b552775 Improve home page cinema margins for single column layout 2013-11-23 19:03:11 +01:00
Marcin Kulik
abc926bd67 Add missing style overrides for navbar (collapsed) 2013-11-23 18:52:53 +01:00
Marcin Kulik
50299ca250 Add some caching 2013-11-22 23:31:18 +01:00
Marcin Kulik
f2e462e1cb Avoid empty section when no more by asciicasts by the user 2013-11-22 22:38:40 +01:00
Marcin Kulik
2dbc811caf Fix the condition for displaying edit/delete links 2013-11-22 22:33:14 +01:00
Marcin Kulik
5c6f0e80d6 Fix iframe size of embedded player 2013-11-22 21:53:18 +01:00
Marcin Kulik
4b9c33f228 Add fake host pages with an embedded asciicast 2013-11-22 21:45:45 +01:00
Marcin Kulik
a6a925edd3 Load app js bundle before persona 2013-11-22 13:47:02 +01:00
Marcin Kulik
7e75e0db7c Move glyphicons from vendor/assets/fonts to app/assets/fonts 2013-11-22 12:46:42 +01:00
Marcin Kulik
92feaef715 Use ' instead of " for font urls 2013-11-22 12:40:50 +01:00
Marcin Kulik
61b42a9813 Make the background color of player wrapper on homepage black 2013-11-22 12:33:43 +01:00
Marcin Kulik
1696dad7d0 Fix the font references 2013-11-22 12:31:05 +01:00
Marcin Kulik
6c326fb222 Add missing logo image 2013-11-21 21:43:19 +01:00
Marcin Kulik
f5e91a3946 Add subtle text shadow for home headlines 2013-11-21 21:41:12 +01:00
Marcin Kulik
0767bdf581 Fix a typo 2013-11-21 21:33:42 +01:00
Marcin Kulik
79f95252e5 Small font for home page asciicast must do for now 2013-11-21 21:27:55 +01:00
Marcin Kulik
2ec2fc401a Require bootstrap stylesheet in "embed" bundle (for play icon) 2013-11-21 21:14:46 +01:00
Marcin Kulik
83d3c7d1ae Improve styling of embed box input 2013-11-21 21:14:22 +01:00
Marcin Kulik
d3ebb5af61 Change default (guest) avatar image 2013-11-21 20:50:40 +01:00
Marcin Kulik
cf2ed7b27d Remove the "Record" button from the header 2013-11-21 20:32:00 +01:00
Marcin Kulik
85196a35a4 Use "OMG" background image provided by @rezaali 2013-11-21 20:16:40 +01:00
Marcin Kulik
13a0b5a2e7 Make the shadow under a terminal on the homepage a bit softer 2013-11-20 21:52:54 +01:00
Marcin Kulik
94bc3317b1 Use thicker border for player on homepage 2013-11-20 21:40:29 +01:00
Marcin Kulik
bad75768d2 Style dropdown in header 2013-11-20 21:33:32 +01:00
Marcin Kulik
434f8bd47d Fix path to bootstrap's glyphicons font 2013-11-20 21:33:31 +01:00
Marcin Kulik
38cde2d172 Avoid AR chains outside of AR models 2013-11-20 21:33:30 +01:00
Marcin Kulik
dd9488d56f Add fullname_and_nickname to UserDecorator 2013-11-20 21:33:29 +01:00
Marcin Kulik
b6f53c66b8 Set page <title> in templates 2013-11-20 21:33:27 +01:00
Marcin Kulik
af02d5e0b2 Dasherize how-it-works and getting-started doc paths 2013-11-20 21:33:26 +01:00
Marcin Kulik
81ea04c81a Make the form controls a bit shorter 2013-11-20 21:33:26 +01:00
Marcin Kulik
100273f5bf Update browse page to new layout and add sorting 2013-11-20 21:33:26 +01:00
Marcin Kulik
249117f80a Allow size to be passed to player helper in options 2013-11-20 21:33:25 +01:00
Marcin Kulik
3041a646e2 Update asciicast edit page to new layout 2013-11-20 21:33:25 +01:00
Marcin Kulik
e5809d2213 Fetch avatars of higher res 2013-11-20 21:33:25 +01:00
Marcin Kulik
08d17f28e3 Redesign asciicast page 2013-11-20 21:33:25 +01:00
Marcin Kulik
78700f59c1 Update user settings page to new layout 2013-11-20 21:33:24 +01:00
Marcin Kulik
f9717f1aa5 Update profile page to new layout 2013-11-20 21:33:24 +01:00
Marcin Kulik
59eb527ae9 Update log in pages to new layout 2013-11-20 21:33:23 +01:00
Marcin Kulik
4579951c2a Update token error page to new layout 2013-11-20 21:33:22 +01:00