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
369616e204c40c7899a782c0f93f319b5d8b5cad authored almost 8 years ago by dead-horse <[email protected]>
bc9dc974753e8a27ccea64cb72b95cd92cd3ba42 authored almost 8 years ago by dead-horse <[email protected]>
54576d046bf3f82d9b067ff3ea0103278aa72a9a authored almost 8 years ago by dead-horse <[email protected]>
b748403d20529927364ad78982e046efec695672 authored almost 8 years ago by dead-horse <[email protected]>
83bb00171d15f1da5d32a24c6d4cae69d1f9ffd1 authored almost 8 years ago by dead-horse <[email protected]>
ec44f964eaa36d793737fc74c2e5ca4e1f05b277 authored almost 8 years ago by dead-horse <[email protected]>
c7c9b33e2b89b06d2f9237dd73e3c0b9da81b055 authored almost 8 years ago by dead-horse <[email protected]>
e34d3db09b6df088331d58fe3a01d3f4a8118c41 authored almost 8 years ago by dead-horse <[email protected]>
44f6b539ecf6ca0817ee782d8a6ca098116b5077 authored almost 8 years ago by dead-horse <[email protected]>
9c9c815aac4b0a464169b6978363161b76f91059 authored almost 8 years ago by dead-horse <[email protected]>
5c46711699c4717370b7f009c4eed88c5624185a authored almost 8 years ago by dead-horse <[email protected]>
3bb2f0b3977c92115ed9c431070a2a706d33aace authored about 8 years ago by haoxin <[email protected]>
i have updated docs to make it more descriptive
3bed58180ea6f5910181ff1bdf65fe353a59a8c9 authored about 8 years ago by niftylettuce <[email protected]>add example of isNew property
fdcfba893d1185d8fae6a53ff7674da49e540870 authored about 8 years ago by piggyman007 <[email protected]>add detail about config
2ce916d088a2d82d986e42ace5a663d72907b93a authored about 8 years ago by piggyman007 <[email protected]>615e26b06889f86dd6512bdf3cc711176837f4b6 authored about 8 years ago by fengmk2 <[email protected]>
c16986585f76529bac6e8b6a2891b607bd0f73a7 authored about 8 years ago by fengmk2 <[email protected]>
3b0335fcbd9e1a782e7d4aaca3786c8c8f2e2bf3 authored over 8 years ago by haoxin <[email protected]>
chore(package): update dependencies
e616f3e2916cd4747fa542a1bfe904a61ed9884e authored about 9 years ago by jongleberry <[email protected]>http://greenkeeper.io/
62699f820d3dc3e20133e30865f793d1edb43188 authored about 9 years ago by greenkeeperio-bot <[email protected]>Update Readme.md
74b3de3af73aa6482ba2624c0b2258dbf9189a49 authored about 9 years ago by Yiyu He <[email protected]>Add the instruction to make compatible with Koa 2.
163613829b223a0dd95bf674273a3b2ad3b2f758 authored about 9 years ago by XIE Qianyue <[email protected]>closes #44
4d6d61087f8d363a18f03af9f2cca9c061d66b4c authored over 9 years ago by dead_horse <[email protected]>018b10722e63f4fca44be72f527e5dc4f599541d authored over 9 years ago by dead_horse <[email protected]>
code: fix error in variable referencing
06583c621ad8b2cc371094034711ef2867e50d56 authored over 9 years ago by Yiyu He <[email protected]>73bbbe00e893aa3d61fdd9545ff46f508a78e30d authored over 9 years ago by Limian Wang <[email protected]>
2d08771bf9c99e99d95cb27d7a7760c07ea44793 authored over 9 years ago by dead_horse <[email protected]>
845628fc009cf4eb823bf6105e0295db8bc53918 authored over 9 years ago by dead_horse <[email protected]>
d6fe4eee3650335704ea44e6d798ee3474e3a269 authored over 9 years ago by dead_horse <[email protected]>
63b46d5a4093a1a34c68d6980cd6bf11f0910dec authored over 9 years ago by Joakim Larsson <[email protected]>
2f3fe880bb412a22c28c0555d22b1efa7580df6d authored over 9 years ago by dead_horse <[email protected]>
9472d81ba7a74f467bebec493d48ab03966286ad authored over 9 years ago by dead_horse <[email protected]>
feat: add opts.valid() and opts.beforeSave() hooks
7bf50d790030d5cf03a21fa125dada847134360e authored over 9 years ago by Yiyu He <[email protected]>
- valid() hook: valid session value before use it
- beforeSave() hook: set addition values befor...
5a5e26f527d59ba22b5af44ff2c48426d9d5ffdd authored over 9 years ago by dead_horse <[email protected]>
fix: allow get session property before enter session middleware
29303505aac2cae9da1887fe598561bb458cdafe authored over 9 years ago by Yiyu He <[email protected]>3935a71d63f2de29f06ce79ffa6592c8c2f28d40 authored over 9 years ago by fengmk2 <[email protected]>
30bf7ee9c90f83369cf9b629202ddfebafe4937a authored over 9 years ago by fengmk2 <[email protected]>
make sure sessionOptions exists
d2a41e12f937bb8235676ac11ce58ac0acb87ca2 authored over 9 years ago by fengmk2 <[email protected]>1ef8115bdbdbb6d3ce86e65c333b162d59166a0c authored about 10 years ago by dead_horse <[email protected]>
set expire in cookie value
39e93eae591445eb1f8a6c70ff37ad94e1c1ef3c authored about 10 years ago by Yiyu He <[email protected]>f8c95804360d82d969762ed9a727fb3910299577 authored about 10 years ago by dead_horse <[email protected]>
64b396aebc4b7bce60c52dcbc37abd6bdb9d0b29 authored about 10 years ago by dead_horse <[email protected]>
support different max ages depending on the route.
9f89d941123026e8bb2ab524fd21dfc364d465c2 authored about 10 years ago by dead_horse <[email protected]>ensure every session will expire
826a9956d4c623c797d985f7f162335a6511385a authored about 10 years ago by dead_horse <[email protected]>799f846b8b3fc604c8e519f60ce0bec14f256459 authored about 10 years ago by dead_horse <[email protected]>
improve performance by reduce hiddin class on every request
11782c500106c6eebb847651414657feafb92b2a authored about 10 years ago by Yiyu He <[email protected]>
Before: qps 2569.09, rt 5.46ms
After : qps 3565.10, rt 2.79ms
e5a496c0335ef1e07d525e347783e3150e3d1f42 authored about 10 years ago by dead_horse <[email protected]>
ea385dbecebb243904d85d0e7fae8df56b09ab35 authored over 10 years ago by Jonathan Ong <[email protected]>
ab06e2763325c6188f247f90dfb39da8b656f770 authored over 10 years ago by Jonathan Ong <[email protected]>
meh pretty lame but at least it gets it out of nested braces
3495ecb4fb9ddb5b1ff2463aa02b902fd5b22ac3 authored almost 11 years ago by TJ Holowaychuk <[email protected]>51d12374414405c4bd3640611e56801f8309552a authored almost 11 years ago by TJ Holowaychuk <[email protected]>
9623fcf37f5a9e7f808f944da6b26b59c4b01aa1 authored almost 11 years ago by TJ Holowaychuk <[email protected]>
118a4a8a20c4eed58c61601435e5e73ee774e9cf authored almost 11 years ago by TJ Holowaychuk <[email protected]>
44accc41be29162cd879a4242b55fc1ad2442489 authored almost 11 years ago by Jonathan Ong <[email protected]>
Change ctx.cookie to ctx.cookies
72bf8798df1c9ce5b57dcabc2f70b27a4e07f9c0 authored almost 11 years ago by Jonathan Ong <[email protected]>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]>414133f60b6c0b1cf40b6bb8b0261b23276fbb98 authored almost 11 years ago by Jonathan Ong <[email protected]>
such as spaces, commas, and semicolons. closes #24, see
https://github.com/koajs/csrf/issues/4
916fc71208ee90163a0d20f972576cb7b5e7de65 authored almost 11 years ago by Jonathan Ong <[email protected]>
4c1421c6a9dc887024936bb4ff79145ab8c4771f authored almost 11 years ago by Jonathan Ong <[email protected]>
e9bdd2b3ed8ef2c58a083ef91d42e7cffc9f341d authored about 11 years ago by Jonathan Ong <[email protected]>
docs: update app.use signature
ac8810b967f0fe33146ac7de46b83a54c3e1c6d5 authored about 11 years ago by Jonathan Ong <[email protected]>d9af3b9276d4aff758db8efb2a77c999de55c400 authored about 11 years ago by Julian Gruber <[email protected]>
d8152e6c1f84c37b2166ff593a217038a103ee3d authored about 11 years ago by Jonathan Ong <[email protected]>
998d5406fd1a74118218f9529ad89a5d2e95e291 authored about 11 years ago by TJ Holowaychuk <[email protected]>
fix readme
e58307151f6db246e44fc7053411a5893e1dd25a authored about 11 years ago by TJ Holowaychuk <[email protected]>81c99648e56fa1b66db604fcb708792c784679b1 authored about 11 years ago by haoxin <[email protected]>
edecf2a49a80896851a9e6d20a92edc7425ada6e authored about 11 years ago by Jonathan Ong <[email protected]>
e545554ac363ca3e2d359fad9307f9c103a28bc1 authored about 11 years ago by Jonathan Ong <[email protected]>
these are internal and don’t matter to the end user.
838b41863c60bc2880f18cc447c573bd7d131a32 authored about 11 years ago by Jonathan Ong <[email protected]>e263d8b9cc635267d1d2a46220ff46b4e383aef9 authored about 11 years ago by Jonathan Ong <[email protected]>
closes #17
c8acca9b8f60ffbd0bebcffca26d850fbf1c0178 authored about 11 years ago by Jonathan Ong <[email protected]>
connect’s cookie session doesn’t set any IDs itself.
IDs are pretty useless since sessions aren’...
closes #15
3a624009a2e7ecc802e2e663f92e21ce36b5511c authored about 11 years ago by Jonathan Ong <[email protected]>1a3a042a388dfb5c3ec27eec1847c6c2e59afce1 authored about 11 years ago by Jonathan Ong <[email protected]>
48582d21baf292b706226b94ab32dcb4b7d710d3 authored about 11 years ago by Jonathan Ong <[email protected]>
2abab9e7d60f1acef7ccc067e3b7cabc02f6cf17 authored about 11 years ago by TJ Holowaychuk <[email protected]>
d4d56f661381baedf186ff8937f2246b0a98062d authored about 11 years ago by TJ Holowaychuk <[email protected]>
3e6f2c64451907d04e2e406697d334b6073534c2 authored about 11 years ago by TJ Holowaychuk <[email protected]>
DUHHHhh... not sure why I was not thinking about this before haha much easier
than doing object....
1f8c6044cb88a84abf30d3aafac1f906e9329593 authored about 11 years ago by TJ Holowaychuk <[email protected]>
648b108404dd1e473281e8b03dd665381281f841 authored about 11 years ago by TJ Holowaychuk <[email protected]>
f34b4d790328ff21de58c1f23c3d9d1072b02982 authored about 11 years ago by TJ Holowaychuk <[email protected]>
78b296346b3eca2f78a91b7537c77a0ec2617152 authored about 11 years ago by TJ Holowaychuk <[email protected]>
49ce80c12424f2ae7c9a8f8142311919d4d4f965 authored about 11 years ago by TJ Holowaychuk <[email protected]>
df63a5ca392f0a228143251f82277ea7a1add9dd authored about 11 years ago by TJ Holowaychuk <[email protected]>
2e9cba3bf56170e2576d84db0b33b320057fd7a4 authored about 11 years ago by TJ Holowaychuk <[email protected]>
c25ecaa3da2868b12ca62a6d66305245b185a5b2 authored about 11 years ago by TJ Holowaychuk <[email protected]>
ed53eaf5e3ed863cf9ea6f87c03b6cb55d2ec438 authored about 11 years ago by TJ Holowaychuk <[email protected]>
c18f4af2247ba7bf86194db2b09f29844621f5fe authored about 11 years ago by TJ Holowaychuk <[email protected]>
f63f71caf4b1061abdfe46dbd7fedb3aa9f98864 authored about 11 years ago by TJ Holowaychuk <[email protected]>