Commit Graph

240 Commits

Author SHA1 Message Date
Marcin Kulik
44a7b0788e Convert asciicasts#_preview to slim 2013-08-14 19:38:01 +02:00
Marcin Kulik
abe0b77bcd Convert asciicast#index to slim 2013-08-14 18:16:03 +02:00
Marcin Kulik
562cd0ef0b Add "Show more" link on the homepage 2013-08-14 18:11:46 +02:00
Marcin Kulik
5c141003a1 Use "asciicast" over "Asciicast" in UI 2013-08-14 17:32:03 +02:00
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
86a4662fe5 Abstract stdout_data and stdout_timing as a single value object 2013-08-06 00:37:34 +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
49be5d6fe2 Convert layout to slim 2013-06-10 17:15:52 +02:00
Marcin Kulik
87128c0873 Remove commented out code 2013-05-28 11:13:01 +02:00
Marcin Kulik
3e2bc439a0 Make sure docs pages are fine 2013-05-28 11:13:01 +02:00
Marcin Kulik
95a0e44798 Use http url for avatar in footer 2013-05-28 11:12:59 +02:00
Mike Fiedler
fee3e947bd Fixed upgrade command
`brew update foo` => This command updates brew itself, and does not take formula names.

Hence: `brew upgrade asciiio` => Error: asciiio-HEAD already installed
2013-05-20 22:14:15 -03: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
a1fad7ccb7 Decorate User#nickname 2012-12-08 20:51:20 +01:00
Marcin Kulik
80619928a8 Decorate current_user 2012-12-08 20:51:19 +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
Justin Hileman
bc052af53a Add a letter :) 2012-11-26 17:34:02 -08: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
a344670d50 Clean up condition 2012-11-19 22:31:24 +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
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
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
d0aea034f7 Change URL to recorder script on About page 2012-10-13 01:25:23 +02:00
Marcin Kulik
c3d45ba441 Tell about edit/delete of asciicast in online docs 2012-10-13 01:13:16 +02:00
Marcin Kulik
0ff6721530 Update online docs 2012-10-13 00:28:13 +02:00
Marcin Kulik
07e6c6d8a1 Fix link to sickill's profile (closes #15) 2012-10-11 20:20:18 +02:00
Marcin Kulik
afa03974a2 Calculate relative time in JS (b/c of caching) 2012-08-25 14:24:53 +02:00
Marcin Kulik
83c3b12ee0 Turn off airbrake_javascript_notifier 2012-08-25 12:36:58 +02:00
Marcin Kulik
5812b10709 Cache static pages 2012-08-22 20:37:47 +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
8df492b2b4 Cleanup in assets 2012-07-30 23:45:18 +02:00
Marcin Kulik
9d15c931b4 Directory structure reorganization 2012-07-30 23:39:21 +02:00
Marcin Kulik
59567921db Working Web Worker version :) 2012-07-30 23:30:17 +02:00
Marcin Kulik
095e262988 Fix record link on ~user page 2012-07-28 21:27:17 +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
10f3000860 Put "About" into footer 2012-07-28 13:57:50 +02:00
Marcin Kulik
264b296e0b /connect improvements 2012-07-26 23:22:34 +02:00
Marcin Kulik
06da0da8cb Nicely looking auth buttons 2012-07-26 23:15:20 +02:00
Marcin Kulik
3274bdf7d5 Use h1 header on error page 2012-07-25 23:02:08 +02:00
Marcin Kulik
db8319e2b8 Fix typo on homepage 2012-07-25 23:01:52 +02:00
Marcin Kulik
fcb95df6c3 Remove obsolete view 2012-07-25 23:01:33 +02:00
Marcin Kulik
333e063161 Pimp My Docs 2012-07-25 23:00:31 +02:00
Marcin Kulik
da53e64585 Get id of asciicast displayed on homepage from CFG 2012-07-25 22:59:18 +02:00
Marcin Kulik
785273707b Proper design, finally! 2012-07-25 20:24:20 +02:00
Marcin Kulik
02960a0cdc Properly indent whole multiline comment in email notification 2012-06-10 15:16:12 +02:00
Marcin Kulik
38faf7e437 Use heroku style config (based on ENV) 2012-06-09 16:11:29 +02:00
Marcin Kulik
6b53a25f0a Allow running in production mode on dev machine 2012-06-07 23:58:56 +02:00
Marcin Kulik
ba97246db8 Time compression 2012-05-04 21:49:08 +02:00
Marcin Kulik
6fda6e4913 WebWorker via Sprockets 2012-04-15 01:11:26 +02:00
Marcin Kulik
3a7f462b13 Send email to asciicast author when someone comments 2012-04-12 15:49:20 +02:00
Marcin Kulik
8398750aab Specs for StaticPagesController 2012-04-09 23:50:28 +02:00
Marcin Kulik
648cf1140b Move all 404 handling to application_controller 2012-04-09 22:56:26 +02:00
Marcin Kulik
45dd308186 Display comments count 2012-04-09 16:46:08 +02:00
Marcin Kulik
4a6186f523 Account settings 2012-04-09 15:47:33 +02:00
Shannen Saez
202c87178f Removed favicon links because they don't exist. 2012-04-07 18:20:21 +10: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
ef86decdc0 More info in "What?" section 2012-04-03 12:13:05 +02:00
Marcin Kulik
88724d0e31 Useful links in heading 2012-04-03 11:58:59 +02:00
Marcin Kulik
0aba1ba99a Prefer github login over twitter 2012-04-02 19:15:13 +02:00
Marcin Kulik
6c73f63037 Wrap featured asciicast in dedicated div 2012-04-02 19:11:51 +02:00
Marcin Kulik
c85204bf6a Remove random descriptions 2012-04-02 19:02:29 +02:00
Marcin Kulik
6b6d7a0c0c Mention ~sickill profile in "Use it" 2012-04-02 18:53:04 +02:00
Marcin Kulik
e192f1d8cc Homepage improvements 2012-04-02 18:46:47 +02:00
Marcin Kulik
2369dd38c6 Improved header on ~profile page 2012-03-11 17:02:52 +01: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
cb0a605bfe Homepage improvements 2012-03-11 15:38:12 +01:00
Marcin Kulik
305b948576 Updated installation instructions 2012-03-11 14:53:22 +01:00
Marcin Kulik
0ea7e6dbb0 Process descriptions with markdown 2012-03-11 14:38:37 +01:00
Marcin Kulik
66b153c2d2 Installation instruction 2012-03-11 12:40:32 +01:00
Marcin Kulik
306c1619ab Pr0 play button 2012-03-11 10:30:21 +01:00
Marcin Kulik
61b3890a3d Merge remote-tracking branch 'origin/unique-nickname'
* origin/unique-nickname:
  Keep sensitive signup data in session
  Add users factory back
  rm users factories
  Add view spec for users#new
  Add specs to user#create
  Validate nickname uniquness

