Commit Graph

64 Commits

Author SHA1 Message Date
Marcin Kulik
6009250a36 Display "asciicast:<id>" as a title for title-less asciicasts 2013-11-20 21:29:43 +01:00
Marcin Kulik
d5ea271393 Use protocol-relative avatar URLs 2013-10-26 23:48:35 +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
b61a321299 Adjust user_agent parsing to take python implementation into an account 2013-10-14 21:10:17 +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
d74ead2263 Store client's user agent on Asciicast record 2013-10-11 20:44:49 +02:00
Marcin Kulik
f02daa9069 BrushPresenter -> BrushDecorator 2013-09-24 12:31:18 +02:00
Marcin Kulik
ee636bf958 Update the player to use backend-generated JSON frames 2013-09-21 13:05:13 +02:00
Marcin Kulik
82ff7148a9 Make sure the preview snapshot always has requested height 2013-09-21 13:05:12 +02:00
Marcin Kulik
82fa03863d Adjust Snapshot#crop to work on already optimized lines 2013-09-21 13:05:12 +02:00
Marcin Kulik
e862acedb7 Animation frames generation on the backend 2013-09-10 21:29:17 +02:00
Marcin Kulik
b47fa27968 Refactor Snapshot to use Grid under the hood 2013-08-27 20:31:31 +02:00
Marcin Kulik
c775bc8b06 Use less spans for thumbnail rendering 2013-08-26 11:02:32 +02:00
Marcin Kulik
31a880b7aa Simplify Snapshot and its presenter 2013-08-25 20:49:23 +02:00
Marcin Kulik
13119b2987 Display asciicast length on thumbnails 2013-08-14 20:40:24 +02:00
Marcin Kulik
2e9b0a4718 Remove boring empty trailing lines from thumbnails 2013-08-14 17:24:36 +02:00
Marcin Kulik
9086aae060 Remove unused code 2013-08-14 16:38:33 +02:00
Marcin Kulik
6acea6da70 Use tilde prefix for nickname only in profile url 2013-08-14 16:30:49 +02:00
Marcin Kulik
6db65b2a6c Serve asciicast as JSON in chunks 2013-08-13 19:52:54 +02:00
Marcin Kulik
c22cb1cdcc Get rid of the asciicast comments that are not used anymore 2013-08-08 15:25:27 +02:00
Marcin Kulik
7d5a544650 Generate thumbnails from JSON snapshot via Snapshot/SnaphotPresenter 2013-08-06 00:37:36 +02:00
Marcin Kulik
86a4662fe5 Abstract stdout_data and stdout_timing as a single value object 2013-08-06 00:37:34 +02:00
Marcin Kulik
d93ac84c21 Refactor AsciicastDecorator#thumbnail to render colorful thumbnail 2013-08-06 00:37:33 +02:00
Marcin Kulik
2d6b60e027 Fix AsciicastDecorator#embed_script 2013-06-13 22:58:47 +02:00
Marcin Kulik
8a52605266 Add spec for AsciicastDecorator#embed_script 2013-06-13 22:39:34 +02:00
Marcin Kulik
feec862f99 Display embed link on the asciicast's page 2013-06-13 11:45:00 +02:00
Marcin Kulik
078b04e3a1 Fix asciicast page when its author has other asciicasts 2013-05-28 11:13:01 +02:00
Marcin Kulik
f5a91c680b Fix draper vs kaminari issue 2013-05-28 11:13:00 +02:00
Marcin Kulik
5f53c66639 Update decorators to use new Draper API 2013-05-28 11:13:00 +02:00
Marcin Kulik
2e8fc48473 Set MAX_DELAY constant on model, not decorator 2012-12-18 21:38:49 +01:00
Marcin Kulik
11bab12afb Extract AsciicastJSONDecorator from AsciicastDecorator 2012-12-09 21:23:37 +01:00
Marcin Kulik
1e07fafb2e When terminal_type is empty also return '?' 2012-12-09 16:14:26 +01:00
Marcin Kulik
816e09703a Cleanup author/profile links 2012-12-08 22:29:21 +01:00
Marcin Kulik
3b2dc7f998 Simplify author_profile_link 2012-12-08 20:51:20 +01:00
Marcin Kulik
a1fad7ccb7 Decorate User#nickname 2012-12-08 20:51:20 +01:00
Marcin Kulik
3f53f2ad50 Use decorates_association instead of custom method 2012-12-08 20:51:19 +01:00
Marcin Kulik
c1e576e5dd "Other asciicasts by this user" 2012-12-08 20:51:19 +01:00
Marcin Kulik
2c006d5fdf Improve AsciicastDecorator#description 2012-12-08 18:21:24 +01:00
Marcin Kulik
646ca6858a AsciicastDecorator#user 2012-11-19 23:14:34 +01:00
Marcin Kulik
33025e00f7 AsciicastDecorator#terminal_type 2012-11-19 22:29:46 +01:00
Marcin Kulik
44e23bf003 Just decorate. 2012-11-19 22:12:57 +01:00
Marcin Kulik
db4c4a397c Return 'unknown' as os when uname is empty 2012-11-18 22:12:37 +01:00
Marcin Kulik
c172df390e Remove old helper for created_at 2012-08-25 15:15:00 +02:00
Marcin Kulik
afa03974a2 Calculate relative time in JS (b/c of caching) 2012-08-25 14:24:53 +02:00
Marcin Kulik
62236504cf Revert "Handle non-bzipped data also in AsciicastDecorator"
This reverts commit 9d08c17087.
2012-08-25 13:50:44 +02:00
Marcin Kulik
9d08c17087 Handle non-bzipped data also in AsciicastDecorator 2012-08-23 20:35:27 +02:00
Marcin Kulik
668f382a69 Fix specs 2012-07-29 19:43:03 +02:00
Marcin Kulik
657ddab1de Improve situation with markdown parsing 2012-07-25 23:01:01 +02:00
Marcin Kulik
785273707b Proper design, finally! 2012-07-25 20:24:20 +02:00