Commit Graph

61 Commits

Author SHA1 Message Date
Marcin Kulik
e03e35ad6a Remove ExpiringToken 2017-07-29 00:25:10 +02:00
Marcin Kulik
45c1de59b6 Email-based login without keeping tokens in database 2017-07-27 16:14:31 +02:00
Marcin Kulik
5bca2b4724 Port seeds 2017-06-25 20:05:14 +02:00
Marcin Kulik
28ec385b72 Drop unused tables and columns 2017-06-19 12:09:08 +02:00
Marcin Kulik
f56bf8b452 Remove unused models 2017-06-11 19:27:38 +02:00
Marcin Kulik
cac9aea574 Remove image_* columns from asciicasts 2017-06-08 12:18:05 +02:00
Marcin Kulik
20904489c4 Add "welcome" asciicast on db init 2017-04-15 18:15:52 +02:00
Marcin Kulik
21ba8ce13c Don't keep default theme name as empty string 2017-02-15 12:04:35 +00:00
Marcin Kulik
cfae011508 Upgrade Foreigner to workaround breaking changes in Rails 4.1.11 2015-06-23 08:23:01 +00:00
Marcin Kulik
5efb3d5787 Make all asciicasts private by default 2015-05-10 16:46:25 +00:00
Marcin Kulik
7156130d90 Allow everyone to have private asciicasts 2015-05-10 16:40:39 +00:00
Marcin Kulik
69eb52f061 Allow supporters to change asciicast visibility 2015-04-28 11:00:23 +00:00
Marcin Kulik
6bc2fd1048 Pad secret token correctly
After converting base 16 (hex) string of length 16 to integer and then to
base 36 we can end up with a shorter string due to implicit zeroes on
leading positions in the intermediate integer. This ensures
"00000000000000000000000000000000", "ffffffffffffffffffffffffffffffff"
and everything in between result in a string of length 25 after converting to
base 36.
2015-04-25 10:15:29 +00:00
Marcin Kulik
a30ee0d082 Allow making asciicasts "private" 2015-04-25 10:15:28 +00:00
Marcin Kulik
e05fbd574f Add ability to revoke recorder tokens 2015-04-03 17:07:38 +00:00
Marcin Kulik
7a321bf2cc Use "display" width in HTML image links 2015-03-27 17:33:50 +00:00
Marcin Kulik
2852248989 Add PNG generation (https://asciinema.org/a/17654.png) 2015-03-27 11:42:14 +00:00
Marcin Kulik
3078b85d71 New concept! Foreign key constraints. On database! 2015-03-11 10:55:54 +01:00
Marcin Kulik
336f0213d9 Require explicit version number for asciicast "version" column 2015-02-28 17:48:49 +00:00
Marcin Kulik
c6cc9fbdbc Accept version 1 asciicasts 2015-02-27 14:01:12 +00:00
Marcin Kulik
45d1d6c18b Use retro gravatars for default avatars 2014-11-29 12:17:03 +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
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
6bb5f39f8b Add theme changing for whole user profile and single asciicast 2014-07-01 21:33:50 +02: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
2ceea32cc4 Create dummy users for new api tokens 2014-02-11 17:49:22 +01:00
Marcin Kulik
0a47fd441f Remove unused recorded_at column 2014-02-10 16:42:50 +01:00
Marcin Kulik
13544d9d04 Rename user_token to api_token 2014-02-09 14:44:09 +01:00
Marcin Kulik
3b14a0e5f1 Add missing indexes 2013-10-22 19:17:34 +02:00
Marcin Kulik
431fd87002 Use auth token for permanent sessions 2013-10-22 19:16:18 +02:00
Marcin Kulik
d4cbc3e504 Make Persona the only login option (with the ability to access old accounts) 2013-10-20 18:58:11 +02:00
Marcin Kulik
d74ead2263 Store client's user agent on Asciicast record 2013-10-11 20:44:49 +02:00
Marcin Kulik
e862acedb7 Animation frames generation on the backend 2013-09-10 21:29:17 +02:00
Marcin Kulik
caa6c52759 Rename stdout to stdout_data, stdin to stdin_data 2013-08-06 00:37:34 +02:00
Marcin Kulik
a10a447c53 Make the snapshots the hashes 2013-08-06 00:37:32 +02:00
Marcin Kulik
109e0eff3d Rails weirdness with schema.rb (?) 2012-10-12 21:46:51 +02:00
Marcin Kulik
785273707b Proper design, finally! 2012-07-25 20:24:20 +02:00
Marcin Kulik
ba97246db8 Time compression 2012-05-04 21:49:08 +02:00
Marcin Kulik
c4b5b16e6f Merge branch 'likes'
* likes:
  Data model for "Like"

Conflicts:
	app/models/user.rb
	db/schema.rb
2012-04-09 17:03:50 +02:00
Marcin Kulik
45dd308186 Display comments count 2012-04-09 16:46:08 +02:00
Marcin Kulik
b23daeb334 No likes in master yet 2012-04-09 13:44:23 +02:00
Marcin Kulik
27219f48b7 Thumbnail generation in Sidekiq worker 2012-04-06 20:53:04 +02:00
Marcin Kulik
0cbd732980 Data model for "Like" 2012-04-06 14:06:40 +02:00
Marcin Kulik
69576f1a0d Display ~username from asciicast if no profile assigned 2012-04-03 19:06:05 +02:00
Marcin Kulik
b68e02212d Featured asciicasts 2012-03-11 15:29:31 +01:00
Marcin Kulik
4b6ed33158 Description field for Asciicast 2012-03-11 14:44:01 +01:00
Marcin Kulik
383db80bfd Schema change 2012-03-04 21:33:44 +01:00
Marcin Kulik
ebf0383e99 Fix comment routes 2012-03-04 21:26:22 +01:00