Ecosyste.ms: OpenCollective

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

github.com/koajs/ctx-paginate

Augments Koa with ctx.paginate (forked from `express-paginate`)
https://github.com/koajs/ctx-paginate

Create FUNDING.yml

f978c1a07e3425ecc8181f8a2b3ead18852f6939 authored over 4 years ago by niftylettuce <[email protected]>
0.0.6

f3c59c3fd34ece976432119c70ae87abfad6a609 authored over 4 years ago by niftylettuce <[email protected]>
fix: fixed chat badge and link

2510805b613e730a7352375299c2737d6f7ecb9f authored over 4 years ago by niftylettuce <[email protected]>
0.0.5

9ecdece4927e0bbfcc1c6008d7a8242fed2e5326 authored over 4 years ago by niftylettuce <[email protected]>
chore: bump deps, fixed count -> countDocuments in README

5328b3289963159b8958f6bdffde7b25168afeed authored over 4 years ago by niftylettuce <[email protected]>
0.0.4

84a6d7f439dd36062264252a94dddaa0ee7f3ce9 authored over 5 years ago by niftylettuce <[email protected]>
docs: fixed badge

b36ed99f89e6b74072fccf5bfc958d389d4e89da authored over 5 years ago by niftylettuce <[email protected]>
Release 0.0.3

904b81b82b4ec4ceab4969aaec5b992e40281f71 authored almost 7 years ago by niftylettuce <[email protected]>
Fixed pagination bug

75a463221f88b137e1a5ad1934bff0ef1fac6cbe authored almost 7 years ago by niftylettuce <[email protected]>
Updated README

209d262365b18f1c98e1aacfa281c2bf77160260 authored about 7 years ago by niftylettuce <[email protected]>
Fixed typo

4e9f580750d7601132976953dd26ababc8b7c995 authored about 7 years ago by niftylettuce <[email protected]>
Merge pull request #1 from weisjohn/feature/readme-cleanup

docs: fix variable name reference, export paginate in template context

1b2f3fe3c068623c37a60c5e9cca06e75f9689ce authored about 8 years ago by niftylettuce <[email protected]>
docs: fix variable name reference, export paginate in template context

4a1e6d2c9f60a4159592522c227814f7de3afd6c authored about 8 years ago by John Weis <[email protected]>
Release 0.0.2

e7f3637583d5f483e28e5ff36e043a239f23bc82 authored about 8 years ago by Nick Baugh <[email protected]>
Swapped if/then in example

4c0fa083ed820c674864630a5e8284e7232e0bc1 authored about 8 years ago by Nick Baugh <[email protected]>
Fixed Slack link

6c63542c999a4bc36fe067e9a1f08fc850b1ad96 authored about 8 years ago by Nick Baugh <[email protected]>
Release 0.0.1

8f94ea8063ddba82aad43d850a57d2fc7d527707 authored about 8 years ago by Nick Baugh <[email protected]>
Release 0.2.2

91a3d4205112343e4ca311fc00bdb13d04c16c4d authored about 8 years ago by Nick Baugh <[email protected]>
Merge pull request #24 from idanto/hotfix/fix-negative-or-not-parsable-limit-bug

Hotfix/fix negative or not parsable limit bug

5ab3be677cad34c85c3922ea4c74edc364343f84 authored about 8 years ago by niftylettuce <[email protected]>
cover limit and page edge cases with tests

18a57b4ddfa0b15d9c1615edd4f2a342c5698bbc authored over 8 years ago by idantovi <[email protected]>
move the offset calculation after the negative limit check

7493923edea581313dc4d4ae3de82eda03bc1481 authored over 8 years ago by idantovi <[email protected]>
add default for non-parsable limit

85eea5aea9a3d32bdf125c2e2700dd680b006c1f authored over 8 years ago by idantovi <[email protected]>
Release 0.2.1

a34a719fcc308bd8d82b46a9d51dc3bf05faae09 authored over 8 years ago by Nick Baugh <[email protected]>
Merge pull request #23 from ultimate-tester/master

Fixed start and end bug

02187475ffe4a605728b208372b114506427e75a authored over 8 years ago by niftylettuce <[email protected]>
Fixed test

Page limit is now 5 to correctly test the current page being in the
middle of the buttons.

c4060f379ab8fd4b21c19a9f7421099d15ff14ea authored over 8 years ago by ultimate-tester <[email protected]>
Fixed start and end bug

The new calculation of start and end tries to keep to current page in
the middle of the buttons ...

bdebd288e0b2295336186fc4bef29eab5bd21e5a authored over 8 years ago by ultimate-tester <[email protected]>
Update Readme.md

