Commit Graph

170 Commits

Author SHA1 Message Date
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
Marcin Kulik
c85204bf6a Remove random descriptions 2012-04-02 19:02:29 +02:00
Marcin Kulik
5ef241afff More info in preview 2012-03-11 16:06:01 +01:00
Marcin Kulik
78488de405 Browse page header 2012-03-11 15:57:37 +01:00
Marcin Kulik
0ea7e6dbb0 Process descriptions with markdown 2012-03-11 14:38:37 +01:00
Marcin Kulik
306c1619ab Pr0 play button 2012-03-11 10:30:21 +01:00
Marcin Kulik
81b06178fd Display asciicast example on homepage 2012-03-10 17:57:35 +01:00
Marcin Kulik
97fe0cb3ff Move player to partial 2012-03-10 17:45:06 +01:00
Marcin Kulik
6037903f1c Use twitter bootstrap 2012-03-10 14:55:37 +01:00
Marcin Kulik
35af4cf9e7 Home and installation pages 2012-03-04 22:44:04 +01:00
Marcin Kulik
c4f40322ed Merge branch 'master' into comments
* master:
  Display asciicast author and creation time
  Claiming asciicasts
  User#add_user_token
  Asciicast.assign_user
  User tokens for assigning asciicasts to users
  Better styles + pagination

Conflicts:
	app/models/asciicast.rb
	db/schema.rb
	spec/factories/asciicasts.rb
	spec/factories/users.rb
2012-03-04 21:14:35 +01:00
Marcin Kulik
66db199aab Display asciicast author and creation time 2012-03-04 20:59:53 +01:00
Micha Wrobel
a2d1b1a15f Simplify comments_index.js 2012-03-04 16:13:01 +01:00
Marcin Kulik
b7807c3f0d Better styles + pagination 2012-03-04 15:18:09 +01:00
Micha Wrobel
712410a3e7 Remove not used leavings 2012-03-04 13:51:53 +01:00
Micha Wrobel
e7f5f57424 Some refactoring, and make possible to remove own comments 2012-03-04 13:50:56 +01:00
Micha Wrobel
5201b3f768 Initial implementation of comments - in progress 2012-03-04 13:50:56 +01:00
Marcin Kulik
b3e8fbb7df Load asciicast data via ajax 2012-03-03 18:38:11 +01:00
Marcin Kulik
145e66ca18 Refactoring time!! 2012-02-04 20:09:44 +01:00
Marcin Kulik
00f2ee5a41 Display asciicast title in heading 2012-01-15 15:11:37 +01:00
Marcin Kulik
140cc1c0fc Asciicasts#show (available at /:id) 2011-11-27 13:54:10 +01:00