Commit Graph

834 Commits

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