Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scaffold v2 #1209

Merged
merged 34 commits into from
Jan 27, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
049f500
Add support for additional model field types and arrays
kaplanelad Jan 10, 2025
df2579f
clippy
kaplanelad Jan 10, 2025
5a6e946
Merge branch 'master' into add-support-additional-model-field-types-a…
kaplanelad Jan 10, 2025
d2a9b08
revert rust field
kaplanelad Jan 10, 2025
3c62174
Merge branch 'master' into add-support-additional-model-field-types-a…
kaplanelad Jan 12, 2025
331a005
adding rust types for array
kaplanelad Jan 13, 2025
6fc8133
scaffold ui
kaplanelad Jan 13, 2025
a21450e
clippy fixes
kaplanelad Jan 13, 2025
0044172
test
kaplanelad Jan 13, 2025
58bec24
test
kaplanelad Jan 13, 2025
201b17b
test
kaplanelad Jan 13, 2025
fe89071
test
kaplanelad Jan 14, 2025
14b717d
Merge branch 'master' into add-support-additional-model-field-types-a…
kaplanelad Jan 14, 2025
33157cd
Merge branch 'master' into add-support-additional-model-field-types-a…
kaplanelad Jan 19, 2025
9dad097
remove char and text
kaplanelad Jan 19, 2025
8954733
Merge branch 'master' into add-support-additional-model-field-types-a…
kaplanelad Jan 21, 2025
a017dd8
scaffold improvements
kaplanelad Jan 23, 2025
a9c260e
Merge branch 'master' into scaffold-v2
kaplanelad Jan 23, 2025
41a834a
scaffold improvements
kaplanelad Jan 23, 2025
3779387
more snap
kaplanelad Jan 23, 2025
77118f7
more snap
kaplanelad Jan 23, 2025
efe12b8
more changes
kaplanelad Jan 23, 2025
1532706
change file name
kaplanelad Jan 26, 2025
29523db
merge #1212
kaplanelad Jan 26, 2025
80a468c
mapping
kaplanelad Jan 26, 2025
9d7fc4c
docs
kaplanelad Jan 26, 2025
269404f
snap
kaplanelad Jan 26, 2025
e87cc1d
test html and htmx only when asset is provided
kaplanelad Jan 26, 2025
a074ed1
snap
kaplanelad Jan 26, 2025
25baedf
pg tests
kaplanelad Jan 26, 2025
861dd3f
unnecessary html classes
kaplanelad Jan 26, 2025
75513b6
Merge branch 'master' into scaffold-v2
kaplanelad Jan 26, 2025
b66ebc4
Merge branch 'master' into scaffold-v2
kaplanelad Jan 26, 2025
3f1122c
add db to loco-gen crate
kaplanelad Jan 27, 2025
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
16 changes: 16 additions & 0 deletions .github/workflows/loco-gen-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,21 @@ jobs:
permissions:
contents: read

services:
postgres:
image: postgres
env:
POSTGRES_DB: postgres_test
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
ports:
- "5432:5432"
# Set health checks to wait until postgres has started
options: --health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5

steps:
- name: Checkout the code
uses: actions/checkout@v4
Expand All @@ -71,3 +86,4 @@ jobs:
run: cargo test --all-features
env:
LOCO_DEV_MODE_PATH: ${{ github.workspace }}
DATABASE_URL: postgres://postgres:postgres@localhost:5432/postgres_test
266 changes: 0 additions & 266 deletions .github/workflows/loco-gen-e2e.yml

This file was deleted.

6 changes: 4 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,9 @@ axum-extra = { version = "0.10", features = ["cookie"] }
regex = { workspace = true }
fs-err = "2.11.0"
# mailer
tera = "1.19.1"
tera = { workspace = true }
thousands = "0.2.0"
heck = "0.4.0"
heck = { workspace = true }
cruet = "0.13.0"
lettre = { version = "0.11.4", default-features = false, features = [
"builder",
Expand Down Expand Up @@ -160,6 +160,7 @@ bb8 = { version = "0.8.1", optional = true }
scraper = { version = "0.21.0", features = ["deterministic"], optional = true }

[workspace.dependencies]
tera = { version = "1.19.1" }
colored = { version = "2" }
chrono = { version = "0.4", features = ["serde"] }
tracing = "0.1.40"
Expand All @@ -180,6 +181,7 @@ tower-http = { version = "0.6.1", features = [
"set-header",
"compression-full",
] }
heck = "0.4.0"

[dependencies.sea-orm-migration]
optional = true
Expand Down
Loading
Loading