Commit Graph

95 Commits

Author SHA1 Message Date
Marcin Kulik
cead49590c Escape non-ascii characters in JSON passed to <asciinema-player> 2016-10-02 07:22:29 +00:00
Marcin Kulik
cda33d42ba Fix no-preload for embed 2016-10-01 22:19:40 +02:00
Marcin Kulik
e5b718379d Port preload option to HTML5 element 2016-10-01 21:58:59 +02:00
Marcin Kulik
0e42b82e5d Favor poster from options over precomputed one 2016-10-01 19:32:44 +00:00
Marcin Kulik
baf1c96c7e No need for jQuery inside of an iframe 2016-10-01 18:09:32 +00:00
Marcin Kulik
b373963497 Use new player via <asciinema-player> tag 2016-10-01 19:31:11 +02:00
Marcin Kulik
0f684f46ae Fix v0 URL param 2016-01-19 10:27:38 +00:00
Marcin Kulik
e3c04e1461 Play v1 format by default if available 2015-12-22 22:09:20 +00:00
Marcin Kulik
9881c5df6c Extract profile route helpers to a module 2015-10-08 12:43:10 +00:00
Marcin Kulik
a44121eb7b Pass title and author info to the player 2015-10-08 12:43:09 +00:00
Marcin Kulik
ecc9d098d5 Fix asset paths for screenshot generation 2015-08-26 19:32:58 +00:00
Marcin Kulik
38b899c65a html_safe my ass 2015-07-18 11:22:14 +00:00
Marcin Kulik
f1cf67412e Fix embed script for private asciicasts (fixes #194) 2015-07-18 11:15:33 +00:00
Marcin Kulik
d68c0f3282 Use actual embed scripts on "embed example" page 2015-07-18 11:13:32 +00:00
Marcin Kulik
a719251745 Fix snapshot HTML escaping 2015-04-03 16:04:00 +00:00
Marcin Kulik
2852248989 Add PNG generation (https://asciinema.org/a/17654.png) 2015-03-27 11:42:14 +00:00
Marcin Kulik
a7aab637fe Always use lowercase "asciinema". Also fix git repositories' URLs 2014-12-17 15:46:03 +00:00
Marcin Kulik
feb9703620 Remove old authentication code (browser-id, github, twitter) 2014-10-17 20:24:23 +02:00
Marcin Kulik
53c2598c48 Only display flash notifications for :alert and :notice keys 2014-10-17 20:24:09 +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
ad9fb63215 Prevent double escaping of page title - content_for already escapes once 2014-03-12 18:00:37 +01:00
Marcin Kulik
f55ec05ae1 Use Warden for authentication 2014-02-20 23:31:48 +01:00
Marcin Kulik
d1b912f1d2 Remove unused helpers 2014-02-01 11:25:47 +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
11bfe3b0f9 Remove unused path helper 2013-12-09 18:57:10 +01:00
Marcin Kulik
e2e117ce84 Refactor profile link helpers and decorators 2013-12-01 00:55:31 +01:00
Marcin Kulik
b6f53c66b8 Set page <title> in templates 2013-11-20 21:33:27 +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
76ddc94561 Update docs pages for new layout 2013-11-20 21:33:22 +01: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
d4cbc3e504 Make Persona the only login option (with the ability to access old accounts) 2013-10-20 18:58:11 +02:00
Marcin Kulik
8c43aaf081 Add login via Mozilla Persona 2013-10-20 18:07:03 +02:00
Marcin Kulik
ef8449b44c Keep the sane line length 2013-10-20 17:29:19 +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
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
731751650c Keep the lines shorther than 80 chars 2013-08-25 16:34:02 +02:00
Marcin Kulik
20645271a1 Update models and helpers to use new Rails 4 syntax 2013-08-08 15:08:11 +02:00
Marcin Kulik
ade244e5d0 Fix rendering of snapshot in the player 2013-08-06 00:37:37 +02:00
Marcin Kulik
f0b66b6399 Center overlays according to viewport/container width 2013-06-12 23:50:31 +02:00
Marcin Kulik
3e2bc439a0 Make sure docs pages are fine 2013-05-28 11:13:01 +02:00
Marcin Kulik
62a3ffed92 Don't check for webkit anymore when enabling WebWorker player 2013-05-28 11:13:00 +02:00
Marcin Kulik
816e09703a Cleanup author/profile links 2012-12-08 22:29:21 +01:00
Marcin Kulik
d86174d147 link_to_delete_asciicast helper 2012-11-19 22:27:52 +01:00
Marcin Kulik
fdf2a0c326 indented -> indented_text 2012-11-19 22:20:45 +01:00
Marcin Kulik
c94b6ff2d7 timeago -> time_ago_tag 2012-11-19 22:18:29 +01:00
Marcin Kulik
d9d85c11e0 category_link -> link_to_category 2012-11-19 22:16:39 +01:00