Skip to content
Snippets Groups Projects
  1. Oct 02, 2021
  2. Oct 01, 2021
  3. Sep 30, 2021
  4. Sep 29, 2021
    • syuilo's avatar
      fix bug · 18fa317e
      syuilo authored
      18fa317e
    • Johann150's avatar
      fix: truncate image descriptions (#7699) · 414f1d11
      Johann150 authored
      
      * move truncate function to separate file to reuse it
      
      * truncate image descriptions
      
      * show image description limit in UI
      
      * correctly treat null
      
      Co-authored-by: default avatarnullobsi <me@nullob.si>
      
      * make truncate Unicode-aware
      
      The strings that truncate returns should now be valid Unicode.
      
      PostgreSQL also counts Unicode Code Points instead of bytes so this
      should be correct.
      
      * move truncate to internal, validate in API
      
      Truncating could also be done in src/services/drive/add-file.ts or
      src/services/drive/upload-from-url.ts but those would also affect
      local images. But local images should result in a hard error if the
      image comment is too long.
      
      * avoid overwriting
      
      Co-authored-by: default avatarnullobsi <me@nullob.si>
      414f1d11
    • syuilo's avatar
      🎨 · c5e5a9b8
      syuilo authored
      c5e5a9b8
    • syuilo's avatar
      refactor components · 1ac1a968
      syuilo authored
      1ac1a968
  5. Sep 27, 2021
  6. Sep 25, 2021
  7. Sep 24, 2021
  8. Sep 23, 2021
  9. Sep 22, 2021
Loading