Commit Graph

299 Commits

Author SHA1 Message Date
Marcin Kulik
130948ae3f Upgrate to Rails 4.1.5 2014-08-30 20:10:49 +02:00
Marcin Kulik
560e11f24e Introduce admin 2014-07-05 14:59:42 +02:00
Marcin Kulik
1633c94b91 Ensure correct theme is used for displaying embedded asciicast 2014-07-01 22:35:47 +02:00
Marcin Kulik
36362a14b5 Fix JS playback test 2014-07-01 21:53:29 +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
14648f11b7 Add ability to override theme via url param 2014-06-30 19:30:18 +02:00
Marcin Kulik
b6a23222d7 Integrate new React.js-based player 2014-06-24 20:49:26 +02:00
Marcin Kulik
c7e9974f47 Update a separate instance of current user 2014-04-12 12:39:59 +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
c0d4f28b2f Check if updated_at of asciicasts and api tokens is touched when merging users 2014-04-10 21:08:22 +02:00
Marcin Kulik
411a14b570 Don't take a screenshot when running tests 2014-03-21 16:47:14 +01:00
Marcin Kulik
0cb57c0cdd Get rid of annoying "pending test" message 2014-03-16 18:37:45 +01:00
Marcin Kulik
82c6c034c5 Improve test coverage of UsersController 2014-03-16 18:34:37 +01:00
Marcin Kulik
4cd145cac7 Add feature test for profile updating 2014-03-16 16:03: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
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
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
13544d9d04 Rename user_token to api_token 2014-02-09 14:44:09 +01:00
Marcin Kulik
9c224ce894 Remove unused mailer 2014-02-01 11:17:12 +01:00
Marcin Kulik
0be6410acb Enable coveralls.io integration 2014-02-01 11:02:06 +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
d06801487c Set defaults for AsciicastListPresenter in .build 2014-02-01 01:10:54 +01:00
Marcin Kulik
585167089d Rename container_width option to max_width 2014-01-18 14:53:15 +01:00
Marcin Kulik
57bcab04c9 Use proper PlaybackOptions object for passing options to JS player 2014-01-18 14:12:10 +01:00
Marcin Kulik
2191dfe32a Use .decorate instead of manually creating decorator instances 2014-01-18 12:24:40 +01:00
Marcin Kulik
86f6af3d78 Introduce AsciicastPresenter 2014-01-18 11:44:13 +01:00
Marcin Kulik
d571be2bbd Introduce AsciicastListPresenter 2014-01-17 17:21:22 +01:00
Marcin Kulik
f6ad790a09 Introduce HomePresenter 2014-01-17 14:52:37 +01:00
Marcin Kulik
fe30c0282f It's "OS X", not "OSX".
(via @solnic)
2013-12-10 12:00:17 +01:00
Marcin Kulik
c9437524fb Move test routes definition from routes.rb to a test file 2013-12-09 23:16:41 +01:00