Commit Graph

891 Commits

Author SHA1 Message Date
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
Marcin Kulik
9c224ce894 Remove unused mailer 2014-02-01 11:17:12 +01:00
Marcin Kulik
4908599204 Fix style violations 2014-02-01 10:29:49 +01:00
Marcin Kulik
105d11bfe7 Change naming convention for presenter objects 2014-02-01 01:26:58 +01:00
Marcin Kulik
463f18c207 Refactor user page to use a presenter object 2014-02-01 01:16:28 +01:00
Marcin Kulik
5dc857ed9e Rename AsciicastPresenter#user to #current_user 2014-02-01 01:14:37 +01:00
Marcin Kulik
7fb6c0354c Cache items on AsciicastListPresenter 2014-02-01 01:12:19 +01:00
Marcin Kulik
d06801487c Set defaults for AsciicastListPresenter in .build 2014-02-01 01:10:54 +01:00
Marcin Kulik
9589df952f Make the view count cookie names shorter 2014-01-29 16:10:18 +01:00
Marcin Kulik
fee207e012 Add Gentoo installation instructions to docs 2014-01-21 10:49:48 +01:00
Marcin Kulik
219d8f1c3f Fix embedded player iframe resizing under https 2014-01-18 15:35:24 +01:00