forked from vikunja/vikunja
Compare commits
6 Commits
main
...
release/0.
Author | SHA1 | Date | |
---|---|---|---|
be88c69c04 | |||
27e39d2563 | |||
cfa51c63c2 | |||
eaa9b18d0e | |||
d92c469026 | |||
eb6327a147 |
36
.drone1.yml
36
.drone1.yml
|
@ -496,42 +496,6 @@ steps:
|
||||||
- tag
|
- tag
|
||||||
depends_on: [ build-os-packages ]
|
depends_on: [ build-os-packages ]
|
||||||
|
|
||||||
- name: deb-structure
|
|
||||||
image: kolaente/reprepro
|
|
||||||
pull: true
|
|
||||||
environment:
|
|
||||||
GPG_PRIVATE_KEY:
|
|
||||||
from_secret: gpg_privatekey
|
|
||||||
commands:
|
|
||||||
- export GPG_TTY=$(tty)
|
|
||||||
- gpg -qk
|
|
||||||
- echo "use-agent" >> ~/.gnupg/gpg.conf
|
|
||||||
- gpgconf --kill gpg-agent
|
|
||||||
- echo $GPG_PRIVATE_KEY > ~/frederik.gpg
|
|
||||||
- gpg --import ~/frederik.gpg
|
|
||||||
- mkdir debian/conf -p
|
|
||||||
- cp build/reprepro-dist-conf debian/conf/distributions
|
|
||||||
- ./mage-static release:reprepro
|
|
||||||
depends_on: [ build-os-packages ]
|
|
||||||
|
|
||||||
# Push the releases to our pseudo-s3-bucket
|
|
||||||
- name: release-deb
|
|
||||||
image: plugins/s3:1
|
|
||||||
pull: true
|
|
||||||
settings:
|
|
||||||
bucket: vikunja-releases
|
|
||||||
access_key:
|
|
||||||
from_secret: aws_access_key_id
|
|
||||||
secret_key:
|
|
||||||
from_secret: aws_secret_access_key
|
|
||||||
endpoint: https://s3.fr-par.scw.cloud
|
|
||||||
region: fr-par
|
|
||||||
path_style: true
|
|
||||||
strip_prefix: debian
|
|
||||||
source: debian/*/*/*/*/*
|
|
||||||
target: /deb/
|
|
||||||
depends_on: [ deb-structure ]
|
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
name: deploy-docs
|
name: deploy-docs
|
||||||
|
|
|
@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
|
|
||||||
All releases can be found on https://code.vikunja.io/api/releases.
|
All releases can be found on https://code.vikunja.io/api/releases.
|
||||||
|
|
||||||
|
## [0.16.1] - 2021-04-22
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
* Fix checking list rights when accessing a bucket
|
||||||
|
* Remove old deb-structure ci step
|
||||||
|
* Fix docker from
|
||||||
|
|
||||||
## [0.16.0] - 2021-01-10
|
## [0.16.0] - 2021-01-10
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
|
|
||||||
##############
|
##############
|
||||||
# Build stage
|
# Build stage
|
||||||
FROM golang:1-alpine AS build-env
|
FROM golang:1-alpine3.12 AS build-env
|
||||||
|
|
||||||
ARG VIKUNJA_VERSION
|
ARG VIKUNJA_VERSION
|
||||||
ENV TAGS "sqlite"
|
ENV TAGS "sqlite"
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
[![Build Status](https://drone.kolaente.de/api/badges/vikunja/api/status.svg)](https://drone.kolaente.de/vikunja/api)
|
[![Build Status](https://drone.kolaente.de/api/badges/vikunja/api/status.svg)](https://drone.kolaente.de/vikunja/api)
|
||||||
[![License: AGPL v3](https://img.shields.io/badge/License-AGPL%20v3-blue.svg)](LICENSE)
|
[![License: AGPL v3](https://img.shields.io/badge/License-AGPL%20v3-blue.svg)](LICENSE)
|
||||||
[![Download](https://img.shields.io/badge/download-v0.16.0-brightgreen.svg)](https://dl.vikunja.io)
|
[![Download](https://img.shields.io/badge/download-v0.16.1-brightgreen.svg)](https://dl.vikunja.io)
|
||||||
[![Docker Pulls](https://img.shields.io/docker/pulls/vikunja/api.svg)](https://hub.docker.com/r/vikunja/api/)
|
[![Docker Pulls](https://img.shields.io/docker/pulls/vikunja/api.svg)](https://hub.docker.com/r/vikunja/api/)
|
||||||
[![Swagger Docs](https://img.shields.io/badge/swagger-docs-brightgreen.svg)](https://try.vikunja.io/api/v1/docs)
|
[![Swagger Docs](https://img.shields.io/badge/swagger-docs-brightgreen.svg)](https://try.vikunja.io/api/v1/docs)
|
||||||
[![Go Report Card](https://goreportcard.com/badge/git.kolaente.de/vikunja/api)](https://goreportcard.com/report/git.kolaente.de/vikunja/api)
|
[![Go Report Card](https://goreportcard.com/badge/git.kolaente.de/vikunja/api)](https://goreportcard.com/report/git.kolaente.de/vikunja/api)
|
||||||
|
|
|
@ -99,6 +99,19 @@ func getDefaultBucket(s *xorm.Session, listID int64) (bucket *Bucket, err error)
|
||||||
// @Router /lists/{id}/buckets [get]
|
// @Router /lists/{id}/buckets [get]
|
||||||
func (b *Bucket) ReadAll(s *xorm.Session, auth web.Auth, search string, page int, perPage int) (result interface{}, resultCount int, numberOfTotalItems int64, err error) {
|
func (b *Bucket) ReadAll(s *xorm.Session, auth web.Auth, search string, page int, perPage int) (result interface{}, resultCount int, numberOfTotalItems int64, err error) {
|
||||||
|
|
||||||
|
list, err := GetListSimpleByID(s, b.ListID)
|
||||||
|
if err != nil {
|
||||||
|
return nil, 0, 0, err
|
||||||
|
}
|
||||||
|
|
||||||
|
can, _, err := list.CanRead(s, auth)
|
||||||
|
if err != nil {
|
||||||
|
return nil, 0, 0, err
|
||||||
|
}
|
||||||
|
if !can {
|
||||||
|
return nil, 0, 0, ErrGenericForbidden{}
|
||||||
|
}
|
||||||
|
|
||||||
// Note: I'm ignoring pagination for now since I've yet to figure out a way on how to make it work
|
// Note: I'm ignoring pagination for now since I've yet to figure out a way on how to make it work
|
||||||
// I'll probably just don't do it and instead make individual tasks archivable.
|
// I'll probably just don't do it and instead make individual tasks archivable.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user