├── vendor ├── github.com │ ├── spf13 │ │ ├── pflag │ │ │ ├── go.sum │ │ │ ├── .gitignore │ │ │ ├── go.mod │ │ │ └── .travis.yml │ │ ├── afero │ │ │ ├── .gitignore │ │ │ └── go.mod │ │ ├── cobra │ │ │ ├── command_notwin.go │ │ │ ├── .mailmap │ │ │ └── go.mod │ │ ├── cast │ │ │ ├── go.mod │ │ │ └── .travis.yml │ │ └── jwalterweatherman │ │ │ └── go.mod │ ├── willf │ │ └── bitset │ │ │ ├── go.sum │ │ │ ├── go.mod │ │ │ └── trailing_zeros_19.go │ ├── cespare │ │ └── xxhash │ │ │ └── v2 │ │ │ ├── go.sum │ │ │ ├── go.mod │ │ │ ├── .travis.yml │ │ │ └── xxhash_amd64.go │ ├── gorilla │ │ ├── websocket │ │ │ ├── go.sum │ │ │ ├── go.mod │ │ │ ├── AUTHORS │ │ │ └── trace_17.go │ │ ├── handlers │ │ │ ├── go.mod │ │ │ └── handlers_pre18.go │ │ ├── mux │ │ │ ├── go.mod │ │ │ └── AUTHORS │ │ └── schema │ │ │ └── .travis.yml │ ├── mattermost │ │ ├── ldap │ │ │ ├── .gitignore │ │ │ ├── doc.go │ │ │ └── go.mod │ │ ├── gosaml2 │ │ │ ├── .gitignore │ │ │ ├── .travis.yml │ │ │ └── run_test.sh │ │ ├── logr │ │ │ ├── .travis.yml │ │ │ ├── config.go │ │ │ └── go.mod │ │ ├── gorp │ │ │ └── .gitignore │ │ └── rsc │ │ │ ├── qr │ │ │ ├── Makefile │ │ │ └── coding │ │ │ │ └── Makefile │ │ │ └── gf256 │ │ │ └── Makefile │ ├── oov │ │ └── psd │ │ │ └── .gitignore │ ├── RoaringBitmap │ │ └── roaring │ │ │ ├── .gitmodules │ │ │ ├── .gitignore │ │ │ ├── clz.go │ │ │ ├── ctz.go │ │ │ ├── popcnt.go │ │ │ └── AUTHORS │ ├── hashicorp │ │ ├── go-hclog │ │ │ ├── .gitignore │ │ │ └── go.mod │ │ ├── go-plugin │ │ │ ├── .gitignore │ │ │ └── internal │ │ │ │ └── plugin │ │ │ │ ├── gen.go │ │ │ │ ├── grpc_controller.proto │ │ │ │ └── grpc_broker.proto │ │ ├── yamux │ │ │ ├── go.mod │ │ │ └── .gitignore │ │ ├── errwrap │ │ │ └── go.mod │ │ ├── golang-lru │ │ │ └── go.mod │ │ ├── hcl │ │ │ ├── go.mod │ │ │ ├── .gitignore │ │ │ ├── .travis.yml │ │ │ ├── go.sum │ │ │ ├── Makefile │ │ │ └── hcl │ │ │ │ └── parser │ │ │ │ └── error.go │ │ ├── go-multierror │ │ │ ├── go.mod │ │ │ ├── .travis.yml │ │ │ └── go.sum │ │ ├── go-sockaddr │ │ │ ├── doc.go │ │ │ ├── go.mod │ │ │ └── route_info_default.go │ │ ├── go-immutable-radix │ │ │ ├── go.mod │ │ │ ├── CHANGELOG.md │ │ │ ├── edges.go │ │ │ └── go.sum │ │ ├── memberlist │ │ │ └── todo.md │ │ └── go-msgpack │ │ │ └── codec │ │ │ ├── goversion_vendor_gte_go17.go │ │ │ ├── goversion_vendor_lt_go15.go │ │ │ ├── goversion_unexportedembeddedptr_lt_go110.go │ │ │ ├── goversion_unexportedembeddedptr_gte_go110.go │ │ │ ├── goversion_vendor_eq_go15.go │ │ │ ├── goversion_vendor_eq_go16.go │ │ │ ├── codecgen.go │ │ │ └── goversion_makemap_lt_go19.go │ ├── minio │ │ ├── sha256-simd │ │ │ ├── .gitignore │ │ │ ├── go.mod │ │ │ └── sha256blockSha_amd64.go │ │ ├── minio-go │ │ │ └── v7 │ │ │ │ ├── CNAME │ │ │ │ ├── .gitignore │ │ │ │ ├── staticcheck.conf │ │ │ │ ├── .golangci.yml │ │ │ │ └── pkg │ │ │ │ └── credentials │ │ │ │ └── credentials.sample │ │ └── md5-simd │ │ │ ├── go.mod │ │ │ └── go.sum │ ├── modern-go │ │ ├── reflect2 │ │ │ ├── reflect2_amd64.s │ │ │ ├── relfect2_386.s │ │ │ ├── relfect2_arm.s │ │ │ ├── relfect2_arm64.s │ │ │ ├── relfect2_mipsx.s │ │ │ ├── relfect2_s390x.s │ │ │ ├── relfect2_amd64p32.s │ │ │ ├── relfect2_mips64x.s │ │ │ ├── relfect2_ppc64x.s │ │ │ ├── .gitignore │ │ │ ├── go_below_17.go │ │ │ ├── go_above_17.go │ │ │ ├── .travis.yml │ │ │ ├── go_below_19.go │ │ │ └── go_above_19.go │ │ └── concurrent │ │ │ ├── .gitignore │ │ │ ├── .travis.yml │ │ │ ├── go_above_19.go │ │ │ ├── test.sh │ │ │ └── log.go │ ├── Masterminds │ │ ├── semver │ │ │ └── v3 │ │ │ │ ├── .gitignore │ │ │ │ └── go.mod │ │ └── squirrel │ │ │ ├── .gitignore │ │ │ └── go.mod │ ├── NYTimes │ │ └── gziphandler │ │ │ ├── .gitignore │ │ │ ├── go.mod │ │ │ └── .travis.yml │ ├── lann │ │ ├── builder │ │ │ ├── .gitignore │ │ │ └── .travis.yml │ │ └── ps │ │ │ ├── profile.sh │ │ │ └── README.md │ ├── uber │ │ └── jaeger-client-go │ │ │ ├── thrift │ │ │ ├── .nocover │ │ │ └── README.md │ │ │ ├── .gitmodules │ │ │ ├── .gitignore │ │ │ └── rpcmetrics │ │ │ └── README.md │ ├── wiggin77 │ │ ├── srslog │ │ │ ├── .gitignore │ │ │ ├── go.mod │ │ │ ├── logger.go │ │ │ └── .travis.yml │ │ ├── merror │ │ │ ├── go.mod │ │ │ ├── README.md │ │ │ └── .gitignore │ │ └── cfg │ │ │ ├── .travis.yml │ │ │ ├── go.mod │ │ │ ├── go.sum │ │ │ ├── .gitignore │ │ │ └── nocopy.go │ ├── corpix │ │ └── uarand │ │ │ ├── .gitignore │ │ │ └── .travis.yml │ ├── google │ │ ├── btree │ │ │ └── .travis.yml │ │ └── uuid │ │ │ ├── go.mod │ │ │ ├── .travis.yml │ │ │ ├── CONTRIBUTORS │ │ │ └── CONTRIBUTING.md │ ├── miekg │ │ └── dns │ │ │ ├── CODEOWNERS │ │ │ ├── AUTHORS │ │ │ ├── .gitignore │ │ │ ├── .codecov.yml │ │ │ ├── CONTRIBUTORS │ │ │ ├── version.go │ │ │ └── go.mod │ ├── prometheus │ │ ├── procfs │ │ │ ├── .gitignore │ │ │ ├── .golangci.yml │ │ │ ├── MAINTAINERS.md │ │ │ ├── go.mod │ │ │ └── NOTICE │ │ ├── client_golang │ │ │ └── prometheus │ │ │ │ ├── .gitignore │ │ │ │ └── README.md │ │ ├── client_model │ │ │ └── NOTICE │ │ └── common │ │ │ └── NOTICE │ ├── rs │ │ ├── cors │ │ │ ├── go.mod │ │ │ └── .travis.yml │ │ └── xid │ │ │ ├── go.mod │ │ │ ├── .travis.yml │ │ │ ├── hostid_darwin.go │ │ │ ├── hostid_freebsd.go │ │ │ ├── hostid_fallback.go │ │ │ └── hostid_linux.go │ ├── dgryski │ │ └── dgoogauth │ │ │ └── .travis.yml │ ├── russellhaering │ │ └── goxmldsig │ │ │ ├── .gitignore │ │ │ ├── .travis.yml │ │ │ └── run_test.sh │ ├── sirupsen │ │ └── logrus │ │ │ ├── .gitignore │ │ │ ├── terminal_check_js.go │ │ │ ├── terminal_check_appengine.go │ │ │ ├── terminal_check_no_terminal.go │ │ │ ├── terminal_check_solaris.go │ │ │ ├── terminal_check_unix.go │ │ │ ├── appveyor.yml │ │ │ ├── terminal_check_bsd.go │ │ │ ├── terminal_check_notappengine.go │ │ │ └── go.mod │ ├── francoispqt │ │ └── gojay │ │ │ ├── encode_number.go │ │ │ ├── .gitignore │ │ │ ├── gojay.png │ │ │ └── Makefile │ ├── glycerine │ │ └── go-unsnap-stream │ │ │ ├── unenc.txt │ │ │ ├── binary.dat │ │ │ ├── unenc.txt.snappy │ │ │ ├── binary.dat.snappy │ │ │ └── .gitignore │ ├── lib │ │ └── pq │ │ │ ├── .gitignore │ │ │ ├── go.mod │ │ │ ├── oid │ │ │ └── doc.go │ │ │ └── ssl_windows.go │ ├── opentracing │ │ └── opentracing-go │ │ │ ├── .gitignore │ │ │ └── go.mod │ ├── golang │ │ ├── snappy │ │ │ └── go.mod │ │ └── protobuf │ │ │ ├── AUTHORS │ │ │ ├── CONTRIBUTORS │ │ │ └── ptypes │ │ │ └── doc.go │ ├── reflog │ │ └── dateconstraints │ │ │ ├── .gitignore │ │ │ └── go.mod │ ├── fsnotify │ │ └── fsnotify │ │ │ ├── .gitattributes │ │ │ ├── go.mod │ │ │ ├── go.sum │ │ │ ├── .gitignore │ │ │ ├── .editorconfig │ │ │ └── open_mode_bsd.go │ ├── oklog │ │ └── run │ │ │ ├── go.mod │ │ │ └── .gitignore │ ├── pborman │ │ └── uuid │ │ │ ├── CONTRIBUTORS │ │ │ ├── go.mod │ │ │ ├── .travis.yml │ │ │ ├── go.sum │ │ │ └── CONTRIBUTING.md │ ├── steveyen │ │ └── gtreap │ │ │ ├── .gitignore │ │ │ └── go.mod │ ├── matttproud │ │ └── golang_protobuf_extensions │ │ │ ├── pbutil │ │ │ ├── .gitignore │ │ │ └── Makefile │ │ │ └── NOTICE │ ├── mitchellh │ │ ├── go-homedir │ │ │ └── go.mod │ │ ├── mapstructure │ │ │ ├── go.mod │ │ │ └── .travis.yml │ │ └── go-testing-interface │ │ │ ├── go.mod │ │ │ └── .travis.yml │ ├── json-iterator │ │ └── go │ │ │ ├── .codecov.yml │ │ │ ├── .gitignore │ │ │ ├── .travis.yml │ │ │ ├── test.sh │ │ │ └── go.mod │ ├── magiconair │ │ └── properties │ │ │ ├── go.mod │ │ │ ├── .gitignore │ │ │ └── .travis.yml │ ├── mschoch │ │ └── smat │ │ │ ├── go.mod │ │ │ └── .gitignore │ ├── josharian │ │ └── intern │ │ │ ├── go.mod │ │ │ └── README.md │ ├── klauspost │ │ └── cpuid │ │ │ └── go.mod │ ├── pelletier │ │ └── go-toml │ │ │ ├── .dockerignore │ │ │ ├── .gitignore │ │ │ ├── go.mod │ │ │ ├── PULL_REQUEST_TEMPLATE.md │ │ │ ├── fuzz.sh │ │ │ └── Dockerfile │ ├── blevesearch │ │ ├── segment │ │ │ ├── go.mod │ │ │ └── .gitignore │ │ ├── snowballstem │ │ │ ├── go.mod │ │ │ └── among.go │ │ ├── go-porterstemmer │ │ │ ├── go.mod │ │ │ └── .gitignore │ │ ├── mmap-go │ │ │ ├── .gitignore │ │ │ ├── go.mod │ │ │ └── go.sum │ │ ├── zap │ │ │ ├── v11 │ │ │ │ ├── .gitignore │ │ │ │ └── go.mod │ │ │ ├── v12 │ │ │ │ ├── .gitignore │ │ │ │ └── go.mod │ │ │ ├── v13 │ │ │ │ ├── .gitignore │ │ │ │ └── go.mod │ │ │ └── v14 │ │ │ │ ├── .gitignore │ │ │ │ └── go.mod │ │ └── bleve │ │ │ ├── analysis │ │ │ └── test_words.txt │ │ │ ├── index │ │ │ └── upsidedown │ │ │ │ └── benchmark_all.sh │ │ │ └── .gitignore │ ├── go-sql-driver │ │ └── mysql │ │ │ ├── go.mod │ │ │ └── .gitignore │ ├── jonboulle │ │ └── clockwork │ │ │ ├── go.mod │ │ │ └── .editorconfig │ ├── mattn │ │ ├── go-runewidth │ │ │ ├── go.mod │ │ │ ├── runewidth_appengine.go │ │ │ ├── runewidth_js.go │ │ │ ├── .travis.yml │ │ │ └── go.test.sh │ │ ├── go-isatty │ │ │ ├── doc.go │ │ │ ├── go.mod │ │ │ ├── renovate.json │ │ │ ├── go.sum │ │ │ ├── .travis.yml │ │ │ └── go.test.sh │ │ ├── go-colorable │ │ │ ├── go.mod │ │ │ ├── .travis.yml │ │ │ └── go.test.sh │ │ └── go-sqlite3 │ │ │ ├── .gitignore │ │ │ ├── sqlite3_solaris.go │ │ │ ├── sqlite3_opt_json1.go │ │ │ └── sqlite3_opt_fts5.go │ ├── segmentio │ │ └── backo-go │ │ │ ├── go.mod │ │ │ └── .gitmodules │ ├── throttled │ │ └── throttled │ │ │ ├── .gitignore │ │ │ └── doc.go │ ├── go-asn1-ber │ │ └── asn1-ber │ │ │ └── go.mod │ ├── vmihailenco │ │ ├── tagparser │ │ │ ├── go.mod │ │ │ ├── internal │ │ │ │ └── safe.go │ │ │ └── Makefile │ │ └── msgpack │ │ │ └── v5 │ │ │ ├── .prettierrc │ │ │ ├── Makefile │ │ │ ├── .golangci.yml │ │ │ └── safe.go │ ├── mailru │ │ └── easyjson │ │ │ ├── .gitignore │ │ │ ├── go.mod │ │ │ ├── go.sum │ │ │ └── .travis.yml │ ├── jmespath │ │ └── go-jmespath │ │ │ ├── .gitignore │ │ │ ├── go.mod │ │ │ └── .travis.yml │ ├── konsorten │ │ └── go-windows-terminal-sequences │ │ │ ├── go.mod │ │ │ └── sequences_dummy.go │ ├── nfnt │ │ └── resize │ │ │ └── .travis.yml │ ├── h2non │ │ └── go-is-svg │ │ │ ├── .gitignore │ │ │ └── .editorconfig │ ├── icrowley │ │ └── fake │ │ │ ├── glide.yaml │ │ │ ├── .travis.yml │ │ │ ├── glide.lock │ │ │ └── currencies.go │ ├── getsentry │ │ └── sentry-go │ │ │ └── .gitignore │ ├── philhofer │ │ └── fwd │ │ │ └── writer_appengine.go │ ├── disintegration │ │ └── imaging │ │ │ ├── go.mod │ │ │ ├── .travis.yml │ │ │ └── go.sum │ ├── olekukonko │ │ └── tablewriter │ │ │ ├── go.mod │ │ │ ├── .travis.yml │ │ │ ├── go.sum │ │ │ └── .gitignore │ ├── rwcarlsen │ │ └── goexif │ │ │ ├── exif │ │ │ ├── sample1.jpg │ │ │ └── README.md │ │ │ └── tiff │ │ │ └── sample1.tif │ ├── avct │ │ └── uasurfer │ │ │ └── .travis.yml │ ├── aws │ │ └── aws-sdk-go │ │ │ ├── NOTICE.txt │ │ │ ├── internal │ │ │ ├── ini │ │ │ │ ├── empty_token.go │ │ │ │ ├── comma_token.go │ │ │ │ └── fuzz.go │ │ │ ├── sdkrand │ │ │ │ └── read.go │ │ │ ├── sdkio │ │ │ │ ├── byte.go │ │ │ │ ├── io_go1.6.go │ │ │ │ └── io_go1.7.go │ │ │ ├── sdkmath │ │ │ │ └── floor.go │ │ │ └── strings │ │ │ │ └── strings.go │ │ │ ├── aws │ │ │ ├── signer │ │ │ │ └── v4 │ │ │ │ │ ├── options.go │ │ │ │ │ ├── request_context_go1.7.go │ │ │ │ │ └── request_context_go1.5.go │ │ │ ├── version.go │ │ │ ├── credentials │ │ │ │ └── example.ini │ │ │ ├── url.go │ │ │ ├── context_1_9.go │ │ │ └── jsonvalue.go │ │ │ └── service │ │ │ └── sts │ │ │ └── customizations.go │ ├── fatih │ │ └── color │ │ │ └── go.mod │ ├── stretchr │ │ ├── objx │ │ │ ├── go.mod │ │ │ ├── .gitignore │ │ │ └── security.go │ │ └── testify │ │ │ ├── require │ │ │ ├── require_forward.go.tmpl │ │ │ └── require.go.tmpl │ │ │ └── assert │ │ │ ├── assertion_format.go.tmpl │ │ │ └── assertion_forward.go.tmpl │ ├── jmoiron │ │ └── sqlx │ │ │ └── go.mod │ ├── pkg │ │ └── errors │ │ │ └── .travis.yml │ ├── armon │ │ └── go-metrics │ │ │ ├── .travis.yml │ │ │ ├── const_unix.go │ │ │ └── const_windows.go │ ├── beevik │ │ └── etree │ │ │ ├── .travis.yml │ │ │ └── CONTRIBUTORS │ ├── xtgo │ │ └── uuid │ │ │ └── AUTHORS │ ├── ssor │ │ └── bom │ │ │ └── .travis.yml │ ├── rudderlabs │ │ └── analytics-go │ │ │ ├── timeout_16.go │ │ │ └── .gitmodules │ ├── couchbase │ │ └── vellum │ │ │ └── go.mod │ ├── tylerb │ │ └── graceful │ │ │ ├── .travis.yml │ │ │ ├── signal_appengine.go │ │ │ ├── signal.go │ │ │ └── .gitignore │ ├── jaytaylor │ │ └── html2text │ │ │ └── .travis.yml │ ├── tinylib │ │ └── msgp │ │ │ └── msgp │ │ │ ├── advise_other.go │ │ │ └── purego.go │ ├── olivere │ │ └── elastic │ │ │ ├── config │ │ │ └── doc.go │ │ │ └── uritemplates │ │ │ └── utils.go │ └── hako │ │ └── durafmt │ │ └── .gitignore ├── google.golang.org │ ├── grpc │ │ ├── AUTHORS │ │ ├── GOVERNANCE.md │ │ ├── CODE-OF-CONDUCT.md │ │ └── install_gae.sh │ ├── protobuf │ │ ├── AUTHORS │ │ ├── CONTRIBUTORS │ │ ├── internal │ │ │ ├── flags │ │ │ │ ├── proto_legacy_disable.go │ │ │ │ └── proto_legacy_enable.go │ │ │ ├── impl │ │ │ │ └── codec_map_go112.go │ │ │ └── errors │ │ │ │ └── is_go113.go │ │ └── encoding │ │ │ └── prototext │ │ │ └── doc.go │ └── appengine │ │ ├── go.mod │ │ ├── internal │ │ ├── identity_flex.go │ │ ├── main_common.go │ │ └── main.go │ │ └── .travis.yml ├── golang.org │ └── x │ │ ├── net │ │ ├── http2 │ │ │ ├── .gitignore │ │ │ └── Makefile │ │ ├── AUTHORS │ │ ├── CONTRIBUTORS │ │ ├── internal │ │ │ └── socket │ │ │ │ ├── sys_darwin.go │ │ │ │ ├── empty.s │ │ │ │ ├── sys_linux_amd64.go │ │ │ │ ├── sys_linux_arm.go │ │ │ │ ├── sys_linux_arm64.go │ │ │ │ ├── sys_linux_mips.go │ │ │ │ ├── sys_linux_ppc64.go │ │ │ │ ├── sys_linux_mips64.go │ │ │ │ ├── sys_linux_mips64le.go │ │ │ │ ├── sys_linux_mipsle.go │ │ │ │ ├── sys_linux_ppc64le.go │ │ │ │ ├── sys_linux_riscv64.go │ │ │ │ ├── norace.go │ │ │ │ ├── iovec_stub.go │ │ │ │ └── msghdr_openbsd.go │ │ └── bpf │ │ │ └── setter.go │ │ ├── sys │ │ ├── unix │ │ │ ├── .gitignore │ │ │ ├── endian_big.go │ │ │ ├── endian_little.go │ │ │ ├── constants.go │ │ │ ├── syscall_darwin_386.1_11.go │ │ │ ├── syscall_darwin_amd64.1_11.go │ │ │ ├── syscall_darwin_arm.1_11.go │ │ │ ├── syscall_darwin_arm64.1_11.go │ │ │ └── syscall_linux_amd64_gc.go │ │ ├── AUTHORS │ │ ├── CONTRIBUTORS │ │ ├── cpu │ │ │ ├── cpu_other_arm.go │ │ │ ├── cpu_other_arm64.go │ │ │ ├── cpu_riscv64.go │ │ │ ├── cpu_mipsx.go │ │ │ ├── cpu_linux_noinit.go │ │ │ ├── cpu_gc_arm64.go │ │ │ └── cpu_gccgo_arm64.go │ │ └── windows │ │ │ ├── empty.s │ │ │ └── aliases.go │ │ ├── xerrors │ │ ├── codereview.cfg │ │ ├── go.mod │ │ ├── README │ │ └── internal │ │ │ └── internal.go │ │ ├── image │ │ ├── AUTHORS │ │ └── CONTRIBUTORS │ │ ├── text │ │ ├── AUTHORS │ │ ├── CONTRIBUTORS │ │ └── language │ │ │ └── go1_2.go │ │ ├── tools │ │ ├── AUTHORS │ │ ├── CONTRIBUTORS │ │ ├── go │ │ │ └── ast │ │ │ │ └── astutil │ │ │ │ └── util.go │ │ └── internal │ │ │ └── event │ │ │ └── doc.go │ │ └── crypto │ │ ├── AUTHORS │ │ └── CONTRIBUTORS ├── willnorris.com │ └── go │ │ ├── gifresize │ │ └── go.mod │ │ └── imageproxy │ │ ├── third_party │ │ └── http │ │ │ └── README │ │ └── .gitignore ├── go.uber.org │ ├── multierr │ │ ├── .gitignore │ │ ├── glide.yaml │ │ └── go.mod │ ├── atomic │ │ ├── .gitignore │ │ └── go.mod │ └── zap │ │ ├── go.mod │ │ └── checklicense.sh ├── go.etcd.io │ └── bbolt │ │ ├── .gitignore │ │ ├── go.mod │ │ ├── boltsync_unix.go │ │ ├── go.sum │ │ ├── bolt_linux.go │ │ ├── bolt_386.go │ │ ├── bolt_arm.go │ │ ├── bolt_amd64.go │ │ ├── bolt_ppc.go │ │ ├── bolt_arm64.go │ │ ├── bolt_mipsx.go │ │ ├── bolt_ppc64.go │ │ ├── bolt_s390x.go │ │ ├── bolt_ppc64le.go │ │ ├── bolt_riscv64.go │ │ ├── bolt_mips64x.go │ │ └── .travis.yml └── gopkg.in │ ├── natefinch │ └── lumberjack.v2 │ │ ├── .travis.yml │ │ └── chown.go │ ├── yaml.v2 │ ├── go.mod │ └── .travis.yml │ ├── yaml.v3 │ ├── go.mod │ └── .travis.yml │ ├── ini.v1 │ ├── .gitignore │ ├── codecov.yml │ └── Makefile │ ├── mail.v2 │ ├── doc.go │ └── .gitignore │ └── olivere │ └── elastic.v6 │ ├── run-es.sh │ └── logger.go ├── CODEOWNERS ├── bin └── .gitignore ├── tests ├── test.png ├── test.tiff ├── 10000x1.png ├── 1x10000.png ├── testgif.gif ├── testjpg.jpg ├── qa-data-graph.png ├── testplugin.tar.gz ├── testplugin2.tar.gz ├── Fake_Team_Import.zip ├── test-data-graph.png ├── orientation_test.jpeg ├── orientation_test_1.jpeg ├── orientation_test_2.jpeg ├── orientation_test_3.jpeg ├── orientation_test_4.jpeg ├── orientation_test_5.jpeg ├── orientation_test_6.jpeg ├── orientation_test_7.jpeg ├── orientation_test_8.jpeg ├── testplugin.tar.gz.sig ├── testplugin2.tar.gz.sig ├── 10000x1_expected_thumb.jpeg ├── 1x10000_expected_thumb.jpeg ├── development-public-key.gpg ├── 10000x1_expected_preview.jpeg ├── 1x10000_expected_preview.jpeg ├── test_expected_tiff_thumb.jpeg ├── test_expected_tiff_preview.jpeg ├── orientation_test_1_expected_thumb.jpeg ├── orientation_test_2_expected_thumb.jpeg ├── orientation_test_3_expected_thumb.jpeg ├── orientation_test_4_expected_thumb.jpeg ├── orientation_test_5_expected_thumb.jpeg ├── orientation_test_6_expected_thumb.jpeg ├── orientation_test_7_expected_thumb.jpeg ├── orientation_test_8_expected_thumb.jpeg ├── orientation_test_1_expected_preview.jpeg ├── orientation_test_2_expected_preview.jpeg ├── orientation_test_3_expected_preview.jpeg ├── orientation_test_4_expected_preview.jpeg ├── orientation_test_5_expected_preview.jpeg ├── orientation_test_6_expected_preview.jpeg ├── orientation_test_7_expected_preview.jpeg ├── orientation_test_8_expected_preview.jpeg └── test-hashtags.md ├── fonts └── nunito-bold.ttf ├── doc └── help │ └── README.md ├── .codecov.yml ├── CHANGELOG.md ├── config ├── default.go └── README.md ├── model ├── gitlab.go ├── channel_member_history.go ├── ldap.go └── builtin.go ├── services └── imageproxy │ └── error.go ├── app ├── constants.go └── server_license.go ├── testlib └── doc.go ├── store ├── sqlstore │ ├── init_test.go │ ├── job_store_test.go │ ├── audit_store_test.go │ ├── emoji_store_test.go │ ├── group_store_test.go │ ├── oauth_store_test.go │ ├── scheme_store_test.go │ ├── status_store_test.go │ ├── system_store_test.go │ ├── command_store_test.go │ ├── license_store_test.go │ ├── session_store_test.go │ ├── webhook_store_test.go │ ├── bot_store_test.go │ ├── file_info_store_test.go │ ├── reaction_store_test.go │ ├── role_store_test.go │ ├── compliance_store_test.go │ ├── plugin_store_test.go │ ├── thread_store_test.go │ ├── link_metadata_store_test.go │ ├── command_webhook_store_test.go │ ├── product_notices_store_test.go │ └── upload_session_store_test.go ├── searchlayer │ └── utils.go └── storetest │ └── storetestlib.go ├── templates ├── email_footer.html └── email_info.html ├── plugin └── checker │ └── internal │ └── test │ └── missing │ └── missing.go ├── scripts ├── test-xprog.sh └── prereq-check-enterprise.sh ├── jobs └── interfaces │ ├── indexer_interface.go │ ├── plugins_interface.go │ ├── active_users_interface.go │ ├── expirynotify_interface.go │ ├── migrations_interface.go │ └── product_notices_interface.go ├── einterfaces ├── jobs │ ├── ldap_sync.go │ ├── data_retention.go │ └── message_export.go ├── data_retention.go └── compliance.go ├── cmd └── mattermost │ └── commands │ └── version_test.go ├── utils └── hash.go └── api4 └── post_local.go /vendor/github.com/spf13/pflag/go.sum: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/willf/bitset/go.sum: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /CODEOWNERS: -------------------------------------------------------------------------------- 1 | /plugin/ @mattermost/toolkit 2 | -------------------------------------------------------------------------------- /vendor/github.com/cespare/xxhash/v2/go.sum: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/gorilla/websocket/go.sum: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/mattermost/ldap/.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/oov/psd/.gitignore: -------------------------------------------------------------------------------- 1 | output/ 2 | -------------------------------------------------------------------------------- /vendor/github.com/RoaringBitmap/roaring/.gitmodules: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/go-hclog/.gitignore: -------------------------------------------------------------------------------- 1 | .idea* -------------------------------------------------------------------------------- /vendor/github.com/minio/sha256-simd/.gitignore: -------------------------------------------------------------------------------- 1 | *.test -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/reflect2_amd64.s: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/relfect2_386.s: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/relfect2_arm.s: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/relfect2_arm64.s: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/relfect2_mipsx.s: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/relfect2_s390x.s: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/google.golang.org/grpc/AUTHORS: -------------------------------------------------------------------------------- 1 | Google Inc. 2 | -------------------------------------------------------------------------------- /vendor/github.com/Masterminds/semver/v3/.gitignore: -------------------------------------------------------------------------------- 1 | _fuzz/ -------------------------------------------------------------------------------- /vendor/github.com/NYTimes/gziphandler/.gitignore: -------------------------------------------------------------------------------- 1 | *.swp 2 | -------------------------------------------------------------------------------- /vendor/github.com/lann/builder/.gitignore: -------------------------------------------------------------------------------- 1 | *~ 2 | \#*# 3 | -------------------------------------------------------------------------------- /vendor/github.com/mattermost/gosaml2/.gitignore: -------------------------------------------------------------------------------- 1 | *.test 2 | -------------------------------------------------------------------------------- /vendor/github.com/minio/minio-go/v7/CNAME: -------------------------------------------------------------------------------- 1 | minio-go.min.io -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/relfect2_amd64p32.s: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/relfect2_mips64x.s: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/relfect2_ppc64x.s: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/pflag/.gitignore: -------------------------------------------------------------------------------- 1 | .idea/* 2 | 3 | -------------------------------------------------------------------------------- /vendor/github.com/uber/jaeger-client-go/thrift/.nocover: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/wiggin77/srslog/.gitignore: -------------------------------------------------------------------------------- 1 | .cover 2 | -------------------------------------------------------------------------------- /vendor/github.com/Masterminds/squirrel/.gitignore: -------------------------------------------------------------------------------- 1 | squirrel.test -------------------------------------------------------------------------------- /vendor/github.com/corpix/uarand/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | *~ 3 | -------------------------------------------------------------------------------- /vendor/github.com/google/btree/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | -------------------------------------------------------------------------------- /vendor/github.com/miekg/dns/CODEOWNERS: -------------------------------------------------------------------------------- 1 | * @miekg @tmthrgd 2 | -------------------------------------------------------------------------------- /vendor/github.com/prometheus/procfs/.gitignore: -------------------------------------------------------------------------------- 1 | /fixtures/ 2 | -------------------------------------------------------------------------------- /vendor/github.com/rs/cors/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/rs/cors 2 | -------------------------------------------------------------------------------- /vendor/github.com/rs/xid/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/rs/xid 2 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/http2/.gitignore: -------------------------------------------------------------------------------- 1 | *~ 2 | h2i/h2i 3 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/.gitignore: -------------------------------------------------------------------------------- 1 | _obj/ 2 | unix.test 3 | -------------------------------------------------------------------------------- /vendor/github.com/dgryski/dgoogauth/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | -------------------------------------------------------------------------------- /vendor/github.com/miekg/dns/AUTHORS: -------------------------------------------------------------------------------- 1 | Miek Gieben 2 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/concurrent/.gitignore: -------------------------------------------------------------------------------- 1 | /coverage.txt 2 | -------------------------------------------------------------------------------- /vendor/github.com/russellhaering/goxmldsig/.gitignore: -------------------------------------------------------------------------------- 1 | *.test 2 | -------------------------------------------------------------------------------- /vendor/github.com/sirupsen/logrus/.gitignore: -------------------------------------------------------------------------------- 1 | logrus 2 | vendor 3 | -------------------------------------------------------------------------------- /vendor/golang.org/x/xerrors/codereview.cfg: -------------------------------------------------------------------------------- 1 | issuerepo: golang/go 2 | -------------------------------------------------------------------------------- /vendor/github.com/francoispqt/gojay/encode_number.go: -------------------------------------------------------------------------------- 1 | package gojay 2 | -------------------------------------------------------------------------------- /vendor/github.com/glycerine/go-unsnap-stream/unenc.txt: -------------------------------------------------------------------------------- 1 | hello_snappy 2 | -------------------------------------------------------------------------------- /vendor/github.com/google/uuid/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/google/uuid 2 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/go-plugin/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | .idea 3 | -------------------------------------------------------------------------------- /vendor/github.com/lib/pq/.gitignore: -------------------------------------------------------------------------------- 1 | .db 2 | *.test 3 | *~ 4 | *.swp 5 | -------------------------------------------------------------------------------- /vendor/github.com/opentracing/opentracing-go/.gitignore: -------------------------------------------------------------------------------- 1 | coverage.txt 2 | -------------------------------------------------------------------------------- /bin/.gitignore: -------------------------------------------------------------------------------- 1 | # Folder required for build process 2 | * 3 | !.gitignore 4 | -------------------------------------------------------------------------------- /vendor/github.com/golang/snappy/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/golang/snappy 2 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/yamux/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/hashicorp/yamux 2 | -------------------------------------------------------------------------------- /vendor/github.com/lib/pq/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/lib/pq 2 | 3 | go 1.13 4 | -------------------------------------------------------------------------------- /vendor/github.com/miekg/dns/.gitignore: -------------------------------------------------------------------------------- 1 | *.6 2 | tags 3 | test.out 4 | a.out 5 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/.gitignore: -------------------------------------------------------------------------------- 1 | /vendor 2 | /coverage.txt 3 | -------------------------------------------------------------------------------- /vendor/github.com/reflog/dateconstraints/.gitignore: -------------------------------------------------------------------------------- 1 | .vscode 2 | .idea 3 | *.iml -------------------------------------------------------------------------------- /vendor/github.com/spf13/afero/.gitignore: -------------------------------------------------------------------------------- 1 | sftpfs/file1 2 | sftpfs/test/ 3 | -------------------------------------------------------------------------------- /vendor/github.com/wiggin77/merror/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/wiggin77/merror 2 | -------------------------------------------------------------------------------- /vendor/github.com/fsnotify/fsnotify/.gitattributes: -------------------------------------------------------------------------------- 1 | go.sum linguist-generated 2 | -------------------------------------------------------------------------------- /vendor/github.com/gorilla/handlers/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/gorilla/handlers 2 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/errwrap/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/hashicorp/errwrap 2 | -------------------------------------------------------------------------------- /vendor/github.com/oklog/run/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/oklog/run 2 | 3 | go 1.13 4 | -------------------------------------------------------------------------------- /vendor/github.com/pborman/uuid/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | Paul Borman 2 | -------------------------------------------------------------------------------- /vendor/github.com/steveyen/gtreap/.gitignore: -------------------------------------------------------------------------------- 1 | #* 2 | *~ 3 | *.test 4 | tmp 5 | 6 | -------------------------------------------------------------------------------- /vendor/golang.org/x/xerrors/go.mod: -------------------------------------------------------------------------------- 1 | module golang.org/x/xerrors 2 | 3 | go 1.11 4 | -------------------------------------------------------------------------------- /vendor/willnorris.com/go/gifresize/go.mod: -------------------------------------------------------------------------------- 1 | module willnorris.com/go/gifresize 2 | -------------------------------------------------------------------------------- /vendor/github.com/gorilla/mux/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/gorilla/mux 2 | 3 | go 1.12 4 | -------------------------------------------------------------------------------- /vendor/github.com/matttproud/golang_protobuf_extensions/pbutil/.gitignore: -------------------------------------------------------------------------------- 1 | cover.dat 2 | -------------------------------------------------------------------------------- /vendor/github.com/mitchellh/go-homedir/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/mitchellh/go-homedir 2 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/pflag/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/spf13/pflag 2 | 3 | go 1.12 4 | -------------------------------------------------------------------------------- /vendor/go.uber.org/multierr/.gitignore: -------------------------------------------------------------------------------- 1 | /vendor 2 | cover.html 3 | cover.out 4 | /bin 5 | -------------------------------------------------------------------------------- /tests/test.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tweichart/mattermost-server/master/tests/test.png -------------------------------------------------------------------------------- /vendor/github.com/json-iterator/go/.codecov.yml: -------------------------------------------------------------------------------- 1 | ignore: 2 | - "output_tests/.*" 3 | 4 | -------------------------------------------------------------------------------- /vendor/github.com/magiconair/properties/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/magiconair/properties 2 | -------------------------------------------------------------------------------- /vendor/github.com/mattermost/logr/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | sudo: false 3 | go: 4 | - 1.x -------------------------------------------------------------------------------- /vendor/github.com/minio/minio-go/v7/.gitignore: -------------------------------------------------------------------------------- 1 | *~ 2 | *.test 3 | validator 4 | golangci-lint -------------------------------------------------------------------------------- /vendor/github.com/mschoch/smat/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/mschoch/smat 2 | 3 | go 1.13 4 | -------------------------------------------------------------------------------- /vendor/github.com/willf/bitset/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/willf/bitset 2 | 3 | go 1.14 4 | -------------------------------------------------------------------------------- /vendor/go.etcd.io/bbolt/.gitignore: -------------------------------------------------------------------------------- 1 | *.prof 2 | *.test 3 | *.swp 4 | /bin/ 5 | cover.out 6 | -------------------------------------------------------------------------------- /tests/test.tiff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tweichart/mattermost-server/master/tests/test.tiff -------------------------------------------------------------------------------- /vendor/github.com/josharian/intern/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/josharian/intern 2 | 3 | go 1.5 4 | -------------------------------------------------------------------------------- /vendor/github.com/klauspost/cpuid/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/klauspost/cpuid 2 | 3 | go 1.12 4 | -------------------------------------------------------------------------------- /vendor/github.com/pelletier/go-toml/.dockerignore: -------------------------------------------------------------------------------- 1 | cmd/tomll/tomll 2 | cmd/tomljson/tomljson 3 | -------------------------------------------------------------------------------- /vendor/github.com/prometheus/client_golang/prometheus/.gitignore: -------------------------------------------------------------------------------- 1 | command-line-arguments.test 2 | -------------------------------------------------------------------------------- /vendor/github.com/steveyen/gtreap/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/steveyen/gtreap 2 | 3 | go 1.13 4 | -------------------------------------------------------------------------------- /vendor/github.com/wiggin77/merror/README.md: -------------------------------------------------------------------------------- 1 | # merror 2 | Multiple Error aggregator for Golang. 3 | -------------------------------------------------------------------------------- /vendor/github.com/wiggin77/srslog/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/wiggin77/srslog 2 | 3 | go 1.14 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/http2/Makefile: -------------------------------------------------------------------------------- 1 | curlimage: 2 | docker build -t gohttp2/curl . 3 | 4 | -------------------------------------------------------------------------------- /tests/10000x1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tweichart/mattermost-server/master/tests/10000x1.png -------------------------------------------------------------------------------- /tests/1x10000.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tweichart/mattermost-server/master/tests/1x10000.png -------------------------------------------------------------------------------- /tests/testgif.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tweichart/mattermost-server/master/tests/testgif.gif -------------------------------------------------------------------------------- /tests/testjpg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tweichart/mattermost-server/master/tests/testjpg.jpg -------------------------------------------------------------------------------- /vendor/github.com/blevesearch/segment/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/blevesearch/segment 2 | 3 | go 1.13 4 | -------------------------------------------------------------------------------- /vendor/github.com/cespare/xxhash/v2/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/cespare/xxhash/v2 2 | 3 | go 1.11 4 | -------------------------------------------------------------------------------- /vendor/github.com/francoispqt/gojay/.gitignore: -------------------------------------------------------------------------------- 1 | vendor 2 | *.out 3 | *.log 4 | *.test 5 | .vscode 6 | -------------------------------------------------------------------------------- /vendor/github.com/go-sql-driver/mysql/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/go-sql-driver/mysql 2 | 3 | go 1.10 4 | -------------------------------------------------------------------------------- /vendor/github.com/gorilla/websocket/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/gorilla/websocket 2 | 3 | go 1.12 4 | -------------------------------------------------------------------------------- /vendor/github.com/jonboulle/clockwork/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/jonboulle/clockwork 2 | 3 | go 1.13 4 | -------------------------------------------------------------------------------- /vendor/github.com/json-iterator/go/.gitignore: -------------------------------------------------------------------------------- 1 | /vendor 2 | /bug_test.go 3 | /coverage.txt 4 | /.idea 5 | -------------------------------------------------------------------------------- /vendor/github.com/mattn/go-runewidth/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/mattn/go-runewidth 2 | 3 | go 1.9 4 | -------------------------------------------------------------------------------- /vendor/github.com/minio/sha256-simd/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/minio/sha256-simd 2 | 3 | go 1.12 4 | -------------------------------------------------------------------------------- /vendor/github.com/prometheus/procfs/.golangci.yml: -------------------------------------------------------------------------------- 1 | --- 2 | linters: 3 | enable: 4 | - golint 5 | -------------------------------------------------------------------------------- /vendor/github.com/segmentio/backo-go/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/segmentio/backo-go 2 | 3 | go 1.13 4 | -------------------------------------------------------------------------------- /vendor/github.com/throttled/throttled/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | *.swp 3 | *.swo 4 | *.test 5 | *.out 6 | -------------------------------------------------------------------------------- /fonts/nunito-bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tweichart/mattermost-server/master/fonts/nunito-bold.ttf -------------------------------------------------------------------------------- /vendor/github.com/Masterminds/semver/v3/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/Masterminds/semver/v3 2 | 3 | go 1.12 4 | -------------------------------------------------------------------------------- /vendor/github.com/go-asn1-ber/asn1-ber/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/go-asn1-ber/asn1-ber 2 | 3 | go 1.13 4 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/golang-lru/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/hashicorp/golang-lru 2 | 3 | go 1.12 4 | -------------------------------------------------------------------------------- /vendor/github.com/vmihailenco/tagparser/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/vmihailenco/tagparser 2 | 3 | go 1.13 4 | -------------------------------------------------------------------------------- /vendor/willnorris.com/go/imageproxy/third_party/http/README: -------------------------------------------------------------------------------- 1 | Package http is based on a copy of net/http. 2 | -------------------------------------------------------------------------------- /tests/qa-data-graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tweichart/mattermost-server/master/tests/qa-data-graph.png -------------------------------------------------------------------------------- /tests/testplugin.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tweichart/mattermost-server/master/tests/testplugin.tar.gz -------------------------------------------------------------------------------- /tests/testplugin2.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tweichart/mattermost-server/master/tests/testplugin2.tar.gz -------------------------------------------------------------------------------- /vendor/github.com/blevesearch/snowballstem/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/blevesearch/snowballstem 2 | 3 | go 1.13 4 | -------------------------------------------------------------------------------- /vendor/github.com/mailru/easyjson/.gitignore: -------------------------------------------------------------------------------- 1 | .root 2 | *_easyjson.go 3 | *.iml 4 | .idea 5 | *.swp 6 | bin/* 7 | -------------------------------------------------------------------------------- /vendor/github.com/mattn/go-isatty/doc.go: -------------------------------------------------------------------------------- 1 | // Package isatty implements interface to isatty 2 | package isatty 3 | -------------------------------------------------------------------------------- /vendor/github.com/mitchellh/mapstructure/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/mitchellh/mapstructure 2 | 3 | go 1.14 4 | -------------------------------------------------------------------------------- /vendor/gopkg.in/natefinch/lumberjack.v2/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.8 5 | - 1.7 6 | - 1.6 -------------------------------------------------------------------------------- /tests/Fake_Team_Import.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tweichart/mattermost-server/master/tests/Fake_Team_Import.zip -------------------------------------------------------------------------------- /tests/test-data-graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tweichart/mattermost-server/master/tests/test-data-graph.png -------------------------------------------------------------------------------- /vendor/github.com/jmespath/go-jmespath/.gitignore: -------------------------------------------------------------------------------- 1 | /jpgo 2 | jmespath-fuzz.zip 3 | cpu.out 4 | go-jmespath.test 5 | -------------------------------------------------------------------------------- /vendor/github.com/matttproud/golang_protobuf_extensions/NOTICE: -------------------------------------------------------------------------------- 1 | Copyright 2012 Matt T. Proud (matt.proud@gmail.com) 2 | -------------------------------------------------------------------------------- /vendor/github.com/wiggin77/cfg/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | sudo: false 3 | before_script: 4 | - go vet ./... 5 | -------------------------------------------------------------------------------- /doc/help/README.md: -------------------------------------------------------------------------------- 1 | Please see Mattermost Documentation now at [http://docs.mattermost.com](http://docs.mattermost.com) 2 | -------------------------------------------------------------------------------- /tests/orientation_test.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tweichart/mattermost-server/master/tests/orientation_test.jpeg -------------------------------------------------------------------------------- /tests/orientation_test_1.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tweichart/mattermost-server/master/tests/orientation_test_1.jpeg -------------------------------------------------------------------------------- /tests/orientation_test_2.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tweichart/mattermost-server/master/tests/orientation_test_2.jpeg -------------------------------------------------------------------------------- /tests/orientation_test_3.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tweichart/mattermost-server/master/tests/orientation_test_3.jpeg -------------------------------------------------------------------------------- /tests/orientation_test_4.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tweichart/mattermost-server/master/tests/orientation_test_4.jpeg -------------------------------------------------------------------------------- /tests/orientation_test_5.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tweichart/mattermost-server/master/tests/orientation_test_5.jpeg -------------------------------------------------------------------------------- /tests/orientation_test_6.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tweichart/mattermost-server/master/tests/orientation_test_6.jpeg -------------------------------------------------------------------------------- /tests/orientation_test_7.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tweichart/mattermost-server/master/tests/orientation_test_7.jpeg -------------------------------------------------------------------------------- /tests/orientation_test_8.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tweichart/mattermost-server/master/tests/orientation_test_8.jpeg -------------------------------------------------------------------------------- /tests/testplugin.tar.gz.sig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tweichart/mattermost-server/master/tests/testplugin.tar.gz.sig -------------------------------------------------------------------------------- /tests/testplugin2.tar.gz.sig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tweichart/mattermost-server/master/tests/testplugin2.tar.gz.sig -------------------------------------------------------------------------------- /vendor/github.com/blevesearch/go-porterstemmer/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/blevesearch/go-porterstemmer 2 | 3 | go 1.13 4 | -------------------------------------------------------------------------------- /vendor/github.com/corpix/uarand/.travis.yml: -------------------------------------------------------------------------------- 1 | language: nix 2 | 3 | script: nix-shell --pure --command "make lint test" 4 | -------------------------------------------------------------------------------- /vendor/github.com/minio/minio-go/v7/staticcheck.conf: -------------------------------------------------------------------------------- 1 | checks = ["all", "-ST1005", "-ST1017", "-SA9004", "-ST1000", "-S1021"] -------------------------------------------------------------------------------- /vendor/github.com/pborman/uuid/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/pborman/uuid 2 | 3 | require github.com/google/uuid v1.0.0 4 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/hashicorp/hcl 2 | 3 | require github.com/davecgh/go-spew v1.1.1 4 | -------------------------------------------------------------------------------- /vendor/github.com/konsorten/go-windows-terminal-sequences/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/konsorten/go-windows-terminal-sequences 2 | -------------------------------------------------------------------------------- /vendor/github.com/lann/builder/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - '1.8' 5 | - '1.9' 6 | - '1.10' 7 | - tip 8 | -------------------------------------------------------------------------------- /vendor/github.com/mattermost/ldap/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Package ldap provides basic LDAP v3 functionality. 3 | */ 4 | package ldap 5 | -------------------------------------------------------------------------------- /vendor/github.com/mitchellh/go-testing-interface/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/mitchellh/go-testing-interface 2 | 3 | go 1.14 4 | -------------------------------------------------------------------------------- /vendor/github.com/nfnt/resize/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - "1.x" 5 | - "1.1" 6 | - "1.4" 7 | - "1.10" 8 | -------------------------------------------------------------------------------- /tests/10000x1_expected_thumb.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tweichart/mattermost-server/master/tests/10000x1_expected_thumb.jpeg -------------------------------------------------------------------------------- /tests/1x10000_expected_thumb.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tweichart/mattermost-server/master/tests/1x10000_expected_thumb.jpeg -------------------------------------------------------------------------------- /tests/development-public-key.gpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tweichart/mattermost-server/master/tests/development-public-key.gpg -------------------------------------------------------------------------------- /vendor/github.com/h2non/go-is-svg/.gitignore: -------------------------------------------------------------------------------- 1 | /bimg 2 | /bundle 3 | bin 4 | /*.jpg 5 | /*.png 6 | /*.webp 7 | /fixtures/*_out.* 8 | -------------------------------------------------------------------------------- /vendor/github.com/icrowley/fake/glide.yaml: -------------------------------------------------------------------------------- 1 | package: github.com/icrowley/fake 2 | import: 3 | - package: github.com/corpix/uarand 4 | -------------------------------------------------------------------------------- /vendor/github.com/vmihailenco/msgpack/v5/.prettierrc: -------------------------------------------------------------------------------- 1 | semi: false 2 | singleQuote: true 3 | proseWrap: always 4 | printWidth: 80 5 | -------------------------------------------------------------------------------- /tests/10000x1_expected_preview.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tweichart/mattermost-server/master/tests/10000x1_expected_preview.jpeg -------------------------------------------------------------------------------- /tests/1x10000_expected_preview.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tweichart/mattermost-server/master/tests/1x10000_expected_preview.jpeg -------------------------------------------------------------------------------- /tests/test_expected_tiff_thumb.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tweichart/mattermost-server/master/tests/test_expected_tiff_thumb.jpeg -------------------------------------------------------------------------------- /vendor/github.com/lann/ps/profile.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | go test -c 3 | ./ps.test -test.run=none -test.bench=$2 -test.$1profile=$1.profile 4 | -------------------------------------------------------------------------------- /vendor/github.com/magiconair/properties/.gitignore: -------------------------------------------------------------------------------- 1 | *.sublime-project 2 | *.sublime-workspace 3 | *.un~ 4 | *.swp 5 | .idea/ 6 | *.iml 7 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/cobra/command_notwin.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package cobra 4 | 5 | var preExecHookFn func(*Command) 6 | -------------------------------------------------------------------------------- /tests/test_expected_tiff_preview.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tweichart/mattermost-server/master/tests/test_expected_tiff_preview.jpeg -------------------------------------------------------------------------------- /vendor/github.com/uber/jaeger-client-go/.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "idl"] 2 | path = idl 3 | url = https://github.com/uber/jaeger-idl.git 4 | -------------------------------------------------------------------------------- /vendor/github.com/wiggin77/cfg/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/wiggin77/cfg 2 | 3 | go 1.12 4 | 5 | require github.com/wiggin77/merror v1.0.2 6 | -------------------------------------------------------------------------------- /vendor/github.com/mailru/easyjson/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/mailru/easyjson 2 | 3 | go 1.12 4 | 5 | require github.com/josharian/intern v1.0.0 6 | -------------------------------------------------------------------------------- /vendor/go.etcd.io/bbolt/go.mod: -------------------------------------------------------------------------------- 1 | module go.etcd.io/bbolt 2 | 3 | go 1.12 4 | 5 | require golang.org/x/sys v0.0.0-20200202164722-d101bd2416d5 6 | -------------------------------------------------------------------------------- /vendor/gopkg.in/yaml.v2/go.mod: -------------------------------------------------------------------------------- 1 | module "gopkg.in/yaml.v2" 2 | 3 | require ( 4 | "gopkg.in/check.v1" v0.0.0-20161208181325-20d25e280405 5 | ) 6 | -------------------------------------------------------------------------------- /vendor/gopkg.in/yaml.v3/go.mod: -------------------------------------------------------------------------------- 1 | module "gopkg.in/yaml.v3" 2 | 3 | require ( 4 | "gopkg.in/check.v1" v0.0.0-20161208181325-20d25e280405 5 | ) 6 | -------------------------------------------------------------------------------- /tests/orientation_test_1_expected_thumb.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tweichart/mattermost-server/master/tests/orientation_test_1_expected_thumb.jpeg -------------------------------------------------------------------------------- /tests/orientation_test_2_expected_thumb.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tweichart/mattermost-server/master/tests/orientation_test_2_expected_thumb.jpeg -------------------------------------------------------------------------------- /tests/orientation_test_3_expected_thumb.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tweichart/mattermost-server/master/tests/orientation_test_3_expected_thumb.jpeg -------------------------------------------------------------------------------- /tests/orientation_test_4_expected_thumb.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tweichart/mattermost-server/master/tests/orientation_test_4_expected_thumb.jpeg -------------------------------------------------------------------------------- /tests/orientation_test_5_expected_thumb.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tweichart/mattermost-server/master/tests/orientation_test_5_expected_thumb.jpeg -------------------------------------------------------------------------------- /tests/orientation_test_6_expected_thumb.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tweichart/mattermost-server/master/tests/orientation_test_6_expected_thumb.jpeg -------------------------------------------------------------------------------- /tests/orientation_test_7_expected_thumb.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tweichart/mattermost-server/master/tests/orientation_test_7_expected_thumb.jpeg -------------------------------------------------------------------------------- /tests/orientation_test_8_expected_thumb.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tweichart/mattermost-server/master/tests/orientation_test_8_expected_thumb.jpeg -------------------------------------------------------------------------------- /vendor/github.com/blevesearch/go-porterstemmer/.gitignore: -------------------------------------------------------------------------------- 1 | #* 2 | *.sublime-* 3 | *~ 4 | .#* 5 | .project 6 | .settings 7 | .DS_Store 8 | /testdata 9 | -------------------------------------------------------------------------------- /vendor/github.com/blevesearch/mmap-go/.gitignore: -------------------------------------------------------------------------------- 1 | *.out 2 | *.5 3 | *.6 4 | *.8 5 | *.swp 6 | _obj 7 | _test 8 | testdata 9 | /.idea 10 | *.iml -------------------------------------------------------------------------------- /.codecov.yml: -------------------------------------------------------------------------------- 1 | comment: 2 | layout: "diff, flags, files" 3 | require_changes: true 4 | branches: "!release*" 5 | 6 | ignore: 7 | - store/storetest 8 | -------------------------------------------------------------------------------- /tests/orientation_test_1_expected_preview.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tweichart/mattermost-server/master/tests/orientation_test_1_expected_preview.jpeg -------------------------------------------------------------------------------- /tests/orientation_test_2_expected_preview.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tweichart/mattermost-server/master/tests/orientation_test_2_expected_preview.jpeg -------------------------------------------------------------------------------- /tests/orientation_test_3_expected_preview.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tweichart/mattermost-server/master/tests/orientation_test_3_expected_preview.jpeg -------------------------------------------------------------------------------- /tests/orientation_test_4_expected_preview.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tweichart/mattermost-server/master/tests/orientation_test_4_expected_preview.jpeg -------------------------------------------------------------------------------- /tests/orientation_test_5_expected_preview.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tweichart/mattermost-server/master/tests/orientation_test_5_expected_preview.jpeg -------------------------------------------------------------------------------- /tests/orientation_test_6_expected_preview.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tweichart/mattermost-server/master/tests/orientation_test_6_expected_preview.jpeg -------------------------------------------------------------------------------- /tests/orientation_test_7_expected_preview.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tweichart/mattermost-server/master/tests/orientation_test_7_expected_preview.jpeg -------------------------------------------------------------------------------- /tests/orientation_test_8_expected_preview.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tweichart/mattermost-server/master/tests/orientation_test_8_expected_preview.jpeg -------------------------------------------------------------------------------- /vendor/github.com/blevesearch/mmap-go/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/blevesearch/mmap-go 2 | 3 | require golang.org/x/sys v0.0.0-20181221143128-b4a75ba826a6 4 | -------------------------------------------------------------------------------- /vendor/github.com/francoispqt/gojay/gojay.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tweichart/mattermost-server/master/vendor/github.com/francoispqt/gojay/gojay.png -------------------------------------------------------------------------------- /vendor/github.com/getsentry/sentry-go/.gitignore: -------------------------------------------------------------------------------- 1 | coverage.txt 2 | 3 | # Just my personal way of tracking stuff — Kamil 4 | FIXME.md 5 | TODO.md 6 | !NOTES.md -------------------------------------------------------------------------------- /vendor/github.com/jmespath/go-jmespath/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/jmespath/go-jmespath 2 | 3 | go 1.14 4 | 5 | require github.com/stretchr/testify v1.5.1 6 | -------------------------------------------------------------------------------- /vendor/github.com/minio/md5-simd/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/minio/md5-simd 2 | 3 | go 1.14 4 | 5 | require ( 6 | github.com/klauspost/cpuid v1.2.3 7 | ) 8 | -------------------------------------------------------------------------------- /vendor/github.com/philhofer/fwd/writer_appengine.go: -------------------------------------------------------------------------------- 1 | // +build appengine 2 | 3 | package fwd 4 | 5 | func unsafestr(s string) []byte { return []byte(s) } 6 | -------------------------------------------------------------------------------- /vendor/github.com/RoaringBitmap/roaring/.gitignore: -------------------------------------------------------------------------------- 1 | *~ 2 | roaring-fuzz.zip 3 | workdir 4 | coverage.out 5 | testdata/all3.classic 6 | testdata/all3.msgp.snappy 7 | -------------------------------------------------------------------------------- /vendor/github.com/disintegration/imaging/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/disintegration/imaging 2 | 3 | require golang.org/x/image v0.0.0-20191009234506-e7c1f5e7dbb8 4 | -------------------------------------------------------------------------------- /vendor/github.com/google/uuid/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.4.3 5 | - 1.5.3 6 | - tip 7 | 8 | script: 9 | - go test -v ./... 10 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/.gitignore: -------------------------------------------------------------------------------- 1 | y.output 2 | 3 | # ignore intellij files 4 | .idea 5 | *.iml 6 | *.ipr 7 | *.iws 8 | 9 | *.test 10 | -------------------------------------------------------------------------------- /vendor/github.com/mattermost/gorp/.gitignore: -------------------------------------------------------------------------------- 1 | _test 2 | *.test 3 | _testmain.go 4 | _obj 5 | *~ 6 | *.6 7 | 6.out 8 | gorptest.bin 9 | tmp 10 | *.swp 11 | -------------------------------------------------------------------------------- /vendor/github.com/olekukonko/tablewriter/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/olekukonko/tablewriter 2 | 3 | go 1.12 4 | 5 | require github.com/mattn/go-runewidth v0.0.7 6 | -------------------------------------------------------------------------------- /vendor/github.com/prometheus/procfs/MAINTAINERS.md: -------------------------------------------------------------------------------- 1 | * Johannes 'fish' Ziemke @discordianfish 2 | * Paul Gier @pgier 3 | -------------------------------------------------------------------------------- /vendor/github.com/reflog/dateconstraints/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/reflog/dateconstraints 2 | 3 | go 1.14 4 | 5 | require github.com/stretchr/testify v1.6.1 6 | -------------------------------------------------------------------------------- /vendor/github.com/rs/xid/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go: 3 | - "1.9" 4 | - "1.10" 5 | - "master" 6 | matrix: 7 | allow_failures: 8 | - go: "master" 9 | -------------------------------------------------------------------------------- /vendor/github.com/sirupsen/logrus/terminal_check_js.go: -------------------------------------------------------------------------------- 1 | // +build js 2 | 3 | package logrus 4 | 5 | func isTerminal(fd int) bool { 6 | return false 7 | } 8 | -------------------------------------------------------------------------------- /vendor/gopkg.in/ini.v1/.gitignore: -------------------------------------------------------------------------------- 1 | testdata/conf_out.ini 2 | ini.sublime-project 3 | ini.sublime-workspace 4 | testdata/conf_reflect.ini 5 | .idea 6 | /.vscode 7 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # Mattermost Changelog 2 | 3 | Please see [Mattermost Changelog](http://docs.mattermost.com/administration/changelog.html) in product documentation. 4 | -------------------------------------------------------------------------------- /vendor/github.com/fsnotify/fsnotify/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/fsnotify/fsnotify 2 | 3 | go 1.13 4 | 5 | require golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9 6 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/go-multierror/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/hashicorp/go-multierror 2 | 3 | go 1.14 4 | 5 | require github.com/hashicorp/errwrap v1.0.0 6 | -------------------------------------------------------------------------------- /vendor/github.com/mattn/go-isatty/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/mattn/go-isatty 2 | 3 | go 1.12 4 | 5 | require golang.org/x/sys v0.0.0-20200116001909-b77594299b42 6 | -------------------------------------------------------------------------------- /vendor/github.com/mattn/go-isatty/renovate.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": [ 3 | "config:base" 4 | ], 5 | "postUpdateOptions": [ 6 | "gomodTidy" 7 | ] 8 | } 9 | -------------------------------------------------------------------------------- /vendor/github.com/pelletier/go-toml/.gitignore: -------------------------------------------------------------------------------- 1 | test_program/test_program_bin 2 | fuzz/ 3 | cmd/tomll/tomll 4 | cmd/tomljson/tomljson 5 | cmd/tomltestgen/tomltestgen 6 | -------------------------------------------------------------------------------- /vendor/github.com/rwcarlsen/goexif/exif/sample1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tweichart/mattermost-server/master/vendor/github.com/rwcarlsen/goexif/exif/sample1.jpg -------------------------------------------------------------------------------- /vendor/github.com/rwcarlsen/goexif/tiff/sample1.tif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tweichart/mattermost-server/master/vendor/github.com/rwcarlsen/goexif/tiff/sample1.tif -------------------------------------------------------------------------------- /vendor/golang.org/x/xerrors/README: -------------------------------------------------------------------------------- 1 | This repository holds the transition packages for the new Go 1.13 error values. 2 | See golang.org/design/29934-error-values. 3 | -------------------------------------------------------------------------------- /vendor/github.com/avct/uasurfer/.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | 3 | language: go 4 | 5 | go: 6 | - 1.9.x 7 | - 1.8.x 8 | 9 | script: 10 | - go test 11 | -------------------------------------------------------------------------------- /vendor/github.com/mattermost/rsc/qr/Makefile: -------------------------------------------------------------------------------- 1 | include $(GOROOT)/src/Make.inc 2 | TARG=rsc.googlecode.com/hg/qr 3 | GOFILES=qr.go png.go 4 | include $(GOROOT)/src/Make.pkg 5 | -------------------------------------------------------------------------------- /vendor/github.com/opentracing/opentracing-go/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/opentracing/opentracing-go 2 | 3 | go 1.14 4 | 5 | require github.com/stretchr/testify v1.3.0 6 | -------------------------------------------------------------------------------- /vendor/github.com/rs/cors/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go: 3 | - "1.10" 4 | - "1.11" 5 | - "1.12" 6 | - tip 7 | matrix: 8 | allow_failures: 9 | - go: tip 10 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go/NOTICE.txt: -------------------------------------------------------------------------------- 1 | AWS SDK for Go 2 | Copyright 2015 Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 | Copyright 2014-2015 Stripe, Inc. 4 | -------------------------------------------------------------------------------- /vendor/github.com/glycerine/go-unsnap-stream/binary.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tweichart/mattermost-server/master/vendor/github.com/glycerine/go-unsnap-stream/binary.dat -------------------------------------------------------------------------------- /vendor/github.com/go-sql-driver/mysql/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | .DS_Store? 3 | ._* 4 | .Spotlight-V100 5 | .Trashes 6 | Icon? 7 | ehthumbs.db 8 | Thumbs.db 9 | .idea 10 | -------------------------------------------------------------------------------- /vendor/github.com/mattermost/ldap/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/mattermost/ldap 2 | 3 | require github.com/go-asn1-ber/asn1-ber v1.3.2-0.20191121212151-29be175fc3a3 4 | 5 | go 1.13 6 | -------------------------------------------------------------------------------- /vendor/github.com/pborman/uuid/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - "1.9" 5 | - "1.10" 6 | - "1.11" 7 | - tip 8 | 9 | script: 10 | - go test -v ./... 11 | -------------------------------------------------------------------------------- /vendor/github.com/blevesearch/segment/.gitignore: -------------------------------------------------------------------------------- 1 | #* 2 | *.sublime-* 3 | *~ 4 | .#* 5 | .project 6 | .settings 7 | .DS_Store 8 | /maketesttables 9 | /workdir 10 | /segment-fuzz.zip -------------------------------------------------------------------------------- /vendor/github.com/glycerine/go-unsnap-stream/unenc.txt.snappy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tweichart/mattermost-server/master/vendor/github.com/glycerine/go-unsnap-stream/unenc.txt.snappy -------------------------------------------------------------------------------- /vendor/github.com/gorilla/handlers/handlers_pre18.go: -------------------------------------------------------------------------------- 1 | // +build !go1.8 2 | 3 | package handlers 4 | 5 | type loggingResponseWriter interface { 6 | commonLoggingResponseWriter 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/josharian/intern/README.md: -------------------------------------------------------------------------------- 1 | Docs: https://godoc.org/github.com/josharian/intern 2 | 3 | See also [Go issue 5160](https://golang.org/issue/5160). 4 | 5 | License: MIT 6 | -------------------------------------------------------------------------------- /vendor/github.com/minio/sha256-simd/sha256blockSha_amd64.go: -------------------------------------------------------------------------------- 1 | //+build !noasm,!appengine 2 | 3 | package sha256 4 | 5 | //go:noescape 6 | func blockSha(h *[8]uint32, message []uint8) 7 | -------------------------------------------------------------------------------- /vendor/google.golang.org/grpc/GOVERNANCE.md: -------------------------------------------------------------------------------- 1 | This repository is governed by the gRPC organization's [governance rules](https://github.com/grpc/grpc-community/blob/master/governance.md). 2 | -------------------------------------------------------------------------------- /vendor/github.com/cespare/xxhash/v2/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go: 3 | - "1.x" 4 | - master 5 | env: 6 | - TAGS="" 7 | - TAGS="-tags purego" 8 | script: go test $TAGS -v ./... 9 | -------------------------------------------------------------------------------- /vendor/github.com/glycerine/go-unsnap-stream/binary.dat.snappy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tweichart/mattermost-server/master/vendor/github.com/glycerine/go-unsnap-stream/binary.dat.snappy -------------------------------------------------------------------------------- /vendor/github.com/google/uuid/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | Paul Borman 2 | bmatsuo 3 | shawnps 4 | theory 5 | jboverfelt 6 | dsymonds 7 | cd1 8 | wallclockbuilder 9 | dansouza 10 | -------------------------------------------------------------------------------- /vendor/github.com/icrowley/fake/.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | language: go 3 | 4 | go: 5 | - 1.6 6 | - 1.7 7 | - 1.8 8 | - master 9 | - tip 10 | 11 | script: make test 12 | -------------------------------------------------------------------------------- /vendor/github.com/mitchellh/mapstructure/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - "1.14.x" 5 | - tip 6 | 7 | script: 8 | - go test 9 | - go test -bench . -benchmem 10 | -------------------------------------------------------------------------------- /vendor/github.com/russellhaering/goxmldsig/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - "1.6.x" 5 | - "1.7.x" 6 | - "1.8.x" 7 | - "1.9.x" 8 | - "1.10.x" 9 | - master 10 | -------------------------------------------------------------------------------- /vendor/github.com/fatih/color/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/fatih/color 2 | 3 | go 1.13 4 | 5 | require ( 6 | github.com/mattn/go-colorable v0.1.4 7 | github.com/mattn/go-isatty v0.0.11 8 | ) 9 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/go-sockaddr/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Package sockaddr is a Go implementation of the UNIX socket family data types and 3 | related helper functions. 4 | */ 5 | package sockaddr 6 | -------------------------------------------------------------------------------- /vendor/github.com/lib/pq/oid/doc.go: -------------------------------------------------------------------------------- 1 | // Package oid contains OID constants 2 | // as defined by the Postgres server. 3 | package oid 4 | 5 | // Oid is a Postgres Object ID. 6 | type Oid uint32 7 | -------------------------------------------------------------------------------- /vendor/github.com/mattermost/rsc/qr/coding/Makefile: -------------------------------------------------------------------------------- 1 | include $(GOROOT)/src/Make.inc 2 | 3 | TARG=rsc.googlecode.com/hg/qr/coding 4 | GOFILES=\ 5 | qr.go\ 6 | 7 | include $(GOROOT)/src/Make.pkg 8 | -------------------------------------------------------------------------------- /vendor/github.com/segmentio/backo-go/.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "vendor/github.com/bmizerany/assert"] 2 | path = vendor/github.com/bmizerany/assert 3 | url = https://github.com/bmizerany/assert 4 | -------------------------------------------------------------------------------- /vendor/go.uber.org/atomic/.gitignore: -------------------------------------------------------------------------------- 1 | /bin 2 | .DS_Store 3 | /vendor 4 | cover.html 5 | cover.out 6 | lint.log 7 | 8 | # Binaries 9 | *.test 10 | 11 | # Profiling output 12 | *.prof 13 | -------------------------------------------------------------------------------- /vendor/google.golang.org/grpc/CODE-OF-CONDUCT.md: -------------------------------------------------------------------------------- 1 | ## Community Code of Conduct 2 | 3 | gRPC follows the [CNCF Code of Conduct](https://github.com/cncf/foundation/blob/master/code-of-conduct.md). 4 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go/internal/ini/empty_token.go: -------------------------------------------------------------------------------- 1 | package ini 2 | 3 | // emptyToken is used to satisfy the Token interface 4 | var emptyToken = newToken(TokenNone, []rune{}, NoneType) 5 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/go-plugin/internal/plugin/gen.go: -------------------------------------------------------------------------------- 1 | //go:generate protoc -I ./ ./grpc_broker.proto ./grpc_controller.proto ./grpc_stdio.proto --go_out=plugins=grpc:. 2 | 3 | package plugin 4 | -------------------------------------------------------------------------------- /vendor/github.com/miekg/dns/.codecov.yml: -------------------------------------------------------------------------------- 1 | coverage: 2 | status: 3 | project: 4 | default: 5 | target: 40% 6 | threshold: null 7 | patch: false 8 | changes: false 9 | -------------------------------------------------------------------------------- /vendor/gopkg.in/ini.v1/codecov.yml: -------------------------------------------------------------------------------- 1 | coverage: 2 | range: "60...95" 3 | status: 4 | project: 5 | default: 6 | threshold: 1% 7 | 8 | comment: 9 | layout: 'diff, files' 10 | -------------------------------------------------------------------------------- /vendor/github.com/blevesearch/zap/v11/.gitignore: -------------------------------------------------------------------------------- 1 | #* 2 | *.sublime-* 3 | *~ 4 | .#* 5 | .project 6 | .settings 7 | **/.idea/ 8 | **/*.iml 9 | .DS_Store 10 | /cmd/zap/zap 11 | *.test 12 | tags 13 | -------------------------------------------------------------------------------- /vendor/github.com/blevesearch/zap/v12/.gitignore: -------------------------------------------------------------------------------- 1 | #* 2 | *.sublime-* 3 | *~ 4 | .#* 5 | .project 6 | .settings 7 | **/.idea/ 8 | **/*.iml 9 | .DS_Store 10 | /cmd/zap/zap 11 | *.test 12 | tags 13 | -------------------------------------------------------------------------------- /vendor/github.com/blevesearch/zap/v13/.gitignore: -------------------------------------------------------------------------------- 1 | #* 2 | *.sublime-* 3 | *~ 4 | .#* 5 | .project 6 | .settings 7 | **/.idea/ 8 | **/*.iml 9 | .DS_Store 10 | /cmd/zap/zap 11 | *.test 12 | tags 13 | -------------------------------------------------------------------------------- /vendor/github.com/blevesearch/zap/v14/.gitignore: -------------------------------------------------------------------------------- 1 | #* 2 | *.sublime-* 3 | *~ 4 | .#* 5 | .project 6 | .settings 7 | **/.idea/ 8 | **/*.iml 9 | .DS_Store 10 | /cmd/zap/zap 11 | *.test 12 | tags 13 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | 3 | language: go 4 | 5 | go: 6 | - 1.x 7 | - tip 8 | 9 | branches: 10 | only: 11 | - master 12 | 13 | script: make test 14 | -------------------------------------------------------------------------------- /vendor/github.com/matttproud/golang_protobuf_extensions/pbutil/Makefile: -------------------------------------------------------------------------------- 1 | all: 2 | 3 | cover: 4 | go test -cover -v -coverprofile=cover.dat ./... 5 | go tool cover -func cover.dat 6 | 7 | .PHONY: cover 8 | -------------------------------------------------------------------------------- /vendor/github.com/pborman/uuid/go.sum: -------------------------------------------------------------------------------- 1 | github.com/google/uuid v1.0.0 h1:b4Gk+7WdP/d3HZH8EJsZpvV7EtDOgaZLtnaNGIu1adA= 2 | github.com/google/uuid v1.0.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= 3 | -------------------------------------------------------------------------------- /vendor/github.com/stretchr/objx/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/stretchr/objx 2 | 3 | go 1.12 4 | 5 | require ( 6 | github.com/davecgh/go-spew v1.1.1 // indirect 7 | github.com/stretchr/testify v1.3.0 8 | ) 9 | -------------------------------------------------------------------------------- /vendor/github.com/NYTimes/gziphandler/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/NYTimes/gziphandler 2 | 3 | go 1.11 4 | 5 | require ( 6 | github.com/klauspost/compress v1.10.11 7 | github.com/stretchr/testify v1.3.0 8 | ) 9 | -------------------------------------------------------------------------------- /vendor/github.com/jmoiron/sqlx/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/jmoiron/sqlx 2 | 3 | require ( 4 | github.com/go-sql-driver/mysql v1.4.0 5 | github.com/lib/pq v1.0.0 6 | github.com/mattn/go-sqlite3 v1.9.0 7 | ) 8 | -------------------------------------------------------------------------------- /vendor/github.com/pkg/errors/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go_import_path: github.com/pkg/errors 3 | go: 4 | - 1.11.x 5 | - 1.12.x 6 | - 1.13.x 7 | - tip 8 | 9 | script: 10 | - make check 11 | -------------------------------------------------------------------------------- /vendor/github.com/rwcarlsen/goexif/exif/README.md: -------------------------------------------------------------------------------- 1 | 2 | To regenerate the regression test data, run `go generate` inside the exif 3 | package directory and commit the changes to *regress_expected_test.go*. 4 | 5 | -------------------------------------------------------------------------------- /vendor/github.com/throttled/throttled/doc.go: -------------------------------------------------------------------------------- 1 | // Package throttled implements rate limiting access to resources such 2 | // as HTTP endpoints. 3 | package throttled // import "github.com/throttled/throttled" 4 | -------------------------------------------------------------------------------- /config/default.go: -------------------------------------------------------------------------------- 1 | //go:generate go run config_generator/main.go 2 | 3 | // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. 4 | // See LICENSE.txt for license information. 5 | 6 | package config 7 | -------------------------------------------------------------------------------- /vendor/github.com/NYTimes/gziphandler/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go: 3 | - 1.x 4 | - tip 5 | env: 6 | - GO111MODULE=on 7 | install: 8 | - go mod download 9 | script: 10 | - go test -race -v 11 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/go-immutable-radix/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/hashicorp/go-immutable-radix 2 | 3 | require ( 4 | github.com/hashicorp/go-uuid v1.0.0 5 | github.com/hashicorp/golang-lru v0.5.0 6 | ) 7 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/go.sum: -------------------------------------------------------------------------------- 1 | github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= 2 | github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= 3 | -------------------------------------------------------------------------------- /vendor/github.com/minio/md5-simd/go.sum: -------------------------------------------------------------------------------- 1 | github.com/klauspost/cpuid v1.2.3 h1:CCtW0xUnWGVINKvE/WWOYKdsPV6mawAtvQuSl8guwQs= 2 | github.com/klauspost/cpuid v1.2.3/go.mod h1:Pj4uuM528wm8OyEC2QMXAi2YiTZ96dNQPGgoMS4s3ek= 3 | -------------------------------------------------------------------------------- /vendor/github.com/wiggin77/cfg/go.sum: -------------------------------------------------------------------------------- 1 | github.com/wiggin77/merror v1.0.2 h1:V0nH9eFp64ASyaXC+pB5WpvBoCg7NUwvaCSKdzlcHqw= 2 | github.com/wiggin77/merror v1.0.2/go.mod h1:uQTcIU0Z6jRK4OwqganPYerzQxSFJ4GSHM3aurxxQpg= 3 | -------------------------------------------------------------------------------- /vendor/golang.org/x/image/AUTHORS: -------------------------------------------------------------------------------- 1 | # This source code refers to The Go Authors for copyright purposes. 2 | # The master list of authors is in the main Go distribution, 3 | # visible at http://tip.golang.org/AUTHORS. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/AUTHORS: -------------------------------------------------------------------------------- 1 | # This source code refers to The Go Authors for copyright purposes. 2 | # The master list of authors is in the main Go distribution, 3 | # visible at http://tip.golang.org/AUTHORS. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | # This source code was written by the Go contributors. 2 | # The master list of contributors is in the main Go distribution, 3 | # visible at http://tip.golang.org/CONTRIBUTORS. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/AUTHORS: -------------------------------------------------------------------------------- 1 | # This source code refers to The Go Authors for copyright purposes. 2 | # The master list of authors is in the main Go distribution, 3 | # visible at http://tip.golang.org/AUTHORS. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | # This source code was written by the Go contributors. 2 | # The master list of contributors is in the main Go distribution, 3 | # visible at http://tip.golang.org/CONTRIBUTORS. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/text/AUTHORS: -------------------------------------------------------------------------------- 1 | # This source code refers to The Go Authors for copyright purposes. 2 | # The master list of authors is in the main Go distribution, 3 | # visible at http://tip.golang.org/AUTHORS. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/AUTHORS: -------------------------------------------------------------------------------- 1 | # This source code refers to The Go Authors for copyright purposes. 2 | # The master list of authors is in the main Go distribution, 3 | # visible at http://tip.golang.org/AUTHORS. 4 | -------------------------------------------------------------------------------- /vendor/gopkg.in/natefinch/lumberjack.v2/chown.go: -------------------------------------------------------------------------------- 1 | // +build !linux 2 | 3 | package lumberjack 4 | 5 | import ( 6 | "os" 7 | ) 8 | 9 | func chown(_ string, _ os.FileInfo) error { 10 | return nil 11 | } 12 | -------------------------------------------------------------------------------- /model/gitlab.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. 2 | // See LICENSE.txt for license information. 3 | 4 | package model 5 | 6 | const ( 7 | USER_AUTH_SERVICE_GITLAB = "gitlab" 8 | ) 9 | -------------------------------------------------------------------------------- /services/imageproxy/error.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. 2 | // See LICENSE.txt for license information. 3 | 4 | package imageproxy 5 | 6 | type Error struct { 7 | error 8 | } 9 | -------------------------------------------------------------------------------- /vendor/github.com/armon/go-metrics/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - "1.x" 5 | 6 | env: 7 | - GO111MODULE=on 8 | 9 | install: 10 | - go get ./... 11 | 12 | script: 13 | - go test ./... 14 | -------------------------------------------------------------------------------- /vendor/github.com/mailru/easyjson/go.sum: -------------------------------------------------------------------------------- 1 | github.com/josharian/intern v1.0.0 h1:vlS4z54oSdjm0bgjRigI+G1HpF+tI+9rE5LLzOg8HmY= 2 | github.com/josharian/intern v1.0.0/go.mod h1:5DoeVV0s6jJacbCEi61lwdGj/aVlrQvzHFFd8Hwg//Y= 3 | -------------------------------------------------------------------------------- /vendor/github.com/rs/xid/hostid_darwin.go: -------------------------------------------------------------------------------- 1 | // +build darwin 2 | 3 | package xid 4 | 5 | import "syscall" 6 | 7 | func readPlatformMachineID() (string, error) { 8 | return syscall.Sysctl("kern.uuid") 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/cobra/.mailmap: -------------------------------------------------------------------------------- 1 | Steve Francia 2 | Bjørn Erik Pedersen 3 | Fabiano Franz 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/crypto/AUTHORS: -------------------------------------------------------------------------------- 1 | # This source code refers to The Go Authors for copyright purposes. 2 | # The master list of authors is in the main Go distribution, 3 | # visible at https://tip.golang.org/AUTHORS. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/crypto/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | # This source code was written by the Go contributors. 2 | # The master list of contributors is in the main Go distribution, 3 | # visible at https://tip.golang.org/CONTRIBUTORS. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/image/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | # This source code was written by the Go contributors. 2 | # The master list of contributors is in the main Go distribution, 3 | # visible at http://tip.golang.org/CONTRIBUTORS. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/text/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | # This source code was written by the Go contributors. 2 | # The master list of contributors is in the main Go distribution, 3 | # visible at http://tip.golang.org/CONTRIBUTORS. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | # This source code was written by the Go contributors. 2 | # The master list of contributors is in the main Go distribution, 3 | # visible at http://tip.golang.org/CONTRIBUTORS. 4 | -------------------------------------------------------------------------------- /vendor/github.com/golang/protobuf/AUTHORS: -------------------------------------------------------------------------------- 1 | # This source code refers to The Go Authors for copyright purposes. 2 | # The master list of authors is in the main Go distribution, 3 | # visible at http://tip.golang.org/AUTHORS. 4 | -------------------------------------------------------------------------------- /vendor/github.com/golang/protobuf/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | # This source code was written by the Go contributors. 2 | # The master list of contributors is in the main Go distribution, 3 | # visible at http://tip.golang.org/CONTRIBUTORS. 4 | -------------------------------------------------------------------------------- /vendor/github.com/prometheus/client_golang/prometheus/README.md: -------------------------------------------------------------------------------- 1 | See [![go-doc](https://godoc.org/github.com/prometheus/client_golang/prometheus?status.svg)](https://godoc.org/github.com/prometheus/client_golang/prometheus). 2 | -------------------------------------------------------------------------------- /vendor/github.com/rs/xid/hostid_freebsd.go: -------------------------------------------------------------------------------- 1 | // +build freebsd 2 | 3 | package xid 4 | 5 | import "syscall" 6 | 7 | func readPlatformMachineID() (string, error) { 8 | return syscall.Sysctl("kern.hostuuid") 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/sirupsen/logrus/terminal_check_appengine.go: -------------------------------------------------------------------------------- 1 | // +build appengine 2 | 3 | package logrus 4 | 5 | import ( 6 | "io" 7 | ) 8 | 9 | func checkIfTerminal(w io.Writer) bool { 10 | return true 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/vmihailenco/msgpack/v5/Makefile: -------------------------------------------------------------------------------- 1 | all: 2 | go test ./... 3 | go test ./... -short -race 4 | go test ./... -run=NONE -bench=. -benchmem 5 | env GOOS=linux GOARCH=386 go test ./... 6 | golangci-lint run 7 | -------------------------------------------------------------------------------- /vendor/google.golang.org/protobuf/AUTHORS: -------------------------------------------------------------------------------- 1 | # This source code refers to The Go Authors for copyright purposes. 2 | # The master list of authors is in the main Go distribution, 3 | # visible at https://tip.golang.org/AUTHORS. 4 | -------------------------------------------------------------------------------- /vendor/gopkg.in/mail.v2/doc.go: -------------------------------------------------------------------------------- 1 | // Package gomail provides a simple interface to compose emails and to mail them 2 | // efficiently. 3 | // 4 | // More info on Github: https://github.com/go-mail/mail 5 | // 6 | package mail 7 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/go-multierror/.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | 3 | language: go 4 | 5 | go: 6 | - 1.x 7 | 8 | branches: 9 | only: 10 | - master 11 | 12 | script: env GO111MODULE=on make test testrace 13 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/go-multierror/go.sum: -------------------------------------------------------------------------------- 1 | github.com/hashicorp/errwrap v1.0.0 h1:hLrqtEDnRye3+sgx6z4qVLNuviH3MR5aQ0ykNJa/UYA= 2 | github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= 3 | -------------------------------------------------------------------------------- /vendor/github.com/mailru/easyjson/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - tip 5 | - stable 6 | 7 | matrix: 8 | allow_failures: 9 | - go: tip 10 | 11 | install: 12 | - go get golang.org/x/lint/golint 13 | -------------------------------------------------------------------------------- /vendor/github.com/mattn/go-runewidth/runewidth_appengine.go: -------------------------------------------------------------------------------- 1 | // +build appengine 2 | 3 | package runewidth 4 | 5 | // IsEastAsian return true if the current locale is CJK 6 | func IsEastAsian() bool { 7 | return false 8 | } 9 | -------------------------------------------------------------------------------- /vendor/github.com/mitchellh/go-testing-interface/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.x 5 | - tip 6 | 7 | script: 8 | - go test 9 | 10 | matrix: 11 | allow_failures: 12 | - go: tip 13 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/go_below_17.go: -------------------------------------------------------------------------------- 1 | //+build !go1.7 2 | 3 | package reflect2 4 | 5 | import "unsafe" 6 | 7 | func resolveTypeOff(rtype unsafe.Pointer, off int32) unsafe.Pointer { 8 | return nil 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/olekukonko/tablewriter/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.1 5 | - 1.2 6 | - 1.3 7 | - 1.4 8 | - 1.5 9 | - 1.6 10 | - 1.7 11 | - 1.8 12 | - 1.9 13 | - "1.10" 14 | - tip 15 | -------------------------------------------------------------------------------- /vendor/github.com/olekukonko/tablewriter/go.sum: -------------------------------------------------------------------------------- 1 | github.com/mattn/go-runewidth v0.0.7 h1:Ei8KR0497xHyKJPAv59M1dkC+rOZCMBJ+t3fZ+twI54= 2 | github.com/mattn/go-runewidth v0.0.7/go.mod h1:H031xJmbD/WCDINGzjvQ9THkh0rPKHF+m2gUSrubnMI= 3 | -------------------------------------------------------------------------------- /vendor/github.com/willf/bitset/trailing_zeros_19.go: -------------------------------------------------------------------------------- 1 | // +build go1.9 2 | 3 | package bitset 4 | 5 | import "math/bits" 6 | 7 | func trailingZeroes64(v uint64) uint { 8 | return uint(bits.TrailingZeros64(v)) 9 | } 10 | -------------------------------------------------------------------------------- /vendor/go.uber.org/multierr/glide.yaml: -------------------------------------------------------------------------------- 1 | package: go.uber.org/multierr 2 | import: 3 | - package: go.uber.org/atomic 4 | version: ^1 5 | testImport: 6 | - package: github.com/stretchr/testify 7 | subpackages: 8 | - assert 9 | -------------------------------------------------------------------------------- /vendor/google.golang.org/protobuf/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | # This source code was written by the Go contributors. 2 | # The master list of contributors is in the main Go distribution, 3 | # visible at https://tip.golang.org/CONTRIBUTORS. 4 | -------------------------------------------------------------------------------- /vendor/github.com/mattn/go-colorable/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/mattn/go-colorable 2 | 3 | require ( 4 | github.com/mattn/go-isatty v0.0.12 5 | golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae // indirect 6 | ) 7 | 8 | go 1.13 9 | -------------------------------------------------------------------------------- /vendor/github.com/prometheus/client_model/NOTICE: -------------------------------------------------------------------------------- 1 | Data model artifacts for Prometheus. 2 | Copyright 2012-2015 The Prometheus Authors 3 | 4 | This product includes software developed at 5 | SoundCloud Ltd. (http://soundcloud.com/). 6 | -------------------------------------------------------------------------------- /vendor/github.com/sirupsen/logrus/terminal_check_no_terminal.go: -------------------------------------------------------------------------------- 1 | // +build js nacl plan9 2 | 3 | package logrus 4 | 5 | import ( 6 | "io" 7 | ) 8 | 9 | func checkIfTerminal(w io.Writer) bool { 10 | return false 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/cast/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/spf13/cast 2 | 3 | require ( 4 | github.com/davecgh/go-spew v1.1.1 // indirect 5 | github.com/pmezard/go-difflib v1.0.0 // indirect 6 | github.com/stretchr/testify v1.2.2 7 | ) 8 | -------------------------------------------------------------------------------- /vendor/github.com/miekg/dns/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | Alex A. Skinner 2 | Andrew Tunnell-Jones 3 | Ask Bjørn Hansen 4 | Dave Cheney 5 | Dusty Wilson 6 | Marek Majkowski 7 | Peter van Dijk 8 | Omri Bahumi 9 | Alex Sergeyev 10 | James Hartig 11 | -------------------------------------------------------------------------------- /vendor/github.com/pelletier/go-toml/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/pelletier/go-toml 2 | 3 | go 1.12 4 | 5 | require ( 6 | github.com/BurntSushi/toml v0.3.1 7 | github.com/davecgh/go-spew v1.1.1 8 | gopkg.in/yaml.v2 v2.3.0 9 | ) 10 | -------------------------------------------------------------------------------- /vendor/github.com/prometheus/common/NOTICE: -------------------------------------------------------------------------------- 1 | Common libraries shared by Prometheus Go components. 2 | Copyright 2015 The Prometheus Authors 3 | 4 | This product includes software developed at 5 | SoundCloud Ltd. (http://soundcloud.com/). 6 | -------------------------------------------------------------------------------- /vendor/go.etcd.io/bbolt/boltsync_unix.go: -------------------------------------------------------------------------------- 1 | // +build !windows,!plan9,!linux,!openbsd 2 | 3 | package bbolt 4 | 5 | // fdatasync flushes written data to a file descriptor. 6 | func fdatasync(db *DB) error { 7 | return db.file.Sync() 8 | } 9 | -------------------------------------------------------------------------------- /app/constants.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. 2 | // See LICENSE.txt for license information. 3 | 4 | package app 5 | 6 | const MISSING_CHANNEL_MEMBER_ERROR = "app.channel.get_member.missing.app_error" 7 | -------------------------------------------------------------------------------- /vendor/github.com/mattn/go-sqlite3/.gitignore: -------------------------------------------------------------------------------- 1 | *.db 2 | *.exe 3 | *.dll 4 | *.o 5 | 6 | # VSCode 7 | .vscode 8 | 9 | # Exclude from upgrade 10 | upgrade/*.c 11 | upgrade/*.h 12 | 13 | # Exclude upgrade binary 14 | upgrade/upgrade 15 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/afero/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/spf13/afero 2 | 3 | require ( 4 | github.com/pkg/sftp v1.10.1 5 | golang.org/x/crypto v0.0.0-20190820162420-60c769a6c586 6 | golang.org/x/text v0.3.3 7 | ) 8 | 9 | go 1.13 10 | -------------------------------------------------------------------------------- /vendor/go.etcd.io/bbolt/go.sum: -------------------------------------------------------------------------------- 1 | golang.org/x/sys v0.0.0-20200202164722-d101bd2416d5 h1:LfCXLvNmTYH9kEmVgqbnsWfruoXZIrh4YBgqVHtDvw0= 2 | golang.org/x/sys v0.0.0-20200202164722-d101bd2416d5/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 3 | -------------------------------------------------------------------------------- /vendor/github.com/beevik/etree/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | sudo: false 3 | 4 | go: 5 | - 1.11.x 6 | - tip 7 | 8 | matrix: 9 | allow_failures: 10 | - go: tip 11 | 12 | script: 13 | - go vet ./... 14 | - go test -v ./... 15 | -------------------------------------------------------------------------------- /vendor/github.com/blevesearch/bleve/analysis/test_words.txt: -------------------------------------------------------------------------------- 1 | # full line comment 2 | marty 3 | steve # trailing comment 4 | | different format of comment 5 | dustin 6 | siri | different style trailing comment 7 | multiple words with different whitespace -------------------------------------------------------------------------------- /vendor/github.com/mattermost/logr/config.go: -------------------------------------------------------------------------------- 1 | package logr 2 | 3 | import ( 4 | "fmt" 5 | 6 | "github.com/wiggin77/cfg" 7 | ) 8 | 9 | func ConfigLogger(config *cfg.Config) error { 10 | return fmt.Errorf("Not implemented yet") 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/wiggin77/srslog/logger.go: -------------------------------------------------------------------------------- 1 | package srslog 2 | 3 | import ( 4 | "io/ioutil" 5 | "log" 6 | ) 7 | 8 | var Logger log.Logger 9 | 10 | func init() { 11 | Logger = log.Logger{} 12 | Logger.SetOutput(ioutil.Discard) 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/xtgo/uuid/AUTHORS: -------------------------------------------------------------------------------- 1 | # This source file refers to The gocql Authors for copyright purposes. 2 | 3 | Christoph Hack 4 | Jonathan Rudenberg 5 | Thorsten von Eicken 6 | -------------------------------------------------------------------------------- /vendor/github.com/fsnotify/fsnotify/go.sum: -------------------------------------------------------------------------------- 1 | golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9 h1:L2auWcuQIvxz9xSEqzESnV/QN/gNRXNApHi3fYwl2w0= 2 | golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 3 | -------------------------------------------------------------------------------- /vendor/github.com/magiconair/properties/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go: 3 | - 1.4.x 4 | - 1.5.x 5 | - 1.6.x 6 | - 1.7.x 7 | - 1.8.x 8 | - 1.9.x 9 | - "1.10.x" 10 | - "1.11.x" 11 | - "1.12.x" 12 | - tip 13 | -------------------------------------------------------------------------------- /vendor/github.com/mattn/go-isatty/go.sum: -------------------------------------------------------------------------------- 1 | golang.org/x/sys v0.0.0-20200116001909-b77594299b42 h1:vEOn+mP2zCOVzKckCZy6YsCtDblrpj/w7B9nxGNELpg= 2 | golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= 3 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/go_above_17.go: -------------------------------------------------------------------------------- 1 | //+build go1.7 2 | 3 | package reflect2 4 | 5 | import "unsafe" 6 | 7 | //go:linkname resolveTypeOff reflect.resolveTypeOff 8 | func resolveTypeOff(rtype unsafe.Pointer, off int32) unsafe.Pointer 9 | -------------------------------------------------------------------------------- /vendor/github.com/rs/xid/hostid_fallback.go: -------------------------------------------------------------------------------- 1 | // +build !darwin,!linux,!freebsd,!windows 2 | 3 | package xid 4 | 5 | import "errors" 6 | 7 | func readPlatformMachineID() (string, error) { 8 | return "", errors.New("not implemented") 9 | } 10 | -------------------------------------------------------------------------------- /vendor/google.golang.org/appengine/go.mod: -------------------------------------------------------------------------------- 1 | module google.golang.org/appengine 2 | 3 | go 1.11 4 | 5 | require ( 6 | github.com/golang/protobuf v1.3.1 7 | golang.org/x/net v0.0.0-20190603091049-60506f45cf65 8 | golang.org/x/text v0.3.2 9 | ) 10 | -------------------------------------------------------------------------------- /vendor/github.com/armon/go-metrics/const_unix.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package metrics 4 | 5 | import ( 6 | "syscall" 7 | ) 8 | 9 | const ( 10 | // DefaultSignal is used with DefaultInmemSignal 11 | DefaultSignal = syscall.SIGUSR1 12 | ) 13 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go/aws/signer/v4/options.go: -------------------------------------------------------------------------------- 1 | package v4 2 | 3 | // WithUnsignedPayload will enable and set the UnsignedPayload field to 4 | // true of the signer. 5 | func WithUnsignedPayload(v4 *Signer) { 6 | v4.UnsignedPayload = true 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/blevesearch/mmap-go/go.sum: -------------------------------------------------------------------------------- 1 | golang.org/x/sys v0.0.0-20181221143128-b4a75ba826a6 h1:IcgEB62HYgAhX0Nd/QrVgZlxlcyxbGQHElLUhW2X4Fo= 2 | golang.org/x/sys v0.0.0-20181221143128-b4a75ba826a6/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= 3 | -------------------------------------------------------------------------------- /vendor/github.com/mattermost/gosaml2/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.5.x 5 | - 1.6.x 6 | - 1.7.x 7 | - 1.8.x 8 | - 1.9.x 9 | - 1.10.x 10 | - 1.11.x 11 | - tip 12 | 13 | matrix: 14 | allow_failures: 15 | - go: tip 16 | -------------------------------------------------------------------------------- /vendor/github.com/ssor/bom/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go: 3 | - tip 4 | - 1.8 5 | - 1.7 6 | - 1.6 7 | - 1.5 8 | - 1.4 9 | - 1.3 10 | - 1.2 11 | notifications: 12 | email: 13 | on_success: change 14 | on_failure: always 15 | -------------------------------------------------------------------------------- /vendor/github.com/stretchr/testify/require/require_forward.go.tmpl: -------------------------------------------------------------------------------- 1 | {{.CommentWithoutT "a"}} 2 | func (a *Assertions) {{.DocInfo.Name}}({{.Params}}) { 3 | if h, ok := a.t.(tHelper); ok { h.Helper() } 4 | {{.DocInfo.Name}}(a.t, {{.ForwardedParams}}) 5 | } 6 | -------------------------------------------------------------------------------- /vendor/go.etcd.io/bbolt/bolt_linux.go: -------------------------------------------------------------------------------- 1 | package bbolt 2 | 3 | import ( 4 | "syscall" 5 | ) 6 | 7 | // fdatasync flushes written data to a file descriptor. 8 | func fdatasync(db *DB) error { 9 | return syscall.Fdatasync(int(db.file.Fd())) 10 | } 11 | -------------------------------------------------------------------------------- /testlib/doc.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. 2 | // See LICENSE.txt for license information. 3 | 4 | // Package testlib exposes helper methods for running unit tests against a containerized test store. 5 | package testlib 6 | -------------------------------------------------------------------------------- /vendor/github.com/mschoch/smat/.gitignore: -------------------------------------------------------------------------------- 1 | #* 2 | *.sublime-* 3 | *~ 4 | .#* 5 | .project 6 | .settings 7 | **/.idea/ 8 | **/*.iml 9 | /examples/bolt/boltsmat-fuzz.zip 10 | /examples/bolt/workdir/ 11 | .DS_Store 12 | coverage.out 13 | *.test 14 | tags 15 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/jwalterweatherman/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/spf13/jwalterweatherman 2 | 3 | require ( 4 | github.com/davecgh/go-spew v1.1.1 // indirect 5 | github.com/pmezard/go-difflib v1.0.0 // indirect 6 | github.com/stretchr/testify v1.2.2 7 | ) 8 | -------------------------------------------------------------------------------- /vendor/github.com/vmihailenco/tagparser/internal/safe.go: -------------------------------------------------------------------------------- 1 | // +build appengine 2 | 3 | package internal 4 | 5 | func BytesToString(b []byte) string { 6 | return string(b) 7 | } 8 | 9 | func StringToBytes(s string) []byte { 10 | return []byte(s) 11 | } 12 | -------------------------------------------------------------------------------- /config/README.md: -------------------------------------------------------------------------------- 1 | # config.json 2 | 3 | This is the system configuration file for your Mattermost server. Settings are specific to different editions of Mattermost. Please read the documentation before making changes: https://about.mattermost.com/default-config-docs/ 4 | -------------------------------------------------------------------------------- /vendor/github.com/fsnotify/fsnotify/.gitignore: -------------------------------------------------------------------------------- 1 | # Setup a Global .gitignore for OS and editor generated files: 2 | # https://help.github.com/articles/ignoring-files 3 | # git config --global core.excludesfile ~/.gitignore_global 4 | 5 | .vagrant 6 | *.sublime-project 7 | -------------------------------------------------------------------------------- /vendor/github.com/stretchr/testify/assert/assertion_format.go.tmpl: -------------------------------------------------------------------------------- 1 | {{.CommentFormat}} 2 | func {{.DocInfo.Name}}f(t TestingT, {{.ParamsFormat}}) bool { 3 | if h, ok := t.(tHelper); ok { h.Helper() } 4 | return {{.DocInfo.Name}}(t, {{.ForwardedParamsFormat}}) 5 | } 6 | -------------------------------------------------------------------------------- /vendor/github.com/stretchr/testify/assert/assertion_forward.go.tmpl: -------------------------------------------------------------------------------- 1 | {{.CommentWithoutT "a"}} 2 | func (a *Assertions) {{.DocInfo.Name}}({{.Params}}) bool { 3 | if h, ok := a.t.(tHelper); ok { h.Helper() } 4 | return {{.DocInfo.Name}}(a.t, {{.ForwardedParams}}) 5 | } 6 | -------------------------------------------------------------------------------- /vendor/github.com/stretchr/testify/require/require.go.tmpl: -------------------------------------------------------------------------------- 1 | {{.Comment}} 2 | func {{.DocInfo.Name}}(t TestingT, {{.Params}}) { 3 | if h, ok := t.(tHelper); ok { h.Helper() } 4 | if assert.{{.DocInfo.Name}}(t, {{.ForwardedParams}}) { return } 5 | t.FailNow() 6 | } 7 | -------------------------------------------------------------------------------- /vendor/github.com/json-iterator/go/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.8.x 5 | - 1.x 6 | 7 | before_install: 8 | - go get -t -v ./... 9 | 10 | script: 11 | - ./test.sh 12 | 13 | after_success: 14 | - bash <(curl -s https://codecov.io/bash) 15 | -------------------------------------------------------------------------------- /vendor/github.com/rs/xid/hostid_linux.go: -------------------------------------------------------------------------------- 1 | // +build linux 2 | 3 | package xid 4 | 5 | import "io/ioutil" 6 | 7 | func readPlatformMachineID() (string, error) { 8 | b, err := ioutil.ReadFile("/sys/class/dmi/id/product_uuid") 9 | return string(b), err 10 | } 11 | -------------------------------------------------------------------------------- /vendor/github.com/uber/jaeger-client-go/.gitignore: -------------------------------------------------------------------------------- 1 | *.out 2 | *.test 3 | *.xml 4 | *.swp 5 | .idea/ 6 | .tmp/ 7 | *.iml 8 | *.cov 9 | *.html 10 | *.log 11 | gen/thrift/js 12 | gen/thrift/py 13 | vendor/ 14 | crossdock-main 15 | crossdock/jaeger-docker-compose.yml 16 | -------------------------------------------------------------------------------- /vendor/go.etcd.io/bbolt/bolt_386.go: -------------------------------------------------------------------------------- 1 | package bbolt 2 | 3 | // maxMapSize represents the largest mmap size supported by Bolt. 4 | const maxMapSize = 0x7FFFFFFF // 2GB 5 | 6 | // maxAllocSize is the size used when creating array pointers. 7 | const maxAllocSize = 0xFFFFFFF 8 | -------------------------------------------------------------------------------- /vendor/go.etcd.io/bbolt/bolt_arm.go: -------------------------------------------------------------------------------- 1 | package bbolt 2 | 3 | // maxMapSize represents the largest mmap size supported by Bolt. 4 | const maxMapSize = 0x7FFFFFFF // 2GB 5 | 6 | // maxAllocSize is the size used when creating array pointers. 7 | const maxAllocSize = 0xFFFFFFF 8 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/memberlist/todo.md: -------------------------------------------------------------------------------- 1 | # TODO 2 | * Dynamic RTT discovery 3 | * Compute 99th percentile for ping/ack 4 | * Better lower bound for ping/ack, faster failure detection 5 | * Dynamic MTU discovery 6 | * Prevent lost updates, increases efficiency 7 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/concurrent/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.8.x 5 | - 1.x 6 | 7 | before_install: 8 | - go get -t -v ./... 9 | 10 | script: 11 | - ./test.sh 12 | 13 | after_success: 14 | - bash <(curl -s https://codecov.io/bash) 15 | -------------------------------------------------------------------------------- /vendor/github.com/pelletier/go-toml/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | **Issue:** add link to pelletier/go-toml issue here 2 | 3 | Explanation of what this pull request does. 4 | 5 | More detailed description of the decisions being made and the reasons why (if the patch is non-trivial). 6 | -------------------------------------------------------------------------------- /vendor/github.com/stretchr/objx/.gitignore: -------------------------------------------------------------------------------- 1 | # Binaries for programs and plugins 2 | *.exe 3 | *.dll 4 | *.so 5 | *.dylib 6 | 7 | # Test binary, build with `go test -c` 8 | *.test 9 | 10 | # Output of the go coverage tool, specifically when used with LiteIDE 11 | *.out 12 | -------------------------------------------------------------------------------- /vendor/github.com/vmihailenco/msgpack/v5/.golangci.yml: -------------------------------------------------------------------------------- 1 | run: 2 | concurrency: 8 3 | deadline: 5m 4 | tests: false 5 | linters: 6 | enable-all: true 7 | disable: 8 | - gochecknoglobals 9 | - gocognit 10 | - godox 11 | - wsl 12 | - funlen 13 | -------------------------------------------------------------------------------- /vendor/github.com/francoispqt/gojay/Makefile: -------------------------------------------------------------------------------- 1 | .PHONY: test 2 | test: 3 | go test -race -run=^Test -v 4 | 5 | .PHONY: cover 6 | cover: 7 | go test -coverprofile=coverage.out -covermode=atomic 8 | 9 | .PHONY: coverhtml 10 | coverhtml: 11 | go tool cover -html=coverage.out -------------------------------------------------------------------------------- /vendor/github.com/icrowley/fake/glide.lock: -------------------------------------------------------------------------------- 1 | hash: 9238b15272824ad573d8ef645fb468cb646b72598c63eae8977c3410ebfebe4a 2 | updated: 2017-07-23T15:10:00.972860398Z 3 | imports: 4 | - name: github.com/corpix/uarand 5 | version: 031be390f409fb4bac8fb299e3bcd101479f89f8 6 | testImports: [] 7 | -------------------------------------------------------------------------------- /vendor/github.com/jonboulle/clockwork/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | charset = utf-8 5 | end_of_line = lf 6 | indent_size = 4 7 | indent_style = space 8 | insert_final_newline = true 9 | trim_trailing_whitespace = true 10 | 11 | [*.go] 12 | indent_style = tab 13 | -------------------------------------------------------------------------------- /vendor/github.com/mattn/go-runewidth/runewidth_js.go: -------------------------------------------------------------------------------- 1 | // +build js 2 | // +build !appengine 3 | 4 | package runewidth 5 | 6 | func IsEastAsian() bool { 7 | // TODO: Implement this for the web. Detect east asian in a compatible way, and return true. 8 | return false 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/prometheus/procfs/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/prometheus/procfs 2 | 3 | go 1.12 4 | 5 | require ( 6 | github.com/google/go-cmp v0.3.1 7 | golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e 8 | golang.org/x/sys v0.0.0-20200106162015-b016eb3dc98e 9 | ) 10 | -------------------------------------------------------------------------------- /vendor/github.com/vmihailenco/tagparser/Makefile: -------------------------------------------------------------------------------- 1 | all: 2 | go test ./... 3 | go test ./... -short -race 4 | go test ./... -run=NONE -bench=. -benchmem 5 | env GOOS=linux GOARCH=386 go test ./... 6 | go vet ./... 7 | go get github.com/gordonklaus/ineffassign 8 | ineffassign . 9 | -------------------------------------------------------------------------------- /vendor/go.etcd.io/bbolt/bolt_amd64.go: -------------------------------------------------------------------------------- 1 | package bbolt 2 | 3 | // maxMapSize represents the largest mmap size supported by Bolt. 4 | const maxMapSize = 0xFFFFFFFFFFFF // 256TB 5 | 6 | // maxAllocSize is the size used when creating array pointers. 7 | const maxAllocSize = 0x7FFFFFFF 8 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go/internal/ini/comma_token.go: -------------------------------------------------------------------------------- 1 | package ini 2 | 3 | var commaRunes = []rune(",") 4 | 5 | func isComma(b rune) bool { 6 | return b == ',' 7 | } 8 | 9 | func newCommaToken() Token { 10 | return newToken(TokenComma, commaRunes, NoneType) 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/go-immutable-radix/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # UNRELEASED 2 | 3 | FEATURES 4 | 5 | * Add `SeekLowerBound` to allow for range scans. [[GH-24](https://github.com/hashicorp/go-immutable-radix/pull/24)] 6 | 7 | # 1.0.0 (August 30th, 2018) 8 | 9 | * go mod adopted 10 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/go-sockaddr/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/hashicorp/go-sockaddr 2 | 3 | require ( 4 | github.com/hashicorp/errwrap v1.0.0 5 | github.com/mitchellh/cli v1.0.0 6 | github.com/mitchellh/go-wordwrap v1.0.0 7 | github.com/ryanuber/columnize v2.1.0+incompatible 8 | ) 9 | -------------------------------------------------------------------------------- /vendor/github.com/mattn/go-isatty/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | sudo: false 3 | go: 4 | - 1.13.x 5 | - tip 6 | 7 | before_install: 8 | - go get -t -v ./... 9 | 10 | script: 11 | - ./go.test.sh 12 | 13 | after_success: 14 | - bash <(curl -s https://codecov.io/bash) 15 | -------------------------------------------------------------------------------- /store/sqlstore/init_test.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. 2 | // See LICENSE.txt for license information. 3 | 4 | package sqlstore 5 | 6 | func InitTest() { 7 | initStores() 8 | } 9 | 10 | func TearDownTest() { 11 | tearDownStores() 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go/aws/signer/v4/request_context_go1.7.go: -------------------------------------------------------------------------------- 1 | // +build go1.7 2 | 3 | package v4 4 | 5 | import ( 6 | "net/http" 7 | 8 | "github.com/aws/aws-sdk-go/aws" 9 | ) 10 | 11 | func requestContext(r *http.Request) aws.Context { 12 | return r.Context() 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/h2non/go-is-svg/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | indent_style = tabs 5 | indent_size = 2 6 | end_of_line = lf 7 | charset = utf-8 8 | trim_trailing_whitespace = true 9 | insert_final_newline = true 10 | 11 | [*.md] 12 | trim_trailing_whitespace = false 13 | -------------------------------------------------------------------------------- /vendor/github.com/wiggin77/cfg/.gitignore: -------------------------------------------------------------------------------- 1 | # Binaries for programs and plugins 2 | *.exe 3 | *.exe~ 4 | *.dll 5 | *.so 6 | *.dylib 7 | 8 | # Test binary, build with `go test -c` 9 | *.test 10 | 11 | # Output of the go coverage tool, specifically when used with LiteIDE 12 | *.out 13 | -------------------------------------------------------------------------------- /vendor/github.com/wiggin77/merror/.gitignore: -------------------------------------------------------------------------------- 1 | # Binaries for programs and plugins 2 | *.exe 3 | *.exe~ 4 | *.dll 5 | *.so 6 | *.dylib 7 | 8 | # Test binary, build with `go test -c` 9 | *.test 10 | 11 | # Output of the go coverage tool, specifically when used with LiteIDE 12 | *.out 13 | -------------------------------------------------------------------------------- /vendor/willnorris.com/go/imageproxy/.gitignore: -------------------------------------------------------------------------------- 1 | build 2 | .goxc.local.json 3 | *.test 4 | 5 | vendor/**/.travis.yml 6 | vendor/**/.gitignore 7 | vendor/**/.goxc.json 8 | vendor/**/AUTHORS 9 | vendor/**/CONTRIBUTORS 10 | vendor/**/Makefile 11 | vendor/**/*_ZH.md 12 | vendor/**/*.sh 13 | -------------------------------------------------------------------------------- /vendor/github.com/mattn/go-colorable/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | sudo: false 3 | go: 4 | - 1.13.x 5 | - tip 6 | 7 | before_install: 8 | - go get -t -v ./... 9 | 10 | script: 11 | - ./go.test.sh 12 | 13 | after_success: 14 | - bash <(curl -s https://codecov.io/bash) 15 | 16 | -------------------------------------------------------------------------------- /vendor/github.com/rudderlabs/analytics-go/timeout_16.go: -------------------------------------------------------------------------------- 1 | // +build go1.6 2 | 3 | package analytics 4 | 5 | import "net/http" 6 | 7 | // http clients on versions of go after 1.6 always support timeout. 8 | func supportsTimeout(transport http.RoundTripper) bool { 9 | return true 10 | } 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/sys_darwin.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package socket 6 | 7 | func probeProtocolStack() int { return 4 } 8 | -------------------------------------------------------------------------------- /templates/email_footer.html: -------------------------------------------------------------------------------- 1 | {{define "email_footer"}} 2 | 3 | 4 |

