Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/hanami/hanami

The web, with simplicity.
https://github.com/hanami/hanami

Remove the API docs card from the welcome screen

This site is out of date. Remove the card for now. We can reinstate it once we have a working AP...

ac8148ad79f82b6ceb05b95813f48e0a7676bed4 authored 10 months ago by Tim Riley <[email protected]>
Add Ruby 3.3 to CI

9479cf61aea416bfa738694e7fe4868ac8d4bfd9 authored 10 months ago by Tim Riley <[email protected]>
Prepare for v2.1.0

c8023e4237cf12018f5271bd8017fdf5b8d4da7e authored 10 months ago by Tim Riley <[email protected]>
Fix doc formatting

e2bda83f0668373b5183c380a12323ef3c78f0bc authored 10 months ago by Tim Riley <[email protected]>
Underscore slice names in public asset dirs (#1374)

This will avoid naming collisions with ordinary user-controlled files or directories.

051a2c58898df3c1c9457aaf64a73df0bd168406 authored 11 months ago by Tim Riley <[email protected]>
Pass through kwargs to middleware (#1370)

Most middleware expect the old-school approach of hash options, but
some are now using keyword ...

4ace4429106b8efe6240a8c0bb787e226b0c211c authored 11 months ago by Pat Allan <[email protected]>
Prepare gemspec for v2.1.0.rc3

71b0f5210a0957793f80989901d56b5104dd4e6a authored 11 months ago by Tim Riley <[email protected]>
Prepare for v2.1.0.rc3

1cd7182209e5fce789ec297016b759289ded42a8 authored 11 months ago by Tim Riley <[email protected]>
Support cross slice assets (#1372)

Update asset helpers to accept `Hanami::Assets::Asset` instances and use the `#url` from those, ...

35285bdd5dcc203697fa2429657946fe135026f6 authored 11 months ago by Tim Riley <[email protected]>
Register an assets provider per slice (#1371)

Stop sharing the "assets" component from the app to all slices, and instead register a single "a...

c925bf1b1c4fc7c49f4f2b3c63e14060efecf7ed authored 11 months ago by Tim Riley <[email protected]>
Return nil when capturing in content_for (#1369)

This allows `content_for` to be used in template expression blocks (like ERB's `<%=` and Slim's ...

97af4865754b197a0f614884097cb1dd85da3cfa authored about 1 year ago by Tim Riley <[email protected]>
Prepare for v2.1.0

bb60d6059d1190c9274bc2b349a7bec3354993d1 authored about 1 year ago by Luca Guidi <[email protected]>
Avoid calling bundler exec in assets:precompile (#1368)

Instead of invoking `bundle exec hanami assets compile` as a shell command, instead call the `Ha...

1b206857492a5c51a26feedf62d13bfe7d67a4f9 authored about 1 year ago by Tim Riley <[email protected]>
Prepare for 2.1.0.rc2

57d81662f54e96cb5fcb59f5621603dec3836826 authored about 1 year ago by Luca Guidi <[email protected]>
Update API docs for 2.1.0 (#1364)

122c1d9d9e606bb08db7ab1353e124037a107145 authored about 1 year ago by Tim Riley <[email protected]>
Stop setting unused assets settings (#1366)

These aren’t used anywhere inside Hanami, and we’re removing them from the hanami-assets gem too.

dde00e40f70a005070a1d987764995274c3facb0 authored about 1 year ago by Tim Riley <[email protected]>
Render detailed errors in development mode only (#1365)

If these get rendered in test mode, then the text in the error messages themselves may actually ...

09774b71a7aff141597d22493d494293b0374e2f authored about 1 year ago by Tim Riley <[email protected]>
Remove current_path from context (#1362)

This is too presumptive about what a user may want in their context. A user can choose to access...

2bfc8a4acaeaff5a171d3591dc744ec268066b32 authored about 1 year ago by Tim Riley <[email protected]>
Fix tag names in docs

7e8424e6fab4a5b28a8b4ff1298c6e9415cc2af5 authored about 1 year ago by Tim Riley <[email protected]>
Prepare for v2.1.0.rc1

ce5befbc69b9108d38825b19295eec2ea42f378d authored about 1 year ago by Luca Guidi <[email protected]>
Allow slice definitions to also exist in `slices/[slice_name]/config/slice.rb` (#1347)

Currently the slice has no way to provide its own `Slice` class, but when working with slices it...

a2bdb77f10d7873e0685f47317583a581f382d02 authored about 1 year ago by Philip Arndt <[email protected]>
Use action view context in spirit of hanami-view (#1359)

In earlier changes to hanami-view, we removed the `Hanami::View::Context#with` method, instead e...

79e81b5ca3b126d87b2dc29df03fd3739f2f8e48 authored about 1 year ago by Tim Riley <[email protected]>
Add initial welcome page design (#1358)

Co-authored-by: Aaron Moodie <[email protected]>

5bc502fb09c5d0a075d3327b0f631908a0326f96 authored about 1 year ago by Tim Riley <[email protected]>
Provide default renderings to app/slice view parts (#1357)

Make it possible to directly initialize a part (whose class is inside an app/slice namespace) wi...

105e9f3f12612f93cd7958813a4dd9a1a6e23d15 authored about 1 year ago by Tim Riley <[email protected]>
Remove short names for assets helpers (#1356)

We discovered these short names are likely to conflict with exposures passed to templates/scopes...

b9296db347fa9da8a603628a09ea19a879bd98e1 authored about 1 year ago by Tim Riley <[email protected]>
Use an intermediary `helpers` object on view parts (#1354)

Instead of mixing the standard helpers directly into part classes (which runs a high risk of nam...

4912f397d3d51694f9bf0371458371cc5ef14084 authored about 1 year ago by Tim Riley <[email protected]>
Render a welcome page when no routes are defined (#1353)

The page includes the current Hanami and Ruby versions. Design and content for this page will be...

4c78fd3c9905cdaedc1aa1a45004af0fc21dcf48 authored about 1 year ago by Tim Riley <[email protected]>
Ensure compatibility with Ruby `Logger` from stdlib (#1352)

* Ensure compatibility with Ruby `Logger` from stdlib

* Serialize rack logs as JSON for legac...

9e1c40779818e0cd6187cfb5ca674195359491d5 authored about 1 year ago by Luca Guidi <[email protected]>
Automatically mount `Rack::MethodOverride` (#1344)

0a986a33e0d15303f0f51b51295f2ca4d82fc949 authored about 1 year ago by Luca Guidi <[email protected]>
Update asset specs for new setup (#1351)

- Make sure we're always using the latest hanami-assets node package from main
- Generate the f...

4f9bfbfefd6dbafa5fc19ea296392b775e2791ef authored about 1 year ago by Tim Riley <[email protected]>
Refactor `SliceRegistrar#load_slice` to avoid an exception (#1345)

Currently we are trying to require a file that we aren't sure exists and
rescuing the `LoadErro...

675b441c3f0a64f980f78c6b05e61be0ab61caa5 authored about 1 year ago by Philip Arndt <[email protected]>
Extract `slice_module_name` method to avoid duplication (#1346)

42d459d5d64df802ae684dbadd0d52db117880a1 authored about 1 year ago by Philip Arndt <[email protected]>
Add assets helpers aliases (#1339)

* Add assets helpers aliases

* CHANGELOG

* Change release target

09796f67953be0647ab817d750356733606f8e6f authored over 1 year ago by Luca Guidi <[email protected]>
Update CHANGELOG for v2.1.0.beta2

965aa5aeb25b0a16b9c519866f14b4fa916d290a authored over 1 year ago by Tim Riley <[email protected]>
Fix error logging on handled exceptions (#1337)

Only log unhandled exceptions as errors.

To do this, adjust the overloaded `#_handle_exceptio...

83d3567b74a8a0b152608b45837a2fb9d288d727 authored over 1 year ago by Tim Riley <[email protected]>
Prepare for v2.1.0.beta2

ccf1a264e28afd3b0072af746d64af733e173b5e authored over 1 year ago by Luca Guidi <[email protected]>
Updated to the latest `hanami-js` version

20e2fcb0c003ee02baa1ec13fb75e74c57c87835 authored over 1 year ago by Luca Guidi <[email protected]>
Rake task for hanami-assets: `bundle exec rake assets:precompile` (#1336)

* Rake task for hanami-assets: `bundle exec rake assets:precompile`

* Fix specs

37991c60d71ba78803146df85b4572cef0d4e83e authored over 1 year ago by Luca Guidi <[email protected]>
Reintroducing `Hanami::Middleware::Assets` (#1333)

* Reintroducing `Hanami::Middleware::Assets`

* Integration spec

* Introduce `HANAMI_SERVE_...

9446aae6a184e50dddcc571f1a3e9a51d3e86738 authored over 1 year ago by Luca Guidi <[email protected]>
Add stub_assets test helper to generate manifest (#1334)

This fixes any tests that rely on assets but do not require running the full compile process.

787c52cfc1cf40a79efb4ec9f2700c1d231da6a7 authored over 1 year ago by Tim Riley <[email protected]>
Fix assets 2.1.0.beta2 changes (#1332)

* Compile assets

* Use regexp matchers for asset specs

* Add TypeScript to the dev bundle
...

0bec9c1957bcce5e319fe34211d51c959a01591d authored over 1 year ago by Luca Guidi <[email protected]>
Add favicon helper alias for favicon_link_tag (#1331)

f57e241386a472c59915cbf26e7ea709dbfb366e authored over 1 year ago by Tim Riley <[email protected]>
Return appropriate response statuses based on error type (#1330)

Properly return 404 errors when the app is called with not found routes.

To do this, cover tw...

9bbc97365a0699129aea74e3284a4924aab4925c authored over 1 year ago by Tim Riley <[email protected]>
Update docs to match asset helpers change (#1329)

* Update docs since #1319

* assets.path seems like asset_url now

1f8a85ceb151a6ff87e9da3335cddd49906468a8 authored over 1 year ago by Philip Arndt <[email protected]>
Integrate with hanami-assets 2.1 and add asset helpers (#1319)

- Depend on hanami-assets for development/tests, including the npm package
- Conditionally regi...

b4db67266060c5d50c7f6db684100dc5371a3301 authored over 1 year ago by Luca Guidi <[email protected]>
API URL pointing to rdoc.info does not work properly (#1325)

7cfdd344e1cba12bc7727cc0a69d5038b88c9cae authored over 1 year ago by Seb Wilgosz <[email protected]>
Prepare for 2.1.0.beta1

23228cbd00f1177cff4f47d9dce27a1c78e68ffa authored over 1 year ago by Luca Guidi <[email protected]>
Require 2.1.beta for cli and utils

82b1cd45e31ffd909ecbbebe4a2462d63d039f0d authored over 1 year ago by Tim Riley <[email protected]>
Add CHANGELOG entry for v2.1.0.beta1

ec90647aa557f725ffe0b837b4e6072cadf48f64 authored over 1 year ago by Tim Riley <[email protected]>
Bump version to v2.1.0.beta1

64db2855ea3d3f0a12fb94938a0ebbe51ca0dee2 authored over 1 year ago by Tim Riley <[email protected]>
Render detailed error pages with hanami-webconsole (#1311)

76c5d24a7f1b7f6699397eaa81406a640a24592d authored over 1 year ago by Tim Riley <[email protected]>
Render nice errors (#1309)

Introduce a new `Hanami::Middleware::RenderErrors` middleware that catches errors raised by the ...

6eee6353564b7e038e6c778118b359f033aab508 authored over 1 year ago by Tim Riley <[email protected]>
Use zeitwerkified hanami-view (#1315)

59f0fb35f2c97ca940b591a6ca72ea5d3bd2b011 authored over 1 year ago by Tim Riley <[email protected]>
Raise more helpful errors in view context extension (#1314)

Follow the existing pattern we have of raising a ComponentLoadError when `@assets` is missing, a...

d10b1af99a8893d965a7f7e3ee2c9f40ff5d7dbf authored over 1 year ago by Tim Riley <[email protected]>
Fix action/view integration when hanami-view is not bundled (#1313)

This should have been checking explicitly for whether hanami-view was bundled, rather than check...

2069ef8d559788f41bcf8cfe9cda4894d4c5502c authored over 1 year ago by Tim Riley <[email protected]>
Fix double escaping of form values (#1312)

937b1b0a669e75ea1b055a623bb71ad818fceef3 authored over 1 year ago by Tim Riley <[email protected]>
Fix content-length key of request env (#1306)

4b5e12ce184e6cee169595506db13f92fb25da3f authored over 1 year ago by Masanori Ohnishi <[email protected]>
Fix SliceConfiguredView config issues (#1308)

Fix a bug where a slice-based view class would inherit the app-level `paths` config, meaning tha...

07b8a6f2f7bd22927f88e4be9186ffc6982e3030 authored over 1 year ago by Tim Riley <[email protected]>
Seamlessly provide all first-party and user-defined helpers (#1307)

Adjust view context setup so that it no longer looks for a container registration, and instead i...

e941eaf8da038e117217701d3b38061f52b1310a authored over 1 year ago by Tim Riley <[email protected]>
Introduce Hanami::Helpers::FormHelper (#1305)

e7408b2fd0259d57f724238be12c9b14b70dc952 authored over 1 year ago by Tim Riley <[email protected]>
Include helpers in part and scope classes (#1304)

Automatically include (an example of) first-party helpers in these part and scope classes, makin...

a148bf366fe1bacc1b839a890c93a7791f621aad authored over 1 year ago by Tim Riley <[email protected]>
Configure part_class and scope_class for app views (#1303)

Update `SliceConfiguredView` to prepare part and scope classes for views.

This uses the `part...

1936d5d9195f7f8f17ea2a36b803943fc1002ae5 authored over 1 year ago by Tim Riley <[email protected]>
Use exact slice module match in SliceConfigurable (#1302)

This prevents issues with selecting the wrong slice when slice names overlap, e.g. the `Admin` s...

f8f9fb6ee3ef1cd83552fcaf1406dddc10b48499 authored almost 2 years ago by Tim Riley <[email protected]>
Use hanami-view main branch again

b73ad93534a2b5402d34dc365fe5fcbea52e8cbd authored almost 2 years ago by Tim Riley <[email protected]>
Update app view context for view gem changes (#1292)

- Keep separate ivars for each context attribute (these are no longer captured by the superclass...

df192bc1b1d14c49d1d2b3d7e91d3f62776ec6ee authored almost 2 years ago by Tim Riley <[email protected]>
Simplify testing setup (#1291)

741e591395e0bd857a46f975f7246098c0af6e2e authored almost 2 years ago by Luca Guidi <[email protected]>
spec_helper: rm -rf the log directory (#1287)

aa450554a118198753e10377937bea039ac56aed authored almost 2 years ago by Nate Berkopec <[email protected]>
/bin/bash -> /usr/bin/env bash (#1289)

3a0530bf45871aaa74dd5168cdaeab1943cd3012 authored almost 2 years ago by Nate Berkopec <[email protected]>
Prepare for v2.0.3

931ae82df073b4eb68f60aea165821eb00b69726 authored almost 2 years ago by Luca Guidi <[email protected]>
Simplify `Hanami::Web::RackLogger` per env setup (#1282)

15025accc7ada7924f97772fd4fab000f2491c9b authored almost 2 years ago by Luca Guidi <[email protected]>
Configure registrations_dir on slice containers (#1276)

This was previously inheriting the default of `system/registrations` from dry-system, but it mak...

6780d4ea87b54ce543c8aa18fed0e46b8fbf84d6 authored almost 2 years ago by Adam Lassek <[email protected]>
Use Rack production logger by default (#1281)

Always use the rack production logger UNLESS the app env is specifically
'development' or 'test...

6ecce252661ce74b0b28341a6a68ef6b8b0d9b12 authored almost 2 years ago by R Gibim <[email protected]>
Provide a fail-safe config for logger (#1279)

If Hanami.env is not one of: :development, :test, :production,
Hanami::Config#logger_instance w...

7e2c6f4b7d9d3d95166e6fae34ee663579f7e413 authored almost 2 years ago by Adam Lassek <[email protected]>
Add .repobot.yml config

05b99b100e32a902be2ceb5d888a1fc8760ec198 authored about 2 years ago by Peter Solnica <[email protected]>
Prepare for v2.0.2

6fc9bf1d25cd7142aa06b400f25b1bc4f372f6dc authored about 2 years ago by Luca Guidi <[email protected]>
Content Security Policy: remove deprecated `plugin-types` (#1272)

857ca6eb99ea35a9992c830948159bdf781b71cb authored about 2 years ago by Luca Guidi <[email protected]>
Ruby 3.2 (#1271)

89eefdd65bded5bdc7d748a2159df854b29a4860 authored about 2 years ago by Luca Guidi <[email protected]>
CHANGELOG

e9fb0fd39952c0182feb78de930d229cf8ac02f7 authored about 2 years ago by Luca Guidi <[email protected]>
Ensure rack events are on notifications (#1269)

This fixes an issue where the rack events are not available if something interacts with our `not...

11a0fca3aeb2f9b934e5498ecc5184e3f1298c86 authored about 2 years ago by Tim Riley <[email protected]>
Update CHANGELOG for v2.0.0 (#1263)

Co-authored-by: Tim Riley <[email protected]>

37ea96c36581f38d2829a81ad82ef7ae2096e253 authored about 2 years ago by ah-ha-admin <[email protected]>
Prepare for v2.0.1

2731c39ec67d856b2d0bd2e755efcc2d3c9a4114 authored about 2 years ago by Luca Guidi <[email protected]>
Ensure `Content-Security-Policy` HTTP response header to be returned as a single line (#1268)

75166912851e266ce25eb818b35b582b3c2ed6ac authored about 2 years ago by Luca Guidi <[email protected]>
Extract `Hanami::Env` and `Hanami::Port` (#1266)

792a00c9ecf1fc6941fe56f8dd1646e2ca084a01 authored about 2 years ago by Luca Guidi <[email protected]>
Update CHANGELOG for v2.0.0

beb60078bc9a5e84ba77946f2823ee12f7f6d0dc authored about 2 years ago by Tim Riley <[email protected]>
Populate FEATURES for 2.0.0 (#1258)

* Populate FEATURES for 2.0.0

* Update from feedback

* Update FEATURES.md

Co-authored-b...

2e06b43315ac857587908d67751c41b7929f53af authored about 2 years ago by Tim Riley <[email protected]>
CHANGELOG

ec610aa6fdfd13098253e5db7054e0301b839a4c authored about 2 years ago by Luca Guidi <[email protected]>
Remove default action format of :html (#1260)

For maximal success with early adopters, leave the action format unspecified, meaning we accept ...

89a9654f067f6b079dd122581bf3fb95e107f4fd authored about 2 years ago by Tim Riley <[email protected]>
Update README (#1259)

354c0b8fc3cf37e8461a51e5fefc1b5a301f274a authored about 2 years ago by Peter Solnica <[email protected]>
Delete log dir only if it exists

7fd0f4686708d9aac231591fd59a942675238563 authored about 2 years ago by Peter Solnica <[email protected]>
Quick fix for log dir leftover after running tests

3f554626322f86142091fb8c9a7801c442c9b70c authored about 2 years ago by Peter Solnica <[email protected]>
Prepare for v2.0.0

4b35e2970f5236e77b1af697bdb11b477c033631 authored about 2 years ago by Luca Guidi <[email protected]>
Customize production payload rack logs (#1257)

65c330c4e414cc86c8885eebc39534082368e1bd authored about 2 years ago by Peter Solnica <[email protected]>
Check actions config only when controller bundled

3aab65a3f29c37f9aa8948ac9ec07f9c1e71faf2 authored about 2 years ago by Tim Riley <[email protected]>
Fix rake tasks for recent hanami-cli changes (#1256)

097da756a2a31bd343fa13b58b962223d5eb9a6b authored about 2 years ago by Tim Riley <[email protected]>
Use new Action.config.formats, set up body parser automatically (#1253)

013ea149097279ad1052aa8a6ea0c2b0a2cf17f1 authored about 2 years ago by Tim Riley <[email protected]>
Use released dry-system 1.0 :tada:

dd39e48b56569ef9de23eced657af434006a142e authored about 2 years ago by Peter Solnica <[email protected]>
Improve logger setup (#1254)

- Bump dry-logger to 1.0
- Bump dry-monitor to >= 1.0.1
- Break down setting up logger into tw...

828eb8cb3b23f14f2f023668c4b1206537c79031 authored about 2 years ago by Peter Solnica <[email protected]>
Add lib/ to $LOAD_PATH before loading app file (#1251)

This makes it possible to require files from lib/ at conventional spot at the top of the file, r...

c963882a3cb0ed10bf96590f87c901893034b962 authored about 2 years ago by Tim Riley <[email protected]>
`config.actions.sessions` to be accessed only when `hanami-controller` is bundled (#1249)

70d86d047e259f9285713864d73c4572e92c1e71 authored about 2 years ago by Luca Guidi <[email protected]>
Avoid deep-flattening of session middleware config

0d1bc5f9b256fdb61d9e89f7a99ebe447443d9e8 authored about 2 years ago by Peter Solnica <[email protected]>