Commit Graph

196 Commits

Author SHA1 Message Date
Marcin Kulik
7c379ae91e Remove old doc pages 2017-06-02 15:40:24 +02:00
Marcin Kulik
0f8cdac4ba Remove old PNG generation code 2017-04-19 23:59:43 +02:00
Marcin Kulik
a02e3e5b25 Don't force generate PNG in oembed endpoint 2017-04-11 10:23:46 +00:00
Marcin Kulik
f7c9526127 Make login links side-effect free 2017-02-21 09:10:37 +00:00
Marcin Kulik
56cea2fb39 Serve uploads from outside of public dir 2016-04-10 12:29:16 +00:00
Marcin Kulik
a04d788e63 Allow specifying warden strategies per controller 2016-02-06 15:43:39 +01:00
Marcin Kulik
b8f90166c1 Support downloading asciicast JSON file as "attachment" 2016-01-10 18:42:13 +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
e3c04e1461 Play v1 format by default if available 2015-12-22 22:09:20 +00:00
Marcin Kulik
94ff74d09f Distinguish between invalid username and taken username (fixes #199) 2015-11-02 07:52:59 +00:00
Marcin Kulik
9881c5df6c Extract profile route helpers to a module 2015-10-08 12:43:10 +00:00
Marcin Kulik
16a8d94d60 Respond with 400 when invalid URL given to oembed endpoint 2015-09-16 10:04:06 +02:00
Marcin Kulik
7254b1d099 Fix oEmbed endpoint when only one of maxwidth/maxheight given 2015-06-16 18:53:40 +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
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
c671a9ca8d Add ability to change default asciicast visibility (public/private) 2015-04-28 13:11:19 +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
c0b000b4df Always require authentication for asciicast upload 2015-04-04 17:48:01 +00:00
Marcin Kulik
448f0eb899 Use warden scopes 2015-04-04 17:46:55 +00:00
Marcin Kulik
e05fbd574f Add ability to revoke recorder tokens 2015-04-03 17:07:38 +00:00
Marcin Kulik
47578b63b1 Refactor handling of auth token for pre 0.9.9 clients 2015-04-03 16:48:37 +00:00
Marcin Kulik
7765c157c3 Use pre-redirect URL for thumbnail 2015-03-30 16:26:22 +00:00
Marcin Kulik
04004c490d Ensure thumbnail image size is known before generating oEmbed response 2015-03-30 10:33:45 +00:00
Marcin Kulik
871745cc6c "Generator" is a better name here 2015-03-30 10:27:59 +00:00
Marcin Kulik
08749dd32d Move html rendering to image updater 2015-03-30 10:23:58 +00:00
Marcin Kulik
7d199ad416 Make routes AsciicastPagePresenter's dependency 2015-03-30 10:02:21 +00:00
Marcin Kulik
0930e5fa23 Add oEmbed endpoint 2015-03-29 18:19:18 +00:00
Marcin Kulik
2852248989 Add PNG generation (https://asciinema.org/a/17654.png) 2015-03-27 11:42:14 +00:00
Marcin Kulik
ca09a61b52 Handle invalid asciicast upload 2015-03-23 17:40:11 +01:00
Marcin Kulik
8264105ca3 Return meaningful error message for 422 2015-03-02 19:41:25 +00:00
Marcin Kulik
531a2de60f Handle all asciicast attribute building outside of the controller 2015-02-27 14:40:12 +00:00
Marcin Kulik
c6cc9fbdbc Accept version 1 asciicasts 2015-02-27 14:01:12 +00:00
Marcin Kulik
78a2ba9ea9 Lookup asciicast creator on controller level 2015-02-26 16:17:11 +00:00
Marcin Kulik
527abc03b5 Allow embedding the same asciicast multiple times on a single page 2014-12-23 17:27:33 +00:00
Marcin Kulik
a7aab637fe Always use lowercase "asciinema". Also fix git repositories' URLs 2014-12-17 15:46:03 +00:00
Marcin Kulik
c9ccc1b066 Add ability to set custom thumbnail frame time 2014-11-27 12:30:08 +00:00
Marcin Kulik
a714f19176 Accept (temporary_)username as http basic auth username 2014-10-25 20:53:12 +02:00
Marcin Kulik
e9f4ed1f61 Accept api token as http basic auth password 2014-10-25 20:53:12 +02:00
Marcin Kulik
f461f24326 No need for before_action 2014-10-25 20:53:12 +02:00
Marcin Kulik
427c19638c Prompt for username after login 2014-10-17 20:24:23 +02:00
Marcin Kulik
4909d83f9f Display email in session info area when user has no username 2014-10-17 20:24:23 +02:00
Marcin Kulik
feb9703620 Remove old authentication code (browser-id, github, twitter) 2014-10-17 20:24:23 +02:00
Marcin Kulik
7397e14a57 Remove old user sign up code 2014-10-17 20:24:23 +02:00
Marcin Kulik
0cd4559f5a Log in by email without Persona 2014-10-17 20:24:22 +02:00
Marcin Kulik
bf54046836 Link to anonymous users profiles 2014-10-05 19:53:00 +02:00
Marcin Kulik
e06e72676e Drop "dummy" from users, replace it with temporary_username 2014-10-05 17:47:42 +02:00
Marcin Kulik
402529c60e Fix 404 handling on docs pages 2014-07-05 20:16:57 +02:00
Marcin Kulik
560e11f24e Introduce admin 2014-07-05 14:59:42 +02:00