cf460aaa2e22c50d018033421ba07a528ab72ac0 authored over 8 years ago by niftylettuce <[email protected]>
Update Readme.md

67ed2aac390dfc6c90f9c04d8075ac14c25ce4ec authored over 8 years ago by niftylettuce <[email protected]>
Typo fix

789b556331c4f26b8ba4a582f4f282d8c05d34ca authored over 8 years ago by niftylettuce <[email protected]>
Release 0.2.0

724c1bc72a00f988a712e68f6d040c25774f3ced authored over 8 years ago by Nick Baugh <[email protected]>
Merge pull request #19 from chadfurman/bugfix/allow-unlimited

Allow unlimited

b8fcb619eebb52427eadad00ffc0b364c3eb6812 authored over 8 years ago by niftylettuce <[email protected]>
forgot a spot where limit was being forced to 1

804f61049ba740129027fe4fb3dccddf2c445ca0 authored over 8 years ago by Chad Furman <[email protected]>
by forcing the limit to be greater than 0, and by using boolean logic to default the limit to 10 twice in the same conditional, we have effectively eliminated limit=0 and so every use of paginate MUST be paginated. It is now possible to say limit=0 in a query param to override the APIs limit

555db1b17f3bfd1fb2388b8e07ba4cd9765d0e4c authored over 8 years ago by Chad Furman <[email protected]>
Added history/changelog per #16

efc935d19fd92043e588f690b848de0ab86d57b4 authored almost 9 years ago by Nick Baugh <[email protected]>
Release 0.1.1

5fbf52952fb07655eccd879831e075f3c0a3783d authored almost 9 years ago by Nick Baugh <[email protected]>
Added `req.skip` (aliased to `req.offset`), which can be used in a query such as `Model.find().skip(req.skip)`

7fae77b3b7823553850c2ad35b428343c9b38687 authored almost 9 years ago by Nick Baugh <[email protected]>
Merge pull request #17 from hugoduraes/master

replace lodash library by used lodash modules

d994435acb46154af952eaec3d1adb91316689c0 authored almost 9 years ago by niftylettuce <[email protected]>
replace lodash library by used lodash modules

6759f9c19c0b64b7b99c9d1a4eb9e5e2f52d5e05 authored about 9 years ago by Hugo Durães <[email protected]>
Release 0.1.0

1ad79de003c386fbc5cbe54ab17da9df5f891cfb authored about 9 years ago by Nick Baugh <[email protected]>
Merge pull request #15 from khanghoang/master

Get array of page urls, resolve #14

c9d0c7520e80ca8e902045af9303fb8fe4168b21 authored about 9 years ago by niftylettuce <[email protected]>
update readme

0a89d689d498f3802a6695743507fff957aa2861 authored about 9 years ago by KhangHoang <[email protected]>
add function to get all page urls with limit

db2e71bf8ebd697a2349e3957694c1f91a045313 authored about 9 years ago by KhangHoang <[email protected]>
Merge pull request #13 from lukehesluke/master

Allow for multiple calls to middleware()

8c8a1f9b6df07095d96d392aecc42f2598661b97 authored about 9 years ago by niftylettuce <[email protected]>
Bumped version number

3c9297652c2d414d5ea6ddda3ccd30876063aabc authored about 9 years ago by Luke Winship <[email protected]>
Successive calls to middleware() should no longer mutate previous calls' limit / maxLimits

f6c4469fbd774e39d893d05826a66a0eee186986 authored about 9 years ago by Luke Winship <[email protected]>
Unit tests to demonstrate that calls to middleware() are impure in that they mutate previous calls' limit / maxLimits

04b7af5eb67249bb3411d0f11f5f8afd6897ffc5 authored about 9 years ago by Luke Winship <[email protected]>
Updated documentation to reflect API change in `mongoose-paginate`

637a9b68dd824bede66ea580b6a1acc4dedb9abf authored over 9 years ago by Nick Baugh <[email protected]>
Fixed tests

0f429125bbba3f7436d26a5e994419ed3e71b045 authored over 9 years ago by Nick Baugh <[email protected]>
Release 0.0.8

cf03aa8bfde49154bfe5595f2e5801adf5b6960d authored over 9 years ago by Nick Baugh <[email protected]>
Fixed typo for error thrown

ddf0f98092d80b4081b643e3e704ac5f76c44d53 authored almost 10 years ago by Nick Baugh <[email protected]>
Fixed readme

