1. 07 Jan, 2016 1 commit
    • David Haynes's avatar
      Modify the definition of short · 14a6fe41
      David Haynes authored
      - was a CharField but that limited short urls to be just characters
      - now a SlugField which better accomidates urls with numbers,hypens, etc.
      - included migration since I think that's what you do(?)
      14a6fe41
  2. 04 Jan, 2016 4 commits
  3. 02 Jan, 2016 6 commits
  4. 01 Jan, 2016 3 commits
  5. 30 Dec, 2015 2 commits
  6. 29 Dec, 2015 2 commits
  7. 17 Dec, 2015 5 commits
  8. 06 Apr, 2015 2 commits
  9. 24 Feb, 2015 12 commits
  10. 11 Sep, 2014 2 commits
  11. 09 Sep, 2014 1 commit
    • Jean Michel Rouly's avatar
      Merge branch 'hashid_generation' into 'dev' · 4a8076f8
      Jean Michel Rouly authored
      Hashid generation
      
      Use Hashids to generate shortUrls.
      
      Right now we will hit collisions at a 50% rate at 10k urls assuming perfect randomness. Using hashids reduces the chance of collisions as the number of urls increase.
      
      Hashids are guarenteed unique. The downside being that as the number of urls get larger, the hashids will get longer as well. The rate is exponential though with roughly number of characters as log base alphabet length of (id + seed).
      
      See merge request !10
      4a8076f8