summaryrefslogtreecommitdiffstats
path: root/vendor/gitea.com/macaron
Commit message (Collapse)AuthorAgeFilesLines
* Allow common redis and leveldb connections (#12385)zeripath2020-09-284-419/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Allow common redis and leveldb connections Prevents multiple reopening of redis and leveldb connections to the same place by sharing connections. Further allows for more configurable redis connection type using the redisURI and a leveldbURI scheme. Signed-off-by: Andrew Thornton <art27@cantab.net> * add unit-test Signed-off-by: Andrew Thornton <art27@cantab.net> * as per @lunny Signed-off-by: Andrew Thornton <art27@cantab.net> * add test Signed-off-by: Andrew Thornton <art27@cantab.net> * Update modules/cache/cache_redis.go * Update modules/queue/queue_disk.go * Update modules/cache/cache_redis.go * Update modules/cache/cache_redis.go * Update modules/queue/unique_queue_disk.go * Update modules/queue/queue_disk.go * Update modules/queue/unique_queue_disk.go * Update modules/session/redis.go Co-authored-by: techknowlogick <techknowlogick@gitea.io> Co-authored-by: Lauris BH <lauris@nix.lv>
* Update gitea.com/macaron/i18n (#12806)zeripath2020-09-104-14/+46
| | | Signed-off-by: Andrew Thornton <art27@cantab.net>
* When reading expired sessions - expire them (#12686)zeripath2020-09-024-9/+27
| | | | | | | | | | | | | | | * When reading expired sessions - expire them Update to latest macaron/session following merge of https://gitea.com/macaron/session/pulls/11 Also remove old memory provider as 11 updates the memory provider to make it unnecessary. Signed-off-by: Andrew Thornton <art27@cantab.net> * and macaron/session/pulls/12 Signed-off-by: Andrew Thornton <art27@cantab.net>
* Macaron 1.5 (#12596)techknowlogick2020-08-2712-32/+81
| | | | | | | | | | | | | | * update macaron to v1.5 of fork * update macaron to v1.5 of fork * test gzip PR * add push method impl to context_tests * use proper gzip commit Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
* update: macaron cores,gzip,session (#10522)65432020-02-285-4/+48
| | | | Co-authored-by: zeripath <art27@cantab.net>
* update gitea.com/macaron/macaron to 1.4.0 (#9608)65432020-01-053-14/+12
|
* Move modules/gzip to gitea.com/macaron/gzip (#9058)Lunny Xiao2019-11-183-0/+409
| | | | | | * Move modules/gzip to gitea.com/macaron/gzip * Fix vendor
* Use gitea forked macaron (#7933)Tamal Saha2019-08-23107-0/+12861
Signed-off-by: Tamal Saha <tamal@appscode.com>