Commit Graph

1075 Commits

Author SHA1 Message Date
Marcin Kulik
a6e4d4581e Words 2016-01-11 16:19:08 +01:00
Marcin Kulik
442181efe9 Use actual asciicast width and height in example player usage 2016-01-11 16:14:46 +01:00
Marcin Kulik
c86efba24c Add asciicast download docs 2016-01-11 15:45:24 +01:00
Marcin Kulik
008545bca8 Revert to direct asciicast JSON URL because Safari is the new IE
Safari fails XHR requests which redirect to other domain (some old CORS
bug they didn't fix for 5 years now)
2016-01-10 19:22:08 +00:00
Marcin Kulik
b8f90166c1 Support downloading asciicast JSON file as "attachment" 2016-01-10 18:42:13 +00:00
Marcin Kulik
e29f755cbc Rails' code reloading is crap ¯\_(ツ)_/¯ 2016-01-10 10:59:22 +00:00
Marcin Kulik
1f85e0cb1c Don't imply autoplay when t option set in embed context 2016-01-07 13:41:25 +00:00
Marcin Kulik
54769d5e4e Update player 2015-12-26 12:56:56 +00:00
Marcin Kulik
e3c04e1461 Play v1 format by default if available 2015-12-22 22:09:20 +00:00
Marcin Kulik
365bf4e37c Use "origin" referrer policy 2015-12-20 15:36:59 +00:00
Miriam Nadler
9a44548d2d Removes gendering of command-line users as men
Not all command-line users are men, so it doesn't make sense to say 'his' here.
2015-12-01 15:15:56 -05:00
Marcin Kulik
466a21a7e8 Fix the size of the embed widget when embedding public recording via private URL 2015-11-20 10:00:41 +00:00
Marcin Kulik
fa12e1fcf2 Support t option in embedded player 2015-11-13 12:01:26 +01:00
Jonathan
b85bb4f6f8 Hyphenation and consistent capitalization 2015-11-07 15:16:09 +01:00
Marcin Kulik
94ff74d09f Distinguish between invalid username and taken username (fixes #199) 2015-11-02 07:52:59 +00:00
Marcin Kulik
fd4b298c46 Remove broken Tumblr share button + pass title to Reddit 2015-10-20 10:22:19 +00:00
Marcin Kulik
96adb6dae6 Use non-tracking social buttons 2015-10-20 12:16:45 +02:00
Marcin Kulik
30bdd93460 Make "asciinema" theme a default one 2015-10-18 17:52:11 +02:00
Marcin Kulik
dbbc31a381 Update "Sharing" doc 2015-10-14 13:01:37 +02:00
Marcin Kulik
81f4d0d363 Include link sharing in share modal 2015-10-14 09:29:57 +00:00
Marcin Kulik
cc13bf755a Add ?t=1:20 param support 2015-10-13 18:38:37 +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
b9574e35c3 Add SETI theme 2015-10-05 18:52:56 +02:00
Marcin Kulik
f99eab08b8 Revert "Make SETI a new default theme"
This reverts commit 531a4f1b44.
2015-10-03 17:57:06 +02:00
Marcin Kulik
531a4f1b44 Make SETI a new default theme 2015-10-03 17:39:26 +02:00
Marcin Kulik
51e14d80a0 Use new ClojureScript player 2015-10-03 17:39:15 +02:00
Marcin Kulik
ba2cfd17d1 Add installation instructions for Debian 2015-09-19 11:07:35 +02:00
Marcin Kulik
b01f6bed22 Add link to asciicast's JSON source file 2015-09-16 22:01:18 +00:00
Marcin Kulik
a87186f41b Fix caching of previews 2015-09-16 10:29:08 +02:00
Marcin Kulik
f5b87a8a84 Don't show timestamp for featured asciicasts on homepage 2015-09-16 10:24:58 +02:00
Marcin Kulik
16a8d94d60 Respond with 400 when invalid URL given to oembed endpoint 2015-09-16 10:04:06 +02:00
John Maguire
55f05d0d29 Fix yaourt install line (cannot be run as root)
Running yaourt as root eventually errors out with "Running makepkg as
root is not allowed as it can cause permanent, catastrophic damage to
your system."
2015-09-07 13:00:50 -04:00
Marcin Kulik
6a7aaba11a Describe interactive/login shell situation 2015-08-29 19:22:03 +00:00
Marcin Kulik
ecc9d098d5 Fix asset paths for screenshot generation 2015-08-26 19:32:58 +00:00
Marcin Kulik
d4fa39be71 Fix markup of example embed page 2015-08-15 13:50:27 +00:00
Marcin Kulik
b02b535293 Fix Nix installation instructions 2015-08-07 11:09:17 +02:00
Marcin Kulik
ffe31c5258 Show recent featured asciicasts on homepage 2015-07-20 12:27:30 +00:00
Marcin Kulik
2e3fd29287 "Recency" is a weird word... 2015-07-20 12:05:38 +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
646beacc03 Make Gentoo installation snippet a oneliner 2015-07-01 17:54:36 +00:00
Marcin Kulik
cf7bddd7c9 We also have pre-built binaries for FreeBSD 2015-06-28 21:51:44 +02:00
Marcin Kulik
44564db949 Document pkg installation method on FreeBSD 2015-06-25 15:34:13 +02:00
Marcin Kulik
d7010cf1bb Simplify Gentoo installation instructions as the overlay is supported by layman now 2015-06-25 15:26:51 +02:00
Marcin Kulik
87dfbca952 Describe password recording situation in FAQ 2015-06-25 08:41:29 +02:00
Marcin Kulik
0d83f36f47 Add FreeBSD installation instructions 2015-06-24 20:34:26 +00:00
Marcin Kulik
749d40f0a2 Make MacPorts instructions a one-liner 2015-06-24 20:30:32 +00:00
Marcin Kulik
44eef73b99 Remove unused partials 2015-06-24 19:16:27 +00:00
Marcin Kulik
de83c3de98 Switch quick installation snippet fron curl/sh to brew install 2015-06-24 17:46:41 +00:00
Marcin Kulik
272db9b8cb Better wording 2015-06-24 17:35:06 +00:00
Marcin Kulik
d8d27955eb Update installation docs 2015-06-23 23:41:07 +02:00
Marcin Kulik
3050b06e33 Add Nix installation method 2015-06-23 09:50:03 +02:00
Marcin Kulik
fd7ec57d7a Update Gentoo installation instructions (thanks @Dr-Terrible) 2015-06-22 21:11:58 +02:00
Marcin Kulik
654199035e Add MacPorts installation info (thanks @larryv) 2015-06-22 21:04:37 +02:00
Marcin Kulik
9132d323ad Add info on pronunciation and etymology of the project name 2015-06-22 08:19:57 +00:00
Marcin Kulik
13573cbab4 Make Film#frames lazy to reduce memory usage when processing asciicast 2015-06-20 14:28:01 +00:00
Marcin Kulik
6e67258990 raise FormatError both when Oj raises and when it returns nil 2015-06-17 14:20:54 +00:00
Marcin Kulik
7254b1d099 Fix oEmbed endpoint when only one of maxwidth/maxheight given 2015-06-16 18:53:40 +00:00
Marcin Kulik
939137cff6 Don't rely on external resources (gravatar) in integration tests 2015-05-25 19:10:08 +00:00
Marcin Kulik
2857ba303e Add docs on config file 2015-05-25 18:30:39 +00:00
Marcin Kulik
7683212944 Update usage doc wrt v1.1 2015-05-25 18:23:34 +00:00
Marcin Kulik
6530152356 Don't accept asciicasts of 0 width or 0 height 2015-05-18 16:06:14 +00:00
Marcin Kulik
66377b8d7d Make sure player initialization code is available in embed and screenshot bundles 2015-05-16 09:50:59 +00:00
Marcin Kulik
a76d99b630 Extend "processing" message 2015-05-16 09:46:14 +00:00
Marcin Kulik
680d4bf96c Make player creation code more intention revealing 2015-05-16 09:39:16 +00:00
Marcin Kulik
c070430135 Move JS code to .js file 2015-05-16 09:31:03 +00:00
Marcin Kulik
49cfe584ba Use policy scope to decide which asciicasts should be listed 2015-05-15 19:13:37 +00:00
Marcin Kulik
6f0d55b22a Mark private and featured asciicasts 2015-05-15 17:36:12 +00:00
Marcin Kulik
8bb68ad53e Serve original asciicast files from /a/:id.json 2015-05-13 13:46:25 +00:00
Marcin Kulik
86c25b117d Move private API endpoint to less representative path 2015-05-13 13:10:03 +00:00
Marcin Kulik
1cb47a4e16 It's lowercase "asciinema" 2015-05-13 10:49:36 +00:00
Marcin Kulik
9da6892a9c Fix "processing" page for private asciicasts 2015-05-13 10:43:49 +00:00
Marcin Kulik
09a4364ce8 There's no real need for Backbone here 2015-05-13 10:39:03 +00:00
Marcin Kulik
e9c8f1a18f Tweak user profile message 2015-05-11 13:43:03 +00:00
Marcin Kulik
b80d5fa6c4 Link to player repo from "how it works" page 2015-05-10 19:35:04 +00:00
Marcin Kulik
e7e71644d4 Make it clear listed asciicasts are public 2015-05-10 19:15:43 +00:00
Marcin Kulik
26be8c5227 Display "untitled" for untitled private asciicasts 2015-05-10 17:03:36 +00:00
Marcin Kulik
7156130d90 Allow everyone to have private asciicasts 2015-05-10 16:40:39 +00:00
Marcin Kulik
bffc76faa9 Use "null" user in policies 2015-05-08 10:19:52 +00:00
Marcin Kulik
2d4a0fbaa1 Log more details about terminal process death 2015-05-08 10:14:19 +00:00
Marcin Kulik
3fe980f209 Validate max values of terminal width and height 2015-05-08 09:52:42 +00:00
Marcin Kulik
c671a9ca8d Add ability to change default asciicast visibility (public/private) 2015-04-28 13:11:19 +00:00
Marcin Kulik
453d5c75a8 Full name doesn't have to be real 2015-04-28 11:18:11 +00:00
Marcin Kulik
69eb52f061 Allow supporters to change asciicast visibility 2015-04-28 11:00:23 +00:00
Marcin Kulik
bd4240587c Allow admin to change asciicast's visibility 2015-04-27 13:10:41 +00:00
Marcin Kulik
84acecfdc0 Use to_param for tmp title when no real title is set 2015-04-27 11:21:36 +00:00
Marcin Kulik
3772da7f63 Ask browsers to not send referrer for external links 2015-04-26 15:55:38 +00:00
Marcin Kulik
dd23c87e09 Fix sending of size message from an iframe 2015-04-26 15:55:33 +00:00
Marcin Kulik
ae95697a9a Add meta tags for hiding referrer on private asciicast pages 2015-04-26 15:09:30 +00:00
Marcin Kulik
3f32ee0ef6 No "self" needed here 2015-04-26 13:54:23 +00:00
Marcin Kulik
2c7d549778 Require private asciicasts to be requested via secret token 2015-04-26 13:30:42 +00:00
Marcin Kulik
6aeb8810ad Refactor AsciicastPolicy 2015-04-25 18:47:52 +00:00
Marcin Kulik
6bc2fd1048 Pad secret token correctly
After converting base 16 (hex) string of length 16 to integer and then to
base 36 we can end up with a shorter string due to implicit zeroes on
leading positions in the intermediate integer. This ensures
"00000000000000000000000000000000", "ffffffffffffffffffffffffffffffff"
and everything in between result in a string of length 25 after converting to
base 36.
2015-04-25 10:15:29 +00:00
Marcin Kulik
2c0bfee0cd Filter out private asciicasts on homepage 2015-04-25 10:15:28 +00:00
Marcin Kulik
5dbe2c84c0 UI for toggling asciicasts private/public 2015-04-25 10:15:28 +00:00
Marcin Kulik
a30ee0d082 Allow making asciicasts "private" 2015-04-25 10:15:28 +00:00
Marcin Kulik
ade94029d6 Fail fast when invalid order given 2015-04-24 11:40:28 +00:00
Marcin Kulik
318654ef21 Use new player and its new API 2015-04-22 18:55:53 +00:00