Commit Graph

1001 Commits

Author SHA1 Message Date
Marcin Kulik
f9da63be3b Make docs templates the real markdown files 2015-03-31 13:07:22 +02:00
Marcin Kulik
689255edf1 Add Twitter card meta tags 2015-03-30 20:08:15 +00:00
Marcin Kulik
537846e372 Use text-only description in Open Graph tags 2015-03-30 17:54:43 +00:00
Marcin Kulik
724b79c371 Refactor image size part of screenshot generator 2015-03-30 16:41:45 +00:00
Marcin Kulik
7765c157c3 Use pre-redirect URL for thumbnail 2015-03-30 16:26:22 +00:00
Marcin Kulik
77ea5809f5 Add Open Graph meta tags 2015-03-30 16:23:58 +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
86559fad20 Add oEmbed discovery tags to asciicast page 2015-03-29 18:48:35 +00:00
Marcin Kulik
0930e5fa23 Add oEmbed endpoint 2015-03-29 18:19:18 +00:00
Marcin Kulik
aa923c734a Use Google Analytics script only in production 2015-03-29 18:07:13 +00:00
Marcin Kulik
b619302e3e Refactor PNG generation 2015-03-29 14:15:05 +00:00
Marcin Kulik
fc873a8371 Fix alt attribute of embed screenshot image 2015-03-28 17:04:33 +00:00
Marcin Kulik
43b6cb5b51 Add screenshot width attr only when it's available 2015-03-27 17:42:25 +00:00
Marcin Kulik
7a321bf2cc Use "display" width in HTML image links 2015-03-27 17:33:50 +00:00
Marcin Kulik
bb622d670e Enable embedding with image links 2015-03-27 17:10:03 +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
2efaa643b2 Use new logo in header 2015-03-13 16:15:34 +01:00
Marcin Kulik
5826490f0b Address asciicast editing in FAQ 2015-03-12 17:19:27 +01:00
Marcin Kulik
13c114b8fa Update usage docs 2015-03-12 17:06:00 +01:00
Marcin Kulik
3078b85d71 New concept! Foreign key constraints. On database! 2015-03-11 10:55:54 +01:00
Marcin Kulik
da16853121 Be more clear about private instance in FAQ 2015-03-09 10:27:28 +01:00
Marcin Kulik
ef5ab0dcf1 Update paths to reflect new repo location 2015-03-06 10:37:43 +00:00
muescha
4f389be88f add link to custom codebase 2015-03-06 00:12:18 +01:00
Marcin Kulik
8264105ca3 Return meaningful error message for 422 2015-03-02 19:41:25 +00:00
Marcin Kulik
f45ff47737 Read asciicast directly from URL 2015-03-02 10:53:56 +00:00
Marcin Kulik
dad5f40c17 Expose stdout of old and new format asciicasts via Asciicast#stdout 2015-02-28 17:39:31 +00:00
Marcin Kulik
47c222c945 Refuse to accept json file with version != 1 2015-02-27 15:44:15 +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
3809191a7c Remove duplicated association defs 2015-02-26 13:11:22 +00:00
Marcin Kulik
2c0397dd97 "forEach" is simpler than old school "for" 2015-02-18 12:20:20 +00:00
Marcin Kulik
2a8795f40a Simplify query params formatting 2015-02-18 11:28:15 +00:00
Marcin Kulik
b82882a5f1 Improve IE compatibility 2015-02-18 09:58:23 +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
bf01b7f3a3 Add homebrew installation info 2014-12-19 11:06:45 +00:00
Marcin Kulik
9cc64e3fd9 Fix "easy install" command - handle redirects 2014-12-17 16:20:46 +00:00
Marcin Kulik
dfaea4594d Use <kbd> for key combo 2014-12-17 15:53:27 +00:00
Marcin Kulik
5480879f1e Update git URLs on "Contributing" page 2014-12-17 15:50:31 +00:00
Marcin Kulik
a7aab637fe Always use lowercase "asciinema". Also fix git repositories' URLs 2014-12-17 15:46:03 +00:00
Marcin Kulik
b1f12711bf Add better "Usage" doc page 2014-12-17 15:10:41 +00:00
Marcin Kulik
8dc6db023e Update installation instructions 2014-12-16 20:20:47 +00:00
Marcin Kulik
03f9d1b1d3 Don't use command as title when command == shell 2014-12-15 16:33:17 +00:00
Marcin Kulik
e75a39a48f Revert "Support ind.ie"
This reverts commit cc8e220bb5.
2014-12-13 19:11:24 +01:00
Marcin Kulik
976e20a2a6 Use new logo for favicon 2014-12-08 23:03:11 +01:00
Marcin Kulik
cc8e220bb5 Support ind.ie 2014-12-05 23:44:04 +00:00
Marcin Kulik
9d6a01fa41 Differentiate avatar between unconfirmed users with the same tmp username 2014-11-29 12:26:11 +00:00
Marcin Kulik
45d1d6c18b Use retro gravatars for default avatars 2014-11-29 12:17:03 +00:00
Marcin Kulik
1c3597fac0 Use <kbd> for displaying key sequences 2014-11-29 12:40:41 +01:00
Marcin Kulik
c9ccc1b066 Add ability to set custom thumbnail frame time 2014-11-27 12:30:08 +00:00
Marcin Kulik
8d496bd418 Make snapshot generation aware of custom snapshot time on asciicast 2014-11-27 11:48:41 +00:00
Marcin Kulik
1e9423bc89 Fix flash padding 2014-11-15 18:31:45 +00:00
Marcin Kulik
3207c4a65f Update OS detection for 0.9.9 client's User-Agent format 2014-11-05 16:27:05 +00:00
Larry Gilbert
df789b014e Change "Gittip" -> "Gratipay" and update widget accordingly 2014-10-29 12:04:13 -07: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
c06b4b3871 Make top navbar fixed 2014-10-18 11:05:04 +02:00
Marcin Kulik
d8845cb80e Make login error message more clear 2014-10-18 10:16:41 +02:00
Marcin Kulik
427c19638c Prompt for username after login 2014-10-17 20:24:23 +02:00
Marcin Kulik
5cb64f0fda Prefer Menlo to Monaco on Mac, make <pre> border lighter 2014-10-17 20:24:23 +02:00
Marcin Kulik
504db3f605 Improve copy 2014-10-17 20:24:23 +02:00
Marcin Kulik
70e20c84ef Improve profile page 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
53c2598c48 Only display flash notifications for :alert and :notice keys 2014-10-17 20:24:09 +02:00
Marcin Kulik
bf54046836 Link to anonymous users profiles 2014-10-05 19:53:00 +02:00
Marcin Kulik
9064a37e24 Validate email format 2014-10-05 18:26:30 +02:00
Marcin Kulik
ca156564f5 Don't use "dummy" anywhere 2014-10-05 18:25:49 +02:00
Marcin Kulik
c4a4961553 Introduce ExpiringToken, a base for future authentication 2014-10-05 17:58:05 +02:00
Marcin Kulik
e06e72676e Drop "dummy" from users, replace it with temporary_username 2014-10-05 17:47:42 +02:00
Marcin Kulik
408042ca29 Don't use redundant "-k" option for gzip/bzip2 2014-09-23 19:26:12 +02:00
Marcin Kulik
956975db38 Fix User.for_email to never return dummy users without email 2014-09-23 19:05:14 +02:00
Marcin Kulik
0beacb326e Support gzip compressed data files (to be used by new version of cli) 2014-09-15 20:34:35 +02:00
Marcin Kulik
130948ae3f Upgrate to Rails 4.1.5 2014-08-30 20:10:49 +02:00
Marcin Kulik
1ca942bd66 Update credits list 2014-08-27 21:49:36 +02:00
Marcin Kulik
0ab620b5bf Stop advertising FreeBSD compatibility 2014-08-09 15:41:25 +02:00
Marcin Kulik
884e91354a Update embedding docs 2014-08-09 13:40:44 +02:00
Marcin Kulik
26cb260b41 Add "loop" option for embedded player 2014-08-09 13:10:07 +02:00
Marcin Kulik
a06d1b716a Remove references to js worker 2014-08-09 12:55:57 +02:00
Marcin Kulik
0714453ff9 Keep "Powerline symbols" font definition in "player" bundle 2014-07-30 09:43:18 +02:00
Richard Gray
62f09a63fb Enable Powerline symbols in embedded player.
Include the font-face CSS at-rule in embed.css to enable use of
powerline symbols in the embedded player.
2014-07-29 20:45:22 +01:00
Marcin Kulik
402529c60e Fix 404 handling on docs pages 2014-07-05 20:16:57 +02:00
Marcin Kulik
7921f5e729 Make "Browse all" links buttons 2014-07-05 19:37:49 +02:00
Marcin Kulik
ba387bbb20 Display 6 featured and 6 latest asciicasts on landing page 2014-07-05 19:37:21 +02:00
Marcin Kulik
560e11f24e Introduce admin 2014-07-05 14:59:42 +02:00
Marcin Kulik
530352bbb1 Make forms responsive 2014-07-02 19:05:26 +02:00
Marcin Kulik
cc65ceb6e3 Improve backgrounds here and there 2014-07-02 18:37:40 +02:00
Marcin Kulik
1ea79309ff Don't use any padding in thumbnails 2014-07-02 17:51:15 +02:00
Marcin Kulik
f73fe27936 Fix theme changing forms 2014-07-02 17:12:54 +02:00
Marcin Kulik
0e7ac4d56a Improvements to the layout of the landing page 2014-07-01 23:08:31 +02:00
Marcin Kulik
6cb6f277fa Support selecting a theme when embedding 2014-07-01 22:44:43 +02:00
Marcin Kulik
56b48e98b3 Don't include Bootstrap in embedded widget styles 2014-07-01 22:40:27 +02:00
Marcin Kulik
1633c94b91 Ensure correct theme is used for displaying embedded asciicast 2014-07-01 22:35:47 +02:00
Marcin Kulik
6bb5f39f8b Add theme changing for whole user profile and single asciicast 2014-07-01 21:33:50 +02:00
Marcin Kulik
fe1af12fe9 Add Solarized Light theme 2014-06-30 21:11:42 +02:00
Marcin Kulik
14648f11b7 Add ability to override theme via url param 2014-06-30 19:30:18 +02:00
Marcin Kulik
78f31ae3de Powerline symbols! 2014-06-25 17:57:48 +02:00
Marcin Kulik
dec2765522 Fix pagination on profile page 2014-06-25 17:35:13 +02:00
Marcin Kulik
55d1cea523 Don't underline preview lines on hover 2014-06-25 16:40:02 +02:00
Marcin Kulik
5a2b6c87b7 Allow iframe to enter fullscreen mode 2014-06-24 22:56:37 +02:00
Marcin Kulik
b27b6c7ae3 Improve sizing of homepage asciicast 2014-06-24 21:09:57 +02:00
Marcin Kulik
b6a23222d7 Integrate new React.js-based player 2014-06-24 20:49:26 +02:00
Marcin Kulik
6ad2a40ab8 Fix opening of currently processed asciicasts 2014-06-22 11:44:40 +02:00
Marcin Kulik
c7e9974f47 Update a separate instance of current user 2014-04-12 12:39:59 +02:00
Marcin Kulik
64c471c2ae Display errors in user form 2014-04-12 12:16:58 +02:00
Marcin Kulik
ace357187c Well, 2 letter usernames are fine too 2014-04-10 22:22:33 +02:00
Marcin Kulik
a6bb7bf5ba Allow capital letters in usernames 2014-04-10 22:14:20 +02:00
Marcin Kulik
698767ad82 Validate username format 2014-04-10 22:03:21 +02:00
Marcin Kulik
992d691b2a Invalidate thumbnail cache when user changes username 2014-04-10 21:44:47 +02:00
Marcin Kulik
b526d575a0 Remove Courier New from terminal/thumbnail font list 2014-03-21 23:12:29 +01:00
Marcin Kulik
82c6c034c5 Improve test coverage of UsersController 2014-03-16 18:34:37 +01:00
Marcin Kulik
56b99f11e3 Clean up test auth helpers 2014-03-16 16:03:33 +01:00
Marcin Kulik
72248d7b83 Add a (pending) test for X-Frame-Options removal 2014-03-16 11:34:25 +01:00
Marcin Kulik
ad9fb63215 Prevent double escaping of page title - content_for already escapes once 2014-03-12 18:00:37 +01:00
Marcin Kulik
e65158d53f Add sponsor information. Thx @brightbox! 2014-03-12 17:46:46 +01:00
Marcin Kulik
06c19adaab Move emedded player related endpoints to API 2014-03-05 10:05:45 +01:00
Marcin Kulik
933c5d9801 Namespace the existing API as v0 2014-02-25 18:35:03 +01:00
Marcin Kulik
fe5907e96f Don't use AR API outside of AR classes 2014-02-20 23:31:49 +01:00
Marcin Kulik
f55ec05ae1 Use Warden for authentication 2014-02-20 23:31:48 +01:00
Marcin Kulik
28e0926fd6 Split User.for_api_token into separate lookup and create methods 2014-02-20 21:11:09 +01:00
Marcin Kulik
83df37f48b Refactor Asciicast#user 2014-02-12 21:33:42 +01:00
Marcin Kulik
fb3d5dec7a Revert "Add "Today We Fight Back" banner"
This reverts commit 37399f2bc6.
2014-02-12 21:01:36 +01:00
Marcin Kulik
86182e6a38 Promote featured asciicasts a bit more 2014-02-12 20:59:58 +01:00
Marcin Kulik
94817be1b3 Rename nickname to username 2014-02-12 20:51:01 +01:00
Marcin Kulik
81c8340bc1 Drop unused columns from asciicasts table 2014-02-12 20:36:51 +01:00
Marcin Kulik
24bad5e628 Use strong_parameters instead of protected_attributes 2014-02-12 20:22:20 +01:00
Marcin Kulik
9b32e2dc37 Prevent shadowing real user profiles by dummy ones 2014-02-12 19:51:25 +01:00
Marcin Kulik
5db7506823 Make "default legacy" asciicast user a dummy one 2014-02-12 17:46:09 +01:00
Marcin Kulik
1be5538e5c Merge dummy users into real ones when assigning api tokens 2014-02-12 17:41:06 +01:00
Marcin Kulik
2ceea32cc4 Create dummy users for new api tokens 2014-02-11 17:49:22 +01:00
Marcin Kulik
74d7bb0156 Make AsciicastCreator unaware of API subtleties 2014-02-10 17:39:37 +01:00
Marcin Kulik
0a47fd441f Remove unused recorded_at column 2014-02-10 16:42:50 +01:00
Marcin Kulik
9530c9d870 Ignore "recorded_at" from client 2014-02-09 19:35:30 +01:00
Marcin Kulik
633f514de8 Use Virtus for AsciicastParams 2014-02-09 19:12:15 +01:00
Marcin Kulik
37399f2bc6 Add "Today We Fight Back" banner 2014-02-09 18:10:00 +01:00
Marcin Kulik
6db51d138d Make Persona login background matching new design 2014-02-09 17:54:22 +01:00
Marcin Kulik
df2ebb91b6 Make notice message's background matching design a bit more 2014-02-09 17:41:15 +01:00
Marcin Kulik
cc28d6efad Use ruby 1.9 hash syntax 2014-02-09 14:58:17 +01:00
Marcin Kulik
13544d9d04 Rename user_token to api_token 2014-02-09 14:44:09 +01:00
Marcin Kulik
33dabc56b2 Mention Fedora package in installation docs 2014-02-06 16:29:34 +01:00
Marcin Kulik
d1b912f1d2 Remove unused helpers 2014-02-01 11:25:47 +01:00
Marcin Kulik
f1c6c890c2 Remove unused template 2014-02-01 11:21:36 +01:00
Marcin Kulik
3fc1c0ec21 Remove redundant as_json from ApplicationDecorator 2014-02-01 11:18:10 +01:00