Commit Graph

68 Commits (af02d5e0b2546c582406a9ecfc081acd3366e45e)

Author SHA1 Message Date
Marcin Kulik 100273f5bf Update browse page to new layout and add sorting 11 years ago
Marcin Kulik 431fd87002 Use auth token for permanent sessions 11 years ago
Marcin Kulik 3e1feff84e Auto-strip whitespace from email and nickname 11 years ago
Marcin Kulik 5bd8b05a93 Validate presence and uniqueness of both nickname and email 11 years ago
Marcin Kulik a2b0a637fa Refactor User.for_credentials/for_email into class methods 11 years ago
Marcin Kulik e95ac75c31 Remove unnecessary test for user factory 11 years ago
Marcin Kulik 7e5af6ed56 Favor uname over user_agent when accepting upload 11 years ago
Marcin Kulik d74ead2263 Store client's user agent on Asciicast record 11 years ago
Marcin Kulik d71da5b369 Move asciicast attributes preparation to AsciicastAttributes 11 years ago
Marcin Kulik 08583e9073 Don't cross 80 line boundary 11 years ago
Marcin Kulik 79f8eaf2ed Fix display of reversed characters in the thumbnails and the preview 11 years ago
Marcin Kulik 82fa03863d Adjust Snapshot#crop to work on already optimized lines 11 years ago
Marcin Kulik ff153fff1a Make Terminal return already optimized snapshot 11 years ago
Marcin Kulik 0e2c1784c6 Use terminal binary as a base for Terminal 11 years ago
Marcin Kulik e862acedb7 Animation frames generation on the backend 11 years ago
Marcin Kulik 9e152c3172 Sanitize all characters coming from TSM::Screen#draw
It happens that libtsm's screen_draw returns a character that can't be
properly encoded as utf-8. As what we get is only meant to be displayed
and not interpreted we can replace these invalid characters with a
questio mark, which is a common practice for printing invalid chars.
11 years ago
Marcin Kulik 26801d207f Make Asciicast use BufferedStdout instead of Stdout 11 years ago
Marcin Kulik b47fa27968 Refactor Snapshot to use Grid under the hood 11 years ago
Marcin Kulik d324200b01 Add BufferedStdout class whose #each yields at 60 hz tops 11 years ago
Marcin Kulik 31a880b7aa Simplify Snapshot and its presenter 11 years ago
Marcin Kulik 34b39d0db3 Simplify the structure returned by Terminal#snapshot
Each screen character is in its own, separate cell now. In addition the char
attributes don't include attributes that are "falsy".
11 years ago
Marcin Kulik 731751650c Keep the lines shorther than 80 chars 11 years ago
Marcin Kulik cdc2f01753 Find or build user from omniauth hash in the middleware 11 years ago
Marcin Kulik 40856933aa Support "blink" attribute in the thumbnails 11 years ago
Marcin Kulik a53c8de5b9 Pass paths to decompressed stdout files to Stdout 11 years ago
Marcin Kulik 2e9b0a4718 Remove boring empty trailing lines from thumbnails 11 years ago
Marcin Kulik 0c3494d174 Require explicit call to Terminal#snapshot for getting the snapshot 11 years ago
Marcin Kulik 6c8dbf4173 Make Stdout provide data in chunks 11 years ago
Marcin Kulik 4767442875 Make Snapshot#crop return the snapshot of exact requested height 11 years ago
Marcin Kulik 5ecf209a53 Add some TODO comments 11 years ago
Marcin Kulik 7d5a544650 Generate thumbnails from JSON snapshot via Snapshot/SnaphotPresenter 11 years ago
Marcin Kulik ddf0e57b39 Update SnapshotWorker to generate colorful snapshots 11 years ago
Marcin Kulik 59e31baa1b Process incoming asciicast with AsciicastCreator 11 years ago
Marcin Kulik 86a4662fe5 Abstract stdout_data and stdout_timing as a single value object 11 years ago
Marcin Kulik 56a2bb2378 Fix Snapshot#crop to not burn when height > line count 11 years ago
Marcin Kulik d93ac84c21 Refactor AsciicastDecorator#thumbnail to render colorful thumbnail 11 years ago
Marcin Kulik 86f728364c Add Brush model 11 years ago
Marcin Kulik e947524533 Add a simple model representing a terminal snapshot 11 years ago
Marcin Kulik 8daf2d0f7f Serialize Snapshot with Snapshot::Serializer 11 years ago
Marcin Kulik a10a447c53 Make the snapshots the hashes 11 years ago
Marcin Kulik 50c3a7bca5 Remove the test that validates asciicast factory 11 years ago
Marcin Kulik 67a182d6ca Use new FactoryGirl syntax exclusively 12 years ago
Marcin Kulik 35817e72d4 Spec for Asciicast#meta= 13 years ago
Marcin Kulik 9ddd44abb5 Move comment specs as comment decorator specs 13 years ago
Marcin Kulik 0cbd732980 Data model for "Like" 13 years ago
Marcin Kulik e425441c05 Use new factory_girl syntax 13 years ago
Marcin Kulik 0455aeafb7 Fix code style issues in specs 13 years ago
Marcin Kulik 61b3890a3d Merge remote-tracking branch 'origin/unique-nickname'
* origin/unique-nickname:
  Keep sensitive signup data in session
  Add users factory back
  rm users factories
  Add view spec for users#new
  Add specs to user#create
  Validate nickname uniquness

Conflicts:
	Gemfile
	Gemfile.lock
13 years ago
Marcin Kulik 3f798ab7aa Check code style with cane and tailor 13 years ago
Micha Wrobel fc53b71ee2 Validate nickname uniquness 13 years ago