Conflicts:
	Gemfile
	Gemfile.lock
2012-03-10 18:30:33 +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
Micha Wrobel
d6273d4259 Keep sensitive signup data in session 2012-03-10 14:58:10 +01:00
Marcin Kulik
6037903f1c Use twitter bootstrap 2012-03-10 14:55:37 +01:00
Micha Wrobel
fc53b71ee2 Validate nickname uniquness 2012-03-06 22:39:16 +01:00
Marcin Kulik
f914a97308 Airbrake/Errbit 2012-03-04 23:49:13 +01:00
Marcin Kulik
c3326e4b16 Browse path 2012-03-04 23:44:36 +01:00
Marcin Kulik
51dfa8474f Profile paths: ~sickill 2012-03-04 23:07:45 +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
Marcin Kulik
9e59b19c16 Claiming asciicasts 2012-03-04 20:30:26 +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
d296d69aa3 Add information about current_user 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
58092ae50e Let's have separate page for login buttons
This way we can link to login page from comments section
if user is not authenticated
2012-03-04 11:33:11 +01:00
Marcin Kulik
285f9934ab Google analytics 2012-03-04 00:23:36 +01:00
Marcin Kulik
b3e8fbb7df Load asciicast data via ajax 2012-03-03 18:38:11 +01:00
Marcin Kulik
9480d9c1bb Improve top nav 2012-03-03 08:53:14 +01:00
Micha Wrobel
be24115519 Extract paths to helper methods 2012-02-26 16:40:30 +01:00
Micha Wrobel
bf6b74289b Add omniauth authentication: github and twitter 2012-02-25 23:43:17 +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
Marcin Kulik
4a1d9406e7 Simple layout 2011-11-23 22:29:21 +01:00
Marcin Kulik
2abdf89511 404 handling 2011-11-23 21:47:09 +01:00
Marcin Kulik
89a29aadd2 Fresh Rails 3.1 app with DM 1.2 and RSpec 2.7 2011-11-21 22:36:42 +01:00
Marcin Kulik
b7535ac913 Remove old sinatra app 2011-11-21 22:05:03 +01:00
Marcin Kulik
12cdd612d7 Use iteration instead of recursion when processing single frame 2011-03-09 20:19:09 +01:00
Marcin Kulik
4c6a5bd129 Initial commit 2011-03-09 19:07:49 +01:00