44939e64aceca03c3fd9322ee88f585d43a7a63e authored about 10 years ago by Nick Baugh <[email protected]>
Release 0.0.5

940a8cecc5f38676b625ac24c7bdee04a6ee6c62 authored about 10 years ago by Nick Baugh <[email protected]>
Merge branch 'master' of github.com:expressjs/express-paginate

100ec1d46db77ecd2621ee4969a340930e2cace2 authored about 10 years ago by Nick Baugh <[email protected]>
Added Carlo to list of contributors

4094735e2d34324bac38b6d50267fcc975ee2cb1 authored about 10 years ago by Nick Baugh <[email protected]>
Merge pull request #7 from B3rn475/master

Added NaN management

ddfa55015919030416a3c33db90e97cf121dbd11 authored about 10 years ago by Nick Baugh <[email protected]>
Fixed Typo

af8ed852c2f97633a11cbcfb71209ef6c48e4e1d authored about 10 years ago by Carlo Bernaschina <[email protected]>
Added page and limit to paginate object

7f8725837dd1c16cf2761b90e0557a5533d3f8d2 authored about 10 years ago by Carlo Bernaschina <[email protected]>
Added NaN management

425ff35e4a3293688e7964bc2f731db6f96f8c9a authored about 10 years ago by Carlo Bernaschina <[email protected]>
Added semicolons for @BrunoBernardino :sparkles:

ca6a4ef8f046885654b9b306d4f425cc9523923c authored about 10 years ago by Nick Baugh <[email protected]>
Release 0.0.4

4c1f8b201b0435c122a1a69c5200496f9b149731 authored about 10 years ago by Nick Baugh <[email protected]>
Added ability to add a `params` object to `.href` method

0c37a34674934615f27607a88322729f63a9e625 authored about 10 years ago by Nick Baugh <[email protected]>
Added semicolons, renamed functions

8f592d9d3786e1fec9b22dc317b14070869d9a14 authored about 10 years ago by Nick Baugh <[email protected]>
Removed 0.8.x from travis

722d5a9455a7ad90b38e55a03563f51c14814b83 authored over 10 years ago by Nick Baugh <[email protected]>
Testing travis and coveralls

ce3b1b3a5bb8769aa10c89fac525032bcef7e740 authored over 10 years ago by Nick Baugh <[email protected]>
added travis-ci, contributors, coveralls.io, license to readme

c1703572351c9c5330842acc2d1ad963a920f69e authored over 10 years ago by Nick Baugh <[email protected]>
Merge pull request #4 from mmarchini/master

Chage paginate.href(req) to use .originalUrl instead of url

edfd4c66e44a22e50b3777a0224d3988d52dd629 authored over 10 years ago by Nick Baugh <[email protected]>
Merge pull request #3 from esco/master

kick off testing with test for hasNextPages

5b5a08c8330dfc3aef519cfc71bf11c6ffcaf7df authored over 10 years ago by Nick Baugh <[email protected]>
removing query parameters from the url, so it won't duplicate when reappended

0731baaf050aa1c507baa020db9ae0bed7560cea authored over 10 years ago by Matheus Marchini <[email protected]>
chage paginate.href(req) to use .originalUrl instead of url

6e54dc3006fb5270acc5fc962c310fdbf4dc148f authored over 10 years ago by Matheus Marchini <[email protected]>
create wrapper for chai.should and add require flag to test commands

646b94026492604b309e81aaf347141eac66592d authored over 10 years ago by Esco Obong <[email protected]>
removed test commands from readme, added scripts based on jshttp style guid

798d29707be4d62cd02f9f3770383f112c804ae8 authored over 10 years ago by Esco Obong <[email protected]>
kick off testing with test for hasNextPages

7bf92df4acaa0d6b1f1cf0724dc0d3aa0e5d3b28 authored over 10 years ago by Esco Obong <[email protected]>
Fixed typo

c3a5ad551d1681f93486933c09ba4f7c12dc97d9 authored over 10 years ago by Nick Baugh <[email protected]>
Fixed .paginate incrementing

78e32b714a7c184e54acc20401a80a8b765c1e59 authored over 10 years ago by Nick Baugh <[email protected]>
Fixed jade example

2f5345b84cec0d12e4a33a91606e6dd8fef02355 authored over 10 years ago by Nick Baugh <[email protected]>
Fixed documentation

ecf42d93ca0bdef7d0277c703fd7549d1919e5e2 authored over 10 years ago by Nick Baugh <[email protected]>
Release 0.0.1

ec0067760f03ca3e43d75ab9dbafebc857e2899c authored over 10 years ago by Nick Baugh <[email protected]>