Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/koajs/session

Simple session middleware for koa
https://github.com/koajs/session

chore: remove unused code

369616e204c40c7899a782c0f93f319b5d8b5cad authored almost 8 years ago by dead-horse <[email protected]>
refactor: rename methods

bc9dc974753e8a27ccea64cb72b95cd92cd3ba42 authored almost 8 years ago by dead-horse <[email protected]>
refactor: use store instead of external

54576d046bf3f82d9b067ff3ea0103278aa72a9a authored almost 8 years ago by dead-horse <[email protected]>
chore: eslint

b748403d20529927364ad78982e046efec695672 authored almost 8 years ago by dead-horse <[email protected]>
test: add external test cases and eslint

83bb00171d15f1da5d32a24c6d4cae69d1f9ffd1 authored almost 8 years ago by dead-horse <[email protected]>
test: remove 0.12, add 7

ec44f964eaa36d793737fc74c2e5ca4e1f05b277 authored almost 8 years ago by dead-horse <[email protected]>
fix: files add lib

c7c9b33e2b89b06d2f9237dd73e3c0b9da81b055 authored almost 8 years ago by dead-horse <[email protected]>
refactor: use context session

e34d3db09b6df088331d58fe3a01d3f4a8118c41 authored almost 8 years ago by dead-horse <[email protected]>
refactor: seperate session model

44f6b539ecf6ca0817ee782d8a6ca098116b5077 authored almost 8 years ago by dead-horse <[email protected]>
feat: support remove from external

9c9c815aac4b0a464169b6978363161b76f91059 authored almost 8 years ago by dead-horse <[email protected]>
refactor: support external

5c46711699c4717370b7f009c4eed88c5624185a authored almost 8 years ago by dead-horse <[email protected]>
update readme

3bb2f0b3977c92115ed9c431070a2a706d33aace authored about 8 years ago by haoxin <[email protected]>
Merge pull request #60 from piggyman007/master

i have updated docs to make it more descriptive

3bed58180ea6f5910181ff1bdf65fe353a59a8c9 authored about 8 years ago by niftylettuce <[email protected]>
Update Readme.md

add example of isNew property

fdcfba893d1185d8fae6a53ff7674da49e540870 authored about 8 years ago by piggyman007 <[email protected]>
Update Readme.md

add detail about config

2ce916d088a2d82d986e42ace5a663d72907b93a authored about 8 years ago by piggyman007 <[email protected]>
Release 3.4.0

