Commit Graph

2867 Commits

Author SHA1 Message Date
Greg Johnston f53ac1a4ae remove unused var 2024-01-19 14:16:18 -05:00
Greg Johnston 5e6f4403ca set up redirects in Actix 2024-01-19 14:16:18 -05:00
Greg Johnston 4e3f1c834c handle client-side and server-side redirects correctly (in Axum) 2024-01-19 14:16:18 -05:00
Greg Johnston 566df034ff actually use server functions in `ActionForm` 2024-01-19 14:16:17 -05:00
Greg Johnston fd97e2e027 Restore the previous full functionality of Form 2024-01-19 14:16:17 -05:00
Greg Johnston c8fbee18c8 finished Actix support? 2024-01-19 14:16:17 -05:00
Greg Johnston e1a9856ca9 more Actix work 2024-01-19 14:16:17 -05:00
Greg Johnston 60efaefff4 start Actix work 2024-01-19 14:16:17 -05:00
Greg Johnston db4158f5c3 clear up warnings 2024-01-19 14:16:17 -05:00
Greg Johnston af62d2e900 automatically include server function handler in `.leptos_router()` 2024-01-19 14:16:17 -05:00
Greg Johnston c3e3ce7878 changes to get `todo_app_sqlite_axum` example working 2024-01-19 14:16:17 -05:00
Greg Johnston dec17fc65b fix server actions and server multi actions 2024-01-19 14:16:03 -05:00
Greg Johnston 2dbc5899f3 cargo fmt 2024-01-19 14:16:03 -05:00
Greg Johnston dd368a845c @ealmloff changes to reexport actix/axum 2024-01-19 14:16:03 -05:00
Greg Johnston 9c258219dd fix Actix implementation with middleware 2024-01-19 14:16:03 -05:00
Greg Johnston 6a1685936b fix rkyv 2024-01-19 14:16:03 -05:00
Greg Johnston 7d45e6bb13 clean up my mistake 2024-01-19 14:16:03 -05:00
Greg Johnston 8fae76828e `FromStr`-based lightweight `ServerFnError` deserialization 2024-01-19 14:16:03 -05:00
Greg Johnston d5b9e84f36 properly gate `inventory` 2024-01-19 14:16:03 -05:00
benwis 197edebd51 Made some progress, started work on pavex integration as well 2024-01-19 14:16:03 -05:00
benwis 2a5c855595 It starts to compile! 2024-01-19 14:16:03 -05:00
benwis c9627bfeb4 Setup folder structure as before. Got a cyclical dependency though 2024-01-19 14:16:03 -05:00
benwis c7422cd96e First commit, checkpoint for cyclical dependency error 2024-01-19 14:15:51 -05:00
Daniel Santana cadd217078 Update integration with support for axum 0.7 (#2082)
* chore: update to axum 0.7

Removed http, since it's included in axum, and replaced hyper by http-body-util, which is a smaller.

* chore: update samples to work with nre axum

Missing sessions_axum_auth, pending PR merge.

* chore: all dependencies update to axum 0.7

* chore: cargo fmt

* chore: fix doctests

* chore: Fix example that in reality doesn't use axum.

Fixed anyway.

* chore: more examples support for axum 0.7

* Small tweak
2024-01-19 14:13:55 -05:00
Greg Johnston 0c4cf5471d `v0.5.7` 2024-01-19 13:03:44 -05:00
Greg Johnston dd0c349554
examples: update `axum-session` because old version was yanked (#2205) 2024-01-19 12:54:08 -05:00
Greg Johnston dd5a0ae094
Merge pull request #2203 from leptos-rs/2201
fix: routing regressions caused by `trailing_slash` support
2024-01-19 12:14:20 -05:00
Greg Johnston 5cacb57283 chore: new clippy warnings 2024-01-19 11:14:36 -05:00
Greg Johnston b356d3cd28 ci: add regression test for #2190 2024-01-19 10:29:30 -05:00
Greg Johnston ae1de88916 Revert "Better handling for trailing slashes. (#2154) (#2172)"
This reverts commit 1eaf886481.
2024-01-19 10:27:38 -05:00
Greg Johnston 67dd188358 ci: add regression test for matching main page correctly in router example 2024-01-19 10:26:58 -05:00
Joseph Cruz 1d4772251a
fix: ci stopped detecting leptos or example changes (#2194) 2024-01-17 18:58:21 -05:00
benwis 98f18e7c31 release: version 0.5.6 2024-01-16 16:57:07 -08:00
Greg Johnston 3f34d9bb23
fix: doc comments breaking server functions (closes #2190) (#2191) 2024-01-16 15:31:29 -05:00
Greg Johnston 44db400f6b chore: fix spin-sdk dependency 2024-01-15 17:11:50 -05:00
Greg Johnston 3a5730800c `v0.5.5` 2024-01-15 17:10:49 -05:00
Sam Judelson 041b86e6e5
sso_auth_session example (#2117)
* example draft

* fmt

* db delete

* db

* oops clippy

* clippy 2

* - nightly ?

* fmt

* - cargo all features?
2024-01-15 10:48:22 -08:00
Greg Johnston d71feada7e
change: change all tracing levels to `trace` to reduce verbosity (#2176) 2024-01-13 08:19:12 -08:00
Cody Casterline 1eaf886481
Better handling for trailing slashes. (#2154) (#2172)
* retain trailing slashes in paths but leave matching trail-slash-insensitive

* fix: Allow trailing slashes to remain in leptos_path.

* Better handling for trailing slashes. (#2154)

This adds a trailing_slash option to <Router> and <Route>.

By default, this option is backward compatible with current Leptos
behavior, but users can opt into two new modes for handling trailing
slashes.

* cargo fmt

* Fix redirect routes for wildcard patterns.

* Clippy fixies

* (Re)Reduce the scope of PossibleBranchContext's internals.

* Test real code, not copied code.

* Test TrailingSlash redirects.

* Fixes and more tests for matching "" && "/".

This path is the exception to the rule and *should* be treated
as equivalent regardless of its trailing slash.

* cargo fmt

---------

Co-authored-by: Tadas Dailyda <tadas@dailyda.com>
2024-01-11 13:51:31 -08:00
dependabot[bot] c7da3998ba
chore(deps): bump tj-actions/changed-files in /.github/workflows (#2180)
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 39 to 41.
- [Release notes](https://github.com/tj-actions/changed-files/releases)
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md)
- [Commits](https://github.com/tj-actions/changed-files/compare/v39...v41)

---
updated-dependencies:
- dependency-name: tj-actions/changed-files
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-11 16:04:21 -05:00
Luxalpa 10bbeea697
fix: remember router state (fixes #2164) (#2165) 2024-01-10 19:51:37 -05:00
webmstk 2d70229608
chore: add rust-toolchain.toml to examples (closes #2151) (#2161) 2024-01-07 15:29:54 -05:00
Paul Hansen bbcef811f4
chore: remove dead code in actix tailwind example (#2160) 2024-01-07 15:29:15 -05:00
Simon Bihel f5bf539148
fix: allow multiple SSRed Leptos apps on same server (closes #1806) (#2135) 2024-01-07 15:28:50 -05:00
Greg Johnston 855a3c65c0
chore: remove newly-detected unused tuple fields (#2169) 2024-01-06 18:25:20 -05:00
SleeplessOne1917 16cf3c4eaf
feat: make `IntoAttribute` more flexible for `Option<T: IntoAttribute>` (#2130) 2023-12-30 13:10:07 -05:00
Greg Johnston da533ad4e0
chore: clarify `cargo-make` and examples (see #2141) (#2150) 2023-12-30 08:14:23 -05:00
JackSpagnoli b4a9db51be
chore: fix broken tailwind example repo link (#2138) 2023-12-28 20:07:49 -05:00
Greg Johnston 15946c6136
fix: emit original token stream when there are syntax errors in `#[component]` or `#[island]` function signature (closes #2133) (#2134) 2023-12-25 14:30:31 -05:00
Greg Johnston 9f4c480725
docs: specify form for component generics (#2129) 2023-12-23 07:36:28 -05:00