Commit Graph

170 Commits

Author SHA1 Message Date
Marcin Kulik
cc65ceb6e3 Improve backgrounds here and there 2014-07-02 18:37:40 +02:00
Marcin Kulik
f73fe27936 Fix theme changing forms 2014-07-02 17:12:54 +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
14648f11b7 Add ability to override theme via url param 2014-06-30 19:30:18 +02:00
Marcin Kulik
b6a23222d7 Integrate new React.js-based player 2014-06-24 20:49:26 +02:00
Marcin Kulik
992d691b2a Invalidate thumbnail cache when user changes username 2014-04-10 21:44:47 +02:00
Marcin Kulik
06c19adaab Move emedded player related endpoints to API 2014-03-05 10:05:45 +01:00
Marcin Kulik
f1c6c890c2 Remove unused template 2014-02-01 11:21:36 +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
0e85e9ac28 Pass the asciicast with the options object to player partial 2014-01-18 14:28:01 +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
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
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
3a62c31d18 Make the thumbnails 100 columns long to fit into widest single column layout 2013-12-03 21:51:49 +01:00
Marcin Kulik
d8de171f66 Add "Contributing" page 2013-12-03 20:11:47 +01:00
Marcin Kulik
2962fb8c5f Prepare for https 2013-11-27 23:46:42 +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
05f535e1f9 Make sure meta bar columns don't stack on smaller screens 2013-11-23 19:15:15 +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
38cde2d172 Avoid AR chains outside of AR models 2013-11-20 21:33:30 +01:00
Marcin Kulik
b6f53c66b8 Set page <title> in templates 2013-11-20 21:33:27 +01:00
Marcin Kulik
100273f5bf Update browse page to new layout and add sorting 2013-11-20 21:33:26 +01:00
Marcin Kulik
3041a646e2 Update asciicast edit page to new layout 2013-11-20 21:33:25 +01:00
Marcin Kulik
08d17f28e3 Redesign asciicast page 2013-11-20 21:33:25 +01:00
Marcin Kulik
35b3326987 Pimp up the repviews (thumbnails) a bit 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
0620b685bf Add the embedding docs 2013-10-14 21:10:12 +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
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
2913c04570 Add ability to start playback in widget via postMessage 2013-10-12 13:24:48 +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
3c4ac3666e Update copy & code to use the new name 2013-09-22 14:07:42 +02:00
Marcin Kulik
ee636bf958 Update the player to use backend-generated JSON frames 2013-09-21 13:05:13 +02:00
Marcin Kulik
31a880b7aa Simplify Snapshot and its presenter 2013-08-25 20:49:23 +02:00
Marcin Kulik
cf3e812e8e Move duration info below the thumbnail 2013-08-15 20:45:51 +02:00
Marcin Kulik
bae9bfdbc7 Use correct singular/plural form for asciicast count 2013-08-14 21:36:17 +02:00
Marcin Kulik
13119b2987 Display asciicast length on thumbnails 2013-08-14 20:40:24 +02:00
Marcin Kulik
44a7b0788e Convert asciicasts#_preview to slim 2013-08-14 19:38:01 +02:00
Marcin Kulik
abe0b77bcd Convert asciicast#index to slim 2013-08-14 18:16:03 +02:00
Marcin Kulik
4bb61b614f Prevent bots from following Edit links 2013-08-14 13:45:55 +02:00
Marcin Kulik
ade244e5d0 Fix rendering of snapshot in the player 2013-08-06 00:37:37 +02:00
Marcin Kulik
62be399455 Refactor player styles and use them for snapshots 2013-08-06 00:37:36 +02:00
Marcin Kulik
feec862f99 Display embed link on the asciicast's page 2013-06-13 11:45:00 +02:00
Marcin Kulik
f0b66b6399 Center overlays according to viewport/container width 2013-06-12 23:50:31 +02:00
Marcin Kulik
e182cce8ee Don't use document.write to insert the player into the DOM 2013-06-12 22:47:39 +02:00
Marcin Kulik
f22837f4e9 Add "embed" css/js bundles 2013-06-12 21:52:15 +02:00
Marcin Kulik
d1dcd08861 Initial version of iframe-based embedding 2013-06-12 21:33:30 +02:00
Marcin Kulik
87128c0873 Remove commented out code 2013-05-28 11:13:01 +02:00
Marcin Kulik
2e8fc48473 Set MAX_DELAY constant on model, not decorator 2012-12-18 21:38:49 +01:00
Marcin Kulik
816e09703a Cleanup author/profile links 2012-12-08 22:29:21 +01:00
Marcin Kulik
c1e576e5dd "Other asciicasts by this user" 2012-12-08 20:51:19 +01:00
Marcin Kulik
af95da5fe8 Pass asciicasts to 'previews' partial explicitly 2012-12-08 20:51:19 +01:00
Marcin Kulik
cd16719be6 It's asciicast, not preview 2012-12-08 19:59:56 +01:00
Marcin Kulik
2c006d5fdf Improve AsciicastDecorator#description 2012-12-08 18:21:24 +01:00
Marcin Kulik
0e2f78af1d Split asciicasts#show into more partials 2012-12-08 18:11:03 +01:00
Marcin Kulik
42f8ea63de Mark snapshot as safe HTML 2012-12-01 17:20:05 +01:00
Marcin Kulik
646ca6858a AsciicastDecorator#user 2012-11-19 23:14:34 +01:00
Marcin Kulik
1754656578 Raw page with player only 2012-11-19 23:10:21 +01:00
Marcin Kulik
33025e00f7 AsciicastDecorator#terminal_type 2012-11-19 22:29:46 +01:00
Marcin Kulik
d86174d147 link_to_delete_asciicast helper 2012-11-19 22:27:52 +01:00
Marcin Kulik
c94b6ff2d7 timeago -> time_ago_tag 2012-11-19 22:18:29 +01:00
Marcin Kulik
44e23bf003 Just decorate. 2012-11-19 22:12:57 +01:00
Marcin Kulik
560ab8362a Introduce proper player helper with proper template 2012-11-19 22:01:44 +01:00
Marcin Kulik
4fba36778e player_script -> player_script_tag 2012-11-19 21:30:45 +01:00
Marcin Kulik
afa03974a2 Calculate relative time in JS (b/c of caching) 2012-08-25 14:24:53 +02:00
Marcin Kulik
44edbe08d1 Cache whole previews list fragments 2012-08-22 20:00:31 +02:00
Marcin Kulik
6c007cdd9c Not ready yet for cache_key on ActiveRecord::Relation 2012-08-22 19:39:14 +02:00
Marcin Kulik
0de8aa76ea Use fragment caching for thumbnails 2012-08-21 20:20:14 +02:00
Marcin Kulik
877e1d9be9 Render partial with collection for previews 2012-08-21 19:41:54 +02:00
Marcin Kulik
b1ecbc16c0 Option to disable HUD 2012-07-28 20:59:38 +02:00
Marcin Kulik
4edd5ead9e Play cast on homepage at 2x speed 2012-07-28 20:33:10 +02:00
Marcin Kulik
fcb95df6c3 Remove obsolete view 2012-07-25 23:01:33 +02:00
Marcin Kulik
785273707b Proper design, finally! 2012-07-25 20:24:20 +02:00
Marcin Kulik
ba97246db8 Time compression 2012-05-04 21:49:08 +02:00
Marcin Kulik
45dd308186 Display comments count 2012-04-09 16:46:08 +02:00
Marcin Kulik
6334dfde06 Get rid of jquery-linkify.js 2012-04-07 00:06:00 +02:00
Marcin Kulik
2a71c08e5f Show info about github flavored md under comment box 2012-04-07 00:01:34 +02:00
Marcin Kulik
4ff8ab30f8 Example thumbnail view 2012-04-06 22:20:28 +02:00
Marcin Kulik
9e9e3f2662 Use block helper for markdown blocks 2012-04-05 22:30:57 +02:00
Marcin Kulik
8b504d8fea Use asciicast title in page title 2012-04-05 21:35:21 +02:00
Marcin Kulik
1e2e8bfcc3 Display some environment info 2012-04-04 18:41:17 +02:00
Marcin Kulik
5cccd7c24b Hyperlink URLs in title and description 2012-04-04 16:52:05 +02:00
Marcin Kulik
cddfa61dae Autofocus correct field when editing asciicast 2012-04-03 21:15:44 +02:00
Marcin Kulik
8a9fc6fa89 Editing of title/description 2012-04-03 20:47:59 +02:00
Marcin Kulik
e28aa23e68 Edit title/desc links 2012-04-03 20:20:48 +02:00
Marcin Kulik
2039022f1c Reformat erb 2012-04-03 20:07:13 +02:00
Marcin Kulik
ebcd3d43a6 Ability to delete your asciicast 2012-04-03 19:57:47 +02:00
Marcin Kulik
d7ebfac783 Reformat js 2012-04-03 19:38:36 +02:00
Marcin Kulik
b56d57c14d Display ~username on asciicasts list 2012-04-03 19:10:44 +02:00