Logo
Explore Help
Register Sign In
42l
/
rs-short
3
3
Fork
You've already forked rs-short
3
Code Issues 5 Pull Requests Releases 16 Wiki Activity

Releases Tags

  • Stable 3.2.0 bc06627c0c
    3.2.0
    3.1.0
    1.0.0
    1.1.0
    2.0.0
    2.1.0
    2.1.1
    2.1.2
    2.2.0
    2.2.1
    2.2.2
    2.2.3
    2.2.4
    3.0.0
    3.0.1
    3.0.2
    ${ item.name }
    Create tag ${ searchTerm }
    Create branch ${ searchTerm }
    from 'master'
    ${ noResults }

    3.2.0

    neil released this 3 months ago | 1 commits to master since this release

    Breaking changes

    • A 64-bit cookie key is now required for security reasons. You may generate a new cookie key with the command openssl rand -base64 64 | tr -d '\n'.
    • The phishing password must now be longer than 16 characters or rs-short won’t start.

    Added

    • Configuration files are now checked at start time.

    Changed

    • Migrated from lazy_static to once_cell (#26, thanks @Monique!)
    • Updated actix-web to 4.2 and disabled default features
    • Added checks for each configuration option
    • Fixed formatting and clippy warnings
    • Unsafe code is now forbidden
    Downloads
    • Source Code (ZIP)
    • Source Code (TAR.GZ)
     
  • Stable 3.1.0 b4064750cf
    3.2.0
    3.1.0
    1.0.0
    1.1.0
    2.0.0
    2.1.0
    2.1.1
    2.1.2
    2.2.0
    2.2.1
    2.2.2
    2.2.3
    2.2.4
    3.0.0
    3.0.1
    3.0.2
    ${ item.name }
    Create tag ${ searchTerm }
    Create branch ${ searchTerm }
    from 'master'
    ${ noResults }

    3.1.0

    neil released this 5 months ago | 17 commits to master since this release

    Changed

    • Updated diesel to v2.0 (#22)
    • Use the RETURNING clause to divide the number of queries by two with PostgreSQL and SQLite (#10)
    • Updated lists.toml with new blocklisted websites and more permissive regexes.

    Thanks @Monique for her major contribution to this release!

    Downloads
    • Source Code (ZIP)
    • Source Code (TAR.GZ)
     
  • Stable 3.0.2 bb0afb38e0
    3.2.0
    3.1.0
    1.0.0
    1.1.0
    2.0.0
    2.1.0
    2.1.1
    2.1.2
    2.2.0
    2.2.1
    2.2.2
    2.2.3
    2.2.4
    3.0.0
    3.0.1
    3.0.2
    ${ item.name }
    Create tag ${ searchTerm }
    Create branch ${ searchTerm }
    from 'master'
    ${ noResults }

    3.0.2

    neil released this 6 months ago | 30 commits to master since this release

    Added

    • Croatian translation (thanks @milotype !)

    Changed

    • Updated dependencies
    Downloads
    • Source Code (ZIP)
    • Source Code (TAR.GZ)
     
  • Stable 3.0.1 60cdff51e4
    3.2.0
    3.1.0
    1.0.0
    1.1.0
    2.0.0
    2.1.0
    2.1.1
    2.1.2
    2.2.0
    2.2.1
    2.2.2
    2.2.3
    2.2.4
    3.0.0
    3.0.1
    3.0.2
    ${ item.name }
    Create tag ${ searchTerm }
    Create branch ${ searchTerm }
    from 'master'
    ${ noResults }

    3.0.1

    neil released this 9 months ago | 38 commits to master since this release

    Fixes

    • Hotfix: missing content-type header 60cdff51e4
    Downloads
    • Source Code (ZIP)
    • Source Code (TAR.GZ)
     
  • Stable 3.0.0 b4611a5dea
    3.2.0
    3.1.0
    1.0.0
    1.1.0
    2.0.0
    2.1.0
    2.1.1
    2.1.2
    2.2.0
    2.2.1
    2.2.2
    2.2.3
    2.2.4
    3.0.0
    3.0.1
    3.0.2
    ${ item.name }
    Create tag ${ searchTerm }
    Create branch ${ searchTerm }
    from 'master'
    ${ noResults }

    3.0.0

    neil released this 9 months ago | 39 commits to master since this release

    Breaking changes

    • Blocklists have been completely reworked. Please check the lists.toml file and fill it according to your needs.
      • Links are now matched with regular expressions, update your old lists accordingly.
    • Changes in the configuration file:
      • New parameter: verbose_level which defaults to notice.
      • Deleted parameter: max_cache_size. The database cache has been deprecated.
        • Please do not use SQLite in production and migrate to PostgreSQL or MySQL.

    Added

    • Support for PostgreSQL and MySQL (#4)
    • Allowlists and blocklists with regex support
      • Each blocked link can be sorted in different categories (shortener, freehost, spam) with associated error messages for the end user.
    • Bundled a default blocklist
    • Log levels: info, notice, warn and crit.
    • Instructions for running rs-short with nginx or systemd (thanks @unclesamulus !)

    Improved

    • Migration to actix v4 (#15)
    • Way better error handling (#14)
    • Cleaner code

    Removed

    • Internal database cache has been removed (#16)
    • Dependency to url crate removed.
    Downloads
    • Source Code (ZIP)
    • Source Code (TAR.GZ)
     
  • Stable 2.2.4 3307288424
    3.2.0
    3.1.0
    1.0.0
    1.1.0
    2.0.0
    2.1.0
    2.1.1
    2.1.2
    2.2.0
    2.2.1
    2.2.2
    2.2.3
    2.2.4
    3.0.0
    3.0.1
    3.0.2
    ${ item.name }
    Create tag ${ searchTerm }
    Create branch ${ searchTerm }
    from 'master'
    ${ noResults }

    2.2.4

    neil released this 12 months ago | 61 commits to master since this release

    Changed

    Updated dependencies.

    Downloads
    • Source Code (ZIP)
    • Source Code (TAR.GZ)
     
  • Stable 2.2.3 73c8ae0959
    3.2.0
    3.1.0
    1.0.0
    1.1.0
    2.0.0
    2.1.0
    2.1.1
    2.1.2
    2.2.0
    2.2.1
    2.2.2
    2.2.3
    2.2.4
    3.0.0
    3.0.1
    3.0.2
    ${ item.name }
    Create tag ${ searchTerm }
    Create branch ${ searchTerm }
    from 'master'
    ${ noResults }

    2.2.3

    neil released this 1 year ago | 62 commits to master since this release

    Added

    rs-short has been translated in Occitan by @Quentin in #13, thanks a lot!

    Changed

    • Updated dependencies
    • Updated to Rust edition 2021
    • Fixed compilation & clippy warnings
    Downloads
    • Source Code (ZIP)
    • Source Code (TAR.GZ)
     
  • Stable 2.2.2 7d91b699bf
    3.2.0
    3.1.0
    1.0.0
    1.1.0
    2.0.0
    2.1.0
    2.1.1
    2.1.2
    2.2.0
    2.2.1
    2.2.2
    2.2.3
    2.2.4
    3.0.0
    3.0.1
    3.0.2
    ${ item.name }
    Create tag ${ searchTerm }
    Create branch ${ searchTerm }
    from 'master'
    ${ noResults }

    2.2.2

    neil released this 2 years ago | 72 commits to master since this release

    Fixes

    • #9 Incorrect link cache behavior (thanks @KMK !)
    Downloads
    • Source Code (ZIP)
    • Source Code (TAR.GZ)
     
  • Stable 2.2.1 f4b3753e27
    3.2.0
    3.1.0
    1.0.0
    1.1.0
    2.0.0
    2.1.0
    2.1.1
    2.1.2
    2.2.0
    2.2.1
    2.2.2
    2.2.3
    2.2.4
    3.0.0
    3.0.1
    3.0.2
    ${ item.name }
    Create tag ${ searchTerm }
    Create branch ${ searchTerm }
    from 'master'
    ${ noResults }

    2.2.1

    neil released this 2 years ago | 75 commits to master since this release

    Security

    • f4b3753e27 : Fixing XSS vulnerability on the link administration page due to bad URL sanitization. NB: The main instance (s.42l.fr) is not affected by this issue thanks to the CSP header, which forbids JavaScript execution on the page.

    Thanks to polyedre for reporting the issue.

    Fixes

    • a5028ec515 : Links are now trimmed before being saved in database.
    • f4d2edb4ad : The hoster logo now displays correctly on phishing page.
    Downloads
    • Source Code (ZIP)
    • Source Code (TAR.GZ)
     
  • Stable 2.2.0 3b0c339f3c
    3.2.0
    3.1.0
    1.0.0
    1.1.0
    2.0.0
    2.1.0
    2.1.1
    2.1.2
    2.2.0
    2.2.1
    2.2.2
    2.2.3
    2.2.4
    3.0.0
    3.0.1
    3.0.2
    ${ item.name }
    Create tag ${ searchTerm }
    Create branch ${ searchTerm }
    from 'master'
    ${ noResults }

    2.2.0

    neil released this 2 years ago | 79 commits to master since this release

    Security

    • Added protocol restrictions. Notably, file:// is no longer allowed.

    The allowed protocols list is hardcoded in src/init.rs.

    To my knowledge, there has been no abuse of this security vulnerability in production on the main instance.

    Added

    • Soft blacklist to prevent users from shortening certain URLs without banning them
    • Now catching 404 (invalid routes)
    • Implemented link caching.
      • The link cache works as a failover when the SQLite database is locked, making it way more resilient in production.
      • The cache size can be configured using the new config option max_cache_size. The default recommended value is 250.
      • It doesn't change the fact that SQLite in production sucks, though. I'll add postgres/mysql support later.

    Fixed

    • Instance hostname is now prefixing the custom link name (UX improvement)
    Downloads
    • Source Code (ZIP)
    • Source Code (TAR.GZ)
     
First Previous 1 2 Next Last
Powered by Gitea Page: 1136ms Template: 8ms
English
Bahasa Indonesia Deutsch English Español Français Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API