Skip to content
프로젝트

소개

상태 유지 세션을 포함해 Ring 애플리케이션에 사용할 수 있는 라이브러리 모음입니다.

개발 도구

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

lib-noir

this project is deprecated and it's no longer actively maintained

A set of utilities and helpers for building ring apps.

Continuous Integration status

Some of the core features includes the following:

  • stateful sessions and cookies
  • static resource management and file uploads
  • custom response types and redirects
  • input validation
  • content caching
  • route filtering and redirection
  • password hashing using SCrypt

See the API for more details.

This library was originally split out from the Noir web framework for your enjoyment.

This library is being actively developed separate from Noir. Nothing in here is specific to Noir and the purpose of it is to be used from any ring-based web framework, such as Moustache and Compojure.

Usage

You want to use Leiningen, of course. Add this to your :dependencies

Clojars Project

Breaking changes in 0.9.5

lib-noir now uses scrypt as its crypto implementation. This breaks compatibility with the existing password hashes encrypted using bcrypt.

Breaking changes in 0.7.4

The :store key in noir.util.middleware/app-handler has been replaced with the :session-options key that allows specifying any Ring session parameters, eg:

(def app
  (middleware/app-handler
    [home-routes app-routes]
    :session-options {:cookie-name "example-app-session"
                      :store (cookie-store)}))

Breaking changes in 0.6.2

The access rule handling has been changed in 0.6.2, please see documentation for details

Credits

A lot of these libraries were originally written by Chris Granger and included in the Noir web framework before its deprecation. These libraries were split out into this library and additions and changes have been made over time.

Maintainers

Contributors

There is a very pretty list of contributors here

관련 프로젝트 살펴보기

불러오는 중…