Commit Graph

701 Commits

Author SHA1 Message Date
Marcin Kulik
3371a238b7 Merge pull request #35 from sickill/omniauth
User model and omniauth authentication
2012-02-26 13:13:24 -08:00
Micha Wrobel
d4f127508f Add nickname column to users 2012-02-26 20:11:09 +01:00
Micha Wrobel
2669bbb310 Don't use assigns(:current_user) in spec 2012-02-26 20:10:09 +01:00
Micha Wrobel
96fee0c6da use get method instead delete 2012-02-26 20:09:07 +01:00
Micha Wrobel
1fbfcb2c10 Merge branch 'omniauth' of github.com:sickill/ascii.io into omniauth 2012-02-26 19:59:46 +01:00
Micha Wrobel
0768209393 Set not validated attributes to nil 2012-02-26 19:33:25 +01:00
Marcin Kulik
0979a6706b VT#renderer -> VT#view 2012-02-26 18:44:30 +01:00
Marcin Kulik
44c142981a Check for :alert instead of :error in spec 2012-02-26 18:40:51 +01:00
Marcin Kulik
d0e0ec4f88 Use :alert (supported directly by redirect_to) instead of :error. 2012-02-26 18:39:46 +01:00
Micha Wrobel
c4763bb566 Improve controller specs, tiny refactoring 2012-02-26 18:13:46 +01:00
Micha Wrobel
ce67e84a60 Don't raise AR::RecordNotFound if there is no id 2012-02-26 17:57:46 +01:00
Micha Wrobel
0190c3f049 Add avatar_url column, modify migration file 2012-02-26 17:55:19 +01:00
Micha Wrobel
54b13fa3a6 Add OauthHelper.get_avatar_url 2012-02-26 17:45:38 +01:00
Micha Wrobel
8b07a98856 Don't use should in spec description 2012-02-26 17:39:49 +01:00
Micha Wrobel
0459877163 Refactor factory spec 2012-02-26 17:26:13 +01:00
Micha Wrobel
be24115519 Extract paths to helper methods 2012-02-26 16:40:30 +01:00
Micha Wrobel
1b33acb937 Make sure that @current_user is also set and cleared 2012-02-26 16:33:37 +01:00
Micha Wrobel
bf6b74289b Add omniauth authentication: github and twitter 2012-02-25 23:43:17 +01:00
Micha Wrobel
c374f43f5e fix key name, and remove unsupported email 2012-02-25 23:42:44 +01:00
Micha Wrobel
f59841abaf Add user model, and .create_with_omniauth method 2012-02-25 17:43:10 +01:00
Micha Wrobel
3e267d87bd Use transactional fixtures, remove comments 2012-02-25 17:24:45 +01:00
Marcin Kulik
f23cbbb79d Move char attrs back to VT 2012-02-24 23:26:05 +01:00
Marcin Kulik
69c1dcbf9c Another TODO 2012-02-24 23:20:27 +01:00
Marcin Kulik
3eb0b40d32 TODO 2012-02-24 23:20:03 +01:00
Marcin Kulik
9edbcbac4e Remove wrong handlers 2012-02-24 23:19:38 +01:00
Marcin Kulik
260d7c6956 Comment 2012-02-24 23:19:04 +01:00
Marcin Kulik
49c583d500 Rename handleCSI to handleCS 2012-02-24 23:18:33 +01:00
Marcin Kulik
b4322fa5a0 Extract responsibilities 2012-02-24 23:18:12 +01:00
Marcin Kulik
2e6c6ad886 Fix VT spec 2012-02-22 22:48:08 +01:00
Marcin Kulik
993891d64f Fix PlayerView spec 2012-02-22 22:44:48 +01:00
Micha Wrobel
a210245537 Add public/uploads to gitignore 2012-02-22 18:17:56 +01:00
Marcin Kulik
961ee90836 Handle reverse/normal video attr 2012-02-22 18:11:06 +01:00
Marcin Kulik
9af87da790 Handle ESC[^ - reserved 2012-02-22 18:11:06 +01:00
Micha Wrobel
11fddcdc0d Add database.yml.example 2012-02-21 22:32:48 +01:00
Marcin Kulik
2f0c7491e8 Missing app.yml 2012-02-21 18:06:18 +01:00
Marcin Kulik
93ef92f827 Don't ignore too much 2012-02-21 18:06:03 +01:00
Marcin Kulik
eecd3b3917 Configuration with confstruct 2012-02-20 21:52:21 +01:00
Marcin Kulik
efff8e765d Ignore 2 more esc sequences 2012-02-20 21:16:13 +01:00
Marcin Kulik
fe349c9394 Blink attribute support 2012-02-20 21:15:26 +01:00
Marcin Kulik
5fdd43306d Close span only if there was at least one brush used 2012-02-19 19:47:04 +01:00
Marcin Kulik
5f65e4d3fa Set fixed with and height of terminal view. Fixes #22 2012-02-19 19:40:31 +01:00
Marcin Kulik
a0482edb14 Fix _cursorRight when on right edge of screen 2012-02-19 17:06:07 +01:00
Marcin Kulik
ee6298d515 Italic style support 2012-02-19 16:54:44 +01:00
Marcin Kulik
bf115d99be Fix VT#deleteCharacters for good 2012-02-19 15:48:23 +01:00
Marcin Kulik
47998cc1a0 Improved VT#deleteCharacters 2012-02-19 15:13:12 +01:00
Marcin Kulik
c3f3da1318 Tab stop support 2012-02-19 15:12:56 +01:00
Marcin Kulik
dd737d4134 Fix bright attribute support 2012-02-13 22:43:43 +01:00
Marcin Kulik
bbd34c7e7c Escape & and < in span before inserting them into DOM 2012-02-13 22:20:29 +01:00
Marcin Kulik
b6ccd8bf88 restartCursorBlink on movie-awake event 2012-02-13 18:43:54 +01:00
Marcin Kulik
ee7a051172 Cache generated brush spans 2012-02-12 22:48:04 +01:00