615e26b06889f86dd6512bdf3cc711176837f4b6 authored about 8 years ago by fengmk2 <[email protected]>
fix: add 'session' name for middleware function (#58)

c16986585f76529bac6e8b6a2891b607bd0f73a7 authored about 8 years ago by fengmk2 <[email protected]>
travis++

3b0335fcbd9e1a782e7d4aaca3786c8c8f2e2bf3 authored over 8 years ago by haoxin <[email protected]>
Merge pull request #47 from koajs/greenkeeper-update-all

chore(package): update dependencies

e616f3e2916cd4747fa542a1bfe904a61ed9884e authored about 9 years ago by jongleberry <[email protected]>
chore(package): update dependencies

http://greenkeeper.io/

62699f820d3dc3e20133e30865f793d1edb43188 authored about 9 years ago by greenkeeperio-bot <[email protected]>
Merge pull request #45 from xie-qianyue/master

Update Readme.md

74b3de3af73aa6482ba2624c0b2258dbf9189a49 authored about 9 years ago by Yiyu He <[email protected]>
Update Readme.md

Add the instruction to make compatible with Koa 2.

163613829b223a0dd95bf674273a3b2ad3b2f758 authored about 9 years ago by XIE Qianyue <[email protected]>
readme: ignore favicon in example

closes #44

4d6d61087f8d363a18f03af9f2cca9c061d66b4c authored over 9 years ago by dead_horse <[email protected]>
Release 3.3.1

018b10722e63f4fca44be72f527e5dc4f599541d authored over 9 years ago by dead_horse <[email protected]>
Merge pull request #41 from limianwang/master

code: fix error in variable referencing

06583c621ad8b2cc371094034711ef2867e50d56 authored over 9 years ago by Yiyu He <[email protected]>
code: fix error in variable referencing

73bbbe00e893aa3d61fdd9545ff46f508a78e30d authored over 9 years ago by Limian Wang <[email protected]>
Release 3.3.0

2d08771bf9c99e99d95cb27d7a7760c07ea44793 authored over 9 years ago by dead_horse <[email protected]>
readme: add custom encode/decode

845628fc009cf4eb823bf6105e0295db8bc53918 authored over 9 years ago by dead_horse <[email protected]>
style

d6fe4eee3650335704ea44e6d798ee3474e3a269 authored over 9 years ago by dead_horse <[email protected]>
custom encode/decode support

63b46d5a4093a1a34c68d6980cd6bf11f0910dec authored over 9 years ago by Joakim Larsson <[email protected]>
Release 3.2.0

2f3fe880bb412a22c28c0555d22b1efa7580df6d authored over 9 years ago by dead_horse <[email protected]>
update hooks in readme

9472d81ba7a74f467bebec493d48ab03966286ad authored over 9 years ago by dead_horse <[email protected]>
Merge pull request #39 from koajs/valid-hook

feat: add opts.valid() and opts.beforeSave() hooks

7bf50d790030d5cf03a21fa125dada847134360e authored over 9 years ago by Yiyu He <[email protected]>
feat: add opts.valid() and opts.beforeSave() hooks

- valid() hook: valid session value before use it
- beforeSave() hook: set addition values befor...

11710680336c62c25d065b414ca682255ff47bdf authored over 9 years ago by fengmk2 <[email protected]>
Release 3.1.1

5a5e26f527d59ba22b5af44ff2c48426d9d5ffdd authored over 9 years ago by dead_horse <[email protected]>
Merge pull request #38 from koajs/sessionOptions-not-exists

fix: allow get session property before enter session middleware

29303505aac2cae9da1887fe598561bb458cdafe authored over 9 years ago by Yiyu He <[email protected]>
deps: upgrade deep-equal to 1.0.0

3935a71d63f2de29f06ce79ffa6592c8c2f28d40 authored over 9 years ago by fengmk2 <[email protected]>
docs: add status image to readme

30bf7ee9c90f83369cf9b629202ddfebafe4937a authored over 9 years ago by fengmk2 <[email protected]>
fix: allow get session property before enter session middleware

make sure sessionOptions exists

d2a41e12f937bb8235676ac11ce58ac0acb87ca2 authored over 9 years ago by fengmk2 <[email protected]>
Release 3.1.0

1ef8115bdbdbb6d3ce86e65c333b162d59166a0c authored about 10 years ago by dead_horse <[email protected]>
Merge pull request #31 from koajs/session-expire

set expire in cookie value

39e93eae591445eb1f8a6c70ff37ad94e1c1ef3c authored about 10 years ago by Yiyu He <[email protected]>
refactor(index.js): rename _sessjson to _prevjson

f8c95804360d82d969762ed9a727fb3910299577 authored about 10 years ago by dead_horse <[email protected]>
fix(index.js): set maxAge in cookie session

64b396aebc4b7bce60c52dcbc37abd6bdb9d0b29 authored about 10 years ago by dead_horse <[email protected]>
add session.maxAge

support different max ages depending on the route.

9f89d941123026e8bb2ab524fd21dfc364d465c2 authored about 10 years ago by dead_horse <[email protected]>
set expire in cookie value

ensure every session will expire

826a9956d4c623c797d985f7f162335a6511385a authored about 10 years ago by dead_horse <[email protected]>
Release 3.0.0

799f846b8b3fc604c8e519f60ce0bec14f256459 authored about 10 years ago by dead_horse <[email protected]>
Merge pull request #32 from koajs/performance

improve performance by reduce hiddin class on every request

11782c500106c6eebb847651414657feafb92b2a authored about 10 years ago by Yiyu He <[email protected]>
improve performance by reduce hiddin class on every request

Before: qps 2569.09, rt 5.46ms
After : qps 3565.10, rt 2.79ms

aff00c846cfa497a82c808e759002928aa2e37f9 authored about 10 years ago by fengmk2 <[email protected]>
fix example

e5a496c0335ef1e07d525e347783e3150e3d1f42 authored about 10 years ago by dead_horse <[email protected]>
useless commit for coverage

ea385dbecebb243904d85d0e7fae8df56b09ab35 authored over 10 years ago by Jonathan Ong <[email protected]>
add coverage

ab06e2763325c6188f247f90dfb39da8b656f770 authored over 10 years ago by Jonathan Ong <[email protected]>
refactor with commit() helper

meh pretty lame but at least it gets it out of nested braces

3495ecb4fb9ddb5b1ff2463aa02b902fd5b22ac3 authored almost 11 years ago by TJ Holowaychuk <[email protected]>
change test labels

51d12374414405c4bd3640611e56801f8309552a authored almost 11 years ago by TJ Holowaychuk <[email protected]>
add newlines to the tests

9623fcf37f5a9e7f808f944da6b26b59c4b01aa1 authored almost 11 years ago by TJ Holowaychuk <[email protected]>
refactor error handling with finally statement

118a4a8a20c4eed58c61601435e5e73ee774e9cf authored almost 11 years ago by TJ Holowaychuk <[email protected]>
readme: add not about session stores

44accc41be29162cd879a4242b55fc1ad2442489 authored almost 11 years ago by Jonathan Ong <[email protected]>
Merge pull request #25 from MBehtemam/master

Change ctx.cookie to ctx.cookies

72bf8798df1c9ce5b57dcabc2f70b27a4e07f9c0 authored almost 11 years ago by Jonathan Ong <[email protected]>
Update Readme.md

I think `ctx.cookie.set()` `ctx.cookie.get()` is wrong and `ctx.cookies.set()` and `ctx.cookies....

48d08abc55ebbc4b30fadf36d87e65698323b6f2 authored almost 11 years ago by Mohammad Bagher Ehtemam <[email protected]>
2.0.0

414133f60b6c0b1cf40b6bb8b0261b23276fbb98 authored almost 11 years ago by Jonathan Ong <[email protected]>
base64 encode cookies incase invalid characters are used

such as spaces, commas, and semicolons. closes #24, see
https://github.com/koajs/csrf/issues/4

ae0ceeb60300be6b0c24189e46d5dce99cdaa5a5 authored almost 11 years ago by Jonathan Ong <[email protected]>
1.2.1

916fc71208ee90163a0d20f972576cb7b5e7de65 authored almost 11 years ago by Jonathan Ong <[email protected]>
don't let thrown errors bypass saving sessions

4c1421c6a9dc887024936bb4ff79145ab8c4771f authored almost 11 years ago by Jonathan Ong <[email protected]>
yield *next;

e9bdd2b3ed8ef2c58a083ef91d42e7cffc9f341d authored about 11 years ago by Jonathan Ong <[email protected]>
Merge pull request #21 from juliangruber/patch-1

docs: update app.use signature

ac8810b967f0fe33146ac7de46b83a54c3e1c6d5 authored about 11 years ago by Jonathan Ong <[email protected]>
docs: update app.use signature

d9af3b9276d4aff758db8efb2a77c999de55c400 authored about 11 years ago by Julian Gruber <[email protected]>
travis

d8152e6c1f84c37b2166ff593a217038a103ee3d authored about 11 years ago by Jonathan Ong <[email protected]>
Release 1.2.0

998d5406fd1a74118218f9529ad89a5d2e95e291 authored about 11 years ago by TJ Holowaychuk <[email protected]>
Merge pull request #18 from coderhaoxin/master

fix readme

e58307151f6db246e44fc7053411a5893e1dd25a authored about 11 years ago by TJ Holowaychuk <[email protected]>
fix readme

81c99648e56fa1b66db604fcb708792c784679b1 authored about 11 years ago by haoxin <[email protected]>
remove sid from docs

edecf2a49a80896851a9e6d20a92edc7425ada6e authored about 11 years ago by Jonathan Ong <[email protected]>
remove uid2 dep

e545554ac363ca3e2d359fad9307f9c103a28bc1 authored about 11 years ago by Jonathan Ong <[email protected]>
remove this.sessionXxxx tests

these are internal and don’t matter to the end user.

838b41863c60bc2880f18cc447c573bd7d131a32 authored about 11 years ago by Jonathan Ong <[email protected]>
populated alias

e263d8b9cc635267d1d2a46220ff46b4e383aef9 authored about 11 years ago by Jonathan Ong <[email protected]>
only save new sessions if populated

closes #17

c8acca9b8f60ffbd0bebcffca26d850fbf1c0178 authored about 11 years ago by Jonathan Ong <[email protected]>
remove setting sid

connect’s cookie session doesn’t set any IDs itself.
IDs are pretty useless since sessions aren’...

f3d2e22fc13d3da8c644384e178aa9d3d1f5e66a authored about 11 years ago by Jonathan Ong <[email protected]>
add comment on why this.sessionXxxxx is necessary

closes #15

3a624009a2e7ecc802e2e663f92e21ce36b5511c authored about 11 years ago by Jonathan Ong <[email protected]>
make this.session an accessor and add a lot of tests

1a3a042a388dfb5c3ec27eec1847c6c2e59afce1 authored about 11 years ago by Jonathan Ong <[email protected]>
use new middleware signature

48582d21baf292b706226b94ab32dcb4b7d710d3 authored about 11 years ago by Jonathan Ong <[email protected]>
Release 1.1.0

2abab9e7d60f1acef7ccc067e3b7cabc02f6cf17 authored about 11 years ago by TJ Holowaychuk <[email protected]>
docs

d4d56f661381baedf186ff8937f2246b0a98062d authored about 11 years ago by TJ Holowaychuk <[email protected]>
docs

3e6f2c64451907d04e2e406697d334b6073534c2 authored about 11 years ago by TJ Holowaychuk <[email protected]>
add change check

DUHHHhh... not sure why I was not thinking about this before haha much easier
than doing object....

0d287e6222cb21d05530bb8fd74e0aaf6e96f961 authored about 11 years ago by TJ Holowaychuk <[email protected]>
refactor

1f8c6044cb88a84abf30d3aafac1f906e9329593 authored about 11 years ago by TJ Holowaychuk <[email protected]>
add app.keys to example

648b108404dd1e473281e8b03dd665381281f841 authored about 11 years ago by TJ Holowaychuk <[email protected]>
add defaults. Closes #4

f34b4d790328ff21de58c1f23c3d9d1072b02982 authored about 11 years ago by TJ Holowaychuk <[email protected]>
rename .clear() to .remove()

78b296346b3eca2f78a91b7537c77a0ec2617152 authored about 11 years ago by TJ Holowaychuk <[email protected]>
add session clearing support. Closes #9

49ce80c12424f2ae7c9a8f8142311919d4d4f965 authored about 11 years ago by TJ Holowaychuk <[email protected]>
add debug for auto-saving

df63a5ca392f0a228143251f82277ea7a1add9dd authored about 11 years ago by TJ Holowaychuk <[email protected]>
add auto-saving of new sessions

2e9cba3bf56170e2576d84db0b33b320057fd7a4 authored about 11 years ago by TJ Holowaychuk <[email protected]>
fix defaulting of .sid haha.. fail

c25ecaa3da2868b12ca62a6d66305245b185a5b2 authored about 11 years ago by TJ Holowaychuk <[email protected]>
add Session#id

ed53eaf5e3ed863cf9ea6f87c03b6cb55d2ec438 authored about 11 years ago by TJ Holowaychuk <[email protected]>
docs

c18f4af2247ba7bf86194db2b09f29844621f5fe authored about 11 years ago by TJ Holowaychuk <[email protected]>
Initial commit

f63f71caf4b1061abdfe46dbd7fedb3aa9f98864 authored about 11 years ago by TJ Holowaychuk <[email protected]>