]> source.dussan.org Git - gitea.git/commit
Handle CORS requests (#6289)
authorTamal Saha <tamal@appscode.com>
Mon, 13 May 2019 15:38:53 +0000 (08:38 -0700)
committertechknowlogick <techknowlogick@gitea.io>
Mon, 13 May 2019 15:38:53 +0000 (11:38 -0400)
commit34d06f4c6b23dfc458d51e9e3827c9400a87e84d
treea68b3f707251a11383ff056debfb1a933c0729d2
parent6fb58a8cdcd76aa45902e50da8f2b450fe9d3d35
Handle CORS requests (#6289)
171 files changed:
custom/conf/app.ini.sample
docs/content/doc/advanced/config-cheat-sheet.en-us.md
go.mod
go.sum
integrations/cors_test.go [new file with mode: 0644]
modules/setting/cors.go [new file with mode: 0644]
modules/setting/setting.go
routers/api/v1/api.go
vendor/github.com/Unknwon/com/dir.go
vendor/github.com/Unknwon/com/go.mod [new file with mode: 0644]
vendor/github.com/Unknwon/com/go.sum [new file with mode: 0644]
vendor/github.com/Unknwon/com/html.go
vendor/github.com/Unknwon/com/http.go
vendor/github.com/Unknwon/com/math.go
vendor/github.com/Unknwon/com/regex.go
vendor/github.com/Unknwon/com/slice.go
vendor/github.com/go-macaron/cors/.gitignore [new file with mode: 0644]
vendor/github.com/go-macaron/cors/LICENSE [new file with mode: 0644]
vendor/github.com/go-macaron/cors/README.md [new file with mode: 0644]
vendor/github.com/go-macaron/cors/cors.go [new file with mode: 0644]
vendor/github.com/go-macaron/cors/go.mod [new file with mode: 0644]
vendor/github.com/go-macaron/cors/go.sum [new file with mode: 0644]
vendor/golang.org/x/crypto/acme/acme.go
vendor/golang.org/x/crypto/acme/autocert/autocert.go
vendor/golang.org/x/crypto/acme/jws.go
vendor/golang.org/x/crypto/blowfish/cipher.go
vendor/golang.org/x/crypto/cast5/cast5.go
vendor/golang.org/x/crypto/curve25519/curve25519.go
vendor/golang.org/x/crypto/curve25519/ladderstep_amd64.s
vendor/golang.org/x/crypto/curve25519/mul_amd64.s
vendor/golang.org/x/crypto/curve25519/square_amd64.s
vendor/golang.org/x/crypto/internal/chacha20/asm_arm64.s [new file with mode: 0644]
vendor/golang.org/x/crypto/internal/chacha20/chacha_arm64.go [new file with mode: 0644]
vendor/golang.org/x/crypto/internal/chacha20/chacha_noasm.go
vendor/golang.org/x/crypto/internal/chacha20/chacha_s390x.go
vendor/golang.org/x/crypto/internal/chacha20/chacha_s390x.s
vendor/golang.org/x/crypto/md4/md4.go
vendor/golang.org/x/crypto/openpgp/keys.go
vendor/golang.org/x/crypto/openpgp/packet/packet.go
vendor/golang.org/x/crypto/openpgp/packet/private_key.go
vendor/golang.org/x/crypto/openpgp/packet/signature.go
vendor/golang.org/x/crypto/openpgp/packet/userattribute.go
vendor/golang.org/x/crypto/openpgp/write.go
vendor/golang.org/x/crypto/poly1305/mac_noasm.go [new file with mode: 0644]
vendor/golang.org/x/crypto/poly1305/poly1305.go
vendor/golang.org/x/crypto/poly1305/sum_amd64.go
vendor/golang.org/x/crypto/poly1305/sum_amd64.s
vendor/golang.org/x/crypto/poly1305/sum_generic.go [new file with mode: 0644]
vendor/golang.org/x/crypto/poly1305/sum_noasm.go
vendor/golang.org/x/crypto/poly1305/sum_ref.go [deleted file]
vendor/golang.org/x/crypto/poly1305/sum_s390x.go
vendor/golang.org/x/crypto/poly1305/sum_s390x.s
vendor/golang.org/x/crypto/poly1305/sum_vmsl_s390x.s
vendor/golang.org/x/crypto/ssh/agent/client.go
vendor/golang.org/x/crypto/ssh/agent/keyring.go
vendor/golang.org/x/crypto/ssh/agent/server.go
vendor/golang.org/x/crypto/ssh/certs.go
vendor/golang.org/x/crypto/ssh/cipher.go
vendor/golang.org/x/crypto/ssh/client.go
vendor/golang.org/x/crypto/ssh/common.go
vendor/golang.org/x/crypto/ssh/handshake.go
vendor/golang.org/x/crypto/ssh/keys.go
vendor/golang.org/x/crypto/ssh/knownhosts/knownhosts.go
vendor/golang.org/x/crypto/ssh/messages.go
vendor/golang.org/x/crypto/ssh/server.go
vendor/golang.org/x/crypto/ssh/transport.go
vendor/golang.org/x/sys/cpu/byteorder.go [new file with mode: 0644]
vendor/golang.org/x/sys/cpu/cpu.go [new file with mode: 0644]
vendor/golang.org/x/sys/cpu/cpu_aix_ppc64.go [new file with mode: 0644]
vendor/golang.org/x/sys/cpu/cpu_arm.go [new file with mode: 0644]
vendor/golang.org/x/sys/cpu/cpu_gc_s390x.go [new file with mode: 0644]
vendor/golang.org/x/sys/cpu/cpu_gc_x86.go [new file with mode: 0644]
vendor/golang.org/x/sys/cpu/cpu_gccgo.c [new file with mode: 0644]
vendor/golang.org/x/sys/cpu/cpu_gccgo.go [new file with mode: 0644]
vendor/golang.org/x/sys/cpu/cpu_gccgo_s390x.go [new file with mode: 0644]
vendor/golang.org/x/sys/cpu/cpu_linux.go [new file with mode: 0644]
vendor/golang.org/x/sys/cpu/cpu_linux_arm64.go [new file with mode: 0644]
vendor/golang.org/x/sys/cpu/cpu_linux_ppc64x.go [new file with mode: 0644]
vendor/golang.org/x/sys/cpu/cpu_linux_s390x.go [new file with mode: 0644]
vendor/golang.org/x/sys/cpu/cpu_mips64x.go [new file with mode: 0644]
vendor/golang.org/x/sys/cpu/cpu_mipsx.go [new file with mode: 0644]
vendor/golang.org/x/sys/cpu/cpu_other_arm64.go [new file with mode: 0644]
vendor/golang.org/x/sys/cpu/cpu_s390x.s [new file with mode: 0644]
vendor/golang.org/x/sys/cpu/cpu_wasm.go [new file with mode: 0644]
vendor/golang.org/x/sys/cpu/cpu_x86.go [new file with mode: 0644]
vendor/golang.org/x/sys/cpu/cpu_x86.s [new file with mode: 0644]
vendor/golang.org/x/sys/unix/mkall.sh
vendor/golang.org/x/sys/unix/mkerrors.sh
vendor/golang.org/x/sys/unix/mksyscall.go
vendor/golang.org/x/sys/unix/sockcmsg_unix.go
vendor/golang.org/x/sys/unix/syscall_aix.go
vendor/golang.org/x/sys/unix/syscall_darwin.go
vendor/golang.org/x/sys/unix/syscall_linux.go
vendor/golang.org/x/sys/unix/syscall_linux_arm.go
vendor/golang.org/x/sys/unix/syscall_linux_arm64.go
vendor/golang.org/x/sys/unix/syscall_linux_riscv64.go
vendor/golang.org/x/sys/unix/syscall_openbsd.go
vendor/golang.org/x/sys/unix/syscall_unix.go
vendor/golang.org/x/sys/unix/types_darwin.go
vendor/golang.org/x/sys/unix/types_openbsd.go
vendor/golang.org/x/sys/unix/zerrors_linux_386.go
vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go
vendor/golang.org/x/sys/unix/zerrors_linux_arm.go
vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go
vendor/golang.org/x/sys/unix/zerrors_linux_mips.go
vendor/golang.org/x/sys/unix/zerrors_linux_mips64.go
vendor/golang.org/x/sys/unix/zerrors_linux_mips64le.go
vendor/golang.org/x/sys/unix/zerrors_linux_mipsle.go
vendor/golang.org/x/sys/unix/zerrors_linux_ppc64.go
vendor/golang.org/x/sys/unix/zerrors_linux_ppc64le.go
vendor/golang.org/x/sys/unix/zerrors_linux_riscv64.go
vendor/golang.org/x/sys/unix/zerrors_linux_s390x.go
vendor/golang.org/x/sys/unix/zerrors_linux_sparc64.go
vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64.go
vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64_gc.go
vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64_gccgo.go
vendor/golang.org/x/sys/unix/zsyscall_linux_386.go
vendor/golang.org/x/sys/unix/zsyscall_linux_amd64.go
vendor/golang.org/x/sys/unix/zsyscall_linux_arm.go
vendor/golang.org/x/sys/unix/zsyscall_linux_arm64.go
vendor/golang.org/x/sys/unix/zsyscall_linux_mips.go
vendor/golang.org/x/sys/unix/zsyscall_linux_mips64.go
vendor/golang.org/x/sys/unix/zsyscall_linux_mips64le.go
vendor/golang.org/x/sys/unix/zsyscall_linux_mipsle.go
vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64.go
vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64le.go
vendor/golang.org/x/sys/unix/zsyscall_linux_riscv64.go
vendor/golang.org/x/sys/unix/zsyscall_linux_s390x.go
vendor/golang.org/x/sys/unix/zsyscall_linux_sparc64.go
vendor/golang.org/x/sys/unix/zsysnum_linux_arm64.go
vendor/golang.org/x/sys/unix/zsysnum_linux_riscv64.go
vendor/golang.org/x/sys/unix/zsysnum_linux_sparc64.go
vendor/golang.org/x/sys/unix/ztypes_darwin_386.go
vendor/golang.org/x/sys/unix/ztypes_darwin_amd64.go
vendor/golang.org/x/sys/unix/ztypes_darwin_arm.go
vendor/golang.org/x/sys/unix/ztypes_darwin_arm64.go
vendor/golang.org/x/sys/unix/ztypes_linux_386.go
vendor/golang.org/x/sys/unix/ztypes_linux_amd64.go
vendor/golang.org/x/sys/unix/ztypes_linux_arm.go
vendor/golang.org/x/sys/unix/ztypes_linux_arm64.go
vendor/golang.org/x/sys/unix/ztypes_linux_mips.go
vendor/golang.org/x/sys/unix/ztypes_linux_mips64.go
vendor/golang.org/x/sys/unix/ztypes_linux_mips64le.go
vendor/golang.org/x/sys/unix/ztypes_linux_mipsle.go
vendor/golang.org/x/sys/unix/ztypes_linux_ppc64.go
vendor/golang.org/x/sys/unix/ztypes_linux_ppc64le.go
vendor/golang.org/x/sys/unix/ztypes_linux_riscv64.go
vendor/golang.org/x/sys/unix/ztypes_linux_s390x.go
vendor/golang.org/x/sys/unix/ztypes_linux_sparc64.go
vendor/golang.org/x/sys/unix/ztypes_openbsd_386.go
vendor/golang.org/x/sys/unix/ztypes_openbsd_amd64.go
vendor/golang.org/x/sys/unix/ztypes_openbsd_arm.go
vendor/golang.org/x/sys/windows/dll_windows.go
vendor/golang.org/x/sys/windows/security_windows.go
vendor/golang.org/x/sys/windows/svc/service.go
vendor/golang.org/x/sys/windows/svc/sys_386.s
vendor/golang.org/x/sys/windows/svc/sys_amd64.s
vendor/golang.org/x/sys/windows/syscall_windows.go
vendor/golang.org/x/sys/windows/types_windows.go
vendor/golang.org/x/sys/windows/zsyscall_windows.go
vendor/gopkg.in/ini.v1/.travis.yml
vendor/gopkg.in/ini.v1/Makefile
vendor/gopkg.in/ini.v1/README.md
vendor/gopkg.in/ini.v1/README_ZH.md [deleted file]
vendor/gopkg.in/ini.v1/file.go
vendor/gopkg.in/ini.v1/ini.go
vendor/gopkg.in/ini.v1/key.go
vendor/gopkg.in/ini.v1/parser.go
vendor/gopkg.in/ini.v1/section.go
vendor/gopkg.in/ini.v1/struct.go
vendor/modules.txt