5 | {{.Props.Organization}}
6 | {{.Props.Footer}} 7 |

8 | 9 | 10 | {{end}} 11 | -------------------------------------------------------------------------------- /vendor/github.com/disintegration/imaging/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go: 3 | - "1.10.x" 4 | - "1.11.x" 5 | - "1.12.x" 6 | 7 | before_install: 8 | - go get github.com/mattn/goveralls 9 | 10 | script: 11 | - go test -v -race -cover 12 | - $GOPATH/bin/goveralls -service=travis-ci 13 | -------------------------------------------------------------------------------- /vendor/github.com/fsnotify/fsnotify/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*.go] 4 | indent_style = tab 5 | indent_size = 4 6 | insert_final_newline = true 7 | 8 | [*.{yml,yaml}] 9 | indent_style = space 10 | indent_size = 2 11 | insert_final_newline = true 12 | trim_trailing_whitespace = true 13 | -------------------------------------------------------------------------------- /vendor/github.com/jmespath/go-jmespath/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | sudo: false 4 | 5 | go: 6 | - 1.5.x 7 | - 1.6.x 8 | - 1.7.x 9 | - 1.8.x 10 | - 1.9.x 11 | - 1.10.x 12 | - 1.11.x 13 | - 1.12.x 14 | - 1.13.x 15 | 16 | install: go get -v -t ./... 17 | script: make test 18 | -------------------------------------------------------------------------------- /vendor/github.com/prometheus/procfs/NOTICE: -------------------------------------------------------------------------------- 1 | procfs provides functions to retrieve system, kernel and process 2 | metrics from the pseudo-filesystem proc. 3 | 4 | Copyright 2014-2015 The Prometheus Authors 5 | 6 | This product includes software developed at 7 | SoundCloud Ltd. (http://soundcloud.com/). 8 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/cpu/cpu_other_arm.go: -------------------------------------------------------------------------------- 1 | // Copyright 2020 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build !linux,arm 6 | 7 | package cpu 8 | 9 | func archInit() {} 10 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/cpu/cpu_other_arm64.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build !linux,arm64 6 | 7 | package cpu 8 | 9 | func doinit() {} 10 | -------------------------------------------------------------------------------- /vendor/google.golang.org/grpc/install_gae.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | TMP=$(mktemp -d /tmp/sdk.XXX) \ 4 | && curl -o $TMP.zip "https://storage.googleapis.com/appengine-sdks/featured/go_appengine_sdk_linux_amd64-1.9.68.zip" \ 5 | && unzip -q $TMP.zip -d $TMP \ 6 | && export PATH="$PATH:$TMP/go_appengine" 7 | -------------------------------------------------------------------------------- /plugin/checker/internal/test/missing/missing.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. 2 | // See LICENSE.txt for license information. 3 | 4 | package missing 5 | 6 | // SomeType is a fake interface for testing the plugin comment checker. 7 | type SomeType interface { 8 | } 9 | -------------------------------------------------------------------------------- /store/searchlayer/utils.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. 2 | // See LICENSE.txt for license information. 3 | 4 | package searchlayer 5 | 6 | import "strings" 7 | 8 | func sanitizeSearchTerm(term string) string { 9 | return strings.TrimLeft(term, "@") 10 | } 11 | -------------------------------------------------------------------------------- /vendor/github.com/armon/go-metrics/const_windows.go: -------------------------------------------------------------------------------- 1 | // +build windows 2 | 3 | package metrics 4 | 5 | import ( 6 | "syscall" 7 | ) 8 | 9 | const ( 10 | // DefaultSignal is used with DefaultInmemSignal 11 | // Windows has no SIGUSR1, use SIGBREAK 12 | DefaultSignal = syscall.Signal(21) 13 | ) 14 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go/aws/signer/v4/request_context_go1.5.go: -------------------------------------------------------------------------------- 1 | // +build !go1.7 2 | 3 | package v4 4 | 5 | import ( 6 | "net/http" 7 | 8 | "github.com/aws/aws-sdk-go/aws" 9 | ) 10 | 11 | func requestContext(r *http.Request) aws.Context { 12 | return aws.BackgroundContext() 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go/aws/version.go: -------------------------------------------------------------------------------- 1 | // Package aws provides core functionality for making requests to AWS services. 2 | package aws 3 | 4 | // SDKName is the name of this AWS SDK 5 | const SDKName = "aws-sdk-go" 6 | 7 | // SDKVersion is the version of this SDK 8 | const SDKVersion = "1.31.4" 9 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go/internal/ini/fuzz.go: -------------------------------------------------------------------------------- 1 | // +build gofuzz 2 | 3 | package ini 4 | 5 | import ( 6 | "bytes" 7 | ) 8 | 9 | func Fuzz(data []byte) int { 10 | b := bytes.NewReader(data) 11 | 12 | if _, err := Parse(b); err != nil { 13 | return 0 14 | } 15 | 16 | return 1 17 | } 18 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/go-msgpack/codec/goversion_vendor_gte_go17.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2012-2018 Ugorji Nwoke. All rights reserved. 2 | // Use of this source code is governed by a MIT license found in the LICENSE file. 3 | 4 | // +build go1.7 5 | 6 | package codec 7 | 8 | const genCheckVendor = true 9 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/go-msgpack/codec/goversion_vendor_lt_go15.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2012-2018 Ugorji Nwoke. All rights reserved. 2 | // Use of this source code is governed by a MIT license found in the LICENSE file. 3 | 4 | // +build !go1.5 5 | 6 | package codec 7 | 8 | var genCheckVendor = false 9 | -------------------------------------------------------------------------------- /vendor/github.com/konsorten/go-windows-terminal-sequences/sequences_dummy.go: -------------------------------------------------------------------------------- 1 | // +build linux darwin 2 | 3 | package sequences 4 | 5 | import ( 6 | "fmt" 7 | ) 8 | 9 | func EnableVirtualTerminalProcessing(stream uintptr, enable bool) error { 10 | return fmt.Errorf("windows only package") 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/cast/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | env: 3 | - GO111MODULE=on 4 | sudo: required 5 | go: 6 | - "1.11.x" 7 | - "1.12.x" 8 | - tip 9 | os: 10 | - linux 11 | matrix: 12 | allow_failures: 13 | - go: tip 14 | fast_finish: true 15 | script: 16 | - make check 17 | -------------------------------------------------------------------------------- /vendor/go.etcd.io/bbolt/bolt_ppc.go: -------------------------------------------------------------------------------- 1 | // +build ppc 2 | 3 | package bbolt 4 | 5 | // maxMapSize represents the largest mmap size supported by Bolt. 6 | const maxMapSize = 0x7FFFFFFF // 2GB 7 | 8 | // maxAllocSize is the size used when creating array pointers. 9 | const maxAllocSize = 0xFFFFFFF 10 | -------------------------------------------------------------------------------- /vendor/github.com/couchbase/vellum/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/couchbase/vellum 2 | 3 | go 1.12 4 | 5 | require ( 6 | github.com/blevesearch/mmap-go v1.0.2 7 | github.com/spf13/cobra v0.0.5 8 | github.com/willf/bitset v1.1.10 9 | golang.org/x/sys v0.0.0-20190813064441-fde4db37ae7a // indirect 10 | ) 11 | -------------------------------------------------------------------------------- /vendor/github.com/uber/jaeger-client-go/rpcmetrics/README.md: -------------------------------------------------------------------------------- 1 | An Observer that can be used to emit RPC metrics 2 | ================================================ 3 | 4 | It can be attached to the tracer during tracer construction. 5 | See `ExampleObserver` function in [observer_test.go](./observer_test.go). 6 | -------------------------------------------------------------------------------- /model/channel_member_history.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. 2 | // See LICENSE.txt for license information. 3 | 4 | package model 5 | 6 | type ChannelMemberHistory struct { 7 | ChannelId string 8 | UserId string 9 | JoinTime int64 10 | LeaveTime *int64 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/gorilla/websocket/AUTHORS: -------------------------------------------------------------------------------- 1 | # This is the official list of Gorilla WebSocket authors for copyright 2 | # purposes. 3 | # 4 | # Please keep the list sorted. 5 | 6 | Gary Burd 7 | Google LLC (https://opensource.google.com/) 8 | Joachim Bauch 9 | 10 | -------------------------------------------------------------------------------- /vendor/go.etcd.io/bbolt/bolt_arm64.go: -------------------------------------------------------------------------------- 1 | // +build arm64 2 | 3 | package bbolt 4 | 5 | // maxMapSize represents the largest mmap size supported by Bolt. 6 | const maxMapSize = 0xFFFFFFFFFFFF // 256TB 7 | 8 | // maxAllocSize is the size used when creating array pointers. 9 | const maxAllocSize = 0x7FFFFFFF 10 | -------------------------------------------------------------------------------- /vendor/go.etcd.io/bbolt/bolt_mipsx.go: -------------------------------------------------------------------------------- 1 | // +build mips mipsle 2 | 3 | package bbolt 4 | 5 | // maxMapSize represents the largest mmap size supported by Bolt. 6 | const maxMapSize = 0x40000000 // 1GB 7 | 8 | // maxAllocSize is the size used when creating array pointers. 9 | const maxAllocSize = 0xFFFFFFF 10 | -------------------------------------------------------------------------------- /vendor/go.etcd.io/bbolt/bolt_ppc64.go: -------------------------------------------------------------------------------- 1 | // +build ppc64 2 | 3 | package bbolt 4 | 5 | // maxMapSize represents the largest mmap size supported by Bolt. 6 | const maxMapSize = 0xFFFFFFFFFFFF // 256TB 7 | 8 | // maxAllocSize is the size used when creating array pointers. 9 | const maxAllocSize = 0x7FFFFFFF 10 | -------------------------------------------------------------------------------- /vendor/go.etcd.io/bbolt/bolt_s390x.go: -------------------------------------------------------------------------------- 1 | // +build s390x 2 | 3 | package bbolt 4 | 5 | // maxMapSize represents the largest mmap size supported by Bolt. 6 | const maxMapSize = 0xFFFFFFFFFFFF // 256TB 7 | 8 | // maxAllocSize is the size used when creating array pointers. 9 | const maxAllocSize = 0x7FFFFFFF 10 | -------------------------------------------------------------------------------- /vendor/github.com/golang/protobuf/ptypes/doc.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // Package ptypes provides functionality for interacting with well-known types. 6 | package ptypes 7 | -------------------------------------------------------------------------------- /vendor/go.etcd.io/bbolt/bolt_ppc64le.go: -------------------------------------------------------------------------------- 1 | // +build ppc64le 2 | 3 | package bbolt 4 | 5 | // maxMapSize represents the largest mmap size supported by Bolt. 6 | const maxMapSize = 0xFFFFFFFFFFFF // 256TB 7 | 8 | // maxAllocSize is the size used when creating array pointers. 9 | const maxAllocSize = 0x7FFFFFFF 10 | -------------------------------------------------------------------------------- /vendor/go.etcd.io/bbolt/bolt_riscv64.go: -------------------------------------------------------------------------------- 1 | // +build riscv64 2 | 3 | package bbolt 4 | 5 | // maxMapSize represents the largest mmap size supported by Bolt. 6 | const maxMapSize = 0xFFFFFFFFFFFF // 256TB 7 | 8 | // maxAllocSize is the size used when creating array pointers. 9 | const maxAllocSize = 0x7FFFFFFF 10 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/empty.s: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build darwin,go1.12 6 | 7 | // This exists solely so we can linkname in symbols from syscall. 8 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/endian_big.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | // 5 | // +build ppc64 s390x mips mips64 6 | 7 | package unix 8 | 9 | const isBigEndian = true 10 | -------------------------------------------------------------------------------- /vendor/gopkg.in/mail.v2/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | 3 | # Binaries for programs and plugins 4 | *.exe 5 | *.dll 6 | *.so 7 | *.dylib 8 | 9 | # Test binary, build with `go test -c` 10 | *.test 11 | 12 | # Output of the go coverage tool, specifically when used with LiteIDE 13 | *.out 14 | 15 | 16 | # IDE's 17 | .idea/ 18 | -------------------------------------------------------------------------------- /vendor/gopkg.in/yaml.v2/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - "1.4.x" 5 | - "1.5.x" 6 | - "1.6.x" 7 | - "1.7.x" 8 | - "1.8.x" 9 | - "1.9.x" 10 | - "1.10.x" 11 | - "1.11.x" 12 | - "1.12.x" 13 | - "1.13.x" 14 | - "tip" 15 | 16 | go_import_path: gopkg.in/yaml.v2 17 | -------------------------------------------------------------------------------- /vendor/github.com/RoaringBitmap/roaring/clz.go: -------------------------------------------------------------------------------- 1 | // +build go1.9 2 | // "go1.9", from Go version 1.9 onward 3 | // See https://golang.org/pkg/go/build/#hdr-Build_Constraints 4 | 5 | package roaring 6 | 7 | import "math/bits" 8 | 9 | func countLeadingZeros(x uint64) int { 10 | return bits.LeadingZeros64(x) 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/RoaringBitmap/roaring/ctz.go: -------------------------------------------------------------------------------- 1 | // +build go1.9 2 | // "go1.9", from Go version 1.9 onward 3 | // See https://golang.org/pkg/go/build/#hdr-Build_Constraints 4 | 5 | package roaring 6 | 7 | import "math/bits" 8 | 9 | func countTrailingZeros(x uint64) int { 10 | return bits.TrailingZeros64(x) 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/RoaringBitmap/roaring/popcnt.go: -------------------------------------------------------------------------------- 1 | // +build go1.9 2 | // "go1.9", from Go version 1.9 onward 3 | // See https://golang.org/pkg/go/build/#hdr-Build_Constraints 4 | 5 | package roaring 6 | 7 | import "math/bits" 8 | 9 | func popcount(x uint64) uint64 { 10 | return uint64(bits.OnesCount64(x)) 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go/internal/sdkrand/read.go: -------------------------------------------------------------------------------- 1 | // +build go1.6 2 | 3 | package sdkrand 4 | 5 | import "math/rand" 6 | 7 | // Read provides the stub for math.Rand.Read method support for go version's 8 | // 1.6 and greater. 9 | func Read(r *rand.Rand, p []byte) (int, error) { 10 | return r.Read(p) 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/gorilla/websocket/trace_17.go: -------------------------------------------------------------------------------- 1 | // +build !go1.8 2 | 3 | package websocket 4 | 5 | import ( 6 | "crypto/tls" 7 | "net/http/httptrace" 8 | ) 9 | 10 | func doHandshakeWithTrace(trace *httptrace.ClientTrace, tlsConn *tls.Conn, cfg *tls.Config) error { 11 | return doHandshake(tlsConn, cfg) 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/rudderlabs/analytics-go/.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "vendor/github.com/segmentio/backo-go"] 2 | path = vendor/github.com/segmentio/backo-go 3 | url = https://github.com/segmentio/backo-go 4 | [submodule "vendor/github.com/xtgo/uuid"] 5 | path = vendor/github.com/xtgo/uuid 6 | url = https://github.com/xtgo/uuid 7 | -------------------------------------------------------------------------------- /vendor/go.etcd.io/bbolt/bolt_mips64x.go: -------------------------------------------------------------------------------- 1 | // +build mips64 mips64le 2 | 3 | package bbolt 4 | 5 | // maxMapSize represents the largest mmap size supported by Bolt. 6 | const maxMapSize = 0x8000000000 // 512GB 7 | 8 | // maxAllocSize is the size used when creating array pointers. 9 | const maxAllocSize = 0x7FFFFFFF 10 | -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/go/ast/astutil/util.go: -------------------------------------------------------------------------------- 1 | package astutil 2 | 3 | import "go/ast" 4 | 5 | // Unparen returns e with any enclosing parentheses stripped. 6 | func Unparen(e ast.Expr) ast.Expr { 7 | for { 8 | p, ok := e.(*ast.ParenExpr) 9 | if !ok { 10 | return e 11 | } 12 | e = p.X 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /scripts/test-xprog.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | set -e 3 | [[ $1 =~ (github.com.*)/_test ]] && \ 4 | echo Testing ${BASH_REMATCH[1]} 5 | coverprofile=`pwd`/cprofile.out 6 | if [[ $1 == *"/enterprise/"* ]]; then 7 | cd "$(dirname "$(dirname "${BASH_SOURCE[0]}")")" 8 | fi 9 | "$@" -test.coverprofile "$coverprofile" 10 | -------------------------------------------------------------------------------- /vendor/github.com/cespare/xxhash/v2/xxhash_amd64.go: -------------------------------------------------------------------------------- 1 | // +build !appengine 2 | // +build gc 3 | // +build !purego 4 | 5 | package xxhash 6 | 7 | // Sum64 computes the 64-bit xxHash digest of b. 8 | // 9 | //go:noescape 10 | func Sum64(b []byte) uint64 11 | 12 | //go:noescape 13 | func writeBlocks(d *Digest, b []byte) int 14 | -------------------------------------------------------------------------------- /vendor/github.com/icrowley/fake/currencies.go: -------------------------------------------------------------------------------- 1 | package fake 2 | 3 | // Currency generates currency name 4 | func Currency() string { 5 | return lookup(lang, "currencies", true) 6 | } 7 | 8 | // CurrencyCode generates currency code 9 | func CurrencyCode() string { 10 | return lookup(lang, "currency_codes", true) 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/mattermost/logr/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/mattermost/logr 2 | 3 | go 1.12 4 | 5 | require ( 6 | github.com/francoispqt/gojay v1.2.13 7 | github.com/stretchr/testify v1.2.2 8 | github.com/wiggin77/cfg v1.0.2 9 | github.com/wiggin77/merror v1.0.2 10 | gopkg.in/natefinch/lumberjack.v2 v2.0.0 11 | ) 12 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/concurrent/go_above_19.go: -------------------------------------------------------------------------------- 1 | //+build go1.9 2 | 3 | package concurrent 4 | 5 | import "sync" 6 | 7 | // Map is a wrapper for sync.Map introduced in go1.9 8 | type Map struct { 9 | sync.Map 10 | } 11 | 12 | // NewMap creates a thread safe Map 13 | func NewMap() *Map { 14 | return &Map{} 15 | } 16 | -------------------------------------------------------------------------------- /vendor/go.uber.org/atomic/go.mod: -------------------------------------------------------------------------------- 1 | module go.uber.org/atomic 2 | 3 | require ( 4 | github.com/davecgh/go-spew v1.1.1 // indirect 5 | github.com/stretchr/testify v1.3.0 6 | golang.org/x/lint v0.0.0-20190930215403-16217165b5de 7 | golang.org/x/tools v0.0.0-20191029041327-9cc4af7d6b2c // indirect 8 | ) 9 | 10 | go 1.13 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/sys_linux_amd64.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package socket 6 | 7 | const ( 8 | sysRECVMMSG = 0x12b 9 | sysSENDMMSG = 0x133 10 | ) 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/sys_linux_arm.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package socket 6 | 7 | const ( 8 | sysRECVMMSG = 0x16d 9 | sysSENDMMSG = 0x176 10 | ) 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/sys_linux_arm64.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package socket 6 | 7 | const ( 8 | sysRECVMMSG = 0xf3 9 | sysSENDMMSG = 0x10d 10 | ) 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/sys_linux_mips.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package socket 6 | 7 | const ( 8 | sysRECVMMSG = 0x10ef 9 | sysSENDMMSG = 0x10f7 10 | ) 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/sys_linux_ppc64.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package socket 6 | 7 | const ( 8 | sysRECVMMSG = 0x157 9 | sysSENDMMSG = 0x15d 10 | ) 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/cpu/cpu_riscv64.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build riscv64 6 | 7 | package cpu 8 | 9 | const cacheLineSize = 32 10 | 11 | func initOptions() {} 12 | -------------------------------------------------------------------------------- /vendor/golang.org/x/text/language/go1_2.go: -------------------------------------------------------------------------------- 1 | // Copyright 2013 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build go1.2 6 | 7 | package language 8 | 9 | import "sort" 10 | 11 | var sortStable = sort.Stable 12 | -------------------------------------------------------------------------------- /model/ldap.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. 2 | // See LICENSE.txt for license information. 3 | 4 | package model 5 | 6 | const ( 7 | USER_AUTH_SERVICE_LDAP = "ldap" 8 | LDAP_PUBIC_CERTIFICATE_NAME = "ldap-public.crt" 9 | LDAP_PRIVATE_KEY_NAME = "ldap-private.key" 10 | ) 11 | -------------------------------------------------------------------------------- /vendor/github.com/blevesearch/bleve/index/upsidedown/benchmark_all.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | BENCHMARKS=`grep "func Benchmark" *_test.go | sed 's/.*func //' | sed s/\(.*{//` 4 | 5 | for BENCHMARK in $BENCHMARKS 6 | do 7 | go test -v -run=xxx -bench=^$BENCHMARK$ -benchtime=10s -tags 'forestdb leveldb' | grep -v ok | grep -v PASS 8 | done 9 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/go-msgpack/codec/goversion_unexportedembeddedptr_lt_go110.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2012-2018 Ugorji Nwoke. All rights reserved. 2 | // Use of this source code is governed by a MIT license found in the LICENSE file. 3 | 4 | // +build !go1.10 5 | 6 | package codec 7 | 8 | const allowSetUnexportedEmbeddedPtr = true 9 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.8.x 5 | - 1.x 6 | 7 | before_install: 8 | - go get -t -v ./... 9 | - go get -t -v github.com/modern-go/reflect2-tests/... 10 | 11 | script: 12 | - ./test.sh 13 | 14 | after_success: 15 | - bash <(curl -s https://codecov.io/bash) 16 | -------------------------------------------------------------------------------- /vendor/github.com/sirupsen/logrus/terminal_check_solaris.go: -------------------------------------------------------------------------------- 1 | package logrus 2 | 3 | import ( 4 | "golang.org/x/sys/unix" 5 | ) 6 | 7 | // IsTerminal returns true if the given file descriptor is a terminal. 8 | func isTerminal(fd int) bool { 9 | _, err := unix.IoctlGetTermio(fd, unix.TCGETA) 10 | return err == nil 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/tylerb/graceful/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | sudo: false 3 | go: 4 | - 1.7 5 | - 1.6.2 6 | - 1.5.4 7 | - 1.4.3 8 | - 1.3.3 9 | before_install: 10 | - go get github.com/mattn/goveralls 11 | - go get golang.org/x/tools/cmd/cover 12 | script: 13 | - $HOME/gopath/bin/goveralls -service=travis-ci 14 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/sys_linux_mips64.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package socket 6 | 7 | const ( 8 | sysRECVMMSG = 0x14ae 9 | sysSENDMMSG = 0x14b6 10 | ) 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/sys_linux_mips64le.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package socket 6 | 7 | const ( 8 | sysRECVMMSG = 0x14ae 9 | sysSENDMMSG = 0x14b6 10 | ) 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/sys_linux_mipsle.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package socket 6 | 7 | const ( 8 | sysRECVMMSG = 0x10ef 9 | sysSENDMMSG = 0x10f7 10 | ) 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/sys_linux_ppc64le.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package socket 6 | 7 | const ( 8 | sysRECVMMSG = 0x157 9 | sysSENDMMSG = 0x15d 10 | ) 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/cpu/cpu_mipsx.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build mips mipsle 6 | 7 | package cpu 8 | 9 | const cacheLineSize = 32 10 | 11 | func initOptions() {} 12 | -------------------------------------------------------------------------------- /vendor/google.golang.org/protobuf/internal/flags/proto_legacy_disable.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build !protolegacy 6 | 7 | package flags 8 | 9 | const protoLegacy = false 10 | -------------------------------------------------------------------------------- /vendor/google.golang.org/protobuf/internal/flags/proto_legacy_enable.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build protolegacy 6 | 7 | package flags 8 | 9 | const protoLegacy = true 10 | -------------------------------------------------------------------------------- /vendor/github.com/gorilla/mux/AUTHORS: -------------------------------------------------------------------------------- 1 | # This is the official list of gorilla/mux authors for copyright purposes. 2 | # 3 | # Please keep the list sorted. 4 | 5 | Google LLC (https://opensource.google.com/) 6 | Kamil Kisielk 7 | Matt Silverlock 8 | Rodrigo Moraes (https://github.com/moraes) 9 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/go-msgpack/codec/goversion_unexportedembeddedptr_gte_go110.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2012-2018 Ugorji Nwoke. All rights reserved. 2 | // Use of this source code is governed by a MIT license found in the LICENSE file. 3 | 4 | // +build go1.10 5 | 6 | package codec 7 | 8 | const allowSetUnexportedEmbeddedPtr = false 9 | -------------------------------------------------------------------------------- /vendor/github.com/lann/ps/README.md: -------------------------------------------------------------------------------- 1 | **This is a stable fork of https://github.com/mndrix/ps; it will not introduce breaking changes.** 2 | 3 | ps 4 | == 5 | 6 | Persistent data structures for Go. See the [full package documentation](http://godoc.org/github.com/lann/ps) 7 | 8 | Install with 9 | 10 | go get github.com/lann/ps 11 | -------------------------------------------------------------------------------- /vendor/github.com/stretchr/objx/security.go: -------------------------------------------------------------------------------- 1 | package objx 2 | 3 | import ( 4 | "crypto/sha1" 5 | "encoding/hex" 6 | ) 7 | 8 | // HashWithKey hashes the specified string using the security key 9 | func HashWithKey(data, key string) string { 10 | d := sha1.Sum([]byte(data + ":" + key)) 11 | return hex.EncodeToString(d[:]) 12 | } 13 | -------------------------------------------------------------------------------- /vendor/go.etcd.io/bbolt/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go_import_path: go.etcd.io/bbolt 3 | 4 | sudo: false 5 | 6 | go: 7 | - 1.12 8 | 9 | before_install: 10 | - go get -v honnef.co/go/tools/... 11 | - go get -v github.com/kisielk/errcheck 12 | 13 | script: 14 | - make fmt 15 | - make test 16 | - make race 17 | # - make errcheck 18 | -------------------------------------------------------------------------------- /vendor/go.uber.org/zap/go.mod: -------------------------------------------------------------------------------- 1 | module go.uber.org/zap 2 | 3 | go 1.13 4 | 5 | require ( 6 | github.com/pkg/errors v0.8.1 7 | github.com/stretchr/testify v1.4.0 8 | go.uber.org/atomic v1.6.0 9 | go.uber.org/multierr v1.5.0 10 | golang.org/x/lint v0.0.0-20190930215403-16217165b5de 11 | honnef.co/go/tools v0.0.1-2019.2.3 12 | ) 13 | -------------------------------------------------------------------------------- /vendor/gopkg.in/ini.v1/Makefile: -------------------------------------------------------------------------------- 1 | .PHONY: build test bench vet coverage 2 | 3 | build: vet bench 4 | 5 | test: 6 | go test -v -cover -race 7 | 8 | bench: 9 | go test -v -cover -test.bench=. -test.benchmem 10 | 11 | vet: 12 | go vet 13 | 14 | coverage: 15 | go test -coverprofile=c.out && go tool cover -html=c.out && rm c.out 16 | -------------------------------------------------------------------------------- /vendor/gopkg.in/yaml.v3/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - "1.4.x" 5 | - "1.5.x" 6 | - "1.6.x" 7 | - "1.7.x" 8 | - "1.8.x" 9 | - "1.9.x" 10 | - "1.10.x" 11 | - "1.11.x" 12 | - "1.12.x" 13 | - "1.13.x" 14 | - "1.14.x" 15 | - "tip" 16 | 17 | go_import_path: gopkg.in/yaml.v3 18 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go/internal/sdkio/byte.go: -------------------------------------------------------------------------------- 1 | package sdkio 2 | 3 | const ( 4 | // Byte is 8 bits 5 | Byte int64 = 1 6 | // KibiByte (KiB) is 1024 Bytes 7 | KibiByte = Byte * 1024 8 | // MebiByte (MiB) is 1024 KiB 9 | MebiByte = KibiByte * 1024 10 | // GibiByte (GiB) is 1024 MiB 11 | GibiByte = MebiByte * 1024 12 | ) 13 | -------------------------------------------------------------------------------- /vendor/github.com/disintegration/imaging/go.sum: -------------------------------------------------------------------------------- 1 | golang.org/x/image v0.0.0-20191009234506-e7c1f5e7dbb8 h1:hVwzHzIUGRjiF7EcUjqNxk3NCfkPxbDKRdnNE1Rpg0U= 2 | golang.org/x/image v0.0.0-20191009234506-e7c1f5e7dbb8/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= 3 | golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= 4 | -------------------------------------------------------------------------------- /vendor/github.com/lib/pq/ssl_windows.go: -------------------------------------------------------------------------------- 1 | // +build windows 2 | 3 | package pq 4 | 5 | // sslKeyPermissions checks the permissions on user-supplied ssl key files. 6 | // The key file should have very little access. 7 | // 8 | // libpq does not check key file permissions on Windows. 9 | func sslKeyPermissions(string) error { return nil } 10 | -------------------------------------------------------------------------------- /vendor/github.com/mattermost/gosaml2/run_test.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | cd `dirname $0` 3 | DIRS=`git grep -l 'func Test' | xargs dirname | sort -u` 4 | for DIR in $DIRS 5 | do 6 | echo 7 | echo "dir: $DIR" 8 | echo "======================================" 9 | pushd $DIR >/dev/null 10 | go test -v || exit 1 11 | popd >/dev/null 12 | done 13 | -------------------------------------------------------------------------------- /vendor/github.com/mattn/go-runewidth/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | sudo: false 3 | go: 4 | - 1.13.x 5 | - tip 6 | 7 | before_install: 8 | - go get -t -v ./... 9 | 10 | script: 11 | - go generate 12 | - git diff --cached --exit-code 13 | - ./go.test.sh 14 | 15 | after_success: 16 | - bash <(curl -s https://codecov.io/bash) 17 | -------------------------------------------------------------------------------- /vendor/github.com/minio/minio-go/v7/.golangci.yml: -------------------------------------------------------------------------------- 1 | linters-settings: 2 | misspell: 3 | locale: US 4 | 5 | linters: 6 | disable-all: true 7 | enable: 8 | - typecheck 9 | - goimports 10 | - misspell 11 | - govet 12 | - golint 13 | - ineffassign 14 | - gosimple 15 | - deadcode 16 | - structcheck 17 | -------------------------------------------------------------------------------- /vendor/github.com/sirupsen/logrus/terminal_check_unix.go: -------------------------------------------------------------------------------- 1 | // +build linux aix 2 | // +build !js 3 | 4 | package logrus 5 | 6 | import "golang.org/x/sys/unix" 7 | 8 | const ioctlReadTermios = unix.TCGETS 9 | 10 | func isTerminal(fd int) bool { 11 | _, err := unix.IoctlGetTermios(fd, ioctlReadTermios) 12 | return err == nil 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/wiggin77/srslog/.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: required 2 | dist: trusty 3 | group: edge 4 | language: go 5 | go: 6 | - 1.5 7 | before_install: 8 | - pip install --user codecov 9 | script: 10 | - | 11 | go get ./... 12 | go test -v -coverprofile=coverage.txt -covermode=atomic 13 | go vet 14 | after_success: 15 | - codecov 16 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/cpu/cpu_linux_noinit.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build linux,!arm,!arm64,!mips64,!mips64le,!ppc64,!ppc64le,!s390x 6 | 7 | package cpu 8 | 9 | func doinit() {} 10 | -------------------------------------------------------------------------------- /vendor/github.com/beevik/etree/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | Brett Vickers (beevik) 2 | Felix Geisendörfer (felixge) 3 | Kamil Kisiel (kisielk) 4 | Graham King (grahamking) 5 | Matt Smith (ma314smith) 6 | Michal Jemala (michaljemala) 7 | Nicolas Piganeau (npiganeau) 8 | Chris Brown (ccbrown) 9 | Earncef Sequeira (earncef) 10 | Gabriel de Labachelerie (wuzuf) 11 | -------------------------------------------------------------------------------- /vendor/github.com/mattermost/rsc/gf256/Makefile: -------------------------------------------------------------------------------- 1 | # Copyright 2010 The Go Authors. All rights reserved. 2 | # Use of this source code is governed by a BSD-style 3 | # license that can be found in the LICENSE file. 4 | 5 | include $(GOROOT)/src/Make.inc 6 | TARG=rsc.googlecode.com/hg/gf256 7 | GOFILES=gf256.go #rs.go 8 | include $(GOROOT)/src/Make.pkg 9 | -------------------------------------------------------------------------------- /vendor/github.com/russellhaering/goxmldsig/run_test.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | cd `dirname $0` 3 | DIRS=`git grep -l 'func Test' | xargs dirname | sort -u` 4 | for DIR in $DIRS 5 | do 6 | echo 7 | echo "dir: $DIR" 8 | echo "======================================" 9 | pushd $DIR >/dev/null 10 | go test -v || exit 1 11 | popd >/dev/null 12 | done 13 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/cpu/cpu_gc_arm64.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build !gccgo 6 | 7 | package cpu 8 | 9 | func getisar0() uint64 10 | func getisar1() uint64 11 | func getpfr0() uint64 12 | -------------------------------------------------------------------------------- /vendor/google.golang.org/appengine/internal/identity_flex.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 Google LLC. All rights reserved. 2 | // Use of this source code is governed by the Apache 2.0 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build appenginevm 6 | 7 | package internal 8 | 9 | func init() { 10 | appengineFlex = true 11 | } 12 | -------------------------------------------------------------------------------- /jobs/interfaces/indexer_interface.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. 2 | // See LICENSE.txt for license information. 3 | 4 | package interfaces 5 | 6 | import ( 7 | "github.com/mattermost/mattermost-server/v5/model" 8 | ) 9 | 10 | type IndexerJobInterface interface { 11 | MakeWorker() model.Worker 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go/internal/sdkio/io_go1.6.go: -------------------------------------------------------------------------------- 1 | // +build !go1.7 2 | 3 | package sdkio 4 | 5 | // Copy of Go 1.7 io package's Seeker constants. 6 | const ( 7 | SeekStart = 0 // seek relative to the origin of the file 8 | SeekCurrent = 1 // seek relative to the current offset 9 | SeekEnd = 2 // seek relative to the end 10 | ) 11 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go/service/sts/customizations.go: -------------------------------------------------------------------------------- 1 | package sts 2 | 3 | import "github.com/aws/aws-sdk-go/aws/request" 4 | 5 | func init() { 6 | initRequest = customizeRequest 7 | } 8 | 9 | func customizeRequest(r *request.Request) { 10 | r.RetryErrorCodes = append(r.RetryErrorCodes, ErrCodeIDPCommunicationErrorException) 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/jaytaylor/html2text/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go: 3 | # n.b. For golang release history, see https://golang.org/doc/devel/release.html 4 | - tip 5 | - "1.13.8" 6 | - "1.12.17" 7 | - "1.11.13" 8 | - "1.10.8" 9 | - "1.9.7" 10 | notifications: 11 | email: 12 | on_success: change 13 | on_failure: always 14 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/cobra/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/spf13/cobra 2 | 3 | go 1.12 4 | 5 | require ( 6 | github.com/cpuguy83/go-md2man/v2 v2.0.0 7 | github.com/inconshreveable/mousetrap v1.0.0 8 | github.com/mitchellh/go-homedir v1.1.0 9 | github.com/spf13/pflag v1.0.3 10 | github.com/spf13/viper v1.4.0 11 | gopkg.in/yaml.v2 v2.2.2 12 | ) 13 | -------------------------------------------------------------------------------- /vendor/github.com/tinylib/msgp/msgp/advise_other.go: -------------------------------------------------------------------------------- 1 | // +build !linux appengine 2 | 3 | package msgp 4 | 5 | import ( 6 | "os" 7 | ) 8 | 9 | // TODO: darwin, BSD support 10 | 11 | func adviseRead(mem []byte) {} 12 | 13 | func adviseWrite(mem []byte) {} 14 | 15 | func fallocate(f *os.File, sz int64) error { 16 | return f.Truncate(sz) 17 | } 18 | -------------------------------------------------------------------------------- /vendor/github.com/tinylib/msgp/msgp/purego.go: -------------------------------------------------------------------------------- 1 | // +build purego appengine 2 | 3 | package msgp 4 | 5 | // let's just assume appengine 6 | // uses 64-bit hardware... 7 | const smallint = false 8 | 9 | func UnsafeString(b []byte) string { 10 | return string(b) 11 | } 12 | 13 | func UnsafeBytes(s string) []byte { 14 | return []byte(s) 15 | } 16 | -------------------------------------------------------------------------------- /vendor/github.com/tylerb/graceful/signal_appengine.go: -------------------------------------------------------------------------------- 1 | //+build appengine 2 | 3 | package graceful 4 | 5 | import "os" 6 | 7 | func signalNotify(interrupt chan<- os.Signal) { 8 | // Does not notify in the case of AppEngine. 9 | } 10 | 11 | func sendSignalInt(interrupt chan<- os.Signal) { 12 | // Does not send in the case of AppEngine. 13 | } 14 | -------------------------------------------------------------------------------- /vendor/golang.org/x/xerrors/internal/internal.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package internal 6 | 7 | // EnableTrace indicates whether stack information should be recorded in errors. 8 | var EnableTrace = true 9 | -------------------------------------------------------------------------------- /vendor/google.golang.org/protobuf/encoding/prototext/doc.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // Package prototext marshals and unmarshals protocol buffer messages as the 6 | // textproto format. 7 | package prototext 8 | -------------------------------------------------------------------------------- /templates/email_info.html: -------------------------------------------------------------------------------- 1 | {{define "email_info"}} 2 | 3 | 4 | {{.Props.EmailInfo1}}{{.Props.SupportEmail}}
{{.Props.EmailInfo2}}
{{.Props.EmailInfo3}}
5 | 6 | 7 | {{end}} 8 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go/aws/credentials/example.ini: -------------------------------------------------------------------------------- 1 | [default] 2 | aws_access_key_id = accessKey 3 | aws_secret_access_key = secret 4 | aws_session_token = token 5 | 6 | [no_token] 7 | aws_access_key_id = accessKey 8 | aws_secret_access_key = secret 9 | 10 | [with_colon] 11 | aws_access_key_id: accessKey 12 | aws_secret_access_key: secret 13 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/go-plugin/internal/plugin/grpc_controller.proto: -------------------------------------------------------------------------------- 1 | syntax = "proto3"; 2 | package plugin; 3 | option go_package = "plugin"; 4 | 5 | message Empty { 6 | } 7 | 8 | // The GRPCController is responsible for telling the plugin server to shutdown. 9 | service GRPCController { 10 | rpc Shutdown(Empty) returns (Empty); 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/go_below_19.go: -------------------------------------------------------------------------------- 1 | //+build !go1.9 2 | 3 | package reflect2 4 | 5 | import ( 6 | "unsafe" 7 | ) 8 | 9 | //go:linkname makemap reflect.makemap 10 | func makemap(rtype unsafe.Pointer) (m unsafe.Pointer) 11 | 12 | func makeMapWithSize(rtype unsafe.Pointer, cap int) unsafe.Pointer { 13 | return makemap(rtype) 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/vmihailenco/msgpack/v5/safe.go: -------------------------------------------------------------------------------- 1 | // +build appengine 2 | 3 | package msgpack 4 | 5 | // bytesToString converts byte slice to string. 6 | func bytesToString(b []byte) string { 7 | return string(b) 8 | } 9 | 10 | // stringToBytes converts string to byte slice. 11 | func stringToBytes(s string) []byte { 12 | return []byte(s) 13 | } 14 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/sys_linux_riscv64.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build riscv64 6 | 7 | package socket 8 | 9 | const ( 10 | sysRECVMMSG = 0xf3 11 | sysSENDMMSG = 0x10d 12 | ) 13 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/endian_little.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | // 5 | // +build 386 amd64 amd64p32 arm arm64 ppc64le mipsle mips64le riscv64 6 | 7 | package unix 8 | 9 | const isBigEndian = false 10 | -------------------------------------------------------------------------------- /scripts/prereq-check-enterprise.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | check_prereq() 4 | { 5 | local dependency=$1 6 | type "$dependency" >/dev/null 2>&1 || { echo >&2 "Mattermost Enterprise requires '$dependency' but it doesn't appear to be installed. Aborting."; exit 1; } 7 | } 8 | 9 | echo "Checking enterprise prerequisites" 10 | 11 | check_prereq 'xmlsec1' 12 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go/aws/url.go: -------------------------------------------------------------------------------- 1 | // +build go1.8 2 | 3 | package aws 4 | 5 | import "net/url" 6 | 7 | // URLHostname will extract the Hostname without port from the URL value. 8 | // 9 | // Wrapper of net/url#URL.Hostname for backwards Go version compatibility. 10 | func URLHostname(url *url.URL) string { 11 | return url.Hostname() 12 | } 13 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/norace.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build !race 6 | 7 | package socket 8 | 9 | func (m *Message) raceRead() { 10 | } 11 | func (m *Message) raceWrite() { 12 | } 13 | -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/internal/event/doc.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // Package event provides a set of packages that cover the main 6 | // concepts of telemetry in an implementation agnostic way. 7 | package event 8 | -------------------------------------------------------------------------------- /vendor/gopkg.in/olivere/elastic.v6/run-es.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | VERSION=${VERSION:=6.4.0} 3 | docker run --rm -p 9200:9200 -e "http.host=0.0.0.0" -e "transport.host=127.0.0.1" -e "bootstrap.memory_lock=true" -e "ES_JAVA_OPTS=-Xms1g -Xmx1g" docker.elastic.co/elasticsearch/elasticsearch-oss:$VERSION elasticsearch -Enetwork.host=_local_,_site_ -Enetwork.publish_host=_local_ 4 | -------------------------------------------------------------------------------- /app/server_license.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. 2 | // See LICENSE.txt for license information. 3 | 4 | package app 5 | 6 | import "github.com/mattermost/mattermost-server/v5/model" 7 | 8 | func (s *Server) License() *model.License { 9 | license, _ := s.licenseValue.Load().(*model.License) 10 | return license 11 | } 12 | -------------------------------------------------------------------------------- /model/builtin.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. 2 | // See LICENSE.txt for license information. 3 | 4 | package model 5 | 6 | func NewBool(b bool) *bool { return &b } 7 | func NewInt(n int) *int { return &n } 8 | func NewInt64(n int64) *int64 { return &n } 9 | func NewString(s string) *string { return &s } 10 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/go-sockaddr/route_info_default.go: -------------------------------------------------------------------------------- 1 | // +build android nacl plan9 2 | 3 | package sockaddr 4 | 5 | import "errors" 6 | 7 | // getDefaultIfName is the default interface function for unsupported platforms. 8 | func getDefaultIfName() (string, error) { 9 | return "", errors.New("No default interface found (unsupported platform)") 10 | } 11 | -------------------------------------------------------------------------------- /vendor/github.com/mattn/go-isatty/go.test.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -e 4 | echo "" > coverage.txt 5 | 6 | for d in $(go list ./... | grep -v vendor); do 7 | go test -race -coverprofile=profile.out -covermode=atomic "$d" 8 | if [ -f profile.out ]; then 9 | cat profile.out >> coverage.txt 10 | rm profile.out 11 | fi 12 | done 13 | -------------------------------------------------------------------------------- /vendor/github.com/minio/minio-go/v7/pkg/credentials/credentials.sample: -------------------------------------------------------------------------------- 1 | [default] 2 | aws_access_key_id = accessKey 3 | aws_secret_access_key = secret 4 | aws_session_token = token 5 | 6 | [no_token] 7 | aws_access_key_id = accessKey 8 | aws_secret_access_key = secret 9 | 10 | [with_colon] 11 | aws_access_key_id: accessKey 12 | aws_secret_access_key: secret 13 | -------------------------------------------------------------------------------- /vendor/github.com/olivere/elastic/config/doc.go: -------------------------------------------------------------------------------- 1 | // Copyright 2012-present Oliver Eilhard. All rights reserved. 2 | // Use of this source code is governed by a MIT-license. 3 | // See http://olivere.mit-license.org/license.txt for details. 4 | 5 | /* 6 | Package config allows parsing a configuration for Elasticsearch 7 | from a URL. 8 | */ 9 | package config 10 | -------------------------------------------------------------------------------- /vendor/github.com/sirupsen/logrus/appveyor.yml: -------------------------------------------------------------------------------- 1 | version: "{build}" 2 | platform: x64 3 | clone_folder: c:\gopath\src\github.com\sirupsen\logrus 4 | environment: 5 | GOPATH: c:\gopath 6 | branches: 7 | only: 8 | - master 9 | install: 10 | - set PATH=%GOPATH%\bin;c:\go\bin;%PATH% 11 | - go version 12 | build_script: 13 | - go get -t 14 | - go test 15 | -------------------------------------------------------------------------------- /vendor/github.com/uber/jaeger-client-go/thrift/README.md: -------------------------------------------------------------------------------- 1 | # Apache Thrift 2 | 3 | This is a partial copy of Apache Thrift v0.10 (https://github.com/apache/thrift/commit/b2a4d4ae21c789b689dd162deb819665567f481c). 4 | 5 | It is vendored code to avoid compatibility issues introduced in Thrift v0.11. 6 | 7 | See https://github.com/jaegertracing/jaeger-client-go/pull/303. 8 | -------------------------------------------------------------------------------- /einterfaces/jobs/ldap_sync.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. 2 | // See LICENSE.txt for license information. 3 | 4 | package jobs 5 | 6 | import ( 7 | "github.com/mattermost/mattermost-server/v5/model" 8 | ) 9 | 10 | type LdapSyncInterface interface { 11 | MakeWorker() model.Worker 12 | MakeScheduler() model.Scheduler 13 | } 14 | -------------------------------------------------------------------------------- /jobs/interfaces/plugins_interface.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. 2 | // See LICENSE.txt for license information. 3 | 4 | package interfaces 5 | 6 | import "github.com/mattermost/mattermost-server/v5/model" 7 | 8 | type PluginsJobInterface interface { 9 | MakeWorker() model.Worker 10 | MakeScheduler() model.Scheduler 11 | } 12 | -------------------------------------------------------------------------------- /store/storetest/storetestlib.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. 2 | // See LICENSE.txt for license information. 3 | 4 | package storetest 5 | 6 | import ( 7 | "github.com/mattermost/mattermost-server/v5/model" 8 | ) 9 | 10 | func MakeEmail() string { 11 | return "success_" + model.NewId() + "@simulator.amazonses.com" 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/blevesearch/zap/v11/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/blevesearch/zap/v11 2 | 3 | go 1.12 4 | 5 | require ( 6 | github.com/RoaringBitmap/roaring v0.4.21 7 | github.com/blevesearch/bleve v1.0.9 8 | github.com/blevesearch/mmap-go v1.0.2 9 | github.com/couchbase/vellum v1.0.1 10 | github.com/golang/snappy v0.0.1 11 | github.com/spf13/cobra v0.0.5 12 | ) 13 | -------------------------------------------------------------------------------- /vendor/github.com/blevesearch/zap/v12/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/blevesearch/zap/v12 2 | 3 | go 1.12 4 | 5 | require ( 6 | github.com/RoaringBitmap/roaring v0.4.21 7 | github.com/blevesearch/bleve v1.0.9 8 | github.com/blevesearch/mmap-go v1.0.2 9 | github.com/couchbase/vellum v1.0.1 10 | github.com/golang/snappy v0.0.1 11 | github.com/spf13/cobra v0.0.5 12 | ) 13 | -------------------------------------------------------------------------------- /vendor/github.com/blevesearch/zap/v13/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/blevesearch/zap/v13 2 | 3 | go 1.12 4 | 5 | require ( 6 | github.com/RoaringBitmap/roaring v0.4.21 7 | github.com/blevesearch/bleve v1.0.9 8 | github.com/blevesearch/mmap-go v1.0.2 9 | github.com/couchbase/vellum v1.0.1 10 | github.com/golang/snappy v0.0.1 11 | github.com/spf13/cobra v0.0.5 12 | ) 13 | -------------------------------------------------------------------------------- /vendor/github.com/blevesearch/zap/v14/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/blevesearch/zap/v14 2 | 3 | go 1.12 4 | 5 | require ( 6 | github.com/RoaringBitmap/roaring v0.4.21 7 | github.com/blevesearch/bleve v1.0.9 8 | github.com/blevesearch/mmap-go v1.0.2 9 | github.com/couchbase/vellum v1.0.1 10 | github.com/golang/snappy v0.0.1 11 | github.com/spf13/cobra v0.0.5 12 | ) 13 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/go-msgpack/codec/goversion_vendor_eq_go15.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2012-2018 Ugorji Nwoke. All rights reserved. 2 | // Use of this source code is governed by a MIT license found in the LICENSE file. 3 | 4 | // +build go1.5,!go1.6 5 | 6 | package codec 7 | 8 | import "os" 9 | 10 | var genCheckVendor = os.Getenv("GO15VENDOREXPERIMENT") == "1" 11 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/go-msgpack/codec/goversion_vendor_eq_go16.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2012-2018 Ugorji Nwoke. All rights reserved. 2 | // Use of this source code is governed by a MIT license found in the LICENSE file. 3 | 4 | // +build go1.6,!go1.7 5 | 6 | package codec 7 | 8 | import "os" 9 | 10 | var genCheckVendor = os.Getenv("GO15VENDOREXPERIMENT") != "0" 11 | -------------------------------------------------------------------------------- /vendor/github.com/mattn/go-colorable/go.test.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -e 4 | echo "" > coverage.txt 5 | 6 | for d in $(go list ./... | grep -v vendor); do 7 | go test -race -coverprofile=profile.out -covermode=atomic "$d" 8 | if [ -f profile.out ]; then 9 | cat profile.out >> coverage.txt 10 | rm profile.out 11 | fi 12 | done 13 | -------------------------------------------------------------------------------- /vendor/github.com/mattn/go-runewidth/go.test.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -e 4 | echo "" > coverage.txt 5 | 6 | for d in $(go list ./... | grep -v vendor); do 7 | go test -race -coverprofile=profile.out -covermode=atomic "$d" 8 | if [ -f profile.out ]; then 9 | cat profile.out >> coverage.txt 10 | rm profile.out 11 | fi 12 | done 13 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/reflect2/go_above_19.go: -------------------------------------------------------------------------------- 1 | //+build go1.9 2 | 3 | package reflect2 4 | 5 | import ( 6 | "unsafe" 7 | ) 8 | 9 | //go:linkname makemap reflect.makemap 10 | func makemap(rtype unsafe.Pointer, cap int) (m unsafe.Pointer) 11 | 12 | func makeMapWithSize(rtype unsafe.Pointer, cap int) unsafe.Pointer { 13 | return makemap(rtype, cap) 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/olekukonko/tablewriter/.gitignore: -------------------------------------------------------------------------------- 1 | # Created by .ignore support plugin (hsz.mobi) 2 | ### Go template 3 | # Binaries for programs and plugins 4 | *.exe 5 | *.exe~ 6 | *.dll 7 | *.so 8 | *.dylib 9 | 10 | # Test binary, build with `go test -c` 11 | *.test 12 | 13 | # Output of the go coverage tool, specifically when used with LiteIDE 14 | *.out 15 | 16 | -------------------------------------------------------------------------------- /vendor/github.com/sirupsen/logrus/terminal_check_bsd.go: -------------------------------------------------------------------------------- 1 | // +build darwin dragonfly freebsd netbsd openbsd 2 | // +build !js 3 | 4 | package logrus 5 | 6 | import "golang.org/x/sys/unix" 7 | 8 | const ioctlReadTermios = unix.TIOCGETA 9 | 10 | func isTerminal(fd int) bool { 11 | _, err := unix.IoctlGetTermios(fd, ioctlReadTermios) 12 | return err == nil 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/sirupsen/logrus/terminal_check_notappengine.go: -------------------------------------------------------------------------------- 1 | // +build !appengine,!js,!windows,!nacl,!plan9 2 | 3 | package logrus 4 | 5 | import ( 6 | "io" 7 | "os" 8 | ) 9 | 10 | func checkIfTerminal(w io.Writer) bool { 11 | switch v := w.(type) { 12 | case *os.File: 13 | return isTerminal(int(v.Fd())) 14 | default: 15 | return false 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/windows/empty.s: -------------------------------------------------------------------------------- 1 | // Copyright 2019 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build !go1.12 6 | 7 | // This file is here to allow bodyless functions with go:linkname for Go 1.11 8 | // and earlier (see https://golang.org/issue/23311). 9 | -------------------------------------------------------------------------------- /vendor/google.golang.org/appengine/internal/main_common.go: -------------------------------------------------------------------------------- 1 | package internal 2 | 3 | // MainPath stores the file path of the main package. On App Engine Standard 4 | // using Go version 1.9 and below, this will be unset. On App Engine Flex and 5 | // App Engine Standard second-gen (Go 1.11 and above), this will be the 6 | // filepath to package main. 7 | var MainPath string 8 | -------------------------------------------------------------------------------- /cmd/mattermost/commands/version_test.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. 2 | // See LICENSE.txt for license information. 3 | 4 | package commands 5 | 6 | import ( 7 | "testing" 8 | ) 9 | 10 | func TestVersion(t *testing.T) { 11 | th := SetupWithStoreMock(t) 12 | defer th.TearDown() 13 | 14 | th.CheckCommand(t, "version") 15 | } 16 | -------------------------------------------------------------------------------- /utils/hash.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. 2 | // See LICENSE.txt for license information. 3 | 4 | package utils 5 | 6 | import ( 7 | "crypto/sha256" 8 | "fmt" 9 | ) 10 | 11 | func HashSha256(text string) string { 12 | hash := sha256.New() 13 | hash.Write([]byte(text)) 14 | 15 | return fmt.Sprintf("%x", hash.Sum(nil)) 16 | } 17 | -------------------------------------------------------------------------------- /vendor/github.com/RoaringBitmap/roaring/AUTHORS: -------------------------------------------------------------------------------- 1 | # This is the official list of roaring authors for copyright purposes. 2 | 3 | Todd Gruben (@tgruben), 4 | Daniel Lemire (@lemire), 5 | Elliot Murphy (@statik), 6 | Bob Potter (@bpot), 7 | Tyson Maly (@tvmaly), 8 | Will Glynn (@willglynn), 9 | Brent Pedersen (@brentp) 10 | Maciej Biłas (@maciej), 11 | Joe Nall (@joenall) 12 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/go-plugin/internal/plugin/grpc_broker.proto: -------------------------------------------------------------------------------- 1 | syntax = "proto3"; 2 | package plugin; 3 | option go_package = "plugin"; 4 | 5 | message ConnInfo { 6 | uint32 service_id = 1; 7 | string network = 2; 8 | string address = 3; 9 | } 10 | 11 | service GRPCBroker { 12 | rpc StartStream(stream ConnInfo) returns (stream ConnInfo); 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/json-iterator/go/test.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -e 4 | echo "" > coverage.txt 5 | 6 | for d in $(go list ./... | grep -v vendor); do 7 | go test -coverprofile=profile.out -coverpkg=github.com/json-iterator/go $d 8 | if [ -f profile.out ]; then 9 | cat profile.out >> coverage.txt 10 | rm profile.out 11 | fi 12 | done 13 | -------------------------------------------------------------------------------- /vendor/github.com/oklog/run/.gitignore: -------------------------------------------------------------------------------- 1 | # Binaries for programs and plugins 2 | *.exe 3 | *.dll 4 | *.so 5 | *.dylib 6 | 7 | # Test binary, build with `go test -c` 8 | *.test 9 | 10 | # Output of the go coverage tool, specifically when used with LiteIDE 11 | *.out 12 | 13 | # Project-local glide cache, RE: https://github.com/Masterminds/glide/issues/736 14 | .glide/ 15 | -------------------------------------------------------------------------------- /vendor/github.com/wiggin77/cfg/nocopy.go: -------------------------------------------------------------------------------- 1 | package cfg 2 | 3 | // noCopy may be embedded into structs which must not be copied 4 | // after the first use. 5 | // 6 | // See https://golang.org/issues/8005#issuecomment-190753527 7 | // for details. 8 | type noCopy struct{} 9 | 10 | // Lock is a no-op used by -copylocks checker from `go vet`. 11 | func (*noCopy) Lock() {} 12 | -------------------------------------------------------------------------------- /einterfaces/data_retention.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. 2 | // See LICENSE.txt for license information. 3 | 4 | package einterfaces 5 | 6 | import ( 7 | "github.com/mattermost/mattermost-server/v5/model" 8 | ) 9 | 10 | type DataRetentionInterface interface { 11 | GetPolicy() (*model.DataRetentionPolicy, *model.AppError) 12 | } 13 | -------------------------------------------------------------------------------- /jobs/interfaces/active_users_interface.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. 2 | // See LICENSE.txt for license information. 3 | 4 | package interfaces 5 | 6 | import "github.com/mattermost/mattermost-server/v5/model" 7 | 8 | type ActiveUsersJobInterface interface { 9 | MakeWorker() model.Worker 10 | MakeScheduler() model.Scheduler 11 | } 12 | -------------------------------------------------------------------------------- /jobs/interfaces/expirynotify_interface.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. 2 | // See LICENSE.txt for license information. 3 | 4 | package interfaces 5 | 6 | import "github.com/mattermost/mattermost-server/v5/model" 7 | 8 | type ExpiryNotifyJobInterface interface { 9 | MakeWorker() model.Worker 10 | MakeScheduler() model.Scheduler 11 | } 12 | -------------------------------------------------------------------------------- /jobs/interfaces/migrations_interface.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. 2 | // See LICENSE.txt for license information. 3 | 4 | package interfaces 5 | 6 | import "github.com/mattermost/mattermost-server/v5/model" 7 | 8 | type MigrationsJobInterface interface { 9 | MakeWorker() model.Worker 10 | MakeScheduler() model.Scheduler 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go/aws/context_1_9.go: -------------------------------------------------------------------------------- 1 | // +build go1.9 2 | 3 | package aws 4 | 5 | import "context" 6 | 7 | // Context is an alias of the Go stdlib's context.Context interface. 8 | // It can be used within the SDK's API operation "WithContext" methods. 9 | // 10 | // See https://golang.org/pkg/context on how to use contexts. 11 | type Context = context.Context 12 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go/internal/sdkmath/floor.go: -------------------------------------------------------------------------------- 1 | // +build go1.10 2 | 3 | package sdkmath 4 | 5 | import "math" 6 | 7 | // Round returns the nearest integer, rounding half away from zero. 8 | // 9 | // Special cases are: 10 | // Round(±0) = ±0 11 | // Round(±Inf) = ±Inf 12 | // Round(NaN) = NaN 13 | func Round(x float64) float64 { 14 | return math.Round(x) 15 | } 16 | -------------------------------------------------------------------------------- /vendor/github.com/json-iterator/go/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/json-iterator/go 2 | 3 | go 1.12 4 | 5 | require ( 6 | github.com/davecgh/go-spew v1.1.1 7 | github.com/google/gofuzz v1.0.0 8 | github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421 9 | github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742 10 | github.com/stretchr/testify v1.3.0 11 | ) 12 | -------------------------------------------------------------------------------- /vendor/github.com/miekg/dns/version.go: -------------------------------------------------------------------------------- 1 | package dns 2 | 3 | import "fmt" 4 | 5 | // Version is current version of this library. 6 | var Version = v{1, 1, 31} 7 | 8 | // v holds the version of this library. 9 | type v struct { 10 | Major, Minor, Patch int 11 | } 12 | 13 | func (v v) String() string { 14 | return fmt.Sprintf("%d.%d.%d", v.Major, v.Minor, v.Patch) 15 | } 16 | -------------------------------------------------------------------------------- /api4/post_local.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. 2 | // See LICENSE.txt for license information. 3 | 4 | package api4 5 | 6 | func (api *API) InitPostLocal() { 7 | api.BaseRoutes.Post.Handle("", api.ApiLocal(getPost)).Methods("GET") 8 | 9 | api.BaseRoutes.PostsForChannel.Handle("", api.ApiLocal(getPostsForChannel)).Methods("GET") 10 | } 11 | -------------------------------------------------------------------------------- /einterfaces/jobs/data_retention.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. 2 | // See LICENSE.txt for license information. 3 | 4 | package jobs 5 | 6 | import ( 7 | "github.com/mattermost/mattermost-server/v5/model" 8 | ) 9 | 10 | type DataRetentionJobInterface interface { 11 | MakeWorker() model.Worker 12 | MakeScheduler() model.Scheduler 13 | } 14 | -------------------------------------------------------------------------------- /einterfaces/jobs/message_export.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. 2 | // See LICENSE.txt for license information. 3 | 4 | package jobs 5 | 6 | import ( 7 | "github.com/mattermost/mattermost-server/v5/model" 8 | ) 9 | 10 | type MessageExportJobInterface interface { 11 | MakeWorker() model.Worker 12 | MakeScheduler() model.Scheduler 13 | } 14 | -------------------------------------------------------------------------------- /jobs/interfaces/product_notices_interface.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. 2 | // See LICENSE.txt for license information. 3 | 4 | package interfaces 5 | 6 | import "github.com/mattermost/mattermost-server/v5/model" 7 | 8 | type ProductNoticesJobInterface interface { 9 | MakeWorker() model.Worker 10 | MakeScheduler() model.Scheduler 11 | } 12 | -------------------------------------------------------------------------------- /store/sqlstore/job_store_test.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. 2 | // See LICENSE.txt for license information. 3 | 4 | package sqlstore 5 | 6 | import ( 7 | "testing" 8 | 9 | "github.com/mattermost/mattermost-server/v5/store/storetest" 10 | ) 11 | 12 | func TestJobStore(t *testing.T) { 13 | StoreTest(t, storetest.TestJobStore) 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/Makefile: -------------------------------------------------------------------------------- 1 | TEST?=./... 2 | 3 | default: test 4 | 5 | fmt: generate 6 | go fmt ./... 7 | 8 | test: generate 9 | go get -t ./... 10 | go test $(TEST) $(TESTARGS) 11 | 12 | generate: 13 | go generate ./... 14 | 15 | updatedeps: 16 | go get -u golang.org/x/tools/cmd/stringer 17 | 18 | .PHONY: default generate test updatedeps 19 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/concurrent/test.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -e 4 | echo "" > coverage.txt 5 | 6 | for d in $(go list ./... | grep -v vendor); do 7 | go test -coverprofile=profile.out -coverpkg=github.com/modern-go/concurrent $d 8 | if [ -f profile.out ]; then 9 | cat profile.out >> coverage.txt 10 | rm profile.out 11 | fi 12 | done 13 | -------------------------------------------------------------------------------- /vendor/github.com/sirupsen/logrus/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/sirupsen/logrus 2 | 3 | require ( 4 | github.com/davecgh/go-spew v1.1.1 // indirect 5 | github.com/konsorten/go-windows-terminal-sequences v1.0.3 6 | github.com/pmezard/go-difflib v1.0.0 // indirect 7 | github.com/stretchr/testify v1.2.2 8 | golang.org/x/sys v0.0.0-20190422165155-953cdadca894 9 | ) 10 | 11 | go 1.13 12 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/bpf/setter.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package bpf 6 | 7 | // A Setter is a type which can attach a compiled BPF filter to itself. 8 | type Setter interface { 9 | SetBPF(filter []RawInstruction) error 10 | } 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/constants.go: -------------------------------------------------------------------------------- 1 | // Copyright 2015 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build aix darwin dragonfly freebsd linux netbsd openbsd solaris 6 | 7 | package unix 8 | 9 | const ( 10 | R_OK = 0x4 11 | W_OK = 0x2 12 | X_OK = 0x1 13 | ) 14 | -------------------------------------------------------------------------------- /store/sqlstore/audit_store_test.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. 2 | // See LICENSE.txt for license information. 3 | 4 | package sqlstore 5 | 6 | import ( 7 | "testing" 8 | 9 | "github.com/mattermost/mattermost-server/v5/store/storetest" 10 | ) 11 | 12 | func TestAuditStore(t *testing.T) { 13 | StoreTest(t, storetest.TestAuditStore) 14 | } 15 | -------------------------------------------------------------------------------- /store/sqlstore/emoji_store_test.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. 2 | // See LICENSE.txt for license information. 3 | 4 | package sqlstore 5 | 6 | import ( 7 | "testing" 8 | 9 | "github.com/mattermost/mattermost-server/v5/store/storetest" 10 | ) 11 | 12 | func TestEmojiStore(t *testing.T) { 13 | StoreTest(t, storetest.TestEmojiStore) 14 | } 15 | -------------------------------------------------------------------------------- /store/sqlstore/group_store_test.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. 2 | // See LICENSE.txt for license information. 3 | 4 | package sqlstore 5 | 6 | import ( 7 | "testing" 8 | 9 | "github.com/mattermost/mattermost-server/v5/store/storetest" 10 | ) 11 | 12 | func TestGroupStore(t *testing.T) { 13 | StoreTest(t, storetest.TestGroupStore) 14 | } 15 | -------------------------------------------------------------------------------- /store/sqlstore/oauth_store_test.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. 2 | // See LICENSE.txt for license information. 3 | 4 | package sqlstore 5 | 6 | import ( 7 | "testing" 8 | 9 | "github.com/mattermost/mattermost-server/v5/store/storetest" 10 | ) 11 | 12 | func TestOAuthStore(t *testing.T) { 13 | StoreTest(t, storetest.TestOAuthStore) 14 | } 15 | -------------------------------------------------------------------------------- /store/sqlstore/scheme_store_test.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. 2 | // See LICENSE.txt for license information. 3 | 4 | package sqlstore 5 | 6 | import ( 7 | "testing" 8 | 9 | "github.com/mattermost/mattermost-server/v5/store/storetest" 10 | ) 11 | 12 | func TestSchemeStore(t *testing.T) { 13 | StoreTest(t, storetest.TestSchemeStore) 14 | } 15 | -------------------------------------------------------------------------------- /store/sqlstore/status_store_test.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. 2 | // See LICENSE.txt for license information. 3 | 4 | package sqlstore 5 | 6 | import ( 7 | "testing" 8 | 9 | "github.com/mattermost/mattermost-server/v5/store/storetest" 10 | ) 11 | 12 | func TestStatusStore(t *testing.T) { 13 | StoreTest(t, storetest.TestStatusStore) 14 | } 15 | -------------------------------------------------------------------------------- /store/sqlstore/system_store_test.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. 2 | // See LICENSE.txt for license information. 3 | 4 | package sqlstore 5 | 6 | import ( 7 | "testing" 8 | 9 | "github.com/mattermost/mattermost-server/v5/store/storetest" 10 | ) 11 | 12 | func TestSystemStore(t *testing.T) { 13 | StoreTest(t, storetest.TestSystemStore) 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/Masterminds/squirrel/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/Masterminds/squirrel 2 | 3 | require ( 4 | github.com/davecgh/go-spew v1.1.1 // indirect 5 | github.com/lann/builder v0.0.0-20180802200727-47ae307949d0 6 | github.com/lann/ps v0.0.0-20150810152359-62de8c46ede0 // indirect 7 | github.com/pmezard/go-difflib v1.0.0 // indirect 8 | github.com/stretchr/testify v1.2.2 9 | ) 10 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go/aws/jsonvalue.go: -------------------------------------------------------------------------------- 1 | package aws 2 | 3 | // JSONValue is a representation of a grab bag type that will be marshaled 4 | // into a json string. This type can be used just like any other map. 5 | // 6 | // Example: 7 | // 8 | // values := aws.JSONValue{ 9 | // "Foo": "Bar", 10 | // } 11 | // values["Baz"] = "Qux" 12 | type JSONValue map[string]interface{} 13 | -------------------------------------------------------------------------------- /vendor/github.com/blevesearch/snowballstem/among.go: -------------------------------------------------------------------------------- 1 | package snowballstem 2 | 3 | import "fmt" 4 | 5 | type AmongF func(env *Env, ctx interface{}) bool 6 | 7 | type Among struct { 8 | Str string 9 | A int32 10 | B int32 11 | F AmongF 12 | } 13 | 14 | func (a *Among) String() string { 15 | return fmt.Sprintf("str: `%s`, a: %d, b: %d, f: %p", a.Str, a.A, a.B, a.F) 16 | } 17 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/go-hclog/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/hashicorp/go-hclog 2 | 3 | require ( 4 | github.com/davecgh/go-spew v1.1.1 // indirect 5 | github.com/fatih/color v1.7.0 6 | github.com/mattn/go-colorable v0.1.4 7 | github.com/mattn/go-isatty v0.0.10 8 | github.com/pmezard/go-difflib v1.0.0 // indirect 9 | github.com/stretchr/testify v1.2.2 10 | ) 11 | 12 | go 1.13 13 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/parser/error.go: -------------------------------------------------------------------------------- 1 | package parser 2 | 3 | import ( 4 | "fmt" 5 | 6 | "github.com/hashicorp/hcl/hcl/token" 7 | ) 8 | 9 | // PosError is a parse error that contains a position. 10 | type PosError struct { 11 | Pos token.Pos 12 | Err error 13 | } 14 | 15 | func (e *PosError) Error() string { 16 | return fmt.Sprintf("At %s: %s", e.Pos, e.Err) 17 | } 18 | -------------------------------------------------------------------------------- /vendor/github.com/mattn/go-sqlite3/sqlite3_solaris.go: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2019 Yasuhiro Matsumoto . 2 | // 3 | // Use of this source code is governed by an MIT-style 4 | // license that can be found in the LICENSE file. 5 | 6 | // +build solaris 7 | 8 | package sqlite3 9 | 10 | /* 11 | #cgo CFLAGS: -D__EXTENSIONS__=1 12 | #cgo LDFLAGS: -lc 13 | */ 14 | import "C" 15 | -------------------------------------------------------------------------------- /vendor/github.com/tylerb/graceful/signal.go: -------------------------------------------------------------------------------- 1 | //+build !appengine 2 | 3 | package graceful 4 | 5 | import ( 6 | "os" 7 | "os/signal" 8 | "syscall" 9 | ) 10 | 11 | func signalNotify(interrupt chan<- os.Signal) { 12 | signal.Notify(interrupt, syscall.SIGINT, syscall.SIGTERM) 13 | } 14 | 15 | func sendSignalInt(interrupt chan<- os.Signal) { 16 | interrupt <- syscall.SIGINT 17 | } 18 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/cpu/cpu_gccgo_arm64.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build gccgo 6 | 7 | package cpu 8 | 9 | func getisar0() uint64 { return 0 } 10 | func getisar1() uint64 { return 0 } 11 | func getpfr0() uint64 { return 0 } 12 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/syscall_darwin_386.1_11.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build darwin,386,!go1.12 6 | 7 | package unix 8 | 9 | //sys Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) = SYS_GETDIRENTRIES64 10 | -------------------------------------------------------------------------------- /vendor/google.golang.org/appengine/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go_import_path: google.golang.org/appengine 4 | 5 | install: 6 | - ./travis_install.sh 7 | 8 | script: 9 | - ./travis_test.sh 10 | 11 | matrix: 12 | include: 13 | - go: 1.9.x 14 | env: GOAPP=true 15 | - go: 1.10.x 16 | env: GOAPP=false 17 | - go: 1.11.x 18 | env: GO111MODULE=on 19 | -------------------------------------------------------------------------------- /store/sqlstore/command_store_test.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. 2 | // See LICENSE.txt for license information. 3 | 4 | package sqlstore 5 | 6 | import ( 7 | "testing" 8 | 9 | "github.com/mattermost/mattermost-server/v5/store/storetest" 10 | ) 11 | 12 | func TestCommandStore(t *testing.T) { 13 | StoreTest(t, storetest.TestCommandStore) 14 | } 15 | -------------------------------------------------------------------------------- /store/sqlstore/license_store_test.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. 2 | // See LICENSE.txt for license information. 3 | 4 | package sqlstore 5 | 6 | import ( 7 | "testing" 8 | 9 | "github.com/mattermost/mattermost-server/v5/store/storetest" 10 | ) 11 | 12 | func TestLicenseStore(t *testing.T) { 13 | StoreTest(t, storetest.TestLicenseStore) 14 | } 15 | -------------------------------------------------------------------------------- /store/sqlstore/session_store_test.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. 2 | // See LICENSE.txt for license information. 3 | 4 | package sqlstore 5 | 6 | import ( 7 | "testing" 8 | 9 | "github.com/mattermost/mattermost-server/v5/store/storetest" 10 | ) 11 | 12 | func TestSessionStore(t *testing.T) { 13 | StoreTest(t, storetest.TestSessionStore) 14 | } 15 | -------------------------------------------------------------------------------- /store/sqlstore/webhook_store_test.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. 2 | // See LICENSE.txt for license information. 3 | 4 | package sqlstore 5 | 6 | import ( 7 | "testing" 8 | 9 | "github.com/mattermost/mattermost-server/v5/store/storetest" 10 | ) 11 | 12 | func TestWebhookStore(t *testing.T) { 13 | StoreTest(t, storetest.TestWebhookStore) 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go/internal/strings/strings.go: -------------------------------------------------------------------------------- 1 | package strings 2 | 3 | import ( 4 | "strings" 5 | ) 6 | 7 | // HasPrefixFold tests whether the string s begins with prefix, interpreted as UTF-8 strings, 8 | // under Unicode case-folding. 9 | func HasPrefixFold(s, prefix string) bool { 10 | return len(s) >= len(prefix) && strings.EqualFold(s[0:len(prefix)], prefix) 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/google/uuid/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # How to contribute 2 | 3 | We definitely welcome patches and contribution to this project! 4 | 5 | ### Legal requirements 6 | 7 | In order to protect both you and ourselves, you will need to sign the 8 | [Contributor License Agreement](https://cla.developers.google.com/clas). 9 | 10 | You may have already signed it for other Google projects. 11 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/go-msgpack/codec/codecgen.go: -------------------------------------------------------------------------------- 1 | // +build codecgen generated 2 | 3 | package codec 4 | 5 | // this file is here, to set the codecgen variable to true 6 | // when the build tag codecgen is set. 7 | // 8 | // this allows us do specific things e.g. skip missing fields tests, 9 | // when running in codecgen mode. 10 | 11 | func init() { 12 | codecgen = true 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/mattn/go-sqlite3/sqlite3_opt_json1.go: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2019 Yasuhiro Matsumoto . 2 | // 3 | // Use of this source code is governed by an MIT-style 4 | // license that can be found in the LICENSE file. 5 | 6 | // +build sqlite_json sqlite_json1 json1 7 | 8 | package sqlite3 9 | 10 | /* 11 | #cgo CFLAGS: -DSQLITE_ENABLE_JSON1 12 | */ 13 | import "C" 14 | -------------------------------------------------------------------------------- /vendor/github.com/modern-go/concurrent/log.go: -------------------------------------------------------------------------------- 1 | package concurrent 2 | 3 | import ( 4 | "os" 5 | "log" 6 | "io/ioutil" 7 | ) 8 | 9 | // ErrorLogger is used to print out error, can be set to writer other than stderr 10 | var ErrorLogger = log.New(os.Stderr, "", 0) 11 | 12 | // InfoLogger is used to print informational message, default to off 13 | var InfoLogger = log.New(ioutil.Discard, "", 0) -------------------------------------------------------------------------------- /vendor/github.com/olivere/elastic/uritemplates/utils.go: -------------------------------------------------------------------------------- 1 | package uritemplates 2 | 3 | func Expand(path string, expansions map[string]string) (string, error) { 4 | template, err := Parse(path) 5 | if err != nil { 6 | return "", err 7 | } 8 | values := make(map[string]interface{}) 9 | for k, v := range expansions { 10 | values[k] = v 11 | } 12 | return template.Expand(values) 13 | } 14 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/syscall_darwin_amd64.1_11.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build darwin,amd64,!go1.12 6 | 7 | package unix 8 | 9 | //sys Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) = SYS_GETDIRENTRIES64 10 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/windows/aliases.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build windows 6 | // +build go1.9 7 | 8 | package windows 9 | 10 | import "syscall" 11 | 12 | type Errno = syscall.Errno 13 | type SysProcAttr = syscall.SysProcAttr 14 | -------------------------------------------------------------------------------- /vendor/google.golang.org/protobuf/internal/impl/codec_map_go112.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build go1.12 6 | 7 | package impl 8 | 9 | import "reflect" 10 | 11 | func mapRange(v reflect.Value) *reflect.MapIter { return v.MapRange() } 12 | -------------------------------------------------------------------------------- /einterfaces/compliance.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. 2 | // See LICENSE.txt for license information. 3 | 4 | package einterfaces 5 | 6 | import ( 7 | "github.com/mattermost/mattermost-server/v5/model" 8 | ) 9 | 10 | type ComplianceInterface interface { 11 | StartComplianceDailyJob() 12 | RunComplianceJob(job *model.Compliance) *model.AppError 13 | } 14 | -------------------------------------------------------------------------------- /store/sqlstore/bot_store_test.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. 2 | // See LICENSE.txt for license information. 3 | 4 | package sqlstore 5 | 6 | import ( 7 | "testing" 8 | 9 | "github.com/mattermost/mattermost-server/v5/store/storetest" 10 | ) 11 | 12 | func TestBotStore(t *testing.T) { 13 | StoreTestWithSqlSupplier(t, storetest.TestBotStore) 14 | } 15 | -------------------------------------------------------------------------------- /store/sqlstore/file_info_store_test.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. 2 | // See LICENSE.txt for license information. 3 | 4 | package sqlstore 5 | 6 | import ( 7 | "testing" 8 | 9 | "github.com/mattermost/mattermost-server/v5/store/storetest" 10 | ) 11 | 12 | func TestFileInfoStore(t *testing.T) { 13 | StoreTest(t, storetest.TestFileInfoStore) 14 | } 15 | -------------------------------------------------------------------------------- /store/sqlstore/reaction_store_test.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. 2 | // See LICENSE.txt for license information. 3 | 4 | package sqlstore 5 | 6 | import ( 7 | "testing" 8 | 9 | "github.com/mattermost/mattermost-server/v5/store/storetest" 10 | ) 11 | 12 | func TestReactionStore(t *testing.T) { 13 | StoreTest(t, storetest.TestReactionStore) 14 | } 15 | -------------------------------------------------------------------------------- /store/sqlstore/role_store_test.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. 2 | // See LICENSE.txt for license information. 3 | 4 | package sqlstore 5 | 6 | import ( 7 | "testing" 8 | 9 | "github.com/mattermost/mattermost-server/v5/store/storetest" 10 | ) 11 | 12 | func TestRoleStore(t *testing.T) { 13 | StoreTestWithSqlSupplier(t, storetest.TestRoleStore) 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/blevesearch/bleve/.gitignore: -------------------------------------------------------------------------------- 1 | #* 2 | *.sublime-* 3 | *~ 4 | .#* 5 | .project 6 | .settings 7 | **/.idea/ 8 | **/*.iml 9 | .DS_Store 10 | query_string.y.go.tmp 11 | /analysis/token_filters/cld2/cld2-read-only 12 | /analysis/token_filters/cld2/libcld2_full.a 13 | /cmd/bleve/bleve 14 | vendor/** 15 | !vendor/manifest 16 | /y.output 17 | /search/query/y.output 18 | *.test 19 | tags 20 | -------------------------------------------------------------------------------- /vendor/github.com/mattn/go-sqlite3/sqlite3_opt_fts5.go: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2019 Yasuhiro Matsumoto . 2 | // 3 | // Use of this source code is governed by an MIT-style 4 | // license that can be found in the LICENSE file. 5 | 6 | // +build sqlite_fts5 fts5 7 | 8 | package sqlite3 9 | 10 | /* 11 | #cgo CFLAGS: -DSQLITE_ENABLE_FTS5 12 | #cgo LDFLAGS: -lm 13 | */ 14 | import "C" 15 | -------------------------------------------------------------------------------- /vendor/github.com/pborman/uuid/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # How to contribute 2 | 3 | We definitely welcome patches and contribution to this project! 4 | 5 | ### Legal requirements 6 | 7 | In order to protect both you and ourselves, you will need to sign the 8 | [Contributor License Agreement](https://cla.developers.google.com/clas). 9 | 10 | You may have already signed it for other Google projects. 11 | -------------------------------------------------------------------------------- /vendor/github.com/pelletier/go-toml/fuzz.sh: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | set -eu 3 | 4 | go get github.com/dvyukov/go-fuzz/go-fuzz 5 | go get github.com/dvyukov/go-fuzz/go-fuzz-build 6 | 7 | if [ ! -e toml-fuzz.zip ]; then 8 | go-fuzz-build github.com/pelletier/go-toml 9 | fi 10 | 11 | rm -fr fuzz 12 | mkdir -p fuzz/corpus 13 | cp *.toml fuzz/corpus 14 | 15 | go-fuzz -bin=toml-fuzz.zip -workdir=fuzz 16 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/pflag/.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | 3 | language: go 4 | 5 | go: 6 | - 1.9.x 7 | - 1.10.x 8 | - 1.11.x 9 | - tip 10 | 11 | matrix: 12 | allow_failures: 13 | - go: tip 14 | 15 | install: 16 | - go get golang.org/x/lint/golint 17 | - export PATH=$GOPATH/bin:$PATH 18 | - go install ./... 19 | 20 | script: 21 | - verify/all.sh -v 22 | - go test ./... 23 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/syscall_darwin_arm.1_11.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build darwin,arm,!go1.12 6 | 7 | package unix 8 | 9 | func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) { 10 | return 0, ENOSYS 11 | } 12 | -------------------------------------------------------------------------------- /store/sqlstore/compliance_store_test.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. 2 | // See LICENSE.txt for license information. 3 | 4 | package sqlstore 5 | 6 | import ( 7 | "testing" 8 | 9 | "github.com/mattermost/mattermost-server/v5/store/storetest" 10 | ) 11 | 12 | func TestComplianceStore(t *testing.T) { 13 | StoreTest(t, storetest.TestComplianceStore) 14 | } 15 | -------------------------------------------------------------------------------- /store/sqlstore/plugin_store_test.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. 2 | // See LICENSE.txt for license information. 3 | 4 | package sqlstore 5 | 6 | import ( 7 | "testing" 8 | 9 | "github.com/mattermost/mattermost-server/v5/store/storetest" 10 | ) 11 | 12 | func TestPluginStore(t *testing.T) { 13 | StoreTestWithSqlSupplier(t, storetest.TestPluginStore) 14 | } 15 | -------------------------------------------------------------------------------- /store/sqlstore/thread_store_test.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. 2 | // See LICENSE.txt for license information. 3 | 4 | package sqlstore 5 | 6 | import ( 7 | "testing" 8 | 9 | "github.com/mattermost/mattermost-server/v5/store/storetest" 10 | ) 11 | 12 | func TestThreadStore(t *testing.T) { 13 | StoreTestWithSqlSupplier(t, storetest.TestThreadStore) 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/glycerine/go-unsnap-stream/.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 2 | *.o 3 | *.a 4 | *.so 5 | 6 | # Folders 7 | _obj 8 | _test 9 | 10 | # Architecture specific extensions/prefixes 11 | *.[568vq] 12 | [568vq].out 13 | 14 | *.cgo1.go 15 | *.cgo2.c 16 | _cgo_defun.c 17 | _cgo_gotypes.go 18 | _cgo_export.* 19 | 20 | _testmain.go 21 | 22 | *.exe 23 | -------------------------------------------------------------------------------- /vendor/go.uber.org/zap/checklicense.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | ERROR_COUNT=0 4 | while read -r file 5 | do 6 | case "$(head -1 "${file}")" in 7 | *"Copyright (c) "*" Uber Technologies, Inc.") 8 | # everything's cool 9 | ;; 10 | *) 11 | echo "$file is missing license header." 12 | (( ERROR_COUNT++ )) 13 | ;; 14 | esac 15 | done < <(git ls-files "*\.go") 16 | 17 | exit $ERROR_COUNT 18 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/iovec_stub.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build !aix,!darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd,!solaris 6 | 7 | package socket 8 | 9 | type iovec struct{} 10 | 11 | func (v *iovec) set(b []byte) {} 12 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/syscall_darwin_arm64.1_11.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build darwin,arm64,!go1.12 6 | 7 | package unix 8 | 9 | func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) { 10 | return 0, ENOSYS 11 | } 12 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/syscall_linux_amd64_gc.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build amd64,linux 6 | // +build !gccgo 7 | 8 | package unix 9 | 10 | import "syscall" 11 | 12 | //go:noescape 13 | func gettimeofday(tv *Timeval) (err syscall.Errno) 14 | -------------------------------------------------------------------------------- /store/sqlstore/link_metadata_store_test.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. 2 | // See LICENSE.txt for license information. 3 | 4 | package sqlstore 5 | 6 | import ( 7 | "testing" 8 | 9 | "github.com/mattermost/mattermost-server/v5/store/storetest" 10 | ) 11 | 12 | func TestLinkMetadataStore(t *testing.T) { 13 | StoreTest(t, storetest.TestLinkMetadataStore) 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go/internal/sdkio/io_go1.7.go: -------------------------------------------------------------------------------- 1 | // +build go1.7 2 | 3 | package sdkio 4 | 5 | import "io" 6 | 7 | // Alias for Go 1.7 io package Seeker constants 8 | const ( 9 | SeekStart = io.SeekStart // seek relative to the origin of the file 10 | SeekCurrent = io.SeekCurrent // seek relative to the current offset 11 | SeekEnd = io.SeekEnd // seek relative to the end 12 | ) 13 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/go-msgpack/codec/goversion_makemap_lt_go19.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2012-2018 Ugorji Nwoke. All rights reserved. 2 | // Use of this source code is governed by a MIT license found in the LICENSE file. 3 | 4 | // +build !go1.9 5 | 6 | package codec 7 | 8 | import "reflect" 9 | 10 | func makeMapReflect(t reflect.Type, size int) reflect.Value { 11 | return reflect.MakeMap(t) 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/yamux/.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 2 | *.o 3 | *.a 4 | *.so 5 | 6 | # Folders 7 | _obj 8 | _test 9 | 10 | # Architecture specific extensions/prefixes 11 | *.[568vq] 12 | [568vq].out 13 | 14 | *.cgo1.go 15 | *.cgo2.c 16 | _cgo_defun.c 17 | _cgo_gotypes.go 18 | _cgo_export.* 19 | 20 | _testmain.go 21 | 22 | *.exe 23 | *.test 24 | -------------------------------------------------------------------------------- /vendor/github.com/miekg/dns/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/miekg/dns 2 | 3 | go 1.12 4 | 5 | require ( 6 | golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550 7 | golang.org/x/net v0.0.0-20190923162816-aa69164e4478 8 | golang.org/x/sync v0.0.0-20190423024810-112230192c58 9 | golang.org/x/sys v0.0.0-20190924154521-2837fb4f24fe 10 | golang.org/x/tools v0.0.0-20191216052735-49a3e744a425 // indirect 11 | ) 12 | -------------------------------------------------------------------------------- /vendor/github.com/pelletier/go-toml/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM golang:1.12-alpine3.9 as builder 2 | WORKDIR /go/src/github.com/pelletier/go-toml 3 | COPY . . 4 | ENV CGO_ENABLED=0 5 | ENV GOOS=linux 6 | RUN go install ./... 7 | 8 | FROM scratch 9 | COPY --from=builder /go/bin/tomll /usr/bin/tomll 10 | COPY --from=builder /go/bin/tomljson /usr/bin/tomljson 11 | COPY --from=builder /go/bin/jsontoml /usr/bin/jsontoml 12 | -------------------------------------------------------------------------------- /vendor/github.com/tylerb/graceful/.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 2 | *.o 3 | *.a 4 | *.so 5 | 6 | # Folders 7 | _obj 8 | _test 9 | 10 | # Architecture specific extensions/prefixes 11 | *.[568vq] 12 | [568vq].out 13 | 14 | *.cgo1.go 15 | *.cgo2.c 16 | _cgo_defun.c 17 | _cgo_gotypes.go 18 | _cgo_export.* 19 | 20 | _testmain.go 21 | 22 | *.exe 23 | *.test 24 | -------------------------------------------------------------------------------- /vendor/go.uber.org/multierr/go.mod: -------------------------------------------------------------------------------- 1 | module go.uber.org/multierr 2 | 3 | go 1.12 4 | 5 | require ( 6 | github.com/stretchr/testify v1.3.0 7 | go.uber.org/atomic v1.6.0 8 | go.uber.org/tools v0.0.0-20190618225709-2cfd321de3ee 9 | golang.org/x/lint v0.0.0-20190930215403-16217165b5de 10 | golang.org/x/tools v0.0.0-20191029190741-b9c20aec41a5 // indirect 11 | honnef.co/go/tools v0.0.1-2019.2.3 12 | ) 13 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/internal/socket/msghdr_openbsd.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package socket 6 | 7 | func (h *msghdr) setIov(vs []iovec) { 8 | l := len(vs) 9 | if l == 0 { 10 | return 11 | } 12 | h.Iov = &vs[0] 13 | h.Iovlen = uint32(l) 14 | } 15 | -------------------------------------------------------------------------------- /vendor/google.golang.org/appengine/internal/main.go: -------------------------------------------------------------------------------- 1 | // Copyright 2011 Google Inc. All rights reserved. 2 | // Use of this source code is governed by the Apache 2.0 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build appengine 6 | 7 | package internal 8 | 9 | import ( 10 | "appengine_internal" 11 | ) 12 | 13 | func Main() { 14 | MainPath = "" 15 | appengine_internal.Main() 16 | } 17 | -------------------------------------------------------------------------------- /vendor/google.golang.org/protobuf/internal/errors/is_go113.go: -------------------------------------------------------------------------------- 1 | // Copyright 2020 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build go1.13 6 | 7 | package errors 8 | 9 | import "errors" 10 | 11 | // Is is errors.Is. 12 | func Is(err, target error) bool { return errors.Is(err, target) } 13 | -------------------------------------------------------------------------------- /vendor/gopkg.in/olivere/elastic.v6/logger.go: -------------------------------------------------------------------------------- 1 | // Copyright 2012-present Oliver Eilhard. All rights reserved. 2 | // Use of this source code is governed by a MIT-license. 3 | // See http://olivere.mit-license.org/license.txt for details. 4 | 5 | package elastic 6 | 7 | // Logger specifies the interface for all log operations. 8 | type Logger interface { 9 | Printf(format string, v ...interface{}) 10 | } 11 | -------------------------------------------------------------------------------- /store/sqlstore/command_webhook_store_test.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. 2 | // See LICENSE.txt for license information. 3 | 4 | package sqlstore 5 | 6 | import ( 7 | "testing" 8 | 9 | "github.com/mattermost/mattermost-server/v5/store/storetest" 10 | ) 11 | 12 | func TestCommandWebhookStore(t *testing.T) { 13 | StoreTest(t, storetest.TestCommandWebhookStore) 14 | } 15 | -------------------------------------------------------------------------------- /store/sqlstore/product_notices_store_test.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. 2 | // See LICENSE.txt for license information. 3 | 4 | package sqlstore 5 | 6 | import ( 7 | "testing" 8 | 9 | "github.com/mattermost/mattermost-server/v5/store/storetest" 10 | ) 11 | 12 | func TestProductNoticesStore(t *testing.T) { 13 | StoreTest(t, storetest.TestProductNoticesStore) 14 | } 15 | -------------------------------------------------------------------------------- /store/sqlstore/upload_session_store_test.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. 2 | // See LICENSE.txt for license information. 3 | 4 | package sqlstore 5 | 6 | import ( 7 | "testing" 8 | 9 | "github.com/mattermost/mattermost-server/v5/store/storetest" 10 | ) 11 | 12 | func TestUploadSessionStore(t *testing.T) { 13 | StoreTest(t, storetest.TestUploadSessionStore) 14 | } 15 | -------------------------------------------------------------------------------- /tests/test-hashtags.md: -------------------------------------------------------------------------------- 1 | # Hashtag Testing 2 | 3 | Hashtags in Mattermosts should render as specified below. 4 | 5 | #### These strings should auto-link: 6 | 7 | #testing 8 | #testing123 9 | #test-test 10 | #test_test 11 | #test! (punctuation should be excluded from linking) 12 | #test1 #test2 13 | #hüllo 14 | 15 | #### These strings should not auto-link: 16 | 17 | #123test 18 | #?test 19 | #-test 20 | 21 | -------------------------------------------------------------------------------- /vendor/github.com/fsnotify/fsnotify/open_mode_bsd.go: -------------------------------------------------------------------------------- 1 | // Copyright 2013 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build freebsd openbsd netbsd dragonfly 6 | 7 | package fsnotify 8 | 9 | import "golang.org/x/sys/unix" 10 | 11 | const openMode = unix.O_NONBLOCK | unix.O_RDONLY | unix.O_CLOEXEC 12 | -------------------------------------------------------------------------------- /vendor/github.com/gorilla/schema/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | sudo: false 3 | 4 | matrix: 5 | include: 6 | - go: 1.5 7 | - go: 1.6 8 | - go: 1.7 9 | - go: 1.8 10 | - go: tip 11 | allow_failures: 12 | - go: tip 13 | 14 | script: 15 | - go get -t -v ./... 16 | - diff -u <(echo -n) <(gofmt -d .) 17 | - go vet $(go list ./... | grep -v /vendor/) 18 | - go test -v -race ./... 19 | -------------------------------------------------------------------------------- /vendor/github.com/hako/durafmt/.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 2 | *.o 3 | *.a 4 | *.so 5 | 6 | # Folders 7 | _obj 8 | _test 9 | 10 | # Architecture specific extensions/prefixes 11 | *.[568vq] 12 | [568vq].out 13 | 14 | *.cgo1.go 15 | *.cgo2.c 16 | _cgo_defun.c 17 | _cgo_gotypes.go 18 | _cgo_export.* 19 | 20 | _testmain.go 21 | 22 | *.exe 23 | *.test 24 | *.prof 25 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/go-immutable-radix/edges.go: -------------------------------------------------------------------------------- 1 | package iradix 2 | 3 | import "sort" 4 | 5 | type edges []edge 6 | 7 | func (e edges) Len() int { 8 | return len(e) 9 | } 10 | 11 | func (e edges) Less(i, j int) bool { 12 | return e[i].label < e[j].label 13 | } 14 | 15 | func (e edges) Swap(i, j int) { 16 | e[i], e[j] = e[j], e[i] 17 | } 18 | 19 | func (e edges) Sort() { 20 | sort.Sort(e) 21 | } 22 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/go-immutable-radix/go.sum: -------------------------------------------------------------------------------- 1 | github.com/hashicorp/go-uuid v1.0.0 h1:RS8zrF7PhGwyNPOtxSClXXj9HA8feRnJzgnI1RJCSnM= 2 | github.com/hashicorp/go-uuid v1.0.0/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= 3 | github.com/hashicorp/golang-lru v0.5.0 h1:CL2msUPvZTLb5O648aiLNJw3hnBxN2+1Jq8rCOH9wdo= 4 | github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= 5 | --------------------------------------------------------------------------------