Commit Graph

840 Commits

Author SHA1 Message Date
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
Marcin Kulik
30da684934 Update 404 page for new layout 2013-11-20 21:33:22 +01:00
Marcin Kulik
35b3326987 Pimp up the repviews (thumbnails) a bit 2013-11-20 21:33:22 +01:00
Marcin Kulik
3362da04dc Update information on "About" page 2013-11-20 21:33:22 +01:00
Marcin Kulik
76ddc94561 Update docs pages for new layout 2013-11-20 21:33:22 +01:00
Marcin Kulik
cf78f0dfe0 Update the player to new design 2013-11-20 21:33:22 +01:00
Marcin Kulik
c0473dc217 Redesign homepage (and layout in general) 2013-11-20 21:33:22 +01:00
Marcin Kulik
7c83852945 Remove old ugly styles 2013-11-20 21:33:11 +01:00
Marcin Kulik
6009250a36 Display "asciicast:<id>" as a title for title-less asciicasts 2013-11-20 21:29:43 +01:00
Marcin Kulik
e01a9e23f5 Specify URLs for ToS and Privacy Policy for Persona 2013-10-26 23:57:07 +02:00
Marcin Kulik
d5ea271393 Use protocol-relative avatar URLs 2013-10-26 23:48:35 +02:00
Marcin Kulik
eb13fd2f83 Add terms of service page 2013-10-26 22:50:54 +02:00
Marcin Kulik
641b71d964 Fix the "Start recording" links on home page 2013-10-26 00:01:27 +02:00
Marcin Kulik
88e2e54477 Add privacy policy 2013-10-25 20:01:56 +02:00
Marcin Kulik
7a9a394121 Merge pull request #141 from sickill/persona
Sign in with an email (Persona)
2013-10-23 13:24:06 -07:00
Marcin Kulik
5674b488ae Fix the path to getting started page 2013-10-23 22:16:21 +02:00
Marcin Kulik
64585404e6 Make logo an actual image 2013-10-23 22:10:15 +02:00
Marcin Kulik
8728b47417 Use local copy of persona's include.js in dev environment 2013-10-23 22:00:02 +02:00
Marcin Kulik
888f3b7c80 Don't take current user's email from current profile page's user 2013-10-23 21:54:11 +02:00
Marcin Kulik
6ee6f20405 Improve the account settings page 2013-10-23 21:17:04 +02:00
Marcin Kulik
431fd87002 Use auth token for permanent sessions 2013-10-22 19:16:18 +02:00
Marcin Kulik
3e1feff84e Auto-strip whitespace from email and nickname 2013-10-22 17:58:15 +02:00
Marcin Kulik
5bd8b05a93 Validate presence and uniqueness of both nickname and email 2013-10-22 17:52:04 +02:00
Marcin Kulik
a194d361d0 Redirect to "getting started" page after sign up 2013-10-22 17:42:32 +02:00
Marcin Kulik
352fb6ede6 Improve wording 2013-10-22 17:42:32 +02:00
Marcin Kulik
cf822f9d5e Improvements to the new sign in flow 2013-10-22 17:08:12 +02:00
Marcin Kulik
4b5c02477b Don't override error message for user's nickname uniqueness 2013-10-20 19:08:41 +02:00
Marcin Kulik
8dba31ce71 Auto-focus nickname field on new user form 2013-10-20 19:07:40 +02:00
Marcin Kulik
a2b0a637fa Refactor User.for_credentials/for_email into class methods 2013-10-20 18:58:31 +02:00
Marcin Kulik
d4cbc3e504 Make Persona the only login option (with the ability to access old accounts) 2013-10-20 18:58:11 +02:00
Marcin Kulik
bc2b91f5a2 Extract base js assets bundle 2013-10-20 18:07:03 +02:00
Marcin Kulik
8c43aaf081 Add login via Mozilla Persona 2013-10-20 18:07:03 +02:00
Marcin Kulik
769acb6593 OmniAuthHelper is better name than OauthHelper
Conflicts:
	app/models/user.rb
	spec/models/user_spec.rb
