Commit Graph

47 Commits

Author SHA1 Message Date
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
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
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
edb4bb3b97 NOT NULL for comment columns 2012-03-04 21:15:27 +01:00
Marcin Kulik
c4f40322ed Merge branch 'master' into comments
* master:
  Display asciicast author and creation time
  Claiming asciicasts
  User#add_user_token
  Asciicast.assign_user
  User tokens for assigning asciicasts to users
  Better styles + pagination

Conflicts:
	app/models/asciicast.rb
	db/schema.rb
	spec/factories/asciicasts.rb
	spec/factories/users.rb
2012-03-04 21:14:35 +01:00
Marcin Kulik
1ba9067551 User tokens for assigning asciicasts to users 2012-03-04 18:14:58 +01:00
Micha Wrobel
70cf1bdc3b Add comment resource 2012-03-04 13:50:16 +01:00
Micha Wrobel
d4f127508f Add nickname column to users 2012-02-26 20:11:09 +01:00
Micha Wrobel
0190c3f049 Add avatar_url column, modify migration file 2012-02-26 17:55:19 +01:00
Micha Wrobel
f59841abaf Add user model, and .create_with_omniauth method 2012-02-25 17:43:10 +01:00
Marcin Kulik
e3fabe2ae6 Duration should be float 2012-01-14 21:28:31 +01:00
Marcin Kulik
73b2c07e1b stdin/stdout as mounted Carrierwave uploader 2011-11-23 22:44:00 +01:00
Marcin Kulik
c5de80788a Asciicast model 2011-11-23 22:31:00 +01:00