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
d9a754685a
Install libtsm from "libtsm-3" tag
2015-05-15 18:09:02 +02:00
Marcin Kulik
6d466a51e5
Merge pull request #191 from fanatic/master
...
Update terminal.c to work with latest libtsm
2015-05-15 18:02:53 +02:00
Jason Parrott
0f91a03f90
Update terminal.c to work with latest libtsm
2015-05-14 15:02:25 -04: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
ef7b108acd
Remove unused gems
2015-05-13 10:56:54 +00:00
Marcin Kulik
af4ef06e56
Remove obsolete JS tests
2015-05-13 10:51:06 +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
e1f54f697e
Fix specs
2015-05-10 19:24:46 +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
740cb439af
Remove example doc
2015-05-10 16:52:40 +00:00
Marcin Kulik
5efb3d5787
Make all asciicasts private by default
2015-05-10 16:46:25 +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
946904ddfd
Don't test on rbx nor jruby
2015-04-27 13:22:41 +00:00
Marcin Kulik
c6a0ae187b
Merge branch 'private-asciicasts'
2015-04-27 15:11:38 +02: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
7bba6e66dd
Make all assets on S3 private by default
2015-04-27 08:08:46 +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
c45ee93370
More high level specs for private asciicasts
2015-04-26 14:16:42 +00:00
Marcin Kulik
833c68ad69
Ensure private asciicast doesn't show up on public lists
2015-04-26 13:55:24 +00:00
Marcin Kulik
510f167680
Test for Asciicast.generate_secret_token
2015-04-26 13:55:15 +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
7f90d9e4dc
Use latest player
2015-04-23 17:40:07 +00:00
Marcin Kulik
318654ef21
Use new player and its new API
2015-04-22 18:55:53 +00:00
Marcin Kulik
c34af6de4c
Fix borders, paddings and margins on asciicast page
2015-04-22 15:49:45 +00:00