Skip to content
This repository has been archived by the owner on Feb 24, 2024. It is now read-only.

Development #2089

Merged
merged 62 commits into from
Mar 11, 2021
Merged
Changes from all commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
834c095
adding direct version on the docker build
paganotoni Apr 21, 2020
dea73d0
merging
paganotoni Apr 21, 2020
ef66b75
fixing plugin installation
paganotoni Apr 21, 2020
f54ca9e
Merge branch 'master' of https://github.com/gobuffalo/buffalo
paganotoni May 8, 2020
1c74ae6
Merge branch 'master' of https://github.com/gobuffalo/buffalo
paganotoni May 25, 2020
7827df3
Fix npm's package.json permissions (#2005)
disconnect3d Jun 9, 2020
9da3740
Bump spf13/viper to v1.7.0 (#1999)
aeneasr Jun 9, 2020
be95bfe
Merge branch 'master' into development
paganotoni Jun 9, 2020
4aa9475
bunping version
paganotoni Jun 9, 2020
9e9d5bf
changing version on dockerfile
paganotoni Jun 9, 2020
e9d8c0a
patch to fix the keywords check on new app
paganotoni Jul 15, 2020
b6ec6e4
Merge branch 'master' of https://github.com/gobuffalo/buffalo into de…
paganotoni Jul 15, 2020
7fc13fb
removing unneeded append
paganotoni Jul 15, 2020
d86adbc
Task fixing html binder (#2016)
paganotoni Jul 16, 2020
e5ff685
adding new version number
paganotoni Jul 16, 2020
af37208
Merge branch 'master' of https://github.com/gobuffalo/buffalo
paganotoni Jul 16, 2020
947543c
Merge branch 'master' into development
paganotoni Jul 16, 2020
4362a83
pulling the buffalo binary from gobinaries.com
paganotoni Jul 18, 2020
2150f08
Merge branch 'master' of https://github.com/gobuffalo/buffalo into de…
paganotoni Jul 18, 2020
7e6b165
Merge branch 'master' of https://github.com/gobuffalo/buffalo
paganotoni Jul 29, 2020
f52bbc2
Merge branch 'master' into development
paganotoni Jul 29, 2020
b0f043a
Task updating formam (#2025)
paganotoni Jul 29, 2020
b30b49a
Merge branch 'development' of https://github.com/gobuffalo/buffalo in…
paganotoni Jul 29, 2020
2a6f20b
Fixes #1987 and #2023 (#2026)
paganotoni Aug 2, 2020
5eeaa2a
Merge branch 'development' of https://github.com/gobuffalo/buffalo in…
paganotoni Aug 2, 2020
4643bad
changing version number
paganotoni Aug 2, 2020
39711ae
moving to latest 2 go versions (#2038)
paganotoni Sep 4, 2020
e44a95d
Task binding cleanup (#2039)
paganotoni Sep 4, 2020
859e828
Task update formam (#2041)
paganotoni Sep 5, 2020
ec9ca99
updating flect versionm (#2042)
paganotoni Sep 5, 2020
0c5aed0
updating version
paganotoni Sep 5, 2020
a7388dd
Merge branch 'master' of https://github.com/gobuffalo/buffalo
paganotoni Sep 5, 2020
85b1a29
Merge branch 'master' into development
paganotoni Sep 5, 2020
9b38d89
updating some libraries to pass the github security warnings (#2044)
paganotoni Sep 7, 2020
871e148
Merge branch 'master' of https://github.com/gobuffalo/buffalo into de…
paganotoni Sep 7, 2020
c16a020
Merge branch 'development' of https://github.com/gobuffalo/buffalo in…
paganotoni Sep 7, 2020
5476b1d
Removing Grifts folder (#2050)
paganotoni Sep 18, 2020
70f4aaf
fixes the non-existing .git folder case (#2053)
paganotoni Oct 7, 2020
1a80253
calling persist explicitly (#2054)
paganotoni Oct 16, 2020
c554801
adding version number
paganotoni Oct 22, 2020
09a510d
Merge branch 'master' of https://github.com/gobuffalo/buffalo
paganotoni Oct 22, 2020
a0aeebd
Merge branch 'master' into development
paganotoni Oct 22, 2020
f88da17
Pointing README to new go docs link
paganotoni Nov 11, 2020
9cf5ca7
Merge branch 'master' into development
paganotoni Nov 11, 2020
45acf7a
running packr2
paganotoni Nov 11, 2020
4357a75
Warns if response is attempted to be written twice (#2059)
paganotoni Dec 19, 2020
122e3e3
allows to specify custom partialfeeders
paganotoni Dec 24, 2020
5791db9
Merge branch 'master' into development
paganotoni Dec 24, 2020
e34adae
cleaning up a bit for codeclimate
paganotoni Dec 24, 2020
bfd7379
changing the version
paganotoni Dec 24, 2020
ad697d0
Merge branch 'development' of https://github.com/gobuffalo/buffalo in…
paganotoni Dec 24, 2020
00f6388
Application Route Namer (#2075)
paganotoni Jan 7, 2021
0381b3a
v0.16.19
paganotoni Jan 7, 2021
99daaa5
adding correct version number
paganotoni Jan 7, 2021
cceaf61
fixing groups routenamer issue
paganotoni Jan 8, 2021
46eabb9
Merge branch 'master' of https://github.com/gobuffalo/buffalo into de…
paganotoni Jan 8, 2021
cb7e629
version change
paganotoni Jan 8, 2021
9b96319
Merge branch 'master' of https://github.com/gobuffalo/buffalo into de…
paganotoni Jan 8, 2021
b3c3975
Fix generated GitLab ci YAML (#2086)
ZJvandeWeg Mar 11, 2021
bbdf5bb
moving to last 2 versions of Go
paganotoni Mar 11, 2021
8d60441
Bump elliptic from 6.5.3 to 6.5.4 in /genny/build/_fixtures/coke (#2088)
dependabot[bot] Mar 11, 2021
8a88c06
Merge branch 'master' into development
paganotoni Mar 11, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
name: Tests
on: [push, pull_request]
jobs:

on:
push:
branches:
- master
pull_request:

jobs:
tests-off:
name: ${{matrix.go-version}} ${{matrix.os}}
runs-on: ${{ matrix.os }}
strategy:
matrix:
go-version: [1.14.x, 1.15.x]
go-version: [1.15.x, 1.16.x]
os: [macos-latest, windows-latest, ubuntu-latest]
env:
GO111MODULE: on
19 changes: 12 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -9,13 +9,6 @@

# Buffalo


### **As of December 1st, 2019 Buffalo, and all related packages, require Go Modules and the use of the `GOPATH` is no longer supported.**

Please see this blog post for more information [https://blog.gobuffalo.io/the-road-to-1-0-requiring-modules-5672c6b015e5.](https://blog.gobuffalo.io/the-road-to-1-0-requiring-modules-5672c6b015e5).

---

A Go web development eco-system, designed to make your project easier.

Buffalo helps you to generate a web project that already has everything from front-end (JavaScript, SCSS, etc.) to the back-end (database, routing, etc.) already hooked up and ready to run. From there it provides easy APIs to build your web application quickly in Go.
@@ -24,6 +17,18 @@ Buffalo **isn't just a framework**; it's a holistic web development environment

> I :heart: web dev in go again - Brian Ketelsen

## ⚠️ Important

Buffalo works only with Go modules. `GOPATH` mode is likely to break most of the functionality of the Buffalo eco-system.

Please see [this blogpost](https://blog.gobuffalo.io/the-road-to-1-0-requiring-modules-5672c6b015e5) for more information.

Also, the buffalo team will support the last 2 versions of Go, which at the moment are:

- 1.15.x
- 1.16.x

While Buffalo `may` work on older versions we encourage you to upgrade to latest 2 versions.
## Documentation

Please visit [http://gobuffalo.io](http://gobuffalo.io) for the latest documentation, examples, and more.
32 changes: 16 additions & 16 deletions genny/build/_fixtures/coke/yarn.lock
Original file line number Diff line number Diff line change
@@ -1296,10 +1296,10 @@ bluebird@^3.5.5:
resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.7.2.tgz#9f229c15be272454ffa973ace0dbee79a1b0c36f"
integrity sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==

bn.js@^4.0.0, bn.js@^4.1.0, bn.js@^4.4.0:
version "4.11.9"
resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.11.9.tgz#26d556829458f9d1e81fc48952493d0ba3507828"
integrity sha512-E6QoYqCKZfgatHTdHzs1RRKP7ip4vvm+EyRUeE2RF0NblwVvb0p6jSVeNTOFxPn26QXN2o6SMfNxKp6kU8zQaw==
bn.js@^4.0.0, bn.js@^4.1.0, bn.js@^4.11.9:
version "4.12.0"
resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.12.0.tgz#775b3f278efbb9718eec7361f483fb36fbbfea88"
integrity sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==

bn.js@^5.1.1:
version "5.1.3"
@@ -1352,7 +1352,7 @@ braces@^3.0.1, braces@~3.0.2:
dependencies:
fill-range "^7.0.1"

brorand@^1.0.1:
brorand@^1.0.1, brorand@^1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/brorand/-/brorand-1.1.0.tgz#12c25efe40a45e3c323eb8675a0a0ce57b22371f"
integrity sha1-EsJe/kCkXjwyPrhnWgoM5XsiNx8=
@@ -2104,17 +2104,17 @@ electron-to-chromium@^1.3.413:
integrity sha512-2fvco0F2bBIgqzO8GRP0Jt/91pdrf9KfZ5FsmkYkjERmIJG585cFeFZV4+CO6oTmU3HmCTgfcZuEa7kW8VUh3A==

elliptic@^6.5.3:
version "6.5.3"
resolved "https://registry.yarnpkg.com/elliptic/-/elliptic-6.5.3.tgz#cb59eb2efdaf73a0bd78ccd7015a62ad6e0f93d6"
integrity sha512-IMqzv5wNQf+E6aHeIqATs0tOLeOTwj1QKbRcS3jBbYkl5oLAserA8yJTT7/VyHUYG91PRmPyeQDObKLPpeS4dw==
version "6.5.4"
resolved "https://registry.yarnpkg.com/elliptic/-/elliptic-6.5.4.tgz#da37cebd31e79a1367e941b592ed1fbebd58abbb"
integrity sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ==
dependencies:
bn.js "^4.4.0"
brorand "^1.0.1"
bn.js "^4.11.9"
brorand "^1.1.0"
hash.js "^1.0.0"
hmac-drbg "^1.0.0"
inherits "^2.0.1"
minimalistic-assert "^1.0.0"
minimalistic-crypto-utils "^1.0.0"
hmac-drbg "^1.0.1"
inherits "^2.0.4"
minimalistic-assert "^1.0.1"
minimalistic-crypto-utils "^1.0.1"

emoji-regex@^7.0.1:
version "7.0.3"
@@ -2788,7 +2788,7 @@ hash.js@^1.0.0, hash.js@^1.0.3:
inherits "^2.0.3"
minimalistic-assert "^1.0.1"

hmac-drbg@^1.0.0:
hmac-drbg@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/hmac-drbg/-/hmac-drbg-1.0.1.tgz#d2745701025a6c775a6c545793ed502fc0c649a1"
integrity sha1-0nRXAQJabHdabFRXk+1QL8DGSaE=
@@ -3562,7 +3562,7 @@ minimalistic-assert@^1.0.0, minimalistic-assert@^1.0.1:
resolved "https://registry.yarnpkg.com/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz#2e194de044626d4a10e7f7fbc00ce73e83e4d5c7"
integrity sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==

minimalistic-crypto-utils@^1.0.0, minimalistic-crypto-utils@^1.0.1:
minimalistic-crypto-utils@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz#f6c00c1c0b082246e5c4d99dfb8c7c083b2b582a"
integrity sha1-9sAMHAsIIkblxNmd+4x8CDsrWCo=
9 changes: 3 additions & 6 deletions genny/ci/templates/-dot-gitlab-ci-no-pop.yml.tmpl
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
before_script:
- ln -s /builds /go/src/$(echo "{{.opts.App.PackagePkg}}" | cut -d "/" -f1)
- cd /go/src/{{.opts.App.PackagePkg}}
- mkdir -p public/assets
- go get -u github.com/gobuffalo/buffalo/buffalo
- go mod download
- export PATH="$PATH:$GOPATH/bin"

stages:
- test
@@ -17,12 +14,12 @@ stages:
.use-golang-image: &use-golang-latest
image: golang:latest

.use-golang-image: &use-golang-1-8
image: golang:1.8
.use-golang-image: &use-golang-1-15
image: golang:1.15

test:
# Change to "<<: *use-golang-latest" to use the latest Go version
<<: *use-golang-1-8
<<: *use-golang-1-15
<<: *test-vars
stage: test
script:
15 changes: 8 additions & 7 deletions genny/ci/templates/-dot-gitlab-ci.yml.tmpl
Original file line number Diff line number Diff line change
@@ -4,12 +4,9 @@ before_script:
{{- else if eq .opts.DBType "mysql" }}
- apt-get update && apt-get install -y mysql-client
{{- end }}
- ln -s /builds /go/src/$(echo "{{.opts.App.PackagePkg}}" | cut -d "/" -f1)
- cd /go/src/{{.opts.App.PackagePkg}}
- mkdir -p public/assets
- go get -u github.com/gobuffalo/buffalo/buffalo
- go mod download
- export PATH="$PATH:$GOPATH/bin"

stages:
- test
@@ -19,22 +16,26 @@ stages:
GO_ENV: "test"
{{- if eq .opts.DBType "postgres" }}
POSTGRES_DB: "{{.opts.App.Name.File}}_test"
POSTGRES_USER: runner
POSTGRES_PASSSWORD: ""
POSTGRES_HOST_AUTH_METHOD: trust
TEST_DATABASE_URL: "postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres:5432/${POSTGRES_DB}?sslmode=disable"
{{- else if eq .opts.DBType "mysql" }}
MYSQL_DATABASE: "{{.opts.App.Name.File}}_test"
MYSQL_ROOT_PASSWORD: "root"
{{- end }}
TEST_DATABASE_URL: "{{.testDbUrl}}"
{{- end }}

# Golang version choice helper
.use-golang-image: &use-golang-latest
image: golang:latest

.use-golang-image: &use-golang-1-8
image: golang:1.8
.use-golang-image: &use-golang-1-15
image: golang:1.15

test:
# Change to "<<: *use-golang-latest" to use the latest Go version
<<: *use-golang-1-8
<<: *use-golang-1-15
<<: *test-vars
stage: test
services:
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/gobuffalo/buffalo

go 1.13
go 1.15

require (
github.com/BurntSushi/toml v0.3.1
Loading