2013-10-20 18:06:13 +02:00
Marcin Kulik
ac64d04a51 Remove old unused backbone code 2013-10-20 18:04:09 +02:00
Marcin Kulik
f05b787ac3 Remove debug console.log statement 2013-10-20 17:32:46 +02:00
Marcin Kulik
ef8449b44c Keep the sane line length 2013-10-20 17:29:19 +02:00
Marcin Kulik
4bc0982c78 Keep test uploads in a separate dir but still under public/ 2013-10-20 16:45:34 +02:00
Marcin Kulik
a2baeb91ea Add a default value for headers in AsciicastCreator 2013-10-20 16:41:37 +02:00
Marcin Kulik
a31cae3548 Fix a typo 2013-10-17 23:18:08 +02:00
Marcin Kulik
791f6ea6a5 Missing dot. 2013-10-14 21:24:45 +02:00
Marcin Kulik
d324fcd714 Add the "medium" font size for the embedded player 2013-10-14 21:10:18 +02:00
Marcin Kulik
b61a321299 Adjust user_agent parsing to take python implementation into an account 2013-10-14 21:10:17 +02:00
Marcin Kulik
fa9db48620 Words 2013-10-14 21:10:17 +02:00
Marcin Kulik
3ecf1ff936 Put installation instructions on a separate docs page 2013-10-14 21:10:17 +02:00
Marcin Kulik
0740174224 Update getting started docs 2013-10-14 21:10:16 +02:00
Marcin Kulik
6e8e204aaa Words 2013-10-14 21:10:16 +02:00
Marcin Kulik
0620b685bf Add the embedding docs 2013-10-14 21:10:12 +02:00
Marcin Kulik
7e5af6ed56 Favor uname over user_agent when accepting upload 2013-10-13 12:29:30 +02:00
Marcin Kulik
f86734bf50 Revert "Favor uname over user_agent"
This reverts commit 97931ceaed.
2013-10-13 12:28:58 +02:00
Marcin Kulik
97931ceaed Favor uname over user_agent 2013-10-13 11:51:41 +02:00
Marcin Kulik
012736304e Add support to the embed script for specifying the playback speed 2013-10-13 11:40:15 +02:00
Marcin Kulik
39ea1778dd Fix shape of the play button in embedded widget under FF 2013-10-12 19:02:24 +02:00
Marcin Kulik
90954c03b6 Add support to embed script for making the terminal font 2x bigger 2013-10-12 16:34:31 +02:00
Marcin Kulik
f689595446 Fix origin check for hosts with non 80 port 2013-10-12 16:26:23 +02:00
Marcin Kulik
8c9b580367 Remove unneeded sass imports 2013-10-12 14:53:46 +02:00
Marcin Kulik
2913c04570 Add ability to start playback in widget via postMessage 2013-10-12 13:24:48 +02:00
Marcin Kulik
01d6026dd1 Add FAQ page 2013-10-12 00:20:42 +02:00
Marcin Kulik
8eb0c910e7 Update "options" page 2013-10-11 20:48:11 +02:00
Marcin Kulik
d74ead2263 Store client's user agent on Asciicast record 2013-10-11 20:44:49 +02:00
Marcin Kulik
e4cb9c0657 New installation instructions 2013-10-06 13:50:17 +02:00
Marcin Kulik
bb9e492390 Words 2013-10-06 13:02:37 +02:00
Marcin Kulik
d1b4d6eabd Make sure progress indicator value is never larger than 100 2013-10-04 18:45:52 +02:00
Marcin Kulik
a43311aeba Update installation instructions for OSX 2013-10-04 12:10:08 +02:00
Marcin Kulik
405e2a7a9d Update installation instructions 2013-10-03 19:22:36 +02:00
Marcin Kulik
d71da5b369 Move asciicast attributes preparation to AsciicastAttributes 2013-09-25 21:42:59 +02:00
Marcin Kulik
f3ecd376d7 Update updated_at on all claimed asciicasts 2013-09-25 21:42:59 +02:00
Marcin Kulik
32a2f44eb6 Move user token creation/assignment to a service object 2013-09-25 21:42:59 +02:00
Marcin Kulik
b08ffd48b4 Make the ViewCounter a controller dependency in the form of a private method 2013-09-25 21:42:40 +02:00
Marcin Kulik
f02daa9069 BrushPresenter -> BrushDecorator 2013-09-24 12:31:18 +02:00
Marcin Kulik
681558074a Update brew install URL to the working one 2013-09-24 11:08:15 +02:00
Marcin Kulik
0350f908a9 Move TimingParser to services 2013-09-23 21:21:07 +02:00
Marcin Kulik
438e962a5a Convert docs to slim 2013-09-23 21:05:33 +02:00
Marcin Kulik
8efb95252e Remove unused template for FAQ page 2013-09-23 19:24:41 +02:00
Marcin Kulik
83a8976746 Remove unused assets 2013-09-23 19:13:06 +02:00
Marcin Kulik
0634f52c99 Change all occurrences of old project name to the new one 2013-09-23 19:05:36 +02:00
Marcin Kulik
5c80bf21f1 Don't display cursor when it's invisible... obviously 2013-09-23 11:27:27 +02:00